LightDM would grab it first (but you'll have to have a local repository ready before its installation!) and pay no mind to any GTK+ stuff.
Actually, my guess was wrong. When there's a list of "alternative package names" (as they call it
here) in the
Depends field, and neither of these packages is installed, APT seems to grab the first of them. Always. Unless you manually install the other first.
UPDATE: the following section about making a dummy package is obsolete for Testing and Unstable users since the dependencies are fixed now (as of lightdm 1.2.2-4), and you can just install lightdm-razorqt-greeter, then lightdm itself.
----------------------------------------------------------------------------------------------------------------
Since LightDM depends on
Code: Select all
lightdm-gtk-greeter | lightdm-qt-greeter
we need to install lightdm-qt-greeter before LightDM.
Now let's make a mockup which can be used instead of a real lightdm-qt-greeter (not only it doesn't exist in Wheezy anymore, it also
seems to be abandoned by its developers). I've decided to create a dummy (but real) package because it required less work than making a virtual one (I'd need some real package to provide a virtual one anyway).
- Create a new directory for the dummy package. Name it how you like, e.g. dummy.
- Create a directory named DEBIAN inside. Right, these are all caps.
- Create a new file named control, that is, dummy/DEBIAN/control, and fill it with the minimal package description:
Code: Select all
Package: lightdm-qt-greeter
Version: 1.0.0
Architecture: all
Maintainer: well, whoever
Depends: lightdm-razorqt-greeter
Priority: optional
Description: dummy package to fool LightDM :)
- Run dpkg -b dummy to create dummy.deb.
----------------------------------------------------------------------------------------------------------------
Now you can create a local repo with all razorqt packages and this dummy package. Also it may be very convenient to tell apt-get
NOT to install whatever a package suggests or recommends
Now the packages are ready for installation.
Code: Select all
apt-get install lightdm-qt-greeter
apt-get install lightdm
apt-get install razorqt
apt-get install <some window manager>
Here I'd like to explain why I remembered about telling apt-get not to be too clever. Today I've decided to install kde-window-manager instead of openbox. On a clean minimal Wheezy system, with apt-get installing whatever is suggested or recommended, I almost ended up with a nice set of GTK+ 2 and 3 libraries in addition to KDE ones
Alright, what's left is to edit /etc/lightdm/lightdm.conf and set the greeter session:
Code: Select all
greeter-session=lightdm-razor-greeter
(damn inconsistency! why it's razor, not razorqt this time?)