kildclient-3.0.1-gentoo.patch 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. diff -ru kildclient-3.0.1.orig/Makefile.am kildclient-3.0.1/Makefile.am
  2. --- kildclient-3.0.1.orig/Makefile.am 2014-09-07 11:49:16.000000000 -0400
  3. +++ kildclient-3.0.1/Makefile.am 2015-01-03 22:33:12.578096926 -0500
  4. @@ -9,11 +9,7 @@
  5. share
  6. endif
  7. -pkgdocdir = $(datadir)/doc/kildclient
  8. -
  9. -pkgdoc_DATA = README AUTHORS NEWS COPYING
  10. -
  11. -appsdir = $(datadir)/applications
  12. +appsdir = /usr/share/applications
  13. apps_DATA = kildclient.desktop
  14. EXTRA_DIST = kildclient.spec \
  15. diff -ru kildclient-3.0.1.orig/doc/C/Makefile.am kildclient-3.0.1/doc/C/Makefile.am
  16. --- kildclient-3.0.1.orig/doc/C/Makefile.am 2012-02-12 10:48:07.000000000 -0500
  17. +++ kildclient-3.0.1/doc/C/Makefile.am 2015-01-04 00:11:46.422941983 -0500
  18. @@ -1,8 +1,8 @@
  19. SUBDIRS = images
  20. -pkgdocdir = $(datadir)/doc/kildclient
  21. +pkgdocdir = @docdir@
  22. -manualdir = $(pkgdocdir)/html
  23. +manualdir = @htmldir@
  24. #pkgdoc_DATA = kildclient.pdf
  25. diff -ru kildclient-3.0.1.orig/po/Makefile.in.in kildclient-3.0.1/po/Makefile.in.in
  26. --- kildclient-3.0.1.orig/po/Makefile.in.in 2014-12-13 05:47:22.000000000 -0500
  27. +++ kildclient-3.0.1/po/Makefile.in.in 2015-01-04 00:13:33.357326034 -0500
  28. @@ -28,9 +28,8 @@
  29. datarootdir = @datarootdir@
  30. datadir = @datadir@
  31. libdir = @libdir@
  32. -localedir = $(libdir)/locale
  33. -gnulocaledir = $(datadir)/locale
  34. -gettextsrcdir = $(datadir)/glib-2.0/gettext/po
  35. +localedir = @localedir@
  36. +gnulocaledir = @localedir@
  37. subdir = po
  38. INSTALL = @INSTALL@
  39. @@ -163,13 +162,6 @@
  40. fi; \
  41. fi; \
  42. done
  43. - if test "$(PACKAGE)" = "glib"; then \
  44. - $(MKINSTALLDIRS) $(DESTDIR)$(gettextsrcdir); \
  45. - $(INSTALL_DATA) $(srcdir)/Makefile.in.in \
  46. - $(DESTDIR)$(gettextsrcdir)/Makefile.in.in; \
  47. - else \
  48. - : ; \
  49. - fi
  50. # Define this as empty until I found a useful application.
  51. installcheck:
  52. @@ -184,9 +176,6 @@
  53. rm -f $(DESTDIR)$(gnulocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE)$(INSTOBJEXT); \
  54. rm -f $(DESTDIR)$(gnulocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE)$(INSTOBJEXT).m; \
  55. done
  56. - if test "$(PACKAGE)" = "glib"; then \
  57. - rm -f $(DESTDIR)$(gettextsrcdir)/Makefile.in.in; \
  58. - fi
  59. check: all
  60. diff -ru kildclient-3.0.1.orig/share/Makefile.am kildclient-3.0.1/share/Makefile.am
  61. --- kildclient-3.0.1.orig/share/Makefile.am 2012-02-12 10:48:56.000000000 -0500
  62. +++ kildclient-3.0.1/share/Makefile.am 2015-01-04 00:14:05.375243115 -0500
  63. @@ -5,7 +5,7 @@
  64. kildclient.hlp \
  65. kcworld.dtd
  66. -pixmapdir = $(datadir)/pixmaps
  67. +pixmapdir = /usr/share/pixmaps
  68. pixmap_DATA = kildclient.png kildclient.xpm
  69. diff -ru kildclient-3.0.1.orig/src/Makefile.am kildclient-3.0.1/src/Makefile.am
  70. --- kildclient-3.0.1.orig/src/Makefile.am 2014-12-13 05:40:02.000000000 -0500
  71. +++ kildclient-3.0.1/src/Makefile.am 2015-01-04 00:14:47.606814577 -0500
  72. @@ -84,11 +84,11 @@
  73. EXTRA_DIST = $(pkgdata_DATA) $(uifiles)
  74. -pkgdocdir = $(datadir)/doc/kildclient
  75. +pkgdocdir = @docdir@
  76. -manualdir = $(pkgdocdir)/html
  77. +manualdir = @htmldir@
  78. -localedir = $(datadir)/locale
  79. +localedir = @localedir@
  80. kildclient_LDADD = $(GTK_LIBS) $(KILDCLIENT_PERL_LIBS) $(GTKSPELL_LIBS) $(LIBGNUTLS_LIBS) $(INTLLIBS) -lz
  81. diff -ru kildclient-3.0.1.orig/src/mainwindow.c kildclient-3.0.1/src/mainwindow.c
  82. --- kildclient-3.0.1.orig/src/mainwindow.c 2014-12-13 05:40:02.000000000 -0500
  83. +++ kildclient-3.0.1/src/mainwindow.c 2015-01-04 00:15:43.877910836 -0500
  84. @@ -172,9 +172,9 @@
  85. window = GTK_WIDGET(gtk_builder_get_object(main_builder, "wndMain"));
  86. #ifndef __WIN32__
  87. gtk_window_set_icon_from_file(GTK_WINDOW(window),
  88. - SYSDATADIR "/pixmaps/kildclient.png",
  89. + "/usr/share/pixmaps/kildclient.png",
  90. NULL);
  91. - gtk_window_set_default_icon_from_file(SYSDATADIR "/pixmaps/kildclient.png",
  92. + gtk_window_set_default_icon_from_file("/usr/share/pixmaps/kildclient.png",
  93. NULL);
  94. #endif