Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#45743 - Remove gdm from make depends

Attached to Project: Arch Linux
Opened by John Henderson (jwhendy) - Wednesday, 22 July 2015, 15:10 GMT
Last edited by Doug Newgard (Scimmia) - Thursday, 23 July 2015, 03:53 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


Description: since this package features gdm as a make depend, the Arch flavored version on AUR also does so ( The upstream version will auto-detect the presence of gdm, and does not require it to build. It is no only an optional dependency, but an optional make dependency. This is in contrast to the strict requirement for, say, intltool, which will fail when running ./configure on jwz's xscreensaver source (

Additional info:
* package version(s): any
* config and/or log files etc.

Steps to reproduce:
- Install xscreensaver-arch-log from AUR
- the default behavior with gdm as a make dependency will isntall 201MB of gdm and all of it's gnome dependencies
- yaourt (and perhaps other AUR tools) will not re-list gdm as unneeded by any packages, and thus will not be flagged by `pacman -Qdt`
- one who does not require/need/want the "New Login" button functionality provided by xscreensaver's lock screen login does not want gdm and all of these dependencies installed

The issue is that numerous users have complained about gdm, not wanting all of the gnome baggage that, by default, comes along with installing. graysky, the maintainer, is mimicking the behavior of this package and suggested I submit a ticket here. Technically, gdm is not only an optional dep, but an optional *make* dep as well. I'm not sure if there's any PKGBUILD syntax for that. It appears Arch builds with gdm by default, but xscreensaver will build just fine with out it. Unfortunately, if you build without it, then even having gdm installed will not provide the extra functionality.

Is there a happy solution to this conundrum? Current behavior requires the unsuspecting user to know that gdm isn't really required and manually edit the PKGBUILD to remove gdm from makedepends upon installation.
This task depends upon

Closed by  Doug Newgard (Scimmia)
Thursday, 23 July 2015, 03:53 GMT
Reason for closing:  None
Additional comments about closing:  User requested: In commenting on the AUR version of this package (xscreensaver-arch-logo), it seemed that the package was using gdm as a makedepend because of this package, and having it installed for unnecessary functionality was undesirable, so I requested that changing here. In thinking about it more, and via comments, it makes more sense to build with gdm and then remove afterward. This appears possible via makepkg -sr, which is what I'll request on AUR.
Comment by John (graysky) - Wednesday, 22 July 2015, 18:46 GMT Comment by Doug Newgard (Scimmia) - Thursday, 23 July 2015, 03:20 GMT
Happy solution? Build your AUR package in a clean chroot.
Comment by John Henderson (jwhendy) - Thursday, 23 July 2015, 03:27 GMT
@Scimmia: I suppose I could... though I think those who dislike the current AUR package behavior do so due to the extra bloat of gdm + deps. So now I'd be adding the bloat of a separate chroot environment on top of having gdm installed there. It's isolated from my main environment, but it's still there taking up unnecessary space. In any case, I suspect the above won't be approved, and I think that's the correct move. I debated deleting/closing this momentarily after creating it.

The binary has hardly any impact: if you have gdm, you'll get the functionality, if not, then you won't. It's compiled with gdm, so the ability is *there*, but doesn't need to be enabled. The issue is that one has to *build* with gdm, not just have it installed. So I think the better AUR behavior would be to somehow install gdm if it's not, make, and then uninstall, printing out the typical "Optional dependencies" pacman message. But not sure if that's possible.
Comment by Doug Newgard (Scimmia) - Thursday, 23 July 2015, 03:41 GMT
Sure it's possible, makepkg -sr
Comment by John Henderson (jwhendy) - Thursday, 23 July 2015, 03:46 GMT
@Scimmia: well, that would do it for me. Perhaps that can be implemented in the AUR package. Thanks!