Package: gimp
Version: 2.8.10-0.1
Followup-For: Bug #639761
Tags: patch
thanks

Am Di, 30. Aug 2011 um 02:09:40 +0200 schrieb froese:
> Please, put the help-browser into a separate package so
> that I don't have to install ~60MB of useless code.

As this would not yield the expected result because the web-pages
plug-in also uses webkit, the attached patch downgrades webkit
dependencies to Suggests so one is free to not install them.

I chose Suggests over Recommends because gvfs-backends and libasound2
are suggestions already but feel free to change it as you like.

Regards,
Dirk
diff -ru gimp-2.8.10-0.1/debian/control gimp-2.8.10-0.1.mod/debian/control
--- gimp-2.8.10-0.1/debian/control	2014-03-31 00:18:56.000000000 +0200
+++ gimp-2.8.10-0.1.mod/debian/control	2014-04-05 17:17:45.193395049 +0200
@@ -88,7 +88,8 @@
 Suggests: gimp-help-en | gimp-help,
           gimp-data-extras,
           gvfs-backends,
-          libasound2
+          libasound2,
+          ${shlibs:Suggests}
 Breaks: gimp-plugin-registry (<< 4.20120506)
 Replaces: gimp-plugin-registry (<< 4.20120506)
 Description: The GNU Image Manipulation Program
diff -ru gimp-2.8.10-0.1/debian/rules gimp-2.8.10-0.1.mod/debian/rules
--- gimp-2.8.10-0.1/debian/rules	2014-03-31 00:18:56.000000000 +0200
+++ gimp-2.8.10-0.1.mod/debian/rules	2014-04-05 17:17:45.193395049 +0200
@@ -24,7 +24,13 @@
 
 DEB_DH_SHLIBDEPS_ARGS_ALL := -Llibgimp2.0 -l$(CURDIR)/debian/libgimp2.0/usr/lib
 # exclude this since we manually add the Recommends in debian/control
-DEB_DH_SHLIBDEPS_ARGS_gimp := -Xlibcontroller-midi.so
+DEB_DH_SHLIBDEPS_ARGS_gimp := -Xlibcontroller-midi.so \
+			-Xusr/lib/gimp/2.0/plug-ins/help-browser \
+			-Xusr/lib/gimp/2.0/plug-ins/web-page \
+			-- -dSuggests \
+			     debian/gimp/usr/lib/gimp/2.0/plug-ins/help-browser \
+			     debian/gimp/usr/lib/gimp/2.0/plug-ins/web-page \
+			   -dDepends
 DEB_DH_MAKESHLIBS_ARGS_gimp := -X/usr/lib/gimp/2.0/modules/
 DEB_DH_MAKESHLIBS_ARGS_libgimp2.0 += -V -- -c4
 

Reply via email to