parent
c57b71e888
commit
15f4bc4b4f
@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/equo/equo-1.0_rc124.ebuild,v 1.1 2012/07/11 18:30:41 lxnay Exp $
|
||||
|
||||
EAPI=3
|
||||
PYTHON_DEPEND="2"
|
||||
inherit eutils python bash-completion-r1
|
||||
|
||||
DESCRIPTION="Entropy Package Manager text-based client"
|
||||
HOMEPAGE="http://www.sabayon.org"
|
||||
LICENSE="GPL-2"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE=""
|
||||
SRC_URI="mirror://sabayon/sys-apps/entropy-${PV}.tar.bz2"
|
||||
|
||||
S="${WORKDIR}/entropy-${PV}"
|
||||
|
||||
DEPEND="~sys-apps/entropy-${PV}"
|
||||
RDEPEND="${DEPEND} sys-apps/file[python]"
|
||||
|
||||
src_compile() {
|
||||
emake || die "make failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" LIBDIR="usr/lib" equo-install || die "make install failed"
|
||||
newbashcomp "${S}/misc/equo-completion.bash" equo
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
python_mod_optimize "/usr/lib/entropy/client"
|
||||
echo
|
||||
elog "If you would like to allow users in the 'entropy' group"
|
||||
elog "to update available package repositories, please consider"
|
||||
elog "to install sys-apps/rigo-daemon"
|
||||
echo
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
python_mod_cleanup "/usr/lib/entropy/client"
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST entropy-1.0_rc124.tar.bz2 1518029 SHA256 f81ca4f09de21e77064a3d382cb55bc3e78dc5b5991a16657e276b0e52f641bf SHA512 f61e3582aaa8e7c9e1efabeb4cf17a673cbdb72a8035bd12225e37e85c586ea6de8adf83a4ef8d727147a435e5c93f527b9b43d64b10ab95fdceb7cb07ec3cd6 WHIRLPOOL b8358a5b3e70778a190d0890b7c17f17052cf3e197401afee60214b8b7e458389dc6ba03ddae5db92f2513f66c047519d3cf4d27e230904f72d4890cc3a6421f
|
@ -1,5 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>qt</herd>
|
||||
<maintainer>
|
||||
<email>lxnay@gentoo.org</email>
|
||||
<name>Fabio Erculiani</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1,48 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/rigo/rigo-1.0_rc124.ebuild,v 1.1 2012/07/11 18:40:33 lxnay Exp $
|
||||
|
||||
EAPI="3"
|
||||
PYTHON_DEPEND="2"
|
||||
inherit eutils gnome2-utils fdo-mime python
|
||||
|
||||
DESCRIPTION="Rigo, the Sabayon Application Browser"
|
||||
HOMEPAGE="http://www.sabayon.org"
|
||||
LICENSE="GPL-3"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE=""
|
||||
|
||||
SRC_URI="mirror://sabayon/sys-apps/entropy-${PV}.tar.bz2"
|
||||
S="${WORKDIR}/entropy-${PV}/rigo"
|
||||
|
||||
RDEPEND="
|
||||
|| ( dev-python/pygobject-cairo:3 dev-python/pygobject:3[cairo] )
|
||||
~sys-apps/entropy-${PV}
|
||||
~sys-apps/rigo-daemon-${PV}
|
||||
sys-devel/gettext
|
||||
x11-libs/gtk+:3
|
||||
x11-libs/vte:2.90
|
||||
>=x11-misc/xdg-utils-1.1.0_rc1_p20120319"
|
||||
DEPEND=""
|
||||
|
||||
src_compile() {
|
||||
emake || die "make failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "make install failed"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_mime_database_update
|
||||
fdo-mime_desktop_database_update
|
||||
python_mod_optimize "/usr/lib/rigo/${PN}"
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
fdo-mime_mime_database_update
|
||||
fdo-mime_desktop_database_update
|
||||
python_mod_cleanup "/usr/lib/rigo/${PN}"
|
||||
}
|
@ -1,4 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>maintainer-needed@gentoo.org</email>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
|
@ -1,2 +1,3 @@
|
||||
DIST jedit4.3.2source.tar.bz2 2062221 SHA256 9ca0a5fe3d5fc01320ea5dfbc01a6a2b9f3e757076580e22e0426928296bbd77 SHA512 471fa64ec0e60a39b3e63af8d790e088960d4b81d5eb07cb7f0bbf7a2db31c3d4956024d1f7491eafcc08215e04a13fb92c20b13f5ee9025e7acc2301fabf192 WHIRLPOOL 3a6526b8a56a463b014bb2850c23d8e24dcc1819a73feb75c15d01260224d98902b83ff265149ed040f53591f26ac92bc14c9b0ca4c2b2c7dc2922f4916dcd1f
|
||||
DIST jedit4.4.2source.tar.bz2 2017706 SHA256 5e9ad9c32871b77ef0b9fe46dcfcea57ec52558d36113b7280194a33430b8ceb SHA512 76bfa29d3f33fc20e8699e038f364867b037c7227be3cb02f566fdd5b282d737c7a83623fb771578309c6c44545d1aea9441530b6020b1741a3221da63e8e7ad WHIRLPOOL 53d95c5c28a068a3a1ff17edf15ef961ffa545b264c420f49c7b9bb1427a71f87cebab1a702515d7c6d26c14fc645b0b6c282205817cc56a9c9edb8746194c81
|
||||
DIST jedit4.5.2source.tar.bz2 2065612 SHA256 a582301142fdbd6d81446c2720a13a5d705ec8ecebb87537a0ff49d8718242e1 SHA512 1c817f8e0442b90dd9aa71365e450a799be8d82786b10ba8fabfc603d65a4717b485042cd73758934c914508f291c915ed373cc46a6e49386025544e29682654 WHIRLPOOL 780d722789d63a60c8d5ddc6e52a8f02133b4779cce7f9a8881457839644909f8a7995215841ee9220a8364ffdba321cd9125ef773b9ee292439495f9d3782f4
|
||||
|
@ -0,0 +1,102 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/jedit/jedit-4.5.2.ebuild,v 1.1 2012/07/11 21:59:59 caster Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
WANT_ANT_TASKS="ant-nodeps ant-apache-bsf ant-contrib"
|
||||
JAVA_PKG_IUSE="doc"
|
||||
|
||||
inherit java-pkg-2 java-ant-2 eutils fdo-mime
|
||||
|
||||
DESCRIPTION="Programmer's editor written in Java"
|
||||
HOMEPAGE="http://www.jedit.org"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${PN}${PV}source.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
>=virtual/jre-1.5"
|
||||
# Fails to build docs with jdk7 #411371
|
||||
DEPEND="
|
||||
>=virtual/jdk-1.5
|
||||
doc? (
|
||||
virtual/jdk:1.6
|
||||
=app-text/docbook-xml-dtd-4.3*
|
||||
>=app-text/docbook-xsl-stylesheets-1.65.1
|
||||
dev-libs/libxslt
|
||||
)
|
||||
dev-java/bsh"
|
||||
|
||||
S="${WORKDIR}/jEdit"
|
||||
|
||||
JEDIT_HOME="/usr/share/${PN}"
|
||||
|
||||
java_prepare() {
|
||||
if use doc; then
|
||||
local xsl=$(echo /usr/share/sgml/docbook/xsl-stylesheets-*)
|
||||
xsl=${xsl// *}
|
||||
|
||||
local xml=$(echo /usr/share/sgml/docbook/xml-dtd-4.3*)
|
||||
xml=${xml// *}
|
||||
|
||||
echo "build.directory=." > build.properties
|
||||
echo "docbook.dtd.catalog=${xml}/docbook.cat" >> build.properties
|
||||
echo "docbook.xsl=${xsl}" >> build.properties
|
||||
fi
|
||||
|
||||
# still need to do: bsh, com.microstar.xml.*, org.gjt.*
|
||||
java-pkg_filter-compiler jikes
|
||||
|
||||
mkdir -p lib/{ant-contrib,default-plugins,scripting}
|
||||
}
|
||||
|
||||
EANT_ANT_TASKS="${WANT_ANT_TASKS} bsh"
|
||||
JAVA_ANT_REWRITE_CLASSPATH="true"
|
||||
EANT_EXTRA_ARGS="-Divy.jar.present=true -Divy.done=true"
|
||||
EANT_BUILD_TARGET="build"
|
||||
# TODO could build more docs, ie userdocs target instead of generate-javadoc
|
||||
EANT_DOC_TARGET="generate-javadoc"
|
||||
# in fact needed only for docs, but shouldn't hurt
|
||||
EANT_NEEDS_TOOLS="true"
|
||||
|
||||
src_install () {
|
||||
dodir ${JEDIT_HOME}
|
||||
cp -R build/${PN}.jar jars doc macros modes properties startup \
|
||||
"${D}${JEDIT_HOME}" || die
|
||||
|
||||
java-pkg_regjar ${JEDIT_HOME}/${PN}.jar
|
||||
|
||||
java-pkg_dolauncher ${PN} --main org.gjt.sp.jedit.jEdit
|
||||
|
||||
use doc && java-pkg_dojavadoc build/classes/javadoc/api
|
||||
|
||||
make_desktop_entry ${PN} \
|
||||
jEdit \
|
||||
${JEDIT_HOME}/doc/${PN}.png \
|
||||
"Development;Utility;TextEditor"
|
||||
|
||||
# keep the plugin directory
|
||||
keepdir ${JEDIT_HOME}/jars
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_desktop_database_update
|
||||
elog "The system directory for jEdit plugins is"
|
||||
elog "${JEDIT_HOME}/jars"
|
||||
elog "If you get plugin related errors on startup, first try updating them."
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
fdo-mime_desktop_database_update
|
||||
elog "jEdit plugins installed into /usr/share/jedit/jars"
|
||||
elog "(after installation of jEdit itself) haven't been"
|
||||
elog "removed. To get rid of jEdit completely, you may"
|
||||
elog "want to run"
|
||||
elog ""
|
||||
elog "\trm -r ${JEDIT_HOME}"
|
||||
elog "Ignore this message if you are reinstalling or upgrading."
|
||||
}
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/magneto-loader/magneto-loader-1.0_rc124.ebuild,v 1.1 2012/07/11 18:43:23 lxnay Exp $
|
||||
|
||||
EAPI="2"
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="Official Sabayon Linux Entropy Notification Applet Loader"
|
||||
HOMEPAGE="http://www.sabayon.org"
|
||||
LICENSE="GPL-2"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE=""
|
||||
|
||||
SRC_URI="mirror://sabayon/sys-apps/entropy-${PV}.tar.bz2"
|
||||
S="${WORKDIR}/entropy-${PV}/magneto"
|
||||
|
||||
DEPEND="~sys-apps/magneto-core-${PV}"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_compile() {
|
||||
einfo "nothing to compile"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" LIBDIR="usr/lib" magneto-loader-install || die "make install failed"
|
||||
}
|
@ -0,0 +1,200 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-shells/bash/bash-4.2_p36.ebuild,v 1.1 2012/07/11 13:18:32 vapier Exp $
|
||||
|
||||
EAPI="1"
|
||||
|
||||
inherit eutils flag-o-matic toolchain-funcs multilib
|
||||
|
||||
# Official patchlevel
|
||||
# See ftp://ftp.cwru.edu/pub/bash/bash-4.2-patches/
|
||||
PLEVEL=${PV##*_p}
|
||||
MY_PV=${PV/_p*}
|
||||
MY_PV=${MY_PV/_/-}
|
||||
MY_P=${PN}-${MY_PV}
|
||||
[[ ${PV} != *_p* ]] && PLEVEL=0
|
||||
patches() {
|
||||
local opt=$1 plevel=${2:-${PLEVEL}} pn=${3:-${PN}} pv=${4:-${MY_PV}}
|
||||
[[ ${plevel} -eq 0 ]] && return 1
|
||||
eval set -- {1..${plevel}}
|
||||
set -- $(printf "${pn}${pv/\.}-%03d " "$@")
|
||||
if [[ ${opt} == -s ]] ; then
|
||||
echo "${@/#/${DISTDIR}/}"
|
||||
else
|
||||
local u
|
||||
for u in ftp://ftp.cwru.edu/pub/bash mirror://gnu/${pn} ; do
|
||||
printf "${u}/${pn}-${pv}-patches/%s " "$@"
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
DESCRIPTION="The standard GNU Bourne again shell"
|
||||
HOMEPAGE="http://tiswww.case.edu/php/chet/bash/bashtop.html"
|
||||
SRC_URI="mirror://gnu/bash/${MY_P}.tar.gz $(patches)"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="afs bashlogger examples mem-scramble +net nls plugins +readline vanilla"
|
||||
|
||||
DEPEND=">=sys-libs/ncurses-5.2-r2
|
||||
readline? ( >=sys-libs/readline-6.2 )
|
||||
nls? ( virtual/libintl )"
|
||||
RDEPEND="${DEPEND}
|
||||
!<sys-apps/portage-2.1.6.7_p1
|
||||
!<sys-apps/paludis-0.26.0_alpha5"
|
||||
# we only need yacc when the .y files get patched (bash42-005)
|
||||
DEPEND+=" virtual/yacc"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
pkg_setup() {
|
||||
if is-flag -malign-double ; then #7332
|
||||
eerror "Detected bad CFLAGS '-malign-double'. Do not use this"
|
||||
eerror "as it breaks LFS (struct stat64) on x86."
|
||||
die "remove -malign-double from your CFLAGS mr ricer"
|
||||
fi
|
||||
if use bashlogger ; then
|
||||
ewarn "The logging patch should ONLY be used in restricted (i.e. honeypot) envs."
|
||||
ewarn "This will log ALL output you enter into the shell, you have been warned."
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${MY_P}.tar.gz
|
||||
cd "${S}"
|
||||
|
||||
# Include official patches
|
||||
[[ ${PLEVEL} -gt 0 ]] && epatch $(patches -s)
|
||||
|
||||
# Clean out local libs so we know we use system ones
|
||||
rm -rf lib/{readline,termcap}/*
|
||||
touch lib/{readline,termcap}/Makefile.in # for config.status
|
||||
sed -ri -e 's:\$[(](RL|HIST)_LIBSRC[)]/[[:alpha:]]*.h::g' Makefile.in || die
|
||||
|
||||
# Avoid regenerating docs after patches #407985
|
||||
sed -i -r '/^(HS|RL)USER/s:=.*:=:' doc/Makefile.in || die
|
||||
touch -r . doc/*
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-4.2-execute-job-control.patch #383237
|
||||
epatch "${FILESDIR}"/${PN}-4.2-parallel-build.patch
|
||||
epatch "${FILESDIR}"/${PN}-4.2-no-readline.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local myconf=
|
||||
|
||||
# For descriptions of these, see config-top.h
|
||||
# bashrc/#26952 bash_logout/#90488 ssh/#24762
|
||||
append-cppflags \
|
||||
-DDEFAULT_PATH_VALUE=\'\"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\"\' \
|
||||
-DSTANDARD_UTILS_PATH=\'\"/bin:/usr/bin:/sbin:/usr/sbin\"\' \
|
||||
-DSYS_BASHRC=\'\"/etc/bash/bashrc\"\' \
|
||||
-DSYS_BASH_LOGOUT=\'\"/etc/bash/bash_logout\"\' \
|
||||
-DNON_INTERACTIVE_LOGIN_SHELLS \
|
||||
-DSSH_SOURCE_BASHRC \
|
||||
$(use bashlogger && echo -DSYSLOG_HISTORY)
|
||||
|
||||
# Don't even think about building this statically without
|
||||
# reading Bug 7714 first. If you still build it statically,
|
||||
# don't come crying to us with bugs ;).
|
||||
#use static && export LDFLAGS="${LDFLAGS} -static"
|
||||
use nls || myconf="${myconf} --disable-nls"
|
||||
|
||||
# Historically, we always used the builtin readline, but since
|
||||
# our handling of SONAME upgrades has gotten much more stable
|
||||
# in the PM (and the readline ebuild itself preserves the old
|
||||
# libs during upgrades), linking against the system copy should
|
||||
# be safe.
|
||||
# Exact cached version here doesn't really matter as long as it
|
||||
# is at least what's in the DEPEND up above.
|
||||
export ac_cv_rl_version=6.2
|
||||
|
||||
# Force linking with system curses ... the bundled termcap lib
|
||||
# sucks bad compared to ncurses. For the most part, ncurses
|
||||
# is here because readline needs it. But bash itself calls
|
||||
# ncurses in one or two small places :(.
|
||||
|
||||
use plugins && append-ldflags -Wl,-rpath,/usr/$(get_libdir)/bash
|
||||
econf \
|
||||
--with-installed-readline=. \
|
||||
--with-curses \
|
||||
$(use_with afs) \
|
||||
$(use_enable net net-redirections) \
|
||||
--disable-profiling \
|
||||
$(use_enable mem-scramble) \
|
||||
$(use_with mem-scramble bash-malloc) \
|
||||
$(use_enable readline) \
|
||||
$(use_enable readline history) \
|
||||
$(use_enable readline bang-history) \
|
||||
${myconf}
|
||||
emake || die
|
||||
|
||||
if use plugins ; then
|
||||
emake -C examples/loadables all others || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${D}" || die
|
||||
|
||||
dodir /bin
|
||||
mv "${D}"/usr/bin/bash "${D}"/bin/ || die
|
||||
dosym bash /bin/rbash
|
||||
|
||||
insinto /etc/bash
|
||||
doins "${FILESDIR}"/{bashrc,bash_logout}
|
||||
insinto /etc/skel
|
||||
for f in bash{_logout,_profile,rc} ; do
|
||||
newins "${FILESDIR}"/dot-${f} .${f}
|
||||
done
|
||||
|
||||
sed -i -e "s:#${USERLAND}#@::" "${D}"/etc/skel/.bashrc "${D}"/etc/bash/bashrc
|
||||
sed -i -e '/#@/d' "${D}"/etc/skel/.bashrc "${D}"/etc/bash/bashrc
|
||||
|
||||
if use plugins ; then
|
||||
exeinto /usr/$(get_libdir)/bash
|
||||
doexe $(echo examples/loadables/*.o | sed 's:\.o::g') || die
|
||||
fi
|
||||
|
||||
if use examples ; then
|
||||
for d in examples/{functions,misc,scripts,scripts.noah,scripts.v2} ; do
|
||||
exeinto /usr/share/doc/${PF}/${d}
|
||||
insinto /usr/share/doc/${PF}/${d}
|
||||
for f in ${d}/* ; do
|
||||
if [[ ${f##*/} != PERMISSION ]] && [[ ${f##*/} != *README ]] ; then
|
||||
doexe ${f}
|
||||
else
|
||||
doins ${f}
|
||||
fi
|
||||
done
|
||||
done
|
||||
fi
|
||||
|
||||
doman doc/*.1
|
||||
dodoc README NEWS AUTHORS CHANGES COMPAT Y2K doc/FAQ doc/INTRO
|
||||
dosym bash.info /usr/share/info/bashref.info
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if [[ -e ${ROOT}/etc/bashrc ]] && [[ ! -d ${ROOT}/etc/bash ]] ; then
|
||||
mkdir -p "${ROOT}"/etc/bash
|
||||
mv -f "${ROOT}"/etc/bashrc "${ROOT}"/etc/bash/
|
||||
fi
|
||||
|
||||
if [[ -L ${ROOT}/bin/sh ]]; then
|
||||
# rewrite the symlink to ensure that its mtime changes. having /bin/sh
|
||||
# missing even temporarily causes a fatal error with paludis.
|
||||
local target=$(readlink "${ROOT}"/bin/sh)
|
||||
local tmp=$(emktemp "${ROOT}"/bin)
|
||||
ln -sf "${target}" "${tmp}"
|
||||
mv -f "${tmp}" "${ROOT}"/bin/sh
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# If /bin/sh does not exist, provide it
|
||||
if [[ ! -e ${ROOT}/bin/sh ]]; then
|
||||
ln -sf bash "${ROOT}"/bin/sh
|
||||
fi
|
||||
}
|
@ -0,0 +1,54 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-shells/esh/esh-0.8.5-r2.ebuild,v 1.1 2012/07/11 18:54:56 ulm Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit flag-o-matic toolchain-funcs
|
||||
|
||||
DESCRIPTION="A UNIX Shell with a simplified Scheme syntax"
|
||||
HOMEPAGE="http://slon.ttk.ru/esh/"
|
||||
SRC_URI="http://slon.ttk.ru/esh/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="debug"
|
||||
|
||||
DEPEND=">=sys-libs/ncurses-5.1
|
||||
>=sys-libs/readline-4.1"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${PN}"
|
||||
|
||||
src_prepare() {
|
||||
sed -i \
|
||||
-e 's|-g ||' \
|
||||
-e 's|-DMEM_DEBUG ||' \
|
||||
-e 's|^CFLAGS|&+|g' \
|
||||
-e 's|^LIB=|LIB= -lncurses |' \
|
||||
-e 's|$(CC) |&$(CFLAGS) $(LDFLAGS) |g' \
|
||||
-e 's:-ltermcap::' \
|
||||
Makefile || die "sed Makefile"
|
||||
}
|
||||
src_compile() {
|
||||
# For some reason, this tarball has binary files in it for x86.
|
||||
# Make clean so we can rebuild for our arch and optimization.
|
||||
emake clean
|
||||
|
||||
use debug && append-flags -DMEM_DEBUG
|
||||
|
||||
emake \
|
||||
CC="$(tc-getCC)" \
|
||||
LDFLAGS="${LDFLAGS}" \
|
||||
|| die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin esh || die
|
||||
doinfo doc/esh.info
|
||||
dodoc CHANGELOG CREDITS GC_README HEADER READLINE-HACKS TODO
|
||||
dohtml doc/*.html
|
||||
docinto examples
|
||||
dodoc examples/*
|
||||
}
|
@ -1,34 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/barcode/barcode-0.98.ebuild,v 1.20 2012/06/02 08:03:24 zmedico Exp $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
inherit eutils multilib toolchain-funcs
|
||||
|
||||
DESCRIPTION="barcode generator"
|
||||
HOMEPAGE="http://www.gnu.org/software/barcode/"
|
||||
SRC_URI="mirror://gnu/barcode/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
IUSE=""
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PV}-info.patch
|
||||
sed -i \
|
||||
-e 's:/info:/share/info:' \
|
||||
-e 's:/man/:/share/man/:' \
|
||||
Makefile.in || die "sed failed"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
tc-export CC
|
||||
econf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install prefix="${ED}/usr" LIBDIR="\$(prefix)/$(get_libdir)" || die
|
||||
dodoc ChangeLog README TODO doc/barcode.{pdf,ps}
|
||||
}
|
@ -0,0 +1,51 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-eclipse-ecj/ant-eclipse-ecj-4.2.ebuild,v 1.1 2012/07/11 21:04:13 caster Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit java-pkg-2
|
||||
|
||||
DMF="R-${PV}-201206081400"
|
||||
S="${WORKDIR}"
|
||||
|
||||
DESCRIPTION="Ant Compiler Adapter for Eclipse Java Compiler"
|
||||
HOMEPAGE="http://www.eclipse.org/"
|
||||
SRC_URI="http://download.eclipse.org/eclipse/downloads/drops4/${DMF/.0}/ecjsrc-${PV}.jar"
|
||||
|
||||
LICENSE="EPL-1.0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
|
||||
SLOT="4.2"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=virtual/jre-1.4
|
||||
~dev-java/eclipse-ecj-${PV}
|
||||
>=dev-java/ant-core-1.7"
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/unzip
|
||||
>=virtual/jdk-1.4"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
mkdir -p src/org/eclipse/jdt/{core,internal}
|
||||
cp org/eclipse/jdt/core/JDTCompilerAdapter.java \
|
||||
src/org/eclipse/jdt/core || die
|
||||
cp -r org/eclipse/jdt/internal/antadapter \
|
||||
src/org/eclipse/jdt/internal || die
|
||||
rm -fr about* org
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd src
|
||||
java-pkg_filter-compiler jikes
|
||||
ejavac -classpath "$(java-pkg_getjars ant-core,eclipse-ecj-${SLOT})" \
|
||||
$(find org/ -name '*.java') || die "ejavac failed!"
|
||||
find org/ -name '*.class' -o -name '*.properties' | \
|
||||
xargs jar cf "${S}/${PN}.jar" || die "jar failed!"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar ${PN}.jar
|
||||
insinto /usr/share/java-config-2/compiler
|
||||
doins "${FILESDIR}/ecj-${SLOT}"
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
JAVAC="/usr/bin/ecj-4.2"
|
||||
PACKAGE="=dev-java/ant-eclipse-ecj-4.2*"
|
||||
SUPPORTED_TARGET="1.1 1.2 1.3 1.4 1.5 1.6 1.7"
|
||||
SUPPORTED_SOURCE="1.3 1.4 1.5 1.6 1.7"
|
||||
ANT_BUILD_COMPILER="org.eclipse.jdt.core.JDTCompilerAdapter"
|
||||
ANT_BUILD_COMPILER_DEPS="eclipse-ecj-4.2,ant-eclipse-ecj-4.2"
|
||||
GENERATION="2"
|
@ -1,2 +1,2 @@
|
||||
DIST commons-fileupload-1.2-src.tar.gz 121294 SHA256 9018336f668ceb319d46ffd2ab1a8debfe174fccc0e0553e53d00a3aa75de999 SHA512 46a95871bc591eca859d7f3158b446a92aaa5cafe6c754ae064786126e0757035bd9387ff27ac9814ab08ab131cfa69bee27345afb377377ac56db3d5de87c6a WHIRLPOOL 2c6a30b90b964c21d6d9ddd566c963aa038f3a86e4d6d73caa18ea3cb130ce832485363592f1a8b8fbb48b638102dff649eb8b997f9ed370ec991e384e16d3c8
|
||||
DIST commons-fileupload-1.2.1-src.tar.gz 149613 SHA256 08905cb3a0db4f7fa67f3b579b2c481060334d50d7f913c6974c7513243152f5 SHA512 54f75d55ce73a431391ef2071232b18fb1223a566b918b09945878aa1e4cadbd1acb862b3e5d19b74ae3888719cfd785dbb1be494ca4bf03a99a75a22d52a2b7 WHIRLPOOL a4a77f934579d4cdb29f29d4ac5b4a63cccb102de2e2aac2f7aa6fa8f587ea36e19cbbed4bba2546e3426883118b3e41cce81180fcadc78bbfee9b41de4c6855
|
||||
DIST commons-fileupload-1.2.2-src.tar.gz 123220 SHA256 2f994b054b6514edd8d1bfe239db1dae5b7e581554d7c027c09d1b3afd832738 SHA512 e17e357079a2d985f2b6a6949619b7aa3686ff00817e092ccfa605000e3e2006e9a5c52df8b38bf8799c5711e7ad45386a8dc8c4f139ffc338a68ba540ac1637 WHIRLPOOL d6d1777d2540c0af83ba485aa9391acf7991cf10f7ae1dcc052c5b191498e2d9d1511b6d3ff9f13d4b970c5a21b259d7eaa2fa306d6a1bfc0a46c4b8b9421486
|
||||
|
@ -1,51 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-fileupload/commons-fileupload-1.2-r1.ebuild,v 1.7 2011/12/19 12:44:30 sera Exp $
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
inherit eutils java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="A Java library for adding robust, high-performance, file upload capability to your servlets and web applications."
|
||||
HOMEPAGE="http://commons.apache.org/fileupload/"
|
||||
SRC_URI="mirror://apache/jakarta/commons/fileupload/source/${P}-src.tar.gz"
|
||||
COMMON_DEPEND=">=dev-java/commons-io-1.3
|
||||
=dev-java/portletapi-1*
|
||||
~java-virtuals/servlet-api-2.3"
|
||||
DEPEND=">=virtual/jdk-1.4
|
||||
test? (
|
||||
dev-java/ant-junit
|
||||
=dev-java/junit-3.8*
|
||||
)
|
||||
${COMMON_DEPEND}"
|
||||
RDEPEND=">=virtual/jre-1.4
|
||||
${COMMON_DEPEND}"
|
||||
LICENSE="Apache-2.0"
|
||||
JAVA_PKG_FILTER_COMPILER="jikes"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc ppc64 x86 ~x86-fbsd"
|
||||
IUSE="test"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
# Tweak build classpath and don't automatically run tests
|
||||
epatch "${FILESDIR}/${P}-gentoo.patch"
|
||||
local libdir="${S}/target/lib"
|
||||
mkdir -p ${libdir}/commons-io/jars -p ${libdir}/javax.servlet/jars -p ${libdir}/javax.portlet/jars
|
||||
java-pkg_jar-from --into ${libdir}/commons-io/jars commons-io-1 commons-io.jar commons-io-1.3.jar
|
||||
java-pkg_jar-from --into ${libdir}/javax.servlet/jars --virtual servlet-api-2.3 servlet.jar servlet-api-2.3.jar
|
||||
java-pkg_jar-from --into ${libdir}/javax.portlet/jars portletapi-1 portletapi.jar portlet-api-1.0.jar
|
||||
}
|
||||
|
||||
src_test() {
|
||||
mkdir -p target/lib/junit/jars
|
||||
java-pkg_jar-from --into "${S}"/target/lib/junit/jars junit junit.jar junit-3.8.1.jar
|
||||
ANT_TASKS="ant-junit" eant test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar target/${P}.jar ${PN}.jar
|
||||
use doc && java-pkg_dojavadoc dist/docs/api
|
||||
use source && java-pkg_dosrc src/java/*
|
||||
}
|
@ -1,55 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-fileupload/commons-fileupload-1.2.1.ebuild,v 1.6 2011/12/19 12:44:30 sera Exp $
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
inherit eutils java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="A Java library for adding robust, high-performance, file upload capability to your servlets and web applications."
|
||||
HOMEPAGE="http://commons.apache.org/fileupload/"
|
||||
SRC_URI="mirror://apache/commons/fileupload/source/${P}-src.tar.gz"
|
||||
COMMON_DEPEND=">=dev-java/commons-io-1.3
|
||||
=dev-java/portletapi-1*
|
||||
~java-virtuals/servlet-api-2.4"
|
||||
DEPEND=">=virtual/jdk-1.4
|
||||
test? (
|
||||
dev-java/ant-junit
|
||||
=dev-java/junit-3.8*
|
||||
)
|
||||
${COMMON_DEPEND}"
|
||||
RDEPEND=">=virtual/jre-1.4
|
||||
${COMMON_DEPEND}"
|
||||
LICENSE="Apache-2.0"
|
||||
JAVA_PKG_FILTER_COMPILER="jikes"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc ppc64 x86"
|
||||
IUSE="test"
|
||||
|
||||
S="${WORKDIR}/${P}-src"
|
||||
|
||||
EANT_EXTRA_ARGS="-Dnoget=true -Dcommons-io.jar=true"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
# Tweak build classpath and don't automatically run tests
|
||||
epatch "${FILESDIR}/${P}-gentoo.patch"
|
||||
local libdir="${S}/target/lib"
|
||||
mkdir -p ${libdir}/commons-io/jars -p ${libdir}/javax.servlet/jars -p ${libdir}/javax.portlet/jars
|
||||
java-pkg_jar-from --into ${libdir}/commons-io/jars commons-io-1 commons-io.jar commons-io-1.3.2.jar
|
||||
java-pkg_jar-from --into ${libdir}/javax.servlet/jars --virtual servlet-api-2.4 servlet-api.jar servlet-api-2.4.jar
|
||||
java-pkg_jar-from --into ${libdir}/javax.portlet/jars portletapi-1 portletapi.jar portlet-api-1.0.jar
|
||||
}
|
||||
|
||||
src_test() {
|
||||
mkdir -p target/lib/junit/jars
|
||||
java-pkg_jar-from --into "${S}"/target/lib/junit/jars junit junit.jar junit-3.8.1.jar
|
||||
ANT_TASKS="ant-junit" eant test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar target/${P}.jar ${PN}.jar
|
||||
use doc && java-pkg_dojavadoc dist/docs/api
|
||||
use source && java-pkg_dosrc src/java/*
|
||||
}
|
@ -0,0 +1,57 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-fileupload/commons-fileupload-1.2.2.ebuild,v 1.1 2012/07/11 22:31:56 caster Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
JAVA_PKG_IUSE="doc source test"
|
||||
|
||||
inherit eutils java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Add robust, high-performance, file upload capability to your servlets and web applications."
|
||||
HOMEPAGE="http://commons.apache.org/fileupload/"
|
||||
SRC_URI="mirror://apache/commons/fileupload/source/${P}-src.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
COMMON_DEP="
|
||||
dev-java/commons-io:1
|
||||
dev-java/portletapi:1
|
||||
java-virtuals/servlet-api:2.5"
|
||||
RDEPEND="${COMMON_DEP}
|
||||
>=virtual/jre-1.4"
|
||||
DEPEND="${COMMON_DEP}
|
||||
>=virtual/jdk-1.4
|
||||
test? (
|
||||
dev-java/ant-junit:0
|
||||
)"
|
||||
|
||||
S="${WORKDIR}/${P}-src"
|
||||
|
||||
JAVA_PKG_FILTER_COMPILER="jikes"
|
||||
|
||||
java_prepare() {
|
||||
# don't automatically run tests
|
||||
sed -i 's/depends="compile,test"/depends="compile"/' build.xml
|
||||
# upstream idea of using unless="noget" is somewhat flawed
|
||||
sed -i 's/depends="get-dep-commons-io.jar,get-dep-servlet-api.jar,get-dep-portlet-api.jar,get-dep-junit.jar,get-dep-maven-xdoc-plugin.jar,get-dep-maven-changelog-plugin.jar"//' build.xml
|
||||
}
|
||||
|
||||
JAVA_ANT_REWRITE_CLASSPATH="yes"
|
||||
|
||||
EANT_GENTOO_CLASSPATH="commons-io-1,portletapi-1,servlet-api-2.5"
|
||||
EANT_EXTRA_ARGS="-Dlibdir=target/lib"
|
||||
|
||||
src_test() {
|
||||
java-pkg-2_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar target/${P}-SNAPSHOT.jar
|
||||
|
||||
use doc && java-pkg_dojavadoc dist/docs/api
|
||||
use source && java-pkg_dosrc src/java/*
|
||||
}
|
@ -1,60 +0,0 @@
|
||||
--- build.xml.original 2006-09-23 00:11:00.000000000 +0200
|
||||
+++ build.xml 2006-09-23 00:24:15.000000000 +0200
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
<property name="defaulttargetdir" value="${basedir}/target">
|
||||
</property>
|
||||
- <property name="libdir" value="${user.home}/.maven/repository">
|
||||
+ <property name="libdir" value="${basedir}/target/lib">
|
||||
</property>
|
||||
<property name="classesdir" value="${basedir}/target/classes">
|
||||
</property>
|
||||
@@ -37,11 +37,11 @@
|
||||
<property name="proxy.password" value="">
|
||||
</property>
|
||||
<path id="build.classpath">
|
||||
- <pathelement location="${libdir}/commons-io/jars/commons-io-1.1.jar">
|
||||
+ <pathelement location="${libdir}/commons-io/jars/commons-io.jar">
|
||||
</pathelement>
|
||||
- <pathelement location="${libdir}/javax.servlet/jars/servlet-api-2.3.jar">
|
||||
+ <pathelement location="${libdir}/javax.servlet/jars/servlet.jar">
|
||||
</pathelement>
|
||||
- <pathelement location="${libdir}/javax.portlet/jars/portlet-api-1.0.jar">
|
||||
+ <pathelement location="${libdir}/javax.portlet/jars/portletapi.jar">
|
||||
</pathelement>
|
||||
<pathelement location="${libdir}/junit/jars/junit-3.8.1.jar">
|
||||
</pathelement>
|
||||
@@ -70,7 +70,7 @@
|
||||
</and>
|
||||
</condition>
|
||||
</target>
|
||||
- <target name="compile" description="o Compile the code" depends="get-deps">
|
||||
+ <target name="compile" description="o Compile the code" depends="">
|
||||
<mkdir dir="${classesdir}">
|
||||
</mkdir>
|
||||
<javac destdir="${classesdir}" deprecation="true" debug="true" optimize="false" excludes="**/package.html">
|
||||
@@ -90,7 +90,7 @@
|
||||
</fileset>
|
||||
</copy>
|
||||
</target>
|
||||
- <target name="jar" description="o Create the jar" depends="compile,test">
|
||||
+ <target name="jar" description="o Create the jar" depends="compile">
|
||||
<jar jarfile="${defaulttargetdir}/${final.name}.jar" excludes="**/package.html" basedir="${classesdir}">
|
||||
</jar>
|
||||
</target>
|
||||
@@ -167,7 +167,7 @@
|
||||
</fileset>
|
||||
</copy>
|
||||
</target>
|
||||
- <target name="javadoc" description="o Generate javadoc" depends="get-deps">
|
||||
+ <target name="javadoc" description="o Generate javadoc" depends="">
|
||||
<mkdir dir="${javadocdir}">
|
||||
</mkdir>
|
||||
<tstamp>
|
||||
@@ -254,4 +254,4 @@
|
||||
<unjar dest="${maven.home}" src="${user.home}/maven-install-latest.jar">
|
||||
</unjar>
|
||||
</target>
|
||||
-</project>
|
||||
\ No newline at end of file
|
||||
+</project>
|
@ -1,52 +0,0 @@
|
||||
--- build.xml.original 2007-03-16 20:05:51.000000000 +0100
|
||||
+++ build.xml 2007-03-16 20:27:58.000000000 +0100
|
||||
@@ -8,13 +8,13 @@
|
||||
<property file="${user.home}/build.properties"></property>
|
||||
<!--Build properties-->
|
||||
<property name="defaulttargetdir" value="${basedir}/target"></property>
|
||||
- <property name="libdir" value="${user.home}/.maven/repository"></property>
|
||||
+ <property name="libdir" value="target/lib"></property>
|
||||
<property name="classesdir" value="${basedir}/target/classes"></property>
|
||||
<property name="testclassesdir" value="${basedir}/target/test-classes"></property>
|
||||
<property name="testreportdir" value="${basedir}/target/test-reports"></property>
|
||||
<property name="distdir" value="${basedir}/dist"></property>
|
||||
<property name="javadocdir" value="${basedir}/dist/docs/api"></property>
|
||||
- <property name="final.name" value="commons-fileupload-1.2rc3"></property>
|
||||
+ <property name="final.name" value="commons-fileupload-1.2"></property>
|
||||
<property name="proxy.host" value=""></property>
|
||||
<property name="proxy.port" value=""></property>
|
||||
<property name="proxy.username" value=""></property>
|
||||
@@ -44,7 +44,7 @@
|
||||
</and>
|
||||
</condition>
|
||||
</target>
|
||||
- <target name="compile" description="o Compile the code" depends="get-deps">
|
||||
+ <target name="compile" description="o Compile the code" depends="">
|
||||
<mkdir dir="${classesdir}"></mkdir>
|
||||
<javac destdir="${classesdir}" deprecation="true" debug="true" optimize="false" excludes="**/package.html">
|
||||
<src>
|
||||
@@ -59,7 +59,7 @@
|
||||
</fileset>
|
||||
</copy>
|
||||
</target>
|
||||
- <target name="jar" description="o Create the jar" depends="compile,test">
|
||||
+ <target name="jar" description="o Create the jar" depends="compile">
|
||||
<jar jarfile="${defaulttargetdir}/${final.name}.jar" excludes="**/package.html" basedir="${classesdir}"></jar>
|
||||
</target>
|
||||
<target name="clean" description="o Clean up the generated directories">
|
||||
@@ -116,7 +116,7 @@
|
||||
</fileset>
|
||||
</copy>
|
||||
</target>
|
||||
- <target name="javadoc" description="o Generate javadoc" depends="get-deps">
|
||||
+ <target name="javadoc" description="o Generate javadoc" depends="">
|
||||
<mkdir dir="${javadocdir}"></mkdir>
|
||||
<tstamp>
|
||||
<format pattern="2002-yyyy" property="year"></format>
|
||||
@@ -199,4 +199,4 @@
|
||||
<get dest="${user.home}/maven-install-latest.jar" usetimestamp="true" src="${repo}/maven/maven-install-latest.jar"></get>
|
||||
<unjar dest="${maven.home}" src="${user.home}/maven-install-latest.jar"></unjar>
|
||||
</target>
|
||||
-</project>
|
||||
\ Chybí znak konce řádku na konci souboru
|
||||
+</project>
|
@ -0,0 +1,98 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/eclipse-ecj/eclipse-ecj-4.2.ebuild,v 1.1 2012/07/11 21:03:27 caster Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit java-pkg-2
|
||||
|
||||
MY_PN="ecj"
|
||||
DMF="R-${PV}-201206081400"
|
||||
|
||||
DESCRIPTION="Eclipse Compiler for Java"
|
||||
HOMEPAGE="http://www.eclipse.org/"
|
||||
SRC_URI="http://download.eclipse.org/eclipse/downloads/drops4/${DMF}/${MY_PN}src-${PV}.jar"
|
||||
|
||||
LICENSE="EPL-1.0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris"
|
||||
SLOT="4.2"
|
||||
IUSE="+ant userland_GNU"
|
||||
|
||||
COMMON_DEP="
|
||||
|| ( app-admin/eselect-java app-admin/eselect-ecj )"
|
||||
RDEPEND="${COMMON_DEP}
|
||||
>=virtual/jre-1.4"
|
||||
DEPEND="${COMMON_DEP}
|
||||
>=virtual/jdk-1.6
|
||||
app-arch/unzip
|
||||
userland_GNU? ( sys-apps/findutils )"
|
||||
PDEPEND="
|
||||
ant? ( ~dev-java/ant-eclipse-ecj-${PV} )"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
JAVA_PKG_WANT_SOURCE=1.4
|
||||
JAVA_PKG_WANT_TARGET=1.4
|
||||
|
||||
java_prepare() {
|
||||
# These have their own package.
|
||||
rm -f org/eclipse/jdt/core/JDTCompilerAdapter.java || die
|
||||
rm -fr org/eclipse/jdt/internal/antadapter || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local javac_opts javac java jar
|
||||
|
||||
javac_opts="$(java-pkg_javac-args) -encoding ISO-8859-1"
|
||||
javac="$(java-config -c)"
|
||||
java="$(java-config -J)"
|
||||
jar="$(java-config -j)"
|
||||
|
||||
find org/ -path org/eclipse/jdt/internal/compiler/apt -prune -o \
|
||||
-path org/eclipse/jdt/internal/compiler/tool -prune -o -name '*.java' \
|
||||
-print > sources-1.4
|
||||
find org/eclipse/jdt/internal/compiler/{apt,tool} -name '*.java' > sources-1.6
|
||||
|
||||
mkdir -p bootstrap || die
|
||||
cp -pPR org META-INF bootstrap || die
|
||||
cd "${S}/bootstrap" || die
|
||||
|
||||
einfo "bootstrapping ${MY_PN} with ${javac} ..."
|
||||
${javac} ${javac_opts} @../sources-1.4 || die
|
||||
${javac} -encoding ISO-8859-1 -source 1.6 -target 1.6 @../sources-1.6 || die
|
||||
|
||||
find org/ META-INF/ \( -name '*.class' -o -name '*.properties' -o -name '*.rsc' -o -name '*.inf' -o -name '*.props' \) \
|
||||
-exec ${jar} cf ${MY_PN}.jar {} + || die
|
||||
|
||||
cd "${S}" || die
|
||||
einfo "building ${MY_PN} with bootstrapped ${MY_PN} ..."
|
||||
${java} -classpath bootstrap/${MY_PN}.jar \
|
||||
org.eclipse.jdt.internal.compiler.batch.Main \
|
||||
${javac_opts} -nowarn @sources-1.4 || die
|
||||
${java} -classpath bootstrap/${MY_PN}.jar \
|
||||
org.eclipse.jdt.internal.compiler.batch.Main \
|
||||
-encoding ISO-8859-1 -source 1.6 -target 1.6 -nowarn @sources-1.6 || die
|
||||
|
||||
find org/ META-INF/ \( -name '*.class' -o -name '*.properties' -o -name '*.rsc' -o -name '*.inf' -o -name '*.props' \) \
|
||||
-exec ${jar} cf ${MY_PN}.jar {} + || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dolauncher ${MY_PN}-${SLOT} --main \
|
||||
org.eclipse.jdt.internal.compiler.batch.Main
|
||||
|
||||
# disable the class version verify, this has intentionally
|
||||
# some classes with 1.6, but most is 1.4
|
||||
JAVA_PKG_STRICT="" java-pkg_dojar ${MY_PN}.jar
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo "To select between slots of ECJ..."
|
||||
einfo " # eselect ecj"
|
||||
|
||||
eselect ecj update ecj-${SLOT}
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect ecj update
|
||||
}
|
@ -0,0 +1,34 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/swig/swig-2.0.7.ebuild,v 1.1 2012/07/11 20:55:06 radhermit Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
DESCRIPTION="Simplified Wrapper and Interface Generator"
|
||||
HOMEPAGE="http://www.swig.org/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3 as-is"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="ccache doc pcre"
|
||||
RESTRICT="test"
|
||||
|
||||
DEPEND="pcre? ( dev-libs/libpcre )
|
||||
ccache? ( sys-libs/zlib )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS=( ANNOUNCE CHANGES CHANGES.current README TODO )
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable ccache) \
|
||||
$(use_with pcre)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
if use doc; then
|
||||
dohtml -r Doc/{Devel,Manual}
|
||||
fi
|
||||
}
|
@ -1,4 +1,5 @@
|
||||
DIST v8-3.10.8.19.tar.bz2 10062768 SHA256 609c74b3f9d5b9be3f27fc31875d6e79605f19340bd5e26d73d500edae87481d SHA512 4633588aab43d9a43bcd690fb48a077988e5129a737f67aa2b2a3f621c930bd991fe6a709a2fbd1e72df957f72103c4b501fcd650be41c8c8fc8c1a3020c94f3 WHIRLPOOL f1cd3a338bc4638f8688a3afa9efddcd7c220e6e71be074865a9abb7fce01e54a37517b079f5804396e88750f128ed9b1c15486dbbacc5cd0117c8910e9d43ac
|
||||
DIST v8-3.10.8.20.tar.bz2 10063381 SHA256 e9d7afb462405c2df1fb8560daf33665a2356ef8458801f3b8c66e56e290781d SHA512 57e88a4019259cba17b7d043772eb212de14df8269a02d1973a05c2a112cd02c6a93006449aa97af41525c695fb1bb24aa48e2996f19665058d88ba999ceefca WHIRLPOOL 1c2c0266d7e098b64a7cde1cf0eae68e044ddccd350962d22bf5b9c68079f4cbdc1d78e1cb97b08f4fb731201e45bbe5090c89a17835213745974e36765f26d8
|
||||
DIST v8-3.11.10.12.tar.bz2 10116949 SHA256 fc7b0e54ba1d5f07ce0bb9cf0f09aab66c9aa14861e5e8a28ef0bb2a3f729430 SHA512 ba301094cbb8d718959808414e31f3a2b2012153e104b0495220ac94a197c82a70f108356f600b58bd9a8460f44b982742180239c81031d062530f9aadfc5d33 WHIRLPOOL e0611c0370f40e0f7552dc3c0bbed0ee77601499bda544e0b189d34b49e92e672d1571babfa9f423299a36e7258c9620d94a587bae191dabbbbcdfd3f1faf281
|
||||
DIST v8-3.11.10.6.tar.bz2 10106628 SHA256 b726249aad91dfaa6b8e327a867a190396036c0e37bb341863d707c114aec9b2 SHA512 5f8eb4274ee2a847a1389f0feb75cd5fbc118ee3c4faaf0e73bace3fbe45c529d0e3a0805f866daa1b122bf09a30d96172b593c5ee70b89d2fd302930a11986f WHIRLPOOL 9869c2faba13df9842fbb60fa6bdf91a1e2310d1db37c58f9c834289c7be3a57a668e26210fb7ddb64b025c02156bf77d1ba45b45dd7b7bba17050c39b1c501f
|
||||
DIST v8-3.12.9.tar.bz2 10164026 SHA256 7e80ae92c5883f3394213df8e31c349cb058915c69fd6c0396f49307c1600c8e SHA512 88644ab31fe5de75163e00eea6e5d9058b7563a0bfdd0d4d839d7726b1b5ef8dde73c2ba9ecd63279e65b93681143da50a3bd679a13b4120c6446eedaaaefa8a WHIRLPOOL 6728791a7fb386fe944a506b821aac4928b5508f4dd0648b697cba384c88f1e82859399d8fd521aa86e01e55ec79d5c23a7fd0a2d45a0d77e6cbd506a801fd16
|
||||
|
@ -0,0 +1,138 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/v8-3.10.8.20.ebuild,v 1.2 2012/07/12 00:50:46 rich0 Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
PYTHON_DEPEND="2:2.6"
|
||||
|
||||
inherit eutils multilib pax-utils python toolchain-funcs versionator
|
||||
|
||||
DESCRIPTION="Google's open source JavaScript engine"
|
||||
HOMEPAGE="http://code.google.com/p/v8"
|
||||
SRC_URI="http://commondatastorage.googleapis.com/chromium-browser-official/${P}.tar.bz2"
|
||||
LICENSE="BSD"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~x86 ~x86-fbsd ~x64-macos ~x86-macos"
|
||||
IUSE=""
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# strip unsupported -arch (in Prefix) for OSX, e.g. bug #417401
|
||||
epatch "${FILESDIR}"/${PN}-3.10.8.10-darwin-arch.patch
|
||||
# make sure we don't target an anchient version of OSX
|
||||
# issue http://code.google.com/p/v8/issues/detail?id=2151
|
||||
#sed -i -e "/MACOSX_DEPLOYMENT_TARGET/d" build/standalone.gypi || die
|
||||
epatch "${FILESDIR}"/${PN}-3.10.8.10-freebsd9.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
tc-export AR CC CXX RANLIB
|
||||
export LINK=${CXX}
|
||||
|
||||
# Use target arch detection logic from bug #354601.
|
||||
case ${CHOST} in
|
||||
i?86-*) myarch=ia32 ;;
|
||||
x86_64-*)
|
||||
if [[ $ABI = x86 ]] ; then
|
||||
myarch=ia32
|
||||
else
|
||||
myarch=x64
|
||||
fi ;;
|
||||
arm*-*) myarch=arm ;;
|
||||
*) die "Unrecognized CHOST: ${CHOST}"
|
||||
esac
|
||||
mytarget=${myarch}.release
|
||||
|
||||
soname_version="$(get_version_component_range 1-3)"
|
||||
|
||||
local snapshot=on
|
||||
host-is-pax && snapshot=off
|
||||
|
||||
# TODO: Add console=readline option once implemented upstream
|
||||
# http://code.google.com/p/v8/issues/detail?id=1781
|
||||
|
||||
emake V=1 \
|
||||
library=shared \
|
||||
werror=no \
|
||||
soname_version=${soname_version} \
|
||||
snapshot=${snapshot} \
|
||||
${mytarget} || die
|
||||
|
||||
pax-mark m out/${mytarget}/{cctest,d8,shell} || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local arg testjobs
|
||||
for arg in ${MAKEOPTS}; do
|
||||
case ${arg} in
|
||||
-j*) testjobs=${arg#-j} ;;
|
||||
--jobs=*) testjobs=${arg#--jobs=} ;;
|
||||
esac
|
||||
done
|
||||
|
||||
tools/test-wrapper-gypbuild.py \
|
||||
-j${testjobs:-1} \
|
||||
--arch-and-mode=${mytarget} \
|
||||
--no-presubmit \
|
||||
--progress=dots || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr
|
||||
doins -r include || die
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]] ; then
|
||||
# buildsystem is too horrific to get this built correctly
|
||||
mkdir -p out/${mytarget}/lib.target
|
||||
mv out/${mytarget}/libv8.so.${soname_version} \
|
||||
out/${mytarget}/lib.target/libv8$(get_libname ${soname_version}) || die
|
||||
install_name_tool \
|
||||
-id "${EPREFIX}"/usr/$(get_libdir)/libv8$(get_libname) \
|
||||
out/${mytarget}/lib.target/libv8$(get_libname ${soname_version}) \
|
||||
|| die
|
||||
install_name_tool \
|
||||
-change \
|
||||
"${S}"/out/${mytarget}/libv8.so.${soname_version} \
|
||||
"${EPREFIX}"/usr/$(get_libdir)/libv8$(get_libname) \
|
||||
out/${mytarget}/d8 || die
|
||||
fi
|
||||
|
||||
dobin out/${mytarget}/d8 || die
|
||||
|
||||
dolib out/${mytarget}/lib.target/libv8$(get_libname ${soname_version}) || die
|
||||
dosym libv8$(get_libname ${soname_version}) /usr/$(get_libdir)/libv8$(get_libname) || die
|
||||
|
||||
dodoc AUTHORS ChangeLog || die
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
preserved_libs=()
|
||||
local baselib candidate
|
||||
|
||||
eshopts_push -s nullglob
|
||||
|
||||
for candidate in "${EROOT}usr/$(get_libdir)"/libv8$(get_libname).*; do
|
||||
baselib=${candidate##*/}
|
||||
if [[ ! -e "${ED}usr/$(get_libdir)/${baselib}" ]]; then
|
||||
preserved_libs+=( "${EPREFIX}/usr/$(get_libdir)/${baselib}" )
|
||||
fi
|
||||
done
|
||||
|
||||
eshopts_pop
|
||||
|
||||
if [[ ${#preserved_libs[@]} -gt 0 ]]; then
|
||||
preserve_old_lib "${preserved_libs[@]}"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ ${#preserved_libs[@]} -gt 0 ]]; then
|
||||
preserve_old_lib_notify "${preserved_libs[@]}"
|
||||
fi
|
||||
}
|
@ -0,0 +1,219 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/cyrus-sasl/cyrus-sasl-2.1.25-r3.ebuild,v 1.1 2012/07/11 18:17:25 eras Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit eutils flag-o-matic multilib autotools pam java-pkg-opt-2 db-use
|
||||
|
||||
SASLAUTHD_CONF_VER="2.1.21"
|
||||
|
||||
DESCRIPTION="The Cyrus SASL (Simple Authentication and Security Layer)."
|
||||
HOMEPAGE="http://cyrusimap.web.cmu.edu/"
|
||||
SRC_URI="ftp://ftp.cyrusimap.org/cyrus-sasl/${P}.tar.gz"
|
||||
|
||||
LICENSE="as-is"
|
||||
SLOT="2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="authdaemond berkdb gdbm kerberos ldapdb openldap mysql pam postgres sample sqlite
|
||||
srp ssl static-libs urandom"
|
||||
|
||||
DEPEND="authdaemond? ( || ( net-mail/courier-imap mail-mta/courier ) )
|
||||
berkdb? ( >=sys-libs/db-3.2 )
|
||||
gdbm? ( >=sys-libs/gdbm-1.8.0 )
|
||||
kerberos? ( virtual/krb5 )
|
||||
openldap? ( net-nds/openldap )
|
||||
mysql? ( virtual/mysql )
|
||||
pam? ( virtual/pam )
|
||||
postgres? ( dev-db/postgresql-base )
|
||||
sqlite? ( dev-db/sqlite:3 )
|
||||
ssl? ( dev-libs/openssl )
|
||||
java? ( >=virtual/jdk-1.4 )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
pkg_setup() {
|
||||
java-pkg-opt-2_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-sasldb_al.patch
|
||||
epatch "${FILESDIR}"/${P}-saslauthd_libtool.patch
|
||||
epatch "${FILESDIR}"/${P}-avoid_pic_overwrite.patch
|
||||
epatch "${FILESDIR}"/${P}-autotools_fixes.patch
|
||||
epatch "${FILESDIR}"/${P}-as_needed.patch
|
||||
epatch "${FILESDIR}"/${P}-missing_header.patch
|
||||
epatch "${FILESDIR}"/${P}-gssapi.patch
|
||||
epatch "${FILESDIR}"/${P}-lib_before_plugin.patch
|
||||
epatch "${FILESDIR}"/${P}-fix_heimdal.patch
|
||||
epatch "${FILESDIR}"/${P}-auxprop.patch
|
||||
epatch "${FILESDIR}"/${PN}-2.1.23-gss_c_nt_hostbased_service.patch
|
||||
epatch "${FILESDIR}"/${PN}-2.1.23+db-5.0.patch
|
||||
epatch "${FILESDIR}"/${P}-get_fqhostname.patch
|
||||
|
||||
# Get rid of the -R switch (runpath_switch for Sun)
|
||||
# >=gcc-4.6 errors out with unknown option
|
||||
sed -i -e '/LIB_SQLITE.*-R/s/ -R[^"]*//' configure.in
|
||||
|
||||
# Use plugindir for sasldir
|
||||
sed -i '/^sasldir =/s:=.*:= $(plugindir):' \
|
||||
"${S}"/plugins/Makefile.{am,in} || die "sed failed"
|
||||
|
||||
AT_M4DIR="${S}/cmulocal ${S}/config" eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
append-flags -fno-strict-aliasing
|
||||
append-cppflags -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -D_BSD_SOURCE -DLDAP_DEPRECATED
|
||||
|
||||
# Java support.
|
||||
use java && export JAVAC="${JAVAC} ${JAVACFLAGS}"
|
||||
|
||||
local myconf
|
||||
|
||||
# Add authdaemond support (bug #56523).
|
||||
if use authdaemond ; then
|
||||
myconf="${myconf} --with-authdaemond=/var/lib/courier/authdaemon/socket"
|
||||
fi
|
||||
|
||||
# Fix for bug #59634.
|
||||
if ! use ssl ; then
|
||||
myconf="${myconf} --without-des"
|
||||
fi
|
||||
|
||||
if use mysql || use postgres || use sqlite ; then
|
||||
myconf="${myconf} --enable-sql"
|
||||
else
|
||||
myconf="${myconf} --disable-sql"
|
||||
fi
|
||||
|
||||
# Default to GDBM if both 'gdbm' and 'berkdb' are present.
|
||||
if use gdbm ; then
|
||||
einfo "Building with GNU DB as database backend for your SASLdb"
|
||||
myconf="${myconf} --with-dblib=gdbm"
|
||||
elif use berkdb ; then
|
||||
einfo "Building with BerkeleyDB as database backend for your SASLdb"
|
||||
myconf="${myconf} --with-dblib=berkeley --with-bdb-incdir=$(db_includedir)"
|
||||
else
|
||||
einfo "Building without SASLdb support"
|
||||
myconf="${myconf} --with-dblib=none"
|
||||
fi
|
||||
|
||||
# Use /dev/urandom instead of /dev/random (bug #46038).
|
||||
if use urandom ; then
|
||||
myconf="${myconf} --with-devrandom=/dev/urandom"
|
||||
fi
|
||||
|
||||
econf \
|
||||
--enable-login \
|
||||
--enable-ntlm \
|
||||
--enable-auth-sasldb \
|
||||
--disable-cmulocal \
|
||||
--disable-krb4 \
|
||||
--enable-otp \
|
||||
--without-sqlite \
|
||||
--with-saslauthd=/var/lib/sasl2 \
|
||||
--with-pwcheck=/var/lib/sasl2 \
|
||||
--with-configdir=/etc/sasl2 \
|
||||
--with-plugindir=/usr/$(get_libdir)/sasl2 \
|
||||
--with-dbpath=/etc/sasl2/sasldb2 \
|
||||
$(use_with ssl openssl) \
|
||||
$(use_with pam) \
|
||||
$(use_with openldap ldap) \
|
||||
$(use_enable ldapdb) \
|
||||
$(use_enable sample) \
|
||||
$(use_enable kerberos gssapi) \
|
||||
$(use_enable java) \
|
||||
$(use_with java javahome ${JAVA_HOME}) \
|
||||
$(use_with mysql) \
|
||||
$(use_with postgres pgsql) \
|
||||
$(use_with sqlite sqlite3 /usr/$(get_libdir)) \
|
||||
$(use_enable srp) \
|
||||
$(use_enable static-libs static) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
|
||||
# Default location for java classes breaks OpenOffice (bug #60769).
|
||||
# Thanks to axxo@gentoo.org for the solution.
|
||||
cd "${S}"
|
||||
if use java ; then
|
||||
jar -cvf ${PN}.jar -C java $(find java -name "*.class")
|
||||
fi
|
||||
|
||||
# Add testsaslauthd (bug #58768).
|
||||
cd "${S}/saslauthd"
|
||||
emake testsaslauthd
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
keepdir /var/lib/sasl2 /etc/sasl2
|
||||
|
||||
if use sample ; then
|
||||
docinto sample
|
||||
dodoc sample/*.c
|
||||
exeinto /usr/share/doc/${P}/sample
|
||||
doexe sample/client sample/server
|
||||
fi
|
||||
|
||||
# Default location for java classes breaks OpenOffice (bug #60769).
|
||||
if use java ; then
|
||||
java-pkg_dojar ${PN}.jar
|
||||
java-pkg_regso "${D}/usr/$(get_libdir)/libjavasasl.so"
|
||||
# hackish, don't wanna dig through makefile
|
||||
rm -Rf "${D}/usr/$(get_libdir)/java"
|
||||
docinto "java"
|
||||
dodoc "${S}/java/README" "${FILESDIR}/java.README.gentoo" "${S}"/java/doc/*
|
||||
dodir "/usr/share/doc/${PF}/java/Test"
|
||||
insinto "/usr/share/doc/${PF}/java/Test"
|
||||
doins "${S}"/java/Test/*.java
|
||||
fi
|
||||
|
||||
docinto ""
|
||||
dodoc AUTHORS ChangeLog NEWS README doc/TODO doc/*.txt
|
||||
newdoc pwcheck/README README.pwcheck
|
||||
dohtml doc/*.html
|
||||
|
||||
docinto "saslauthd"
|
||||
dodoc saslauthd/{AUTHORS,ChangeLog,LDAP_SASLAUTHD,NEWS,README}
|
||||
|
||||
newpamd "${FILESDIR}/saslauthd.pam-include" saslauthd
|
||||
|
||||
newinitd "${FILESDIR}/pwcheck.rc6" pwcheck
|
||||
|
||||
newinitd "${FILESDIR}/saslauthd2.rc6" saslauthd
|
||||
newconfd "${FILESDIR}/saslauthd-${SASLAUTHD_CONF_VER}.conf" saslauthd
|
||||
|
||||
newsbin "${S}/saslauthd/testsaslauthd" testsaslauthd
|
||||
|
||||
use static-libs || find "${D}"/usr/lib*/sasl2 -name 'lib*.la' -delete
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
preserve_old_lib /usr/$(get_libdir)/libsasl2.so.2.0.23
|
||||
}
|
||||
|
||||
pkg_postinst () {
|
||||
# Generate an empty sasldb2 with correct permissions.
|
||||
if ( use berkdb || use gdbm ) && [[ ! -f "${ROOT}/etc/sasl2/sasldb2" ]] ; then
|
||||
einfo "Generating an empty sasldb2 with correct permissions ..."
|
||||
echo "p" | "${ROOT}/usr/sbin/saslpasswd2" -f "${ROOT}/etc/sasl2/sasldb2" -p login \
|
||||
|| die "Failed to generate sasldb2"
|
||||
"${ROOT}/usr/sbin/saslpasswd2" -f "${ROOT}/etc/sasl2/sasldb2" -d login \
|
||||
|| die "Failed to delete temp user"
|
||||
chown root:mail "${ROOT}/etc/sasl2/sasldb2" \
|
||||
|| die "Failed to chown ${ROOT}/etc/sasl2/sasldb2"
|
||||
chmod 0640 "${ROOT}/etc/sasl2/sasldb2" \
|
||||
|| die "Failed to chmod ${ROOT}/etc/sasl2/sasldb2"
|
||||
fi
|
||||
|
||||
if use authdaemond ; then
|
||||
elog "You need to add a user running a service using Courier's"
|
||||
elog "authdaemon to the 'mail' group. For example, do:"
|
||||
elog " gpasswd -a postfix mail"
|
||||
elog "to add the 'postfix' user to the 'mail' group."
|
||||
fi
|
||||
|
||||
preserve_old_lib_notify /usr/$(get_libdir)/libsasl2.so.2.0.23
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST libestr-0.1.2.tar.gz 315615 SHA256 0e8b95374fa271dc2afdfadfc9afc0f5826252a1b698ddea1474d5600a7c66ca SHA512 dd423f534d4aad72819d6ed27b0b29a66afd3955acfda4051a389398e58cb2b6f25d47b79729df19e86fdf3cbd2a6e4814e670e4d8d27eaa07f6c40bd01e5667 WHIRLPOOL 7718e33ed6b9cea413146a0c34e4860610169df1a67a08a2efec1f356bfc740aed2d670247694acb8e7db540d080357f7ab0db0cc8a1924da7e8e4488d4fdd99
|
||||
DIST libestr-0.1.3.tar.gz 329298 SHA256 25a4a97942818ceacd8b47370d74a8e09dad2dfeb3c4534e76523e5408973919 SHA512 586130d90dbc0bda032a3b81e6a560fa8f4cf7670b86ec3ad3b196252d5309cabfdd1f5c5cf7f3a7cde273a631bd11afabccf2fd766ecf2656e7e68fa96c6d76 WHIRLPOOL a1b78cdc5c4588041faf36bbc6cf487b3bb22e069e2e9e1f0e8eb3f0e1c6cd6a26d09261653237b834459f8fa8046e7f63dae686e25983ef9896be374d911a10
|
||||
|
@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libestr/libestr-0.1.3.ebuild,v 1.1 2012/07/11 19:19:54 hwoarang Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
DESCRIPTION="Library for some string essentials"
|
||||
HOMEPAGE="http://libestr.adiscon.com/"
|
||||
SRC_URI="http://libestr.adiscon.com/files/download/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug static-libs"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable debug) $(use_enable static-libs static)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${D}"
|
||||
find "${D}" -name "*.la" -delete || die
|
||||
}
|
@ -0,0 +1,73 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpcre/libpcre-8.31.ebuild,v 1.1 2012/07/11 20:17:24 radhermit Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils multilib libtool flag-o-matic toolchain-funcs
|
||||
|
||||
DESCRIPTION="Perl-compatible regular expression library"
|
||||
HOMEPAGE="http://www.pcre.org/"
|
||||
MY_P="pcre-${PV/_rc/-RC}"
|
||||
if [[ ${PV} != *_rc* ]] ; then
|
||||
# Only the final releases are available here.
|
||||
SRC_URI="mirror://sourceforge/pcre/${MY_P}.tar.bz2
|
||||
ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/${MY_P}.tar.bz2"
|
||||
else
|
||||
SRC_URI="ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/Testing/${MY_P}.tar.bz2"
|
||||
fi
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="3"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="bzip2 +cxx +jit libedit pcre16 +readline +recursion-limit static-libs unicode zlib"
|
||||
REQUIRED_USE="readline? ( !libedit )
|
||||
libedit? ( !readline )"
|
||||
|
||||
RDEPEND="bzip2? ( app-arch/bzip2 )
|
||||
zlib? ( sys-libs/zlib )
|
||||
libedit? ( dev-libs/libedit )
|
||||
readline? ( sys-libs/readline )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
userland_GNU? ( >=sys-apps/findutils-4.4.0 )"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e "s:-lpcre ::" libpcrecpp.pc.in || die
|
||||
elibtoolize
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
[[ ${CHOST} == *-mint* ]] && append-cppflags -D_GNU_SOURCE
|
||||
econf \
|
||||
--with-match-limit-recursion=$(usex recursion-limit 8192 MATCH_LIMIT) \
|
||||
$(use_enable bzip2 pcregrep-libbz2) \
|
||||
$(use_enable cxx cpp) \
|
||||
$(use_enable jit) $(use_enable jit pcregrep-jit) \
|
||||
$(use_enable pcre16) \
|
||||
$(use_enable libedit pcretest-libedit) \
|
||||
$(use_enable readline pcretest-libreadline) \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable unicode utf) $(use_enable unicode unicode-properties) \
|
||||
$(use_enable zlib pcregrep-libz) \
|
||||
--enable-pcre8 \
|
||||
--enable-shared \
|
||||
--htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \
|
||||
--docdir="${EPREFIX}"/usr/share/doc/${PF}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
gen_usr_ldscript -a pcre
|
||||
prune_libtool_files
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
preserve_old_lib /$(get_libdir)/libpcre.so.0
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
preserve_old_lib_notify /$(get_libdir)/libpcre.so.0
|
||||
}
|
@ -1 +0,0 @@
|
||||
DIST apiextractor-0.10.10.tar.bz2 271357 SHA256 a51ce821f7d1d3c39fe04e4e2af7ff6d4475ef10d44c148939682b09f656a02c SHA512 8279ba89b78d54bda6499405c9c6e9870407f01a498e5f15a41ab83a5f77fcf02ccdc925f6c93e257bcc1768a2c627f3c06ecfcd7624132b460abe2b935d1a98 WHIRLPOOL 447ef87f2be7f5ff85d56463ce9d0b2cfc08da65e1d2a5dcd064da4eb212c62ee70c377a915f2eaa1a31cccd0e5f981b0103bf37aa228e4a14c0dd9fdd7c44ed
|
@ -1,39 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/apiextractor/apiextractor-0.10.10.ebuild,v 1.5 2012/04/22 12:15:14 maekke Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="Library used to create an internal representation of an API in order to create Python bindings"
|
||||
HOMEPAGE="http://www.pyside.org/"
|
||||
SRC_URI="http://www.pyside.org/files/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="debug test"
|
||||
|
||||
QT_PV="4.7.0:4"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/libxml2-2.6.32
|
||||
>=dev-libs/libxslt-1.1.19
|
||||
>=x11-libs/qt-core-${QT_PV}
|
||||
>=x11-libs/qt-xmlpatterns-${QT_PV}
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
>=x11-libs/qt-gui-${QT_PV}
|
||||
>=x11-libs/qt-test-${QT_PV}
|
||||
)"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog )
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
$(cmake-utils_use_build test TESTS)
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
@ -1 +0,0 @@
|
||||
DIST generatorrunner-0.6.16.tar.bz2 280318 SHA256 3f07e9690ff7ad84adefd405abe10aa84e113413f02a013bf159a21f8d025f08 SHA512 b75685f99108ccab9774637ec1d37d40df6eb16db4c6cb144b65226f4ccdb369d3b55cfa8ff34eeef6f177b6990a2dd0b2184bfd3361e6cb7a3912ebe698d0d0 WHIRLPOOL bd5212bac10c34284eed44348aeae0558e17d6b6f67dd6ae495d503d9107e573c2b69a29de28ac41a201e44771bf3554612232c541d73e0e05d8c9726df111e6
|
@ -1,35 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/generatorrunner/generatorrunner-0.6.16.ebuild,v 1.4 2012/04/22 12:15:57 maekke Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="A tool to control bindings generation"
|
||||
HOMEPAGE="http://www.pyside.org/"
|
||||
SRC_URI="http://www.pyside.org/files/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="debug test"
|
||||
|
||||
QT_PV="4.7.0:4"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/apiextractor-0.10.10
|
||||
>=x11-libs/qt-core-${QT_PV}
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( >=x11-libs/qt-test-${QT_PV} )
|
||||
"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog )
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
$(cmake-utils_use_build test TESTS)
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST psutil-0.3.0.tar.gz 154237 SHA256 ab2146a24705f906d22222cc1cebf1edf7482b1c193969dc7760f0be53e7605d SHA512 90783369d1f1f60c10dd102e1278dd4ccedc41c853b256eb9b9c8e4722595812e055857b715486a98a3cc9be9852f7b5739413faa1790cbcca7230101375d0c5 WHIRLPOOL 6c8563074c519f690cf9ad5e797a561f9b9a5f87c618ea738eff59f903984086c9ec4b2f64ca3783e8361e175327295d85e061c2af812b60391744684b05d48a
|
||||
DIST psutil-0.4.0.tar.gz 170851 SHA256 4fce35fde5c7f9fcd7517af696b09360f479a10259cdaf93f552e25e287d0d48 SHA512 3aa27ba3b9b45f4e065313a7e3183951c9a34bc0944148cfaefa231d32151e8e73110b6afff9a94117a5c0a7479d1a2d1e714ac986645e1e6ac73153a5edd8ff WHIRLPOOL a28a41852ee0178b49dcf23d20d6a07bf914410a49d698bd6172b50318d1a79f326a7fffeba80852422ff186da08cd76d61775c06e40dc09ac3e8ed93157c200
|
||||
DIST psutil-0.4.1.tar.gz 176640 SHA256 f051d2f965bcf63067c45449ab128b26e01587f0bc68e4141c355d28a55c71ee SHA512 b99f1cf447c82281eed5d1f00181aa677241bf5ae6f4e2c3226e28b632261f400a1dd0de20bb06868f85125227d0db8493c542be8f40e56de5b4205fe7302b34 WHIRLPOOL ed8c90952e4e9e987e3718a7661fc0ab00d137549a61cb92ff98b75c1d7cf456729256af191bbf519ca9a396c2674cd928e5e9ba33ed00221154f786046e56d6
|
||||
DIST psutil-0.5.1.tar.gz 125636 SHA256 2de897263fa4f00e4e8316dff53f8e3631780f7567b2035129b7400d477858d6 SHA512 1a8cc1550b2c8f8340434d6cebf68be707fc981651dd8f15d2405d09bb168d0e8ee5fd70cbb005d280d5b1bc09f955c88a7eeb2c8f39a1966bf08d52ae8fa590 WHIRLPOOL a6384a19249ce259f9f6a6f2e868e8f834887f34e646427abcc437ac1161a482f3990d129a3b616431703787715b1d62e5466765209ad435d7f86d5e6bdf7bc3
|
||||
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/psutil/psutil-0.5.1.ebuild,v 1.1 2012/07/11 22:14:04 radhermit Exp $
|
||||
|
||||
EAPI="4"
|
||||
PYTHON_DEPEND="*"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
PYTHON_TESTS_RESTRICTED_ABIS="3.*"
|
||||
RESTRICT_PYTHON_ABIS="*-jython"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="Retrieve information on running processes and system utilization"
|
||||
HOMEPAGE="http://code.google.com/p/psutil/ http://pypi.python.org/pypi/psutil"
|
||||
SRC_URI="http://psutil.googlecode.com/files/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
# A broken test
|
||||
RESTRICT="test"
|
||||
|
||||
src_test() {
|
||||
testing() {
|
||||
PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib.*)" "$(PYTHON)" test/test_psutil.py
|
||||
}
|
||||
python_execute_function testing
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST openyahtzee-1.9.1.tar.bz2 159149 SHA256 aa553a248d30ba259abb8dee735d5728bfdbb8d4705805bc716453245f1cb0a0 SHA512 2833a7085bb03d157b58a5e3a95c03b8a51cc8b527aec204188c8f773c492f4822655ec15dbedd4330c25bc4382132694ae7d3935dfb27756e859149ab66ef59 WHIRLPOOL 8c9986f163576d2d5ab31ea4083139645513c6d3e1a171cba9cb7030186a2f022984e8a9925f7524e2b25b9c7ad3a989eb39bb76b13642cef848e66daabfa86d
|
||||
DIST openyahtzee-1.9.tar.bz2 850969 RMD160 992ca4559a0cc7ed925f0b44bd989514a8410405 SHA1 6c9ff016f8f91550a879ec25409b119ef93b82dd SHA256 9d923dc14906aed39d9fa9d9c40eaa2d977d2d8aadae85836e7412712c93d8e1
|
||||
|
@ -0,0 +1,8 @@
|
||||
--- src/Makefile.am.old 2011-06-20 13:41:03.264848550 +0200
|
||||
+++ src/Makefile.am 2011-06-20 13:42:39.667245673 +0200
|
||||
@@ -42,4 +42,4 @@
|
||||
openyahtzee.rc
|
||||
|
||||
AM_CXXFLAGS = @WX_CXXFLAGS@
|
||||
-openyahtzee_LDFLAGS = @WX_LIBS@
|
||||
+openyahtzee_LDADD = @WX_LIBS@ -ldl
|
@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/games-board/openyahtzee/openyahtzee-1.9.1.ebuild,v 1.1 2012/07/11 21:26:48 mr_bones_ Exp $
|
||||
|
||||
EAPI=2
|
||||
WX_GTK_VER="2.8"
|
||||
inherit eutils autotools wxwidgets games
|
||||
|
||||
DESCRIPTION="A full-featured wxWidgets version of the classic dice game Yahtzee"
|
||||
HOMEPAGE="http://openyahtzee.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="x11-libs/wxGTK:2.8[X]"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-underlink.patch
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
egamesconf --datadir=/usr/share || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die
|
||||
dodoc AUTHORS ChangeLog TODO
|
||||
prepgamesdirs
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST wesnoth-1.10.3.tar.bz2 342168933 RMD160 d27f5771a2311b7ea0d0eca57491a33c8e44fb5a SHA1 a8992ed64617a8d569ea1557b7f2b6d25bdb805b SHA256 b348f99c0ef810fb1f59b5e6ac6f0bb376922edb2552f4a11eb03b5cc658da78
|
||||
DIST wesnoth-1.10.tar.bz2 339946658 RMD160 39f0addc95ccc556c952f1172666a3d0b5756149 SHA1 6315c8e262fba86a98fcb8dd67d5d4d56b807c4d SHA256 4ba12b1e43761650579d563d4384c5e06674b0bff75cef2cb0abb439ecdc8ece
|
||||
DIST wesnoth-1.10.3.tar.bz2 342168933 SHA256 b348f99c0ef810fb1f59b5e6ac6f0bb376922edb2552f4a11eb03b5cc658da78 SHA512 9fce16cb8c7b9e03e9d03114be6d19d712901a07a14c32c38388ee0aa1e105772050d6059b4112e583e6c1f32e0fd6d8c336eaced79d9940fe4d0b429601e738 WHIRLPOOL d44a08fe7abeb7e37f530ecd727bfb6cde3a6ac3fc952905dfcaab34b35da176061b3c783bd92dec4f15d039d9bce2f4236be8b0e8e9ac24c90e42fd48ee4577
|
||||
|
@ -1,54 +0,0 @@
|
||||
Index: src/filesystem.cpp
|
||||
===================================================================
|
||||
--- src/filesystem.cpp (Revision 52751)
|
||||
+++ src/filesystem.cpp (Revision 52752)
|
||||
@@ -63,6 +63,7 @@
|
||||
#include "loadscreen.hpp"
|
||||
#include "scoped_resource.hpp"
|
||||
#include "serialization/string_utils.hpp"
|
||||
+#include "version.hpp"
|
||||
|
||||
static lg::log_domain log_filesystem("filesystem");
|
||||
#define DBG_FS LOG_STREAM(debug, log_filesystem)
|
||||
@@ -501,6 +502,23 @@
|
||||
|
||||
static void setup_user_data_dir();
|
||||
|
||||
+static const std::string& get_version_path_suffix()
|
||||
+{
|
||||
+ static std::string suffix;
|
||||
+
|
||||
+ // We only really need to generate this once since
|
||||
+ // the version number cannot change during runtime.
|
||||
+
|
||||
+ if(suffix.empty()) {
|
||||
+ std::ostringstream s;
|
||||
+ s << game_config::wesnoth_version.major_version() << '.'
|
||||
+ << game_config::wesnoth_version.minor_version();
|
||||
+ suffix = s.str();
|
||||
+ }
|
||||
+
|
||||
+ return suffix;
|
||||
+}
|
||||
+
|
||||
void set_preferences_dir(std::string path)
|
||||
{
|
||||
#ifdef _WIN32
|
||||
@@ -537,7 +555,7 @@
|
||||
if (path.empty()) path = PREFERENCES_DIR;
|
||||
#endif
|
||||
|
||||
- std::string path2 = ".wesnoth" + game_config::version.substr(0,3);
|
||||
+ std::string path2 = ".wesnoth" + get_version_path_suffix();
|
||||
|
||||
#ifdef _X11
|
||||
const char *home_str = getenv("HOME");
|
||||
@@ -553,7 +571,7 @@
|
||||
user_data_dir += "/.local/share";
|
||||
} else user_data_dir = xdg_data;
|
||||
user_data_dir += "/wesnoth/";
|
||||
- user_data_dir += game_config::version.substr(0,3);
|
||||
+ user_data_dir += get_version_path_suffix();
|
||||
create_directory_if_missing_recursive(user_data_dir);
|
||||
game_config::preferences_dir = user_data_dir;
|
||||
} else {
|
@ -1,119 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/games-strategy/wesnoth/wesnoth-1.10.ebuild,v 1.5 2012/05/04 04:51:07 jdhore Exp $
|
||||
|
||||
EAPI=2
|
||||
inherit cmake-utils eutils multilib toolchain-funcs flag-o-matic games
|
||||
|
||||
DESCRIPTION="Battle for Wesnoth - A fantasy turn-based strategy game"
|
||||
HOMEPAGE="http://www.wesnoth.org/"
|
||||
SRC_URI="mirror://sourceforge/wesnoth/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc ~ppc64 x86 ~x86-fbsd"
|
||||
IUSE="dbus dedicated doc nls server"
|
||||
|
||||
RDEPEND=">=media-libs/libsdl-1.2.7[video,X]
|
||||
media-libs/sdl-net
|
||||
>=media-libs/sdl-ttf-2.0.8
|
||||
>=media-libs/sdl-mixer-1.2[vorbis]
|
||||
>=media-libs/sdl-image-1.2[jpeg,png]
|
||||
!dedicated? (
|
||||
dbus? ( sys-apps/dbus )
|
||||
)
|
||||
>=dev-libs/boost-1.36
|
||||
sys-libs/zlib
|
||||
x11-libs/pango
|
||||
dev-lang/lua
|
||||
media-libs/fontconfig
|
||||
virtual/libintl"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
sys-devel/gettext"
|
||||
|
||||
src_prepare() {
|
||||
if use dedicated || use server ; then
|
||||
sed \
|
||||
-e "s:GAMES_BINDIR:${GAMES_BINDIR}:" \
|
||||
-e "s:GAMES_STATEDIR:${GAMES_STATEDIR}:" \
|
||||
-e "s/GAMES_USER_DED/${GAMES_USER_DED}/" \
|
||||
-e "s/GAMES_GROUP/${GAMES_GROUP}/" "${FILESDIR}"/wesnothd.rc \
|
||||
> "${T}"/wesnothd \
|
||||
|| die "sed failed"
|
||||
fi
|
||||
if ! use doc ; then
|
||||
sed -i \
|
||||
-e '/manual/d' \
|
||||
doc/CMakeLists.txt \
|
||||
|| die "sed failed"
|
||||
fi
|
||||
# how do I hate boost? Let me count the ways...
|
||||
local boost_ver=$(best_version ">=dev-libs/boost-1.36")
|
||||
|
||||
boost_ver=${boost_ver/*boost-/}
|
||||
boost_ver=${boost_ver%.*}
|
||||
boost_ver=${boost_ver/./_}
|
||||
|
||||
einfo "Using boost version ${boost_ver}"
|
||||
append-cxxflags \
|
||||
-I/usr/include/boost-${boost_ver}
|
||||
append-ldflags \
|
||||
-L/usr/$(get_libdir)/boost-${boost_ver}
|
||||
export BOOST_INCLUDEDIR="/usr/include/boost-${boost_ver}"
|
||||
export BOOST_LIBRARYDIR="/usr/$(get_libdir)/boost-${boost_ver}"
|
||||
|
||||
epatch "${FILESDIR}"/${P}-xdg-path-fix.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
filter-flags -ftracer -fomit-frame-pointer
|
||||
if [[ $(gcc-major-version) -eq 3 ]] ; then
|
||||
filter-flags -fstack-protector
|
||||
append-flags -fno-stack-protector
|
||||
fi
|
||||
if use dedicated || use server ; then
|
||||
mycmakeargs=(
|
||||
"-DENABLE_CAMPAIGN_SERVER=TRUE"
|
||||
"-DENABLE_SERVER=TRUE"
|
||||
"-DSERVER_UID=${GAMES_USER_DED}"
|
||||
"-DSERVER_GID=${GAMES_GROUP}"
|
||||
"-DFIFO_DIR=${GAMES_STATEDIR}/run/wesnothd"
|
||||
)
|
||||
else
|
||||
mycmakeargs=(
|
||||
"-DENABLE_CAMPAIGN_SERVER=FALSE"
|
||||
"-DENABLE_SERVER=FALSE"
|
||||
)
|
||||
fi
|
||||
mycmakeargs+=(
|
||||
$(cmake-utils_use_enable !dedicated GAME)
|
||||
$(cmake-utils_use_enable !dedicated ENABLE_DESKTOP_ENTRY)
|
||||
$(cmake-utils_use_enable nls NLS)
|
||||
$(cmake-utils_use_enable dbus NOTIFICATIONS)
|
||||
"-DCMAKE_VERBOSE_MAKEFILE=TRUE"
|
||||
"-DENABLE_FRIBIDI=FALSE"
|
||||
"-DENABLE_STRICT_COMPILATION=FALSE"
|
||||
"-DCMAKE_INSTALL_PREFIX=${GAMES_PREFIX}"
|
||||
"-DDATAROOTDIR=${GAMES_DATADIR}"
|
||||
"-DBINDIR=${GAMES_BINDIR}"
|
||||
"-DICONDIR=/usr/share/pixmaps"
|
||||
"-DDESKTOPDIR=/usr/share/applications"
|
||||
"-DMANDIR=/usr/share/man"
|
||||
"-DDOCDIR=/usr/share/doc/${PF}"
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake-utils_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
DOCS="README changelog players_changelog" cmake-utils_src_install
|
||||
if use dedicated || use server; then
|
||||
keepdir "${GAMES_STATEDIR}/run/wesnothd"
|
||||
doinitd "${T}"/wesnothd || die "doinitd failed"
|
||||
fi
|
||||
prepgamesdirs
|
||||
}
|
@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/kde-misc/magneto-kde/magneto-kde-1.0_rc124.ebuild,v 1.1 2012/07/11 18:44:42 lxnay Exp $
|
||||
|
||||
EAPI="3"
|
||||
PYTHON_DEPEND="2"
|
||||
inherit eutils python
|
||||
|
||||
DESCRIPTION="Entropy Package Manager notification applet KDE frontend"
|
||||
HOMEPAGE="http://www.sabayon.org"
|
||||
LICENSE="GPL-2"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE=""
|
||||
|
||||
SRC_URI="mirror://sabayon/sys-apps/entropy-${PV}.tar.bz2"
|
||||
S="${WORKDIR}/entropy-${PV}/magneto"
|
||||
|
||||
RDEPEND="~app-misc/magneto-loader-${PV}
|
||||
kde-base/pykde4
|
||||
dev-python/PyQt4[dbus]"
|
||||
DEPEND=""
|
||||
|
||||
src_compile() {
|
||||
einfo "nothing to compile"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" LIBDIR="usr/lib" magneto-kde-install || die "make install failed"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
python_mod_optimize "/usr/lib/entropy/magneto/magneto/kde"
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
python_mod_cleanup "/usr/lib/entropy/magneto/magneto/kde"
|
||||
}
|
@ -0,0 +1,58 @@
|
||||
http://www.ruby-lang.org/en/about/license.txt
|
||||
|
||||
Ruby is copyrighted free software by Yukihiro Matsumoto <matz@netlab.jp>.
|
||||
You can redistribute it and/or modify it under either the terms of the
|
||||
2-clause BSDL (see the file BSDL), or the conditions below:
|
||||
|
||||
1. You may make and give away verbatim copies of the source form of the
|
||||
software without restriction, provided that you duplicate all of the
|
||||
original copyright notices and associated disclaimers.
|
||||
|
||||
2. You may modify your copy of the software in any way, provided that
|
||||
you do at least ONE of the following:
|
||||
|
||||
a) place your modifications in the Public Domain or otherwise
|
||||
make them Freely Available, such as by posting said
|
||||
modifications to Usenet or an equivalent medium, or by allowing
|
||||
the author to include your modifications in the software.
|
||||
|
||||
b) use the modified software only within your corporation or
|
||||
organization.
|
||||
|
||||
c) give non-standard binaries non-standard names, with
|
||||
instructions on where to get the original software distribution.
|
||||
|
||||
d) make other distribution arrangements with the author.
|
||||
|
||||
3. You may distribute the software in object code or binary form,
|
||||
provided that you do at least ONE of the following:
|
||||
|
||||
a) distribute the binaries and library files of the software,
|
||||
together with instructions (in the manual page or equivalent)
|
||||
on where to get the original distribution.
|
||||
|
||||
b) accompany the distribution with the machine-readable source of
|
||||
the software.
|
||||
|
||||
c) give non-standard binaries non-standard names, with
|
||||
instructions on where to get the original software distribution.
|
||||
|
||||
d) make other distribution arrangements with the author.
|
||||
|
||||
4. You may modify and include the part of the software into any other
|
||||
software (possibly commercial). But some files in the distribution
|
||||
are not written by the author, so that they are not under these terms.
|
||||
|
||||
For the list of those files and their copying conditions, see the
|
||||
file LEGAL.
|
||||
|
||||
5. The scripts and library files supplied as input to or produced as
|
||||
output from the software do not automatically fall under the
|
||||
copyright of the software, but belong to whomever generated them,
|
||||
and may be sold commercially, and may be aggregated with this
|
||||
software.
|
||||
|
||||
6. THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
|
||||
IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
|
||||
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||
PURPOSE.
|
@ -1,8 +1,8 @@
|
||||
DIST gimp-2.6.11-underlinking.patch.xz 5544 SHA256 5e7f2f16b8fe9b186b94cbe4cea1cda6242b066c07d36ca4907e276e32976d56 SHA512 ea9e2bac2b00152d0cfe183fdd08d1298c17d18e0f80fda93494adbef336bcbbe9528d94d3ea73648324916142ebda2769d6a88e2eb58a32d64120cf840a6973 WHIRLPOOL f56b217a14239adf96cce031465f8b65cd2d3a7bf2b64ca1d2ba3c2ee8e73fc07a6c7be416cc6863654396e87d441021257f6b2dca5245a551759ffc49da3ca7
|
||||
DIST gimp-2.6.11.tar.bz2 16473561 SHA256 9b6d08d0803b3912ea596d1b77b9c21ee13778c23388a225c004b8c1587cb0a1
|
||||
DIST gimp-2.6.11.tar.bz2 16473561 SHA256 9b6d08d0803b3912ea596d1b77b9c21ee13778c23388a225c004b8c1587cb0a1 SHA512 51aa40c914fe9ea9214196dd01a9afcf688fef032af1f83b5895a5ab1911ee861f177580a417d9b533fe1dec6a4fca630f90cdc6d27d14a4d5560b336ab31c43 WHIRLPOOL 13be7f4ef92ee73a0d14e7a5b8e750361efb7f0462d862127e5928c2ee707b2bd866fb426304ac738b37a9d03a97fdfae2c717fef34baef13e156fbf71d666e2
|
||||
DIST gimp-2.6.12.tar.bz2 16745411 SHA256 d553c9f1c07f59fa7b7ce9cc5f84ce59bf4e9dfb5b6ee4bd8718b74b947aec62 SHA512 4afd136510857adf68f7c85b34138ccf3d9e0499ac526481239e5d5bf0cbe400186c57b688b0818c3b372ed2c57bdeba8a1fb456fa0e82590495a4425393969f WHIRLPOOL 310c598dba3202713fa48f776494fe9a7d09ab7cd39538cff5d3f021af6c13c2ece0f30e84d1dd0fbbbb095584995a998700292ce995338648ff37fc7824f34c
|
||||
DIST gimp-2.7.3.tar.bz2 18206530 SHA256 669811e66c6a5dffdca0df3f39f699b3a013aa5634447d9b90268f4068a8a4d9
|
||||
DIST gimp-2.7.4.tar.bz2 18600581 SHA256 6c0690d5c4e58423308169a2419b684d05e06bd346cded9e081be470a5f93710
|
||||
DIST gimp-2.7.5.tar.bz2 19777338 SHA256 6d38a1d1213544ea09d74e7ca91fbe0c7e7128fb9296a1dd97253dc0e3a2fe96
|
||||
DIST gimp-2.8.0-RC1.tar.bz2 20004191 SHA256 e78f9aedddd6afd14d3c2c3c3aaee9eda3c495f85a566e63d60ded88ce52bb3f
|
||||
DIST gimp-2.8.0.tar.bz2 20142440 SHA256 dd6cee080d18faefa010ba4823e60ee7c49a4d1574a78c6dfb590592a09f2dcc
|
||||
DIST gimp-2.8.0.tar.bz2 20142440 SHA256 dd6cee080d18faefa010ba4823e60ee7c49a4d1574a78c6dfb590592a09f2dcc SHA512 74f3ff591235932987c521582dcee6fd67f8821087e3b0c5e5d85c49e9cc8a9def1edd0d7e6bdf6363a6aea16063e12fd7a92dc788cc0cb7731a9cb298b21b6d WHIRLPOOL 3d27934d903e4dd1403a2de62b1aa293516f3bb0317be27881d900133ac6929f279e17b71465abf4ae3f190677534098f940c2a3963e8beccc56c9f942138eff
|
||||
|
@ -1,4 +1,2 @@
|
||||
DIST jhead-2.90.tar.gz 64390 SHA256 d18f862349f6d65560de12510f5cc9068b65dda7394b13fdeb6155a4933e0de8
|
||||
DIST jhead-2.94.tar.gz 64628 SHA256 4a5080145a8a1eff60c1997fd7728d72f0229a0837b154c3d5f063ef4d682ee3
|
||||
DIST jhead-2.95.tar.gz 64700 SHA256 e796504441c1febe95fc76a947589f1b5d5bbeee0a91f50ead45906961250e3d
|
||||
DIST jhead-2.96.tar.gz 66235 SHA256 9fadfe6ad285cac29f328eaa7bc646d7f713eef22a7e9a9fb5b098da0b7b37c4
|
||||
DIST jhead-2.96.tar.gz 66235 SHA256 9fadfe6ad285cac29f328eaa7bc646d7f713eef22a7e9a9fb5b098da0b7b37c4 SHA512 819d78d15b9024a3b03af07ac282ff050c0e817d9f3d79afb0c8ecb1a2003045ad01397e8e84ce84139bd470619d28d66293a395f80bb929a9e6863f2f7d4f25 WHIRLPOOL e9dfc8dc2401199c83b17f0aed0ed13ccdbf4feae7341553623bf714898758e6633c541d2fa2216dcbfcb26a7aad02dfaf7246f5013a015cae08c1c8d76fa5f6
|
||||
|
@ -1,32 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-gfx/jhead/jhead-2.90.ebuild,v 1.9 2012/03/06 22:02:09 ranger Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="Exif Jpeg camera setting parser and thumbnail remover"
|
||||
HOMEPAGE="http://www.sentex.net/~mwandel/jhead"
|
||||
SRC_URI="http://www.sentex.net/~mwandel/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
IUSE=""
|
||||
|
||||
src_prepare() {
|
||||
# bug 275200 - respect flags and use mktemp instead of mkstemp
|
||||
epatch "${FILESDIR}"/${P}-mkstemp_respect_flags.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ${PN}
|
||||
dodoc *.txt
|
||||
dohtml *.html
|
||||
doman ${PN}.1
|
||||
}
|
@ -1,32 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-gfx/jhead/jhead-2.94.ebuild,v 1.1 2012/03/01 10:44:43 radhermit Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="Exif Jpeg camera setting parser and thumbnail remover"
|
||||
HOMEPAGE="http://www.sentex.net/~mwandel/jhead"
|
||||
SRC_URI="http://www.sentex.net/~mwandel/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
IUSE=""
|
||||
|
||||
src_prepare() {
|
||||
# bug 275200 - respect flags and use mktemp instead of mkstemp
|
||||
epatch "${FILESDIR}"/${PN}-2.90-mkstemp_respect_flags.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ${PN}
|
||||
dodoc *.txt
|
||||
dohtml *.html
|
||||
doman ${PN}.1
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST pngcrush-1.7.25-nolib.tar.xz 48796 RMD160 f9163175a241754d327ba89d4739097d9cff966c SHA1 0dead389a92ce7920735639d284989e556439268 SHA256 6d1df06ff1993c6a4725f735dcb74c9c9c5e8b694f7e92abcafb336405afe6c3
|
||||
DIST pngcrush-1.7.27-nolib.tar.xz 49248 RMD160 a823a144d2126ec258b22f46f29763be63e404dc SHA1 87b897a4d464a88e19e1df1eee989f04feb2aa80 SHA256 92ef50bb4d74af68f60256f76463a2db23a0ccf84ea6e144c8d4133c4893efdd
|
||||
DIST pngcrush-1.7.28-nolib.tar.xz 49356 RMD160 158f52a1d7f8f6f0aab5dec69c85780a42dbff41 SHA1 80647f7dd385453d6dc7a2b1fc8f28d4ca766489 SHA256 c083f5cb1ec9f03173214e38f5b9e0598d35fe5a8f3b12bcea680a75e559d5da
|
||||
DIST pngcrush-1.7.25-nolib.tar.xz 48796 SHA256 6d1df06ff1993c6a4725f735dcb74c9c9c5e8b694f7e92abcafb336405afe6c3
|
||||
DIST pngcrush-1.7.27-nolib.tar.xz 49248 SHA256 92ef50bb4d74af68f60256f76463a2db23a0ccf84ea6e144c8d4133c4893efdd SHA512 8d2b10952aada0bfb984a04f474c35cfd9b441e0ce12bef4c6efda5548feb414f306314d7889f8957ca8ae6d709ccde6951355e662d4904c96478445764632e2 WHIRLPOOL 2d628dc1bd58f426b2cf26edf97f36626242d55787e2a5629561e162874dfb4a4876e5eab276ca4b59779ab8e4a4641628034e9f7865ba0ba2a7902e8a4ff919
|
||||
DIST pngcrush-1.7.28-nolib.tar.xz 49356 SHA256 c083f5cb1ec9f03173214e38f5b9e0598d35fe5a8f3b12bcea680a75e559d5da SHA512 e022127ef2d7fadb566eb523316d4de9ae79e195cd3cf21eca0b88beeed166b66d69db7d8459064b200b7144d0ec537ddaeccdb9f23a8901ba71cf8742a6e549 WHIRLPOOL 38bfdf43680db6a3f29b12c0598ab7be5754fcd15a72cd4dec41a40749ca118d2492550114db0f3db105f9af7b1fd68fbf22b7e68a04051756e5a5f6d1e8c7af
|
||||
DIST pngcrush-1.7.31-nolib.tar.xz 49600 SHA256 9bf4195f16c513e764d1ed4a57fd240e5886877517fce5e6a49d82c4649fe89e SHA512 3daedf26b12829b5c02e09fa79d901a764a0bd68240795610dd41eaf9dfe9204776e71a88f8ad3e36c137ec1849e385f9cb714335a6267327531731bebfbe607 WHIRLPOOL 9c9cbfef955ceba53562954225406e233b975bcad671874124f771289cc6ea898a158bd1b94c60b9460c0e99e47ed02604bd12267b5c0e41d4bdbd87cb87af86
|
||||
|
@ -0,0 +1,38 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-gfx/pngcrush/pngcrush-1.7.31.ebuild,v 1.1 2012/07/11 23:11:26 radhermit Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MY_P=${P}-nolib
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Portable Network Graphics (PNG) optimizing utility"
|
||||
HOMEPAGE="http://pmt.sourceforge.net/pngcrush/"
|
||||
SRC_URI="mirror://sourceforge/pmt/${MY_P}.tar.xz"
|
||||
|
||||
LICENSE="as-is"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=media-libs/libpng-1.4:0
|
||||
sys-libs/zlib"
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/xz-utils"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_compile() {
|
||||
emake \
|
||||
CC="$(tc-getCC)" \
|
||||
LD="$(tc-getCC)" \
|
||||
CFLAGS="${CFLAGS} -Wall" \
|
||||
LDFLAGS="${LDFLAGS}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ${PN}
|
||||
dohtml ChangeLog.html
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST libbs2b-3.0.0.tar.bz2 257109 RMD160 f5631a52c604335e8018c70316c8613fea9a8343 SHA1 72a0256a93e5feef0b20ef570d28d0ecf005b4ff SHA256 8f835d8317b600cf127d65bbab6c5f5a1aae5dde576e5e55a3ad1397d398ede5
|
||||
DIST libbs2b-3.1.0.tar.bz2 606283 RMD160 ebcaa4f7d038efa97db7545a73937450ab502d5a SHA1 353180e0f260b074508c6ddb34259b0d08a12dd7 SHA256 4799974becdeeedf0db00115bc63f60ea3fe4b25f1dfdb6903505839a720e46f
|
||||
DIST libbs2b-3.1.0.tar.bz2 606283 SHA256 4799974becdeeedf0db00115bc63f60ea3fe4b25f1dfdb6903505839a720e46f
|
||||
|
@ -1,13 +0,0 @@
|
||||
Index: libbs2b-3.0.0/src/bs2b.c
|
||||
===================================================================
|
||||
--- libbs2b-3.0.0.orig/src/bs2b.c
|
||||
+++ libbs2b-3.0.0/src/bs2b.c
|
||||
@@ -22,7 +22,7 @@
|
||||
*/
|
||||
|
||||
#include <math.h>
|
||||
-#include <malloc.h>
|
||||
+#include <stdlib.h>
|
||||
#include <memory.h>
|
||||
|
||||
#include "bs2b.h"
|
@ -1,25 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/libbs2b/libbs2b-3.0.0.ebuild,v 1.7 2012/05/05 08:02:25 jdhore Exp $
|
||||
|
||||
inherit base
|
||||
|
||||
DESCRIPTION="Bauer stereophonic-to-binaural DSP library"
|
||||
HOMEPAGE="http://bs2b.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/bs2b/${P}.tar.bz2"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="media-libs/libsndfile"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
PATCHES=("${FILESDIR}/${P}-freebsd.patch")
|
||||
|
||||
src_install()
|
||||
{
|
||||
emake install DESTDIR="${D}" || die "emake install failed"
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST libcue-1.3.0.tar.bz2 258077 RMD160 d41be6f656580905a88b83fb291d442750e21f46 SHA1 74c605ae853df5ca23944c2dc39d1acffadb7b80 SHA256 22d859c55c58589404e818b06347bf00324d0eec0803a830604e20d8554d8d3d
|
||||
DIST libcue-1.4.0.tar.bz2 249426 RMD160 1339ba7ed4ce63c4b7849c10cca89b89e16e4aee SHA1 3fd31f2da7c0e3967d5f56363f3051a85a8fd50d SHA256 8b7276ec2a2b3918cbc59a3cc03c68dc0775965cc20e4b88757b852ff369729e
|
||||
DIST libcue-1.4.0.tar.bz2 249426 SHA256 8b7276ec2a2b3918cbc59a3cc03c68dc0775965cc20e4b88757b852ff369729e
|
||||
|
@ -1,22 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/libcue/libcue-1.3.0.ebuild,v 1.13 2010/01/16 14:13:16 klausman Exp $
|
||||
|
||||
EAPI=2
|
||||
DESCRIPTION="CUE Sheet Parser Library"
|
||||
HOMEPAGE="http://libcue.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ppc ppc64 sh sparc x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="sys-devel/flex
|
||||
|| ( dev-util/yacc sys-devel/bison )"
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
dodoc AUTHORS ChangeLog NEWS
|
||||
}
|
@ -1,3 +1 @@
|
||||
DIST libfishsound-0.9.1.tar.gz 485127 RMD160 1fc64b0ddf455401aa75544cebaf671bd7505f88 SHA1 1c587f55265a024911442a61b538c308f1f185c0 SHA256 2f2d651bb106509abd662a0cfd55769a323a0d0bd33c1cc56a4756f3b1693368
|
||||
DIST libfishsound-0.9.2.tar.gz 436119 RMD160 07972b131ee1bb681217b591697cf1bff275c8f2 SHA1 579875a51f51cdf85ecf60d15aac15534cb9a23a SHA256 ddc3eba9ca33abe5e613579079bf8a4978a5ada46722b2e99572819aaffc6642
|
||||
DIST libfishsound-1.0.0.tar.gz 444980 RMD160 49919da94696932ca88cc81bcc317a434ce67bc9 SHA1 5263dfaa12dce71e30c5d80f871d92869c6b5ce2 SHA256 2e0b57ce2fecc9375eef72938ed08ac8c8f6c5238e1cae24458f0b0e8dade7c7
|
||||
DIST libfishsound-1.0.0.tar.gz 444980 SHA256 2e0b57ce2fecc9375eef72938ed08ac8c8f6c5238e1cae24458f0b0e8dade7c7
|
||||
|
@ -1,42 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/libfishsound/libfishsound-0.9.1.ebuild,v 1.4 2010/03/08 06:35:48 sping Exp $
|
||||
|
||||
DESCRIPTION="Simple programming interface for decoding and encoding audio data using vorbis or speex"
|
||||
HOMEPAGE="http://www.xiph.org/fishsound/"
|
||||
SRC_URI="http://downloads.xiph.org/releases/libfishsound/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="doc vorbis"
|
||||
|
||||
RDEPEND="vorbis? ( media-libs/libvorbis media-libs/libogg )
|
||||
media-libs/speex"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( app-doc/doxygen virtual/latex-base )"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
use doc || sed -i -e "s/doxygen/doxygen-dummy/" configure
|
||||
rm -rf "${S}/doc/libfishsound"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local myconf
|
||||
use vorbis || myconf="--disable-vorbis"
|
||||
econf $myconf
|
||||
|
||||
emake || die "emake failed"
|
||||
if use doc; then
|
||||
export VARTEXFONTS="${T}/fonts"
|
||||
cd "${S}/doc/libfishsound/latex"
|
||||
emake refman.ps || die "failed to create refman.ps"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
dodoc AUTHORS ChangeLog README
|
||||
}
|
@ -1,48 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/libfishsound/libfishsound-0.9.2.ebuild,v 1.4 2012/05/05 08:02:35 jdhore Exp $
|
||||
|
||||
DESCRIPTION="Simple programming interface for decoding and encoding audio data using vorbis or speex"
|
||||
HOMEPAGE="http://www.xiph.org/fishsound/"
|
||||
SRC_URI="http://downloads.xiph.org/releases/libfishsound/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc speex"
|
||||
|
||||
RDEPEND="media-libs/libvorbis media-libs/libogg
|
||||
speex? ( media-libs/speex )"
|
||||
# flac? ( media-libs/flac )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
doc? ( app-doc/doxygen virtual/latex-base )"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
use doc || sed -i -e "s/doxygen/doxygen-dummy/" configure
|
||||
rm -rf "${S}/doc/libfishsound"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local myconf=""
|
||||
# use flac ||
|
||||
# disable it for now, it causes compile failures in sonic-visualiser because
|
||||
# it adds -I/usr/include/FLAC to pkgconfig cflags...
|
||||
myconf="$myconf --disable-flac"
|
||||
use speex || myconf="$myconf --disable-speex"
|
||||
econf $myconf
|
||||
|
||||
emake || die "emake failed"
|
||||
if use doc; then
|
||||
export VARTEXFONTS="${T}/fonts"
|
||||
cd "${S}/doc/libfishsound/latex"
|
||||
emake refman.ps || die "failed to create refman.ps"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
dodoc AUTHORS ChangeLog README
|
||||
}
|
@ -1,3 +1 @@
|
||||
DIST libpano13-2.9.14.tar.gz 2501559 RMD160 bc49c85e8ab11eaeb48898fcf3b9e4ac75c121c4 SHA1 c6e74acdda64ce7d41abe7d95f291dc59de751a5 SHA256 57949787a886de7d7198f4de1b6213e6b7a3099e7099fbf18950e9ab9fe2eeef
|
||||
DIST libpano13-2.9.17.tar.gz 2735157 RMD160 3a54295bfadbbd32009a8628968c723c7017f2df SHA1 418689985ea622bc234cd4eccec42180c12821b2 SHA256 a22ab0c92f50a9de13858a8bd4e0e8dca9274c413941482b382104de019f99fd
|
||||
DIST libpano13-2.9.18.tar.gz 2723032 RMD160 2309dc8d932a5ea80cb4b22bffa3e9d39539aa58 SHA1 23849bdbdfc9176a2b53d157e58bd24aa0e7276e SHA256 de5d4e43f15c3430e95c0faa1c50c9503516e1b570d0ec0522f610a578caa172
|
||||
DIST libpano13-2.9.18.tar.gz 2723032 SHA256 de5d4e43f15c3430e95c0faa1c50c9503516e1b570d0ec0522f610a578caa172
|
||||
|
@ -1,99 +0,0 @@
|
||||
https://bugs.launchpad.net/panotools/+bug/719076
|
||||
|
||||
$NetBSD: patch-png.c,v 1.1 2011/02/07 01:03:35 wiz Exp $
|
||||
|
||||
Fix build with png-1.5.
|
||||
|
||||
--- png.c
|
||||
+++ png.c
|
||||
@@ -56,7 +56,7 @@ int writePNG( Image *im, fullPath *sfile
|
||||
}
|
||||
|
||||
/* set error handling */
|
||||
- if (setjmp(png_ptr->jmpbuf))
|
||||
+ if (setjmp(png_jmpbuf(png_ptr)))
|
||||
{
|
||||
/* If we get here, we had a problem reading the file */
|
||||
fclose(outfile);
|
||||
@@ -68,14 +68,15 @@ int writePNG( Image *im, fullPath *sfile
|
||||
png_init_io(png_ptr, outfile);
|
||||
|
||||
FourToThreeBPP( im );
|
||||
- info_ptr->width = im->width;
|
||||
- info_ptr->height = im->height;
|
||||
- info_ptr->bit_depth = (im->bitsPerPixel > 32 ? 16 : 8);
|
||||
- info_ptr->color_type = PNG_COLOR_TYPE_RGB;
|
||||
+ png_set_IHDR(png_ptr, info_ptr, im->width, im->height,
|
||||
+ (im->bitsPerPixel > 32 ? 16 : 8), PNG_COLOR_TYPE_RGB,
|
||||
+ 0, PNG_COMPRESSION_TYPE_BASE, PNG_FILTER_TYPE_BASE);
|
||||
+
|
||||
+#if 0
|
||||
info_ptr->channels = (png_byte)(im->bitsPerPixel / info_ptr->bit_depth);
|
||||
info_ptr->pixel_depth = (png_byte)(im->bitsPerPixel);
|
||||
info_ptr->rowbytes = im->bytesPerLine;
|
||||
- info_ptr->interlace_type= 0;
|
||||
+#endif
|
||||
|
||||
png_write_info(png_ptr, info_ptr);
|
||||
|
||||
@@ -120,6 +121,7 @@ int readPNG ( Image *im, fullPath *sfile
|
||||
png_bytep *row_pointers;
|
||||
int row;
|
||||
unsigned long dataSize;
|
||||
+ int color_type;
|
||||
|
||||
#ifdef __Mac__
|
||||
unsigned char the_pcUnixFilePath[256];//added by Kekus Digital
|
||||
@@ -165,7 +167,7 @@ int readPNG ( Image *im, fullPath *sfile
|
||||
}
|
||||
|
||||
/* set error handling if you are using the setjmp/longjmp method */
|
||||
- if (setjmp(png_ptr->jmpbuf))
|
||||
+ if (setjmp(png_jmpbuf(png_ptr)))
|
||||
{
|
||||
/* Free all of the memory associated with the png_ptr and info_ptr */
|
||||
png_destroy_read_struct(&png_ptr, &info_ptr, (png_infopp)NULL);
|
||||
@@ -182,9 +184,10 @@ int readPNG ( Image *im, fullPath *sfile
|
||||
/* read the file information */
|
||||
png_read_info(png_ptr, info_ptr);
|
||||
|
||||
- if( info_ptr->color_type != PNG_COLOR_TYPE_RGB &&
|
||||
- info_ptr->color_type != PNG_COLOR_TYPE_PALETTE &&
|
||||
- info_ptr->color_type != PNG_COLOR_TYPE_RGB_ALPHA)
|
||||
+ color_type = png_get_color_type(png_ptr, info_ptr);
|
||||
+ if( color_type != PNG_COLOR_TYPE_RGB &&
|
||||
+ color_type != PNG_COLOR_TYPE_PALETTE &&
|
||||
+ color_type != PNG_COLOR_TYPE_RGB_ALPHA)
|
||||
{
|
||||
PrintError(" Only rgb images supported");
|
||||
png_destroy_read_struct(&png_ptr, &info_ptr, (png_infopp)NULL);
|
||||
@@ -194,24 +197,17 @@ int readPNG ( Image *im, fullPath *sfile
|
||||
|
||||
|
||||
/* expand paletted colors into true RGB triplets */
|
||||
- if (info_ptr->color_type == PNG_COLOR_TYPE_PALETTE)
|
||||
+ if (color_type == PNG_COLOR_TYPE_PALETTE)
|
||||
png_set_expand(png_ptr);
|
||||
|
||||
|
||||
SetImageDefaults( im );
|
||||
|
||||
- im->width = info_ptr->width;
|
||||
- im->height = info_ptr->height;
|
||||
- im->bytesPerLine = info_ptr->rowbytes;
|
||||
- im->bitsPerPixel = info_ptr->pixel_depth;
|
||||
+ im->width = png_get_image_width(png_ptr, info_ptr);
|
||||
+ im->height = png_get_image_height(png_ptr, info_ptr);
|
||||
+ im->bytesPerLine = png_get_rowbytes(png_ptr, info_ptr);
|
||||
im->dataSize = im->height * im->bytesPerLine;
|
||||
- if( im->bitsPerPixel == 24 )
|
||||
- dataSize = im->width * im->height * 4;
|
||||
- else if( im->bitsPerPixel == 48 )
|
||||
- dataSize = im->width * im->height * 8;
|
||||
- else
|
||||
- dataSize = im->width * im->height * im->bitsPerPixel/8;
|
||||
-
|
||||
+ im->bitsPerPixel = 8 * im->bytesPerLine / im->width;
|
||||
|
||||
im->data = (unsigned char**)mymalloc( (dataSize > im->dataSize ? dataSize : im->dataSize) );
|
||||
if( im->data == NULL ){
|
@ -1,32 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/libpano13/libpano13-2.9.14.ebuild,v 1.5 2010/11/08 22:13:38 maekke Exp $
|
||||
|
||||
inherit eutils versionator java-pkg-opt-2
|
||||
|
||||
DESCRIPTION="Helmut Dersch's panorama toolbox library"
|
||||
HOMEPAGE="http://panotools.sf.net"
|
||||
SRC_URI="mirror://sourceforge/panotools/${P}.tar.gz"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
IUSE="java"
|
||||
|
||||
DEPEND="media-libs/libpng
|
||||
media-libs/tiff
|
||||
sys-libs/zlib
|
||||
virtual/jpeg
|
||||
java? ( >=virtual/jdk-1.3 )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${PN}-$(get_version_component_range 1-3)"
|
||||
|
||||
src_compile() {
|
||||
econf $(use_with java java ${JAVA_HOME})
|
||||
emake || die "Build failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR="${D}" install || die "Install failed"
|
||||
dodoc README README.linux AUTHORS NEWS doc/*.txt
|
||||
}
|
@ -1,49 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/libpano13/libpano13-2.9.17.ebuild,v 1.6 2011/06/24 16:40:44 ranger Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit eutils versionator java-pkg-opt-2
|
||||
|
||||
DESCRIPTION="Helmut Dersch's panorama toolbox library"
|
||||
HOMEPAGE="http://panotools.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/panotools/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
IUSE="java static-libs"
|
||||
|
||||
DEPEND="media-libs/libpng
|
||||
media-libs/tiff
|
||||
sys-libs/zlib
|
||||
virtual/jpeg
|
||||
java? ( >=virtual/jdk-1.3 )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${PN}-$(get_version_component_range 1-3)"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-libpng-1.5.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_with java java ${JAVA_HOME}) \
|
||||
$(use_enable static-libs static)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die
|
||||
dodoc README README.linux AUTHORS NEWS doc/*.txt
|
||||
|
||||
if ! use static-libs ; then
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn "you should remerge all reverse dependencies (media-gfx/hugin and"
|
||||
ewarn "media-gfx/autopano-sift-C) as they might not work anymore"
|
||||
}
|
@ -1,3 +1 @@
|
||||
DIST libvorbis-1.3.1.tar.bz2 1218287 SHA256 42485c40cfe903dd21e12be01d151bd71c4e54403df492b0ecaf70f31254cfe0 SHA512 0a485a87bb782af14719eb1c6fb796a864874c993f81a934eab4a9298594e16c51f454b1c610f56390261fca86ddf213af34143276f2ceb38595131cf798d2c8 WHIRLPOOL 738f2cbf995e01a822575ac10800ebe0ed395ecc57a142ac3bd83c8d8bd252839d44bd269c8eeb371d9aaf298444721a8fd348173d084174b308d4aa6b837c10
|
||||
DIST libvorbis-1.3.2.tar.xz 994280 SHA256 43242e7c10253c0697da52dd0799bbad3ee1c392b99568f6c56a610712f1b916 SHA512 21acfd8bdb82a318c85a059e1de8b4d18c498a3985fe904e17e8592faad8989ba0ab4a124cba64311c1e76f78ae5e948c83684a4a418ef0ca7608f2fc010ea73 WHIRLPOOL e8365608fc2d44ff59388afc5db25859bc890384ab549b812b23ca580a0bef7a202529872986f226f5692c479428789cd89ab70a91b14b5edf7901324bccc1a7
|
||||
DIST libvorbis-1.3.3.tar.xz 1087888 SHA256 834c7d35a5ebf4e7b8ab60b0979f2b7f204ca66ff6829728e9d2a67f15347ebd
|
||||
DIST libvorbis-1.3.3.tar.xz 1087888 SHA256 834c7d35a5ebf4e7b8ab60b0979f2b7f204ca66ff6829728e9d2a67f15347ebd SHA512 6b579517b9caba293ccf88c8806689076ef9c122e5424c704a81a4c461dbc67147dadee1b9a7a678a75c95ab9ed17b98ac1a5da6e2bcd6f7eab19c17616d529f WHIRLPOOL c571a2ace83dbe78f5b7d12d14bc1caba185d1cda67695ee39f73cb6de6eb372e55377675779024086f3a77ebb3be3f9627b0f329b2f540cc944236715608c65
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue