Source: vte
Version: 1:0.22.5-2
Severity: wishlist
Tags: patch d-i

Hi,

the attached patch will need a tiny update to get the appropriate
version depending on gtk+2.0 being uploaded to experimental or unstable,
but you'll get the idea. ;)

Thanks for considering.

Mraw,
KiBi.
diff -u vte-0.22.5/debian/rules vte-0.22.5/debian/rules
--- vte-0.22.5/debian/rules
+++ vte-0.22.5/debian/rules
@@ -40,13 +40,19 @@
 # udeb rules
 configure/$(udeb):: $(DEB_BUILDDIR_$(udeb))/config.status
 $(DEB_BUILDDIR_$(udeb))/config.status:
+	# The following comment applied to the DirectFB-based udeb. That dirty
+	# hack probably could go away with the new X11-based udeb, provided
+	# libgtk-x11-udeb is still built from the 'shared' flavour (even if
+	# it's now a stripped-down flavour). Keep this hack for now, and for
+	# reference.
+
 	# paint me ugly: Gtk 2.8 mixes the pkg-config files from both builds
 	# (x11/shared and directfb), so the gtk+2.0.pc from the directfb can't
 	# be used; we cheat and create a fake one higher in the PKG_CONFIG_PATH
 	# which is a symlink to the gtk+-directfb-2.0.pc
 	mkdir -p $(DEB_BUILDDIR_$(udeb))/pkg-config
 	cd $(DEB_BUILDDIR_$(udeb))/pkg-config && \
-		ln -sf /usr/lib/pkgconfig/gtk+-directfb-2.0.pc gtk+-2.0.pc
+		ln -sf /usr/lib/pkgconfig/gtk+-x11-2.0.pc gtk+-2.0.pc
 	cd $(DEB_BUILDDIR_$(udeb)) && \
 		PKG_CONFIG_PATH=pkg-config \
 		$(DEB_CONFIGURE_SCRIPT_ENV) \
diff -u vte-0.22.5/debian/changelog vte-0.22.5/debian/changelog
--- vte-0.22.5/debian/changelog
+++ vte-0.22.5/debian/changelog
@@ -1,3 +1,13 @@
+vte (1:0.22.5-3) UNRELEASED; urgency=low
+
+  * Switch udeb from DirectFB to Xlib to prepare the move to an X11-based
+    graphical installer
+     - Drop the B-D on libgtk-directfb-2.0-dev.
+     - Bump the B-D on libgtk2.0-dev to make sure the udeb gets its
+       dependency on the (recently-added) udeb rather than on the library.
+
+ -- Cyril Brulebois <k...@debian.org>  Mon, 08 Feb 2010 00:16:27 +0000
+
 vte (1:0.22.5-2) unstable; urgency=low
 
   [ Luca Falavigna ]
diff -u vte-0.22.5/debian/control vte-0.22.5/debian/control
--- vte-0.22.5/debian/control
+++ vte-0.22.5/debian/control
@@ -14,8 +14,7 @@
                debhelper (>= 5.0.37.2),
                quilt,
                libglib2.0-dev (>= 2.18.0),
-               libgtk2.0-dev (>= 2.14.0),
-               libgtk-directfb-2.0-dev (>= 2.6.0),
+               libgtk2.0-dev (>= 2.18.7-2),
                gettext,
                python-gtk2-dev,
                python-all-dev (>= 2.3.5-11),
diff -u vte-0.22.5/debian/control.in vte-0.22.5/debian/control.in
--- vte-0.22.5/debian/control.in
+++ vte-0.22.5/debian/control.in
@@ -9,8 +9,7 @@
                debhelper (>= 5.0.37.2),
                quilt,
                libglib2.0-dev (>= 2.18.0),
-               libgtk2.0-dev (>= 2.14.0),
-               libgtk-directfb-2.0-dev (>= 2.6.0),
+               libgtk2.0-dev (>= 2.18.7-2),
                gettext,
                python-gtk2-dev,
                python-all-dev (>= 2.3.5-11),

Reply via email to