From 34dea8e38f88007799629d0a56b12dec480b1d21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 20 Jun 2021 14:45:01 +0100 Subject: gentoo resync : 20.06.2021 --- x11-wm/ratpoison/Manifest | 4 +- x11-wm/ratpoison/ratpoison-1.4.9-r1.ebuild | 99 ++++++++++++++++++++++++++++++ x11-wm/ratpoison/ratpoison-1.4.9.ebuild | 98 ----------------------------- x11-wm/ratpoison/ratpoison-9999.ebuild | 5 +- 4 files changed, 104 insertions(+), 102 deletions(-) create mode 100644 x11-wm/ratpoison/ratpoison-1.4.9-r1.ebuild delete mode 100644 x11-wm/ratpoison/ratpoison-1.4.9.ebuild (limited to 'x11-wm/ratpoison') diff --git a/x11-wm/ratpoison/Manifest b/x11-wm/ratpoison/Manifest index d50a4cbff6fd..96c44f8cc504 100644 --- a/x11-wm/ratpoison/Manifest +++ b/x11-wm/ratpoison/Manifest @@ -3,6 +3,6 @@ AUX ratpoison.desktop 122 BLAKE2B f72c9cfdb0712eef05037b1fdedbc5806f6f4957d2d549 AUX ratpoison.el-gentoo.patch 220 BLAKE2B 4c5339912466401efcc6a3a3e23178af24da58e27304a38053eaee7de6a025ae872049e6fc75f7480dba3fe31c89d04e537469ff54dbe421cb26b0e9fd228c20 SHA512 c9e0e322b0c632b6bd7cee0c34269accfd0cf2d12751b9f2a65955f5ae5aa72804f819ca0147da5e0ff571357b34460337668adc07ad77afdf7a50b512f6b36f AUX ratpoison.xsession 19 BLAKE2B fa3cca1a3a03b0b6da08f6976cd6436fd2e115961fd1c8b7f5603483b7be6e90a6f3f57e35ae06f9b9c609d3d02765c3e5e5085b10f80bd8abb6e7f51a29913c SHA512 684dbc8aa49355bac63254beaef79ec0d499f5f4d20976fae9daa686102c5120e564fc3a60eb9a770c0c648c998e49b63414fb92b8e5b5af0f5fc23695cd6b8e DIST ratpoison-1.4.9.tar.xz 315584 BLAKE2B 18cff2ed835579b606ea99defda04db6ebaedc8bc71d3f7d12cf859caf908d427f50b345089ca3aae52a407ae763818d91a2dd4026c9b32ead95adfb2d065c25 SHA512 97f705efd2092b8e12528496890c59f613e6fcec010aca94a5a59bd641e22dfc50dd500a4b94af7a07553a8a6359f6bec4eee0db1a7ded29d7f051904b09beef -EBUILD ratpoison-1.4.9.ebuild 1847 BLAKE2B 8c538d24ea9856bdfc52706aae08a4e939f6530616e68f4d5f81caa458af013756a81d069f26e7d96cce11d0a9ad1d152784b5b4b5f3a759f783499f1b7bc197 SHA512 d73892acb71766c28d94c3771f0853b9fc586727ce747633a47f57595e5c075f74d3ff962670cb0cf1a7ddbc5a6f02aeabfcd8d732707865708beb83b36377ee -EBUILD ratpoison-9999.ebuild 1849 BLAKE2B 980bdfe6a063c8fd949f123cadb2086684b06a708fe0aa0df8fc811121f4108ef68454f52405a0bec625c531900cd146a546104242b95240b56ddeb2df5ac1c9 SHA512 3a764c4fa0cc0e7a48d6f079c618faceb00fd0a5755e28f061811802e052683e9d4c304ae263d09af43f7d591a8d226ca0f8b5b5e26c782a8694883d908d3335 +EBUILD ratpoison-1.4.9-r1.ebuild 1864 BLAKE2B a0642c53b08dab4525b9a012d18d01dd6734d055164c689b40b7ff725311e51a348ce222fcc9d0abf6933a137d750fba791d812f250b79298fe9bc549394f564 SHA512 2db87d3e5ea4171ea2493911e2092de7639c9217e7d198e03084e85a50436922376dcb885e2b7c0c703fda9b49227ee00770ee5cf91f26265fdc8b08c619ba5a +EBUILD ratpoison-9999.ebuild 1875 BLAKE2B 98c9866887a3f81a6f6ef11f5b2252fda5d22f9ce9bc43baa6099d00faecd9c0e8ecab8d8d9573e47dfcb6359499d53302ac82cd4229c762ace384fdc6df326f SHA512 5631ad7c74d54258061b77dc786e367fa77934599dc13884f4bf4d022b433731f0ca602662ae1dcd245eb03c9b7507c578f18a9d0e224f1a38c5d970f425fa01 MISC metadata.xml 994 BLAKE2B da7a977d643d540812fffa082f5cba76cd79728302533e77627825a08fb0bace3a2b3bb917cd8b6cd3cecd2c03182b72ac902909a4c7d575f8e2ea936a510953 SHA512 f64106b49cfcfb17e08d3c897be4de0ef3df083fded72804d9b0e0f4e2eedcc2c8c679dea96c59dcb41937b547497ac1445102c0a63ef965f92b450dda0edec4 diff --git a/x11-wm/ratpoison/ratpoison-1.4.9-r1.ebuild b/x11-wm/ratpoison/ratpoison-1.4.9-r1.ebuild new file mode 100644 index 000000000000..001e9b843227 --- /dev/null +++ b/x11-wm/ratpoison/ratpoison-1.4.9-r1.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit elisp-common eutils toolchain-funcs + +DESCRIPTION="window manager without mouse dependency" +HOMEPAGE="http://www.nongnu.org/ratpoison/" +SRC_URI="http://download.savannah.gnu.org/releases/${PN}/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~hppa ppc x86 ~amd64-linux ~x86-linux" +IUSE="debug emacs +history sloppy +xft +xrandr" + +RDEPEND=" + emacs? ( >=app-editors/emacs-23.1:* ) + history? ( sys-libs/readline:= ) + xft? ( x11-libs/libXft ) + xrandr? ( x11-libs/libXrandr ) + virtual/perl-Pod-Parser + x11-libs/libX11 + x11-libs/libXtst +" +DEPEND=" + ${RDEPEND} + virtual/pkgconfig + x11-base/xorg-proto +" + +SITEFILE=50ratpoison-gentoo.el +DOCS=( + AUTHORS + ChangeLog + NEWS + README + TODO +) + +PATCHES=( + "${FILESDIR}"/ratpoison.el-gentoo.patch +) + +src_configure() { + econf \ + $(use_enable debug) \ + $(use_enable history) \ + $(use_with xft) \ + $(use_with xrandr) \ + --without-electric-fence +} + +src_compile() { + emake CFLAGS="${CFLAGS}" + if use emacs; then + elisp-compile contrib/ratpoison.el || die + fi + + if use sloppy; then + pushd contrib + $(tc-getCC) \ + ${CFLAGS} \ + ${LDFLAGS} \ + -o sloppy{,.c} \ + $( $(tc-getPKG_CONFIG) --libs x11) \ + || die + fi +} + +src_install() { + default + + exeinto /etc/X11/Sessions + newexe "${FILESDIR}"/ratpoison.xsession ratpoison + + insinto /usr/share/xsessions + doins "${FILESDIR}"/${PN}.desktop + + use sloppy && dobin contrib/sloppy + + docinto example + dodoc contrib/{genrpbindings,split.sh} \ + doc/{ipaq.ratpoisonrc,sample.ratpoisonrc} + + rm -rf "${ED}/usr/share/"{doc/ratpoison,ratpoison} + + if use emacs; then + elisp-install ${PN} contrib/ratpoison.* + elisp-site-file-install "${FILESDIR}/${SITEFILE}" + fi +} + +pkg_postinst() { + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +} diff --git a/x11-wm/ratpoison/ratpoison-1.4.9.ebuild b/x11-wm/ratpoison/ratpoison-1.4.9.ebuild deleted file mode 100644 index 2b0a855b17c6..000000000000 --- a/x11-wm/ratpoison/ratpoison-1.4.9.ebuild +++ /dev/null @@ -1,98 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit elisp-common eutils toolchain-funcs - -DESCRIPTION="window manager without mouse dependency" -HOMEPAGE="http://www.nongnu.org/ratpoison/" -SRC_URI="http://download.savannah.gnu.org/releases/${PN}/${P}.tar.xz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~hppa ppc x86 ~amd64-linux ~x86-linux" -IUSE="debug emacs +history sloppy +xft +xrandr" - -RDEPEND=" - emacs? ( >=app-editors/emacs-23.1:* ) - history? ( sys-libs/readline:= ) - xft? ( x11-libs/libXft ) - xrandr? ( x11-libs/libXrandr ) - virtual/perl-Pod-Parser - x11-libs/libXtst -" -DEPEND=" - ${RDEPEND} - virtual/pkgconfig - x11-base/xorg-proto -" - -SITEFILE=50ratpoison-gentoo.el -DOCS=( - AUTHORS - ChangeLog - NEWS - README - TODO -) - -PATCHES=( - "${FILESDIR}"/ratpoison.el-gentoo.patch -) - -src_configure() { - econf \ - $(use_enable debug) \ - $(use_enable history) \ - $(use_with xft) \ - $(use_with xrandr) \ - --without-electric-fence -} - -src_compile() { - emake CFLAGS="${CFLAGS}" - if use emacs; then - elisp-compile contrib/ratpoison.el || die - fi - - if use sloppy; then - pushd contrib - $(tc-getCC) \ - ${CFLAGS} \ - ${LDFLAGS} \ - -o sloppy{,.c} \ - $( $(tc-getPKG_CONFIG) --libs x11) \ - || die - fi -} - -src_install() { - default - - exeinto /etc/X11/Sessions - newexe "${FILESDIR}"/ratpoison.xsession ratpoison - - insinto /usr/share/xsessions - doins "${FILESDIR}"/${PN}.desktop - - use sloppy && dobin contrib/sloppy - - docinto example - dodoc contrib/{genrpbindings,split.sh} \ - doc/{ipaq.ratpoisonrc,sample.ratpoisonrc} - - rm -rf "${ED}/usr/share/"{doc/ratpoison,ratpoison} - - if use emacs; then - elisp-install ${PN} contrib/ratpoison.* - elisp-site-file-install "${FILESDIR}/${SITEFILE}" - fi -} - -pkg_postinst() { - use emacs && elisp-site-regen -} - -pkg_postrm() { - use emacs && elisp-site-regen -} diff --git a/x11-wm/ratpoison/ratpoison-9999.ebuild b/x11-wm/ratpoison/ratpoison-9999.ebuild index 6b3032fb05c2..70a7773144bc 100644 --- a/x11-wm/ratpoison/ratpoison-9999.ebuild +++ b/x11-wm/ratpoison/ratpoison-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -19,13 +19,14 @@ RDEPEND=" xft? ( x11-libs/libXft ) xrandr? ( x11-libs/libXrandr ) virtual/perl-Pod-Parser + x11-libs/libX11 x11-libs/libXtst " DEPEND=" ${RDEPEND} - virtual/pkgconfig x11-base/xorg-proto " +BDEPEND="virtual/pkgconfig" SITEFILE=50ratpoison-gentoo.el DOCS=( -- cgit v1.2.3