From: "Marek Szuba" <marecki@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/lightdm-gtk-greeter/
Date: Wed, 1 Mar 2023 21:43:48 +0000 (UTC) [thread overview]
Message-ID: <1677707013.b8afea15baf635b92ba7eeb4773cff3c298d7d9c.marecki@gentoo> (raw)
commit: b8afea15baf635b92ba7eeb4773cff3c298d7d9c
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 1 21:30:21 2023 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Wed Mar 1 21:43:33 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8afea15
x11-misc/lightdm-gtk-greeter: migrate to ayatana indicators
While at it, update EAPI 7 -> 8.
Closes: https://bugs.gentoo.org/898396
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
.../lightdm-gtk-greeter-2.0.8-r1.ebuild | 87 ++++++++++++++++++++++
1 file changed, 87 insertions(+)
diff --git a/x11-misc/lightdm-gtk-greeter/lightdm-gtk-greeter-2.0.8-r1.ebuild b/x11-misc/lightdm-gtk-greeter/lightdm-gtk-greeter-2.0.8-r1.ebuild
new file mode 100644
index 000000000000..0052ced4045a
--- /dev/null
+++ b/x11-misc/lightdm-gtk-greeter/lightdm-gtk-greeter-2.0.8-r1.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools xdg-utils
+
+DESCRIPTION="LightDM GTK+ Greeter"
+HOMEPAGE="https://github.com/Xubuntu/lightdm-gtk-greeter"
+SRC_URI="https://github.com/Xubuntu/${PN}/releases/download/${P}/${P}.tar.gz
+ branding? ( https://dev.gentoo.org/~polynomial-c/dist/lightdm-gentoo-patch-2.tar.gz )"
+
+LICENSE="GPL-3 LGPL-3
+ branding? ( CC-BY-3.0 )"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
+IUSE="appindicator branding"
+
+DEPEND="x11-libs/gtk+:3
+ >=x11-misc/lightdm-1.2.2
+ appindicator? (
+ dev-libs/ayatana-ido
+ dev-libs/libayatana-indicator:3
+ )"
+
+BDEPEND="
+ dev-util/intltool
+ dev-util/xfce4-dev-tools
+ sys-devel/gettext
+"
+
+RDEPEND="${DEPEND}
+ x11-themes/gnome-themes-standard
+ >=x11-themes/adwaita-icon-theme-3.14.1"
+
+GENTOO_BG="gentoo-bg_65.jpg"
+
+src_prepare() {
+ # Ok, this has to be fixed in the tarball but I am too lazy to do it.
+ # I will fix this once I decide to update the tarball with a new gentoo
+ # background
+ # Bug #404467
+ if use branding; then
+ sed \
+ -e "/xft-hintstyle/s:slight:hintslight:" \
+ -e "/background/s:=.*:=/usr/share/lightdm/backgrounds/${GENTOO_BG}:" \
+ -i "${WORKDIR}"/${PN}.conf || die
+ # Add back the reboot/shutdown buttons
+ echo 'indicators=~host;~spacer;~clock;~spacer;~session;~language;~a11y;~power;~' \
+ >> "${WORKDIR}"/${PN}.conf || die
+ fi
+ default
+
+ # Fix docdir
+ sed "/^docdir/s@${PN}@${PF}@" -i data/Makefile.am || die
+ eautoreconf
+}
+
+src_configure() {
+ local myeconfargs=(
+ --enable-kill-on-sigterm
+ --enable-at-spi-command="${EPREFIX}/usr/libexec/at-spi-bus-launcher --launch-immediately"
+ --with-libindicator=ayatana
+ $(use_enable appindicator libindicator)
+ )
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ default
+
+ if use branding; then
+ insinto /etc/lightdm/
+ doins "${WORKDIR}"/${PN}.conf
+ insinto /usr/share/lightdm/backgrounds/
+ doins "${WORKDIR}"/${GENTOO_BG}
+ newdoc "${WORKDIR}"/README.txt README-background.txt
+ fi
+}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
next reply other threads:[~2023-03-01 21:43 UTC|newest]
Thread overview: 86+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-01 21:43 Marek Szuba [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-07-02 4:47 [gentoo-commits] repo/gentoo:master commit in: x11-misc/lightdm-gtk-greeter/ Viorel Munteanu
2024-07-02 4:47 Viorel Munteanu
2024-06-30 18:26 Michał Górny
2024-06-30 18:26 Michał Górny
2024-06-30 18:26 Michał Górny
2024-06-30 17:31 Sam James
2024-06-30 17:31 Sam James
2024-06-30 17:31 Sam James
2024-06-29 18:24 Viorel Munteanu
2024-06-28 12:01 Viorel Munteanu
2024-04-07 18:26 Marek Szuba
2023-06-10 10:35 Marek Szuba
2023-05-27 11:12 Sam James
2023-05-27 11:04 Arthur Zamarin
2023-05-23 0:10 Sam James
2023-05-19 17:50 Arthur Zamarin
2023-03-01 21:43 Marek Szuba
2023-03-01 21:43 Marek Szuba
2022-07-02 23:23 WANG Xuerui
2022-06-29 11:08 Marek Szuba
2021-07-26 7:40 Yixun Lan
2020-12-03 5:04 Sam James
2020-12-02 10:23 Sam James
2020-11-29 8:22 Agostino Sarubbo
2020-11-29 8:20 Agostino Sarubbo
2020-11-29 8:16 Agostino Sarubbo
2020-11-27 16:49 Thomas Deutschmann
2020-06-25 8:57 Lars Wendler
2020-06-25 8:57 Lars Wendler
2020-06-03 15:12 Agostino Sarubbo
2020-05-28 15:45 Agostino Sarubbo
2020-05-25 9:36 Sergei Trofimovich
2020-05-24 8:09 Agostino Sarubbo
2020-05-23 10:08 Pacho Ramos
2020-05-22 8:02 Sergei Trofimovich
2019-11-19 11:01 Lars Wendler
2019-11-18 15:39 Lars Wendler
2019-10-15 14:21 Lars Wendler
2019-08-17 16:10 Matt Turner
2019-07-28 10:59 Mikle Kolyada
2019-07-22 23:19 Aaron Bauman
2019-06-22 9:38 Sergei Trofimovich
2019-06-22 9:32 Sergei Trofimovich
2019-06-20 9:05 Mikle Kolyada
2019-06-18 18:24 Thomas Deutschmann
2019-05-29 0:32 Aaron Bauman
2019-04-23 7:42 Lars Wendler
2018-10-22 7:26 Lars Wendler
2018-10-21 12:48 Lars Wendler
2018-10-20 12:16 Sergei Trofimovich
2018-10-04 8:51 Mikle Kolyada
2018-09-24 1:50 Thomas Deutschmann
2018-09-15 18:26 Sergei Trofimovich
2018-09-15 12:42 Mikle Kolyada
2018-09-13 10:33 Lars Wendler
2018-09-13 10:33 Lars Wendler
2018-08-26 20:35 Michał Górny
2018-07-19 8:44 Lars Wendler
2018-04-27 8:17 Lars Wendler
2018-03-21 9:02 Lars Wendler
2018-03-21 9:02 Lars Wendler
2018-03-01 17:03 Lars Wendler
2018-03-01 16:56 Lars Wendler
2018-02-27 15:03 Lars Wendler
2018-02-27 15:03 Lars Wendler
2018-01-25 22:52 Patrice Clement
2018-01-17 9:26 Lars Wendler
2017-10-04 9:17 Michał Górny
2017-09-30 1:07 Lars Wendler
2017-09-30 1:07 Lars Wendler
2017-07-30 16:04 David Seifert
2017-07-06 15:09 Lars Wendler
2017-02-23 16:38 Michael Weber
2016-11-27 11:21 Pacho Ramos
2016-10-17 12:41 Lars Wendler
2016-10-17 9:05 Lars Wendler
2016-10-17 9:05 Lars Wendler
2016-10-15 5:34 Jeroen Roovers
2016-07-05 21:42 Aaron Bauman
2016-07-05 21:00 Markus Meier
2016-07-02 5:23 Aaron Bauman
2016-07-02 4:59 Aaron Bauman
2016-04-09 13:46 Agostino Sarubbo
2015-12-03 21:44 Markos Chandras
2015-08-27 18:25 Markos Chandras
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1677707013.b8afea15baf635b92ba7eeb4773cff3c298d7d9c.marecki@gentoo \
--to=marecki@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox