mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
package.mask: remove some masked for removal packages
This commit is contained in:
@@ -1,74 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
MY_PV=${PV/_alpha/.a}
|
||||
MY_PV=${MY_PV/_rc/.rc}
|
||||
|
||||
DESCRIPTION="389 Server Management Console (jar and help files)"
|
||||
HOMEPAGE="http://port389.org/"
|
||||
SRC_URI="http://directory.fedoraproject.org/sources/${P}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="1.1"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
COMMON_DEP="dev-java/jss:3.4
|
||||
dev-java/ldapsdk:4.1
|
||||
>=dev-java/idm-console-framework-1.1.7"
|
||||
RDEPEND="|| ( >=virtual/jre-1.5 >=virtual/jdk-1.5 )
|
||||
${COMMON_DEP}"
|
||||
DEPEND="sys-apps/sed
|
||||
>=virtual/jdk-1.5
|
||||
${COMMON_DEP}"
|
||||
PDEPEND="net-nds/389-admin"
|
||||
|
||||
src_prepare() {
|
||||
# Gentoo java rules say no jars with version number
|
||||
# so sed away the version indicator '-'
|
||||
sed -e "s!-\*!\*!g" -i build.xml
|
||||
|
||||
java-pkg_jar-from ldapsdk-4.1 ldapjdk.jar
|
||||
java-pkg_jar-from jss-3.4 xpclass.jar jss4.jar
|
||||
java-pkg_jar-from idm-console-framework-1.1
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
eant -Dbuilt.dir="${S}"/build \
|
||||
-Dldapjdk.location="${S}" \
|
||||
-Djss.location="${S}" \
|
||||
-Dconsole.location="${S}" ${antflags}
|
||||
use doc && eant -Dbuilt.dir="${S}"/build \
|
||||
-Dldapjdk.location="${S}" \
|
||||
-Djss.location="${S}" \
|
||||
-Dconsole.location="${S}" ${antflags} javadoc
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_jarinto /usr/share/dirsrv/html/java
|
||||
# have to install versioned jars, otherwise 389-console will crash
|
||||
java-pkg_newjar "${S}"/build/package/389-admin-${MY_PV}.jar 389-admin-${MY_PV}.jar
|
||||
java-pkg_newjar "${S}"/build/package/389-admin-${MY_PV}_en.jar 389-admin-${MY_PV}_en.jar
|
||||
|
||||
dosym 389-admin-${MY_PV}.jar /usr/share/dirsrv/html/java/389-admin.jar
|
||||
dosym 389-admin-${MY_PV}.jar /usr/share/dirsrv/html/java/389-admin-${SLOT}.jar
|
||||
dosym 389-admin-${MY_PV}_en.jar /usr/share/dirsrv/html/java/389-admin_en.jar
|
||||
dosym 389-admin-${MY_PV}_en.jar /usr/share/dirsrv/html/java/389-admin-${SLOT}_en.jar
|
||||
|
||||
insinto /usr/share/dirsrv/manual/en/admin
|
||||
doins "${S}"/help/en/*.html
|
||||
doins "${S}"/help/en/tokens.map
|
||||
|
||||
insinto /usr/share/dirsrv/manual/en/admin/help
|
||||
doins "${S}"/help/en/help/*.html
|
||||
|
||||
use doc && java-pkg_dojavadoc build/doc
|
||||
use source && java-pkg_dosrc src/com
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
DIST 389-admin-console-1.1.8.tar.bz2 126004 SHA256 6f2e05299876c11380c6b98540772d45a0e2128f3ec9fcd15f9cd7cc80ce4e4d SHA512 85ac61f8032450e1a86f973b244c136784016bfe6782fff2b992881fd427190223cd4655caf6a592bda7bc8b13e6dde04a5644abbc833c0472c287127a397ae5 WHIRLPOOL f286f37744a12400f27732d17e0d1deb7b09f1801b9f110db8835ef1ff0e1d39bb7f1b897c708938ba6668a9adcfc17a46972d1a7eac57dd4d088a9d65dab519
|
||||
@@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>java@gentoo.org</email>
|
||||
<name>Java</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
@@ -1,74 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-ant-2 eutils versionator
|
||||
|
||||
MY_PV=${PV/_alpha/.a}
|
||||
MY_PV=${MY_PV/_rc/.rc}
|
||||
MY_MV="$(get_version_component_range 1-2)"
|
||||
|
||||
DESCRIPTION="Java based remote management console used for Managing 389-admin 389-ds"
|
||||
HOMEPAGE="http://port389.org/"
|
||||
SRC_URI="http://directory.fedoraproject.org/sources/${P}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="1.2"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
COMMON_DEP="dev-java/jss:3.4
|
||||
dev-java/ldapsdk:4.1
|
||||
>=dev-java/idm-console-framework-1.1
|
||||
net-nds/389-ds-base"
|
||||
RDEPEND="|| ( >=virtual/jre-1.6 >=virtual/jdk-1.6 )
|
||||
${COMMON_DEP}"
|
||||
DEPEND="sys-apps/sed
|
||||
>=virtual/jdk-1.6
|
||||
${COMMON_DEP}"
|
||||
|
||||
src_prepare() {
|
||||
# Gentoo java rules say no jars with version number
|
||||
# so sed away the version indicator '-'
|
||||
sed -e "s!-\*!\*!g" -i build.xml || die "sed failed"
|
||||
|
||||
java-pkg_jar-from ldapsdk-4.1 ldapjdk.jar
|
||||
java-pkg_jar-from jss-3.4 xpclass.jar jss4.jar
|
||||
java-pkg_jar-from idm-console-framework-1.1
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
eant -Dbuilt.dir="${S}"/build \
|
||||
-Dldapjdk.location="${S}" \
|
||||
-Djss.location="${S}" \
|
||||
-Dconsole.location="${S}" ${antflags}
|
||||
use doc && eant -Dbuilt.dir="${S}"/build \
|
||||
-Dldapjdk.location="${S}" \
|
||||
-Djss.location="${S}" \
|
||||
-Dconsole.location="${S}" ${antflags} javadoc
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_jarinto /usr/share/dirsrv/html/java
|
||||
java-pkg_newjar "${S}"/build/package/389-ds-${MY_PV}.jar 389-ds-${MY_PV}.jar
|
||||
java-pkg_newjar "${S}"/build/package/389-ds-${MY_PV}_en.jar 389-ds-${MY_PV}_en.jar
|
||||
|
||||
dosym 389-ds-${MY_PV}.jar /usr/share/dirsrv/html/java/389-ds.jar
|
||||
dosym 389-ds-${MY_PV}_en.jar /usr/share/dirsrv/html/java/389-ds_en.jar
|
||||
dosym 389-ds-${MY_PV}.jar /usr/share/dirsrv/html/java/389-ds-${MY_MV}.jar
|
||||
dosym 389-ds-${MY_PV}_en.jar /usr/share/dirsrv/html/java/389-ds-${MY_MV}_en.jar
|
||||
|
||||
insinto /usr/share/dirsrv/manual/en/slapd
|
||||
doins "${S}"/help/en/*.html
|
||||
doins "${S}"/help/en/tokens.map
|
||||
|
||||
insinto /usr/share/dirsrv/manual/en/slapd/help
|
||||
doins "${S}"/help/en/help/*.html
|
||||
|
||||
use doc && java-pkg_dojavadoc build/doc
|
||||
use source && java-pkg_dosrc src/com
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
DIST 389-ds-console-1.2.6.tar.bz2 791388 SHA256 142a8e1e22bb4c617d2bcdb3d2257e92f2b34d2cd839ed1325f59fc52b70f410 SHA512 ae62afec7860365156f991a420c701e7057190793f577823e5f8b0e1e3d9c9fb240f8d2f30d9a9160baa86aa968e242ef6a9d9faf6608e1218da8f071a620e02 WHIRLPOOL def2e14fb8c7771711efde18cb53f6d6c36de077221c27e219cf97797a5d5c6fb126bf9485a2133676be2f239c065970fb8731c9ddccf3088bcc18ab485169f5
|
||||
@@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>java@gentoo.org</email>
|
||||
<name>Java</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
@@ -1 +0,0 @@
|
||||
DIST logstash-forwarder-0.4.0.tar.gz 35189 SHA256 d930cd33747b2826c7358238a25e690324751d1b098e7c00de1357944766b3c3 SHA512 1f89b065d1b26a6f5b18da6215bdaed5a312af12fa721835f5e1a77248dd67f398f5af08b5d93c0c4c5ef9623eb1ddb58449b52039c0db0241d5ca61872102ef WHIRLPOOL 7715c723f8b8712b5cccc1e678017b2d733f243ea936d312ab31938fba73934a66d552656516bc72b65a3541945401f99463d8346fdf6a00372e9b3a0ed67655
|
||||
@@ -1,3 +0,0 @@
|
||||
LOGSTASH_FORWARDER_ARGS="-quiet -syslog=true"
|
||||
#LOGSTASH_FORWARDER_USER=""
|
||||
#LOGSTASH_FORWARDER_GROUP=""
|
||||
@@ -1,37 +0,0 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
LOGSTASH_FORWARDER_USER="${LOGSTASH_FORWARDER_USER:-logstash}"
|
||||
LOGSTASH_FORWARDER_GROUP="${LOGSTASH_FORWARDER_GROUP:-logstash}"
|
||||
|
||||
start() {
|
||||
local config_file=/etc/logstash-forwarder/logstash-forwarder.conf
|
||||
local statedir=/var/lib/logstash-forwarder
|
||||
|
||||
if ! [ -d ${statedir} ]; then
|
||||
eend 1 "logstash state directory is missing: ${statedir}"
|
||||
return 1
|
||||
fi
|
||||
|
||||
ebegin "Starting logstash-forwarder"
|
||||
start-stop-daemon --start --exec /usr/bin/logstash-forwarder \
|
||||
--make-pidfile --pidfile /run/logstash-forwarder.pid \
|
||||
--background --wait 100 --chdir "${statedir}" \
|
||||
--user ${LOGSTASH_FORWARDER_USER} \
|
||||
--group ${LOGSTASH_FORWARDER_GROUP} \
|
||||
-- -config="${config_file}" ${LOGSTASH_FORWARDER_ARGS}
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping logstash-forwarder"
|
||||
start-stop-daemon --stop --exec /usr/bin/logstash-forwarder \
|
||||
--pidfile /run/logstash-forwarder.pid \
|
||||
--user ${LOGSTASH_FORWARDER_USER} \
|
||||
--group ${LOGSTASH_FORWARDER_GROUP}
|
||||
local rc=$?
|
||||
|
||||
eend ${rc}
|
||||
}
|
||||
@@ -1,50 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit user
|
||||
|
||||
DESCRIPTION="Collects logs locally in preparation for processing elsewhere"
|
||||
HOMEPAGE="https://github.com/elastic/logstash-forwarder"
|
||||
SRC_URI="https://github.com/elastic/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-lang/go:="
|
||||
RDEPEND=""
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup logstash
|
||||
enewuser logstash -1 -1 -1 logstash
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin "${PN}"
|
||||
dodir "/etc/${PN}"
|
||||
dodoc "${PN}".conf.example CHANGELOG README.md
|
||||
newconfd "${FILESDIR}/${PN}.confd" "${PN}"
|
||||
newinitd "${FILESDIR}/${PN}.initd" "${PN}"
|
||||
|
||||
local statedir="/var/lib/${PN}"
|
||||
keepdir "$statedir"
|
||||
fowners logstash:logstash "$statedir"
|
||||
fperms 0750 "$statedir"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if ! [[ -e /etc/${PN}/${PN}.conf ]]; then
|
||||
elog "Before starting logstash-forwarder create config file at"
|
||||
elog
|
||||
elog " /etc/${PN}/${PN}.conf"
|
||||
elog
|
||||
elog "See example in /usr/share/doc/${PN}-${PVR} directory. You can"
|
||||
elog "remove -quiet from logstash-forward arguments in"
|
||||
elog "/etc/conf.d/${PN} until you get working configuration."
|
||||
elog "Search syslog for errors."
|
||||
fi
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>aidecoe@gentoo.org</email>
|
||||
<name>Amadeusz Żołnowski</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
logstash-forwarder is a lightweight replacement for logstash when you
|
||||
only need to collect logs locally in preparation for processing
|
||||
elsewhere. It is written in Go and uses not much memory. For
|
||||
transmission lumberjack protocol is used. It is is secure, low
|
||||
latency, low resource usage, and reliable.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">elastic/logstash-forwarder</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -1 +0,0 @@
|
||||
DIST threadzip-1.2.tar.gz 17600 SHA256 217575871a0e8b9ea51574eca29eb2cbf3b08fb27d72c2659557f3cab813fa77 SHA512 01685cec04aaf0ab07fb754e8966da89f975fd3558d596716d12ec56e70b44bf5cd874bef5e32eef963843239eeed846859ff9f4562022e198702e9a16f1c855 WHIRLPOOL 6dc631a632248e420f27e774438b824144a5a7ccb1e8d16ed074e0e97c823e4759913d76bc78ac4badf183b729d6565c36e3cb46751bcb1ec5fd6157c58122dd
|
||||
@@ -1,5 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
</pkgmetadata>
|
||||
@@ -1,29 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit python-single-r1
|
||||
|
||||
DESCRIPTION="threaded compressor logic for zlib/lzma"
|
||||
HOMEPAGE="https://code.google.com/p/threadzip/"
|
||||
SRC_URI="https://threadzip.googlecode.com/files/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="lzma"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="lzma? ( dev-python/pylzma[${PYTHON_USEDEP}] )"
|
||||
|
||||
src_install() {
|
||||
local x
|
||||
for x in un '' ; do
|
||||
newbin python/thread${x}zip.py thread${x}zip
|
||||
done
|
||||
python_fix_shebang "${ED}"/usr/bin
|
||||
}
|
||||
@@ -1,3 +0,0 @@
|
||||
DIST ltp-20150119.tar.gz 4695541 SHA256 6cba3476e5bef74d21979c45d0629632bfaeaafc4dbbebccd187ba7b6b9dca52 SHA512 5e5624738da08a3f5f5b08d821a73666d6ef9957b62ff72bd12aba0d021c304dae5652956a6af60aa593256cadd98f061759d5a65045ff5b1864956ea5ad5186 WHIRLPOOL 0417bf1c41347aca68b9e9fb3b203c209f36112ecdf7f020d32060ac637949b1cf40e437f976352ebca1d4566394abe2149b14ad946e1fa2f37cf68397c3e610
|
||||
DIST ltp-20150420.tar.gz 4673384 SHA256 65a6ed64d55edc77f0ff690e269dc3ef32290d4499ccbb8f24b2cf59dd974408 SHA512 a5d259cf2a984eae1a0e6b7be538f06eb6021e0f961bb7683aaafc1bad347e73690fa5d6ae39beb6c92c9ea69e4160841d0e46ac49ccfa77053f1c7a0a854099 WHIRLPOOL 7d0b26c8a1f99cea1a609545671d6160278cf81c4654fff7dba84688e37b6f6349e3a2b90cb44ef7abf5c7cfad2187543431df23dd5833917f8b446db8425aec
|
||||
DIST ltp-20150903.tar.gz 4680969 SHA256 e670ae9f1e42bc8b500edd3c3a5cf09c6447c56d7738a22235c87a13739bcace SHA512 9d52e1f82e2052ec4ed8dde9e246fd1b9dc1b665110e7a20f11de741d41f024e85443571846efe3181592e7bf3b63ed88e9ae9878c5c6f4f759171b245948ef2 WHIRLPOOL 0665affbb226ccf26028818220c41d965c20e2bf257347f01ac6e90f6f8d6f579c4fb1a0d3154d3773b4189787c7e0d99cc6b06f873cff2b6c44a0c1de777d0c
|
||||
@@ -1,79 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit autotools eutils readme.gentoo
|
||||
|
||||
DESCRIPTION="A testsuite for the linux kernel"
|
||||
HOMEPAGE="http://linux-test-project.github.io/"
|
||||
SRC_URI="https://github.com/linux-test-project/ltp/archive/20150119.tar.gz -> ${P}.tar.gz"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
|
||||
KEYWORDS="~amd64 ~hppa ~ppc ~x86"
|
||||
IUSE="expect perl pm open-posix python rt"
|
||||
|
||||
DEPEND="expect? ( dev-tcltk/expect )
|
||||
perl? ( dev-lang/perl )
|
||||
python? ( dev-lang/python )"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
pkg_setup() {
|
||||
# Don't create groups
|
||||
export CREATE=0
|
||||
|
||||
DOC_CONTENTS="LTP requires root access to run the tests.
|
||||
The LTP root directory is located in /opt/${PN}.
|
||||
For more information please read the ltp-howto located in
|
||||
/usr/share/doc/${PF}"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# regenerate
|
||||
AT_M4DIR="m4" eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# FIXME: improve me
|
||||
local myconf=
|
||||
use open-posix && myconf+="--with-open-posix-testsuite "
|
||||
use pm && mytconf+="--with-power-management-testsuite "
|
||||
use rt && myconf+="--with-realtime-testsuite "
|
||||
use perl && myconf+="--with-perl "
|
||||
use python && myconf+="--with-python "
|
||||
use expect && myconf+="--with-expect "
|
||||
# Prevent any kernel stuff for now as it leads to sandbox violations
|
||||
myconf+="--without-modules --with-linux-dir=/dev/null"
|
||||
|
||||
# Better put it into /opt/${PN} as everything needs to
|
||||
# be under the same directory..
|
||||
|
||||
econf --prefix=/opt/${PN} ${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Posix testsuite does not seem to build with -j>1
|
||||
# Is this maintained anymore?
|
||||
if use open-posix; then
|
||||
export MAKEOPTS="-j1"
|
||||
fi
|
||||
emake
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
dosym /usr/libexec/${PN}/runltp /usr/bin/runltp
|
||||
# install docs
|
||||
dodoc doc/MaintNotes
|
||||
for txt in doc/*.txt; do
|
||||
dodoc ${txt}
|
||||
done
|
||||
dodoc -r doc/testcases
|
||||
dohtml -r doc/automation-*.html
|
||||
doman doc/man1/*.1
|
||||
doman doc/man3/*.3
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
@@ -1,80 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit autotools eutils readme.gentoo
|
||||
|
||||
DESCRIPTION="A testsuite for the linux kernel"
|
||||
HOMEPAGE="http://linux-test-project.github.io/"
|
||||
SRC_URI="https://github.com/linux-test-project/ltp/archive/20150420.tar.gz -> ${P}.tar.gz"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
|
||||
KEYWORDS="~amd64 ~hppa ~ppc ~x86"
|
||||
IUSE="expect perl pm open-posix python rt"
|
||||
|
||||
DEPEND="expect? ( dev-tcltk/expect )
|
||||
perl? ( dev-lang/perl )
|
||||
python? ( dev-lang/python )"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
pkg_setup() {
|
||||
# Don't create groups
|
||||
export CREATE=0
|
||||
|
||||
DOC_CONTENTS="LTP requires root access to run the tests.
|
||||
The LTP root directory is located in /opt/${PN}.
|
||||
For more information please read the ltp-howto located in
|
||||
/usr/share/doc/${PF}"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# regenerate
|
||||
AT_M4DIR="m4" eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# FIXME: improve me
|
||||
local myconf=
|
||||
use open-posix && myconf+="--with-open-posix-testsuite "
|
||||
use pm && mytconf+="--with-power-management-testsuite "
|
||||
use rt && myconf+="--with-realtime-testsuite "
|
||||
use perl && myconf+="--with-perl "
|
||||
use python && myconf+="--with-python "
|
||||
use expect && myconf+="--with-expect "
|
||||
# Prevent any kernel stuff for now as it leads to sandbox violations
|
||||
myconf+="--without-modules --with-linux-dir=/dev/null"
|
||||
|
||||
# Better put it into /opt/${PN} as everything needs to
|
||||
# be under the same directory..
|
||||
# Avoid depending on external libtirpc (#552386)
|
||||
ac_cv_lib_tirpc_rpcb_set=no \
|
||||
econf --prefix=/opt/${PN} ${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Posix testsuite does not seem to build with -j>1
|
||||
# Is this maintained anymore?
|
||||
if use open-posix; then
|
||||
export MAKEOPTS="-j1"
|
||||
fi
|
||||
emake
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
dosym /usr/libexec/${PN}/runltp /usr/bin/runltp
|
||||
# install docs
|
||||
dodoc doc/MaintNotes
|
||||
for txt in doc/*.txt; do
|
||||
dodoc ${txt}
|
||||
done
|
||||
dodoc -r doc/testcases
|
||||
dohtml -r doc/automation-*.html
|
||||
doman doc/man1/*.1
|
||||
doman doc/man3/*.3
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
@@ -1,80 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit autotools eutils readme.gentoo
|
||||
|
||||
DESCRIPTION="A testsuite for the linux kernel"
|
||||
HOMEPAGE="http://linux-test-project.github.io/"
|
||||
SRC_URI="https://github.com/linux-test-project/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
|
||||
KEYWORDS="~amd64 ~hppa ~ppc ~x86"
|
||||
IUSE="expect perl pm open-posix python rt"
|
||||
|
||||
DEPEND="expect? ( dev-tcltk/expect )
|
||||
perl? ( dev-lang/perl )
|
||||
python? ( dev-lang/python )"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
pkg_setup() {
|
||||
# Don't create groups
|
||||
export CREATE=0
|
||||
|
||||
DOC_CONTENTS="LTP requires root access to run the tests.
|
||||
The LTP root directory is located in /opt/${PN}.
|
||||
For more information please read the ltp-howto located in
|
||||
/usr/share/doc/${PF}"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# regenerate
|
||||
AT_M4DIR="m4" eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# FIXME: improve me
|
||||
local myconf=
|
||||
use open-posix && myconf+="--with-open-posix-testsuite "
|
||||
use pm && mytconf+="--with-power-management-testsuite "
|
||||
use rt && myconf+="--with-realtime-testsuite "
|
||||
use perl && myconf+="--with-perl "
|
||||
use python && myconf+="--with-python "
|
||||
use expect && myconf+="--with-expect "
|
||||
# Prevent any kernel stuff for now as it leads to sandbox violations
|
||||
myconf+="--without-modules --with-linux-dir=/dev/null"
|
||||
|
||||
# Better put it into /opt/${PN} as everything needs to
|
||||
# be under the same directory..
|
||||
# Avoid depending on external libtirpc (#552386)
|
||||
ac_cv_lib_tirpc_rpcb_set=no \
|
||||
econf --prefix=/opt/${PN} ${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Posix testsuite does not seem to build with -j>1
|
||||
# Is this maintained anymore?
|
||||
if use open-posix; then
|
||||
export MAKEOPTS="-j1"
|
||||
fi
|
||||
emake
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
dosym /usr/libexec/${PN}/runltp /usr/bin/runltp
|
||||
# install docs
|
||||
dodoc doc/MaintNotes
|
||||
for txt in doc/*.txt; do
|
||||
dodoc ${txt}
|
||||
done
|
||||
dodoc -r doc/testcases
|
||||
dohtml -r doc/automation-*.html
|
||||
doman doc/man1/*.1
|
||||
doman doc/man3/*.3
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
@@ -1,25 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>hwoarang@gentoo.org</email>
|
||||
<name>Markos Chandras</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="open-posix">Build and install the POSIX testsuite</flag>
|
||||
<flag name="pm">Build and install the power management testsuite</flag>
|
||||
<flag name="expect">Build against the expect library for interactive testing</flag>
|
||||
<flag name="rt">Build and install the realtime testsuite</flag>
|
||||
</use>
|
||||
<longdescription>
|
||||
The Linux Test Project is a joint project started by SGI and maintained by
|
||||
IBM, that has a goal to deliver test suites to the open source community
|
||||
that validate the reliability, robustness, and stability of Linux. The LTP
|
||||
testsuite contains a collection of tools for testing the Linux kernel and
|
||||
related features.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="sourceforge">ltp</remote-id>
|
||||
<remote-id type="github">linux-test-project/ltp</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -1,3 +0,0 @@
|
||||
DIST phoronix-test-suite-4.8.4.tar.gz 523952 SHA256 113e6c725672c1f379885575e7cd51a3d0a387dc1c842606840e27fcd4695e43 SHA512 e7c201467a52fbbb9b0a87a47bd1eb772e24e43bedc2baf02845a9e9f355d6c22f46901be390d501a0e721ccfa05d28da4b8362817518ba5c801d6f4422c3b6f WHIRLPOOL 0760916473d8544652c0fc9c53f57a41015aacb99b42f53186d8b5008cbe5b2b396b024ce51ba3a3e31c35b319bac63db17db2b29295a8414c031c16d73813f6
|
||||
DIST phoronix-test-suite-4.8.5.tar.gz 524136 SHA256 ca7bcbb5c72bee24075200449ee33fc75490ba528f804505d62fc3826d15456e SHA512 e37acdb48ba9ca532a6f409aea1c05b11b4320b967aac4576491ba5d401262d149f376506fef50ccee5506b77686aeed7a404102527472250cb7b5c1a247246a WHIRLPOOL be340514f3fdebafda449d60f069efcd44fa97d567b90616dc7332810d2802ed13433c94438937cab37f36744ddd383a918ceac92874f2702f28715c56ba3f9c
|
||||
DIST phoronix-test-suite-6.2.1.tar.gz 836633 SHA256 2b83d1c552d13b6e3fc6dde288b661698122003250b1eefe823d99dcabbb91f1 SHA512 d4e3d29645be76804c4ce96f8072d43653607fb34fd003771e614f4b5213c7bf8d9d629261ff2c696e685196d08e05a935d5a496d139a6e9efa37df9c5550fd6 WHIRLPOOL 808963909db7ff227515b05b404c4c1dec106f38c5cd47139b5e059a82d05d82ff47e277f7f6af0eda63c3fc3f3e83ff86d7fa58a5abc4561ef615646f3dcf86
|
||||
@@ -1,5 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
</pkgmetadata>
|
||||
@@ -1,109 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit bash-completion-r1 eutils
|
||||
|
||||
DESCRIPTION="The comprehensive, cross-platform testing and benchmark suite"
|
||||
HOMEPAGE="http://www.phoronix-test-suite.com"
|
||||
SRC_URI="http://www.phoronix-test-suite.com/download.php?file=${P} -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
|
||||
# php 5.3 doesn't have pcre and reflection useflags anymore
|
||||
RDEPEND="dev-lang/php[cli,curl,gd,json,posix,pcntl,truetype,zip]"
|
||||
|
||||
S="${WORKDIR}/${PN}"
|
||||
|
||||
src_prepare() {
|
||||
sed \
|
||||
-e "s,export PTS_DIR=\`pwd\`,export PTS_DIR=\"/usr/share/${PN}\"," \
|
||||
-i phoronix-test-suite || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
:
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
:
|
||||
}
|
||||
|
||||
src_install() {
|
||||
doman documentation/man-pages/phoronix-test-suite.1
|
||||
dodoc AUTHORS CHANGE-LOG
|
||||
dohtml -r documentation/
|
||||
doicon \
|
||||
pts-core/static/images/phoronix-test-suite.png \
|
||||
pts-core/static/images/openbenchmarking.png
|
||||
domenu pts-core/static/phoronix-test-suite.desktop
|
||||
rm -f pts-core/static/phoronix-test-suite.desktop || die
|
||||
|
||||
insinto /usr/share/${PN}
|
||||
doins -r pts-core
|
||||
dobin phoronix-test-suite
|
||||
|
||||
fperms a+x \
|
||||
/usr/share/${PN}/pts-core/static/scripts/root-access.sh \
|
||||
/usr/share/${PN}/pts-core/external-test-dependencies/scripts/install-gentoo-packages.sh
|
||||
|
||||
dobashcompletion pts-core/static/bash_completion ${PN}
|
||||
|
||||
# Need to fix the cli-php config for downloading to work. Very naughty!
|
||||
local slots
|
||||
local slot
|
||||
if [[ "x${PHP_TARGETS}" == "x" ]] ; then
|
||||
ewarn
|
||||
ewarn "PHP_TARGETS seems empty, php.ini file can't be configure."
|
||||
ewarn "Make sure that PHP_TARGETS in /etc/make.conf is set."
|
||||
ewarn "phoronix-test-suite needs the 'allow_url_fopen' option set to \"On\""
|
||||
ewarn "for downloading to work properly."
|
||||
ewarn
|
||||
else
|
||||
for slot in ${PHP_TARGETS}; do
|
||||
slots+=" ${slot/-/.}"
|
||||
done
|
||||
fi
|
||||
|
||||
for slot in ${slots}; do
|
||||
local PHP_INI_FILE="/etc/php/cli-${slot}/php.ini"
|
||||
if [[ -f ${PHP_INI_FILE} ]] ; then
|
||||
dodir $(dirname ${PHP_INI_FILE})
|
||||
cp ${PHP_INI_FILE} "${D}${PHP_INI_FILE}"
|
||||
sed -e 's|^allow_url_fopen .*|allow_url_fopen = On|g' -i "${D}${PHP_INI_FILE}"
|
||||
else
|
||||
if [[ "x$(eselect php show cli)" == "x${slot}" ]] ; then
|
||||
ewarn
|
||||
ewarn "${slot} hasn't a php.ini file."
|
||||
ewarn "phoronix-test-suite needs the 'allow_url_fopen' option set to \"On\""
|
||||
ewarn "for downloading to work properly."
|
||||
ewarn "Check that your PHP_INI_VERSION is set during ${slot} merge"
|
||||
ewarn
|
||||
else
|
||||
elog
|
||||
elog "${slot} hasn't a php.ini file."
|
||||
elog "phoronix-test-suite may need the 'allow_url_fopen' option set to \"On\""
|
||||
elog "for downloading to work properly if you switch to ${slot}"
|
||||
elog "Check that your PHP_INI_VERSION is set during ${slot} merge"
|
||||
elog
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
ewarn
|
||||
ewarn "If you upgrade from phoronix-test-suite-2*, you should reinstall all"
|
||||
ewarn "your tests because"
|
||||
ewarn " \$HOME/.phoronix-test-suite/installed-tests/\$TEST_NAME/"
|
||||
ewarn "moves to"
|
||||
ewarn " \$HOME/.phoronix-test-suite/installed-tests/pts/\$TEST_NAME-\$TEST_VERSION/"
|
||||
ewarn "in phoronix-test-suite-3* version. The \$TEST_VERSION can be find in"
|
||||
ewarn "pts-install.xml file."
|
||||
ewarn
|
||||
}
|
||||
@@ -1,109 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils bash-completion-r1
|
||||
|
||||
DESCRIPTION="Phoronix's comprehensive, cross-platform testing and benchmark suite"
|
||||
HOMEPAGE="http://www.phoronix-test-suite.com"
|
||||
SRC_URI="http://www.phoronix-test-suite.com/download.php?file=${P} -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
|
||||
# php 5.3 doesn't have pcre and reflection useflags anymore
|
||||
RDEPEND="dev-lang/php[cli,curl,gd,json,posix,pcntl,truetype,zip]"
|
||||
|
||||
S="${WORKDIR}/${PN}"
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e "s,export PTS_DIR=\`pwd\`,export PTS_DIR=\"/usr/share/${PN}\"," \
|
||||
phoronix-test-suite
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
:
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
:
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /usr/share/${PN}
|
||||
insinto /usr/share/${PN}
|
||||
|
||||
doman documentation/man-pages/phoronix-test-suite.1
|
||||
dodoc AUTHORS CHANGE-LOG
|
||||
dohtml -r documentation/
|
||||
doicon pts-core/static/images/phoronix-test-suite.png
|
||||
doicon pts-core/static/images/openbenchmarking.png
|
||||
domenu pts-core/static/phoronix-test-suite.desktop
|
||||
rm -f pts-core/static/phoronix-test-suite.desktop
|
||||
|
||||
doins -r pts-core
|
||||
exeinto /usr/bin
|
||||
doexe phoronix-test-suite
|
||||
|
||||
fperms a+x /usr/share/${PN}/pts-core/static/scripts/root-access.sh
|
||||
fperms a+x /usr/share/${PN}/pts-core/external-test-dependencies/scripts/install-gentoo-packages.sh
|
||||
|
||||
dobashcompletion pts-core/static/bash_completion ${PN}
|
||||
|
||||
# Need to fix the cli-php config for downloading to work. Very naughty!
|
||||
local slots
|
||||
local slot
|
||||
if [[ "x${PHP_TARGETS}" == "x" ]] ; then
|
||||
ewarn
|
||||
ewarn "PHP_TARGETS seems empty, php.ini file can't be configure."
|
||||
ewarn "Make sure that PHP_TARGETS in /etc/make.conf is set."
|
||||
ewarn "phoronix-test-suite needs the 'allow_url_fopen' option set to \"On\""
|
||||
ewarn "for downloading to work properly."
|
||||
ewarn
|
||||
else
|
||||
for slot in ${PHP_TARGETS}; do
|
||||
slots+=" ${slot/-/.}"
|
||||
done
|
||||
fi
|
||||
|
||||
for slot in ${slots}; do
|
||||
local PHP_INI_FILE="/etc/php/cli-${slot}/php.ini"
|
||||
if [[ -f ${PHP_INI_FILE} ]] ; then
|
||||
dodir $(dirname ${PHP_INI_FILE})
|
||||
cp ${PHP_INI_FILE} "${D}${PHP_INI_FILE}"
|
||||
sed -e 's|^allow_url_fopen .*|allow_url_fopen = On|g' -i "${D}${PHP_INI_FILE}"
|
||||
else
|
||||
if [[ "x$(eselect php show cli)" == "x${slot}" ]] ; then
|
||||
ewarn
|
||||
ewarn "${slot} hasn't a php.ini file."
|
||||
ewarn "phoronix-test-suite needs the 'allow_url_fopen' option set to \"On\""
|
||||
ewarn "for downloading to work properly."
|
||||
ewarn "Check that your PHP_INI_VERSION is set during ${slot} merge"
|
||||
ewarn
|
||||
else
|
||||
elog
|
||||
elog "${slot} hasn't a php.ini file."
|
||||
elog "phoronix-test-suite may need the 'allow_url_fopen' option set to \"On\""
|
||||
elog "for downloading to work properly if you switch to ${slot}"
|
||||
elog "Check that your PHP_INI_VERSION is set during ${slot} merge"
|
||||
elog
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
ewarn
|
||||
ewarn "If you upgrade from phoronix-test-suite-2*, you should reinstall all"
|
||||
ewarn "your tests because"
|
||||
ewarn " \$HOME/.phoronix-test-suite/installed-tests/\$TEST_NAME/"
|
||||
ewarn "moves to"
|
||||
ewarn " \$HOME/.phoronix-test-suite/installed-tests/pts/\$TEST_NAME-\$TEST_VERSION/"
|
||||
ewarn "in phoronix-test-suite-3* version. The \$TEST_VERSION can be find in"
|
||||
ewarn "pts-install.xml file."
|
||||
ewarn
|
||||
}
|
||||
@@ -1,109 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils bash-completion-r1
|
||||
|
||||
DESCRIPTION="Phoronix's comprehensive, cross-platform testing and benchmark suite"
|
||||
HOMEPAGE="http://www.phoronix-test-suite.com"
|
||||
SRC_URI="http://www.phoronix-test-suite.com/download.php?file=${P} -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
|
||||
# php 5.3 doesn't have pcre and reflection useflags anymore
|
||||
RDEPEND="dev-lang/php[cli,curl,gd,json,posix,pcntl,truetype,zip]"
|
||||
|
||||
S="${WORKDIR}/${PN}"
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e "s,export PTS_DIR=\`pwd\`,export PTS_DIR=\"/usr/share/${PN}\"," \
|
||||
phoronix-test-suite
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
:
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
:
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /usr/share/${PN}
|
||||
insinto /usr/share/${PN}
|
||||
|
||||
doman documentation/man-pages/phoronix-test-suite.1
|
||||
dodoc AUTHORS ChangeLog README.md
|
||||
dohtml -r documentation/
|
||||
doicon pts-core/static/images/phoronix-test-suite.png
|
||||
doicon pts-core/static/images/openbenchmarking.png
|
||||
domenu pts-core/static/phoronix-test-suite.desktop
|
||||
rm -f pts-core/static/phoronix-test-suite.desktop
|
||||
|
||||
doins -r pts-core
|
||||
exeinto /usr/bin
|
||||
doexe phoronix-test-suite
|
||||
|
||||
fperms a+x /usr/share/${PN}/pts-core/static/root-access.sh
|
||||
fperms a+x /usr/share/${PN}/pts-core/external-test-dependencies/scripts/install-gentoo-packages.sh
|
||||
|
||||
newbashcomp pts-core/static/bash_completion ${PN}
|
||||
|
||||
# Need to fix the cli-php config for downloading to work. Very naughty!
|
||||
local slots
|
||||
local slot
|
||||
if [[ "x${PHP_TARGETS}" == "x" ]] ; then
|
||||
ewarn
|
||||
ewarn "PHP_TARGETS seems empty, php.ini file can't be configured."
|
||||
ewarn "Make sure that PHP_TARGETS in /etc/make.conf is set."
|
||||
ewarn "phoronix-test-suite needs the 'allow_url_fopen' option set to \"On\""
|
||||
ewarn "for downloading to work properly."
|
||||
ewarn
|
||||
else
|
||||
for slot in ${PHP_TARGETS}; do
|
||||
slots+=" ${slot/-/.}"
|
||||
done
|
||||
fi
|
||||
|
||||
for slot in ${slots}; do
|
||||
local PHP_INI_FILE="/etc/php/cli-${slot}/php.ini"
|
||||
if [[ -f ${PHP_INI_FILE} ]] ; then
|
||||
dodir $(dirname ${PHP_INI_FILE})
|
||||
cp ${PHP_INI_FILE} "${D}${PHP_INI_FILE}"
|
||||
sed -e 's|^allow_url_fopen .*|allow_url_fopen = On|g' -i "${D}${PHP_INI_FILE}"
|
||||
else
|
||||
if [[ "x$(eselect php show cli)" == "x${slot}" ]] ; then
|
||||
ewarn
|
||||
ewarn "${slot} hasn't a php.ini file."
|
||||
ewarn "phoronix-test-suite needs the 'allow_url_fopen' option set to \"On\""
|
||||
ewarn "for downloading to work properly."
|
||||
ewarn "Check that your PHP_INI_VERSION is set during ${slot} merge"
|
||||
ewarn
|
||||
else
|
||||
elog
|
||||
elog "${slot} hasn't a php.ini file."
|
||||
elog "phoronix-test-suite may need the 'allow_url_fopen' option set to \"On\""
|
||||
elog "for downloading to work properly if you switch to ${slot}"
|
||||
elog "Check that your PHP_INI_VERSION is set during ${slot} merge"
|
||||
elog
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
ewarn
|
||||
ewarn "If you upgrade from phoronix-test-suite-2*, you should reinstall all"
|
||||
ewarn "your tests because"
|
||||
ewarn " \$HOME/.phoronix-test-suite/installed-tests/\$TEST_NAME/"
|
||||
ewarn "moves to"
|
||||
ewarn " \$HOME/.phoronix-test-suite/installed-tests/pts/\$TEST_NAME-\$TEST_VERSION/"
|
||||
ewarn "in phoronix-test-suite-3* version. The \$TEST_VERSION can be find in"
|
||||
ewarn "pts-install.xml file."
|
||||
ewarn
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
DIST piozone-1.0.tar.gz 2228 SHA256 0b7f880b72b10664a24b712c22c90b4caab4f0cb1a8c99cba0d1a106fd63d15d SHA512 f61d3ad54716f626bf91e948a8843991bda97f2f0238e74acfa3f6d558ab6277293c6c0cf721a3806db5a1a1c5fb24dc3aee1293f1028155a726e637c39f0536 WHIRLPOOL 29947649d5490648db3cbf8fc5470f0739935b1fecc1cebdf1c7046ae254debf55010a382d0a3c732acc01715bded9be8543ff807a85b679c817c463b152448f
|
||||
@@ -1,63 +0,0 @@
|
||||
--- a/Makefile 2002-01-28 09:15:59.000000000 +0100
|
||||
+++ b/Makefile 2010-10-12 21:07:53.000000000 +0200
|
||||
@@ -4,12 +4,12 @@
|
||||
GZIP=gzip
|
||||
|
||||
#CC=cc -xarch=v9 -O
|
||||
-CC=cc -O
|
||||
+#CC=cc -O
|
||||
|
||||
all: piozone
|
||||
|
||||
piozone: piozone.o version.o
|
||||
- $(CC) -o piozone piozone.o version.o
|
||||
+ $(CC) $(CFLAGS) $(LDFLAGS) -o piozone piozone.o version.o
|
||||
|
||||
clean distclean:
|
||||
-rm -f core *.o piozone *~ \#*
|
||||
@@ -19,3 +19,6 @@
|
||||
|
||||
dist: version distclean
|
||||
(PACKNAME=`basename \`pwd\`` ; cd .. ; $(TAR) cf - $$PACKNAME | $(GZIP) -9 >$$PACKNAME.tar.gz)
|
||||
+
|
||||
+install:
|
||||
+ install -D piozone /usr/bin/piozone
|
||||
--- a/piozone.c 2002-01-28 09:14:54.000000000 +0100
|
||||
+++ b/piozone.c 2010-10-12 21:08:45.000000000 +0200
|
||||
@@ -20,7 +20,9 @@
|
||||
#include <fcntl.h>
|
||||
#include <time.h>
|
||||
#include <signal.h>
|
||||
+#include <stdlib.h> /* exit(), rand(), atoi() */
|
||||
|
||||
+#define uint64_t u_int64_t
|
||||
#define KiB ((uint64_t) 1024)
|
||||
#define MiB ((uint64_t) 1024*KiB)
|
||||
#define GiB ((uint64_t) 1024*MiB)
|
||||
@@ -73,7 +75,7 @@
|
||||
int count = 0;
|
||||
int nr = 0;
|
||||
|
||||
- llseek(fd, off, SEEK_SET);
|
||||
+ lseek64(fd, off, SEEK_SET);
|
||||
signal(SIGALRM, sigalrm_handler);
|
||||
stopf = 0;
|
||||
printf("Testing... ");
|
||||
@@ -121,7 +123,7 @@
|
||||
printf("Testing... ");
|
||||
alarm(ts);
|
||||
while (!stopf &&
|
||||
- llseek(fd, off+((rand()&area)*MiB), SEEK_SET) != -1 &&
|
||||
+ lseek64(fd, off+((rand()&area)*MiB), SEEK_SET) != -1 &&
|
||||
(nr = read(fd, iobuf, len)) == len)
|
||||
{
|
||||
print_dial();
|
||||
@@ -159,7 +161,7 @@
|
||||
off = 0;
|
||||
del = 64*GiB;
|
||||
|
||||
- while (del > 8*KiB && llseek(fd, off+del, SEEK_SET) != -1)
|
||||
+ while (del > 8*KiB && lseek64(fd, off+del, SEEK_SET) != -1)
|
||||
{
|
||||
if (read(fd, buf, 8*KiB) < 0)
|
||||
del >>= 1;
|
||||
@@ -1,5 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
</pkgmetadata>
|
||||
@@ -1,29 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit eutils flag-o-matic toolchain-funcs
|
||||
|
||||
DESCRIPTION="A hard-disk benchmarking tool"
|
||||
HOMEPAGE="http://www.lysator.liu.se/~pen/piozone/"
|
||||
SRC_URI="ftp://ftp.lysator.liu.se/pub/unix/piozone/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
IUSE=""
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PF}-gentoo.diff
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
append-flags -D_LARGEFILE64_SOURCE
|
||||
emake CC=$(tc-getCC) || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dosbin piozone
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
DIST gnomebaker-0.6.4.tar.gz 1276117 SHA256 6e1ef94cafca7536fc3211a7abd4732f6dc5adc3c7c1b73184f5a87738117fb7 SHA512 954a05724d8d036580edbd5ded11bfd4389965b831ccf2d5a10dbd542c54db4f0519aa3277c6ebc139f55a2475987c48b557cc002e86d9cccca473f187666e34 WHIRLPOOL f951cc19ebd3d107e0d2386c2e58cc678521a31c1fd40e77769dc6758fefa86d375d92bd7bad3770c5e54e6e2de41357a5c66efbdab0276b09f41516049d1d47
|
||||
@@ -1,30 +0,0 @@
|
||||
--- a/src/preferences.h
|
||||
+++ b/src/preferences.h
|
||||
@@ -85,6 +85,7 @@
|
||||
|
||||
gboolean preferences_init();
|
||||
void preferences_finalise();
|
||||
+int preferences_get_default_backend();
|
||||
|
||||
gchar *preferences_get_copy_data_cd_image();
|
||||
gchar *preferences_get_copy_dvd_image();
|
||||
--- a/src/backend.h
|
||||
+++ b/src/backend.h
|
||||
@@ -30,6 +30,7 @@
|
||||
|
||||
|
||||
gboolean backend_is_backend_supported(enum backend b);
|
||||
+gboolean backend_does_prog_exist(gchar* program);
|
||||
|
||||
|
||||
#endif /* _BACKEND_H_ */
|
||||
--- a/src/gnomebaker.c
|
||||
+++ b/src/gnomebaker.c
|
||||
@@ -32,6 +32,7 @@
|
||||
#include "splashdlg.h"
|
||||
#include "gbcommon.h"
|
||||
#include <libgnomevfs/gnome-vfs-mime-utils.h>
|
||||
+#include <libgnomevfs/gnome-vfs-ops.h>
|
||||
#include <gst/gst.h>
|
||||
#include "media.h"
|
||||
#include "dataproject.h"
|
||||
@@ -1,11 +0,0 @@
|
||||
--- a/src/Makefile.in
|
||||
+++ b/src/Makefile.in
|
||||
@@ -255,7 +255,7 @@ gnomebaker_SOURCES = \
|
||||
cairofillbar.c cairofillbar.h \
|
||||
backend.c backend.h
|
||||
|
||||
-gnomebaker_LDADD = @GNOMEBAKER_LIBS@
|
||||
+gnomebaker_LDADD = @GNOMEBAKER_LIBS@ -lm
|
||||
gnomebaker_LDFLAGS = -export-dynamic
|
||||
all: all-am
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
--- a/src/gblibnotify.c
|
||||
+++ b/src/gblibnotify.c
|
||||
@@ -87,7 +87,15 @@
|
||||
#ifdef HAVE_LIBNOTIFY
|
||||
#if (LIBNOTIFY_VERSION_MINOR >= 3)
|
||||
gint x, y;
|
||||
+#ifdef NOTIFY_CHECK_VERSION
|
||||
+#if NOTIFY_CHECK_VERSION (0, 7, 0)
|
||||
+ global_notify = notify_notification_new (subject, content, "");
|
||||
+#else
|
||||
global_notify = notify_notification_new (subject, content, "", NULL);
|
||||
+#endif
|
||||
+#else
|
||||
+ global_notify = notify_notification_new (subject, content, "", NULL);
|
||||
+#endif
|
||||
/* not sure if we have to free the pixbuf since it could be used internally in libnotify */
|
||||
GdkPixbuf *icon_pixbuf = gbcommon_get_icon_for_name("gnomebaker-48", 48);
|
||||
/* I think they changed the api between 0.3.0 and 0.3.1+ */
|
||||
@@ -1,8 +0,0 @@
|
||||
--- a/gnomebaker.desktop.in
|
||||
+++ b/gnomebaker.desktop.in
|
||||
@@ -17,4 +17,4 @@ X-MultipleArgs=false
|
||||
Type=Application
|
||||
Categories=AudioVideo;DiscBurning;
|
||||
StartupNotify=true
|
||||
-
|
||||
+MimeType=application/x-cd-image;application/x-cdrdao-toc;application/x-toc;application/x-cue;x-content/blank-cd;x-content/blank-dvd;x-content/blank-bd;x-content/blank-hddvd;
|
||||
@@ -1,31 +0,0 @@
|
||||
--- a/src/filebrowser.c
|
||||
+++ b/src/filebrowser.c
|
||||
@@ -866,7 +866,7 @@ filebrowser_get_selection(gboolean from_
|
||||
else
|
||||
tree = glade_xml_get_widget(gnomebaker_getxml(), widget_browser_filelist);
|
||||
|
||||
- GtkSelectionData *selection_data = g_new0(GtkSelectionData, 1);
|
||||
+ GtkSelectionData *selection_data = g_slice_new0(GtkSelectionData);
|
||||
filebrowser_on_drag_data_get(tree, NULL, selection_data, 0, 0, NULL);
|
||||
return selection_data;
|
||||
}
|
||||
--- a/src/gnomebaker.c
|
||||
+++ b/src/gnomebaker.c
|
||||
@@ -529,7 +529,7 @@ gnomebaker_on_add_files(gpointer widget,
|
||||
}
|
||||
|
||||
/*gtk_selection_data_set_uris(selection_data, uris);*/
|
||||
- selection_data = g_new0(GtkSelectionData, 1);
|
||||
+ selection_data = g_slice_new0(GtkSelectionData);
|
||||
gtk_selection_data_set(selection_data, selection_data->target, 8,
|
||||
(const guchar*)text->str, strlen(text->str) * sizeof(gchar));
|
||||
GB_TRACE("gnomebaker_on_add_files - [%s]\n", selection_data->data);
|
||||
@@ -1073,7 +1073,7 @@ gnomebaker_select_files_or_folders(const
|
||||
}
|
||||
|
||||
/*gtk_selection_data_set_uris(selection_data, uris);*/
|
||||
- selection_data = g_new0(GtkSelectionData, 1);
|
||||
+ selection_data = g_slice_new0(GtkSelectionData);
|
||||
gtk_selection_data_set(selection_data, selection_data->target, 8,
|
||||
(const guchar*)text->str, strlen(text->str) * sizeof(gchar));
|
||||
GB_TRACE("gnomebaker_select_files_or_folders - [%s]\n", selection_data->data);
|
||||
@@ -1,59 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=4
|
||||
GCONF_DEBUG=no
|
||||
inherit eutils gnome2
|
||||
|
||||
DESCRIPTION="GnomeBaker is a GTK2/Gnome cd burning application"
|
||||
HOMEPAGE="https://sourceforge.net/projects/gnomebaker"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ia64 ppc ppc64 sparc x86"
|
||||
IUSE="dvdr flac libnotify mp3 vorbis"
|
||||
|
||||
COMMON_DEPEND="app-cdr/cdrdao
|
||||
dev-libs/libxml2
|
||||
>=gnome-base/libglade-2
|
||||
>=gnome-base/libgnomeui-2
|
||||
>=media-libs/gstreamer-0.10:0.10
|
||||
virtual/cdrtools
|
||||
x11-libs/cairo
|
||||
x11-libs/gtk+:2
|
||||
dvdr? ( app-cdr/dvd+rw-tools )
|
||||
libnotify? ( x11-libs/libnotify )"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
>=media-libs/gst-plugins-good-0.10:0.10
|
||||
flac? ( >=media-plugins/gst-plugins-flac-0.10:0.10 )
|
||||
mp3? ( >=media-plugins/gst-plugins-mad-0.10:0.10 )
|
||||
vorbis? ( >=media-plugins/gst-plugins-vorbis-0.10:0.10 )"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
app-text/rarian
|
||||
dev-util/intltool
|
||||
virtual/pkgconfig
|
||||
sys-devel/gettext"
|
||||
|
||||
src_prepare() {
|
||||
G2CONF="$(use_enable libnotify)"
|
||||
|
||||
epatch \
|
||||
"${FILESDIR}"/${P}-libnotify-0.7.patch \
|
||||
"${FILESDIR}"/${P}-ldadd.patch \
|
||||
"${FILESDIR}"/${P}-seldata.patch \
|
||||
"${FILESDIR}"/${P}-mimetype.patch \
|
||||
"${FILESDIR}"/${P}-implicits.patch
|
||||
|
||||
gnome2_src_prepare
|
||||
}
|
||||
|
||||
src_install() {
|
||||
gnome2_src_install \
|
||||
gnomebakerdocdir=/usr/share/doc/${P} \
|
||||
docdir=/usr/share/gnome/help/${PN}/C \
|
||||
gnomemenudir=/usr/share/applications
|
||||
|
||||
rm -rf "${ED}"/usr/share/doc/${P}/*.make "${ED}"/var
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
<upstream>
|
||||
<remote-id type="sourceforge">gnomebaker</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -1 +0,0 @@
|
||||
DIST mybashburn-1.0.2.tar.bz2 75017 SHA256 058395728c295988c3d633f5a2a25224f25babea6117d4b35c26c7b7b93e0d6a SHA512 6bc8db179d10f7549838398098fd350e750655b3f2d9de91bec6806c4e30a066211209f86b6d805d909d9da94888b7483dd2b13ea2dbb44f83e0fb5f98f70bd3 WHIRLPOOL f5a2abe9f1b45a60b5399f5771d0f28fc7cc6f4b7fbfae5cf39a05fae40456527e8feb23a457dee355189df99dadbfe43bd7749676c12ad433fe6f323b15b111
|
||||
@@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
<use>
|
||||
<flag name="normalize">Add support for normalizing audio file volume levels</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<remote-id type="sourceforge">mybashburn</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -1,35 +0,0 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
DESCRIPTION="Command-line burning interface of data and music CDs and DVDs"
|
||||
HOMEPAGE="http://mybashburn.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/mybashburn/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="dvdr flac mp3 normalize vorbis"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="dev-util/dialog
|
||||
app-cdr/cdrdao
|
||||
app-cdr/cdrkit
|
||||
virtual/eject
|
||||
dvdr? ( app-cdr/dvd+rw-tools )
|
||||
mp3? ( media-sound/lame
|
||||
media-sound/mpg123 )
|
||||
flac? ( media-libs/flac )
|
||||
vorbis? ( media-sound/vorbis-tools )
|
||||
normalize? ( media-sound/normalize )"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
src_compile() {
|
||||
sed -i 's/\/usr/usr/' "${S}"/Makefile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed."
|
||||
dodoc CREDITS ChangeLog FAQ HOWTO README TODO
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
DIST scim-skk-0.5.2.tar.gz 534157 SHA256 17e755db22cd135a47381eae6f924f68f2c8d2991cec1a4b635ad294653d7b2d SHA512 7fdcfeb3442fff58d483e6fe028ea7e1dc203a670f2cdf6d9dbcda70df06d39839132f8358df4527a9c0b27f5e1b42d71985f0ce69a78b91ee6819e2571409e7 WHIRLPOOL cfd894d4989323d44acbec51130c297672b4beb8d013cd7f617a94b7e2f10e7241ba7f4728f36d23f90ba918b57b0193017a61f502020771d89a83f7d1e33ec1
|
||||
@@ -1,11 +0,0 @@
|
||||
--- a/src/scim_skk_imengine_setup.cpp
|
||||
+++ b/src/scim_skk_imengine_setup.cpp
|
||||
@@ -39,6 +39,8 @@
|
||||
#include "scim_skk_intl.h"
|
||||
#include "scim_skk_setup_dictionaries.h"
|
||||
|
||||
+#include <cstring>
|
||||
+
|
||||
using namespace scim;
|
||||
|
||||
namespace scim_skk {
|
||||
@@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>cjk@gentoo.org</email>
|
||||
<name>Cjk</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="sourceforge-jp">scim-imengine</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -1,54 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="Japanese input method SKK IMEngine for SCIM"
|
||||
HOMEPAGE="http://scim-imengine.sourceforge.jp/index.cgi?cmd=view;name=SCIMSKK"
|
||||
SRC_URI="mirror://sourceforge.jp/scim-imengine/18121/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="nls"
|
||||
|
||||
DEPEND="|| ( >=app-i18n/scim-1.2 >=app-i18n/scim-cvs-1.2 )"
|
||||
RDEPEND="${DEPEND}
|
||||
|| ( app-i18n/skk-jisyo virtual/skkserv )
|
||||
nls? ( virtual/libintl )"
|
||||
DEPEND="${DEPEND}
|
||||
nls? ( sys-devel/gettext )
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
epatch "${FILESDIR}"/${P}-gcc43.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
econf \
|
||||
$(use_enable nls) \
|
||||
--disable-dependency-tracking \
|
||||
--disable-static || die "econf failed"
|
||||
emake || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
|
||||
dodoc AUTHORS ChangeLog NEWS README* TODO
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "To use SCIM, you should use the following in your user startup scripts"
|
||||
elog "such as .gnomerc or .xinitrc:"
|
||||
elog
|
||||
elog "LANG='your_language' scim -d"
|
||||
elog "export XMODIFIERS=@im=SCIM"
|
||||
elog "export GTK_IM_MODULE=scim"
|
||||
elog "export QT_IM_MODULE=scim"
|
||||
elog
|
||||
}
|
||||
@@ -1,2 +0,0 @@
|
||||
DIST mime-support_3.39-1.tar.gz 28441 SHA256 2fe267478fdf9edbef427967a8141ed8ceb5ccd15ca9eaaa336a44a7982220ea SHA512 20603262ceb0592a4d2d3519af7498eb790c2b57887ba7c59cddb48e497b3d3ba567cd7882bc35d7dd0b07bbbf0f2a750ae92f3a540c3d5b124baf1d8211eff1 WHIRLPOOL 0ffb41799983ca6eaf11cc08927b5ea7e95cc56625e25b6d9cb61fb6ef652d40bde210bc4b32ea6aebcd03feda1ae74e0ef796b2aff3f65e38d26e15d401ba2b
|
||||
DIST mime-support_3.52-1.tar.gz 31107 SHA256 78ebee71b8de0fbf606f58255b43bfda1dbc94d0e8c416e8b7f233548cf47ea4 SHA512 445d96a95c56564c56babb5883319d57535c372ebd96c95c0fafc4264be7a7b5075145afa5ec27a16668800b78c092fb5014a710cdf451c521ae25c35640e66a WHIRLPOOL a2c6d8709b4e5abc1cfa4ef8602d5654c31278c06fbf739d9b383f28d2390adca6d184dc8943b576fb82d65f4afcbb1cf9d92882a4d13da538968023979aba23
|
||||
@@ -1,11 +0,0 @@
|
||||
--- mime-support/run-mailcap.old 2005-08-03 15:36:00.000000000 -0400
|
||||
+++ mime-support/run-mailcap 2005-08-03 15:37:41.000000000 -0400
|
||||
@@ -440,7 +440,7 @@
|
||||
$fail++;
|
||||
next;
|
||||
}
|
||||
- } elsif ($action eq 'view' && $match =~ m/;\s*copiousoutput\s*($|;)/) {
|
||||
+ } elsif ($action eq 'view' && $match =~ m/;\s*copiousoutput\s*($|;)/ && $type ne 'text/plain') {
|
||||
$comm .= " | $0 --action=$action text/plain:-";
|
||||
}
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
</pkgmetadata>
|
||||
@@ -1,36 +0,0 @@
|
||||
# Copyright 1999-2008 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
inherit eutils
|
||||
|
||||
MY_PV="${PV/_p/-}"
|
||||
DESCRIPTION="Execute programs via entries in the mailcap file"
|
||||
HOMEPAGE="http://packages.debian.org/unstable/net/mime-support"
|
||||
SRC_URI="mirror://debian/pool/main/m/mime-support/mime-support_${MY_PV}.tar.gz"
|
||||
LICENSE="freedist"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ppc64 sparc x86"
|
||||
IUSE=""
|
||||
DEPEND=""
|
||||
RDEPEND=">=dev-lang/perl-5.6
|
||||
app-misc/mime-types"
|
||||
|
||||
S=${WORKDIR}/mime-support
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
epatch "${FILESDIR}"/run-mailcap-breakrecursion.patch
|
||||
sed -i run-mailcap -e 's:^\(\$xtermprgrm=\)"/usr/bin/x-terminal-emulator":\1$ENV{XTERMCMD} || "xterm":'
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin run-mailcap
|
||||
newman run-mailcap.man run-mailcap.1
|
||||
newman mailcap.man mailcap.4
|
||||
for i in compose edit see print; do
|
||||
dosym run-mailcap /usr/bin/$i
|
||||
dosym run-mailcap.1 /usr/share/man/man1/$i.1
|
||||
done
|
||||
}
|
||||
@@ -1,33 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=4
|
||||
|
||||
MY_PV="${PV/_p/-}"
|
||||
DESCRIPTION="Execute programs via entries in the mailcap file"
|
||||
HOMEPAGE="http://packages.debian.org/unstable/net/mime-support"
|
||||
SRC_URI="mirror://debian/pool/main/m/mime-support/mime-support_${MY_PV}.tar.gz"
|
||||
LICENSE="freedist"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE=""
|
||||
DEPEND=""
|
||||
RDEPEND=">=dev-lang/perl-5.6
|
||||
app-misc/mime-types"
|
||||
|
||||
S=${WORKDIR}/mime-support
|
||||
|
||||
src_prepare() {
|
||||
sed -i run-mailcap -e 's:^\(\$xtermprgrm=\)"/usr/bin/x-terminal-emulator":\1$ENV{XTERMCMD} || "xterm":'
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin run-mailcap
|
||||
newman run-mailcap.man run-mailcap.1
|
||||
newman mailcap.man mailcap.4
|
||||
for i in compose edit see print; do
|
||||
dosym run-mailcap /usr/bin/$i
|
||||
dosym run-mailcap.1 /usr/share/man/man1/$i.1
|
||||
done
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
DIST slashtime-0.5.13.tar.bz2 51154 SHA256 19b1d589142258d70d72eba043545667a305360ca9ff5ee78109a17a3076804d SHA512 bb80965882c8078aa7830d0d0bffa48c84ad455f7882500f68c100e65ff0978d5825dff9b8feb1daa0b3557a68c8d6162b0761bdb424f36a94e934ee1b616f59 WHIRLPOOL d88f0f8f6536102122bfcd570bb820e6b23eec8a09a5599e21d066109c6f43ddfe09a97773e904502b7e1d4c50cc00fe8642df1f038a06de5d1349b72ecce570
|
||||
@@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>java@gentoo.org</email>
|
||||
<name>Java</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
@@ -1,50 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
JAVA_PKG_IUSE="source"
|
||||
|
||||
inherit java-pkg-2
|
||||
|
||||
DESCRIPTION="View the time at locations around the world"
|
||||
HOMEPAGE="http://research.operationaldynamics.com/projects/slashtime/"
|
||||
SRC_URI="http://research.operationaldynamics.com/projects/${PN}/dist/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
COMMON_DEP="dev-java/java-gnome:4.1"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.5
|
||||
${COMMON_DEP}"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.5
|
||||
${COMMON_DEP}"
|
||||
|
||||
src_configure() {
|
||||
# Handwritten in perl so not using econf
|
||||
./configure prefix=/usr jardir=/usr/share/${PN}/lib || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# This is needed to generate the slashtime jar.
|
||||
emake -j1 DESTDIR="${D}" install
|
||||
|
||||
java-pkg_register-dependency java-gnome-4.1 gtk.jar
|
||||
java-pkg_regjar /usr/share/${PN}/lib/${PN}.jar
|
||||
|
||||
# Replace slashtime launcher with our own.
|
||||
rm "${D}"/usr/bin/slashtime || die
|
||||
java-pkg_dolauncher ${PN} --main slashtime.client.Master --pwd /usr
|
||||
|
||||
dodoc AUTHORS HACKING PLACES README TODO
|
||||
|
||||
use source && java-pkg_dosrc src/java/slashtime
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
DIST obex-data-server-0.4.6.tar.gz 199188 SHA256 b399465ddbd6d0217abedd9411d9d74a820effa0a6a142adc448268d3920094f SHA512 5f924377fa45fec22a15d74fa45bf6ae98f56a9f8c98142cce6123e4ca6dcca042a636469b491f4103e230e270ad1af18dc38274b661795cac4beb4f7b798d5b WHIRLPOOL 85ef3de72124c25b5b486e2fefdf453ddc318e5f8520ada7c772d7e7a6939b954a6a66cf962ed3aa257d5212ab047f556aced5cbfa94a1a360e897a6da6fa90a
|
||||
@@ -1,13 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
<longdescription>
|
||||
A DBus service providing easy to use API for using OBEX protocol
|
||||
(both client and server wise). Current implementation supports OPP
|
||||
(Object Push Profile) and FTP (File Transfer Profile). This means
|
||||
that you can have FTP server running on your Bluetooth adapter with
|
||||
several lines of python, you can also do all client operations without
|
||||
having to use openobex directly or knowing any of low-level OBEX stuff.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
||||
@@ -1,40 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="4"
|
||||
|
||||
DESCRIPTION="A DBus service providing easy to use API for using OBEX"
|
||||
HOMEPAGE="http://tadas.dailyda.com/blog/category/obex-data-server/"
|
||||
SRC_URI="http://tadas.dailyda.com/software/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm hppa ppc ppc64 x86"
|
||||
|
||||
IUSE="debug gtk imagemagick usb"
|
||||
|
||||
RDEPEND="dev-libs/glib:2
|
||||
>=dev-libs/dbus-glib-0.7
|
||||
sys-apps/dbus
|
||||
>=net-wireless/bluez-4.31
|
||||
<dev-libs/openobex-1.7.1
|
||||
imagemagick? ( !gtk? ( || ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] ) ) )
|
||||
gtk? ( x11-libs/gtk+:2 )
|
||||
usb? ( virtual/libusb:0 )
|
||||
!app-mobilephone/obexd[server]"
|
||||
|
||||
DEPEND="virtual/pkgconfig
|
||||
${RDEPEND}"
|
||||
|
||||
src_configure() {
|
||||
local bip="no"
|
||||
use imagemagick && bip="magick"
|
||||
use gtk && bip="gdk-pixbuf"
|
||||
econf \
|
||||
--enable-bip=${bip} \
|
||||
$(use_enable usb) \
|
||||
--disable-system-config \
|
||||
$(use_enable debug) \
|
||||
--disable-silent-rules
|
||||
}
|
||||
@@ -1,2 +0,0 @@
|
||||
DIST coldsync-2.2.5.tar.gz 663307 SHA256 635575e2175a865827319ad21cbfbac95a42a7256730898ae9e9104b63b4fef6 SHA512 94ca6f3cff2248563c9a179d052f1e31f9482a62bd6988baecdb0fd8d9ed376c7653eba15448a8be1585d0ab0f727597985d459fd063fe70a4b77a9ed9298a7a WHIRLPOOL 85f1fe15299f024b6bc9d86127f146298c805adfe46009f90a2ae171e1f3c217a7708bbd8111095e0102cae4bdf1c508ce0bdfe66bf118813ca14026f1f79fa8
|
||||
DIST coldsync-3.0-pre4.tar.gz 657305 SHA256 ca32dbcd1b2d3cbce8ee4e34aafb1183fc09c3ead69d308e76454a9c4c4728c3 SHA512 9f8ad373b2613388dfa47c86a65c05378f66b59ce09e5c984617fbb72525a5f31f90dd09a22258ada469a29278cdd442632747c8d2f924372bfbd6e0ba4bec22 WHIRLPOOL e05cee91e61cdd979efcab168d10834f9b0fb8e19a3a488efa99b910490051857358a3c9c9c548acb62b9fcd96268b7d717549f6a9882c434446729af928ba9f
|
||||
@@ -1,76 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit eutils flag-o-matic perl-module toolchain-funcs
|
||||
|
||||
DESCRIPTION="A command-line tool to synchronize PalmOS PDAs with Unix workstations"
|
||||
HOMEPAGE="http://www.coldsync.org/"
|
||||
SRC_URI="http://www.coldsync.org/download/${P}.tar.gz"
|
||||
|
||||
LICENSE="Artistic"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~ppc ~sparc x86"
|
||||
IUSE="nls perl"
|
||||
|
||||
RDEPEND="perl? ( dev-lang/perl )"
|
||||
DEPEND="${RDEPEND}
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-toolchain.patch
|
||||
|
||||
if use perl; then
|
||||
pushd perl/ColdSync
|
||||
perl-module_src_prepare
|
||||
popd
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
tc-export CC CXX
|
||||
append-cflags -fno-strict-aliasing
|
||||
|
||||
# TODO: i18n: msgfmt fails but doesn't || die
|
||||
econf \
|
||||
$(use_with nls i18n) \
|
||||
--without-perl
|
||||
|
||||
if use perl; then
|
||||
pushd perl/ColdSync
|
||||
perl-module_src_configure
|
||||
popd
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
|
||||
if use perl; then
|
||||
pushd perl/ColdSync
|
||||
perl-module_src_compile
|
||||
popd
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake \
|
||||
PREFIX="${D}"/usr \
|
||||
MANDIR="${D}"/usr/share/man \
|
||||
SYSCONFDIR="${D}"/etc \
|
||||
DATADIR="${D}"/usr/share \
|
||||
INFODIR="${D}"/usr/share/info \
|
||||
INSTALLMAN3DIR="${D}"/usr/share/man/man3 \
|
||||
INSTALLSITEMAN3DIR="${D}"/usr/share/man/man3 \
|
||||
INSTALLVENDORMAN3DIR="${D}"/usr/share/man/man3 \
|
||||
install
|
||||
|
||||
if use perl; then
|
||||
pushd perl/ColdSync
|
||||
perl-module_src_install
|
||||
popd
|
||||
fi
|
||||
|
||||
dodoc AUTHORS ChangeLog FAQ HACKING NEWS README* TODO
|
||||
}
|
||||
@@ -1,87 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit flag-o-matic eutils perl-module toolchain-funcs
|
||||
|
||||
MY_P=${PN}-${PV/_/-}
|
||||
|
||||
DESCRIPTION="A command-line tool to synchronize PalmOS PDAs with Unix workstations"
|
||||
HOMEPAGE="http://www.coldsync.org/"
|
||||
SRC_URI="http://www.coldsync.org/download/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="Artistic"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
|
||||
IUSE="caps nls perl usb"
|
||||
|
||||
RDEPEND="caps? ( sys-libs/libcap )
|
||||
perl? ( dev-lang/perl )
|
||||
usb? ( virtual/libusb:0 )"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-apps/texinfo
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-texinfo-5.patch
|
||||
|
||||
if use perl; then
|
||||
pushd perl/ColdSync
|
||||
perl-module_src_prepare
|
||||
popd
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
tc-export CC CXX
|
||||
append-cflags -fno-strict-aliasing
|
||||
# FIXME: Fails to link later because libpconn is underlinked with USE="usb".
|
||||
append-ldflags $(no-as-needed)
|
||||
|
||||
econf \
|
||||
$(use_with nls i18n) \
|
||||
$(use_with caps capabilities) \
|
||||
$(use_with usb libusb) \
|
||||
--without-perl
|
||||
|
||||
if use perl; then
|
||||
pushd perl/ColdSync
|
||||
perl-module_src_configure
|
||||
popd
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -j1 #279292
|
||||
|
||||
if use perl; then
|
||||
pushd perl/ColdSync
|
||||
perl-module_src_compile
|
||||
popd
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake \
|
||||
PREFIX="${D}"/usr \
|
||||
MANDIR="${D}"/usr/share/man \
|
||||
SYSCONFDIR="${D}"/etc \
|
||||
DATADIR="${D}"/usr/share \
|
||||
INFODIR="${D}"/usr/share/info \
|
||||
INSTALLMAN3DIR="${D}"/usr/share/man/man3 \
|
||||
INSTALLSITEMAN3DIR="${D}"/usr/share/man/man3 \
|
||||
INSTALLVENDORMAN3DIR="${D}"/usr/share/man/man3 \
|
||||
EXTRA_INFOFILES="" \
|
||||
install
|
||||
|
||||
if use perl; then
|
||||
pushd perl/ColdSync
|
||||
perl-module_src_install
|
||||
popd
|
||||
fi
|
||||
|
||||
dodoc AUTHORS ChangeLog FAQ HACKING NEWS README* TODO
|
||||
}
|
||||
@@ -1,25 +0,0 @@
|
||||
--- src/symboltable.cc
|
||||
+++ src/symboltable.cc
|
||||
@@ -11,8 +11,11 @@
|
||||
#include <string>
|
||||
#include <map>
|
||||
#include <cstdlib> // For malloc() and friends
|
||||
+#include <cstring> // For strlen() and friends
|
||||
#include "symboltable.h"
|
||||
|
||||
+using namespace std;
|
||||
+
|
||||
static char *make_c_string(const string &s);
|
||||
|
||||
map<string,string> table; /* XXX - Is this going to cause problems on
|
||||
--- src/symboltable.h
|
||||
+++ src/symboltable.h
|
||||
@@ -26,7 +26,7 @@
|
||||
/* Initialize the symbol table based on the
|
||||
* arguments. */
|
||||
#ifdef __cplusplus
|
||||
-};
|
||||
+}
|
||||
#endif /* __cplusplus */
|
||||
|
||||
/* This is for Emacs's benefit:
|
||||
@@ -1,27 +0,0 @@
|
||||
Fix building against texinfo >= 5.0
|
||||
|
||||
http://bugs.gentoo.org/514772
|
||||
http://www.gnu.org/software/texinfo/manual/texinfo/texinfo.html#g_t_0040copyright
|
||||
|
||||
--- doc/conduits.texi
|
||||
+++ doc/conduits.texi
|
||||
@@ -33,7 +33,7 @@
|
||||
|
||||
@page
|
||||
@vskip 0pt plus 1filll
|
||||
-Copyright @copyright 2000 Andrew Arensburger.
|
||||
+Copyright @copyright{} 2000 Andrew Arensburger.
|
||||
|
||||
Permission is granted to make and distribute verbatim copies of
|
||||
this manual provided the copyright notice and this permission notice
|
||||
--- doc/libpalm.texi
|
||||
+++ doc/libpalm.texi
|
||||
@@ -57,7 +57,7 @@
|
||||
|
||||
@page
|
||||
@vskip 0pt plus 1filll
|
||||
-Copyright @copyright 1999 Andrew Arensburger.
|
||||
+Copyright @copyright{} 1999 Andrew Arensburger.
|
||||
|
||||
Permission is granted to make and distribute verbatim copies of
|
||||
this manual provided the copyright notice and this permission notice
|
||||
@@ -1,5 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
</pkgmetadata>
|
||||
@@ -1 +0,0 @@
|
||||
DIST jpilot-syncmal-0.81.tar.gz 347999 SHA256 2724453b671c867207a5597f9648b455740d97673efe9e6c174beced7a5fb24a SHA512 a5c47ade0e15fc47eb15d9fc7ea98d01d36c790af0f32bb27aa4299409b9bd35c4a2c850422ba939d1a6c826fbf97d188f6283e47234a49103235dd2bc38d353 WHIRLPOOL d433e579ada2dd083da1f7dc8d6f1169751fcb90f8391278f03d24532a5d90af0da1b4fb07be75e8d5df51c676e17f2b6d75044b0b248da01110b9b84cfdc82b
|
||||
@@ -1,38 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=2
|
||||
inherit multilib
|
||||
|
||||
DESCRIPTION="Syncmal plugin for jpilot"
|
||||
HOMEPAGE="http://www.jlogday.com/code/syncmal/index.html"
|
||||
SRC_URI="http://www.jlogday.com/code/syncmal/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2 MPL-1.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=app-pda/jpilot-0.99.9
|
||||
>=app-pda/pilot-link-0.12.3
|
||||
>=x11-libs/gtk+-2.8.19:2
|
||||
>=dev-libs/libmal-0.44"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--enable-gtk2
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake \
|
||||
DESTDIR="${D}" \
|
||||
libdir="/usr/$(get_libdir)/jpilot/plugins" \
|
||||
install || die
|
||||
|
||||
dodoc AUTHORS README TODO
|
||||
|
||||
find "${D}" -name '*.la' -delete
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
</pkgmetadata>
|
||||
@@ -1 +0,0 @@
|
||||
DIST synce-sync-engine-0.15.1.tar.gz 173406 SHA256 bdee6ba59d3106768dbe61f4f353ae2b59cbf1112cd274128f52a86d180370c4 SHA512 ef4855c24e8bff7da0e3eeccfc495e98ccd3817f20683f9648b6370cef05a22fa49ce19514efea9936d416120a7881ef930b433d7800b2f19c11ceb585aff827 WHIRLPOOL 534acbcf3abd29235d1073c96157832631ca1a408b8ed3fa4571daa09e7ee74c4a2ac73d5262cdae6bf353a563ea7be9dac5985d41fa2b00694576cc24751fd3
|
||||
@@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
<upstream>
|
||||
<remote-id type="sourceforge">synce</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -1,49 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=4
|
||||
|
||||
PYTHON_DEPEND="2:2.7"
|
||||
SUPPORT_PYTHON_ABIS=1
|
||||
RESTRICT_PYTHON_ABIS="3.*"
|
||||
|
||||
inherit distutils multilib
|
||||
|
||||
DESCRIPTION="A synchronization engine for SynCE"
|
||||
HOMEPAGE="https://sourceforge.net/projects/synce/"
|
||||
SRC_URI="mirror://sourceforge/synce/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="app-pda/synce-core[python]
|
||||
>=dev-libs/librra-0.16[python]
|
||||
>=dev-libs/librtfcomp-1.2[python]
|
||||
dev-libs/libxml2[python]
|
||||
dev-libs/libxslt[python]
|
||||
dev-python/dbus-python
|
||||
dev-python/pygobject:2"
|
||||
DEPEND=${RDEPEND}
|
||||
|
||||
PYTHON_MODNAME=SyncEngine
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e 's:share/doc/sync-engine:foobar:' setup.py || die
|
||||
|
||||
distutils_src_prepare
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/dbus-1/services
|
||||
doins config/org.synce.SyncEngine.service || die
|
||||
|
||||
insinto /etc
|
||||
doins config/syncengine.conf.xml || die
|
||||
|
||||
distutils_src_install
|
||||
|
||||
rm -rf "${ED}"/usr/foobar
|
||||
}
|
||||
@@ -1,4 +0,0 @@
|
||||
DIST lodgeit-0.3_p20120507.py 12785 SHA256 87dfd329e7d1fdf1902c6d1903a0b629b63749b69932235ed4d70c2e836400ab SHA512 a6300a4d11626cde612f1b88f137587241940f2ef3b08ea2745e85cd2423161fd882adc04ce64aa9adbffd883cb2fe30793791a0f36a2e8d69cb757075ef6873 WHIRLPOOL add0cb101cd47ab4165c593fab6ab51d6303f307481b29ee3c2212a9a93b78ac35bd93aa0cb5e4ee1458986d464f22021eb521ec1eaa69edae68851f8ceb5369
|
||||
DIST lodgeit-0.3_p20120507.vim 3882 SHA256 b8c1e918a7d6e7c5675ccd05893ad7bf3dae19493248e85735fded16903b06bc SHA512 d8a627fa2430680b78de9d0412c05955fd3294b56590e0e3448d75d9b3f8f5c8921187fee6de5eaf7f9b8e93080042eb3719e2f690c601508ea08878616f301d WHIRLPOOL f6d399c76f7873978d63e2a2f0720bde672d495e45f1fbec02c4125e6e5ae1a3ffa1effcda9e9b8402928c5134456a48a5f53a09f7ffb2667cf4933bbc0c9aee
|
||||
DIST lodgeit-0.3_p20120618.py 13010 SHA256 6a48885c6215d5b3abea55934cddc74a9fb3fdac03e29e269c7e7913b99f0f3b SHA512 23da205f2fc3c60c5df9816dcf08a45ff87523698675122ea231ca29ba04d178c003d2a55577f0e0e4dee08c670d5a18826e6bc6cf325b9e28c5668f1bd4d027 WHIRLPOOL 788e52c4533f153fc43c8ea8f316fc691ff48469e28541471524208ad2c54807e24c192d489fe68279586d28cd20fe8004b588cab9730fd8b9fdfc4b84a3d4b4
|
||||
DIST lodgeit-0.3_p20120618.vim 3882 SHA256 b8c1e918a7d6e7c5675ccd05893ad7bf3dae19493248e85735fded16903b06bc SHA512 d8a627fa2430680b78de9d0412c05955fd3294b56590e0e3448d75d9b3f8f5c8921187fee6de5eaf7f9b8e93080042eb3719e2f690c601508ea08878616f301d WHIRLPOOL f6d399c76f7873978d63e2a2f0720bde672d495e45f1fbec02c4125e6e5ae1a3ffa1effcda9e9b8402928c5134456a48a5f53a09f7ffb2667cf4933bbc0c9aee
|
||||
@@ -1,2 +0,0 @@
|
||||
server_name = http://bpaste.net/
|
||||
encoding = utf-8
|
||||
@@ -1,50 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="4"
|
||||
|
||||
MY_REV="03a5e8a6d1d4"
|
||||
PYTHON_DEPEND="2"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.*"
|
||||
|
||||
inherit python
|
||||
|
||||
DESCRIPTION="Command-line interface to paste.pocoo.org"
|
||||
HOMEPAGE="http://paste.pocoo.org/"
|
||||
SRC_URI="https://bitbucket.org/skrattaren/lodgeit-script-gentoo/raw/${MY_REV}/scripts/lodgeit.py
|
||||
-> ${P}.py
|
||||
vim? ( http://www.vim.org/scripts/download_script.php?src_id=8848
|
||||
-> ${P}.vim )"
|
||||
|
||||
LICENSE="BSD MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="vim"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="
|
||||
vim? ( || ( app-editors/vim[python] app-editors/gvim[python] ) )"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_unpack() {
|
||||
:
|
||||
}
|
||||
|
||||
src_install() {
|
||||
installation(){
|
||||
newbin "${DISTDIR}/${P}.py" "${PN}-${PYTHON_ABI}"
|
||||
python_convert_shebangs ${PYTHON_ABI} "${ED}"/usr/bin/${PN}-${PYTHON_ABI}
|
||||
}
|
||||
python_execute_function installation
|
||||
python_generate_wrapper_scripts "${ED}"/usr/bin/${PN}
|
||||
|
||||
if use vim; then
|
||||
insinto /usr/share/vim/vimfiles/plugin
|
||||
newins "${DISTDIR}/${P}.vim" "${PN}.vim"
|
||||
fi
|
||||
}
|
||||
@@ -1,57 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="4"
|
||||
|
||||
MY_REV="1ca55b8189de"
|
||||
PYTHON_DEPEND="2"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.*"
|
||||
|
||||
inherit python
|
||||
|
||||
DESCRIPTION="Command-line interface to paste.pocoo.org"
|
||||
HOMEPAGE="http://paste.pocoo.org/"
|
||||
SRC_URI="https://bitbucket.org/skrattaren/lodgeit-script-gentoo/raw/${MY_REV}/scripts/lodgeit.py
|
||||
-> ${P}.py
|
||||
vim? ( http://www.vim.org/scripts/download_script.php?src_id=8848
|
||||
-> ${P}.vim )"
|
||||
|
||||
LICENSE="BSD MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="vim"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="
|
||||
vim? ( || ( app-editors/vim[python] app-editors/gvim[python] ) )"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_unpack() {
|
||||
:
|
||||
}
|
||||
|
||||
src_install() {
|
||||
installation(){
|
||||
newbin "${DISTDIR}/${P}.py" "${PN}-${PYTHON_ABI}"
|
||||
python_convert_shebangs ${PYTHON_ABI} "${ED}"/usr/bin/${PN}-${PYTHON_ABI}
|
||||
}
|
||||
python_execute_function installation
|
||||
python_generate_wrapper_scripts "${ED}"/usr/bin/${PN}
|
||||
|
||||
insinto /etc
|
||||
doins "${FILESDIR}"/lodgeitrc
|
||||
|
||||
if use vim; then
|
||||
local vimdir=/usr/share/vim/vimfiles/plugin
|
||||
insinto ${vimdir}
|
||||
newins "${DISTDIR}"/${P}.vim ${PN}.vim
|
||||
#Change default service for Lodgeit vim script
|
||||
sed -e 's:paste.pocoo.org:bpaste.net:g' \
|
||||
-i "${ED}"${vimdir}/${PN}.vim || die "sed failed"
|
||||
fi
|
||||
}
|
||||
@@ -1,13 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
<use>
|
||||
<flag name="vim">
|
||||
Install a vim plugin allowing to paste and download from within vim
|
||||
</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<remote-id type="bitbucket">skrattaren/lodgeit-script-gentoo</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -1 +0,0 @@
|
||||
DIST notecase-1.9.8_src.tar.gz 928579 SHA256 0b7e23ec97efd5cd4ada651ac93273f9e5ed2cfff027abfb4ae130039563b746 SHA512 9c03da5a4f5290b25c1da32373f3e78d80c514dfed95b2c8f89e561c9acc062e10d3fa1c75241a3452168821ed60182016955b1923a3798fad572e9f5d3fdaf5 WHIRLPOOL 427996fc8d0cfc2bd44e788cb6e1adc69c52260344be0fe48d571edd61ef6b23f80e20a3838322d413a02158a04b2cdfaff5e96e613c6cb077e857f29e75db51
|
||||
@@ -1,29 +0,0 @@
|
||||
--- Makefile.orig 2007-11-13 16:31:55.000000000 +0100
|
||||
+++ Makefile 2007-11-13 16:33:04.000000000 +0100
|
||||
@@ -113,18 +113,9 @@
|
||||
QC=@echo '===> Compiling $<';
|
||||
QL=@echo '===> Linking $@';
|
||||
|
||||
-# using "--as-needed" to cut down link requirements (check by "readelf -d /usr/bin/notecase | grep NEEDED")
|
||||
-ifeq ($(LDFLAGS),)
|
||||
-ifdef OSX_BUILD
|
||||
- LDFLAGS=-Os -Wl -bind_at_load
|
||||
-else
|
||||
- LDFLAGS=-Os -Wl,--as-needed
|
||||
-endif
|
||||
-
|
||||
ifneq ($(NOKIA_MAEMO_BUILD),)
|
||||
LDFLAGS += -ansi
|
||||
endif
|
||||
-endif
|
||||
|
||||
# define compile/link command line with flags
|
||||
CC=$(QC) $(CXX) $(DEBUG) $(PROFILE) -DENABLE_NLS
|
||||
@@ -158,7 +149,6 @@
|
||||
$(OBJ)/IOLayerRedirect.o $(OBJ)/FileExportDlg.o $(OBJ)/FormatIOTxt.o $(OBJ)/FindReplaceDlg.o \
|
||||
$(OBJ)/FindReplaceInfo.o $(OBJ)/LinkInfo.o $(OBJ)/LinkPropertiesDlg.o $(OBJ)/ExecuteFile.o \
|
||||
$(OBJ)/FileSaveAsDlg.o $(OBJ)/CircularBuffer.o $(OBJ)/FormatIOMMLX.o \
|
||||
- $(OBJ)/libz.a \
|
||||
$(OBJ)/ProgressDlg.o $(OBJ)/DocActionPix.o $(OBJ)/DocActionFinish.o $(OBJ)/DocActionFmt.o $(OBJ)/FmtInfo.o \
|
||||
$(OBJ)/FileAttachmentDlg.o $(OBJ)/DocActionAtt.o $(OBJ)/PixPropertiesDlg.o $(OBJ)/DocActionFinishDel.o \
|
||||
$(OBJ)/ShortcutsList.o $(OBJ)/ShortcutsListDlg.o $(OBJ)/DateTimeDlg.o $(OBJ)/AboutDlg.o $(OBJ)/EditDlg.o
|
||||
@@ -1,22 +0,0 @@
|
||||
diff -Naurp notecase-1.9.8-orig/src/lib/IniFile.cpp notecase-1.9.8/src/lib/IniFile.cpp
|
||||
--- notecase-1.9.8-orig/src/lib/IniFile.cpp 2008-10-24 12:54:50.000000000 -0600
|
||||
+++ notecase-1.9.8/src/lib/IniFile.cpp 2009-07-27 13:04:34.519339275 -0600
|
||||
@@ -9,6 +9,7 @@
|
||||
#include "IniFile.h"
|
||||
#include <algorithm> //find() function
|
||||
#include <string>
|
||||
+#include <cstdio>
|
||||
#include "File64.h"
|
||||
#include "FilePath.h"
|
||||
#include "debug.h"
|
||||
diff -Naurp notecase-1.9.8-orig/src/_unx/ExecuteFile.cpp notecase-1.9.8/src/_unx/ExecuteFile.cpp
|
||||
--- notecase-1.9.8-orig/src/_unx/ExecuteFile.cpp 2008-10-24 12:54:50.000000000 -0600
|
||||
+++ notecase-1.9.8/src/_unx/ExecuteFile.cpp 2009-07-27 13:07:56.101813217 -0600
|
||||
@@ -12,6 +12,7 @@
|
||||
#include "../lib/debug.h"
|
||||
#include <string>
|
||||
#include <cstring>
|
||||
+#include <cstdio>
|
||||
#include <vector>
|
||||
#include <algorithm>
|
||||
#include <string.h>
|
||||
@@ -1,13 +0,0 @@
|
||||
Index: notecase-1.9.8/Makefile
|
||||
===================================================================
|
||||
--- notecase-1.9.8.orig/Makefile
|
||||
+++ notecase-1.9.8/Makefile
|
||||
@@ -685,7 +685,7 @@ updatesrc:
|
||||
exit 1;\
|
||||
fi;
|
||||
$(Q)if [ "$(HAVE_GTKSOURCEVIEW)" = "1" ]; then \
|
||||
- if [[ "$(TEST_SRCVIEW_VER)" < "2.4.1" ]]; then \
|
||||
+ if [[ "$(TEST_SRCVIEW_VER)" < "2.10.1" ]]; then \
|
||||
echo 'ERROR: gtksourceview package is too old ($(shell pkg-config --modversion gtksourceview-2.0))!';\
|
||||
exit 1;\
|
||||
fi;\
|
||||
@@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
<upstream>
|
||||
<remote-id type="sourceforge">notecase</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -1,72 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils fdo-mime
|
||||
|
||||
DESCRIPTION="Hierarchical note manager written using GTK+ and C++"
|
||||
HOMEPAGE="http://notecase.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}_src.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="gnome nls"
|
||||
|
||||
RDEPEND="sys-libs/zlib:0
|
||||
>=x11-libs/gtk+-2.6:2
|
||||
x11-libs/libX11:0"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig:*"
|
||||
|
||||
# test doesn't work
|
||||
RESTRICT="test"
|
||||
|
||||
src_prepare() {
|
||||
# Respect CFLAGS and don't use --as-needed by default
|
||||
epatch "${FILESDIR}/notecase-1.7.2-CFLAGS.patch"
|
||||
epatch "${FILESDIR}"/${P}-gcc44.patch
|
||||
epatch "${FILESDIR}"/${P}-gtksourceview.patch
|
||||
|
||||
if ! use gnome; then
|
||||
# Comment variable in the Makefile if we don't have gnome
|
||||
sed -i -e 's/HAVE_GNOME_VFS=1/#HAVE_GNOME_VFS=1/g' \
|
||||
-e 's/AUTODETECT_GNOME_VFS=1/#AUTODETECT_GNOME_VFS=1/g' \
|
||||
Makefile || die "gnome sed failed"
|
||||
fi
|
||||
|
||||
! use nls && {
|
||||
sed -i -e 's/notecase$(EXE) poinstall/notecase$(EXE)/g' \
|
||||
Makefile || die "nls sed failed"
|
||||
}
|
||||
|
||||
# Verbose building, fix as-needed support and missing libs.
|
||||
sed -e 's/^\(Q[CL]*=\)@.*$/\1/' \
|
||||
-e 's:\(-o $(BIN)/notecase$(EXE) .*\) \($(GTKLIBS)\):\2 -lX11 -lz \1:' \
|
||||
-i Makefile || die
|
||||
|
||||
# Remove Application category from .desktop file.
|
||||
sed -i 's/^\(Categories=\)Application;/\1/' docs/notecase.desktop || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -j1
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
dodoc readme.txt
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_desktop_database_update
|
||||
fdo-mime_mime_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
fdo-mime_desktop_database_update
|
||||
fdo-mime_mime_database_update
|
||||
}
|
||||
@@ -1,3 +0,0 @@
|
||||
DIST asis-gpl-2006.tar.bz2 1546623 SHA256 66825814792b1ddce9a6e3cc43c7426f9a563d9dbaa1b254884139b51279ebf4 SHA512 6afba6c335329670977b0aee5275928a039968ef5120978e619959f30981fd5da971c6f72a1848399061fa03490c96ff1ad7bae6c197e667ad4bc798847952af WHIRLPOOL 06d5198dbd38c8c048175ff4464496d585eb4752007d074fda1f3e77cec8e8df49fa6c6b952ac1ef2df8609742773490301a9a4149ad435ec91d09629eea3a39
|
||||
DIST asis-gpl-2007-src.tgz 2268673 SHA256 6b8f5d3372bcfa83a49e991550f8e7ecb66d3fc59cac3d1cbc835eee32da189b SHA512 93c45c4cf056038eac70e14b07a9e1cd1de45ca8339b512633f9427622bfe669787b53c66124a46d6bdaaefaf8602b09e2e0345bfc6cdd758e52d32d63fd5fcc WHIRLPOOL f81712992035da6a8097be894c4202ab8159b8514b8828a5bf2b7922b2cd29e38e2cb7bc4bf3758d99889ca127035648946207e8c41592f873abb62020023d48
|
||||
DIST asis-gpl-2008-src.tgz 2324780 SHA256 74e306f4c24c79d2bd9395c3ec03edbbdaeb2741e962e7398116b45aa4c4869f SHA512 8513b3211c8021da54d1c79c3d10155c75a29be4780465666cd6e18c4c0e0565e5e5c15eaa1b21c0e18f6cc4342c7dcabcdf55b3f483a5587f227c3c6cf87fa2 WHIRLPOOL 9cf5fb78b79e4551ef10181b2b04d327421b3575223a9684d8d81ccf6e3df8ea2c9d0555ebee457fa059e6d7cb6a398ab7b2ab820ffa6a5f3b54e9ad63eb16b9
|
||||
@@ -1,113 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
inherit eutils flag-o-matic gnatbuild
|
||||
|
||||
ACT_Ver=$(get_version_component_range 4)
|
||||
Gnat_Name="gnat-gpl"
|
||||
|
||||
DESCRIPTION="The Ada Semantic Interface Specification (tools tied to compiler)"
|
||||
SRC_URI="mirror://gentoo/${PN}-${ACT_Ver}.tar.bz2"
|
||||
HOMEPAGE="https://libre.adacore.com/"
|
||||
LICENSE="GPL-2"
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE="doc"
|
||||
RDEPEND="=dev-lang/gnat-gpl-${PV}*"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( virtual/latex-base
|
||||
app-text/texi2html )"
|
||||
|
||||
S="${WORKDIR}/asis-${ACT_Ver}"
|
||||
|
||||
# it may be even better to force plain -O2 -pipe -ftracer here
|
||||
replace-flags -O3 -O2
|
||||
|
||||
pkg_setup() {
|
||||
currGnat=$(eselect gnat show | grep "gnat-" | awk '{ print $1 }')
|
||||
if [[ "${currGnat}" != "${CTARGET}-${Gnat_Name}-${SLOT}" ]]; then
|
||||
echo
|
||||
eerror "The active gnat profile does not correspond to the selected"
|
||||
eerror "version of asis! Please install the appropriate gnat (if you"
|
||||
eerror "did not so yet) and run:"
|
||||
eerror "eselect gnat set ${CTARGET}-${Gnat_Name}-${SLOT}"
|
||||
eerror "env-update && source /etc/profile"
|
||||
eerror "and then emerge =dev-ada/${P} again.."
|
||||
echo
|
||||
die
|
||||
fi
|
||||
}
|
||||
|
||||
# we need to override the eclass defined src_unpack
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Build the shared library first, we need -fPIC here
|
||||
gnatmake -Pasis_bld -XBLD=prod -XOPSYS=default_Unix -cargs ${CFLAGS} -fPIC \
|
||||
|| die "building libasis.a failed"
|
||||
gnatgcc -shared -Wl,-soname,libasis-${ACT_Ver}.so \
|
||||
-o obj/libasis-${ACT_Ver}.so obj/*.o -lc \
|
||||
|| die "building libasis.so failed"
|
||||
|
||||
# build tools
|
||||
for fn in tools/*; do
|
||||
pushd ${fn}
|
||||
gnatmake -P${fn:6}.gpr || die "building ${fn:6} failed"
|
||||
popd
|
||||
done
|
||||
|
||||
# common stuff is just docs in this case
|
||||
if use doc; then
|
||||
emake -C documentation all || die "Failed while compiling documentation"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install () {
|
||||
# we need to adjust some vars defined in gnatbuild.eclass so that they use
|
||||
# gnat-gpl instead of asis
|
||||
LIBPATH=${LIBPATH/${PN}/${Gnat_Name}}
|
||||
BINPATH=${BINPATH/${PN}/${Gnat_Name}}
|
||||
DATAPATH=${DATAPATH/${PN}/${Gnat_Name}}
|
||||
|
||||
# install the lib
|
||||
mkdir -p "${D}${LIBPATH}"/adalib
|
||||
chmod 0755 obj/libasis-${ACT_Ver}.so
|
||||
cp obj/libasis-${ACT_Ver}.so "${D}${LIBPATH}"/adalib
|
||||
insinto ${LIBPATH}/adalib
|
||||
doins obj/*.ali lib/libasis.a
|
||||
# make appropriate symlinks
|
||||
pushd "${D}${LIBPATH}"/adalib
|
||||
ln -s libasis-${ACT_Ver}.so libasis.so
|
||||
popd
|
||||
# sources
|
||||
insinto ${LIBPATH}/adainclude
|
||||
doins gnat/*.ad[sb]
|
||||
doins asis/*.ad[sb]
|
||||
|
||||
# tools
|
||||
mkdir -p "${D}${BINPATH}"
|
||||
for fn in tools/{asistant,gnat*}; do
|
||||
cp ${fn}/${fn:6} "${D}${BINPATH}"
|
||||
done
|
||||
|
||||
# docs and examples
|
||||
dodoc documentation/*.txt
|
||||
dohtml documentation/*.html
|
||||
# info's should go into gnat-gpl dirs
|
||||
insinto ${DATAPATH}/info/
|
||||
doins documentation/*.info
|
||||
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r documentation/*.pdf examples/ tutorial/ templates/
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
echo
|
||||
elog "The ASIS is installed for the active gnat compiler at gnat's location."
|
||||
elog "No further configuration is necessary. Enjoy."
|
||||
echo
|
||||
}
|
||||
@@ -1,121 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
inherit eutils flag-o-matic gnatbuild
|
||||
|
||||
ACT_Ver=$(get_version_component_range 4)
|
||||
Gnat_Name="gnat-gpl"
|
||||
|
||||
DESCRIPTION="The Ada Semantic Interface Specification (semantic analysis and tools tied to compiler)"
|
||||
SRC_URI="mirror://gentoo/${PN}-${ACT_Ver}-src.tgz"
|
||||
HOMEPAGE="https://libre.adacore.com/"
|
||||
LICENSE="GPL-2"
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE="doc"
|
||||
RDEPEND="=dev-lang/gnat-gpl-${PV}*"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( virtual/latex-base
|
||||
app-text/texi2html )"
|
||||
|
||||
S="${WORKDIR}/asis-${ACT_Ver}-src"
|
||||
|
||||
# it may be even better to force plain -O2 -pipe -ftracer here
|
||||
replace-flags -O3 -O2
|
||||
|
||||
# we need to adjust some vars defined in gnatbuild.eclass so that they use
|
||||
# gnat-gpl instead of asis
|
||||
LIBPATH=${LIBPATH/${PN}/${Gnat_Name}}
|
||||
BINPATH=${BINPATH/${PN}/${Gnat_Name}}
|
||||
DATAPATH=${DATAPATH/${PN}/${Gnat_Name}}
|
||||
|
||||
QA_EXECSTACK="${BINPATH:1}/*
|
||||
${LIBPATH:1}/adalib/libasis-${ACT_Ver}.so"
|
||||
|
||||
pkg_setup() {
|
||||
currGnat=$(eselect gnat show | grep "gnat-" | awk '{ print $1 }')
|
||||
if [[ "${currGnat}" != "${CTARGET}-${Gnat_Name}-${SLOT}" ]]; then
|
||||
echo
|
||||
eerror "The active gnat profile does not correspond to the selected"
|
||||
eerror "version of asis! Please install the appropriate gnat (if you"
|
||||
eerror "did not so yet) and run:"
|
||||
eerror "eselect gnat set ${CTARGET}-${Gnat_Name}-${SLOT}"
|
||||
eerror "env-update && source /etc/profile"
|
||||
eerror "and then emerge =dev-ada/${P} again.."
|
||||
echo
|
||||
die
|
||||
fi
|
||||
}
|
||||
|
||||
# we need to override the eclass defined src_unpack
|
||||
# and change gcc to gnatgcc where appropriate
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
for fn in asis/a4g-gnat_int.adb gnat/snames.adb tools/tool_utils/asis_ul-common.adb; do
|
||||
sed -i -e "s:\"gcc:\"gnatgcc:" ${fn}
|
||||
done
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Build the shared library first, we need -fPIC here
|
||||
gnatmake -Pasis_bld -XBLD=prod -XOPSYS=default_Unix -cargs ${CFLAGS} -fPIC \
|
||||
|| die "building libasis.a failed"
|
||||
gnatgcc -shared -Wl,-soname,libasis-${ACT_Ver}.so \
|
||||
-o obj/libasis-${ACT_Ver}.so obj/*.o -lc \
|
||||
|| die "building libasis.so failed"
|
||||
|
||||
# build tools
|
||||
for fn in tools/*; do
|
||||
pushd ${fn}
|
||||
gnatmake -P${fn:6}.gpr || die "building ${fn:6} failed"
|
||||
popd
|
||||
done
|
||||
|
||||
# common stuff is just docs in this case
|
||||
if use doc; then
|
||||
emake -C documentation all || die "Failed while compiling documentation"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install () {
|
||||
# install the lib
|
||||
mkdir -p "${D}${LIBPATH}"/adalib
|
||||
chmod 0755 obj/libasis-${ACT_Ver}.so
|
||||
cp obj/libasis-${ACT_Ver}.so "${D}${LIBPATH}"/adalib
|
||||
insinto ${LIBPATH}/adalib
|
||||
doins obj/*.ali lib/libasis.a
|
||||
# make appropriate symlinks
|
||||
pushd "${D}${LIBPATH}"/adalib
|
||||
ln -s libasis-${ACT_Ver}.so libasis.so
|
||||
popd
|
||||
# sources
|
||||
insinto ${LIBPATH}/adainclude
|
||||
doins gnat/*.ad[sb]
|
||||
doins asis/*.ad[sb]
|
||||
|
||||
# tools
|
||||
mkdir -p "${D}${BINPATH}"
|
||||
for fn in tools/{asistant,gnat*}; do
|
||||
cp ${fn}/${fn:6} "${D}${BINPATH}"
|
||||
done
|
||||
|
||||
# docs and examples
|
||||
dodoc documentation/*.txt
|
||||
dohtml documentation/*.html
|
||||
# info's should go into gnat-gpl dirs
|
||||
insinto ${DATAPATH}/info/
|
||||
doins documentation/*.info
|
||||
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r documentation/*.pdf examples/ tutorial/ templates/
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
echo
|
||||
elog "The ASIS is installed for the active gnat compiler at gnat's location."
|
||||
elog "No further configuration is necessary. Enjoy."
|
||||
echo
|
||||
}
|
||||
@@ -1,123 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
inherit eutils flag-o-matic gnatbuild
|
||||
|
||||
ACT_Ver=$(get_version_component_range 4)
|
||||
Gnat_Name="gnat-gpl"
|
||||
|
||||
DESCRIPTION="The Ada Semantic Interface Specification (semantic analysis and tools tied to compiler)"
|
||||
SRC_URI="mirror://gentoo/${PN}-${ACT_Ver}-src.tgz"
|
||||
HOMEPAGE="https://libre.adacore.com/"
|
||||
LICENSE="GPL-2"
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE="doc"
|
||||
RDEPEND="=dev-lang/gnat-gpl-${PV}*"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( virtual/latex-base
|
||||
app-text/texi2html )"
|
||||
|
||||
S="${WORKDIR}/asis-${ACT_Ver}-src"
|
||||
|
||||
# it may be even better to force plain -O2 -pipe -ftracer here
|
||||
replace-flags -O3 -O2
|
||||
|
||||
# we need to adjust some vars defined in gnatbuild.eclass so that they use
|
||||
# gnat-gpl instead of asis
|
||||
LIBPATH=${LIBPATH/${PN}/${Gnat_Name}}
|
||||
BINPATH=${BINPATH/${PN}/${Gnat_Name}}
|
||||
DATAPATH=${DATAPATH/${PN}/${Gnat_Name}}
|
||||
|
||||
QA_EXECSTACK="${BINPATH:1}/*
|
||||
${LIBPATH:1}/adalib/libasis-${ACT_Ver}.so"
|
||||
|
||||
pkg_setup() {
|
||||
currGnat=$(eselect gnat show | grep "gnat-" | awk '{ print $1 }')
|
||||
if [[ "${currGnat}" != "${CTARGET}-${Gnat_Name}-${SLOT}" ]]; then
|
||||
echo
|
||||
eerror "The active gnat profile does not correspond to the selected"
|
||||
eerror "version of asis! Please install the appropriate gnat (if you"
|
||||
eerror "did not so yet) and run:"
|
||||
eerror "eselect gnat set ${CTARGET}-${Gnat_Name}-${SLOT}"
|
||||
eerror "env-update && source /etc/profile"
|
||||
eerror "and then emerge =dev-ada/${P} again.."
|
||||
echo
|
||||
die
|
||||
fi
|
||||
}
|
||||
|
||||
# we need to override the eclass defined src_unpack
|
||||
# and change gcc to gnatgcc where appropriate
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
for fn in asis/a4g-gnat_int.adb gnat/snames.adb \
|
||||
tools/tool_utils/asis_ul-common.adb \
|
||||
tools/gnatmetric/metrics-compute.adb; do
|
||||
sed -i -e "s:\"gcc:\"gnatgcc:" ${fn}
|
||||
done
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Build the shared library first, we need -fPIC here
|
||||
gnatmake -Pasis_bld -XBLD=prod -XOPSYS=default_Unix -cargs ${CFLAGS} -fPIC \
|
||||
|| die "building libasis.a failed"
|
||||
gnatgcc -shared -Wl,-soname,libasis-${ACT_Ver}.so \
|
||||
-o obj/libasis-${ACT_Ver}.so obj/*.o -lc \
|
||||
|| die "building libasis.so failed"
|
||||
|
||||
# build tools
|
||||
for fn in tools/*; do
|
||||
pushd ${fn}
|
||||
gnatmake -P${fn:6}.gpr || die "building ${fn:6} failed"
|
||||
popd
|
||||
done
|
||||
|
||||
# common stuff is just docs in this case
|
||||
if use doc; then
|
||||
emake -C documentation all || die "Failed while compiling documentation"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install () {
|
||||
# install the lib
|
||||
mkdir -p "${D}${LIBPATH}"/adalib
|
||||
chmod 0755 obj/libasis-${ACT_Ver}.so
|
||||
cp obj/libasis-${ACT_Ver}.so "${D}${LIBPATH}"/adalib
|
||||
insinto ${LIBPATH}/adalib
|
||||
doins obj/*.ali lib/libasis.a
|
||||
# make appropriate symlinks
|
||||
pushd "${D}${LIBPATH}"/adalib
|
||||
ln -s libasis-${ACT_Ver}.so libasis.so
|
||||
popd
|
||||
# sources
|
||||
insinto ${LIBPATH}/adainclude
|
||||
doins gnat/*.ad[sb]
|
||||
doins asis/*.ad[sb]
|
||||
|
||||
# tools
|
||||
mkdir -p "${D}${BINPATH}"
|
||||
for fn in tools/{asistant,gnat*}; do
|
||||
cp ${fn}/${fn:6} "${D}${BINPATH}"
|
||||
done
|
||||
|
||||
# docs and examples
|
||||
dodoc documentation/*.txt
|
||||
dohtml documentation/*.html
|
||||
# info's should go into gnat-gpl dirs
|
||||
insinto ${DATAPATH}/info/
|
||||
doins documentation/*.info
|
||||
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r documentation/*.pdf examples/ tutorial/ templates/
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
echo
|
||||
elog "The ASIS is installed for the active gnat compiler at gnat's location."
|
||||
elog "No further configuration is necessary. Enjoy."
|
||||
echo
|
||||
}
|
||||
@@ -1,127 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
# NOTE: gnat-gpl-2007 and 2008 have "incompatible bugs"
|
||||
# so, we separate asis following the separation of gnat
|
||||
SLOT="4.1-2008"
|
||||
|
||||
inherit eutils flag-o-matic gnatbuild
|
||||
|
||||
ACT_Ver=$(get_version_component_range 4)
|
||||
Gnat_Name="gnat-gpl"
|
||||
|
||||
DESCRIPTION="The Ada Semantic Interface Specification (semantic analysis and tools tied to compiler)"
|
||||
SRC_URI="mirror://gentoo/${PN}-${ACT_Ver}-src.tgz"
|
||||
HOMEPAGE="https://libre.adacore.com/"
|
||||
LICENSE="GPL-2"
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE="doc"
|
||||
RDEPEND="=dev-lang/gnat-gpl-${PV}*"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( virtual/latex-base
|
||||
app-text/texi2html )"
|
||||
|
||||
S="${WORKDIR}/asis-${ACT_Ver}-src"
|
||||
|
||||
# it may be even better to force plain -O2 -pipe -ftracer here
|
||||
replace-flags -O3 -O2
|
||||
|
||||
# we need to adjust some vars defined in gnatbuild.eclass so that they use
|
||||
# gnat-gpl instead of asis
|
||||
LIBPATH=${LIBPATH/${PN}/${Gnat_Name}}
|
||||
BINPATH=${BINPATH/${PN}/${Gnat_Name}}
|
||||
DATAPATH=${DATAPATH/${PN}/${Gnat_Name}}
|
||||
|
||||
QA_EXECSTACK="${BINPATH:1}/*
|
||||
${LIBPATH:1}/adalib/libasis-${ACT_Ver}.so"
|
||||
|
||||
pkg_setup() {
|
||||
currGnat=$(eselect gnat show | grep "gnat-" | awk '{ print $1 }')
|
||||
if [[ "${currGnat}" != "${CTARGET}-${Gnat_Name}-${SLOT}" ]]; then
|
||||
echo
|
||||
eerror "The active gnat profile does not correspond to the selected"
|
||||
eerror "version of asis! Please install the appropriate gnat (if you"
|
||||
eerror "did not so yet) and run:"
|
||||
eerror "eselect gnat set ${CTARGET}-${Gnat_Name}-${SLOT}"
|
||||
eerror "env-update && source /etc/profile"
|
||||
eerror "and then emerge =dev-ada/${P} again.."
|
||||
echo
|
||||
die
|
||||
fi
|
||||
}
|
||||
|
||||
# we need to override the eclass defined src_unpack
|
||||
# and change gcc to gnatgcc where appropriate
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
for fn in asis/a4g-gnat_int.adb gnat/snames.adb \
|
||||
tools/tool_utils/asis_ul-common.adb \
|
||||
tools/gnatmetric/metrics-compute.adb; do
|
||||
sed -i -e "s:\"gcc:\"gnatgcc:" ${fn}
|
||||
done
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Build the shared library first, we need -fPIC here
|
||||
gnatmake -Pasis_bld -XBLD=prod -XOPSYS=default_Unix -cargs ${CFLAGS} -fPIC \
|
||||
|| die "building libasis.a failed"
|
||||
gnatgcc -shared -Wl,-soname,libasis-${ACT_Ver}.so \
|
||||
-o obj/libasis-${ACT_Ver}.so obj/*.o -lc \
|
||||
|| die "building libasis.so failed"
|
||||
|
||||
# build tools
|
||||
for fn in tools/*; do
|
||||
pushd ${fn}
|
||||
gnatmake -P${fn:6}.gpr || die "building ${fn:6} failed"
|
||||
popd
|
||||
done
|
||||
|
||||
# common stuff is just docs in this case
|
||||
if use doc; then
|
||||
emake -C documentation all || die "Failed while compiling documentation"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install () {
|
||||
# install the lib
|
||||
mkdir -p "${D}${LIBPATH}"/adalib
|
||||
chmod 0755 obj/libasis-${ACT_Ver}.so
|
||||
cp obj/libasis-${ACT_Ver}.so "${D}${LIBPATH}"/adalib
|
||||
insinto ${LIBPATH}/adalib
|
||||
doins obj/*.ali lib/libasis.a
|
||||
# make appropriate symlinks
|
||||
pushd "${D}${LIBPATH}"/adalib
|
||||
ln -s libasis-${ACT_Ver}.so libasis.so
|
||||
popd
|
||||
# sources
|
||||
insinto ${LIBPATH}/adainclude
|
||||
doins gnat/*.ad[sb]
|
||||
doins asis/*.ad[sb]
|
||||
|
||||
# tools
|
||||
mkdir -p "${D}${BINPATH}"
|
||||
for fn in tools/{asistant,gnat*}; do
|
||||
cp ${fn}/${fn:6} "${D}${BINPATH}"
|
||||
done
|
||||
|
||||
# docs and examples
|
||||
dodoc documentation/*.txt
|
||||
dohtml documentation/*.html
|
||||
# info's should go into gnat-gpl dirs
|
||||
insinto ${DATAPATH}/info/
|
||||
doins documentation/*.info
|
||||
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r documentation/*.pdf tutorial/ templates/
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
echo
|
||||
elog "The ASIS is installed for the active gnat compiler at gnat's location."
|
||||
elog "No further configuration is necessary. Enjoy."
|
||||
echo
|
||||
}
|
||||
@@ -1,123 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
inherit eutils flag-o-matic gnatbuild
|
||||
|
||||
ACT_Ver=$(get_version_component_range 4)
|
||||
Gnat_Name="gnat-gpl"
|
||||
|
||||
DESCRIPTION="The Ada Semantic Interface Specification (semantic analysis and tools tied to compiler)"
|
||||
SRC_URI="mirror://gentoo/${PN}-${ACT_Ver}-src.tgz"
|
||||
HOMEPAGE="https://libre.adacore.com/"
|
||||
LICENSE="GPL-2"
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE="doc"
|
||||
RDEPEND="=dev-lang/gnat-gpl-${PV}*"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( virtual/latex-base
|
||||
app-text/texi2html )"
|
||||
|
||||
S="${WORKDIR}/asis-${ACT_Ver}-src"
|
||||
|
||||
# it may be even better to force plain -O2 -pipe -ftracer here
|
||||
replace-flags -O3 -O2
|
||||
|
||||
# we need to adjust some vars defined in gnatbuild.eclass so that they use
|
||||
# gnat-gpl instead of asis
|
||||
LIBPATH=${LIBPATH/${PN}/${Gnat_Name}}
|
||||
BINPATH=${BINPATH/${PN}/${Gnat_Name}}
|
||||
DATAPATH=${DATAPATH/${PN}/${Gnat_Name}}
|
||||
|
||||
QA_EXECSTACK="${BINPATH:1}/*
|
||||
${LIBPATH:1}/adalib/libasis-${ACT_Ver}.so"
|
||||
|
||||
pkg_setup() {
|
||||
currGnat=$(eselect gnat show | grep "gnat-" | awk '{ print $1 }')
|
||||
if [[ "${currGnat}" != "${CTARGET}-${Gnat_Name}-${SLOT}" ]]; then
|
||||
echo
|
||||
eerror "The active gnat profile does not correspond to the selected"
|
||||
eerror "version of asis! Please install the appropriate gnat (if you"
|
||||
eerror "did not so yet) and run:"
|
||||
eerror "eselect gnat set ${CTARGET}-${Gnat_Name}-${SLOT}"
|
||||
eerror "env-update && source /etc/profile"
|
||||
eerror "and then emerge =dev-ada/${P} again.."
|
||||
echo
|
||||
die
|
||||
fi
|
||||
}
|
||||
|
||||
# we need to override the eclass defined src_unpack
|
||||
# and change gcc to gnatgcc where appropriate
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
for fn in asis/a4g-gnat_int.adb gnat/snames.adb \
|
||||
tools/tool_utils/asis_ul-common.adb \
|
||||
tools/gnatmetric/metrics-compute.adb; do
|
||||
sed -i -e "s:\"gcc:\"gnatgcc:" ${fn}
|
||||
done
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Build the shared library first, we need -fPIC here
|
||||
gnatmake -Pasis_bld -XBLD=prod -XOPSYS=default_Unix -cargs ${CFLAGS} -fPIC \
|
||||
|| die "building libasis.a failed"
|
||||
gnatgcc -shared -Wl,-soname,libasis-${ACT_Ver}.so \
|
||||
-o obj/libasis-${ACT_Ver}.so obj/*.o -lc \
|
||||
|| die "building libasis.so failed"
|
||||
|
||||
# build tools
|
||||
for fn in tools/*; do
|
||||
pushd ${fn}
|
||||
gnatmake -P${fn:6}.gpr || die "building ${fn:6} failed"
|
||||
popd
|
||||
done
|
||||
|
||||
# common stuff is just docs in this case
|
||||
if use doc; then
|
||||
emake -C documentation all || die "Failed while compiling documentation"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install () {
|
||||
# install the lib
|
||||
mkdir -p "${D}${LIBPATH}"/adalib
|
||||
chmod 0755 obj/libasis-${ACT_Ver}.so
|
||||
cp obj/libasis-${ACT_Ver}.so "${D}${LIBPATH}"/adalib
|
||||
insinto ${LIBPATH}/adalib
|
||||
doins obj/*.ali lib/libasis.a
|
||||
# make appropriate symlinks
|
||||
pushd "${D}${LIBPATH}"/adalib
|
||||
ln -s libasis-${ACT_Ver}.so libasis.so
|
||||
popd
|
||||
# sources
|
||||
insinto ${LIBPATH}/adainclude
|
||||
doins gnat/*.ad[sb]
|
||||
doins asis/*.ad[sb]
|
||||
|
||||
# tools
|
||||
mkdir -p "${D}${BINPATH}"
|
||||
for fn in tools/{asistant,gnat*}; do
|
||||
cp ${fn}/${fn:6} "${D}${BINPATH}"
|
||||
done
|
||||
|
||||
# docs and examples
|
||||
dodoc documentation/*.txt
|
||||
dohtml documentation/*.html
|
||||
# info's should go into gnat-gpl dirs
|
||||
insinto ${DATAPATH}/info/
|
||||
doins documentation/*.info
|
||||
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r documentation/*.pdf tutorial/ templates/
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
echo
|
||||
elog "The ASIS is installed for the active gnat compiler at gnat's location."
|
||||
elog "No further configuration is necessary. Enjoy."
|
||||
echo
|
||||
}
|
||||
@@ -1,17 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>ada@gentoo.org</email>
|
||||
<name>Gentoo Resources for Ada</name>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
Ada Semantic Interface Specification is a published international ISO
|
||||
standard (ISO/IEC 15291:1999). ASIS represents a compiler independent
|
||||
toolset consisting of a set of standard Ada interfaces which allow extraction
|
||||
of information about user source programs. This information was previously
|
||||
only available inside the Ada compilers themselves or exported in
|
||||
non-standard, and thus non portable mechanisms.
|
||||
This is the ACT version.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
||||
@@ -1,16 +0,0 @@
|
||||
DIST RM-05-Html.zip 1506487 SHA256 e7ba344dc796e66c8104d059161b6b5033b91c0f732d1f35e7bcf8400df498d6 SHA512 daaf6edc9a0839146b4d3f4d4791f8de495d370e8527b92e0724a415e64f850bd57f758a3208ceaeae4c1cf9db35570be95af8d82ecf6056cc794a8704033886 WHIRLPOOL 43b25eea69b24d4e79647d0d34232d048e3bd4aff339c1d42de67a770d21badaeff5856c772731ea6ec9890aef44d3c3935126a2c8681e99eeda36150aba685b
|
||||
DIST gcc-branch-4.1.3.tar.bz2 21242772 SHA256 24d976bcc7545ae5452b38be5f4ae0ebdc7c3cf122ed602c8c58e96ac16edb77 SHA512 952eb34417c0169b81a416be973a5709c6530e71514832608309e7c015557066f1128a490ec053568521c28753e4b90dbfa9d0d31611a0fec3be65435b2fb6bb WHIRLPOOL df646a3bf7e976e98878448045d47725fa319fd3f0723746e6f0d596b88741a2bda17c1176c49b49d72f33f49d405dd0cd0b4c417e396c5ba7161c692aab1b79
|
||||
DIST gcc-core-3.4.5.tar.bz2 13397308 SHA256 8a2824b12a1cae8b68de3be0a8fd2da14918462e6afa27c3578ccfc8ab10d0fc SHA512 997289b39e5605bac84c2a5d80a4e5dc2d24d4f1c742b494e4fbee4d0f16f64ae9ce860ccdc99c9764a29ec92ad066fd4faf5789fc5d7f49173eace263fe5c01 WHIRLPOOL bf9834d2b7a48d99f7ac5a901bea636e547fbe77eb1e38d39f7ea0484025837f0c49ffd2544f6ce8c2f2639687d3daec59a2b97b430f53b78c773abba8e783f4
|
||||
DIST gcc-core-3.4.6.tar.bz2 13366790 SHA256 3aab171d86e5a6c14cb9de35467a0472a7d5ef1d5b79a1df72ca533f8e82a133 SHA512 06645865a851bfdeca399ed1266f99e072a9bb1d8c6f0d3d6d0f809080ce1e60f45d9e4b52c93cf89f2062a4db0a69f519f23ac5de918bc89bdd794ebd2b96b4 WHIRLPOOL 286236da31f0fbd874083ea31fd3e4e6a8ea942f92154ba60e844e2f51d513923febeb4f4d1bf5cb6aa2c303318b3b953a60224a8ec95d408bc3189f3d68cd9f
|
||||
DIST gnat-gpl-3.4.5.1-src.tar.bz2 5057268 SHA256 b831f83c879b22da735b1c759db1d576aaaf3547771d560f1cf8ed24e0284242 SHA512 dc9f3607ef80a8a08d9b39c2a8e8bff9e083a653c62c7f0927ac23ce582690360b8bc4998ad5cb0e32347a7e27f7d649009bdc732e267bdfd6641b0448b3bdcf WHIRLPOOL c9ee3582bb8c6c2e4fe2accf4645670ae73419e232765705cbc36450a86edfccb6d71243fb68c6bc965ca3b20a5b7b0af5aea48bff2e05283a26a61aa5186d06
|
||||
DIST gnat-gpl-3.4.6.1-src.tar.bz2 5042218 SHA256 105fcd76e880625077243139c546c120e745d702255b7450a1c22a651f852c43 SHA512 98e87c1defddcb2bbed3460b1b6ad7cd852bc258430317b89557ff990733271425bc896606c46d15e94fe3208937486209f87aa5493573ac1bed21d33f72a970 WHIRLPOOL f6a9326c00a23f05fa0bb46c0491ccb7d5f1dc36f5f63648897c77048e6c04f01e851d92ed1b879189616b1456ae7e75f5d7bb1d83d7729ae72f4105fee5fe24
|
||||
DIST gnat-gpl-4.1.3.2007.tar.bz2 840749 SHA256 e498b0ddaaeb6a93ff017bc15896e35b9ecc8edb78aca40574b7c2dd2b6d423c SHA512 54c3474a50cb57e8e92342cf4487361b240ad45b27150484dde0134474fb2c0e1f1caf5e56d69334997e7e2d3d4b7548af54c18704f58cf137c26de305bb1a9e WHIRLPOOL c843bc5a18c598c873cda9d151be789002ff2825766b5ac7f6836cf892707b2378fb432649f21fabf0fcef3deb89b9d5d96d8ab3af866d8c10a88ce3f79e36ca
|
||||
DIST gnat-gpl-4.1.3.2008.tar.bz2 22184293 SHA256 3be9cc3dd82668e155e51054c3c182a7364c8aab4e21efc1195b78625a6b0469 SHA512 c506004bcc33ecb55c101365f02f820969c271f18267be4ce1d18711ba0511eae63e3709d5459ac2f549240c30d1e62d15d9deb0abae3aa3a0dac6acbe816008 WHIRLPOOL ec7f2563005331082e7a5dbdc4de01b5ce302be5043d7132d077f659dd0adefa3fce09040e2474c763109af35f8e1b33aa1e189bd304587309b0ba5fe7a4478b
|
||||
DIST gnat-gpl-gcc-3.4.6.1.diff.bz2 118229 SHA256 d722059d1f13f79e323d10e3d9ff30ef0a6c4a9fd4ad06ba5c3a34f8e4ebb874 SHA512 10abdfcef27562d419393f09448e4fd5aef40ab1cb1426647badb51000428ab2b29b22b7ae1c73201aeeec9b733f331abd627199a250cdebb4bddfeacb005998 WHIRLPOOL 03b19a014df9f9afd4ade65b2c458f4954c44cb13dbdf158e3b0b787755edd9c95da49db965fadcc7b072c032d7be590b5fc36a18096c1baca0e726e434221bb
|
||||
DIST gnat-gpl-gcc-3.4.diff.bz2 76642 SHA256 fc90a356baf483d0aab489ce2ea8278a155f48fa84950f71360657e4bc8103d5 SHA512 7328bad3a9cd7cf820d34fa4d9d626e0fb5e3b6b1077c1fc08e270f162d3a6288dc549021325595a93d55ffe15660b3fa5b9862bde546892a07508f51c77e58b WHIRLPOOL a1b0a48b2c44d9049359d5422db4326ee095d75b859ab190ad34b1f76784ad76995d04362857a8118b75ee2c9efd0b96850fe61d319b78bcdf124a6a49e672f2
|
||||
DIST gnatboot-3.4-amd64-r2.tar.bz2 12063245 SHA256 c0c2fe91f6c38483193415690a4f90ac205e3aa9cf42ab3ab3e5d2a3ec269d8d SHA512 d88bf5ef161202fa7ef80b477a7b9a79eefeb25d29019418f3ef527a7d57aa12b8440293c6016eb71ae03567ad05cdf97a1a99f1cb110f7d3cbda51e6e78e861 WHIRLPOOL 8094b7bd85787cf9938809ab15b86cf6407b35e1bdc2b4edc9f64dfd7e4b6a7f73fde35370714e9310237e3d1a98f8a9950d75b15d93a8d557b8116e9fdae70c
|
||||
DIST gnatboot-3.4-i386.tar.bz2 10629373 SHA256 7b4300e72b7f00d2fd9d0dad6940c3e6b4e19eeaf4696e92d7c92e2a38e8b049 SHA512 41f1aab54cdb5b5fe4ef4ae965cde634f12caadb900276850120168cd4d86e6fc88f74aae02775804a29ad49edb85074742e3b70eb0a143519ff31e61f84ecf0 WHIRLPOOL 49132e14cc6a057455da9080ffa7cfaf17919449d1a32590d8219aa446a8740f3e2eda413abbcaf2b1fd8279821a853222cb5d7fb8f36686c5f593dfcfcabbc9
|
||||
DIST gnatboot-3.4-ppc.tar.bz2 10996302 SHA256 1f164834e377604a943b230196d9f2a40e8e6753bac4c980d5ca2c00c7674363 SHA512 90e33bc5ef8a31f3b732d4f86a22f2e5910255ba67f2c3615810c287241752fd81968c6b76677658b9f602894d4915e2e62edb9d90a5afb0203369052632b4fa WHIRLPOOL 03fc3466773e78f1b4e667e2e697ca7cb2f0b8215c45274d74223746f94c800b73708b9f87126f7d7856b3d6506abccaae2e8ccad8ded5ee5ffbe2b2a7dc2bbe
|
||||
DIST gnatboot-4.1-amd64.tar.bz2 15314736 SHA256 a4016920b84f5934ec7120c7bb17c1028b193d5e146a46a9d1ceae4a456924d2 SHA512 ddeaa365ef3d127cc0bce0d7d242804dfc3a2d5612d89f08fc0ffaf63501a326168935facf359a963dda1484b76bdad01e42629c03d123f3693324038d8e5f75 WHIRLPOOL e845041091b2dddf3b4adf6628b5fd132e47758a75332715f0f99c9363d7840e66fbde92cc717a450a49cf8b736bd47bdb6e0c2e9528130c01ef8827c4348bc5
|
||||
DIST gnatboot-4.1-i386.tar.bz2 15367514 SHA256 597b4a16f38fb173b1eecc259c1566ccf81291e13b88e2160102a512cefcc518 SHA512 7cebae227a7b5d6856811834b461e4bec43cbd2a3dc4f37ebc6443162eb059b31ef7c6abc44bed86bd0abac601538a1a671a106b72a27047594c00fcffa10f4b WHIRLPOOL dcf870a01fedd246cb5d3463187f2b3ef8daec2600cc7b32505d4db4d6aa61a047484ec5a436e490686f4049a66ae24af3a8229a01bc613f21e995e6f5cd113a
|
||||
DIST gnatboot-4.1-ppc.tar.bz2 13651598 SHA256 2c9ed035b964a7dfcc427cb5c16dc30d3b99276fb424d25b0ebfde23a68013eb SHA512 d57e3bd9350dde62972ca270f9a0f7a7ce8fad961a2c1aad016d99259baeb3f2aea8b83cb4729d2f87e1614c19c636537bd43e771a19e90d28b191ce68de6dfa WHIRLPOOL bab53a81bb1d969c919da3b447c67dc377860ba10a86a86bfecdd3a262156f0f877a8b659a688e3198910053534076fd0898b4f8090803b40ba18b18a7b1f6f6
|
||||
@@ -1,41 +0,0 @@
|
||||
The LANG vars aren't reset early enough so when sed tries to use [a-zA-Z] in
|
||||
option parsing, it may break.
|
||||
|
||||
http://bugs.gentoo.org/103483
|
||||
|
||||
--- configure
|
||||
+++ configure
|
||||
@@ -54,6 +54,16 @@
|
||||
infodir='${prefix}/info'
|
||||
mandir='${prefix}/man'
|
||||
|
||||
+# NLS nuisances.
|
||||
+# Only set these to C if already set. These must not be set unconditionally
|
||||
+# because not all systems understand e.g. LANG=C (notably SCO).
|
||||
+# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
|
||||
+# Non-C LC_CTYPE values break the ctype check.
|
||||
+if test "${LANG+set}" = set; then LANG=C; export LANG; fi
|
||||
+if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
|
||||
+if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
|
||||
+if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
|
||||
+
|
||||
# Initialize some other variables.
|
||||
subdirs=
|
||||
MFLAGS= MAKEFLAGS=
|
||||
@@ -452,16 +463,6 @@
|
||||
esac
|
||||
done
|
||||
|
||||
-# NLS nuisances.
|
||||
-# Only set these to C if already set. These must not be set unconditionally
|
||||
-# because not all systems understand e.g. LANG=C (notably SCO).
|
||||
-# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
|
||||
-# Non-C LC_CTYPE values break the ctype check.
|
||||
-if test "${LANG+set}" = set; then LANG=C; export LANG; fi
|
||||
-if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
|
||||
-if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
|
||||
-if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
|
||||
-
|
||||
# confdefs.h avoids OS command line length limits that DEFS can exceed.
|
||||
rm -rf conftest* confdefs.h
|
||||
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
|
||||
@@ -1,14 +0,0 @@
|
||||
--- Make-lang.in-orig 2005-12-14 19:11:41.538266250 +0100
|
||||
+++ Make-lang.in 2005-12-14 19:12:50.358567250 +0100
|
||||
@@ -341,9 +341,9 @@
|
||||
gnatlib-shared: force
|
||||
$(MAKE) -C ada $(FLAGS_TO_PASS) \
|
||||
GNATLIBFLAGS="$(GNATLIBFLAGS)" \
|
||||
- GNATLIBCFLAGS="$(GNATLIBCFLAGS)" \
|
||||
+ GNATLIBCFLAGS="$(GNATLIBCFLAGS) -fPIC" \
|
||||
GNATLIBLDFLAGS="$(GNATLIBLDFLAGS)" \
|
||||
- TARGET_LIBGCC2_CFLAGS="$(TARGET_LIBGCC2_CFLAGS)" \
|
||||
+ TARGET_LIBGCC2_CFLAGS="$(TARGET_LIBGCC2_CFLAGS) -fPIC" \
|
||||
THREAD_KIND="$(THREAD_KIND)" \
|
||||
TRACE="$(TRACE)" \
|
||||
gnatlib-shared
|
||||
@@ -1,10 +0,0 @@
|
||||
--- gcc-4.1.0-orig/libiberty/Makefile.in 2006-03-01 15:49:14.000000000 -0500
|
||||
+++ gcc-4.1.0/libiberty/Makefile.in 2006-03-01 18:10:46.000000000 -0500
|
||||
@@ -232,6 +232,7 @@
|
||||
$(AR) $(AR_FLAGS) $(TARGETLIB) \
|
||||
$(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS); \
|
||||
$(RANLIB) $(TARGETLIB); \
|
||||
+ cp $(TARGETLIB) ../ ; \
|
||||
cd ..; \
|
||||
else true; fi
|
||||
|
||||
@@ -1,25 +0,0 @@
|
||||
https://sourceforge.net/mailarchive/forum.php?thread_id=8959304&forum_id=5348
|
||||
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24836
|
||||
|
||||
--- gcc/configure.ac (revision 106699)
|
||||
+++ gcc/configure.ac (working copy)
|
||||
@@ -2446,7 +2446,7 @@
|
||||
tls_first_minor=14
|
||||
tls_as_opt="-m64 -Aesame --fatal-warnings"
|
||||
;;
|
||||
- sh-*-* | sh[34]-*-*)
|
||||
+ sh-*-* | sh[34]*-*-*)
|
||||
conftest_s='
|
||||
.section ".tdata","awT",@progbits
|
||||
foo: .long 25
|
||||
--- gcc/configure
|
||||
+++ gcc/configure
|
||||
@@ -14846,7 +14846,7 @@
|
||||
tls_first_minor=14
|
||||
tls_as_opt="-m64 -Aesame --fatal-warnings"
|
||||
;;
|
||||
- sh-*-* | sh[34]-*-*)
|
||||
+ sh-*-* | sh[34]*-*-*)
|
||||
conftest_s='
|
||||
.section ".tdata","awT",@progbits
|
||||
foo: .long 25
|
||||
@@ -1,79 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
inherit gnatbuild
|
||||
|
||||
DESCRIPTION="GNAT Ada Compiler - AdaCore GPL version"
|
||||
HOMEPAGE="https://libre2.adacore.com/"
|
||||
LICENSE="GPL-2"
|
||||
|
||||
SRC_URI="ftp://gcc.gnu.org/pub/gcc/releases/gcc-${GCCVER}/gcc-core-${GCCVER}.tar.bz2
|
||||
http://www.adaic.org/standards/05rm/RM-05-Html.zip
|
||||
mirror://gentoo/${PN}-3.4.5.1-src.tar.bz2
|
||||
mirror://gentoo/${PN}-gcc-${SLOT}.diff.bz2
|
||||
x86? ( mirror://gentoo/gnatboot-${BOOT_SLOT}-i386.tar.bz2 )
|
||||
amd64? ( mirror://gentoo/gnatboot-${BOOT_SLOT}-amd64-r2.tar.bz2 )"
|
||||
# ${BOOT_SLOT} and ${GCCVER} are defined in gnatbuild.eclass and depend
|
||||
# only on $PV, so should be safe to use in DEPEND/SRC_URI
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
DEPEND="app-arch/unzip"
|
||||
RDEPEND=""
|
||||
|
||||
IUSE=""
|
||||
|
||||
GNATSOURCE="${WORKDIR}/${P}-src"
|
||||
|
||||
src_unpack() {
|
||||
gnatbuild_src_unpack base_unpack
|
||||
|
||||
# prep gcc sources for Ada
|
||||
mv "${GNATSOURCE}/src/ada" "${S}/gcc"
|
||||
cd "${S}"
|
||||
epatch "${WORKDIR}"/${PN}-gcc-${SLOT}.diff
|
||||
|
||||
gnatbuild_src_unpack common_prep
|
||||
|
||||
# one of the converted gcc->gnatgcc in common_prep needs to stay gcc in
|
||||
# fact in this version
|
||||
sed -i -e 's:(Last3 = "gnatgcc"):(Last3 = "gcc"):' "${S}/gcc/ada/makegpr.adb"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
gnatbuild_src_install install
|
||||
|
||||
# there is something strange with provided Makefiles, causing an
|
||||
# access violation on gprmake. Have to do funny things..
|
||||
make DESTDIR="${D}" bindir="${D}${BINPATH}" install || die
|
||||
mv "${D}${D}${PREFIX}/${CTARGET}" "${D}${PREFIX}"
|
||||
rm -rf "${D}var"
|
||||
|
||||
gnatbuild_src_install move_libs cleanup prep_env
|
||||
|
||||
# docs have to be fetched from 3rd place, quite messy package
|
||||
dodir /usr/share/doc/${PF}/html
|
||||
dohtml "${WORKDIR}"/*.html
|
||||
|
||||
# misc notes and examples
|
||||
cd ${GNATSOURCE}
|
||||
dodoc README features-503 features-ada0y known-problems-503a
|
||||
cp -pPR examples/ "${D}/usr/share/doc/${PF}/"
|
||||
|
||||
# this version of gnat does not provide info files yet
|
||||
rm -f "${D}"${DATAPATH}/info/gnat.info
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnatbuild_pkg_postinst
|
||||
|
||||
elog
|
||||
elog "This is an experimental issue of the gnat-gpl compiler, supporting"
|
||||
elog "some of the new features of Ada2005. You may consider registering with"
|
||||
elog "AdaCore at https://libre2.adacore.com/."
|
||||
elog
|
||||
ewarn "Please note!!!"
|
||||
ewarn "gnat-gpl is distributed under the GPL-2 license, without the GMGPL provision!!"
|
||||
ewarn "For the GMGPL version you may look at the gnat-gcc compiler."
|
||||
ewarn
|
||||
}
|
||||
@@ -1,86 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
inherit gnatbuild
|
||||
|
||||
DESCRIPTION="GNAT Ada Compiler - AdaCore GPL version"
|
||||
HOMEPAGE="https://libre2.adacore.com/"
|
||||
LICENSE="GPL-2"
|
||||
|
||||
SRC_URI="ftp://gcc.gnu.org/pub/gcc/releases/gcc-${GCCVER}/gcc-core-${GCCVER}.tar.bz2
|
||||
http://www.adaic.org/standards/05rm/RM-05-Html.zip
|
||||
mirror://gentoo/${PN}-3.4.6.1-src.tar.bz2
|
||||
mirror://gentoo/${PN}-gcc-3.4.6.1.diff.bz2
|
||||
x86? ( mirror://gentoo/gnatboot-${BOOT_SLOT}-i386.tar.bz2 )
|
||||
ppc? ( mirror://gentoo/gnatboot-${BOOT_SLOT}-ppc.tar.bz2 )
|
||||
amd64? ( mirror://gentoo/gnatboot-${BOOT_SLOT}-amd64-r2.tar.bz2 )"
|
||||
# ${BOOT_SLOT} and ${GCCVER} are defined in gnatbuild.eclass and depend
|
||||
# only on $PV, so should be safe to use in DEPEND/SRC_URI
|
||||
|
||||
QA_EXECSTACK="${BINPATH:1}/gnatls ${BINPATH:1}/gnatbind ${BINPATH:1}/gnatmake
|
||||
${LIBEXECPATH:1}/gnat1
|
||||
${LIBPATH:1}/adalib/libgnat-2006.so"
|
||||
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
DEPEND="app-arch/unzip"
|
||||
RDEPEND=""
|
||||
|
||||
IUSE=""
|
||||
|
||||
GNATSOURCE="${WORKDIR}/${PN}-2006-src"
|
||||
|
||||
src_unpack() {
|
||||
gnatbuild_src_unpack base_unpack
|
||||
|
||||
# prep gcc sources for Ada
|
||||
mv "${GNATSOURCE}/src/ada" "${S}/gcc"
|
||||
cd "${S}"
|
||||
epatch "${WORKDIR}"/${PN}-gcc-3.4.6.1.diff
|
||||
|
||||
gnatbuild_src_unpack common_prep
|
||||
|
||||
# one of the converted gcc->gnatgcc in common_prep needs to stay gcc in
|
||||
# fact in this version
|
||||
sed -i -e 's:(Last3 = "gnatgcc"):(Last3 = "gcc"):' "${S}"/gcc/ada/makegpr.adb
|
||||
# reverting similar conversion in comment - line too long
|
||||
sed -i -e 's:"gnatgcc":"gcc":' "${S}"/gcc/ada/osint.ads
|
||||
}
|
||||
|
||||
src_install() {
|
||||
gnatbuild_src_install
|
||||
|
||||
# # there is something strange with provided Makefiles, causing an
|
||||
# # access violation on gprmake. Have to do funny things..
|
||||
# make DESTDIR=${D} bindir="${D}${BINPATH}" install || die
|
||||
# cp -dPr "${D}${D}${PREFIX}"/* "${D}${PREFIX}/"
|
||||
# rm -rf "${D}var"
|
||||
#
|
||||
# gnatbuild_src_install move_libs cleanup prep_env
|
||||
|
||||
# docs have to be fetched from 3rd place, quite messy package
|
||||
dodir /usr/share/doc/${PF}/html
|
||||
dohtml "${WORKDIR}"/*.html
|
||||
|
||||
# misc notes and examples
|
||||
cd ${GNATSOURCE}
|
||||
dodoc features* known-problems-504a
|
||||
cp -pPR examples/ "${D}/usr/share/doc/${PF}/"
|
||||
|
||||
# this version of gnat does not provide info files yet
|
||||
rm -f "${D}"${DATAPATH}/info/gnat.info
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnatbuild_pkg_postinst
|
||||
|
||||
elog
|
||||
elog "This is an experimental issue of the gnat-gpl compiler, supporting"
|
||||
elog "some of the new features of Ada2005. You may consider registering with"
|
||||
elog "AdaCore at https://libre2.adacore.com/."
|
||||
elog
|
||||
ewarn "Please note!!!"
|
||||
ewarn "gnat-gpl is distributed under the GPL-2 license, without the GMGPL provision!!"
|
||||
ewarn "For the GMGPL version you may look at the gnat-gcc compiler."
|
||||
ewarn
|
||||
}
|
||||
@@ -1,67 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
inherit gnatbuild
|
||||
|
||||
DESCRIPTION="GNAT Ada Compiler - AdaCore GPL version"
|
||||
HOMEPAGE="https://libre.adacore.com/"
|
||||
LICENSE="GPL-2"
|
||||
|
||||
SRC_URI="https://dev.gentoo.org/~george/src/gcc-branch-${GCCVER}.tar.bz2
|
||||
http://www.adaic.org/standards/05rm/RM-05-Html.zip
|
||||
https://dev.gentoo.org/~george/src/${P}.tar.bz2
|
||||
x86? ( https://dev.gentoo.org/~george/src/gnatboot-${BOOT_SLOT}-i386.tar.bz2 )
|
||||
ppc? ( https://dev.gentoo.org/~george/src/gnatboot-${BOOT_SLOT}-ppc.tar.bz2 )
|
||||
amd64? ( https://dev.gentoo.org/~george/src/gnatboot-${BOOT_SLOT}-amd64.tar.bz2 )"
|
||||
# ${BOOT_SLOT} and ${GCCVER} are defined in gnatbuild.eclass and depend
|
||||
# only on $PV, so should be safe to use in DEPEND/SRC_URI
|
||||
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
DEPEND="app-arch/unzip"
|
||||
RDEPEND="virtual/blas
|
||||
virtual/lapack"
|
||||
|
||||
IUSE=""
|
||||
|
||||
QA_EXECSTACK="${BINPATH:1}/gnatls ${BINPATH:1}/gnatbind
|
||||
${BINPATH:1}/gnatmake ${LIBEXECPATH:1}/gnat1
|
||||
${LIBPATH:1}/adalib/libgnat-2007.so
|
||||
${LIBPATH:1}/libffi.so.4.0.1 ${LIBPATH:1}/32/libffi.so.4.0.1 "
|
||||
|
||||
GNATSOURCE="${WORKDIR}/${PN}-2007-src"
|
||||
|
||||
src_unpack() {
|
||||
gnatbuild_src_unpack base_unpack common_prep
|
||||
|
||||
# one of the converted gcc->gnatgcc in common_prep needs to stay gcc in
|
||||
# fact in this version
|
||||
sed -i -e 's:(Last3 = "gnatgcc"):(Last3 = "gcc"):' "${S}"/gcc/ada/makegpr.adb
|
||||
# reverting similar conversion in comment - line too long
|
||||
sed -i -e 's:"gnatgcc":"gcc":' "${S}"/gcc/ada/osint.ads
|
||||
}
|
||||
|
||||
src_install() {
|
||||
gnatbuild_src_install
|
||||
|
||||
# docs have to be fetched from 3rd place, quite messy package
|
||||
dodir /usr/share/doc/${PF}/html
|
||||
dohtml "${WORKDIR}"/*.html
|
||||
|
||||
# misc notes and examples
|
||||
cd ${GNATSOURCE}
|
||||
dodoc features* known-problems-601
|
||||
cp -pPR examples/ Contributors.html "${D}/usr/share/doc/${PF}/"
|
||||
|
||||
# this version of gnat does not provide info files yet
|
||||
rm -rf "${D}${DATAPATH}/info/"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnatbuild_pkg_postinst
|
||||
|
||||
ewarn "Please note!!!"
|
||||
ewarn "gnat-gpl is distributed under the GPL-2 license, without the GMGPL provision!!"
|
||||
ewarn "For the GMGPL version you may look at the gnat-gcc compiler."
|
||||
ewarn
|
||||
}
|
||||
@@ -1,75 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
inherit autotools gnatbuild
|
||||
|
||||
DESCRIPTION="GNAT Ada Compiler - AdaCore GPL version"
|
||||
HOMEPAGE="https://libre.adacore.com/"
|
||||
LICENSE="GPL-2"
|
||||
|
||||
SRC_URI="https://dev.gentoo.org/~george/src/${P}.tar.bz2
|
||||
http://www.adaic.org/standards/05rm/RM-05-Html.zip
|
||||
x86? ( https://dev.gentoo.org/~george/src/gnatboot-${BOOT_SLOT}-i386.tar.bz2 )
|
||||
ppc? ( https://dev.gentoo.org/~george/src/gnatboot-${BOOT_SLOT}-ppc.tar.bz2 )
|
||||
amd64? ( https://dev.gentoo.org/~george/src/gnatboot-${BOOT_SLOT}-amd64.tar.bz2 )"
|
||||
# ${BOOT_SLOT} and ${GCCVER} are defined in gnatbuild.eclass and depend
|
||||
# only on $PV, so should be safe to use in DEPEND/SRC_URI
|
||||
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
DEPEND="app-arch/unzip"
|
||||
RDEPEND="virtual/blas
|
||||
virtual/lapack"
|
||||
|
||||
IUSE=""
|
||||
|
||||
QA_EXECSTACK="${BINPATH:1}/gnatls ${BINPATH:1}/gnatbind
|
||||
${BINPATH:1}/gnatmake ${LIBEXECPATH:1}/gnat1
|
||||
${LIBPATH:1}/adalib/libgnat-2007.so
|
||||
${LIBPATH:1}/libffi.so.4.0.1 ${LIBPATH:1}/32/libffi.so.4.0.1 "
|
||||
|
||||
GNATSOURCE="${S}/${PN}-2008-src"
|
||||
|
||||
src_unpack() {
|
||||
gnatbuild_src_unpack base_unpack
|
||||
pushd "${S}"/gnattools &> /dev/null
|
||||
eautoconf
|
||||
popd &> /dev/null
|
||||
gnatbuild_src_unpack common_prep
|
||||
|
||||
# one of the converted gcc->gnatgcc in common_prep needs to stay gcc in
|
||||
# fact in this version
|
||||
sed -i -e 's:(Last3 = "gnatgcc"):(Last3 = "gcc"):' "${S}"/gcc/ada/makegpr.adb
|
||||
# reverting similar conversion in comment - line too long
|
||||
sed -i -e 's:"gnatgcc":"gcc":' "${S}"/gcc/ada/osint.ads
|
||||
|
||||
# fixing some stupid misspelling issue
|
||||
sed -i -e "s:the get some usefull:to get some useful:" \
|
||||
"${GNATSOURCE}"/examples/options/README.testing
|
||||
}
|
||||
|
||||
src_install() {
|
||||
gnatbuild_src_install
|
||||
|
||||
# docs have to be fetched from 3rd place, quite messy package
|
||||
dodir /usr/share/doc/${PF}/html
|
||||
dohtml "${WORKDIR}"/*.html
|
||||
|
||||
# misc notes and examples
|
||||
cd ${GNATSOURCE}
|
||||
dodoc features* known-problems-601
|
||||
cp -pPR examples/ Contributors.html "${D}/usr/share/doc/${PF}/"
|
||||
|
||||
# this version of gnat does not provide info files yet
|
||||
rm -rf "${D}${DATAPATH}/info/"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnatbuild_pkg_postinst
|
||||
|
||||
einfo
|
||||
ewarn "Please note!!!"
|
||||
ewarn "gnat-gpl is distributed under the GPL-2 license, without the GMGPL provision!!"
|
||||
ewarn "For the GMGPL version you may look at the gnat-gcc compiler."
|
||||
einfo
|
||||
}
|
||||
@@ -1,15 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>ada@gentoo.org</email>
|
||||
<name>Gentoo Resources for Ada</name>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
GNAT, the (GN)U (A)da (T)oolchain, is a high performance Ada 95
|
||||
development environment based on the mature GCC compiler technology. It
|
||||
implements the full Ada 95 language defined by the ISO standard and is upward
|
||||
compatible with Ada 83. This is a newest development released by AdaCore under
|
||||
GPL. This is the first version implementing the Ada2005 standard.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
||||
@@ -1 +0,0 @@
|
||||
DIST io-2011.09.12.tar.gz 9213332 SHA256 cdcf10745de2cd0aaa0c08f4ab31ac3aacfe942a8e1c2d52d5b50258862b5209 SHA512 15c994e5ca1c80b90523573000e402d60367f40692d01b9fcbaf0a00fba2a35939ea086cff25bae3533f1b89edc2cdae82f2c600a6d0c3e7792e5e57d92e4b72 WHIRLPOOL fe0d8d66e54104af5dd6e4ec0d44173cbd4e810b10f554f94037fb73d55887904002d236ff5f0da1307553650dd7204f8bff2eb3a74adf47bd2be3e02aa8752e
|
||||
@@ -1,160 +0,0 @@
|
||||
diff -Nurwp io-2011.09.12-orig/addons/CMakeLists.txt io-2011.09.12-chag/addons/CMakeLists.txt
|
||||
--- io-2011.09.12-orig/addons/CMakeLists.txt 2011-09-12 18:14:12.000000000 -0400
|
||||
+++ io-2011.09.12-chag/addons/CMakeLists.txt 2012-04-29 08:16:56.000000000 -0400
|
||||
@@ -52,71 +52,135 @@ add_subdirectory(BigNum)
|
||||
add_subdirectory(Bitly)
|
||||
add_subdirectory(Blowfish)
|
||||
add_subdirectory(Box)
|
||||
+if(ENABLE_CFFI)
|
||||
add_subdirectory(CFFI)
|
||||
+endif(ENABLE_CFFI)
|
||||
+if(ENABLE_CGI)
|
||||
add_subdirectory(CGI)
|
||||
+endif(ENABLE_CGI)
|
||||
#add_subdirectory(Cairo) # XXX: Broken on OSX: ld: library not found for -lpng12
|
||||
+if(ENABLE_CLUTTER)
|
||||
add_subdirectory(Clutter)
|
||||
+endif(ENABLE_CLUTTER)
|
||||
add_subdirectory(ContinuedFraction)
|
||||
+if(ENABLE_CURSES)
|
||||
add_subdirectory(Curses)
|
||||
+endif(ENABLE_CURSES)
|
||||
+if(ENABLE_DBI)
|
||||
add_subdirectory(DBI)
|
||||
+endif(ENABLE_DBI)
|
||||
add_subdirectory(DistributedObjects)
|
||||
+if(ENABLE_EDITLINE)
|
||||
add_subdirectory(EditLine)
|
||||
+endif(ENABLE_EDITLINE)
|
||||
add_subdirectory(Facebook)
|
||||
+if(ENABLE_FLUX)
|
||||
add_subdirectory(Flux)
|
||||
+endif(ENABLE_FLUX)
|
||||
add_subdirectory(Fnmatch)
|
||||
+if(ENABLE_FONT)
|
||||
add_subdirectory(Font)
|
||||
+endif(ENABLE_FONT)
|
||||
add_subdirectory(GLFW) # XXX: Can't meet dependencies
|
||||
+if(ENABLE_GOOGLESEARCH)
|
||||
add_subdirectory(GoogleSearch)
|
||||
+endif(ENABLE_GOOGLESEARCH)
|
||||
+if(ENABLE_HTTPCLIENT)
|
||||
add_subdirectory(HttpClient)
|
||||
+endif(ENABLE_HTTPCLIENT)
|
||||
+if(ENABLE_IMAGE)
|
||||
add_subdirectory(Image)
|
||||
+endif(ENABLE_IMAGE)
|
||||
+if(ENABLE_LZO)
|
||||
add_subdirectory(LZO)
|
||||
+endif(ENABLE_LZO)
|
||||
+if(ENABLE_LIBSNDFILE)
|
||||
add_subdirectory(LibSndFile)
|
||||
+endif(ENABLE_LIBSNDFILE)
|
||||
+if(ENABLE_LIBXML2)
|
||||
add_subdirectory(Libxml2)
|
||||
+endif(ENABLE_LIBXML2)
|
||||
add_subdirectory(Loki)
|
||||
+if(ENABLE_LOUDMOUTH)
|
||||
add_subdirectory(Loudmouth)
|
||||
+endif(ENABLE_LOUDMOUTH)
|
||||
+if(ENABLE_MD5SUM)
|
||||
add_subdirectory(MD5)
|
||||
+endif(ENABLE_MD5SUM)
|
||||
add_subdirectory(Memcached)
|
||||
+if(ENABLE_MYSQL)
|
||||
add_subdirectory(MySQL)
|
||||
+endif(ENABLE_MYSQL)
|
||||
#add_subdirectory(NetworkAdapter)
|
||||
add_subdirectory(NotificationCenter)
|
||||
#add_subdirectory(Oauth) # OAuth should no longer break CMake configuration on Windows now.
|
||||
#add_subdirectory(ODE) # XXX: Can't meet dependencies
|
||||
add_subdirectory(ObjcBridge) # XXX: Broken for me -- Objective-C 2.0 not supported
|
||||
add_subdirectory(Obsidian)
|
||||
+if(ENABLE_OGG)
|
||||
add_subdirectory(Ogg)
|
||||
+endif(ENABLE_OGG)
|
||||
+if(ENABLE_OPENGL)
|
||||
add_subdirectory(OpenGL)
|
||||
+endif(ENABLE_OPENGL)
|
||||
#add_subdirectory(PortAudio) # XXX: Dependency broken for me
|
||||
+if(ENABLE_POSTGRESQL)
|
||||
add_subdirectory(PostgreSQL)
|
||||
+endif(ENABLE_POSTGRESQL)
|
||||
#add_subdirectory(Postgres)
|
||||
+if(ENABLE_PYTHON)
|
||||
add_subdirectory(Python)
|
||||
+endif(ENABLE_PYTHON)
|
||||
add_subdirectory(QDBM)
|
||||
add_subdirectory(Random)
|
||||
add_subdirectory(Range)
|
||||
add_subdirectory(Rational)
|
||||
+if(ENABLE_READLINE)
|
||||
add_subdirectory(ReadLine)
|
||||
+endif(ENABLE_READLINE)
|
||||
+if(ENABLE_REGEX)
|
||||
add_subdirectory(Regex)
|
||||
+endif(ENABLE_REGEX)
|
||||
add_subdirectory(SGML)
|
||||
+if(ENABLE_SHA1)
|
||||
add_subdirectory(SHA1)
|
||||
+endif(ENABLE_SHA1)
|
||||
#add_subdirectory(SQLite) # XXX: Want to delete in favour of SQLite3
|
||||
+if(ENABLE_SQLITE3)
|
||||
add_subdirectory(SQLite3)
|
||||
+endif(ENABLE_SQLITE3)
|
||||
#add_subdirectory(SampleRateConverter)
|
||||
add_subdirectory(SecureSocket)
|
||||
#add_subdirectory(SkipDB) # XXX: Disabled...why?
|
||||
+if(ENABLE_SOCKET)
|
||||
add_subdirectory(Socket)
|
||||
+endif(ENABLE_SOCKET)
|
||||
#add_subdirectory(SoundTouch) # XXX: I can't meet dependencies
|
||||
add_subdirectory(SqlDatabase)
|
||||
+if(ENABLE_SYSLOG)
|
||||
add_subdirectory(Syslog)
|
||||
+endif(ENABLE_SYSLOG)
|
||||
add_subdirectory(SystemCall)
|
||||
#add_subdirectory(TagDB) # XXX: I can't meet dependencies
|
||||
#add_subdirectory(TagLib)
|
||||
+if(ENABLE_THEORA)
|
||||
add_subdirectory(Theora)
|
||||
+endif(ENABLE_THEORA)
|
||||
+if(ENABLE_THREAD)
|
||||
add_subdirectory(Thread)
|
||||
+endif(ENABLE_THREAD)
|
||||
add_subdirectory(TokyoCabinet)
|
||||
+if(ENABLE_TWITTER)
|
||||
add_subdirectory(Twitter)
|
||||
+endif(ENABLE_TWITTER)
|
||||
add_subdirectory(UUID)
|
||||
add_subdirectory(User)
|
||||
add_subdirectory(VertexDB)
|
||||
add_subdirectory(Volcano)
|
||||
+if(ENABLE_VORBIS)
|
||||
add_subdirectory(Vorbis)
|
||||
+endif(ENABLE_VORBIS)
|
||||
add_subdirectory(Yajl)
|
||||
+if(ENABLE_ZLIB)
|
||||
add_subdirectory(Zlib)
|
||||
+endif(ENABLE_ZLIB)
|
||||
diff -Nurwp io-2011.09.12-orig/libs/basekit/CMakeLists.txt io-2011.09.12-chag/libs/basekit/CMakeLists.txt
|
||||
--- io-2011.09.12-orig/libs/basekit/CMakeLists.txt 2011-09-12 18:14:12.000000000 -0400
|
||||
+++ io-2011.09.12-chag/libs/basekit/CMakeLists.txt 2012-04-21 22:06:47.000000000 -0400
|
||||
@@ -24,3 +24,6 @@ add_library(basekit SHARED ${SRCS})
|
||||
# The following add the install target, so we put libbasekit.* in our
|
||||
# install prefix.
|
||||
install(TARGETS basekit DESTINATION lib)
|
||||
+
|
||||
+# Link basekit library against libdl (required by as-needed linking).
|
||||
+target_link_libraries(basekit dl)
|
||||
diff -Nurwp io-2011.09.12-orig/libs/coroutine/source/asm.S io-2011.09.12-chag/libs/coroutine/source/asm.S
|
||||
--- io-2011.09.12-orig/libs/coroutine/source/asm.S 2011-09-12 18:14:12.000000000 -0400
|
||||
+++ io-2011.09.12-chag/libs/coroutine/source/asm.S 2012-04-21 23:20:26.000000000 -0400
|
||||
@@ -258,3 +258,7 @@ SET:
|
||||
ldr r0, [r0]
|
||||
mov pc, lr
|
||||
#endif
|
||||
+
|
||||
+#if defined(__linux__) && defined(__ELF__)
|
||||
+.section .note.GNU-stack,"",%progbits
|
||||
+#endif
|
||||
@@ -1,101 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="Io is a small, prototype-based programming language"
|
||||
HOMEPAGE="http://www.iolanguage.com"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.gz
|
||||
https://dev.gentoo.org/~araujo/snapshots/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
IUSE="cgi clutter dbi doc editline google gui http image libffi libxml2
|
||||
lzo md5sum ncurses ogg opengl postgres pcre python readline sha1 sndfile sockets
|
||||
sqlite syslog theora threads truetype twitter vorbis xmpp zlib"
|
||||
DEPEND="clutter? ( media-libs/clutter )
|
||||
dbi? ( dev-db/libdbi )
|
||||
editline? ( dev-libs/libedit )
|
||||
image? ( virtual/jpeg
|
||||
media-libs/tiff
|
||||
media-libs/libpng )
|
||||
xmpp? ( net-libs/loudmouth )
|
||||
libffi? ( virtual/libffi )
|
||||
libxml2? ( dev-libs/libxml2 )
|
||||
lzo? ( dev-libs/lzo )
|
||||
ncurses? ( sys-libs/ncurses )
|
||||
ogg? ( media-libs/libogg )
|
||||
opengl? ( virtual/opengl )
|
||||
pcre? ( dev-libs/libpcre )
|
||||
postgres? ( dev-db/postgresql[server] )
|
||||
readline? ( sys-libs/readline )
|
||||
sndfile? ( media-libs/libsndfile )
|
||||
sqlite? ( >=dev-db/sqlite-3.0.0 )
|
||||
theora? ( media-libs/libtheora )
|
||||
truetype? ( media-libs/freetype )
|
||||
vorbis? ( media-libs/libvorbis )
|
||||
zlib? ( sys-libs/zlib )"
|
||||
RDEPEND=""
|
||||
REQUIRED_USE="vorbis? ( ogg )"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${P}-gentoo-fixes.patch"
|
||||
# Fix multilib strict check (bug #430496)
|
||||
sed -i 's/DESTINATION lib/DESTINATION lib${LIB_SUFFIX}/' \
|
||||
addons/*/CMakeLists.txt \
|
||||
libs/*/CMakeLists.txt
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
$(cmake-utils_use_enable cgi CGI)
|
||||
$(cmake-utils_use_enable clutter CLUTTER)
|
||||
$(cmake-utils_use_enable dbi DBI)
|
||||
$(cmake-utils_use_enable editline EDITLINE)
|
||||
$(cmake-utils_use_enable libffi CFFI)
|
||||
$(cmake-utils_use_enable gui FLUX)
|
||||
$(cmake-utils_use_enable google GOOGLESEARCH)
|
||||
$(cmake-utils_use_enable http HTTPCLIENT)
|
||||
$(cmake-utils_use_enable xmpp LOUDMOUTH)
|
||||
$(cmake-utils_use_enable image IMAGE)
|
||||
$(cmake-utils_use_enable libxml2 LIBXML2)
|
||||
$(cmake-utils_use_enable lzo LZO)
|
||||
$(cmake-utils_use_enable md5sum MD5SUM)
|
||||
$(cmake-utils_use_enable ncurses CURSES)
|
||||
$(cmake-utils_use_enable ogg OGG)
|
||||
$(cmake-utils_use_enable opengl OPENGL)
|
||||
$(cmake-utils_use_enable postgres POSTGRESQL)
|
||||
$(cmake-utils_use_enable python PYTHON)
|
||||
$(cmake-utils_use_enable readline READLINE)
|
||||
$(cmake-utils_use_enable pcre REGEX)
|
||||
$(cmake-utils_use_enable sndfile LIBSNDFILE)
|
||||
$(cmake-utils_use_enable sha1 SHA1)
|
||||
$(cmake-utils_use_enable sockets SOCKET)
|
||||
$(cmake-utils_use_enable sqlite SQLITE3)
|
||||
$(cmake-utils_use_enable syslog SYSLOG)
|
||||
$(cmake-utils_use_enable theora THEORA)
|
||||
$(cmake-utils_use_enable threads THREADS)
|
||||
$(cmake-utils_use_enable truetype FONT)
|
||||
$(cmake-utils_use_enable twitter TWITTER )
|
||||
$(cmake-utils_use_enable vorbis VORBIS)
|
||||
$(cmake-utils_use_enable zlib ZLIB)
|
||||
-DCMAKE_SKIP_RPATH=ON
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Fix bug #414421
|
||||
cmake-utils_src_compile -j1
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
if use doc; then
|
||||
dodoc docs/docs.css docs/*.html
|
||||
fi
|
||||
}
|
||||
@@ -1,106 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="Io is a small, prototype-based programming language"
|
||||
HOMEPAGE="http://www.iolanguage.com"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.gz
|
||||
https://dev.gentoo.org/~araujo/snapshots/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
IUSE="cgi clutter dbi doc editline google gui http image libffi libxml2
|
||||
lzo md5sum ncurses ogg opengl postgres pcre python readline sha1 sndfile sockets
|
||||
sqlite syslog theora threads truetype twitter vorbis xmpp zlib"
|
||||
DEPEND="clutter? ( media-libs/clutter )
|
||||
dbi? ( dev-db/libdbi )
|
||||
editline? ( dev-libs/libedit )
|
||||
image? ( virtual/jpeg
|
||||
media-libs/tiff
|
||||
media-libs/libpng )
|
||||
xmpp? ( net-libs/loudmouth )
|
||||
libffi? ( virtual/libffi )
|
||||
libxml2? ( dev-libs/libxml2 )
|
||||
lzo? ( dev-libs/lzo )
|
||||
ncurses? ( sys-libs/ncurses )
|
||||
ogg? ( media-libs/libogg )
|
||||
opengl? ( virtual/opengl )
|
||||
pcre? ( dev-libs/libpcre )
|
||||
postgres? ( dev-db/postgresql[server] )
|
||||
readline? ( sys-libs/readline )
|
||||
sndfile? ( media-libs/libsndfile )
|
||||
sqlite? ( >=dev-db/sqlite-3.0.0 )
|
||||
theora? ( media-libs/libtheora )
|
||||
truetype? ( media-libs/freetype )
|
||||
vorbis? ( media-libs/libvorbis )
|
||||
zlib? ( sys-libs/zlib )"
|
||||
RDEPEND=""
|
||||
REQUIRED_USE="vorbis? ( ogg )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-gentoo-fixes.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Fix multilib strict check (bug #430496)
|
||||
sed -i 's/DESTINATION lib/DESTINATION lib${LIB_SUFFIX}/' \
|
||||
addons/*/CMakeLists.txt \
|
||||
libs/*/CMakeLists.txt
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DENABLE_CGI=$(usex cgi)
|
||||
-DENABLE_CLUTTER=$(usex clutter)
|
||||
-DENABLE_DBI=$(usex dbi)
|
||||
-DENABLE_EDITLINE=$(usex editline)
|
||||
-DENABLE_CFFI=$(usex libffi)
|
||||
-DENABLE_FLUX=$(usex gui)
|
||||
-DENABLE_GOOGLESEARCH=$(usex google)
|
||||
-DENABLE_HTTPCLIENT=$(usex http)
|
||||
-DENABLE_LOUDMOUTH=$(usex xmpp)
|
||||
-DENABLE_IMAGE=$(usex image)
|
||||
-DENABLE_LIBXML2=$(usex libxml2)
|
||||
-DENABLE_LZO=$(usex lzo)
|
||||
-DENABLE_MD5SUM=$(usex md5sum)
|
||||
-DENABLE_CURSES=$(usex ncurses)
|
||||
-DENABLE_OGG=$(usex ogg)
|
||||
-DENABLE_OPENGL=$(usex opengl)
|
||||
-DENABLE_POSTGRESQL=$(usex postgres)
|
||||
-DENABLE_PYTHON=$(usex python)
|
||||
-DENABLE_READLINE=$(usex readline)
|
||||
-DENABLE_REGEX=$(usex pcre)
|
||||
-DENABLE_LIBSNDFILE=$(usex sndfile)
|
||||
-DENABLE_SHA1=$(usex sha1)
|
||||
-DENABLE_SOCKET=$(usex sockets)
|
||||
-DENABLE_SQLITE3=$(usex sqlite)
|
||||
-DENABLE_SYSLOG=$(usex syslog)
|
||||
-DENABLE_THEORA=$(usex theora)
|
||||
-DENABLE_THREADS=$(usex threads)
|
||||
-DENABLE_FONT=$(usex truetype)
|
||||
-DENABLE_TWITTER=$(usex twitter)
|
||||
-DENABLE_VORBIS=$(usex vorbis)
|
||||
-DENABLE_ZLIB=$(usex zlib)
|
||||
-DCMAKE_SKIP_RPATH=ON
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Fix bug #414421
|
||||
cmake-utils_src_compile -j1
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
if use doc; then
|
||||
dodoc docs/docs.css docs/*.html
|
||||
fi
|
||||
}
|
||||
@@ -1,24 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
<use>
|
||||
<flag name="clutter">Build add-on for <pkg>media-libs/clutter</pkg></flag>
|
||||
<flag name="editline">Build add-on for <pkg>dev-libs/libedit</pkg></flag>
|
||||
<flag name="gui">Build the Flux GUI add-on</flag>
|
||||
<flag name="google">Build the google search add-on</flag>
|
||||
<flag name="http">Build http client add-on</flag>
|
||||
<flag name="image">Build add-on for images support (jpeg, png, tiff)</flag>
|
||||
<flag name="libxml2">Build add-on for <pkg>dev-libs/libxml2</pkg></flag>
|
||||
<flag name="md5sum">Build md5sum add-on</flag>
|
||||
<flag name="sha1">Build sha1 add-on</flag>
|
||||
<flag name="twitter">Build twitter add-on</flag>
|
||||
</use>
|
||||
<longdescription lang="en">
|
||||
Io is a small, prototype-based programming language. The ideas in Io are mostly
|
||||
inspired by Smalltalk (all values are objects), Self (prototype-based),
|
||||
NewtonScript (differential inheritance), Act1 (actors and futures for
|
||||
concurrency), LISP (code is a runtime inspectable/modifiable tree) and Lua
|
||||
(small, embeddable).
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
||||
@@ -1 +0,0 @@
|
||||
DIST libmal-0.44.1.tar.gz 459226 SHA256 9f6ab41215c53c010e91c5a47949c1bcd793be4b869d986e1192305c998a0170 SHA512 1d34066c0a7c4204afe3520a03c0aabb027049ec74b66133a5b2e649cf56b4446c1595d08b068cb2d28ec42e062cf2f65964f30b315c7139a0299675f0e5c343 WHIRLPOOL 068deb1d74d21c226227a450a7e0e08ba8d1219a4bbe01c7e313f62a2037f85dbad782fe6279e99ea59960d42aaaccd69238fb94b00ce565e65869216e9a5919
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user