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

Re: Pushing kde4 into testing



On Tue, May 12, 2009 at 12:29:14PM +0200, Adeodato Simó wrote:
> > |libqt-perl (= 3.008-4): FAILED
> > |The following constraints cannot be satisfied:
> > |  libqt-perl (= 3.008-4) depends on libsmokeqt1 (>= 4:3.5.10) {NOT AVAILABLE}
> 
> > Won't be fixed until after the summer, remove for now. Maintainer
> > aware.
> 
> Well, the problem is that libqt-perl has reverse dependencies. In
> particular, debian-edu-install. We need a solution for that...

would it be possible to lower the dependency to a recommend on libqt-perl, as
it should still get installed by default if available (i.e. the lenny-based
debian-edu), but allow kde4 to progress into squeeze...

alternately, even though debian-edu focuses on KDE, what about putting in a
"libqt-perl | libgnome2-perl" dependency, and fall back to the GNOME frontend
if libqt-perl is not available?

in debian-edu-install/debian/debian-edu-install.firstboot:

report_errors() {
    action="$1"
    errfile="$2"

    # Try to get debconf to pop up the dialog on top of kdm.  Need to
    # do this before starting debconf.
    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).  debconf will fall
        # back to dialog if the kde frontend fail to start.  The frontend
        # need to be set before confmodule is sourced to have effect.
        DISPLAY=:0
        DEBIAN_FRONTEND=kde
        export XAUTHORITY DISPLAY DEBIAN_FRONTEND
    fi

    . /usr/share/debconf/confmodule

....

seems like some conditionals to test weather to set DEBIAN_FRONTEND=kde vs.
gnome (or gtk, or whatever the equivalent is) would be all that's needed.

live well,
  vagrant


Reply to: