[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#631327: debian-edu-install: debconf's Gnome frontend now only requires libgtk2-perl



Package: debian-edu-install
Version: 1.519
Severity: normal
Tags: patch

As of debconf 1.5.40 (just uploaded), debconf's Gnome frontend only
requires libgtk2-perl, not libgnome2-perl.  Could you please adjust
debian-edu-install accordingly?  The following patch (against svn HEAD)
uses a dependency matching that in debconf 1.5.40.

Index: debian/control
===================================================================
--- debian/control	(revision 73799)
+++ debian/control	(working copy)
@@ -14,7 +14,7 @@
 Package: debian-edu-install
 Priority: extra
 Architecture: all
-Depends: ${misc:Depends}, debian-edu-config (>= 1.439), lsb-base, libgnome2-perl | libqt-perl
+Depends: ${misc:Depends}, debian-edu-config (>= 1.439), lsb-base, libgtk2-perl (>= 1:1.130) | libqt-perl
 Description: Set d-i values to install Debian Edu without questions
  This package provides default answers for packages using debconf, and 
  configures services to work out of the box after an installation.
Index: debian/debian-edu-install.xdebian-edu-firstboot.init
===================================================================
--- debian/debian-edu-install.xdebian-edu-firstboot.init	(revision 73799)
+++ debian/debian-edu-install.xdebian-edu-firstboot.init	(working copy)
@@ -92,7 +92,7 @@
     XAUTHORITY="`ls -tr /var/run/xauth/* 2>/dev/null|tail -1`"
     if [ "$XAUTHORITY" ] && XAUTHORITY=$XAUTHORITY DISPLAY=:0 xhost > /dev/null 2>&1 ; then
         # Try to use kde frontend (require libqt-perl) or gnome frontend
-        # (libgnome2-perl).  debconf will fall back to dialog if either
+        # (libgtk2-perl).  debconf will fall back to dialog if either
         # frontend fails to start.  The frontend need to be set before
         # confmodule is sourced to have effect.
         DISPLAY=:0
@@ -100,7 +100,7 @@
         if [ -f "/usr/lib/perl5/Qt.pm" ]; then
             # use kde frontend
             export DEBIAN_FRONTEND=kde
-        elif [ -f "/usr/lib/perl5/Gnome2.pm" ]; then
+        elif [ -f "/usr/lib/perl5/Gtk2.pm" ]; then
             # fall back to gnome
             export DEBIAN_FRONTEND=gnome
         fi

Thanks,

-- 
Colin Watson                                       [cjwatson@debian.org]



Reply to: