1
0
forked from pool/boinc-client
boinc-client/libboinc-shared.patch

158 lines
6.5 KiB
Diff
Raw Normal View History

Accepting request 626119 from home:aaronpuchert - Update to version 7.12.1. - Remove doc package, since the files have been removed from the source. Actually it wasn't even the documentation, but the server code. - Disable idle detection via the XSS API and remove dependency to libXScrnSaver-devel. This feature requires access to a running X server, which the BOINC client does not have in OpenSUSE. - Rename the devel package and provide the correct dependency. The devel package provides the headers for libboinc, and has nothing to do with the BOINC client. - Add conflict to original devel package. - Remove unnecessary dependency to libxslt. - Update systemd service file with changes from upstream: start after network-online.target, and use "ProtectHome=true". - Move bash completion file to /usr/share tree to fix rpmlint. - Declare license files as %license. - Don't install `notes` and `todo` - these are internal notes of the developers and not helpful to users. - Drop 0001-MGR-support-wxWidgets-without-webview.patch, which has landed upstream (commit 27bb3c9e). - libboinc-shared.patch: Build shared libraries for client and static libraries for science apps. Science apps are distributed as binaries over the BOINC network, so dynamic linking doesn't make sense. But we can use dynamic linking for the client. - build-client-scripts.patch: Add some targets to fix build. - Fix default path for boincscr. OBS-URL: https://build.opensuse.org/request/show/626119 OBS-URL: https://build.opensuse.org/package/show/network/boinc-client?expand=0&rev=72
2018-08-06 15:31:58 +02:00
Build shared libraries for client and static libraries for science apps.
---
api/Makefile.am | 6 +++---
apps/Makefile.am | 6 +++---
client/Makefile.am | 1 -
clientgui/Makefile.am | 1 -
clientscr/Makefile.am | 1 -
lib/Makefile.am | 4 ++--
sched/Makefile.am | 1 -
tools/Makefile.am | 1 -
vda/Makefile.am | 1 -
9 files changed, 8 insertions(+), 14 deletions(-)
Index: boinc-client_release-7.16-7.16.3/api/Makefile.am
===================================================================
--- boinc-client_release-7.16-7.16.3.orig/api/Makefile.am
+++ boinc-client_release-7.16-7.16.3/api/Makefile.am
Accepting request 626119 from home:aaronpuchert - Update to version 7.12.1. - Remove doc package, since the files have been removed from the source. Actually it wasn't even the documentation, but the server code. - Disable idle detection via the XSS API and remove dependency to libXScrnSaver-devel. This feature requires access to a running X server, which the BOINC client does not have in OpenSUSE. - Rename the devel package and provide the correct dependency. The devel package provides the headers for libboinc, and has nothing to do with the BOINC client. - Add conflict to original devel package. - Remove unnecessary dependency to libxslt. - Update systemd service file with changes from upstream: start after network-online.target, and use "ProtectHome=true". - Move bash completion file to /usr/share tree to fix rpmlint. - Declare license files as %license. - Don't install `notes` and `todo` - these are internal notes of the developers and not helpful to users. - Drop 0001-MGR-support-wxWidgets-without-webview.patch, which has landed upstream (commit 27bb3c9e). - libboinc-shared.patch: Build shared libraries for client and static libraries for science apps. Science apps are distributed as binaries over the BOINC network, so dynamic linking doesn't make sense. But we can use dynamic linking for the client. - build-client-scripts.patch: Add some targets to fix build. - Fix default path for boincscr. OBS-URL: https://build.opensuse.org/request/show/626119 OBS-URL: https://build.opensuse.org/package/show/network/boinc-client?expand=0&rev=72
2018-08-06 15:31:58 +02:00
@@ -43,18 +43,18 @@ endif
lib_LTLIBRARIES = libboinc_api.la
libboinc_api_la_SOURCES = $(api_files)
-libboinc_api_la_LDFLAGS = -version-number $(LIBBOINC_VERSION)
+libboinc_api_la_LDFLAGS = -static -version-number $(LIBBOINC_VERSION)
if BUILD_GRAPHICS_API
lib_LTLIBRARIES += libboinc_graphics2.la
libboinc_graphics2_la_SOURCES = $(graphics2_files)
libboinc_graphics2_la_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/lib -I$(top_srcdir)/samples/image_libs
-libboinc_graphics2_la_LDFLAGS = -version-number $(LIBBOINC_VERSION) -ljpeg
+libboinc_graphics2_la_LDFLAGS = -static -version-number $(LIBBOINC_VERSION) -ljpeg
endif #BUILD_GRAPHICS_API
lib_LTLIBRARIES += libboinc_opencl.la
libboinc_opencl_la_SOURCES = $(opencl_files)
-libboinc_opencl_la_LDFLAGS = -version-number $(LIBBOINC_VERSION)
+libboinc_opencl_la_LDFLAGS = -static -version-number $(LIBBOINC_VERSION)
if INSTALL_HEADERS
## install only headers that are meant for exporting the API !!
Index: boinc-client_release-7.16-7.16.3/apps/Makefile.am
===================================================================
--- boinc-client_release-7.16-7.16.3.orig/apps/Makefile.am
+++ boinc-client_release-7.16-7.16.3/apps/Makefile.am
@@ -8,15 +8,15 @@ example_PROGRAMS = upper_case concat 1se
Accepting request 626119 from home:aaronpuchert - Update to version 7.12.1. - Remove doc package, since the files have been removed from the source. Actually it wasn't even the documentation, but the server code. - Disable idle detection via the XSS API and remove dependency to libXScrnSaver-devel. This feature requires access to a running X server, which the BOINC client does not have in OpenSUSE. - Rename the devel package and provide the correct dependency. The devel package provides the headers for libboinc, and has nothing to do with the BOINC client. - Add conflict to original devel package. - Remove unnecessary dependency to libxslt. - Update systemd service file with changes from upstream: start after network-online.target, and use "ProtectHome=true". - Move bash completion file to /usr/share tree to fix rpmlint. - Declare license files as %license. - Don't install `notes` and `todo` - these are internal notes of the developers and not helpful to users. - Drop 0001-MGR-support-wxWidgets-without-webview.patch, which has landed upstream (commit 27bb3c9e). - libboinc-shared.patch: Build shared libraries for client and static libraries for science apps. Science apps are distributed as binaries over the BOINC network, so dynamic linking doesn't make sense. But we can use dynamic linking for the client. - build-client-scripts.patch: Add some targets to fix build. - Fix default path for boincscr. OBS-URL: https://build.opensuse.org/request/show/626119 OBS-URL: https://build.opensuse.org/package/show/network/boinc-client?expand=0&rev=72
2018-08-06 15:31:58 +02:00
upper_case_SOURCES = upper_case.cpp
upper_case_CXXFLAGS = $(PTHREAD_CFLAGS)
-upper_case_LDFLAGS = -static-libtool-libs $(PTHREAD_CFLAGS)
+upper_case_LDFLAGS = $(PTHREAD_CFLAGS)
upper_case_LDADD = $(APPLIBS)
concat_SOURCES = concat.cpp
concat_CXXFLAGS = $(PTHREAD_CFLAGS)
-concat_LDFLAGS = -static-libtool-libs $(PTHREAD_CFLAGS)
+concat_LDFLAGS = $(PTHREAD_CFLAGS)
concat_LDADD = $(APPLIBS)
1sec_SOURCES = 1sec.cpp
1sec_CXXFLAGS = $(PTHREAD_CFLAGS)
-1sec_LDFLAGS = -static-libtool-libs $(PTHREAD_CFLAGS)
+1sec_LDFLAGS = $(PTHREAD_CFLAGS)
1sec_LDADD = $(APPLIBS)
Index: boinc-client_release-7.16-7.16.3/client/Makefile.am
===================================================================
--- boinc-client_release-7.16-7.16.3.orig/client/Makefile.am
+++ boinc-client_release-7.16-7.16.3/client/Makefile.am
Accepting request 626119 from home:aaronpuchert - Update to version 7.12.1. - Remove doc package, since the files have been removed from the source. Actually it wasn't even the documentation, but the server code. - Disable idle detection via the XSS API and remove dependency to libXScrnSaver-devel. This feature requires access to a running X server, which the BOINC client does not have in OpenSUSE. - Rename the devel package and provide the correct dependency. The devel package provides the headers for libboinc, and has nothing to do with the BOINC client. - Add conflict to original devel package. - Remove unnecessary dependency to libxslt. - Update systemd service file with changes from upstream: start after network-online.target, and use "ProtectHome=true". - Move bash completion file to /usr/share tree to fix rpmlint. - Declare license files as %license. - Don't install `notes` and `todo` - these are internal notes of the developers and not helpful to users. - Drop 0001-MGR-support-wxWidgets-without-webview.patch, which has landed upstream (commit 27bb3c9e). - libboinc-shared.patch: Build shared libraries for client and static libraries for science apps. Science apps are distributed as binaries over the BOINC network, so dynamic linking doesn't make sense. But we can use dynamic linking for the client. - build-client-scripts.patch: Add some targets to fix build. - Fix default path for boincscr. OBS-URL: https://build.opensuse.org/request/show/626119 OBS-URL: https://build.opensuse.org/package/show/network/boinc-client?expand=0&rev=72
2018-08-06 15:31:58 +02:00
@@ -4,7 +4,6 @@
include $(top_srcdir)/Makefile.incl
if ENABLE_CLIENT_RELEASE
- AM_LDFLAGS += -static-libtool-libs
## for an entirely statically linked library, you may want to try
## -all-static instead. There's a good chance it won't work properly,
## so we'll use the safer "-static-libtool-libs" by default.
Index: boinc-client_release-7.16-7.16.3/clientgui/Makefile.am
===================================================================
--- boinc-client_release-7.16-7.16.3.orig/clientgui/Makefile.am
+++ boinc-client_release-7.16-7.16.3/clientgui/Makefile.am
Accepting request 626119 from home:aaronpuchert - Update to version 7.12.1. - Remove doc package, since the files have been removed from the source. Actually it wasn't even the documentation, but the server code. - Disable idle detection via the XSS API and remove dependency to libXScrnSaver-devel. This feature requires access to a running X server, which the BOINC client does not have in OpenSUSE. - Rename the devel package and provide the correct dependency. The devel package provides the headers for libboinc, and has nothing to do with the BOINC client. - Add conflict to original devel package. - Remove unnecessary dependency to libxslt. - Update systemd service file with changes from upstream: start after network-online.target, and use "ProtectHome=true". - Move bash completion file to /usr/share tree to fix rpmlint. - Declare license files as %license. - Don't install `notes` and `todo` - these are internal notes of the developers and not helpful to users. - Drop 0001-MGR-support-wxWidgets-without-webview.patch, which has landed upstream (commit 27bb3c9e). - libboinc-shared.patch: Build shared libraries for client and static libraries for science apps. Science apps are distributed as binaries over the BOINC network, so dynamic linking doesn't make sense. But we can use dynamic linking for the client. - build-client-scripts.patch: Add some targets to fix build. - Fix default path for boincscr. OBS-URL: https://build.opensuse.org/request/show/626119 OBS-URL: https://build.opensuse.org/package/show/network/boinc-client?expand=0&rev=72
2018-08-06 15:31:58 +02:00
@@ -7,7 +7,6 @@
include $(top_srcdir)/Makefile.incl
if ENABLE_CLIENT_RELEASE
- AM_LDFLAGS += -static-libtool-libs
## for an entirely statically linked library, you may want to try
## -all-static instead. There's a good chance it won't work properly,
## so we'll use the safer "-static-libtool-libs" by default.
Index: boinc-client_release-7.16-7.16.3/clientscr/Makefile.am
===================================================================
--- boinc-client_release-7.16-7.16.3.orig/clientscr/Makefile.am
+++ boinc-client_release-7.16-7.16.3/clientscr/Makefile.am
Accepting request 626119 from home:aaronpuchert - Update to version 7.12.1. - Remove doc package, since the files have been removed from the source. Actually it wasn't even the documentation, but the server code. - Disable idle detection via the XSS API and remove dependency to libXScrnSaver-devel. This feature requires access to a running X server, which the BOINC client does not have in OpenSUSE. - Rename the devel package and provide the correct dependency. The devel package provides the headers for libboinc, and has nothing to do with the BOINC client. - Add conflict to original devel package. - Remove unnecessary dependency to libxslt. - Update systemd service file with changes from upstream: start after network-online.target, and use "ProtectHome=true". - Move bash completion file to /usr/share tree to fix rpmlint. - Declare license files as %license. - Don't install `notes` and `todo` - these are internal notes of the developers and not helpful to users. - Drop 0001-MGR-support-wxWidgets-without-webview.patch, which has landed upstream (commit 27bb3c9e). - libboinc-shared.patch: Build shared libraries for client and static libraries for science apps. Science apps are distributed as binaries over the BOINC network, so dynamic linking doesn't make sense. But we can use dynamic linking for the client. - build-client-scripts.patch: Add some targets to fix build. - Fix default path for boincscr. OBS-URL: https://build.opensuse.org/request/show/626119 OBS-URL: https://build.opensuse.org/package/show/network/boinc-client?expand=0&rev=72
2018-08-06 15:31:58 +02:00
@@ -5,7 +5,6 @@ include $(top_srcdir)/Makefile.incl
AM_LDFLAGS += -lpthread
if ENABLE_CLIENT_RELEASE
- AM_LDFLAGS += -static-libtool-libs
## for an entirely statically linked library, you may want to try
## -all-static instead. There's a good chance it won't work properly,
## so we'll use the safer "-static-libtool-libs" by default.
Index: boinc-client_release-7.16-7.16.3/lib/Makefile.am
===================================================================
--- boinc-client_release-7.16-7.16.3.orig/lib/Makefile.am
+++ boinc-client_release-7.16-7.16.3/lib/Makefile.am
@@ -184,7 +184,7 @@ lib_LTLIBRARIES = libboinc.la
Accepting request 626119 from home:aaronpuchert - Update to version 7.12.1. - Remove doc package, since the files have been removed from the source. Actually it wasn't even the documentation, but the server code. - Disable idle detection via the XSS API and remove dependency to libXScrnSaver-devel. This feature requires access to a running X server, which the BOINC client does not have in OpenSUSE. - Rename the devel package and provide the correct dependency. The devel package provides the headers for libboinc, and has nothing to do with the BOINC client. - Add conflict to original devel package. - Remove unnecessary dependency to libxslt. - Update systemd service file with changes from upstream: start after network-online.target, and use "ProtectHome=true". - Move bash completion file to /usr/share tree to fix rpmlint. - Declare license files as %license. - Don't install `notes` and `todo` - these are internal notes of the developers and not helpful to users. - Drop 0001-MGR-support-wxWidgets-without-webview.patch, which has landed upstream (commit 27bb3c9e). - libboinc-shared.patch: Build shared libraries for client and static libraries for science apps. Science apps are distributed as binaries over the BOINC network, so dynamic linking doesn't make sense. But we can use dynamic linking for the client. - build-client-scripts.patch: Add some targets to fix build. - Fix default path for boincscr. OBS-URL: https://build.opensuse.org/request/show/626119 OBS-URL: https://build.opensuse.org/package/show/network/boinc-client?expand=0&rev=72
2018-08-06 15:31:58 +02:00
libboinc_la_SOURCES = $(generic_sources) $(mac_sources) $(win_sources)
libboinc_la_CFLAGS = $(AM_CFLAGS) $(PICFLAGS) $(PTHREAD_CFLAGS)
libboinc_la_CXXFLAGS = $(AM_CXXFLAGS) $(PICFLAGS) $(PTHREAD_CFLAGS)
-libboinc_la_LDFLAGS = -static -version-number $(LIBBOINC_VERSION)
+libboinc_la_LDFLAGS = -version-number $(LIBBOINC_VERSION)
if OS_FREEBSD
libboinc_la_LDFLAGS += -lexecinfo
endif
@@ -195,7 +195,7 @@ lib_LTLIBRARIES += libboinc_crypt.la
Accepting request 626119 from home:aaronpuchert - Update to version 7.12.1. - Remove doc package, since the files have been removed from the source. Actually it wasn't even the documentation, but the server code. - Disable idle detection via the XSS API and remove dependency to libXScrnSaver-devel. This feature requires access to a running X server, which the BOINC client does not have in OpenSUSE. - Rename the devel package and provide the correct dependency. The devel package provides the headers for libboinc, and has nothing to do with the BOINC client. - Add conflict to original devel package. - Remove unnecessary dependency to libxslt. - Update systemd service file with changes from upstream: start after network-online.target, and use "ProtectHome=true". - Move bash completion file to /usr/share tree to fix rpmlint. - Declare license files as %license. - Don't install `notes` and `todo` - these are internal notes of the developers and not helpful to users. - Drop 0001-MGR-support-wxWidgets-without-webview.patch, which has landed upstream (commit 27bb3c9e). - libboinc-shared.patch: Build shared libraries for client and static libraries for science apps. Science apps are distributed as binaries over the BOINC network, so dynamic linking doesn't make sense. But we can use dynamic linking for the client. - build-client-scripts.patch: Add some targets to fix build. - Fix default path for boincscr. OBS-URL: https://build.opensuse.org/request/show/626119 OBS-URL: https://build.opensuse.org/package/show/network/boinc-client?expand=0&rev=72
2018-08-06 15:31:58 +02:00
libboinc_crypt_la_SOURCES = crypt.cpp
libboinc_crypt_la_CFLAGS = $(AM_CFLAGS) $(PICFLAGS) $(PTHREAD_CFLAGS) $(SSL_CFLAGS)
libboinc_crypt_la_CXXFLAGS = $(AM_CXXFLAGS) $(PICFLAGS) $(PTHREAD_CFLAGS) $(SSL_CXXFLAGS)
-libboinc_crypt_la_LDFLAGS = -static -version-number $(LIBBOINC_VERSION)
+libboinc_crypt_la_LDFLAGS = -version-number $(LIBBOINC_VERSION)
libboinc_crypt_la_LIBADD =
endif
Index: boinc-client_release-7.16-7.16.3/sched/Makefile.am
===================================================================
--- boinc-client_release-7.16-7.16.3.orig/sched/Makefile.am
+++ boinc-client_release-7.16-7.16.3/sched/Makefile.am
Accepting request 626119 from home:aaronpuchert - Update to version 7.12.1. - Remove doc package, since the files have been removed from the source. Actually it wasn't even the documentation, but the server code. - Disable idle detection via the XSS API and remove dependency to libXScrnSaver-devel. This feature requires access to a running X server, which the BOINC client does not have in OpenSUSE. - Rename the devel package and provide the correct dependency. The devel package provides the headers for libboinc, and has nothing to do with the BOINC client. - Add conflict to original devel package. - Remove unnecessary dependency to libxslt. - Update systemd service file with changes from upstream: start after network-online.target, and use "ProtectHome=true". - Move bash completion file to /usr/share tree to fix rpmlint. - Declare license files as %license. - Don't install `notes` and `todo` - these are internal notes of the developers and not helpful to users. - Drop 0001-MGR-support-wxWidgets-without-webview.patch, which has landed upstream (commit 27bb3c9e). - libboinc-shared.patch: Build shared libraries for client and static libraries for science apps. Science apps are distributed as binaries over the BOINC network, so dynamic linking doesn't make sense. But we can use dynamic linking for the client. - build-client-scripts.patch: Add some targets to fix build. - Fix default path for boincscr. OBS-URL: https://build.opensuse.org/request/show/626119 OBS-URL: https://build.opensuse.org/package/show/network/boinc-client?expand=0&rev=72
2018-08-06 15:31:58 +02:00
@@ -4,7 +4,6 @@
include $(top_srcdir)/Makefile.incl
AM_CPPFLAGS += $(MYSQL_CFLAGS) $(PTHREAD_CFLAGS)
-AM_LDFLAGS += -static
if ENABLE_LIBRARIES
Index: boinc-client_release-7.16-7.16.3/tools/Makefile.am
===================================================================
--- boinc-client_release-7.16-7.16.3.orig/tools/Makefile.am
+++ boinc-client_release-7.16-7.16.3/tools/Makefile.am
@@ -41,7 +41,6 @@ dist_tools_DATA = \
Accepting request 626119 from home:aaronpuchert - Update to version 7.12.1. - Remove doc package, since the files have been removed from the source. Actually it wasn't even the documentation, but the server code. - Disable idle detection via the XSS API and remove dependency to libXScrnSaver-devel. This feature requires access to a running X server, which the BOINC client does not have in OpenSUSE. - Rename the devel package and provide the correct dependency. The devel package provides the headers for libboinc, and has nothing to do with the BOINC client. - Add conflict to original devel package. - Remove unnecessary dependency to libxslt. - Update systemd service file with changes from upstream: start after network-online.target, and use "ProtectHome=true". - Move bash completion file to /usr/share tree to fix rpmlint. - Declare license files as %license. - Don't install `notes` and `todo` - these are internal notes of the developers and not helpful to users. - Drop 0001-MGR-support-wxWidgets-without-webview.patch, which has landed upstream (commit 27bb3c9e). - libboinc-shared.patch: Build shared libraries for client and static libraries for science apps. Science apps are distributed as binaries over the BOINC network, so dynamic linking doesn't make sense. But we can use dynamic linking for the client. - build-client-scripts.patch: Add some targets to fix build. - Fix default path for boincscr. OBS-URL: https://build.opensuse.org/request/show/626119 OBS-URL: https://build.opensuse.org/package/show/network/boinc-client?expand=0&rev=72
2018-08-06 15:31:58 +02:00
project.xml
AM_CXXFLAGS += $(MYSQL_CFLAGS)
-AM_LDFLAGS += -static
cancel_jobs_SOURCES = cancel_jobs.cpp
cancel_jobs_LDADD = $(SERVERLIBS)
Index: boinc-client_release-7.16-7.16.3/vda/Makefile.am
===================================================================
--- boinc-client_release-7.16-7.16.3.orig/vda/Makefile.am
+++ boinc-client_release-7.16-7.16.3/vda/Makefile.am
@@ -4,7 +4,6 @@ vdadir=$(prefix)/lib/boinc-server-maker/
Accepting request 626119 from home:aaronpuchert - Update to version 7.12.1. - Remove doc package, since the files have been removed from the source. Actually it wasn't even the documentation, but the server code. - Disable idle detection via the XSS API and remove dependency to libXScrnSaver-devel. This feature requires access to a running X server, which the BOINC client does not have in OpenSUSE. - Rename the devel package and provide the correct dependency. The devel package provides the headers for libboinc, and has nothing to do with the BOINC client. - Add conflict to original devel package. - Remove unnecessary dependency to libxslt. - Update systemd service file with changes from upstream: start after network-online.target, and use "ProtectHome=true". - Move bash completion file to /usr/share tree to fix rpmlint. - Declare license files as %license. - Don't install `notes` and `todo` - these are internal notes of the developers and not helpful to users. - Drop 0001-MGR-support-wxWidgets-without-webview.patch, which has landed upstream (commit 27bb3c9e). - libboinc-shared.patch: Build shared libraries for client and static libraries for science apps. Science apps are distributed as binaries over the BOINC network, so dynamic linking doesn't make sense. But we can use dynamic linking for the client. - build-client-scripts.patch: Add some targets to fix build. - Fix default path for boincscr. OBS-URL: https://build.opensuse.org/request/show/626119 OBS-URL: https://build.opensuse.org/package/show/network/boinc-client?expand=0&rev=72
2018-08-06 15:31:58 +02:00
vda_PROGRAMS = vda vdad ssim
AM_CXXFLAGS += $(MYSQL_CFLAGS)
-AM_LDFLAGS += -static
vda_SOURCES = vda.cpp vda_lib.cpp vda_lib2.cpp vda_policy.cpp stats.cpp
vda_LDADD = $(SERVERLIBS)