Blame 0002-Add-some-missing-link-libraries.patch

Rex Dieter c6d8bf
From b0137f694f946c7f10ac2863a71b4cdeda15eb87 Mon Sep 17 00:00:00 2001
Rex Dieter c6d8bf
From: Wolfgang Bauer <wbauer@tmo.at>
Rex Dieter c6d8bf
Date: Wed, 14 Sep 2016 23:54:40 +0200
Rex Dieter c6d8bf
Subject: [PATCH 2/3] Add some missing(?) link libraries
Rex Dieter c6d8bf
Rex Dieter c6d8bf
This fixes the following build errors in openSUSE Factory:
Rex Dieter c6d8bf
Rex Dieter c6d8bf
CMakeFiles/python_module_PyKDE4_dnssd.dir/sip/dnssd/sipdnssdpart2.cpp.o:
Rex Dieter c6d8bf
In function `meth_DNSSD_ServiceBrowser_resolveHostName':
Rex Dieter c6d8bf
/home/abuild/rpmbuild/BUILD/pykde4-4.14.3/build/sip/dnssd/sipdnssdpart2.cpp:408:
Rex Dieter c6d8bf
undefined reference to `QHostAddress::QHostAddress(QHostAddress
Rex Dieter c6d8bf
const&)'
Rex Dieter c6d8bf
/home/abuild/rpmbuild/BUILD/pykde4-4.14.3/build/sip/dnssd/sipdnssdpart2.cpp:408:
Rex Dieter c6d8bf
undefined reference to `QHostAddress::~QHostAddress()'
Rex Dieter c6d8bf
collect2: error: ld returned 1 exit status
Rex Dieter c6d8bf
...
Rex Dieter c6d8bf
CMakeFiles/python_module_PyKDE4_kio.dir/sip/kio/sipkiopart3.cpp.o: In
Rex Dieter c6d8bf
function `meth_KFilePlacesModel_deviceForIndex':
Rex Dieter c6d8bf
/home/abuild/rpmbuild/BUILD/pykde4-4.14.3/build/sip/kio/sipkiopart3.cpp:18560:
Rex Dieter c6d8bf
undefined reference to `Solid::Device::Device(Solid::Device const&)'
Rex Dieter c6d8bf
/home/abuild/rpmbuild/BUILD/pykde4-4.14.3/build/sip/kio/sipkiopart3.cpp:18560:
Rex Dieter c6d8bf
undefined reference to `Solid::Device::~Device()'
Rex Dieter c6d8bf
CMakeFiles/python_module_PyKDE4_kio.dir/sip/kio/sipkiopart4.cpp.o: In
Rex Dieter c6d8bf
function `meth_KDeviceListModel_deviceForIndex':
Rex Dieter c6d8bf
/home/abuild/rpmbuild/BUILD/pykde4-4.14.3/build/sip/kio/sipkiopart4.cpp:27090:
Rex Dieter c6d8bf
undefined reference to `Solid::Device::Device(Solid::Device const&)'
Rex Dieter c6d8bf
/home/abuild/rpmbuild/BUILD/pykde4-4.14.3/build/sip/kio/sipkiopart4.cpp:27090:
Rex Dieter c6d8bf
undefined reference to `Solid::Device::~Device()'
Rex Dieter c6d8bf
collect2: error: ld returned 1 exit status
Rex Dieter c6d8bf
Rex Dieter c6d8bf
REVIEW: 127705
Rex Dieter c6d8bf
---
Rex Dieter c6d8bf
 CMakeLists.txt | 4 ++--
Rex Dieter c6d8bf
 1 file changed, 2 insertions(+), 2 deletions(-)
Rex Dieter c6d8bf
Rex Dieter c6d8bf
diff --git a/CMakeLists.txt b/CMakeLists.txt
Rex Dieter c6d8bf
index b0768cf..b919d1b 100644
Rex Dieter c6d8bf
--- a/CMakeLists.txt
Rex Dieter c6d8bf
+++ b/CMakeLists.txt
Rex Dieter c6d8bf
@@ -166,7 +166,7 @@ add_sip_python_module(PyKDE4.kdeui sip/kdeui/kdeuimod.sip ${KDE4_KDEUI_LIBS} ${Q
Rex Dieter c6d8bf
 
Rex Dieter c6d8bf
 file(GLOB kio_files_sip sip/kio/*.sip)
Rex Dieter c6d8bf
 set(SIP_EXTRA_FILES_DEPEND ${kio_files_sip})
Rex Dieter c6d8bf
-add_sip_python_module(PyKDE4.kio sip/kio/kiomod.sip ${KDE4_KIO_LIBS} ${KDE4_KFILE_LIBS})
Rex Dieter c6d8bf
+add_sip_python_module(PyKDE4.kio sip/kio/kiomod.sip ${KDE4_KIO_LIBS} ${KDE4_KFILE_LIBS} ${KDE4_SOLID_LIBS})
Rex Dieter c6d8bf
 
Rex Dieter c6d8bf
 file(GLOB kutils_files_sip sip/kutils/*.sip)
Rex Dieter c6d8bf
 set(SIP_EXTRA_FILES_DEPEND ${kutils_files_sip})
Rex Dieter c6d8bf
@@ -190,7 +190,7 @@ add_sip_python_module(PyKDE4.knewstuff sip/knewstuff/knewstuffmod.sip ${KDE4_KNE
Rex Dieter c6d8bf
 
Rex Dieter c6d8bf
 file(GLOB dnssd_files_sip sip/dnssd/*.sip)
Rex Dieter c6d8bf
 set(SIP_EXTRA_FILES_DEPEND ${dnssd_files_sip})
Rex Dieter c6d8bf
-add_sip_python_module(PyKDE4.dnssd sip/dnssd/dnssdmod.sip ${KDE4_KDNSSD_LIBS} ${QT_QTCORE_LIBRARY})
Rex Dieter c6d8bf
+add_sip_python_module(PyKDE4.dnssd sip/dnssd/dnssdmod.sip ${KDE4_KDNSSD_LIBS} ${QT_QTCORE_LIBRARY} ${QT_QTNETWORK_LIBRARY})
Rex Dieter c6d8bf
 
Rex Dieter c6d8bf
 file(GLOB phonon_files_sip sip/phonon/*.sip)
Rex Dieter c6d8bf
 set(SIP_EXTRA_FILES_DEPEND ${phonon_files_sip})
Rex Dieter c6d8bf
-- 
Rex Dieter c6d8bf
2.9.3
Rex Dieter c6d8bf