Package Details: wdm-crm-git 1.28.r40.gd9a51b4-1

Git Clone URL: (read-only, click to copy)
Package Base: wdm-crm-git
Description: A replacement X window display manager similar to, and based on XDM
Upstream URL:
Licenses: GPL
Conflicts: wdm, wdm-git
Provides: wdm
Submitter: bidulock
Maintainer: bidulock
Last Packager: bidulock
Votes: 1
Popularity: 0.000000
First Submitted: 2014-03-28 05:55 (UTC)
Last Updated: 2022-08-06 04:08 (UTC)

Required by (0)

Sources (2)

Latest Comments

bidulock commented on 2022-08-06 04:09 (UTC)

Thanks for the patch @mgs. Included in the latest update.

<deleted-account> commented on 2022-08-04 18:26 (UTC)

The package currently fails to build for me with the following error message:

/usr/bin/ld: src/wdm/bin_wdm-consolekit.o: in function `open_ck_session':
consolekit.c:(.text+0xb9b): undefined reference to `major'
/usr/bin/ld: consolekit.c:(.text+0xbb3): undefined reference to `minor'
/usr/bin/ld: consolekit.c:(.text+0xbcb): undefined reference to `minor'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:889: bin/wdm] Error 1
make[1]: Leaving directory '/home/maarten/.cache/yay/wdm-crm-git/src/wdm-crm-git'
make: *** [Makefile:1630: all-recursive] Error 1

This can be fixed with an #include, but then it fails again because the call to WMCreateBlendedPixmapFromFile is no longer correct. The following changes fix the issues:

diff --git a/src/wdm/consolekit.c b/src/wdm/consolekit.c
index ace0f8b..c85c246 100644
--- a/src/wdm/consolekit.c
+++ b/src/wdm/consolekit.c
@@ -27,6 +27,7 @@
 #include <string.h>
 #include <pwd.h>

+#include <sys/sysmacros.h>
 #include <sys/types.h>

diff --git a/src/wdmPrefs/prefs.c b/src/wdmPrefs/prefs.c
index 4bceab3..7d2c78d 100644
--- a/src/wdmPrefs/prefs.c
+++ b/src/wdmPrefs/prefs.c
@@ -80,7 +80,7 @@ void AddSectionButton(Panel * panel, const char *iconfile)
                color.alpha = 0;
                filename = WMPathForResourceOfType((char *)iconfile, NULL);
                if (filename) {
-                       icon = WMCreateBlendedPixmapFromFile(WMWidgetScreen(button), filename, &color, 0, 0);
+                       icon = WMCreateBlendedPixmapFromFile(WMWidgetScreen(button), filename, &color);
                        WMSetButtonImage(button, icon);
                        if (icon)