Package Details: gdm-prime 49.0.1-1

Git Clone URL: https://aur.archlinux.org/gdm-prime.git (read-only, click to copy)
Package Base: gdm-prime
Description: Display manager and login screen - patched with Prime support for Optimus laptops
Upstream URL: https://gitlab.gnome.org/GNOME/gdm
Licenses: GPL-2.0-or-later
Groups: gnome
Conflicts: gdm
Provides: gdm
Submitter: Askannz
Maintainer: Askannz
Last Packager: Askannz
Votes: 29
Popularity: 0.000055
First Submitted: 2019-04-28 00:19 (UTC)
Last Updated: 2025-10-05 09:07 (UTC)

Required by (20)

Sources (3)

Latest Comments

1 2 3 4 5 6 .. 8 Next › Last »

xAsh commented on 2025-09-27 20:08 (UTC)

You can change 48.0 to 49.0 in the PKGBUILD, run updpkgsums, then install with makepkg -si.

User commented on 2025-09-27 06:18 (UTC)

@AmirrezaFiroozi if you run makepkg -g it will output the calculated b2sums, or you can ignore any individual b2sum by setting it to 'SKIP'

AmirrezaFiroozi commented on 2025-09-23 12:43 (UTC) (edited on 2025-09-23 13:09 (UTC) by AmirrezaFiroozi)

gdm 49.0.1 has been released.

This package is out of date and is causing problems with optimus-manager.

It would be helpful to know how to generate the b2sum for each gdm git repo release. that way manual updating of the pkgbuild would consist of just changing the pkgver and replacing the old b2sum with the newly generated b2sum for the new release.

hopeseekr commented on 2025-08-10 20:04 (UTC)

I couldn't get @mingaleg's patch to apply, so i manually did it.

git clone https://aur.archlinux.org/gdm-prime.git
cd gdm-prime
wget https://gist.githubusercontent.com/hopeseekr/5f9503ef97d1704507f83a29ad5db74b/raw/b57b43db770f3ece94e1d234f4af8eb8a8ff11a7/gdm-prime.patch
git apply gdm-prime.patch
makepkg -si

mingaleg commented on 2025-07-06 13:22 (UTC)

This patch fixes build errors when the lib is compiled with GNU23 C: https://gist.github.com/mingaleg/f2b7969eb22e6722864bf06048df5ac5

It cherry-picks this not yet released commit in the upstream: https://github.com/GNOME/gdm/commit/2fbc2ac50b9f143eb594e5f77a8051222ffbd2c9

digital commented on 2025-06-25 10:41 (UTC)

[21/296] Compiling C object common/libgdmcommon.a.p/gdm-settings-utils.c.o
FAILED: common/libgdmcommon.a.p/gdm-settings-utils.c.o 
cc -Icommon/libgdmcommon.a.p -Icommon -I../gdm/common -I. -I../gdm -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -D_GNU_SOURCE -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/home/user/.cache/paru/clone/gdm-prime/src=/usr/src/debug/gdm-prime -flto=auto -fPIC -pthread -MD -MQ common/libgdmcommon.a.p/gdm-settings-utils.c.o -MF common/libgdmcommon.a.p/gdm-settings-utils.c.o.d -o common/libgdmcommon.a.p/gdm-settings-utils.c.o -c ../gdm/common/gdm-settings-utils.c
In file included from ../gdm/common/gdm-settings-utils.c:38:
../gdm/common/gdm-settings-utils.h:47:77: ошибка: expected «;», «,» or «)» before «bool»
   47 |                                                                 gboolean   *bool);
      |                                                                             ^~~~
../gdm/common/gdm-settings-utils.c:290:50: ошибка: expected «;», «,» or «)» before «bool»
  290 |                                      gboolean   *bool)
      |                                                  ^~~~
[41/296] Compiling C object libgdm/libgdm.so.1.0.0.p/meson-generated_.._gdm-client-glue.c.o

AmirrezaFiroozi commented on 2025-03-24 04:03 (UTC) (edited on 2025-03-24 04:04 (UTC) by AmirrezaFiroozi)

I can confirm PKGBUILD provided by @Tranalogic solves the issue. (Thank you @Tranalogic)


TLDR:
    Take the current PKGBUILD

    (line 11) --> pkgver=48.0

    (line 65) --> b2sums=('d08d2137f630999b2f36bd8b798805e145fd7350fc4a092056cfdddd2170ae57b3b17a3a8f44f4c08a7e527a165fdce0dfa7a934188bc487d2a6d5bd848497b0'

Tranalogic commented on 2025-03-23 19:54 (UTC) (edited on 2025-03-23 19:56 (UTC) by Tranalogic)

Hey Guys. I have Updated the PKGBUILD to 48.0. The pkgrel is 2. Its for me an information. Sorry for this ugly view.

PKGBUILD for gdm-prime and libgdm-prime:

Contributor: Fabian Bornschein <fabiscafe-at-mailbox-dot-org>
Contributor: Jan Alexander Steffens (heftig) heftig@archlinux.org
Contributor: Jan de Groot jgc@archlinux.org

pkgbase=gdm-prime pkgname=( gdm-prime libgdm-prime ) pkgver=48.0 pkgrel=2 pkgdesc="Display manager and login screen - patched with Prime support for Optimus laptops" url="https://wiki.gnome.org/Projects/GDM" arch=(x86_64) license=(GPL-2.0-or-later) depends=( accountsservice audit bash gcc-libs gdk-pixbuf2 glib2 glibc gnome-session gnome-shell gtk3 json-glib keyutils libcanberra libgudev libx11 libxau libxcb libxdmcp pam systemd systemd-libs upower ) makedepends=( dconf docbook-xsl git glib2-devel gobject-introspection meson plymouth yelp-tools xorg-server xorg-xhost xorg-xrdb ) optdepends=( 'xorg-server: X session support' 'xorg-xhost: X session support' 'xorg-xrdb: X session support' ) checkdepends=(check) source=( "git+https://gitlab.gnome.org/GNOME/gdm.git#tag=${pkgver/[a-z]/.&}" 0001-Xsession-Don-t-start-ssh-agent-by-default.patch 0002-nvidia-prime.patch ) b2sums=('d08d2137f630999b2f36bd8b798805e145fd7350fc4a092056cfdddd2170ae57b3b17a3a8f44f4c08a7e527a165fdce0dfa7a934188bc487d2a6d5bd848497b0' 'f7e868fdd7cc121433de1572583eb728f4d186cd4f52c6d6c8f2ccf4a3cf781144ff71f704f13571ddb97a1ff4ec55cfa3df25d38737ad19da21e84ddc2d3ee4' 'b02edd38bb178b457379717633f935f18bea153470905d34675a587c807a4c0de79e48cc82c53ec5a139d667f57c13e652ea6d9cb3a7fcd05bdd59b9cf715b45')

prepare() { cd gdm

# Don't start ssh-agent by default git apply -3 ../0001-Xsession-Don-t-start-ssh-agent-by-default.patch

git apply -3 ../0002-nvidia-prime.patch }

build() { local meson_options=( -D dbus-sys="/usr/share/dbus-1/system.d" -D default-pam-config=arch -D default-path="/usr/local/bin:/usr/local/sbin:/usr/bin" -D gdm-xsession=true -D ipv6=true -D run-dir=/run/gdm -D selinux=disabled )

arch-meson gdm build "${meson_options[@]}" meson compile -C build }

check() { meson test -C build --print-errorlogs }

_pick() { local p="$1" f d; shift for f; do d="$srcdir/$p/${f#$pkgdir/}" mkdir -p "$(dirname "$d")" mv "$f" "$d" rmdir -p --ignore-fail-on-non-empty "$(dirname "$f")" done }

package_gdm-prime() { provides=(gdm) conflicts=(gdm) depends+=(libgdm) optdepends=('fprintd: fingerprint authentication') backup=( etc/gdm/PostSession/Default etc/gdm/PreSession/Default etc/gdm/Xsession etc/gdm/custom.conf etc/pam.d/gdm-autologin etc/pam.d/gdm-fingerprint etc/pam.d/gdm-launch-environment etc/pam.d/gdm-password etc/pam.d/gdm-smartcard ) groups=(gnome) install=gdm-prime.install

meson install -C build --destdir "$pkgdir"

cd "$pkgdir"

install -d -o 0 -g 0 -m 0755 var install -d -o 0 -g 0 -m 0755 var/lib install -d -o 120 -g 120 -m 1770 var/lib/gdm install -d -o 120 -g 120 -m 0700 var/lib/gdm/.config install -d -o 120 -g 120 -m 0700 var/lib/gdm/.config/pulse install -d -o 120 -g 120 -m 0700 var/lib/gdm/.local install -d -o 120 -g 120 -m 0755 var/lib/gdm/.local/share install -d -o 120 -g 120 -m 0755 var/lib/gdm/.local/share/applications

# https://src.fedoraproject.org/rpms/gdm/blob/master/f/default.pa-for-gdm install -o120 -g120 -m644 /dev/stdin var/lib/gdm/.config/pulse/default.pa <<END load-module module-device-restore load-module module-card-restore load-module module-udev-detect load-module module-native-protocol-unix load-module module-default-device-restore load-module module-always-sink load-module module-intended-roles load-module module-suspend-on-idle load-module module-systemd-login load-module module-position-event-sounds END

install -Dm644 /dev/stdin usr/lib/sysusers.d/gdm.conf <<END g gdm 120 - u gdm 120 "Gnome Display Manager" /var/lib/gdm END

_pick libgdm usr/include _pick libgdm usr/lib/{girepository-1.0,libgdm*,pkgconfig} _pick libgdm usr/share/{gir-1.0,glib-2.0} }

package_libgdm-prime() { pkgdesc+=" - support library" depends=( dconf gcc-libs glib2 glibc libg{lib,object,io}-2.0.so libsystemd.so systemd-libs ) provides=(libgdm.so libgdm) conflicts=(libgdm)

mv libgdm/* "$pkgdir" }

vim:set sw=2 sts=-1 et:

AmirrezaFiroozi commented on 2025-03-23 13:49 (UTC)

gdm 48.0-1 has been released. I believe this package needs to be updated accordingly.

(As of now my gdm-prime 47 loads at startup; but shows no user lists or manual user input. As a result I cannot login to my graphical environment)

masca commented on 2024-06-25 07:32 (UTC)

I am getting an error when trying to install:

gdm/daemon/meson.build:2:17: ERROR: Dependency 'gio-2.0' tool variable 'gdbus_codegen' contains erroneous value: '/usr/bin/gdbus-codegen'