summaryrefslogtreecommitdiff
path: root/x11-misc
diff options
context:
space:
mode:
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/Manifest.gzbin46541 -> 46551 bytes
-rw-r--r--x11-misc/lineakd/Manifest3
-rw-r--r--x11-misc/lineakd/lineakd-0.9.0-r3.ebuild61
-rw-r--r--x11-misc/lineakd/lineakd-0.9.0-r4.ebuild4
-rw-r--r--x11-misc/mate-notification-daemon/Manifest2
-rw-r--r--x11-misc/mate-notification-daemon/mate-notification-daemon-1.28.0.ebuild2
-rw-r--r--x11-misc/mozo/Manifest2
-rw-r--r--x11-misc/mozo/mozo-1.28.0.ebuild2
-rw-r--r--x11-misc/xscreensaver/Manifest2
-rw-r--r--x11-misc/xscreensaver/xscreensaver-6.09.ebuild278
10 files changed, 287 insertions, 69 deletions
diff --git a/x11-misc/Manifest.gz b/x11-misc/Manifest.gz
index aba56c097a58..4177abb28a51 100644
--- a/x11-misc/Manifest.gz
+++ b/x11-misc/Manifest.gz
Binary files differ
diff --git a/x11-misc/lineakd/Manifest b/x11-misc/lineakd/Manifest
index 84d1ba4fede7..c2cbf5023d89 100644
--- a/x11-misc/lineakd/Manifest
+++ b/x11-misc/lineakd/Manifest
@@ -2,6 +2,5 @@ AUX lineakd-0.9.0-DELL-XPS-M1330-XOrg-1_5.patch 795 BLAKE2B ebf8e451208c38cd77ba
AUX lineakd-0.9.0-automake-linking-libdl.patch 2528 BLAKE2B 22066b410bb0df5a6f85baeb8be71cdeacf19358e79b46a88e7a52ba058235fc5460878fb4ac8e7ec949f20b1c2d3b02cc165d27f03369f77bcd1b866c4d1175 SHA512 9046e65d050f6b97e2b6a2e26f043ed2e628867e3f65536cdf2369cf9bc36124239e2467cabbfdc5a72fb9d775eeedf70144d596fe893bee04a18211d02bd8cb
AUX lineakd-0.9.0-gcc43.patch 772 BLAKE2B 48346e5d1a3978be0964dd6844991c58da30a036fdb12bec9b1970c3aac9d130f81891e69ed59ef772ca4b6dbfbd71effdc2556b800f6008505322c8aaa67c91 SHA512 0ade361637b26db613c5a3915d8b364cf14eda14eb744618c03440ead5f0774f853dba7c0518432ae4f872e201d5bb0503fa7e4b5eadd71d049adf5b654c8407
DIST lineakd-0.9.tar.gz 991376 BLAKE2B 70c19d446b814562a4d9efa90b4492cc5a3fa63c8d252e6e2bcd418c1fee177924e61ec7ebfb0471fdd18eee5f7f3e4ed0fda17bff5b216cad9caffd06d68783 SHA512 e30a2e111832e3f08bbff858647536aaeb75d20008618b8c7555836104fd5a66d8e3173d0f9da76906caf13e9c9753c9140cd22dbb96fde464ed5d5f254d721e
-EBUILD lineakd-0.9.0-r3.ebuild 1178 BLAKE2B 20ea37a80a458c6233a3907edb6b1aad5ad670e5428b2e0abc68c34e9b27bbc40e4fcff9ba2f0052c406148779e6b3cbb7529cef8739ab2437abf9bfc88d5709 SHA512 17b4876e406f56617fcde33693100dbe6851af309de00737589c2d2916afa8215278f56ab25a1d7c69d287df4e03ad1d6fca862f4f77e10f87b1947aaff5a6b8
-EBUILD lineakd-0.9.0-r4.ebuild 1426 BLAKE2B 7a04123bb9cb50bbf522a6a56e9588521f177417b48afd11cca21388d770aac8d63e480fbb82276a0e68951cb36c45346cd7ac0e8b401216de5beec2cb58f1ea SHA512 423c7f33a89e64de5a737fd8cd0740b360bd87aa245bdc3142173336dcac1c9a6c83294ad51fa583fdb9dffbb2fe6a9aa0b64f5e125ed905a20902f58c7ac86f
+EBUILD lineakd-0.9.0-r4.ebuild 1428 BLAKE2B 990c1cdb3712f830e549270163d86bb91964181b666bf6875a8587ea2cf62d67afe76e3dbf918de4f4fe44d05e4123617b492217e954b0d440ae446ea333d829 SHA512 4f786a1bd2abf872e8b87e0bc862f2efae58c2b7125ba786f935de3e4e79d42547669d9414135f984de803ca2b2ab3d39f3a7b90e4a7e072a3ec5e61b0af9556
MISC metadata.xml 243 BLAKE2B 9c79a08b6e5bc0bb60d2eac0233329c82aa0ca321be75f43d04b502a33c6fde02d70a291718e6bf1cbcc6406cc551bdcbd0828ab3c766a98a24dcff3ccc930ba SHA512 76cda410a67395f007758e0d6789494e21482becd036d73784f07f70cae68df6abcdbae335dcb79598fc5df18d06e77589e814d2c857b50f17f2a7bbd3aa9302
diff --git a/x11-misc/lineakd/lineakd-0.9.0-r3.ebuild b/x11-misc/lineakd/lineakd-0.9.0-r3.ebuild
deleted file mode 100644
index dfab8288f667..000000000000
--- a/x11-misc/lineakd/lineakd-0.9.0-r3.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit multilib
-
-MY_P=${P/.0/}
-
-DESCRIPTION="Linux support for Easy Access and Internet Keyboards"
-HOMEPAGE="http://lineak.sourceforge.net"
-SRC_URI="https://downloads.sourceforge.net/lineak/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc sparc x86"
-IUSE="debug"
-
-RDEPEND="
- x11-libs/libICE
- x11-libs/libSM
- x11-libs/libX11
- x11-libs/libXext
-"
-DEPEND="
- ${RDEPEND}
- x11-base/xorg-proto
- x11-libs/libxkbfile
- x11-libs/libXt
- x11-libs/libXtst
-"
-
-S=${WORKDIR}/${MY_P}
-PATCHES=(
- "${FILESDIR}"/${P}-gcc43.patch
- "${FILESDIR}"/${P}-DELL-XPS-M1330-XOrg-1_5.patch
-)
-
-src_configure() {
- econf \
- $(use_enable debug) \
- --with-x \
- --disable-static
-}
-
-src_install() {
- sed -i -e 's:$(DESTDIR)${DESTDIR}:$(DESTDIR):' lineakd/Makefile
-
- dodir /usr/share/man/man8
-
- emake -j1 DESTDIR="${D}" install
-
- dodoc AUTHORS README TODO
-
- keepdir /usr/$(get_libdir)/lineakd/plugins
-
- insinto /etc/lineak
- doins lineakd.conf.example lineakd.conf.kde.example
-
- find "${ED}"/usr/share/man -name '*.bz2' -exec bunzip2 {} \; || die
- find "${ED}" -name '*.la' -delete || die
-}
diff --git a/x11-misc/lineakd/lineakd-0.9.0-r4.ebuild b/x11-misc/lineakd/lineakd-0.9.0-r4.ebuild
index 97f6004a03d5..8e6342414087 100644
--- a/x11-misc/lineakd/lineakd-0.9.0-r4.ebuild
+++ b/x11-misc/lineakd/lineakd-0.9.0-r4.ebuild
@@ -7,11 +7,11 @@ inherit autotools
MY_P=${P/.0/}
DESCRIPTION="Linux support for Easy Access and Internet Keyboards"
-HOMEPAGE="http://lineak.sourceforge.net"
+HOMEPAGE="https://lineak.sourceforge.net"
SRC_URI="https://downloads.sourceforge.net/lineak/${MY_P}.tar.gz"
S="${WORKDIR}"/${MY_P}
-LICENSE="GPL-2"
+LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="amd64 ppc sparc x86"
IUSE="debug"
diff --git a/x11-misc/mate-notification-daemon/Manifest b/x11-misc/mate-notification-daemon/Manifest
index 43e30981fa0a..18c6c37872da 100644
--- a/x11-misc/mate-notification-daemon/Manifest
+++ b/x11-misc/mate-notification-daemon/Manifest
@@ -4,5 +4,5 @@ DIST mate-notification-daemon-1.26.1.tar.xz 428836 BLAKE2B 78b852f8b6f6f2cdae468
DIST mate-notification-daemon-1.28.0.tar.xz 433572 BLAKE2B 89c386fb7707b87de61e5346ab018227864427d590e2908f0c85b8697d2d19d3528870f701adfa8f9657ea395718724d6398baf325d0b1d68284eb855f16df3f SHA512 dba0989945b81ff0fed5e77ac8ef7c96bf52ee854c9dc0f46549697e0d0537a8ff4a9491839076768443cc62140d1dfbf911aee489ab568c2975b67c52c78d2e
EBUILD mate-notification-daemon-1.26.0-r1.ebuild 1173 BLAKE2B c83321088f9c1451085dbe52a4489708f633e883692633a98df15ffd9c2fa866aabe5edefd94235e90a8c4aebeef90528f076e96b2aa089383f7da7aec6c2ee4 SHA512 d11be27bf0cebe45922d5e9a29f189e02df02fb7efc0c34b08ce1fc549cb7c75c42c25c5d0ff98fe9718ed99b5281071e4b8893df8e0662b4b0880b574715dd2
EBUILD mate-notification-daemon-1.26.1.ebuild 1207 BLAKE2B 03ae7c8278dcafe43fe7de6927af9cf830ab1d9918bcce927c50782ce70e5d522688b6afa344206ea4f6397f7cd44f09843d59345f2042ea4d8972757ec8dbe0 SHA512 7132a6b77ed6f9e33f5b8b5d1faad8a1bdb0022ce946faab1c1e7c47f2776cb5936678906e64819d870151bbe6c57fc277afbd7ae5a8f9ce5da81daed78c8e4d
-EBUILD mate-notification-daemon-1.28.0.ebuild 1204 BLAKE2B 5122dd9ce824569b550f0cec09e557c7a5c8953c209059765462df7332e754c1382b63bf071fb0b15cba223e2706a6373819c296fb685c8f6dc5548c25dfc348 SHA512 d2e1d299401ac347ce8add4d7b881c894f995a40fb8b2beeacd2759a19f6f0294edeaee61710c124decd483010d88df567049a2e6e90c7547b7b35c02245bc01
+EBUILD mate-notification-daemon-1.28.0.ebuild 1202 BLAKE2B 3eeb4e7e51bcf45328391d4dac333d09b4d29aa92becfee20fb1b4233bd584ee78140b34c24754c3aa9f2a5610ca89ba168f196f5c6c3a031d340eb98581e999 SHA512 29f4ec89fabe31767ea039ba6eb466160b650f99e364dd322d6198bcdf577a5f58126ed3b3039a72400ade72b192cee8a10bd9ac41d6ded7d279134df1eaab8b
MISC metadata.xml 270 BLAKE2B f0aabf52ce6cd0597d84990d03b9f311d785821c68fbbed96a2a27227c0a0e9e591d76863e1afd153e4ba5b4edfaba3b0b33287085c4d8a4d8b9e471b4ae6db2 SHA512 ea3340fd829238d067e7d59bac716c0e0b4810d820cee869c8e67611ad0e65b05652ed07349b1fad72ef3a008e15dbadb5af76dd0e5e557a0200b5f3fa4cbc20
diff --git a/x11-misc/mate-notification-daemon/mate-notification-daemon-1.28.0.ebuild b/x11-misc/mate-notification-daemon/mate-notification-daemon-1.28.0.ebuild
index a1e84c301f57..1e98ba05c820 100644
--- a/x11-misc/mate-notification-daemon/mate-notification-daemon-1.28.0.ebuild
+++ b/x11-misc/mate-notification-daemon/mate-notification-daemon-1.28.0.ebuild
@@ -9,7 +9,7 @@ inherit mate
MINOR=$(($(ver_cut 2) % 2))
if [[ ${MINOR} -eq 0 ]]; then
- KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86"
+ KEYWORDS="amd64 ~arm ~arm64 ~loong ~riscv x86"
fi
DESCRIPTION="MATE Notification daemon"
diff --git a/x11-misc/mozo/Manifest b/x11-misc/mozo/Manifest
index e2e0a4a890c8..adaa86c6239f 100644
--- a/x11-misc/mozo/Manifest
+++ b/x11-misc/mozo/Manifest
@@ -1,5 +1,5 @@
DIST mozo-1.26.2.tar.xz 249672 BLAKE2B 95e9a04fc91424e8ce95e870253bf1d2eddfbbf1b78b632b15d057a3ffa86068bb2c89442cfc50c4f74a76e75b345c6b06cf47d5891eed3ffce460697fb0094b SHA512 c4ea00f97f4dd5c9b33b78e1b438ba80a5e23b69d05f6ea59c522a580c1b07c280cddc0591f266c16f39bbe5f3e07ca28cdbd33753162a02584b551a9857b904
DIST mozo-1.28.0.tar.xz 251512 BLAKE2B 79248acfb03bde54414399f832402cd40e05ccd6ea47ca239691b1c4856a301b5c20874399fa6e27ca098a73021ed4cd4fa573d94f4c2d9926c58257b29be0a8 SHA512 7576bcf275f3dc402db7a436094fe9e601529f5d9827c14b658caca82393ce71075977e523550ab15986eb32ff30718431dc6fcbbb6ae8e9d332ebb3f220beec
EBUILD mozo-1.26.2.ebuild 1256 BLAKE2B dd37470402185b81956a1910f246f5ac56e8e8654e42efce161aaff3a5e1fc3889c0ebedb0a8d1460b06dbdd0c10ddda356a55068a1d63e475d655784818b309 SHA512 f0c2270b5d036a3eac40423636f5437341378b55960fabeed1d4413c38fe0a7476942146732cf433c6b5f16a72ae21a471a22b7b685972a4809db44b2b3874dd
-EBUILD mozo-1.28.0.ebuild 1321 BLAKE2B 257cf3fccd13197d6dd95f3729190ee1e9d5a962af45eaa0a727991958ef39cb30ebcc07ed244401afdaa56f0e7ca2ce273433bda4f33a8c00e3cf99a19836d8 SHA512 7a261955bd8a1f8b9c235ab662ecf3bdadd514057d8cd3e46a856dac1547035e2307ca413024189fe5b9b6070340de5c742b4be0cb815a4f92f97cf5695f0baa
+EBUILD mozo-1.28.0.ebuild 1319 BLAKE2B fb5191d7f20e02fbb594c23090ca6a2fe3a2eba479abe255496d647fd87c08d514a6b5ad11a9ed08b3faa0f5a384f00f688d0a7fe76d8d512e487cc2863f5782 SHA512 f3f7d85a6100e13653e53d7cb3040243a3122f19f60de83f9a2eca6a64439f48811a3590d564a1a7ca2b0e0ddf3357833ecbb62b2f7709ee0fe1fad3786d9a62
MISC metadata.xml 475 BLAKE2B f41a9a8fc06a238ff3c9dfb8c5fd1a14ccbe71f739c34355227a1c8a655a1844ba9b9d941e04d4925e326b1573eefad28ecdf854354476a165974b311100b166 SHA512 2cfeddfc2c9a12ee3b56aec5c80116c7ec344ce1425b6008715ed2160ff047ba277af4611de7c9379de5a3f8b21d13baa0fabe1ea240a6ba7815ef1aa9c6addb
diff --git a/x11-misc/mozo/mozo-1.28.0.ebuild b/x11-misc/mozo/mozo-1.28.0.ebuild
index 7eedaa3722bc..3136894a0754 100644
--- a/x11-misc/mozo/mozo-1.28.0.ebuild
+++ b/x11-misc/mozo/mozo-1.28.0.ebuild
@@ -13,7 +13,7 @@ LICENSE="GPL-2+ GPL-3+ LGPL-2+ LGPL-2.1+"
MINOR=$(($(ver_cut 2) % 2))
if [[ ${MINOR} -eq 0 ]]; then
- KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86"
+ KEYWORDS="amd64 ~arm ~arm64 ~loong ~riscv x86"
fi
SLOT="0"
diff --git a/x11-misc/xscreensaver/Manifest b/x11-misc/xscreensaver/Manifest
index 5735777c0491..ef82c2391342 100644
--- a/x11-misc/xscreensaver/Manifest
+++ b/x11-misc/xscreensaver/Manifest
@@ -15,7 +15,9 @@ DIST xscreensaver-6.06-logind-idle-hint.patch 4036 BLAKE2B 48c2766ff5879b77f521d
DIST xscreensaver-6.07-xscreensaver.service-start-with-no-splash.patch 834 BLAKE2B 57c509e370ba79c4197a2a51188e09c2a48cc172f889c8876c0fb1af995b87465ddc390b3e704cb572c29c1537f3d05b065365d6357c51047c910124b7c8f6c4 SHA512 6e7dcfbe0e687719f3f5579790a48544bb8728231cd7ac1c8b82f5814da0be1e67f2308de7f0354a2ba20ac098c2d5ae8c212b9a3a7b84177bc4bb10739378c3
DIST xscreensaver-6.07.tar.gz 26365057 BLAKE2B b0fc24e34713dd5591cff2ff871ec05deae089d7d76fe1239dd59ec1addf97eb764a583d01685953ae6409a7193ca97bc201a20dcf86d5244cf898e4eb9b1221 SHA512 abbf75faa49bb23d35985a7bf269891d168c87fe8939ad5acf6857398dfb056815d79dcf39bba9a33808e2717a47635fa84282c03ed9efeeeb449763253179a5
DIST xscreensaver-6.08.tar.gz 19990058 BLAKE2B 1dd13a656471335663738e677dd1b367ab1114ba91e65868ad2a1d8ebe95b16ff0311c2b69a2a5409ebdea68451d5e6cb507a66a5fb641921a469b8e69ec6b2d SHA512 a333d4921ed3a8219f3b672dd68543aea31fcd64ea6766143f1c7f6e5ed3bc7122355635d5afba1632457ad71a11cabdc7b2756431e4f1dc7e0426ae0896e6db
+DIST xscreensaver-6.09.tar.gz 22026182 BLAKE2B 34e3bf5b3affbfc6ef0aabaf9889c4b76ce27b09974d6c84a9b342b2267a3268fa1558a9bf0e0e487fce84ef218c3152fca4216268e15e40f82fef91021160da SHA512 6002c1879e3f9c509b4f6b645146978da82def0ed7b9e9c421b11dadf0116380c63403c30167fa70a289321928abe39795a96f1a796afb920bd0e3ac416d3653
EBUILD xscreensaver-6.07-r2.ebuild 7835 BLAKE2B af291f0dc7de2ecd49b4f3cb6fdbcaeb052d6dad2a04272e683743d5531557cc5851d6a69e963e4c5d4176121822a179fae68a8dd9fb640872ed2ff8e0926cbd SHA512 d973d66276a95e78244738e35ac83100fd8fb276955f54cc2cb2189e9481afba9d4395eca11c1157e9819873859b41aa3c2d1395bbb8763d4e3b60265b594664
EBUILD xscreensaver-6.08-r1.ebuild 7771 BLAKE2B a912dc05987f3cf5709baaf7328c6d0d5ab51859d6ec784f2caaabbcc035e2575eba3f627bae9b6e026e6055953db79f90aabfbe73e8e59a64e5defb49295da6 SHA512 a4d179cac63f4a7353dd833f5290e2a9d12b9689ad4dca68228ff33312fc953628b8b68f3b3d4c4963431b4e78e6e6471043eab63e23e76fdb8de38eb527e983
EBUILD xscreensaver-6.08.ebuild 7835 BLAKE2B af291f0dc7de2ecd49b4f3cb6fdbcaeb052d6dad2a04272e683743d5531557cc5851d6a69e963e4c5d4176121822a179fae68a8dd9fb640872ed2ff8e0926cbd SHA512 d973d66276a95e78244738e35ac83100fd8fb276955f54cc2cb2189e9481afba9d4395eca11c1157e9819873859b41aa3c2d1395bbb8763d4e3b60265b594664
+EBUILD xscreensaver-6.09.ebuild 7773 BLAKE2B 8bdd507022bfb9361e0a16b64d54a8303a06180e9cb3fb893cf40372e16296d4a8ec4a87d207c5300b5d7a2f7448e9de6f76d20714e0580e5d39254bcb3055ae SHA512 6df5bcadccce8d0a2c52050768c522fec701e5e7439ed93f7b4d08d73f9511564d847978b751c37ad3fce77bf11df42998ac81d7c16d6186023f70d4ce3f496b
MISC metadata.xml 1262 BLAKE2B 3800cee01a975dc0d79d1576fbe11910ac6233eda87b285aaa612c030786ea06697383e82d88707dbcb4d26b54a7df018ffb905351dd3d9bd81eb991abbc1774 SHA512 4e7c2ee2c57e76f3fbb51329f41151f7f8a2fb8dfd25d06161a0a85a6a3bfad253233935de40eff29b1b78a52202443dc1e5c962b09f922712f8ee76f6904abc
diff --git a/x11-misc/xscreensaver/xscreensaver-6.09.ebuild b/x11-misc/xscreensaver/xscreensaver-6.09.ebuild
new file mode 100644
index 000000000000..c2860219b766
--- /dev/null
+++ b/x11-misc/xscreensaver/xscreensaver-6.09.ebuild
@@ -0,0 +1,278 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools flag-o-matic font optfeature pam strip-linguas systemd xdg-utils
+
+DESCRIPTION="Modular screen saver and locker for the X Window System"
+HOMEPAGE="https://www.jwz.org/xscreensaver/"
+SRC_URI="
+ https://www.jwz.org/xscreensaver/${P}.tar.gz
+ logind-idle-hint? (
+ https://github.com/Flowdalic/xscreensaver/commit/59e7974c42dc08411c9af2a3a644a582c2116f46.patch ->
+ ${PN}-6.06-logind-idle-hint.patch
+ )
+ systemd? (
+ https://github.com/Flowdalic/xscreensaver/commit/376b07ec76cfe1070f498773aaec8fd7030593af.patch ->
+ ${PN}-6.07-xscreensaver.service-start-with-no-splash.patch
+ )
+"
+
+# Font license mapping for folder ./hacks/fonts/ as following:
+# clacon.ttf -- MIT
+# gallant12x22.ttf -- unclear, hence dropped
+# luximr.ttf -- bh-luxi (package media-fonts/font-bh-ttf)
+# OCRAStd.otf -- unclear, hence dropped
+# SpecialElite.ttf -- Apache-2.0
+LICENSE="BSD fonts? ( MIT Apache-2.0 ) systemd? ( ISC )"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="elogind fonts gdm gles glx jpeg +locking logind-idle-hint new-login offensive pam +perl selinux suid systemd xinerama"
+REQUIRED_USE="
+ gles? ( !glx )
+ ?? ( elogind systemd )
+ pam? ( locking )
+ logind-idle-hint? ( || ( elogind systemd ) )
+"
+
+COMMON_DEPEND="
+ >=dev-libs/libxml2-2.4.6
+ x11-apps/appres
+ x11-apps/xwininfo
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXi
+ x11-libs/libXrandr
+ x11-libs/libXt
+ x11-libs/libXxf86vm
+ elogind? ( sys-auth/elogind )
+ x11-libs/gdk-pixbuf-xlib
+ >=x11-libs/gdk-pixbuf-2.42.0:2
+ >=x11-libs/gtk+-3.0.0:3
+ jpeg? ( media-libs/libjpeg-turbo:= )
+ locking? ( virtual/libcrypt:= )
+ new-login? (
+ gdm? ( gnome-base/gdm )
+ !gdm? ( || ( x11-misc/lightdm lxde-base/lxdm ) )
+ )
+ virtual/glu
+ virtual/opengl
+ pam? ( sys-libs/pam )
+ media-libs/libpng:=
+ systemd? ( >=sys-apps/systemd-221:= )
+ >=x11-libs/libXft-2.1.0
+ xinerama? ( x11-libs/libXinerama )
+"
+# For USE="perl" see output of `qlist xscreensaver | grep bin | xargs grep '::'`
+RDEPEND="
+ ${COMMON_DEPEND}
+ media-gfx/fbida
+ perl? (
+ dev-lang/perl
+ dev-perl/libwww-perl
+ virtual/perl-Digest-MD5
+ )
+ selinux? ( sec-policy/selinux-xscreensaver )
+"
+DEPEND="
+ ${COMMON_DEPEND}
+ x11-base/xorg-proto
+"
+BDEPEND="
+ dev-util/intltool
+ app-alternatives/bc
+ sys-devel/gettext
+ virtual/pkgconfig
+"
+PATCHES=(
+ "${FILESDIR}"/${PN}-5.31-pragma.patch
+ "${FILESDIR}"/${PN}-6.01-gentoo.patch
+ "${FILESDIR}"/${PN}-6.07-gcc.patch
+ "${FILESDIR}"/${PN}-6.01-configure.ac-sandbox.patch
+ "${FILESDIR}"/${PN}-6.01-without-gl-makefile.patch
+ "${FILESDIR}"/${PN}-6.01-non-gtk-install.patch
+ "${FILESDIR}"/${PN}-6.01-configure-install_sh.patch
+ "${FILESDIR}"/${PN}-6.03-without-gl-configure.patch
+ "${FILESDIR}"/${PN}-6.05-remove-update-icon-cache.patch
+ "${FILESDIR}"/${PN}-6.05-r2-configure-exit-codes.patch
+ "${FILESDIR}"/${PN}-6.07-allow-no-pam.patch
+ "${FILESDIR}"/${PN}-6.07-fix-desktop-files.patch
+)
+
+DOCS=( README{,.hacking} )
+
+# see https://bugs.gentoo.org/898328
+QA_CONFIG_IMPL_DECL_SKIP=( getspnam_shadow )
+
+src_prepare() {
+ default
+
+ # bug #896440
+ mv po/ca.po po/ca.po.old || die
+ iconv -f ISO-8859-15 -t UTF-8 po/ca.po.old >po/ca.po || die
+
+ sed -i configure.ac -e '/^ALL_LINGUAS=/d' || die
+
+ if use systemd; then
+ # Causes "Failed to enable unit: Cannot alias xscreensaver.service as org.jwz.xscreensaver."
+ # after "systemctl --user enable xscreensaver".
+ sed -i -e '/^Alias=org.jwz.xscreensaver.service/d' \
+ driver/xscreensaver.service.in || die
+
+ eapply "${DISTDIR}/${PN}-6.07-xscreensaver.service-start-with-no-splash.patch"
+ fi
+
+ strip-linguas -i po/
+ export ALL_LINGUAS="${LINGUAS}"
+
+ if use new-login && ! use gdm; then #392967
+ sed -i \
+ -e "/default_l.*1/s:gdmflexiserver -ls:${EPREFIX}/usr/libexec/lightdm/&:" \
+ configure{,.ac} || die
+ fi
+
+ # We are patching driver/XScreenSaver.ad.in, so let's delete the
+ # header generated from it so that it gets back in sync during build:
+ rm driver/XScreenSaver_ad.h || die
+
+ if ! use offensive; then
+ sed -i \
+ -e '/boobies/d;/boobs/d;/cock/d;/pussy/d;/viagra/d;/vibrator/d' \
+ hacks/barcode.c || die
+ sed -i \
+ -e 's|erect penis|shuffle board|g' \
+ -e 's|flaccid penis|flaccid anchor|g' \
+ -e 's|vagina|engagement ring|g' \
+ -e 's|Penis|Shuttle|g' \
+ hacks/glx/glsnake.c || die
+ sed -i \
+ 's| Stay.*fucking mask\.$||' \
+ hacks/glx/covid19.man \
+ hacks/config/covid19.xml || die
+ eapply "${FILESDIR}/xscreensaver-6.05-teach-handsy-some-manners.patch"
+ fi
+
+ if use logind-idle-hint; then
+ eapply "${DISTDIR}/${PN}-6.06-logind-idle-hint.patch"
+ fi
+
+ config_rpath_update "${S}"/config.rpath
+
+ # Must be eauto*re*conf, to force the rebuild
+ eautoreconf
+}
+
+src_configure() {
+ if use ppc || use ppc64; then
+ filter-flags -maltivec -mabi=altivec
+ append-flags -U__VEC__
+ fi
+
+ unset BC_ENV_ARGS #24568
+
+ # /proc/interrupts won't always have the keyboard bits needed
+ # Not clear this does anything in 6.03+(?) but let's keep it for now in case.
+ # (See also: configure argument)
+ export ac_cv_have_proc_interrupts=yes
+
+ # WARNING: This is NOT a normal autoconf script
+ # Some of the --with options are NOT standard, and expect "--with-X=no" rather than "--without-X"
+ ECONF_OPTS=(
+ $(use_enable locking)
+ $(use_with elogind)
+ --with-pixbuf
+ $(use_with gles)
+ $(use_with glx)
+ --with-gtk
+ $(use_with new-login login-manager)
+ $(use_with pam)
+ $(use_with suid setuid-hacks)
+ $(use_with systemd)
+ $(use_with xinerama xinerama-ext)
+ --with-jpeg=$(usex jpeg yes no)
+ --with-png=yes
+ --with-xft=yes
+ --with-app-defaults="${EPREFIX}"/usr/share/X11/app-defaults
+ --with-configdir="${EPREFIX}"/usr/share/${PN}/config
+ --with-dpms-ext
+ --with-hackdir="${EPREFIX}"/usr/$(get_libdir)/misc/${PN}
+ --with-proc-interrupts
+ --with-randr-ext
+ --with-text-file="${EPREFIX}"/etc/gentoo-release
+ --with-xdbe-ext
+ --with-xf86gamma-ext
+ --with-xf86vmode-ext
+ --with-xinput-ext
+ --with-xkb-ext
+ --with-xshm-ext
+ --without-gle
+ --without-kerberos
+ --without-motif
+ --with-proc-oom
+ --x-includes="${EPREFIX}"/usr/include
+ --x-libraries="${EPREFIX}"/usr/$(get_libdir)
+ )
+ # WARNING: This is NOT a normal autoconf script
+ econf "${ECONF_OPTS[@]}"
+}
+
+src_compile() {
+ # stock target is "default", which is broken in some releases.
+ emake all
+}
+
+src_install() {
+ use pam && dodir /etc/pam.d/
+ emake install_prefix="${D}" DESTDIR="${D}" GTK_SHAREDIR="${installprefix}"/usr/share/xscreensaver install
+
+ if use fonts; then
+ # Do not install fonts with unclear licensing
+ rm -v "${ED}${FONTDIR}"/gallant12x22.ttf || die
+
+ # Do not duplicate font Luxi Mono (of package media-fonts/font-bh-ttf)
+ rm -v "${ED}${FONTDIR}"/luximr.ttf || die
+
+ font_xfont_config
+ else
+ rm -rfv "${ED}${FONTDIR}" || die #812473
+ fi
+
+ einstalldocs
+
+ if use pam; then
+ fperms 755 /usr/bin/${PN}
+ pamd_mimic_system ${PN} auth
+ fi
+
+ if use systemd; then
+ systemd_douserunit "${ED}/usr/share/${PN}/xscreensaver.service"
+ fi
+ # Makefile installs xscreensaver.service regardless of
+ # --without-systemd, and if USE=systemd, we will have installed the
+ # unit file already.
+ rm "${ED}/usr/share/${PN}/xscreensaver.service" || die
+
+ # bug #885989
+ fperms 4755 /usr/$(get_libdir)/misc/xscreensaver/xscreensaver-auth
+}
+
+pkg_postinst() {
+ use fonts && font_pkg_postinst
+
+ # bug #811885
+ if ! use glx; then
+ elog "Enable USE='glx' if OpenGL screensavers are crashing."
+ fi
+
+ optfeature 'Bitmap fonts 75dpi' media-fonts/font-adobe-75dpi
+ optfeature 'Bitmap fonts 100dpi' media-fonts/font-adobe-100dpi
+ optfeature 'Truetype font Luxi Mono' media-fonts/font-bh-ttf
+
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ use fonts && font_pkg_postrm
+ xdg_icon_cache_update
+}