mirror of
				https://github.com/hyperion-project/hyperion.ng.git
				synced 2025-03-01 10:33:28 +00:00 
			
		
		
		
	Revert "Auxiliary commit to revert individual files from 0d9a8b8a3a4a09609a339f54c7d8a9384c561282"
This reverts commit 80737d926ad151a07b2493dd1685ed502975cb2e.
This commit is contained in:
		| @@ -231,34 +231,26 @@ macro(DeployLinux TARGET) | ||||
| 				if (EXISTS ${QT_PLUGINS_DIR}/${PLUGIN}) | ||||
| 					file(GLOB files "${QT_PLUGINS_DIR}/${PLUGIN}/*.so") | ||||
| 					foreach(file ${files}) | ||||
| 						if ("${file}" STREQUAL "libqsqlmimer.so") | ||||
| 							continue() | ||||
| 						else() | ||||
| 							get_prerequisites(${file} PLUGINS 0 1 "" "") | ||||
| 							foreach(DEPENDENCY ${PLUGINS}) | ||||
| 								get_filename_component(resolved ${DEPENDENCY} NAME_WE) | ||||
| 								list(FIND SYSTEM_LIBS_SKIP ${resolved} _index) | ||||
| 								if (${_index} GREATER -1) | ||||
| 									continue() # Skip system libraries | ||||
| 								else() | ||||
| 									gp_resolve_item("${file}" "${DEPENDENCY}" "" "" resolved_file) | ||||
| 									get_filename_component(resolved_file ${resolved_file} ABSOLUTE) | ||||
| 									gp_append_unique(PREREQUISITE_LIBS ${resolved_file}) | ||||
| 									get_filename_component(file_canonical ${resolved_file} REALPATH) | ||||
| 									gp_append_unique(PREREQUISITE_LIBS ${file_canonical}) | ||||
| 								endif() | ||||
| 							endforeach() | ||||
| 						endif()	 | ||||
| 						if ("${file}" STREQUAL "libqsqlmimer.so") | ||||
| 							continue() | ||||
| 						else() | ||||
| 							install( | ||||
| 								FILES ${file} | ||||
| 								DESTINATION "share/hyperion/lib/${PLUGIN}" | ||||
| 								COMPONENT "Hyperion" | ||||
| 							) | ||||
| 						endif() | ||||
| 						 | ||||
| 						get_prerequisites(${file} PLUGINS 0 1 "" "") | ||||
| 						foreach(DEPENDENCY ${PLUGINS}) | ||||
| 							get_filename_component(resolved ${DEPENDENCY} NAME_WE) | ||||
| 							list(FIND SYSTEM_LIBS_SKIP ${resolved} _index) | ||||
| 							if (${_index} GREATER -1) | ||||
| 								continue() # Skip system libraries | ||||
| 							else() | ||||
| 								gp_resolve_item("${file}" "${DEPENDENCY}" "" "" resolved_file) | ||||
| 								get_filename_component(resolved_file ${resolved_file} ABSOLUTE) | ||||
| 								gp_append_unique(PREREQUISITE_LIBS ${resolved_file}) | ||||
| 								get_filename_component(file_canonical ${resolved_file} REALPATH) | ||||
| 								gp_append_unique(PREREQUISITE_LIBS ${file_canonical}) | ||||
| 							endif() | ||||
| 						endforeach() | ||||
|  | ||||
| 						install( | ||||
| 							FILES ${file} | ||||
| 							DESTINATION "share/hyperion/lib/${PLUGIN}" | ||||
| 							COMPONENT "Hyperion" | ||||
| 						) | ||||
| 					endforeach() | ||||
| 				endif() | ||||
| 			endforeach() | ||||
|   | ||||
										
											Binary file not shown.
										
									
								
							| @@ -36,8 +36,6 @@ void JsonClientConnection::readRequest() | ||||
| 		// remove message data from buffer | ||||
| 		_receiveBuffer = _receiveBuffer.mid(bytes); | ||||
|  | ||||
| 		std::cout << "JsonClientConnection::readRequest | [" << _socket->peerAddress().toString().toStdString() << "] Received: [" << message.toStdString() << "]" << std::endl; | ||||
|  | ||||
| 		// handle message | ||||
| 		_jsonAPI->handleMessage(message); | ||||
|  | ||||
| @@ -51,8 +49,6 @@ qint64 JsonClientConnection::sendMessage(QJsonObject message) | ||||
| 	QJsonDocument writer(message); | ||||
| 	QByteArray data = writer.toJson(QJsonDocument::Compact) + "\n"; | ||||
|  | ||||
| 	std::cout << "JsonClientConnection::sendMessage | [" << _socket->peerAddress().toString().toStdString() << "] Send: [" << data.constData() << "]" << std::endl; | ||||
|  | ||||
| 	if (!_socket || (_socket->state() != QAbstractSocket::ConnectedState)) return 0; | ||||
| 	return _socket->write(data.data(), data.size()); | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user