mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-18 02:16:59 +02:00
bump(dev-libs/newt): sync with upstream
This commit is contained in:
parent
21dc038f0b
commit
80cedb9ff6
@ -1 +1,11 @@
|
||||
DIST newt-0.52.12.tar.gz 178027 RMD160 0d34b278e72c1b1305fc110e491e3bc96b42a374 SHA1 6952115806c7b1dbc36858eb4ca0596b235cf6f4 SHA256 2ba88dc3d118daf509c58e3707c43ad57dd3415d8164054e93fe76439f348529
|
||||
AUX newt-0.52.13-gold.patch 431 SHA256 6383e6b9cbda8f7e9d4c9b111341bcbce279334e50d4907839dca088cb143b47 SHA512 0773f904f6201c779464c4cdfba3c988432cebf1ce408eda4ff3abcbcc1922dc5d54549b7c9ea3eaa4b5aace3a2f4bbe160ce449e98a9d66893019857af2d5e2 WHIRLPOOL b94790a0cdc2b2bd7d05dbb4764d76a273b6ae11d50665dece1796bb7d9d35825ea5274d571b1c55d592c2b66eb5fad36737eb76fdc30152f2a0cbdfa75a4175
|
||||
AUX newt-0.52.14-tcl.patch 3269 SHA256 2cc900ddb3b24536235ab1b2704227c0a6bdbb268e4ceb1b3a89fe65575556a8 SHA512 6074f53b4070f4d8c7e1f4dfc4de7c549ac63a4af4bae70a3ebc3ebb03bd588923e8a952ffd93139041f5454318958a50a8ca8b0ecd98fb5d2ebde74b42aa313 WHIRLPOOL 763747ff06ee9c7ad42d184393686a472f036f3d1d1be534cc3e95d70796629eb5017a83e6c972fbf5c4e32e48b4eb9751944a12c23238d47eac73e37798e9d2
|
||||
AUX newt-0.52.15-makefile.patch 403 SHA256 7d889a8cc30151c65edb6a2471a3a253be3e3e8d73a91e62e746e79f5f86f43b SHA512 146430581aa1811ac2f5aa03f6da6f193afda153eb3c3efd8576631f591f3671f05d9479182f593faedc79be17fc91852641259df93faa1231d3eda5e9dfd73d WHIRLPOOL f06df0e50f342b8bd157856ec7005910a7807770886e3043c347a6d212fc7ff7417dff658e9d8b677ac0e4d150a6184d42bb00bafb4abc1b0dbc589e346433a1
|
||||
AUX newt-0.52.15-snack.patch 797 SHA256 18b7ffc641866ae50c686eac293c93bf47ba16208cfc83ce91ee3fe8dc5e4582 SHA512 3a7a706c74307d5fc1d10ef0ec64f2d6cc086630b5620ffc3a679770adde65212fe0b5fb9529dea43565f0c8d40bc57a8b8fd67b106ab2279be8f8a9bde1c56b WHIRLPOOL c5b8d3f97e89d1bed0ced0300cb82c48077ff701dbc0184e2c914c08f4bb39ab8c17847de6baa0304fa8dbfb7d694968f8ea8c0acb162d22b8b9346b2697ae4a
|
||||
DIST newt-0.52.15.tar.gz 183171 SHA256 7a6151923e7a8a950f9a8a21668a5780d09b0f35f9d76a7ec606c71c35a0e241 SHA512 f93798e8e9e33b4bc1bbb6039d94ccdf55be76a0e0f918eb32a241fe527ea61121a8fc35ccd699e3f6202eb367ba4b4025b30264bd9b0face7c16782f113051e WHIRLPOOL 3b23d149964bb63b6c1de2f84c7d8eaac4ecb004698135e41afd0e3ca2702f8687f9ca46a4bc10c2d4a372b9b10e7dd792a6d56deee59e2f30f942776f6d625b
|
||||
DIST newt-0.52.18.tar.gz 180425 SHA256 771b0e634ede56ae6a6acd910728bb5832ac13ddb0d1d27919d2498dab70c91e SHA512 223b4fba9568d7ddddd9292f52d5e556a24403642d1dac97b58c8ede698bc182ce7d5afd31df2cb1c5b8a8850529b50ce71d8ad84856be8d42fad0f1a33a48f8 WHIRLPOOL e4ca7b572579834df0f73f1bd65a19be48e186f253ac2e82713a0e5ed902ca1fcb8cec88da508519e6a0e88efcac77fbaa0000525bb7659264849322bc3c1c55
|
||||
EBUILD newt-0.52.15.ebuild 2027 SHA256 26e8de4caabb410150f98d4643bc093c57138785957ae38f0a6e41782f11a016 SHA512 3936acacd773e0d4fca2052f5eb581bd8cbec14ece1f44c40c18a52b2b205398b1ccef7dfbe50cd6fe73bfdf2361ecbdc6e84756c89c43728081a6b14185d851 WHIRLPOOL 91c86e9988615ebfb9221a07c6fb3ef23f3dbab62466f27eede87fbdb6011b625aeccd19ce4b43c7c10035d4e891cb8fce538cafc38fb7a7c6f5a3a5006c9774
|
||||
EBUILD newt-0.52.18.ebuild 1964 SHA256 12434c2228572c3ac316c8aa4ebf7eab8554c295b9306458efe61ef4f74785bf SHA512 55961c54ede0379f42530892d39b768ad0f794060234e91e1c4dcf6a0e100b2656ba6980ee1116818ad1f198255eea3901d719afca0119142238235f91c02f2f WHIRLPOOL dcfb59a609650881265900d91194c0776833e91b782fdd70e998d3e655a04b6e33ee4604c6aab5ef5cb64c623862a722bda7d96317f64dca6f24a5dd6bcffb5f
|
||||
MISC ChangeLog 2357 SHA256 a1e72f4ddeae0bab9392582dfd2db05e393ab09e1ecad729c6406901fd2b0592 SHA512 1277091252dd8339294b523299bc51b70f49652dd283b09f093667e9aec5328a2c1859fab32f7e29f3cef418ea990c32982a15110a6589100b83c6e348f26167 WHIRLPOOL 7bdef2d448f9009400b4eb29b4b9eed837a80499abf728cb5985b23a78d7ee357c978a0a3b948a2f160c806b0112800d359e762de820235ab982061754f7ee38
|
||||
MISC ChangeLog-2015 14685 SHA256 9e807dc1357f6054883e0a68a0799b1a22f2951de5eaa96e62121731004d72fa SHA512 706a7eb68b5df858c879a36efdafeddc0996261bdc656485770fb3111ae071f5073c48bfd142247da9850d870edfdf1f8fd4b025ab50082e974648595b2d64cb WHIRLPOOL 3892094cdbd88e6c978050c044d17c1496a1169130c4baad5a77164ce7326ee49cfc62ea4ce16a2465200affc97bcefda10e1509d6a0c40e633eda0062f03ce5
|
||||
MISC metadata.xml 220 SHA256 e57daab425a1f8cdce53445e733d7349fb8923b1aa2a6b12c3ebba1412b8b593 SHA512 92d5a05e3acc3e5910f8f0948c3cb31126a5aec7042421c0aed7b4721bd1fc83b819814a1772fe7ad0ddea4e0e9f485bae74cfea2c116dbca13994b05854da91 WHIRLPOOL c715af52eb1b44b0ece00769636aa99f5e34ffc89940948d9b5120960158cc76249515e25fb56f47c368b0cf38756cfb5e9824b9074c4fbd587ee1c52aad2ebe
|
||||
|
12
sdk_container/src/third_party/portage-stable/dev-libs/newt/files/newt-0.52.13-gold.patch
vendored
Normal file
12
sdk_container/src/third_party/portage-stable/dev-libs/newt/files/newt-0.52.13-gold.patch
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
--- configure.ac~ 2011-11-09 23:50:21.000000000 +0900
|
||||
+++ configure.ac 2011-11-09 23:54:54.139482817 +0900
|
||||
@@ -19,7 +19,8 @@
|
||||
AC_MSG_CHECKING([for GNU ld])
|
||||
LD=`$CC -print-prog-name=ld 2>&5`
|
||||
|
||||
-if test `$LD -v 2>&1 | $ac_cv_path_GREP -c "GNU ld"` = 0; then
|
||||
+if test `$LD -v 2>&1 | $ac_cv_path_GREP -c "GNU ld"` = 0 -a \
|
||||
+ test `$LD -v 2>&1 | $ac_cv_path_GREP -c "GNU gold"` = 0; then
|
||||
# Not
|
||||
GNU_LD=""
|
||||
AC_MSG_RESULT([no])
|
108
sdk_container/src/third_party/portage-stable/dev-libs/newt/files/newt-0.52.14-tcl.patch
vendored
Normal file
108
sdk_container/src/third_party/portage-stable/dev-libs/newt/files/newt-0.52.14-tcl.patch
vendored
Normal file
@ -0,0 +1,108 @@
|
||||
diff --git a/whiptcl.c b/whiptcl.c
|
||||
index 8688780..7219911 100644
|
||||
--- a/whiptcl.c
|
||||
+++ b/whiptcl.c
|
||||
@@ -137,45 +137,45 @@ static int wtCmd(ClientData clientData, Tcl_Interp * interp, int argc,
|
||||
|
||||
if (arg < -1) {
|
||||
/* this could buffer oveflow, bug we're not setuid so I don't care */
|
||||
- interp->result = malloc(200);
|
||||
- interp->freeProc = TCL_DYNAMIC;
|
||||
- sprintf(interp->result, "%s: %s\n",
|
||||
+ char *tmp = malloc(200);
|
||||
+ sprintf(tmp, "%s: %s\n",
|
||||
poptBadOption(optCon, POPT_BADOPTION_NOALIAS),
|
||||
poptStrerror(arg));
|
||||
+ Tcl_SetResult(interp, tmp, TCL_DYNAMIC);
|
||||
|
||||
return TCL_ERROR;
|
||||
}
|
||||
|
||||
if (mode == MODE_NONE) {
|
||||
- interp->result = "no dialog mode was specified";
|
||||
+ Tcl_SetResultString(interp, "no dialog mode was specified");
|
||||
return TCL_ERROR;
|
||||
} else if (rc) {
|
||||
- interp->result = "multiple modes were specified";
|
||||
+ Tcl_SetResultString(interp, "multiple modes were specified");
|
||||
return TCL_ERROR;
|
||||
}
|
||||
|
||||
if (!(text = poptGetArg(optCon))) {
|
||||
- interp->result = "missing text parameter";
|
||||
+ Tcl_SetResultString(interp, "missing text parameter");
|
||||
return TCL_ERROR;
|
||||
}
|
||||
|
||||
if (!(nextArg = poptGetArg(optCon))) {
|
||||
- interp->result = "height missing";
|
||||
+ Tcl_SetResultString(interp, "height missing");
|
||||
return TCL_ERROR;
|
||||
}
|
||||
height = strtoul(nextArg, &end, 10);
|
||||
if (*end) {
|
||||
- interp->result = "height is not a number";
|
||||
+ Tcl_SetResultString(interp, "height is not a number");
|
||||
return TCL_ERROR;
|
||||
}
|
||||
|
||||
if (!(nextArg = poptGetArg(optCon))) {
|
||||
- interp->result = "width missing";
|
||||
+ Tcl_SetResultString(interp, "width missing");
|
||||
return TCL_ERROR;
|
||||
}
|
||||
width = strtoul(nextArg, &end, 10);
|
||||
if (*end) {
|
||||
- interp->result = "width is not a number";
|
||||
+ Tcl_SetResultString(interp, "width is not a number");
|
||||
return TCL_ERROR;
|
||||
}
|
||||
|
||||
@@ -196,33 +196,30 @@ static int wtCmd(ClientData clientData, Tcl_Interp * interp, int argc,
|
||||
case MODE_YESNO:
|
||||
rc = messageBox(text, height, width, MSGBOX_YESNO, flags);
|
||||
if (rc == DLG_OKAY)
|
||||
- interp->result = "yes";
|
||||
+ Tcl_SetResultString(interp, "yes");
|
||||
else
|
||||
- interp->result = "no";
|
||||
+ Tcl_SetResultString(interp, "no");
|
||||
if (rc == DLG_ERROR) rc = 0;
|
||||
break;
|
||||
|
||||
case MODE_INPUTBOX:
|
||||
rc = inputBox(text, height, width, optCon, flags, &result);
|
||||
if (rc ==DLG_OKAY) {
|
||||
- interp->result = result;
|
||||
- interp->freeProc = TCL_DYNAMIC;
|
||||
+ Tcl_SetResult(interp, result, TCL_DYNAMIC);
|
||||
}
|
||||
break;
|
||||
|
||||
case MODE_MENU:
|
||||
rc = listBox(text, height, width, optCon, flags, default_item, &result);
|
||||
if (rc==DLG_OKAY) {
|
||||
- interp->result = result;
|
||||
- interp->freeProc = TCL_DYNAMIC;
|
||||
+ Tcl_SetResult(interp, result, TCL_DYNAMIC);
|
||||
}
|
||||
break;
|
||||
|
||||
case MODE_RADIOLIST:
|
||||
rc = checkList(text, height, width, optCon, 1, flags, &selections);
|
||||
if (rc==DLG_OKAY) {
|
||||
- interp->result = selections[0];
|
||||
- interp->freeProc = TCL_DYNAMIC;
|
||||
+ Tcl_SetResult(interp, selections[0], TCL_DYNAMIC);
|
||||
|
||||
free(selections);
|
||||
}
|
||||
@@ -247,7 +244,7 @@ static int wtCmd(ClientData clientData, Tcl_Interp * interp, int argc,
|
||||
newtPopWindow();
|
||||
|
||||
if (rc == DLG_ERROR) {
|
||||
- interp->result = "bad paramter for whiptcl dialog box";
|
||||
+ Tcl_SetResultString(interp, "bad paramter for whiptcl dialog box");
|
||||
return TCL_ERROR;
|
||||
}
|
||||
|
13
sdk_container/src/third_party/portage-stable/dev-libs/newt/files/newt-0.52.15-makefile.patch
vendored
Normal file
13
sdk_container/src/third_party/portage-stable/dev-libs/newt/files/newt-0.52.15-makefile.patch
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/Makefile.in b/Makefile.in
|
||||
index 4ae284b..cd5c4a7 100644
|
||||
--- a/Makefile.in
|
||||
+++ b/Makefile.in
|
||||
@@ -127,7 +127,7 @@ $(LIBNEWTSH): $(SHAREDDIR) $(SHAREDOBJS)
|
||||
ln -fs $(LIBNEWTSONAME) libnewt.so
|
||||
ln -fs $(LIBNEWTSH) $(LIBNEWTSONAME)
|
||||
|
||||
-$(SHAREDDIR)/%.o : %.c
|
||||
+$(SHAREDDIR)/%.o : %.c $(SHAREDDIR)
|
||||
$(CC) $(SHCFLAGS) -c $(CFLAGS) $(CPPFLAGS) -o $@ $<
|
||||
|
||||
install: $(LIBNEWT) install-sh whiptail
|
13
sdk_container/src/third_party/portage-stable/dev-libs/newt/files/newt-0.52.15-snack.patch
vendored
Normal file
13
sdk_container/src/third_party/portage-stable/dev-libs/newt/files/newt-0.52.15-snack.patch
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/Makefile.in b/Makefile.in
|
||||
index 75764e1..ca95bb6 100644
|
||||
--- a/Makefile.in
|
||||
+++ b/Makefile.in
|
||||
@@ -90,7 +90,7 @@ _snackmodule.so: snackmodule.c $(LIBNEWTSH)
|
||||
PLDFLAGS=`$$pyconfig --ldflags`; \
|
||||
PLFLAGS=`$$pyconfig --libs`; \
|
||||
echo $(CC) $(SHCFLAGS) $(CPPFLAGS) $$PIFLAGS $$PCFLAGS -c -o $$ver/snackmodule.o snackmodule.c; \
|
||||
- $(CC) $(SHCFLAGS) $(CPPFLAGS) $$PIFLAGS $$PCFLAGS -c -o $$ver/snackmodule.o snackmodule.c; \
|
||||
+ $(CC) $(SHCFLAGS) $(CFLAGS) $(CPPFLAGS) $$PIFLAGS $$PCFLAGS -c -o $$ver/snackmodule.o snackmodule.c; \
|
||||
echo $(CC) --shared $$PLDFLAGS $$PLFLAGS $(LDFLAGS) -o $$ver/_snackmodule.so $$ver/snackmodule.o -L. -lnewt $(LIBS); \
|
||||
$(CC) --shared $$PLDFLAGS $$PLFLAGS $(LDFLAGS) -o $$ver/_snackmodule.so $$ver/snackmodule.o -L. -lnewt $(LIBS); \
|
||||
done || :
|
7
sdk_container/src/third_party/portage-stable/dev-libs/newt/metadata.xml
vendored
Normal file
7
sdk_container/src/third_party/portage-stable/dev-libs/newt/metadata.xml
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>naota@gentoo.org</email>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1,75 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/newt/newt-0.52.12.ebuild,v 1.9 2011/03/01 01:19:47 ranger Exp $
|
||||
|
||||
EAPI="3"
|
||||
PYTHON_DEPEND="2"
|
||||
|
||||
inherit eutils multilib python
|
||||
|
||||
DESCRIPTION="Redhat's Newt windowing toolkit development files"
|
||||
HOMEPAGE="https://fedorahosted.org/newt/"
|
||||
SRC_URI="https://fedorahosted.org/releases/n/e/newt/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86"
|
||||
IUSE="gpm tcl nls"
|
||||
|
||||
RDEPEND="=sys-libs/slang-2*
|
||||
>=dev-libs/popt-1.6
|
||||
elibc_uclibc? ( sys-libs/ncurses )
|
||||
gpm? ( sys-libs/gpm )
|
||||
tcl? ( =dev-lang/tcl-8.5* )
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# bug 73850
|
||||
if use elibc_uclibc; then
|
||||
sed -i -e 's:-lslang:-lslang -lncurses:g' Makefile.in || die
|
||||
fi
|
||||
|
||||
sed -i Makefile.in \
|
||||
-e 's|-ltcl8.4|-ltcl8.5|g' \
|
||||
-e 's|$(SHCFLAGS) -o|$(LDFLAGS) &|g' \
|
||||
-e 's|-g -o|$(CFLAGS) $(LDFLAGS) -o|g' \
|
||||
-e 's|-shared -o|$(CFLAGS) $(LDFLAGS) &|g' \
|
||||
-e 's|instroot|DESTDIR|g' \
|
||||
-e 's| make | $(MAKE) |g' \
|
||||
|| die "sed Makefile.in"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_with gpm gpm-support) \
|
||||
$(use_with tcl) \
|
||||
$(use_enable nls)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake PYTHONVERS="$(PYTHON)" || die "emake failed"
|
||||
}
|
||||
|
||||
src_install () {
|
||||
emake \
|
||||
DESTDIR="${D}" \
|
||||
PYTHONVERS="$(PYTHON)" \
|
||||
install || die "make install failed"
|
||||
dodoc peanuts.py popcorn.py tutorial.sgml
|
||||
doman whiptail.1
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
python_mod_optimize snack.py
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
python_mod_cleanup snack.py
|
||||
}
|
89
sdk_container/src/third_party/portage-stable/dev-libs/newt/newt-0.52.15.ebuild
vendored
Normal file
89
sdk_container/src/third_party/portage-stable/dev-libs/newt/newt-0.52.15.ebuild
vendored
Normal file
@ -0,0 +1,89 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit python-r1 eutils multilib autotools toolchain-funcs
|
||||
|
||||
DESCRIPTION="Redhat's Newt windowing toolkit development files"
|
||||
HOMEPAGE="https://fedorahosted.org/newt/"
|
||||
SRC_URI="https://fedorahosted.org/releases/n/e/newt/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd"
|
||||
IUSE="gpm tcl nls"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
>=dev-libs/popt-1.6
|
||||
=sys-libs/slang-2*
|
||||
elibc_uclibc? ( sys-libs/ncurses )
|
||||
gpm? ( sys-libs/gpm )
|
||||
tcl? ( >=dev-lang/tcl-8.5:0 )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
# bug 73850
|
||||
if use elibc_uclibc; then
|
||||
sed -i -e 's:-lslang:-lslang -lncurses:g' Makefile.in || die
|
||||
fi
|
||||
|
||||
sed -i Makefile.in \
|
||||
-e 's|-ltcl8.4|-ltcl|g' \
|
||||
-e 's|$(SHCFLAGS) -o|$(LDFLAGS) &|g' \
|
||||
-e 's|-g -o|$(CFLAGS) $(LDFLAGS) -o|g' \
|
||||
-e 's|-shared -o|$(CFLAGS) $(LDFLAGS) &|g' \
|
||||
-e 's|instroot|DESTDIR|g' \
|
||||
-e 's| make | $(MAKE) |g' \
|
||||
-e "s| ar | $(tc-getAR) |g" \
|
||||
|| die "sed Makefile.in"
|
||||
|
||||
local langs=""
|
||||
if [ -n "${LINGUAS}" ]; then
|
||||
for lang in ${LINGUAS}; do
|
||||
test -r po/${lang}.po && langs="${langs} ${lang}.po"
|
||||
done
|
||||
sed -i po/Makefile \
|
||||
-e "/^CATALOGS = /cCATALOGS = ${langs}" \
|
||||
|| die "sed po/Makefile"
|
||||
fi
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-0.52.13-gold.patch \
|
||||
"${FILESDIR}"/${PN}-0.52.15-snack.patch \
|
||||
"${FILESDIR}"/${PN}-0.52.14-tcl.patch \
|
||||
"${FILESDIR}"/${PN}-0.52.15-makefile.patch
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
PYTHONVERS="${PYTHON}" \
|
||||
$(use_with gpm gpm-support) \
|
||||
$(use_with tcl) \
|
||||
$(use_enable nls)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
building() {
|
||||
emake PYTHONVERS="${EPYTHON}"
|
||||
}
|
||||
python_foreach_impl building
|
||||
}
|
||||
|
||||
src_install() {
|
||||
installit() {
|
||||
emake \
|
||||
DESTDIR="${D}" \
|
||||
PYTHONVERS="${EPYTHON}" \
|
||||
install
|
||||
python_optimize
|
||||
}
|
||||
python_foreach_impl installit
|
||||
dodoc peanuts.py popcorn.py tutorial.sgml
|
||||
doman whiptail.1
|
||||
}
|
87
sdk_container/src/third_party/portage-stable/dev-libs/newt/newt-0.52.18.ebuild
vendored
Normal file
87
sdk_container/src/third_party/portage-stable/dev-libs/newt/newt-0.52.18.ebuild
vendored
Normal file
@ -0,0 +1,87 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit python-r1 eutils multilib autotools toolchain-funcs
|
||||
|
||||
DESCRIPTION="Redhat's Newt windowing toolkit development files"
|
||||
HOMEPAGE="https://fedorahosted.org/newt/"
|
||||
SRC_URI="https://fedorahosted.org/releases/n/e/newt/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE="gpm tcl nls"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
>=dev-libs/popt-1.6
|
||||
=sys-libs/slang-2*
|
||||
elibc_uclibc? ( sys-libs/ncurses )
|
||||
gpm? ( sys-libs/gpm )
|
||||
tcl? ( >=dev-lang/tcl-8.5:0 )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
# bug 73850
|
||||
if use elibc_uclibc; then
|
||||
sed -i -e 's:-lslang:-lslang -lncurses:g' Makefile.in || die
|
||||
fi
|
||||
|
||||
sed -i Makefile.in \
|
||||
-e 's|$(SHCFLAGS) -o|$(LDFLAGS) &|g' \
|
||||
-e 's|-g -o|$(CFLAGS) $(LDFLAGS) -o|g' \
|
||||
-e 's|-shared -o|$(CFLAGS) $(LDFLAGS) &|g' \
|
||||
-e 's|instroot|DESTDIR|g' \
|
||||
-e 's| make | $(MAKE) |g' \
|
||||
-e "s| ar | $(tc-getAR) |g" \
|
||||
|| die "sed Makefile.in"
|
||||
|
||||
local langs=""
|
||||
if [ -n "${LINGUAS}" ]; then
|
||||
for lang in ${LINGUAS}; do
|
||||
test -r po/${lang}.po && langs="${langs} ${lang}.po"
|
||||
done
|
||||
sed -i po/Makefile \
|
||||
-e "/^CATALOGS = /cCATALOGS = ${langs}" \
|
||||
|| die "sed po/Makefile"
|
||||
fi
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-0.52.13-gold.patch \
|
||||
"${FILESDIR}"/${PN}-0.52.14-tcl.patch \
|
||||
"${FILESDIR}"/${PN}-0.52.15-makefile.patch
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
PYTHONVERS="${PYTHON}" \
|
||||
$(use_with gpm gpm-support) \
|
||||
$(use_with tcl) \
|
||||
$(use_enable nls)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
building() {
|
||||
emake PYTHONVERS="${EPYTHON}"
|
||||
}
|
||||
python_foreach_impl building
|
||||
}
|
||||
|
||||
src_install() {
|
||||
installit() {
|
||||
emake \
|
||||
DESTDIR="${D}" \
|
||||
PYTHONVERS="${EPYTHON}" \
|
||||
install
|
||||
python_optimize
|
||||
}
|
||||
python_foreach_impl installit
|
||||
dodoc peanuts.py popcorn.py tutorial.sgml
|
||||
doman whiptail.1
|
||||
}
|
@ -1,13 +0,0 @@
|
||||
DEFINED_PHASES=compile configure install postinst postrm prepare setup
|
||||
DEPEND==sys-libs/slang-2* >=dev-libs/popt-1.6 elibc_uclibc? ( sys-libs/ncurses ) gpm? ( sys-libs/gpm ) tcl? ( =dev-lang/tcl-8.5* ) =dev-lang/python-2*
|
||||
DESCRIPTION=Redhat's Newt windowing toolkit development files
|
||||
EAPI=3
|
||||
HOMEPAGE=https://fedorahosted.org/newt/
|
||||
IUSE=gpm tcl nls
|
||||
KEYWORDS=alpha amd64 arm hppa ia64 ppc ppc64 sparc x86
|
||||
LICENSE=LGPL-2
|
||||
RDEPEND==sys-libs/slang-2* >=dev-libs/popt-1.6 elibc_uclibc? ( sys-libs/ncurses ) gpm? ( sys-libs/gpm ) tcl? ( =dev-lang/tcl-8.5* ) =dev-lang/python-2*
|
||||
SLOT=0
|
||||
SRC_URI=https://fedorahosted.org/releases/n/e/newt/newt-0.52.12.tar.gz
|
||||
_eclasses_=eutils ea170b525f6a38a006be05c9d9429f13 multilib 165fc17c38d1b11dac2008280dab6e80 python efc1c55fc44c5b7272fc2ffba73c3e6f toolchain-funcs 1b1da0c45c555989dc5d832b54880783
|
||||
_md5_=43897182443d6da9a47b4b3c1b97469b
|
14
sdk_container/src/third_party/portage-stable/metadata/md5-cache/dev-libs/newt-0.52.15
vendored
Normal file
14
sdk_container/src/third_party/portage-stable/metadata/md5-cache/dev-libs/newt-0.52.15
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=compile configure install prepare
|
||||
DEPEND=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(-)] >=dev-libs/popt-1.6 =sys-libs/slang-2* elibc_uclibc? ( sys-libs/ncurses ) gpm? ( sys-libs/gpm ) tcl? ( >=dev-lang/tcl-8.5:0 ) >=app-portage/elt-patches-20170317 !<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=Redhat's Newt windowing toolkit development files
|
||||
EAPI=5
|
||||
HOMEPAGE=https://fedorahosted.org/newt/
|
||||
IUSE=gpm tcl nls python_targets_python2_7
|
||||
KEYWORDS=alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd
|
||||
LICENSE=LGPL-2
|
||||
RDEPEND=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(-)] >=dev-libs/popt-1.6 =sys-libs/slang-2* elibc_uclibc? ( sys-libs/ncurses ) gpm? ( sys-libs/gpm ) tcl? ( >=dev-lang/tcl-8.5:0 )
|
||||
REQUIRED_USE=|| ( python_targets_python2_7 )
|
||||
SLOT=0
|
||||
SRC_URI=https://fedorahosted.org/releases/n/e/newt/newt-0.52.15.tar.gz
|
||||
_eclasses_=autotools 7027963e8e8cc12c91117bdb9225dc26 epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 9c113d6a64826c40154cad7be15d95ea libtool e32ea84bf82cf8987965b574672dba93 ltprune 2770eed66a9b8ef944714cd0e968182e multibuild 72647e255187a1fadc81097b3657e5c3 multilib 0236be304ee52e7f179ed2f337075515 python-r1 0c067f080a047742ffac024b16895b45 python-utils-r1 c11fc374357e6ad9ddfe2e9f931e4d29 toolchain-funcs 6eb35f81556258a4bc9182ad3dfd58ee
|
||||
_md5_=f03887f5ff80fbc74943d4bfcd2bf1d4
|
14
sdk_container/src/third_party/portage-stable/metadata/md5-cache/dev-libs/newt-0.52.18
vendored
Normal file
14
sdk_container/src/third_party/portage-stable/metadata/md5-cache/dev-libs/newt-0.52.18
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=compile configure install prepare
|
||||
DEPEND=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(-)] >=dev-libs/popt-1.6 =sys-libs/slang-2* elibc_uclibc? ( sys-libs/ncurses ) gpm? ( sys-libs/gpm ) tcl? ( >=dev-lang/tcl-8.5:0 ) >=app-portage/elt-patches-20170317 !<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=Redhat's Newt windowing toolkit development files
|
||||
EAPI=5
|
||||
HOMEPAGE=https://fedorahosted.org/newt/
|
||||
IUSE=gpm tcl nls python_targets_python2_7
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd
|
||||
LICENSE=LGPL-2
|
||||
RDEPEND=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(-)] >=dev-libs/popt-1.6 =sys-libs/slang-2* elibc_uclibc? ( sys-libs/ncurses ) gpm? ( sys-libs/gpm ) tcl? ( >=dev-lang/tcl-8.5:0 )
|
||||
REQUIRED_USE=|| ( python_targets_python2_7 )
|
||||
SLOT=0
|
||||
SRC_URI=https://fedorahosted.org/releases/n/e/newt/newt-0.52.18.tar.gz
|
||||
_eclasses_=autotools 7027963e8e8cc12c91117bdb9225dc26 epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 9c113d6a64826c40154cad7be15d95ea libtool e32ea84bf82cf8987965b574672dba93 ltprune 2770eed66a9b8ef944714cd0e968182e multibuild 72647e255187a1fadc81097b3657e5c3 multilib 0236be304ee52e7f179ed2f337075515 python-r1 0c067f080a047742ffac024b16895b45 python-utils-r1 c11fc374357e6ad9ddfe2e9f931e4d29 toolchain-funcs 6eb35f81556258a4bc9182ad3dfd58ee
|
||||
_md5_=4db88009a1481bcc78b8237b9133c67a
|
Loading…
Reference in New Issue
Block a user