head	1.24;
access;
symbols
	pkgsrc-2026Q1:1.23.0.2
	pkgsrc-2026Q1-base:1.23
	pkgsrc-2025Q4:1.22.0.2
	pkgsrc-2025Q4-base:1.22
	pkgsrc-2025Q3:1.21.0.2
	pkgsrc-2025Q3-base:1.21
	pkgsrc-2025Q2:1.19.0.2
	pkgsrc-2025Q2-base:1.19
	pkgsrc-2025Q1:1.18.0.2
	pkgsrc-2025Q1-base:1.18
	pkgsrc-2024Q4:1.17.0.2
	pkgsrc-2024Q4-base:1.17
	pkgsrc-2024Q3:1.15.0.4
	pkgsrc-2024Q3-base:1.15
	pkgsrc-2024Q2:1.15.0.2
	pkgsrc-2024Q2-base:1.15
	pkgsrc-2024Q1:1.13.0.4
	pkgsrc-2024Q1-base:1.13
	pkgsrc-2023Q4:1.13.0.2
	pkgsrc-2023Q4-base:1.13
	pkgsrc-2023Q3:1.10.0.6
	pkgsrc-2023Q3-base:1.10
	pkgsrc-2023Q2:1.10.0.4
	pkgsrc-2023Q2-base:1.10
	pkgsrc-2023Q1:1.10.0.2
	pkgsrc-2023Q1-base:1.10
	pkgsrc-2022Q4:1.8.0.4
	pkgsrc-2022Q4-base:1.8
	pkgsrc-2022Q3:1.8.0.2
	pkgsrc-2022Q3-base:1.8
	pkgsrc-2022Q2:1.7.0.4
	pkgsrc-2022Q2-base:1.7
	pkgsrc-2022Q1:1.7.0.2
	pkgsrc-2022Q1-base:1.7
	pkgsrc-2021Q4:1.6.0.2
	pkgsrc-2021Q4-base:1.6
	pkgsrc-2021Q3:1.4.0.4
	pkgsrc-2021Q3-base:1.4
	pkgsrc-2021Q2:1.4.0.2
	pkgsrc-2021Q2-base:1.4;
locks; strict;
comment	@# @;


1.24
date	2026.05.15.17.01.07;	author wiz;	state Exp;
branches;
next	1.23;
commitid	OI7ZsJm2dPRYQVFG;

1.23
date	2026.01.27.08.40.59;	author wiz;	state Exp;
branches;
next	1.22;
commitid	f4MYtJVcsY7dz0sG;

1.22
date	2025.10.23.20.40.03;	author wiz;	state Exp;
branches;
next	1.21;
commitid	1V2hBZn9ypXaCJfG;

1.21
date	2025.08.30.22.46.40;	author wiz;	state Exp;
branches;
next	1.20;
commitid	2izPxU30rhec4O8G;

1.20
date	2025.07.19.05.37.50;	author wiz;	state Exp;
branches;
next	1.19;
commitid	pfsNycT46uNAJj3G;

1.19
date	2025.04.24.14.16.18;	author wiz;	state Exp;
branches;
next	1.18;
commitid	A3VBjL8Zdd4LljSF;

1.18
date	2024.12.27.08.20.58;	author wiz;	state Exp;
branches;
next	1.17;
commitid	tLKuqVS8lkJCb7DF;

1.17
date	2024.11.17.07.16.57;	author wiz;	state Exp;
branches;
next	1.16;
commitid	xKvmQYB52TGx7YxF;

1.16
date	2024.10.20.14.04.51;	author wiz;	state Exp;
branches;
next	1.15;
commitid	iXiXTiwhLpC9hpuF;

1.15
date	2024.04.07.07.35.21;	author wiz;	state Exp;
branches;
next	1.14;
commitid	oMYDjdZchby5qb5F;

1.14
date	2024.04.06.08.07.02;	author wiz;	state Exp;
branches;
next	1.13;
commitid	xuM7fEJrv2TOC35F;

1.13
date	2023.11.14.14.03.14;	author wiz;	state Exp;
branches;
next	1.12;
commitid	BZ5vzwBRof1beAME;

1.12
date	2023.11.12.13.24.14;	author wiz;	state Exp;
branches;
next	1.11;
commitid	SjpNXQIV5XeZ3kME;

1.11
date	2023.10.21.17.11.48;	author gdt;	state Exp;
branches;
next	1.10;
commitid	Sr0Nb6aaZLDw2wJE;

1.10
date	2023.01.29.21.18.13;	author ryoon;	state Exp;
branches;
next	1.9;
commitid	QL7aBXsBGmQvUtbE;

1.9
date	2023.01.03.17.38.29;	author wiz;	state Exp;
branches;
next	1.8;
commitid	vvAqE6UmuqFFx78E;

1.8
date	2022.08.11.05.09.29;	author gutteridge;	state Exp;
branches;
next	1.7;
commitid	yKydzoO42ClN3qPD;

1.7
date	2022.03.10.16.45.55;	author nia;	state Exp;
branches;
next	1.6;
commitid	0c0VUNdUPqmqSGvD;

1.6
date	2021.12.08.16.07.07;	author adam;	state Exp;
branches;
next	1.5;
commitid	2PyWjHx5T8rqARjD;

1.5
date	2021.11.18.09.32.17;	author cirnatdan;	state Exp;
branches;
next	1.4;
commitid	R85o7ZZdNi9J4ghD;

1.4
date	2021.05.02.11.06.16;	author nia;	state Exp;
branches;
next	1.3;
commitid	iNYSncOgI6HA1zRC;

1.3
date	2021.04.19.15.31.53;	author nia;	state Exp;
branches;
next	1.2;
commitid	VsT0Serfo3CIUUPC;

1.2
date	2021.04.18.12.10.16;	author wiz;	state Exp;
branches;
next	1.1;
commitid	NRHvS6kXVUosPLPC;

1.1
date	2021.04.16.13.57.52;	author cirnatdan;	state Exp;
branches;
next	;
commitid	6rs8yYxeYRqruwPC;


desc
@@


1.24
log
@*: switch to glib2-introspection

The gobject-introspection package installed _some_ of the introspection
files needed for glib2, but not all - some of them are built from the glib2
sources. glib2-introspection now contains all glib2-related introspection
files.

Add a tool dependency on the new package where needed.

Remove gobject-introspection from buildlink3.mk files - this is usually
a tool and should not be forwarded via buildlink3.

Some cleanups/fixes for -current while here.
@
text
@# $NetBSD: Makefile,v 1.23 2026/01/27 08:40:59 wiz Exp $

DISTNAME=	gdm-40.0
PKGNAME=	lib${DISTNAME}
PKGREVISION=	17
CATEGORIES=	x11 gnome
MASTER_SITES=	${MASTER_SITE_GITHUB:=GNOME/}
GITHUB_PROJECT=	gdm

MAINTAINER=	pkgsrc-users@@NetBSD.org
HOMEPAGE=	https://www.gnome.org/
COMMENT=	Gnome Display Manager - client library
LICENSE=	gnu-gpl-v2

TOOL_DEPENDS+=	glib2-introspection-[0-9]*:../../devel/glib2-introspection
DEPENDS+=	zenity>=3.32.0:../../x11/zenity

USE_PKGLOCALEDIR=	YES
GNU_CONFIGURE=		YES
USE_LIBTOOL=		YES
USE_TOOLS+=		msgfmt pkg-config gdbus-codegen itstool
BUILD_DEFS+=		VARBASE

USE_LANGUAGES=		c c++

CPPFLAGS+=		-DWITH_CONSOLE_KIT=1
CPPFLAGS+=		-DCONSOLEKIT_DIR=\"${PREFIX}/libexec\"

MESON_ARGS+=		-Dlocalstatedir=${VARBASE}
MESON_ARGS+=		--sysconfdir=${EGDIR}
MESON_ARGS+=		-Ddmconfdir=${PKG_SYSCONFDIR}/dm
MESON_ARGS+=		-Dsysconfsubdir=
MESON_ARGS+=		-Dplymouth=disabled
MESON_ARGS+=		-Dsystemd-journal=false
MESON_ARGS+=		-Duser-display-server=false
MESON_ARGS+=		-Duser=${GDMOWN}
MESON_ARGS+=		-Dgroup=${GDMGRP}
MESON_ARGS+=		-Ddbus-sys=${PREFIX}/share/examples/dbus-1/system.d
MESON_ARGS+=		-Dgdm-xsession=true
MESON_ARGS+=		-Dwayland-support=false
MESON_ARGS+=		-Ddefault-path="/usr/local/bin:/usr/local/sbin:${PREFIX}/bin:${PREFIX}/sbin:/usr/bin:/usr/sbin:/bin/sbin"
INSTALL_MAKE_FLAGS+=	${MAKE_FLAGS}
INSTALL_MAKE_FLAGS+=	GDM_CUSTOM_CONF=${EGDIR}/custom.conf
INSTALL_MAKE_FLAGS+=	sysconfdir=${EGDIR}
MAKE_ENV+=		CHMOD=${CHMOD:Q} CHOWN=${CHOWN:Q}

# only install libgdm, without the daemon and login screen
INSTALLATION_DIRS+=	include/gdm
INSTALLATION_DIRS+=	lib/girepository-1.0
INSTALLATION_DIRS+=	lib/
INSTALLATION_DIRS+=	lib/pkgconfig
INSTALLATION_DIRS+=	share/gir-1.0 share/glib-2.0/schemas

INSTALL_DIRS=	# disable meson install

do-install:
	${INSTALL_DATA} ${WRKSRC}/output/libgdm/gdm-client-glue.h \
		${DESTDIR}${PREFIX}/include/gdm
	${INSTALL_DATA} ${WRKSRC}/libgdm/gdm-client.h \
		${DESTDIR}${PREFIX}/include/gdm
	${INSTALL_DATA} ${WRKSRC}/libgdm/gdm-sessions.h \
		${DESTDIR}${PREFIX}/include/gdm
	${INSTALL_DATA} ${WRKSRC}/libgdm/gdm-user-switching.h \
		${DESTDIR}${PREFIX}/include/gdm

	${INSTALL_DATA} ${WRKSRC}/output/libgdm/Gdm-1.0.typelib \
		${DESTDIR}${PREFIX}/lib/girepository-1.0
	${INSTALL_LIB} ${WRKSRC}/output/libgdm/libgdm.so \
		${DESTDIR}${PREFIX}/lib
	${INSTALL_LIB} ${WRKSRC}/output/libgdm/libgdm.so.1 \
		${DESTDIR}${PREFIX}/lib
	${INSTALL_LIB} ${WRKSRC}/output/libgdm/libgdm.so.1.0.0 \
		${DESTDIR}${PREFIX}/lib

	${INSTALL_DATA} ${WRKSRC}/output/meson-private/gdm.pc \
		${DESTDIR}${PREFIX}/lib/pkgconfig

	${INSTALL_DATA} ${WRKSRC}/output/libgdm/Gdm-1.0.gir \
		${DESTDIR}${PREFIX}/share/gir-1.0
	${INSTALL_DATA} ${WRKSRC}/data/org.gnome.login-screen.gschema.xml \
		${DESTDIR}${PREFIX}/share/glib-2.0/schemas

.include "../../devel/meson/build.mk"
BUILDLINK_DEPMETHOD.gobject-introspection=	build
.include "../../devel/gobject-introspection/buildlink3.mk"
#.include "../../sysutils/gsettings-desktop-schemas/buildlink3.mk"
BUILDLINK_DEPMETHOD.openpam=	build
.include "../../security/openpam/buildlink3.mk"
BUILDLINK_DEPMETHOD.dconf=		build
.include "../../devel/dconf/buildlink3.mk"
.include "../../audio/libcanberra/buildlink3.mk"
BUILDLINK_DEPMETHOD.gtk3=		build
.include "../../x11/gtk3/buildlink3.mk"
.include "../../sysutils/accountsservice/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/glib2/schemas.mk"
.include "../../mk/bsd.pkg.mk"
@


1.23
log
@*: recursive bump for removal of cairo's xcb option
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.22 2025/10/23 20:40:03 wiz Exp $
d15 1
d84 2
@


1.22
log
@*: recursive bump for pcre2

Running an old binary against the new pcre doesn't work:
/usr/pkg/lib/libpcre2-8.so.0: version PCRE2_10.47 required by /usr/pkg/lib/libglib-2.0.so.0 not defined
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.21 2025/08/30 22:46:40 wiz Exp $
d5 1
a5 1
PKGREVISION=	16
@


1.21
log
@*: recursive bump for tiff growing lerc dependency
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.20 2025/07/19 05:37:50 wiz Exp $
d5 1
a5 1
PKGREVISION=	15
@


1.20
log
@*: bump gobject-introspection users for ABI bump

XXX: I'm actually not sure why the ABI was bumped for 1.84, but now that
it is we have to bump PKGREVISIONs, otherwise pkgin is quite unhappy
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.19 2025/04/24 14:16:18 wiz Exp $
d5 1
a5 1
PKGREVISION=	14
@


1.19
log
@*: recursive bump for jpeg -> libjpeg-turbo switch
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.18 2024/12/27 08:20:58 wiz Exp $
d5 1
a5 1
PKGREVISION=	13
@


1.18
log
@*: recursive bump for pango requiring fontconfig 2.15
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2024/11/17 07:16:57 wiz Exp $
d5 1
a5 1
PKGREVISION=	12
@


1.17
log
@*: recursive bump for default-on option of at-spi2-core
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2024/10/20 14:04:51 wiz Exp $
d5 1
a5 1
PKGREVISION=	11
@


1.16
log
@*: recursive bump for merging at-spi2-atk and atk into at2-spi-core

Remove at-spi2-atk and atk
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2024/04/07 07:35:21 wiz Exp $
d5 1
a5 1
PKGREVISION=	10
@


1.15
log
@*: bump for cairo buildlink3.mk change

lzo was made an option
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2024/04/06 08:07:02 wiz Exp $
d5 1
a5 1
PKGREVISION=	9
@


1.14
log
@* recursive bump for libxkbcommon 1.7.0

Marc Baudoin reported problems with using old binary packages
with the new libkxbcommon, so force everything to 1.7.0
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2023/11/14 14:03:14 wiz Exp $
d5 1
a5 1
PKGREVISION=	8
@


1.13
log
@*: recursive bump for cairo dependency changes
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2023/11/12 13:24:14 wiz Exp $
d5 1
a5 1
PKGREVISION=	7
@


1.12
log
@*: revebump for new brotli option for freetype2

Addresses PR 57693
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2023/10/21 17:11:48 gdt Exp $
d5 1
a5 1
PKGREVISION=	6
@


1.11
log
@recursive revbump for tiff update
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2023/01/29 21:18:13 ryoon Exp $
d5 1
a5 1
PKGREVISION=	5
@


1.10
log
@*: Recursive revbup from graphics/freetype2
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2023/01/03 17:38:29 wiz Exp $
d5 1
a5 1
PKGREVISION=	4
@


1.9
log
@*: recursive bump for tiff shlib major bump
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2022/08/11 05:09:29 gutteridge Exp $
d5 1
a5 1
PKGREVISION=	3
@


1.8
log
@Bump all dependent packages of wayland (belatedly)

The package changed with the addition of its libepoll-shim dependency.
Otherwise, we can get:
ERROR: libepoll-shim>=0.0.20210418 is not installed; can't buildlink files.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2022/03/10 16:45:55 nia Exp $
d5 1
a5 1
PKGREVISION=	2
@


1.7
log
@libgdm: needs itstool
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2021/12/08 16:07:07 adam Exp $
d5 1
a5 1
PKGREVISION=	1
@


1.6
log
@revbump for icu and libffi
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2021/11/18 09:32:17 cirnatdan Exp $
d20 1
a20 1
USE_TOOLS+=		msgfmt pkg-config gdbus-codegen
@


1.5
log
@libgdm: Fix build - remove unsupported meson options
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2021/05/02 11:06:16 nia Exp $
d5 1
@


1.4
log
@*: Use the tools framework for gdbus-codegen
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2021/04/19 15:31:53 nia Exp $
a30 1
MESON_ARGS+=		-Dprefetch=yes
a31 1
MESON_ARGS+=		-Dsystemd=disabled
@


1.3
log
@libgdm: Needs gdbus-codegen
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2021/04/18 12:10:16 wiz Exp $
a13 2
TOOL_DEPENDS+=	gdbus-codegen-[0-9]*:../../devel/gdbus-codegen

d19 1
a19 1
USE_TOOLS+=		msgfmt pkg-config
@


1.2
log
@libgdm: set GITHUB_PROJECT to fix fetch state

Simplify PKGNAME while here.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2021/04/16 13:57:52 cirnatdan Exp $
d14 2
@


1.1
log
@x11/libgdm: import libgdm-40.0

The GNOME Display Manager is a system service that is responsible for
providing graphical log-ins and managing local and remote displays.
This package installs libgdm, which is the client part of GDM.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2015/06/06 20:44:44 krytarowski Exp $
d4 1
a4 1
PKGNAME=	${DISTNAME:S/gdm/libgdm/}
d7 1
@

