parent
87f2b6a67a
commit
6728176dd1
@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit eutils versionator
|
||||
|
||||
MY_PV=$(replace_version_separator 3 '-')
|
||||
|
||||
DESCRIPTION="Client for keybase.io"
|
||||
HOMEPAGE="https://keybase.io/"
|
||||
SRC_URI="https://github.com/keybase/client/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
>=dev-lang/go-1.6:0"
|
||||
RDEPEND="
|
||||
app-crypt/gnupg"
|
||||
|
||||
S="${WORKDIR}/src/github.com/keybase/client"
|
||||
|
||||
src_unpack() {
|
||||
unpack "${P}.tar.gz"
|
||||
mkdir -p "$(dirname "${S}")" || die
|
||||
mv "client-${MY_PV}" "${S}" || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
GOPATH="${WORKDIR}:${S}/go/vendor" \
|
||||
go build -v -x \
|
||||
-tags production \
|
||||
-o "${T}/keybase" \
|
||||
github.com/keybase/client/go/keybase || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin "${T}/keybase"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Run the service: keybase service"
|
||||
elog "Run the client: keybase login"
|
||||
}
|
@ -1,4 +1,3 @@
|
||||
DIST ReText-4.1.3.tar.gz 129283 SHA256 bb4409982d27ac62cab01b0748fe41d9c6660853668b350f3369e76d155edd6c SHA512 d2b3fa901afa9870f6cecc7ab3126b91f1420ca1b14ddd4f609c2ada7121388840b5be679914694664f3bbf876ee8522aa6b0c82a23f837844f788fa10a46323 WHIRLPOOL 3be71e5d7ec612ae4e4fec17ca544f6d0e7cb7421fcdeb517d3c13156ed07f5e5e7c3e352cf604bfb5f2287964fdc173a1bac0eeab41ee1cda8b265ad0f57686
|
||||
DIST ReText-5.3.1.tar.gz 159669 SHA256 515b1aaa57615453f8933f997753072a5c4691793da2280e70d1b333b53904c6 SHA512 76c6f78c10129e4845de819fa6db3deff5441a25331fd3dadbdfeb766caa453f21214f82e6625c919cc8be2fcfdfada970cae32837bb8904c3702dda19890628 WHIRLPOOL 5c2db75c2b2f23419bc2803849f6b7a69f3540911c6e53f46a46baffd150a9a0db75d0343361963a53bcc1a6da4534eb72d99068a26c13c1551b6188ab81f67a
|
||||
DIST ReText-6.0.1.tar.gz 184098 SHA256 7c9785cb022d2f0b123b8a808c2419cf1300249d594a72a5ef5a0030de8bb630 SHA512 aca8db5d82fadee7b8d03279e080b33da696339eb674ba1fc2dd4ced7c92b1608d8ed2d181bdbe913601d63755df38ebdfa06f77398e1b52cc922f54fc0fe867 WHIRLPOOL 0590b347e7ca21d7e6e653c74fd53abe2ccb0852e6ab3f53213f8beb38234b0b757bf60ba77f68e485b68332d3b06def94aa4b9aebae369e472a876ce34d9b77
|
||||
DIST ReText-6.0.2.tar.gz 195339 SHA256 ce28b20673627bd4e17c750d71b73e073776e291b2a1736dd561a1a24aa7f70b SHA512 e8670c03eb2a38b8baeedee4c6e31b52e6e3954f2b1fa0d4249653f77e853aa7fd8ee7a43c98d36194889528dd0da75d4106950385e93d8d2b69139454de1729 WHIRLPOOL a42e4ec9d82e15754bf7aaf4c05a15cbb818a5e4d8b71c7994f0a5dca3f27b5fee56f6a3adfbf49f073e70de11202852b301945884dd8bab63f123128d316557
|
||||
DIST ReText-7.0.0.tar.gz 203294 SHA256 01eaf11768f27ba1da2572f2dbcf9b6857d5baa3ca1f50d1cacad894a228f032 SHA512 0a2e430659e7d87d50780fecbf5f04f852f144d143ec83b90126ab9e7b8006756cbc8710c9cec192ddad2cba9f7236e684fa207e308c565388ede308da3c1a35 WHIRLPOOL 5f3633c45c6ef7cb44cbd805849a97b81536d762910d44380a6d2836eb7308ed0c449ec282139b0eea07445be051a0cfa4ab7d3b077693a07f4d14beffbfc8ae
|
||||
|
@ -1,49 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python3_4 )
|
||||
|
||||
PLOCALES="ca cs cy da de es et eu fr hu it ja pl pt pt_BR ru sk sr sr@latin uk zh_TW"
|
||||
|
||||
inherit distutils-r1 l10n
|
||||
|
||||
MY_PN="ReText"
|
||||
MY_P="${MY_PN}-${PV/_/~}"
|
||||
|
||||
DESCRIPTION="Simple editor for Markdown and reStructuredText"
|
||||
HOMEPAGE="https://github.com/retext-project/retext https://github.com/retext-project/retext/wiki"
|
||||
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+spell"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
dev-python/markdown[${PYTHON_USEDEP}]
|
||||
<dev-python/markups-2[${PYTHON_USEDEP}]
|
||||
dev-python/pygments[${PYTHON_USEDEP}]
|
||||
dev-python/PyQt5[gui,network,printsupport,webkit,widgets,${PYTHON_USEDEP}]
|
||||
spell? ( dev-python/pyenchant[${PYTHON_USEDEP}] )
|
||||
"
|
||||
|
||||
S="${WORKDIR}"/${MY_P}
|
||||
|
||||
remove_locale() {
|
||||
find "${ED}" -name "retext_${1}.qm" -delete || die "Failed to remove locale ${1}."
|
||||
}
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
l10n_for_each_disabled_locale_do remove_locale
|
||||
|
||||
make_desktop_entry ${PN} "${MY_PN} Editor" ${PN} "Development;Utility;TextEditor"
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST diskimage-builder-1.26.1.tar.gz 260140 SHA256 dd842a364124a59aaa3751fe178f8799c39e29badbc69d1459d2ed35b9042660 SHA512 698c97b7e016a87c2acd83d27400bd009e8148bb76efc737fae3344aa2c860fdf4060f1608eaa38566c24fa68c5fdbf51559ab64f9d9ef26d0adbe3a1b69325f WHIRLPOOL 83e86a6b5a1629041465be971657968fbdad3377ba9c3bb60ce29b2dd658165541f6e3b5a67eaa13727221e0a44032aafb26b30e042453e2a4c4e085cb26f3da
|
||||
DIST diskimage-builder-1.27.0.tar.gz 264590 SHA256 108e6fa41cbab88a018e43b19f5706b20a984b94131d6451876eedc26a26a892 SHA512 63e98c95452f9ddb9ae21f208b7dc840a9a10a02e9dee8d313cac531854b706f7662ea7b907f38a72c58d6ecdead324782d4cbda32fb7a4861b8c4bef9412a56 WHIRLPOOL 586b62729a5577a0ed804c7f457297e0624d1e491ab82ee95c29443ba46d5769814fded9ae88e2b6f7e2ec8d69b208851f24f26f04667717055944d296ccdb9f
|
||||
DIST diskimage-builder-1.28.0.tar.gz 267409 SHA256 2d8999a8484d27e8604d125aabcbdad648f8b601776225cfc611faf1a3b9a0e6 SHA512 ae13e29563f90a4aaa4f2bee889bca4fd662da41fcffb957ca8a4380907e5d89fbc25ecb93aeda2cb5597776b51417388e8a5e39741250d68a8f7f67239ebc7f WHIRLPOOL 7cfcefcf37fd0d5fae4fb8d3284ad3b60e53e4a2853c85625a1925c34bd4cdbee999932089f7dae81adcf699226ba1550f729a2b1b8aab4b6e54c10c7148fea1
|
||||
DIST diskimage-builder-2.0.0.tar.gz 288997 SHA256 1a9166483373d3336422d39f79b27abd875ce89eec46af37f3f76e7e567faa68 SHA512 757ede8ae6124b4b03aa8b60def624a5bd031deff100c49a9de1cffe184fe7346bde40ab8ff84b6d00caf7ccffd928929a1623edc3d4d7d267591cd9da4e113c WHIRLPOOL 26f8884b57c013dd002a9c119ba840a2e8f48ebcb806f7a8eb2c38cfb250e1a42374f9396fee1f5283484a10025edc8b484325578d1fb787e012be19fdf5a685
|
||||
|
@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Golden Disk Image builder."
|
||||
HOMEPAGE="http://docs.openstack.org/developer/diskimage-builder/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
CDEPEND=">=dev-python/pbr-1.8[${PYTHON_USEDEP}]"
|
||||
DEPEND="${CDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
RDEPEND="${CDEPEND}
|
||||
>=dev-python/Babel-2.3.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyyaml-3.10.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/flake8-2.5.4[${PYTHON_USEDEP}]
|
||||
<dev-python/flake8-2.6.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.9.0[${PYTHON_USEDEP}]
|
||||
app-emulation/qemu
|
||||
sys-block/parted
|
||||
sys-fs/multipath-tools"
|
@ -1 +1,2 @@
|
||||
DIST kompose-0.2.0_p20170214.tar.gz 4928182 SHA256 437303c2f7b3c24182561e76cfa85102814f731fc7f5951933fe6c153c6b2e1b SHA512 dab013f861f4a185c0fdea3f4b79d33ff280f3c7ad77e150ce381770182ad77a37d8ccbadfe1f7bd13d50dc36a7087847d1636b6b411a21e0de43113be5b0183 WHIRLPOOL 581a6059bdb6286ca859e5a2f1e750a9ceaa3724ed9fee4092ac9283b2216629118437ccd0354ffebde95ac37b1591048f5972658a093b4aefc09bc8a02402f8
|
||||
DIST kompose-0.3.0.tar.gz 4928611 SHA256 047e5367856f07338515eea43fb213e08fdde79333250e4cc85251e80251c928 SHA512 094d0093d6cf480d8c757f5f2d82719eaaf0c6c1b33140d45fcb2ff7b129e9cada0660a3faf26b13e877b05897920e00ddf8b451dfc91042f7f6bb72a4a24618 WHIRLPOOL dba40efcfdd6d22a9112c078be47f159fde4de9ac43bf04f72c5006add523a67c13487c0da9168feab0c8c9f84abe3865914239008d87172df86b3654b21935d
|
||||
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit golang-build golang-vcs-snapshot
|
||||
|
||||
EGO_PN="github.com/kubernetes-incubator/kompose/..."
|
||||
EGIT_COMMIT="v0.3.0"
|
||||
COMPOSE_COMMIT="135165b"
|
||||
ARCHIVE_URI="https://${EGO_PN%/*}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DESCRIPTION="Tool to move from docker-compose to Kubernetes"
|
||||
HOMEPAGE="https://github.com/kubernetes-incubator/kompose"
|
||||
SRC_URI="${ARCHIVE_URI}"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0/${PVR}"
|
||||
IUSE="hardened"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
src_compile() {
|
||||
export CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')"
|
||||
GOPATH="${S}" go build -ldflags="-X github.com/kubernetes-incubator/kompose/cmd.GITCOMMIT=${COMPOSE_COMMIT}" -o bin/kompose src/${EGO_PN%/*}/main.go || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/*
|
||||
dodoc -r src/${EGO_PN%/*}/{docs,{README,RELEASE,ROADMAP,CHANGELOG,CONTRIBUTING}.md}
|
||||
}
|
@ -1,4 +1,2 @@
|
||||
DIST screen-4.3.1.tar.gz 845958 SHA256 fa4049f8aee283de62e283d427f2cfd35d6c369b40f7f45f947dbfd915699d63 SHA512 8e8a25b23330a7d8e00fc9e6cc430f0eb3937ccf4183efbd6fd24e4dc04cc09b3acae45bfc24892faee433b18fa79b1cfe0211fd75c0d74ecf908f916bf774aa WHIRLPOOL b47f7538351028cc3a2ec7f69a9373e152fa7655c6ae9feb75ba46db3cdc9b7d58ce78043993b7f134da3a04754c5e52d1a77da4c30a8decda21c79cf5c50f51
|
||||
DIST screen-4.4.0.tar.gz 846010 SHA256 ef722a54759a3bf23aad272bbf33c414c1078cad6bcd982fada93c0d7917218b SHA512 6e43f85c419f778822ec85e4340c95769e981a3d51abdeb5f26c6ebb840da9ab11b351ecc7f380ceea39bcfaa87f1124cfebd6af4ecb62b886eb189e7b79981b WHIRLPOOL a0d68d2d50f9f50537bf73a6dbb1ecbfe8c6af5c5322003a717431734bdc86a940fc55cd8c3a28b3e5ec572aaa0ceba376d97cbb8c5090a92d499cba2889b322
|
||||
DIST screen-4.5.0.tar.gz 963233 SHA256 01c3a7c362185f35d6a95dff52d64337076496acd034d717de3c263500cfefb0 SHA512 b2705ed9604355d4153d7902f820af6131a1f2387650f5c6efeda7acf543aad48e8603c26d7c6e74213c8eece994d5d9bb0d114bc19c8d8f3d8e99c00ea4a484 WHIRLPOOL 04b26e849ae0440778f2eee1a8d8730697a0f8ee933522ec16de697ff0cc189fc67b7e46b7cb218457ab53e491fceff0d70e44417c7c3af5c934cd3fae769382
|
||||
DIST screen-4.5.1.tar.gz 963153 SHA256 97db2114dd963b016cd4ded34831955dcbe3251e5eee45ac2606e67e9f097b2d SHA512 ca53477ad38264be38efb1d10a1337b647dd061127162c77533b17a30d046cd0caabe38e4a9e5389aac30d5dc62eb53e7877411e69adae36d0ca869bd0a82804 WHIRLPOOL db60013141e3f426107d3f1e518b48fc0bbf89fbf51b26b5ac7208b9940448397ec0009d389365289a1d06421b403982093c8b7ee8d891eea20c704d7ad376b1
|
||||
|
@ -1,37 +0,0 @@
|
||||
--- a/ansi.c
|
||||
+++ b/ansi.c
|
||||
@@ -2502,13 +2502,13 @@
|
||||
return;
|
||||
if (n > 0)
|
||||
{
|
||||
+ if (ye - ys + 1 < n)
|
||||
+ n = ye - ys + 1;
|
||||
if (n > 256)
|
||||
{
|
||||
MScrollV(p, n - 256, ys, ye, bce);
|
||||
n = 256;
|
||||
}
|
||||
- if (ye - ys + 1 < n)
|
||||
- n = ye - ys + 1;
|
||||
#ifdef COPY_PASTE
|
||||
if (compacthist)
|
||||
{
|
||||
@@ -2562,15 +2562,14 @@
|
||||
}
|
||||
else
|
||||
{
|
||||
+ n = -n;
|
||||
+ if (ye - ys + 1 < n)
|
||||
+ n = ye - ys + 1;
|
||||
if (n < -256)
|
||||
{
|
||||
MScrollV(p, n + 256, ys, ye, bce);
|
||||
n = -256;
|
||||
}
|
||||
- n = -n;
|
||||
- if (ye - ys + 1 < n)
|
||||
- n = ye - ys + 1;
|
||||
-
|
||||
ml = p->w_mlines + ye;
|
||||
/* Clear lines */
|
||||
for (i = ye; i > ye - n; i--, ml--)
|
@ -1,17 +0,0 @@
|
||||
Revert commit 5460f5d28c01a9a58e021eb1dffef2965e629d58
|
||||
|
||||
--- b/screen.c
|
||||
+++ a/screen.c
|
||||
@@ -670,12 +670,6 @@ int main(int ac, char** av)
|
||||
Panic(0, "-L: logfile name can not start with \"-\" symbol");
|
||||
if (strlen(screenlogfile) > PATH_MAX)
|
||||
Panic(0, "-L: logfile name too long. (max. %d char)", PATH_MAX);
|
||||
-
|
||||
- FILE *w_check;
|
||||
- if ((w_check = fopen(screenlogfile, "w")) == NULL)
|
||||
- Panic(0, "-L: logfile name access problem");
|
||||
- else
|
||||
- fclose(w_check);
|
||||
}
|
||||
nwin_options.Lflag = 1;
|
||||
break;
|
@ -1,12 +0,0 @@
|
||||
On Solaris one needs to include limits.h in order to use PATH_MAX
|
||||
|
||||
--- screen-4.5.0/screen.c
|
||||
+++ screen-4.5.0/screen.c
|
||||
@@ -44,6 +44,7 @@
|
||||
#endif
|
||||
#include <ctype.h>
|
||||
#include <fcntl.h>
|
||||
+#include <limits.h>
|
||||
|
||||
#ifdef sgi
|
||||
# include <sys/sysmacros.h>
|
@ -1,157 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit autotools eutils flag-o-matic pam toolchain-funcs user
|
||||
|
||||
DESCRIPTION="screen manager with VT100/ANSI terminal emulation"
|
||||
HOMEPAGE="https://www.gnu.org/software/screen/"
|
||||
SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="debug nethack pam selinux multiuser"
|
||||
|
||||
CDEPEND="
|
||||
>=sys-libs/ncurses-5.2:0=
|
||||
pam? ( virtual/pam )"
|
||||
RDEPEND="${CDEPEND}
|
||||
selinux? ( sec-policy/selinux-screen )"
|
||||
DEPEND="${CDEPEND}
|
||||
sys-apps/texinfo"
|
||||
|
||||
# Patches:
|
||||
# - Don't use utempter even if it is found on the system.
|
||||
# - Bug 559394.
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-4.3.0-no-utempter.patch
|
||||
"${FILESDIR}"/${PN}-4.3.1-ansi.c.patch
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
# Make sure utmp group exists, as it's used later on.
|
||||
enewgroup utmp 406
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Apply patches.
|
||||
epatch "${PATCHES[@]}"
|
||||
|
||||
# sched.h is a system header and causes problems with some C libraries
|
||||
mv sched.h _sched.h || die
|
||||
sed -i '/include/ s:sched.h:_sched.h:' screen.h || die
|
||||
|
||||
# Fix manpage.
|
||||
sed -i \
|
||||
-e "s:/usr/local/etc/screenrc:${EPREFIX}/etc/screenrc:g" \
|
||||
-e "s:/usr/local/screens:${EPREFIX}/tmp/screen:g" \
|
||||
-e "s:/local/etc/screenrc:${EPREFIX}/etc/screenrc:g" \
|
||||
-e "s:/etc/utmp:${EPREFIX}/var/run/utmp:g" \
|
||||
-e "s:/local/screens/S-:${EPREFIX}/tmp/screen/S-:g" \
|
||||
doc/screen.1 \
|
||||
|| die
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]] ; then
|
||||
sed -i -e '/^#define UTMPOK/s/define/undef/' acconfig.h || die
|
||||
fi
|
||||
|
||||
# reconfigure
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
append-cppflags "-DMAXWIN=${MAX_SCREEN_WINDOWS:-100}"
|
||||
|
||||
if [[ ${CHOST} == *-solaris* ]] ; then
|
||||
# https://lists.gnu.org/archive/html/screen-devel/2014-04/msg00095.html
|
||||
append-cppflags -D_XOPEN_SOURCE \
|
||||
-D_XOPEN_SOURCE_EXTENDED=1 \
|
||||
-D__EXTENSIONS__
|
||||
append-libs -lsocket -lnsl
|
||||
fi
|
||||
|
||||
use nethack || append-cppflags "-DNONETHACK"
|
||||
use debug && append-cppflags "-DDEBUG"
|
||||
|
||||
econf \
|
||||
--with-socket-dir="${EPREFIX}/tmp/screen" \
|
||||
--with-sys-screenrc="${EPREFIX}/etc/screenrc" \
|
||||
--with-pty-mode=0620 \
|
||||
--with-pty-group=5 \
|
||||
--enable-rxvt_osc \
|
||||
--enable-telnet \
|
||||
--enable-colors256 \
|
||||
$(use_enable pam)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
LC_ALL=POSIX emake comm.h term.h
|
||||
emake osdef.h
|
||||
|
||||
emake -C doc screen.info
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local tmpfiles_perms tmpfiles_group
|
||||
|
||||
dobin screen
|
||||
|
||||
if use multiuser || use prefix
|
||||
then
|
||||
fperms 4755 /usr/bin/screen
|
||||
tmpfiles_perms="0755"
|
||||
tmpfiles_group="root"
|
||||
else
|
||||
fowners root:utmp /usr/bin/screen
|
||||
fperms 2755 /usr/bin/screen
|
||||
tmpfiles_perms="0775"
|
||||
tmpfiles_group="utmp"
|
||||
fi
|
||||
|
||||
dodir /etc/tmpfiles.d
|
||||
echo "d /tmp/screen ${tmpfiles_perms} root ${tmpfiles_group}" \
|
||||
> "${ED}"/etc/tmpfiles.d/screen.conf
|
||||
|
||||
insinto /usr/share/screen
|
||||
doins terminfo/{screencap,screeninfo.src}
|
||||
insinto /usr/share/screen/utf8encodings
|
||||
doins utf8encodings/??
|
||||
insinto /etc
|
||||
doins "${FILESDIR}"/screenrc
|
||||
|
||||
pamd_mimic_system screen auth
|
||||
|
||||
dodoc \
|
||||
README ChangeLog INSTALL TODO NEWS* patchlevel.h \
|
||||
doc/{FAQ,README.DOTSCREEN,fdpat.ps,window_to_display.ps}
|
||||
|
||||
doman doc/screen.1
|
||||
doinfo doc/screen.info
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -z ${REPLACING_VERSIONS} ]]
|
||||
then
|
||||
elog "Some dangerous key bindings have been removed or changed to more safe values."
|
||||
elog "We enable some xterm hacks in our default screenrc, which might break some"
|
||||
elog "applications. Please check /etc/screenrc for information on these changes."
|
||||
fi
|
||||
|
||||
# Add /tmp/screen in case it doesn't exist yet. This should solve
|
||||
# problems like bug #508634 where tmpfiles.d isn't in effect.
|
||||
local rundir="${EROOT%/}/tmp/screen"
|
||||
if [[ ! -d ${rundir} ]] ; then
|
||||
if use multiuser || use prefix ; then
|
||||
tmpfiles_group="root"
|
||||
else
|
||||
tmpfiles_group="utmp"
|
||||
fi
|
||||
mkdir -m 0775 "${rundir}"
|
||||
chgrp ${tmpfiles_group} "${rundir}"
|
||||
fi
|
||||
|
||||
ewarn "This revision changes the screen socket location to ${rundir}"
|
||||
}
|
@ -1,162 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
SCM=""
|
||||
[[ "${PV}" = 9999 ]] && SCM="git-r3"
|
||||
inherit autotools eutils flag-o-matic pam toolchain-funcs user ${SCM}
|
||||
unset SCM
|
||||
|
||||
DESCRIPTION="screen manager with VT100/ANSI terminal emulation"
|
||||
HOMEPAGE="https://www.gnu.org/software/screen/"
|
||||
|
||||
if [[ "${PV}" != 9999 ]] ; then
|
||||
SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
else
|
||||
EGIT_REPO_URI="git://git.savannah.gnu.org/screen.git"
|
||||
EGIT_CHECKOUT_DIR="${WORKDIR}/${P}" # needed for setting S later on
|
||||
S="${WORKDIR}"/${P}/src
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="debug nethack pam selinux multiuser"
|
||||
|
||||
CDEPEND="
|
||||
>=sys-libs/ncurses-5.2:0=
|
||||
pam? ( virtual/pam )"
|
||||
RDEPEND="${CDEPEND}
|
||||
selinux? ( sec-policy/selinux-screen )"
|
||||
DEPEND="${CDEPEND}
|
||||
sys-apps/texinfo"
|
||||
|
||||
PATCHES=(
|
||||
# Don't use utempter even if it is found on the system.
|
||||
"${FILESDIR}"/${PN}-4.3.0-no-utempter.patch
|
||||
# PATH_MAX usage needs an include on Solaris
|
||||
"${FILESDIR}"/${P}-solaris-PATH_MAX.patch
|
||||
# Revert patch due to security, bug #607116
|
||||
"${FILESDIR}"/${P}-logfile-access-revert.patch
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
# Make sure utmp group exists, as it's used later on.
|
||||
enewgroup utmp 406
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# sched.h is a system header and causes problems with some C libraries
|
||||
mv sched.h _sched.h || die
|
||||
sed -i '/include/ s:sched.h:_sched.h:' screen.h || die
|
||||
|
||||
# Fix manpage.
|
||||
sed -i \
|
||||
-e "s:/usr/local/etc/screenrc:${EPREFIX}/etc/screenrc:g" \
|
||||
-e "s:/usr/local/screens:${EPREFIX}/tmp/screen:g" \
|
||||
-e "s:/local/etc/screenrc:${EPREFIX}/etc/screenrc:g" \
|
||||
-e "s:/etc/utmp:${EPREFIX}/var/run/utmp:g" \
|
||||
-e "s:/local/screens/S\\\-:${EPREFIX}/tmp/screen/S\\\-:g" \
|
||||
doc/screen.1 \
|
||||
|| die
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]] ; then
|
||||
sed -i -e '/^#define UTMPOK/s/define/undef/' acconfig.h || die
|
||||
fi
|
||||
|
||||
# reconfigure
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
append-cppflags "-DMAXWIN=${MAX_SCREEN_WINDOWS:-100}"
|
||||
|
||||
if [[ ${CHOST} == *-solaris* ]] ; then
|
||||
# enable msg_header by upping the feature standard compatible
|
||||
# with c99 mode
|
||||
append-cppflags -D_XOPEN_SOURCE=600
|
||||
fi
|
||||
|
||||
use nethack || append-cppflags "-DNONETHACK"
|
||||
use debug && append-cppflags "-DDEBUG"
|
||||
|
||||
econf \
|
||||
--with-socket-dir="${EPREFIX}/tmp/screen" \
|
||||
--with-sys-screenrc="${EPREFIX}/etc/screenrc" \
|
||||
--with-pty-mode=0620 \
|
||||
--with-pty-group=5 \
|
||||
--enable-rxvt_osc \
|
||||
--enable-telnet \
|
||||
--enable-colors256 \
|
||||
$(use_enable pam)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
LC_ALL=POSIX emake comm.h term.h
|
||||
emake osdef.h
|
||||
|
||||
emake -C doc screen.info
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local DOCS=(
|
||||
README ChangeLog INSTALL TODO NEWS* patchlevel.h
|
||||
doc/{FAQ,README.DOTSCREEN,fdpat.ps,window_to_display.ps}
|
||||
)
|
||||
|
||||
default
|
||||
|
||||
local tmpfiles_perms tmpfiles_group
|
||||
|
||||
if use multiuser || use prefix
|
||||
then
|
||||
fperms 4755 /usr/bin/screen-${PV}
|
||||
tmpfiles_perms="0755"
|
||||
tmpfiles_group="root"
|
||||
else
|
||||
fowners root:utmp /usr/bin/screen-${PV}
|
||||
fperms 2755 /usr/bin/screen-${PV}
|
||||
tmpfiles_perms="0775"
|
||||
tmpfiles_group="utmp"
|
||||
fi
|
||||
|
||||
dodir /etc/tmpfiles.d
|
||||
echo "d /tmp/screen ${tmpfiles_perms} root ${tmpfiles_group}" \
|
||||
> "${ED}"/etc/tmpfiles.d/screen.conf
|
||||
|
||||
insinto /usr/share/screen
|
||||
doins terminfo/{screencap,screeninfo.src}
|
||||
|
||||
insinto /etc
|
||||
doins "${FILESDIR}"/screenrc
|
||||
|
||||
pamd_mimic_system screen auth
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -z ${REPLACING_VERSIONS} ]]
|
||||
then
|
||||
elog "Some dangerous key bindings have been removed or changed to more safe values."
|
||||
elog "We enable some xterm hacks in our default screenrc, which might break some"
|
||||
elog "applications. Please check /etc/screenrc for information on these changes."
|
||||
fi
|
||||
|
||||
# Add /tmp/screen in case it doesn't exist yet. This should solve
|
||||
# problems like bug #508634 where tmpfiles.d isn't in effect.
|
||||
local rundir="${EROOT%/}/tmp/screen"
|
||||
if [[ ! -d ${rundir} ]] ; then
|
||||
if use multiuser || use prefix ; then
|
||||
tmpfiles_group="root"
|
||||
else
|
||||
tmpfiles_group="utmp"
|
||||
fi
|
||||
mkdir -m 0775 "${rundir}"
|
||||
chgrp ${tmpfiles_group} "${rundir}"
|
||||
fi
|
||||
|
||||
ewarn "This revision changes the screen socket location to ${rundir}"
|
||||
}
|
@ -1,56 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
inherit cmake-multilib
|
||||
|
||||
DESCRIPTION="Abstraction layer for filesystem and archive access"
|
||||
HOMEPAGE="http://icculus.org/physfs/"
|
||||
SRC_URI="http://icculus.org/physfs/downloads/${P}.tar.bz2"
|
||||
|
||||
LICENSE="ZLIB"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ppc ppc64 sparc x86 ~x86-fbsd"
|
||||
IUSE="doc grp hog mvl qpak static-libs wad +zip"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="doc? ( app-doc/doxygen )"
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e 's:-Werror::' CMakeLists.txt || die
|
||||
# make sure these libs aren't used
|
||||
rm -rf lzma zlib*
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs="
|
||||
-DPHYSFS_ARCHIVE_7Z=OFF
|
||||
-DPHYSFS_BUILD_SHARED=ON
|
||||
-DPHYSFS_BUILD_TEST=OFF
|
||||
-DPHYSFS_BUILD_WX_TEST=OFF
|
||||
-DPHYSFS_INTERNAL_ZLIB=OFF
|
||||
$(cmake-utils_use static-libs PHYSFS_BUILD_STATIC)
|
||||
$(cmake-utils_use grp PHYSFS_ARCHIVE_GRP)
|
||||
$(cmake-utils_use hog PHYSFS_ARCHIVE_HOG)
|
||||
$(cmake-utils_use mvl PHYSFS_ARCHIVE_MVL)
|
||||
$(cmake-utils_use wad PHYSFS_ARCHIVE_WAD)
|
||||
$(cmake-utils_use qpak PHYSFS_ARCHIVE_QPAK)
|
||||
$(cmake-utils_use zip PHYSFS_ARCHIVE_ZIP)"
|
||||
|
||||
cmake-multilib_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake-multilib_src_compile
|
||||
|
||||
if multilib_is_native_abi && use doc ; then
|
||||
doxygen || die "doxygen failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local DOCS="CHANGELOG.txt CREDITS.txt TODO.txt"
|
||||
local HTML_DOCS=$(use doc && echo docs/html/*)
|
||||
|
||||
cmake-multilib_src_install
|
||||
}
|
@ -1,4 +1,2 @@
|
||||
DIST libsodium-1.0.10.tar.gz 1827211 SHA256 71b786a96dd03693672b0ca3eb77f4fb08430df307051c0d45df5353d22bc4be SHA512 ff52e7f25787cc858e8d26be10913c689bd3dd394c8e163133920141be67a292a1dba066a1037e83cf0ced155a1554f07f24c2f33a7a6aa52521d39f537cd515 WHIRLPOOL 452ac241c26284e433c4a4595b45a1470da0be15a78761dd825460d676e48a3f36eb37ddf2c1843e3fdc64cc7cddf70dbc1aa1a983a249e1440521dc58cacf8a
|
||||
DIST libsodium-1.0.11.tar.gz 1846782 SHA256 a14549db3c49f6ae2170cbbf4664bd48ace50681045e8dbea7c8d9fb96f9c765 SHA512 4b1293c4d0e52264beecdd05833857bc4d77d1c2a97eea0138fe04df383b9a2dfcad4a79ccd9aed8f6c0047ba67c49292b0d2ccf987ab0b5046b46b1586ccbd7 WHIRLPOOL ff02835e05a491695ba1b6d55d1b3168c15c9c6326377d2a24d1dbc9eaa3da538efcf22610c81d32297b057138162132e340b64ce980a199563d4101beb9d899
|
||||
DIST libsodium-1.0.2.tar.gz 1673394 SHA256 961d8f10047f545ae658bcc73b8ab0bf2c312ac945968dd579d87c768e5baa19 SHA512 15fc47516f0e35906c1c304205fa991e74a273e4e6fc2186b6c16f0e41523de24493e149262b97ef03e4adc221232372ef1f283c4c23f96e4c5d99023d361e14 WHIRLPOOL 18509d9911c1d0ec6e8b9a8735abfeb2c1623669d31045abc6d9dd1289571fbe3a055f960f42a86779e7c03967532d71d7b9d0597ecfe457672e69b27b577e48
|
||||
DIST libsodium-1.0.8.tar.gz 1794750 SHA256 c0f191d2527852641e0a996b7b106d2e04cbc76ea50731b2d0babd3409301926 SHA512 8f85e85e699c2b45674befd466e018c9f2ff1333c8fa806da49d9674068c33929bd3463e8908ffcd9c6154d430737e08e0522ac8ed4219e4fffe2e0a7a611c65 WHIRLPOOL 379addb00b366d2de887749fa72b17c003fa583728788e416e363a64196ade3ead9b5e12691f7693f0554323b88dc3c0cb6038c7abaf7f1291d60b97cc24daf6
|
||||
DIST libsodium-1.0.12.tar.gz 1887284 SHA256 b8648f1bb3a54b0251cf4ffa4f0d76ded13977d4fa7517d988f4c902dd8e2f95 SHA512 1e63960da42bcc90945463ae1f5b1355849881dce5bba6d293391f8d6f0932063a5bfd433a071cb184af90ebeab469acc34710587116922144d61f3d7661901b WHIRLPOOL 7edf3a97b96b9a89fdb7b2c56aaaf9f37e89bb816801260c5791af133ddbd7fa9db137fab0b11b85277a483cdbae26bb879181ff72090251f576099750c9003f
|
||||
|
@ -1,34 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="A portable fork of NaCl, a higher-level cryptographic library"
|
||||
HOMEPAGE="https://github.com/jedisct1/libsodium"
|
||||
SRC_URI="http://download.libsodium.org/${PN}/releases/${P}.tar.gz"
|
||||
|
||||
LICENSE="ISC"
|
||||
SLOT="0/13"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="+asm minimal static-libs +urandom"
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
|
||||
# --disable-pie needed on x86, bug #512734
|
||||
use x86 && myconf="${myconf} --disable-pie"
|
||||
|
||||
econf \
|
||||
$(use_enable asm) \
|
||||
$(use_enable minimal) \
|
||||
$(use_enable !urandom blocking-random) \
|
||||
$(use_enable static-libs static) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
prune_libtool_files
|
||||
}
|
@ -1,34 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="A portable fork of NaCl, a higher-level cryptographic library"
|
||||
HOMEPAGE="https://github.com/jedisct1/libsodium"
|
||||
SRC_URI="http://download.libsodium.org/${PN}/releases/${P}.tar.gz"
|
||||
|
||||
LICENSE="ISC"
|
||||
SLOT="0/18"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="+asm minimal static-libs +urandom"
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
|
||||
# --disable-pie needed on x86, bug #512734
|
||||
use x86 && myconf="${myconf} --disable-pie"
|
||||
|
||||
econf \
|
||||
$(use_enable asm) \
|
||||
$(use_enable minimal) \
|
||||
$(use_enable !urandom blocking-random) \
|
||||
$(use_enable static-libs static) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
prune_libtool_files
|
||||
}
|
@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="SIMD Vector Class Library for C++"
|
||||
HOMEPAGE="https://github.com/VcDevel/Vc"
|
||||
|
||||
VC_TEST_DATA=( reference-{acos,asin,atan,ln,log2,log10,sincos}-{dp,sp}.dat )
|
||||
for i in ${VC_TEST_DATA[@]}; do
|
||||
SRC_URI+="test? ( http://compeng.uni-frankfurt.de/~kretz/Vc-testdata/$i -> ${P}-${i} ) "
|
||||
done
|
||||
|
||||
SRC_URI+="https://github.com/VcDevel/Vc/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x64-macos"
|
||||
IUSE="test"
|
||||
|
||||
src_unpack() {
|
||||
default_src_unpack
|
||||
S="${WORKDIR}"/Vc-${PV}
|
||||
if use test ; then
|
||||
mkdir -p "${WORKDIR}"/${P}_build/tests || die
|
||||
for i in ${VC_TEST_DATA[@]}; do
|
||||
cp "${DISTDIR}"/${P}-$i "${WORKDIR}"/${P}_build/tests/${i} || die
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DBUILD_TESTING=$(usex test)
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST safety-0.5.1.tar.gz 8404 SHA256 6ba9e3b6c3d33588d3ed062d11dea8a5f855e09cde9418f69c866fa23068f3e8 SHA512 95d61256cf16cceb92d35215bfb70e38b663e0cd0162658b41e692993cd08457e7bd36faacfa86512031327a930a0b254eb2af4838db808ba93c13aefa35a82b WHIRLPOOL 6774dc4df2003d0d1c705216c558cfe5ccea8167d20031ef327dad4a9fef1bb2a3f60a7309a3e997741c196d9e851c67c9fb1a4c81d7f192d6d1ca04832826ce
|
||||
DIST safety-0.6.0.tar.gz 8625 SHA256 d2fd0217bd7680e48614e2d26561ca363a3aa207ccef6e492dec189a1927a31b SHA512 23cb933bb9a065966058830e8a324a927b02b1d599437f6b18f936cf3760f33fae382bc47d2fc33d29648c6741a0bf3b7bc46684322433633277871e75c428f8 WHIRLPOOL 1d8c33b8815c3f61fc0970e004b16cb948b503e8a43452361d415b61597d4c4ae7533d4f2fad11c1ab2d51a02bd9349724f76d6e007447f23659d424bf1fb889
|
||||
|
@ -0,0 +1,23 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_4,3_5} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Checks your installed dependencies for known security vulnerabilities"
|
||||
HOMEPAGE="https://github.com/pyupio/safety"
|
||||
SRC_URI="https://github.com/pyupio/safety/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-python/setuptools-16[${PYTHON_USEDEP}]
|
||||
>=dev-python/click-6.0[${PYTHON_USEDEP}]
|
||||
dev-python/packaging[${PYTHON_USEDEP}]
|
||||
dev-python/pip[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]"
|
||||
DEPEND="${DEPEND}"
|
@ -0,0 +1,69 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
EGIT_REPO_URI="https://github.com/pypa/setuptools.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip"
|
||||
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"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Collection of extensions to Distutils"
|
||||
HOMEPAGE="https://github.com/pypa/setuptools https://pypi.python.org/pypi/setuptools"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/packaging-16.8[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.10.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/appdirs-1.4.0-r1[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/unzip
|
||||
test? (
|
||||
dev-python/pip[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-2.8[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
PDEPEND="
|
||||
>=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}]"
|
||||
|
||||
# Force in-source build because build system modifies sources.
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
DOCS=( {CHANGES,README}.rst docs/{easy_install.txt,pkg_resources.txt,setuptools.txt} )
|
||||
|
||||
python_prepare_all() {
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
python_setup
|
||||
${EPYTHON} bootstrap.py || die
|
||||
fi
|
||||
|
||||
# disable tests requiring a network connection
|
||||
rm setuptools/tests/test_packageindex.py || die
|
||||
|
||||
# don't run integration tests
|
||||
rm setuptools/tests/test_integration.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# test_easy_install raises a SandboxViolation due to ${HOME}/.pydistutils.cfg
|
||||
# It tries to sandbox the test in a tempdir
|
||||
HOME="${PWD}" py.test --verbose ${PN} || die "Tests failed under ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install() {
|
||||
export DISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT=1
|
||||
distutils-r1_python_install
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST android-studio-ide-145.3537739-linux.zip 459957542 SHA256 982377b5694a40782cd9b1190e6fb9d2046bb9cc0767b2ba7cd5aebda773d581 SHA512 2e005b2232b43e84875008e1e0bec70afff68839733bfa6e0195be23c6c76be29540321937235620c3481beb31c030086df430e73a8e16e3a10bce5e0c98753f WHIRLPOOL f30b44abaf5f7b5b69eaa5c58864a11f2fc53b1bcf1c34ba524f7bf13de5d230476d4ab564fdeb40e1e2060a9526e3268c0189db8ed1bfbff47be4f6192f606e
|
||||
DIST android-studio-ide-162.3764568-linux.zip 449372867 SHA256 214cee47ef7a628c712ae618f5aab6c2a56a72aa479a50937d4cad5a0abf8435 SHA512 36609ca69e7ebb62f14d9a8aa25eb2fe022acc99b0ffa4b1de7eb4c4554455bf3ea10c06d152e4fc14bc88e6f4990129aa5cbf605da883abf02a6a11c8be8293 WHIRLPOOL 8bdcc5b3f4f3f07d3e4e54d729eb46afdd018340e14676422b1e1f1276d73e891672dcfa2be225b8ec4f776b955751271a9c49133df658ff366e56149f9a6d04
|
||||
|
@ -0,0 +1,99 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit eutils java-pkg-2 versionator
|
||||
|
||||
RESTRICT="strip"
|
||||
QA_PREBUILT="opt/${PN}/bin/libbreakgen*.so
|
||||
opt/${PN}/bin/fsnotifier*
|
||||
opt/${PN}/lib/libpty/linux/x86*/libpty.so
|
||||
opt/${PN}/plugins/android/lib/libwebp_jni*.so"
|
||||
|
||||
if [[ $(get_version_component_count) -eq 6 ]]; then
|
||||
STUDIO_V=$(get_version_component_range 1-4)
|
||||
BUILD_V=$(get_version_component_range 5-6)
|
||||
else
|
||||
STUDIO_V=$(get_version_component_range 1-3)
|
||||
BUILD_V=$(get_version_component_range 4-5)
|
||||
fi
|
||||
|
||||
DESCRIPTION="A new Android development environment based on IntelliJ IDEA"
|
||||
HOMEPAGE="http://developer.android.com/sdk/installing/studio.html"
|
||||
SRC_URI="https://dl.google.com/dl/android/studio/ide-zips/${STUDIO_V}/${PN}-ide-${BUILD_V}-linux.zip"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="selinux"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="app-arch/zip
|
||||
dev-java/commons-logging:0
|
||||
dev-java/log4j:0"
|
||||
|
||||
# dev-java/guava:18
|
||||
RDEPEND=">=virtual/jdk-1.7
|
||||
selinux? ( sec-policy/selinux-android )
|
||||
>=app-arch/bzip2-1.0.6-r4
|
||||
dev-java/commons-logging:0
|
||||
dev-java/log4j:0
|
||||
>=dev-libs/expat-2.1.0-r3
|
||||
>=dev-libs/libffi-3.0.13-r1
|
||||
>=media-libs/fontconfig-2.10.92
|
||||
>=media-libs/freetype-2.5.5
|
||||
>=media-libs/libpng-1.2.51
|
||||
>=media-libs/mesa-10.2.8
|
||||
|| ( gnome-extra/zenity kde-apps/kdialog x11-apps/xmessage x11-libs/libnotify )
|
||||
|| ( >=sys-libs/ncurses-5.9-r3:5/5[tinfo] >=sys-libs/ncurses-5.9-r3:0/5[tinfo] )
|
||||
>=sys-libs/zlib-1.2.8-r1
|
||||
>=x11-libs/libX11-1.6.2
|
||||
>=x11-libs/libXau-1.0.7-r1
|
||||
>=x11-libs/libXdamage-1.1.4-r1
|
||||
>=x11-libs/libXdmcp-1.1.1-r1
|
||||
>=x11-libs/libXext-1.3.2
|
||||
>=x11-libs/libXfixes-5.0.1
|
||||
>=x11-libs/libXrender-0.9.8
|
||||
>=x11-libs/libXxf86vm-1.1.3
|
||||
>=x11-libs/libdrm-2.4.46
|
||||
>=x11-libs/libxcb-1.9.1
|
||||
>=x11-libs/libxshmfence-1.1"
|
||||
S=${WORKDIR}/${PN}
|
||||
|
||||
src_prepare() {
|
||||
eapply_user
|
||||
# This is really a bundled jdk not a jre
|
||||
rm -R "${S}/jre" || die "Could not remove bundled jdk"
|
||||
|
||||
# Replace bundled jars with system
|
||||
# has problems with newer jdom:0 not updated to jdom:2
|
||||
cd "${S}/lib"
|
||||
local JARS="commons-logging log4j"
|
||||
local j
|
||||
for j in ${JARS}; do
|
||||
rm -v ${j/:*/}*.jar
|
||||
java-pkg_jar-from ${j}
|
||||
done
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
:
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local dir="/opt/${PN}"
|
||||
|
||||
insinto "${dir}"
|
||||
# Replaced bundled jre with system vm/jdk
|
||||
# This is really a bundled jdk not a jre
|
||||
doins -r *
|
||||
|
||||
rm -rf "${D}${dir}/jre" || die
|
||||
dosym "/etc/java-config-2/current-system-vm" "${dir}/jre"
|
||||
|
||||
fperms 755 "${dir}/bin/studio.sh" "${dir}"/bin/fsnotifier{,64}
|
||||
chmod 755 "${D}${dir}"/gradle/gradle-*/bin/gradle || die
|
||||
|
||||
newicon "bin/studio.png" "${PN}.png"
|
||||
make_wrapper ${PN} ${dir}/bin/studio.sh
|
||||
make_desktop_entry ${PN} "Android Studio" ${PN} "Development;IDE"
|
||||
}
|
@ -0,0 +1,202 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
CMAKE_REMOVE_MODULES="no"
|
||||
inherit bash-completion-r1 elisp-common toolchain-funcs eutils versionator cmake-utils virtualx flag-o-matic
|
||||
|
||||
MY_P="${P/_/-}"
|
||||
|
||||
DESCRIPTION="Cross platform Make"
|
||||
HOMEPAGE="http://www.cmake.org/"
|
||||
SRC_URI="http://www.cmake.org/files/v$(get_version_component_range 1-2)/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="CMake"
|
||||
SLOT="0"
|
||||
[[ "${PV}" = *_rc* ]] || \
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~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 ~x64-solaris ~x86-solaris"
|
||||
IUSE="doc emacs system-jsoncpp ncurses qt5"
|
||||
|
||||
RDEPEND="
|
||||
>=app-arch/libarchive-3.0.0:=
|
||||
>=dev-libs/expat-2.0.1
|
||||
>=dev-libs/libuv-1.0.0:=
|
||||
>=net-misc/curl-7.21.5[ssl]
|
||||
sys-libs/zlib
|
||||
virtual/pkgconfig
|
||||
emacs? ( virtual/emacs )
|
||||
ncurses? ( sys-libs/ncurses:0= )
|
||||
qt5? (
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtwidgets:5
|
||||
)
|
||||
system-jsoncpp? ( >=dev-libs/jsoncpp-0.6.0_rc2:0= )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( dev-python/sphinx )
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
PATCHES=(
|
||||
# prefix
|
||||
"${FILESDIR}"/${PN}-3.4.0_rc1-darwin-bundle.patch
|
||||
"${FILESDIR}"/${PN}-3.0.0-prefix-dirs.patch
|
||||
"${FILESDIR}"/${PN}-3.1.0-darwin-isysroot.patch
|
||||
|
||||
# handle gentoo packaging in find modules
|
||||
"${FILESDIR}"/${PN}-2.8.12.1-FindImageMagick.patch
|
||||
"${FILESDIR}"/${PN}-3.0.0-FindBLAS.patch
|
||||
"${FILESDIR}"/${PN}-3.0.0-FindBoost-python.patch
|
||||
"${FILESDIR}"/${PN}-3.0.2-FindLAPACK.patch
|
||||
"${FILESDIR}"/${PN}-3.5.2-FindQt4.patch
|
||||
|
||||
# respect python eclasses
|
||||
"${FILESDIR}"/${PN}-2.8.10.2-FindPythonLibs.patch
|
||||
"${FILESDIR}"/${PN}-3.1.0-FindPythonInterp.patch
|
||||
|
||||
# upstream fixes (can usually be removed with a version bump)
|
||||
|
||||
# testing 3.9 backports - bug #426936
|
||||
"${FILESDIR}"/${PN}-3.7.2-x32.patch
|
||||
)
|
||||
|
||||
cmake_src_bootstrap() {
|
||||
# Cleanup args to extract only JOBS.
|
||||
# Because bootstrap does not know anything else.
|
||||
echo ${MAKEOPTS} | egrep -o '(\-j|\-\-jobs)(=?|[[:space:]]*)[[:digit:]]+' > /dev/null
|
||||
if [ $? -eq 0 ]; then
|
||||
par_arg=$(echo ${MAKEOPTS} | egrep -o '(\-j|\-\-jobs)(=?|[[:space:]]*)[[:digit:]]+' | tail -n1 | egrep -o '[[:digit:]]+')
|
||||
par_arg="--parallel=${par_arg}"
|
||||
else
|
||||
par_arg="--parallel=1"
|
||||
fi
|
||||
|
||||
# disable running of cmake in boostrap command
|
||||
sed -i \
|
||||
-e '/"${cmake_bootstrap_dir}\/cmake"/s/^/#DONOTRUN /' \
|
||||
bootstrap || die "sed failed"
|
||||
|
||||
# execinfo.h on Solaris isn't quite what it is on Darwin
|
||||
if [[ ${CHOST} == *-solaris* ]] ; then
|
||||
sed -i -e 's/execinfo\.h/blablabla.h/' Source/kwsys/CMakeLists.txt || die
|
||||
fi
|
||||
|
||||
tc-export CC CXX LD
|
||||
|
||||
# bootstrap script isn't exactly /bin/sh compatible
|
||||
${CONFIG_SHELL:-sh} ./bootstrap \
|
||||
--prefix="${T}/cmakestrap/" \
|
||||
${par_arg} \
|
||||
|| die "Bootstrap failed"
|
||||
}
|
||||
|
||||
cmake_src_test() {
|
||||
# fix OutDir and SelectLibraryConfigurations tests
|
||||
# these are altered thanks to our eclass
|
||||
sed -i -e 's:#IGNORE ::g' \
|
||||
"${S}"/Tests/{OutDir,CMakeOnly/SelectLibraryConfigurations}/CMakeLists.txt \
|
||||
|| die
|
||||
|
||||
pushd "${BUILD_DIR}" > /dev/null
|
||||
|
||||
local ctestargs
|
||||
[[ -n ${TEST_VERBOSE} ]] && ctestargs="--extra-verbose --output-on-failure"
|
||||
|
||||
# Excluded tests:
|
||||
# BootstrapTest: we actualy bootstrap it every time so why test it.
|
||||
# BundleUtilities: bundle creation broken
|
||||
# CTest.updatecvs: which fails to commit as root
|
||||
# Fortran: requires fortran
|
||||
# Qt4Deploy, which tries to break sandbox and ignores prefix
|
||||
# Qt5Autogen, which breaks for unknown reason
|
||||
# TestUpload, which requires network access
|
||||
"${BUILD_DIR}"/bin/ctest ${ctestargs} \
|
||||
-E "(BootstrapTest|BundleUtilities|CTest.UpdateCVS|Fortran|Qt4Deploy|Qt5Autogen|TestUpload)" \
|
||||
|| die "Tests failed"
|
||||
|
||||
popd > /dev/null
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
cmake-utils_src_prepare
|
||||
|
||||
# Add gcc libs to the default link paths
|
||||
sed -i \
|
||||
-e "s|@GENTOO_PORTAGE_GCCLIBDIR@|${EPREFIX}/usr/${CHOST}/lib/|g" \
|
||||
-e "s|@GENTOO_PORTAGE_EPREFIX@|${EPREFIX}/|g" \
|
||||
Modules/Platform/{UnixPaths,Darwin}.cmake || die "sed failed"
|
||||
if ! has_version \>=${CATEGORY}/${PN}-3.4.0_rc1 ; then
|
||||
CMAKE_BINARY="${S}/Bootstrap.cmk/cmake"
|
||||
cmake_src_bootstrap
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Fix linking on Solaris
|
||||
[[ ${CHOST} == *-solaris* ]] && append-ldflags -lsocket -lnsl
|
||||
|
||||
local mycmakeargs=(
|
||||
-DCMAKE_USE_SYSTEM_LIBRARIES=ON
|
||||
-DCMAKE_USE_SYSTEM_LIBRARY_JSONCPP=$(usex system-jsoncpp)
|
||||
-DCMAKE_INSTALL_PREFIX="${EPREFIX}"/usr
|
||||
-DCMAKE_DOC_DIR=/share/doc/${PF}
|
||||
-DCMAKE_MAN_DIR=/share/man
|
||||
-DCMAKE_DATA_DIR=/share/${PN}
|
||||
-DSPHINX_MAN=$(usex doc)
|
||||
-DSPHINX_HTML=$(usex doc)
|
||||
-DBUILD_CursesDialog="$(usex ncurses)"
|
||||
)
|
||||
|
||||
if use qt5 ; then
|
||||
mycmakeargs+=(
|
||||
-DBUILD_QtDialog=ON
|
||||
$(cmake-utils_use_find_package qt5 Qt5Widgets)
|
||||
)
|
||||
fi
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake-utils_src_compile
|
||||
use emacs && elisp-compile Auxiliary/cmake-mode.el
|
||||
}
|
||||
|
||||
src_test() {
|
||||
virtx cmake_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
|
||||
if use emacs; then
|
||||
elisp-install ${PN} Auxiliary/cmake-mode.el Auxiliary/cmake-mode.elc
|
||||
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
|
||||
fi
|
||||
|
||||
insinto /usr/share/vim/vimfiles/syntax
|
||||
doins Auxiliary/vim/syntax/cmake.vim
|
||||
|
||||
insinto /usr/share/vim/vimfiles/indent
|
||||
doins Auxiliary/vim/indent/cmake.vim
|
||||
|
||||
insinto /usr/share/vim/vimfiles/ftdetect
|
||||
doins "${FILESDIR}/${PN}.vim"
|
||||
|
||||
dobashcomp Auxiliary/bash-completion/{${PN},ctest,cpack}
|
||||
|
||||
rm -r "${ED}"/usr/share/cmake/{completions,editors} || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
@ -0,0 +1,843 @@
|
||||
Backports from 3.9
|
||||
|
||||
Gentoo-bug: 426936
|
||||
|
||||
From 503f25d490e56dfc1d3dc894e1fc1bd3e7e89e81 Mon Sep 17 00:00:00 2001
|
||||
From: Christian Schmidbauer <ch.schmidbauer@gmail.com>
|
||||
Date: Sat, 25 Feb 2017 19:47:49 +0100
|
||||
Subject: [PATCH] find_library: Allow custom lib suffix be used as find path
|
||||
|
||||
Add a new `CMAKE_FIND_LIBRARY_CUSTOM_LIB_SUFFIX` variable to allow use
|
||||
of a custom suffix on `lib` directory names. This is a more general
|
||||
option than that added by commit v3.7.0-rc1~504^2 (Teach find_library
|
||||
and find_package to search lib32 paths, 2016-06-10). It allows the find
|
||||
path to be more deterministic on custom setups.
|
||||
|
||||
See discussion in #10287 and #15994.
|
||||
---
|
||||
Help/command/find_library.rst | 7 ++++++
|
||||
Help/manual/cmake-variables.7.rst | 1 +
|
||||
Help/prop_gbl/FIND_LIBRARY_USE_LIB32_PATHS.rst | 2 ++
|
||||
Help/prop_gbl/FIND_LIBRARY_USE_LIB64_PATHS.rst | 2 ++
|
||||
.../release/dev/find_library-custom-lib-suffix.rst | 6 +++++
|
||||
.../CMAKE_FIND_LIBRARY_CUSTOM_LIB_SUFFIX.rst | 11 +++++++++
|
||||
Source/cmFindLibraryCommand.cxx | 28 ++++++++++++----------
|
||||
Tests/CMakeOnly/find_library/CMakeLists.txt | 15 +++++++++++-
|
||||
.../CMakeOnly/find_library/lib/A/libXYZ/libtest2.a | 0
|
||||
Tests/CMakeOnly/find_library/lib/XYZ/libtest1.a | 0
|
||||
.../CMakeOnly/find_library/libXYZ/A/lib/libtest4.a | 0
|
||||
.../find_library/libXYZ/A/libXYZ/libtest5.a | 0
|
||||
Tests/CMakeOnly/find_library/libXYZ/A/libtest6.a | 0
|
||||
Tests/CMakeOnly/find_library/libXYZ/libtest7.a | 0
|
||||
14 files changed, 58 insertions(+), 14 deletions(-)
|
||||
create mode 100644 Help/release/dev/find_library-custom-lib-suffix.rst
|
||||
create mode 100644 Help/variable/CMAKE_FIND_LIBRARY_CUSTOM_LIB_SUFFIX.rst
|
||||
create mode 100644 Tests/CMakeOnly/find_library/lib/A/libXYZ/libtest2.a
|
||||
create mode 100644 Tests/CMakeOnly/find_library/lib/XYZ/libtest1.a
|
||||
create mode 100644 Tests/CMakeOnly/find_library/libXYZ/A/lib/libtest4.a
|
||||
create mode 100644 Tests/CMakeOnly/find_library/libXYZ/A/libXYZ/libtest5.a
|
||||
create mode 100644 Tests/CMakeOnly/find_library/libXYZ/A/libtest6.a
|
||||
create mode 100644 Tests/CMakeOnly/find_library/libXYZ/libtest7.a
|
||||
|
||||
diff --git a/Help/command/find_library.rst b/Help/command/find_library.rst
|
||||
index 1eb50f7..e912040 100644
|
||||
--- a/Help/command/find_library.rst
|
||||
+++ b/Help/command/find_library.rst
|
||||
@@ -49,6 +49,13 @@ path to the framework ``<fullPath>/A.framework``. When a full path to a
|
||||
framework is used as a library, CMake will use a ``-framework A``, and a
|
||||
``-F<fullPath>`` to link the framework to the target.
|
||||
|
||||
+If the :variable:`CMAKE_FIND_LIBRARY_CUSTOM_LIB_SUFFIX` variable is set all
|
||||
+search paths will be tested as normal, with the suffix appended, and with
|
||||
+all matches of ``lib/`` replaced with
|
||||
+``lib${CMAKE_FIND_LIBRARY_CUSTOM_LIB_SUFFIX}/``. This variable overrides
|
||||
+the :prop_gbl:`FIND_LIBRARY_USE_LIB32_PATHS`
|
||||
+and :prop_gbl:`FIND_LIBRARY_USE_LIB64_PATHS` global properties.
|
||||
+
|
||||
If the :prop_gbl:`FIND_LIBRARY_USE_LIB32_PATHS` global property is set
|
||||
all search paths will be tested as normal, with ``32/`` appended, and
|
||||
with all matches of ``lib/`` replaced with ``lib32/``. This property is
|
||||
diff --git a/Help/manual/cmake-variables.7.rst b/Help/manual/cmake-variables.7.rst
|
||||
index 259d87b..a25efe7 100644
|
||||
--- a/Help/manual/cmake-variables.7.rst
|
||||
+++ b/Help/manual/cmake-variables.7.rst
|
||||
@@ -130,6 +130,7 @@ Variables that Change Behavior
|
||||
/variable/CMAKE_SYSROOT
|
||||
/variable/CMAKE_FIND_APPBUNDLE
|
||||
/variable/CMAKE_FIND_FRAMEWORK
|
||||
+ /variable/CMAKE_FIND_LIBRARY_CUSTOM_LIB_SUFFIX
|
||||
/variable/CMAKE_FIND_LIBRARY_PREFIXES
|
||||
/variable/CMAKE_FIND_LIBRARY_SUFFIXES
|
||||
/variable/CMAKE_FIND_NO_INSTALL_PREFIX
|
||||
diff --git a/Help/prop_gbl/FIND_LIBRARY_USE_LIB32_PATHS.rst b/Help/prop_gbl/FIND_LIBRARY_USE_LIB32_PATHS.rst
|
||||
index ce18b65..8396026 100644
|
||||
--- a/Help/prop_gbl/FIND_LIBRARY_USE_LIB32_PATHS.rst
|
||||
+++ b/Help/prop_gbl/FIND_LIBRARY_USE_LIB32_PATHS.rst
|
||||
@@ -8,3 +8,5 @@ Whether the :command:`find_library` command should automatically search
|
||||
:command:`find_library` command should automatically search the ``lib32``
|
||||
variant of directories called ``lib`` in the search path when building 32-bit
|
||||
binaries.
|
||||
+
|
||||
+See also the :variable:`CMAKE_FIND_LIBRARY_CUSTOM_LIB_SUFFIX` variable.
|
||||
diff --git a/Help/prop_gbl/FIND_LIBRARY_USE_LIB64_PATHS.rst b/Help/prop_gbl/FIND_LIBRARY_USE_LIB64_PATHS.rst
|
||||
index e52f8eb..ed343ba 100644
|
||||
--- a/Help/prop_gbl/FIND_LIBRARY_USE_LIB64_PATHS.rst
|
||||
+++ b/Help/prop_gbl/FIND_LIBRARY_USE_LIB64_PATHS.rst
|
||||
@@ -8,3 +8,5 @@ FIND_LIBRARY_USE_LIB64_PATHS is a boolean specifying whether the
|
||||
:command:`find_library` command should automatically search the lib64
|
||||
variant of directories called lib in the search path when building
|
||||
64-bit binaries.
|
||||
+
|
||||
+See also the :variable:`CMAKE_FIND_LIBRARY_CUSTOM_LIB_SUFFIX` variable.
|
||||
diff --git a/Help/release/dev/find_library-custom-lib-suffix.rst b/Help/release/dev/find_library-custom-lib-suffix.rst
|
||||
new file mode 100644
|
||||
index 0000000..824b27e
|
||||
--- /dev/null
|
||||
+++ b/Help/release/dev/find_library-custom-lib-suffix.rst
|
||||
@@ -0,0 +1,6 @@
|
||||
+find_library-custom-lib-suffix
|
||||
+------------------------------
|
||||
+
|
||||
+* A :variable:`CMAKE_FIND_LIBRARY_CUSTOM_LIB_SUFFIX` variable was added to
|
||||
+ tell the :command:`find_library` command to search in a ``lib<suffix>``
|
||||
+ directory before each ``lib`` directory that would normally be searched.
|
||||
diff --git a/Help/variable/CMAKE_FIND_LIBRARY_CUSTOM_LIB_SUFFIX.rst b/Help/variable/CMAKE_FIND_LIBRARY_CUSTOM_LIB_SUFFIX.rst
|
||||
new file mode 100644
|
||||
index 0000000..f7c6524
|
||||
--- /dev/null
|
||||
+++ b/Help/variable/CMAKE_FIND_LIBRARY_CUSTOM_LIB_SUFFIX.rst
|
||||
@@ -0,0 +1,11 @@
|
||||
+CMAKE_FIND_LIBRARY_CUSTOM_LIB_SUFFIX
|
||||
+------------------------------------
|
||||
+
|
||||
+Specify a ``<suffix>`` to tell the :command:`find_library` command to
|
||||
+search in a ``lib<suffix>`` directory before each ``lib`` directory that
|
||||
+would normally be searched.
|
||||
+
|
||||
+This overrides the behavior of related global properties:
|
||||
+
|
||||
+* :prop_gbl:`FIND_LIBRARY_USE_LIB32_PATHS`
|
||||
+* :prop_gbl:`FIND_LIBRARY_USE_LIB64_PATHS`
|
||||
diff --git a/Source/cmFindLibraryCommand.cxx b/Source/cmFindLibraryCommand.cxx
|
||||
index 2feedf3..c506d66 100644
|
||||
--- a/Source/cmFindLibraryCommand.cxx
|
||||
+++ b/Source/cmFindLibraryCommand.cxx
|
||||
@@ -43,20 +43,22 @@ bool cmFindLibraryCommand::InitialPass(std::vector<std::string> const& argsIn,
|
||||
return true;
|
||||
}
|
||||
|
||||
- if (this->Makefile->GetState()->GetGlobalPropertyAsBool(
|
||||
- "FIND_LIBRARY_USE_LIB32_PATHS")) {
|
||||
- // add special 32 bit paths if this is a 32 bit compile.
|
||||
- if (this->Makefile->PlatformIs32Bit()) {
|
||||
- this->AddArchitecturePaths("32");
|
||||
- }
|
||||
+ // add custom lib<qual> paths instead of using fixed lib32 or lib64
|
||||
+ if (const char* customLib = this->Makefile->GetDefinition(
|
||||
+ "CMAKE_FIND_LIBRARY_CUSTOM_LIB_SUFFIX")) {
|
||||
+ this->AddArchitecturePaths(customLib);
|
||||
}
|
||||
-
|
||||
- if (this->Makefile->GetState()->GetGlobalPropertyAsBool(
|
||||
- "FIND_LIBRARY_USE_LIB64_PATHS")) {
|
||||
- // add special 64 bit paths if this is a 64 bit compile.
|
||||
- if (this->Makefile->PlatformIs64Bit()) {
|
||||
- this->AddArchitecturePaths("64");
|
||||
- }
|
||||
+ // add special 32 bit paths if this is a 32 bit compile.
|
||||
+ else if (this->Makefile->PlatformIs32Bit() &&
|
||||
+ this->Makefile->GetState()->GetGlobalPropertyAsBool(
|
||||
+ "FIND_LIBRARY_USE_LIB32_PATHS")) {
|
||||
+ this->AddArchitecturePaths("32");
|
||||
+ }
|
||||
+ // add special 64 bit paths if this is a 64 bit compile.
|
||||
+ else if (this->Makefile->PlatformIs64Bit() &&
|
||||
+ this->Makefile->GetState()->GetGlobalPropertyAsBool(
|
||||
+ "FIND_LIBRARY_USE_LIB64_PATHS")) {
|
||||
+ this->AddArchitecturePaths("64");
|
||||
}
|
||||
|
||||
std::string library = this->FindLibrary();
|
||||
diff --git a/Tests/CMakeOnly/find_library/CMakeLists.txt b/Tests/CMakeOnly/find_library/CMakeLists.txt
|
||||
index 9958650..9c1aad8 100644
|
||||
--- a/Tests/CMakeOnly/find_library/CMakeLists.txt
|
||||
+++ b/Tests/CMakeOnly/find_library/CMakeLists.txt
|
||||
@@ -24,7 +24,7 @@ endmacro()
|
||||
macro(test_find_library_subst expected)
|
||||
get_filename_component(dir ${expected} PATH)
|
||||
get_filename_component(name ${expected} NAME)
|
||||
- string(REGEX REPLACE "lib/?64" "lib" dir "${dir}")
|
||||
+ string(REGEX REPLACE "lib/?[36X][24Y][Z]*" "lib" dir "${dir}")
|
||||
test_find_library(", searched as ${dir}" "${expected}"
|
||||
NAMES ${name}
|
||||
PATHS ${CMAKE_CURRENT_SOURCE_DIR}/${dir}
|
||||
@@ -79,3 +79,16 @@ test_find_library("" A/libtestA.a
|
||||
NAMES testB testA NAMES_PER_DIR
|
||||
PATHS ${CMAKE_CURRENT_SOURCE_DIR}/A ${CMAKE_CURRENT_SOURCE_DIR}/B
|
||||
)
|
||||
+
|
||||
+set(CMAKE_FIND_LIBRARY_CUSTOM_LIB_SUFFIX "XYZ")
|
||||
+foreach(libXYZ
|
||||
+ lib/XYZ/libtest1.a
|
||||
+ lib/A/libXYZ/libtest2.a
|
||||
+ lib/libtest3.a
|
||||
+ libXYZ/A/lib/libtest4.a
|
||||
+ libXYZ/A/libXYZ/libtest5.a
|
||||
+ libXYZ/A/libtest6.a
|
||||
+ libXYZ/libtest7.a
|
||||
+ )
|
||||
+ test_find_library_subst(${libXYZ})
|
||||
+endforeach()
|
||||
diff --git a/Tests/CMakeOnly/find_library/lib/A/libXYZ/libtest2.a b/Tests/CMakeOnly/find_library/lib/A/libXYZ/libtest2.a
|
||||
new file mode 100644
|
||||
index 0000000..e69de29
|
||||
diff --git a/Tests/CMakeOnly/find_library/lib/XYZ/libtest1.a b/Tests/CMakeOnly/find_library/lib/XYZ/libtest1.a
|
||||
new file mode 100644
|
||||
index 0000000..e69de29
|
||||
diff --git a/Tests/CMakeOnly/find_library/libXYZ/A/lib/libtest4.a b/Tests/CMakeOnly/find_library/libXYZ/A/lib/libtest4.a
|
||||
new file mode 100644
|
||||
index 0000000..e69de29
|
||||
diff --git a/Tests/CMakeOnly/find_library/libXYZ/A/libXYZ/libtest5.a b/Tests/CMakeOnly/find_library/libXYZ/A/libXYZ/libtest5.a
|
||||
new file mode 100644
|
||||
index 0000000..e69de29
|
||||
diff --git a/Tests/CMakeOnly/find_library/libXYZ/A/libtest6.a b/Tests/CMakeOnly/find_library/libXYZ/A/libtest6.a
|
||||
new file mode 100644
|
||||
index 0000000..e69de29
|
||||
diff --git a/Tests/CMakeOnly/find_library/libXYZ/libtest7.a b/Tests/CMakeOnly/find_library/libXYZ/libtest7.a
|
||||
new file mode 100644
|
||||
index 0000000..e69de29
|
||||
--
|
||||
2.10.2
|
||||
|
||||
From 462cf254270fbd56bffc73b00dc28882fdb0bdd6 Mon Sep 17 00:00:00 2001
|
||||
From: Steven Newbury <steve@snewbury.org.uk>
|
||||
Date: Mon, 27 Feb 2017 21:06:51 +0000
|
||||
Subject: [PATCH 1/4] Add support for x32-abi
|
||||
|
||||
Detect x32-abi through CMakeCompilerABI infrastruture and use this
|
||||
information at runtime to determine the correct library paths with
|
||||
`FIND_LIBRARY_USE_LIBX32_PATHS`.
|
||||
|
||||
Fixes: #15994
|
||||
---
|
||||
Help/command/find_library.rst | 10 +++++++++-
|
||||
Help/manual/cmake-properties.7.rst | 1 +
|
||||
Help/prop_gbl/FIND_LIBRARY_USE_LIBX32_PATHS.rst | 12 ++++++++++++
|
||||
Help/variable/CMAKE_FIND_LIBRARY_CUSTOM_LIB_SUFFIX.rst | 1 +
|
||||
Modules/CMakeCompilerABI.h | 4 ++++
|
||||
Modules/FindPkgConfig.cmake | 4 ++++
|
||||
Modules/Platform/UnixPaths.cmake | 1 +
|
||||
Source/cmExportInstallFileGenerator.cxx | 4 +++-
|
||||
Source/cmFindLibraryCommand.cxx | 9 ++++++++-
|
||||
Source/cmFindPackageCommand.cxx | 11 +++++++++++
|
||||
Source/cmFindPackageCommand.h | 1 +
|
||||
Source/cmMakefile.cxx | 17 +++++++++++++++++
|
||||
Source/cmMakefile.h | 2 ++
|
||||
13 files changed, 74 insertions(+), 3 deletions(-)
|
||||
create mode 100644 Help/prop_gbl/FIND_LIBRARY_USE_LIBX32_PATHS.rst
|
||||
|
||||
diff --git a/Help/command/find_library.rst b/Help/command/find_library.rst
|
||||
index e912040..f774f17 100644
|
||||
--- a/Help/command/find_library.rst
|
||||
+++ b/Help/command/find_library.rst
|
||||
@@ -53,7 +53,8 @@ If the :variable:`CMAKE_FIND_LIBRARY_CUSTOM_LIB_SUFFIX` variable is set all
|
||||
search paths will be tested as normal, with the suffix appended, and with
|
||||
all matches of ``lib/`` replaced with
|
||||
``lib${CMAKE_FIND_LIBRARY_CUSTOM_LIB_SUFFIX}/``. This variable overrides
|
||||
-the :prop_gbl:`FIND_LIBRARY_USE_LIB32_PATHS`
|
||||
+the :prop_gbl:`FIND_LIBRARY_USE_LIB32_PATHS`,
|
||||
+:prop_gbl:`FIND_LIBRARY_USE_LIBX32_PATHS`,
|
||||
and :prop_gbl:`FIND_LIBRARY_USE_LIB64_PATHS` global properties.
|
||||
|
||||
If the :prop_gbl:`FIND_LIBRARY_USE_LIB32_PATHS` global property is set
|
||||
@@ -63,6 +64,13 @@ automatically set for the platforms that are known to need it if at
|
||||
least one of the languages supported by the :command:`project` command
|
||||
is enabled.
|
||||
|
||||
+If the :prop_gbl:`FIND_LIBRARY_USE_LIBX32_PATHS` global property is set
|
||||
+all search paths will be tested as normal, with ``x32/`` appended, and
|
||||
+with all matches of ``lib/`` replaced with ``libx32/``. This property is
|
||||
+automatically set for the platforms that are known to need it if at
|
||||
+least one of the languages supported by the :command:`project` command
|
||||
+is enabled.
|
||||
+
|
||||
If the :prop_gbl:`FIND_LIBRARY_USE_LIB64_PATHS` global property is set
|
||||
all search paths will be tested as normal, with ``64/`` appended, and
|
||||
with all matches of ``lib/`` replaced with ``lib64/``. This property is
|
||||
diff --git a/Help/manual/cmake-properties.7.rst b/Help/manual/cmake-properties.7.rst
|
||||
index 5bd6365..2157ba5 100644
|
||||
--- a/Help/manual/cmake-properties.7.rst
|
||||
+++ b/Help/manual/cmake-properties.7.rst
|
||||
@@ -26,6 +26,7 @@ Properties of Global Scope
|
||||
/prop_gbl/ENABLED_LANGUAGES
|
||||
/prop_gbl/FIND_LIBRARY_USE_LIB32_PATHS
|
||||
/prop_gbl/FIND_LIBRARY_USE_LIB64_PATHS
|
||||
+ /prop_gbl/FIND_LIBRARY_USE_LIBX32_PATHS
|
||||
/prop_gbl/FIND_LIBRARY_USE_OPENBSD_VERSIONING
|
||||
/prop_gbl/GLOBAL_DEPENDS_DEBUG_MODE
|
||||
/prop_gbl/GLOBAL_DEPENDS_NO_CYCLES
|
||||
diff --git a/Help/prop_gbl/FIND_LIBRARY_USE_LIBX32_PATHS.rst b/Help/prop_gbl/FIND_LIBRARY_USE_LIBX32_PATHS.rst
|
||||
new file mode 100644
|
||||
index 0000000..b87b09b
|
||||
--- /dev/null
|
||||
+++ b/Help/prop_gbl/FIND_LIBRARY_USE_LIBX32_PATHS.rst
|
||||
@@ -0,0 +1,12 @@
|
||||
+FIND_LIBRARY_USE_LIBX32_PATHS
|
||||
+-----------------------------
|
||||
+
|
||||
+Whether the :command:`find_library` command should automatically search
|
||||
+``libx32`` directories.
|
||||
+
|
||||
+``FIND_LIBRARY_USE_LIBX32_PATHS`` is a boolean specifying whether the
|
||||
+:command:`find_library` command should automatically search the ``libx32``
|
||||
+variant of directories called ``lib`` in the search path when building
|
||||
+x32-abi binaries.
|
||||
+
|
||||
+See also the :variable:`CMAKE_FIND_LIBRARY_CUSTOM_LIB_SUFFIX` variable.
|
||||
diff --git a/Help/variable/CMAKE_FIND_LIBRARY_CUSTOM_LIB_SUFFIX.rst b/Help/variable/CMAKE_FIND_LIBRARY_CUSTOM_LIB_SUFFIX.rst
|
||||
index f7c6524..ada8955 100644
|
||||
--- a/Help/variable/CMAKE_FIND_LIBRARY_CUSTOM_LIB_SUFFIX.rst
|
||||
+++ b/Help/variable/CMAKE_FIND_LIBRARY_CUSTOM_LIB_SUFFIX.rst
|
||||
@@ -9,3 +9,4 @@ This overrides the behavior of related global properties:
|
||||
|
||||
* :prop_gbl:`FIND_LIBRARY_USE_LIB32_PATHS`
|
||||
* :prop_gbl:`FIND_LIBRARY_USE_LIB64_PATHS`
|
||||
+* :prop_gbl:`FIND_LIBRARY_USE_LIBX32_PATHS`
|
||||
diff --git a/Modules/CMakeCompilerABI.h b/Modules/CMakeCompilerABI.h
|
||||
index f2714b4..ad481d6 100644
|
||||
--- a/Modules/CMakeCompilerABI.h
|
||||
+++ b/Modules/CMakeCompilerABI.h
|
||||
@@ -25,6 +25,10 @@ const char info_sizeof_dptr[] = {
|
||||
#elif defined(__GNU__) && defined(__ELF__) && defined(__ARMEL__)
|
||||
#define ABI_ID "ELF ARM"
|
||||
|
||||
+#elif defined(__linux__) && defined(__ELF__) && defined(__amd64__) && \
|
||||
+ defined(__ILP32__)
|
||||
+#define ABI_ID "ELF X32"
|
||||
+
|
||||
#elif defined(__ELF__)
|
||||
#define ABI_ID "ELF"
|
||||
#endif
|
||||
diff --git a/Modules/FindPkgConfig.cmake b/Modules/FindPkgConfig.cmake
|
||||
index a69081f..54572f0 100644
|
||||
--- a/Modules/FindPkgConfig.cmake
|
||||
+++ b/Modules/FindPkgConfig.cmake
|
||||
@@ -312,6 +312,10 @@ macro(_pkg_check_modules_internal _is_required _is_silent _no_cmake_path _no_cma
|
||||
if(uselib64 AND CMAKE_SIZEOF_VOID_P EQUAL 8)
|
||||
list(APPEND _lib_dirs "lib64/pkgconfig")
|
||||
endif()
|
||||
+ get_property(uselibx32 GLOBAL PROPERTY FIND_LIBRARY_USE_LIBX32_PATHS)
|
||||
+ if(uselibx32 AND CMAKE_INTERNAL_PLATFORM_ABI STREQUAL "ELF X32")
|
||||
+ list(APPEND _lib_dirs "libx32/pkgconfig")
|
||||
+ endif()
|
||||
endif()
|
||||
endif()
|
||||
list(APPEND _lib_dirs "lib/pkgconfig")
|
||||
diff --git a/Modules/Platform/UnixPaths.cmake b/Modules/Platform/UnixPaths.cmake
|
||||
index b216d03..c1d2c03 100644
|
||||
--- a/Modules/Platform/UnixPaths.cmake
|
||||
+++ b/Modules/Platform/UnixPaths.cmake
|
||||
@@ -86,3 +86,4 @@ list(APPEND CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES
|
||||
# Enable use of lib32 and lib64 search path variants by default.
|
||||
set_property(GLOBAL PROPERTY FIND_LIBRARY_USE_LIB32_PATHS TRUE)
|
||||
set_property(GLOBAL PROPERTY FIND_LIBRARY_USE_LIB64_PATHS TRUE)
|
||||
+set_property(GLOBAL PROPERTY FIND_LIBRARY_USE_LIBX32_PATHS TRUE)
|
||||
diff --git a/Source/cmExportInstallFileGenerator.cxx b/Source/cmExportInstallFileGenerator.cxx
|
||||
index 64ea3c8..3b76a87 100644
|
||||
--- a/Source/cmExportInstallFileGenerator.cxx
|
||||
+++ b/Source/cmExportInstallFileGenerator.cxx
|
||||
@@ -195,8 +195,10 @@ void cmExportInstallFileGenerator::GenerateImportPrefix(std::ostream& os)
|
||||
<< " \"${CMAKE_CURRENT_LIST_FILE}\" PATH)\n";
|
||||
if (cmHasLiteralPrefix(absDestS.c_str(), "/lib/") ||
|
||||
cmHasLiteralPrefix(absDestS.c_str(), "/lib64/") ||
|
||||
+ cmHasLiteralPrefix(absDestS.c_str(), "/libx32/") ||
|
||||
cmHasLiteralPrefix(absDestS.c_str(), "/usr/lib/") ||
|
||||
- cmHasLiteralPrefix(absDestS.c_str(), "/usr/lib64/")) {
|
||||
+ cmHasLiteralPrefix(absDestS.c_str(), "/usr/lib64/") ||
|
||||
+ cmHasLiteralPrefix(absDestS.c_str(), "/usr/libx32/")) {
|
||||
// Handle "/usr move" symlinks created by some Linux distros.
|
||||
/* clang-format off */
|
||||
os <<
|
||||
diff --git a/Source/cmFindLibraryCommand.cxx b/Source/cmFindLibraryCommand.cxx
|
||||
index 69f9078..e92d672 100644
|
||||
--- a/Source/cmFindLibraryCommand.cxx
|
||||
+++ b/Source/cmFindLibraryCommand.cxx
|
||||
@@ -43,7 +43,8 @@ bool cmFindLibraryCommand::InitialPass(std::vector<std::string> const& argsIn,
|
||||
return true;
|
||||
}
|
||||
|
||||
- // add custom lib<qual> paths instead of using fixed lib32 or lib64
|
||||
+ // add custom lib<qual> paths instead of using fixed lib32, lib64 or
|
||||
+ // libx32
|
||||
if (const char* customLib = this->Makefile->GetDefinition(
|
||||
"CMAKE_FIND_LIBRARY_CUSTOM_LIB_SUFFIX")) {
|
||||
this->AddArchitecturePaths(customLib);
|
||||
@@ -60,6 +61,12 @@ bool cmFindLibraryCommand::InitialPass(std::vector<std::string> const& argsIn,
|
||||
"FIND_LIBRARY_USE_LIB64_PATHS")) {
|
||||
this->AddArchitecturePaths("64");
|
||||
}
|
||||
+ // add special 32 bit paths if this is an x32 compile.
|
||||
+ else if (this->Makefile->PlatformIsx32() &&
|
||||
+ this->Makefile->GetState()->GetGlobalPropertyAsBool(
|
||||
+ "FIND_LIBRARY_USE_LIBX32_PATHS")) {
|
||||
+ this->AddArchitecturePaths("x32");
|
||||
+ }
|
||||
|
||||
std::string library = this->FindLibrary();
|
||||
if (library != "") {
|
||||
diff --git a/Source/cmFindPackageCommand.cxx b/Source/cmFindPackageCommand.cxx
|
||||
index 60de74f..4b29837 100644
|
||||
--- a/Source/cmFindPackageCommand.cxx
|
||||
+++ b/Source/cmFindPackageCommand.cxx
|
||||
@@ -92,6 +92,7 @@ cmFindPackageCommand::cmFindPackageCommand()
|
||||
this->DebugMode = false;
|
||||
this->UseLib32Paths = false;
|
||||
this->UseLib64Paths = false;
|
||||
+ this->UseLibx32Paths = false;
|
||||
this->PolicyScope = true;
|
||||
this->VersionMajor = 0;
|
||||
this->VersionMinor = 0;
|
||||
@@ -173,6 +174,13 @@ bool cmFindPackageCommand::InitialPass(std::vector<std::string> const& args,
|
||||
this->UseLib64Paths = true;
|
||||
}
|
||||
|
||||
+ // Lookup whether libx32 paths should be used.
|
||||
+ if (this->Makefile->PlatformIsx32() &&
|
||||
+ this->Makefile->GetState()->GetGlobalPropertyAsBool(
|
||||
+ "FIND_LIBRARY_USE_LIBX32_PATHS")) {
|
||||
+ this->UseLibx32Paths = true;
|
||||
+ }
|
||||
+
|
||||
// Check if User Package Registry should be disabled
|
||||
if (this->Makefile->IsOn("CMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY")) {
|
||||
this->NoUserRegistry = true;
|
||||
@@ -2002,6 +2010,9 @@ bool cmFindPackageCommand::SearchPrefix(std::string const& prefix_in)
|
||||
if (this->UseLib64Paths) {
|
||||
common.push_back("lib64");
|
||||
}
|
||||
+ if (this->UseLibx32Paths) {
|
||||
+ common.push_back("libx32");
|
||||
+ }
|
||||
common.push_back("lib");
|
||||
common.push_back("share");
|
||||
|
||||
diff --git a/Source/cmFindPackageCommand.h b/Source/cmFindPackageCommand.h
|
||||
index d454892..61a8dd6 100644
|
||||
--- a/Source/cmFindPackageCommand.h
|
||||
+++ b/Source/cmFindPackageCommand.h
|
||||
@@ -169,6 +169,7 @@ private:
|
||||
bool DebugMode;
|
||||
bool UseLib32Paths;
|
||||
bool UseLib64Paths;
|
||||
+ bool UseLibx32Paths;
|
||||
bool PolicyScope;
|
||||
std::string LibraryArchitecture;
|
||||
std::vector<std::string> Names;
|
||||
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
|
||||
index c75d101..da32dd7 100644
|
||||
--- a/Source/cmMakefile.cxx
|
||||
+++ b/Source/cmMakefile.cxx
|
||||
@@ -2149,6 +2149,12 @@ bool cmMakefile::IsSet(const std::string& name) const
|
||||
|
||||
bool cmMakefile::PlatformIs32Bit() const
|
||||
{
|
||||
+ if (const char* plat_abi =
|
||||
+ this->GetDefinition("CMAKE_INTERNAL_PLATFORM_ABI")) {
|
||||
+ if (strcmp(plat_abi, "ELF X32") == 0) {
|
||||
+ return false;
|
||||
+ }
|
||||
+ }
|
||||
if (const char* sizeof_dptr = this->GetDefinition("CMAKE_SIZEOF_VOID_P")) {
|
||||
return atoi(sizeof_dptr) == 4;
|
||||
}
|
||||
@@ -2163,6 +2169,17 @@ bool cmMakefile::PlatformIs64Bit() const
|
||||
return false;
|
||||
}
|
||||
|
||||
+bool cmMakefile::PlatformIsx32() const
|
||||
+{
|
||||
+ if (const char* plat_abi =
|
||||
+ this->GetDefinition("CMAKE_INTERNAL_PLATFORM_ABI")) {
|
||||
+ if (strcmp(plat_abi, "ELF X32") == 0) {
|
||||
+ return true;
|
||||
+ }
|
||||
+ }
|
||||
+ return false;
|
||||
+}
|
||||
+
|
||||
bool cmMakefile::PlatformIsAppleIos() const
|
||||
{
|
||||
std::string sdkRoot;
|
||||
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
|
||||
index 4d5ce98..4e48c88 100644
|
||||
--- a/Source/cmMakefile.h
|
||||
+++ b/Source/cmMakefile.h
|
||||
@@ -436,6 +436,8 @@ public:
|
||||
|
||||
/** Return whether the target platform is 64-bit. */
|
||||
bool PlatformIs64Bit() const;
|
||||
+ /** Return whether the target platform is x32. */
|
||||
+ bool PlatformIsx32() const;
|
||||
|
||||
/** Return whether the target platform is Apple iOS. */
|
||||
bool PlatformIsAppleIos() const;
|
||||
--
|
||||
2.10.2
|
||||
|
||||
|
||||
From bed9c73decfcda0366984d990045e588928440ec Mon Sep 17 00:00:00 2001
|
||||
From: Steven Newbury <steve@snewbury.org.uk>
|
||||
Date: Mon, 27 Feb 2017 21:17:28 +0000
|
||||
Subject: [PATCH 2/4] Modules: Add x32-abi support to hard-coded paths
|
||||
|
||||
Update hard-coded library paths in bundled CMake Modules for libx32 as
|
||||
used with x32-abi.
|
||||
---
|
||||
Modules/CPackRPM.cmake | 2 +-
|
||||
Modules/FindDevIL.cmake | 6 +++---
|
||||
Modules/FindGLEW.cmake | 2 +-
|
||||
Modules/FindGTK2.cmake | 2 ++
|
||||
Modules/FindIce.cmake | 2 +-
|
||||
Modules/FindKDE3.cmake | 2 ++
|
||||
Modules/FindOpenAL.cmake | 2 +-
|
||||
Modules/GetPrerequisites.cmake | 2 +-
|
||||
8 files changed, 12 insertions(+), 8 deletions(-)
|
||||
|
||||
diff --git a/Modules/CPackRPM.cmake b/Modules/CPackRPM.cmake
|
||||
index 722ee15..b32feb5 100644
|
||||
--- a/Modules/CPackRPM.cmake
|
||||
+++ b/Modules/CPackRPM.cmake
|
||||
@@ -1044,7 +1044,7 @@ function(cpack_rpm_prepare_content_list)
|
||||
endif()
|
||||
|
||||
if(NOT DEFINED CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST)
|
||||
- set(CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST /etc /etc/init.d /usr /usr/share /usr/share/doc /usr/bin /usr/lib /usr/lib64 /usr/include)
|
||||
+ set(CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST /etc /etc/init.d /usr /usr/share /usr/share/doc /usr/bin /usr/lib /usr/lib64 /usr/libx32 /usr/include)
|
||||
if(CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION)
|
||||
if(CPACK_RPM_PACKAGE_DEBUG)
|
||||
message("CPackRPM:Debug: Adding ${CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION} to builtin omit list.")
|
||||
diff --git a/Modules/FindDevIL.cmake b/Modules/FindDevIL.cmake
|
||||
index 45fab82..4b868a2 100644
|
||||
--- a/Modules/FindDevIL.cmake
|
||||
+++ b/Modules/FindDevIL.cmake
|
||||
@@ -45,7 +45,7 @@ find_path(IL_INCLUDE_DIR il.h
|
||||
|
||||
find_library(IL_LIBRARIES
|
||||
NAMES IL DEVIL
|
||||
- PATH_SUFFIXES lib64 lib lib32
|
||||
+ PATH_SUFFIXES libx32 lib64 lib lib32
|
||||
DOC "The file that corresponds to the base il library."
|
||||
)
|
||||
|
||||
@@ -53,7 +53,7 @@ find_library(IL_LIBRARIES
|
||||
|
||||
find_library(ILUT_LIBRARIES
|
||||
NAMES ILUT
|
||||
- PATH_SUFFIXES lib64 lib lib32
|
||||
+ PATH_SUFFIXES libx32 lib64 lib lib32
|
||||
DOC "The file that corresponds to the il (system?) utility library."
|
||||
)
|
||||
|
||||
@@ -61,7 +61,7 @@ find_library(ILUT_LIBRARIES
|
||||
|
||||
find_library(ILU_LIBRARIES
|
||||
NAMES ILU
|
||||
- PATH_SUFFIXES lib64 lib lib32
|
||||
+ PATH_SUFFIXES libx32 lib64 lib lib32
|
||||
DOC "The file that corresponds to the il utility library."
|
||||
)
|
||||
|
||||
diff --git a/Modules/FindGLEW.cmake b/Modules/FindGLEW.cmake
|
||||
index d8609e6..11e8724 100644
|
||||
--- a/Modules/FindGLEW.cmake
|
||||
+++ b/Modules/FindGLEW.cmake
|
||||
@@ -27,7 +27,7 @@
|
||||
find_path(GLEW_INCLUDE_DIR GL/glew.h)
|
||||
|
||||
if(NOT GLEW_LIBRARY)
|
||||
- find_library(GLEW_LIBRARY_RELEASE NAMES GLEW glew32 glew glew32s PATH_SUFFIXES lib64)
|
||||
+ find_library(GLEW_LIBRARY_RELEASE NAMES GLEW glew32 glew glew32s PATH_SUFFIXES lib64 libx32)
|
||||
find_library(GLEW_LIBRARY_DEBUG NAMES GLEWd glew32d glewd PATH_SUFFIXES lib64)
|
||||
|
||||
include(${CMAKE_CURRENT_LIST_DIR}/SelectLibraryConfigurations.cmake)
|
||||
diff --git a/Modules/FindGTK2.cmake b/Modules/FindGTK2.cmake
|
||||
index 20d7924..2eca5f9 100644
|
||||
--- a/Modules/FindGTK2.cmake
|
||||
+++ b/Modules/FindGTK2.cmake
|
||||
@@ -292,8 +292,10 @@ function(_GTK2_FIND_INCLUDE_DIR _var _hdr)
|
||||
find_path(GTK2_${_var}_INCLUDE_DIR ${_hdr}
|
||||
PATHS
|
||||
${_gtk2_arch_dir}
|
||||
+ /usr/local/libx32
|
||||
/usr/local/lib64
|
||||
/usr/local/lib
|
||||
+ /usr/libx32
|
||||
/usr/lib64
|
||||
/usr/lib
|
||||
/usr/X11R6/include
|
||||
diff --git a/Modules/FindIce.cmake b/Modules/FindIce.cmake
|
||||
index a61d4a8..e0286ee 100644
|
||||
--- a/Modules/FindIce.cmake
|
||||
+++ b/Modules/FindIce.cmake
|
||||
@@ -198,7 +198,7 @@ function(_Ice_FIND)
|
||||
endif()
|
||||
# Generic 64-bit and 32-bit directories
|
||||
list(APPEND ice_binary_suffixes "bin${_x64}" "bin")
|
||||
- list(APPEND ice_library_suffixes "${_lib64}" "lib${_x64}" "lib")
|
||||
+ list(APPEND ice_library_suffixes "libx32" "${_lib64}" "lib${_x64}" "lib")
|
||||
list(APPEND ice_include_suffixes "include")
|
||||
list(APPEND ice_slice_suffixes "slice")
|
||||
|
||||
diff --git a/Modules/FindKDE3.cmake b/Modules/FindKDE3.cmake
|
||||
index 62e2a50..03216a5 100644
|
||||
--- a/Modules/FindKDE3.cmake
|
||||
+++ b/Modules/FindKDE3.cmake
|
||||
@@ -221,6 +221,8 @@ get_filename_component(KDE3_LIB_DIR ${KDE3_KDECORE_LIBRARY} PATH )
|
||||
if(NOT KDE3_LIBTOOL_DIR)
|
||||
if(KDE3_KDECORE_LIBRARY MATCHES lib64)
|
||||
set(KDE3_LIBTOOL_DIR /lib64/kde3)
|
||||
+ elseif(KDE3_KDECORE_LIBRARY MATCHES libx32)
|
||||
+ set(KDE3_LIBTOOL_DIR /libx32/kde3)
|
||||
else()
|
||||
set(KDE3_LIBTOOL_DIR /lib/kde3)
|
||||
endif()
|
||||
diff --git a/Modules/FindOpenAL.cmake b/Modules/FindOpenAL.cmake
|
||||
index 8622b4c..c3d202e 100644
|
||||
--- a/Modules/FindOpenAL.cmake
|
||||
+++ b/Modules/FindOpenAL.cmake
|
||||
@@ -79,7 +79,7 @@ find_library(OPENAL_LIBRARY
|
||||
NAMES OpenAL al openal OpenAL32
|
||||
HINTS
|
||||
ENV OPENALDIR
|
||||
- PATH_SUFFIXES lib64 lib libs64 libs ${_OpenAL_ARCH_DIR}
|
||||
+ PATH_SUFFIXES libx32 lib64 lib libs64 libs ${_OpenAL_ARCH_DIR}
|
||||
PATHS
|
||||
~/Library/Frameworks
|
||||
/Library/Frameworks
|
||||
diff --git a/Modules/GetPrerequisites.cmake b/Modules/GetPrerequisites.cmake
|
||||
index 417af7c..a3b97ab 100644
|
||||
--- a/Modules/GetPrerequisites.cmake
|
||||
+++ b/Modules/GetPrerequisites.cmake
|
||||
@@ -521,7 +521,7 @@ function(gp_resolved_file_type original_file file exepath dirs type_var)
|
||||
string(TOLOWER "${resolved_file}" lower)
|
||||
|
||||
if(UNIX)
|
||||
- if(resolved_file MATCHES "^(/lib/|/lib32/|/lib64/|/usr/lib/|/usr/lib32/|/usr/lib64/|/usr/X11R6/|/usr/bin/)")
|
||||
+ if(resolved_file MATCHES "^(/lib/|/lib32/|/libx32/|/lib64/|/usr/lib/|/usr/lib32/|/usr/libx32/|/usr/lib64/|/usr/X11R6/|/usr/bin/)")
|
||||
set(is_system 1)
|
||||
endif()
|
||||
endif()
|
||||
--
|
||||
2.10.2
|
||||
|
||||
|
||||
From 5b6d354f70e1faddb006a7c98479f5d655a07b87 Mon Sep 17 00:00:00 2001
|
||||
From: Brad King <brad.king@kitware.com>
|
||||
Date: Mon, 6 Mar 2017 11:15:00 -0500
|
||||
Subject: [PATCH 3/4] Help: Add notes for topic 'x32-abi'
|
||||
|
||||
---
|
||||
Help/release/dev/x32-abi.rst | 6 ++++++
|
||||
1 file changed, 6 insertions(+)
|
||||
create mode 100644 Help/release/dev/x32-abi.rst
|
||||
|
||||
diff --git a/Help/release/dev/x32-abi.rst b/Help/release/dev/x32-abi.rst
|
||||
new file mode 100644
|
||||
index 0000000..7571fac
|
||||
--- /dev/null
|
||||
+++ b/Help/release/dev/x32-abi.rst
|
||||
@@ -0,0 +1,6 @@
|
||||
+x32-abi
|
||||
+-------
|
||||
+
|
||||
+* The :command:`find_library` command learned to search ``libx32`` paths
|
||||
+ when the build targets the ``x32`` ABI. See the
|
||||
+ :prop_gbl:`FIND_LIBRARY_USE_LIBX32_PATHS` global property.
|
||||
--
|
||||
2.10.2
|
||||
|
||||
|
||||
From d9bdcf34efa79dcdea4ded8e90b80a55db69fbf6 Mon Sep 17 00:00:00 2001
|
||||
From: Steven Newbury <steve@snewbury.org.uk>
|
||||
Date: Wed, 8 Mar 2017 17:13:29 +0000
|
||||
Subject: [PATCH 4/4] Tests: Add x32 tests to test suite
|
||||
|
||||
---
|
||||
Tests/CMakeOnly/find_library/CMakeLists.txt | 16 ++++++++++++++++
|
||||
Tests/CMakeOnly/find_library/lib/A/libx32/libtest3.a | 0
|
||||
Tests/CMakeOnly/find_library/lib/x32/libtest2.a | 0
|
||||
Tests/CMakeOnly/find_library/libx32/A/lib/libtest2.a | 0
|
||||
Tests/CMakeOnly/find_library/libx32/A/libtest1.a | 0
|
||||
Tests/CMakeOnly/find_library/libx32/A/libx32/libtest1.a | 0
|
||||
Tests/CMakeOnly/find_library/libx32/libtest1.a | 0
|
||||
.../FindPkgConfig_CMAKE_APPBUNDLE_PATH.cmake | 5 ++++-
|
||||
.../FindPkgConfig_CMAKE_FRAMEWORK_PATH.cmake | 5 ++++-
|
||||
.../FindPkgConfig/FindPkgConfig_PKGCONFIG_PATH.cmake | 5 ++++-
|
||||
...Config_PKGCONFIG_PATH_NO_CMAKE_ENVIRONMENT_PATH.cmake | 5 ++++-
|
||||
.../FindPkgConfig_PKGCONFIG_PATH_NO_CMAKE_PATH.cmake | 5 ++++-
|
||||
.../FindPkgConfig/pc-bar/libx32/pkgconfig/.placeholder | 0
|
||||
.../FindPkgConfig/pc-foo/libx32/pkgconfig/.placeholder | 0
|
||||
14 files changed, 36 insertions(+), 5 deletions(-)
|
||||
create mode 100644 Tests/CMakeOnly/find_library/lib/A/libx32/libtest3.a
|
||||
create mode 100644 Tests/CMakeOnly/find_library/lib/x32/libtest2.a
|
||||
create mode 100644 Tests/CMakeOnly/find_library/libx32/A/lib/libtest2.a
|
||||
create mode 100644 Tests/CMakeOnly/find_library/libx32/A/libtest1.a
|
||||
create mode 100644 Tests/CMakeOnly/find_library/libx32/A/libx32/libtest1.a
|
||||
create mode 100644 Tests/CMakeOnly/find_library/libx32/libtest1.a
|
||||
create mode 100644 Tests/RunCMake/FindPkgConfig/pc-bar/libx32/pkgconfig/.placeholder
|
||||
create mode 100644 Tests/RunCMake/FindPkgConfig/pc-foo/libx32/pkgconfig/.placeholder
|
||||
|
||||
diff --git a/Tests/CMakeOnly/find_library/CMakeLists.txt b/Tests/CMakeOnly/find_library/CMakeLists.txt
|
||||
index 9c1aad8..749cf42 100644
|
||||
--- a/Tests/CMakeOnly/find_library/CMakeLists.txt
|
||||
+++ b/Tests/CMakeOnly/find_library/CMakeLists.txt
|
||||
@@ -33,9 +33,11 @@ endmacro()
|
||||
|
||||
set(CMAKE_FIND_LIBRARY_PREFIXES "lib")
|
||||
set(CMAKE_FIND_LIBRARY_SUFFIXES ".a")
|
||||
+set_property(GLOBAL PROPERTY FIND_LIBRARY_USE_LIBX32_PATHS TRUE)
|
||||
set_property(GLOBAL PROPERTY FIND_LIBRARY_USE_LIB32_PATHS TRUE)
|
||||
set_property(GLOBAL PROPERTY FIND_LIBRARY_USE_LIB64_PATHS TRUE)
|
||||
|
||||
+set(CMAKE_INTERNAL_PLATFORM_ABI "ELF")
|
||||
set(CMAKE_SIZEOF_VOID_P 4)
|
||||
foreach(lib
|
||||
lib/32/libtest5.a
|
||||
@@ -67,6 +69,20 @@ foreach(lib64
|
||||
test_find_library_subst(${lib64})
|
||||
endforeach()
|
||||
|
||||
+set(CMAKE_INTERNAL_PLATFORM_ABI "ELF X32")
|
||||
+set(CMAKE_SIZEOF_VOID_P 4)
|
||||
+foreach(libx32
|
||||
+ lib/x32/libtest2.a
|
||||
+ lib/A/libx32/libtest3.a
|
||||
+ lib/libtest3.a
|
||||
+ libx32/A/lib/libtest2.a
|
||||
+ libx32/A/libx32/libtest1.a
|
||||
+ libx32/A/libtest1.a
|
||||
+ libx32/libtest1.a
|
||||
+ )
|
||||
+ test_find_library_subst(${libx32})
|
||||
+endforeach()
|
||||
+
|
||||
test_find_library("" A/libtestA.a
|
||||
NAMES testA testB
|
||||
PATHS ${CMAKE_CURRENT_SOURCE_DIR}/A ${CMAKE_CURRENT_SOURCE_DIR}/B
|
||||
diff --git a/Tests/CMakeOnly/find_library/lib/A/libx32/libtest3.a b/Tests/CMakeOnly/find_library/lib/A/libx32/libtest3.a
|
||||
new file mode 100644
|
||||
index 0000000..e69de29
|
||||
diff --git a/Tests/CMakeOnly/find_library/lib/x32/libtest2.a b/Tests/CMakeOnly/find_library/lib/x32/libtest2.a
|
||||
new file mode 100644
|
||||
index 0000000..e69de29
|
||||
diff --git a/Tests/CMakeOnly/find_library/libx32/A/lib/libtest2.a b/Tests/CMakeOnly/find_library/libx32/A/lib/libtest2.a
|
||||
new file mode 100644
|
||||
index 0000000..e69de29
|
||||
diff --git a/Tests/CMakeOnly/find_library/libx32/A/libtest1.a b/Tests/CMakeOnly/find_library/libx32/A/libtest1.a
|
||||
new file mode 100644
|
||||
index 0000000..e69de29
|
||||
diff --git a/Tests/CMakeOnly/find_library/libx32/A/libx32/libtest1.a b/Tests/CMakeOnly/find_library/libx32/A/libx32/libtest1.a
|
||||
new file mode 100644
|
||||
index 0000000..e69de29
|
||||
diff --git a/Tests/CMakeOnly/find_library/libx32/libtest1.a b/Tests/CMakeOnly/find_library/libx32/libtest1.a
|
||||
new file mode 100644
|
||||
index 0000000..e69de29
|
||||
diff --git a/Tests/RunCMake/FindPkgConfig/FindPkgConfig_CMAKE_APPBUNDLE_PATH.cmake b/Tests/RunCMake/FindPkgConfig/FindPkgConfig_CMAKE_APPBUNDLE_PATH.cmake
|
||||
index 4a41533..2687efe 100644
|
||||
--- a/Tests/RunCMake/FindPkgConfig/FindPkgConfig_CMAKE_APPBUNDLE_PATH.cmake
|
||||
+++ b/Tests/RunCMake/FindPkgConfig/FindPkgConfig_CMAKE_APPBUNDLE_PATH.cmake
|
||||
@@ -30,9 +30,12 @@ if(NOT DEFINED CMAKE_SYSTEM_NAME
|
||||
endif()
|
||||
else()
|
||||
# not debian, check the FIND_LIBRARY_USE_LIB32_PATHS and FIND_LIBRARY_USE_LIB64_PATHS properties
|
||||
+ get_property(uselibx32 GLOBAL PROPERTY FIND_LIBRARY_USE_LIBX32_PATHS)
|
||||
get_property(uselib32 GLOBAL PROPERTY FIND_LIBRARY_USE_LIB32_PATHS)
|
||||
get_property(uselib64 GLOBAL PROPERTY FIND_LIBRARY_USE_LIB64_PATHS)
|
||||
- if(uselib32 AND CMAKE_SIZEOF_VOID_P EQUAL 4)
|
||||
+ if(uselibx32 AND CMAKE_INTERNAL_PLATFORM_ABI STREQUAL "ELF X32")
|
||||
+ set(expected_path "/baz:${CMAKE_CURRENT_SOURCE_DIR}/pc-foo/libx32/pkgconfig:${CMAKE_CURRENT_SOURCE_DIR}/pc-foo/lib/pkgconfig:${CMAKE_CURRENT_SOURCE_DIR}/pc-bar/libx32/pkgconfig:${CMAKE_CURRENT_SOURCE_DIR}/pc-bar/lib/pkgconfig")
|
||||
+ elseif(uselib32 AND CMAKE_SIZEOF_VOID_P EQUAL 4)
|
||||
set(expected_path "/baz:${CMAKE_CURRENT_SOURCE_DIR}/pc-foo/lib32/pkgconfig:${CMAKE_CURRENT_SOURCE_DIR}/pc-foo/lib/pkgconfig:${CMAKE_CURRENT_SOURCE_DIR}/pc-bar/lib32/pkgconfig:${CMAKE_CURRENT_SOURCE_DIR}/pc-bar/lib/pkgconfig")
|
||||
elseif(uselib64 AND CMAKE_SIZEOF_VOID_P EQUAL 8)
|
||||
set(expected_path "/baz:${CMAKE_CURRENT_SOURCE_DIR}/pc-foo/lib64/pkgconfig:${CMAKE_CURRENT_SOURCE_DIR}/pc-foo/lib/pkgconfig:${CMAKE_CURRENT_SOURCE_DIR}/pc-bar/lib64/pkgconfig:${CMAKE_CURRENT_SOURCE_DIR}/pc-bar/lib/pkgconfig")
|
||||
diff --git a/Tests/RunCMake/FindPkgConfig/FindPkgConfig_CMAKE_FRAMEWORK_PATH.cmake b/Tests/RunCMake/FindPkgConfig/FindPkgConfig_CMAKE_FRAMEWORK_PATH.cmake
|
||||
index b66d02f..74cda25 100644
|
||||
--- a/Tests/RunCMake/FindPkgConfig/FindPkgConfig_CMAKE_FRAMEWORK_PATH.cmake
|
||||
+++ b/Tests/RunCMake/FindPkgConfig/FindPkgConfig_CMAKE_FRAMEWORK_PATH.cmake
|
||||
@@ -30,9 +30,12 @@ if(NOT DEFINED CMAKE_SYSTEM_NAME
|
||||
endif()
|
||||
else()
|
||||
# not debian, check the FIND_LIBRARY_USE_LIB64_PATHS and FIND_LIBRARY_USE_LIB64_PATHS properties
|
||||
+ get_property(uselibx32 GLOBAL PROPERTY FIND_LIBRARY_USE_LIBX32_PATHS)
|
||||
get_property(uselib32 GLOBAL PROPERTY FIND_LIBRARY_USE_LIB32_PATHS)
|
||||
get_property(uselib64 GLOBAL PROPERTY FIND_LIBRARY_USE_LIB64_PATHS)
|
||||
- if(uselib32 AND CMAKE_SIZEOF_VOID_P EQUAL 4)
|
||||
+ if(uselibx32 AND CMAKE_INTERNAL_PLATFORM_ABI STREQUAL "ELF X32")
|
||||
+ set(expected_path "/baz:${CMAKE_CURRENT_SOURCE_DIR}/pc-foo/libx32/pkgconfig:${CMAKE_CURRENT_SOURCE_DIR}/pc-foo/lib/pkgconfig:${CMAKE_CURRENT_SOURCE_DIR}/pc-bar/libx32/pkgconfig:${CMAKE_CURRENT_SOURCE_DIR}/pc-bar/lib/pkgconfig")
|
||||
+ elseif(uselib32 AND CMAKE_SIZEOF_VOID_P EQUAL 4)
|
||||
set(expected_path "/baz:${CMAKE_CURRENT_SOURCE_DIR}/pc-foo/lib32/pkgconfig:${CMAKE_CURRENT_SOURCE_DIR}/pc-foo/lib/pkgconfig:${CMAKE_CURRENT_SOURCE_DIR}/pc-bar/lib32/pkgconfig:${CMAKE_CURRENT_SOURCE_DIR}/pc-bar/lib/pkgconfig")
|
||||
elseif(uselib64 AND CMAKE_SIZEOF_VOID_P EQUAL 8)
|
||||
set(expected_path "/baz:${CMAKE_CURRENT_SOURCE_DIR}/pc-foo/lib64/pkgconfig:${CMAKE_CURRENT_SOURCE_DIR}/pc-foo/lib/pkgconfig:${CMAKE_CURRENT_SOURCE_DIR}/pc-bar/lib64/pkgconfig:${CMAKE_CURRENT_SOURCE_DIR}/pc-bar/lib/pkgconfig")
|
||||
diff --git a/Tests/RunCMake/FindPkgConfig/FindPkgConfig_PKGCONFIG_PATH.cmake b/Tests/RunCMake/FindPkgConfig/FindPkgConfig_PKGCONFIG_PATH.cmake
|
||||
index bdecb8a..1defde8 100644
|
||||
--- a/Tests/RunCMake/FindPkgConfig/FindPkgConfig_PKGCONFIG_PATH.cmake
|
||||
+++ b/Tests/RunCMake/FindPkgConfig/FindPkgConfig_PKGCONFIG_PATH.cmake
|
||||
@@ -30,9 +30,12 @@ if(NOT DEFINED CMAKE_SYSTEM_NAME
|
||||
endif()
|
||||
else()
|
||||
# not debian, check the FIND_LIBRARY_USE_LIB32_PATHS and FIND_LIBRARY_USE_LIB64_PATHS propertie
|
||||
+ get_property(uselibx32 GLOBAL PROPERTY FIND_LIBRARY_USE_LIBX32_PATHS)
|
||||
get_property(uselib32 GLOBAL PROPERTY FIND_LIBRARY_USE_LIB32_PATHS)
|
||||
get_property(uselib64 GLOBAL PROPERTY FIND_LIBRARY_USE_LIB64_PATHS)
|
||||
- if(uselib32 AND CMAKE_SIZEOF_VOID_P EQUAL 4)
|
||||
+ if(uselibx32 AND CMAKE_INTERNAL_PLATFORM_ABI STREQUAL "ELF X32")
|
||||
+ set(expected_path "/baz:${CMAKE_CURRENT_SOURCE_DIR}/pc-foo/libx32/pkgconfig:${CMAKE_CURRENT_SOURCE_DIR}/pc-foo/lib/pkgconfig:${CMAKE_CURRENT_SOURCE_DIR}/pc-bar/libx32/pkgconfig:${CMAKE_CURRENT_SOURCE_DIR}/pc-bar/lib/pkgconfig")
|
||||
+ elseif(uselib32 AND CMAKE_SIZEOF_VOID_P EQUAL 4)
|
||||
set(expected_path "/baz:${CMAKE_CURRENT_SOURCE_DIR}/pc-foo/lib32/pkgconfig:${CMAKE_CURRENT_SOURCE_DIR}/pc-foo/lib/pkgconfig:${CMAKE_CURRENT_SOURCE_DIR}/pc-bar/lib32/pkgconfig:${CMAKE_CURRENT_SOURCE_DIR}/pc-bar/lib/pkgconfig")
|
||||
elseif(uselib64 AND CMAKE_SIZEOF_VOID_P EQUAL 8)
|
||||
set(expected_path "/baz:${CMAKE_CURRENT_SOURCE_DIR}/pc-foo/lib64/pkgconfig:${CMAKE_CURRENT_SOURCE_DIR}/pc-foo/lib/pkgconfig:${CMAKE_CURRENT_SOURCE_DIR}/pc-bar/lib64/pkgconfig:${CMAKE_CURRENT_SOURCE_DIR}/pc-bar/lib/pkgconfig")
|
||||
diff --git a/Tests/RunCMake/FindPkgConfig/FindPkgConfig_PKGCONFIG_PATH_NO_CMAKE_ENVIRONMENT_PATH.cmake b/Tests/RunCMake/FindPkgConfig/FindPkgConfig_PKGCONFIG_PATH_NO_CMAKE_ENVIRONMENT_PATH.cmake
|
||||
index df67235..166a617 100644
|
||||
--- a/Tests/RunCMake/FindPkgConfig/FindPkgConfig_PKGCONFIG_PATH_NO_CMAKE_ENVIRONMENT_PATH.cmake
|
||||
+++ b/Tests/RunCMake/FindPkgConfig/FindPkgConfig_PKGCONFIG_PATH_NO_CMAKE_ENVIRONMENT_PATH.cmake
|
||||
@@ -30,9 +30,12 @@ if(NOT DEFINED CMAKE_SYSTEM_NAME
|
||||
endif()
|
||||
else()
|
||||
# not debian, check the FIND_LIBRARY_USE_LIB32_PATHS and FIND_LIBRARY_USE_LIB64_PATHS properties
|
||||
+ get_property(uselibx32 GLOBAL PROPERTY FIND_LIBRARY_USE_LIBX32_PATHS)
|
||||
get_property(uselib32 GLOBAL PROPERTY FIND_LIBRARY_USE_LIB32_PATHS)
|
||||
get_property(uselib64 GLOBAL PROPERTY FIND_LIBRARY_USE_LIB64_PATHS)
|
||||
- if(uselib32 AND CMAKE_SIZEOF_VOID_P EQUAL 4)
|
||||
+ if(uselibx32 AND CMAKE_INTERNAL_PLATFORM_ABI STREQUAL "ELF X32")
|
||||
+ set(expected_path "/baz:${CMAKE_CURRENT_SOURCE_DIR}/pc-foo/libx32/pkgconfig:${CMAKE_CURRENT_SOURCE_DIR}/pc-foo/lib/pkgconfig")
|
||||
+ elseif(uselib32 AND CMAKE_SIZEOF_VOID_P EQUAL 4)
|
||||
set(expected_path "/baz:${CMAKE_CURRENT_SOURCE_DIR}/pc-foo/lib32/pkgconfig:${CMAKE_CURRENT_SOURCE_DIR}/pc-foo/lib/pkgconfig")
|
||||
elseif(uselib64 AND CMAKE_SIZEOF_VOID_P EQUAL 8)
|
||||
set(expected_path "/baz:${CMAKE_CURRENT_SOURCE_DIR}/pc-foo/lib64/pkgconfig:${CMAKE_CURRENT_SOURCE_DIR}/pc-foo/lib/pkgconfig")
|
||||
diff --git a/Tests/RunCMake/FindPkgConfig/FindPkgConfig_PKGCONFIG_PATH_NO_CMAKE_PATH.cmake b/Tests/RunCMake/FindPkgConfig/FindPkgConfig_PKGCONFIG_PATH_NO_CMAKE_PATH.cmake
|
||||
index 1351b6f..e4673b3 100644
|
||||
--- a/Tests/RunCMake/FindPkgConfig/FindPkgConfig_PKGCONFIG_PATH_NO_CMAKE_PATH.cmake
|
||||
+++ b/Tests/RunCMake/FindPkgConfig/FindPkgConfig_PKGCONFIG_PATH_NO_CMAKE_PATH.cmake
|
||||
@@ -30,9 +30,12 @@ if(NOT DEFINED CMAKE_SYSTEM_NAME
|
||||
endif()
|
||||
else()
|
||||
# not debian, check the FIND_LIBRARY_USE_LIB64_PATHS and FIND_LIBRARY_USE_LIB32_PATHS properties
|
||||
+ get_property(uselibx32 GLOBAL PROPERTY FIND_LIBRARY_USE_LIBX32_PATHS)
|
||||
get_property(uselib32 GLOBAL PROPERTY FIND_LIBRARY_USE_LIB32_PATHS)
|
||||
get_property(uselib64 GLOBAL PROPERTY FIND_LIBRARY_USE_LIB64_PATHS)
|
||||
- if(uselib32 AND CMAKE_SIZEOF_VOID_P EQUAL 4)
|
||||
+ if(uselibx32 AND CMAKE_INTERNAL_PLATFORM_ABI STREQUAL "ELF X32")
|
||||
+ set(expected_path "/baz:${CMAKE_CURRENT_SOURCE_DIR}/pc-bar/libx32/pkgconfig:${CMAKE_CURRENT_SOURCE_DIR}/pc-bar/lib/pkgconfig")
|
||||
+ elseif(uselib32 AND CMAKE_SIZEOF_VOID_P EQUAL 4)
|
||||
set(expected_path "/baz:${CMAKE_CURRENT_SOURCE_DIR}/pc-bar/lib32/pkgconfig:${CMAKE_CURRENT_SOURCE_DIR}/pc-bar/lib/pkgconfig")
|
||||
elseif(uselib64 AND CMAKE_SIZEOF_VOID_P EQUAL 8)
|
||||
set(expected_path "/baz:${CMAKE_CURRENT_SOURCE_DIR}/pc-bar/lib64/pkgconfig:${CMAKE_CURRENT_SOURCE_DIR}/pc-bar/lib/pkgconfig")
|
||||
diff --git a/Tests/RunCMake/FindPkgConfig/pc-bar/libx32/pkgconfig/.placeholder b/Tests/RunCMake/FindPkgConfig/pc-bar/libx32/pkgconfig/.placeholder
|
||||
new file mode 100644
|
||||
index 0000000..e69de29
|
||||
diff --git a/Tests/RunCMake/FindPkgConfig/pc-foo/libx32/pkgconfig/.placeholder b/Tests/RunCMake/FindPkgConfig/pc-foo/libx32/pkgconfig/.placeholder
|
||||
new file mode 100644
|
||||
index 0000000..e69de29
|
||||
--
|
||||
2.10.2
|
||||
|
@ -0,0 +1,3 @@
|
||||
DIST docker-ls-0.2.1_p20161102.tar.gz 20313 SHA256 57d33772857ad7a013719f6a73c79ee7744a2c93cfae33f3e6fb352be228f1ed SHA512 fd44fcb21db696e9565b8e4e84ef4aaeee7d1101fc0e1f2978a452cc8ec8016fce47508afe201b7096f06066b030eedd9d78c8d3408ca82d2e96431661857e3f WHIRLPOOL 2c6861dad8d63a44e6fe45317962cb9f2a730543eaea5728a1bcfdbaca9f666f5d162a97194ba0b6fafe92d2c07584777afa901210c90fecc0bc0f8acbc8c8c6
|
||||
DIST github.com-go-yaml-yaml-a3f3340b5840cee44f372bddb5880fcbc419b46a.tar.gz 60814 SHA256 0904953c06aa32c6691cec2390437f7d4d62c71f37d72f50d110a6577c87963b SHA512 184a0e658a4eac3b867533cd0e494bd84db94fbe10e8df0d0b755c7ffc95bc99e2f84c0157183ca74cdc79289a85dcf7f1dea8a4c89a253565baf473b3627eae WHIRLPOOL c9113048502f65a4036bbfbd4f072b27b41f68547e682d1e1496ae73c65c30b1470061d1f99d17e6b4a373e59e07568b460ad5396eb4b1f16079da077aa8382f
|
||||
DIST github.com-golang-crypto-728b753d0135da6801d45a38e6f43ff55779c5c2.tar.gz 1317212 SHA256 1a17e324c6e96bea0f55f9900405d9ddb296c3a2ab55ad5882e716160575016f SHA512 163ca4b00188133d5c4d82dd685deaf2b889ae76b97021697d96dd8f11675a57361352e204d774a6fb7941f45dc8027ddb324abf0a4799ed19c3052181536992 WHIRLPOOL 09f69af205a74f275ce21565e16594603d0a2a84e8e412fdf652360a1472503e05329035ba10f0757127a7f6f1ebcc307c656f44c074f96bec767f4f51f573e2
|
@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
EGO_PN="github.com/mayflower/${PN}/..."
|
||||
EGIT_COMMIT="3c5e2decd5c6717d4f375a2588179758d62bb591"
|
||||
EGO_VENDOR=( "gopkg.in/yaml.v2 a3f3340b5840cee44f372bddb5880fcbc419b46a github.com/go-yaml/yaml"
|
||||
"golang.org/x/crypto 728b753d0135da6801d45a38e6f43ff55779c5c2 github.com/golang/crypto" )
|
||||
|
||||
inherit golang-build golang-vcs-snapshot
|
||||
|
||||
ARCHIVE_URI="https://${EGO_PN%/*}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DESCRIPTION="Tools for browsing and manipulating docker registries"
|
||||
HOMEPAGE="https://github.com/jessfraz/reg"
|
||||
SRC_URI="${ARCHIVE_URI}
|
||||
${EGO_VENDOR_URI}"
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i -e "s/\"git\", \"rev-parse\", \"--short\", \"HEAD\"/\"echo\", \"${EGIT_COMMIT:0:8}\"/"\
|
||||
src/${EGO_PN%/*}/generators/version.go || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
pushd src || die
|
||||
GOPATH="${WORKDIR}/${P}" go generate ${EGO_PN} || die
|
||||
GOPATH="${WORKDIR}/${P}" go install ${EGO_PN%/*}/cli/... || die
|
||||
popd || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/*
|
||||
dodoc src/${EGO_PN%/*}/{README,CHANGELOG}.md
|
||||
}
|
@ -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>mrueg@gentoo.org</email>
|
||||
<name>Manuel Rüger</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1,2 +1 @@
|
||||
DIST drone-ui-0_pre20170103.tar.gz 174314 SHA256 4f30f79266f5639a3354cd7173ff20cfdf5f14bfdce2c82b77f7c3cfe8dec97f SHA512 b50bc46c8ab5972d13c2ef052cb0857a47331b645d8bfaaa5fffbada00476573430c4ec6a9e4d3d2457e63a48b3ff6908db83b9097c308a4574c6693b1ca3fa6 WHIRLPOOL f6e03ef105d0bd590d35ec7966f60ea26aed9f69bd08536f3bc60637ccfb6773cf24827e8eaec1a1b41a8ddf0ede75dd1c23c66acd938e4d38bbae7a7dc3a4a9
|
||||
DIST drone-ui-0_pre20170305.tar.gz 174396 SHA256 943da5fc709048f07f86f16c2148feee88069ac31084692380bcf6901f9e95cf SHA512 472882bd5d3940bbc044bba9a22cc5b58aef670944ac4806c08a95bb2dc822178cff643cd9fd3fba8f920831c91c6932de8e3fedd047d136382d2fa12db7e245 WHIRLPOOL 1a61496a83f0345b1c78025f184ba4f88f7dbd09499ec3acf03caf379ed0f5edd6b52904a33ab65d75918011ea3b066e69f8c309b4b04d87782375a16e57ca23
|
||||
|
@ -1,20 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
inherit golang-build golang-vcs-snapshot
|
||||
|
||||
EGO_PN="github.com/drone/drone-ui/..."
|
||||
EGIT_COMMIT="fe03fc6e853ec0a9814c8eab0119a34df17d5ff8"
|
||||
ARCHIVE_URI="https://${EGO_PN%/*}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DESCRIPTION="React front-end for the Drone continuous integration server"
|
||||
HOMEPAGE="https://github.com/drone/drone-ui"
|
||||
SRC_URI="${ARCHIVE_URI}"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0/${PVR}"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-go/go-bindata
|
||||
dev-go/go-bindata-assetfs"
|
@ -1,5 +1,8 @@
|
||||
DIST drone-0.5.0_pre20170219.tar.gz 3464339 SHA256 1305a568ceb1d76cc32c1ba5cf9802b41f8c8f63d8147ce59461fbb26579fc11 SHA512 4786998ec58c15503b3498ade072c52368ea758f97dd03625ad3ff5eb5797c4ac53b4f1761bde8c2c329058c4e9588606aa06fd0b62f3d2ef1401752ad741075 WHIRLPOOL ae30c37be27e4aa443294bbca40c78ea607a724684894b7150a84cacdef38176b9605816ef49ca9621245e867410d82f0c2a3b8bdefab40e7824b2aef6f00318
|
||||
DIST drone-0.5.0_pre20170224.tar.gz 3464398 SHA256 290ec464af63925c49f2f059a0cbe6d699b3e1b7517bb0a00c0440ab1192b951 SHA512 490b3a03fe8ebe17ba68d885a5710dee6544df72e5d98f6aa005adaa3ae95fe725beaf77d5cf45f0cce7dc6a4b06ef2f3cac6f7a13a244160a62c86ebe0bc403 WHIRLPOOL 64e332cad878f9cd437636f27e5bc82d40a1da9565aadb835f2e0fbcb352e9b8a78fd8f7913935fdc5e80d2d294ced2a09d040a496dd0c67115ef8a712466507
|
||||
DIST drone-0.5.0_rc1_p20170310.tar.gz 3464026 SHA256 fba695ef0b554f42a9ae8e1d3e89bd1eb26a1536a9a8456fc96b686d5277fac7 SHA512 3ed5a57fc016cbf246ebcc979fad005d8832ff9fd99d63187bc7c7f9a3d87b8c48e3784d3a7480e192960279b532868da02b8c3a6d68d844ca7448e27d33dd51 WHIRLPOOL 5f0a0a0145367f35d35a493463e5ef085520946f1b1f19f09d39b0864fc93a11f89169584bf7f36b67959c978fa97fe77799a3302ed52c95c25b18e78bed85e2
|
||||
DIST drone-mq-280af2a3b9c7d9ce90d625150dfff972c6c190b8.tar.gz 220681 SHA256 0f66bacab16402acf335c423c82790757dc4ec66da84bf3fc500f0687835f722 SHA512 c5c4245d2369dccc9d917b6b5c87d73e50473ff8c9307521ff39dbbb3021833d00f47cdd3f6dc3485343602fc585276e29bf253c18a3e24f9b6f42290357a4a1 WHIRLPOOL 2010e1d1c0a4b6fd5583059a92d7a6ad68a35e915e4edcfb5b3c491f1439a3342ee3c47e01a6d5925a0a4e2407523783407e0767116cb47b3a29d9a60988bfe9
|
||||
DIST github.com-drone-mq-280af2a3b9c7d9ce90d625150dfff972c6c190b8.tar.gz 220681 SHA256 0f66bacab16402acf335c423c82790757dc4ec66da84bf3fc500f0687835f722 SHA512 c5c4245d2369dccc9d917b6b5c87d73e50473ff8c9307521ff39dbbb3021833d00f47cdd3f6dc3485343602fc585276e29bf253c18a3e24f9b6f42290357a4a1 WHIRLPOOL 2010e1d1c0a4b6fd5583059a92d7a6ad68a35e915e4edcfb5b3c491f1439a3342ee3c47e01a6d5925a0a4e2407523783407e0767116cb47b3a29d9a60988bfe9
|
||||
DIST github.com-golang-crypto-728b753d0135da6801d45a38e6f43ff55779c5c2.tar.gz 1317212 SHA256 1a17e324c6e96bea0f55f9900405d9ddb296c3a2ab55ad5882e716160575016f SHA512 163ca4b00188133d5c4d82dd685deaf2b889ae76b97021697d96dd8f11675a57361352e204d774a6fb7941f45dc8027ddb324abf0a4799ed19c3052181536992 WHIRLPOOL 09f69af205a74f275ce21565e16594603d0a2a84e8e412fdf652360a1472503e05329035ba10f0757127a7f6f1ebcc307c656f44c074f96bec767f4f51f573e2
|
||||
DIST github.com-tidwall-redlog-550629ebbfa9925a73f69cce7cdd2e8dae52c713.tar.gz 3878 SHA256 6c273e68b08f55cc48c771ad7201bb2fcef95b7c20747ebb31940b8f14a49818 SHA512 8b59be3801310604062c557719a128d76493ee82b0c26fb9176c3bb77402ee2c735e18182055828397d4d3d64b98b6ac37aaf11d595ebfe52ecafe065e12f3d4 WHIRLPOOL 1446dfb2ef1b961a00af9d5cbdfcd91b838a4c832444e027bf9c897ecb71cd47909007f5270fb5785e7e7ab7556483a06c09fcef259208816d860f15f3955795
|
||||
DIST golang-crypto-453249f01cfeb54c3d549ddb75ff152ca243f9d8.tar.gz 1305950 SHA256 cb376694f8e583a3ed25111ee0ab1d6c16d28f5cfb2c4a5850c1b193bd81dbed SHA512 60b6aa64e7e671ec6a732021f0022580b95002ebd9c89876be5935342c561739b388a77d7e5ff70625e0933c4f4c4fa3d1c1ccf5e4532f44538035c945acb606 WHIRLPOOL 722e02458be59220c73235e0b508b1f54d513fc0819de189cbcf762b8b8ccac4a1a7bde1d003296aa475feec1ab26c5705c1a9fccbf6ca046cba3984175486fd
|
||||
DIST tidwall-redlog-550629ebbfa9925a73f69cce7cdd2e8dae52c713.tar.gz 3878 SHA256 6c273e68b08f55cc48c771ad7201bb2fcef95b7c20747ebb31940b8f14a49818 SHA512 8b59be3801310604062c557719a128d76493ee82b0c26fb9176c3bb77402ee2c735e18182055828397d4d3d64b98b6ac37aaf11d595ebfe52ecafe065e12f3d4 WHIRLPOOL 1446dfb2ef1b961a00af9d5cbdfcd91b838a4c832444e027bf9c897ecb71cd47909007f5270fb5785e7e7ab7556483a06c09fcef259208816d860f15f3955795
|
||||
|
@ -1,49 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
inherit golang-build golang-vcs-snapshot
|
||||
|
||||
EGO_PN="github.com/drone/drone/..."
|
||||
EGIT_COMMIT="99eb89be1ccc06eccb489083f66398d653e448b2"
|
||||
ARCHIVE_URI="https://${EGO_PN%/*}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DESCRIPTION="A Continuous Delivery platform built on Docker, written in Go"
|
||||
HOMEPAGE="https://github.com/drone/drone"
|
||||
SRC_URI="${ARCHIVE_URI}
|
||||
https://github.com/drone/mq/archive/280af2a3b9c7d9ce90d625150dfff972c6c190b8.tar.gz -> drone-mq-280af2a3b9c7d9ce90d625150dfff972c6c190b8.tar.gz
|
||||
https://github.com/tidwall/redlog/archive/550629ebbfa9925a73f69cce7cdd2e8dae52c713.tar.gz -> tidwall-redlog-550629ebbfa9925a73f69cce7cdd2e8dae52c713.tar.gz
|
||||
https://github.com/golang/crypto/archive/453249f01cfeb54c3d549ddb75ff152ca243f9d8.tar.gz -> golang-crypto-453249f01cfeb54c3d549ddb75ff152ca243f9d8.tar.gz"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-go/go-bindata
|
||||
dev-go/go-bindata-assetfs:=
|
||||
dev-util/drone-ui:="
|
||||
|
||||
_golang-include-src() {
|
||||
local VENDORPN=$1 TARBALL=$2
|
||||
mkdir -p "${WORKDIR}/${P}/src/${VENDORPN}" || die
|
||||
tar -C "${WORKDIR}/${P}/src/${VENDORPN}" -x --strip-components 1\
|
||||
-f "${DISTDIR}"/${TARBALL} || die
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
golang-vcs-snapshot_src_unpack
|
||||
_golang-include-src github.com/drone/mq drone-mq-*.tar.gz
|
||||
_golang-include-src github.com/tidwall/redlog tidwall-redlog-*.tar.gz
|
||||
_golang-include-src golang.org/x/crypto golang-crypto-*.tar.gz
|
||||
}
|
||||
src_compile() {
|
||||
GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)" emake -C src/github.com/drone/drone gen || die
|
||||
pushd src || die
|
||||
DRONE_BUILD_NUMBER="${EGIT_COMMIT:0:7}" GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)"\
|
||||
go install -ldflags "-extldflags '-static' -X github.com/drone/drone/version.VersionDev=${EGIT_COMMIT:0:7}" github.com/drone/drone/drone || die
|
||||
popd || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/*
|
||||
}
|
@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
EGO_PN="github.com/drone/drone/..."
|
||||
EGIT_COMMIT="87276ebf7a0a354629f6f0b4fbe25acc18a3b752"
|
||||
EGO_VENDOR=( "github.com/drone/mq 280af2a3b9c7d9ce90d625150dfff972c6c190b8"
|
||||
"github.com/tidwall/redlog 550629ebbfa9925a73f69cce7cdd2e8dae52c713"
|
||||
"golang.org/x/crypto 728b753d0135da6801d45a38e6f43ff55779c5c2 github.com/golang/crypto" )
|
||||
|
||||
inherit golang-build golang-vcs-snapshot
|
||||
|
||||
ARCHIVE_URI="https://${EGO_PN%/*}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DESCRIPTION="A Continuous Delivery platform built on Docker, written in Go"
|
||||
HOMEPAGE="https://github.com/drone/drone"
|
||||
SRC_URI="${ARCHIVE_URI}
|
||||
${EGO_VENDOR_URI}"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-go/go-bindata
|
||||
dev-go/go-bindata-assetfs:=
|
||||
dev-util/drone-ui:="
|
||||
|
||||
src_compile() {
|
||||
GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)" emake -C src/github.com/drone/drone gen || die
|
||||
pushd src || die
|
||||
DRONE_BUILD_NUMBER="${EGIT_COMMIT:0:7}" GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)"\
|
||||
go install -ldflags "-extldflags '-static' -X github.com/drone/drone/version.VersionDev=${EGIT_COMMIT:0:7}" github.com/drone/drone/drone || die
|
||||
popd || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/*
|
||||
}
|
@ -1,12 +1,13 @@
|
||||
--- configure
|
||||
+++ configure
|
||||
@@ -14426,7 +14426,8 @@
|
||||
@@ -14426,7 +14426,9 @@
|
||||
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
|
||||
# instead of lib<name>.a to let people know that these are not
|
||||
# typical AIX shared libraries.
|
||||
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
||||
+ library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
|
||||
+ [ "${OBJECT_MODE:-32}" = '64' ] && soname_spec='$libname$release$shared_ext$major(shr_64.o)' || soname_spec='$libname$release$shared_ext$major(shr.o)'
|
||||
+ shlibpath_overrides_runpath=yes
|
||||
else
|
||||
# We preserve .a as extension for shared libraries through AIX4.2
|
||||
# and later when we are not doing run time linking.
|
||||
|
@ -1,10 +1,12 @@
|
||||
--- configure
|
||||
+++ configure
|
||||
@@ -14426,6 +14426,7 @@
|
||||
@@ -14426,6 +14426,8 @@
|
||||
# instead of lib<name>.a to let people know that these are not
|
||||
# typical AIX shared libraries.
|
||||
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
|
||||
- library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
|
||||
+ library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
|
||||
+ [ "${OBJECT_MODE:-32}" = '64' ] && soname_spec='$libname$release$shared_ext$major(shr_64.o)' || soname_spec='$libname$release$shared_ext$major(shr.o)'
|
||||
+ shlibpath_overrides_runpath=yes
|
||||
else
|
||||
# We preserve .a as extension for shared libraries through AIX4.2
|
||||
# and later when we are not doing run time linking.
|
||||
|
@ -1,2 +1 @@
|
||||
DIST libgd-2.2.3.tar.xz 2164152 SHA256 746b6cbd6769a22ff3ba6f5756f3512a769bd4cdf4695dff17f4867f25fa7d3c SHA512 bdc6d086bc054beda6574ec46baa4cd94048a5f2f357f875ba05983e92d247f1b731434b9e438c6aef09d46fa96f1a7e1f330a25a77ffd2dd78aa8a32d652557 WHIRLPOOL 1f290bb446618e402422488e77e1b88626ea3d9679653f10392b90386cf2ae861f9f8fdf624ebd96d152b764cfa3bf6f01859f58a033585db01ef8ea77c21e1a
|
||||
DIST libgd-2.2.4.tar.xz 2478528 SHA256 137f13a7eb93ce72e32ccd7cebdab6874f8cf7ddf31d3a455a68e016ecd9e4e6 SHA512 07903f322c4f6ab392508b0f60c38ca133699111ea92995dc6cd9379210d598bcb24a46c19657884d9e252f8663d0ee8c89c600e3a382a5ae598198c190f39b5 WHIRLPOOL eb00e684e8db02e649b3e6e2e76e7eff1e7aaa08995d78cef429b2b2053798aa1a44cd5b5eed5d3bc042394e72096d90ccc238ab3759e11fd543c80b697d0d91
|
||||
|
@ -1,61 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
|
||||
inherit eutils libtool multilib-minimal
|
||||
|
||||
DESCRIPTION="A graphics library for fast image creation"
|
||||
HOMEPAGE="http://libgd.org/ http://www.boutell.com/gd/"
|
||||
SRC_URI="https://github.com/libgd/libgd/releases/download/${P}/lib${P}.tar.xz"
|
||||
|
||||
LICENSE="gd IJG HPND BSD"
|
||||
SLOT="2/3"
|
||||
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 ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="fontconfig jpeg png static-libs tiff truetype webp xpm zlib"
|
||||
|
||||
# fontconfig has prefixed font paths, details see bug #518970
|
||||
REQUIRED_USE="prefix? ( fontconfig )"
|
||||
|
||||
RDEPEND="fontconfig? ( >=media-libs/fontconfig-2.10.92[${MULTILIB_USEDEP}] )
|
||||
jpeg? ( >=virtual/jpeg-0-r2:0=[${MULTILIB_USEDEP}] )
|
||||
png? ( >=media-libs/libpng-1.6.10:0=[${MULTILIB_USEDEP}] )
|
||||
tiff? ( media-libs/tiff:0[${MULTILIB_USEDEP}] )
|
||||
truetype? ( >=media-libs/freetype-2.5.0.1[${MULTILIB_USEDEP}] )
|
||||
webp? ( media-libs/libwebp[${MULTILIB_USEDEP}] )
|
||||
xpm? ( >=x11-libs/libXpm-3.5.10-r1[${MULTILIB_USEDEP}] >=x11-libs/libXt-1.1.4[${MULTILIB_USEDEP}] )
|
||||
zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )"
|
||||
DEPEND="${RDEPEND}
|
||||
>=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]"
|
||||
|
||||
S="${WORKDIR}/lib${P}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
elibtoolize # for shared library on Solaris
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
# we aren't actually {en,dis}abling X here ... the configure
|
||||
# script uses it just to add explicit -I/-L paths which we
|
||||
# don't care about on Gentoo systems.
|
||||
ECONF_SOURCE=${S} \
|
||||
econf \
|
||||
--disable-werror \
|
||||
--without-x \
|
||||
--without-liq \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_with fontconfig) \
|
||||
$(use_with png) \
|
||||
$(use_with tiff) \
|
||||
$(use_with truetype freetype) \
|
||||
$(use_with jpeg) \
|
||||
$(use_with webp) \
|
||||
$(use_with xpm) \
|
||||
$(use_with zlib)
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
dodoc NEWS README.md
|
||||
prune_libtool_files
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
DIST harfbuzz-1.3.1.tar.bz2 1358437 SHA256 a242206dd119d5e6cc1b2253c116abbae03f9d930cb60b515fb0d248decf89a1 SHA512 7c2dbd1cc3c77646fd7627c4db9ac1a5781fb4babe8a92b276b2f2170f82d7075632253c7498c27735c5aa7331ee22d41e24c3a8cfa07adc2461ece1e36334b9 WHIRLPOOL 764b3f83d99d34dd73b989f57a3afdf0ef94de5a4b287717f4148c4d28976c1311b9c6bfbcfed612e53580c11c2228f0e3011bd689e3fa86b3a12185acd5cba1
|
||||
DIST harfbuzz-1.3.4.tar.bz2 1408308 SHA256 718aa6fcadef1a6548315b8cfe42cc27e926256302c337f42df3a443843f6a2b SHA512 72027ce64d735f1f7ecabcc78ba426d6155cebd564439feb77cefdfc28b00bfd9f6314e6735addaa90cee1d98cf6d2c0b61f77b446ba34e11f7eb7cdfdcd386a WHIRLPOOL 998c7255dc2a67e40c9872434a3c73e0133fb70d7423772286c485c4cf97c56578d922bc68e934dec64e88d2a6b35ef91e5aae39373cbd941aa4990b94abc387
|
||||
DIST harfbuzz-1.4.3.tar.bz2 1470967 SHA256 838c17400a88a3a451eb401573ef94cdd50919730d98255547c459fef1d85321 SHA512 d80efc65054ef7310441a0f49961fb8df1ca569c9ab12bd4a36255863b896021b1c1516455e38b011fb2871b5428bd285dfca884e263d976937bee16e515124c WHIRLPOOL 299a01ce9189843dc5bc5de87e1081e2f2eb929d31d7740f7ed88889604ecf7f7a8976ceeae2206ca170f4deab191b848345c515b30a2e14c60446825f7fc084
|
||||
DIST harfbuzz-1.4.4.tar.bz2 1480766 SHA256 35d2f8ca476cbbec64ee824eca6b0209ff8db0334990b9f5af893b94f119d255 SHA512 2ea0a971ed150598a6e8f48173e60b9bc539d698b34891a2668a34449be286c6790ed47b604cb82406187e8701ed040d01934ffc028970fd460855e2887bf238 WHIRLPOOL fa48edbd747a23ae87e6984b1f52744eaff636d7f7e516e47dc869a13c28fc7a21b37b31445594b972c1aa6e5c12e228cf947ffd0328175dae71c2dce25b9e0a
|
||||
DIST harfbuzz-1.4.5.tar.bz2 1474461 SHA256 d0e05438165884f21658154c709075feaf98c93ee5c694b951533ac425a9a711 SHA512 dd505ef950ef1d702a820987d8e93097e4c4fd9f725d18e69dd756ea21d4d5624eb2edfc8563f89947e3913bf5efa1834092e06ea02821744b0b588ce2ceb00e WHIRLPOOL a81252744980fb53816df7ce7ed810e0202551976a90493da4e382dc19947bd715d83fcdbc31f39312d9e91b53443667faabe178ad59edb5d06df2ed1569ce06
|
||||
|
@ -1 +1 @@
|
||||
Mon, 13 Mar 2017 11:09:11 +0000
|
||||
Mon, 13 Mar 2017 17:09:14 +0000
|
||||
|
@ -1 +1 @@
|
||||
Mon, 13 Mar 2017 11:09:12 +0000
|
||||
Mon, 13 Mar 2017 17:09:14 +0000
|
||||
|
@ -0,0 +1,12 @@
|
||||
DEFINED_PHASES=compile install postinst unpack
|
||||
DEPEND=>=dev-lang/go-1.6:0
|
||||
DESCRIPTION=Client for keybase.io
|
||||
EAPI=6
|
||||
HOMEPAGE=https://keybase.io/
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=BSD
|
||||
RDEPEND=app-crypt/gnupg
|
||||
SLOT=0
|
||||
SRC_URI=https://github.com/keybase/client/archive/v1.0.20.tar.gz -> keybase-1.0.20.tar.gz
|
||||
_eclasses_=eutils 3c847a0129fed780bd709b98e426f89c multilib 0236be304ee52e7f179ed2f337075515 toolchain-funcs 6eb35f81556258a4bc9182ad3dfd58ee versionator c80ccf29e90adea7c5cae94b42eb76d0
|
||||
_md5_=82038d9391955b525fee5b626bcc9c3a
|
@ -1,14 +0,0 @@
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DEPEND=python_targets_python3_4? ( dev-lang/python:3.4 ) >=dev-lang/python-exec-2:=[python_targets_python3_4(-)?,-python_single_target_python3_4(-)]
|
||||
DESCRIPTION=Simple editor for Markdown and reStructuredText
|
||||
EAPI=5
|
||||
HOMEPAGE=https://github.com/retext-project/retext https://github.com/retext-project/retext/wiki
|
||||
IUSE=+spell python_targets_python3_4 linguas_ca linguas_cs linguas_cy linguas_da linguas_de linguas_es linguas_et linguas_eu linguas_fr linguas_hu linguas_it linguas_ja linguas_pl linguas_pt linguas_pt_BR linguas_ru linguas_sk linguas_sr linguas_sr@latin linguas_uk linguas_zh_TW
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=dev-python/docutils[python_targets_python3_4(-)?,-python_single_target_python3_4(-)] dev-python/markdown[python_targets_python3_4(-)?,-python_single_target_python3_4(-)] <dev-python/markups-2[python_targets_python3_4(-)?,-python_single_target_python3_4(-)] dev-python/pygments[python_targets_python3_4(-)?,-python_single_target_python3_4(-)] dev-python/PyQt5[gui,network,printsupport,webkit,widgets,python_targets_python3_4(-)?,-python_single_target_python3_4(-)] spell? ( dev-python/pyenchant[python_targets_python3_4(-)?,-python_single_target_python3_4(-)] ) python_targets_python3_4? ( dev-lang/python:3.4 ) >=dev-lang/python-exec-2:=[python_targets_python3_4(-)?,-python_single_target_python3_4(-)]
|
||||
REQUIRED_USE=|| ( python_targets_python3_4 )
|
||||
SLOT=0
|
||||
SRC_URI=mirror://pypi/R/ReText/ReText-5.3.1.tar.gz
|
||||
_eclasses_=distutils-r1 039ba10839816478cfb070fdeb053906 eutils 3c847a0129fed780bd709b98e426f89c l10n 8f52d9ce1814aca2ed1a46920084ea66 multibuild 72647e255187a1fadc81097b3657e5c3 multilib 0236be304ee52e7f179ed2f337075515 multiprocessing 284a473719153462f3e974d86c8cb81c python-r1 0c067f080a047742ffac024b16895b45 python-utils-r1 4f8aa7196c2c9a5630e66c2113ae46c3 toolchain-funcs 6eb35f81556258a4bc9182ad3dfd58ee xdg-utils b9389dfad0ee8f8e0b2a41b79fcf7120
|
||||
_md5_=0ae009e98823af45c39889e71920a29e
|
@ -1,14 +0,0 @@
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DEPEND=python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_python3_5? ( dev-lang/python:3.5 ) >=dev-lang/python-exec-2:=[python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python3_4(-),-python_single_target_python3_5(-)]
|
||||
DESCRIPTION=Simple editor for Markdown and reStructuredText
|
||||
EAPI=6
|
||||
HOMEPAGE=https://github.com/retext-project/retext https://github.com/retext-project/retext/wiki
|
||||
IUSE=+spell python_targets_python3_4 python_targets_python3_5 linguas_ca linguas_cs linguas_cy linguas_da linguas_de linguas_es linguas_et linguas_eu linguas_fr linguas_hu linguas_it linguas_ja linguas_pl linguas_pt linguas_pt_BR linguas_ru linguas_sk linguas_sr linguas_sr@latin linguas_uk linguas_zh_TW
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=dev-python/docutils[python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python3_4(-),-python_single_target_python3_5(-)] dev-python/markdown[python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python3_4(-),-python_single_target_python3_5(-)] >=dev-python/markups-2[python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python3_4(-),-python_single_target_python3_5(-)] >=dev-python/chardet-2.3[python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python3_4(-),-python_single_target_python3_5(-)] dev-python/pygments[python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python3_4(-),-python_single_target_python3_5(-)] dev-python/PyQt5[gui,network,printsupport,webkit,widgets,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python3_4(-),-python_single_target_python3_5(-)] spell? ( dev-python/pyenchant[python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python3_4(-),-python_single_target_python3_5(-)] ) python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_python3_5? ( dev-lang/python:3.5 ) >=dev-lang/python-exec-2:=[python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python3_4(-),-python_single_target_python3_5(-)]
|
||||
REQUIRED_USE=|| ( python_targets_python3_4 python_targets_python3_5 )
|
||||
SLOT=0
|
||||
SRC_URI=mirror://pypi/R/ReText/ReText-6.0.1.tar.gz
|
||||
_eclasses_=distutils-r1 039ba10839816478cfb070fdeb053906 l10n 8f52d9ce1814aca2ed1a46920084ea66 multibuild 72647e255187a1fadc81097b3657e5c3 multilib 0236be304ee52e7f179ed2f337075515 multiprocessing 284a473719153462f3e974d86c8cb81c python-r1 0c067f080a047742ffac024b16895b45 python-utils-r1 4f8aa7196c2c9a5630e66c2113ae46c3 toolchain-funcs 6eb35f81556258a4bc9182ad3dfd58ee xdg-utils b9389dfad0ee8f8e0b2a41b79fcf7120
|
||||
_md5_=a028ba5997df30c90f33833fa04ca74c
|
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DEPEND=python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_python3_5? ( dev-lang/python:3.5 ) >=dev-lang/python-exec-2:=[python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python3_4(-),-python_single_target_python3_5(-)]
|
||||
DESCRIPTION=Simple editor for Markdown and reStructuredText
|
||||
EAPI=6
|
||||
HOMEPAGE=https://github.com/retext-project/retext https://github.com/retext-project/retext/wiki
|
||||
IUSE=+spell python_targets_python3_4 python_targets_python3_5 linguas_ca linguas_cs linguas_cy linguas_da linguas_de linguas_es linguas_et linguas_eu linguas_fr linguas_hu linguas_it linguas_ja linguas_pl linguas_pt linguas_pt_BR linguas_ru linguas_sk linguas_sr linguas_sr@latin linguas_uk linguas_zh_TW
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=dev-python/docutils[python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python3_4(-),-python_single_target_python3_5(-)] dev-python/markdown[python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python3_4(-),-python_single_target_python3_5(-)] >=dev-python/markups-2.0[python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python3_4(-),-python_single_target_python3_5(-)] >=dev-python/chardet-2.3[python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python3_4(-),-python_single_target_python3_5(-)] dev-python/pygments[python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python3_4(-),-python_single_target_python3_5(-)] dev-python/PyQt5[gui,network,printsupport,webkit,widgets,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python3_4(-),-python_single_target_python3_5(-)] spell? ( dev-python/pyenchant[python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python3_4(-),-python_single_target_python3_5(-)] ) python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_python3_5? ( dev-lang/python:3.5 ) >=dev-lang/python-exec-2:=[python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python3_4(-),-python_single_target_python3_5(-)]
|
||||
REQUIRED_USE=|| ( python_targets_python3_4 python_targets_python3_5 )
|
||||
SLOT=0
|
||||
SRC_URI=mirror://pypi/R/ReText/ReText-7.0.0.tar.gz
|
||||
_eclasses_=distutils-r1 039ba10839816478cfb070fdeb053906 eutils 3c847a0129fed780bd709b98e426f89c l10n 8f52d9ce1814aca2ed1a46920084ea66 multibuild 72647e255187a1fadc81097b3657e5c3 multilib 0236be304ee52e7f179ed2f337075515 multiprocessing 284a473719153462f3e974d86c8cb81c python-r1 0c067f080a047742ffac024b16895b45 python-utils-r1 4f8aa7196c2c9a5630e66c2113ae46c3 toolchain-funcs 6eb35f81556258a4bc9182ad3dfd58ee xdg-utils b9389dfad0ee8f8e0b2a41b79fcf7120
|
||||
_md5_=aaf02817606822cdad8fc22e452b8e59
|
@ -1,12 +1,12 @@
|
||||
DEFINED_PHASES=compile configure install prepare test unpack
|
||||
DEPEND=python_targets_python3_4? ( dev-lang/python:3.4 ) >=dev-lang/python-exec-2:=[python_targets_python3_4(-)?,-python_single_target_python3_4(-)] >=dev-vcs/git-1.8.2.1
|
||||
DEPEND=python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_python3_5? ( dev-lang/python:3.5 ) >=dev-lang/python-exec-2:=[python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python3_4(-),-python_single_target_python3_5(-)] >=dev-vcs/git-1.8.2.1
|
||||
DESCRIPTION=Simple editor for Markdown and reStructuredText
|
||||
EAPI=5
|
||||
HOMEPAGE=https://github.com/retext-project/retext https://github.com/retext-project/retext/wiki
|
||||
IUSE=+spell python_targets_python3_4 linguas_ca linguas_cs linguas_cy linguas_da linguas_de linguas_es linguas_et linguas_eu linguas_fr linguas_hu linguas_it linguas_ja linguas_pl linguas_pt linguas_pt_BR linguas_ru linguas_sk linguas_sr linguas_sr@latin linguas_uk linguas_zh_TW
|
||||
IUSE=+spell python_targets_python3_4 python_targets_python3_5 linguas_ca linguas_cs linguas_cy linguas_da linguas_de linguas_es linguas_et linguas_eu linguas_fr linguas_hu linguas_it linguas_ja linguas_pl linguas_pt linguas_pt_BR linguas_ru linguas_sk linguas_sr linguas_sr@latin linguas_uk linguas_zh_TW
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=dev-python/docutils[python_targets_python3_4(-)?,-python_single_target_python3_4(-)] dev-python/markdown[python_targets_python3_4(-)?,-python_single_target_python3_4(-)] >=dev-python/markups-2.0[python_targets_python3_4(-)?,-python_single_target_python3_4(-)] >=dev-python/chardet-2.3[python_targets_python3_4(-)?,-python_single_target_python3_4(-)] dev-python/pygments[python_targets_python3_4(-)?,-python_single_target_python3_4(-)] dev-python/PyQt5[gui,network,printsupport,webkit,widgets,python_targets_python3_4(-)?,-python_single_target_python3_4(-)] spell? ( dev-python/pyenchant[python_targets_python3_4(-)?,-python_single_target_python3_4(-)] ) python_targets_python3_4? ( dev-lang/python:3.4 ) >=dev-lang/python-exec-2:=[python_targets_python3_4(-)?,-python_single_target_python3_4(-)]
|
||||
REQUIRED_USE=|| ( python_targets_python3_4 )
|
||||
RDEPEND=dev-python/docutils[python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python3_4(-),-python_single_target_python3_5(-)] dev-python/markdown[python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python3_4(-),-python_single_target_python3_5(-)] >=dev-python/markups-2.0[python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python3_4(-),-python_single_target_python3_5(-)] >=dev-python/chardet-2.3[python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python3_4(-),-python_single_target_python3_5(-)] dev-python/pygments[python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python3_4(-),-python_single_target_python3_5(-)] dev-python/PyQt5[gui,network,printsupport,webkit,widgets,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python3_4(-),-python_single_target_python3_5(-)] spell? ( dev-python/pyenchant[python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python3_4(-),-python_single_target_python3_5(-)] ) python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_python3_5? ( dev-lang/python:3.5 ) >=dev-lang/python-exec-2:=[python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python3_4(-),-python_single_target_python3_5(-)]
|
||||
REQUIRED_USE=|| ( python_targets_python3_4 python_targets_python3_5 )
|
||||
SLOT=0
|
||||
_eclasses_=distutils-r1 039ba10839816478cfb070fdeb053906 eutils 3c847a0129fed780bd709b98e426f89c git-r3 08c5be5f8bdc203ed54d5ff5fef3c34d l10n 8f52d9ce1814aca2ed1a46920084ea66 multibuild 72647e255187a1fadc81097b3657e5c3 multilib 0236be304ee52e7f179ed2f337075515 multiprocessing 284a473719153462f3e974d86c8cb81c python-r1 0c067f080a047742ffac024b16895b45 python-utils-r1 4f8aa7196c2c9a5630e66c2113ae46c3 toolchain-funcs 6eb35f81556258a4bc9182ad3dfd58ee xdg-utils b9389dfad0ee8f8e0b2a41b79fcf7120
|
||||
_md5_=a383f9956eef0cc6a240640e3afe8683
|
||||
_md5_=1ae464f775f7a971524a95d4fdf18c80
|
||||
|
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DEPEND=>=dev-python/pbr-1.8[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/setuptools[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_python2_7(-)]
|
||||
DESCRIPTION=Golden Disk Image builder.
|
||||
EAPI=6
|
||||
HOMEPAGE=http://docs.openstack.org/developer/diskimage-builder/
|
||||
IUSE=python_targets_python2_7
|
||||
KEYWORDS=~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux
|
||||
LICENSE=Apache-2.0
|
||||
RDEPEND=>=dev-python/pbr-1.8[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] >=dev-python/Babel-2.3.4[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] >=dev-python/pyyaml-3.10.0[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] >=dev-python/flake8-2.5.4[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] <dev-python/flake8-2.6.0[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] >=dev-python/six-1.9.0[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] app-emulation/qemu sys-block/parted sys-fs/multipath-tools python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_python2_7(-)]
|
||||
REQUIRED_USE=|| ( python_targets_python2_7 )
|
||||
SLOT=0
|
||||
SRC_URI=mirror://pypi/d/diskimage-builder/diskimage-builder-2.0.0.tar.gz
|
||||
_eclasses_=distutils-r1 039ba10839816478cfb070fdeb053906 multibuild 72647e255187a1fadc81097b3657e5c3 multilib 0236be304ee52e7f179ed2f337075515 multiprocessing 284a473719153462f3e974d86c8cb81c python-r1 0c067f080a047742ffac024b16895b45 python-utils-r1 4f8aa7196c2c9a5630e66c2113ae46c3 toolchain-funcs 6eb35f81556258a4bc9182ad3dfd58ee xdg-utils b9389dfad0ee8f8e0b2a41b79fcf7120
|
||||
_md5_=3622a7a13d5951c02065baa4f6e94818
|
@ -0,0 +1,13 @@
|
||||
DEFINED_PHASES=compile install test unpack
|
||||
DEPEND=>=dev-lang/go-1.7:=
|
||||
DESCRIPTION=Tool to move from docker-compose to Kubernetes
|
||||
EAPI=6
|
||||
HOMEPAGE=https://github.com/kubernetes-incubator/kompose
|
||||
IUSE=hardened
|
||||
KEYWORDS=~amd64
|
||||
LICENSE=Apache-2.0
|
||||
RESTRICT=test
|
||||
SLOT=0/0.3.0
|
||||
SRC_URI=https://github.com/kubernetes-incubator/kompose/archive/v0.3.0.tar.gz -> kompose-0.3.0.tar.gz
|
||||
_eclasses_=golang-base 2983c8674b8e3b3a99ec61986356c76a golang-build b66349c110e4ddd6203bbe8bf4ae05c1 golang-vcs-snapshot 7fb5d554a7e656be19ec465fa5bb66db
|
||||
_md5_=ed6fb0aa6a00c2065dc442f2d309983e
|
@ -1,13 +0,0 @@
|
||||
DEFINED_PHASES=compile configure install postinst prepare setup
|
||||
DEPEND=>=sys-libs/ncurses-5.2:0= pam? ( virtual/pam ) sys-apps/texinfo !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
|
||||
DESCRIPTION=screen manager with VT100/ANSI terminal emulation
|
||||
EAPI=5
|
||||
HOMEPAGE=https://www.gnu.org/software/screen/
|
||||
IUSE=debug nethack pam selinux multiuser
|
||||
KEYWORDS=alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=>=sys-libs/ncurses-5.2:0= pam? ( virtual/pam ) selinux? ( sec-policy/selinux-screen )
|
||||
SLOT=0
|
||||
SRC_URI=mirror://gnu/screen/screen-4.3.1.tar.gz
|
||||
_eclasses_=autotools 7027963e8e8cc12c91117bdb9225dc26 eutils 3c847a0129fed780bd709b98e426f89c flag-o-matic 61cad4fb5d800b29d484b27cb033f59b libtool 48b1b9f6194d2842456514d1184ca72e multilib 0236be304ee52e7f179ed2f337075515 pam 3e788d86170dfcd5b06824d898315e18 toolchain-funcs 6eb35f81556258a4bc9182ad3dfd58ee user e4b567c44272a719fabf53f0f885d3f7
|
||||
_md5_=918aa075bd44fb3489b0fcf6d2c20c49
|
@ -1,13 +0,0 @@
|
||||
DEFINED_PHASES=compile configure install postinst prepare setup
|
||||
DEPEND=>=sys-libs/ncurses-5.2:0= pam? ( virtual/pam ) sys-apps/texinfo !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
|
||||
DESCRIPTION=screen manager with VT100/ANSI terminal emulation
|
||||
EAPI=6
|
||||
HOMEPAGE=https://www.gnu.org/software/screen/
|
||||
IUSE=debug nethack pam selinux multiuser
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=>=sys-libs/ncurses-5.2:0= pam? ( virtual/pam ) selinux? ( sec-policy/selinux-screen )
|
||||
SLOT=0
|
||||
SRC_URI=mirror://gnu/screen/screen-4.5.0.tar.gz
|
||||
_eclasses_=autotools 7027963e8e8cc12c91117bdb9225dc26 eutils 3c847a0129fed780bd709b98e426f89c flag-o-matic 61cad4fb5d800b29d484b27cb033f59b libtool 48b1b9f6194d2842456514d1184ca72e multilib 0236be304ee52e7f179ed2f337075515 pam 3e788d86170dfcd5b06824d898315e18 toolchain-funcs 6eb35f81556258a4bc9182ad3dfd58ee user e4b567c44272a719fabf53f0f885d3f7
|
||||
_md5_=44748cb5e63ed638574654c188f3f39a
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue