head 1.5; access; symbols pkgsrc-2026Q1:1.4.0.2 pkgsrc-2026Q1-base:1.4; locks; strict; comment @# @; 1.5 date 2026.05.14.16.42.33; author ryoon; state Exp; branches; next 1.4; commitid tKipFjQKzke3NNFG; 1.4 date 2026.02.06.10.06.20; author wiz; state Exp; branches; next 1.3; commitid MwQEYCXeWSFvIitG; 1.3 date 2026.01.07.08.49.47; author wiz; state Exp; branches; next 1.2; commitid 1wQ3ICD8eebefrpG; 1.2 date 2026.01.02.22.22.23; author gutteridge; state Exp; branches; next 1.1; commitid ummSSbno0jdxURoG; 1.1 date 2025.12.30.04.00.08; author gutteridge; state Exp; branches; next ; commitid b48VDjz0YiLMUnoG; desc @@ 1.5 log @*: Recursive revbump from security/nettle-4.0 @ text @# $NetBSD: Makefile,v 1.4 2026/02/06 10:06:20 wiz Exp $ DISTNAME= sddm-0.21.0 PKGREVISION= 4 CATEGORIES= x11 MASTER_SITES= ${MASTER_SITE_GITHUB:=sddm/} GITHUB_TAG= refs/tags/v${PKGVERSION_NOREV} MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= https://github.com/sddm/sddm COMMENT= QML-based X11 and Wayland display manager LICENSE= gnu-gpl-v2 AND gnu-gpl-v3 WRKSRC= ${WRKDIR}/${DISTNAME} USE_LANGUAGES= c c++ USE_CXX_FEATURES+= c++17 USE_TOOLS+= pkg-config .if !exists(/etc/login.defs) CMAKE_CONFIGURE_ARGS+= -DUID_MIN=1000 CMAKE_CONFIGURE_ARGS+= -DUID_MAX=65000 .endif CMAKE_CONFIGURE_ARGS+= -DDBUS_CONFIG_DIR=${PREFIX}/share/examples/sddm CMAKE_CONFIGURE_ARGS+= -DCMAKE_INSTALL_SYSCONFDIR:PATH=${PKG_SYSCONFDIR:Q} CMAKE_CONFIGURE_ARGS+= -DBUILD_MAN_PAGES=ON CMAKE_CONFIGURE_ARGS+= -DRST2MAN_EXECUTABLE=${PREFIX}/bin/rst2man-${PYVERSSUFFIX} TOOL_DEPENDS+= extra-cmake-modules-[0-9]*:../../devel/extra-cmake-modules TOOL_DEPENDS+= ${PYPKGPREFIX}-docutils-[0-9]*:../../textproc/py-docutils .include "options.mk" .include "../../mk/bsd.prefs.mk" .if ${OPSYS} != "Linux" CMAKE_CONFIGURE_ARGS+= -DENABLE_JOURNALD=OFF CMAKE_CONFIGURE_ARGS+= -DNO_SYSTEMD=ON .endif .if ${OPSYS} == "NetBSD" CMAKE_CONFIGURE_ARGS+= -DSDDM_INITIAL_VT=5 .endif .if ${OPSYS} == "FreeBSD" CMAKE_CONFIGURE_ARGS+= -DSDDM_INITIAL_VT=7 .endif SUBST_CLASSES+= vars SUBST_STAGE.vars= pre-configure SUBST_MESSAGE.vars= Fix hard-coded absolute paths. SUBST_FILES.vars= src/common/Configuration.h SUBST_FILES.vars+= data/man/sddm.conf.rst.in SUBST_VARS.vars= PREFIX X11BASE SUBST_CLASSES+= paths SUBST_STAGE.paths= pre-configure SUBST_MESSAGE.paths= Set path to sddm executable. SUBST_FILES.paths= ../xinitrc.desktop SUBST_VARS.paths= PREFIX BUILD_DEFS+= VARBASE SDDM_GROUP= sddm SDDM_USER= sddm SDDM_HOME= ${VARBASE}/lib/sddm PKG_GROUPS_VARS+= SDDM_GROUP PKG_USERS_VARS+= SDDM_USER PKG_GROUPS= ${SDDM_GROUP} PKG_USERS= ${SDDM_USER}:${SDDM_GROUP} PKG_GECOS.${SDDM_USER}= SDDM user PKG_HOME.${SDDM_USER}= ${SDDM_HOME} FILES_SUBST+= SDDM_USER=${SDDM_USER} FILES_SUBST+= SDDM_GROUP=${SDDM_GROUP} OWN_DIRS_PERMS+= ${SDDM_HOME} ${SDDM_USER} ${SDDM_GROUP} 0770 .if ${INIT_SYSTEM} == "rc.d" DEPENDS+= daemonize-[0-9]*:../../sysutils/daemonize RCD_SCRIPTS+= sddm .endif INSTALLATION_DIRS+= share/xsessions post-extract: ${CP} ${FILESDIR}/xsessions/xinitrc.desktop ${WRKDIR}/xinitrc.desktop post-install: ${INSTALL_DATA} ${FILESDIR}/xsessions/ctwm.desktop ${DESTDIR}${PREFIX}/share/xsessions/ctwm.desktop ${INSTALL_DATA} ${WRKDIR}/xinitrc.desktop ${DESTDIR}${PREFIX}/share/xsessions/xinitrc.desktop ${INSTALL_SCRIPT} ${FILESDIR}/xinit-session ${DESTDIR}${PREFIX}/share/sddm/scripts/xinit-session PYTHON_FOR_BUILD_ONLY= yes .include "../../devel/cmake/build.mk" .include "../../lang/python/pyversion.mk" .include "../../sysutils/dbus/buildlink3.mk" .include "../../x11/libxcb/buildlink3.mk" .include "../../mk/pam.buildlink3.mk" .include "../../mk/bsd.pkg.mk" @ 1.4 log @*: recursive bump for nettle 4.0 shlib major bump @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2026/01/07 08:49:47 wiz Exp $ d4 1 a4 1 PKGREVISION= 3 @ 1.3 log @*: recursive bump for icu 78.1 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2026/01/02 22:22:23 gutteridge Exp $ d4 1 a4 1 PKGREVISION= 2 @ 1.2 log @sddm: apply various functional fixes From Stepan Ipatov via pkgsrc-wip: Fix keyboard responsiveness on startup. "It happens due to the way sddm selects the virtual TTY for starting the X server. It calls ioctl(fd, VT_OPENQRY, &vt) and gets the first free TTY. The problem is that at the stage of system boot when the rc scripts are executed, the ioctl() call returns /dev/ttyE1. Apparently, sddm and getty do not coexist well on the same TTY. The only workaround I've found so far is to delay starting sddm until init has already spawned getty. Once that happens, ioctl() returns the expected /dev/ttyE4." Require dbus during rc.d startup. Further changes from me: Fixed typo in the rc.d/sddm script that prevented directories from being created. Fixed typo in PKG_GROUPS_VARS assignment. Increased parameterization of the rc.d/sddm script. (Some of these changes are different from what was last committed to wip.) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2025/12/30 04:00:08 gutteridge Exp $ d4 1 a4 1 PKGREVISION= 1 @ 1.1 log @x11/sddm: add new package, version 0.21.0 Packaged in wip by Stepan Ipatov. (Review and minor changes by me.) SDDM is a modern display manager for X11 and Wayland aiming to be fast, simple and beautiful. It uses modern technologies like QtQuick, which in turn gives the designer the ability to create smooth, animated user interfaces. SDDM is extremely themeable. We put no restrictions on the user interface design, it is completely up to the designer. We simply provide a few callbacks to the user interface which can be used for authentication, suspend, etc. @ text @d1 1 a1 1 # $NetBSD$ d4 1 d65 1 a65 1 PKG_GROUPS_VARS+= SMDM_GROUP d72 3 @