diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-eselect |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-eselect')
221 files changed, 7599 insertions, 0 deletions
diff --git a/app-eselect/eselect-audicle/Manifest b/app-eselect/eselect-audicle/Manifest new file mode 100644 index 000000000000..4dc4ea45f8c3 --- /dev/null +++ b/app-eselect/eselect-audicle/Manifest @@ -0,0 +1,5 @@ +DIST audicle.eselect-1.0.1.bz2 1266 SHA256 d2237a17902003b6263c755b99eb5c85c639c45fe9a3f45ef564f6ed384bca31 SHA512 bf60c4d1679ad4d8e5334fc3841c417b78cf836ed9ea313a8d4c4c0be092a6ae1cc85daf8eb545a420803e56f57c334c3f4b529df476f40de99ce365fb75e659 WHIRLPOOL 3c0354bc0663830828ed4cbf31ff8d02a2f71dab3c825a7cb304f8d9ddb3814f08a7555a0482c6f6d34c588722b6fc1bec2952e6f8b1828f7a9fb2d3fa4fe45d +EBUILD eselect-audicle-1.0.1.ebuild 463 SHA256 54813b94b74ef219a25ab4b20fcd3fcd7df55e1ec79b6af6a0e1f83e352da99b SHA512 6e25a81d20274de56f157fdd08c9ae82bd577c10f57253b0a3ac9f2eacc1349e911b60a034b6d5f0d2eb65b5968b1327d5a3d09c4c70f547a52bf77f3c66b6e6 WHIRLPOOL b614f2cd49e0c81bc8a82abdba04895dd21abfcd12317508b9656d22badb571fdf74e27586676bc08170b2dd22ae5a66fb2190e368858dece6c58e72c7828e82 +MISC ChangeLog 2974 SHA256 70ebf5f700e52fb33ff2e084c59a2a5711e5f8886a863dd4f1e1710a47354e6e SHA512 06a3b4791dc0a30b9b7d3211b850fb2b1d775d7cb630e55f422d0fd8d1c9e24f847e7c4ff14f28f20838b25e1ea8e8489e213db507c8360b1195000437a40625 WHIRLPOOL 28c7ee4681cb41d04463b2c5bfad196a6738d3bc1077f5027d9ff5fe71b01fe5e381d403543f2bd5c940b7730757fa2df9a1710a1b4f62c26873e5fd6515df1e +MISC ChangeLog-2015 906 SHA256 f8c273c4550ce2c39c26675bae7172822bdd156c0363d8ca70e2432e8732a21b SHA512 1159407abb5b1e92b3ece93b722dbf79f085d1c5acbacff37542e976776b2a6f6c73a3d05638825d7928ef58046f6bbe85fdbce044b049aca052929b38edc553 WHIRLPOOL 16382700f7911839bf49341980d4245252a7bcf25a3b705f9b844cf56e7aac32f29ab853d25a85c6fd6ef2cff656436603a2078984f6b5c5d900cc5a541ae465 +MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968 diff --git a/app-eselect/eselect-audicle/eselect-audicle-1.0.1.ebuild b/app-eselect/eselect-audicle/eselect-audicle-1.0.1.ebuild new file mode 100644 index 000000000000..9f8f705bb09d --- /dev/null +++ b/app-eselect/eselect-audicle/eselect-audicle-1.0.1.ebuild @@ -0,0 +1,18 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +DESCRIPTION="Manages the /usr/bin/audicle symlink" +HOMEPAGE="https://www.gentoo.org/" +SRC_URI="mirror://gentoo/audicle.eselect-${PVR}.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=app-admin/eselect-1.2.3" + +src_install() { + insinto /usr/share/eselect/modules + newins "${WORKDIR}/audicle.eselect-${PVR}" audicle.eselect || die +} diff --git a/app-eselect/eselect-audicle/metadata.xml b/app-eselect/eselect-audicle/metadata.xml new file mode 100644 index 000000000000..6f49eba8f496 --- /dev/null +++ b/app-eselect/eselect-audicle/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<!-- maintainer-needed --> +</pkgmetadata> diff --git a/app-eselect/eselect-awk/Manifest b/app-eselect/eselect-awk/Manifest new file mode 100644 index 000000000000..de547ac6f3a1 --- /dev/null +++ b/app-eselect/eselect-awk/Manifest @@ -0,0 +1,5 @@ +DIST eselect-awk-0.2.tar.gz 1541 SHA256 e126c0d04bad2d374c92725e54184e78b8e60f3922440186096d333148cebcf0 SHA512 ef00ac8e8b962c17dc8094d64e5cbf44654a747cc648a5cf38346c3a90e0d685726693094ac265398b40d9d325600073ea2c4905b813f1e40fbfc7627930a5de WHIRLPOOL b134c8f69efeb4ae9fe12a3b2c99fafde58b073214efb71f17664671b915b07779e7c028eded1c3307e98a74f1105aca67322927d0dae8976ecbd48d44245609 +EBUILD eselect-awk-0.2.ebuild 503 SHA256 ef8fa17e46b5c7b9d48205cdd64dee73256e58fa8b04f467dfa042ace14c8962 SHA512 ac20cad7374e7acad40ccd2950cc90f9164a1afcad9fc09ccc75176d7e589984c87a10623f3c87dfee865173653a6c053f3ec46e35ab6db9f692de058e2efa23 WHIRLPOOL a148bbc053a83240718960ca6cdd6fc238c708b62e94c92f9e5c74d41f955b66cbceb358c8d5bac32f76d37922065a5652c57d95c7f6ee9a83ad6803308c4f9a +MISC ChangeLog 3854 SHA256 0edaf3d0722cba7c29a3c6f4cfce650364969eb7cbde3bed106631107795aba2 SHA512 cdfee052167c1b8f4e686b8a80a8de7a506c48dc07ee75d474d504fd855487db5ab997bf6916d44139d02ffc8863c0de82e2cd31939712b01b8a925390f56f8a WHIRLPOOL 8f8a561071cc0c0577ff9fefb97d3d18d4c36f24570f99505ae06bfbbc41b3f0ae23fce7fa7075a5dcd4be24b930a22d854db1ec5341d5b5e52cd5a67a5345cf +MISC ChangeLog-2015 1652 SHA256 88309133a4f62fe421afdfaa98e22882e11405953b75c7f3dea7910c150346a6 SHA512 c34263eac25c7aa44c1c5848599f6c486645ed28cab390a754e4a1f6d51f10632976882a747aa5915d9ea48f261883a9ce8b672579de30f416086200719bd90d WHIRLPOOL 4e703c0deb6ab3dc484d0b721a17340eac6cbe7ce1b09909bbabc123ca7e353885eb8dacae81cb4bba67a397f6d4b754a7e8bfe4065d424d730435f68ca72802 +MISC metadata.xml 372 SHA256 71409114b1e0705c76555a206ac628356cb877f94ab0e4e0df907c63a6d5c54c SHA512 dcd1c89d7c9e64f49ea4531c40482c7911e6b7f2873691d0dbb395ea179bf1a1be3bd4da9633e802e164ac837b5f3212844094c2a4773af7ab415e9005241b1e WHIRLPOOL a154ba7b192cb7e764511db62e4cc14924b962cc7df632b57839c40623c49f8601ad30ff666b7e0a442c79b4e8979f97c53b8db40881c75e8b21bb8d9657bce9 diff --git a/app-eselect/eselect-awk/eselect-awk-0.2.ebuild b/app-eselect/eselect-awk/eselect-awk-0.2.ebuild new file mode 100644 index 000000000000..891e5e6a896a --- /dev/null +++ b/app-eselect/eselect-awk/eselect-awk-0.2.ebuild @@ -0,0 +1,18 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +DESCRIPTION="Manages the {,/usr}/bin/awk symlink" +HOMEPAGE="https://www.gentoo.org" +SRC_URI="https://dev.gentoo.org/~junghans/distfiles/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-macos" +IUSE="" + +src_install() { + insinto /usr/share/eselect/modules + doins awk.eselect +} diff --git a/app-eselect/eselect-awk/metadata.xml b/app-eselect/eselect-awk/metadata.xml new file mode 100644 index 000000000000..9218df9e2c8f --- /dev/null +++ b/app-eselect/eselect-awk/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>junghans@gentoo.org</email> + <name>Christoph Junghans</name> + </maintainer> + <maintainer type="project"> + <email>base-system@gentoo.org</email> + <name>Gentoo Base System</name> + </maintainer> + </pkgmetadata> diff --git a/app-eselect/eselect-blas/Manifest b/app-eselect/eselect-blas/Manifest new file mode 100644 index 000000000000..9372a66c3c5a --- /dev/null +++ b/app-eselect/eselect-blas/Manifest @@ -0,0 +1,6 @@ +AUX blas.eselect-0.1 350 SHA256 9dcfce6de17835f3c66a677bdacaae2ce845c1dd4a8f3776dc6a2458eaa8cf98 SHA512 25f9250c3fae6d31871ca08260f1cd6597d9263fe51d3d696dd55c8648b604ea52b705dc5d128c7d9677cc1cd63f9aa1e31e124bdf52374eaf02f991db0045f2 WHIRLPOOL 275b896a188149232548351c9c20954e17f32903f3cd56fb530f26e8b75a63a032a40471547b517c4783c001f430bd0c71fc8d789a20005ced436cfc83a1df91 +AUX blas.eselect.5 2065 SHA256 be33928f4da14777346d2497061a0d34c2a2fd919baa3dcb7080ef75d6833988 SHA512 94264f61bbe29ac027d9ec82b3921e99cc8f7108544682508748e407fbe7d393748cef876c240796adf82122370ac963def90fd8b01a3186049223e3eaf21ffd WHIRLPOOL bebc16394933b075b7e9b3cdc180232d5c517f0e6a7a069213d118d7c30c306c13936df5f8fa86b2c7201b1f9ca9570693cf00476f6059c8a39b37d6a9ed0d8f +EBUILD eselect-blas-0.1.ebuild 698 SHA256 86bd42c5386a58c9ad8120adbca4f93f22eb45497313547cb17db6de5d9b14b8 SHA512 6f97b6638f43ba6b7f81b005cbf324a2d8990a26e3eec3b2df56724cb7fd9e2377b3a56ec1ecb44637bcb6a9c18ac2d5b8599ee91fbf7ab5d959bc974068475e WHIRLPOOL 68d64fa36fbc0d3404fb3e54e60fad77c755da3efa9c9d42f8fa6505839055b113ca7560278dc5a73384f438dbbd2c44caa661623bd8cd9e088bdaf692bbb4db +MISC ChangeLog 2516 SHA256 67038f4c352b8962f6415045ac4dd5ef5e708e71e873dc991542717a7e20df52 SHA512 f05de5a94c0dba66af40e44ff15b55de7daa6b57808ec35fba37c972f9a1cc5305582fe45117a06e16218a476ac2ae0429e846057ae77475e6fb02731d60dfb5 WHIRLPOOL 8118814ea14ba229283ff2e2a98f39204bb72800d2b4b03055291626d8268d30a081f0b7550e5e0a22f2da3263727da6bc5f5084bea2c1effc9341140585d40b +MISC ChangeLog-2015 3453 SHA256 b980b0984a9f506f43ec1606b46087907c5e69f2c26c51e8a1602278d99eedaf SHA512 54c320bf62f9ec595c014e9066bf725a68de54ef08a99a5423dc7f89ed943a5b780222c39f94a2d944e446d9e34b6e55c0a269dda2afae2a606cf9cefd675c44 WHIRLPOOL fdd2c56ff5615c213e0d99dc8425eacc2e13ee2306c9337debfd773b3d358fd832f9a056a707905e005555f3e294ccdc54b28ff377c8ab71e5a62fc39c295198 +MISC metadata.xml 249 SHA256 d92f4663e317d15aa310d71020356d744cc23e6d8bc8a52ef44a2331a3c37adb SHA512 29a9c1817fd4299246d5fa995b73b9f1996b112b70f468139cf9cd8f07077d831e0788d3b93aaba67bb38dce5850830c27543fccbddbac02b0da4ff899def519 WHIRLPOOL b995ffbeda7d1119f53cf016f0ed502521258c348735fe3b362dc082e0f76cf1a09c0848bcfd8b8bc97d6afc6104628f9c3d116a1a8f4c393b1fcc2471f6ddfe diff --git a/app-eselect/eselect-blas/eselect-blas-0.1.ebuild b/app-eselect/eselect-blas/eselect-blas-0.1.ebuild new file mode 100644 index 000000000000..35035c93162b --- /dev/null +++ b/app-eselect/eselect-blas/eselect-blas-0.1.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +DESCRIPTION="BLAS module for eselect" +HOMEPAGE="https://www.gentoo.org/proj/en/eselect/" +SRC_URI="" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 s390 sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris" +IUSE="" + +# Need skel.bash lib +RDEPEND=">=app-admin/eselect-1.0.5" +DEPEND="${RDEPEND}" + +src_install() { + local MODULEDIR="/usr/share/eselect/modules" + local MODULE="blas" + insinto ${MODULEDIR} + newins "${FILESDIR}"/${MODULE}.eselect-${PVR} ${MODULE}.eselect + doman "${FILESDIR}"/blas.eselect.5 +} diff --git a/app-eselect/eselect-blas/files/blas.eselect-0.1 b/app-eselect/eselect-blas/files/blas.eselect-0.1 new file mode 100644 index 000000000000..cb2a03cd8668 --- /dev/null +++ b/app-eselect/eselect-blas/files/blas.eselect-0.1 @@ -0,0 +1,14 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +inherit skel + +MODULE="BLAS" +IFACE="blas" + +DESCRIPTION="Manage installed $MODULE implementations" +MAINTAINER="spyderous@gentoo.org" +SVN_DATE='$Date: 2015/03/31 16:46:52 $' +VERSION=$(svn_date_to_version "${SVN_DATE}" ) + +# vim: set ft=eselect : diff --git a/app-eselect/eselect-blas/files/blas.eselect.5 b/app-eselect/eselect-blas/files/blas.eselect.5 new file mode 100644 index 000000000000..c9df9fde8d7f --- /dev/null +++ b/app-eselect/eselect-blas/files/blas.eselect.5 @@ -0,0 +1,65 @@ +.TH "ESELECT" "5" "June 2006" "Gentoo Linux" "eselect" +.SH "NAME" +blas.eselect \- The BLAS management module for Gentoo's eselect +.SH "SYNOPSIS" +\fBeselect blas\fR [\fBhelp\fR|\fBusage\fR] +.br +\fBeselect blas\fR \fBlist\fR [\fIoptions\fR] +.br +\fBeselect blas\fR \fBadd\fR +.br +\fBeselect blas\fR \fBset\fR \fIimplementation\fR [\fIoptions\fR] +.br +\fBeselect blas\fR \fBshow\fR [\fIoptions\fR] + +.SH "DESCRIPTION" +\fBeselect\fR is Gentoo's configuration and management tool. It features +modules that care for the individual administrative tasks. +.SH "ACTION: LIST" +\fBeselect blas list\fR [\fIoptions\fR] +.br +Displays an ordered list of installed BLAS implementations. It distinguishes between versions with different +Application Binary Interfaces (e.g. x86/AMD64). Furthermore, it also distinguishes +between interfaces to high-level programming languages. Each line holds +a number and the implementation's name. An asterisk next to one of the list +elements denotes an active implementation. + +phi / # eselect blas list +.br +Installed BLAS for libdir \fBlib\fR +.br + [1] atlas * + [2] reference + +Possible \fIoptions\fR to the \fBlist\fR action are restrictions to +handle only certain ABI\-specific library directories. For example, + +\fBeselect blas list lib64\fR + +lists only BLAS implementations found in \fB/usr/lib64\fR. + +.SH "ACTION: SHOW" +\fBeselect blas show\fR [\fIoptions\fR] +.br +Shows your system's currently active BLAS implementations. + +phi / # eselect blas show +.br +lib: atlas +.br +lib64: reference + +The same \fIoptions\fR that apply to the \fBlist\fR action can be used +with the \fBshow\fR action to restrict it to given ABIs. +.SH "ACTION: SET" +\fBeselect blas set\fR \fIimplementation\fR [\fIoptions\fR] +.br +Sets your system's currently active BLAS implementations to \fIimplementation\fR. +The same \fIoptions\fR that apply to the \fBlist\fR action can be used +with the \fBset\fR action to restrict it to given ABIs. + +phi / # eselect blas set atlas +.SH "AUTHOR" +Danny van Dyk <kugelfang@gentoo.org> +.br +Donnie Berkholz <spyderous@gentoo.org> diff --git a/app-eselect/eselect-blas/metadata.xml b/app-eselect/eselect-blas/metadata.xml new file mode 100644 index 000000000000..0c6991d7902b --- /dev/null +++ b/app-eselect/eselect-blas/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>sci@gentoo.org</email> + <name>Gentoo Science Project</name> +</maintainer> +</pkgmetadata> diff --git a/app-eselect/eselect-cblas/Manifest b/app-eselect/eselect-cblas/Manifest new file mode 100644 index 000000000000..f1df9ae8b5e8 --- /dev/null +++ b/app-eselect/eselect-cblas/Manifest @@ -0,0 +1,6 @@ +AUX cblas.eselect-0.1 352 SHA256 a7f9b102f06e72b8eed612d0672ec36bf5243d02653369ed0c03ec68c91ab469 SHA512 3f030c57d59a48817ee1eeafb3e967395c57f7f46724ffe134fcc58e6b4a3f37cad368fb4ab7f7e3cecf9a91bee4f7e1ef315dfcae6d0abbd80c7f85decc4f76 WHIRLPOOL 5099f298879870003fe15f631f1346ee662a05cbfbeb65d13dbd25177b032a5598a14c8e2ca3172060a06a04ecee0be6109f7fda7ff93b350ca2df086612b8aa +AUX cblas.eselect.5 2084 SHA256 b288fea54c45d828ff44c6e6c102a34010fce272eef06cfe979bfb2765376b7e SHA512 1cc53334d65439a00bd3836bfaa5e130d946d0878d6a440974ff218d79aa10d3099edc7a84c94b300d742b96153d535649cd1580e2bd226d784a4dddc4a3cd41 WHIRLPOOL 082cf1e3e6b0385a1df6683e431f4dbbbf907cb95db82800a6bdb58953966cdbcd4aa728362747c05a82eae304c23a7c69d090dc304a0a70a36c3723a6acee88 +EBUILD eselect-cblas-0.1.ebuild 727 SHA256 9fca22b35c90454397a1937918eaab68dd1811a9f019c3af3bedc179bf7b1a36 SHA512 e24f7944246ca91ebfb15f4596338e146546366805ebe49681e40d29cce1aebbb4110fee98ed7b0bf09854c8fbb3d158cb19f14b584f3b28dde862645f128539 WHIRLPOOL 48d4fa8bcc0d9032778d31c322a0916fe299d4fdb0d49bbf23756e3f5f38fa7ac0fa3dd0de34441254336d94b06367e6bdda6516801ae746b438119d249dc712 +MISC ChangeLog 2524 SHA256 ff2f2485ae1129e229fcb864151ffbef71e596c6dad9fd5903e2bbf78da6411a SHA512 e535d90fb2c20b9b6c0d15a2560c37d276b18fdb338087dfca6fd50d48edc777621a802db96755f7951526f673da154aac78707723cfd569a53bc5b2a7cb8d8d WHIRLPOOL 9cb66d6ec425722c26640277abee7d94aa6b7d9459aa9d921b11cb0cfca7a3f62489a46cad98ea05e4fe7075ba73e1b87810300a59c1a5922c8e10684a17eac2 +MISC ChangeLog-2015 3139 SHA256 2024b50728011e6a0201cf0251d79e461e910ee54f36ff081aabdaa70b77cbeb SHA512 3957ced556c29bc9dc836a183d418445238315206d8e5d1775c9a691143ad1eee443beb2f215dbbdc231eb3e42a68f123d11c49f646db59fb9ed4f798a3d6b29 WHIRLPOOL 2b6ef9e01de60d6d52fbac6742b9823b2e8b6c1bb7dfa0ee413d3354ca8e325c67c5142dabf82db21157a1be58aa900a2ae74fe662979a6e7a085cf60e3b75e3 +MISC metadata.xml 249 SHA256 d92f4663e317d15aa310d71020356d744cc23e6d8bc8a52ef44a2331a3c37adb SHA512 29a9c1817fd4299246d5fa995b73b9f1996b112b70f468139cf9cd8f07077d831e0788d3b93aaba67bb38dce5850830c27543fccbddbac02b0da4ff899def519 WHIRLPOOL b995ffbeda7d1119f53cf016f0ed502521258c348735fe3b362dc082e0f76cf1a09c0848bcfd8b8bc97d6afc6104628f9c3d116a1a8f4c393b1fcc2471f6ddfe diff --git a/app-eselect/eselect-cblas/eselect-cblas-0.1.ebuild b/app-eselect/eselect-cblas/eselect-cblas-0.1.ebuild new file mode 100644 index 000000000000..d1a2faede2d7 --- /dev/null +++ b/app-eselect/eselect-cblas/eselect-cblas-0.1.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +DESCRIPTION="C-language BLAS module for eselect" +HOMEPAGE="https://www.gentoo.org/proj/en/eselect/" +SRC_URI="" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" +IUSE="" + +# Need skel.bash lib +RDEPEND=">=app-admin/eselect-1.0.5" +DEPEND="${RDEPEND}" + +src_install() { + local MODULEDIR="/usr/share/eselect/modules" + local MODULE="cblas" + insinto ${MODULEDIR} + newins "${FILESDIR}"/${MODULE}.eselect-${PVR} ${MODULE}.eselect + doman "${FILESDIR}"/cblas.eselect.5 +} diff --git a/app-eselect/eselect-cblas/files/cblas.eselect-0.1 b/app-eselect/eselect-cblas/files/cblas.eselect-0.1 new file mode 100644 index 000000000000..2fff5981450a --- /dev/null +++ b/app-eselect/eselect-cblas/files/cblas.eselect-0.1 @@ -0,0 +1,14 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +inherit skel + +MODULE="CBLAS" +IFACE="cblas" + +DESCRIPTION="Manage installed $MODULE implementations" +MAINTAINER="spyderous@gentoo.org" +SVN_DATE='$Date: 2015/03/31 16:47:06 $' +VERSION=$(svn_date_to_version "${SVN_DATE}" ) + +# vim: set ft=eselect : diff --git a/app-eselect/eselect-cblas/files/cblas.eselect.5 b/app-eselect/eselect-cblas/files/cblas.eselect.5 new file mode 100644 index 000000000000..6409002d74b6 --- /dev/null +++ b/app-eselect/eselect-cblas/files/cblas.eselect.5 @@ -0,0 +1,65 @@ +.TH "ESELECT" "5" "June 2006" "Gentoo Linux" "eselect" +.SH "NAME" +cblas.eselect \- The CBLAS management module for Gentoo's eselect +.SH "SYNOPSIS" +\fBeselect cblas\fR [\fBhelp\fR|\fBusage\fR] +.br +\fBeselect cblas\fR \fBlist\fR [\fIoptions\fR] +.br +\fBeselect cblas\fR \fBadd\fR +.br +\fBeselect cblas\fR \fBset\fR \fIimplementation\fR [\fIoptions\fR] +.br +\fBeselect cblas\fR \fBshow\fR [\fIoptions\fR] + +.SH "DESCRIPTION" +\fBeselect\fR is Gentoo's configuration and management tool. It features +modules that care for the individual administrative tasks. +.SH "ACTION: LIST" +\fBeselect cblas list\fR [\fIoptions\fR] +.br +Displays an ordered list of installed CBLAS implementations. It distinguishes between versions with different +Application Binary Interfaces (e.g. x86/AMD64). Furthermore, it also distinguishes +between interfaces to high-level programming languages. Each line holds +a number and the implementation's name. An asterisk next to one of the list +elements denotes an active implementation. + +phi / # eselect cblas list +.br +Installed CBLAS for libdir \fBlib\fR +.br + [1] atlas * + [2] reference + +Possible \fIoptions\fR to the \fBlist\fR action are restrictions to +handle only certain ABI\-specific library directories. For example, + +\fBeselect cblas list lib64\fR + +lists only CBLAS implementations found in \fB/usr/lib64\fR. + +.SH "ACTION: SHOW" +\fBeselect cblas show\fR [\fIoptions\fR] +.br +Shows your system's currently active CBLAS implementations. + +phi / # eselect cblas show +.br +lib: atlas +.br +lib64: reference + +The same \fIoptions\fR that apply to the \fBlist\fR action can be used +with the \fBshow\fR action to restrict it to given ABIs. +.SH "ACTION: SET" +\fBeselect cblas set\fR \fIimplementation\fR [\fIoptions\fR] +.br +Sets your system's currently active CBLAS implementations to \fIimplementation\fR. +The same \fIoptions\fR that apply to the \fBlist\fR action can be used +with the \fBset\fR action to restrict it to given ABIs. + +phi / # eselect cblas set atlas +.SH "AUTHOR" +Danny van Dyk <kugelfang@gentoo.org> +.br +Donnie Berkholz <spyderous@gentoo.org> diff --git a/app-eselect/eselect-cblas/metadata.xml b/app-eselect/eselect-cblas/metadata.xml new file mode 100644 index 000000000000..0c6991d7902b --- /dev/null +++ b/app-eselect/eselect-cblas/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>sci@gentoo.org</email> + <name>Gentoo Science Project</name> +</maintainer> +</pkgmetadata> diff --git a/app-eselect/eselect-cdparanoia/Manifest b/app-eselect/eselect-cdparanoia/Manifest new file mode 100644 index 000000000000..37b9e866e065 --- /dev/null +++ b/app-eselect/eselect-cdparanoia/Manifest @@ -0,0 +1,5 @@ +AUX cdparanoia.eselect-0.1 364 SHA256 f8e8ead7744ebaabf73cda845866ecf7e2ca4640ac207b69b279c1ceec3b6f8d SHA512 000d15d17432e7fd7d1e6c56b3ac6069f6ae20a08e20f0380879695bbba726102469fda8ef862f3e23fd8878b1a986e60f4d8194cf19a85eb39b6bf5378a262e WHIRLPOOL e0d9d4563adc7e88768ea38f25371055f9dc7ce17a30adee89958ab6f4dabb5714a51822eab079d05abf53e9a0e5eeb7daa7f18e90a0ea41ca79f45a57873bd5 +EBUILD eselect-cdparanoia-0.1.ebuild 702 SHA256 53be35dd879dd55efbd8263f21db2d53139fb9eb469e1187573a6dadbc7cd5f0 SHA512 a7820b97a74a5930ee3b4415040d0751a591221fbdb5b502b7553f48043ccdebe8af06a8c0f1f167e5507307278b01a247d26c5b9c7d9cd948c64b5e5bc0bc4d WHIRLPOOL b6efc66646b676e7b84314ecbed95de1f53884db26c964623053138ab6a6b55baafdb12c95d6d2472b8d9c775cc55bfce619502e221efc629609bd68a322b781 +MISC ChangeLog 2688 SHA256 1b97137379c508885efd552d9193affc84b9e08bedb2f0b15ca4c05701a742d4 SHA512 82b4e0ec23d398ce6aef6d6846d7abd326612744587ac1ca536fd0a2b27ec2f556a9a3f5e003db0378121e6417f98bc38ec133acc1893023e598ec348e80ffb2 WHIRLPOOL 9b76df0915455c347b5799eb993cadd5aaf7f4cfc2925ea13eb0f604780ef34b5f6b3470dc3273068f27f3d32ed0722c1d9ccabd2226db2565f02d490b17084d +MISC ChangeLog-2015 1932 SHA256 77b5eaaa1e22e623db04db4be80b674de87c7992a37498cafdfc4883e1e86aba SHA512 a06f6c004bd4f8c39a4b58afb2207a858d6bf7b8bd6de01ad6717acb6de37f633938bc19d822d510604cd992ce6347f0904ea9ba160405cb25ca71ef93241c3b WHIRLPOOL b8a7d3480c37f222f436f405143cfcf57c1010b78e162a986a3052a5ebf70af0b25357aeae8514a9b800b012d8066b3f3d157ed8f22dcc43670ff4bf72b2dc3e +MISC metadata.xml 249 SHA256 a591aa91a9c413e7f7e24fd25b924ce2dfef686da8b4ce38bebb088ebfdba9db SHA512 9a100fb26586365eda99724330a03a512f4d0be18d39c3a195ba02c2fc841edeee99d22512acf5a058a3b978d3a74f4d963a5aff9aa343b6cb4086cdfefe6343 WHIRLPOOL ae5b0c583f3a07ed1ccf651b5b9c8d6c8c637fba2d505fc4b028ea60239fc0a84e37a169b5114f879712ae74f7f41960a2cc6b59e67cacc7f964b105b5fb8723 diff --git a/app-eselect/eselect-cdparanoia/eselect-cdparanoia-0.1.ebuild b/app-eselect/eselect-cdparanoia/eselect-cdparanoia-0.1.ebuild new file mode 100644 index 000000000000..d3a3a4e0470d --- /dev/null +++ b/app-eselect/eselect-cdparanoia/eselect-cdparanoia-0.1.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +DESCRIPTION="Manage /usr/bin/cdparanoia symlink" +HOMEPAGE="https://www.gentoo.org/proj/en/eselect/" +SRC_URI="" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" +IUSE="" + +RDEPEND=">=app-eselect/eselect-lib-bin-symlink-0.1.1 + !<media-sound/cdparanoia-3.10.2-r5" +DEPEND=${RDEPEND} + +S=${FILESDIR} + +src_install() { + insinto /usr/share/eselect/modules + newins cdparanoia.eselect-${PV} cdparanoia.eselect +} diff --git a/app-eselect/eselect-cdparanoia/files/cdparanoia.eselect-0.1 b/app-eselect/eselect-cdparanoia/files/cdparanoia.eselect-0.1 new file mode 100644 index 000000000000..70e832e601e2 --- /dev/null +++ b/app-eselect/eselect-cdparanoia/files/cdparanoia.eselect-0.1 @@ -0,0 +1,12 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +DESCRIPTION="Manage /usr/bin/cdparanoia implementation" +MAINTAINER="ssuominen@gentoo.org" +VERSION="0.1" + +SYMLINK_PATH=/usr/bin/cdparanoia +SYMLINK_TARGETS=( cdparanoia-paranoia libcdio-paranoia ) +SYMLINK_DESCRIPTION='cdparanoia binary' + +inherit bin-symlink diff --git a/app-eselect/eselect-cdparanoia/metadata.xml b/app-eselect/eselect-cdparanoia/metadata.xml new file mode 100644 index 000000000000..c870d0eef0ab --- /dev/null +++ b/app-eselect/eselect-cdparanoia/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>sound@gentoo.org</email> + <name>Gentoo Sound project</name> +</maintainer> +</pkgmetadata> diff --git a/app-eselect/eselect-chuck/Manifest b/app-eselect/eselect-chuck/Manifest new file mode 100644 index 000000000000..8006841f5063 --- /dev/null +++ b/app-eselect/eselect-chuck/Manifest @@ -0,0 +1,7 @@ +DIST chuck.eselect-1.0.1.bz2 1268 SHA256 8ce7ecbbc77e35eace774e34223b453329dc2a79a8e2acf5dc495c9f029f1c1e SHA512 875c27bb71bdad309554c0541e495d76cac6c663e0c2b3371376f52bca127dbcdc409790a689dee2b2306999eec9ebde6c0afae093891fc151695838567d2483 WHIRLPOOL 38e3b588b0ee38c3f9150c3e89bcd6c6e31face8bfbf76a1d62f50b71dc53bee3ebefb11f80d39da412b0fa1b4636f974082ca37055e15bf09307269eb8306fb +DIST chuck.eselect-1.0.2.bz2 1261 SHA256 0d472d2ed4637b22e2fe4ff395ef31a6e6668f4504c477a6d9b7297a95735378 SHA512 a89f0ed00a44e81ff16b8668cfa23a0c794efc35bbcf5e2f06eb5fe9a56095948fa8ddf36a8a3371fc7ab255f539b563831b527717b58149d19dc0d3c32ca387 WHIRLPOOL afa7bfefc2bf890c8451665847f573eacf4be999f3b8a74bb7f0679032de90a946cb5e8c0305afa7e0127fa6361b45c264a6efd1d52699a48183af4ebb790189 +EBUILD eselect-chuck-1.0.1.ebuild 493 SHA256 b0f5caa5607abfd6e3067c34239a8432667faf9c1eb68a66d8ab9e901659e291 SHA512 a99b4771c52bb53753847d8f35750076232101e8081a1d03e15cbd762a204e122f7b4f7e8a207957c72c64ecb3c8524d1535491329896fbdd56f6956360cb4b1 WHIRLPOOL 451c57addd404574f8db3f8c26c38b79ea7010d373fc346d34de53d42519e36248ada6fb1a500bfc795b5156f9d99d032c165c14a85388fe16b860498c3fd5be +EBUILD eselect-chuck-1.0.2.ebuild 515 SHA256 6cc719a76a5a65db6f417e478d4e286ca38a827efe4d3244a1b39d045cf6bda6 SHA512 c8a1ec0edca6a4de99aed2d63649c9e56f52d41d6a1f1d7ab411f72372d599139934ac36d41594db084e3f33df93e79250a1000bde231ec23887938c6d618ff0 WHIRLPOOL 5bcd321fca64e8bd37476beb23b47744830892ce891343e5604987c2a5cfdd03bdbf2cc908a55c141810c63fa0214a96625ce147bea561e624ddbbcd0d811c1e +MISC ChangeLog 2966 SHA256 f3f39195b0ac48a178e7cabbcab3d465950ece3e7b537ae41d5fc51093bce108 SHA512 151e938da7e5efe80eaabe6ef4df6739d8a41f1daa335c3e7c9d3dcf5bebb1bc343f591841c07fcbce3295ebb883d135186aa3745676b6e4cdfd662ffff05a0d WHIRLPOOL b6b335c7ce7ac5335255367815bd81e9d8cb12b6c03af6f44b457ee65c153d234b7119559cd4551a19f13883a16bb0a151f6485bdf477cd6cb0e1bbd0cec0590 +MISC ChangeLog-2015 888 SHA256 36eaaf208c2a03f49887af657afbe3f47e36b94243d2526cbbdad7cc73aad8c8 SHA512 ad93e2ef5ecb988c055ea7933232303315097091bfb0c2ce0f6b7a306072e49021c45169a3b1929a52fdd02840e7a1a3bc140daf5c693d3aeb95dfe74a4cbbd8 WHIRLPOOL e2d9432593976227305a09dd6cceb288349c0ebc5e4439aa4ad763d87e986c7acf2866c7bc86ec1ff65626896231e84475c4ff9e797ff8db20d27f1082b6ab49 +MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968 diff --git a/app-eselect/eselect-chuck/eselect-chuck-1.0.1.ebuild b/app-eselect/eselect-chuck/eselect-chuck-1.0.1.ebuild new file mode 100644 index 000000000000..6f634f87039b --- /dev/null +++ b/app-eselect/eselect-chuck/eselect-chuck-1.0.1.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +DESCRIPTION="Manages the /usr/bin/chuck symlink" +HOMEPAGE="https://www.gentoo.org/" +SRC_URI="mirror://gentoo/chuck.eselect-${PVR}.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=app-admin/eselect-1.2.3" +DEPEND="!<=media-sound/chuck-1.2.1.2" + +src_install() { + insinto /usr/share/eselect/modules + newins "${WORKDIR}/chuck.eselect-${PVR}" chuck.eselect || die +} diff --git a/app-eselect/eselect-chuck/eselect-chuck-1.0.2.ebuild b/app-eselect/eselect-chuck/eselect-chuck-1.0.2.ebuild new file mode 100644 index 000000000000..113ad8515a9f --- /dev/null +++ b/app-eselect/eselect-chuck/eselect-chuck-1.0.2.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Manages the /usr/bin/chuck symlink" +HOMEPAGE="https://www.gentoo.org/" +SRC_URI="mirror://gentoo/chuck.eselect-${PVR}.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=app-admin/eselect-1.2.3" +DEPEND="!<=media-sound/chuck-1.2.1.2" + +S=${WORKDIR} + +src_install() { + insinto /usr/share/eselect/modules + newins "${WORKDIR}/chuck.eselect-${PVR}" chuck.eselect || die +} diff --git a/app-eselect/eselect-chuck/metadata.xml b/app-eselect/eselect-chuck/metadata.xml new file mode 100644 index 000000000000..6f49eba8f496 --- /dev/null +++ b/app-eselect/eselect-chuck/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<!-- maintainer-needed --> +</pkgmetadata> diff --git a/app-eselect/eselect-ctags/Manifest b/app-eselect/eselect-ctags/Manifest new file mode 100644 index 000000000000..8dd391b586ea --- /dev/null +++ b/app-eselect/eselect-ctags/Manifest @@ -0,0 +1,5 @@ +DIST eselect-emacs-1.18.tar.xz 8964 SHA256 72e59fc780bfe18aa782862609e2651a0fd14bf381a4529bf5a1d6ab1c1b90df SHA512 9e346dc2331e577716945360de199848606d6b67776c1e7875d1437ff7e03796ac64cd0a3656109be87c0578b45bee1175f0ba4af2be96d0e27442d51bf182aa WHIRLPOOL 6812d8a4e79fc2286715219f5f443ed0aa662249bea3d381e293dd21324b1887bc674f3f7fa7bc94643f555bbd341969b1198f305a60043183e9fdcab31759f9 +EBUILD eselect-ctags-1.18.ebuild 791 SHA256 19e71e9beb73b04ea142d3e4fbe8426641272c8b1dda6fa35caaccf8014122f7 SHA512 519fe42c3e459a03b31fe212f48f6140a6cf71da34d13edd1f26c921fe46d79802f809face96699f655ad2f44d39039895aaedacf704449715a8ccbb32c035c3 WHIRLPOOL fe317b3d00053e4358332679517f63129f0bda66adf6d7b8dee80d927e884fe6085cb21f78c744937d75a524bd854ee1a559071d56761b8944016306be4662da +MISC ChangeLog 2736 SHA256 2e175b546df642447bd848e14b101ee31d35575c7eef332dfe0984c7b017f0a4 SHA512 c85bed1ca4e5d1a643b2b1077b6b6514e6e382796b7a532f1918410aa21119d80fc66addba76847eeb491b0a168c6e022284ce66207e391fc70e24defcb0fe09 WHIRLPOOL fa9fbd9e3d05b3a992d8186ce6bed8fb3b28dfc2ca1b4f86caad7868aa1845436e92d436a20f98887746d7e8541165df5589d90eca5deecca12ac376f1ba0a34 +MISC ChangeLog-2015 11230 SHA256 1155deb4beddfe1dcee92559de5b7af4fcdd23201830a24166aeeb877a443bcf SHA512 f3f3e2ed2a9ace0cf9e7c3e6909e9c0ab2b980e63a851c2ff722b1e1b4fdabe2efa15361d9c144b9a1c6725ea80bbeb56a4d794d9e14c6a02e9e02ac240d863f WHIRLPOOL 163ec3642fbee6351e4865a0c26dc443c15970906d24cc8d24308c394f7132a4ad5da341c06a3fca917e72f1384550a1eacfb4c95791273bb6b4ff188216c026 +MISC metadata.xml 251 SHA256 5033628e170169808a751b9c612b526b410fb54637dd8c2aa8c2dd0b14f3ea74 SHA512 65b7ed1e032f046e0afbc0d0d9da9fcfc4df47d68cd3076cc1f1f645ba0d9a9bce16265dc9b26e666190cd574ee4ac6203b4d7e01a55c5d79081377a52f2860d WHIRLPOOL 3230cccfed524338729c5264fc219009144786ad1ed2fbcd27cb04b71ab84792acf41cd0a987445fd9223e32f70ce7218e7a9ecce97ff4d8ee74b0ac0c2d9b3c diff --git a/app-eselect/eselect-ctags/eselect-ctags-1.18.ebuild b/app-eselect/eselect-ctags/eselect-ctags-1.18.ebuild new file mode 100644 index 000000000000..89c2655d67ec --- /dev/null +++ b/app-eselect/eselect-ctags/eselect-ctags-1.18.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +MY_P="eselect-emacs-${PV}" +DESCRIPTION="Manages ctags implementations" +HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Emacs" +SRC_URI="https://dev.gentoo.org/~ulm/emacs/${MY_P}.tar.xz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +RDEPEND="!<app-eselect/eselect-emacs-1.18 + >=app-admin/eselect-1.2.3" + +S="${WORKDIR}/${MY_P}" + +src_install() { + insinto /usr/share/eselect/modules + doins {ctags,etags}.eselect + doman {ctags,etags}.eselect.5 +} diff --git a/app-eselect/eselect-ctags/metadata.xml b/app-eselect/eselect-ctags/metadata.xml new file mode 100644 index 000000000000..a1a37697cb80 --- /dev/null +++ b/app-eselect/eselect-ctags/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>emacs@gentoo.org</email> + <name>Gentoo Emacs project</name> +</maintainer> +</pkgmetadata> diff --git a/app-eselect/eselect-electron/Manifest b/app-eselect/eselect-electron/Manifest new file mode 100644 index 000000000000..51ddcc9e21ef --- /dev/null +++ b/app-eselect/eselect-electron/Manifest @@ -0,0 +1,4 @@ +DIST eselect-electron-2.0.tar.gz 9673 SHA256 3e9414266f00cff3277967d20b8b6db1eeb5468a48b5ec59b37120a58887dd01 SHA512 1191acdbaf0d7f115dc8bcef259be111bf6631018a74eb0025e66ef3e26929eb6b630afc1a478956aa0c564ba13b318d97f704e093b68e0dbcbd1661f2cb202f WHIRLPOOL c24eb3761dd11103047b38e4fc88536187579148d3a4fdfa4567a5b4592eac22429ac55df9844c4b1492176e24736a1692629cd68c64597b476e8cc45843b2fd +EBUILD eselect-electron-2.0.ebuild 679 SHA256 7fdc8d461e95fa132b3a7de3157bc9322c6f46c3aa5352000818300c9c090580 SHA512 8cbe1fdc46d06aa4c26da9e5368c00ea145bec9ce489cac42e744f0d71f54aa70a9dd95cf25db798604e8de81768f5caa797ce2a32ced24a6690de9f2a221680 WHIRLPOOL 0a9cf9279f6b6e958c95ae7cefb45fe6139b835f8a32627ab9578eb4647034bebac5d5a376d50447d1b3ecb11e452a07291893de850687c956d0710f2e9bbbe5 +MISC ChangeLog 391 SHA256 6b1d7e4e71c41c048bd36434e0848d4a6ca319d46a8998b770d013049a3d4ef3 SHA512 2c68f3e0a13839bda89cec2e34e17d75e5626a0263d46363276e04c1ab395b73637d0af12be819a12d811ed3b3918bd69cca0d5d10911fffc4dd4fcb6a8656af WHIRLPOOL a98d176339e506b45f7c465affdd43236b81c612ef63406b641cfc8c5be91ba58c9443fbe244c61a3d447aac026c200272ea95745aa2500526ea789a50db290b +MISC metadata.xml 455 SHA256 d9d1821f166b9e5c9ce4d2e75e5afe1fb4da5bd3deb4d0e6b74749e22efb3666 SHA512 daabe898c9c09b6ff40b7a5454690794eb6487f4c30b76e52c20a70636898c4069802631b000a6ba62149561019e14296e3d13aebacbd5fcf9d301f8e2fab2d9 WHIRLPOOL a63ccd0e77f723d0bf4bd933f3afaddbb0310fc7e4c9c2ca88d69520faf952a2a5e34e6b773c378e718a2967801b56b8f7133f946f9fae155e53b64809017e54 diff --git a/app-eselect/eselect-electron/eselect-electron-2.0.ebuild b/app-eselect/eselect-electron/eselect-electron-2.0.ebuild new file mode 100644 index 000000000000..5a7856b25c22 --- /dev/null +++ b/app-eselect/eselect-electron/eselect-electron-2.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Utility to select the default Electron slot" +HOMEPAGE="https://www.gentoo.org/" +SRC_URI="https://github.com/elprans/${PN}/archive/v${PV}.tar.gz -> eselect-electron-${PV}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris" +IUSE="" + +RDEPEND="app-admin/eselect" + +src_install() { + insinto /usr/share/eselect/modules + doins electron.eselect + dosym eselect /usr/bin/electron-config +} + +pkg_postinst() { + electron-config update +} diff --git a/app-eselect/eselect-electron/metadata.xml b/app-eselect/eselect-electron/metadata.xml new file mode 100644 index 000000000000..b300580fbde4 --- /dev/null +++ b/app-eselect/eselect-electron/metadata.xml @@ -0,0 +1,15 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>elvis@magic.io</email> + <name>Elvis Pranskevichus</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <upstream> + <remote-id type="github">elprans/eselect-electron</remote-id> + </upstream> +</pkgmetadata> diff --git a/app-eselect/eselect-emacs/Manifest b/app-eselect/eselect-emacs/Manifest new file mode 100644 index 000000000000..a66328401525 --- /dev/null +++ b/app-eselect/eselect-emacs/Manifest @@ -0,0 +1,5 @@ +DIST eselect-emacs-1.18.tar.xz 8964 SHA256 72e59fc780bfe18aa782862609e2651a0fd14bf381a4529bf5a1d6ab1c1b90df SHA512 9e346dc2331e577716945360de199848606d6b67776c1e7875d1437ff7e03796ac64cd0a3656109be87c0578b45bee1175f0ba4af2be96d0e27442d51bf182aa WHIRLPOOL 6812d8a4e79fc2286715219f5f443ed0aa662249bea3d381e293dd21324b1887bc674f3f7fa7bc94643f555bbd341969b1198f305a60043183e9fdcab31759f9 +EBUILD eselect-emacs-1.18.ebuild 741 SHA256 f4b09ec65ee414a1a07c76dd5b6887760124ec06a4c4e325a11578729e3d7b3c SHA512 bd70dcd1c046297e12ce7b23407322f650718a1d7971fc0d1d88b3c173db1b21946fcd8c1f50c3d5fdfec632cd2327cd9f75714966e765c124c8401a47682b09 WHIRLPOOL 3cf41ab67a82dd584c2c4c91dbbbddeeb3922d5fa647f9dc9ed96872a7f725404b8bb8677dea3ed8df8067e75dee88d5bb01cbd66f94c0411390d2ab4103c8ca +MISC ChangeLog 2594 SHA256 2a6a6580565a21c46db2fc2bcbd94a0b9d3f650569f04d5a4db19748f3190c92 SHA512 eb3ba601c9bdb4ab11319f635d62eceb4fb0ce7201612f3652e627b2b89dd8e26e9cee0c8d43d77c8cd4a53a9cb277a52971f5b42be1310e5e91fd1a5c8d9283 WHIRLPOOL 2128cbde5259f08bf9a9a01fec6f647b9f0d6aa2a5d9b8a1b1e60d0b04f728ade344cc173d71a029fd5fbb73ce0b4c81f8a00cb6ed3f2263d5d7c8a818620750 +MISC ChangeLog-2015 16341 SHA256 dd673914db6fb06b4cbe04a93f5833c7a639b5bbf710c02c71b4809bb31dd26f SHA512 97cc27bbe3a8ff40bfc8c8deb21c37dbebd317cea85d8c4c30a2202d5225510160369d68431da6381bbe481840b3df30461b6939b16c330a552076f67015bd34 WHIRLPOOL 793254d926d3c023f644be44686b120dfd0102b08f58a20d8a5e4aff0f26c74129a0c03c1b604a42767112dfa1700734f345087184a804e4cb3f4d4e95d58ddf +MISC metadata.xml 251 SHA256 5033628e170169808a751b9c612b526b410fb54637dd8c2aa8c2dd0b14f3ea74 SHA512 65b7ed1e032f046e0afbc0d0d9da9fcfc4df47d68cd3076cc1f1f645ba0d9a9bce16265dc9b26e666190cd574ee4ac6203b4d7e01a55c5d79081377a52f2860d WHIRLPOOL 3230cccfed524338729c5264fc219009144786ad1ed2fbcd27cb04b71ab84792acf41cd0a987445fd9223e32f70ce7218e7a9ecce97ff4d8ee74b0ac0c2d9b3c diff --git a/app-eselect/eselect-emacs/eselect-emacs-1.18.ebuild b/app-eselect/eselect-emacs/eselect-emacs-1.18.ebuild new file mode 100644 index 000000000000..d8737f799264 --- /dev/null +++ b/app-eselect/eselect-emacs/eselect-emacs-1.18.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +DESCRIPTION="Manage multiple Emacs versions on one system" +HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Emacs" +SRC_URI="https://dev.gentoo.org/~ulm/emacs/${P}.tar.xz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" + +RDEPEND=">=app-admin/eselect-1.2.6 + ~app-eselect/eselect-ctags-${PV}" + +src_compile() { :; } + +src_install() { + insinto /usr/share/eselect/modules + doins {emacs,gnuclient}.eselect + doman {emacs,gnuclient}.eselect.5 + dodoc ChangeLog +} diff --git a/app-eselect/eselect-emacs/metadata.xml b/app-eselect/eselect-emacs/metadata.xml new file mode 100644 index 000000000000..a1a37697cb80 --- /dev/null +++ b/app-eselect/eselect-emacs/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>emacs@gentoo.org</email> + <name>Gentoo Emacs project</name> +</maintainer> +</pkgmetadata> diff --git a/app-eselect/eselect-fontconfig/Manifest b/app-eselect/eselect-fontconfig/Manifest new file mode 100644 index 000000000000..03fd2fdd36bb --- /dev/null +++ b/app-eselect/eselect-fontconfig/Manifest @@ -0,0 +1,8 @@ +AUX fontconfig.eselect-1.0 4394 SHA256 1bb412ad385df4be8e3b475f556ec17ab6271640731d46d468b44b0a069e3259 SHA512 5ca29ddbb672193eac8edc1acdefee0f7924aaba23d8ce40317d3dacd339e820462382d3fdf233c2cf4e4b258a2956e7b86ec6f4f541876789ab234aeaa81f42 WHIRLPOOL 92f480bbdff686e4687a820618f422a8f2bd85c2bd43bb604f80f6fef1e441009712f1d682c18726faa2bfacd60519e31c0d630e02ad73099344a37dd3d18157 +DIST fontconfig.eselect-1.1.bz2 1713 SHA256 1ffe764cff192430f81b37a4e4cc8b7cc2596dca177f798b2ef68cc320f074a5 SHA512 3b5978e20009754f09cd39e39771e8151cbb7bda60378cda718182b2df2c267a64af5ead220a079fbeeffb30586bc432bbc83b94e4f910205c4a29040cd2ccbd WHIRLPOOL 196e444610717104cc011f0e65fc9b97ed79410a055e03bcfbc31ec85d4d2df9f0ef222d143202bfa1374e75fd88f3922df9d5ded6b4668a11a40418dc87f77e +EBUILD eselect-fontconfig-1.0.ebuild 551 SHA256 d4a32a2721ccc4a4dbfa76091aa7aef709bee8d91e387f66b2fa7f539e36e3fb SHA512 52eb2b736b3a8b20766c5929b25d9fe5c2869b42cfdbfc45b6f88f0f5dff9e868b24b34674e402028b2f4e102aa19c75662a7578777f843727dc5ab5ab83340b WHIRLPOOL 64a1be1aec855c682890e993e62e2733513481916f873fd35af39c83441cba0ca1d1da4d75ebf6a2ab349a1c94fdd3879b65cf28f925246d8de6e5dd149c67b6 +EBUILD eselect-fontconfig-1.1-r1.ebuild 801 SHA256 3ba30d02eb4f98f72de5cf827a8971350a61288661d72f84f7b05dcebc36a6c7 SHA512 66dc53bc45395877bb24091e1f86293147c2706619b8d70f45e2cb3b0c76cded73a58fca4a77f4618d84057ce89ceace70c007006f05937cb52ed53ed7e6123e WHIRLPOOL ee0865fc9bc0a4836d1cee32f237e4575b8292b90bde553f424fe48ce4e2a78ed3404432f786b825c9aeed3072cec4eaa72cf175ec1b148ec895f0790de610b5 +EBUILD eselect-fontconfig-1.1.ebuild 782 SHA256 4d35ee42cc046df5718b4a7e36740eb3f12c2040905dea78cbce5d17a636d935 SHA512 ca8389be9cc0142995cea604b14561d83c76a4653ff7f1c5c996523ab4a2ad81c7c682383932a79cff4731aafe9a9ad5ab7772f35a6b38c185497eca66df1dc6 WHIRLPOOL 39685d5d1bca2c98ece37682b1d70a9425964986ca068750446498e9098f5d408104031f7cd96fdd03388bcd4748229aeae4d14f7f00a7d6e928a191d72345cd +MISC ChangeLog 2801 SHA256 a4e9ba868781189bcfc6c4fc31766491864b47d4d08ae90c17a056ab921b2e10 SHA512 94be85ab1deb472d98c9fae7ec12daea9700139fa73c5e9d95bd2d591b3d1c1dabd28cdf22a2fba16249ce1718c1f78f58c5aa1a3efc332595f5eadec7256cb7 WHIRLPOOL 6367793d9a0994c4f49a0f06f586eb92348ef5d3bcd0ae245cd218b63d2b47e720e3cf6941e610757c47634441051b2b8361460036c4c6d80bf4102bbf967a28 +MISC ChangeLog-2015 3685 SHA256 79f58d66cbb47da2865dc11f251da13dfeaebd49f2739b5d98a5784e70fb060a SHA512 23f600d07fd2f8bcc8c05fc5985d6e1dcfad6b8dd25df24bb0f5a314acf7cdf783bf4f5b8bf89d546e442ac49f8edbd8b87c10481dbf75b542e7968fd7072fcb WHIRLPOOL bb11b2e44ff36bce096ba8f31c20ee48985b1132264f38f5adc1729695925d1f7662c25c8eb07184b5acef15d6e09baa6a497318cc8e660352e4228a294062c2 +MISC metadata.xml 238 SHA256 cf46d2323e696a19598784249ea645ab43f8ceb10f74695b01f22b28a5426142 SHA512 5ecba42349e9c39d750f007ac73f6100b85cf54174805a6673b0373434ea83c0f2b64c8a5b167e1fdd5a6c55d366f50cb9ba5a367b9d6dd8d53d797b8839fd5e WHIRLPOOL 22b60503d853ec644c97f4dd9c0627d0297224b22d9ee0ad5ba4597118210c3918510e3cf763e4ebd9b1f4fcd6c339de2d8c0e164cdc614b4c04fee6b7475f24 diff --git a/app-eselect/eselect-fontconfig/eselect-fontconfig-1.0.ebuild b/app-eselect/eselect-fontconfig/eselect-fontconfig-1.0.ebuild new file mode 100644 index 000000000000..4aea1f15fd3b --- /dev/null +++ b/app-eselect/eselect-fontconfig/eselect-fontconfig-1.0.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +DESCRIPTION="An eselect module to manage /etc/fonts/conf.d symlinks" +HOMEPAGE="https://www.gentoo.org" +SRC_URI="" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd" +IUSE="" + +DEPEND="" +RDEPEND="app-admin/eselect + >=media-libs/fontconfig-2.4" + +src_install() { + insinto /usr/share/eselect/modules + newins "${FILESDIR}/fontconfig.eselect-${PV}" fontconfig.eselect || die +} diff --git a/app-eselect/eselect-fontconfig/eselect-fontconfig-1.1-r1.ebuild b/app-eselect/eselect-fontconfig/eselect-fontconfig-1.1-r1.ebuild new file mode 100644 index 000000000000..d84940dd20cc --- /dev/null +++ b/app-eselect/eselect-fontconfig/eselect-fontconfig-1.1-r1.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +DESCRIPTION="An eselect module to manage /etc/fonts/conf.d symlinks" +HOMEPAGE="https://www.gentoo.org" +SRC_URI="mirror://gentoo/fontconfig.eselect-${PV}.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +DEPEND="" +RDEPEND=">=app-admin/eselect-1.2.3 + >=media-libs/fontconfig-2.4" + +S=${WORKDIR} + +src_install() { + insinto /usr/share/eselect/modules + newins "${S}"/fontconfig.eselect-${PV} fontconfig.eselect +} diff --git a/app-eselect/eselect-fontconfig/eselect-fontconfig-1.1.ebuild b/app-eselect/eselect-fontconfig/eselect-fontconfig-1.1.ebuild new file mode 100644 index 000000000000..7f7516bd8305 --- /dev/null +++ b/app-eselect/eselect-fontconfig/eselect-fontconfig-1.1.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +DESCRIPTION="An eselect module to manage /etc/fonts/conf.d symlinks" +HOMEPAGE="https://www.gentoo.org" +SRC_URI="mirror://gentoo/fontconfig.eselect-${PV}.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 m68k ~mips ~ppc ~ppc64 s390 sh ~sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +DEPEND="" +RDEPEND=">=app-admin/eselect-1.2.3 + >=media-libs/fontconfig-2.4" + +S=${WORKDIR} + +src_install() { + insinto /usr/share/eselect/modules + newins "${S}"/fontconfig.eselect-${PV} fontconfig.eselect || die +} diff --git a/app-eselect/eselect-fontconfig/files/fontconfig.eselect-1.0 b/app-eselect/eselect-fontconfig/files/fontconfig.eselect-1.0 new file mode 100644 index 000000000000..0215fe300388 --- /dev/null +++ b/app-eselect/eselect-fontconfig/files/fontconfig.eselect-1.0 @@ -0,0 +1,204 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +DESCRIPTION="Manage fontconfig /etc/fonts/conf.d/ symlinks" +MAINTAINER="fonts@gentoo.org" +VERSION="1.0" + +find_targets() { + local targets bc x i=0 + bcdirs[i]="${ROOT}/etc/fonts/conf.avail/*.conf" + + if [[ -n "${ES_FONTCONFIG_DIRS}" ]] ; then + for x in ${ES_FONTCONFIG_DIRS} ; do + bcdirs[$((++i))]="${x}/*" + done + fi + + for bc in ${bcdirs[@]} ; do + [[ -e ${bc} && ${bc} != *~ ]] && targets="${targets}\n$(basename ${bc})" + done + + echo -ne ${targets} | sort -u +} + +is_enabled() { + bcdir="${ROOT}/etc/fonts/conf.d" + + [[ -e ${bcdir}/${1} ]] || return 1 + return 0 +} + +### list action ### + +describe_list() { + echo "List available fontconfig .conf files" +} + +do_list() { + local opts + targets=( $(find_targets) ) + write_list_start "Available fontconfig .conf files ( $(highlight '*') is enabled ):" + + if [[ -n "${targets[@]}" ]] ; then + for (( n = 0 ; n < ${#targets[@]} ; ++n )) ; do + is_enabled ${opts:-} ${targets[${n}]} && \ + targets[${n}]="${targets[${n}]} $(highlight '*')" + done + write_numbered_list "${targets[@]}" + else + write_kv_list_entry "(none found)" "" + fi + + return 0 +} + +### enable action ### + +describe_enable() { + echo "Enable specified fontconfig .conf file(s)" +} + +describe_enable_parameters() { + echo "<target>" +} + +describe_enable_options() { + echo "<target> : Target name or number (from 'list' action)" +} + +do_enable() { + local bc bcdir="${ROOT}/etc/fonts/conf.d" + + [[ -z ${1} ]] && die -q "You didn't specify any .conf files to enable" + + # create directory if necessary + if [[ ! -d ${bcdir} && -w $(dirname ${bcdir}) ]] ; then + mkdir ${bcdir} || die -q "Failed to create ${bcdir}" + elif [[ ! -d ${bcdir} ]] ; then + die -q "You don't have permission to create ${bcdir}" + fi + + # make sure we have proper permissions + [[ -w ${bcdir} ]] || \ + die -q "You don't have permission to write to ${bcdir}" + + targets=( $(find_targets) ) + + for bc in $@ ; do + local file target=${bc} + + is_number "${target}" && \ + target=${targets[$(( ${target} - 1 ))]} + + [[ -z "${target}" ]] && \ + die -q "Target \"${bc}\" doesn't appear to be valid!" + + bc=${target} + + # ignore any unrecognized options + [[ ${bc} == --* ]] && continue + + # what form is the argument in? + case "${bc}" in + # absolute path + /*) + file="${ROOT}/${bc}" + ;; + # relative path + */*) + file="${ROOT}/${PWD}/${bc}" + ;; + # no path + *) + # CWD + if [[ -f ${bc} ]] ; then + file="${ROOT}/${PWD}/${bc}" + # assume /etc/fonts/conf.avail + elif [[ -f ${ROOT}/etc/fonts/conf.avail/${bc} ]] + then + file="${ROOT}/etc/fonts/conf.avail/${bc}" + else + if [[ -n "${ES_FONTCONFIG_DIRS}" ]] ; then + for x in ${ES_FONTCONFIG_DIRS} ; do + [[ -f ${x}/${bc} ]] && file="${x}/${bc}" + done + fi + + [[ -e ${file} ]] || \ + file="${ROOT}/etc/fonts/conf.avail/${bc}" + fi + ;; + esac + + # does it exist? + if [[ ! -e ${file} ]] ; then + write_error_msg "${file} doesn't exist" + continue + fi + + # already installed? + if [[ -e ${bcdir}/$(basename ${bc}) ]] ; then + write_error_msg "$(basename ${bc}) is already installed" + continue + fi + + # finally, create the symlink + ln -s "${file}" "${bcdir}" || \ + die -q "Failed to create symlink from '${file}' to '${bcdir}'" + done +} + +### disable action ### + +describe_disable() { + echo "Disable specified fontconfig .conf file(s)" +} + +describe_disable_parameters() { + echo "<target>" +} + +describe_disable_options() { + echo "<target> : Target name or number (from 'list' action)" +} + + +do_disable() { + local bc bcdir="${ROOT}/etc/fonts/conf.d" + + [[ -z ${1} ]] && die -q "You didn't specify any .conf files to disable" + + targets=( $(find_targets) ) + + for bc in $@ ; do + local file target=${bc} + + is_number "${target}" && \ + target=${targets[$(( ${target} - 1 ))]} + + [[ -z "${target}" ]] && \ + die -q "Target \"${bc}\" doesn't appear to be valid!" + + bc=${target} + file="${bcdir}/${bc}" + + # ignore any unrecognized options + [[ ${bc} == --* ]] && continue + + # is in installed? + if [[ ! -e ${file} ]] ; then + write_error_msg "${bc} is not installed" + continue + fi + + # remove it if we have permissions + if [[ -w $(dirname ${file}) ]] ; then + rm "${file}" || die -q "Failed to remove ${file}" + else + die -q "You don't have permission to remove ${file}" + fi + done +} + +# vim: set ft=eselect : diff --git a/app-eselect/eselect-fontconfig/metadata.xml b/app-eselect/eselect-fontconfig/metadata.xml new file mode 100644 index 000000000000..cc081897d48c --- /dev/null +++ b/app-eselect/eselect-fontconfig/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>fonts@gentoo.org</email> + <name>Fonts</name> + </maintainer> +</pkgmetadata> diff --git a/app-eselect/eselect-gnat/Manifest b/app-eselect/eselect-gnat/Manifest new file mode 100644 index 000000000000..60004ae61e57 --- /dev/null +++ b/app-eselect/eselect-gnat/Manifest @@ -0,0 +1,14 @@ +AUX gnat-common-1.3-r1.bash 6725 SHA256 5cdae7e043cddbafb4c86dd4c310665045bee0db424f6c6d3a6ed924903498ad SHA512 431aba32979fec9ea76232ff66add372945f829c5cd4a4feea609d025a6d97b459812c9e1484fd54dce8b89d3fad2ab5f55315485be4617f53ca49b226ee28c3 WHIRLPOOL 3b415e2843cb125eed5783fa8aea89dc047f0042979b8fd2b6ba61b579719d397676df4e703297b49e6d80517ef0188d6dc1c819d0ce11d21f61caffa00b738f +AUX gnat-common-1.4-r1.bash 6681 SHA256 4d187cdf8b9b08cd42b2cdfe6ee3e0652f62b8c05bed64c8c3bbeceeef36f502 SHA512 590f91db9fd2c52333f0749edf94cd7d994aa1704c1e32dc00b2325daa3c605f0ea26d9b94387f443c86ac121b8d6f1fe571c173332b12998c2f27dde28a8e25 WHIRLPOOL 9135326ad05db2b115dbaac7d6e5fc85fe0feb1a31d8892da218c9ea4ca891d98db3d1550837b8f1a18e5d22eb58415e2ce892edca47ed0ae0c4f67248719f3d +AUX gnat-common-1.5.bash 6681 SHA256 8e17e87f52d72e5667b1ee045832319154aa85ceb9592e74bc650ebfbe473ba3 SHA512 b190a7b14bc12c6f8a7e702d735e8f42f7b0bd63112ddb2cfb6738c417c146a9d4391266f390403967301eacfeec15360d17d645b87596220e35d20f6354d0d0 WHIRLPOOL 0cd32a476e26b4e91b7a33116335a28fa3f5feffea478c5c2fb3347bd61fe56e1beff2b982b45713f3bfa366d093f9f5ac44f62121eca6cfa1f10f2879c5463a +AUX gnat.eselect-1.3 5246 SHA256 057072fb00b40e82031b68ee97e83ba68ada37ef57f520ce21df20e22da4dc1b SHA512 e884847e1e736be0d6c12bb11d6f203f618040cce9e9c82007f8ec3b1e2d40f78b3e75535eb6f64e6a137c63128eaeb5ccce6113adfc9cb025c078e1af709cd3 WHIRLPOOL a76c7d342b85cf1c4039a68cb726b25553ab6b3ddcf138d228ffd67b118973a32c91e123ed32caf79bece335dd0e7f8ada10a56db5ffccf63a72dbc5cef93ad4 +AUX gnat.eselect-1.4 5969 SHA256 778213712bbb0fd603572b773571a94b1ca89d80e148ba51e31177cc7253bf37 SHA512 a001a13f3d2b2c4488ea622021d733c8dfeb25e65e7a9576450fca08368d89da1c8314d547d0aeb6c7ce78076bd58a2a9e6b266311fe3f58cf3bf80a1fed5402 WHIRLPOOL 7538ae80569e386b27a78f0120e818136b2e83ee1a19cd84314b145290f15a056b950e268552a0eee2c5ec755630338f53e5bbdf01387a59c403d288c2f4799b +AUX gnat.eselect-1.5 5899 SHA256 702d00015bbef54f170113cc49d43b20c86f5877141c8c9009a4cfc3934fbe40 SHA512 5da16c411a85d0f3e534e4f2754b69ea43b7c7e0f830f631b63d72499b87f9c83636f003f30c2af016fb91870a35dd7cbe120d716507dae1e9bf1a1a628fa08f WHIRLPOOL 39201ff2ef93126ce4c005576cf336fed862f97b57a776176c76fd94655b2b4f4217d301793131517222d6d5bd130931bcf4048f3156cdf98b1e0c17db284da0 +EBUILD eselect-gnat-1.3-r1.ebuild 690 SHA256 485594127bb3728e66776c841b335db325bbcc0e98809b4586adc6c831aba987 SHA512 03f464778716d4cbcf6d6fe51f155706c71c61b5df7779482d460831962e8db0d695232d508d20d9366f8a2c146a8d0ad20777b657a1cd210dade1313d338e91 WHIRLPOOL c9e238f4717f6e11d0992b6c5f926d49541a147cf082197a78f77d7e07aa8d90fb528830a59cfd755aea0dec8918695b898613e4174593a7528e5d52d7bfcd38 +EBUILD eselect-gnat-1.4-r1.ebuild 793 SHA256 5f0f14bbab3cd25a0acef59378c1d7869cdea5c1a3b15d5fc09422a63ee03fb0 SHA512 a3c540b99da39052188efaa890d58e0c116d5f216543e24dd6731c5749ae875fa24c1cbd15d46999b63f25dea61fb92ee5c0818a50db7bf8d821d88e97e2f41d WHIRLPOOL eaacf62cdeb86f4b725fe79b1a5e11036eac23744f747d4cec5347e16c6da0c8abe849f9b7d01cbc69601ad633bb73478a4421237ff29f36181b09ffebadacc9 +EBUILD eselect-gnat-1.4.ebuild 793 SHA256 0f2193c3ad62fa8ce25f6d302e1e17fc3a87cca1e7dbd1a3294d2ff967545f09 SHA512 2bf96e840b64f79ccba6a2dc5dd6565b3d29ffaab0c728ac9ced970daeae108e06b2c45b870324682c3eea8d2f54d4df0caed8743c37dab049d7bc1b1539a76e WHIRLPOOL 8bed1231c033399fc0a4e896e3665a80087a0816e86ca1bcd61bc97940a48401ca8606d17b339d58aaeea0c6a641aeabab97dc83e56adc59fa336342c70882c3 +EBUILD eselect-gnat-1.5-r1.ebuild 812 SHA256 88302cf9ea11a448ea40d95e9e62d9f4c7359d6387c38890715b63b6cf1cd4ff SHA512 3ab0e5e084c28475ad8bb7c4e0aa775b00a5a1c972d64f4f7cd1779a5acb97497449cd9eade5a57e88f988d8b0d5829914b7397ce3190989ece1b1247f11d8e2 WHIRLPOOL 7d5c691694c818b75a434dd94dc88e1b57145c1055a98cc5d5f01b0c2d070e806894e41c44a903df116ac388802af1fffd279165aca7f70b52ecc2edce0eca0c +EBUILD eselect-gnat-1.5.ebuild 808 SHA256 6fe67667fc4050e997453c03901380fecfaec57ab626e67b54aa98cc7b835169 SHA512 83db89788fd1594f3655dcca9ed626f457da1b6e1771401029b6dc2ffdf861e250daa3e3b6886f1624b4002919cf33890448480e74387729cb4967ce450e1102 WHIRLPOOL 2b62f552388bbe1e58d4b61a784f0456c1fdbf08bd01099a90845fee325eaece5e36dbb902653a49525b365aa0208e74b50844f98915b0348db8ae1402af183e +MISC ChangeLog 4130 SHA256 cd12091b709c7532cd4b831d86840029e7f75b1da5440f760f022cdc6325d6e0 SHA512 6be2529c94b7ebcf195bb5968857faf914ee62fe6ad0306e3ebb4b10f79964b911defb1e1da01875d66f627e5dff97be2002eef78f00781b3e9474994c3a65e0 WHIRLPOOL 6d823d2eb3ac70a1379e1d0e741db0a9ccb1a08ebca50486cf94064c3f671b4a6a2b9661c46936eef7ad2e73b6efc8f853598f25b8b63bccd3a0ee1590d472a8 +MISC ChangeLog-2015 6507 SHA256 4fbd60988e17ff8454f1b1a0731e5bc1a4fb2198edc7e1f87708dc2710c87bca SHA512 b2be8b12133d4a067d2d3c3f52d379835bdf530dc4a3cd8c303eeca3a59c536d202dcf884f385e1f999b15d2809e96b0fb3bf1b472452cfeded0a868c6fbe6c7 WHIRLPOOL eacdbf17298dbf3aed1dc2b667367fa053f05ea88d7d48b1096e092418478761bacae0b80a91a368cd8e81d957ad533ac433570ac0cae1dafd2c8b580cafd127 +MISC metadata.xml 252 SHA256 53bffe900a9c369e928d80db0bea5cd33438653144525e850ebb9d22d4ed30f0 SHA512 fe0cf16be4ef184cd8dfe3a4ca09a9eb04ff7c954efa447e3587e573a644224528b148226843524ae30aae177782703f166cf115e184bfda24da9f0605c8323a WHIRLPOOL b61406922ef716c991e4fbe887a31a3f1d9528726cd4ad6b56b8c1b88f217cb8d72d108da3f98ea000dc81d3bd9dd872358300e919d475e4fa1dc4af04da9903 diff --git a/app-eselect/eselect-gnat/eselect-gnat-1.3-r1.ebuild b/app-eselect/eselect-gnat/eselect-gnat-1.3-r1.ebuild new file mode 100644 index 000000000000..c05adffcd12e --- /dev/null +++ b/app-eselect/eselect-gnat/eselect-gnat-1.3-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils + +DESCRIPTION="gnat module for eselect" +HOMEPAGE="https://www.gentoo.org" +SRC_URI="" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc x86" + +IUSE="" +RDEPEND="app-admin/eselect" + +S="${WORKDIR}" + +MODULEDIR="/usr/share/eselect/modules" + +# NOTE!! +# This path is duplicated in gnat-eselect module, +# adjust in both locations! +LIBDIR="/usr/share/gnat/lib" + +src_install() { + dodir ${MODULEDIR} + insinto ${MODULEDIR} + newins "${FILESDIR}"/gnat.eselect-${PV} gnat.eselect + dodir ${LIBDIR} + insinto ${LIBDIR} + newins "${FILESDIR}"/gnat-common-${PVR}.bash gnat-common.bash +} diff --git a/app-eselect/eselect-gnat/eselect-gnat-1.4-r1.ebuild b/app-eselect/eselect-gnat/eselect-gnat-1.4-r1.ebuild new file mode 100644 index 000000000000..c5e81999f4c6 --- /dev/null +++ b/app-eselect/eselect-gnat/eselect-gnat-1.4-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils + +DESCRIPTION="gnat module for eselect" +HOMEPAGE="https://www.gentoo.org" +SRC_URI="" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" + +IUSE="" +RDEPEND="app-admin/eselect" + +S="${WORKDIR}" + +MODULEDIR="/usr/share/eselect/modules" + +# NOTE!! +# This path is duplicated in gnat-eselect module, +# adjust in both locations! +LIBDIR="/usr/share/gnat/lib" + +src_install() { + dodir ${MODULEDIR} + insinto ${MODULEDIR} + newins "${FILESDIR}"/gnat.eselect-${PV} gnat.eselect + dodir ${LIBDIR} + insinto ${LIBDIR} + # !ATTN! + # Make sure to adjust version of installed file to a proper one if there is + # a change! + newins "${FILESDIR}"/gnat-common-${PVR}.bash gnat-common.bash +} diff --git a/app-eselect/eselect-gnat/eselect-gnat-1.4.ebuild b/app-eselect/eselect-gnat/eselect-gnat-1.4.ebuild new file mode 100644 index 000000000000..73a6543927f5 --- /dev/null +++ b/app-eselect/eselect-gnat/eselect-gnat-1.4.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils + +DESCRIPTION="gnat module for eselect" +HOMEPAGE="https://www.gentoo.org" +SRC_URI="" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" + +IUSE="" +RDEPEND="app-admin/eselect" + +S="${WORKDIR}" + +MODULEDIR="/usr/share/eselect/modules" + +# NOTE!! +# This path is duplicated in gnat-eselect module, +# adjust in both locations! +LIBDIR="/usr/share/gnat/lib" + +src_install() { + dodir ${MODULEDIR} + insinto ${MODULEDIR} + newins "${FILESDIR}"/gnat.eselect-${PV} gnat.eselect + dodir ${LIBDIR} + insinto ${LIBDIR} + # !ATTN! + # Make sure to adjust version of installed file to a proper one if there is + # a change! + newins "${FILESDIR}"/gnat-common-1.3-r1.bash gnat-common.bash +} diff --git a/app-eselect/eselect-gnat/eselect-gnat-1.5-r1.ebuild b/app-eselect/eselect-gnat/eselect-gnat-1.5-r1.ebuild new file mode 100644 index 000000000000..c3ec41a07026 --- /dev/null +++ b/app-eselect/eselect-gnat/eselect-gnat-1.5-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils + +DESCRIPTION="gnat module for eselect" +HOMEPAGE="https://www.gentoo.org" +SRC_URI="" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~x86 ~sparc" + +IUSE="" +RDEPEND=">=app-admin/eselect-1.2.5" + +S="${WORKDIR}" + +MODULEDIR="/usr/share/eselect/modules" + +# NOTE!! +# This path is duplicated in gnat-eselect module, +# adjust in both locations! +LIBDIR="/usr/share/gnat/lib" + +src_install() { + dodir ${MODULEDIR} + insinto ${MODULEDIR} + newins "${FILESDIR}"/gnat.eselect-${PV} gnat.eselect + dodir ${LIBDIR} + insinto ${LIBDIR} + # !ATTN! + # Make sure to adjust version of installed file to a proper one if there is + # a change! + newins "${FILESDIR}"/gnat-common-${PV}.bash gnat-common.bash +} diff --git a/app-eselect/eselect-gnat/eselect-gnat-1.5.ebuild b/app-eselect/eselect-gnat/eselect-gnat-1.5.ebuild new file mode 100644 index 000000000000..fe933b324b5d --- /dev/null +++ b/app-eselect/eselect-gnat/eselect-gnat-1.5.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils + +DESCRIPTION="gnat module for eselect" +HOMEPAGE="https://www.gentoo.org" +SRC_URI="" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~sparc" + +IUSE="" +RDEPEND=">=app-admin/eselect-1.2.5" + +S="${WORKDIR}" + +MODULEDIR="/usr/share/eselect/modules" + +# NOTE!! +# This path is duplicated in gnat-eselect module, +# adjust in both locations! +LIBDIR="/usr/share/gnat/lib" + +src_install() { + dodir ${MODULEDIR} + insinto ${MODULEDIR} + newins "${FILESDIR}"/gnat.eselect-${PV} gnat.eselect + dodir ${LIBDIR} + insinto ${LIBDIR} + # !ATTN! + # Make sure to adjust version of installed file to a proper one if there is + # a change! + newins "${FILESDIR}"/gnat-common-1.4-r1.bash gnat-common.bash +} diff --git a/app-eselect/eselect-gnat/files/gnat-common-1.3-r1.bash b/app-eselect/eselect-gnat/files/gnat-common-1.3-r1.bash new file mode 100644 index 000000000000..d65994515022 --- /dev/null +++ b/app-eselect/eselect-gnat/files/gnat-common-1.3-r1.bash @@ -0,0 +1,222 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +# +# Original Author: George Shapovalov <george@gentoo.org> +# Purpose: Contains common vars/locations and functions for use by gnat.eclass, +# gnat.eselect and gnatbuild.eclass. +# +# NOTE!!! +# This code should just define vars (try to limit these!) and simple functions. +# No bash extensions!! +# That is, no portage or eclass constructs are allowed! +# + + + +# ---------------------------------- +# Globals + +# Environmantal stuff (for env update) +SPECSDIR="/usr/share/gnat/eselect" +ENVDIR="/etc/env.d" +MARKER="55gnat-" + +# User configurable settings +SETTINGSDIR="/etc/ada" +PRIMELIST="${SETTINGSDIR}/primary_compilers" + +## Lib install locations +## +## Gnat profile dependent files go under under ${LibTop}/${Gnat_Profile}/${PN} +## and common files go unde SpecsDir, DataDir +#PREFIX=/usr +## Replace %LIBDIR% below with $(get_libdir) in eclasses and ebuilds (top level Ok, inherit multilib) +## or $(profile2libdir ${profile}) in this code, eselect module or anywhere +## outside portage (as profile will be available only during actual execution, this only should +## be done inside corresponding functions). +#AdalibSpecsDir=${PREFIX}/include/ada +#AdalibDataDir=${PREFIX}/share/ada +#AdalibLibTop=${PREFIX}/%LIBDIR%/ada + + +# ------------------------------------ +# Helpers +# + +# get_all_profile_components splits gnat profile and returns pace separated list of its components: +# x86_64-pc-linux-gnu-gnat-gcc-4.1 -> x86_64-pc-linux-gnu gcc 4.1 +# args: +# $1 - the string to split +get_all_profile_components() { + local GnatSLOT=${1##*-} + local remainder=${1%-*} + local GnatPkg=${remainder##*-} + remainder=${remainder%-gnat-*} + echo "${remainder} ${GnatPkg} ${GnatSLOT}" +} + +# similar to above, returns only SLOT component: +# x86_64-pc-linux-gnu-gnat-gcc-4.1 -> 4.1 +# args: +# $1 - the string to extract the slot from +get_gnat_SLOT() { + echo "${1##*-}" +} + +# returns only Pkg component: +# x86_64-pc-linux-gnu-gnat-gcc-4.1 -> gcc +# args: +# $1 - the string to extract the slot from +get_gnat_Pkg() { + local remainder=${1%-*} + echo "${remainder##*-}" +} + +# returns only Arch component: +# x86_64-pc-linux-gnu-gnat-gcc-4.1 -> x86_64-pc-linux-gnu +# args: +# $1 - the string to extract the slot from +get_gnat_Arch() { + echo ${1%-gnat-*} +} + + + +## ------------------------------------------- +# gnat profile and lib detection functions + + +# create a list of all gnat env.d files +# for now use trivial implementation - store name of active profile in the +# env file name, so it gets called 55gnat-${ARCH}-${PN}-${SLOT} +get_env_list() { + for fn in ${ENVDIR}/${MARKER}*; do + echo $(basename ${fn}) + done +} + + + +# find all installed compilers and return a list +find_all_compilers() { + [[ ! -d ${SPECSDIR} ]] && exit + for fn in ${SPECSDIR}/*; do + [[ ! -d ${fn} ]] && echo $(basename ${fn}); + done +} + +# find installed primary compilers and return a list +find_primary_compilers() { + [[ ! -f ${PRIMELIST} ]] && exit + for fn in $(cat ${PRIMELIST}); do + [[ -f ${SPECSDIR}/${fn} ]] && echo ${fn}; + done +} + +# find installed libs and return a list +find_all_libs() { + [[ ! -d ${SPECSDIR} ]] && exit + for fn in ${SPECSDIR}/*; do + [[ -d ${fn} ]] && echo $(basename ${fn}); + done +} + +# find libs that have been built for a given profile +# Arguments: +# $1 - gnat profile for which to detect active libs +find_libs4profile() { + libs=( $(find_all_libs) ) + + for (( i = 0 ; i < ${#libs[@]} ; i = i + 1 )) ; do + [[ -f ${SPECSDIR}/${libs[$i]}/$1 ]] && echo "${libs[$i]}" + done +} + + + + +## ----------------------- +# main action - central part of do_set and helpers + + +# extracts values of the passed var definition from given spec file +# params: +# $1: spec file (as generated by gnabuild.eclass) +# $2: variable name +get_var_from_spec() { + local var=$(grep -e "^ *$2=" $1|cut -d= -f2) + echo ${var} +} + + +# Cycle through given libs and form a ':' separated list of settings for the given +# var. Returned string starts with ':' if there is any non-empty setting, +# otherwise returns empty string. Repeating settings are omitted, that is +# unique entry is added only first time it is encountered. No need to have some +# common dir listed many times in PATH for example. +# +# params: +# $1 - name of env var to process +# $2 - name of gnat profile +# $3.. - list of libs to check (to avoid its composition every time) +# - the list is expanded to list of args at the point of call +get_lib_var_settings() { + local envVar=$1 + local toset=$2 + #echo "get_lib_var_settings params:$@" >> /tmp/eselect-gnat.rep + if [[ "none" != ${3} ]]; then + local envString + local specLine + while [[ -n $3 ]]; do + specLine=$(get_var_from_spec ${SPECSDIR}/$3/${toset} ${envVar}) + #echo "$3:${specLine}." >> /tmp/eselect-gnat.rep + if [[ -n ${specLine} ]] && [[ ! ${envString} =~ ${specLine} ]]; then + envString="${envString}:${specLine}" + fi + shift + done + echo "${envString}" + fi +} + + + +# The action! +# Part common for do_set and do_update of gnat.eselect, also used in gnat.eclass +# to set environment during lib build and installation +# +# params: +# $1 - profile to set (toset param inside) +# $2 - envfile + +generate_envFile() { + local toset=$1 + local envfile=$2 + + local binpath="$(get_var_from_spec ${SPECSDIR}/${toset} binpath)" + local libexecpath="$(get_var_from_spec ${SPECSDIR}/${toset} libexecpath)" + local libs=( $(find_libs4profile ${toset}) ) + #echo "generate_envFile: ${libs[@]}" >> /tmp/eselect-gnat.rep + if (( 0 == ${#libs[@]} )); then + libs="none" + fi + + local MyPath="${binpath}:${libexecpath}$(get_lib_var_settings PATH ${toset} ${libs[@]})" + echo "PATH=${MyPath}" > "${envfile}" + echo "ROOTPATH=${MyPath}" >> "${envfile}" + echo "MANPATH=$(get_var_from_spec ${SPECSDIR}/${toset} manpath)$(get_lib_var_settings MANPATH ${toset} ${libs[@]})" >> "${envfile}" + echo "INFOPATH=$(get_var_from_spec ${SPECSDIR}/${toset} infopath)$(get_lib_var_settings INFOPATH ${toset} ${libs[@]})" >> "${envfile}" + # the next three use the common base + local libBase=$(get_var_from_spec ${SPECSDIR}/${toset} ldpath) + echo "LDPATH=${libBase}:${libBase}/adalib$(get_lib_var_settings LDPATH ${toset} ${libs[@]})" >> "${envfile}" + echo "ADA_INCLUDE_PATH=${libBase}/adainclude$(get_lib_var_settings ADA_INCLUDE_PATH ${toset} ${libs[@]})" >> "${envfile}" + echo "ADA_OBJECTS_PATH=${libBase}/adalib$(get_lib_var_settings ADA_OBJECTS_PATH ${toset} ${libs[@]})" >> "${envfile}" + # ADA_PROJECT_PATH may not be set in any of the installed packages, + # we should only create this line if cumulative var is non-empty + My_ProjectPath=$(get_lib_var_settings ADA_PROJECT_PATH ${toset} ${libs[@]}) + if [[ -n ${My_ProjectPath} ]]; then + echo "ADA_PROJECT_PATH=${My_ProjectPath}" >> "${envfile}" + fi +} + diff --git a/app-eselect/eselect-gnat/files/gnat-common-1.4-r1.bash b/app-eselect/eselect-gnat/files/gnat-common-1.4-r1.bash new file mode 100644 index 000000000000..5f3c0c8bf8b7 --- /dev/null +++ b/app-eselect/eselect-gnat/files/gnat-common-1.4-r1.bash @@ -0,0 +1,225 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +# +# Author: George Shapovalov <george@gentoo.org> +# Purpose: Contains common vars/locations and functions for use by gnat.eclass, +# gnat.eselect and gnatbuild.eclass. +# +# NOTE!!! +# This code should just define vars (try to limit these!) and simple functions. +# No bash extensions!! +# That is, no portage or eclass constructs are allowed! +# + + + +# ---------------------------------- +# Globals + +# Environmantal stuff (for env update) +SPECSDIR="/usr/share/gnat/eselect" +ENVDIR="/etc/env.d" +MARKER="55gnat-" + +# User configurable settings +SETTINGSDIR="/etc/ada" +PRIMELIST="${SETTINGSDIR}/primary_compilers" + +## Lib install locations +## +## Gnat profile dependent files go under under ${LibTop}/${Gnat_Profile}/${PN} +## and common files go unde SpecsDir, DataDir +#PREFIX=/usr +## Replace %LIBDIR% below with $(get_libdir) in eclasses and ebuilds (top level Ok, inherit multilib) +## or $(profile2libdir ${profile}) in this code, eselect module or anywhere +## outside portage (as profile will be available only during actual execution, this only should +## be done inside corresponding functions). +#AdalibSpecsDir=${PREFIX}/include/ada +#AdalibDataDir=${PREFIX}/share/ada +#AdalibLibTop=${PREFIX}/%LIBDIR%/ada + + +# ------------------------------------ +# Helpers +# + +# get_all_profile_components splits gnat profile and returns pace separated list of its components: +# x86_64-pc-linux-gnu-gnat-gcc-4.1 -> x86_64-pc-linux-gnu gcc 4.1 +# args: +# $1 - the string to split +get_all_profile_components() { + local GnatSLOT=${1##*-} + local remainder=${1%-*} + local GnatPkg=${remainder##*-} + remainder=${remainder%-gnat-*} + echo "${remainder} ${GnatPkg} ${GnatSLOT}" +} + +# similar to above, returns only SLOT component: +# x86_64-pc-linux-gnu-gnat-gcc-4.1 -> 4.1 +# args: +# $1 - the string to extract the slot from +get_gnat_SLOT() { + echo "${1##*-}" +} + +# returns only Pkg component: +# x86_64-pc-linux-gnu-gnat-gcc-4.1 -> gcc +# args: +# $1 - the string to extract the slot from +get_gnat_Pkg() { + local remainder=${1%-*} + echo "${remainder##*-}" +} + +# returns only Arch component: +# x86_64-pc-linux-gnu-gnat-gcc-4.1 -> x86_64-pc-linux-gnu +# args: +# $1 - the string to extract the slot from +get_gnat_Arch() { + echo ${1%-gnat-*} +} + + + +## ------------------------------------------- +# gnat profile and lib detection functions + + +# create a list of all gnat env.d files +# for now use trivial implementation - store name of active profile in the +# env file name, so it gets called 55gnat-${ARCH}-${PN}-${SLOT} +get_env_list() { + for fn in ${ENVDIR}/${MARKER}*; do + echo $(basename ${fn}) + done +} + + + +# find all installed compilers and return a list +find_all_compilers() { + [[ ! -d ${SPECSDIR} ]] && exit + for fn in ${SPECSDIR}/*; do + [[ ! -d ${fn} ]] && echo $(basename ${fn}); + done +} + +# find installed primary compilers and return a list +find_primary_compilers() { + [[ ! -f ${PRIMELIST} ]] && exit + for fn in $(cat ${PRIMELIST}); do + [[ -f ${SPECSDIR}/${fn} ]] && echo ${fn}; + done +} + +# find installed libs and return a list +find_all_libs() { + [[ ! -d ${SPECSDIR} ]] && exit + for fn in ${SPECSDIR}/*; do + [[ -d ${fn} ]] && echo $(basename ${fn}); + done +} + +# find libs that have been built for a given profile +# Arguments: +# $1 - gnat profile for which to detect active libs +find_libs4profile() { + libs=( $(find_all_libs) ) + + for (( i = 0 ; i < ${#libs[@]} ; i = i + 1 )) ; do + [[ -f ${SPECSDIR}/${libs[$i]}/$1 ]] && echo "${libs[$i]}" + done +} + + + + +## ----------------------- +# main action - central part of do_set and helpers + + +# extracts values of the passed var definition from given spec file +# params: +# $1: spec file (as generated by gnabuild.eclass) +# $2: variable name +get_var_from_spec() { + local var=$(grep -e "^ *$2=" $1|cut -d= -f2) + echo ${var} +} + + +# Cycle through given libs and form a ':' separated list of settings for the given +# var. Repeating settings are omitted, that is unique entry is added only first +# time it is encountered. +# +# params: +# $1 - name of env var to process +# $2 - name of gnat profile +# $3.. - list of libs to check (to avoid its composition every time) +# - the list is expanded to list of args at the point of call +get_lib_var_settings() { + local envVar=$1 + local toset=$2 + #echo "get_lib_var_settings params:$@" >> /tmp/eselect-gnat.rep + if [[ "none" != ${3} ]]; then + local envString + local specLine=$(get_var_from_spec ${SPECSDIR}/$3/${toset} ${envVar}) + if [[ -n ${specLine} ]]; then + envString="${specLine}" + fi + shift + # + while [[ -n $3 ]]; do + specLine=$(get_var_from_spec ${SPECSDIR}/$3/${toset} ${envVar}) + #echo "$3:${specLine}." >> /tmp/eselect-gnat.rep + if [[ -n ${specLine} ]] && [[ ! ${envString} =~ ${specLine} ]]; then + envString="${envString}:${specLine}" + fi + shift + done + echo "${envString}" + fi +} + + + +# The action! +# Part common for do_set and do_update of gnat.eselect, also used in gnat.eclass +# to set environment during lib build and installation +# +# params: +# $1 - profile to set (toset param inside) +# $2 - envfile + +generate_envFile() { + local toset=$1 + local envfile=$2 + + local binpath="$(get_var_from_spec ${SPECSDIR}/${toset} binpath)" + local libexecpath="$(get_var_from_spec ${SPECSDIR}/${toset} libexecpath)" + local libs=( $(find_libs4profile ${toset}) ) + #echo "generate_envFile: ${libs[@]}" >> /tmp/eselect-gnat.rep + if (( 0 == ${#libs[@]} )); then + libs="none" + fi + + local MyPath="${binpath}:${libexecpath}:$(get_lib_var_settings PATH ${toset} ${libs[@]})" + echo "PATH=${MyPath}" > "${envfile}" + echo "ROOTPATH=${MyPath}" >> "${envfile}" + echo "MANPATH=$(get_var_from_spec ${SPECSDIR}/${toset} manpath):$(get_lib_var_settings MANPATH ${toset} ${libs[@]})" >> "${envfile}" + echo "INFOPATH=$(get_var_from_spec ${SPECSDIR}/${toset} infopath):$(get_lib_var_settings INFOPATH ${toset} ${libs[@]})" >> "${envfile}" + # the next three use the common base + local libBase=$(get_var_from_spec ${SPECSDIR}/${toset} ldpath) + echo "LDPATH=${libBase}:${libBase}/adalib:$(get_lib_var_settings LDPATH ${toset} ${libs[@]})" >> "${envfile}" + echo "ADA_INCLUDE_PATH=${libBase}/adainclude:$(get_lib_var_settings ADA_INCLUDE_PATH ${toset} ${libs[@]})" >> "${envfile}" + echo "ADA_OBJECTS_PATH=${libBase}/adalib:$(get_lib_var_settings ADA_OBJECTS_PATH ${toset} ${libs[@]})" >> "${envfile}" + # ADA_PROJECT_PATH may not be set in any of the installed packages, + # we should only create this line if cumulative var is non-empty + My_ProjectPath=$(get_lib_var_settings ADA_PROJECT_PATH ${toset} ${libs[@]}) + if [[ -n ${My_ProjectPath} ]]; then + echo "ADA_PROJECT_PATH=${My_ProjectPath}" >> "${envfile}" + fi +} + diff --git a/app-eselect/eselect-gnat/files/gnat-common-1.5.bash b/app-eselect/eselect-gnat/files/gnat-common-1.5.bash new file mode 100644 index 000000000000..05af905579ae --- /dev/null +++ b/app-eselect/eselect-gnat/files/gnat-common-1.5.bash @@ -0,0 +1,225 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +# +# Author: George Shapovalov <george@gentoo.org> +# Purpose: Contains common vars/locations and functions for use by gnat.eclass, +# gnat.eselect and gnatbuild.eclass. +# +# NOTE!!! +# This code should just define vars (try to limit these!) and simple functions. +# No bash extensions!! +# That is, no portage or eclass constructs are allowed! +# + + + +# ---------------------------------- +# Globals + +# Environmantal stuff (for env update) +SPECSDIR="/usr/share/gnat/eselect" +ENVDIR="/etc/env.d" +MARKER="55gnat-" + +# User configurable settings +SETTINGSDIR="/etc/ada" +PRIMELIST="${SETTINGSDIR}/primary_compilers" + +## Lib install locations +## +## Gnat profile dependent files go under under ${LibTop}/${Gnat_Profile}/${PN} +## and common files go unde SpecsDir, DataDir +#PREFIX=/usr +## Replace %LIBDIR% below with $(get_libdir) in eclasses and ebuilds (top level Ok, inherit multilib) +## or $(profile2libdir ${profile}) in this code, eselect module or anywhere +## outside portage (as profile will be available only during actual execution, this only should +## be done inside corresponding functions). +#AdalibSpecsDir=${PREFIX}/include/ada +#AdalibDataDir=${PREFIX}/share/ada +#AdalibLibTop=${PREFIX}/%LIBDIR%/ada + + +# ------------------------------------ +# Helpers +# + +# get_all_profile_components splits gnat profile and returns pace separated list of its components: +# x86_64-pc-linux-gnu-gnat-gcc-4.1 -> x86_64-pc-linux-gnu gcc 4.1 +# args: +# $1 - the string to split +get_all_profile_components() { + local GnatSLOT=${1##*-} + local remainder=${1%-*} + local GnatPkg=${remainder##*-} + remainder=${remainder%-gnat-*} + echo "${remainder} ${GnatPkg} ${GnatSLOT}" +} + +# similar to above, returns only SLOT component: +# x86_64-pc-linux-gnu-gnat-gcc-4.1 -> 4.1 +# args: +# $1 - the string to extract the slot from +get_gnat_SLOT() { + echo "${1##*-}" +} + +# returns only Pkg component: +# x86_64-pc-linux-gnu-gnat-gcc-4.1 -> gcc +# args: +# $1 - the string to extract the slot from +get_gnat_Pkg() { + local remainder=${1%-*} + echo "${remainder##*-}" +} + +# returns only Arch component: +# x86_64-pc-linux-gnu-gnat-gcc-4.1 -> x86_64-pc-linux-gnu +# args: +# $1 - the string to extract the slot from +get_gnat_Arch() { + echo ${1%-gnat-*} +} + + + +## ------------------------------------------- +# gnat profile and lib detection functions + + +# create a list of all gnat env.d files +# for now use trivial implementation - store name of active profile in the +# env file name, so it gets called 55gnat-${ARCH}-${PN}-${SLOT} +get_env_list() { + for fn in ${ENVDIR}/${MARKER}*; do + echo $(basename ${fn}) + done +} + + + +# find all installed compilers and return a list +find_all_compilers() { + [[ ! -d ${SPECSDIR} ]] && exit + for fn in ${SPECSDIR}/*; do + [[ ! -d ${fn} ]] && echo $(basename ${fn}); + done +} + +# find installed primary compilers and return a list +find_primary_compilers() { + [[ ! -f ${PRIMELIST} ]] && exit + for fn in $(cat ${PRIMELIST}); do + [[ -f ${SPECSDIR}/${fn} ]] && echo ${fn}; + done +} + +# find installed libs and return a list +find_all_libs() { + [[ ! -d ${SPECSDIR} ]] && exit + for fn in ${SPECSDIR}/*; do + [[ -d ${fn} ]] && echo $(basename ${fn}); + done +} + +# find libs that have been built for a given profile +# Arguments: +# $1 - gnat profile for which to detect active libs +find_libs4profile() { + libs=( $(find_all_libs) ) + + for (( i = 0 ; i < ${#libs[@]} ; i = i + 1 )) ; do + [[ -f ${SPECSDIR}/${libs[$i]}/$1 ]] && echo "${libs[$i]}" + done +} + + + + +## ----------------------- +# main action - central part of do_set and helpers + + +# extracts values of the passed var definition from given spec file +# params: +# $1: spec file (as generated by gnabuild.eclass) +# $2: variable name +get_var_from_spec() { + local var=$(grep -e "^ *$2=" $1|cut -d= -f2) + echo ${var} +} + + +# Cycle through given libs and form a ':' separated list of settings for the given +# var. Repeating settings are omitted, that is unique entry is added only first +# time it is encountered. +# +# params: +# $1 - name of env var to process +# $2 - name of gnat profile +# $3.. - list of libs to check (to avoid its composition every time) +# - the list is expanded to list of args at the point of call +get_lib_var_settings() { + local envVar=$1 + local toset=$2 + #echo "get_lib_var_settings params:$@" >> /tmp/eselect-gnat.rep + if [[ "none" != ${3} ]]; then + local envString + local specLine=$(get_var_from_spec ${SPECSDIR}/$3/${toset} ${envVar}) + if [[ -n ${specLine} ]]; then + envString="${specLine}" + fi + shift + # + while [[ -n $3 ]]; do + specLine=$(get_var_from_spec ${SPECSDIR}/$3/${toset} ${envVar}) + #echo "$3:${specLine}." >> /tmp/eselect-gnat.rep + if [[ -n ${specLine} ]] && [[ ! ${envString} =~ ${specLine} ]]; then + envString="${envString}:${specLine}" + fi + shift + done + echo "${envString}" + fi +} + + + +# The action! +# Part common for do_set and do_update of gnat.eselect, also used in gnat.eclass +# to set environment during lib build and installation +# +# params: +# $1 - profile to set (toset param inside) +# $2 - envfile + +generate_envFile() { + local toset=$1 + local envfile=$2 + + local binpath="$(get_var_from_spec ${SPECSDIR}/${toset} binpath)" + local libexecpath="$(get_var_from_spec ${SPECSDIR}/${toset} libexecpath)" + local libs=( $(find_libs4profile ${toset}) ) + #echo "generate_envFile: ${libs[@]}" >> /tmp/eselect-gnat.rep + if (( 0 == ${#libs[@]} )); then + libs="none" + fi + + local MyPath="${binpath}:${libexecpath}:$(get_lib_var_settings PATH ${toset} ${libs[@]})" + echo "PATH=${MyPath}" > "${envfile}" + echo "ROOTPATH=${MyPath}" >> "${envfile}" + echo "MANPATH=$(get_var_from_spec ${SPECSDIR}/${toset} manpath):$(get_lib_var_settings MANPATH ${toset} ${libs[@]})" >> "${envfile}" + echo "INFOPATH=$(get_var_from_spec ${SPECSDIR}/${toset} infopath):$(get_lib_var_settings INFOPATH ${toset} ${libs[@]})" >> "${envfile}" + # the next three use the common base + local libBase=$(get_var_from_spec ${SPECSDIR}/${toset} ldpath) + echo "LDPATH=${libBase}:${libBase}/adalib:$(get_lib_var_settings LDPATH ${toset} ${libs[@]})" >> "${envfile}" + echo "ADA_INCLUDE_PATH=${libBase}/adainclude:$(get_lib_var_settings ADA_INCLUDE_PATH ${toset} ${libs[@]})" >> "${envfile}" + echo "ADA_OBJECTS_PATH=${libBase}/adalib:$(get_lib_var_settings ADA_OBJECTS_PATH ${toset} ${libs[@]})" >> "${envfile}" + # ADA_PROJECT_PATH may not be set in any of the installed packages, + # we should only create this line if cumulative var is non-empty + My_ProjectPath=$(get_lib_var_settings ADA_PROJECT_PATH ${toset} ${libs[@]}) + if [[ -n ${My_ProjectPath} ]]; then + echo "ADA_PROJECT_PATH=${My_ProjectPath}" >> "${envfile}" + fi +} + diff --git a/app-eselect/eselect-gnat/files/gnat.eselect-1.3 b/app-eselect/eselect-gnat/files/gnat.eselect-1.3 new file mode 100644 index 000000000000..548926524747 --- /dev/null +++ b/app-eselect/eselect-gnat/files/gnat.eselect-1.3 @@ -0,0 +1,206 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +DESCRIPTION="Manage the installed gnat compilers" +MAINTAINER="ada@gentoo.org" +SVN_DATE='$Date: 2015/03/31 16:48:57 $' +VERSION=$(svn_date_to_version "${SVN_DATE}" ) + +# "inheriting" common stuff +# this crude sourcing has to stay the way it is, as common code +# cannot be part of some eclass (bug #192505) +. /usr/share/gnat/lib/gnat-common.bash + + +### Phylosophy +# Each gnat installs a "specs" file named ${ARCH}-${PN}-${SLOT} under ${SPECSDIR} +# Each lib creates a dir with its name under ${SPECSDIR} and populates it with +# similar specs files (same name scheme) +# Recognizing gnat specs from lib specs is then eazy - test entry for being a +# dir, then just check what gnat profiles are installed for each lib.. +# doset then creates env file that combines settings for gnat and for the +# corresponding profile of each installed lib.. + + +### Helpers + +# return *the* name of the active profile, checking that we do not have multiple +# env files. +# There can be only one! +get_current_gnat() { + local profiles=( $(get_env_list) ) + + if [ ${profiles[@]} == "${MARKER}*" ]; then exit; fi + + if (( 1 == ${#profiles[@]} )); then + local active=${profiles[0]#${MARKER}} + else + die -q "${ENVDIR} contains multiple gnat profiles, please cleanup!" + fi + + if [ -f ${SPECSDIR}/${active} ]; then + echo ${active} + else + die -q "the active env.d profile does not correspond to any installed gnat!" + fi +} + +# check if the passed arg represents the installed gnat and return it or +# not_found +# takes args: +# $1 - list ID to check +get_name_from_list() { + compiler=$1 + + compilers=( $(find_all_compilers) ) + for (( i = 0 ; i < ${#compilers[@]} ; i = i + 1 )) ; do + if [[ ${compilers[$i]} == ${compiler} ]] ; then + echo ${compiler} + return + fi + done + + echo "(not-found)" +} + + +# removes env files (for compiler and libs) +# params: +# $1: the name of profile for which to remove env file +unset_env() { + rm -f ${ENVDIR}/${MARKER}$1 &> /dev/null +} + + +### show action ### + +describe_show() { + echo "Show the active gnat compiler/profile and installed libs" +} + +do_show() { + write_list_start "Current gnat version:" + active=$(get_current_gnat) + if [ ! -z ${active} ] ; then # not sure why [ -n ] does not do the same + write_kv_list_entry "$active" "" + libs=( $(find_libs4profile ${active}) ) + write_list_start "Active libs:" + write_numbered_list "${libs[@]}" + else + write_kv_list_entry "(none set)" "" + fi +} + +### list action ### + +describe_list() { + echo "List installed gnat compilers and libs" +} + +do_list() { + compilers=( $(find_all_compilers ) ) + active=$(get_current_gnat) + + write_list_start "Available gnat compilers:" + + if [[ -n ${compilers[@]} ]] ; then + local i + for (( i = 0 ; i < ${#compilers[@]} ; i = i + 1 )) ; do + linkversion=${compilers[${i}]} + + [[ $linkversion == $active ]] && \ + compilers[${i}]="${compilers[${i}]} $(highlight '*' )" + done + write_numbered_list "${compilers[@]}" + + # now the libs + libs=( $(find_all_libs) ) + write_list_start "Installed libs:" + for (( i = 0 ; i < ${#libs[@]} ; i = i + 1 )) ; do + [ -f ${SPECSDIR}/${libs[$i]}/${active} ] && \ + libs[${i}]="${libs[${i}]} $(highlight '*' )" + done + write_numbered_list "${libs[@]}" + else + write_kv_list_entry "(none found)" "" + fi +} + + +### set action ### + +describe_set() { + echo "Set active gnat compiler" +} + +# The set action. Parameters: +# $1 - name of profile to set, obligatory, passed by eselect +# $2 - optional, name of env file to generate. Used from gnat.eclass. +do_set() { + if [[ -z ${1} ]] ; then + # no parameter + die -q "You didn't tell me which gnat to use" + fi + + local toset=$(get_name_from_list $1) + if [[ ${toset} == "(not-found)" ]] ; then + die -q "I don't recognise the selection" + fi + + # the action! + # in this implementation simply create an appropriate env file + local active=$(get_current_gnat) + if [[ -z ${2} ]] ; then + local envfile="${ENVDIR}/${MARKER}${toset}" + + # now we need to remove an old env file, which is guaranteed to + # be unique by get_current_gnat above + if [[ -n ${active} ]] ; then + unset_env ${active} + fi + # just for a good measure remove the one we are going to write + unset_env ${toset} + else + local envfile="$2" + fi + + generate_envFile ${toset} ${envfile} + + # force update environment + # should be replaced with "do_action env update" when #172472 gets resolved + env-update &> /dev/null +} + + + +### update action ### +# +# This action regenerates the /etc/env.d file for the current profile. Basically +# the same as set, only it does not take any parameters. It should be called from ebuilds +# installing Ada libs + +describe_update() { + echo "Update active gnat profile picking up new libs." +} + +do_update() { + local toset=$(get_current_gnat) + local envfile="${ENVDIR}/${MARKER}${toset}" + generate_envFile ${toset} ${envfile} + do_action env update &> /dev/null +} + +### unset action ### + +describe_unset() { + echo "Remove settings for currently active gnat" +} + +do_unset() { + local active=$(get_current_gnat) + # check whether we have any profile set before removing anything.. + if [[ -n ${active} ]] ; then + unset_env ${active} + do_action env update &> /dev/null + fi +} diff --git a/app-eselect/eselect-gnat/files/gnat.eselect-1.4 b/app-eselect/eselect-gnat/files/gnat.eselect-1.4 new file mode 100644 index 000000000000..f2a72092c53a --- /dev/null +++ b/app-eselect/eselect-gnat/files/gnat.eselect-1.4 @@ -0,0 +1,229 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +DESCRIPTION="Manage the installed gnat compilers" +MAINTAINER="ada@gentoo.org" +SVN_DATE='$Date: 2015/03/31 16:48:57 $' +VERSION=$(svn_date_to_version "${SVN_DATE}" ) + +# "inheriting" common stuff +# this crude sourcing has to stay the way it is, as common code +# cannot be part of some eclass (bug #192505) +. /usr/share/gnat/lib/gnat-common.bash + + +### Phylosophy +# Each gnat installs a "specs" file named ${ARCH}-${PN}-${SLOT} under ${SPECSDIR} +# Each lib creates a dir with its name under ${SPECSDIR} and populates it with +# similar specs files (same name scheme) +# Recognizing gnat specs from lib specs is then eazy - test entry for being a +# dir, then just check what gnat profiles are installed for each lib.. +# doset then creates env file that combines settings for gnat and for the +# corresponding profile of each installed lib.. + + +### Helpers + +# return *the* name of the active profile, checking that we do not have multiple +# env files. +# There can be only one! +get_current_gnat() { + local profiles=( $(get_env_list) ) + + if [ ${profiles[@]} == "${MARKER}*" ]; then exit; fi + + if (( 1 == ${#profiles[@]} )); then + local active=${profiles[0]#${MARKER}} + else + die -q "${ENVDIR} contains multiple gnat profiles, please cleanup!" + fi + + echo ${active} +# disabling this check, as we want to use get_current_gnat with empty profile +# as an indication that last gnat in SLOT was removed +# if [ -f ${SPECSDIR}/${active} ]; then +# echo ${active} +# else +# die -q "the active env.d profile does not correspond to any installed gnat!" +# fi +} + +# validity check that was removed from get_current_gnat, in case we need it +# somewhere.. +# Arguments: +# $1 - name of the gnat profiel to check +profile_is_valid() { + if [[ -n $1 ]] ; then + [[ -f ${SPECSDIR}/$1 ]] || return 1 + fi +} + +# check if the passed arg represents the installed gnat and return it or +# not_found +# takes args: +# $1 - list ID to check +get_name_from_list() { + compiler=$1 + + compilers=( $(find_all_compilers) ) + for (( i = 0 ; i < ${#compilers[@]} ; i = i + 1 )) ; do + if [[ ${compilers[$i]} == ${compiler} ]] ; then + echo ${compiler} + return + fi + done + + echo "(not-found)" +} + + +# removes env files (for compiler and libs) +# params: +# $1: the name of profile for which to remove env file +unset_env() { + rm -f ${ENVDIR}/${MARKER}$1 &> /dev/null +} + + +### show action ### + +describe_show() { + echo "Show the active gnat compiler/profile and installed libs" +} + +do_show() { + active=$(get_current_gnat) + if $(profile_is_valid ${active}); then + write_list_start "Current gnat version:" + if [[ -n ${active} ]] ; then + write_kv_list_entry "$active" "" + libs=( $(find_libs4profile ${active}) ) + write_list_start "Active libs:" + write_numbered_list "${libs[@]}" + else + write_kv_list_entry "(none set)" "" + fi + else + write_error_msg "The active profile in ${ENVDIR} is not valid! Please set a valid profile!" + fi +} + +### list action ### + +describe_list() { + echo "List installed gnat compilers and libs" +} + +do_list() { + compilers=( $(find_all_compilers ) ) + active=$(get_current_gnat) + + write_list_start "Available gnat compilers:" + + if [[ -n ${compilers[@]} ]] ; then + local i + for (( i = 0 ; i < ${#compilers[@]} ; i = i + 1 )) ; do + linkversion=${compilers[${i}]} + + [[ $linkversion == $active ]] && \ + compilers[${i}]="${compilers[${i}]} $(highlight '*' )" + done + write_numbered_list "${compilers[@]}" + + # now the libs + libs=( $(find_all_libs) ) + write_list_start "Installed libs:" + for (( i = 0 ; i < ${#libs[@]} ; i = i + 1 )) ; do + [ -f ${SPECSDIR}/${libs[$i]}/${active} ] && \ + libs[${i}]="${libs[${i}]} $(highlight '*' )" + done + write_numbered_list "${libs[@]}" + else + write_kv_list_entry "(none found)" "" + fi +} + + +### set action ### + +describe_set() { + echo "Set active gnat compiler" +} + +# The set action. Parameters: +# $1 - name of profile to set, obligatory, passed by eselect +# $2 - optional, name of env file to generate. Used from gnat.eclass. +do_set() { + if [[ -z ${1} ]] ; then + # no parameter + die -q "You didn't tell me which gnat to use" + fi + + local toset=$(get_name_from_list $1) + if [[ ${toset} == "(not-found)" ]] ; then + die -q "I don't recognise the selection" + fi + + # the action! + # in this implementation simply create an appropriate env file + local active=$(get_current_gnat) + if [[ -z ${2} ]] ; then + local envfile="${ENVDIR}/${MARKER}${toset}" + + # now we need to remove an old env file, which is guaranteed to + # be unique by get_current_gnat above + if [[ -n ${active} ]] ; then + unset_env ${active} + fi + # just for a good measure remove the one we are going to write + unset_env ${toset} + else + local envfile="$2" + fi + + generate_envFile ${toset} ${envfile} + + # force update environment + # should be replaced with "do_action env update" when #172472 gets resolved + env-update &> /dev/null +} + + + +### update action ### +# +# This action regenerates the /etc/env.d file for the current profile. Basically +# the same as set, only it does not take any parameters. It should be called from ebuilds +# installing Ada libs or in the pkg_postrm in gnatbuild.eclass, to clean up the +# profile if last gnat in SLOT was removed. + +describe_update() { + echo "Update active gnat profile picking up new libs." +} + +do_update() { + local toset=$(get_current_gnat) + local envfile="${ENVDIR}/${MARKER}${toset}" + # now check whether to update or unset the profile + if $(profile_is_valid ${toset}); then + generate_envFile ${toset} ${envfile} + else + unset_env ${toset} + fi + do_action env update &> /dev/null +} + +### unset action ### + +describe_unset() { + echo "Remove settings for currently active gnat" +} + +do_unset() { + local active=$(get_current_gnat) + # check whether we have any profile set before removing anything.. + if [[ -n ${active} ]] ; then + unset_env ${active} + do_action env update &> /dev/null + fi +} diff --git a/app-eselect/eselect-gnat/files/gnat.eselect-1.5 b/app-eselect/eselect-gnat/files/gnat.eselect-1.5 new file mode 100644 index 000000000000..fa312feccbbe --- /dev/null +++ b/app-eselect/eselect-gnat/files/gnat.eselect-1.5 @@ -0,0 +1,225 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +DESCRIPTION="Manage the installed gnat compilers" +MAINTAINER="ada@gentoo.org" +SVN_DATE='$Date: 2015/03/31 16:48:57 $' +VERSION=$(svn_date_to_version "${SVN_DATE}" ) + +# "inheriting" common stuff +# this crude sourcing has to stay the way it is, as common code +# cannot be part of some eclass (bug #192505) +. /usr/share/gnat/lib/gnat-common.bash + + +### Phylosophy +# Each gnat installs a "specs" file named ${ARCH}-${PN}-${SLOT} under ${SPECSDIR} +# Each lib creates a dir with its name under ${SPECSDIR} and populates it with +# similar specs files (same name scheme) +# Recognizing gnat specs from lib specs is then eazy - test entry for being a +# dir, then just check what gnat profiles are installed for each lib.. +# doset then creates env file that combines settings for gnat and for the +# corresponding profile of each installed lib.. + + +### Helpers + +# return *the* name of the active profile, checking that we do not have multiple +# env files. +# There can be only one! +get_current_gnat() { + local profiles=( $(get_env_list) ) + + if [ ${profiles[@]} == "${MARKER}*" ]; then exit; fi + + if (( 1 == ${#profiles[@]} )); then + local active=${profiles[0]#${MARKER}} + else + die -q "${ENVDIR} contains multiple gnat profiles, please cleanup!" + fi + + echo ${active} +# disabling this check, as we want to use get_current_gnat with empty profile +# as an indication that last gnat in SLOT was removed +# if [ -f ${SPECSDIR}/${active} ]; then +# echo ${active} +# else +# die -q "the active env.d profile does not correspond to any installed gnat!" +# fi +} + +# validity check that was removed from get_current_gnat, in case we need it +# somewhere.. +# Arguments: +# $1 - name of the gnat profiel to check +profile_is_valid() { + if [[ -n $1 ]] ; then + [[ -f ${SPECSDIR}/$1 ]] || return 1 + fi +} + +# check if the passed arg represents the installed gnat and return it or +# not_found +# takes args: +# $1 - list ID to check +get_name_from_list() { + compiler=$1 + + compilers=( $(find_all_compilers) ) + for (( i = 0 ; i < ${#compilers[@]} ; i = i + 1 )) ; do + if [[ ${compilers[$i]} == ${compiler} ]] ; then + echo ${compiler} + return + fi + done + + echo "(not-found)" +} + + +# removes env files (for compiler and libs) +# params: +# $1: the name of profile for which to remove env file +unset_env() { + rm -f ${ENVDIR}/${MARKER}$1 &> /dev/null +} + + +### show action ### + +describe_show() { + echo "Show the active gnat compiler/profile and installed libs" +} + +do_show() { + active=$(get_current_gnat) + if $(profile_is_valid ${active}); then + write_list_start "Current gnat version:" + if [[ -n ${active} ]] ; then + write_kv_list_entry "$active" "" + libs=( $(find_libs4profile ${active}) ) + write_list_start "Active libs:" + write_numbered_list "${libs[@]}" + else + write_kv_list_entry "(none set)" "" + fi + else + write_error_msg "The active profile in ${ENVDIR} is not valid! Please set a valid profile!" + fi +} + +### list action ### + +describe_list() { + echo "List installed gnat compilers and libs" +} + +do_list() { + compilers=( $(find_all_compilers ) ) + active=$(get_current_gnat) + + write_list_start "Available gnat compilers:" + + local i + for (( i = 0 ; i < ${#compilers[@]} ; i = i + 1 )) ; do + linkversion=${compilers[${i}]} + + [[ $linkversion == $active ]] && \ + compilers[${i}]=$(highlight_marker "${compilers[${i}]}") + done + write_numbered_list -m "(none)" "${compilers[@]}" + + # now the libs + libs=( $(find_all_libs) ) + write_list_start "Installed libs:" + for (( i = 0 ; i < ${#libs[@]} ; i = i + 1 )) ; do + [ -f ${SPECSDIR}/${libs[$i]}/${active} ] && \ + libs[${i}]=$(highlight_marker "${libs[${i}]}") + done + write_numbered_list -m "(no libs)" "${libs[@]}" +} + + +### set action ### + +describe_set() { + echo "Set active gnat compiler" +} + +# The set action. Parameters: +# $1 - name of profile to set, obligatory, passed by eselect +# $2 - optional, name of env file to generate. Used from gnat.eclass. +do_set() { + if [[ -z ${1} ]] ; then + # no parameter + die -q "You didn't tell me which gnat to use" + fi + + local toset=$(get_name_from_list $1) + if [[ ${toset} == "(not-found)" ]] ; then + die -q "I don't recognise the selection" + fi + + # the action! + # in this implementation simply create an appropriate env file + local active=$(get_current_gnat) + if [[ -z ${2} ]] ; then + local envfile="${ENVDIR}/${MARKER}${toset}" + + # now we need to remove an old env file, which is guaranteed to + # be unique by get_current_gnat above + if [[ -n ${active} ]] ; then + unset_env ${active} + fi + # just for a good measure remove the one we are going to write + unset_env ${toset} + else + local envfile="$2" + fi + + generate_envFile ${toset} ${envfile} + + # force update environment + # should be replaced with "do_action env update" when #172472 gets resolved + env-update &> /dev/null +} + + + +### update action ### +# +# This action regenerates the /etc/env.d file for the current profile. Basically +# the same as set, only it does not take any parameters. It should be called from ebuilds +# installing Ada libs or in the pkg_postrm in gnatbuild.eclass, to clean up the +# profile if last gnat in SLOT was removed. + +describe_update() { + echo "Update active gnat profile picking up new libs." +} + +do_update() { + local toset=$(get_current_gnat) + local envfile="${ENVDIR}/${MARKER}${toset}" + # now check whether to update or unset the profile + if $(profile_is_valid ${toset}); then + generate_envFile ${toset} ${envfile} + else + unset_env ${toset} + fi + do_action env update &> /dev/null +} + +### unset action ### + +describe_unset() { + echo "Remove settings for currently active gnat" +} + +do_unset() { + local active=$(get_current_gnat) + # check whether we have any profile set before removing anything.. + if [[ -n ${active} ]] ; then + unset_env ${active} + do_action env update &> /dev/null + fi +} diff --git a/app-eselect/eselect-gnat/metadata.xml b/app-eselect/eselect-gnat/metadata.xml new file mode 100644 index 000000000000..70aa7cdf2d3f --- /dev/null +++ b/app-eselect/eselect-gnat/metadata.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<!--maintainer-needed--> +<longdescription>The eselect module for the supported gnat compilers.</longdescription> +</pkgmetadata> diff --git a/app-eselect/eselect-gnome-shell-extensions/Manifest b/app-eselect/eselect-gnome-shell-extensions/Manifest new file mode 100644 index 000000000000..8e00c139614f --- /dev/null +++ b/app-eselect/eselect-gnome-shell-extensions/Manifest @@ -0,0 +1,5 @@ +DIST eselect-gnome-shell-extensions-20120911.tar.xz 2792 SHA256 1f763aab3a80f85805ad5ed30010cf0c26afb7ad3b81c4f698662ad3e33bf91c SHA512 da54e2a0b74f3e8f8eaa26b1858d26c56fbaa398ec54b079f504377a4079df19ff52485991a9ea153f92c93a9fe871d70c3c2b841bad4b8dba402ad83c9297e2 WHIRLPOOL abdfea55dd0c2429900e17919bab21ed5893e44a41dba152ae3c093e14bdc2d2695551a193d77c86753c623466b6bd46beb51323900ebdb3351b7b756a31b9fe +EBUILD eselect-gnome-shell-extensions-20120911.ebuild 1589 SHA256 8d738121d035e246a9f530a25b926a9606fb85598af7a9ca3f8b5597589bb58d SHA512 ef902db8c2984846273af1a444decc962123ef11b26db8f8ee4b8d68d9372ec96fe75c57a34f087d117a8241de64091071b9a18436b7d4823a35e5be4584d412 WHIRLPOOL dbf0617ac5a5cdda8d0e09141e424b997214baf2747406dc8b7795cfd5cda6af39d88a676d36292c6c85076bcdc253734d63d3dcbc0bc5408371ff9534992e9b +MISC ChangeLog 2555 SHA256 3a1e1c987eafcf0955a94f24df6695051d664eb122dc216af2a1fff0a3e9f702 SHA512 9911642b3042721a34a9b7cbee208874c72696c2f53b3c95642ded1900010f02ab4e28f71323c00d77410e47a3a0a714dbbb3c16b580cd2c416e532b04b259a4 WHIRLPOOL ef16c8082d9ce42e644604f337bf6a6972dfb4c34cb1a0a13537c6dc9f0fa5e5ec075d6835c1d3c43f8b34472dfc7328ba1f74014aba4dea04e37f6ae7dc4098 +MISC ChangeLog-2015 1744 SHA256 ca4020471f540d464777456dee865c7bc680169ec55ff2b21b867d0b8254db01 SHA512 f260885fdb56751f7bbaf0733f62ce5d3bc13e240f8e568991364df0cf59a064b072c276f2f24af138889653e5471383bcb5e2a019589408d67e98bb51e248b4 WHIRLPOOL bc64771c2dffd9ebba1710c451eb0800383674e163c7a6e742e001e6b9e513230de21251632603ca6ea93eff401a7e42e534c400830c801076f831b3d47bce68 +MISC metadata.xml 249 SHA256 4505b0bfeadff287958620b7dc7b7209699065a8f17139a237a5dd409a726a97 SHA512 c40662134899a5c9f0369a1017806f35adf3280a0b3c91726f7a8ca6012a073a8b471583f5bfb6fe95faac1dcf607e8e2e43f8c91d48ec46f4a8824e2f551506 WHIRLPOOL 333a938ee1d2124595596c572697bf5ebad523a92ba12005cfb12e6bb6270881a94a911f0cc9c1cf2bb571559e8271e07dfd307dabe50058236dbe7103562b92 diff --git a/app-eselect/eselect-gnome-shell-extensions/eselect-gnome-shell-extensions-20120911.ebuild b/app-eselect/eselect-gnome-shell-extensions/eselect-gnome-shell-extensions-20120911.ebuild new file mode 100644 index 000000000000..33724f4f1452 --- /dev/null +++ b/app-eselect/eselect-gnome-shell-extensions/eselect-gnome-shell-extensions-20120911.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="4" + +DESCRIPTION="Manages system defaults for GNOME Shell extensions" +HOMEPAGE="https://www.gentoo.org" +SRC_URI="https://dev.gentoo.org/~tetromino/distfiles/${PN}/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +# gnome-shell schemas are used in pkg_postinst +COMMON_DEPEND="app-admin/eselect + >=dev-libs/glib-2.26:2 + gnome-base/gsettings-desktop-schemas + gnome-base/gnome-shell" +RDEPEND="${COMMON_DEPEND} + dev-lang/perl + dev-perl/JSON" +DEPEND="${COMMON_DEPEND} + app-arch/xz-utils" + +src_install() { + insinto "/usr/share/eselect/modules" + doins gnome-shell-extensions.eselect + keepdir "/etc/eselect/gnome-shell-extensions" + # The actual gschema override file will be greated in pkg_postinst. + dosym "/etc/eselect/gnome-shell-extensions/${PN}.gschema.override" \ + "/usr/share/glib-2.0/schemas/${PN}.gschema.override" +} + +pkg_postinst() { + einfo "Updating list of installed extensions" + eselect gnome-shell-extensions update || die + local keyname="disabled-extensions" + has_version ">=gnome-base/gnome-shell-3.1.90" && + keyname="enabled-extensions" + elog + elog "eselect gnome-shell-extensions manages the system default value of" + elog "the org.gnome.shell ${keyname} key. To override the default" + elog "for an individual user, use the gsettings command, e.g." + elog "\$ gsettings set org.gnome.shell ${keyname} \"['foo', 'bar']\"" + elog "To undo per-user changes and use the system default, do" + elog "\$ gsettings reset org.gnome.shell ${keyname}" + elog +} diff --git a/app-eselect/eselect-gnome-shell-extensions/metadata.xml b/app-eselect/eselect-gnome-shell-extensions/metadata.xml new file mode 100644 index 000000000000..39980802b1da --- /dev/null +++ b/app-eselect/eselect-gnome-shell-extensions/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>gnome@gentoo.org</email> + <name>Gentoo GNOME Desktop</name> +</maintainer> +</pkgmetadata> diff --git a/app-eselect/eselect-infinality/Manifest b/app-eselect/eselect-infinality/Manifest new file mode 100644 index 000000000000..19c93c92ce39 --- /dev/null +++ b/app-eselect/eselect-infinality/Manifest @@ -0,0 +1,5 @@ +DIST eselect-infinality-1.tar.gz 8274 SHA256 3cbfd022e8c00137c1784924cba98a68b2cf4930e0e9af840984debe02624347 SHA512 0bff25817b68125c670ffb2782704604415f233711974c47935bd5dac80b164ca471cea1fea193886b30d0eec60a4a208f0ede6bd1a40488c2458a7dd9fe127d WHIRLPOOL ba17471990533722076eeb21fc710b5d3ce054f5112b1b153e945fb540210f4f30206795c604aa2a61027fadc3d2df8b039349fdc05882786e0c9fb31baf5824 +EBUILD eselect-infinality-1.ebuild 695 SHA256 d65d37001c04993299d30233bf321facc072dae4e7271b2d6339ef7452271990 SHA512 6ded213c904bf4bb7dcc927b5bf95b7341a85205b5bf6d2a0a082e032507d28cdda906742183e453043daad508af8bc244fd744545d517bd95b6fc0e1929ca65 WHIRLPOOL f334f7d0649f9e7b43b40c284f4807c350212847c56f178d33e41031ffc79aba2fdfb2f089f724cb1cfaf439f8bb733a92861ea233c462fd2f8ecc54cac79500 +MISC ChangeLog 2455 SHA256 1bf10cbaebf78bef0b8ba265c40df2bd831498fd237c1bd86bbb1de2ac70bb46 SHA512 04c5127954f999869fee2ff252eecc442cf5424cea1a5c3d7e01f725d79529d7c2a250cfcc7f4dadf44370b357f02a03d8f04527f0d8efddfe7d2e69f8ea2863 WHIRLPOOL a0b689dd270e3574aa7a2ecdecb9d6e735b3d7aef18ec9bdd3f8bc837b3bc133f4736b943db9b2da67b7c42c77506c06e13cb41a9ff35b7b8dafae3e6cdf611c +MISC ChangeLog-2015 1055 SHA256 36ee6d85ed561a2de630b1080e59a4de6a45ccf1b92b73588d39f5a250a02585 SHA512 97495940ba0f7625e72ef1691f98c273f058cafe88177014a74f8b9db8fa7fb9f980f875dbb507280da45d3492506e25bb3c32cf48f356596f400ad3912a10bc WHIRLPOOL bca8397de4a5ce6778c9c740f8eaafba2a76ac800f41420bb3eda47409590caebab19d60c471f77e7d9c42ae7bbd678ba09c2764ff52f246f5bdffc0a79d2af5 +MISC metadata.xml 338 SHA256 de62f8801119267c04210ce1876cc62fa44a8e6c760975b837514562293470a6 SHA512 f4a839e992f958b55552878bcde35f45bb7f8130b5fae9b382793e3aaba710230cf703b965eb0007ea5cad31e2702d88536c32d19cd30e05fb60bb359e965351 WHIRLPOOL b4fb6fbe3ca3f7e58256007011d5606ee954951504b2b484f41c1d96782508d2038145c78ad1ae54f554afa36653a3a3e8a2de4c1caf2ee1f87ae6204ff3df8f diff --git a/app-eselect/eselect-infinality/eselect-infinality-1.ebuild b/app-eselect/eselect-infinality/eselect-infinality-1.ebuild new file mode 100644 index 000000000000..8d4606437afa --- /dev/null +++ b/app-eselect/eselect-infinality/eselect-infinality-1.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 +inherit vcs-snapshot readme.gentoo + +DESCRIPTION="Eselect module to choose an infinality font configuration style" +HOMEPAGE="https://github.com/yngwin/eselect-infinality" +SRC_URI="${HOMEPAGE}/tarball/v${PV} -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND="app-admin/eselect" +DEPEND="" + +DOC_CONTENTS="Use eselect infinality to select a font configuration style. +This is supposed to be used in pair with eselect lcdfilter." + +src_install() { + dodoc README.rst + readme.gentoo_create_doc + insinto "/usr/share/eselect/modules" + doins infinality.eselect +} diff --git a/app-eselect/eselect-infinality/metadata.xml b/app-eselect/eselect-infinality/metadata.xml new file mode 100644 index 000000000000..a36c1da3023a --- /dev/null +++ b/app-eselect/eselect-infinality/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>fonts@gentoo.org</email> + <name>Fonts</name> + </maintainer> + <upstream> + <remote-id type="github">yngwin/eselect-infinality</remote-id> + </upstream> +</pkgmetadata> diff --git a/app-eselect/eselect-java/Manifest b/app-eselect/eselect-java/Manifest new file mode 100644 index 000000000000..72eceedd024c --- /dev/null +++ b/app-eselect/eselect-java/Manifest @@ -0,0 +1,8 @@ +DIST eselect-java-0.2.0.tar.bz2 13353 SHA256 a860fdf1d5d0560e206fee3912eb768492115bcb430cb9eba031d0cbf90499bf SHA512 376c72317461c743dd91f8576cff7b1279b8f1672aa878c492ec3ed0da5f3c8d25cbb5fd4d9120109a01466dadbd049fb75d642187c850676d939925bcb55fdd WHIRLPOOL c45da204c312c1277f532756363932aeb057261728f1264cbcc01da6feb7568673aff880fa611c471b60a878434eacda592e3743022130c78247b047dbf848be +DIST eselect-java-0.3.0.tar.bz2 13434 SHA256 e2c5ec1819cceec29d4f6fab6259c7c7fd670e8d2bce0cba99140a6ad960de9e SHA512 d874d1d20d3920d16d5812b2aa28455f9166c6590b711e2bd49b1632e164be18f177eec5f5f2814391966ca3b710aab21b44d29afead2148cc7d0ed90841f9d8 WHIRLPOOL b1b42b5544103c1ab4102dc5c25d24669e6823d4655e9a7357acff3a349975aecc01eb03f935ae69b5dc102e29cfcc71f72d25b041b419ecb0d4112dd332c4a2 +EBUILD eselect-java-0.2.0-r1.ebuild 1422 SHA256 f20eadae1a02e82b8e17ff090a06e3cd843a419f036005c53d15f333d8791389 SHA512 2d0ba4ba0d5fae0ab05112ab1f83f789f89a10b23787716a0b83f5901b4db0f2736294f75578e0a56089ef53e90bfed897f159faa19b1f0e61303180987b78de WHIRLPOOL 43a58fe600d071011cf6a945059ebd7a3ee9e6c433c23d94fa8a0834652ba730b2bf07b829c762a4aa51af84154011fb79f4239659a3ee271dbef00dddca7223 +EBUILD eselect-java-0.2.0.ebuild 1213 SHA256 cc72d21a2cea045ba4a9beb7f601fd7b46283ba9b1c8efedac24fbcf3cfc169d SHA512 a6fd1d0654bd5e74547e7d4d6053a0070b712eea372b82e9012a61e69aae258e60661ad0c00d308a7873714f66f6ca5bb435e8f43ae7710c206906096d22286c WHIRLPOOL f5e94d22c124931800be729f8528efe7aa7ae8d32eb3dab046c8f2118f4fb7dcf29f624de7f39f627cc9666a272c43afba0f542d6a3d3c7476daf55790610a3d +EBUILD eselect-java-0.3.0.ebuild 1437 SHA256 f7f73757fbb68f1b01ed61e7afeae4953079fcd13297a4618ac2df983bc600f7 SHA512 b1be8dc5dead93e6b4363ddef6f0561faf75ac1c5dead5e6ddb68aca397f36d71ac2015a03141a26528877b4a639c88e80b3ee938c9084810aa692ca64f8ed68 WHIRLPOOL 727e786e78152dfbd4723257d8d861fdcd994167637f9b34cf08005c479e1ce3b2d0a201b3bcd32efbba1753a5702ddb80529046d6c607dd896e110f20eb0591 +MISC ChangeLog 4627 SHA256 e9000f21d149a573c9d83b125f52fa08bd10b73803529f8d5eef6c253b71192e SHA512 828c11f7fa35e55fb7addace004f5d10476553cd8d24a76103e3f134d813b71682375390c794a1630b68f96022672fb806335a698f9b17b4bfad67ec5d19787f WHIRLPOOL 74899224fcaffb276d8570077dddc3d91d74cc2c0c7f28f5049c905a7787feb66f0df4392a6959c9983d9376f1a0592d81c9adcd7561a553c94c1746bd485c80 +MISC ChangeLog-2015 2180 SHA256 7d947e00b5c5bd923003e2942e75d99ee3046f290383546e4ce8e7a221d101b4 SHA512 98470497cad5991c5fab0694021edde2b2b7013cedb019da787ef9382c23c2db63de04c8b8385e64e518fd2dfe1a4b0c912677bd8c5e7e3e278d7db919c53429 WHIRLPOOL 93ce2eca1ab711fa3827bdb64a842e4cbc3778280643203ca76bc338f89f60692d3473b460c040f1dfc3530535fde1c5d3e4ff80e9cda668a8984b140f8b3068 +MISC metadata.xml 232 SHA256 0c8d91b3d514ac42d0eaca567346ab909c0f947049c85c25a380ec2400f1b3fb SHA512 00beaf2c81112ff757c4395f4ea47e85f2d48e369e241f10ddf200090dd6513d52ae2b1aef6d28b7417f1cf34608a7258a167eb307d5670323a2190f3710f893 WHIRLPOOL 3a1a6d054edc9177d85ca868f9b0a6e84ee51bab4fbdbb9b1ead1a03874036bcc3f96e903fb751dc4d29fdb7d6b5f3d8dbe7b042fc697c887e23f41cc9c8c4ac diff --git a/app-eselect/eselect-java/eselect-java-0.2.0-r1.ebuild b/app-eselect/eselect-java/eselect-java-0.2.0-r1.ebuild new file mode 100644 index 000000000000..1f1de54d8ea0 --- /dev/null +++ b/app-eselect/eselect-java/eselect-java-0.2.0-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit autotools + +DESCRIPTION="A set of eselect modules for Java" +HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Java" +SRC_URI="https://gitweb.gentoo.org/proj/${PN}.git/snapshot/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +RDEPEND=" + !app-eselect/eselect-ecj + !app-eselect/eselect-maven + !<dev-java/java-config-2.2 + app-admin/eselect" + +src_prepare() { + eautoreconf + + # Bug 549498: "eselect XXX show" should never send output to stderr. + sed -i \ + -e '/^do_show.. {$/,/^}$/{ /echo/s,>&2$,, }' \ + "${S}"/src/modules/maven.eselect.in \ + "${S}"/src/modules/ecj.eselect.in +} + +pkg_postinst() { + local REMOVED=0 + + rm -v "${EROOT}"usr/lib*/nsbrowser/plugins/javaplugin.so 2>/dev/null && REMOVED=1 + rm -v "${EROOT}"etc/java-config-2/current-icedtea-web-vm 2>/dev/null && REMOVED=1 + + if [[ "${REMOVED}" = 1 ]]; then + elog "The eselect java-nsplugin module has been removed and your configuration" + elog "has been cleaned up. From now on, you may only install either Oracle or" + elog "IcedTea's plugin but not both. Note you can use IcedTea's plugin with an" + elog "Oracle VM. See the README installed with icedtea-web for more details." + fi +} diff --git a/app-eselect/eselect-java/eselect-java-0.2.0.ebuild b/app-eselect/eselect-java/eselect-java-0.2.0.ebuild new file mode 100644 index 000000000000..2c5ac069d7bb --- /dev/null +++ b/app-eselect/eselect-java/eselect-java-0.2.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit autotools + +DESCRIPTION="A set of eselect modules for Java" +HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Java" +SRC_URI="https://gitweb.gentoo.org/proj/${PN}.git/snapshot/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~arm ppc64 x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +RDEPEND=" + !app-eselect/eselect-ecj + !app-eselect/eselect-maven + !<dev-java/java-config-2.2 + app-admin/eselect" + +src_prepare() { + eautoreconf +} + +pkg_postinst() { + local REMOVED=0 + + rm -v "${EROOT}"usr/lib*/nsbrowser/plugins/javaplugin.so 2>/dev/null && REMOVED=1 + rm -v "${EROOT}"etc/java-config-2/current-icedtea-web-vm 2>/dev/null && REMOVED=1 + + if [[ "${REMOVED}" = 1 ]]; then + elog "The eselect java-nsplugin module has been removed and your configuration" + elog "has been cleaned up. From now on, you may only install either Oracle or" + elog "IcedTea's plugin but not both. Note you can use IcedTea's plugin with an" + elog "Oracle VM. See the README installed with icedtea-web for more details." + fi +} diff --git a/app-eselect/eselect-java/eselect-java-0.3.0.ebuild b/app-eselect/eselect-java/eselect-java-0.3.0.ebuild new file mode 100644 index 000000000000..eb44bc261fc2 --- /dev/null +++ b/app-eselect/eselect-java/eselect-java-0.3.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools + +DESCRIPTION="A set of eselect modules for Java" +HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Java" +SRC_URI="https://gitweb.gentoo.org/proj/${PN}.git/snapshot/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +RDEPEND=" + !app-eselect/eselect-ecj + !app-eselect/eselect-maven + !<dev-java/java-config-2.2 + app-admin/eselect" + +src_prepare() { + default + + eautoreconf + + # Bug 549498: "eselect XXX show" should never send output to stderr. + sed -i \ + -e '/^do_show.. {$/,/^}$/{ /echo/s,>&2$,, }' \ + "${S}"/src/modules/maven.eselect.in \ + "${S}"/src/modules/ecj.eselect.in +} + +pkg_postinst() { + local REMOVED=0 + + rm -v "${EROOT}"usr/lib*/nsbrowser/plugins/javaplugin.so 2>/dev/null && REMOVED=1 + rm -v "${EROOT}"etc/java-config-2/current-icedtea-web-vm 2>/dev/null && REMOVED=1 + + if [[ "${REMOVED}" = 1 ]]; then + elog "The eselect java-nsplugin module has been removed and your configuration" + elog "has been cleaned up. From now on, you may only install either Oracle or" + elog "IcedTea's plugin but not both. Note you can use IcedTea's plugin with an" + elog "Oracle VM. See the README installed with icedtea-web for more details." + fi +} diff --git a/app-eselect/eselect-java/metadata.xml b/app-eselect/eselect-java/metadata.xml new file mode 100644 index 000000000000..2444066aa02b --- /dev/null +++ b/app-eselect/eselect-java/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>java@gentoo.org</email> + <name>Java</name> +</maintainer> +</pkgmetadata> diff --git a/app-eselect/eselect-lapack/Manifest b/app-eselect/eselect-lapack/Manifest new file mode 100644 index 000000000000..9577b3cd3d3f --- /dev/null +++ b/app-eselect/eselect-lapack/Manifest @@ -0,0 +1,6 @@ +AUX lapack.eselect-0.1 354 SHA256 ff9a03a284479e300c64015defac733a73d3b92715afc3ba61cf0eb1e7bda6f2 SHA512 06e859b2ae6f93286a266f642aa374ed83b21c940ac25f9650973e6edb6e5fb75e9da39dba86e8f0f8a4ab2779b7a49065a6d4cc278e9becf6e8d35a34c47d9d WHIRLPOOL 4c6a297ddae14bdcf8f65c05318fcd9662669f4919554b6a1b608fdba7b23090223bfb9e82badcf5a6f6f53c0dfca2cd404206297dd5ab9a24ab8458f38a60d9 +AUX lapack.eselect.5 2103 SHA256 7595196bd4badac46ed1cfa2368ef478501105028f15c252d573b381535b3e87 SHA512 e393bf70301002df11d9b5ece21e5f6b15aab9dc0612315b74882ec5e255595b12ae05c408243b26563f477a7e77480d66f42be0582103e4967d4e12cfdc7f21 WHIRLPOOL b3b8abd290154da96fdff7ae290b0abb558b6f8a9ad0c95dec703f9337de699cd6afc631802ecff3f31085479753fcb0f7a721a60ba010daf4f482e4d893f571 +EBUILD eselect-lapack-0.1.ebuild 705 SHA256 57b196cea179d2dcd291dc731eace3e5c8d2e89c0b20385465301042e8e1f0af SHA512 a6267cfe49d88e988c1d827383c1291ac3b3336b1e04334f6ca6f50bad2cbe9afc5407f41c0e7b024f2da38bd035f984129253a2f0aadf3a5058c9a37988642f WHIRLPOOL a75568e802ff39c42fc5ffb88b6819636543f1d4d20c252a44b1db39ab6c5f51efe9f6508ae14462e93afacda258138b24af4aad5cd317abeed5596f23ebf00a +MISC ChangeLog 2530 SHA256 427daaa77592a32b281cffbf94cf3811da92be74f2d4658afba053004851abed SHA512 d1aadef0ec75cbf3d9253e1293a96ecc396270e590d104ce0dbb15f152b45ffe64c2d7f25062ad14c86b71356db0d70fbe4db17c01c84c872e20b9c9f1bc6414 WHIRLPOOL ef0d5136bd1bc9743813822ef1b269b0f622ce53454e98be89f31cfa6db13994936c10ceba1ddb41724a97f843e034af5658361460d7c353937a515942d6cdcd +MISC ChangeLog-2015 3050 SHA256 20787294be7568f90cf6d17a75bc6f69527a558a47543b1d19781f146d23fc7d SHA512 71bc8d925ad5ab2fdc891cac2542c9b7a3ff4607bcb3c263736d1a706b543c79899ee8df4708864a8dc46fe82c7267ee8e3e3dd71c88a44da7905838ad205497 WHIRLPOOL d36749aeecea89bc3a6a129ae67ae81b97ac1c2da29944dff5359298b0d7bf4d063ca588f95419f3fbc54c63fdb812b9e0f28132d48ce2e96731637848f08301 +MISC metadata.xml 249 SHA256 d92f4663e317d15aa310d71020356d744cc23e6d8bc8a52ef44a2331a3c37adb SHA512 29a9c1817fd4299246d5fa995b73b9f1996b112b70f468139cf9cd8f07077d831e0788d3b93aaba67bb38dce5850830c27543fccbddbac02b0da4ff899def519 WHIRLPOOL b995ffbeda7d1119f53cf016f0ed502521258c348735fe3b362dc082e0f76cf1a09c0848bcfd8b8bc97d6afc6104628f9c3d116a1a8f4c393b1fcc2471f6ddfe diff --git a/app-eselect/eselect-lapack/eselect-lapack-0.1.ebuild b/app-eselect/eselect-lapack/eselect-lapack-0.1.ebuild new file mode 100644 index 000000000000..08696d4ac85f --- /dev/null +++ b/app-eselect/eselect-lapack/eselect-lapack-0.1.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +inherit eutils + +DESCRIPTION="LAPACK module for eselect" +HOMEPAGE="https://www.gentoo.org/proj/en/eselect/" +SRC_URI="" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 s390 sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +IUSE="" + +# Need skel.bash lib +RDEPEND=">=app-admin/eselect-1.0.5" +DEPEND="${RDEPEND}" + +src_install() { + local MODULEDIR="/usr/share/eselect/modules" + local MODULE="lapack" + insinto ${MODULEDIR} + newins "${FILESDIR}"/${MODULE}.eselect-${PVR} ${MODULE}.eselect + doman "${FILESDIR}"/lapack.eselect.5 +} diff --git a/app-eselect/eselect-lapack/files/lapack.eselect-0.1 b/app-eselect/eselect-lapack/files/lapack.eselect-0.1 new file mode 100644 index 000000000000..a01ad15ab498 --- /dev/null +++ b/app-eselect/eselect-lapack/files/lapack.eselect-0.1 @@ -0,0 +1,14 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +inherit skel + +MODULE="LAPACK" +IFACE="lapack" + +DESCRIPTION="Manage installed $MODULE implementations" +MAINTAINER="spyderous@gentoo.org" +SVN_DATE='$Date: 2015/03/31 16:49:51 $' +VERSION=$(svn_date_to_version "${SVN_DATE}" ) + +# vim: set ft=eselect : diff --git a/app-eselect/eselect-lapack/files/lapack.eselect.5 b/app-eselect/eselect-lapack/files/lapack.eselect.5 new file mode 100644 index 000000000000..92730a7ac852 --- /dev/null +++ b/app-eselect/eselect-lapack/files/lapack.eselect.5 @@ -0,0 +1,65 @@ +.TH "ESELECT" "5" "June 2006" "Gentoo Linux" "eselect" +.SH "NAME" +lapack.eselect \- The LAPACK management module for Gentoo's eselect +.SH "SYNOPSIS" +\fBeselect lapack\fR [\fBhelp\fR|\fBusage\fR] +.br +\fBeselect lapack\fR \fBlist\fR [\fIoptions\fR] +.br +\fBeselect lapack\fR \fBadd\fR +.br +\fBeselect lapack\fR \fBset\fR \fIimplementation\fR [\fIoptions\fR] +.br +\fBeselect lapack\fR \fBshow\fR [\fIoptions\fR] + +.SH "DESCRIPTION" +\fBeselect\fR is Gentoo's configuration and management tool. It features +modules that care for the individual administrative tasks. +.SH "ACTION: LIST" +\fBeselect lapack list\fR [\fIoptions\fR] +.br +Displays an ordered list of installed LAPACK implementations. It distinguishes between versions with different +Application Binary Interfaces (e.g. x86/AMD64). Furthermore, it also distinguishes +between interfaces to high-level programming languages. Each line holds +a number and the implementation's name. An asterisk next to one of the list +elements denotes an active implementation. + +phi / # eselect lapack list +.br +Installed LAPACK for libdir \fBlib\fR +.br + [1] atlas * + [2] reference + +Possible \fIoptions\fR to the \fBlist\fR action are restrictions to +handle only certain ABI\-specific library directories. For example, + +\fBeselect lapack list lib64\fR + +lists only LAPACK implementations found in \fB/usr/lib64\fR. + +.SH "ACTION: SHOW" +\fBeselect lapack show\fR [\fIoptions\fR] +.br +Shows your system's currently active LAPACK implementations. + +phi / # eselect lapack show +.br +lib: atlas +.br +lib64: reference + +The same \fIoptions\fR that apply to the \fBlist\fR action can be used +with the \fBshow\fR action to restrict it to given ABIs. +.SH "ACTION: SET" +\fBeselect lapack set\fR \fIimplementation\fR [\fIoptions\fR] +.br +Sets your system's currently active LAPACK implementations to \fIimplementation\fR. +The same \fIoptions\fR that apply to the \fBlist\fR action can be used +with the \fBset\fR action to restrict it to given ABIs. + +phi / # eselect lapack set atlas +.SH "AUTHOR" +Danny van Dyk <kugelfang@gentoo.org> +.br +Donnie Berkholz <spyderous@gentoo.org> diff --git a/app-eselect/eselect-lapack/metadata.xml b/app-eselect/eselect-lapack/metadata.xml new file mode 100644 index 000000000000..0c6991d7902b --- /dev/null +++ b/app-eselect/eselect-lapack/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>sci@gentoo.org</email> + <name>Gentoo Science Project</name> +</maintainer> +</pkgmetadata> diff --git a/app-eselect/eselect-lcdfilter/Manifest b/app-eselect/eselect-lcdfilter/Manifest new file mode 100644 index 000000000000..5f288bc515b6 --- /dev/null +++ b/app-eselect/eselect-lcdfilter/Manifest @@ -0,0 +1,7 @@ +DIST eselect-lcdfilter-1.tar.gz 17206 SHA256 a27229461fff3bc2830a1006ae73d89ce05ba48aef7673c26a2af461457303a4 SHA512 1f86fb2cc21ff9cc9b79c50578a02f7c461ae203533cc817dc733d0dde9ad43763267bb1703b9495ba6f46989e0446bb1cba39aaa705d3b605118f62cb0d2dfc WHIRLPOOL 8bb947e0ddbd6c7056afe9394f37e6520ff0e45536c8572b28690f15fa0c1b699f78db2e7037305e1f0866d67395b67c80c7dd1821a7f2de8c603b2ec037ff2e +DIST eselect-lcdfilter-2.tar.gz 18365 SHA256 15ea8e85dcc87dec32a5e0a4dcf15251364f8a020cf7d73e858ec46b5590b6a0 SHA512 e17c475c860f0a3ad7249d21ca11c52f3226852ba042b83058baf6823242c4f8be0042aad52029757944fce6d816df386b928f2005ab87e0778d3ecb26ceec92 WHIRLPOOL d20a5d97386753a3d5fc01b91fa18ddc9b3106900268fe27bdf8f21ef1c9cf788dcde8c9714cbc52142e79b5f02dd8657dfef652c45658dc76d70da3b22739e6 +EBUILD eselect-lcdfilter-1.ebuild 994 SHA256 cfe569b9dce192485c88406866b540030498ef7f80b3bc5d969634488ee7a132 SHA512 871e6671cc69ddab4d230af7203c149627d21730819435710590c1e5f0094882c6a15cbbe6c7ae5561c2a4c5c1a942de7971d0c9aea1e12659fa5016af93cacf WHIRLPOOL dcb5625f1b3cdd6f8a28335fa8bee839c4e6874c91851708ad6a3ab15a9cc77967d8a81cb78008ea72dff58c0d6acd66cb4cca2d0e816b2606654cd1039be209 +EBUILD eselect-lcdfilter-2.ebuild 1021 SHA256 e8d54c6029cc0f85f3d31f4e5b7a3758ba1a074db66fe08454fcf66bd6b521cd SHA512 82487fe67826c79a252d4177959016cad16b326a8ed4dc6eef63d56afd0565fc72cec03005f46a444f5989f0f2047f04067b1bd8d068ddb2881ba3738745edfa WHIRLPOOL 34dac621385b6e2c3bf2481b1d76f80403f8cdca2d1279f7afdc352e382acbbd86ce0fc1dd55b3751fe3ede2154b41bd17bce1de24984f5067a942a332663cfb +MISC ChangeLog 2516 SHA256 51b8ba8436f3ef90227a0817f76c391fb9afdf9802682a81ba869178e30f419c SHA512 ec05ecef16833e67d141a45c686b42bd1d436a9ba223e703da2778b3078cf3595874cab27c5ee827ba912659cf0ba01f0692bc31ef9bfab87982dfb675180f4d WHIRLPOOL 10a2687e9286e9fcf6974cd2889918d51c71a39fde01875aae5f7bced58a27544c672c21ce8c804b51c82a080b9906404e1bc77ff7f361b6adbb276c72aad067 +MISC ChangeLog-2015 1404 SHA256 2dd87132d00bc3a4466277ba9467397d2e6a4143a67f24b2097e2c7e8045871c SHA512 a951f55ca6007cea5d8b3a936651172a9373c60846da597c3d2a7bd2fbdf3f6291ff9a7b942eef5fef062d8057f61309a2b0e746dc3be6a9c1583658bb463192 WHIRLPOOL 1e39c846a871303293f6d736059fe7fb447e8a59a8d281db768c42eaf500bcb18a79fda93a8e201642da6a3abf80dcf8559dd70811d0be9b6c8c0b4e13c6f2f2 +MISC metadata.xml 337 SHA256 fc632169cc0321c9164f080ac863ba4e75efc84374d8e026f14c1d52c86ee7f9 SHA512 4f60f1456c6e04af05a9f716dfed68d56462dcb599a50f6c4de38f6621d13eea013740e5dac04e1f0a8da5775eb429954f5dfe85bed6f7bbbad6e6a768cb5b12 WHIRLPOOL c1de395ff644c1c8bcffc4cc295e7423913f0df83d2e7c240b463ba2290796c06d42fdc7c1a723df850e5931db4fdff171d5c143865497de3d57314e8d6f28ba diff --git a/app-eselect/eselect-lcdfilter/eselect-lcdfilter-1.ebuild b/app-eselect/eselect-lcdfilter/eselect-lcdfilter-1.ebuild new file mode 100644 index 000000000000..867bf778f3da --- /dev/null +++ b/app-eselect/eselect-lcdfilter/eselect-lcdfilter-1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 +inherit vcs-snapshot + +DESCRIPTION="Eselect module to choose Freetype infinality-enhanced LCD filtering settings" +HOMEPAGE="https://github.com/yngwin/eselect-lcdfilter" +SRC_URI="${HOMEPAGE}/tarball/v1 -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND="" +RDEPEND="app-admin/eselect" +PDEPEND="media-libs/freetype[infinality]" + +src_install() { + dodoc README.rst infinality-settings.sh + + insinto "/usr/share/eselect/modules" + doins lcdfilter.eselect + + insinto "/usr/share/${PN}" + doins -r env.d +} + +pkg_postinst() { + elog "Use eselect lcdfilter to select an lcdfiltering font style." + elog "You can customize /usr/share/${PN}/env.d/custom" + elog "with your own settings. See /usr/share/doc/${PF}/infinality-settings.sh" + elog "for an explanation and examples of the variables." + elog "This module is supposed to be used in pair with eselect infinality." +} diff --git a/app-eselect/eselect-lcdfilter/eselect-lcdfilter-2.ebuild b/app-eselect/eselect-lcdfilter/eselect-lcdfilter-2.ebuild new file mode 100644 index 000000000000..ae5074c16aca --- /dev/null +++ b/app-eselect/eselect-lcdfilter/eselect-lcdfilter-2.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit vcs-snapshot readme.gentoo + +DESCRIPTION="Eselect module to choose Freetype infinality-enhanced LCD filtering settings" +HOMEPAGE="https://github.com/yngwin/eselect-lcdfilter" +SRC_URI="${HOMEPAGE}/tarball/v${PV} -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND="app-admin/eselect" +PDEPEND="media-libs/freetype[infinality]" + +src_install() { + DOC_CONTENTS="Use eselect lcdfilter to select an lcdfiltering font style. + You can customize ${EPREFIX}/usr/share/${PN}/env.d/custom with your own settings. + See ${EPREFIX}/usr/share/doc/${PF}/infinality-settings.sh for an explanation and + examples of the variables. This module is supposed to be used in pair with + eselect infinality." + + dodoc README.rst infinality-settings.sh + readme.gentoo_create_doc + + insinto "/usr/share/eselect/modules" + doins lcdfilter.eselect + + insinto "/usr/share/${PN}" + doins -r env.d +} diff --git a/app-eselect/eselect-lcdfilter/metadata.xml b/app-eselect/eselect-lcdfilter/metadata.xml new file mode 100644 index 000000000000..f856a70079fb --- /dev/null +++ b/app-eselect/eselect-lcdfilter/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>fonts@gentoo.org</email> + <name>Fonts</name> + </maintainer> + <upstream> + <remote-id type="github">yngwin/eselect-lcdfilter</remote-id> + </upstream> +</pkgmetadata> diff --git a/app-eselect/eselect-lib-bin-symlink/Manifest b/app-eselect/eselect-lib-bin-symlink/Manifest new file mode 100644 index 000000000000..53648d09456b --- /dev/null +++ b/app-eselect/eselect-lib-bin-symlink/Manifest @@ -0,0 +1,8 @@ +DIST eselect-lib-bin-symlink-0.1.1.tar.bz2 45376 SHA256 397ac213f606d3d0534539a9b34f755389294cb1d584b1b656e105a441286b15 SHA512 16b56153aa61534997f42641656c3feaf27243fece8cdd42e93ed0be5dabedafc316af8111cd7ff0e321666de8deb1a35e86032cd9590060f677ac7e68fd48bd WHIRLPOOL e1490e3dc35a8eb96416469fb0f4b310867d1a245abd96fafc2ed0b96561f3cfbcfaff651df79e387338801177898a4b116f2c15242d1a74cb8a3e0375072b87 +DIST eselect-lib-bin-symlink-0.1.tar.bz2 45331 SHA256 eb612453252e06991c0a3840d8cc1bc287dd5dbf84f21c9ce17018156822a14b SHA512 c4e31c81ee778a18335e3a5f45eba28688ca6af8b7f5069897a19f1d51e0a83fc35b80149c29643c01ff959aedd05b80a020bd0fbdb9fc7ecf207405f8c77ed6 WHIRLPOOL 97cf79e2287d347000d72cdfad6592dbb39f36fe4170ccd88719d7661f0578351a7879c73c412167cf931c0d9b53b3ef52298c6e5d900efa5136020a2ab65cd1 +EBUILD eselect-lib-bin-symlink-0.1.1.ebuild 656 SHA256 d48367146e073adbb99c8b16aa1e2807dd9d125b11175e4cc9089ca167b2e2fa SHA512 721c447737d131b1b09223362c43481798d8fd3ba8fb7b47d8da1b032db205b4bf42c1651cbb55a886fbac4de247176cf58d1226b85fcce5bb0702da3712fa02 WHIRLPOOL a19679e4e9560591bf696d9adde24ae256ea3e3637547167424021f458ef9a1b4e09162b1ce6a904a84cf3d8968ac2c2e7932df1493afacd2073e6d77a22a425 +EBUILD eselect-lib-bin-symlink-0.1.ebuild 636 SHA256 232fdcfb34845796bf60714791e22c3e17a486dc14a240e8716d4dcf9e6bc8e7 SHA512 7dcdbdb17eb197dfcac899dcc09e1b667184313de4f7336b9c4c0d26e3ec823e74b1dd2e086af2c01231ac29365985e115fdf01d52da5d34903727ed15b1c3b1 WHIRLPOOL 91ba1ed11fc61e36ea31a68b840a51f2c8d150b44a4949fd3496f634b0157659482d56ef63f8c83ff39f8c1db90c6b78484c7476fd5e135a52cd6578c06e2ee7 +EBUILD eselect-lib-bin-symlink-9999.ebuild 793 SHA256 aeaf0cb2842a94e9cfde3b47e5541f85d4cd5abb6a7334649acbf20a7c4b966c SHA512 e77554398060f689c0b427070a4b2b475674c16dc443bcfa1e13c11be8b54d050b8aa4e50a73d8fe8d7baa3ac5f811fa03ec5afa511d65d2f9457d5fc685a68c WHIRLPOOL 8281798de10900c5038c0e6311e019e77a698a85a2fefbc79b795f51ff0bdcb4964f4986ee0ce2cc86319bb4eb39037105d97e645c96de6c9c3b939ac8efd0ad +MISC ChangeLog 2551 SHA256 b3e0b8220f8fbb460b163f02467dcfb81cc0f5209229038e15d62988e75223ca SHA512 589d94b17cfcfbd2e8f4a14c4f0be3d5f6e705725ffce4620713edbacdd386e4cd1de161e6c436a3c85da139b8f347c19752688eca70ea577d1854a46d7219cc WHIRLPOOL 4ceaa4d327a7f2d43f847005caf372faf21133d03dba95758f3fde6ee73aa78be4653e384353426f5acacfade608d60316e878d0d571ede80813551f486850f2 +MISC ChangeLog-2015 3642 SHA256 e17b424727615e5d1c4bf8e5c7e5cb1325a9282472e75290649c3db57b10a2a9 SHA512 417f6d7a4631619bb227be41da8d21d5f41d60ecd5891f93d42668afbe3142bcc82d9ff39116e2b4d806c20397bc733bac32a078b01ca3b7ac5746ecf2d66eff WHIRLPOOL a4f70ba3c8a0d8352db0dffd92be5f5c203df8aadcb8f2bb163d0a8a9a82b049699088249f42462f254fca4bda4f353a638028cd13b735310d8e5e613e537dd6 +MISC metadata.xml 563 SHA256 2cddd0b7b8c49385c20492be49eff2677ca1467c9a037bb0eeddb0243c399611 SHA512 35b31f23ebe0f3d08726edc4a876162907a8031d9907d67d775534b4d7719330701a94859a5dd79457cfc50ee9be3cc9a7829c7a0dcfd751dba2e68d2f75b6cb WHIRLPOOL e3f5cd66d996a09bea919c0bd96fc3987b512cee314f269289c7293b51977afee56b7bb5a65123a14f1a70678b362d7d07922c01ea10e5bb6af26aba35a5d86e diff --git a/app-eselect/eselect-lib-bin-symlink/eselect-lib-bin-symlink-0.1.1.ebuild b/app-eselect/eselect-lib-bin-symlink/eselect-lib-bin-symlink-0.1.1.ebuild new file mode 100644 index 000000000000..c5aa1b731e78 --- /dev/null +++ b/app-eselect/eselect-lib-bin-symlink/eselect-lib-bin-symlink-0.1.1.ebuild @@ -0,0 +1,17 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit autotools-utils + +DESCRIPTION="An eselect library to manage executable symlinks" +HOMEPAGE="https://bitbucket.org/mgorny/eselect-lib-bin-symlink/" +SRC_URI="https://www.bitbucket.org/mgorny/${PN}/downloads/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +RDEPEND="app-admin/eselect" diff --git a/app-eselect/eselect-lib-bin-symlink/eselect-lib-bin-symlink-0.1.ebuild b/app-eselect/eselect-lib-bin-symlink/eselect-lib-bin-symlink-0.1.ebuild new file mode 100644 index 000000000000..d94346e6c9b6 --- /dev/null +++ b/app-eselect/eselect-lib-bin-symlink/eselect-lib-bin-symlink-0.1.ebuild @@ -0,0 +1,17 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit autotools-utils + +DESCRIPTION="An eselect library to manage executable symlinks" +HOMEPAGE="https://bitbucket.org/mgorny/eselect-lib-bin-symlink/" +SRC_URI="https://www.bitbucket.org/mgorny/${PN}/downloads/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +RDEPEND="app-admin/eselect" diff --git a/app-eselect/eselect-lib-bin-symlink/eselect-lib-bin-symlink-9999.ebuild b/app-eselect/eselect-lib-bin-symlink/eselect-lib-bin-symlink-9999.ebuild new file mode 100644 index 000000000000..59ad25638407 --- /dev/null +++ b/app-eselect/eselect-lib-bin-symlink/eselect-lib-bin-symlink-9999.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +#if LIVE +EGIT_REPO_URI="https://bitbucket.org/mgorny/${PN}.git" +AUTOTOOLS_AUTORECONF=1 +inherit git-r3 +#endif + +inherit autotools-utils + +DESCRIPTION="An eselect library to manage executable symlinks" +HOMEPAGE="https://bitbucket.org/mgorny/eselect-lib-bin-symlink/" +SRC_URI="https://www.bitbucket.org/mgorny/${PN}/downloads/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +RDEPEND="app-admin/eselect" +#if LIVE + +KEYWORDS= +SRC_URI= +#endif diff --git a/app-eselect/eselect-lib-bin-symlink/metadata.xml b/app-eselect/eselect-lib-bin-symlink/metadata.xml new file mode 100644 index 000000000000..4c2bf0965d1b --- /dev/null +++ b/app-eselect/eselect-lib-bin-symlink/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>mgorny@gentoo.org</email> + <name>Michał Górny</name> + </maintainer> + <upstream> + <maintainer status="active"> + <email>mgorny@gentoo.org</email> + <name>Michał Górny</name> + </maintainer> + <bugs-to>https://bitbucket.org/mgorny/eselect-lib-bin-symlink/issues/</bugs-to> + <remote-id type="bitbucket">mgorny/eselect-lib-bin-symlink</remote-id> + </upstream> +</pkgmetadata> diff --git a/app-eselect/eselect-lua/Manifest b/app-eselect/eselect-lua/Manifest new file mode 100644 index 000000000000..c54a3cc67711 --- /dev/null +++ b/app-eselect/eselect-lua/Manifest @@ -0,0 +1,5 @@ +AUX lua.eselect-1 3217 SHA256 ad4f01f9507ec500b38d2618aad9c9bbb95c35784e1e9af37e0ec8bfc773e0ae SHA512 653aa84caf8a3706206099de78d8e1b2bbd41cda40dd7dac2b022c85a1988d864a80f490389db3fc2450555d301f965189df132a964a4425ee2bab6c2b7be220 WHIRLPOOL 7f03b0d48769ec8abf76202863e501935d8f9c76d36a93d79e653700420c61954f48b0ee075033fa86463c7acf1c9ad7b68b4320dc4eb5fc07a0af0122c0bd5f +EBUILD eselect-lua-1.ebuild 616 SHA256 41d6acc5d4f04c7bdd51430065943ec3f67f956778506cb217e67178689dce57 SHA512 73a32b0ea684562ae695449eec2da60a9ea46e29d5f85a701741d96e56e9fab037f3ca425fa70eb984ce5c08fc5eb038ae3b6deb090ee44c962d5658b47fab4d WHIRLPOOL e70184e8866f0be4473da172ade8f99ff01c00a091c382aefadb3b47f4e3552ee3ad4aa313ccd39bb115f078a515faf938fd983d30ea00cf3283ba5f139c9222 +MISC ChangeLog 3276 SHA256 d13e76d95f16fde5e543f23c3d53b89fdf1d47a14884053ef924956f923bbe8a SHA512 8916f45a6d996c95f0eb9208fc06ac42cc271a90729e9f235112dd5361870037207c034991580f1ef8fb32ac57b1decacbaec100b2cb4b2f78e0c6ba247b659c WHIRLPOOL e44d03b01e5c5da2cc2d37673632e219a260a61e413b3ebd4e81708e05a2d9858204d23a97e48b3370ea24abf113563278752e2ace0243bf207ec01e9ac01a40 +MISC ChangeLog-2015 605 SHA256 766e09fc8a61610582a45a1b842f4d3481cdf4e562d1ade455c8b9099cf2a227 SHA512 745237b956001f48dfa0928dafc5bd59f61d3e3d915a25da610e054582e7fa4872a2b2a4d838e2a45e67ed6761d6feb5be3ae475553df3265c9d382fc99e223e WHIRLPOOL de790934625ea47fe89f86db0f1c67171cb0d30b416d5129c583795eb6a75dcdc6b6cbc40038a1cd3f46ae748374e8d0031689bbd0d30e52d53edd4544d36c44 +MISC metadata.xml 318 SHA256 c6ff142b0d98895543a9b38d9959f83059b4c918bd66bb4278a6e30587a6da1a SHA512 48b3aa36f683baa2dca029f1d8ac46a951860f7d67c55d99c330acc09f1b407da2b640dfdf045ef497f254f83b493f0de36c5bca9309e39af4a8d4376af82f92 WHIRLPOOL 70830b9f1943f5d8a495149320ceb738c2a8935ee8e40800e238fa226d29f1c523febd93644f9ceebf7232decbfc588d2064586d919b093fa239628fb6287898 diff --git a/app-eselect/eselect-lua/eselect-lua-1.ebuild b/app-eselect/eselect-lua/eselect-lua-1.ebuild new file mode 100644 index 000000000000..59e798cd1b8d --- /dev/null +++ b/app-eselect/eselect-lua/eselect-lua-1.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +DESCRIPTION="Lua eselect module" +HOMEPAGE="https://www.gentoo.org" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +DEPEND=">=app-admin/eselect-1.2.4" +RDEPEND="${DEPEND}" + +S="${WORKDIR}" + +src_install() { + insinto /usr/share/eselect/modules/ + newins "${FILESDIR}"/lua.eselect-${PV} lua.eselect +} diff --git a/app-eselect/eselect-lua/files/lua.eselect-1 b/app-eselect/eselect-lua/files/lua.eselect-1 new file mode 100644 index 000000000000..d6f951098354 --- /dev/null +++ b/app-eselect/eselect-lua/files/lua.eselect-1 @@ -0,0 +1,150 @@ +# -*-eselect-*- vim: ft=eselect +# Copyright 2014-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +inherit config multilib + +DESCRIPTION="Manage lua symlinks" +MAINTAINER="mabi@gentoo.org" + +HEADER_FILES="lauxlib.h luaconf.h lua.h lua.hpp lualib.h" + +remove_symlinks() { + rm -f "${EROOT}"/usr/bin/{lua,luac} &>/dev/null + for dir in $(get_libdirs) ; do + rm -f "${EROOT}"${dir}/liblua.so &>/dev/null && \ + rm -f "${EROOT}"${dir}/pkgconfig/lua.pc &>/dev/null + done + for f in $HEADER_FILES ; do + rm -f "${EROOT}"/usr/include/$f + done + rm -f "${EROOT}"/usr/share/man/man1/{lua,luac}.1{,.gz,.bz2,.lzma} &>/dev/null +} + +set_symlinks() { + local ver=$1 + ln -s "${EROOT}"/usr/bin/lua{$ver,} + ln -s "${EROOT}"/usr/bin/luac{$ver,} + for dir in $(get_libdirs) ; do + ln -s "${dir}"/liblua{$ver,}.so + ln -s "${dir}"/pkgconfig/lua{$ver,}.pc + done + for orig in "${EROOT}"/usr/share/man/man1/lua*$ver.1* ; do + ln -s "${orig}" "${orig//$ver}" + done + for f in $HEADER_FILES ; do + ln -s "${EROOT}"/usr/include/lua$ver/$f "${EROOT}"/usr/include + done +} + +get_libdirs() { + local dir libdirs + for dir in $(list_libdirs); do + [[ -L ${EROOT}/usr/${dir} ]] && continue + ls "${EROOT}"/usr/${dir}/liblua*.* > /dev/null 2>&1 || continue + + libdirs+=' '${EPREFIX}/usr/${dir} + done + echo ${libdirs:-${EPREFIX}/usr/lib} +} + +find_targets() { + local dirs + local prefix="${EROOT}/usr/bin/lua" + for f in ${prefix}5* ; do + dirs="${dirs} ${f##$prefix}" + done + echo $dirs +} + +resolv_target() { + local targets=( $(find_targets) ) + if is_number $1; then + [[ $1 -le ${#targets[@]} && $1 -gt 0 ]] && echo "${targets[ $(( $1 - 1 )) ]}" + elif has $1 ${targets[@]}; then + echo $1 + fi +} + +get_active_version() { + readlink -e "${EROOT}"/usr/bin/lua | sed -ne "s:.*/usr/bin/lua\([\d.-]*\):\1:p" +} + +## Actual actions + +## set action + +describe_set() { + echo "Sets the current version of lua" +} + +describe_set_parameters() { + echo '<target>' +} + +describe_set_options() { + echo 'target: Target name or number (from "list" action)' +} + + +do_set() { + local target=$(resolv_target $1) + if [[ -z "${target}" ]]; then + die -q "You need to specify a version" + fi + remove_symlinks + set_symlinks $target +} + +## List action + +describe_list() { + echo 'Lists available lua versions' +} + +do_list() { + local targets + local a + targets=( $(find_targets) ) + a=$(get_active_version) + for (( i = 0; i < ${#targets[@]}; i++ )) ; do + [[ $a == ${targets[i]} ]] && targets[i]=$(highlight_marker "${targets[i]}") + done + write_numbered_list -m '(none found)' "${targets[@]}" +} + +## Show action + +describe_show() { + echo 'Show the active lua version' +} + +do_show() { + get_active_version +} + +## update action + +describe_update() { + echo 'Automatically update the lua version' +} + +describe_update_options() { + echo 'ifunset : Do not override existing implementation' +} + +do_update() { + [[ -n ${1} && ! ( ${1} == ifunset || ${1} == '--if-unset' ) ]] && \ + die -q 'Usage error' + + [[ ( ${1} == ifunset || ${1} == '--if-unset' ) && -n $(get_active_version) ]] && \ + return + + remove_symlinks + + local targets=( $(find_targets) ) + if [[ -n ${#targets[@]} ]] ; then + local target=${targets[${#targets[@]} - 1]} + set_symlinks $target || echo 'Nothing to update' + fi +} diff --git a/app-eselect/eselect-lua/metadata.xml b/app-eselect/eselect-lua/metadata.xml new file mode 100644 index 000000000000..34308d2edfe1 --- /dev/null +++ b/app-eselect/eselect-lua/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>williamh@gentoo.org</email> + <name>William Hubbs</name> + </maintainer> + <longdescription lang="en"> + Lua eselect module + </longdescription> +</pkgmetadata> diff --git a/app-eselect/eselect-mesa/Manifest b/app-eselect/eselect-mesa/Manifest new file mode 100644 index 000000000000..7c52bb77a433 --- /dev/null +++ b/app-eselect/eselect-mesa/Manifest @@ -0,0 +1,5 @@ +DIST eselect-mesa-0.0.10.tar.gz 2214 SHA256 736c4360902ddf78d02c6153e558164f3e09cfe74953ae15b74c6ca1647aca7c SHA512 c039ca769a436ccb5a7f0271532d3bc988f29ba31784fc74d1a4dd230e4f9c6db7ef3b9b40a1341202d9641eca9278a73c74e13091f2370065dca7d3707d91c3 WHIRLPOOL 7687b1abab31ccd6a4cad4b585fad0d31b3b7a22e64e3169309824e3cf410ddfd92e8974085d3d01e5deaa884c14964e7af3468ab11b0f2a705657e46091a19e +EBUILD eselect-mesa-0.0.10-r1.ebuild 782 SHA256 be7da6b1780bdceb64e42ae0f9f2e7f40f1fa9bf248798306ac3f77774bd3f00 SHA512 f6adf4c96a5798cb4144c98ecaa01d3cae314079d76d8742885b30101b479d1cadc5ecf9a7659b72a6aa2fd5012ab46985c013bec44c9be055cd0c9c2a2ab7c7 WHIRLPOOL d6be2b2398bcc84779cb6eb1380830d7bc5111bcf8488c49a167027a69d4bda4efb92977f0f63718e56686b54adf64173e327e759c0a723756b6c9777ec61f61 +MISC ChangeLog 2693 SHA256 8cb22b50b967324750da9634725538f5672c7435b89dc3bd42ffd3dabe5fba81 SHA512 9a727104619d33fb9e4337421a12b174ccfa40d99e4f165a4b6425497a736dcddafa1824309d62354cceb6ea072303090001711ce3c835e0e2dee1fa32a6ea62 WHIRLPOOL 3568da829776ab45c50dfdde7978a5f8c3ffbdf0561663ab70775acbdc0feab3b78409848322cbc463afde849776c98dca5751429fffd0ec600d19f8f7501b33 +MISC ChangeLog-2015 4339 SHA256 0dd1b4f312c92ee9ef7545eb0b952296e93d025c5d1f7fa64f9a146f78e6f193 SHA512 69b8da2452a2bfc93d2559fdec99211f9075cda16d8c237dae47ce9b1891f6f89da0e892784c70c3a9c7ea8ad594f2fbbd2fb9b467617e0c8584f1abd8fcd178 WHIRLPOOL 9f5606ca771931012462c4759021a5dd52a0ee5d94c380756455d6c2c0e9707f88f7c7927bcd65ff92588ff8955f36f6e28dc7adf1b4252fa2837a02a0d3defd +MISC metadata.xml 230 SHA256 677e4595d00a3098fde05ae33118b9ac05867dc5729c9cd579dc8badd1a28f68 SHA512 d7a2643abd1904cc5ff4d91cbb6f1baeb7f75fd1db542c5e14f19412f4f0bd4b903f8e703a7662ba7482c79dac5529057760b6427599d35e0842755fd946e057 WHIRLPOOL 4866c82c6428eae526c0a514c988e4119221f77b0e8bfb04fec713dd3ba516c69afc776a0c6f53c29abfd8507aa23801614db1ba544dd0a0dd4d6a9462c27306 diff --git a/app-eselect/eselect-mesa/eselect-mesa-0.0.10-r1.ebuild b/app-eselect/eselect-mesa/eselect-mesa-0.0.10-r1.ebuild new file mode 100644 index 000000000000..10db83f4c3e8 --- /dev/null +++ b/app-eselect/eselect-mesa/eselect-mesa-0.0.10-r1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Utility to change the Mesa OpenGL driver being used" +HOMEPAGE="https://www.gentoo.org/" + +SRC_URI="mirror://gentoo/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~sparc-solaris ~x86-solaris" +IUSE="" + +DEPEND="" +RDEPEND=">=app-admin/eselect-1.2.4 + >=app-shells/bash-4" + +src_install() { + insinto /usr/share/eselect/modules + doins mesa.eselect +} + +pkg_postinst() { + if has_version ">=media-libs/mesa-7.9" && \ + ! [ -f "${EROOT}"/usr/share/mesa/eselect-mesa.conf ]; then + eerror "Rebuild media-libs/mesa for ${PN} to work." + fi +} diff --git a/app-eselect/eselect-mesa/metadata.xml b/app-eselect/eselect-mesa/metadata.xml new file mode 100644 index 000000000000..e943b72b8a48 --- /dev/null +++ b/app-eselect/eselect-mesa/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>x11@gentoo.org</email> + <name>X11</name> +</maintainer> +</pkgmetadata> diff --git a/app-eselect/eselect-metasploit/Manifest b/app-eselect/eselect-metasploit/Manifest new file mode 100644 index 000000000000..2a0374f9fa9e --- /dev/null +++ b/app-eselect/eselect-metasploit/Manifest @@ -0,0 +1,9 @@ +AUX 91metasploit 301 SHA256 40def76822cd8e068b53b64af00eb46cf0246afda58356c94ef7c30bb742344c SHA512 60c1633dba13a5614649f51e9c4b79dde9944bac3c81dba26b5e97d3589985ba66d05c73093b68bef2af150932d534fc3d17c223de1c68a13b266ba219c55f9b WHIRLPOOL cd8122211b5069c9bc91403b35bd05318ea49955c4d19c9774a6fceadb005e13a670a7a8c10346b12bd5de01c675d0baf89ff6e6fce599bde043f69e11d02ef3 +AUX metasploit.eselect-0.13 5200 SHA256 51d19a3af7bf03198a558a1fbce32bde3e852883f917c6047faf45030e847589 SHA512 73d94d02995f3328a61e566d9d6da58c062393a4b8ae48f57c4fa09fe2e3d06e4b9a5dd069c6504cb77a0dcd924e4a13c83857bb8a640d0d7568c99ae0e6655c WHIRLPOOL eb7c2f51f18bfa5168ed5b67e0eab1069b8706f06d096cc5f9c40c6add7f5d249003e370ade1238108732ecf02f2ff0d567451a8009fdbc0136fafbe426ae1c5 +AUX msfloader-0.16 1156 SHA256 e7cef38a60d3a2abaa0dac02e4d19be5cf9ae5c63dbe46b7d9c06e360311165f SHA512 8b16f37892fa59df912c6a67413b505f1e192c88d57635ba0f91d768c4a55ab856471ce78f4f21c990d0b250736bdae8129a70b7459e9a82ce291fe631e1361d WHIRLPOOL e968c3cafc3e037eb5ab849dd4db516bdae60c7c431a7455dcf81bdf27604dcdec37b809e5035ae7f6498de354c75e748b6a48d711db523d1adc868041ed3534 +AUX msfrpcd.confd 370 SHA256 8b437413fb2e1d26161ce4232cb7d44cfd41d0923d18a82ac984a89a89c887f2 SHA512 88a52427233bc82dc36d8f627edee84ba6675cddcc4539bb3a28cfe6fd7fba673875d62a150dfa5314756f11a6b1a95453966b31a2ae1f9820c6ef936d463f90 WHIRLPOOL 2b704c60d06fc03ed1d65eecffd38e402342a3b4c5bb6d6817e0ed7c745944dfa38358bca5dfe5ae24cc0e0f9375cefd6b046f3630ec3c9650569b86679e52d8 +AUX msfrpcd.initd 470 SHA256 e7ab81b7fdadc8309341b71d496fe221e36ddbee0692280b98bd01dede0e1d9c SHA512 315eff30ff8826f87243d100f9a7fa28e7e4689bb4593bdc4fa0a4f8fa1216556e8921f39c912bb544c7304c84a6421e6289f8aca177ae401989f35e2b8fe441 WHIRLPOOL 230ba3a44e3b784c6c0b432c68581014b1670a3afda15a0ffe193bee5c7c9e3989b464ccc06523a91829b0adc69803c5b07461ffd3c80e231e006f2f17022b6e +EBUILD eselect-metasploit-0.16.ebuild 912 SHA256 2e039b464ed3d1e693f5cf1e74ca9ebd35a809b555b281e67241293dc035d728 SHA512 970d64ffbe097e3cf18f08df0fe63826d21b24c0929635ec236fcb5cbed760e965ff7e20573297bb84583e51388a7ac08eaf4fac2d4fa46f098bcbddc71de0c6 WHIRLPOOL 32b86d6c8d090fb820cc303110e8e45b2919865c0c334765766aeb457312ff7528c0811f9372158ab8f53c11dbfabb60d9d381ac506b1cc1debbdc9d5ac6b055 +MISC ChangeLog 2587 SHA256 2dd64db9a7b027440e51f0d92e030e65c509cb9cbfca148244cb84ab1942636c SHA512 9c0bd91b4114e21f239837b4576366bd8ccf6d2753b08fc71c809dbadf31c81af1f8da3bc01671a298d42f163aefeedb222ee44ec871d136648e90b4da7eb5e2 WHIRLPOOL aece0af921fe15416a74bbeb54b0e8e4891141357b330d3ae2b3452a95a11bc326496c5cf9cca29ef4258eeead57b5edb785f3cb7323f36a94fddf9118a70dc9 +MISC ChangeLog-2015 2664 SHA256 57472808054602a08a8ff229584766fbdaeb1acda38ec0e692caeca550650634 SHA512 8b5bac79eb1100786dde6b8f11616a56850516ac3c54baa91cd118bbe1cfa397fa332347f454c22fba5b2d9e156d440a6247b4ec8a53b6791864602fd12c742e WHIRLPOOL d7e84674c0034938e8eb5946493ca4b0bf9abd7381133599f1b30245e28240998106afc87f34390f7d193a27786b5ea95aa1511aa4c55ffbb5a178bdf7bc52fc +MISC metadata.xml 241 SHA256 50b9f6c8946f5d421e8feb8ffbf48238d8b8b018e315f322548b47a89d80b32c SHA512 d308ccef737c1776c2d77c0761996ef272a5866f5d9ceeda4dd4ceede851a145f76281a29b4c4b154e5b10f1d57c9344010bfcf75ba52fb3f1b34a58e3c2053f WHIRLPOOL 5436d62e0cda11ff7a49a8bc1b2c7400a58ad347709d48be3f462530bac689e9e9e6340580b5ccec717498a010c4d2f16ecd5f35ab04356858e7c540ac3b1da3 diff --git a/app-eselect/eselect-metasploit/eselect-metasploit-0.16.ebuild b/app-eselect/eselect-metasploit/eselect-metasploit-0.16.ebuild new file mode 100644 index 000000000000..4746a34aa7d3 --- /dev/null +++ b/app-eselect/eselect-metasploit/eselect-metasploit-0.16.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit multilib + +DESCRIPTION="eselect module for metasploit" +HOMEPAGE="http://www.pentoo.ch/" +SRC_URI="" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" + +DEPEND="app-admin/eselect + !<net-analyzer/metasploit-4.6" +RDEPEND="${DEPEND}" + +S=${WORKDIR} + +src_install() { + #force to use the outdated bundled version of metasm + doenvd "${FILESDIR}"/91metasploit + + newinitd "${FILESDIR}"/msfrpcd.initd msfrpcd + newconfd "${FILESDIR}"/msfrpcd.confd msfrpcd + + insinto /usr/share/eselect/modules + newins "${FILESDIR}/metasploit.eselect-0.13" metasploit.eselect + + newbin "${FILESDIR}"/msfloader-${PV} msfloader +} + +pkg_postinst() { + "${EROOT}"/usr/bin/eselect metasploit set --use-old 1 + elog "To switch between installed slots, execute as root:" + elog " # eselect metasploit set [slot number]" +} diff --git a/app-eselect/eselect-metasploit/files/91metasploit b/app-eselect/eselect-metasploit/files/91metasploit new file mode 100644 index 000000000000..ce58b5043ddd --- /dev/null +++ b/app-eselect/eselect-metasploit/files/91metasploit @@ -0,0 +1,8 @@ +MSF_DATABASE_CONFIG=/usr/lib/metasploit/config/database.yml + +# needed because MSF ships an old version of metasm +# which isn't compatible with the new one +MSF_LOCAL_LIB="/usr/lib/metasploit/lib/metasm" + +# needed because MSF doesn't know where it is since the alzheimer's +MSF_ROOT=/usr/lib/metasploit diff --git a/app-eselect/eselect-metasploit/files/metasploit.eselect-0.13 b/app-eselect/eselect-metasploit/files/metasploit.eselect-0.13 new file mode 100644 index 000000000000..be4f780e935d --- /dev/null +++ b/app-eselect/eselect-metasploit/files/metasploit.eselect-0.13 @@ -0,0 +1,207 @@ +# -*-eselect-*- vim: ft=eselect +# Copyright 2005-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 or later +# $ + +DESCRIPTION="Control which metaploit version is active" +MAINTAINER="zerochaos@pentoo.ch" + +###WARNING: don't even think of using this insanity for a reference (but it works,mostly) +#base idea from kernel.eselect, get_libdir from php.eselect with --use-old from opencl.eselect +#all modified randomly until it worked, entropy is wonderful +###/WARNING + +inherit multilib + +get_libdir() { + local dir + if has lib64 $(list_libdirs); then + echo lib64 + return + fi + echo lib +} + +MSFPATH="/usr/$(get_libdir)/metasploit" + +# find a list of metasploit symlink targets and sort them +find_targets() { + local f + for f in "${EROOT}${MSFPATH}"[[:digit:]]*; do + [[ -d ${f} ]] && basename "${f}" + done | LC_ALL=C sort +} + +# remove the metasploit symlink +remove_symlink() { + for i in $(qlist metasploit | grep $(canonicalise "${EROOT}${MSFPATH}")/msf) + do + if [ -L /usr/bin/$(echo ${i} | awk -F'/' '{print $5}') ]; then + unlink /usr/bin/$(echo ${i} | awk -F'/' '{print $5}') || die -q "failed to unlink ${i}" + fi + done + if [ -L ${EROOT}${MSFPATH} ]; then + unlink "${EROOT}${MSFPATH}" || die -q "failed to unlink ${EROOT}${MSFPATH}" + elif [ -e ${EROOT}${MSFPATH} ]; then + die -q "${EROOT}${MSFPATH} exists but is not a symlink" + fi +} + +# set the metasploit symlink +set_symlink() { + local target=$1 + + if is_number "${target}"; then + local targets=( $(find_targets) ) + target=${targets[target-1]} + fi + + if [[ -z ${target} ]]; then + die -q "Target \"$1\" doesn't appear to be valid!" + elif [[ -d ${EROOT}/usr/$(get_libdir)/${target} ]]; then + ln -s "${target}" "${EROOT}${MSFPATH}" + for i in $(qlist metasploit | grep /usr/$(get_libdir)/${target}/msf) + do + ln -s /usr/bin/msfloader /usr/bin/$(echo ${i} | awk -F'/' '{print $5}') + done + #this elif looks like it is trying to support setting by slot only, + #but that isn't supported by the rest of the script... fix or remove? + elif [[ -d ${EROOT}${MSFPATH}${target} ]]; then + ln -s "metasploit${target}" "${EROOT}${MSFPATH}" + for i in $(qlist metasploit | grep /usr/$(get_libdir)/${target}/msf) + do + ln -s /usr/bin/msfloader /usr/bin/$(echo ${i} | awk -F'/' '{print $5}') + done + else + die -q "Target \"$1\" doesn't appear to be valid!" + fi +} + +# wrapper to safely set the symlink +set_symlink_safe() { + if [[ -L ${EROOT}${MSFPATH} ]]; then + # existing symlink + remove_symlink || die -q "Couldn't remove existing symlink" + set_symlink "$1" || die -q "Couldn't set a new symlink" + #um, why is there an env-update here? + env-update + elif [[ -e ${EROOT}${MSFPATH} ]]; then + # we have something strange + die -q "${EROOT}${MSFPATH} exists but is not a symlink" + else + set_symlink "$1" || die -q "Couldn't set a new symlink" + fi +} + +### show action ### + +describe_show() { + echo "Show the current metasploit symlink" +} + +do_show() { + write_list_start "Current metasploit symlink:" + if [[ -L ${EROOT}${MSFPATH} ]]; then + local metasploit=$(canonicalise "${EROOT}${MSFPATH}") + write_kv_list_entry "${metasploit%/}" "" + else + write_kv_list_entry "(unset)" "" + fi +} + +### list action ### + +describe_list() { + echo "List available metasploit symlink targets" +} + +do_list() { + local i targets=( $(find_targets) ) + + write_list_start "Available metasploit symlink targets:" + for (( i = 0; i < ${#targets[@]}; i++ )); do + [[ ${targets[i]} = \ + $(basename "$(canonicalise "${EROOT}${MSFPATH}")") ]] \ + && targets[i]=$(highlight_marker "${targets[i]}") + done + write_numbered_list -m "(none found)" "${targets[@]}" +} + +### set action ### + +describe_set() { + echo "Set a new metasploit symlink target" +} + +describe_set_parameters() { + echo "<target>" +} + +describe_set_options() { + echo "<target> : Target name or number (from 'list' action)" + echo "--use-old : If an implementation is already set, use that one instead" +} + +do_set() { + local action="error" + local current=$(basename "$(canonicalise "${EROOT}${MSFPATH}")") + local available=( $(find_targets) ) + local new + local opt + + while [[ ${#@} -gt 0 ]] ; do + opt=$1 + shift + case ${opt} in + --use-old) + if [[ -n "${current}" ]] && has "${current}" "${available[@]}"; then + action="old-implementation" + fi + ;; + metasploit*) + if [[ "${action}" != "old-implementation" ]] ; then + action="set-implementation" + fi + + if has ${opt} ${available[@]}; then + new="${opt}" + else + echo "You need to emerge ${opt} before you try to eselect it" + fi + ;; + *) + if [[ "${action}" != "old-implementation" ]] ; then + action="set-implementation" + fi + + if is_number ${opt} ; then + #targets=( $(get_implementations) ) + new=${available[opt - 1]} + if [[ -z ${new} ]] ; then + die -q "Unrecognized option: ${opt}" + fi + else + die -q "Unrecognized option: ${opt}" + fi + ;; + esac + done + + case ${action} in + old-implementation) + set_symlink_safe ${current} + return $? + ;; + set-implementation) + if [[ -n ${new} ]] ; then + set_symlink_safe ${new} + return $? + else + die -q "Please specify an implementation to set" + fi + ;; + *) + die -q "Invalid usage of set action." + ;; + esac +} diff --git a/app-eselect/eselect-metasploit/files/msfloader-0.16 b/app-eselect/eselect-metasploit/files/msfloader-0.16 new file mode 100644 index 000000000000..231275a9b1f6 --- /dev/null +++ b/app-eselect/eselect-metasploit/files/msfloader-0.16 @@ -0,0 +1,41 @@ +#!/bin/sh + +#todo: +#add in optional auto starting/stopping of postgres + +#read the desired version of ruby from the eselected version of msf +header="$(head -n1 /usr/lib/metasploit/msfconsole)" +ruby="${header:2}" + +#normally msf makes this dir, however, this script runs first +if [ ! -d ~/.msf4 ]; then + mkdir ~/.msf4 +fi + +#we cannot control if msf* exits normally so always start with cleanup +if [ -f ~/.msf4/Gemfile ]; then + rm ~/.msf4/Gemfile +fi +if ls -A ~/.msf4/*.gemspec > /dev/zero 2>&1; then + rm ~/.msf4/*.gemspec +fi + +#fetch the latest Gemfile and gemspecsfrom the selected version of msf +cp /usr/lib/metasploit/Gemfile ~/.msf4/ +if ls -A /usr/lib/metasploit/*.gemspec > /dev/zero 2>&1; then + cp /usr/lib/metasploit/*.gemspec ~/.msf4/ +fi + +#ensure Gemfile.lock is up to date +BUNDLE_GEMFILE=~/.msf4/Gemfile ${ruby} -S bundle check > /dev/null 2>&1 +if [ "$?" != "0" ]; then + if [ -f ~/.msf4/Gemfile.lock ]; then + rm ~/.msf4/Gemfile.lock + else + echo "Something went wrong, please open a bug for metasploit on https://bugs.gentoo.org" + fi +fi + +#ready to go +BUNDLE_GEMFILE=~/.msf4/Gemfile ${ruby} -S bundle exec /usr/lib/metasploit/$(basename $0) "$@" +#profit diff --git a/app-eselect/eselect-metasploit/files/msfrpcd.confd b/app-eselect/eselect-metasploit/files/msfrpcd.confd new file mode 100644 index 000000000000..d097e6cdfb71 --- /dev/null +++ b/app-eselect/eselect-metasploit/files/msfrpcd.confd @@ -0,0 +1,16 @@ +# Config file for /etc/init.d/metasploit + +# Bind to the following IP instead of the loopback address +IPADDR=127.0.0.1 + +# Bind to the following TCP port instead of default 55555 +PORT=55553 + +# Use the following username instead of msf +USER="msf" + +# Use the following password instead of msf +PASS="secure" + +# All options +MSF_OPTS="-U $USER -P $PASS -S -a $IPADDR -p $PORT" diff --git a/app-eselect/eselect-metasploit/files/msfrpcd.initd b/app-eselect/eselect-metasploit/files/msfrpcd.initd new file mode 100644 index 000000000000..8963eef82bf4 --- /dev/null +++ b/app-eselect/eselect-metasploit/files/msfrpcd.initd @@ -0,0 +1,21 @@ +#!/sbin/openrc-run +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +VERSION= +PIDFILE=/var/run/msfrpcd${VERSION}.pid + +start() { + ebegin "Starting msfrpcd" + start-stop-daemon --start --quiet --background \ + --exec /usr/bin/msfrpcd \ + --pidfile ${PIDFILE} \ + --make-pidfile -- -f ${MSF_OPTS} + eend $? +} + +stop() { + ebegin "Stopping msfrpcd" + start-stop-daemon --stop --quiet -s 9 --pidfile ${PIDFILE} + eend $? +} diff --git a/app-eselect/eselect-metasploit/metadata.xml b/app-eselect/eselect-metasploit/metadata.xml new file mode 100644 index 000000000000..0bd171786a1f --- /dev/null +++ b/app-eselect/eselect-metasploit/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"> +<email>zerochaos@gentoo.org</email> +<name>Rick Farina</name> +</maintainer> +</pkgmetadata> diff --git a/app-eselect/eselect-miniaudicle/Manifest b/app-eselect/eselect-miniaudicle/Manifest new file mode 100644 index 000000000000..2784cd9056ab --- /dev/null +++ b/app-eselect/eselect-miniaudicle/Manifest @@ -0,0 +1,7 @@ +AUX miniaudicle-1.0.1_list.patch 609 SHA256 73c5beeb658a55b98d724c2c89c7bcacfe510f7d19227d771a5b6676a0b1bd59 SHA512 891564338f5e8abb27168cf73636c68b9ff2fcd2a4397c59386686d77196df7df5f51c48c09d1472ff1fa6805c75768ad304cba7180e1b9912ba8a262111e2d0 WHIRLPOOL 774fdd1c44b7e2ac78302a6664b8f7d99a783c3fb3d31cd7abebb996997f3a4d6949262f86582878b12bb431db13dac5f38ba38489238a6adbb14b6985de72ba +DIST miniaudicle.eselect-1.0.1.bz2 1284 SHA256 c5ff356568e0903385b938192bd59dc2d32867419431ef2336ff48e19415a64b SHA512 259a9e566fcdaae04ed845c1fc797faba422dd562da3721d6d07c1b6ea6de856f7e9fe4dfe5c6895b464231c3e9dfa7fa8718a49085fc3e8f79b9e4c4c340085 WHIRLPOOL 4c3d5567024d7eb9a7901b61864c91d2b96834d420e3857e170050c040caaf204cef6a138de47461e75cd2ed523436f85a4da3ea01c8d10a7b5602701d962680 +EBUILD eselect-miniaudicle-1.0.1-r1.ebuild 631 SHA256 de470c55ef0b56634c5219a689fdab4d55db60d0bd03b5c48c42bcfa03d5fde2 SHA512 b707348535a45bd55410de5766e78efd104f9998f4178ab80a7b6472e39a1c383bc608559546a411ba881645a6269837da83a93d2243d05b26f843cf3271a135 WHIRLPOOL 18285d45eba52ef5287174e9f6fe1ec9c174da467c2f3d10c5dc4dc961043d1b9f985cbda97bee48a1df6922266e822da5ed7c629ba3a97471f84d89f6002a86 +EBUILD eselect-miniaudicle-1.0.1-r2.ebuild 633 SHA256 826f8a25ded04401c3428b267cc6ff87dc13ec382f6aee670cc2cbf8045d07d9 SHA512 cff2d32775cd969588fc5ddfe59a95a5ef1c5218e9983ab156acf03df8df27a0877c1443365d297ddf616072c11959bb95cce45a0ab061bad1fcfa7b3b24173a WHIRLPOOL ae27a7278833a2a8c7ad837124a1d2adf8ddb5377e299e2d4ca84f79844303163b44d109b492588ef18479d43e02d2029b638a84ede92eece5aeff236162f9f8 +MISC ChangeLog 3038 SHA256 c6c741b5d05e024852cf571e10aaf141cb2039536a7be696dd85797cd13a0332 SHA512 87eff903ed6e1d6d1278c634721c24c134b21c9bca78103499f2d541fd7869a9317dfa9b54a290028df01eb65371d11cafb43a49c3e6ca1d9ecf3ebcdf3077cc WHIRLPOOL 6ebe7cbf2563e00c704698f10bd65f8180b3bdb2ac5a1c664757293d82a00984cae80f93e39735f6e99a16543879a9bec2d4267f4fc3cea3df5c30ff1708e37c +MISC ChangeLog-2015 1542 SHA256 9d02cc7f3faf862f4490fc87ead0bd4896c48f597467dce9c7bdd722f1bb55df SHA512 8ecbdd4c2a954dc8ba6f7970639fbe8c1a4d62355e4742d5393deabcf32d0d5f5cc2dfdc53a0c095221d1a58377e517a5c0f348f49abe24a180fe9f83feb11cb WHIRLPOOL 8d57e870754d3cb4a6870889916448694ecae19358769c71fec609fad6bcbb5dd498d69a7e21d0150de1cd9ea0adabdb1f51ff35c59191d8ec0209253af61537 +MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968 diff --git a/app-eselect/eselect-miniaudicle/eselect-miniaudicle-1.0.1-r1.ebuild b/app-eselect/eselect-miniaudicle/eselect-miniaudicle-1.0.1-r1.ebuild new file mode 100644 index 000000000000..1e7b96c335d3 --- /dev/null +++ b/app-eselect/eselect-miniaudicle/eselect-miniaudicle-1.0.1-r1.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=3 + +inherit eutils + +DESCRIPTION="Manages the /usr/bin/miniAudicle symlink" +HOMEPAGE="https://www.gentoo.org/" +SRC_URI="mirror://gentoo/miniaudicle.eselect-${PV}.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND=">=app-admin/eselect-1.2.3" + +src_prepare() { + # Fixes listing as described in bug 320189, not upstream yet + epatch "${FILESDIR}"/miniaudicle-1.0.1_list.patch +} + +src_install() { + insinto /usr/share/eselect/modules + newins "${WORKDIR}/miniaudicle.eselect-${PV}" miniaudicle.eselect || die +} diff --git a/app-eselect/eselect-miniaudicle/eselect-miniaudicle-1.0.1-r2.ebuild b/app-eselect/eselect-miniaudicle/eselect-miniaudicle-1.0.1-r2.ebuild new file mode 100644 index 000000000000..ed453c3232f8 --- /dev/null +++ b/app-eselect/eselect-miniaudicle/eselect-miniaudicle-1.0.1-r2.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Manages the /usr/bin/miniAudicle symlink" +HOMEPAGE="https://www.gentoo.org/" +SRC_URI="mirror://gentoo/miniaudicle.eselect-${PV}.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=app-admin/eselect-1.2.3" + +S=${WORKDIR} + +src_prepare() { + # Fixes listing as described in bug 320189, not upstream yet + eapply "${FILESDIR}"/miniaudicle-1.0.1_list.patch + default +} + +src_install() { + insinto /usr/share/eselect/modules + newins "${WORKDIR}/miniaudicle.eselect-${PV}" miniaudicle.eselect +} diff --git a/app-eselect/eselect-miniaudicle/files/miniaudicle-1.0.1_list.patch b/app-eselect/eselect-miniaudicle/files/miniaudicle-1.0.1_list.patch new file mode 100644 index 000000000000..bd14b175e2f7 --- /dev/null +++ b/app-eselect/eselect-miniaudicle/files/miniaudicle-1.0.1_list.patch @@ -0,0 +1,12 @@ +--- a/miniaudicle.eselect-1.0.1.orig 2010-07-14 23:21:11.000000000 -0400 ++++ b/miniaudicle.eselect-1.0.1 2010-07-14 23:22:22.000000000 -0400 +@@ -73,7 +73,7 @@ + targets=( $(find_targets ) ) + write_list_start "Available miniAudicle audio engines:" + for (( i = 0 ; i < ${#targets[@]} ; i = i + 1 )) ; do +- [[ ${targets[${i}]} == $(basename $(canonicalise ${ROOT}/usr/bin/miniAudicle ) ) ]] && \ ++ [[ ${targets[${i}]} == $(basename $(canonicalise ${ROOT}/usr/bin/miniAudicle- ) ) ]] && \ + targets[${i}]=$(highlight_maker "${targets[${i}]}") + done + write_numbered_list -m "(none found)" "${targets[@]}" + diff --git a/app-eselect/eselect-miniaudicle/metadata.xml b/app-eselect/eselect-miniaudicle/metadata.xml new file mode 100644 index 000000000000..6f49eba8f496 --- /dev/null +++ b/app-eselect/eselect-miniaudicle/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<!-- maintainer-needed --> +</pkgmetadata> diff --git a/app-eselect/eselect-mpg123/Manifest b/app-eselect/eselect-mpg123/Manifest new file mode 100644 index 000000000000..98f693e8f9aa --- /dev/null +++ b/app-eselect/eselect-mpg123/Manifest @@ -0,0 +1,5 @@ +AUX mpg123.eselect-0.1 343 SHA256 86c99206628e62aaefa79baff71dfa1342fff296846dd72c1c6116422e24605e SHA512 b11891308231ff322c0028eca8fcbac999a74c31a26e5e0376195276fc52c210febc21a46a78b23a1ca6099abb27e5ef401d4b3f50de3c98eba3631dabee3593 WHIRLPOOL 87b5d96f40de7ea10a7ba179d297aeced8b4b6a725666977e4f50dc5bf7b222339878da39f614fcaae27c9498d276dc08825be57890582bbc2576cf99faf2793 +EBUILD eselect-mpg123-0.1.ebuild 614 SHA256 d1a420d18a3ec0a735b9570b29d72f066fbac4f79c62de7443323f29868f8efa SHA512 3f5815a9c069868c845fb3040b72e01f230e18d27a0a4d5c5db103fbe49593fb5f68d9b5d5b66fd0a8673865ff9fbb211450ec41eeb5635c2d981ea4124e1863 WHIRLPOOL 753413d22c438c81a9f6fbd493fb26e3528aef7e06008e56528ed3c547581012f02c16552b133ffb53e50cc5bb4e04ef70123b796d4f83668ff28cea97e04939 +MISC ChangeLog 2503 SHA256 36592ab847ed64c9d4d43c670b5d2394efb3bea1a42c7a03ab48f927e49ee911 SHA512 8bab23c758ebd7facb51c591fd3f58d5cc5032973055bc122435655c0029715a84e147050c0d40f4d247f52b87f235e21ed2e30ed17acb03bf13b51117c8f33d WHIRLPOOL 49fcfb390bb5fedd940b6ffab015dd88b4a6818ce168f0f0a2e96d61b984d56ccdb7904f36f20c0733b142a1c5509aeb2d830b14fc93d25324ea1a40d9ac0dc4 +MISC ChangeLog-2015 1796 SHA256 80919170ad31f402ded97d9596ff6004b12ed5c55b6db65044a4e54723efaebc SHA512 045cdc24733373eed56eba160d1bfcc1de75f51086cdd89241731d6d6b7bc9bc2e689908fa548fde57ee819132f17939e54e4f69411d03ef0df28cb19f67a331 WHIRLPOOL 3d527d3231f3d42fe7bd059cd3db8c2d81666a9ffaa77efb294dc27a213dd3d871e3abb4abe84b66ad6e46ca1b39d0d5efc9158bb94bc7eb5b8569b988dd4124 +MISC metadata.xml 249 SHA256 a591aa91a9c413e7f7e24fd25b924ce2dfef686da8b4ce38bebb088ebfdba9db SHA512 9a100fb26586365eda99724330a03a512f4d0be18d39c3a195ba02c2fc841edeee99d22512acf5a058a3b978d3a74f4d963a5aff9aa343b6cb4086cdfefe6343 WHIRLPOOL ae5b0c583f3a07ed1ccf651b5b9c8d6c8c637fba2d505fc4b028ea60239fc0a84e37a169b5114f879712ae74f7f41960a2cc6b59e67cacc7f964b105b5fb8723 diff --git a/app-eselect/eselect-mpg123/eselect-mpg123-0.1.ebuild b/app-eselect/eselect-mpg123/eselect-mpg123-0.1.ebuild new file mode 100644 index 000000000000..1834b66879c7 --- /dev/null +++ b/app-eselect/eselect-mpg123/eselect-mpg123-0.1.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +DESCRIPTION="Manage /usr/bin/mpg123 symlink" +HOMEPAGE="https://www.gentoo.org/proj/en/eselect/" +SRC_URI="" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="" + +RDEPEND=">=app-eselect/eselect-lib-bin-symlink-0.1.1 + !<media-sound/mpg123-1.14.4-r1" +DEPEND=${RDEPEND} + +S=${FILESDIR} + +src_install() { + insinto /usr/share/eselect/modules + newins mpg123.eselect-${PV} mpg123.eselect +} diff --git a/app-eselect/eselect-mpg123/files/mpg123.eselect-0.1 b/app-eselect/eselect-mpg123/files/mpg123.eselect-0.1 new file mode 100644 index 000000000000..fbca7e97a2f9 --- /dev/null +++ b/app-eselect/eselect-mpg123/files/mpg123.eselect-0.1 @@ -0,0 +1,12 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +DESCRIPTION="Manage /usr/bin/mpg123 implementation" +MAINTAINER="ssuominen@gentoo.org" +VERSION="0.1" + +SYMLINK_PATH=/usr/bin/mpg123 +SYMLINK_TARGETS=( mpg123-mpg123 mpg321-mpg123 ) +SYMLINK_DESCRIPTION='mpg123 binary' + +inherit bin-symlink diff --git a/app-eselect/eselect-mpg123/metadata.xml b/app-eselect/eselect-mpg123/metadata.xml new file mode 100644 index 000000000000..c870d0eef0ab --- /dev/null +++ b/app-eselect/eselect-mpg123/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>sound@gentoo.org</email> + <name>Gentoo Sound project</name> +</maintainer> +</pkgmetadata> diff --git a/app-eselect/eselect-mpost/Manifest b/app-eselect/eselect-mpost/Manifest new file mode 100644 index 000000000000..ca9e8c790b93 --- /dev/null +++ b/app-eselect/eselect-mpost/Manifest @@ -0,0 +1,5 @@ +AUX mpost.eselect-0.3 3728 SHA256 6ce0cf1c349b1613ca10ca9b7eb9cec29bf25334c91c3f8dfee33523b25425fb SHA512 b2cd807c3ebf7933410dddc9a56129a6ecb284cb163510aac7340ca44ce4dd42e69953b24e002da3898b3961f2a661a27615fefec79b5ffed04dac5637c41b01 WHIRLPOOL 0b6e164451fd0fdac180bbd3c3a58b9f6eaf51b56734b703c981ec9ae84145a3f0891f2053a80a8474a5666d42973dd52d3040dd4bdb4d098240456cd1f62383 +EBUILD eselect-mpost-0.3.ebuild 742 SHA256 2f83d549f3f1c87329f44ec67a6cf8aaae4c9d89b634782696f6be964ba4a58a SHA512 a67e2fba0ff1a760a5ef38ee3f6d274dfb58c959ccd74e0b3fd2b83dea5aa53c5e92b637bca0411585c6d34777b35a52cd1f7b18bdc7a74d6805685caca53834 WHIRLPOOL 3e18f2bd53bc42ce92f3fb6817eab5e33dd7e67a5131cc12a1c9a64c86ebe90b5aaf9bb07969de68465fc838b29015bc0a1220de0c4461bb61217132663a330d +MISC ChangeLog 2935 SHA256 ac4c225ab3b91e910ef3baf315114a3f9a34fb1269977c008a2f785bc76f1360 SHA512 6543859264380eabbe1c356012a29ce3048ac61ed95a1dac43147afa2e08a32553eaa0acb21ccb107c4d023896148c5820350676ffac83215f2ca660920acbeb WHIRLPOOL a5e48cf57381f3bd5c9b9bae5d49365c3d8d4f5b4695cc20407dde27267f22dbb4eacd7baa73ba2d8b1346b28488c342e7dfd65c497a8954afd20b954e17a3fd +MISC ChangeLog-2015 2922 SHA256 73c73ffe55fe961d46f3797c8ecede1b867e2e617b10697c5159223c44a9f998 SHA512 b6f20310202a762e6762e64b3bc26919340406c3032a9cb199799bd4aa174e48b67ee3ce473fbb108e9f66623597e7bb9fe7ed4e5e63f74d1b5165e37ee4ca7c WHIRLPOOL 3caf77a1e80688a2a67a60e4456ab1543f79e31ee5afb488d572ccb5d1a212cfedf334336ff1db1ddf1dd6f95eed20d6a733d2e4e6004f5d05c3ff416bc15a4b +MISC metadata.xml 245 SHA256 b3de478821488be2cdc91b078e21c911dc384af882c5c44631a47dfa91516dc8 SHA512 1653777623e2c15e1ce13229e396723b2cc9c214983e0f8592de98c01a31badc6c38c6735ed44f937d145883b43fb6f049af3eddb9ff96b18c96ccf8f67dd690 WHIRLPOOL 701a78fc2214f5fd4bd781477f85e87e716b8d76ea831a0fa4afc8871c4286cc363679f1ff4f844555ad4f77cc7265208b83e805f56c22fc4baeed1062280c08 diff --git a/app-eselect/eselect-mpost/eselect-mpost-0.3.ebuild b/app-eselect/eselect-mpost/eselect-mpost-0.3.ebuild new file mode 100644 index 000000000000..72105888040d --- /dev/null +++ b/app-eselect/eselect-mpost/eselect-mpost-0.3.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +inherit eutils + +DESCRIPTION="mpost module for eselect" +HOMEPAGE="https://www.gentoo.org/proj/en/eselect/" +SRC_URI="" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ~ppc ~ppc64 s390 sh sparc x86 ~x86-fbsd" +IUSE="" + +DEPEND="" +# Depend on texlive-core-2008 that allows usage of this module, otherwise it +# will not work so nicely. +RDEPEND=">=app-admin/eselect-1.2.3 + >=app-text/texlive-core-2008" + +src_install() { + local MODULEDIR="/usr/share/eselect/modules" + local MODULE="mpost" + dodir ${MODULEDIR} + insinto ${MODULEDIR} + newins "${FILESDIR}/${MODULE}.eselect-${PVR}" ${MODULE}.eselect \ + || die "failed to install" +} diff --git a/app-eselect/eselect-mpost/files/mpost.eselect-0.3 b/app-eselect/eselect-mpost/files/mpost.eselect-0.3 new file mode 100644 index 000000000000..4b772d175000 --- /dev/null +++ b/app-eselect/eselect-mpost/files/mpost.eselect-0.3 @@ -0,0 +1,147 @@ +# -*-eselect-*- vim: ft=eselect +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +DESCRIPTION="Manage /usr/bin/mpost implementations" +MAINTAINER="ml@gentoo.org" +SVN_DATE='$Date: 2015/03/31 16:51:56 $' +VERSION=$(svn_date_to_version "${SVN_DATE}" ) + +# find a list of mpost symlink targets, best first +find_targets() { + local f + for f in "${ROOT}"/usr/bin/mpost-*; do + if [[ -f ${f} ]] ; then + echo "${f##*/mpost-}" + fi + done | sort +} + +# find version number of currently symlinked version +identify_target() { + local f + f="$(canonicalise "${ROOT}"/usr/bin/mpost)" + echo "${f##*/mpost-}" +} + +# try to remove the mpost symlink +remove_symlinks() { + rm -f "${ROOT}"/usr/bin/mpost &>/dev/null +} + +# set the mpost symlink +set_symlinks() { + local target="${1}" targets + if is_number "${target}" && [[ ${target} -ge 1 ]] ; then + targets=( $(find_targets ) ) + target=${targets[$(( ${target} - 1 ))]} + fi + if [[ -f "${ROOT}/usr/bin/mpost-${target}" ]] ; then + remove_symlinks + ln -s "mpost-${target}" "${ROOT}/usr/bin/mpost" || \ + die "Could not set ${target} /usr/bin/mpost symlink" + echo "Updating TeX formats" + "${ROOT}"/usr/bin/fmtutil-sys --all &>/dev/null || write_warning_msg "Could not update TeX formats for some reason, mpost may not work properly." + else + die -q "Target \"${target}\" doesn't appear to be valid!" + fi +} + +### show action ### + +describe_show() { + echo "Show the current mpost version" +} + +do_show() { + [[ -z "${@}" ]] || die -q "Too many parameters" + + write_list_start "Current mpost version:" + if [[ -L "${ROOT}/usr/bin/mpost" ]] ; then + write_kv_list_entry "$(identify_target)" "" + elif [[ -e "${ROOT}/usr/bin/mpost" ]] ; then + write_kv_list_entry "(not a symlink)" "" + else + write_kv_list_entry "(unset)" "" + fi +} + +### list action ### + +describe_list() { + echo "List available mpost versions" +} + +do_list() { + [[ -z "${@}" ]] || die -q "Too many parameters" + + local i targets current + targets=( $(find_targets ) ) + current=$(identify_target) + for (( i = 0; i < ${#targets[@]}; i++ )); do + [[ ${targets[i]} = ${current} ]] \ + && targets[i]=$(highlight_marker "${targets[i]}") + done + write_list_start "Available mpost versions:" + write_numbered_list -m "(none found)" "${targets[@]}" +} + +### set action ### + +describe_set() { + echo "Set a new mpost version" +} + +describe_set_options() { + echo "target : Target version number or index from 'list' action" +} + +describe_set_parameters() { + echo "<target>" +} + +do_set() { + if [[ -z "${1}" ]] ; then + die -q "You didn't give me a version number" + + elif [[ -n "${2}" ]] ; then + die -q "Too many parameters" + + elif [[ -L "${ROOT}/usr/bin/mpost" ]] ; then + if ! remove_symlinks ; then + die -q "Can't remove existing version symlink" + elif ! set_symlinks "${1}" ; then + die -q "Can't set new version" + fi + + elif [[ -e "${ROOT}/usr/bin/mpost" ]] ; then + die -q "${ROOT}/usr/bin/mpost seems to be from an old ebuild, please remove manually" + else + set_symlinks "${1}" || die -q "Can't set new version" + fi +} + +### update action ### + +describe_update() { + echo "Automatically update the mpost version number" +} + +describe_update_options() { + echo "--if-unset : Do not override currently selected version" +} + +do_update() { + [[ -z "${1}" ]] || ( [[ -z "${2}" ]] && [[ "${1}" == "--if-unset" ]] ) || \ + die -q "Usage error" + + if [[ -L "${ROOT}/usr/bin/mpost" ]] ; then + [[ ${1} == "--if-unset" ]] && return + remove_symlinks || die -q "Can't remove existing symlink" + fi + if [[ -e "${ROOT}/usr/bin/mpost" ]] ; then + die -q "${ROOT}/usr/bin/mpost seems to be from an old ebuild, please remove manually" + elif ! [[ -z $(find_targets ) ]] ; then + set_symlinks 1 || die -q "Can't set a new version" + fi +} diff --git a/app-eselect/eselect-mpost/metadata.xml b/app-eselect/eselect-mpost/metadata.xml new file mode 100644 index 000000000000..13170c3184d8 --- /dev/null +++ b/app-eselect/eselect-mpost/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>tex@gentoo.org</email> + <name>Gentoo TeX Project</name> +</maintainer> +</pkgmetadata> diff --git a/app-eselect/eselect-notify-send/Manifest b/app-eselect/eselect-notify-send/Manifest new file mode 100644 index 000000000000..79aeac322105 --- /dev/null +++ b/app-eselect/eselect-notify-send/Manifest @@ -0,0 +1,5 @@ +AUX notify-send.eselect-0.1 368 SHA256 450c6cf4611f667202cf39e2a34a800a3040e047adc40c26bda4971c17d780ec SHA512 13624909369f3f0563e6aabf1d7e7fe1a7f4fa59d705dd18aa73cc87cc346d4c62ed5566c45b87802452e45b59a4342d428a32125d17ad4629b0f8292fac4757 WHIRLPOOL 2938806cd02650b79b407e5953ac86136b0b6cfceffde56f883af65b8e849c1e87f3b374e54c09a8105f36c388e083928174daf976a4d844636f3a524d28eed6 +EBUILD eselect-notify-send-0.1.ebuild 650 SHA256 31f0c45d0e5b4e3b24a93fad28af9e2bed51de51236fe42b474e9378ca133477 SHA512 00d5301dbbcb0f1a2cced20ce10e4850c07a44aedd9d3c988e92b2df0d4a301ca3f4c4e1d286f95a5a793920e62b0bdf3cd64e16899ff7a6fc764445ab2e0567 WHIRLPOOL 44b512de931e75b65b42658d6d4a2bb7bc9b475d028565eb8058c113bf632ee2be1bbe89c72006b8a18737c80e0905435a0a1a1b6dfb964a2b3a0808796c23f7 +MISC ChangeLog 2530 SHA256 1122700dda2da04322fbca741bf3c21074e7f25eced275662092073746def3ec SHA512 defd2e19522a81d91c8431c9ee871bd687ee752fe079e763ad8992715d55006a46873f3b0aa0ad01b52560edbd4adf00360e5d87c0df411f8bf10ca9cfcd155a WHIRLPOOL e002b142d2407fbd914670c1f43b37d0e7819f0db6ae3d8456b00442f3c40bc63773c108cf9250feab750f242bb3d7f4d9917368135d74aa15e897b9c09f1c52 +MISC ChangeLog-2015 1794 SHA256 c4bddc6e1af3fec98e34903cd1dd226c67dff7c21bfa7f780fa5f67cf99e1c25 SHA512 b06130abf2d3151615990e932f0bf1649df5329691d323fad02f7c5d6d8f218d857415f08ee8fed2918923ca4db56d9178408e5bbb31c45c89a341a4a7ed4576 WHIRLPOOL 093cdc85257868cb8f28befea95d43bcb5ca65ed21cb5d5dd4f09d304869536aecf4de9d136e0cd29b63e0a2d3c1df56e274d948f773d542505b5b12284afe37 +MISC metadata.xml 228 SHA256 a3c8fb486cd4bec96195197f2974a236066bd02c05d29ace05a844a43bbfd66e SHA512 4f5e63f918a0f8790db49c5b12173c673f86935f00796a04acfed573f618379b73b05b1869941e11f881fe69d4958f5287ce815fd710eadb6ac9f2680894caae WHIRLPOOL 4690b7b1591c1f8a8b55f8693dbd5172642a2d377c2f12f3b20dca75a6befc9eeac6eeb7e83ba2332b760d64b5c6fd0ac0000b5a40c416eaeec05f49eb6de750 diff --git a/app-eselect/eselect-notify-send/eselect-notify-send-0.1.ebuild b/app-eselect/eselect-notify-send/eselect-notify-send-0.1.ebuild new file mode 100644 index 000000000000..da0e7a78fa07 --- /dev/null +++ b/app-eselect/eselect-notify-send/eselect-notify-send-0.1.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +DESCRIPTION="Manage /usr/bin/notify-send symlink" +HOMEPAGE="https://www.gentoo.org/proj/en/eselect/" +SRC_URI="" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm ~arm64 ia64 ~mips ppc ppc64 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" +IUSE="" + +RDEPEND=">=app-eselect/eselect-lib-bin-symlink-0.1.1 + !<x11-libs/libnotify-0.7.5-r1" +DEPEND=${RDEPEND} + +S=${FILESDIR} + +src_install() { + insinto /usr/share/eselect/modules + newins notify-send.eselect-${PV} notify-send.eselect +} diff --git a/app-eselect/eselect-notify-send/files/notify-send.eselect-0.1 b/app-eselect/eselect-notify-send/files/notify-send.eselect-0.1 new file mode 100644 index 000000000000..61f42f601468 --- /dev/null +++ b/app-eselect/eselect-notify-send/files/notify-send.eselect-0.1 @@ -0,0 +1,12 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +DESCRIPTION="Manage /usr/bin/notify-send implementation" +MAINTAINER="ssuominen@gentoo.org" +VERSION="0.1" + +SYMLINK_PATH=/usr/bin/notify-send +SYMLINK_TARGETS=( libnotify-notify-send tinynotify-send ) +SYMLINK_DESCRIPTION='notify-send binary' + +inherit bin-symlink diff --git a/app-eselect/eselect-notify-send/metadata.xml b/app-eselect/eselect-notify-send/metadata.xml new file mode 100644 index 000000000000..95e86c12108a --- /dev/null +++ b/app-eselect/eselect-notify-send/metadata.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>freedesktop-bugs@gentoo.org</email> + </maintainer> +</pkgmetadata> diff --git a/app-eselect/eselect-oodict/Manifest b/app-eselect/eselect-oodict/Manifest new file mode 100644 index 000000000000..ce890888de42 --- /dev/null +++ b/app-eselect/eselect-oodict/Manifest @@ -0,0 +1,5 @@ +DIST oodict.eselect-20100228.bz2 3802 SHA256 0984ef5091249a3013133a9ee22c03609538e285d88cfc54364ede7f7890c36f SHA512 7aa1e3081b9629ea5932dc679bed7956887cc7f3dcb7e6399d42f8d3ed30b565a1487eef15293f4046b38b6bf8a7844e6d7050e01337550044977366a795f753 WHIRLPOOL 1b16c8f8d80b5a1f2445bb532dcf38354e36f5da6b6e112efe577811524decffc05bae7af489c1ce2680dda5bdbb93dd45ea476331247b2397d268df725caad3 +EBUILD eselect-oodict-20100228.ebuild 547 SHA256 3ed91088dfa323174d40a6ec4a9d4032f974a9e1a3508f82493b74c3b02d6326 SHA512 ca234be8bd5bd6bed343d3c6564dca2a6ead7a913bc85fbb35cf7b5821ba437a6030475c887d9c43b3be5c59783a2ce5382470260c30eb1517704a71928e95dd WHIRLPOOL bad87d4e999f3fccaf3285069bf59b5a47bcdc7acf8f74683dc12836814bb60ff682d72b397ef82a7ae4df01af012020117cd1e7fb8c43e52ea64301c86e10f7 +MISC ChangeLog 2629 SHA256 256cbb9abbe624a6e936abdb2c8e84838ea5904d0eabb211fc5afa9a1498869f SHA512 6a490db431a3e1db146462bd4e356f01b782238fc1e27760af708b5ce3d83824b4c1a84dc3a29f348f5d242d73f7596fc1d42fc24c73a4c6cce1b216c2406de4 WHIRLPOOL 81981304bfd90df0bce09b784654ea7d501d872523798cedab6308b8735636e4f9ddb42805c67c90a8832fa33e285674a7f7cb426b17ad405d65b76ef540d0e1 +MISC ChangeLog-2015 5640 SHA256 edd8b9be01c1dc94beea1e4c2bf1ea2be660990a8718248887dae25ef4ca3778 SHA512 bc92b6d86f71bd3b6c4af50dfc9ea83fdc3cf784bf6b9aabe9d32b4c60d8e59a2d752f61b04cf46fb9b4ac3ebbdda5245e61b04f49b71cd7911586338ab4bc69 WHIRLPOOL 3714c42b3506ce196555434506b671c0b6fbbc2fd195d0af47093102791b631e9c24e307c3a2a849f872f34308bf2fad5d6da71bd712fe8364a4b03d4bda68c6 +MISC metadata.xml 354 SHA256 372088c9f9339801e6f15e62dd1a359dbb299233fd240c1bf8e4eda1446a2e38 SHA512 0b5d112a649f59f7e9fd15e91d67e6b7f837bf34c9870d96e963508a56218c2498aac001f9d5ccc4af9328be9ea4de2a2dd6e042c347dc7c3d69697e2ea6fbb1 WHIRLPOOL 3d4e7979f3122cafa741139e42fc616027c28790a67ec30089744bd4f53de46b2ca2005c0ebafdb672b66ced3b413a4bdfc5b14e372e78dee61cd5d98298e05b diff --git a/app-eselect/eselect-oodict/eselect-oodict-20100228.ebuild b/app-eselect/eselect-oodict/eselect-oodict-20100228.ebuild new file mode 100644 index 000000000000..8f29fa5e7865 --- /dev/null +++ b/app-eselect/eselect-oodict/eselect-oodict-20100228.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +DESCRIPTION="Manages configuration of dictionaries for OpenOffice.Org" +HOMEPAGE="https://www.gentoo.org/" + +SRC_URI="mirror://gentoo/oodict.eselect-${PVR}.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~x86-solaris" +IUSE="" + +RDEPEND=">=app-admin/eselect-1.2" + +src_install() { + insinto /usr/share/eselect/modules + newins "${WORKDIR}"/oodict.eselect-${PVR} oodict.eselect || die "newins failed" +} diff --git a/app-eselect/eselect-oodict/metadata.xml b/app-eselect/eselect-oodict/metadata.xml new file mode 100644 index 000000000000..261bcb860752 --- /dev/null +++ b/app-eselect/eselect-oodict/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>office@gentoo.org</email> + <name>Gentoo Office project</name> + </maintainer> + <longdescription> + Manages configuration of dictionaries for OpenOffice.Org. + </longdescription> +</pkgmetadata> diff --git a/app-eselect/eselect-opencascade/Manifest b/app-eselect/eselect-opencascade/Manifest new file mode 100644 index 000000000000..48e0f25468ce --- /dev/null +++ b/app-eselect/eselect-opencascade/Manifest @@ -0,0 +1,5 @@ +AUX eselect-opencascade-0.eselect 2593 SHA256 48b38d15c446472d43e48d2f447125e205e1135acc9717bc57af42a08ad1dd7c SHA512 046d1932acecd4ed635f2199b89698eb59d1d34e4605ede7aae7fe45dd347b5ba58bffd53cf54fe3dd4b8f9dd443f37ca7f7d7a7d33f566a01506a4dffe717da WHIRLPOOL 47195718d39a6437eec2ee2e3af57157e24c844d52add11af65f3d6b36469b791508c43e377deebda95541a83e37f253122a8752a82bda68e932df2c7b163478 +EBUILD eselect-opencascade-0.ebuild 515 SHA256 1c245f2adbfb21e03537eba718506a43bcd74170d0c974fe8f223e5bcecacf39 SHA512 0db0b61fae1c8ce3ea370e658cb3e71e50376eab902f4ba64b64d2ade49f81608055a29494215435ca3b64bc5b47887816eef6811e4278f5b59cb35b12532bdf WHIRLPOOL f95ab94cfb4071298dfea2610acc51e8ffcebd5e880e018cea7abc5d7fc6e897979ea5d1a122381d38a6373d227272ba7792bc2fa0407627a448e7083698f299 +MISC ChangeLog 2672 SHA256 0acbf34afd31d95d7d19205458fe824de53032ff1b3124c3f960e24d595c06e5 SHA512 f021d9f2a8155ce6ed92db1815937f79008e7cfe5a4af617e9a75afb256b0768a64832caab49618be0becfb2ce88aa21ba112cbe826e9e4d531413d551d20900 WHIRLPOOL b0f89a3d414968c6545363c7770a9c4195df73c7c28201fef1e425925119c3258eee9b5f56734399e2c01bf048a96a23fbea96bad1d0269aa2cf75cd25048ec1 +MISC ChangeLog-2015 885 SHA256 ed11651643cbe3702d943021adaf3cc65214683fc3b4e36408de32e825ef7130 SHA512 b1fa7c723e17ded82c351dd4164eef42fd07d42d9489fe10c4ca6da4922bf245b33f3b5d0e3c4b59dbb575919685c19debe4917ad82b198925f9e98814e12569 WHIRLPOOL c50fbd4e098fa5a83b0b9922c7243199e9ad0fc7631fe77f670c4a2c27e92698254ae8e536057ec0129d3f3d95ceae896d7619b19a0a2602ee83a6ad236aff4d +MISC metadata.xml 237 SHA256 ffb571839c57797d282263369646d2bba2662601a45f7bb3251bb97f716554a6 SHA512 ae2360aa6b1b00c67e0acea4935c02b64585b9a15e126fec9d5d99637021c542c0a495e5116205f3da287def46fa5b19cb1a7f3042c12c5f7a78d66d92fcb03f WHIRLPOOL 60d6da846c983457e038ea5ba3c0bf48f939c9586610985a14cac9772fd1d45d781a643abc16482f232f3028e44fe99fe1a382deaebf6589602fc244a4460e3f diff --git a/app-eselect/eselect-opencascade/eselect-opencascade-0.ebuild b/app-eselect/eselect-opencascade/eselect-opencascade-0.ebuild new file mode 100644 index 000000000000..c0ef1e3ddc24 --- /dev/null +++ b/app-eselect/eselect-opencascade/eselect-opencascade-0.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +DESCRIPTION="Manages opencascade env file" +HOMEPAGE="https://www.gentoo.org/proj/en/eselect/" +SRC_URI="" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND="" + +S="${WORKDIR}" + +src_install() { + dodir /etc/env.d/opencascade + insinto /usr/share/eselect/modules + newins "${FILESDIR}"/${P}.eselect opencascade.eselect +} + +pkg_postrm() { + rm -v "${EROOT}"etc/env.d/51opencascade +} diff --git a/app-eselect/eselect-opencascade/files/eselect-opencascade-0.eselect b/app-eselect/eselect-opencascade/files/eselect-opencascade-0.eselect new file mode 100644 index 000000000000..da97cb4a8c33 --- /dev/null +++ b/app-eselect/eselect-opencascade/files/eselect-opencascade-0.eselect @@ -0,0 +1,104 @@ +# -*-eselect-*- vim: ft=eselect +# Copyright (c) 2006-2013 Gentoo Foundation +# +# This file is part of the 'eselect' tools framework. +# +# eselect is free software: you can redistribute it and/or modify it under the +# terms of the GNU General Public License as published by the Free Software +# Foundation, either version 2 of the License, or (at your option) any later +# version. +# +# eselect is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR +# A PARTICULAR PURPOSE. See the GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along with +# eselect. If not, see <http://www.gnu.org/licenses/>. + +MODULE=opencascade +TARGET=${EROOT}/etc/env.d/51${MODULE} +CONFDIR=${EROOT}/etc/env.d/${MODULE} + +inherit tests path-manipulation + +find_implems() { + local -a implems + for file in "${CONFDIR}"/* ; do + [[ -f ${file} ]] || continue + implems=(${implems[@]} "${file##*/}") + done + echo ${implems[@]} +} + +is_active() { + local f + [[ $# -eq 1 ]] || die "Need exactly 1 arguments!" + [[ -L ${TARGET} ]] || return 1 + f=$(canonicalise ${TARGET}) + [[ -e ${f} ]] || return 1 + [[ ${f##*/} == ${1} ]] +} + +# switch_implem $implem +# switches $iface combination to $implem +switch_implem() { + [[ $# -eq 1 ]] || die "Need exactly 1 arguments!" + $(is_active ${1}) && return + [[ -L ${TARGET} ]] && rm -f ${TARGET} + ln -s ${MODULE}/${1} ${TARGET} + env-update + echo "If you intend to use the selected opencascade in" + echo "an already running shell, please remember to do:" + echo + echo ". /etc/profile" +} + +do_list() { + local implem i + write_list_start "Installed $MODULE" + for implem in $(find_implems) ; do + (( i++ )) + is_active ${implem##*/} \ + && implem=$(highlight_marker "${implem}") + write_numbered_list_entry $i "${implem}" + done +} + +describe_set() { + echo "Activate one of the installed $MODULE implementations" +} + +describe_set_parameters() { + echo "<implementation>" +} + +describe_set_options() { + echo "implementation : implementation name or number (from 'list' action)" +} + +do_set() { + [[ $# -ne 1 ]] && die -q "Please specify exactly 1 implementation!" + local -a implems + + implems=( $(find_implems) ) + + if is_number ${1} ; then + new_implem=${implems[$(( ${1} - 1 ))]} + else + new_implem=${1} + fi + echo $new_implem + switch_implem ${new_implem} +} + +describe_show() { + echo "Print the currently active $MODULE implementation" +} + +do_show() { + local f n + [[ -L ${TARGET} ]] || return 1 + f=$(canonicalise ${TARGET}) + [[ -f ${f} ]] || return 1 + echo ${f##*/} +} diff --git a/app-eselect/eselect-opencascade/metadata.xml b/app-eselect/eselect-opencascade/metadata.xml new file mode 100644 index 000000000000..a535b8852829 --- /dev/null +++ b/app-eselect/eselect-opencascade/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"> +<email>xmw@gentoo.org</email> +<name>Michael Weber</name> +</maintainer> +</pkgmetadata> diff --git a/app-eselect/eselect-opencl/Manifest b/app-eselect/eselect-opencl/Manifest new file mode 100644 index 000000000000..a10d3357197a --- /dev/null +++ b/app-eselect/eselect-opencl/Manifest @@ -0,0 +1,22 @@ +DIST cl.h.1.1.xz 6940 SHA256 11b0249ec6c35000686cfe775b1789fa010b6d058e123b00c720e8408881f13f SHA512 905d4707bba968f97fe6871ca85a04c1272a22753bc68334e0990c1f968796930aae69af1d5d601d2bd90c323d50224fa230402e0fa0d7f74c859c481ed969b2 WHIRLPOOL 47c1e5812e3ef69fa3b75feb2f89ec910dc5078ee449b7f211b12f995244357ea4963d8ac578b2dc809d0613f915868e5c438f654217815f8f346cd16083ccc2 +DIST cl.hpp.1.1.xz 14764 SHA256 5d90ef4d964a6365d8e9305913c85dd0ffe6916df0a151a116b1b58b0e6c7ef4 SHA512 13e2ef779daaeaa6748f34c533d621c896fbcd375947c6774fd18aefbb9b4d88bf5e012c678c0808bb2956599fa222f69d15f3cf0df707984408a969737ad687 WHIRLPOOL 1bcea4788850d258644bccf10aa0d1dbe29c0048914e68f4ecaf1d9033ebe326f566a6fe82a48efb022b22c857013a0eac126653ac0a0bbf8dad4ae72dc0febe +DIST cl_ext.h.1.1.xz 2740 SHA256 aeb729345004bf67d2564e1dc55feb326ff017f3b291ffb8e1391de353e09620 SHA512 3571f44b167ad1f8faf634bb57c541b01345f335fd4756727a625f1288fad2f41e4826d745c8b8a570f4367881a272626f72b5155d0660d4f668a7cb65de9063 WHIRLPOOL f606b0fe58fa3ac317dbfda239484570f539fced0bf71c1fdb6779d40e5ec34607b8ddffc69a2dd7bcb8d4d85dcc19e453be57ff78e9079c17621f5b407b6371 +DIST cl_gl.h.1.1.xz 1856 SHA256 eeddf3403c13776b3d13a25c9e47a01eee750c0120f74d402fad5d78b29f925a SHA512 6821e0779d225aaadf5eb35de722be7d4c0a5ebff15e512510d565faf82daa53ef41cf32b0a62f966f7bfc32e95f6c5f21cfc4812ee1f792d5b57a14b70dcee4 WHIRLPOOL 11f9dc0bf37b58685d7d87f91ecc0f3da27e4d30c90669c542b53c985861e3f04eaaac89f287598a60d1f7b2aae6c802d7574e93d28b9cec86f6c0e161a154bb +DIST cl_gl_ext.h.1.1.xz 1356 SHA256 594e463e3a24e62870c5c1914b05e796aeda8892bf6830ee8db3f722993fdf02 SHA512 23fbc933e0beb2748152fa058d8ed413351fcfce167b9788c8a3529323b89e57eb1bf84d998fc262081410985f476bbf56fdd0bffe73f08135f5c90b7d09bb8d WHIRLPOOL 94301285dd567d8c7c9145d49801ea5c7e0ae4f5c01a9f93bcea667df925ea9d55a5ec978c3c05337306bdd0d53b829a9c03cbe8131982b2eddae23fc2eb1e5c +DIST cl_platform.h.1.1.xz 5584 SHA256 2f70eb47285fd46f75d48476e90ee3b7e9ba62166bc573bbb35cb0f9d7a2ea53 SHA512 8265cd3b3630d367fe494a60911564e57169d03948827a0e2ca0669678b4a5b595b22ae2786a7c42c0b96fd6fbfb7d326c63759cfd1b7888b8cd35588b5f7544 WHIRLPOOL aa5e12ec2eb49323f9812ae51d5b45db2919488bd36fd58bb40eb6538020e8de732aa60a4fc1b8bf913cdfbdf35c0ebe63fd8cd0b8f415d34cbdce4d54207ff7 +DIST eselect-opencl-1.1.0-r1.tar.xz 3276 SHA256 86a2f5f152e543046899989b3a12a065dfc357a2276ce06d69d19bdbf175fdea SHA512 b2be1e2035fda4e119f03e9ef84fbf1f09fc0bd5475d3fe30d2330dac76180930451d78dbb9e158c34dee9ce524076434254757b594e84dea96341e52ef13c14 WHIRLPOOL 4df96b5f97b6071c27c613addd0b579deb800012ba2640814dcb107ec6ab9f3fac6384c4c3313bd245d62eb2a376e378e0820ef891bed6b41b778721b325f667 +DIST opencl-cpp-headers.tar 716800 SHA256 d29bcc187c9f9b92f41498ee4cc9d889e7485f987062c7db3b70652c6a75544d SHA512 b04c653f213b3cc99f0bbe3c589cf8b2f8f6144d61a85a284a60de92fd5148ff3d45204b4c6a08c205fc307300743bcf4654be2b8b18dd970b5d645ac2eec2f5 WHIRLPOOL 335e1b1154dd1dc1ffbc61307406fccdef87ed15b9902eba59b996512753fde49062adfdd09d75dc3d4cf0023969e3f31c3b649185de23d7a678e4ef6d0d24a5 +DIST opencl-headers-1.2.tar.gz 122068 SHA256 c35c1aada9984b24784d6b6a5752e22b9c70646043344e0f45830c9dc5ae28c4 SHA512 0780c96d47a7ad41f6b31d46d41be77651d27d5decd1a4248c452d8bf763b6fc3b76597352bd259778c5846c62c17f077ff8db5504da39844c8e6e07c7d9a264 WHIRLPOOL 4f5c1058d23f91d806dba861fefd5cf3685a12a78217136adc0ac2f630995c82fa6d537e3cd67b6b2e2d01b6de12c30dc7e039b9aaa057661deb7f10a466f48d +DIST opencl.h.1.1.xz 944 SHA256 c076e410eaffd9fbb056528f31a59fe1908481f0fd38981c13970727a0c4d096 SHA512 62b5ae61f2d9a44e9f8b6a7e3421cacfe5291bc9b5430845d469ea5a6404d71d3ab49d78c6da2588eab2bcd5f9b0d86c53f3aa74bd7c43c960ad86f0eab9595c WHIRLPOOL bd3d946b6c361187d9d7c4337287c24161fc0f291cfc810c0bcf05d9fe120192a853fe7b69500783b7ec1994e9b265d84eb82b8fc681df060c16aa3d038c8374 +DIST opencl10.zip 21701 SHA256 91443f16420a1cbac73e47bfac6d8562494f2b4218039e128131859435a762d6 SHA512 ce3ad95d7314df4b55284d48c54fb7dfca0a218d0e36a732414b53dc7bdcc53199167b6810a3e3ebdd8abf91a4904acd471733b9130e3a38ec0b3e9ba918b691 WHIRLPOOL d853f2a0f82949dbe2204f2c373c2bc6b5db5681108eb09544bf234469740fd5c96a829bf6e86e3034fecb470c5582ee2e9f117e448cdcb00ce76e05d9d78178 +DIST opencl11.zip 25496 SHA256 ce9fb43d981c4d012d9b145c475dc5b00db734a9e0a57dd9bdad024731123131 SHA512 c66664e940a51ceb951a78895df87a5dc3139e76b3f847af43c54400d37f243a390b94aab290d32044e19bdba63d0ee8af94955af9a83326c7ab353242496fcc WHIRLPOOL 3c4e348c5b599e3c98256af4fa281f24ffeeacc149f3b90b95f6da64f8ec33be8bd1d3118066b4903362e3ed00071792c3eac57a56cee6bfa748910b8c10a09e +DIST opencl12.zip 33311 SHA256 fdaae3850c818947d326e8833ba79335aea28bfc65d87a8d7d5c9599e4a13571 SHA512 af7bb5865372a900a5b79086a54709abc99f6a3afe105adb6fdd276e30ef5c5be576421c206768e0b19e82f83e33727b6f246dfc71a0ee1d847e52d6db6130a8 WHIRLPOOL 675e9f67498111540276ac216c78ffa78ee925288da5ded5e9344bd51251a8c4c1d51c466b24d7e452371fb1764982e24f9f2203e499dbd3b1f917ef85c87984 +DIST opencl20.zip 34892 SHA256 d83af2f3ef3be7c435d154ef37b426bdb43986a0de8a5fbb2e84bb7437d9aa72 SHA512 e4c6f68db91e0946de5a0f2aecd8fbc152f316350088a386cad9de37b377b6e8c362e93e3c2b09b3dce5f4659c753764ec8906b50a86a5107d2c29e6ffcfe71f WHIRLPOOL 7de96d15345fed71cecf21d009158da29ed385e61d831c509d57bbd26ba54f154e9d877aa767d6b8e9da6cda48b6d107d27e09659d7fbe31c244bea8c6eb9976 +DIST opencl21.zip 35514 SHA256 5c6c4b273a3e9c25094fa50702a1f84b25e63e2a9fbe74518bf9d1282c045f0a SHA512 2b6eafc26ff522407f06509197f5eefbb321806ac3f65bb881db4532da6c0e00b9c397468d55881578b116a1c8d05a0599f9f5727f62eb545394a2cecf5d95c0 WHIRLPOOL 55c4c558254a46fecce626a10ff5688d312c9b373de3914fb493f119d14338bf7dc51ba6eb2ca89f934dd6e13286b1f459314af7749666ec3d08dd9baf95f22d +EBUILD eselect-opencl-1.1.0-r1.ebuild 1612 SHA256 29fc217bcf540e76cc86cd7ad982c2bb685ab5eb73b7df26015de9bcd8cc4791 SHA512 53d9301e59c723049d710d6ce3a94ea113cefa0443b6bfced040cbb7f19dda89fc14d1d8d94cebd5d04f932642b2bd4d4448ececf455eeceeefb332077ecb485 WHIRLPOOL f72a3316b9459fc00953f448d7cb0aedde118a5b84dd12ff0d3c6c1d00f0b940955af9eb1622422b46984e02804627265e8c168b2c12def9c5c232b8ff88aa0a +EBUILD eselect-opencl-1.1.0-r2.ebuild 1937 SHA256 1ee84dfc98bf93942236fd051593694c385e35c4d96c0e4f59434f921749a2ec SHA512 b5d9fabbc45f311cf844ddc2187325d35385649a9ae8e43bd51acf4845920f7a817967484d6d66fab4de149f6e7eb822b9b35049ace2d44a8e3059fb86310ff7 WHIRLPOOL 383e9386278bbffe9fe1dbd712bd2bf35da3bc93d5ad3a5193d41eea2e08b702f8c58209af4116032c8c4c114c57e48df25286370ed7bbc5f610f5cc716a9868 +EBUILD eselect-opencl-1.1.0-r3.ebuild 1937 SHA256 91947e38dafda70d6447e7304f417510c4317736dba54f0283c0f350f1f28278 SHA512 55db29c480dbe3758547cf370695b7408b4f628e0e86536aa9998294b5871e13634030f5b99104006ff94734bb3350783f89ddb6497dda7a21ca9ea62e797736 WHIRLPOOL 5f0a0fbfc0e4b09cb25664e87984f8d59b03fb2c9d730778b06ee1e1c998d2c53d3ba4cbe4f71657fc7ab6d88a6f4b308cd65df515f1c8030fdaec268a25b37f +EBUILD eselect-opencl-1.1.0-r4.ebuild 2324 SHA256 96fb1ad05e46bc0ce0f1d3fb46df236b642a704a4becc671d18784096a3e14d3 SHA512 d24760bfdb6e1618b9486db5fc932072dce84d60855f7de340db44ec5cdda8ef739a6135d6095b339aa9dd8901bd142b5a8ec8e317d11a00ee4429b8506319e6 WHIRLPOOL 46ea49b3f6dc668a0b39b8ae4385ed0c2d65dd38b6a2bcb2a531af704d4dfd35ad67060372ac18bb9e3484fecf39812e776d125c1f5fcda896790dfab8ccad05 +MISC ChangeLog 2894 SHA256 d3c7984d05e8b559debe54c7b70ddec77f20d8e1703339f6f146f7acad9e6453 SHA512 665d25f281c94366e81922d22bf4c7287ed9ba18e45a194f1b44384ecbcc96f709932751ad1134e5555a4cdacdac9bf035bbb0761af444ca34432db1857d3e99 WHIRLPOOL a456088787a4d9914ee9ab78580f6fde32dda301ef0570b6d76c95228b6f37a7bb31d68ec0e16651921a394ce5aa6f84a36f8e59e46ddb54bf7946d8460b276b +MISC ChangeLog-2015 2181 SHA256 3d3dcb0733a71c272496ac40b231c3f292195f0969c687d3578712d99731c423 SHA512 e67464bf341ac28f255fc72ffcbf33668197c4653a52906dac0e0ffdc2440435162c2cf083ff2e29cd9068f0d51b79a054642a775fbd3b1e20d0367e850f62d4 WHIRLPOOL f2597e6a5a4931d5977a422b758ce5ed9979bd981c90f32c0392009783f9677ac9407cfb7a0acddf9c650fe6ed7528d6258334ded266db54ab904eb845dacd8e +MISC metadata.xml 411 SHA256 c11ba8c4c10259e2d47e397579a5e83c69546e9c3e550b126dc6d76f5edad86d SHA512 7a2cbbea3ab5fbc33c2a8196c50949f5e7a207525d371447c1b44847081cd8a849b7e25034c759e738e9b3d252f13f07d2f730f38e5ce168da604c5fc4907c09 WHIRLPOOL f1c55ea421d12a122859e2c6202cc6f9201f1daa0bb53e7fce03cf54e3d0570623b4a3a0943e3e3015a09e7ad87608ddd74a8a10f54818f0e1e54f66321ea762 diff --git a/app-eselect/eselect-opencl/eselect-opencl-1.1.0-r1.ebuild b/app-eselect/eselect-opencl/eselect-opencl-1.1.0-r1.ebuild new file mode 100644 index 000000000000..b903450b9410 --- /dev/null +++ b/app-eselect/eselect-opencl/eselect-opencl-1.1.0-r1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 +CL_ABI=1.1 + +inherit multilib + +DESCRIPTION="Utility to change the OpenCL implementation being used" +HOMEPAGE="https://www.gentoo.org/" + +# Source: +# http://www.khronos.org/registry/cl/api/${CL_ABI}/opencl.h +# http://www.khronos.org/registry/cl/api/${CL_ABI}/cl_platform.h +# http://www.khronos.org/registry/cl/api/${CL_ABI}/cl.h +# http://www.khronos.org/registry/cl/api/${CL_ABI}/cl_ext.h +# http://www.khronos.org/registry/cl/api/${CL_ABI}/cl_gl.h +# http://www.khronos.org/registry/cl/api/${CL_ABI}/cl_gl_ext.h +# http://www.khronos.org/registry/cl/api/${CL_ABI}/cl.hpp + +MIRROR="https://dev.gentoo.org/~xarthisius/distfiles/" +SRC_URI="${MIRROR}/opencl.h.${CL_ABI}.xz + ${MIRROR}/cl_platform.h.${CL_ABI}.xz + ${MIRROR}/cl.h.${CL_ABI}.xz + ${MIRROR}/cl_ext.h.${CL_ABI}.xz + ${MIRROR}/cl_gl.h.${CL_ABI}.xz + ${MIRROR}/cl_gl_ext.h.${CL_ABI}.xz + ${MIRROR}/cl.hpp.${CL_ABI}.xz + ${MIRROR}/${P}-r1.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86 ~amd64-fbsd ~x86-fbsd" +IUSE="" + +DEPEND="app-arch/xz-utils" +RDEPEND=">=app-admin/eselect-1.2.4" + +pkg_postinst() { + local impl="$(eselect opencl show)" + if [[ -n "${impl}" && "${impl}" != '(none)' ]] ; then + eselect opencl set "${impl}" + fi +} + +src_install() { + insinto /usr/share/eselect/modules + doins opencl.eselect + #doman opencl.eselect.5 + + local headers=( opencl.h cl_platform.h cl.h cl_ext.h cl_gl.h cl_gl_ext.h cl.hpp ) + insinto /usr/$(get_libdir)/OpenCL/global/include/CL + cd "${WORKDIR}" + for f in ${headers[@]}; do + newins ${f}.${CL_ABI} ${f} + done +} diff --git a/app-eselect/eselect-opencl/eselect-opencl-1.1.0-r2.ebuild b/app-eselect/eselect-opencl/eselect-opencl-1.1.0-r2.ebuild new file mode 100644 index 000000000000..08eaec614bb6 --- /dev/null +++ b/app-eselect/eselect-opencl/eselect-opencl-1.1.0-r2.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +inherit multilib + +DESCRIPTION="Utility to change the OpenCL implementation being used" +HOMEPAGE="https://www.gentoo.org/" + +# Source: +# http://www.khronos.org/registry/cl/api/${CL_ABI}/opencl.h +# http://www.khronos.org/registry/cl/api/${CL_ABI}/cl_platform.h +# http://www.khronos.org/registry/cl/api/${CL_ABI}/cl.h +# http://www.khronos.org/registry/cl/api/${CL_ABI}/cl_ext.h +# http://www.khronos.org/registry/cl/api/${CL_ABI}/cl_gl.h +# http://www.khronos.org/registry/cl/api/${CL_ABI}/cl_gl_ext.h +# http://www.khronos.org/registry/cl/api/${CL_ABI}/cl.hpp + +# Using copy by Mario Kicherer #496418 + +#MIRROR="https://dev.gentoo.org/~xarthisius/distfiles/" +SRC_URI="https://github.com/anyc/opencl-headers/archive/opencl-headers-1.2.tar.gz + https://dev.gentoo.org/~xarthisius/distfiles/${P}-r1.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-fbsd ~x86-fbsd" +IUSE="" + +DEPEND="app-arch/xz-utils" +RDEPEND=">=app-admin/eselect-1.2.4" + +pkg_postinst() { + local impl="$(eselect opencl show)" + if [[ -n "${impl}" && "${impl}" != '(none)' ]] ; then + eselect opencl set "${impl}" + fi +} + +src_install() { + insinto /usr/share/eselect/modules + doins opencl.eselect + #doman opencl.eselect.5 + + local headers=( opencl.h cl_platform.h cl.h cl_ext.h cl_gl.h cl_gl_ext.h cl.hpp ) + + # We install all versions of OpenCL headers + cd "${WORKDIR}/opencl-headers-opencl-headers-1.2" + for CL_ABI in 1.0 1.1 1.2; do + mkdir -p "${D}/usr/$(get_libdir)/OpenCL/global/include/CL-${CL_ABI}" + for f in ${headers[@]}; do + cp OpenCL-${CL_ABI}/${f} "${D}/usr/$(get_libdir)/OpenCL/global/include/CL-${CL_ABI}/${f}" + done + done + # Create symlinks to newest. Maybe this should be switchable? + for f in ${headers[@]}; do + dosym "${D}/usr/$(get_libdir)/OpenCL/global/include/CL-1.2/${f}" "/usr/$(get_libdir)/OpenCL/global/include/CL/${f}" + done +} diff --git a/app-eselect/eselect-opencl/eselect-opencl-1.1.0-r3.ebuild b/app-eselect/eselect-opencl/eselect-opencl-1.1.0-r3.ebuild new file mode 100644 index 000000000000..f4aaefe2d9ee --- /dev/null +++ b/app-eselect/eselect-opencl/eselect-opencl-1.1.0-r3.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +inherit multilib + +DESCRIPTION="Utility to change the OpenCL implementation being used" +HOMEPAGE="https://www.gentoo.org/" + +# Source: +# http://www.khronos.org/registry/cl/api/${CL_ABI}/opencl.h +# http://www.khronos.org/registry/cl/api/${CL_ABI}/cl_platform.h +# http://www.khronos.org/registry/cl/api/${CL_ABI}/cl.h +# http://www.khronos.org/registry/cl/api/${CL_ABI}/cl_ext.h +# http://www.khronos.org/registry/cl/api/${CL_ABI}/cl_gl.h +# http://www.khronos.org/registry/cl/api/${CL_ABI}/cl_gl_ext.h +# http://www.khronos.org/registry/cl/api/${CL_ABI}/cl.hpp + +# Using copy by Mario Kicherer #496418 + +#MIRROR="https://dev.gentoo.org/~xarthisius/distfiles/" +SRC_URI="https://github.com/anyc/opencl-headers/archive/opencl-headers-1.2.tar.gz + https://dev.gentoo.org/~xarthisius/distfiles/${P}-r1.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-fbsd ~x86-fbsd" +IUSE="" + +DEPEND="app-arch/xz-utils" +RDEPEND=">=app-admin/eselect-1.2.4" + +pkg_postinst() { + local impl="$(eselect opencl show)" + if [[ -n "${impl}" && "${impl}" != '(none)' ]] ; then + eselect opencl set "${impl}" + fi +} + +src_install() { + insinto /usr/share/eselect/modules + doins opencl.eselect + #doman opencl.eselect.5 + + local headers=( opencl.h cl_platform.h cl.h cl_ext.h cl_gl.h cl_gl_ext.h cl.hpp ) + + # We install all versions of OpenCL headers + cd "${WORKDIR}/opencl-headers-opencl-headers-1.2" + for CL_ABI in 1.0 1.1 1.2; do + mkdir -p "${D}/usr/$(get_libdir)/OpenCL/global/include/CL-${CL_ABI}" + for f in ${headers[@]}; do + cp OpenCL-${CL_ABI}/${f} "${D}/usr/$(get_libdir)/OpenCL/global/include/CL-${CL_ABI}/${f}" + done + done + # Create symlinks to newest. Maybe this should be switchable? + for f in ${headers[@]}; do + dosym "${D}/usr/$(get_libdir)/OpenCL/global/include/CL-1.1/${f}" "/usr/$(get_libdir)/OpenCL/global/include/CL/${f}" + done +} diff --git a/app-eselect/eselect-opencl/eselect-opencl-1.1.0-r4.ebuild b/app-eselect/eselect-opencl/eselect-opencl-1.1.0-r4.ebuild new file mode 100644 index 000000000000..d21b9459ec5e --- /dev/null +++ b/app-eselect/eselect-opencl/eselect-opencl-1.1.0-r4.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit multilib + +DESCRIPTION="Utility to change the OpenCL implementation being used" +HOMEPAGE="https://www.gentoo.org/" + +# Source: +# http://www.khronos.org/registry/cl/api/${CL_ABI}/opencl.h +# http://www.khronos.org/registry/cl/api/${CL_ABI}/cl_platform.h +# http://www.khronos.org/registry/cl/api/${CL_ABI}/cl.h +# http://www.khronos.org/registry/cl/api/${CL_ABI}/cl_ext.h +# http://www.khronos.org/registry/cl/api/${CL_ABI}/cl_gl.h +# http://www.khronos.org/registry/cl/api/${CL_ABI}/cl_gl_ext.h +# http://www.khronos.org/registry/cl/api/${CL_ABI}/cl.hpp + +# Using copy by Mario Kicherer #496418 + +SRC_URI=" + https://dev.gentoo.org/~xarthisius/distfiles/${P}-r1.tar.xz + https://github.com/KhronosGroup/OpenCL-Headers/archive/opencl10.zip + https://github.com/KhronosGroup/OpenCL-Headers/archive/opencl11.zip + https://github.com/KhronosGroup/OpenCL-Headers/archive/opencl12.zip + https://github.com/KhronosGroup/OpenCL-Headers/archive/opencl20.zip + https://github.com/KhronosGroup/OpenCL-Headers/archive/opencl21.zip + http://packages.gentooexperimental.org/opencl-cpp-headers.tar + " +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-fbsd ~x86-fbsd" +IUSE="" + +DEPEND="app-arch/xz-utils" +RDEPEND=">=app-admin/eselect-1.2.4" + +pkg_postinst() { + local impl="$(eselect opencl show)" + if [[ -n "${impl}" && "${impl}" != '(none)' ]] ; then + eselect opencl set "${impl}" + fi +} + +src_install() { + insinto /usr/share/eselect/modules + doins opencl.eselect + #doman opencl.eselect.5 + + local headers=( opencl.h cl_platform.h cl.h cl_ext.h cl_gl.h cl_gl_ext.h cl_egl.h ) + + # We install all versions of OpenCL headers + for CL_ABI in 1.0 1.1 1.2 2.0 2.1; do + mkdir -p "${ED}/usr/$(get_libdir)/OpenCL/global/include/CL-${CL_ABI}" + for f in ${headers[@]}; do + cp "${WORKDIR}"/OpenCL-Headers-opencl${CL_ABI/./}/${f} "${ED}/usr/$(get_libdir)/OpenCL/global/include/CL-${CL_ABI}/${f}" > /dev/null + done + done + + for i in 1.1 1.2 2.1; do + cp "${WORKDIR}"/$i/cl.hpp "${ED}/usr/$(get_libdir)/OpenCL/global/include/CL-${CL_ABI}/" + done + # Create symlinks to newest. Maybe this should be switchable? + for f in ${headers[@]}; do + dosym "${ED}/usr/$(get_libdir)/OpenCL/global/include/CL-1.2/${f}" "/usr/include/CL/${f}" + done +} diff --git a/app-eselect/eselect-opencl/metadata.xml b/app-eselect/eselect-opencl/metadata.xml new file mode 100644 index 000000000000..c52f3dd39335 --- /dev/null +++ b/app-eselect/eselect-opencl/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>patrick@gentoo.org</email> + </maintainer> + <longdescription> + Utility to switch OpenCL implementations between various providers. + </longdescription> + <upstream> + <remote-id type="github">anyc/opencl-headers</remote-id> + </upstream> +</pkgmetadata> diff --git a/app-eselect/eselect-opengl/Manifest b/app-eselect/eselect-opengl/Manifest new file mode 100644 index 000000000000..98148532c2e4 --- /dev/null +++ b/app-eselect/eselect-opengl/Manifest @@ -0,0 +1,5 @@ +DIST opengl.eselect-1.3.1.xz 2588 SHA256 40d805b89a07b85c60a3f7f3461c699f728a83246344950356ce2840bc34bf9e SHA512 052a804e96d8e8afe8b588fdc8996aad21675ea05e3e668c33293df4b9523dde8be083e4a7909a22ec83260c9735694fe4e8aa7e5d8a3736a8e243f29368e532 WHIRLPOOL 3989715d15b4da9ef8162c605a015571bf88dc4526c2fd309222706de0ce918574192263b1a68c4a1ffea9803b3bd0ea43aa3c75d344d0b3a32015f28e5ce533 +EBUILD eselect-opengl-1.3.1-r4.ebuild 2264 SHA256 562a8775014e4568858d680763e6a3b8a7584bd733ef8858f5b37b8c27f12e62 SHA512 040a90d77ca1dd0c623427b95b3dccc92c7d47790bbf1d1b29139e85e0eae5957e947b07736eb9def1feebe28146e5a2d133458eab79e2ad1a4915526eb37e8b WHIRLPOOL 21a2a6dbc00455fa894e4d6cf5de18361fb48fe0ce9b855b0f513eb63f4ba99edbec12bcbdf5218d659e852439b424289c3c9272238cfd5fe0bf268d8465b0ec +MISC ChangeLog 4853 SHA256 cce5b2e1fe7f9fb48ef8f48fa3fef776f80b2c5eb10f60bf2b491a451d3eb752 SHA512 c0ccac0d6aa9fb1c6009a886112d22b6a1250ee82e2fe22e8a8910bd79d9febc0c511166e709bcf44115d3b2ecc640fb26f30c823aacbc3ec3a4ee94962f6ac0 WHIRLPOOL aaa5e98996ad467feeab447a1dd22dc182db3453af4990d406f17548a25447f4bcec8ddb30d1c7fd5dd042ce25a961f72561485ba4499ed0a2ce724810e67ef3 +MISC ChangeLog-2015 21750 SHA256 4c7c999375d327534fdd7f027070e3d9c6665bbbabad4ee39307f9912844f61d SHA512 b13febb4189a8d073cc39a13919ff46e862cfc3f9938bf9d8a161370eebb2a33a616686ba3f13f358c9d2cef8817ce20ed84e28090604142608f7d99670aac9b WHIRLPOOL b80c94a820f096186b7cbb221707d88ef04f64a5400327b6193fbfbda053483d15d2e15fc69e9c2331d1f0475d5dccb7a39e40d271fcf699f8cba5dccbcc6fe9 +MISC metadata.xml 437 SHA256 be5d3905f8c2870a3c70fec22ab5ac1e3c3eb1495a01f6b5be8875c62378a2ee SHA512 4e1c5f16407ad8a0eb5212d6396bd708047da78f3a97a395b80f60cb21f375f308624f01a8b2bff28ad8bdfca04ac2a3f573f3d5c0f679fdad30b4c0b2751552 WHIRLPOOL 77f4f3d42cc884232b31d1abfe1956e0f09e0cf90de8d6eb89b1ae33e8d355b2896281744ed64774472c738f7368d9d3909134169a6b37f1940135f9851db4ff diff --git a/app-eselect/eselect-opengl/eselect-opengl-1.3.1-r4.ebuild b/app-eselect/eselect-opengl/eselect-opengl-1.3.1-r4.ebuild new file mode 100644 index 000000000000..3d31db92c7b6 --- /dev/null +++ b/app-eselect/eselect-opengl/eselect-opengl-1.3.1-r4.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils multilib + +DESCRIPTION="Utility to change the OpenGL interface being used" +HOMEPAGE="https://www.gentoo.org/" + +# Source: +# http://www.opengl.org/registry/api/glext.h +# http://www.opengl.org/registry/api/glxext.h +GLEXT="85" +GLXEXT="34" + +MIRROR="https://dev.gentoo.org/~mattst88/distfiles" +SRC_URI="https://dev.gentoo.org/~mgorny/dist/opengl.eselect-${PV}.xz" +# ${MIRROR}/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +DEPEND="app-arch/xz-utils" +RDEPEND=">=app-admin/eselect-1.2.4 + !<media-libs/mesa-10.3.4-r1 + !=media-libs/mesa-10.3.5 + !=media-libs/mesa-10.3.7-r1 + !<x11-proto/glproto-1.4.17-r1 + !<=x11-base/xorg-server-1.12.4-r5 + !=x11-base/xorg-server-1.15.2-r1 + !=x11-base/xorg-server-1.15.2-r2 + !~x11-base/xorg-server-1.16.3 + !=x11-base/xorg-server-1.16.4 + !=x11-base/xorg-server-1.16.4-r3 + !~x11-base/xorg-server-1.17.0 + !=x11-base/xorg-server-1.17.1 + !<x11-drivers/ati-drivers-14.9-r2 + !=x11-drivers/ati-drivers-14.12 + !<=app-emulation/emul-linux-x86-opengl-20140508" + +S=${WORKDIR} + +pkg_preinst() { + # we may be moving the config file, so get it early + OLD_IMPL=$(eselect opengl show) +} + +pkg_postinst() { + if path_exists "${EROOT}"/usr/lib*/opengl; then + # delete broken symlinks + find "${EROOT}"/usr/lib*/opengl -xtype l -delete + # delete empty leftover directories (they confuse eselect) + find "${EROOT}"/usr/lib*/opengl -depth -type d -empty -exec rmdir -v {} + + fi + + if [[ -n "${OLD_IMPL}" && "${OLD_IMPL}" != '(none)' ]] ; then + eselect opengl set "${OLD_IMPL}" + fi + if [[ -f ${EROOT}/etc/env.d/03opengl ]]; then + # remove the old file, moved now + rm -vf "${EROOT}"/etc/env.d/03opengl + fi +} + +src_prepare() { + # don't die on Darwin users + if [[ ${CHOST} == *-darwin* ]] ; then + sed -i -e 's/libGL\.so/libGL.dylib/' opengl.eselect-${PV} || die + fi +} + +src_install() { + insinto "/usr/share/eselect/modules" + newins opengl.eselect-${PV} opengl.eselect +# doman opengl.eselect.5 +} diff --git a/app-eselect/eselect-opengl/metadata.xml b/app-eselect/eselect-opengl/metadata.xml new file mode 100644 index 000000000000..dfe0fc036771 --- /dev/null +++ b/app-eselect/eselect-opengl/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>x11@gentoo.org</email> + <name>X11</name> +</maintainer> +<maintainer type="person"> + <email>mgorny@gentoo.org</email> + <name>Michał Górny</name> +</maintainer> +<longdescription>Utility to switch opengl implementations between various providers.</longdescription> +</pkgmetadata> diff --git a/app-eselect/eselect-package-manager/Manifest b/app-eselect/eselect-package-manager/Manifest new file mode 100644 index 000000000000..81362c9f86cb --- /dev/null +++ b/app-eselect/eselect-package-manager/Manifest @@ -0,0 +1,5 @@ +DIST eselect-package-manager-20110108.tar.bz2 1273 SHA256 c901afd14bf6c38eaefa5061b756d6532cafa08abba088f6740654a81ab70fc5 SHA512 3fd7d9b33c4d2e3ca4c580e9e55e0033a2bbcc6718e0a2706c9725a125c219bbc937f6347b65fedd58cbad9f00e5c757025c6efba0bf4e7ba131c16134c33962 WHIRLPOOL 907b936864341c49ef2b3809ead5f5a84f74b0a0fc363463500f7105f58bde05ef8d4398501392c56579316794b9847f76cb99e3f54975049e17b2d99dec42d0 +EBUILD eselect-package-manager-20110108.ebuild 560 SHA256 c62abd6e899ef15467b6ae632b6c364b46f3ad51d3e226d9524a90cfe4ba84a2 SHA512 925cd43e462187becd37f9163cc1be176942e075462e56a49ec3d5afffc66ed98aa2db033abdd2b67ff9157c396e9aec6a8e2cb37a27d38e9b949d0a2c8fd395 WHIRLPOOL fb8c22aa67c40e7fd0afdeabd5d88c20309716bec23ac5d72ad0c5ba44db36ae1036bf47c62ccb160b7340375b495695284d0134fafe2b354127a35b23418b8d +MISC ChangeLog 2527 SHA256 e5e612126c0656831c811ef1e8ec0393bf2228bd605d8842906119be52f5ed60 SHA512 67f999b45442f93e635614c9879c7cba7cf24dc85aeb49b96f84cbf5d4630d45d3aa1bbcc64689f23c222e5377d4d04e3f77c1fe855efd2106ea79561be6507e WHIRLPOOL d3463c38f72e3b37567376ada4644d86e58bdaa374419340ea4863d8408ea072256434e6ff146436cfbfa7140de0cacdf36640a49f6a2c6abaa70348718258b7 +MISC ChangeLog-2015 2595 SHA256 6415e147717500ce30572b8cbcef797fb63fa8c3c37fd3401159fdbd7e8b1ae8 SHA512 f20104849561141b5a7377b445d5667e72b9757ef7ccbf6eecd567f2cf1ea8a949f42ed9ec4ba316c111c1c9c2136ac2c86b2ec5a605a1b09e819561bda372fd WHIRLPOOL 2b100eaf19b65fbf5437eff3c901a04ffa090c06b36b3f8da2ccf16422135217f790f9e2150d637bed0a6168ce6357efd0f02c03fc84319c976759d9b0791518 +MISC metadata.xml 272 SHA256 ff2692c2a9d608c5644a9921c1d604b4f42cbdb0de54b2309e51bdd19f973c97 SHA512 55cba722900834986e0ea0c9cd8463c3b69d3ada26227d45c8cc3aa07f6ca40919457f80b03a559a8f9ad55636d931cc2101b928b438aeca19b0531c90ec40a3 WHIRLPOOL 7c3ce11ae48f83ce4546d0ed2e43b617a42d515dd3167e7239ae0b4351ffd1fe8658bd53f5b3e3a094bbd33b20da7b49507c5003f3d374bf5182520e25392cfd diff --git a/app-eselect/eselect-package-manager/eselect-package-manager-20110108.ebuild b/app-eselect/eselect-package-manager/eselect-package-manager-20110108.ebuild new file mode 100644 index 000000000000..db01f146b3a7 --- /dev/null +++ b/app-eselect/eselect-package-manager/eselect-package-manager-20110108.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +DESCRIPTION="Manages PACKAGE_MANAGER environment variable" +HOMEPAGE="https://www.gentoo.org/proj/en/eselect/" +SRC_URI="mirror://gentoo/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd" +IUSE="" + +RDEPEND=">=app-admin/eselect-1.1.1" + +src_install() { + insinto /usr/share/eselect/modules + doins package-manager.eselect || die + doman package-manager.eselect.5 || die +} diff --git a/app-eselect/eselect-package-manager/metadata.xml b/app-eselect/eselect-package-manager/metadata.xml new file mode 100644 index 000000000000..1935b3149bde --- /dev/null +++ b/app-eselect/eselect-package-manager/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>eselect@gentoo.org</email> + <name>eselect configuration and management tool</name> +</maintainer> +</pkgmetadata> diff --git a/app-eselect/eselect-pdftex/Manifest b/app-eselect/eselect-pdftex/Manifest new file mode 100644 index 000000000000..3eb4ed90e49f --- /dev/null +++ b/app-eselect/eselect-pdftex/Manifest @@ -0,0 +1,5 @@ +AUX pdftex.eselect-0.3 3756 SHA256 10494d4602172a4db5e403b3478c743110666e03b6a1a18c9e7bbb328783a138 SHA512 6821ae3dda5fdc35f9d8a41e789870e38c525cfafba0079fa912048a74b873236382367e5752ef3e7115799a9bd22e2b2147a5d778e5a2b688d86e550d534b2d WHIRLPOOL 92c642d55f98d4d88928e75c6198d63bb03b22a65ba66577d7d7e516ce9837dd6b8387cb62ee579703b4ea23a391d1925d733b7bd7f649c8e0db7c34df8b16c7 +EBUILD eselect-pdftex-0.3.ebuild 744 SHA256 6e7092f3a5a918206ea6112fee60fcd193c7c0c0da2189dcb2ea8abe1a4fe1e7 SHA512 5bdca7a604c6dcecc8aee65dc06f879b58cac5f320aa6cabb51385ed2bfdde24ed62df0278d6ddb707a935849fa2f462b190310c41cf61511cdd50edb7f30590 WHIRLPOOL c014196fe85b91c11d5a2a14c7b1df1f0a8d76479106555a7c0b3edfc1171bd93a80340d608668af80634d07b5222e6680d2b5fe1a91f1095498bfb3cf43613b +MISC ChangeLog 2503 SHA256 38decb987b878aba64e8915deb08b138e0553166b6da38b2ecf2d037233bd1ea SHA512 72ba1a00ce53fad96a9a8ac0639569216eb87cc793516825033b2d0f865fe72b3a40459f003aa1e7208dc6877903b3d60cd6b7ca4303981faf65b5c3a4bafc33 WHIRLPOOL 0640e96a248a2b49896840e1d6f66500dd3a4e19605a3bce3bc428f5cc8c264d715450fa1264370d0cfaed2b6c4dc812fd52f1d96c9718b3a1b1ce4ec40cdd97 +MISC ChangeLog-2015 3003 SHA256 a10b8709d3d3671a302359aa5a42b7b2262dab6aff90af1cfb45a49288a51fcc SHA512 de66d32048528213d807857c40bc0346f40ea5ac537b1f923d89e04ff0c46a8a22caef7e50d7b6543fdf32e1c27f47ed216e707e96de8110233d29ee33a14419 WHIRLPOOL 1167981e9254c2ff99f23f4606e74cb328b8de6470197b9e8d19bb5dae6a1f13aaf3a45eee0ddfd839efb9bb01d51cd8a8417eebc6b8b3927bdaf2c00bde52a9 +MISC metadata.xml 245 SHA256 b3de478821488be2cdc91b078e21c911dc384af882c5c44631a47dfa91516dc8 SHA512 1653777623e2c15e1ce13229e396723b2cc9c214983e0f8592de98c01a31badc6c38c6735ed44f937d145883b43fb6f049af3eddb9ff96b18c96ccf8f67dd690 WHIRLPOOL 701a78fc2214f5fd4bd781477f85e87e716b8d76ea831a0fa4afc8871c4286cc363679f1ff4f844555ad4f77cc7265208b83e805f56c22fc4baeed1062280c08 diff --git a/app-eselect/eselect-pdftex/eselect-pdftex-0.3.ebuild b/app-eselect/eselect-pdftex/eselect-pdftex-0.3.ebuild new file mode 100644 index 000000000000..93fcbc816cef --- /dev/null +++ b/app-eselect/eselect-pdftex/eselect-pdftex-0.3.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +inherit eutils + +DESCRIPTION="pdftex module for eselect" +HOMEPAGE="https://www.gentoo.org/proj/en/eselect/" +SRC_URI="" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ~ppc ~ppc64 s390 sh sparc x86 ~x86-fbsd" +IUSE="" + +DEPEND="" +# Depend on texlive-core-2008 that allows usage of this module, otherwise it +# will not work so nicely. +RDEPEND=">=app-admin/eselect-1.2.3 + >=app-text/texlive-core-2008" + +src_install() { + local MODULEDIR="/usr/share/eselect/modules" + local MODULE="pdftex" + dodir ${MODULEDIR} + insinto ${MODULEDIR} + newins "${FILESDIR}/${MODULE}.eselect-${PVR}" ${MODULE}.eselect \ + || die "failed to install" +} diff --git a/app-eselect/eselect-pdftex/files/pdftex.eselect-0.3 b/app-eselect/eselect-pdftex/files/pdftex.eselect-0.3 new file mode 100644 index 000000000000..f382c8f876bf --- /dev/null +++ b/app-eselect/eselect-pdftex/files/pdftex.eselect-0.3 @@ -0,0 +1,147 @@ +# -*-eselect-*- vim: ft=eselect +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +DESCRIPTION="Manage /usr/bin/pdftex implementations" +MAINTAINER="tex@gentoo.org" +SVN_DATE='$Date: 2015/03/31 16:53:36 $' +VERSION=$(svn_date_to_version "${SVN_DATE}" ) + +# find a list of pdftex symlink targets, best first +find_targets() { + local f + for f in "${ROOT}"/usr/bin/pdftex-*; do + if [[ -f ${f} ]] ; then + echo "${f##*/pdftex-}" + fi + done | sort +} + +# find version number of currently symlinked version +identify_target() { + local f + f="$(canonicalise "${ROOT}"/usr/bin/pdftex)" + echo "${f##*/pdftex-}" +} + +# try to remove the pdftex symlink +remove_symlinks() { + rm -f "${ROOT}"/usr/bin/pdftex &>/dev/null +} + +# set the pdftex symlink +set_symlinks() { + local target="${1}" targets + if is_number "${target}" && [[ ${target} -ge 1 ]] ; then + targets=( $(find_targets ) ) + target=${targets[$(( ${target} - 1 ))]} + fi + if [[ -f "${ROOT}/usr/bin/pdftex-${target}" ]] ; then + remove_symlinks + ln -s "pdftex-${target}" "${ROOT}/usr/bin/pdftex" || \ + die "Could not set ${target} /usr/bin/pdftex symlink" + echo "Updating TeX formats" + "${ROOT}"/usr/bin/fmtutil-sys --all &>/dev/null || write_warning_msg "Could not update TeX formats for some reason, pdftex may not work properly." + else + die -q "Target \"${target}\" doesn't appear to be valid!" + fi +} + +### show action ### + +describe_show() { + echo "Show the current pdftex version" +} + +do_show() { + [[ -z "${@}" ]] || die -q "Too many parameters" + + write_list_start "Current pdftex verson:" + if [[ -L "${ROOT}/usr/bin/pdftex" ]] ; then + write_kv_list_entry "$(identify_target)" "" + elif [[ -e "${ROOT}/usr/bin/pdftex" ]] ; then + write_kv_list_entry "(not a symlink)" "" + else + write_kv_list_entry "(unset)" "" + fi +} + +### list action ### + +describe_list() { + echo "List available pdftex versions" +} + +do_list() { + [[ -z "${@}" ]] || die -q "Too many parameters" + + local i targets current + targets=( $(find_targets ) ) + current=$(identify_target) + for (( i = 0; i < ${#targets[@]}; i++ )); do + [[ ${targets[i]} = ${current} ]] \ + && targets[i]=$(highlight_marker "${targets[i]}") + done + write_list_start "Available pdftex versions:" + write_numbered_list -m "(none found)" "${targets[@]}" +} + +### set action ### + +describe_set() { + echo "Set a new pdftex version" +} + +describe_set_options() { + echo "target : Target version number or index from 'list' action" +} + +describe_set_parameters() { + echo "<target>" +} + +do_set() { + if [[ -z "${1}" ]] ; then + die -q "You didn't give me a version number" + + elif [[ -n "${2}" ]] ; then + die -q "Too many parameters" + + elif [[ -L "${ROOT}/usr/bin/pdftex" ]] ; then + if ! remove_symlinks ; then + die -q "Can't remove existing version symlink" + elif ! set_symlinks "${1}" ; then + die -q "Can't set new version" + fi + + elif [[ -e "${ROOT}/usr/bin/pdftex" ]] ; then + die -q "${ROOT}/usr/bin/pdftex seems to be from an old ebuild, please remove manually" + else + set_symlinks "${1}" || die -q "Can't set new version" + fi +} + +### update action ### + +describe_update() { + echo "Automatically update the pdftex version number" +} + +describe_update_options() { + echo "--if-unset : Do not override currently selected version" +} + +do_update() { + [[ -z "${1}" ]] || ( [[ -z "${2}" ]] && [[ "${1}" == "--if-unset" ]] ) || \ + die -q "Usage error" + + if [[ -L "${ROOT}/usr/bin/pdftex" ]] ; then + [[ ${1} == "--if-unset" ]] && return + remove_symlinks || die -q "Can't remove existing symlink" + fi + if [[ -e "${ROOT}/usr/bin/pdftex" ]] ; then + die -q "${ROOT}/usr/bin/pdftex seems to be from an old ebuild, please remove manually" + elif ! [[ -z $(find_targets ) ]] ; then + set_symlinks 1 || die -q "Can't set a new version" + fi +} diff --git a/app-eselect/eselect-pdftex/metadata.xml b/app-eselect/eselect-pdftex/metadata.xml new file mode 100644 index 000000000000..13170c3184d8 --- /dev/null +++ b/app-eselect/eselect-pdftex/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>tex@gentoo.org</email> + <name>Gentoo TeX Project</name> +</maintainer> +</pkgmetadata> diff --git a/app-eselect/eselect-php/Manifest b/app-eselect/eselect-php/Manifest new file mode 100644 index 000000000000..1da12e2ac65c --- /dev/null +++ b/app-eselect/eselect-php/Manifest @@ -0,0 +1,12 @@ +AUX 70_mod_php5.backcompat.conf 850 SHA256 8a5c1ee10b2ac49bec3299c2cff4e1cd0c75e4407e1a5212f5c872d45c67c1f5 SHA512 eac982be5e48bab849a9b0ec11a336234daf450c7feb8d8955159108f1dfa7a91013b8b2e2c3eb39dbb8d90aa6e21877a7d955598592c40735b10ec9e8f15cad WHIRLPOOL ef0c4d04ec8316c494b746c5e505faf530dd8773983cb28f98b7ea0fa76addd6b76b601536cfa6db674d22d3474e57f8cfffa03b9d01373f0b3fd74c18553b15 +AUX php-fpm-launcher 134 SHA256 d7e944a016a8a282b9a684de1820c8e5c00791c27471a528b1ee8dc620eb83e8 SHA512 4304ea6df7093af06f1b7df5bf5d8ed7692403cc64a5c4c516e49d36fa866b33e4815876d28cc365f5ccb1e301ef7ce9b57e15ed959a41c91fb25af7236fed29 WHIRLPOOL f6123fb338a10e23f21616ab1bbfa385289748cff9523c2a1d39e82f53f104eacc0f3b088794a12b678551b7d8ef1b6262480882b62ce38067e923e7592b4629 +AUX php-fpm-launcher-r2 256 SHA256 9e51978f50824d59c777289c47b07dcbac36f3c961c5a7c95dc94104fe900226 SHA512 9d2cccf40cbb515fa3c232e525b6b3a8b3459917ecaaf6b133f321e5ad040047c12720f60007f524c3d8ee6430f0b29ac5048fde7059ab506c14289c23825953 WHIRLPOOL a14d793a1e7c3d9d4d77a9f98c13d2758cd4665498336b479b4a449879fa504a848bedb00eba118105f55d5d635ea24e2911ab0aec0474075a5db013a7445cae +AUX php-fpm.conf 29 SHA256 640dba0d960bfeaae9ad38d2826d3f6b5d6c175a4d3e16664eefff29141faad5 SHA512 824e9a0d10063283357d49a81ab49bf834afd24f098482bdbaa9ab60bbad2b0dea6f5879259b73717d437626b02fb4f2d3ef68b7bcbb26bee274a7b61144720f WHIRLPOOL 0979fc3fc9e2ac53fef2f5efa9de745b9e97aeccfd045e23778a4e7bd8f8bc0a69d19fcbccb482cc210e6cb291ff9c6150c2b73fbc20991c64d1990c735366e9 +DIST eselect-php-0.9.2.tar.xz 48356 SHA256 8b2acfccb3d2e3d7cad137fc4306711371ebd544cbcdad8e9d46c5dacf8ed889 SHA512 ebf4c9039aaa3ffad79dee181b5cd77f144a4b1b49d80291b290377b7ca5a9618d8b18922f0624e646c4d80266c58199bb936a7b8dd5d2e2bdc296099f583edf WHIRLPOOL 5ca0673a80b5e88522ff1ca82c4b4f842a63439cd47562c72048a4d66dc88d2dcc7070c28c0b8ff50a75bdb1a9056ee5391b37f4dc34cc9eda3652c6791a276c +DIST eselect-php-0.9.4.tar.xz 49576 SHA256 44c5966a2c7f0a052f77f780995d658cecf2407b928e31e99ac810c16c7c1a95 SHA512 2ba1dd75d4bb9611c6687ed4449f715728263538f772652aa1ac013103cf9ddf328c854326cf6da4f9b3ff2279bf99d973325520fe8b4e3ba7a76a9c3264e78e WHIRLPOOL cd743fd8a99955e03ec9693e83fb808b6c048e04b8609f1a12be22cdcbfc4d6fd28fa5e66e74f1ef665d6366e9bb53120fcf91a088095fe7386549b6fb3bbff1 +EBUILD eselect-php-0.9.2.ebuild 1956 SHA256 c1cd1ae5488a3e1068faff2a2242e40d9432996c65d9291d0eb7eb7141112f36 SHA512 5ae4cb205892103b1ccbd809d07f46ebcb64587663ca4bddb47bc194992f8b208b41852cd3d639421fd9c14fc070df083b44017bfa68f09c06e3865bd04416a5 WHIRLPOOL e00f5ec4ce305d9562e86f5939eab6adc34dad1016cb99025dea21cd695b94178deb9ed904c159b1365dc9b69facb18a9d135dd4deb5cb79c83a841230829070 +EBUILD eselect-php-0.9.4-r2.ebuild 2138 SHA256 7d3f38d50cb569604f24028086e5a89b090c162c82193de950658638f5456227 SHA512 021aea60fdbef4a46459f64f6c5f06834a4506c21d5d39019a7d0e17e9d956da6d1b64838416022d6d8d257c0a519a7440a69f242770a398c8cb6238748e8924 WHIRLPOOL fb70d41e27e824bce0ce5e870314f6dd9aa3d02e41ccfb0410e4fd39016b6fef79d137202ffb04040ece704646b294705dd70e4ecf89ddaba941a8f91e6f1e32 +EBUILD eselect-php-9999.ebuild 2052 SHA256 1f1c0f2e7dcab851455141b6ef5254400fd01db0b204e4b0dab412f87560762b SHA512 bd9dcbf30df9f9788b93a2835efe15210354f3afdf53b7efbc51508ff5621c21a463a997099736d3d989dd6fdd9921d313008f1d18790df6609222f5a4700c23 WHIRLPOOL 3f2cc0166fa51dfbb22380c990517a1b8f1f5882c10be703ac21cbea483ff15f5e7acb69f547d34f23a81bc02c50963997d7463c9781193a2895fc01401f95a6 +MISC ChangeLog 12923 SHA256 2bf1eefbe1c65ca3d0bfa5aad878e74f8ecb6b4748b3dc9aa0716f8175c631b8 SHA512 e2fd59f34fa15d898ebbe4e538e68dd8378200d073e1e98bae96c2ae14f3ee32c469851f39f5f9d95aeffa09932a26956f05ac8b2b6f46afc3433d61b9324222 WHIRLPOOL 94484b317e0a5084f28db441382b46632a3bb3274e9bcb2bead8342a6d329de09d01a948b557c8fec0f5686e7776667d47e4619e25234d17bb26fae92aa8f5d6 +MISC ChangeLog-2015 9793 SHA256 34a312c6879a62e1ef1e014dcb7ed39e4c4b7b5a25673a37da2a316c6594f2d4 SHA512 9dbd821886a7ab86c0196a0ccd855bb483c620f01ac2ea4705c3e4297f4970071f66006e293182181a3365b044bedca70eeaef4d33caf25986c33dc71aa74267 WHIRLPOOL 7ad5e2b282e9d845a05b5b225c4afe68728360016219a00292b9f16e3595e112555ce0bf604a7c6edef302ba6598ca229d8aa9eb9392c046fc1227a105ea7ec9 +MISC metadata.xml 387 SHA256 fdc96f369aa373454f8c06dce987092169bf218f49d44e57cfb343a8725e48ce SHA512 80a043e0836a1ac58120f1471e997face2f60117e3a83d490ad259a05cfdc39098c457573e3550c9fc3a7712f28b9faacd427c076e8f46ed3476e42f58f8f1b5 WHIRLPOOL d1c2ba87ec73d3bcf9d4be46e184b1852e34aaa4e2e4a6f497ecef4d321a134ae7e3104c3ee17931b1b1d2d9387323489b04b0094d3040468b72adccc925099f diff --git a/app-eselect/eselect-php/eselect-php-0.9.2.ebuild b/app-eselect/eselect-php/eselect-php-0.9.2.ebuild new file mode 100644 index 000000000000..62d088911422 --- /dev/null +++ b/app-eselect/eselect-php/eselect-php-0.9.2.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit systemd + +DESCRIPTION="PHP eselect module" +HOMEPAGE="https://gitweb.gentoo.org/proj/eselect-php.git/" +SRC_URI="https://dev.gentoo.org/~mjo/distfiles/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +IUSE="fpm apache2" + +# The "DirectoryIndex" line in 70_mod_php.conf requires mod_dir. +RDEPEND="app-admin/eselect + apache2? ( www-servers/apache[apache2_modules_dir] )" + +src_configure(){ + # We expect localstatedir to be "var"ish, not "var/lib"ish, because + # that's what PHP upstream expects. See for example the FPM + # configuration where they put logs in @localstatedir@/log. + econf --localstatedir="${EPREFIX}"/var $(use_enable apache2) +} + +src_install() { + default + + # This can be removed after a while... + if use apache2 ; then + insinto /etc/apache2/modules.d + newins "${FILESDIR}/70_mod_php5.backcompat.conf" 70_mod_php5.conf + fi + + if use fpm ; then + newinitd "doc/php-fpm.example.init" "php-fpm" + newconfd "doc/php-fpm.example.conf" "php-fpm" + systemd_dotmpfilesd "${FILESDIR}/php-fpm.conf" + exeinto /usr/libexec + doexe "${FILESDIR}/php-fpm-launcher" + fi +} + +pkg_postinst() { + if use apache2 ; then + elog + elog "If you are upgrading, be warned that our mod_php configuration" + elog "file has changed! You should now define -DPHP for the apache2" + elog "daemon, and inspect the new 70_mod_php.conf which has been" + elog "installed. Module loading involves eselect as of this version." + elog + elog "You must run eselect at least once to choose your apache2 target" + elog "before the new configuration will work. Afterwards, and after you" + elog "have reviewed your new configuration, you are advised to remove" + elog "the obsolete 70_mod_php5.conf file." + elog + fi +} diff --git a/app-eselect/eselect-php/eselect-php-0.9.4-r2.ebuild b/app-eselect/eselect-php/eselect-php-0.9.4-r2.ebuild new file mode 100644 index 000000000000..4dec17a54184 --- /dev/null +++ b/app-eselect/eselect-php/eselect-php-0.9.4-r2.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit systemd + +DESCRIPTION="PHP eselect module" +HOMEPAGE="https://gitweb.gentoo.org/proj/eselect-php.git/" +SRC_URI="https://dev.gentoo.org/~mjo/distfiles/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +IUSE="fpm apache2" + +# The "DirectoryIndex" line in 70_mod_php.conf requires mod_dir. +RDEPEND="app-admin/eselect + apache2? ( www-servers/apache[apache2_modules_dir] ) + fpm? ( sys-apps/gentoo-functions )" + +src_configure(){ + # We expect localstatedir to be "var"ish, not "var/lib"ish, because + # that's what PHP upstream expects. See for example the FPM + # configuration where they put logs in @localstatedir@/log. + # + # The libdir is passed explicitly in case the /usr/lib symlink + # is not present (bug 624528). + econf --libdir="${EPREFIX}/usr/$(get_libdir)" \ + --localstatedir="${EPREFIX}/var" \ + --with-piddir="${EPREFIX}/run" \ + $(use_enable apache2) \ + $(use_enable fpm) +} + +src_install() { + default + + # This can be removed after a while... + if use apache2 ; then + insinto /etc/apache2/modules.d + newins "${FILESDIR}/70_mod_php5.backcompat.conf" 70_mod_php5.conf + fi + + if use fpm ; then + systemd_dotmpfilesd "${FILESDIR}/php-fpm.conf" + exeinto /usr/libexec + newexe "${FILESDIR}/php-fpm-launcher-r2" php-fpm-launcher + fi +} + +pkg_postinst() { + if use apache2 ; then + elog + elog "If you are upgrading, be warned that our mod_php configuration" + elog "file has changed! You should now define -DPHP for the apache2" + elog "daemon, and inspect the new 70_mod_php.conf which has been" + elog "installed. Module loading involves eselect as of this version." + elog + elog "You must run eselect at least once to choose your apache2 target" + elog "before the new configuration will work. Afterwards, and after you" + elog "have reviewed your new configuration, you are advised to remove" + elog "the obsolete 70_mod_php5.conf file." + elog + fi +} diff --git a/app-eselect/eselect-php/eselect-php-9999.ebuild b/app-eselect/eselect-php/eselect-php-9999.ebuild new file mode 100644 index 000000000000..f695558d423a --- /dev/null +++ b/app-eselect/eselect-php/eselect-php-9999.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit systemd git-r3 autotools + +DESCRIPTION="PHP eselect module" +HOMEPAGE="https://gitweb.gentoo.org/proj/eselect-php.git/" +EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/eselect-php.git" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="" +IUSE="fpm apache2" + +# The "DirectoryIndex" line in 70_mod_php.conf requires mod_dir. +RDEPEND="app-admin/eselect + apache2? ( www-servers/apache[apache2_modules_dir] ) + fpm? ( sys-apps/gentoo-functions )" + +src_prepare() { + eapply_user + eautoreconf +} + +src_configure(){ + # We expect localstatedir to be "var"ish, not "var/lib"ish, because + # that's what PHP upstream expects. See for example the FPM + # configuration where they put logs in @localstatedir@/log. + # + # The libdir is passed explicitly in case the /usr/lib symlink + # is not present (bug 624528). + econf --libdir="${EPREFIX}/usr/$(get_libdir)" \ + --localstatedir="${EPREFIX}/var" \ + --with-piddir="${EPREFIX}/run" \ + $(use_enable apache2) \ + $(use_enable fpm) +} + +src_install() { + default + + # This can be removed after a while... + if use apache2 ; then + insinto /etc/apache2/modules.d + newins "${FILESDIR}/70_mod_php5.backcompat.conf" 70_mod_php5.conf + fi + + if use fpm ; then + systemd_dotmpfilesd "${FILESDIR}/php-fpm.conf" + exeinto /usr/libexec + newexe "${FILESDIR}/php-fpm-launcher-r2" php-fpm-launcher + fi +} + +pkg_postinst() { + if use apache2 ; then + elog + elog "If you are upgrading, be warned that our mod_php configuration" + elog "file has changed! You should now define -DPHP for the apache2" + elog "daemon, and inspect the new 70_mod_php.conf which has been" + elog "installed. Module loading involves eselect as of this version." + elog + elog "You must run eselect at least once to choose your apache2 target" + elog "before the new configuration will work. Afterwards, and after you" + elog "have reviewed your new configuration, you are advised to remove" + elog "the obsolete 70_mod_php5.conf file." + elog + fi +} diff --git a/app-eselect/eselect-php/files/70_mod_php5.backcompat.conf b/app-eselect/eselect-php/files/70_mod_php5.backcompat.conf new file mode 100644 index 000000000000..bd79f78aa6be --- /dev/null +++ b/app-eselect/eselect-php/files/70_mod_php5.backcompat.conf @@ -0,0 +1,28 @@ +########### +# WARNING # +########### +# +# This file is provided for backwards compatibility only. The Apache +# PHP configuration is now located in 70_mod_php.conf and requires you +# to set -DPHP in your Apache conf.d file. Please examine +# 70_mod_php.conf and update your Apache configuration to use -DPHP +# instead of -DPHP5. Afterwards you may delete this file. +# +<IfDefine PHP5> + # Load the module first + <IfModule !mod_php5.c> + LoadModule php5_module modules/libphp5.so + </IfModule> + + # Set it to handle the files + # NOTE: Avoiding AddHandler/AddType for security (bug #538822) + # NOTE: Please read the related news item! + <FilesMatch "\.(php|php5|phtml)$"> + SetHandler application/x-httpd-php + </FilesMatch> + <FilesMatch "\.phps$"> + SetHandler application/x-httpd-php-source + </FilesMatch> + + DirectoryIndex index.php index.phtml +</IfDefine> diff --git a/app-eselect/eselect-php/files/php-fpm-launcher b/app-eselect/eselect-php/files/php-fpm-launcher new file mode 100644 index 000000000000..7a1c1c9f918b --- /dev/null +++ b/app-eselect/eselect-php/files/php-fpm-launcher @@ -0,0 +1,7 @@ +#!/bin/sh + +PHPSLOT="${1}" +[ -z "${PHPSLOT}" ] && PHPSLOT="$(eselect php show fpm)" +shift + +exec /usr/lib/${PHPSLOT}/bin/php-fpm "${@}" diff --git a/app-eselect/eselect-php/files/php-fpm-launcher-r2 b/app-eselect/eselect-php/files/php-fpm-launcher-r2 new file mode 100644 index 000000000000..3a6b2720fa67 --- /dev/null +++ b/app-eselect/eselect-php/files/php-fpm-launcher-r2 @@ -0,0 +1,13 @@ +#!/bin/sh + +. /lib/gentoo/functions.sh + +# If there are no arguments, then "shift" will fail (bug 626496). +if [ $# -eq 0 ]; then + PHP_SLOT=$(eselect php show fpm) +else + PHP_SLOT=$1 + shift +fi + +exec "/usr/$(get_libdir)/${PHP_SLOT}/bin/php-fpm" "${@}" diff --git a/app-eselect/eselect-php/files/php-fpm.conf b/app-eselect/eselect-php/files/php-fpm.conf new file mode 100644 index 000000000000..801e74f1e620 --- /dev/null +++ b/app-eselect/eselect-php/files/php-fpm.conf @@ -0,0 +1 @@ +d /run/php-fpm 755 root root diff --git a/app-eselect/eselect-php/metadata.xml b/app-eselect/eselect-php/metadata.xml new file mode 100644 index 000000000000..be945bac7771 --- /dev/null +++ b/app-eselect/eselect-php/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>php-bugs@gentoo.org</email> + <name>PHP</name> + </maintainer> + <longdescription lang="en">PHP eselect module + </longdescription> + <use> + <flag name="fpm">Enable the FastCGI Process Manager SAPI</flag> + </use> +</pkgmetadata> diff --git a/app-eselect/eselect-pinentry/Manifest b/app-eselect/eselect-pinentry/Manifest new file mode 100644 index 000000000000..2d123790acf9 --- /dev/null +++ b/app-eselect/eselect-pinentry/Manifest @@ -0,0 +1,5 @@ +AUX pinentry.eselect-0.7 406 SHA256 4c7202508cc51f14bf0d8ada90d2e3d9c343850fb7cfd0937fc8638c0b84bafa SHA512 752be6cc5612799fdfaf765e9476e69d845065834a3a471838a94f1955d645473ac56db6e51b6f45b9a251b32c36ba0b149cd72145665972243abbbfe4a5941d WHIRLPOOL 0504c602df3c2525f0caf16d591dcdc1dc4c0e8d5e626795a72397ee3b7d3fc4ca462603c4a630dcd750c5e7fd768965d983a3ce0a2560a77c2459beadc6425c +EBUILD eselect-pinentry-0.7.ebuild 691 SHA256 ff5714e76b5d840f15546bd05abb69c96a70f94232229400a1db294ad4bdfda0 SHA512 68ba1ca68066a93ea29d8f6620a1e9dc6c62d2c47ea0b1f524075582c1eec36a000e191edad3a7703240446102a0bd82d3f95281630ab141d0f853a6369f649b WHIRLPOOL bd3252abe2add67f3845b31f4e60b439a4d4876f433012fe4cd48e6ab26b587968894738139cf2f474cceb9b28dae3f7b11afadd98c9435ce9b69dd7feee99f3 +MISC ChangeLog 4360 SHA256 4ec3e97caf7471bafa93e0e162c232724fdce559302dd3ff2a2ce9864dd81f7f SHA512 36ca955dd617a6ffed69b189e07fbc758728acea81cef33351cc811de16e4e30470dd0948099d71886ef99030fdd633c3d4128eac5e3d0fb6682ed020bea2b8a WHIRLPOOL 927eb1eaf065b333ff06695eeedc2dfaf51f32165574213ce803b28d2335c0c2d81776ebb2ac45ae5bc5252801c84b5c55d6a9d9581dca75f03b4a3b785859ec +MISC ChangeLog-2015 4767 SHA256 dbd86ed4f707b29932045426d71754cefba480ac29a44fb197f7965c3e7aeae7 SHA512 8ef0b7908c6823a35e0267dd2cf830b6c33579af571699e6ddb0fa220478bd9e9538551dffe6310f0939ab147a3120aaef3d44406fdb97d3e2589dfaa55741eb WHIRLPOOL 4a5f989caab271bfa5df2f680150c1ff3c5c62ebc0fe33dcca6b3d50955ed1a0994f1d24b7b236bcbd0e97d44a85c1b63d004f837c64453a80b8e38e4c18d76c +MISC metadata.xml 236 SHA256 dd25b46c95b0c63da84b7ff5778479e31449a385df066e9ee14bf0d7d176f42f SHA512 5f6cd6a85527534d5de7118de5af212ee3044c8c5530a7f7087a28074a2d4ab7be1728325bd985adc063dc795d3cf2b1c4e58a4c4c4ec02d739bd4bbc544ef08 WHIRLPOOL b15a2dfb001c41c8de2895842148b2531b74949e89e93ff8c366519c35792996e344918eaf9144fb081fc240796e47890be356d2339bea60b1e1d41830447d31 diff --git a/app-eselect/eselect-pinentry/eselect-pinentry-0.7.ebuild b/app-eselect/eselect-pinentry/eselect-pinentry-0.7.ebuild new file mode 100644 index 000000000000..54d6eac5a489 --- /dev/null +++ b/app-eselect/eselect-pinentry/eselect-pinentry-0.7.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Manage /usr/bin/pinentry symlink" +HOMEPAGE="https://www.gentoo.org/proj/en/eselect/" +SRC_URI="" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +RDEPEND=">=app-eselect/eselect-lib-bin-symlink-0.1.1" + +S="${FILESDIR}" + +src_install() { + default + insinto /usr/share/eselect/modules + newins pinentry.eselect-${PV} pinentry.eselect +} diff --git a/app-eselect/eselect-pinentry/files/pinentry.eselect-0.7 b/app-eselect/eselect-pinentry/files/pinentry.eselect-0.7 new file mode 100644 index 000000000000..ec49ca1a602a --- /dev/null +++ b/app-eselect/eselect-pinentry/files/pinentry.eselect-0.7 @@ -0,0 +1,12 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +DESCRIPTION="Manage /usr/bin/pinentry implementation" +MAINTAINER="ssuominen@gentoo.org" +VERSION="0.7" + +SYMLINK_PATH=/usr/bin/pinentry +SYMLINK_TARGETS=( pinentry-gnome3 pinentry-qt pinentry-gtk-2 pinentry-qt4 pinentry-curses pinentry-tty ) +SYMLINK_DESCRIPTION='pinentry binary' + +inherit bin-symlink diff --git a/app-eselect/eselect-pinentry/metadata.xml b/app-eselect/eselect-pinentry/metadata.xml new file mode 100644 index 000000000000..f1c3d59fb213 --- /dev/null +++ b/app-eselect/eselect-pinentry/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>crypto@gentoo.org</email> + <name>Crypto</name> +</maintainer> +</pkgmetadata> diff --git a/app-eselect/eselect-postgresql/Manifest b/app-eselect/eselect-postgresql/Manifest new file mode 100644 index 000000000000..e531702d80a9 --- /dev/null +++ b/app-eselect/eselect-postgresql/Manifest @@ -0,0 +1,11 @@ +DIST eselect-postgresql-1.2.1.tbz2 3645 SHA256 661ef3cbb1627798af3c8d6c526f4a6367620a5fef08c287a633e1babf43f938 SHA512 9b24cb7620dd3de979ef595c60ebf607cd9da5c7d3c4da19ebe242c25961883e2db54341f916690abb9fe7a76663d9f1ac73fc76c90389f72eff425aa6fb43e4 WHIRLPOOL e7ef4f3d250f4f345d28bccdd43fa1639b8ed80b9f6a4aabd4f7df5f4337845ee0f4ce653fde596209094b01fc0e5c624872affbfa042382f3963a49d600827f +DIST eselect-postgresql-2.0.tbz2 4326 SHA256 8f56309350f91abaa98eeead42dbd6b186b858f25f207010fe9d10271c754f55 SHA512 bc72d752bc4b2d8f3c255d446253143ff0036f6ca1a0c10eb19e23b8242bd5a912272298034279a6f9ca50c13fccbb6b89c79ed647f762a2ccb36f416060cd87 WHIRLPOOL 9fced29136ee861a78651905329d6a3156bfdbdf61427accc7aa5ac33e934c97e6f673d7a3f5b634d020be01ff0f0533218b8d9d3b83253963f32eae8d82f004 +DIST eselect-postgresql-2.1.tbz2 4404 SHA256 0a08755b6a8c688f88474d9da3b1e572f375001238f426a703a1edf322ea5a40 SHA512 83050da6ec5f5f4ae20230cdffebbb78f9335cbcbb3bc1bd38279188f0dedcf828d80aeac3c75629605cdde0b2d1d74d8ef81e9cd9a8faacc7dba2f15beb3af0 WHIRLPOOL e613624bdb7d1139dc935f83410857dcd1b1d842aecdd3721fac0a418fde64453bc70640b0a1921287b3cccfe9b2c68e308a80fdb274a1e713857ec492a6f73a +DIST eselect-postgresql-2.2.tbz2 4428 SHA256 ea938c941b7c8ecd752a46f40bab08dcf1c305c44790462e75c215e48d5171f5 SHA512 2a0b9b3c8c75792fb6b6f90f034562a3bef7c9391cac0d7c95a6a86db38b4c9840fce2fa0edb32b745905f974920ee1ce5dfb21d33f22c79d1bc776e013edf76 WHIRLPOOL 747efef24ca743557a6dc53f5511e1fd8466ed8ac0dbe3b80a733ec65113541be86bc114547b45bc8bcb83a8b6441352d0885c93ed885237e4379fb205f850ee +EBUILD eselect-postgresql-1.2.1.ebuild 672 SHA256 f10af65fe36d43e517fc1d06cbb94c5211aed5edbc02ceb0c4d9648034391f53 SHA512 d137b8ef89461e40a8f2fe1afaf290e4e029a5b1374e00b3f9a4b96d0a8d5490bd71da30aaf33f3cd690c03652764f1371074d2f0320c7cfb57972a0a0ba06d1 WHIRLPOOL 14d4b99ec63f27872f7c47cc1b4ab09b4227c8e2ec4729b17d9dd09d7e1067e619d83e2a4ad5004ed69aad9eaaf407cdf7601a78a3f9b8bc081d979f40cf7e25 +EBUILD eselect-postgresql-2.0.ebuild 953 SHA256 30f027bd6373c95888e8bed2e1112301573941c84c0db228f2abb568066179a6 SHA512 c437f9753c52b012250d404007ebf30f046a800692981c415e63d798b39c6b9de686b4dd6f6a92837fff495ebc43ba5ca04155aac5e2d0b45a4a684e4a94acd7 WHIRLPOOL 439753ba9973f46c7ca551df5525766243be6fa6cef3a01ca93eaf10f5253d93c7c52cd440813579fdb2e1579bec2e5ce26c71bf2c9be34344f973cc924ccff0 +EBUILD eselect-postgresql-2.1.ebuild 945 SHA256 7cd221455545fa4eadb2c40250d0ad1b60213da62ae526a49115b92ab665325b SHA512 094973b5db9a173c6a4045d7cc8174dcaf5bac1ff9711a4f39f39acc61f7876135a645c511e2abe7818ba069f013e0328bcd233721ae6e4a724d608887628f64 WHIRLPOOL 79b2f291cbe0ae6ee1fb930d915bfca0fca0e6e58a21cd03559735942afaa3f715a0e80fbbff696706403722896180905b10273581b8a7d92addcc30b6340147 +EBUILD eselect-postgresql-2.2.ebuild 946 SHA256 2ae2a2fefb34dd85a5294aa86b84facb65b31163401eeee503ed824e45757fc1 SHA512 d2eed1b05dd800b3b1ecb8e00a44540e103d49c54fa9e708449e780f170dc233d0c888182c26560b8be3290aa224bb40b7bd9a3dcbfc701d057aa9f41003769f WHIRLPOOL a980f513725f202ad84691ee38ff202f655ea7bf8de4be6c181b5a3366400fed65771370e3f8a57cc228feacc7888933e9f4e3a68fe47e12f3d1a29c4af5bf70 +MISC ChangeLog 2663 SHA256 9b5772e1707565d6d9bc512401b960f26f7efecc89cc2ac0780c0ac6e5f773d0 SHA512 1400ab77aae6f7a0b14cc696476b6fdfb12f3b457a8efcd91d44d1182d9cb3340c5983d1744416f6d88d29b40ee094fd05510b8a6756c80b551969bb8f10f12f WHIRLPOOL 1be60eea1ea0ff0b3438065e554dda0eb53de5926f71cecdd030dbd4f8be4a9ceacdfe483a5e643f3ecc6b7fddbac99b87b9d62580a02899c4622eed6d760e3c +MISC ChangeLog-2015 8659 SHA256 4a87dfa66639f2c4937e4eab5da6469d66dc40d764434c6b7881621866da7792 SHA512 d0fbaf00ab3fc960ec19fe70ef8d38d51b3da7ee9ed51e5c72f410ead58c66dd96b7b19a9b19a6354925e71f3d189d88640d3700b5338eb6d5e63769f08a0312 WHIRLPOOL dc9124e1a9b90b80f80f1e2935dbbc088c2b07d484cabd5146589dbb59aefdf3ada81a5eb8d23a0000b7a67b0b563e0ec51f21f24690b904bc5c8ea8c67efc9a +MISC metadata.xml 447 SHA256 fd0094d36aa35d98eb40399c97571bf1e6d28220b199f8fcf04d3edcd6a58322 SHA512 9e1f1d7edd700ce070f0c2deb461ac5b61c058cc7331cb582ed4ec098e4e04c19b15f9f3289df1a5e3a1bb243b8983a52a2b18b0af7884941ee6a6a4e067b1a0 WHIRLPOOL 64465df15bcd1d56791c71225081a0dfa52163bf295a0ccc6e71ca5084ebf0728fc2f44dc04bdd96a6201a8a84d75552f7853518558a1821b2e51cc6e6832acd diff --git a/app-eselect/eselect-postgresql/eselect-postgresql-1.2.1.ebuild b/app-eselect/eselect-postgresql/eselect-postgresql-1.2.1.ebuild new file mode 100644 index 000000000000..33c97cd5baeb --- /dev/null +++ b/app-eselect/eselect-postgresql/eselect-postgresql-1.2.1.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +DESCRIPTION="Utility to select the default PostgreSQL slot" +HOMEPAGE="https://www.gentoo.org/" +SRC_URI="https://dev.gentoo.org/~titanofold/${P}.tbz2" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris" +IUSE="" + +RDEPEND="app-admin/eselect" + +src_install() { + keepdir /etc/eselect/postgresql + + insinto /usr/share/eselect/modules + doins postgresql.eselect + + dosym eselect /usr/bin/postgresql-config +} + +pkg_postinst() { + postgresql-config update +} diff --git a/app-eselect/eselect-postgresql/eselect-postgresql-2.0.ebuild b/app-eselect/eselect-postgresql/eselect-postgresql-2.0.ebuild new file mode 100644 index 000000000000..575b77d2b676 --- /dev/null +++ b/app-eselect/eselect-postgresql/eselect-postgresql-2.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +DESCRIPTION="Utility to select the default PostgreSQL slot" +HOMEPAGE="https://www.gentoo.org/" +SRC_URI="https://dev.gentoo.org/~titanofold/${P}.tbz2" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris" +IUSE="" + +RDEPEND="app-admin/eselect" + +# All dev-db/postgresql ebuilds from 10.0 on are well supported. Earlier +# ebuilds may present some quality of life issues. +PDEPEND=" + !<dev-db/postgresql-9.6.2-r1:9.6 + !<dev-db/postgresql-9.5.6-r1:9.5 + !<dev-db/postgresql-9.4.11-r1:9.4 + !<dev-db/postgresql-9.3.16-r1:9.3 + !<dev-db/postgresql-9.2.20-r1 +" + +src_install() { + insinto /usr/share/eselect/modules + doins postgresql.eselect + + dosym eselect /usr/bin/postgresql-config +} + +pkg_postinst() { + postgresql-config update +} diff --git a/app-eselect/eselect-postgresql/eselect-postgresql-2.1.ebuild b/app-eselect/eselect-postgresql/eselect-postgresql-2.1.ebuild new file mode 100644 index 000000000000..4cdbf680c4fd --- /dev/null +++ b/app-eselect/eselect-postgresql/eselect-postgresql-2.1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +DESCRIPTION="Utility to select the default PostgreSQL slot" +HOMEPAGE="https://www.gentoo.org/" +SRC_URI="https://dev.gentoo.org/~titanofold/${P}.tbz2" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris" +IUSE="" + +RDEPEND="app-admin/eselect" + +# All dev-db/postgresql ebuilds from 10.0 on are well supported. Earlier +# ebuilds may present some quality of life issues. +PDEPEND=" + !<dev-db/postgresql-9.6.2-r1:9.6 + !<dev-db/postgresql-9.5.6-r1:9.5 + !<dev-db/postgresql-9.4.11-r1:9.4 + !<dev-db/postgresql-9.3.16-r1:9.3 + !<dev-db/postgresql-9.2.20-r1 +" + +src_install() { + insinto /usr/share/eselect/modules + doins postgresql.eselect + + dosym eselect /usr/bin/postgresql-config +} + +pkg_postinst() { + postgresql-config update +} diff --git a/app-eselect/eselect-postgresql/eselect-postgresql-2.2.ebuild b/app-eselect/eselect-postgresql/eselect-postgresql-2.2.ebuild new file mode 100644 index 000000000000..aa938c89824c --- /dev/null +++ b/app-eselect/eselect-postgresql/eselect-postgresql-2.2.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +DESCRIPTION="Utility to select the default PostgreSQL slot" +HOMEPAGE="https://www.gentoo.org/" +SRC_URI="https://dev.gentoo.org/~titanofold/${P}.tbz2" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris" +IUSE="" + +RDEPEND="app-admin/eselect" + +# All dev-db/postgresql ebuilds from 10.0 on are well supported. Earlier +# ebuilds may present some quality of life issues. +PDEPEND=" + !<dev-db/postgresql-9.6.2-r1:9.6 + !<dev-db/postgresql-9.5.6-r1:9.5 + !<dev-db/postgresql-9.4.11-r1:9.4 + !<dev-db/postgresql-9.3.16-r1:9.3 + !<dev-db/postgresql-9.2.20-r1 +" + +src_install() { + insinto /usr/share/eselect/modules + doins postgresql.eselect + + dosym eselect /usr/bin/postgresql-config +} + +pkg_postinst() { + postgresql-config update +} diff --git a/app-eselect/eselect-postgresql/metadata.xml b/app-eselect/eselect-postgresql/metadata.xml new file mode 100644 index 000000000000..0cfe0079275a --- /dev/null +++ b/app-eselect/eselect-postgresql/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer restrict=">=app-eselect/eselect-postgresql-1.0.0" type="person"> + <email>titanofold@gentoo.org</email> + <name>Aaron W. Swenson</name> + </maintainer> +<maintainer type="project"> + <email>pgsql-bugs@gentoo.org</email> + <name>PostgreSQL and Related Package Development</name> + </maintainer> +</pkgmetadata> diff --git a/app-eselect/eselect-python/Manifest b/app-eselect/eselect-python/Manifest new file mode 100644 index 000000000000..a2eb0079498b --- /dev/null +++ b/app-eselect/eselect-python/Manifest @@ -0,0 +1,6 @@ +DIST eselect-python-20160516.tar.bz2 46549 SHA256 bea0a39d9e5afb7513be47955a82efa636b983de6388965df517cb1eb7615fd2 SHA512 0ac310e13bca9e3cdfdd55820cc2956cacf28ade99c1b5048edadd48c6a04c2ae1037207aaac74fcd75e809cf993f88b52e463979b68bd123fe925e491a7030a WHIRLPOOL 66782323a455af7536592cf76c9fd9f57c8adf8a67b374c4e6bb96fdc21dfb8add4f74697139643c47561357a451d50b777f3e2e73db850176fc05d61ae6e54c +EBUILD eselect-python-20160516.ebuild 1101 SHA256 5b2652f2aef7807e9548866c90ad54821dd93b32859253bb183cfbabbc1e0c3d SHA512 a8ebae6634638f735adeb741f182aa10484225a6d5458f7bd08fa0b043d8160c9f164d64854d682e1b867c1be8c9a5a42c475efec9a784bce80fd9ac08054924 WHIRLPOOL 5fe40f5513ce5eada625d3791a581d8525b3c56ac6ad584251c2d09e406261b7458860e6bc6f7bc33dc5a0b6cd02f6aacd29f0ab9b029ed0bb6527a88fe9829d +EBUILD eselect-python-99999999.ebuild 1102 SHA256 160f5a8b92e8b7b5576e4a2437f5f988a7ba992b71c0e851749819e2da0c517b SHA512 f7bf212d900b56e8a31fa83cfdb050a1f345f8ec9d9e864abc69857930f272637612a5f1a1c0eb7b2285237e6810002a830698ac5326be2d7446bf6ab0b180e1 WHIRLPOOL fecd1127b8fb61132b88ed74021332bab0c504da6ae978d189ff66ee3b01679b79a8746815a0ffe2bd6bc52571f3de068c09a7f46056ad97d6f8e8f4a176111c +MISC ChangeLog 8479 SHA256 f2ff7d201bc9d2f19df63c80d09bd4c8525d591081ede29d430952cc3ac00b89 SHA512 b77db3847195fca3df3b73340e5118a8e62edfd2fa415d0ff895c8c4a77f967d50f33cc7d56cf2ac47d44e5d311795715477d49caf96b7a4812596e3fb2b1ea0 WHIRLPOOL 7dba1022926db356e2b52e0f7f86f89c8324f381337552ff0b6399b5b1728365a1ee5658a0a1e7e8cf3a705e229c4e76ecc2cf43b40d69a8bc38768240c10717 +MISC ChangeLog-2015 13659 SHA256 9224650f5d5f3a3a39ae9ff3f11dbd87a27a63c1bef8dd449b7edfa7a70e3bee SHA512 100fd16b8d27afe9e2b6600ad8d3ff9d002a6bac7dd35c0fe95e1112bdb4bfaa374d74a5fbde2fe31fd45c78932ec7d7ba1a0d7e08121d9197ecf0ec47a9440f WHIRLPOOL 9cb53914a03ad2676f9e6fab277ac188f49ee5be6c8be388cd13b93d592821d4bd08c18c03af44d6a0bf36149f208cdd4d4813233a46736ee205ba89042e92eb +MISC metadata.xml 240 SHA256 07a76e79a43ffd9aa15de0e4ae548ea85aa5bd165c4602630c3519e60f113ee6 SHA512 9c23321eaa853f851bf00195ea64ac2ba093e516f9b57855ee5aa58fbb1988130c9f0c17c2a9ce9fae4ee033e0a28a70c868e0f5acdfa1dd316ab533c5279d59 WHIRLPOOL e3e059953c7c36bd942545f4e2a0e94ba938a17fe2bd04df81b137c185e64a213152c11918922563509e4767e601b41105f80c5983a87ee4d6be7704bcf7cf54 diff --git a/app-eselect/eselect-python/eselect-python-20160516.ebuild b/app-eselect/eselect-python/eselect-python-20160516.ebuild new file mode 100644 index 000000000000..86d4d850fdd4 --- /dev/null +++ b/app-eselect/eselect-python/eselect-python-20160516.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +if [[ ${PV} == "99999999" ]] ; then + inherit autotools git-r3 + EGIT_REPO_URI="git://anongit.gentoo.org/proj/${PN}.git" +else + SRC_URI="https://dev.gentoo.org/~floppym/dist/${P}.tar.bz2" + KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +fi + +DESCRIPTION="Eselect module for management of multiple Python versions" +HOMEPAGE="https://www.gentoo.org/proj/en/Python/" + +LICENSE="GPL-2" +SLOT="0" +IUSE="" + +# python-exec-2.4.2 for working -l option +RDEPEND=">=app-admin/eselect-1.2.3 + >=dev-lang/python-exec-2.4.2" + +src_prepare() { + [[ ${PV} == "99999999" ]] && eautoreconf +} + +pkg_postinst() { + local py + + if has_version 'dev-lang/python'; then + eselect python update --if-unset + fi + + if has_version "=dev-lang/python-3*"; then + eselect python update "--python3" --if-unset + fi +} diff --git a/app-eselect/eselect-python/eselect-python-99999999.ebuild b/app-eselect/eselect-python/eselect-python-99999999.ebuild new file mode 100644 index 000000000000..3b35998a3dc1 --- /dev/null +++ b/app-eselect/eselect-python/eselect-python-99999999.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +if [[ ${PV} == "99999999" ]] ; then + inherit autotools git-r3 + EGIT_REPO_URI="git://anongit.gentoo.org/proj/${PN}.git" +else + SRC_URI="https://dev.gentoo.org/~floppym/dist/${P}.tar.bz2" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +fi + +DESCRIPTION="Eselect module for management of multiple Python versions" +HOMEPAGE="https://www.gentoo.org/proj/en/Python/" + +LICENSE="GPL-2" +SLOT="0" +IUSE="" + +# python-exec-2.4.2 for working -l option +RDEPEND=">=app-admin/eselect-1.2.3 + >=dev-lang/python-exec-2.4.2" + +src_prepare() { + [[ ${PV} == "99999999" ]] && eautoreconf +} + +pkg_postinst() { + local py + + if has_version 'dev-lang/python'; then + eselect python update --if-unset + fi + + if has_version "=dev-lang/python-3*"; then + eselect python update "--python3" --if-unset + fi +} diff --git a/app-eselect/eselect-python/metadata.xml b/app-eselect/eselect-python/metadata.xml new file mode 100644 index 000000000000..7f4f33c6dbc9 --- /dev/null +++ b/app-eselect/eselect-python/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> +</pkgmetadata> diff --git a/app-eselect/eselect-qtgraphicssystem/Manifest b/app-eselect/eselect-qtgraphicssystem/Manifest new file mode 100644 index 000000000000..d9cbbdda74f5 --- /dev/null +++ b/app-eselect/eselect-qtgraphicssystem/Manifest @@ -0,0 +1,5 @@ +DIST eselect-qtgraphicssystem-1.1.1.tar.bz2 1621 SHA256 00195d3dc0959b1f396cceaa5320d945fd9bf28680b7b7ce6317915288a627cf SHA512 9c8b5c1d40094b74401de2b0ae74ff2421f3fdd0bf51e5e4c06717064dfee9c03ed9a2ce913b7e8f54c6ad0b5ec11f392cb7fe7fa26822b1370b3e15d5389a66 WHIRLPOOL 76afe928c7f42d702153f4600d2d7cb863a396adde0044f5dd76a436ea8195de8e443b0a9ef66288f85b7c412702178ccbfd76dcc7235031b4d1d5e1d862db28 +EBUILD eselect-qtgraphicssystem-1.1.1.ebuild 646 SHA256 084be9022cb2822bf8ce30bcf8f21b53a862de166aff4520307101682fafe1a5 SHA512 0ba22095486c1c4817c944bca83e08eef2932a0c5acce447012f910194fea305b0d7fea4f3a4f9b2764e5bfcc3934e7da6e0d83e69f10f58decaaaacd7794f6a WHIRLPOOL 1dcbd5ac9e3045fef8134a2d3d2676a92de3ff0545690a041e12d07bfa8d5bd7e570e00f758f291cc7f1eeeaf4c23db899ed669062378aca96aa3cf9fd0f2a1e +MISC ChangeLog 2522 SHA256 8b60854c15f15771ec4023c03b30a257f8c094b1d7aa29ae9aabbe9a3af645e5 SHA512 d6aa7f478dd1798619c6dc467ecef87fa0598573b4998cc9a25d32d9b717ad1137220ca9ed6ef84c74f21700790da3712c77b9e0a032a98d1f9edae4f6df1447 WHIRLPOOL 8512374775f1e35a9584eb5978ea806d580639bb43cd34d6d4446fd35fb906af01e32672b4ba83916fad906120ed6f7e9e2d75a3f4252b28ecc3dc97b42a2db3 +MISC ChangeLog-2015 2493 SHA256 2b6d8a9cdd57909c3194c832319434b855022e4120920a096d68845d43b95d9f SHA512 8c5f2394c79ad6f331b2f3153d1bd502bce73456b73c31084a451ceba7f2f3c093a2ac0acba1950cbcb6e42d07561a0a2c8b51fe6950a5679e78bd57d8010a01 WHIRLPOOL 93bbc3d6342606f752fa7702ef28a23dff7bf18eca9581f1a53b21535c4f91db667fa8e4c2edbb10fec6428392aff8c5616b501f215ec82039cf67d50ff50e67 +MISC metadata.xml 353 SHA256 08bdde05f8ba187babc5d82c07a340f0c4dd86e6711043cd178232cc31f1fd84 SHA512 720a84adfabb1d6e8ea192d54cc1e68211ea1818326df5cc320247003fa5b9eefa4ef164006d0a6d2e18c6eb416280e13dbdbcfd3b2b240d46b5ddf1733146f5 WHIRLPOOL a1d01314b7f8a88d94f378bdb1dc83107a91e99c9a7eb911f682315fe5fc6b8e84c4e6cee2d74b6697744d5ec7bfb9831da158c8373b9a1eff0f7e13a73cfa55 diff --git a/app-eselect/eselect-qtgraphicssystem/eselect-qtgraphicssystem-1.1.1.ebuild b/app-eselect/eselect-qtgraphicssystem/eselect-qtgraphicssystem-1.1.1.ebuild new file mode 100644 index 000000000000..b82a885ed5b9 --- /dev/null +++ b/app-eselect/eselect-qtgraphicssystem/eselect-qtgraphicssystem-1.1.1.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +DESCRIPTION="Utility to change the active Qt Graphics System" +HOMEPAGE="https://github.com/gentoo/eselect-qtgraphicssystem" +SRC_URI="https://dev.gentoo.org/~wired/distfiles/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +IUSE="" + +DEPEND="" +RDEPEND=">=app-admin/eselect-1.2.4" + +src_install() { + insinto /usr/share/eselect/modules + doins qtgraphicssystem.eselect +} diff --git a/app-eselect/eselect-qtgraphicssystem/metadata.xml b/app-eselect/eselect-qtgraphicssystem/metadata.xml new file mode 100644 index 000000000000..ed30fbaf34d7 --- /dev/null +++ b/app-eselect/eselect-qtgraphicssystem/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>qt@gentoo.org</email> + <name>Gentoo Qt Project</name> + </maintainer> + <upstream> + <remote-id type="github">gentoo/eselect-qtgraphicssystem</remote-id> + </upstream> +</pkgmetadata> diff --git a/app-eselect/eselect-rails/Manifest b/app-eselect/eselect-rails/Manifest new file mode 100644 index 000000000000..6780cad06545 --- /dev/null +++ b/app-eselect/eselect-rails/Manifest @@ -0,0 +1,9 @@ +DIST eselect-rails-0.21.tar.xz 1592 SHA256 28def0916dbcf94290adf877a962595748a9501d659adb66534ebb8495c8c59f SHA512 8d72d1abdb0bf767a71a518ff390dcd676fc05a35652d6a727d2d5f2029f26d2df8e56da3c4e611267d92505cc9217da0a53712bcaabff03f0f2422e1c9d9658 WHIRLPOOL 7dd89b8bf3daffa09cc150a8db1c3fc8e117f577e7a8fdfb7c6f1bf92d14f298aff63cce2b1f3bf029cbc2c6a115c3ad90bafbd456f31463b49dce5d0f4242b4 +DIST eselect-rails-0.22.tar.xz 1596 SHA256 043f3065dbfbaec24af1b06c5e4fa57aa642e02b7ef40460fd2b3a7176e9e1bb SHA512 ff563520c68352d529f213f5a63cfac9acf4bda2ef0fe01626636669718997be8f4b749c98de1746b8b22cf45fc43042bfc485e1e8998175d8a15b9048a81cc5 WHIRLPOOL ddd83510cbde3d1c7f5c36e371786b25afcca39f52b2889fdcbc03db9ec90726b59efb0418b38d5e72faf7064988405501e19cb19ca4f97df74b57d02638cbca +DIST eselect-rails-0.23.tar.xz 1596 SHA256 53f2bb92bb87cb41d789a3999aff93b0ff605ebd64e1b2f113c7d355fb9c27d5 SHA512 34a2d8a2b613eb3a3e20515fdf916c4b7e862322816d78a32a9243fcc56bea1c154892df7f27eb5e640560b1e63b273b02807669155184ad28f085d2f84dd3b8 WHIRLPOOL ef0eb6bf5f3b5f8cbf3fdf422dec823fb5a17f28170b2effade1fdfd2d65f4176cb220261b91f8b9534f9a0e2adc61ab8569d34c1c2a2e06e846f4ae7522c73e +EBUILD eselect-rails-0.21.ebuild 702 SHA256 e16682f4eab51ece70302970084203377463b79e70eb3da10e29288c2c2fefdd SHA512 b1c82ee61976650f5bb244151f438ad1ff711321ac40764366c7272b20bbb1e1e2de6d2a518789be161d590effbfffba2a79c8b97e606b9e898b238162939538 WHIRLPOOL 75eecc7035275aa152a346c83890161249d8ae0475c39c74411c5643e52df481f5f74950c2535bfd11d6e469e49cf2bb32b077d3493e90db1f309057a942eb41 +EBUILD eselect-rails-0.22.ebuild 712 SHA256 2aea2ff9ee5e0c70b8813e9e45ff0ef3e8c47b569f30cf7e34d179d0b6c7534f SHA512 894d77c5752f880e477e5187a437dcde0a0b2b48f1f97f4b9ca1f700042abcabc658786a8182953442e1d460d097093dadadfeaab23d106a348f684e684d0de9 WHIRLPOOL 32d710306fd9d8f3f3c422420368210d3cf671ca2e4d2bf8530201ba3e1ac6052d66d6ba418837556688b9b01341cf43a5fa5fbde07081861c48ca523414af5b +EBUILD eselect-rails-0.23.ebuild 716 SHA256 85fa77e29820a117b850ac825a736f3d139a7f7a35b5295ae02bd51bc1201d99 SHA512 ae521efb4ae8520325dd4ae0ec4bf8c91de92d1e0da09160b94e4e96b231e88f14a54e4e7d984ca453136f2fdf24fe607c15310874574092de0311a1a5be5fa0 WHIRLPOOL e7c07e8639620254190efa2371e98e5eb277f965c216fa8938ec9a22eb685cdff28605dcaccf1c33227abdf890b5abf3fd6441b6e5bd77c2393c33b003ed92f6 +MISC ChangeLog 3113 SHA256 547549be716087c666ce730b28b938de69ca990208c7929bf64a9f1ba9cc12f5 SHA512 493f80d9917f5cf57ce4d27ac4a821b213f2a824bf1b7cc2bf60423999309c9f0b662e20a9d5257700ece3cefc446cb73141eb94f018ba33ebfa0aae3bade81c WHIRLPOOL 21d054ccd9ad52a1275a0b4008279290e6089eedf33923ef3f5f246e869186821feb7465b08264477c3dfc427bf8ba7d13f25f78d69891cfa27bea07b1d1c71e +MISC ChangeLog-2015 7488 SHA256 ea9c68cfef66c16b41d23454d669c9ca08255d8b5e2705de440159e610cf7fa7 SHA512 2fc88fe8ca9f1eeeea4bfec48f5ce19ca09d04f8e2dea14fb6b38351bd30c8a62fa3531428f472a7e614a4087a557cb1aef41f435b54838d4ccca45e89992662 WHIRLPOOL 4e2a74b991d947f41b8b53da65856656d0742c86c3856fbdb98cc984bef3c885251cb14f6683e7f4221ccab5e598b7497b8f5de29df787450cd57699c4d6ac8c +MISC metadata.xml 247 SHA256 1236c1552dc683658bd5bc3c5f880b71d9dfa13025edab4a0f8973f9eaa6bcf5 SHA512 ea4c044637b751a2c28c6ac226121e74ef18196af4b594e60413fec907bbab29c6b0c7735c3f503485df16dcfb36ddb86038394d92e2cd18c8f04626628e9f09 WHIRLPOOL c1aa829db3553d79fe71a8bf79fd6ea24e9fff4e591a4ade3c05e2a97b0df352170fbce76450c0402ec6d8998951c2f3eb3e198ac4638c0e0882208b9f4d8fc8 diff --git a/app-eselect/eselect-rails/eselect-rails-0.21.ebuild b/app-eselect/eselect-rails/eselect-rails-0.21.ebuild new file mode 100644 index 000000000000..e2ec4f840c3e --- /dev/null +++ b/app-eselect/eselect-rails/eselect-rails-0.21.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +DESCRIPTION="Manages Ruby on Rails symlinks" +HOMEPAGE="https://www.gentoo.org/" +SRC_URI="https://dev.gentoo.org/~flameeyes/ruby-team/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +RDEPEND=">=app-admin/eselect-1.2.0" + +S=${WORKDIR} + +src_prepare() { + # Fix/Add Prefix support + sed -i -e 's/\${ROOT}/${EROOT}/' *.eselect || die +} + +src_install() { + insinto /usr/share/eselect/modules + doins *.eselect || die "doins failed" +} diff --git a/app-eselect/eselect-rails/eselect-rails-0.22.ebuild b/app-eselect/eselect-rails/eselect-rails-0.22.ebuild new file mode 100644 index 000000000000..4b02e13bc77f --- /dev/null +++ b/app-eselect/eselect-rails/eselect-rails-0.22.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Manages Ruby on Rails symlinks" +HOMEPAGE="https://www.gentoo.org/" +SRC_URI="https://dev.gentoo.org/~flameeyes/ruby-team/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +RDEPEND=">=app-admin/eselect-1.2.0" + +S=${WORKDIR} + +src_prepare() { + default + + # Fix/Add Prefix support + sed -i -e 's/\${ROOT}/${EROOT}/' *.eselect || die +} + +src_install() { + insinto /usr/share/eselect/modules + doins *.eselect || die "doins failed" +} diff --git a/app-eselect/eselect-rails/eselect-rails-0.23.ebuild b/app-eselect/eselect-rails/eselect-rails-0.23.ebuild new file mode 100644 index 000000000000..d5dfaf21b7bc --- /dev/null +++ b/app-eselect/eselect-rails/eselect-rails-0.23.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Manages Ruby on Rails symlinks" +HOMEPAGE="https://www.gentoo.org/" +SRC_URI="https://dev.gentoo.org/~graaff/ruby-team/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +RDEPEND=">=app-admin/eselect-1.2.0" + +S=${WORKDIR} + +src_prepare() { + default + + # Fix/Add Prefix support + sed -i -e 's/\${ROOT}/${EROOT}/' *.eselect || die +} + +src_install() { + insinto /usr/share/eselect/modules + doins *.eselect || die "doins failed" +} diff --git a/app-eselect/eselect-rails/metadata.xml b/app-eselect/eselect-rails/metadata.xml new file mode 100644 index 000000000000..28ab0c15f206 --- /dev/null +++ b/app-eselect/eselect-rails/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> +</maintainer> +</pkgmetadata> diff --git a/app-eselect/eselect-renpy/Manifest b/app-eselect/eselect-renpy/Manifest new file mode 100644 index 000000000000..a445040f6bf8 --- /dev/null +++ b/app-eselect/eselect-renpy/Manifest @@ -0,0 +1,7 @@ +AUX renpy.eselect-0.6 397 SHA256 b2149a2de65357c09cdfdec18b8429b27ae75081fe8b8fa672d4af30ad2c0669 SHA512 554419f7945c624f677dc93193655d6cadb6cfb4e03979c6414f61a7ae79c34bea46610792597b671c5ff754ea7bbd0aed41e3b9329e2234b90b057e8c9fe00d WHIRLPOOL 960238938cec5199a685938af9d7a7eba88824f1841f8226650660bf7839fe97bd8a7d917aa335c40fda67e30ae2aa4cd3fdca0d5c984b077daebf67c999bbc1 +AUX renpy.eselect-0.7 335 SHA256 f2856ef74e2fea88d2f6d1015f87e2bf16b8f1de1e8def1f259d8d428d826224 SHA512 fcf95cadd2d38ad675bf7d728a0d922e3f582afc6637baf2c6392289cca17cf63749d9e397a0732986df3b4db204a5c18f4911aad7d95171bb9d119370282d00 WHIRLPOOL 530fcbe637c5b501b11562a34cdc1b83c629e9599b7c96ccefa79470bd0374c74c75c0e5c935850ec80dc1a23352be5b33729ea970d57e4b42dd86b4e41b59bd +EBUILD eselect-renpy-0.6.ebuild 654 SHA256 c22b6f5581ab9390afa70e8aa66e3c8b30c0c4e50cc8335cb31e771aa63adfe0 SHA512 2ac46b956343c2f864a7ecc708b82c7a0528b7699b0c86216f13091ff0d6491f5e7775661c721c6ecd4fd8fbda2ecc2c363c968f45d488ad31c834833efe2769 WHIRLPOOL d13d4850c7b2789bff5d96183b5a990739da9518d1bbf728a32a0fd78c43f65593968eb2a32bc34ba3f8d9b68cdeda50cc00c931bf4f19ea7a7f12417bc1ccb8 +EBUILD eselect-renpy-0.7.ebuild 682 SHA256 3dcf551952123b3ab8a3b667239cea99ecf72491e12ad97ef14a3391620f006e SHA512 736af8b20927c24abe61519b2cb9b3926b5c0d5e17d687a5f1e632da68ad3719c928ebe8ec8c523a921fdc11a4d3d748e8f2e172be52d04adbc0d32c1b50c556 WHIRLPOOL a272138054d8fcf1468e1358b97f055f6e51fffb8b26e3dc0526c5fe9b4b0b7420b1b4601b71cce866af6abb1057357241b3811a0b05eca35f1e6b69928457c7 +MISC ChangeLog 4387 SHA256 e891b54c564d17a0bec9d6d62ddd45a92b59474587e21cf0965365290c9cd2f0 SHA512 7ef4c57f7fca656f32d96cb3c0233ec764dab35aa17947c5fd5f8c463dc7663c2c2f43967b2608317ed4db3a0e9d08e824d5041af50a677a40d4c773279b6e3a WHIRLPOOL 69f981ebe00fa9bd4d993e0eba9767e5ec27346b0df22437fce4a857b43bd321c408dd65e09b96a9efb119513b63dcaaa441e4f3b837e6c18da0de543e3c8dbc +MISC ChangeLog-2015 2098 SHA256 be79c96b0baf84d894faa12459e43d1a747f20eb564225ae2d59119127c61b17 SHA512 b3229eaaa0dc93c9e961bd75597c844e615de2035c489453c77efbdea5f2de435395d54a2b8d34c2d2096bdf3bb9d164f8e66488547e830c9b18fc136f52e47d WHIRLPOOL 1e67456cb652cf891b3d0ab53802fbab56bee31b3ab5fcde95042188d181f5ea9aeda2166d86f2f77065fa4b9565c4908cede2efb7176bf3cf446596bb119741 +MISC metadata.xml 364 SHA256 4216fe5a43c7ee8fe24607858369acd8b3b934a9d6ebf5d4b17289609ecaee5b SHA512 8b3ee6db4ec0d3c0a1e10ed14a6500c3cf743ed84b91fdabd1b98861141b87a23b32ed76ef31385ade1cb2d80b5d2a273b85e6dc6b4b39f0bd1072787064c9e3 WHIRLPOOL 0a733b88a4807b27bef4decea8516c0689c3a0634ba4d723ff0d2ad9ea3528af53fa5b2460de7aed8927a7cc6755b3c805d1e8c80c6e47d16d429c3bfbcac1ab diff --git a/app-eselect/eselect-renpy/eselect-renpy-0.6.ebuild b/app-eselect/eselect-renpy/eselect-renpy-0.6.ebuild new file mode 100644 index 000000000000..394dda3c8e34 --- /dev/null +++ b/app-eselect/eselect-renpy/eselect-renpy-0.6.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit games + +DESCRIPTION="Manages renpy symlink" +HOMEPAGE="https://www.gentoo.org/proj/en/eselect/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" + +RDEPEND="app-eselect/eselect-lib-bin-symlink" + +S=${WORKDIR} + +pkg_setup() { :; } + +src_prepare() { + sed \ + -e "s#@GAMES_BINDIR@#${GAMES_BINDIR}#" \ + "${FILESDIR}"/renpy.eselect-${PV} > "${WORKDIR}"/renpy.eselect || die +} + +src_configure() { :; } + +src_compile() { :; } + +src_install() { + insinto /usr/share/eselect/modules + doins renpy.eselect +} + +pkg_preinst() { :; } + +pkg_postinst() { :; } diff --git a/app-eselect/eselect-renpy/eselect-renpy-0.7.ebuild b/app-eselect/eselect-renpy/eselect-renpy-0.7.ebuild new file mode 100644 index 000000000000..1f7c3d96da07 --- /dev/null +++ b/app-eselect/eselect-renpy/eselect-renpy-0.7.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Manages renpy symlink" +HOMEPAGE="https://www.gentoo.org/proj/en/eselect/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" + +RDEPEND=" + app-eselect/eselect-lib-bin-symlink + !<games-engines/renpy-6.99.12-r2" + +S=${WORKDIR} + +pkg_setup() { :; } + +src_prepare() { + sed \ + -e "s|@BINDIR@|${EROOT}usr/bin|" \ + "${FILESDIR}"/renpy.eselect-${PV} > "${WORKDIR}"/renpy.eselect || die + eapply_user +} + +src_configure() { :; } + +src_compile() { :; } + +src_install() { + insinto /usr/share/eselect/modules + doins renpy.eselect +} + +pkg_preinst() { :; } + +pkg_postinst() { :; } diff --git a/app-eselect/eselect-renpy/files/renpy.eselect-0.6 b/app-eselect/eselect-renpy/files/renpy.eselect-0.6 new file mode 100644 index 000000000000..4ffa4054dfd0 --- /dev/null +++ b/app-eselect/eselect-renpy/files/renpy.eselect-0.6 @@ -0,0 +1,14 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +DESCRIPTION="Manage default renpy version" +MAINTAINER="hasufell@gentoo.org" +VERSION="0.6" + +SYMLINK_PATH="@GAMES_BINDIR@/renpy" +SYMLINK_TARGETS=( renpy-6.14 renpy-6.15 renpy-6.16 renpy-6.17 renpy-6.18 renpy-6.99 ) +SYMLINK_DESCRIPTION='default renpy' +SYMLINK_CRUCIAL=1 + +inherit bin-symlink + diff --git a/app-eselect/eselect-renpy/files/renpy.eselect-0.7 b/app-eselect/eselect-renpy/files/renpy.eselect-0.7 new file mode 100644 index 000000000000..67199267bc57 --- /dev/null +++ b/app-eselect/eselect-renpy/files/renpy.eselect-0.7 @@ -0,0 +1,14 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +DESCRIPTION="Manage default renpy version" +MAINTAINER="bircoph@gentoo.org" +VERSION="0.7" + +SYMLINK_PATH="@BINDIR@/renpy" +SYMLINK_TARGETS=( renpy-6.99 ) +SYMLINK_DESCRIPTION='default renpy' +SYMLINK_CRUCIAL=1 + +inherit bin-symlink + diff --git a/app-eselect/eselect-renpy/metadata.xml b/app-eselect/eselect-renpy/metadata.xml new file mode 100644 index 000000000000..3d9228cdbf8a --- /dev/null +++ b/app-eselect/eselect-renpy/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> + </maintainer> + <maintainer type="person"> + <email>bircoph@gentoo.org</email> + <name>Andrew Savchenko</name> + </maintainer> +</pkgmetadata> diff --git a/app-eselect/eselect-repository/Manifest b/app-eselect/eselect-repository/Manifest new file mode 100644 index 000000000000..3697144ca384 --- /dev/null +++ b/app-eselect/eselect-repository/Manifest @@ -0,0 +1,4 @@ +DIST eselect-repository-1.tar.gz 5378 SHA256 d73d4ab5fd525f3504814b25087a051bde1b358033f996e10eca3d5eeeeabf22 SHA512 7f985c3abe3fa02dfe44aade71583e7280c4757470fe8bf43de8fcc2403e8b924d9b0af104e926a2b3cd79a92b440570347db511767c908dda087ccc9f3aba6e WHIRLPOOL 8ad0d21452a0094007b795aa105312110404dca33ee8c8e3c189b08f9fbad7759c2f1fe6572839c06cb7bdbaa39740195d674e72dc72debf6f118570d40daec2 +EBUILD eselect-repository-1.ebuild 833 SHA256 ba36afaae9e7fceeb43a86983755145eb53f79348d57316e434e8791c98e5876 SHA512 bcb7e0be96d36e12f9d4ab690ddcfa10eaf97e8683f9c49beaca3441de95e2888788573c17e47620e78165416a5d2af22a4354e086d71cfebb7780c887436c31 WHIRLPOOL a8f391ffc6279bde43b2850d6db989ecb103da1973cccfe8f7d9528127ca760098bc9f2489f95639307b897c5c2f88ad8aa41dd885f04121dbbeed76f6c6d15a +EBUILD eselect-repository-9999.ebuild 813 SHA256 a7596f60b46aa950712883a6953be0b4f00dfa4ff41044aee9a3f5b028ea53de SHA512 5c075d1327508414f50d98c44114b9f4ccc6ca887931651f6a77d7497d128ae4ba5e3526b320aa5fd46322e051e9242eb10d94b0daa2fa2c2c195925cb8b5495 WHIRLPOOL 3022d069a42f5c3378db2e76cdc46ed7645eb628b04f3f6483bb0e711a9f1a978d69f94701a9360ffa744a4e6c86eae75ccb197cb306d69c060860f3dfd70fa7 +MISC metadata.xml 337 SHA256 c21fd9fb40a287aa508750dbf4028d0f0b51267fe04472bbffde0be199646e91 SHA512 e3da0532b27d28ee74ddb0b4c2bd7fb4f2e128b86de2001583b03312692a8c8b0ae943e3e3ebabc6f109dd816d783543cbd5f91fb92a5f6055d07a0c0f11f4af WHIRLPOOL 13aab82bf8ef1e0cf53729406b2310cfc0321980ec395661a24ec2622e84feb45147ea042ae90fcbd8e8d8b789de92fa7a30e833a59dacf3fef8fdccc965629c diff --git a/app-eselect/eselect-repository/eselect-repository-1.ebuild b/app-eselect/eselect-repository/eselect-repository-1.ebuild new file mode 100644 index 000000000000..6a49b07e7faa --- /dev/null +++ b/app-eselect/eselect-repository/eselect-repository-1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{3_4,3_5,3_6} ) +inherit python-single-r1 + +DESCRIPTION="Manage repos.conf via eselect" +HOMEPAGE="https://github.com/mgorny/eselect-repository" +SRC_URI="https://github.com/mgorny/eselect-repository/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="${PYTHON_DEPS} + app-admin/eselect + net-misc/wget" + +src_compile() { + MAKEARGS=( + PREFIX="${EPREFIX}/usr" + SYSCONFDIR="${EPREFIX}/etc" + SHAREDSTATEDIR="${EPREFIX}/var" + ESELECTDIR="${EPREFIX}/usr/share/eselect/modules" + ) + + emake "${MAKEARGS[@]}" + python_fix_shebang eselect-repo-helper +} + +src_install() { + emake "${MAKEARGS[@]}" DESTDIR="${D}" install + keepdir /var/db/repos + einstalldocs +} diff --git a/app-eselect/eselect-repository/eselect-repository-9999.ebuild b/app-eselect/eselect-repository/eselect-repository-9999.ebuild new file mode 100644 index 000000000000..b22e3150d3c0 --- /dev/null +++ b/app-eselect/eselect-repository/eselect-repository-9999.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +EGIT_REPO_URI="https://github.com/mgorny/eselect-repository.git" +PYTHON_COMPAT=( python{3_4,3_5,3_6} ) +inherit git-r3 python-single-r1 + +DESCRIPTION="Manage repos.conf via eselect" +HOMEPAGE="https://github.com/mgorny/eselect-repository" +SRC_URI="" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="" +IUSE="" + +RDEPEND="${PYTHON_DEPS} + app-admin/eselect + net-misc/wget" + +src_compile() { + MAKEARGS=( + PREFIX="${EPREFIX}/usr" + SYSCONFDIR="${EPREFIX}/etc" + SHAREDSTATEDIR="${EPREFIX}/var" + ESELECTDIR="${EPREFIX}/usr/share/eselect/modules" + ) + + emake "${MAKEARGS[@]}" + python_fix_shebang eselect-repo-helper +} + +src_install() { + emake "${MAKEARGS[@]}" DESTDIR="${D}" install + keepdir /var/db/repos + einstalldocs +} diff --git a/app-eselect/eselect-repository/metadata.xml b/app-eselect/eselect-repository/metadata.xml new file mode 100644 index 000000000000..05976b9731ae --- /dev/null +++ b/app-eselect/eselect-repository/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>mgorny@gentoo.org</email> + <name>Michał Górny</name> + </maintainer> + <upstream> + <remote-id type="github">mgorny/eselect-repository</remote-id> + </upstream> +</pkgmetadata> diff --git a/app-eselect/eselect-ruby/Manifest b/app-eselect/eselect-ruby/Manifest new file mode 100644 index 000000000000..5929d0b862b8 --- /dev/null +++ b/app-eselect/eselect-ruby/Manifest @@ -0,0 +1,9 @@ +DIST ruby.eselect-20131227.bz2 1920 SHA256 b425962f9898ceb8bcdbb55d9648f3d98b82a916c4afa95b2fb1ddcd39cc3689 SHA512 9f13d4a6dc45923f88b145984f9c537846d4cb937b73c2be916792c70ff3c751f1e12b76f33686e35053bf6af1392e6c7e276f06dfb728e6a20f6335f739b784 WHIRLPOOL 38135af69952aff7cf874608365029947733733d33a3c586367ccf6fceb1bf2236781c9fe554a5654f720c19ef0fb0bd3dd5773a108386c6185a2fc2d94ac37b +DIST ruby.eselect-20161226.xz 1900 SHA256 55e1c16e92748c2853620780fbd9db8a28a88cb5e2dd1bfe92d104be8b60397f SHA512 69cf17e42d9908fdfc9b08a3ca2c1f406a5968fc1c22663cc4b2388ad29d3bdb8aec4f0210ce9d5c118514aea81a4465a299347dd702f859ba8660fcb3882f17 WHIRLPOOL e09a8964e77cd8293ca3fac41cf6bd819004bd62f4cdec0eae35b331073b175bd4085631660bcead0e93510bc7ada051070d2316aad3de6bd17d8cb0156fd6e3 +DIST ruby.eselect-20170723.xz 1972 SHA256 c383871ce89a06c0fbaaa595a6746516556a17184146623abf3983402fbe342b SHA512 9c0614bc7e2ce9811466f257035d74622a96db8d44aa0908414fbac7d4142c34350257b08ace7371901e46cc0c9a38c3f2acae3caea4fb354ccc37b8c919b48f WHIRLPOOL 192c27a562536e848fa60e2ab1998c56308cf89655f86c887de4a9b58c2cf0efb7d8b8ec97f0018f865002d9d9b01d792d5cde6aeb8ca9feb8ec8d62480ce772 +EBUILD eselect-ruby-20131227.ebuild 683 SHA256 b4df4b8f8edce2c57f8d37fa52c3509b758f5524cc8f034d037cc33ac4f7f885 SHA512 f9c97794ad34fbec459d94384a07a3219fc08f166c74f55e2f1b1e80b842145e1efbe761ca92bfd07c9eef9ced35bc46d27527c60de756db597aa25bb88ed4b2 WHIRLPOOL 39d298331417f0a504f2693e36f4c1c8047f8ab49cb0e8306846a3a51d8d3138b4c640d045ea35832c54fbc98c0f44124f0f996c312ca1f57c761945704045a2 +EBUILD eselect-ruby-20161226.ebuild 714 SHA256 33bc1ae88606bb21db35ab12d41f368ba8ea82d71a631e0c3a22906c8eb9741f SHA512 f504faeafd5c12d1b1d01f1c4968df146a445bf51d0fb0d1a00a11c928265e99459cfea32ca38e2a5a07a82efa3585521568d6f5b4563b30f8541552893ebf85 WHIRLPOOL 0ec9db61d0d5e0306294523bbd91d53a607611fd3f0d9c1f087ae8fcb9e88360e7e63b8451badfd4fde775c226e132a04120ff290c9a930f2a686d89218762e7 +EBUILD eselect-ruby-20170723.ebuild 719 SHA256 0e6e37afc9b267e3c0dd33a630ceebfa280ccb02db871286b0b73b86ed6fc043 SHA512 067c046d13b7057529220ee394147e1dc1e7c705d5ad7277fc6fb4676ba652a196694ade7fdc3ae52c70e48543ed89a35bb807e439fae7e16e553541d3645bf7 WHIRLPOOL b2ad36fb778f0c9886bbe2f43925ccf350da450be7ba6f7357462f061c5f8baef61faad4c8b471b5d7d9795c253e4f69ed08b6d41d5aa69a20844e6fcc7a2d26 +MISC ChangeLog 2797 SHA256 6100366362ab129629b42abd13b11212f034aecd11b0a1fd837e46e8d70f914d SHA512 60667570c0943ffa368eb4e5ce0ba50b5e9eab00140de85b11025bd8f3964a20f9ddd0e28e75e8f2d638b628284552949de1c47299b46815d06068444cf8f4f4 WHIRLPOOL 429f04fb0059238ca568e7613e72041d3e547a086a4c9aa86a0139c8b71101b89160a654befc3a0716dd402f532cce82055e8c8db33abdae40fba0a070bd9f9d +MISC ChangeLog-2015 8198 SHA256 aaefb609fd98d9146d5c480926a9b17b017ca7b2e43325c141974e210eaf76fb SHA512 68d6030d9b5217cc8b60646c131882cb64c04b4256209bf9c8d2ee4180b3e6e9b3ad8d9196e386fb6755fc5cb4d1e52c610fb6c073362a68a257c81cd47dbe95 WHIRLPOOL 636d5aead876c3021f96016e69f75be9dd33851401e26892ef8b3ee882ab92ea0addeb2986eb21e6b52e362e319749a9e9b469d2b74d19ae232e2fe398277a03 +MISC metadata.xml 247 SHA256 1236c1552dc683658bd5bc3c5f880b71d9dfa13025edab4a0f8973f9eaa6bcf5 SHA512 ea4c044637b751a2c28c6ac226121e74ef18196af4b594e60413fec907bbab29c6b0c7735c3f503485df16dcfb36ddb86038394d92e2cd18c8f04626628e9f09 WHIRLPOOL c1aa829db3553d79fe71a8bf79fd6ea24e9fff4e591a4ade3c05e2a97b0df352170fbce76450c0402ec6d8998951c2f3eb3e198ac4638c0e0882208b9f4d8fc8 diff --git a/app-eselect/eselect-ruby/eselect-ruby-20131227.ebuild b/app-eselect/eselect-ruby/eselect-ruby-20131227.ebuild new file mode 100644 index 000000000000..9b01232217a0 --- /dev/null +++ b/app-eselect/eselect-ruby/eselect-ruby-20131227.ebuild @@ -0,0 +1,18 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +DESCRIPTION="Manages multiple Ruby versions" +HOMEPAGE="https://www.gentoo.org" +SRC_URI="http://dev.a3li.li/gentoo/distfiles/ruby.eselect-${PVR}.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +RDEPEND=">=app-admin/eselect-1.0.2" + +src_install() { + insinto /usr/share/eselect/modules + newins "${WORKDIR}/ruby.eselect-${PVR}" ruby.eselect || die +} diff --git a/app-eselect/eselect-ruby/eselect-ruby-20161226.ebuild b/app-eselect/eselect-ruby/eselect-ruby-20161226.ebuild new file mode 100644 index 000000000000..ebc02df1fa3a --- /dev/null +++ b/app-eselect/eselect-ruby/eselect-ruby-20161226.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +DESCRIPTION="Manages multiple Ruby versions" +HOMEPAGE="https://www.gentoo.org" +SRC_URI="https://dev.gentoo.org/~flameeyes/ruby-team/ruby.eselect-${PVR}.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +RDEPEND=">=app-admin/eselect-1.0.2" + +S=${WORKDIR} + +src_install() { + insinto /usr/share/eselect/modules + newins "${WORKDIR}/ruby.eselect-${PVR}" ruby.eselect || die +} diff --git a/app-eselect/eselect-ruby/eselect-ruby-20170723.ebuild b/app-eselect/eselect-ruby/eselect-ruby-20170723.ebuild new file mode 100644 index 000000000000..8cd0413703da --- /dev/null +++ b/app-eselect/eselect-ruby/eselect-ruby-20170723.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Manages multiple Ruby versions" +HOMEPAGE="https://www.gentoo.org" +SRC_URI="https://dev.gentoo.org/~graaff/ruby-team/ruby.eselect-${PVR}.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +RDEPEND=">=app-admin/eselect-1.0.2" + +S=${WORKDIR} + +src_install() { + insinto /usr/share/eselect/modules + newins "${WORKDIR}/ruby.eselect-${PVR}" ruby.eselect || die +} diff --git a/app-eselect/eselect-ruby/metadata.xml b/app-eselect/eselect-ruby/metadata.xml new file mode 100644 index 000000000000..28ab0c15f206 --- /dev/null +++ b/app-eselect/eselect-ruby/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> +</maintainer> +</pkgmetadata> diff --git a/app-eselect/eselect-rust/Manifest b/app-eselect/eselect-rust/Manifest new file mode 100644 index 000000000000..b322d60779e4 --- /dev/null +++ b/app-eselect/eselect-rust/Manifest @@ -0,0 +1,5 @@ +DIST eselect-rust-0.3_pre20150428.tar.gz 64722 SHA256 2c8c8703ef252d3504befc67da37c1ff5bc7f7df876754ae962a8805ed7d0837 SHA512 214a6eb4b1f9bfcaed1a5fe92ec9633a82316716ffda8db2d2f88bfcbdae17ef7c026091de3927efad5c3624bb7003166d2ebadea6dd8828a0f1c41e0d3f16e7 WHIRLPOOL 18b5564fbb92030c28a2d18a46ea860d9f98d86ef136cbba25af7d769f6799e71bcbb6d7e1fc9983a6b40b350e4840d684716c21cb8d52fe8dd7ef2854f317a2 +EBUILD eselect-rust-0.3_pre20150428.ebuild 622 SHA256 1ba9efed9427468a16a1f7ddf9890b7d405c60a04200024bb9b9dfa11c358c58 SHA512 3ef97a4309be646586ef17967d1b492724612d646d0e95b6f1b8adb27d5496346e49e0d5cd24f712a9eef4b9a1b6fb6369a0f190bb75ff58fbc6ece1b7d7e6b4 WHIRLPOOL ff90e9d123dfff3443acd3b7755d3b17bb706fa111d74992e0e9202c3cc50003c6dcea761b4850cee79591610969c3b1a9b68267acd18f047ba1615348198592 +MISC ChangeLog 2724 SHA256 d664d93ffcd8b21b5d0869d41c3530f1f4fc15a59e3ae5b2dcaac53838a28ac7 SHA512 f4df69dd66b877148f81fb812e6ffe4b59a6870bc859e4b43e36e445e7eccc3f3220320d4d36e221dc2bc560b6478adde6343c50a0359ebdf67e9f6ab3ad25d0 WHIRLPOOL d39e56b1725e6f52672f82610ad88cb78f242828f0f9300fc9baee6b6d630258b750c7b6b0b5d543412500992873fe0235a07237fd0bb55e1732118e19616607 +MISC ChangeLog-2015 1556 SHA256 08773b306cd3167b8998fd103612d60b9a9f319419b0a39f82451fa1764b52b9 SHA512 b806b0a2a98747a44f97475b815dc9b9fe02432c2237c1520b4577b8ff36a11c654595e305b7689d8c91f5c62adbe270ce42b1bdce9eb7469590e55d06b4585c WHIRLPOOL 024c9a547f0edbfc77678d6f9ef60a155b8557216f0cc7d303c4caf71c81f080e44f63a6ccc6f266bb1a8cd4505d91f5c83a5aad836dd96c6db227ad7c6897e3 +MISC metadata.xml 306 SHA256 8ea45071e47b47e932b9ecfc784f698acc8a74e1ae3582478feae3206b79a7b6 SHA512 17b133f12031d1e6ba116f13c7354a5dff75b5d0ebb03410f17e19c3751bf1800fcb4579da5ae683f751658cd204baf4eefcacea90c5a8f37e8c7960838d43fb WHIRLPOOL 510195756435501e604d5af574dd970ea71ca7f30c69d14ae5cd8b32eace15e62c379a4fbe3f481c6461944389bd5a1752a5978c75029eaf62a2b06c4ccb7511 diff --git a/app-eselect/eselect-rust/eselect-rust-0.3_pre20150428.ebuild b/app-eselect/eselect-rust/eselect-rust-0.3_pre20150428.ebuild new file mode 100644 index 000000000000..e80d4384c032 --- /dev/null +++ b/app-eselect/eselect-rust/eselect-rust-0.3_pre20150428.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +DESCRIPTION="eselect module for rust" +HOMEPAGE="https://github.com/jauhien/eselect-rust" +SRC_URI="https://github.com/jauhien/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" + +RDEPEND="app-admin/eselect" + +pkg_preinst() { + if has_version 'app-eselect/eselect-rust' ; then + eselect rust unset + fi +} + +pkg_postinst() { + if has_version 'dev-lang/rust' || has_version 'dev-lang/rust-bin' ; then + eselect rust update --if-unset + fi +} + +pkg_prerm() { + eselect rust unset +} diff --git a/app-eselect/eselect-rust/metadata.xml b/app-eselect/eselect-rust/metadata.xml new file mode 100644 index 000000000000..da4803e4c0f4 --- /dev/null +++ b/app-eselect/eselect-rust/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>rust@gentoo.org</email> + </maintainer> + <upstream> + <remote-id type="github">jauhien/eselect-rust</remote-id> + </upstream> +</pkgmetadata> diff --git a/app-eselect/eselect-scala/Manifest b/app-eselect/eselect-scala/Manifest new file mode 100644 index 000000000000..974634a29386 --- /dev/null +++ b/app-eselect/eselect-scala/Manifest @@ -0,0 +1,5 @@ +DIST eselect-scala-0.1.1.tar.gz 1781 SHA256 e3b477858897675c6ab970674b16844853df5949654a5cf526367ecb3579ed33 SHA512 2de1b6067c385d1fb0fa0c708467ebd5d491c3ee532888ad497008fe7f78a8f4be9843af444d71107e05c111579ed83015094c3eca5d6f2c338855af4b722363 WHIRLPOOL 76c0e8631f1584ac1cbb1ee609409cba4f20db93ad9e1a9ea83f0209d3b86016c911c5da9e23044597e57bcf8c53e43e33d2031d7edcd6c421ba06ea10d47ecc +EBUILD eselect-scala-0.1.1.ebuild 462 SHA256 c3141edefc7c82476cddaf757be944d94f47c396ed4b2e30c7d103aa9d196398 SHA512 978041c6cad13d16d569009cdb62084b46d79c3fcc16be15983ea70903b5227234e6417312e372fd89febca1176a061558a87872c5cf4dd3bfcf1dabac3f9346 WHIRLPOOL af530a3f13f673e93c3136214651f6c0eb05348ff88861de2e19424988850f4e87e38d95f582e57150a86318d36bf5175a1abde666e60014a4c455ffae7f4f05 +MISC ChangeLog 2478 SHA256 eacc6587c9c719c3b3b591c6ebf0d2ba7816a4a0fbe4af9fd6563ba8ba8ab0ea SHA512 9505ff2ec0748860655b90a604612d0666bdcca6b1c83a09564aab51a73d7cef18534aa8093bd2ed87c4d5aaeedc909e275ab434f91f5d4ed3b46e1ad44a6968 WHIRLPOOL 9589af6d429837be61d9ce1fbc5b21a6211a2ca9c246c67953ffa62f30ce552173c97bad1b666754653fc66ab2372d9f4f64964a2f5381d51270f5ff5e3c92a4 +MISC ChangeLog-2015 813 SHA256 d3cc0c7e1cc941bec32f6a986542a71c0f4792681d962b4c8038bd4d82d4ff88 SHA512 16fb082deccdd91c75b41e607c40e51d6f717bb855cebaafbe77d6a47c59478791064c5996c8be0d412642f907ff83ca56f602939de1b9a9bd2926ce205cba5c WHIRLPOOL 6586e4c2fd35e565a8c7523f27edfc8a8346ecdd286d12d31a0a68e8962d6a91d49781fd46e5a3857815d9f62a8ef59b690ec87da4736fc17b574733bd96f2af +MISC metadata.xml 310 SHA256 c7dd89797e5a4e1d0d1fb130d382dded7d2d6666392c6eb22a3807ad8a4a0e89 SHA512 0fc994f744babc8dabfce3c5ca8c9fdcef3c164cf481c8e317468615e34089f605772b9216ed2ecf0dbd80c1309b7da9e48c617514137cbb9b8cec44a1fbba4c WHIRLPOOL 0cf73240c37d47c304e20eb1476860da7e3c8d6ef8b0ee1be81b025ac2dea920145a280a5928d2190ccf932d9e28370ddd6d1a00b5afd5d0b3860c5341585ed0 diff --git a/app-eselect/eselect-scala/eselect-scala-0.1.1.ebuild b/app-eselect/eselect-scala/eselect-scala-0.1.1.ebuild new file mode 100644 index 000000000000..28a48e34aca6 --- /dev/null +++ b/app-eselect/eselect-scala/eselect-scala-0.1.1.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +DESCRIPTION="Manages multiple Scala versions" +HOMEPAGE="https://www.gentoo.org" +SRC_URI="https://dev.gentoo.org/~gienah/distfiles/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~x86-macos" +IUSE="" + +RDEPEND=">=app-admin/eselect-1.0.2" + +src_install() { + insinto /usr/share/eselect/modules + doins scala.eselect +} diff --git a/app-eselect/eselect-scala/metadata.xml b/app-eselect/eselect-scala/metadata.xml new file mode 100644 index 000000000000..d4ca24982e1b --- /dev/null +++ b/app-eselect/eselect-scala/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"> + <email>gienah@gentoo.org</email> +</maintainer> +<maintainer type="project"> + <email>java@gentoo.org</email> + <name>Java</name> +</maintainer> +</pkgmetadata> diff --git a/app-eselect/eselect-sh/Manifest b/app-eselect/eselect-sh/Manifest new file mode 100644 index 000000000000..ef6dfd50f284 --- /dev/null +++ b/app-eselect/eselect-sh/Manifest @@ -0,0 +1,5 @@ +AUX sh.eselect-0.4-r2 347 SHA256 dc874b25903565dfd93dd61854a4490ddd8972711132b1e3908008e7b9cd7ab8 SHA512 ab8ff220613e1de75e6ffc4bd0b021e55f80658d0071af9fc1036d28f81cdea35e209869803c33e89ea90fb3c980f511b91bf4e64d56f530e92af5fccff522be WHIRLPOOL d3e9e1103c3642813337e8e5617da8388ce296862235322b60d4e0a19f9f55b3abce5b8641f118f3375c57ead8e94c7cc1be992182ba12e217685c7876c88f4e +EBUILD eselect-sh-0.4-r2.ebuild 592 SHA256 b078dd786f089a9fc7cf370fd4ba0f246889a865b5a3bf8dbf16066120c5ad96 SHA512 1068617a36137b7c4b40204f8ab616dcb256a1014ab5e49baa762e8a84ab523fc9274e5b741475b9287d2a69e2f2601a2b82010a8335a5e581eaadca1bcda509 WHIRLPOOL eeb925a248ade85412380face4f9ef98725f1431e840e8d8f55058037991c29e97b8149c3f07d3a9585e31b0c01e824f75f7553aad42222820e46d2c4a685b46 +MISC ChangeLog 2244 SHA256 1191d8ebbccab0f39eb24719b6bdb91fa0c3d364340853117852755f1d8ee36f SHA512 ff5dd3e8a0fd68f927d9d291033a14e2cf10ec289910e041c81e0f190278534514f48b00f1cc3fa97483545bf4bf52f983378bae4cebbcb4fd8fcc56b4424bfc WHIRLPOOL cf29b3e4becec95435ef96f8d8591414f13f729109bf6edf2e368267eeedd484da9cd45371eb79412d9f13c72dde1135a4e576f1ed087fb66f8787280e4aba77 +MISC ChangeLog-2015 4680 SHA256 32cb5f8194c075ddd0f31943115ca2a8666bcc030cdbcd243a77d16fe48353b0 SHA512 82f4f894ed790260dc89b12838572af6399ed09ad3d5fec8eb0412a358e4f310e1ae50234ab5721f0057bfea7bcdfc30154a88faefdaa2f37e2b0fd350e35108 WHIRLPOOL f000b668cb0b05fd68f34fdd28ca41d3d7cbba35c2d740bca48734427f887d7be21a395148ebb525b58c0e4e49836a7add0bbd95ab9bffad6969def4f503b7f8 +MISC metadata.xml 247 SHA256 34d6ed4186bad4ac57e0b4c08b657b14e28852a83c4ccf4d8a62f7829063b1cf SHA512 d6e2ea8a9d74791bcbf3d6311a66bafc20b8f4db3a576d9a8d54b86d7afb231122b8d87f71f3f46360980adf8d815c633b6d5041f9a30fc8656e8fb66057a282 WHIRLPOOL fbd18b3e6e3d777e8d78e91b8d32c5e357fd2a1c754d2c9add4622be682521e59556f466cba397d913f0e63265202744ceaf76dc7823be0a172a9bf4da6a2579 diff --git a/app-eselect/eselect-sh/eselect-sh-0.4-r2.ebuild b/app-eselect/eselect-sh/eselect-sh-0.4-r2.ebuild new file mode 100644 index 000000000000..54480df6acdf --- /dev/null +++ b/app-eselect/eselect-sh/eselect-sh-0.4-r2.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +DESCRIPTION="Manages the /bin/sh (POSIX shell) symlink" +HOMEPAGE="https://www.gentoo.org/proj/en/eselect/" +SRC_URI="" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ~m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +RDEPEND="app-eselect/eselect-lib-bin-symlink" + +S=${FILESDIR} + +src_install() { + insinto /usr/share/eselect/modules + newins sh.eselect-${PVR} sh.eselect +} diff --git a/app-eselect/eselect-sh/files/sh.eselect-0.4-r2 b/app-eselect/eselect-sh/files/sh.eselect-0.4-r2 new file mode 100644 index 000000000000..7e7ae94de2da --- /dev/null +++ b/app-eselect/eselect-sh/files/sh.eselect-0.4-r2 @@ -0,0 +1,13 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +DESCRIPTION="Manage /bin/sh (POSIX shell) implementations" +MAINTAINER="mgorny@gentoo.org" +VERSION="0.4" + +SYMLINK_PATH=/bin/sh +SYMLINK_TARGETS=( bash dash posh mksh ) +SYMLINK_DESCRIPTION='POSIX shell' +SYMLINK_CRUCIAL=1 + +inherit bin-symlink diff --git a/app-eselect/eselect-sh/metadata.xml b/app-eselect/eselect-sh/metadata.xml new file mode 100644 index 000000000000..0319eec4c8be --- /dev/null +++ b/app-eselect/eselect-sh/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>mgorny@gentoo.org</email> + <name>Michał Górny</name> + </maintainer> +</pkgmetadata> diff --git a/app-eselect/eselect-sndpeek/Manifest b/app-eselect/eselect-sndpeek/Manifest new file mode 100644 index 000000000000..1443fc8ef7ac --- /dev/null +++ b/app-eselect/eselect-sndpeek/Manifest @@ -0,0 +1,5 @@ +DIST sndpeek.eselect-1.0.1.bz2 1263 SHA256 f29bac268b3f4c801565e0af10101b5a1685c70ec0108c932fbddf2c5381cfa1 SHA512 39cc065d4fbe408db9c406d84a0ebf4a69a9c50f440f26b714b5f154bf7b5de497df4226434d60c0b1e4e073bbe3a0ca96c3bd574148772a4912e2fc9c9c6b5b WHIRLPOOL 5d04de6553b85197ec2ea53719eb4e76010333a5f3b2b91fa2d75a1753e59991e161b30ddf18492eaac2d6768a0e1bfa86ee1097724ff00c4d2bc7ab19d5f2e9 +EBUILD eselect-sndpeek-1.0.1.ebuild 463 SHA256 de094ed896603b13c337534a31fa4b52419292c1ca2346483d1e0592a635fca0 SHA512 4a91e540c432f0f2ef72d5c368405b8527902c2007a719201c3431a165f8d825e10e2cbb741ec9ae87aaece0913d46cba5e256d0c7cc409eccaa86c6abc461f3 WHIRLPOOL bf017828507335c9bbcdb02f02285a463e0a53f195055d92a101e33fe2458964ef884af815bd46a99779a75c251b9e97badc291e04b7abcc3761ed06fea6ae51 +MISC ChangeLog 2974 SHA256 d910dfb523fb3adb922a7d6ce3339c521bfa88343b9b904bb6fd425d6e4f9972 SHA512 5b7f81862e50fa80ca031911b49cc29e3557622866159715c1f4e3685d12c7a7bc0e56d5b48ec395bdcfb29cf2773f6b4f66ccf811246775b1c9ff0ab2c7b8cb WHIRLPOOL 0902de146aa543f63cd7533a5adb0c1031f59395668147c2463738169dc504c730cc82489ac6fe079036d1c4d215b8e422c1bbc8a1dc10f41bad1ab7c97d3c6e +MISC ChangeLog-2015 906 SHA256 6fee0bddc9d61ae8917ab3bf9f6dec018952509e2f457010ae6dac2ea7d4fece SHA512 45730f0af1f57583cce26b1a33dc9a9d4e263ff3c5931ed0418430a2a9f8fd4af5528aa8dc088e5b4cf8751680209dc553d6de2c5919624bd3b479af474bcad5 WHIRLPOOL b9e9a7dcc07b285f5aacc2255c9de34483a0d5295cc6ef82a6a6e4fccbc09fdf055702214ec6caa44aa39e9a013099287c9ae53a4f78151df80d264e2f716159 +MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968 diff --git a/app-eselect/eselect-sndpeek/eselect-sndpeek-1.0.1.ebuild b/app-eselect/eselect-sndpeek/eselect-sndpeek-1.0.1.ebuild new file mode 100644 index 000000000000..dbc24bf3d878 --- /dev/null +++ b/app-eselect/eselect-sndpeek/eselect-sndpeek-1.0.1.ebuild @@ -0,0 +1,18 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +DESCRIPTION="Manages the /usr/bin/sndpeek symlink" +HOMEPAGE="https://www.gentoo.org/" +SRC_URI="mirror://gentoo/sndpeek.eselect-${PVR}.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=app-admin/eselect-1.2.3" + +src_install() { + insinto /usr/share/eselect/modules + newins "${WORKDIR}/sndpeek.eselect-${PVR}" sndpeek.eselect || die +} diff --git a/app-eselect/eselect-sndpeek/metadata.xml b/app-eselect/eselect-sndpeek/metadata.xml new file mode 100644 index 000000000000..6f49eba8f496 --- /dev/null +++ b/app-eselect/eselect-sndpeek/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<!-- maintainer-needed --> +</pkgmetadata> diff --git a/app-eselect/eselect-timezone/Manifest b/app-eselect/eselect-timezone/Manifest new file mode 100644 index 000000000000..b777373cad49 --- /dev/null +++ b/app-eselect/eselect-timezone/Manifest @@ -0,0 +1,5 @@ +DIST eselect-timezone-0.2.tar.xz 1400 SHA256 7bf7cc26b1ecfbc56ab742cc0debf7dd3b2bd0e83ba1df0dbd203e3b97c167f4 SHA512 757dc88b94fde547af2026c0759c9109f803f7144e843be9d79e9eef0bcbe8f2273a5585448dc1d810d89f4f4be7f6d8974e7dc35f6dc8069f8090775bdf8b52 WHIRLPOOL c950c695b7915db48f48ec7e15583911dfdaf281130b9e0c217199df477f8fbd4c3ad60e6582a7cc540adc44c461fccddc11c7c9c65f1e7c7b8931e1247beb9c +EBUILD eselect-timezone-0.2.ebuild 397 SHA256 759ddc49753244f4a6930e9377eebe8039367cdaf152132460cd91bb7dfdfa8f SHA512 0550ffe98abdad54725bdba4ea0a4f039725382571094119db47dc0af3d019d52dde7b0e8841568072f1f754e8a541380935e726517e1252ae439e341b41cc4a WHIRLPOOL 48b52e4743dae9d449e692c161ff2af4cfb0e79ced21f0d92c7adb2398946b5ac7f1a5d2cc241ad8a24ed678c19364e26e63a1f51703c5ad1900b7645f9f720d +MISC ChangeLog 2495 SHA256 488513d960b9cff95e4f942bc3cc9fcf2e9fab3b8153838dd3ea8c88e7a55224 SHA512 ff3f93848042ac34d39fb3815be6fe3d8569421d257e8cf455087197fc5f2b68535c3aab05ca2358a52035c02bc6f86355020441608bead15a6cfed743de3811 WHIRLPOOL 7a9ec8d87e8176650627ea0f045a34fc5158ce6be2d49f044d406ab0e33110fcc7ef2f5c657890830cc8d3687394c6609e0ab8ac19ac02235b31e0be276d981c +MISC ChangeLog-2015 824 SHA256 b233a1183df1f21069856591dbbbb94349ef25d842056c814d79a355a2467fe4 SHA512 fcdeaa948c387bd7b3c35ca4765a1db166a9f27c288419a78319eed8220610a2ff6662cfc06851cc816b477a2c8920c73bd8cc2ef046d1e1a79b8101e468d209 WHIRLPOOL 0d158cfd9c8180bc7d48d307da0353eac722f89a63e67cd5b5113e540974c4e06fe91706d78d9851d305ed9a7d2b783f358de80bff08e9a250f3c16d2257a013 +MISC metadata.xml 253 SHA256 c58329f76cbdd5a0a6029e69cc7b656c0039be2bd0965e26d31249de53746b1a SHA512 a931cf8d295191e246377a75882955524e9e3a86aeacf4a5067c0025b6a03d608cdfa6763cfc53ba4a00cd6ee4b7db42d1a042dda5e74e578047ad42ad92be50 WHIRLPOOL 4758f76570788a7ce3af5d2cf6d1da8b5d7d1e5c79de987c4b52acd50d847e8dc11ee94f64a70c6ae8451b944c0a20297eb1bd5f5d25b970789acf8bedb8d318 diff --git a/app-eselect/eselect-timezone/eselect-timezone-0.2.ebuild b/app-eselect/eselect-timezone/eselect-timezone-0.2.ebuild new file mode 100644 index 000000000000..876df37c9b4a --- /dev/null +++ b/app-eselect/eselect-timezone/eselect-timezone-0.2.ebuild @@ -0,0 +1,18 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +DESCRIPTION="Manages timezone selection" +HOMEPAGE="https://www.gentoo.org" +SRC_URI="https://dev.gentoo.org/~junghans/distfiles/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" + +src_install() { + insinto /usr/share/eselect/modules + doins timezone.eselect +} diff --git a/app-eselect/eselect-timezone/metadata.xml b/app-eselect/eselect-timezone/metadata.xml new file mode 100644 index 000000000000..ef6b5dcd53aa --- /dev/null +++ b/app-eselect/eselect-timezone/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>junghans@gentoo.org</email> + <name>Christoph Junghans</name> + </maintainer> +</pkgmetadata> diff --git a/app-eselect/eselect-timidity/Manifest b/app-eselect/eselect-timidity/Manifest new file mode 100644 index 000000000000..6a1474004eb8 --- /dev/null +++ b/app-eselect/eselect-timidity/Manifest @@ -0,0 +1,5 @@ +DIST timidity.eselect-20110513.bz2 1689 SHA256 76b4303e12540361dad180fe9d2eaf9ba0223c7e6cf9331138bc4415ca8eae6e SHA512 9af37f195dde3595cb55e3ca467928fd04b5f755545cf41ce0b3198a21107ad35e28365c1d310a77561f8ffcb1b10909b618fbdc55ca06b77492711b48c17afe WHIRLPOOL 0fef11a89e0e5b395d32dff9f972e2260a696e2c8dcd81f5054807cdabdea78660b3d3a08f7164a8351c32c8abd1b5a8ade7e4fcc2c75313c45e342e1c18223d +EBUILD eselect-timidity-20110513.ebuild 521 SHA256 1f57ff4c0635ce07cf531c83c252c79986ee2021ac5cd7aeb324348f2d7ad6f1 SHA512 eb1509b150f5aec417b55880150f6bb34a86be2140f4157d5bbb164b5db22bd0aa640f118fad7469edce8e00524cd7a6076349000ab0d1db200aba7f43c1b289 WHIRLPOOL 6cc553a3fd45d4f0b0d76c5d98bc376273b02c90241de9d507eefb0d0d08854d462478cdea965ac148ac76cfb1e2bb541fbf1c25943d88e0cadd4d3592db5261 +MISC ChangeLog 2894 SHA256 2e02c67022eeccd158fcd49f8d915b1fb1ad38b7550c22cf44a306bf8bfab45a SHA512 cc5e3c359f8315687ca0bd90975b4b791af033e623d17e025372039e055c73e07bfd59f1f15f87dd07a1d2134bf4967ec640a4f1ef530a235795461809082dd9 WHIRLPOOL b89675b147289e93c5e8f0aa1baa579095f231558881512645cb0a2d2b8671be7b638caafda8589850be6da7a8af1a0af299f56551da791d2080d1d0207ed80b +MISC ChangeLog-2015 3717 SHA256 15b7dd2b34a137d25bb93333009104c71439a48b310bfb7430f649846c063d4e SHA512 48674b34b6b87ee73e87ece2b74c08241d0356c7d1929cff55f80dbb2800c19858ea9f439e00eb23cccd824ba7f1a78fe08100ead54dbe047f64743ade4e9328 WHIRLPOOL b5731113694dbd99d58ad9a726844ee8a28ed2bf954d7175445fe309a0e5483b0e46607d0e0f5397a828dea0b39460f30509d82af1aaeebe9a95ee56ea0fd51b +MISC metadata.xml 249 SHA256 a591aa91a9c413e7f7e24fd25b924ce2dfef686da8b4ce38bebb088ebfdba9db SHA512 9a100fb26586365eda99724330a03a512f4d0be18d39c3a195ba02c2fc841edeee99d22512acf5a058a3b978d3a74f4d963a5aff9aa343b6cb4086cdfefe6343 WHIRLPOOL ae5b0c583f3a07ed1ccf651b5b9c8d6c8c637fba2d505fc4b028ea60239fc0a84e37a169b5114f879712ae74f7f41960a2cc6b59e67cacc7f964b105b5fb8723 diff --git a/app-eselect/eselect-timidity/eselect-timidity-20110513.ebuild b/app-eselect/eselect-timidity/eselect-timidity-20110513.ebuild new file mode 100644 index 000000000000..c629fd9d7809 --- /dev/null +++ b/app-eselect/eselect-timidity/eselect-timidity-20110513.ebuild @@ -0,0 +1,18 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +DESCRIPTION="Manages configuration of TiMidity++ patchsets" +HOMEPAGE="https://www.gentoo.org/" +SRC_URI="mirror://gentoo/timidity.eselect-${PVR}.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm ~arm64 hppa ppc ppc64 sparc x86 ~x86-fbsd" +IUSE="" + +RDEPEND=">=app-admin/eselect-1.2.3" + +src_install() { + insinto /usr/share/eselect/modules + newins "${WORKDIR}/timidity.eselect-${PVR}" timidity.eselect || die +} diff --git a/app-eselect/eselect-timidity/metadata.xml b/app-eselect/eselect-timidity/metadata.xml new file mode 100644 index 000000000000..c870d0eef0ab --- /dev/null +++ b/app-eselect/eselect-timidity/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>sound@gentoo.org</email> + <name>Gentoo Sound project</name> +</maintainer> +</pkgmetadata> diff --git a/app-eselect/eselect-unison/Manifest b/app-eselect/eselect-unison/Manifest new file mode 100644 index 000000000000..b50b37d15348 --- /dev/null +++ b/app-eselect/eselect-unison/Manifest @@ -0,0 +1,5 @@ +AUX unison.eselect-0.3 3503 SHA256 cd011ec20c65cdfccd56ea6f6332fcc4834c974cdd498f44d6865e350d01a4b0 SHA512 67c8d9109e83643534219eb8c78bf797abf7e77751605dcfb7da6f48c5e26a1fffc36c991aef222b51427305e9b704c8e9aff23234994dc1424849673df91bf0 WHIRLPOOL c85867f6209ccdafaa52057d813844dc31776956825534e2dbdea8ad72658a1ca867e62075e67d308e9849602f046f4594bca126f75c8031902556c35d705afa +EBUILD eselect-unison-0.3.ebuild 587 SHA256 635ff35400ce65666d6889206e205453100095d54c0404b1f5216b57ca8d2246 SHA512 60265833d38fdacf3eebe5837af310ae13075ac7bf90101ac86d7ece2aa1bdec5a2be2cabe33b9337b2a48c51e6008c80560c606ba2e95bf65f2b8ba1ded5d03 WHIRLPOOL 232fae579661aaa3558b97ec66ec5d722db04f35c5fe3851b68f13d3a4afd76b8c8c273b9993bea55cc1858162c1ca9a43c6f1bd0e7a31706e12f14bd4dd0ec4 +MISC ChangeLog 3067 SHA256 3bf6f5ff9fe78c3c6d8731edc966d60e6ccf087310b5cbf24f10f3a0d6925b06 SHA512 fd2c532ec86742889e9ba3f739f3a73482333479516a7c34b03ecc88230e96f7edefb0d8beebf0f7e6fdbfd939285a9ee53f5c3a02f9f6b0ce92fd50a2693448 WHIRLPOOL 5227e3de667d3fdf903f5070871a94724e29b548162852c8a3d526219950dc586a725a18990d8c35d489855592cd5845ef8209c2b51ed108610861221536c5d9 +MISC ChangeLog-2015 2492 SHA256 c579038956fb05adaf0ab5d3c7784c5fcbf8457680966a8c1c5e67ae2432d0f6 SHA512 37f1c54b623b5ee7009d81106b5813ede396bf6a10517eeeb909b447f205699211fda1b6df14ddb53715030e8b8a6dc8fa87a0f2e3bfc5d4f1574deab3d1ade9 WHIRLPOOL 0d1cdeae1cb0da3b41633a888659a2f1581f801a326da253fb97f13aa498e7b84a2ec1ba897d78029c3d2f6963c0acf3365560faaf8ca3b55151d00540c23dc8 +MISC metadata.xml 243 SHA256 5e9b58b0b795266f973d066675839499e3a56d7d932d702404a4b91ded8eb26c SHA512 1c5b4b2163017e496999d1f87e5c9c5ac6c11b2e9187450ccfb3df258f34e54d278972f04ee0e8429476c6f87e091a869ac2a28c6e8c8e6d20678c3e74061449 WHIRLPOOL 085df2e84901cbe563c7c1d30d04c229547f15f8ee26ac61d44d07c3f6999f2bbfa4cf309963172fb507cce5450d27598b762c3ccab92351601965c3afc05e3a diff --git a/app-eselect/eselect-unison/eselect-unison-0.3.ebuild b/app-eselect/eselect-unison/eselect-unison-0.3.ebuild new file mode 100644 index 000000000000..343542b21e8d --- /dev/null +++ b/app-eselect/eselect-unison/eselect-unison-0.3.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +inherit eutils + +DESCRIPTION="unison module for eselect" +HOMEPAGE="https://www.gentoo.org/proj/en/eselect/" +SRC_URI="" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~arm ppc x86 ~amd64-linux ~x86-linux" +IUSE="" + +DEPEND="" +RDEPEND=">=app-admin/eselect-1.2.3" + +src_install() { + local MODULEDIR="/usr/share/eselect/modules" + local MODULE="unison" + dodir ${MODULEDIR} + insinto ${MODULEDIR} + newins "${FILESDIR}/${MODULE}.eselect-${PVR}" ${MODULE}.eselect \ + || die "failed to install" +} diff --git a/app-eselect/eselect-unison/files/unison.eselect-0.3 b/app-eselect/eselect-unison/files/unison.eselect-0.3 new file mode 100644 index 000000000000..263c0fa7bc80 --- /dev/null +++ b/app-eselect/eselect-unison/files/unison.eselect-0.3 @@ -0,0 +1,145 @@ +# -*-eselect-*- vim: ft=eselect +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +DESCRIPTION="Manage /usr/bin/unison versions" +MAINTAINER="ml@gentoo.org" +VERSION="0.3" + +# find a list of unison symlink targets, best first +find_targets() { + local f + for f in "${EROOT}"/usr/bin/unison-[0-9]*; do + if [[ -f ${f} ]] ; then + echo "${f##*/unison-}" + fi + done | tac +} + +# find version number of currently symlinked version +identify_target() { + local f + f="$(canonicalise "${EROOT}"/usr/bin/unison)" + echo "${f##*/unison-}" +} + +# try to remove the unison symlink +remove_symlinks() { + rm -f "${EROOT}"/usr/bin/unison &>/dev/null +} + +# set the unison symlink +set_symlinks() { + local target="${1}" targets + if is_number "${target}" && [[ ${target} -ge 1 ]] ; then + targets=( $(find_targets) ) + target=${targets[target - 1]} + fi + if [[ -f "${EROOT}/usr/bin/unison-${target}" ]] ; then + remove_symlinks + ln -s "unison-${target}" "${EROOT}/usr/bin/unison" || \ + die "Could not set ${target} /usr/bin/unison symlink" + else + die -q "Target \"${target}\" doesn't appear to be valid!" + fi +} + +### show action ### + +describe_show() { + echo "Show the current unison version" +} + +do_show() { + [[ -z "${@}" ]] || die -q "Too many parameters" + + write_list_start "Current unison verson:" + if [[ -L "${EROOT}/usr/bin/unison" ]] ; then + write_kv_list_entry "$(identify_target)" "" + elif [[ -e "${EROOT}/usr/bin/unison" ]] ; then + write_kv_list_entry "(not a symlink)" "" + else + write_kv_list_entry "(unset)" "" + fi +} + +### list action ### + +describe_list() { + echo "List available unison versions" +} + +do_list() { + [[ $# -eq 0 ]] || die -q "Too many parameters" + + local i targets current + targets=( $(find_targets ) ) + current=$(identify_target) + for (( i = 0; i < ${#targets[@]}; i++ )); do + [[ ${targets[i]} = ${current} ]] \ + && targets[i]=$(highlight_marker "${targets[i]}") + done + write_list_start "Available unison versions:" + write_numbered_list -m "(none found)" "${targets[@]}" +} + +### set action ### + +describe_set() { + echo "Set a new unison version" +} + +describe_set_options() { + echo "target : Target version number or index from 'list' action" +} + +describe_set_parameters() { + echo "<target>" +} + +do_set() { + if [[ -z "${1}" ]] ; then + die -q "You didn't give me a version number" + + elif [[ -n "${2}" ]] ; then + die -q "Too many parameters" + + elif [[ -L "${EROOT}/usr/bin/unison" ]] ; then + if ! remove_symlinks ; then + die -q "Can't remove existing version symlink" + elif ! set_symlinks "${1}" ; then + die -q "Can't set new version" + fi + + elif [[ -e "${EROOT}/usr/bin/unison" ]] ; then + die -q "${EROOT}/usr/bin/unison seems to be from an old ebuild, please remove manually" + + else + set_symlinks "${1}" || die -q "Can't set new version" + fi +} + +### update action ### + +describe_update() { + echo "Automatically update the unison version number" +} + +describe_update_options() { + echo "--if-unset : Do not override currently selected version" +} + +do_update() { + [[ -z "${1}" ]] || ( [[ -z "${2}" ]] && [[ "${1}" == "--if-unset" ]] ) || \ + die -q "Usage error" + + if [[ -L "${EROOT}/usr/bin/unison" ]] ; then + [[ ${1} == "--if-unset" ]] && return + remove_symlinks || die -q "Can't remove existing symlink" + fi + if [[ -e "${EROOT}/usr/bin/unison" ]] ; then + die -q "${EROOT}/usr/bin/unison seems to be from an old ebuild, please remove manually" + elif ! [[ -z $(find_targets ) ]] ; then + set_symlinks 1 || die -q "Can't set a new version" + fi +} diff --git a/app-eselect/eselect-unison/metadata.xml b/app-eselect/eselect-unison/metadata.xml new file mode 100644 index 000000000000..ffac4d7ebc01 --- /dev/null +++ b/app-eselect/eselect-unison/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>ml@gentoo.org</email> + <name>Gentoo ML Project</name> +</maintainer> +</pkgmetadata> diff --git a/app-eselect/eselect-vdr/Manifest b/app-eselect/eselect-vdr/Manifest new file mode 100644 index 000000000000..fe9fd976fac2 --- /dev/null +++ b/app-eselect/eselect-vdr/Manifest @@ -0,0 +1,5 @@ +DIST eselect-vdr-0.0.3.tar.bz2 1899 SHA256 088ca60c9bc20f23d8df8ec3037e02301cdc5417fd5eef2a94d1b0a4db129eba SHA512 6cd1c43271106d3dbe59c12148b0364c11a9767cb9ebb76e1647f707573d8fb875dfaa3ebd0b76523270e20c7ce4afd17d05dca0ef1dc4331366f49895498631 WHIRLPOOL 854a6c021f9b273c75da4f5622b37782a0719e1e9a971e430f249a3752f69aa18e473124bafe0e9ff793f8f5f9d58df404ab4434f8978b7b7a810d1d1e3c890c +EBUILD eselect-vdr-0.0.3.ebuild 503 SHA256 a9f99e721c7546fa43af3c2684d2640fe52759b24f824f754140e970d05a2537 SHA512 b77ea824749c1c70f49fac3f63a1f492ec2e2e1fdf06b217302edf7dc0e13846147fd25f9f2650956bd2bb9c11a323bd6f7d825376d80840a261fbd5ebd725f2 WHIRLPOOL c1083e6580e783ffdaed1503fa387e063fdbff8d21530d10ec0e57b48eee623b62fc45741c098be9bf3b7ec925c51ae5434a99ed06534f59ac02dfdc6a9440b3 +MISC ChangeLog 2654 SHA256 262a7d131f4a6f0b21e4e046d8bad3fcb9517c5ce486a2f0767f7ed1d25e9796 SHA512 00f5e32e4ac32c7cc34db0545ba605db5538837c8f6a7763bea3a18987ec9dd68ca66893a088b47c0298043878bc8b99c89032c23852a7a18cb14b84041df747 WHIRLPOOL a0eec406518eddeaaf28f574dfc3355b37061c75b5f63812ca24652d00c27df9c42b18b8a24183ff4f6d4f7e4a90213fa99053d680b9112a353ca88c451021ef +MISC ChangeLog-2015 1932 SHA256 0f99bec0f39381b6ddd3dab4f3c5caee903a27d8e0cddeda999381dc4bbdc0ad SHA512 41855342d8be425d6c5dc8e7e7699f493bbae9db9e15d99b9e79784d4caf036231e1be429d391a24bcb0e1a8aa95766fe20abaf0b4ae0f81c07e2150ca09f088 WHIRLPOOL 05fec24a4e58a063db17d89bc8d4ab4fd2c66f53c89f0d132f9c10eef827988d4e107cfc65c9584046c6832cc646affbc9cc53e4b827c13387b8d8ab77d8dc04 +MISC metadata.xml 249 SHA256 d3b08f4769529a48cdedb9decab34312707ed6d65d2577d079e3f4cd953d545a SHA512 b6440069f895b4d5360dec283faef3b6d3b3d65e7b895d8f8bcc2c7106d19db75ebede53ca8e0e67adf63af73ed54ca4efbc1c58b317dbfa27ed2050e175bde3 WHIRLPOOL 594ba2bdfe29531c638cc624a9e7690bf0c6dfb38b76fa26f1a1fc341a8c1c48a8777a40a63473289746d318f1e363c26a627784cef2241c10e75f023f43dc1a diff --git a/app-eselect/eselect-vdr/eselect-vdr-0.0.3.ebuild b/app-eselect/eselect-vdr/eselect-vdr-0.0.3.ebuild new file mode 100644 index 000000000000..9cdc6760fea9 --- /dev/null +++ b/app-eselect/eselect-vdr/eselect-vdr-0.0.3.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +DESCRIPTION="Manages the VDR plugins" +HOMEPAGE="https://www.gentoo.org/" +SRC_URI="mirror://gentoo/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 ~ppc x86" +IUSE="" + +RDEPEND=">=app-admin/eselect-1.2.3" + +src_install() { + insinto /usr/share/eselect/modules + doins vdr-plugin.eselect || die "Could not install eselect module" + + dosym eselect /usr/bin/vdr-plugin-config +} diff --git a/app-eselect/eselect-vdr/metadata.xml b/app-eselect/eselect-vdr/metadata.xml new file mode 100644 index 000000000000..984a01fab265 --- /dev/null +++ b/app-eselect/eselect-vdr/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>vdr@gentoo.org</email> + <name>Gentoo VDR Project</name> + </maintainer> +</pkgmetadata> diff --git a/app-eselect/eselect-vi/Manifest b/app-eselect/eselect-vi/Manifest new file mode 100644 index 000000000000..d2904e668ed4 --- /dev/null +++ b/app-eselect/eselect-vi/Manifest @@ -0,0 +1,5 @@ +DIST eselect-vi-1.1.9.tar.xz 6236 SHA256 e11592f4f48d16071f6248794e2f9116f716c78c1ba66b9181aa670ab9f71400 SHA512 618c83d1e93a6c137b1c787c9bf9df19b68b7ef6679ba6179f13582f67e494d365da778b4646aff4af7196399468204c249e59e104a69851bb411fff1b3d038f WHIRLPOOL c898788019a4e79ab1dee38cc3d8d3878c25651bba7e83fae1e97a05abd7222b5d514d985f3ed9ff5861af72c2255521b0db66c6d6c8f8e97beb0597344eca82 +EBUILD eselect-vi-1.1.9.ebuild 652 SHA256 9dcd268ba23fdea1eb453db58f49dd140357b072f2226fcd04cc984eae9bd831 SHA512 2de5261d3b13824651fb804371286006076224a739fd2b1e948688330e32ab3e2d1215f87c6d8f12db06a729c560b3d6ab224e2aec87e9074c276009a8234006 WHIRLPOOL 340fdc91c537c2b616c8a8de41bbfe5d72c254e5d24aab59ec98f659d98949c0730a45af8dbd532b9c5989713ce30a85b74a51d1822be42e3aa733a87cb2a800 +MISC ChangeLog 3076 SHA256 95a4a295ae634f3a3b6386e71374d2c0f4f7626d0fa5ecff273d4f8d49245cfc SHA512 416409d0a8d1248d90a0409c2316b7c09e01254fe374c0f75dc3137a7b436e03c312d07856fe9e0d4d096766820821ee15d87382bd1033d27df59729bc3271e2 WHIRLPOOL 0bec8deca571b0af819e04cb9160c70582c126fc57c233a127eea2f69b42630f4615a7718b4665e06d7e24d2a7109eb0a9d8e816ab311d5e1fe3824082c5affe +MISC ChangeLog-2015 6816 SHA256 6055c91279198ce50086ef264f2d6e17503974a5cee0e45e9af76ed2a4187a61 SHA512 006124be0e68fc99dbd5813446beabd8dd4830d910a20aca7faac100d152c37f7b0d6588310c268ebe3fe9059ab314065f1304d204265890c8ccf4d95ec94bb0 WHIRLPOOL 9e0521fb3f0765d2e678d9f760d0efaf30f98ebe458520face3e1fa19e79fe4c8795b8995a94b00ac2d27f21a58b71c01098aa616f46c8f3c5cb75281e34409e +MISC metadata.xml 249 SHA256 d4adb0d6593130c430b51f47b187c0848b8a16d353d419cb39e44edf8baa033b SHA512 4051dd059d975d2e1799125f7defbf5a62a168241d8b83d83710592efd60808800951c4fd6da1294044d7e7ec6b757b8d50593fd076696f826dec761e99645c7 WHIRLPOOL 0e859a788faf27de759428701100b3134df0b6d5e8402bbb125fce791e778353ddcd819d86f54063928836417f2cefb2c1e30e8568b8d2aa4cd336d3b695b10a diff --git a/app-eselect/eselect-vi/eselect-vi-1.1.9.ebuild b/app-eselect/eselect-vi/eselect-vi-1.1.9.ebuild new file mode 100644 index 000000000000..e6a17a84a8ab --- /dev/null +++ b/app-eselect/eselect-vi/eselect-vi-1.1.9.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +DESCRIPTION="Manages the /usr/bin/vi symlink" +HOMEPAGE="https://www.gentoo.org/" +SRC_URI="mirror://gentoo/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +RDEPEND=">=app-admin/eselect-1.0.6" + +src_install() { + insinto /usr/share/eselect/modules + doins vi.eselect || die +} diff --git a/app-eselect/eselect-vi/metadata.xml b/app-eselect/eselect-vi/metadata.xml new file mode 100644 index 000000000000..5c000c763084 --- /dev/null +++ b/app-eselect/eselect-vi/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>vim@gentoo.org</email> + <name>Gentoo Vim Project</name> + </maintainer> +</pkgmetadata> diff --git a/app-eselect/eselect-wine/Manifest b/app-eselect/eselect-wine/Manifest new file mode 100644 index 000000000000..d1e50af9477b --- /dev/null +++ b/app-eselect/eselect-wine/Manifest @@ -0,0 +1,3 @@ +DIST wine.eselect-1.2.2 19370 SHA256 e72f3d7cbdb3d7254ca0c52165adeae977e78ab68cde843622b99088ecc74e2b SHA512 6380e904ca824b1fe45cf651637f1cfe931f0c7519db49cb0794826ebbc8bdebc480fe7eb16601dc37123b44ea2d10aec49aa9fe622cad3e67ffb0f730292614 WHIRLPOOL 3f2cdc1128c831672605a46c8e7ac7a524d9a42e7355928806c448463131518f4bd47c633a687d8af1ae0fb7eb3c702755103ee2fedaf37c3e30477286b910cb +EBUILD eselect-wine-1.2.2.ebuild 1286 SHA256 f032581318c61e060cfcfe8f8eb9809ed2866b818db356a43a4768ec1eb33b6d SHA512 c4e2d6854998c7c6b4216412d2430bfa704e19c21110bc50a2039c68aad3be6136f8999b01fbd6219f9a8007e305d402000e92215419fe04fc58cd44a6b4d74b WHIRLPOOL 656b68975e10045d0a933c18fefada99f16ac8e39b8946c93b54aa838fc7744a98a8d1dc1aa4a29bb185bfc3283adeb56313a8d61f779609695414ea58dacf71 +MISC metadata.xml 435 SHA256 5a50698cc3ee304f7d9099c50acb3263f91ad5bcb9f520f20a51c196c1ec7e4e SHA512 a0be824eab346069bdca0b7f1856798b3469cc72829cb0850bec061e7679f9c68a3adf3331c4e5aedb3ac9253436997b9b6e75c79966c32abbf9048e16086e17 WHIRLPOOL 477c05b0f6019a7f6281707cf554fa80fe06c4bcceabd44641157e0add1bcad9e7b668cd56ce86b2c7f8ffe4f8a243b1cca08acead36a7c0a09e375b5cb97e91 diff --git a/app-eselect/eselect-wine/eselect-wine-1.2.2.ebuild b/app-eselect/eselect-wine/eselect-wine-1.2.2.ebuild new file mode 100644 index 000000000000..b65240008ca5 --- /dev/null +++ b/app-eselect/eselect-wine/eselect-wine-1.2.2.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Manage active wine version" +HOMEPAGE="https://bitbucket.org/NP-Hardass/eselect-wine" +SRC_URI="https://bitbucket.org/NP-Hardass/${PN}/raw/v${PV}/wine.eselect -> wine.eselect-${PV}" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="-* amd64 x86 ~x86-fbsd" +IUSE="" + +RDEPEND="app-admin/eselect + dev-util/desktop-file-utils + !!app-emulation/wine:0" + +S=${WORKDIR} + +src_install() { + keepdir /etc/eselect/wine + + insinto /usr/share/eselect/modules + newins "${DISTDIR}"/wine.eselect-${PV} wine.eselect +} + +pkg_postinst() { + # <eselect-wine-v0.3_rc7 installed symlinks with leading double-slashes. + # In /usr/include this breaks gcc build. + # https://bugs.gentoo.org/434180 + if [[ $(readlink "${EROOT%/}"/usr/include/wine) == //* ]]; then + ewarn "Leading double slash in ${EPREFIX%/}/usr/include/wine symlink detected." + ewarn "Re-setting wine symlinks..." + eselect wine update --if-unset + fi +} + +pkg_prerm() { + # Avoid conflicts with wine[-multislot] installed later + if [[ -z ${REPLACED_BY_VERSION} ]]; then + elog "${PN} is being uninstalled, removing symlinks" + eselect wine unset --all || die + else + einfo "${PN} is being updated/reinstalled, not modifying symlinks" + fi +} diff --git a/app-eselect/eselect-wine/metadata.xml b/app-eselect/eselect-wine/metadata.xml new file mode 100644 index 000000000000..1ded1127484f --- /dev/null +++ b/app-eselect/eselect-wine/metadata.xml @@ -0,0 +1,15 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>NP-Hardass@gentoo.org</email> + <name>NP-Hardass</name> + </maintainer> + <maintainer type="person"> + <email>gentoo@eroen.eu</email> + <name>eroen</name> + </maintainer> + <upstream> + <remote-id type="bitbucket">NP-Hardass/eselect-wine</remote-id> + </upstream> +</pkgmetadata> diff --git a/app-eselect/eselect-wxwidgets/Manifest b/app-eselect/eselect-wxwidgets/Manifest new file mode 100644 index 000000000000..df6a3bce907b --- /dev/null +++ b/app-eselect/eselect-wxwidgets/Manifest @@ -0,0 +1,8 @@ +AUX wx-config-1.4 890 SHA256 6766983a1fe2ee5e9e7e8c7fc73ab474403db04b557fcfa18c9be5dd5429502b SHA512 a753d583f829cc65ae0c826ac6baf35f8c54c7897b1a856d7494d61bdae9b1f5e9ac0c2428ef382763e388dff3f1843bdb4545c018127a3d26003cdeabdfd830 WHIRLPOOL b9d1b89de7e13419bdadbe4f36a580ee5d3da27499cbae367575bce6f479cdeed2725b2fb173fed92a8c4b070c53476b01c8fe72eebef9c7199dcaf6e79791b6 +AUX wxrc-1.4 909 SHA256 e03dfde59bf5b4d27b96d9b0251b55848812d36ff4b1b1037f7999a1775a1712 SHA512 ec57b86de63d0036d87aecb019dfac801a8d4908de04dbe8962331eb3432f751e7bcba294949f9412f573a17a8f22cacbaa898567024dd3d9f032eae68f2acd8 WHIRLPOOL b118c36fa411aed1d48988f89e6e9b0c7f07a7b397fcbf5b1f92a923da4a4992a18f48c73f785a0b4cbf6f69f71bb7044e4968232e8f546d2a216ced0cf1b326 +AUX wxwin.m4-3.0 40561 SHA256 08a3f7384bfe89cfe7a56f79fc0664d7344a727c64f645d6cbb7edd1874be7f9 SHA512 34268dff8878ab329e0b6e95bb0c5da5cb2b03103b1529a33216f73511e11041d9a5fed14e5df68cbee628377f474c5113e63155dd2dea0386afbf1235ae867d WHIRLPOOL 37d46164b199c3cec74180646e4638643e5719caa13f12de8bc7231450027dd0f18d457b5ab7b71b6c29aa955fcb42e4438a0e5aa88d339ff218b41238085c7e +DIST eselect-wxwidgets-20140423.tar.xz 6792 SHA256 e97d5734f4b0e314abdaa1a9ee148cdafed74e1cdc036e01e6ac74599736e1bb SHA512 0d83e0b6979803c8a02c20ac33a42c91fd8d350c095e26704a80c1913309f0e7d741cc466ab22e0a6ce4773deab21ca80756299a12a83d441ded968531003d0e WHIRLPOOL 31108a15a0f3774c7a5959de946c741b758d818f1dbf09f96d633e354c086863684f431a6ac59a63f559f0c65482f790a95c7dc431dc91b7b48ec4e4a2c9c730 +EBUILD eselect-wxwidgets-20140423.ebuild 1396 SHA256 7bbd7cf99f62d895ea6641e96ce6d6b362a556f6b3ac6a4eb259c173a68c5192 SHA512 74c18085018873ce797071687ec3a9844a3fa542a0e1a931070dc0ea34b4b7018362f3701da8a0b2cffaafafd8731600cdfa7130b129daaedc8ed5b41ce71f0a WHIRLPOOL 9621a7e5ce1c071bc16011308b05f0ac49c4ed889bbca8dd33fbc39d34052857211400c9292a3c14dfc040c8664b690385255999006b81ed6fcc72091250a5fd +MISC ChangeLog 3394 SHA256 d4c04745220365708e22e142133a2dce33f3e965a63f1265af374abc6dad7083 SHA512 065827195a21f325a27637bb8bb81b6023ac239b1b7ce7f6057ea7f90bc125856246e7841fb3901adb7fe4520c180aee231f411f87dd03487a3f0c3f5f4ed8df WHIRLPOOL 780dc51973cf061bfe921f00da92f54d8a650a4312dc54c74e07ed942c9e0800490cd6cc790e20173c7cbf6ddd4996bc01250e90949ef1d0017652deb679a2b9 +MISC ChangeLog-2015 11900 SHA256 16f857c511928a62d2460747d69df2285387fd0cd061e5e076709080ca8c7ceb SHA512 1c400e0bbc6cf06b81714133fc8014288ef2119d0e6856b9cc365dd4316471f467b827022dab8e95f7a7a30b3b9d1ab68e7b63009de3afec7cfb51a19e9a0614 WHIRLPOOL d868b821e0e7e688dffbbf74bdfb169d541c06377e33d5fe72a89e711973167115d0e46cdd4bd9a9acd3f47eb1303e383507761ca145229d5079c883b9932d04 +MISC metadata.xml 261 SHA256 c44cf79e2521fb9e30d1fe5dc005186407fc3a6c45988dd67812566f3f2cdc97 SHA512 f7ad013dd5f01aaedd4528f98ba9a4b4b44d353502df3438a8b513dd2ee7af1e24328c34187e156370efb550c401b81175cccc7a7643ea6a5a83766d68a05221 WHIRLPOOL e52deeefe3ba231f2cad86e533c9584a6f760ebee81e1ae2eed0d5fbd59c8c8e296a6e4bd603a849afd1414ae81b684b902d84a63a1db08d274f7d6f6ac3bc4d diff --git a/app-eselect/eselect-wxwidgets/eselect-wxwidgets-20140423.ebuild b/app-eselect/eselect-wxwidgets/eselect-wxwidgets-20140423.ebuild new file mode 100644 index 000000000000..5e6c49d70421 --- /dev/null +++ b/app-eselect/eselect-wxwidgets/eselect-wxwidgets-20140423.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit multilib + +WXWRAP_VER=1.4 + +DESCRIPTION="Eselect module and wrappers for wxWidgets" +HOMEPAGE="https://www.gentoo.org" +SRC_URI="https://dev.gentoo.org/~junghans/dist/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" +IUSE="" + +RDEPEND="app-admin/eselect" + +src_prepare() { + cp "${FILESDIR}"/{wx-config,wxrc}-${WXWRAP_VER} . || die + sed \ + -e "/^LIBDIR=/s:lib:$(get_libdir):" \ + -e "/^EPREFIX=/s:'':'${EPREFIX}':" \ + -i {wx-config,wxrc}-${WXWRAP_VER} || die +} + +src_install() { + insinto /usr/share/eselect/modules + doins wxwidgets.eselect + + insinto /usr/share/aclocal + newins "${FILESDIR}"/wxwin.m4-3.0 wxwin.m4 + + newbin wx-config-${WXWRAP_VER} wx-config + newbin wxrc-${WXWRAP_VER} wxrc + + keepdir /var/lib/wxwidgets + keepdir /usr/share/bakefile/presets +} + +pkg_postinst() { + if [[ ! -e ${EROOT}/var/lib/wxwidgets/current ]]; then + echo 'WXCONFIG="none"' > "${EROOT}"/var/lib/wxwidgets/current + fi + + echo + elog "This eselect module only controls the version of wxGTK used when" + elog "building packages outside of portage. If you are not doing development" + elog "with wxWidgets or bakefile you will never need to use it." + echo +} diff --git a/app-eselect/eselect-wxwidgets/files/wx-config-1.4 b/app-eselect/eselect-wxwidgets/files/wx-config-1.4 new file mode 100644 index 000000000000..7dcb063c751d --- /dev/null +++ b/app-eselect/eselect-wxwidgets/files/wx-config-1.4 @@ -0,0 +1,40 @@ +#!/bin/sh - +# +# /usr/bin/wx-config +# +# a lame wx-config wrapper (bugs to wxwidgets@gentoo.org) + +EPREFIX='' +LIBDIR="lib" + +_wxerror() { + cat >&2 <<- EOF + An error occurred while calling wx-config: + + ${1} + + Please use \`eselect wxwidgets\` to select an available profile and try again. + EOF + exit 1 +} + +if [ -n "${WX_ECLASS_CONFIG}" ]; then + ${WX_ECLASS_CONFIG} "$@" + exit 0 +else + if [ -e "${EPREFIX}"/var/lib/wxwidgets/current ]; then + . "${EPREFIX}"/var/lib/wxwidgets/current + else + _wxerror "Cannot find the wxWidgets profile configuration ( ${EPREFIX}/var/lib/wxwidgets/current )" + fi + + [ -z "${WXCONFIG}" -o "${WXCONFIG}" = none ] && _wxerror "No profile currently selected" + + if [ -x "${EPREFIX}/usr/${LIBDIR}/wx/config/${WXCONFIG}" ]; then + "${EPREFIX}/usr/${LIBDIR}/wx/config/${WXCONFIG}" "$@" + else + _wxerror "Cannot find wxWidgets profile ( ${WXCONFIG} )" + fi + exit 0 +fi + diff --git a/app-eselect/eselect-wxwidgets/files/wxrc-1.4 b/app-eselect/eselect-wxwidgets/files/wxrc-1.4 new file mode 100644 index 000000000000..8339ee5fc068 --- /dev/null +++ b/app-eselect/eselect-wxwidgets/files/wxrc-1.4 @@ -0,0 +1,40 @@ +#!/bin/sh - +# +# /usr/bin/wxrc +# +# a lame wxrc wrapper (bugs to wxwidgets@gentoo.org) + +EPREFIX='' +LIBDIR="lib" + +_wxerror() { + cat >&2 <<- EOF + An error occurred while calling wxrc: + + ${1} + + Please use \`eselect wxwidgets\` to select an available profile and try again. + EOF + exit 1 +} + +if [ -n "${WX_ECLASS_CONFIG}" ]; then + $(${WX_ECLASS_CONFIG} --utility=wxrc) "$@" + exit 0 +else + if [ -e "${EPREFIX}"/var/lib/wxwidgets/current ]; then + . "${EPREFIX}"/var/lib/wxwidgets/current + else + _wxerror "Cannot find the wxWidgets profile configuration ( ${EPREFIX}/var/lib/wxwidgets/current )" + fi + + [ -z "${WXCONFIG}" -o "${WXCONFIG}" = none ] && _wxerror "No profile currently selected" + + if [ -x "${EPREFIX}/usr/${LIBDIR}/wx/config/${WXCONFIG}" ]; then + $("${EPREFIX}/usr/${LIBDIR}/wx/config/${WXCONFIG}" --utility=wxrc) "$@" + else + _wxerror "Cannot find wxWidgets profile ( ${WXCONFIG} )" + fi + exit 0 +fi + diff --git a/app-eselect/eselect-wxwidgets/files/wxwin.m4-3.0 b/app-eselect/eselect-wxwidgets/files/wxwin.m4-3.0 new file mode 100644 index 000000000000..f8e5b704a29e --- /dev/null +++ b/app-eselect/eselect-wxwidgets/files/wxwin.m4-3.0 @@ -0,0 +1,1059 @@ +dnl --------------------------------------------------------------------------- +dnl Author: wxWidgets development team, +dnl Francesco Montorsi, +dnl Bob McCown (Mac-testing) +dnl Creation date: 24/11/2001 +dnl --------------------------------------------------------------------------- + +dnl =========================================================================== +dnl Table of Contents of this macro file: +dnl ------------------------------------- +dnl +dnl SECTION A: wxWidgets main macros +dnl - WX_CONFIG_OPTIONS +dnl - WX_CONFIG_CHECK +dnl - WXRC_CHECK +dnl - WX_STANDARD_OPTIONS +dnl - WX_CONVERT_STANDARD_OPTIONS_TO_WXCONFIG_FLAGS +dnl - WX_DETECT_STANDARD_OPTION_VALUES +dnl +dnl SECTION B: wxWidgets-related utilities +dnl - WX_LIKE_LIBNAME +dnl - WX_ARG_ENABLE_YESNOAUTO +dnl - WX_ARG_WITH_YESNOAUTO +dnl +dnl SECTION C: messages to the user +dnl - WX_STANDARD_OPTIONS_SUMMARY_MSG +dnl - WX_STANDARD_OPTIONS_SUMMARY_MSG_BEGIN +dnl - WX_STANDARD_OPTIONS_SUMMARY_MSG_END +dnl - WX_BOOLOPT_SUMMARY +dnl +dnl The special "WX_DEBUG_CONFIGURE" variable can be set to 1 to enable extra +dnl debug output on stdout from these macros. +dnl =========================================================================== + + +dnl --------------------------------------------------------------------------- +dnl Macros for wxWidgets detection. Typically used in configure.in as: +dnl +dnl AC_ARG_ENABLE(...) +dnl AC_ARG_WITH(...) +dnl ... +dnl WX_CONFIG_OPTIONS +dnl ... +dnl ... +dnl WX_CONFIG_CHECK([2.6.0], [wxWin=1]) +dnl if test "$wxWin" != 1; then +dnl AC_MSG_ERROR([ +dnl wxWidgets must be installed on your system +dnl but wx-config script couldn't be found. +dnl +dnl Please check that wx-config is in path, the directory +dnl where wxWidgets libraries are installed (returned by +dnl 'wx-config --libs' command) is in LD_LIBRARY_PATH or +dnl equivalent variable and wxWidgets version is 2.3.4 or above. +dnl ]) +dnl fi +dnl CPPFLAGS="$CPPFLAGS $WX_CPPFLAGS" +dnl CXXFLAGS="$CXXFLAGS $WX_CXXFLAGS_ONLY" +dnl CFLAGS="$CFLAGS $WX_CFLAGS_ONLY" +dnl +dnl LIBS="$LIBS $WX_LIBS" +dnl +dnl If you want to support standard --enable-debug/unicode/shared options, you +dnl may do the following: +dnl +dnl ... +dnl AC_CANONICAL_SYSTEM +dnl +dnl # define configure options +dnl WX_CONFIG_OPTIONS +dnl WX_STANDARD_OPTIONS([debug,unicode,shared,toolkit,wxshared]) +dnl +dnl # basic configure checks +dnl ... +dnl +dnl # we want to always have DEBUG==WX_DEBUG and UNICODE==WX_UNICODE +dnl WX_DEBUG=$DEBUG +dnl WX_UNICODE=$UNICODE +dnl +dnl WX_CONVERT_STANDARD_OPTIONS_TO_WXCONFIG_FLAGS +dnl WX_CONFIG_CHECK([2.8.0], [wxWin=1],,[html,core,net,base],[$WXCONFIG_FLAGS]) +dnl WX_DETECT_STANDARD_OPTION_VALUES +dnl +dnl # write the output files +dnl AC_CONFIG_FILES([Makefile ...]) +dnl AC_OUTPUT +dnl +dnl # optional: just to show a message to the user +dnl WX_STANDARD_OPTIONS_SUMMARY_MSG +dnl +dnl --------------------------------------------------------------------------- + + +dnl --------------------------------------------------------------------------- +dnl WX_CONFIG_OPTIONS +dnl +dnl adds support for --wx-prefix, --wx-exec-prefix, --with-wxdir and +dnl --wx-config command line options +dnl --------------------------------------------------------------------------- + +AC_DEFUN([WX_CONFIG_OPTIONS], +[ + AC_ARG_WITH(wxdir, + [ --with-wxdir=PATH Use uninstalled version of wxWidgets in PATH], + [ wx_config_name="$withval/wx-config" + wx_config_args="--inplace"]) + AC_ARG_WITH(wx-config, + [ --with-wx-config=CONFIG wx-config script to use (optional)], + wx_config_name="$withval" ) + AC_ARG_WITH(wx-prefix, + [ --with-wx-prefix=PREFIX Prefix where wxWidgets is installed (optional)], + wx_config_prefix="$withval", wx_config_prefix="") + AC_ARG_WITH(wx-exec-prefix, + [ --with-wx-exec-prefix=PREFIX + Exec prefix where wxWidgets is installed (optional)], + wx_config_exec_prefix="$withval", wx_config_exec_prefix="") +]) + +dnl Helper macro for checking if wx version is at least $1.$2.$3, set's +dnl wx_ver_ok=yes if it is: +AC_DEFUN([_WX_PRIVATE_CHECK_VERSION], +[ + wx_ver_ok="" + if test "x$WX_VERSION" != x ; then + if test $wx_config_major_version -gt $1; then + wx_ver_ok=yes + else + if test $wx_config_major_version -eq $1; then + if test $wx_config_minor_version -gt $2; then + wx_ver_ok=yes + else + if test $wx_config_minor_version -eq $2; then + if test $wx_config_micro_version -ge $3; then + wx_ver_ok=yes + fi + fi + fi + fi + fi + fi +]) + +dnl --------------------------------------------------------------------------- +dnl WX_CONFIG_CHECK(VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND +dnl [, WX-LIBS [, ADDITIONAL-WX-CONFIG-FLAGS]]]]) +dnl +dnl Test for wxWidgets, and define WX_C*FLAGS, WX_LIBS and WX_LIBS_STATIC +dnl (the latter is for static linking against wxWidgets). Set WX_CONFIG_NAME +dnl environment variable to override the default name of the wx-config script +dnl to use. Set WX_CONFIG_PATH to specify the full path to wx-config - in this +dnl case the macro won't even waste time on tests for its existence. +dnl +dnl Optional WX-LIBS argument contains comma- or space-separated list of +dnl wxWidgets libraries to link against. If it is not specified then WX_LIBS +dnl and WX_LIBS_STATIC will contain flags to link with all of the core +dnl wxWidgets libraries. +dnl +dnl Optional ADDITIONAL-WX-CONFIG-FLAGS argument is appended to wx-config +dnl invocation command in present. It can be used to fine-tune lookup of +dnl best wxWidgets build available. +dnl +dnl Example use: +dnl WX_CONFIG_CHECK([2.6.0], [wxWin=1], [wxWin=0], [html,core,net] +dnl [--unicode --debug]) +dnl --------------------------------------------------------------------------- + +dnl +dnl Get the cflags and libraries from the wx-config script +dnl +AC_DEFUN([WX_CONFIG_CHECK], +[ + dnl do we have wx-config name: it can be wx-config or wxd-config or ... + if test x${WX_CONFIG_NAME+set} != xset ; then + WX_CONFIG_NAME=wx-config + fi + + if test "x$wx_config_name" != x ; then + WX_CONFIG_NAME="$wx_config_name" + fi + + dnl deal with optional prefixes + if test x$wx_config_exec_prefix != x ; then + wx_config_args="$wx_config_args --exec-prefix=$wx_config_exec_prefix" + WX_LOOKUP_PATH="$wx_config_exec_prefix/bin" + fi + if test x$wx_config_prefix != x ; then + wx_config_args="$wx_config_args --prefix=$wx_config_prefix" + WX_LOOKUP_PATH="$WX_LOOKUP_PATH:$wx_config_prefix/bin" + fi + if test "$cross_compiling" = "yes"; then + wx_config_args="$wx_config_args --host=$host_alias" + fi + + dnl don't search the PATH if WX_CONFIG_NAME is absolute filename + if test -x "$WX_CONFIG_NAME" ; then + AC_MSG_CHECKING(for wx-config) + WX_CONFIG_PATH="$WX_CONFIG_NAME" + AC_MSG_RESULT($WX_CONFIG_PATH) + else + AC_PATH_PROG(WX_CONFIG_PATH, $WX_CONFIG_NAME, no, "$WX_LOOKUP_PATH:$PATH") + fi + + if test "$WX_CONFIG_PATH" != "no" ; then + WX_VERSION="" + + min_wx_version=ifelse([$1], ,2.2.1,$1) + if test -z "$5" ; then + AC_MSG_CHECKING([for wxWidgets version >= $min_wx_version]) + else + AC_MSG_CHECKING([for wxWidgets version >= $min_wx_version ($5)]) + fi + + dnl don't add the libraries ($4) to this variable as this would result in + dnl an error when it's used with --version below + WX_CONFIG_WITH_ARGS="$WX_CONFIG_PATH $wx_config_args $5" + + WX_VERSION=`$WX_CONFIG_WITH_ARGS --version 2>/dev/null` + wx_config_major_version=`echo $WX_VERSION | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'` + wx_config_minor_version=`echo $WX_VERSION | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'` + wx_config_micro_version=`echo $WX_VERSION | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'` + + wx_requested_major_version=`echo $min_wx_version | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'` + wx_requested_minor_version=`echo $min_wx_version | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'` + wx_requested_micro_version=`echo $min_wx_version | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'` + + _WX_PRIVATE_CHECK_VERSION([$wx_requested_major_version], + [$wx_requested_minor_version], + [$wx_requested_micro_version]) + + if test -n "$wx_ver_ok"; then + AC_MSG_RESULT(yes (version $WX_VERSION)) + WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs $4` + + dnl is this even still appropriate? --static is a real option now + dnl and WX_CONFIG_WITH_ARGS is likely to contain it if that is + dnl what the user actually wants, making this redundant at best. + dnl For now keep it in case anyone actually used it in the past. + AC_MSG_CHECKING([for wxWidgets static library]) + WX_LIBS_STATIC=`$WX_CONFIG_WITH_ARGS --static --libs $4 2>/dev/null` + if test "x$WX_LIBS_STATIC" = "x"; then + AC_MSG_RESULT(no) + else + AC_MSG_RESULT(yes) + fi + + dnl starting with version 2.2.6 wx-config has --cppflags argument + wx_has_cppflags="" + if test $wx_config_major_version -gt 2; then + wx_has_cppflags=yes + else + if test $wx_config_major_version -eq 2; then + if test $wx_config_minor_version -gt 2; then + wx_has_cppflags=yes + else + if test $wx_config_minor_version -eq 2; then + if test $wx_config_micro_version -ge 6; then + wx_has_cppflags=yes + fi + fi + fi + fi + fi + + dnl starting with version 2.7.0 wx-config has --rescomp option + wx_has_rescomp="" + if test $wx_config_major_version -gt 2; then + wx_has_rescomp=yes + else + if test $wx_config_major_version -eq 2; then + if test $wx_config_minor_version -ge 7; then + wx_has_rescomp=yes + fi + fi + fi + if test "x$wx_has_rescomp" = x ; then + dnl cannot give any useful info for resource compiler + WX_RESCOMP= + else + WX_RESCOMP=`$WX_CONFIG_WITH_ARGS --rescomp` + fi + + if test "x$wx_has_cppflags" = x ; then + dnl no choice but to define all flags like CFLAGS + WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags $4` + WX_CPPFLAGS=$WX_CFLAGS + WX_CXXFLAGS=$WX_CFLAGS + + WX_CFLAGS_ONLY=$WX_CFLAGS + WX_CXXFLAGS_ONLY=$WX_CFLAGS + else + dnl we have CPPFLAGS included in CFLAGS included in CXXFLAGS + WX_CPPFLAGS=`$WX_CONFIG_WITH_ARGS --cppflags $4` + WX_CXXFLAGS=`$WX_CONFIG_WITH_ARGS --cxxflags $4` + WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags $4` + + WX_CFLAGS_ONLY=`echo $WX_CFLAGS | sed "s@^$WX_CPPFLAGS *@@"` + WX_CXXFLAGS_ONLY=`echo $WX_CXXFLAGS | sed "s@^$WX_CFLAGS *@@"` + fi + + ifelse([$2], , :, [$2]) + + else + + if test "x$WX_VERSION" = x; then + dnl no wx-config at all + AC_MSG_RESULT(no) + else + AC_MSG_RESULT(no (version $WX_VERSION is not new enough)) + fi + + WX_CFLAGS="" + WX_CPPFLAGS="" + WX_CXXFLAGS="" + WX_LIBS="" + WX_LIBS_STATIC="" + WX_RESCOMP="" + + if test ! -z "$5"; then + + wx_error_message=" + The configuration you asked for $PACKAGE_NAME requires a wxWidgets + build with the following settings: + $5 + but such build is not available. + + To see the wxWidgets builds available on this system, please use + 'wx-config --list' command. To use the default build, returned by + 'wx-config --selected-config', use the options with their 'auto' + default values." + + fi + + wx_error_message=" + The requested wxWidgets build couldn't be found. + $wx_error_message + + If you still get this error, then check that 'wx-config' is + in path, the directory where wxWidgets libraries are installed + (returned by 'wx-config --libs' command) is in LD_LIBRARY_PATH + or equivalent variable and wxWidgets version is $1 or above." + + ifelse([$3], , AC_MSG_ERROR([$wx_error_message]), [$3]) + + fi + else + + WX_CFLAGS="" + WX_CPPFLAGS="" + WX_CXXFLAGS="" + WX_LIBS="" + WX_LIBS_STATIC="" + WX_RESCOMP="" + + ifelse([$3], , :, [$3]) + + fi + + AC_SUBST(WX_CPPFLAGS) + AC_SUBST(WX_CFLAGS) + AC_SUBST(WX_CXXFLAGS) + AC_SUBST(WX_CFLAGS_ONLY) + AC_SUBST(WX_CXXFLAGS_ONLY) + AC_SUBST(WX_LIBS) + AC_SUBST(WX_LIBS_STATIC) + AC_SUBST(WX_VERSION) + AC_SUBST(WX_RESCOMP) + + dnl need to export also WX_VERSION_MINOR and WX_VERSION_MAJOR symbols + dnl to support wxpresets bakefiles (we export also WX_VERSION_MICRO for completeness): + WX_VERSION_MAJOR="$wx_config_major_version" + WX_VERSION_MINOR="$wx_config_minor_version" + WX_VERSION_MICRO="$wx_config_micro_version" + AC_SUBST(WX_VERSION_MAJOR) + AC_SUBST(WX_VERSION_MINOR) + AC_SUBST(WX_VERSION_MICRO) +]) + +dnl --------------------------------------------------------------------------- +dnl Get information on the wxrc program for making C++, Python and xrs +dnl resource files. +dnl +dnl AC_ARG_ENABLE(...) +dnl AC_ARG_WITH(...) +dnl ... +dnl WX_CONFIG_OPTIONS +dnl ... +dnl WX_CONFIG_CHECK(2.6.0, wxWin=1) +dnl if test "$wxWin" != 1; then +dnl AC_MSG_ERROR([ +dnl wxWidgets must be installed on your system +dnl but wx-config script couldn't be found. +dnl +dnl Please check that wx-config is in path, the directory +dnl where wxWidgets libraries are installed (returned by +dnl 'wx-config --libs' command) is in LD_LIBRARY_PATH or +dnl equivalent variable and wxWidgets version is 2.6.0 or above. +dnl ]) +dnl fi +dnl +dnl WXRC_CHECK([HAVE_WXRC=1], [HAVE_WXRC=0]) +dnl if test "x$HAVE_WXRC" != x1; then +dnl AC_MSG_ERROR([ +dnl The wxrc program was not installed or not found. +dnl +dnl Please check the wxWidgets installation. +dnl ]) +dnl fi +dnl +dnl CPPFLAGS="$CPPFLAGS $WX_CPPFLAGS" +dnl CXXFLAGS="$CXXFLAGS $WX_CXXFLAGS_ONLY" +dnl CFLAGS="$CFLAGS $WX_CFLAGS_ONLY" +dnl +dnl LDFLAGS="$LDFLAGS $WX_LIBS" +dnl --------------------------------------------------------------------------- + +dnl --------------------------------------------------------------------------- +dnl WXRC_CHECK([ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]) +dnl +dnl Test for wxWidgets' wxrc program for creating either C++, Python or XRS +dnl resources. The variable WXRC will be set and substituted in the configure +dnl script and Makefiles. +dnl +dnl Example use: +dnl WXRC_CHECK([wxrc=1], [wxrc=0]) +dnl --------------------------------------------------------------------------- + +dnl +dnl wxrc program from the wx-config script +dnl +AC_DEFUN([WXRC_CHECK], +[ + AC_ARG_VAR([WXRC], [Path to wxWidget's wxrc resource compiler]) + + if test "x$WX_CONFIG_NAME" = x; then + AC_MSG_ERROR([The wxrc tests must run after wxWidgets test.]) + else + + AC_MSG_CHECKING([for wxrc]) + + if test "x$WXRC" = x ; then + dnl wx-config --utility is a new addition to wxWidgets: + _WX_PRIVATE_CHECK_VERSION(2,5,3) + if test -n "$wx_ver_ok"; then + WXRC=`$WX_CONFIG_WITH_ARGS --utility=wxrc` + fi + fi + + if test "x$WXRC" = x ; then + AC_MSG_RESULT([not found]) + ifelse([$2], , :, [$2]) + else + AC_MSG_RESULT([$WXRC]) + ifelse([$1], , :, [$1]) + fi + + AC_SUBST(WXRC) + fi +]) + +dnl --------------------------------------------------------------------------- +dnl WX_LIKE_LIBNAME([output-var] [prefix], [name]) +dnl +dnl Sets the "output-var" variable to the name of a library named with same +dnl wxWidgets rule. +dnl E.g. for output-var=='lib', name=='test', prefix='mine', sets +dnl the $lib variable to: +dnl 'mine_gtk2ud_test-2.8' +dnl if WX_PORT=gtk2, WX_UNICODE=1, WX_DEBUG=1 and WX_RELEASE=28 +dnl --------------------------------------------------------------------------- +AC_DEFUN([WX_LIKE_LIBNAME], + [ + wx_temp="$2""_""$WX_PORT" + + dnl add the [u][d] string + if test "$WX_UNICODE" = "1"; then + wx_temp="$wx_temp""u" + fi + if test "$WX_DEBUG" = "1"; then + wx_temp="$wx_temp""d" + fi + + dnl complete the name of the lib + wx_temp="$wx_temp""_""$3""-$WX_VERSION_MAJOR.$WX_VERSION_MINOR" + + dnl save it in the user's variable + $1=$wx_temp + ]) + +dnl --------------------------------------------------------------------------- +dnl WX_ARG_ENABLE_YESNOAUTO/WX_ARG_WITH_YESNOAUTO +dnl +dnl Two little custom macros which define the ENABLE/WITH configure arguments. +dnl Macro arguments: +dnl $1 = the name of the --enable / --with feature +dnl $2 = the name of the variable associated +dnl $3 = the description of that feature +dnl $4 = the default value for that feature +dnl $5 = additional action to do in case option is given with "yes" value +dnl --------------------------------------------------------------------------- +AC_DEFUN([WX_ARG_ENABLE_YESNOAUTO], + [AC_ARG_ENABLE($1, + AC_HELP_STRING([--enable-$1], [$3 (default is $4)]), + [], [enableval="$4"]) + + dnl Show a message to the user about this option + AC_MSG_CHECKING([for the --enable-$1 option]) + if test "$enableval" = "yes" ; then + AC_MSG_RESULT([yes]) + $2=1 + $5 + elif test "$enableval" = "no" ; then + AC_MSG_RESULT([no]) + $2=0 + elif test "$enableval" = "auto" ; then + AC_MSG_RESULT([will be automatically detected]) + $2="auto" + else + AC_MSG_ERROR([ + Unrecognized option value (allowed values: yes, no, auto) + ]) + fi + ]) + +AC_DEFUN([WX_ARG_WITH_YESNOAUTO], + [AC_ARG_WITH($1, + AC_HELP_STRING([--with-$1], [$3 (default is $4)]), + [], [withval="$4"]) + + dnl Show a message to the user about this option + AC_MSG_CHECKING([for the --with-$1 option]) + if test "$withval" = "yes" ; then + AC_MSG_RESULT([yes]) + $2=1 + $5 + dnl NB: by default we don't allow --with-$1=no option + dnl since it does not make much sense ! + elif test "$6" = "1" -a "$withval" = "no" ; then + AC_MSG_RESULT([no]) + $2=0 + elif test "$withval" = "auto" ; then + AC_MSG_RESULT([will be automatically detected]) + $2="auto" + else + AC_MSG_ERROR([ + Unrecognized option value (allowed values: yes, auto) + ]) + fi + ]) + + +dnl --------------------------------------------------------------------------- +dnl WX_STANDARD_OPTIONS([options-to-add]) +dnl +dnl Adds to the configure script one or more of the following options: +dnl --enable-[debug|unicode|shared|wxshared|wxdebug] +dnl --with-[gtk|msw|motif|x11|mac|dfb] +dnl --with-wxversion +dnl Then checks for their presence and eventually set the DEBUG, UNICODE, SHARED, +dnl PORT, WX_SHARED, WX_DEBUG, variables to one of the "yes", "no", "auto" values. +dnl +dnl Note that e.g. UNICODE != WX_UNICODE; the first is the value of the +dnl --enable-unicode option (in boolean format) while the second indicates +dnl if wxWidgets was built in Unicode mode (and still is in boolean format). +dnl --------------------------------------------------------------------------- +AC_DEFUN([WX_STANDARD_OPTIONS], + [ + + dnl the following lines will expand to WX_ARG_ENABLE_YESNOAUTO calls if and only if + dnl the $1 argument contains respectively the debug,unicode or shared options. + + dnl be careful here not to set debug flag if only "wxdebug" was specified + ifelse(regexp([$1], [\bdebug]), [-1],, + [WX_ARG_ENABLE_YESNOAUTO([debug], [DEBUG], [Build in debug mode], [auto])]) + + ifelse(index([$1], [unicode]), [-1],, + [WX_ARG_ENABLE_YESNOAUTO([unicode], [UNICODE], [Build in Unicode mode], [auto])]) + + ifelse(regexp([$1], [\bshared]), [-1],, + [WX_ARG_ENABLE_YESNOAUTO([shared], [SHARED], [Build as shared library], [auto])]) + + dnl WX_ARG_WITH_YESNOAUTO cannot be used for --with-toolkit since it's an option + dnl which must be able to accept the auto|gtk1|gtk2|msw|... values + ifelse(index([$1], [toolkit]), [-1],, + [ + AC_ARG_WITH([toolkit], + AC_HELP_STRING([--with-toolkit], + [Build against a specific wxWidgets toolkit (default is auto)]), + [], [withval="auto"]) + + dnl Show a message to the user about this option + AC_MSG_CHECKING([for the --with-toolkit option]) + if test "$withval" = "auto" ; then + AC_MSG_RESULT([will be automatically detected]) + TOOLKIT="auto" + else + TOOLKIT="$withval" + + dnl PORT must be one of the allowed values + if test "$TOOLKIT" != "gtk1" -a "$TOOLKIT" != "gtk2" -a \ + "$TOOLKIT" != "msw" -a "$TOOLKIT" != "motif" -a \ + "$TOOLKIT" != "osx_carbon" -a "$TOOLKIT" != "osx_cocoa" -a \ + "$TOOLKIT" != "dfb" -a "$TOOLKIT" != "x11"; then + AC_MSG_ERROR([ + Unrecognized option value (allowed values: auto, gtk1, gtk2, msw, motif, osx_carbon, osx_cocoa, dfb, x11) + ]) + fi + + AC_MSG_RESULT([$TOOLKIT]) + fi + ]) + + dnl ****** IMPORTANT ******* + dnl Unlike for the UNICODE setting, you can build your program in + dnl shared mode against a static build of wxWidgets. Thus we have the + dnl following option which allows these mixtures. E.g. + dnl + dnl ./configure --disable-shared --with-wxshared + dnl + dnl will build your library in static mode against the first available + dnl shared build of wxWidgets. + dnl + dnl Note that's not possible to do the viceversa: + dnl + dnl ./configure --enable-shared --without-wxshared + dnl + dnl Doing so you would try to build your library in shared mode against a static + dnl build of wxWidgets. This is not possible (you would mix PIC and non PIC code) ! + dnl A check for this combination of options is in WX_DETECT_STANDARD_OPTION_VALUES + dnl (where we know what 'auto' should be expanded to). + dnl + dnl If you try to build something in ANSI mode against a UNICODE build + dnl of wxWidgets or in RELEASE mode against a DEBUG build of wxWidgets, + dnl then at best you'll get ton of linking errors ! + dnl ************************ + + ifelse(index([$1], [wxshared]), [-1],, + [ + WX_ARG_WITH_YESNOAUTO( + [wxshared], [WX_SHARED], + [Force building against a shared build of wxWidgets, even if --disable-shared is given], + [auto], [], [1]) + ]) + + dnl Just like for SHARED and WX_SHARED it may happen that some adventurous + dnl peoples will want to mix a wxWidgets release build with a debug build of + dnl his app/lib. So, we have both DEBUG and WX_DEBUG variables. + ifelse(index([$1], [wxdebug]), [-1],, + [ + WX_ARG_WITH_YESNOAUTO( + [wxdebug], [WX_DEBUG], + [Force building against a debug build of wxWidgets, even if --disable-debug is given], + [auto], [], [1]) + ]) + + dnl WX_ARG_WITH_YESNOAUTO cannot be used for --with-wxversion since it's an option + dnl which accepts the "auto|2.6|2.7|2.8|2.9|3.0" etc etc values + ifelse(index([$1], [wxversion]), [-1],, + [ + AC_ARG_WITH([wxversion], + AC_HELP_STRING([--with-wxversion], + [Build against a specific version of wxWidgets (default is auto)]), + [], [withval="auto"]) + + dnl Show a message to the user about this option + AC_MSG_CHECKING([for the --with-wxversion option]) + if test "$withval" = "auto" ; then + AC_MSG_RESULT([will be automatically detected]) + WX_RELEASE="auto" + else + + wx_requested_major_version=`echo $withval | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).*/\1/'` + wx_requested_minor_version=`echo $withval | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).*/\2/'` + + dnl both vars above must be exactly 1 digit + if test "${#wx_requested_major_version}" != "1" -o \ + "${#wx_requested_minor_version}" != "1" ; then + AC_MSG_ERROR([ + Unrecognized option value (allowed values: auto, 2.6, 2.7, 2.8, 2.9, 3.0) + ]) + fi + + WX_RELEASE="$wx_requested_major_version"".""$wx_requested_minor_version" + AC_MSG_RESULT([$WX_RELEASE]) + fi + ]) + + if test "$WX_DEBUG_CONFIGURE" = "1"; then + echo "[[dbg]] DEBUG: $DEBUG, WX_DEBUG: $WX_DEBUG" + echo "[[dbg]] UNICODE: $UNICODE, WX_UNICODE: $WX_UNICODE" + echo "[[dbg]] SHARED: $SHARED, WX_SHARED: $WX_SHARED" + echo "[[dbg]] TOOLKIT: $TOOLKIT, WX_TOOLKIT: $WX_TOOLKIT" + echo "[[dbg]] VERSION: $VERSION, WX_RELEASE: $WX_RELEASE" + fi + ]) + + +dnl --------------------------------------------------------------------------- +dnl WX_CONVERT_STANDARD_OPTIONS_TO_WXCONFIG_FLAGS +dnl +dnl Sets the WXCONFIG_FLAGS string using the SHARED,DEBUG,UNICODE variable values +dnl which are different from "auto". +dnl Thus this macro needs to be called only once all options have been set. +dnl --------------------------------------------------------------------------- +AC_DEFUN([WX_CONVERT_STANDARD_OPTIONS_TO_WXCONFIG_FLAGS], + [ + if test "$WX_SHARED" = "1" ; then + WXCONFIG_FLAGS="--static=no " + elif test "$WX_SHARED" = "0" ; then + WXCONFIG_FLAGS="--static=yes " + fi + + if test "$WX_DEBUG" = "1" ; then + WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--debug=yes " + elif test "$WX_DEBUG" = "0" ; then + WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--debug=no " + fi + + dnl The user should have set WX_UNICODE=UNICODE + if test "$WX_UNICODE" = "1" ; then + WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--unicode=yes " + elif test "$WX_UNICODE" = "0" ; then + WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--unicode=no " + fi + + if test "$TOOLKIT" != "auto" ; then + WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--toolkit=$TOOLKIT " + fi + + if test "$WX_RELEASE" != "auto" ; then + WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--version=$WX_RELEASE " + fi + + dnl strip out the last space of the string + WXCONFIG_FLAGS=${WXCONFIG_FLAGS% } + + if test "$WX_DEBUG_CONFIGURE" = "1"; then + echo "[[dbg]] WXCONFIG_FLAGS: $WXCONFIG_FLAGS" + fi + ]) + + +dnl --------------------------------------------------------------------------- +dnl _WX_SELECTEDCONFIG_CHECKFOR([RESULTVAR], [STRING], [MSG] +dnl [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]) +dnl +dnl Outputs the given MSG. Then searches the given STRING in the wxWidgets +dnl additional CPP flags and put the result of the search in WX_$RESULTVAR +dnl also adding the "yes" or "no" message result to MSG. +dnl --------------------------------------------------------------------------- +AC_DEFUN([_WX_SELECTEDCONFIG_CHECKFOR], + [ + if test "$$1" = "auto" ; then + + dnl The user does not have particular preferences for this option; + dnl so we will detect the wxWidgets relative build setting and use it + AC_MSG_CHECKING([$3]) + + dnl set WX_$1 variable to 1 if the $WX_SELECTEDCONFIG contains the $2 + dnl string or to 0 otherwise. + dnl NOTE: 'expr match STRING REGEXP' cannot be used since on Mac it + dnl doesn't work; we use 'expr STRING : REGEXP' instead + WX_$1=$(expr "$WX_SELECTEDCONFIG" : ".*$2.*") + + if test "$WX_$1" != "0"; then + WX_$1=1 + AC_MSG_RESULT([yes]) + ifelse([$4], , :, [$4]) + else + WX_$1=0 + AC_MSG_RESULT([no]) + ifelse([$5], , :, [$5]) + fi + else + + dnl Use the setting given by the user + WX_$1=$$1 + fi + ]) + +dnl --------------------------------------------------------------------------- +dnl WX_DETECT_STANDARD_OPTION_VALUES +dnl +dnl Detects the values of the following variables: +dnl 1) WX_RELEASE +dnl 2) WX_UNICODE +dnl 3) WX_DEBUG +dnl 4) WX_SHARED (and also WX_STATIC) +dnl 5) WX_PORT +dnl from the previously selected wxWidgets build; this macro in fact must be +dnl called *after* calling the WX_CONFIG_CHECK macro. +dnl +dnl Note that the WX_VERSION_MAJOR, WX_VERSION_MINOR symbols are already set +dnl by WX_CONFIG_CHECK macro +dnl --------------------------------------------------------------------------- +AC_DEFUN([WX_DETECT_STANDARD_OPTION_VALUES], + [ + dnl IMPORTANT: WX_VERSION contains all three major.minor.micro digits, + dnl while WX_RELEASE only the major.minor ones. + WX_RELEASE="$WX_VERSION_MAJOR""$WX_VERSION_MINOR" + if test $WX_RELEASE -lt 26 ; then + + AC_MSG_ERROR([ + Cannot detect the wxWidgets configuration for the selected wxWidgets build + since its version is $WX_VERSION < 2.6.0; please install a newer + version of wxWidgets. + ]) + fi + + dnl The wx-config we are using understands the "--selected_config" + dnl option which returns an easy-parseable string ! + WX_SELECTEDCONFIG=$($WX_CONFIG_WITH_ARGS --selected_config) + + if test "$WX_DEBUG_CONFIGURE" = "1"; then + echo "[[dbg]] Using wx-config --selected-config" + echo "[[dbg]] WX_SELECTEDCONFIG: $WX_SELECTEDCONFIG" + fi + + + dnl we could test directly for WX_SHARED with a line like: + dnl _WX_SELECTEDCONFIG_CHECKFOR([SHARED], [shared], + dnl [if wxWidgets was built in SHARED mode]) + dnl but wx-config --selected-config DOES NOT outputs the 'shared' + dnl word when wx was built in shared mode; it rather outputs the + dnl 'static' word when built in static mode. + if test $WX_SHARED = "1"; then + STATIC=0 + elif test $WX_SHARED = "0"; then + STATIC=1 + elif test $WX_SHARED = "auto"; then + STATIC="auto" + fi + + dnl Now set the WX_UNICODE, WX_DEBUG, WX_STATIC variables + _WX_SELECTEDCONFIG_CHECKFOR([UNICODE], [unicode], + [if wxWidgets was built with UNICODE enabled]) + _WX_SELECTEDCONFIG_CHECKFOR([DEBUG], [debug], + [if wxWidgets was built in DEBUG mode]) + _WX_SELECTEDCONFIG_CHECKFOR([STATIC], [static], + [if wxWidgets was built in STATIC mode]) + + dnl init WX_SHARED from WX_STATIC + if test "$WX_STATIC" != "0"; then + WX_SHARED=0 + else + WX_SHARED=1 + fi + + AC_SUBST(WX_UNICODE) + AC_SUBST(WX_DEBUG) + AC_SUBST(WX_SHARED) + + dnl detect the WX_PORT to use + if test "$TOOLKIT" = "auto" ; then + + dnl The user does not have particular preferences for this option; + dnl so we will detect the wxWidgets relative build setting and use it + AC_MSG_CHECKING([which wxWidgets toolkit was selected]) + + WX_GTKPORT1=$(expr "$WX_SELECTEDCONFIG" : ".*gtk1.*") + WX_GTKPORT2=$(expr "$WX_SELECTEDCONFIG" : ".*gtk2.*") + WX_MSWPORT=$(expr "$WX_SELECTEDCONFIG" : ".*msw.*") + WX_MOTIFPORT=$(expr "$WX_SELECTEDCONFIG" : ".*motif.*") + WX_OSXCOCOAPORT=$(expr "$WX_SELECTEDCONFIG" : ".*osx_cocoa.*") + WX_OSXCARBONPORT=$(expr "$WX_SELECTEDCONFIG" : ".*osx_carbon.*") + WX_X11PORT=$(expr "$WX_SELECTEDCONFIG" : ".*x11.*") + WX_DFBPORT=$(expr "$WX_SELECTEDCONFIG" : ".*dfb.*") + + WX_PORT="unknown" + if test "$WX_GTKPORT1" != "0"; then WX_PORT="gtk1"; fi + if test "$WX_GTKPORT2" != "0"; then WX_PORT="gtk2"; fi + if test "$WX_MSWPORT" != "0"; then WX_PORT="msw"; fi + if test "$WX_MOTIFPORT" != "0"; then WX_PORT="motif"; fi + if test "$WX_OSXCOCOAPORT" != "0"; then WX_PORT="osx_cocoa"; fi + if test "$WX_OSXCARBONPORT" != "0"; then WX_PORT="osx_carbon"; fi + if test "$WX_X11PORT" != "0"; then WX_PORT="x11"; fi + if test "$WX_DFBPORT" != "0"; then WX_PORT="dfb"; fi + + dnl NOTE: backward-compatible check for wx2.8; in wx2.9 the mac + dnl ports are called 'osx_cocoa' and 'osx_carbon' (see above) + WX_MACPORT=$(expr "$WX_SELECTEDCONFIG" : ".*mac.*") + if test "$WX_MACPORT" != "0"; then WX_PORT="mac"; fi + + dnl check at least one of the WX_*PORT has been set ! + + if test "$WX_PORT" = "unknown" ; then + AC_MSG_ERROR([ + Cannot detect the currently installed wxWidgets port ! + Please check your 'wx-config --cxxflags'... + ]) + fi + + AC_MSG_RESULT([$WX_PORT]) + else + + dnl Use the setting given by the user + if test -z "$TOOLKIT" ; then + WX_PORT=$TOOLKIT + else + dnl try with PORT + WX_PORT=$PORT + fi + fi + + AC_SUBST(WX_PORT) + + if test "$WX_DEBUG_CONFIGURE" = "1"; then + echo "[[dbg]] Values of all WX_* options after final detection:" + echo "[[dbg]] WX_DEBUG: $WX_DEBUG" + echo "[[dbg]] WX_UNICODE: $WX_UNICODE" + echo "[[dbg]] WX_SHARED: $WX_SHARED" + echo "[[dbg]] WX_RELEASE: $WX_RELEASE" + echo "[[dbg]] WX_PORT: $WX_PORT" + fi + + dnl Avoid problem described in the WX_STANDARD_OPTIONS which happens when + dnl the user gives the options: + dnl ./configure --enable-shared --without-wxshared + dnl or just do + dnl ./configure --enable-shared + dnl but there is only a static build of wxWidgets available. + if test "$WX_SHARED" = "0" -a "$SHARED" = "1"; then + AC_MSG_ERROR([ + Cannot build shared library against a static build of wxWidgets ! + This error happens because the wxWidgets build which was selected + has been detected as static while you asked to build $PACKAGE_NAME + as shared library and this is not possible. + Use the '--disable-shared' option to build $PACKAGE_NAME + as static library or '--with-wxshared' to use wxWidgets as shared library. + ]) + fi + + dnl now we can finally update the DEBUG,UNICODE,SHARED options + dnl to their final values if they were set to 'auto' + if test "$DEBUG" = "auto"; then + DEBUG=$WX_DEBUG + fi + if test "$UNICODE" = "auto"; then + UNICODE=$WX_UNICODE + fi + if test "$SHARED" = "auto"; then + SHARED=$WX_SHARED + fi + if test "$TOOLKIT" = "auto"; then + TOOLKIT=$WX_PORT + fi + + dnl in case the user needs a BUILD=debug/release var... + if test "$DEBUG" = "1"; then + BUILD="debug" + elif test "$DEBUG" = "0" -o "$DEBUG" = ""; then + BUILD="release" + fi + + dnl respect the DEBUG variable adding the optimize/debug flags + dnl NOTE: the CXXFLAGS are merged together with the CPPFLAGS so we + dnl don't need to set them, too + if test "$DEBUG" = "1"; then + CXXFLAGS="$CXXFLAGS -g -O0" + CFLAGS="$CFLAGS -g -O0" + else + CXXFLAGS="$CXXFLAGS -O2" + CFLAGS="$CFLAGS -O2" + fi + ]) + +dnl --------------------------------------------------------------------------- +dnl WX_BOOLOPT_SUMMARY([name of the boolean variable to show summary for], +dnl [what to print when var is 1], +dnl [what to print when var is 0]) +dnl +dnl Prints $2 when variable $1 == 1 and prints $3 when variable $1 == 0. +dnl This macro mainly exists just to make configure.ac scripts more readable. +dnl +dnl NOTE: you need to use the [" my message"] syntax for 2nd and 3rd arguments +dnl if you want that m4 avoid to throw away the spaces prefixed to the +dnl argument value. +dnl --------------------------------------------------------------------------- +AC_DEFUN([WX_BOOLOPT_SUMMARY], + [ + if test "x$$1" = "x1" ; then + echo $2 + elif test "x$$1" = "x0" ; then + echo $3 + else + echo "$1 is $$1" + fi + ]) + +dnl --------------------------------------------------------------------------- +dnl WX_STANDARD_OPTIONS_SUMMARY_MSG +dnl +dnl Shows a summary message to the user about the WX_* variable contents. +dnl This macro is used typically at the end of the configure script. +dnl --------------------------------------------------------------------------- +AC_DEFUN([WX_STANDARD_OPTIONS_SUMMARY_MSG], + [ + echo + echo " The wxWidgets build which will be used by $PACKAGE_NAME $PACKAGE_VERSION" + echo " has the following settings:" + WX_BOOLOPT_SUMMARY([WX_DEBUG], [" - DEBUG build"], [" - RELEASE build"]) + WX_BOOLOPT_SUMMARY([WX_UNICODE], [" - UNICODE mode"], [" - ANSI mode"]) + WX_BOOLOPT_SUMMARY([WX_SHARED], [" - SHARED mode"], [" - STATIC mode"]) + echo " - VERSION: $WX_VERSION" + echo " - PORT: $WX_PORT" + ]) + + +dnl --------------------------------------------------------------------------- +dnl WX_STANDARD_OPTIONS_SUMMARY_MSG_BEGIN, WX_STANDARD_OPTIONS_SUMMARY_MSG_END +dnl +dnl Like WX_STANDARD_OPTIONS_SUMMARY_MSG macro but these two macros also gives info +dnl about the configuration of the package which used the wxpresets. +dnl +dnl Typical usage: +dnl WX_STANDARD_OPTIONS_SUMMARY_MSG_BEGIN +dnl echo " - Package setting 1: $SETTING1" +dnl echo " - Package setting 2: $SETTING1" +dnl ... +dnl WX_STANDARD_OPTIONS_SUMMARY_MSG_END +dnl +dnl --------------------------------------------------------------------------- +AC_DEFUN([WX_STANDARD_OPTIONS_SUMMARY_MSG_BEGIN], + [ + echo + echo " ----------------------------------------------------------------" + echo " Configuration for $PACKAGE_NAME $PACKAGE_VERSION successfully completed." + echo " Summary of main configuration settings for $PACKAGE_NAME:" + WX_BOOLOPT_SUMMARY([DEBUG], [" - DEBUG build"], [" - RELEASE build"]) + WX_BOOLOPT_SUMMARY([UNICODE], [" - UNICODE mode"], [" - ANSI mode"]) + WX_BOOLOPT_SUMMARY([SHARED], [" - SHARED mode"], [" - STATIC mode"]) + ]) + +AC_DEFUN([WX_STANDARD_OPTIONS_SUMMARY_MSG_END], + [ + WX_STANDARD_OPTIONS_SUMMARY_MSG + echo + echo " Now, just run make." + echo " ----------------------------------------------------------------" + echo + ]) + + +dnl --------------------------------------------------------------------------- +dnl Deprecated macro wrappers +dnl --------------------------------------------------------------------------- + +AC_DEFUN([AM_OPTIONS_WXCONFIG], [WX_CONFIG_OPTIONS]) +AC_DEFUN([AM_PATH_WXCONFIG], [ + WX_CONFIG_CHECK([$1],[$2],[$3],[$4],[$5]) +]) +AC_DEFUN([AM_PATH_WXRC], [WXRC_CHECK([$1],[$2])]) diff --git a/app-eselect/eselect-wxwidgets/metadata.xml b/app-eselect/eselect-wxwidgets/metadata.xml new file mode 100644 index 000000000000..0c7ee856e108 --- /dev/null +++ b/app-eselect/eselect-wxwidgets/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>wxwidgets@gentoo.org</email> + <name>Gentoo wxWidgets Project</name> + </maintainer> +</pkgmetadata> diff --git a/app-eselect/eselect-xvmc/Manifest b/app-eselect/eselect-xvmc/Manifest new file mode 100644 index 000000000000..c83d2ed18d94 --- /dev/null +++ b/app-eselect/eselect-xvmc/Manifest @@ -0,0 +1,5 @@ +AUX eselect-xvmc-0.4.eselect 4169 SHA256 8cdcac909f65a4980bd28bf410fb1747177de4e1d46c46d3569eb754e0b31d52 SHA512 d86d80b931d2aa6c085accf9a647745cffd56b496728162b1084eba2fbde981ac17d3d3758cef993427b4236330fcc21bf2fc52d2b50249764a65fc508121135 WHIRLPOOL 7fa5ae1c75108463e1897e03184941f8e0d26d213d5830af7233991566318e01ff82b7ad389f9d3800a9eeb0564fc707d84c3d4a9119e70a5860d1f359280ef4 +EBUILD eselect-xvmc-0.4.ebuild 563 SHA256 373cd37b0b6c32c0a52d2178feab100b1782d8abc371229c0e66e1d5aa16ebdc SHA512 9dc057d497eb906ab84e8a3037b4da3c065fc21dd290467f42bdb4a6dae835c071e8b45aca20293259c631491256e0809d41b172fd97aab23b558e63ab940193 WHIRLPOOL f4b4dcd51162f92eea5e08d7083e7863936627e9fc64991b8a13f885e4ee050c5ab31a8fb815d8b236c01f1b57fbaf4f65f95b8f233c3545b1a963932f8cbebd +MISC ChangeLog 2926 SHA256 abdf258045515710cfe51bc65da10ae1376cb8a6185e183c2e12fad037c7e057 SHA512 b3eae28123a6841f7f6f4cf431085c19a20c352f218485c9df10ce22c52375e6b30b1d451c2cc295bbba941973119b3bd0c553b6ca23f0c2926df7d129c0a011 WHIRLPOOL 5f1241eab21437397cacdd7498c4610682ff7f246e8452d53dac9af095d1233b39bdb6366b136a4c56c22dfddc60a8b88a8755cdeca59bc2c41a48156b475a4b +MISC ChangeLog-2015 5373 SHA256 626f150bf4b64777bf700957fb2c8de1dfb13b8e34fa187842589e0cd468411a SHA512 b29551b78dc195f2deb9cb95a039e9cdcaae0387f12f008fd1a5765ee067dacbd2f155abc9539ea584749959ab047c0b81e0a1ebc2dee9a5ac13364b02794816 WHIRLPOOL a00fdc949019e30373bd459dcf85e3eaec1684faac253342c44e3ad6ca9589170dd9255be54b3525c2b30c13b6e2933feec9f2c3a74ad46eeed35bac171103f8 +MISC metadata.xml 331 SHA256 33c6cb6cf537bbaf1472f1e9817025bb0622a1167c350defb923af5a7300d3bd SHA512 f4c7dc245325bf6b4b37c893183e3dd9c43c9f05046e231f31f7fcfce8ee9e4108c0f4aa231b7d8f0fb4206fdb80186cd54dfe03ea7a037f6a5d4a61cf3b0d0b WHIRLPOOL 2a1083c744e915ccb3e24f9a26f5c355477b66469f085fe20a53af30dd69db2ed1ca8b41494c0c4443a2625199d2702639010c1a69c7ae051e427bc5fd6d0c13 diff --git a/app-eselect/eselect-xvmc/eselect-xvmc-0.4.ebuild b/app-eselect/eselect-xvmc/eselect-xvmc-0.4.ebuild new file mode 100644 index 000000000000..36648b5744f4 --- /dev/null +++ b/app-eselect/eselect-xvmc/eselect-xvmc-0.4.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +DESCRIPTION="Manages XvMC implementations" +HOMEPAGE="https://www.gentoo.org/" +SRC_URI="" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris" +IUSE="" + +DEPEND="" +RDEPEND="app-admin/eselect" + +S="${FILESDIR}" + +src_install() { + insinto /usr/share/eselect/modules + newins "${FILESDIR}"/${P}.eselect xvmc.eselect +} diff --git a/app-eselect/eselect-xvmc/files/eselect-xvmc-0.4.eselect b/app-eselect/eselect-xvmc/files/eselect-xvmc-0.4.eselect new file mode 100644 index 000000000000..9c06d5ec4e64 --- /dev/null +++ b/app-eselect/eselect-xvmc/files/eselect-xvmc-0.4.eselect @@ -0,0 +1,198 @@ +# -*-eselect-*- vim: ft=eselect +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +DESCRIPTION="Manage the XvMC implementation used by your system" +MAINTAINER="{cardoe,junghans}@gentoo.org" +VERSION="0.4" + +init_XVMC_vars() { + get_libname() { + case ${OSTYPE} in + darwin*) echo ${1:+.}${1}.dylib ;; + *) echo .so${1:+.}${1} ;; + esac + } + + XVMCLIBS=( + "libXvMCNVIDIA_dynamic$(get_libname 1)" + "libXvMC$(get_libname 1)" + "libviaXvMC$(get_libname 1)" + "libviaXvMCPro$(get_libname 1)" + "libchromeXvMC$(get_libname 1)" + "libchromeXvMCPro$(get_libname 1)" + "libXvMCVIA$(get_libname)" + "libXvMCVIAPro$(get_libname)" + "libI810XvMC$(get_libname 1)" + "/usr/lib/libIntelXvMC$(get_libname)" + "libAMDXvBA$(get_libname 1)" + ) + + XVMCPRETTY=( + "nvidia" + "xorg-x11" + "via" + "via-pro" + "openchrome" + "openchrome-pro" + "unichrome" + "unichrome-pro" + "intel-i810" + "intel-i915/i965" + "ati" + ) +} + +get_implementation_indices() { + local ret n + for (( n = 0; n < ${#XVMCLIBS[@]}; ++n )); do + [[ -e "${EROOT}/usr/lib/${XVMCLIBS[n]##*/}" ]] && ret+=($n) + done + + echo ${ret[@]} +} + +get_current_implementation_index() { + local n + if [[ -f "${EROOT}/etc/X11/XvMCConfig" ]]; then + local current=$(< "${EROOT}/etc/X11/XvMCConfig") + for (( n = 0; n < ${#XVMCLIBS[@]}; ++n )); do + if [[ "${XVMCLIBS[n]}" = "${current}" ]]; then + echo "${n}" + return + fi + done + fi + + echo "-1" +} + +set_new_implementation() { + echo -n "Switching to ${XVMCPRETTY[$1]} XvMC implementation..." + touch "${EROOT}/etc/X11/XvMCConfig" 2>&1 > /dev/null + if [[ $? -eq 0 ]]; then + echo "${XVMCLIBS[$1]}" > "${EROOT}/etc/X11/XvMCConfig" + chmod 644 "${EROOT}/etc/X11/XvMCConfig" + [[ ${EROOT} == "/" ]] && chown 0:0 "${EROOT}/etc/X11/XvMCConfig" + echo " done" + else + echo " failed!" + echo "Insufficient privileges" + fi +} + +### list action + +## {{{ list stuff +describe_list() { + echo "List Available XvMC implementations" +} + +do_list() { + local output n + init_XVMC_vars + local avail=( $(get_implementation_indices) ) + local current=$(get_current_implementation_index) + write_list_start \ + "Available XvMC implementations ($(highlight '*') is current):" + + for n in "${avail[@]}"; do + output[n]=${XVMCPRETTY[n]} + [[ ${current} -eq ${n} ]] \ + && output[n]=$(highlight_marker "${output[n]}") + done + write_numbered_list -m "(none found)" "${output[@]}" + + return 0 +} +## }}} + +### show action + +## {{{ show stuff +describe_show() { + echo "Print the current XvMC implementation." +} + +do_show() { + init_XVMC_vars + local current=$(get_current_implementation_index) + write_list_start "Current XvMC implementation:" + + if [[ ${current} -ne -1 ]]; then + echo "${XVMCPRETTY[current]}" + return 0 + else + echo "(none)" + return 2 + fi +} +## }}} + +### set action + +## {{{ set stuff +describe_set() { + echo "Select the XvMC implementation" +} + +describe_set_parameters() { + echo "<target>" +} + +describe_set_options() { + echo "<target> : XvMC implementation to activate" + echo "--use-old : If an implementation is already set, use that one instead" +} + +do_set() { + init_XVMC_vars + local current=$(get_current_implementation_index) + local avail=( $(get_implementation_indices) ) + local n new action + + while [[ ${#@} -gt 0 ]]; do + local opt=${1} + shift + case ${opt} in + --use-old) + if [[ ${current} -gt -1 ]]; then + (( ${current} < ${#XVMCPRETTY[@]} )) && action="old-implementation" + fi + ;; + *) + [[ -z ${action} ]] && action="set-implementation" + + if is_number ${opt} ; then + new=${avail[opt - 1]} + if [[ -z ${new} ]]; then + die -q "Unrecognized option: ${opt}" + fi + elif has ${opt} ${XVMCPRETTY[@]}; then + for (( n = 0; n < ${#XVMCPRETTY[@]}; ++n )); do + [[ "${XVMCPRETTY[n]}" = "${opt}" ]] && new=${n} + done + else + die -q "Unrecognized option: ${opt}" + fi + ;; + esac + done + + case ${action} in + old-implementation) + set_new_implementation ${current} + return $? + ;; + set-implementation) + if [[ -n ${new} ]]; then + set_new_implementation ${new} + return $? + else + die -q "Please specify an implementation to set" + fi + ;; + *) + die -q "Invalid usage of set action." + esac +} diff --git a/app-eselect/eselect-xvmc/metadata.xml b/app-eselect/eselect-xvmc/metadata.xml new file mode 100644 index 000000000000..10bc494a7e79 --- /dev/null +++ b/app-eselect/eselect-xvmc/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>junghans@gentoo.org</email> + <name>Christoph Junghans</name> + </maintainer> + <maintainer type="person"> + <email>cardoe@gentoo.org</email> + </maintainer> +</pkgmetadata> diff --git a/app-eselect/metadata.xml b/app-eselect/metadata.xml new file mode 100644 index 000000000000..f2c8283ce7c6 --- /dev/null +++ b/app-eselect/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE catmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<catmetadata> + <longdescription lang="en"> + The app-eselect category contains modules for the eselect + configuration and administration tool. + </longdescription> + <longdescription lang="de"> + Die Kategorie app-eselect enthält Module für das Konfigurations- + und Verwaltungswerkzeug eselect. + </longdescription> +</catmetadata> |