From 86c95f301d5a74a8922a3837d260643145f3978c Mon Sep 17 00:00:00 2001 From: v2px Date: Thu, 6 Feb 2014 10:54:57 +0100 Subject: [PATCH 1/3] Added qingy-1.0.0 build template. --- srcpkgs/qingy/files/qingy@.service | 21 +++++++++++++++ srcpkgs/qingy/template | 43 ++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) create mode 100644 srcpkgs/qingy/files/qingy@.service create mode 100644 srcpkgs/qingy/template diff --git a/srcpkgs/qingy/files/qingy@.service b/srcpkgs/qingy/files/qingy@.service new file mode 100644 index 0000000000..9e82ac0af9 --- /dev/null +++ b/srcpkgs/qingy/files/qingy@.service @@ -0,0 +1,21 @@ +[Unit] +Description=Qingy on %I +Documentation=info:qingy +After=systemd-user-sessions.service plymouth-quit-wait.service + +[Service] +Environment=TERM=linux +ExecStart=/usr/sbin/qingy %I -n +Type=idle +Restart=always +RestartSec=0 +UtmpIdentifier=%I +TTYPath=/dev/%I +TTYReset=yes +TTYVHangup=yes +TTYVTDisallocate=yes +KillMode=process +IgnoreSIGPIPE=no + +[Install] +Alias=getty.target.wants/qingy@tty1.service diff --git a/srcpkgs/qingy/template b/srcpkgs/qingy/template new file mode 100644 index 0000000000..1ec95a5465 --- /dev/null +++ b/srcpkgs/qingy/template @@ -0,0 +1,43 @@ +# Template file for 'qingy' +pkgname="qingy" +version="1.0.0" +revision=2 +build_style=gnu-configure +makedepends="ncurses-devel openssl-devel" +configure_args="--disable-DirectFB-support" +short_desc="Qingy Is Not GettY" +maintainer="Jens E. Becker " +license="GPL-2" +homepage="http://qingy.sourceforge.net" +distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2" +checksum=de4b4b398d5ba81ab2544729864676a04ddc6ae818b357ee09a8770293740cd3 +long_desc=" + qingy is a replacement for getty. Written in C, it uses DirectFB to + provide a fast, nice GUI without the overhead of the X Windows System. + It allows the user to log in and start the session of his choice + (text console, gnome, kde, wmaker, ...)." + +build_options="pam x11" + +desc_option_pam="turn on PAM support" +desc_option_x11="enable support for X server" + +build_options_default="pam x11" + +if [ "$build_option_pam" ]; then + configure_args+=" --enable-pam" + makedepends+=" pam-libs" +else + configure_args+=" --disable-pam" +fi + +if [ "$build_option_x11" ]; then + configure_args+=" --enable-x-support" + makedepends+=" libXScrnSaver-devel libX11-devel scrnsaverproto" +else + configure_args+=" --disable-x-support" +fi + +post_install() { + vinstall ${FILESDIR}/qingy@.service 644 usr/lib/systemd/system +} From 4de3e88da7d1094615e261706db43f42aa41c4e7 Mon Sep 17 00:00:00 2001 From: v2px Date: Thu, 6 Feb 2014 11:02:18 +0100 Subject: [PATCH 2/3] qingy: removes obsolete long_desc --- srcpkgs/qingy/template | 5 ----- 1 file changed, 5 deletions(-) diff --git a/srcpkgs/qingy/template b/srcpkgs/qingy/template index 1ec95a5465..8871081614 100644 --- a/srcpkgs/qingy/template +++ b/srcpkgs/qingy/template @@ -11,11 +11,6 @@ license="GPL-2" homepage="http://qingy.sourceforge.net" distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2" checksum=de4b4b398d5ba81ab2544729864676a04ddc6ae818b357ee09a8770293740cd3 -long_desc=" - qingy is a replacement for getty. Written in C, it uses DirectFB to - provide a fast, nice GUI without the overhead of the X Windows System. - It allows the user to log in and start the session of his choice - (text console, gnome, kde, wmaker, ...)." build_options="pam x11" From 63c8c6da5d0143bbf4aee3502a4d48d9554518ea Mon Sep 17 00:00:00 2001 From: v2px Date: Thu, 6 Feb 2014 11:03:38 +0100 Subject: [PATCH 3/3] qingy: makedepends needs pam-devel instead of pam-libs --- srcpkgs/qingy/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/qingy/template b/srcpkgs/qingy/template index 8871081614..89e146e9c0 100644 --- a/srcpkgs/qingy/template +++ b/srcpkgs/qingy/template @@ -21,7 +21,7 @@ build_options_default="pam x11" if [ "$build_option_pam" ]; then configure_args+=" --enable-pam" - makedepends+=" pam-libs" + makedepends+=" pam-devel" else configure_args+=" --disable-pam" fi