libgksu-2.0.7-libs.patch 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. # https://savannah.nongnu.org/bugs/?25362
  2. # https://bugs.gentoo.org/show_bug.cgi?id=226837
  3. diff -Nura a/configure.ac b/configure.ac
  4. --- a/configure.ac 2009-01-19 22:15:30.000000000 +0100
  5. +++ b/configure.ac 2009-01-19 22:18:10.000000000 +0100
  6. @@ -43,6 +43,9 @@
  7. PKG_CHECK_MODULES(LIBGKSU, [gtk+-2.0 >= 2.4.0, gconf-2.0, libstartup-notification-1.0, gnome-keyring-1, libgtop-2.0])
  8. PKG_CHECK_MODULES(GKSU_PROPERTIES, [gtk+-2.0 >= 2.4.0, gconf-2.0, libglade-2.0])
  9. +PKG_CHECK_MODULES(GLIB, [glib-2.0 gthread-2.0])
  10. +PKG_CHECK_MODULES(GTK, [gtk+-2.0 gconf-2.0])
  11. +
  12. # Checks for library functions.
  13. ALL_LINGUAS="ca cs da de es eu fr hu it ko lt pl pt_BR ro ru sk sv nb nl zh_CN"
  14. diff -Nura a/gksu-properties/Makefile.am b/gksu-properties/Makefile.am
  15. --- a/gksu-properties/Makefile.am 2009-01-19 22:15:59.000000000 +0100
  16. +++ b/gksu-properties/Makefile.am 2009-01-19 22:19:13.000000000 +0100
  17. @@ -3,7 +3,7 @@
  18. AM_CPPFLAGS = -DLOCALEDIR=\"$(datadir)/locale\" -DDATA_DIR=\"$(datadir)\" -DPREFIX=\"$(prefix)\"
  19. bin_PROGRAMS = gksu-properties
  20. -gksu_properties_LDFLAGS = ${GKSU_PROPERTIES_LIBS}
  21. +gksu_properties_LDADD = ${GKSU_PROPERTIES_LIBS}
  22. gksu_properties_SOURCES = gksu-properties.c
  23. gladedir = ${prefix}/share/${PACKAGE}
  24. diff -Nura a/libgksu/Makefile.am b/libgksu/Makefile.am
  25. --- a/libgksu/Makefile.am 2009-01-19 22:15:59.000000000 +0100
  26. +++ b/libgksu/Makefile.am 2009-01-19 22:18:25.000000000 +0100
  27. @@ -8,8 +8,8 @@
  28. # major -> breaks backward compatibility (changes to existing ABI)
  29. # minor -> keeps compatibility (additions to the API)
  30. # micro -> no change to the API/ABI
  31. -libgksu2_la_LIBADD = ../libgksuui/libgksuui1.0.la
  32. -libgksu2_la_LDFLAGS = -version-info 0:2:0 -Wl,-O1 -lutil ${LIBGKSU_LIBS}
  33. +libgksu2_la_LIBADD = ../libgksuui/libgksuui1.0.la -lutil ${LIBGKSU_LIBS}
  34. +libgksu2_la_LDFLAGS = -version-info 0:2:0 -Wl,-O1
  35. if USE_VERSION_SCRIPT
  36. libgksu2_la_LDFLAGS += -Wl,--version-script=libgksu.ver
  37. endif
  38. @@ -24,12 +24,11 @@
  39. pkglibdir = ${libdir}/${PACKAGE}
  40. pkglib_PROGRAMS = gksu-run-helper
  41. -gksu_run_helper_LDFLAGS = `pkg-config --libs glib-2.0`
  42. +gksu_run_helper_LDADD = ${GLIB_LIBS}
  43. gksu_run_helper_SOURCES = gksu-run-helper.c
  44. noinst_PROGRAMS = test-gksu
  45. test_gksu_SOURCES = test-gksu.c
  46. -test_gksu_LDADD = libgksu2.la
  47. -test_gksu_LDFLAGS = `pkg-config --libs glib-2.0 gthread-2.0`
  48. +test_gksu_LDADD = libgksu2.la ${GLIB_LIBS}
  49. EXTRA_DIST = libgksu.ver
  50. diff -Nura a/libgksuui/Makefile.am b/libgksuui/Makefile.am
  51. --- a/libgksuui/Makefile.am 2009-01-19 22:15:59.000000000 +0100
  52. +++ b/libgksuui/Makefile.am 2009-01-19 22:18:54.000000000 +0100
  53. @@ -4,12 +4,13 @@
  54. noinst_LTLIBRARIES = libgksuui1.0.la
  55. libgksuui1_0_la_SOURCES = gksuui-dialog.c
  56. -libgksuui1_0_la_LDFLAGS = -Wl,-O1 `pkg-config --libs gtk+-2.0 gconf-2.0`
  57. +libgksuui1_0_la_LDFLAGS = -Wl,-O1
  58. +libgksuui1_0_la_LIBADD = ${GTK_LIBS}
  59. noinst_HEADERS = defines.h gksuui.h gksuui-dialog.h
  60. includedir = ${prefix}/include/$(PACKAGE)
  61. noinst_PROGRAMS = test-gksuui
  62. test_gksuui_SOURCES = test-gksuui.c
  63. -test_gksuui_LDADD = libgksuui1.0.la
  64. -test_gksuui_LDFLAGS = `pkg-config --libs glib-2.0 gthread-2.0`
  65. +test_gksuui_LDADD = libgksuui1.0.la ${GLIB_LIBS}
  66. +