diff --git a/debian/01_debian.conf b/debian/01_debian.conf new file mode 100644 index 0000000..86893a9 --- /dev/null +++ b/debian/01_debian.conf @@ -0,0 +1,10 @@ +# Debian specific defaults +# + +[greeter] +background=/usr/share/images/desktop-base/login-background.svg +theme-name=Adwaita +xft-antialias=true +xft-hintstyle=hintfull +xft-rgba=rgb +reader=orca diff --git a/debian/01_ubuntu.conf b/debian/01_ubuntu.conf new file mode 100644 index 0000000..d73a201 --- /dev/null +++ b/debian/01_ubuntu.conf @@ -0,0 +1,14 @@ +# Ubuntu specific defaults +# + +[greeter] +background=/usr/share/backgrounds/warty-final-ubuntu.png +theme-name=Ambiance +icon-theme-name=LoginIcons +font-name=Ubuntu 11 +xft-antialias=true +xft-dpi=96 +xft-hintstyle=slight +xft-rgba=rgb +indicators=~host;~spacer;~session;~language;~a11y;~clock;~power; +clock-format=%d %b, %H:%M diff --git a/debian/60-lightdm-gtk-greeter.conf b/debian/60-lightdm-gtk-greeter.conf new file mode 100644 index 0000000..6711faf --- /dev/null +++ b/debian/60-lightdm-gtk-greeter.conf @@ -0,0 +1,2 @@ +[Seat:*] +greeter-session=lightdm-gtk-greeter diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..16ddcf4 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +lightdm-gtk-greeter (2.0.9-ok1) nile; urgency=medium + + * Build for openKylin. + + -- openKylinBot Tue, 07 May 2024 09:23:09 +0800 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..ec057af --- /dev/null +++ b/debian/control @@ -0,0 +1,29 @@ +Source: lightdm-gtk-greeter +Section: x11 +Priority: optional +Maintainer: openKylin Developers +XSBC-Original-Maintainer: Debian Xfce Maintainers +Uploaders: Yves-Alexis Perez +Build-Depends: debhelper-compat (= 12), + intltool, + libgtk-3-dev, + libayatana-indicator3-dev, + liblightdm-gobject-1-dev (>= 1.3.5), + pkg-config +Standards-Version: 4.5.0 +Homepage: https://launchpad.net/lightdm-gtk-greeter +Vcs-Git: https://salsa.debian.org/xfce-extras-team/lightdm-gtk-greeter.git +Vcs-Browser: https://salsa.debian.org/xfce-extras-team/lightdm-gtk-greeter + +Package: lightdm-gtk-greeter +Provides: lightdm-greeter +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Recommends: adwaita-icon-theme, + gnome-themes-extra, + policykit-1 +Suggests: desktop-base +Description: simple display manager (GTK+ greeter) + lightdm-gtk-greeter is greeter shell for the LightDM login manager. It uses + the GTK+ toolkit and integrates well with desktop environment using that + toolkit, like the Xfce desktop environment. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..0f8c6bb --- /dev/null +++ b/debian/copyright @@ -0,0 +1,81 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: lightdm-gtk-greeter +Upstream-Source: https://launchpad.net/lightdm-gtk-greeter + +Files: * +Copyright: Sean Davis +License: GPL-3 + +Files: debian/* +Copyright: © 2010-2018 Yves-Alexis Perez +License: GPL-2 + +Files: src/greeterconfiguration.c + src/greeterconfiguration.h + src/greeterdeprecated.c + src/greeterdeprecated.h +Copyright: 2015-2017, Sean Davis + 2015-2018, Sean Davis + 2017-2018, Sean Davis +License: GPL-3+ + +Files: src/greetermenubar.h +Copyright: 2014, Andrew P. +License: GPL-3+ + +Files: ltmain.sh +Copyright: 1996-2015, Free Software Foundation, Inc. +License: GPL-2+ + +Files: src/lightdm-gtk-greeter.c +Copyright: 2010-2011, Robert Ancell + 2011, Gunnar Hjalmarsson + 2012, Julien Lavergne + 2012-2013, Lionel Le Folgoc + 2013-2015, Simon Steinbeiß + 2013-2018, Sean Davis + 2014, Andrew P. +License: GPL-3+ + +Files: src/greeterbackground.c +Copyright: 2014, Andrew P. + 2014-2018, Sean Davis + 2015, Robert Ancell + 2015, Simon Steinbeiß +License: GPL-3+ + +Files: src/greetermenubar.c +Copyright: 2014, Andrew P. + 2017, Sean Davis +License: GPL-3+ + +Files: src/greeterbackground.h +Copyright: 2014, Andrew P. + 2014-2015, Sean Davis + 2015, Simon Steinbeiß +License: GPL-3+ + +Files: autogen.sh +Copyright: 2010-2011, Robert Ancell + 2017-2018, Sean Davis +License: GPL-3+ + +License: GPL-2 + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in + `/usr/share/common-licenses/GPL-2'. + +License: GPL-3 + On Debian systems, the complete text of the GNU General + Public License version 3 can be found in + `/usr/share/common-licenses/GPL-3'. + +License: GPL-2+ + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in + `/usr/share/common-licenses/GPL-2'. + +License: GPL-3+ + On Debian systems, the complete text of the GNU General + Public License version 3 can be found in + `/usr/share/common-licenses/GPL-3'. diff --git a/debian/gbp.conf b/debian/gbp.conf new file mode 100644 index 0000000..48731a6 --- /dev/null +++ b/debian/gbp.conf @@ -0,0 +1,4 @@ +[DEFAULT] +pristine-tar = True +debian-branch = debian/master +upstream-branch = upstream/latest diff --git a/debian/lightdm-gtk-greeter.lintian-overrides b/debian/lightdm-gtk-greeter.lintian-overrides new file mode 100644 index 0000000..6ffc421 --- /dev/null +++ b/debian/lightdm-gtk-greeter.lintian-overrides @@ -0,0 +1,2 @@ +# not really used directly by users +lightdm-gtk-greeter: binary-without-manpage usr/sbin/lightdm-gtk-greeter diff --git a/debian/lightdm-gtk-greeter.postinst b/debian/lightdm-gtk-greeter.postinst new file mode 100644 index 0000000..e6c2c9c --- /dev/null +++ b/debian/lightdm-gtk-greeter.postinst @@ -0,0 +1,12 @@ +#!/bin/sh + +set -e + +if [ "$1" = "configure" ]; then + update-alternatives --install /usr/share/xgreeters/lightdm-greeter.desktop \ + lightdm-greeter /usr/share/xgreeters/lightdm-gtk-greeter.desktop 60 +fi + +#DEBHELPER# + +exit 0 diff --git a/debian/lightdm-gtk-greeter.prerm b/debian/lightdm-gtk-greeter.prerm new file mode 100644 index 0000000..285265c --- /dev/null +++ b/debian/lightdm-gtk-greeter.prerm @@ -0,0 +1,11 @@ +#!/bin/bash + +set -e + +if [ "$1" = "remove" ]; then + update-alternatives --remove lightdm-greeter /usr/share/xgreeters/lightdm-gtk-greeter.desktop +fi + +#DEBHELPER# + +exit 0 diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..a6f38ba --- /dev/null +++ b/debian/rules @@ -0,0 +1,18 @@ +#!/usr/bin/make -f + +export DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed -Wl,-O1 +export DEB_BUILD_MAINT_OPTIONS=hardening=+all + +override_dh_auto_configure: + dh_auto_configure -- \ + --disable-silent-rules \ + --enable-kill-on-sigterm \ + --disable-Werror \ + --enable-libindicator + +override_dh_install: + dh_install debian/60-lightdm-gtk-greeter.conf usr/share/lightdm/lightdm.conf.d/ + dh_install debian/01_ubuntu.conf usr/share/lightdm/lightdm-gtk-greeter.conf.d/ + +%: + dh $@ diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/upstream/metadata b/debian/upstream/metadata new file mode 100644 index 0000000..0d3df78 --- /dev/null +++ b/debian/upstream/metadata @@ -0,0 +1,5 @@ +--- +Bug-Database: https://github.com/xubuntu/lightdm-gtk-greeter/issues +Bug-Submit: https://github.com/xubuntu/lightdm-gtk-greeter +Repository: https://github.com/Xubuntu/lightdm-gtk-greeter.git +Repository-Browse: https://github.com/Xubuntu/lightdm-gtk-greeter diff --git a/debian/upstream/signing-key.asc b/debian/upstream/signing-key.asc new file mode 100644 index 0000000..5063d2d --- /dev/null +++ b/debian/upstream/signing-key.asc @@ -0,0 +1,30 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- +Version: GnuPG v2.0.22 (GNU/Linux) + +mQENBE+V6lcBCADL+fgkBOwOWwOBmbMmdnFxzXTafTg3VYtS9euiapBMfEeZwpPL +rgrCCnPzA3NtztA2rRNKs74ISdVvsBS+kknS0Q7f2FOQNxFNPtLyDrEebCGkb39h +RKlXiiTt3YcYZn8DlxloEBX3MLXx+m0ORl3wGV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AhsMAAoJEHbm/uyV/F4iUOkH+gKcuWepQ8ZPmDnn+SBxl9hXc/xH3+2HZDcd7H1c +NowZDtdxUgujBuWgh9Awe6f+wYwm8Iq4dw+G5WGLjzpZWal84L/Quo9WVUSbef9R +y0wGqs3XmOJSFrUo1Pk624Qww3lfpTjaehaz0MdAClSiY1TxDWo5HYae85K0Yyfs +MpSsn1ApsUH21vpT1p9GotLzhYITtotu5s/AQGu4Z+HiSiXExytCq0wOuKKEkv+z +EFX153b4fcQsMBg2ul0CnNgfFxeY9EzTaI/1Ka18CqX23phgL6fTHBYeMWuCoNrq +EX42rELR+HGbl7WHnjcHBDizbzYdBmM+N2Rl+d/rniMjHc8= +=o+OF +-----END PGP PUBLIC KEY BLOCK----- diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..65f8ecd --- /dev/null +++ b/debian/watch @@ -0,0 +1,4 @@ +version=3 +opts=pgpsigurlmangle=s/$/.asc/ \ +https://github.com/Xubuntu/@PACKAGE@/releases \ +/Xubuntu/@PACKAGE@/.*/@PACKAGE@@ANY_VERSION@@ARCHIVE_EXT@