parent
2dcecd538d
commit
1ac95cc66f
@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-metasploit/eselect-metasploit-0.13.ebuild,v 1.1 2014/04/25 16:28:42 zerochaos Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit multilib
|
||||
|
||||
DESCRIPTION="eselect module for metasploit"
|
||||
HOMEPAGE="http://www.pentoo.ch/"
|
||||
SRC_URI=""
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="app-admin/eselect
|
||||
!<net-analyzer/metasploit-4.6"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
src_install() {
|
||||
#force to use the outdated bundled version of metasm
|
||||
doenvd "${FILESDIR}"/91metasploit
|
||||
|
||||
newinitd "${FILESDIR}"/msfrpcd.initd msfrpcd
|
||||
newconfd "${FILESDIR}"/msfrpcd.confd msfrpcd
|
||||
|
||||
insinto /usr/share/eselect/modules
|
||||
newins "${FILESDIR}/metasploit.eselect-${PV}" metasploit.eselect
|
||||
|
||||
newbin "${FILESDIR}"/msfloader-${PV} msfloader
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
"${EROOT}"/usr/bin/eselect metasploit set --use-old 1
|
||||
elog "To switch between installed slots, execute as root:"
|
||||
elog " # eselect metasploit set [slot number]"
|
||||
}
|
@ -0,0 +1,207 @@
|
||||
# -*-eselect-*- vim: ft=eselect
|
||||
# Copyright 2005-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2 or later
|
||||
# $
|
||||
|
||||
DESCRIPTION="Control which metaploit version is active"
|
||||
MAINTAINER="zerochaos@pentoo.ch"
|
||||
|
||||
###WARNING: don't even think of using this insanity for a reference (but it works,mostly)
|
||||
#base idea from kernel.eselect, get_libdir from php.eselect with --use-old from opencl.eselect
|
||||
#all modified randomly until it worked, entropy is wonderful
|
||||
###/WARNING
|
||||
|
||||
inherit multilib
|
||||
|
||||
get_libdir() {
|
||||
local dir
|
||||
if has lib64 $(list_libdirs); then
|
||||
echo lib64
|
||||
return
|
||||
fi
|
||||
echo lib
|
||||
}
|
||||
|
||||
MSFPATH="/usr/$(get_libdir)/metasploit"
|
||||
|
||||
# find a list of metasploit symlink targets and sort them
|
||||
find_targets() {
|
||||
local f
|
||||
for f in "${EROOT}${MSFPATH}"[[:digit:]]*; do
|
||||
[[ -d ${f} ]] && basename "${f}"
|
||||
done | LC_ALL=C sort
|
||||
}
|
||||
|
||||
# remove the metasploit symlink
|
||||
remove_symlink() {
|
||||
for i in $(qlist metasploit | grep $(canonicalise "${EROOT}${MSFPATH}")/msf)
|
||||
do
|
||||
if [ -L /usr/bin/$(echo ${i} | awk -F'/' '{print $5}') ]; then
|
||||
unlink /usr/bin/$(echo ${i} | awk -F'/' '{print $5}') || die -q "failed to unlink ${i}"
|
||||
fi
|
||||
done
|
||||
if [ -L ${EROOT}${MSFPATH} ]; then
|
||||
unlink "${EROOT}${MSFPATH}" || die -q "failed to unlink ${EROOT}${MSFPATH}"
|
||||
elif [ -e ${EROOT}${MSFPATH} ]; then
|
||||
die -q "${EROOT}${MSFPATH} exists but is not a symlink"
|
||||
fi
|
||||
}
|
||||
|
||||
# set the metasploit symlink
|
||||
set_symlink() {
|
||||
local target=$1
|
||||
|
||||
if is_number "${target}"; then
|
||||
local targets=( $(find_targets) )
|
||||
target=${targets[target-1]}
|
||||
fi
|
||||
|
||||
if [[ -z ${target} ]]; then
|
||||
die -q "Target \"$1\" doesn't appear to be valid!"
|
||||
elif [[ -d ${EROOT}/usr/$(get_libdir)/${target} ]]; then
|
||||
ln -s "${target}" "${EROOT}${MSFPATH}"
|
||||
for i in $(qlist metasploit | grep /usr/$(get_libdir)/${target}/msf)
|
||||
do
|
||||
ln -s /usr/bin/msfloader /usr/bin/$(echo ${i} | awk -F'/' '{print $5}')
|
||||
done
|
||||
#this elif looks like it is trying to support setting by slot only,
|
||||
#but that isn't supported by the rest of the script... fix or remove?
|
||||
elif [[ -d ${EROOT}${MSFPATH}${target} ]]; then
|
||||
ln -s "metasploit${target}" "${EROOT}${MSFPATH}"
|
||||
for i in $(qlist metasploit | grep /usr/$(get_libdir)/${target}/msf)
|
||||
do
|
||||
ln -s /usr/bin/msfloader /usr/bin/$(echo ${i} | awk -F'/' '{print $5}')
|
||||
done
|
||||
else
|
||||
die -q "Target \"$1\" doesn't appear to be valid!"
|
||||
fi
|
||||
}
|
||||
|
||||
# wrapper to safely set the symlink
|
||||
set_symlink_safe() {
|
||||
if [[ -L ${EROOT}${MSFPATH} ]]; then
|
||||
# existing symlink
|
||||
remove_symlink || die -q "Couldn't remove existing symlink"
|
||||
set_symlink "$1" || die -q "Couldn't set a new symlink"
|
||||
#um, why is there an env-update here?
|
||||
env-update
|
||||
elif [[ -e ${EROOT}${MSFPATH} ]]; then
|
||||
# we have something strange
|
||||
die -q "${EROOT}${MSFPATH} exists but is not a symlink"
|
||||
else
|
||||
set_symlink "$1" || die -q "Couldn't set a new symlink"
|
||||
fi
|
||||
}
|
||||
|
||||
### show action ###
|
||||
|
||||
describe_show() {
|
||||
echo "Show the current metasploit symlink"
|
||||
}
|
||||
|
||||
do_show() {
|
||||
write_list_start "Current metasploit symlink:"
|
||||
if [[ -L ${EROOT}${MSFPATH} ]]; then
|
||||
local metasploit=$(canonicalise "${EROOT}${MSFPATH}")
|
||||
write_kv_list_entry "${metasploit%/}" ""
|
||||
else
|
||||
write_kv_list_entry "(unset)" ""
|
||||
fi
|
||||
}
|
||||
|
||||
### list action ###
|
||||
|
||||
describe_list() {
|
||||
echo "List available metasploit symlink targets"
|
||||
}
|
||||
|
||||
do_list() {
|
||||
local i targets=( $(find_targets) )
|
||||
|
||||
write_list_start "Available metasploit symlink targets:"
|
||||
for (( i = 0; i < ${#targets[@]}; i++ )); do
|
||||
[[ ${targets[i]} = \
|
||||
$(basename "$(canonicalise "${EROOT}${MSFPATH}")") ]] \
|
||||
&& targets[i]=$(highlight_marker "${targets[i]}")
|
||||
done
|
||||
write_numbered_list -m "(none found)" "${targets[@]}"
|
||||
}
|
||||
|
||||
### set action ###
|
||||
|
||||
describe_set() {
|
||||
echo "Set a new metasploit symlink target"
|
||||
}
|
||||
|
||||
describe_set_parameters() {
|
||||
echo "<target>"
|
||||
}
|
||||
|
||||
describe_set_options() {
|
||||
echo "<target> : Target name or number (from 'list' action)"
|
||||
echo "--use-old : If an implementation is already set, use that one instead"
|
||||
}
|
||||
|
||||
do_set() {
|
||||
local action="error"
|
||||
local current=$(basename "$(canonicalise "${EROOT}${MSFPATH}")")
|
||||
local available=( $(find_targets) )
|
||||
local new
|
||||
local opt
|
||||
|
||||
while [[ ${#@} -gt 0 ]] ; do
|
||||
opt=$1
|
||||
shift
|
||||
case ${opt} in
|
||||
--use-old)
|
||||
if [[ -n "${current}" ]] && has "${current}" "${available[@]}"; then
|
||||
action="old-implementation"
|
||||
fi
|
||||
;;
|
||||
metasploit*)
|
||||
if [[ "${action}" != "old-implementation" ]] ; then
|
||||
action="set-implementation"
|
||||
fi
|
||||
|
||||
if has ${opt} ${available[@]}; then
|
||||
new="${opt}"
|
||||
else
|
||||
echo "You need to emerge ${opt} before you try to eselect it"
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
if [[ "${action}" != "old-implementation" ]] ; then
|
||||
action="set-implementation"
|
||||
fi
|
||||
|
||||
if is_number ${opt} ; then
|
||||
#targets=( $(get_implementations) )
|
||||
new=${available[opt - 1]}
|
||||
if [[ -z ${new} ]] ; then
|
||||
die -q "Unrecognized option: ${opt}"
|
||||
fi
|
||||
else
|
||||
die -q "Unrecognized option: ${opt}"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
case ${action} in
|
||||
old-implementation)
|
||||
set_symlink_safe ${current}
|
||||
return $?
|
||||
;;
|
||||
set-implementation)
|
||||
if [[ -n ${new} ]] ; then
|
||||
set_symlink_safe ${new}
|
||||
return $?
|
||||
else
|
||||
die -q "Please specify an implementation to set"
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
die -q "Invalid usage of set action."
|
||||
;;
|
||||
esac
|
||||
}
|
@ -0,0 +1,32 @@
|
||||
#!/bin/sh
|
||||
|
||||
#todo:
|
||||
#add in optional auto starting/stopping of postgres
|
||||
#check if Gemfile was modified before copying it EVERY time.
|
||||
|
||||
#normally msf makes this dir, however, this script runs first
|
||||
if [ ! -d ~/.msf4 ]; then
|
||||
mkdir ~/.msf4
|
||||
fi
|
||||
|
||||
#we cannot control if msf* exits normally so always start with cleanup
|
||||
if [ -f ~/.msf4/Gemfile ]; then
|
||||
rm ~/.msf4/Gemfile
|
||||
fi
|
||||
|
||||
#fetch the latest Gemfile from the selected version of msf
|
||||
cp /usr/lib/metasploit/Gemfile ~/.msf4
|
||||
|
||||
#ensure Gemfile.lock is up to date
|
||||
BUNDLE_GEMFILE=~/.msf4/Gemfile bundle check > /dev/null 2>&1
|
||||
if [ "$?" != "0" ]; then
|
||||
if [ -f ~/.msf4/Gemfile.lock ]; then
|
||||
rm ~/.msf4/Gemfile.lock
|
||||
else
|
||||
echo "Something went wrong, please open a bug for metasploit on https://bugs.gentoo.org"
|
||||
fi
|
||||
fi
|
||||
|
||||
#ready to go
|
||||
BUNDLE_GEMFILE=~/.msf4/Gemfile exec /usr/lib/metasploit/$(basename $0) "$@"
|
||||
#profit
|
@ -1,2 +1,3 @@
|
||||
DIST eselect-rails-0.18.tar.bz2 1628 SHA256 6dfcefd74cfb10e83c59d8594bd9e1d39ea40071b2c3a9a3e601a6107aa49671 SHA512 9f0e048ba0d865667e0917e8e08b5319f111816788c3821126c4d442ec3cc9c0466200a8889da420fb841f7b57ba5981cbb8a17d16fe634e550cbdfe618a3522 WHIRLPOOL cd117dafc480c2b6bb9b63a39047553d1d786dcbc711421dba25403309c9c814984aea0309db5d87643ddf165d143f915628c57e2d990d6cb3d2db04e40ada06
|
||||
DIST eselect-rails-0.19.tar.bz2 1618 SHA256 13d5054a1a890b6937612c69d1924faaacc6d6e3513dfb8f269bf9f9c6a4ad2f SHA512 4520bcf2bc72494f07bbf6831375d355ee61629d5a6877b0b3c4301a1bce22b0945b17e09533c531ce4b0ac4ed4079852f6f1bb950850181794c44650a450941 WHIRLPOOL 20f448244b51b3ae3b46a1b575081d73ccbe86484226804a5b6927579f4b826445917af82f0a458be4b623da022fbebb416ec565cc5411e096a533c462d88628
|
||||
DIST eselect-rails-0.20.tar.bz2 1622 SHA256 f01335820a8777d447c64b1de84f128cbd2db9a16fd6781b4c9c2c5aa3541bbc SHA512 a65519c5a5b2ea444c30c5a4082389eb3e4a96a72e4f845c5a6b01a1681264c44fb234dd46e7251085ca82b40b814fdd4bff3a42c10815b8b291657ce67a9e18 WHIRLPOOL 2d904fed60de465fb1ad1bf5abbd82f7c1807c98480eab617504cb09b6d3f1fd96f2a8795e0d373308b9052e40d7ddcf6ae95f22e1c839efb8af99b7454fd3e8
|
||||
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-rails/eselect-rails-0.20.ebuild,v 1.1 2014/04/26 05:48:43 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="Manages Ruby on Rails symlinks"
|
||||
HOMEPAGE="http://www.gentoo.org/"
|
||||
SRC_URI="http://dev.gentoo.org/~flameeyes/ruby-team/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=app-admin/eselect-1.2.0"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
src_prepare() {
|
||||
# Fix/Add Prefix support
|
||||
sed -i -e 's/\${ROOT}/${EROOT}/' *.eselect || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/eselect/modules
|
||||
doins *.eselect || die "doins failed"
|
||||
}
|
@ -1,4 +1,3 @@
|
||||
DIST system-config-printer-1.3.12.tar.xz 949008 SHA256 1905bd9fd382730a8eab80fa196b1c43bd19ce79c2169142de899697cbb1e9b1 SHA512 4e6c15b52287f2a69fabb6dafe6548874b8608f2f7a2e14534b100fbb46ad0f146b1e03a6aa4c2c9fe66dad96789454bd066616db0dd73b962bffeb478a7c6c5 WHIRLPOOL 0b8afe05a87103ef99dac50ab7db5f3fc6137de9b84e483ee3a481172e4c894e206b6d022303f1f11496a63b5698351a67070fb936f35293e83f5a20c5e21599
|
||||
DIST system-config-printer-1.3.13.tar.xz 955636 SHA256 9a6a4fbf61b1aafa061674719321846665ee7a4e7ab96dd4747069b0927d12a6 SHA512 046501d17c33a2ff72020b3d20210c5544c6310469cba1ca21cfaee7bb153915f850c102fbd5661e8f5ff6872c8400103346e71d258113405c5c0f752c5dffc1 WHIRLPOOL 9e44a26543de5375e45fdfb576511115f8e63f8e6a7865c7d1183660672e60b4f3f1f2027fe2677f71ca256997c89ad1281799256f102bf5aa56f57844f6f055
|
||||
DIST system-config-printer-1.4.2.tar.xz 888848 SHA256 f0e464435532f73cf8c328ceb1220f02ab2acfc1dcdec729cf5a0acf4193dbea SHA512 b98f668941a2300adc3ced6995d21e0e2f56b908d6cc26388c4101669453859317fb5b5c53762c7d486e6fe5a78cb35ce451495bbc4c330dd856cc0875b947ce WHIRLPOOL dab925199fb7a9f3b5abc544c69b9d64a3d798a7fcb4b5c1f37d62538f9d93ca64230b1601d0259696e289ba8fd535d0ea12cdf369700d486a13c23ee5a16688
|
||||
DIST system-config-printer-1.4.3.tar.xz 892132 SHA256 c14bb1b75929ccf31267da8cf774bed923c4ea3eb0deddcc255221c0b8844c0f SHA512 36584b7caa26765160beaf3cddc9b4e7bad05d93e3a7960911f2e6a129e7c811fabcd25cc728c2eb0c7aa14f0f1dd66425f2d767adc8ee6eaaa4a3a0b77d280f WHIRLPOOL cc955dd3c979b75bbb40a98c1ad13276f7775807c098ac97bf9c5cf37109f24073d2d886695e357f8a417ab34ce5aa8fea5cc7add4dddf4f67fb00c3fb529e45
|
||||
|
@ -1,83 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/system-config-printer-common/system-config-printer-common-1.4.2.ebuild,v 1.1 2013/10/20 08:27:13 pacho Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python2_{6,7} )
|
||||
PYTHON_REQ_USE="xml"
|
||||
|
||||
inherit autotools eutils python-single-r1 systemd
|
||||
|
||||
MY_P=${PN%-common}-${PV}
|
||||
|
||||
DESCRIPTION="Common modules of Red Hat's printer administration tool"
|
||||
HOMEPAGE="http://cyberelk.net/tim/software/system-config-printer/"
|
||||
SRC_URI="http://cyberelk.net/tim/data/${PN/-common}/${PV%.*}/${MY_P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86"
|
||||
SLOT="0"
|
||||
IUSE="doc policykit"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
# Needs cups running, bug 284005
|
||||
RESTRICT="test"
|
||||
|
||||
# system-config-printer split since 1.1.3
|
||||
#
|
||||
# Additional unhandled dependencies:
|
||||
# net-firewall/firewalld[${PYTHON_USEDEP}]
|
||||
# gnome-extra/gnome-packagekit[${PYTHON_USEDEP}] with pygobject:2 ?
|
||||
COMMON_DEPEND="
|
||||
${PYTHON_DEPS}
|
||||
>=dev-libs/glib-2
|
||||
dev-libs/libxml2[python,${PYTHON_USEDEP}]
|
||||
dev-python/dbus-python[${PYTHON_USEDEP}]
|
||||
>=dev-python/pycups-1.9.60[${PYTHON_USEDEP}]
|
||||
dev-python/pycurl[${PYTHON_USEDEP}]
|
||||
dev-python/pygobject:3[${PYTHON_USEDEP}]
|
||||
net-print/cups[dbus]
|
||||
virtual/libusb:1
|
||||
>=virtual/udev-172
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
dev-util/intltool
|
||||
virtual/pkgconfig
|
||||
doc? ( dev-python/epydoc[${PYTHON_USEDEP}] )
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
!<app-admin/system-config-printer-gnome-${PV}
|
||||
policykit? ( >=sys-auth/polkit-0.104-r1 )
|
||||
"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-1.4.1-split.patch
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--disable-nls \
|
||||
--with-udev-rules \
|
||||
$(systemd_with_unitdir)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
use doc && emake html
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
dodoc AUTHORS ChangeLog README
|
||||
use doc && dohtml -r html/
|
||||
|
||||
python_fix_shebang "${ED}"
|
||||
}
|
@ -1,4 +1,3 @@
|
||||
DIST system-config-printer-1.3.12.tar.xz 949008 SHA256 1905bd9fd382730a8eab80fa196b1c43bd19ce79c2169142de899697cbb1e9b1 SHA512 4e6c15b52287f2a69fabb6dafe6548874b8608f2f7a2e14534b100fbb46ad0f146b1e03a6aa4c2c9fe66dad96789454bd066616db0dd73b962bffeb478a7c6c5 WHIRLPOOL 0b8afe05a87103ef99dac50ab7db5f3fc6137de9b84e483ee3a481172e4c894e206b6d022303f1f11496a63b5698351a67070fb936f35293e83f5a20c5e21599
|
||||
DIST system-config-printer-1.3.13.tar.xz 955636 SHA256 9a6a4fbf61b1aafa061674719321846665ee7a4e7ab96dd4747069b0927d12a6 SHA512 046501d17c33a2ff72020b3d20210c5544c6310469cba1ca21cfaee7bb153915f850c102fbd5661e8f5ff6872c8400103346e71d258113405c5c0f752c5dffc1 WHIRLPOOL 9e44a26543de5375e45fdfb576511115f8e63f8e6a7865c7d1183660672e60b4f3f1f2027fe2677f71ca256997c89ad1281799256f102bf5aa56f57844f6f055
|
||||
DIST system-config-printer-1.4.2.tar.xz 888848 SHA256 f0e464435532f73cf8c328ceb1220f02ab2acfc1dcdec729cf5a0acf4193dbea SHA512 b98f668941a2300adc3ced6995d21e0e2f56b908d6cc26388c4101669453859317fb5b5c53762c7d486e6fe5a78cb35ce451495bbc4c330dd856cc0875b947ce WHIRLPOOL dab925199fb7a9f3b5abc544c69b9d64a3d798a7fcb4b5c1f37d62538f9d93ca64230b1601d0259696e289ba8fd535d0ea12cdf369700d486a13c23ee5a16688
|
||||
DIST system-config-printer-1.4.3.tar.xz 892132 SHA256 c14bb1b75929ccf31267da8cf774bed923c4ea3eb0deddcc255221c0b8844c0f SHA512 36584b7caa26765160beaf3cddc9b4e7bad05d93e3a7960911f2e6a129e7c811fabcd25cc728c2eb0c7aa14f0f1dd66425f2d767adc8ee6eaaa4a3a0b77d280f WHIRLPOOL cc955dd3c979b75bbb40a98c1ad13276f7775807c098ac97bf9c5cf37109f24073d2d886695e357f8a417ab34ce5aa8fea5cc7add4dddf4f67fb00c3fb529e45
|
||||
|
@ -1,93 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/system-config-printer-gnome/system-config-printer-gnome-1.4.2.ebuild,v 1.1 2013/10/20 08:27:54 pacho Exp $
|
||||
|
||||
EAPI="5"
|
||||
GCONF_DEBUG="no"
|
||||
PYTHON_COMPAT=( python2_{6,7} )
|
||||
PYTHON_REQ_USE="xml"
|
||||
|
||||
inherit autotools gnome2 eutils python-single-r1 versionator
|
||||
|
||||
MY_P="${PN%-gnome}-${PV}"
|
||||
MY_V="$(get_version_component_range 1-2)"
|
||||
|
||||
DESCRIPTION="GNOME frontend for a Red Hat's printer administration tool"
|
||||
HOMEPAGE="http://cyberelk.net/tim/software/system-config-printer/"
|
||||
SRC_URI="http://cyberelk.net/tim/data/system-config-printer/${MY_V}/${MY_P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86"
|
||||
SLOT="0"
|
||||
IUSE="gnome-keyring"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
# Needs cups running, bug 284005
|
||||
RESTRICT="test"
|
||||
|
||||
# Additional unhandled dependencies
|
||||
# gnome-extra/gnome-packagekit[${PYTHON_USEDEP}] with pygobject:2 ?
|
||||
# python samba client: smbc
|
||||
# selinux: needed for troubleshooting
|
||||
RDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
~app-admin/system-config-printer-common-${PV}
|
||||
dev-python/pycairo[${PYTHON_USEDEP}]
|
||||
>=dev-python/pycups-1.9.60[${PYTHON_USEDEP}]
|
||||
dev-python/pygobject:3[${PYTHON_USEDEP}]
|
||||
x11-libs/gtk+:3[introspection]
|
||||
x11-libs/libnotify[introspection]
|
||||
x11-libs/pango[introspection]
|
||||
gnome-keyring? ( gnome-base/libgnome-keyring[introspection] )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
app-text/docbook-xml-dtd:4.1.2
|
||||
>=app-text/xmlto-0.0.22
|
||||
dev-util/desktop-file-utils
|
||||
dev-util/intltool
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
APP_LINGUAS="ar as bg bn_IN bn br bs ca cs cy da de el en_GB es et fa fi fr gu
|
||||
he hi hr hu hy id is it ja ka kn ko lo lv mai mk ml mr ms nb nl nn or pa pl
|
||||
pt_BR pt ro ru si sk sl sr@latin sr sv ta te th tr uk vi zh_CN zh_TW"
|
||||
for X in ${APP_LINGUAS}; do
|
||||
IUSE="${IUSE} linguas_${X}"
|
||||
done
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
# Bug 471472
|
||||
MAKEOPTS+=" -j1"
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-1.4.1-split.patch
|
||||
eautoreconf
|
||||
gnome2_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
|
||||
# Disable installation of translations when LINGUAS not chosen
|
||||
if [[ -z "${LINGUAS}" ]]; then
|
||||
myconf="${myconf} --disable-nls"
|
||||
else
|
||||
myconf="${myconf} --enable-nls"
|
||||
fi
|
||||
|
||||
gnome2_src_configure \
|
||||
--with-desktop-vendor=Gentoo \
|
||||
--without-udev-rules \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
gnome2_src_install
|
||||
python_fix_shebang "${ED}"
|
||||
}
|
@ -1,93 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/system-config-printer-gnome/system-config-printer-gnome-1.4.3.ebuild,v 1.3 2013/12/08 17:36:04 pacho Exp $
|
||||
|
||||
EAPI="5"
|
||||
GCONF_DEBUG="no"
|
||||
PYTHON_COMPAT=( python2_{6,7} )
|
||||
PYTHON_REQ_USE="xml"
|
||||
|
||||
inherit autotools gnome2 eutils python-single-r1 versionator
|
||||
|
||||
MY_P="${PN%-gnome}-${PV}"
|
||||
MY_V="$(get_version_component_range 1-2)"
|
||||
|
||||
DESCRIPTION="GNOME frontend for a Red Hat's printer administration tool"
|
||||
HOMEPAGE="http://cyberelk.net/tim/software/system-config-printer/"
|
||||
SRC_URI="http://cyberelk.net/tim/data/system-config-printer/${MY_V}/${MY_P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc x86"
|
||||
SLOT="0"
|
||||
IUSE="gnome-keyring"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
# Needs cups running, bug 284005
|
||||
RESTRICT="test"
|
||||
|
||||
# Additional unhandled dependencies
|
||||
# gnome-extra/gnome-packagekit[${PYTHON_USEDEP}] with pygobject:2 ?
|
||||
# python samba client: smbc
|
||||
# selinux: needed for troubleshooting
|
||||
RDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
~app-admin/system-config-printer-common-${PV}
|
||||
dev-python/pycairo[${PYTHON_USEDEP}]
|
||||
>=dev-python/pycups-1.9.60[${PYTHON_USEDEP}]
|
||||
dev-python/pygobject:3[${PYTHON_USEDEP}]
|
||||
x11-libs/gtk+:3[introspection]
|
||||
x11-libs/libnotify[introspection]
|
||||
x11-libs/pango[introspection]
|
||||
gnome-keyring? ( gnome-base/libgnome-keyring[introspection] )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
app-text/docbook-xml-dtd:4.1.2
|
||||
>=app-text/xmlto-0.0.22
|
||||
dev-util/desktop-file-utils
|
||||
dev-util/intltool
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
APP_LINGUAS="ar as bg bn_IN bn br bs ca cs cy da de el en_GB es et fa fi fr gu
|
||||
he hi hr hu hy id is it ja ka kn ko lo lv mai mk ml mr ms nb nl nn or pa pl
|
||||
pt_BR pt ro ru si sk sl sr@latin sr sv ta te th tr uk vi zh_CN zh_TW"
|
||||
for X in ${APP_LINGUAS}; do
|
||||
IUSE="${IUSE} linguas_${X}"
|
||||
done
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
# Bug 471472
|
||||
MAKEOPTS+=" -j1"
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-1.4.1-split.patch
|
||||
eautoreconf
|
||||
gnome2_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
|
||||
# Disable installation of translations when LINGUAS not chosen
|
||||
if [[ -z "${LINGUAS}" ]]; then
|
||||
myconf="${myconf} --disable-nls"
|
||||
else
|
||||
myconf="${myconf} --enable-nls"
|
||||
fi
|
||||
|
||||
gnome2_src_configure \
|
||||
--with-desktop-vendor=Gentoo \
|
||||
--without-udev-rules \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
gnome2_src_install
|
||||
python_fix_shebang "${ED}"
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST ulogd-2.0.2.tar.bz2 466664 SHA256 a36c4032d83edaef1b13f96b6647e9e150d7f20b5af7035f0a91c17fe2e066c5 SHA512 a7ac243ec67ab4325855df631bae011284c716495e5e2d26c1f392207448b6b793117124c89b66e7745a05b74cdddb5ed7acb44c34c24618cc27948a25e978df WHIRLPOOL 8113b5e35fe236fbcba8239daf13f435949aa7798f23794e1fc138cd6decc4119da3b06fdda1e3ad6f4c45f0521c44f0e1a50a7bef19644263df1972fedb00d8
|
||||
DIST ulogd-2.0.3.tar.bz2 447550 SHA256 1ec965073e7f4e5605b2bd1c143b2094e495ad24a298e6fc8f6fcbd131234376 SHA512 09d61cca6cd1c8137b3a4e5ce101f54e48f30c98761602a97766554bc4130eda632b8541f5c1e3e2ac686ec718bb4d440d3bea57c811317cabb274917c996140 WHIRLPOOL f79f0300e610ee9de82aee478dec1c28ffbe10c7b4348ddc586229ac53226f238371f1e71d0b33095904d373c26359b848e18069d8da3d7e22a4819568c1ee44
|
||||
DIST ulogd-2.0.4.tar.bz2 452234 SHA256 56b30a13a8832e97178f39b7bb173a0b1dfe173dbb60d99a1a386c0962a2effd SHA512 08e88661fcfbcfd327b03b7a883dc239991f47d5a4e4561f3ada5f6acc8f2349f3bd38c1c67f28e42bbccf4cad63b2b7c3b732c23bf24b7c5f05320d27977773 WHIRLPOOL 94ee731cee8b95295d1c675bb3904be1a5b27a1e901d462f248116c865e79d52703b5330882110d7212bda1bb964fc0c97c3e704589071f47fab4475e1c91161
|
||||
|
@ -1,60 +0,0 @@
|
||||
--- configure.ac.orig 2013-03-01 19:45:23.285968838 +0400
|
||||
+++ configure.ac 2013-03-15 03:38:50.587620528 +0400
|
||||
@@ -20,14 +20,6 @@ AC_PROG_LIBTOOL
|
||||
dnl Checks for libraries.
|
||||
AC_SEARCH_LIBS([dlopen], [dl], [libdl_LIBS="$LIBS"; LIBS=""])
|
||||
AC_SUBST([libdl_LIBS])
|
||||
-AC_SEARCH_LIBS([pcap_close], [pcap], [libpcap_LIBS="-lpcap"; LIBS=""])
|
||||
-AC_SUBST([libpcap_LIBS])
|
||||
-AM_CONDITIONAL([HAVE_PCAP], [test -n "$libpcap_LIBS"])
|
||||
-if test "x$libpcap_LIBS" != "x"; then
|
||||
- enable_pcap="yes"
|
||||
-else
|
||||
- enable_pcap="no"
|
||||
-fi
|
||||
|
||||
dnl Checks for header files.
|
||||
AC_HEADER_DIRENT
|
||||
@@ -88,7 +80,10 @@ else
|
||||
enable_mysql="no"
|
||||
fi
|
||||
|
||||
-PKG_CHECK_MODULES([libsqlite3], [sqlite3], [], [:])
|
||||
+AC_ARG_WITH([sqlite], AS_HELP_STRING([--without-sqlite], [Build without SQLITE3 output plugin (default: test)]))
|
||||
+AS_IF([test "x$with_sqlite" != "xno"], [
|
||||
+ PKG_CHECK_MODULES([libsqlite3], [sqlite3], [], [:])
|
||||
+])
|
||||
AM_CONDITIONAL([HAVE_SQLITE3], [test -n "$libsqlite3_LIBS"])
|
||||
if test "x$libsqlite3_LIBS" != "x"; then
|
||||
enable_sqlite3="yes"
|
||||
@@ -96,7 +91,10 @@ else
|
||||
enable_sqlite3="no"
|
||||
fi
|
||||
|
||||
-CT_CHECK_DBI()
|
||||
+AC_ARG_WITH([dbi], AS_HELP_STRING([--without-dbi], [Build without DBI output plugin (default: test)]))
|
||||
+AS_IF([test "x$with_dbi" != "xno"], [
|
||||
+ CT_CHECK_DBI()
|
||||
+])
|
||||
AM_CONDITIONAL(HAVE_DBI, test "x$DBI_LIB" != "x")
|
||||
if test "x$DBI_LIB" != "x"; then
|
||||
enable_dbi="yes"
|
||||
@@ -104,6 +102,18 @@ else
|
||||
enable_dbi="no"
|
||||
fi
|
||||
|
||||
+AC_ARG_WITH([pcap], AS_HELP_STRING([--without-pcap], [Build without PCAP output plugin (default: test)]))
|
||||
+AS_IF([test "x$with_pcap" != "xno"], [
|
||||
+ AC_SEARCH_LIBS([pcap_close], [pcap], [libpcap_LIBS="-lpcap"; LIBS=""])
|
||||
+ AC_SUBST([libpcap_LIBS])
|
||||
+])
|
||||
+AM_CONDITIONAL([HAVE_PCAP], [test -n "$libpcap_LIBS"])
|
||||
+if test "x$libpcap_LIBS" != "x"; then
|
||||
+ enable_pcap="yes"
|
||||
+else
|
||||
+ enable_pcap="no"
|
||||
+fi
|
||||
+
|
||||
dnl AC_SUBST(DATABASE_DIR)
|
||||
dnl AC_SUBST(DATABASE_LIB)
|
||||
dnl AC_SUBST(DATABASE_LIB_DIR)
|
@ -1,43 +0,0 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/ulogd/files/ulogd-2.init,v 1.1 2013/03/20 08:38:18 pinkbyte Exp $
|
||||
|
||||
ULOGD_PIDFILE="/run/ulogd.pid"
|
||||
ULOGD_EXEC="/usr/sbin/ulogd"
|
||||
ULOGD_OPTS="-u ulogd"
|
||||
|
||||
extra_started_commands="reload reopen_logs"
|
||||
|
||||
depend() {
|
||||
need net
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Starting ${SVCNAME}"
|
||||
start-stop-daemon --start --quiet \
|
||||
--make-pidfile \
|
||||
--pidfile ${ULOGD_PIDFILE} \
|
||||
--background \
|
||||
--exec ${ULOGD_EXEC} \
|
||||
-- ${ULOGD_OPTS}
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping ${SVCNAME}"
|
||||
start-stop-daemon --stop --pidfile ${ULOGD_PIDFILE}
|
||||
eend $?
|
||||
}
|
||||
|
||||
reload() {
|
||||
ebegin "Reloading ${SVCNAME} configuration"
|
||||
start-stop-daemon --signal USR1 --pidfile ${ULOGD_PIDFILE}
|
||||
eend $?
|
||||
}
|
||||
|
||||
reopen_logs() {
|
||||
ebegin "Reopening ${SVCNAME} logfiles"
|
||||
start-stop-daemon --signal HUP --pidfile ${ULOGD_PIDFILE}
|
||||
eend $?
|
||||
}
|
@ -1,131 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/ulogd/ulogd-2.0.2.ebuild,v 1.7 2013/04/23 08:42:32 ago Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
AUTOTOOLS_AUTORECONF=1
|
||||
AUTOTOOLS_IN_SOURCE_BUILD=1
|
||||
inherit autotools-utils eutils linux-info readme.gentoo user
|
||||
|
||||
DESCRIPTION="A userspace logging daemon for netfilter/iptables related logging"
|
||||
HOMEPAGE="http://netfilter.org/projects/ulogd/index.html"
|
||||
SRC_URI="http://ftp.netfilter.org/pub/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~ia64 ppc x86"
|
||||
IUSE="dbi doc mysql nfacct +nfct +nflog pcap postgres sqlite"
|
||||
|
||||
RDEPEND="net-firewall/iptables
|
||||
>=net-libs/libnfnetlink-1.0.1
|
||||
>=net-libs/libmnl-1.0.3
|
||||
dbi? ( dev-db/libdbi )
|
||||
nfacct? ( >=net-libs/libnetfilter_acct-1.0.1 )
|
||||
nfct? ( >=net-libs/libnetfilter_conntrack-1.0.2 )
|
||||
nflog? ( >=net-libs/libnetfilter_log-1.0.0 )
|
||||
mysql? ( virtual/mysql )
|
||||
pcap? ( net-libs/libpcap )
|
||||
postgres? ( dev-db/postgresql-base )
|
||||
sqlite? ( dev-db/sqlite:3 )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
doc? (
|
||||
app-text/linuxdoc-tools
|
||||
app-text/texlive-core
|
||||
virtual/latex-base
|
||||
)"
|
||||
|
||||
DOCS=( AUTHORS README TODO )
|
||||
PATCHES=(
|
||||
# fix automagic support of dbi, pcap and sqlite3 output plugins
|
||||
"${FILESDIR}/${P}-automagic.patch"
|
||||
)
|
||||
DOC_CONTENTS="You must have at least one logging stack enabled to make ulogd work.
|
||||
Please edit example configuration located at /etc/ulogd.conf"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup ulogd
|
||||
enewuser ulogd -1 -1 /var/log/ulogd ulogd
|
||||
|
||||
linux-info_pkg_setup
|
||||
|
||||
if kernel_is lt 2 6 14; then
|
||||
die "ulogd2 requires kernel newer than 2.6.14"
|
||||
fi
|
||||
|
||||
if kernel_is lt 2 6 18; then
|
||||
ewarn
|
||||
ewarn "You are using kernel older than 2.6.18"
|
||||
ewarn "Some ulogd2 features may be unavailable"
|
||||
ewarn
|
||||
fi
|
||||
|
||||
if use nfacct && kernel_is lt 3 3 0; then
|
||||
ewarn "NFACCT input plugin requires kernel newer than 3.3.0"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# - make all logs to be kept in a single dir /var/log/ulogd
|
||||
# - place sockets in /run instead of /tmp
|
||||
sed -i \
|
||||
-e 's:var/log:var/log/ulogd:g' \
|
||||
-e 's:tmp:run:g' \
|
||||
ulogd.conf.in || die 'sed on ulogd.conf.in failed'
|
||||
|
||||
autotools-utils_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
$(use_with dbi)
|
||||
$(use_enable nfacct)
|
||||
$(use_enable nfct)
|
||||
$(use_enable nflog)
|
||||
$(use_with mysql)
|
||||
$(use_with pcap)
|
||||
$(use_with postgres pgsql)
|
||||
$(use_with sqlite)
|
||||
)
|
||||
autotools-utils_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
autotools-utils_src_compile
|
||||
|
||||
if use doc ; then
|
||||
# prevent access violations from generation of bitmap font files
|
||||
export VARTEXFONTS="${T}"/fonts
|
||||
emake -C doc
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
autotools-utils_src_install
|
||||
readme.gentoo_create_doc
|
||||
prune_libtool_files --modules
|
||||
|
||||
if use doc ; then
|
||||
dohtml doc/${PN}.html
|
||||
dodoc doc/${PN}.dvi doc/${PN}.txt doc/${PN}.ps
|
||||
fi
|
||||
|
||||
use sqlite && dodoc doc/sqlite3.table
|
||||
use mysql && dodoc doc/mysql-*.sql
|
||||
use postgres && dodoc doc/pgsql-*.sql
|
||||
doman ${PN}.8
|
||||
|
||||
insinto /etc
|
||||
doins ${PN}.conf
|
||||
fowners root:ulogd /etc/ulogd.conf
|
||||
fperms 640 /etc/ulogd.conf
|
||||
|
||||
newinitd "${FILESDIR}/${PN}-2.init" ${PN}
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}/${PN}-2.logrotate" ${PN}
|
||||
|
||||
diropts -o ulogd -g ulogd
|
||||
keepdir /var/log/ulogd
|
||||
}
|
@ -0,0 +1,69 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-backup/dar/dar-2.4.13.ebuild,v 1.1 2014/04/26 00:35:51 rich0 Exp $
|
||||
|
||||
EAPI="5"
|
||||
inherit confutils eutils flag-o-matic
|
||||
|
||||
DESCRIPTION="A full featured backup tool, aimed for disks (floppy,CDR(W),DVDR(W),zip,jazz etc.)"
|
||||
HOMEPAGE="http://dar.linux.free.fr/"
|
||||
SRC_URI="mirror://sourceforge/dar/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux"
|
||||
IUSE="acl dar32 dar64 doc gcrypt lzo nls static static-libs"
|
||||
|
||||
RESTRICT="test" # need to be run as root
|
||||
|
||||
RDEPEND=">=sys-libs/zlib-1.2.3:=
|
||||
!static? ( app-arch/bzip2:= )
|
||||
acl? ( !static? ( sys-apps/attr:= ) )
|
||||
gcrypt? ( dev-libs/libgcrypt:0= )
|
||||
lzo? ( !static? ( dev-libs/lzo:= ) )
|
||||
nls? ( virtual/libintl )"
|
||||
DEPEND="${RDEPEND}
|
||||
static? ( app-arch/bzip2[static-libs] )
|
||||
static? ( sys-libs/zlib[static-libs] )
|
||||
acl? ( static? ( sys-apps/attr[static-libs] ) )
|
||||
lzo? ( static? ( dev-libs/lzo[static-libs] ) )
|
||||
nls? ( sys-devel/gettext )
|
||||
doc? ( app-doc/doxygen )"
|
||||
|
||||
pkg_setup() {
|
||||
confutils_use_conflict dar32 dar64
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf="--disable-upx"
|
||||
|
||||
# Bug 103741
|
||||
filter-flags -fomit-frame-pointer
|
||||
|
||||
use acl || myconf="${myconf} --disable-ea-support"
|
||||
use dar32 && myconf="${myconf} --enable-mode=32"
|
||||
use dar64 && myconf="${myconf} --enable-mode=64"
|
||||
use doc || myconf="${myconf} --disable-build-html"
|
||||
# use examples && myconf="${myconf} --enable-examples"
|
||||
use gcrypt || myconf="${myconf} --disable-libgcrypt-linking"
|
||||
use lzo || myconf="${myconf} --disable-liblzo2-linking"
|
||||
use nls || myconf="${myconf} --disable-nls"
|
||||
if ! use static ; then
|
||||
myconf="${myconf} --disable-dar-static"
|
||||
if ! use static-libs ; then
|
||||
myconf="${myconf} --disable-static"
|
||||
fi
|
||||
fi
|
||||
|
||||
econf ${myconf} || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" pkgdatadir="${EPREFIX}"/usr/share/doc/${PF}/html install || die
|
||||
|
||||
if ! use static-libs ; then
|
||||
find "${ED}" "(" -name '*.la' -o -name '*.a' ")" -delete || die
|
||||
fi
|
||||
|
||||
dodoc AUTHORS ChangeLog NEWS README THANKS TODO || die
|
||||
}
|
@ -1,18 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-backup/kbackup/kbackup-0.8.ebuild,v 1.3 2012/10/01 12:28:15 johu Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
KDE_HANDBOOK="optional"
|
||||
KDE_LINGUAS="cs de es fr it pt pt_BR ru sk sv"
|
||||
inherit kde4-base
|
||||
|
||||
DESCRIPTION="KBackup is a program that lets you back up any directories or files."
|
||||
HOMEPAGE="http://kde-apps.org/content/show.php/KBackup?content=44998"
|
||||
SRC_URI="http://members.aon.at/m.koller/${P}.tar.bz2"
|
||||
LICENSE="GPL-2"
|
||||
|
||||
SLOT="4"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="debug"
|
@ -1,2 +1 @@
|
||||
DIST gcdemu-2.1.0.tar.bz2 39864 SHA256 1428192ba37124a8f756c5cb5a3bdce0c32745ff429abde9adad4133d41e1254 SHA512 1a61cd945316686326624da55cdba9a053a56f62a0a67fa3d377b95f51c83680c98b19fa34d9c6a4821e4b235d6394aab89423682333197a6dd8ec46b0c54b85 WHIRLPOOL 4aa0058a9d4158a60857a59ecceb2e5d3c3b4f242e4e05e6d4a4ed61695125fa3a607d90fc55809bca66131fd0f5cdbb5e1d81587f6c421d8ad13046c05f44ef
|
||||
DIST gcdemu-2.1.1.tar.bz2 40156 SHA256 cd1d59fb6dadbc05f5865c1654089563aeb28ef9ea4216da2e223f8376887c5c SHA512 1d8d9cc29a1d7a69681fbd4dc540a97172d81ac3d018bd98af469746901c8841dd5fd23ca8ae6fce68e41b43d98fb693acba1b621ed6b72c97972038cde1c47a WHIRLPOOL 0dbc04b57c5026a642a268b6bbba9d55ca27c92c1a606048a7395ebc07527e83ea05578c398725ed3782f4cf678769e0b77c686f07fe3061334875a375da3a05
|
||||
|
@ -1,56 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-cdr/gcdemu/gcdemu-2.1.0.ebuild,v 1.3 2013/07/20 11:11:28 ago Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
CMAKE_MIN_VERSION="2.8.5"
|
||||
PYTHON_COMPAT=( python2_6 python2_7 )
|
||||
PLOCALES="de fr no pl sl zh_CN"
|
||||
|
||||
# cmake-utils after gnome2, to make sure cmake-utils is used for building
|
||||
inherit gnome2 cmake-utils l10n python-single-r1
|
||||
|
||||
DESCRIPTION="Gtk+ GUI for controlling cdemu-daemon"
|
||||
HOMEPAGE="http://cdemu.org/"
|
||||
SRC_URI="mirror://sourceforge/cdemu/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
app-cdr/cdemu-daemon:0/5
|
||||
>=dev-libs/glib-2.28:2
|
||||
dev-libs/gobject-introspection
|
||||
dev-python/pygobject:3[${PYTHON_USEDEP}]
|
||||
sys-apps/dbus
|
||||
x11-libs/gdk-pixbuf[introspection]
|
||||
x11-libs/gtk+:3[introspection]
|
||||
x11-libs/libnotify[introspection]"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
dev-util/desktop-file-utils
|
||||
>=dev-util/intltool-0.21
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig"
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
python_fix_shebang src/gcdemu
|
||||
# build system doesn't respect LINGUAS :/
|
||||
l10n_find_plocales_changes po "" ".po"
|
||||
rm_po() {
|
||||
rm po/$1.po || die
|
||||
}
|
||||
l10n_for_each_disabled_locale_do rm_po
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
DOCS="AUTHORS README"
|
||||
local mycmakeargs=( -DPOST_INSTALL_HOOKS=OFF )
|
||||
cmake-utils_src_configure
|
||||
}
|
@ -1,60 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/kile/kile-2.1.3.ebuild,v 1.4 2012/12/10 17:04:49 kensington Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
if [[ ${PV} != *9999* ]]; then
|
||||
KDE_DOC_DIRS="doc"
|
||||
KDE_HANDBOOK="optional"
|
||||
MY_P=${P/_beta/b}
|
||||
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
|
||||
else
|
||||
EGIT_REPO_URI="http://anongit.kde.org/kile"
|
||||
GIT_ECLASS="git"
|
||||
fi
|
||||
|
||||
inherit kde4-base ${GIT_ECLASS}
|
||||
|
||||
DESCRIPTION="A Latex Editor and TeX shell for KDE"
|
||||
HOMEPAGE="http://kile.sourceforge.net/"
|
||||
|
||||
LICENSE="FDL-1.2 GPL-2"
|
||||
KEYWORDS="amd64 ~ppc x86"
|
||||
SLOT="4"
|
||||
IUSE="debug +pdf +png"
|
||||
|
||||
DEPEND="
|
||||
x11-misc/shared-mime-info
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
$(add_kdebase_dep kdebase-data)
|
||||
|| (
|
||||
$(add_kdebase_dep okular 'pdf?,postscript')
|
||||
app-text/acroread
|
||||
)
|
||||
virtual/latex-base
|
||||
virtual/tex-base
|
||||
pdf? (
|
||||
app-text/dvipdfmx
|
||||
app-text/ghostscript-gpl
|
||||
)
|
||||
png? (
|
||||
app-text/dvipng
|
||||
media-gfx/imagemagick[png]
|
||||
)
|
||||
"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
DOCS=( kile-remote-control.txt )
|
||||
|
||||
src_prepare() {
|
||||
kde4-base_src_prepare
|
||||
|
||||
# I know upstream wants to help us but it doesn't work..
|
||||
sed -e '/INSTALL( FILES AUTHORS/s/^/#DISABLED /' \
|
||||
-i CMakeLists.txt || die
|
||||
|
||||
[[ ${PV} != *9999* ]] && { use handbook || rm -fr doc ; }
|
||||
}
|
@ -0,0 +1,55 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emacs/org-mode/org-mode-8.2.6.ebuild,v 1.1 2014/04/26 13:51:06 ulm Exp $
|
||||
|
||||
EAPI=5
|
||||
NEED_EMACS=23
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="An Emacs mode for notes and project planning"
|
||||
HOMEPAGE="http://www.orgmode.org/"
|
||||
SRC_URI="http://orgmode.org/org-${PV}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3+ FDL-1.3+ contrib? ( GPL-2+ MIT ) odt-schema? ( OASIS-Open )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd ~x86-macos"
|
||||
IUSE="contrib doc odt-schema"
|
||||
RESTRICT="test"
|
||||
|
||||
DEPEND="doc? ( virtual/texi2dvi )"
|
||||
|
||||
S="${WORKDIR}/org-${PV}"
|
||||
SITEFILE="50${PN}-gentoo-8.el"
|
||||
|
||||
src_compile() {
|
||||
emake datadir="${EPREFIX}${SITEETC}/${PN}"
|
||||
use doc && emake pdf card
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake \
|
||||
DESTDIR="${D}" \
|
||||
ETCDIRS="styles $(use odt-schema && echo schema)" \
|
||||
lispdir="${EPREFIX}${SITELISP}/${PN}" \
|
||||
datadir="${EPREFIX}${SITEETC}/${PN}" \
|
||||
infodir="${EPREFIX}/usr/share/info" \
|
||||
install
|
||||
|
||||
cp "${FILESDIR}/${SITEFILE}" "${T}/${SITEFILE}" || die
|
||||
|
||||
if use contrib; then
|
||||
elisp-install ${PN}/contrib contrib/lisp/{org,ob,ox}*.el
|
||||
insinto /usr/share/doc/${PF}/contrib
|
||||
doins -r contrib/README contrib/scripts
|
||||
find "${ED}/usr/share/doc/${PF}/contrib" -type f -name '.*' \
|
||||
-exec rm -f '{}' '+'
|
||||
# add the contrib subdirectory to load-path
|
||||
sed -i -e 's:\(.*@SITELISP@\)\(.*\):&\n\1/contrib\2:' \
|
||||
"${T}/${SITEFILE}" || die
|
||||
fi
|
||||
|
||||
elisp-site-file-install "${T}/${SITEFILE}"
|
||||
dodoc README doc/library-of-babel.org doc/orgcard.txt etc/ORG-NEWS
|
||||
use doc && dodoc doc/org.pdf doc/orgcard.pdf doc/orgguide.pdf
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST jre-7u51-linux-i586.tar.gz 48333427 SHA256 f6807069ff45576ffff173a2ee4355bdf5a493e9b463bde9196b942af4f6fcdb SHA512 e5a2d841e7f924b606d3d3e94f75bad273f9952ff94b94f081d73614d0001326a9ac974412840c994e66dcc5d2bf582c193a08cb725f435f2770fb01d9546b3a WHIRLPOOL 5cf27c761ea3c2c8ad395dcb8563dc5e4933552a48d1e64e77071bf84e86bd34aa19f590859a143a9c986fda0b7594f4ef6e27d89fcaef0c52a678bd30a6eaa0
|
||||
DIST jre-7u55-linux-i586.tar.gz 48340455 SHA256 fa674c83c25a65edeca289321c9bb1c0fe9c0eaae64dc1bf3409e2c6a5f46c80 SHA512 f365a2548ea6ff9cf263b0dd71100eb70d842a4abd72d852e7698d9d7dbee97c4da2654795035adbc4519705a3d7eb81031566f2a97eaeeadaa439ca9a8867fa WHIRLPOOL 88abacb65259fd59c89a70e72ff0a258f6b0b178afa826502eb46e7109abe586094d79762148b14c1d97dce2d1b3a9e06736a92d82c839ef2fe8c8e8310918b5
|
||||
|
@ -0,0 +1,108 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-java/emul-linux-x86-java-1.7.0.55.ebuild,v 1.2 2014/04/26 09:09:03 ago Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit java-vm-2 eutils prefix versionator
|
||||
|
||||
# This URIs need to be updated when bumping!
|
||||
JRE_URI="http://www.oracle.com/technetwork/java/javase/downloads/jre7-downloads-1880261.html"
|
||||
|
||||
MY_PV="$(get_version_component_range 2)u$(get_version_component_range 4)"
|
||||
S_PV="$(replace_version_separator 3 '_')"
|
||||
|
||||
X86_AT="jre-${MY_PV}-linux-i586.tar.gz"
|
||||
|
||||
DESCRIPTION="Oracle's Java SE Runtime Environment (32bit)"
|
||||
HOMEPAGE="http://www.oracle.com/technetwork/java/javase/"
|
||||
SRC_URI="${X86_AT}"
|
||||
|
||||
LICENSE="Oracle-BCLA-JavaSE"
|
||||
SLOT="1.7"
|
||||
KEYWORDS="-* amd64"
|
||||
IUSE="+X alsa nsplugin pax_kernel"
|
||||
|
||||
RESTRICT="fetch strip"
|
||||
QA_PREBUILT="*"
|
||||
|
||||
RDEPEND="
|
||||
X? ( app-emulation/emul-linux-x86-xlibs )
|
||||
alsa? ( app-emulation/emul-linux-x86-soundlibs )"
|
||||
# scanelf won't create a PaX header, so depend on paxctl to avoid fallback
|
||||
# marking. #427642
|
||||
DEPEND="
|
||||
pax_kernel? ( sys-apps/paxctl )"
|
||||
|
||||
S="${WORKDIR}/jre${S_PV}"
|
||||
|
||||
pkg_nofetch() {
|
||||
einfo "Due to Oracle no longer providing the distro-friendly DLJ bundles, the package has become fetch restricted again."
|
||||
einfo ""
|
||||
einfo "Please download '${X86_AT}' from:"
|
||||
einfo "'${JRE_URI}'"
|
||||
einfo "and move it to '${DISTDIR}'"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# This needs to be done before CDS - #215225
|
||||
java-vm_set-pax-markings "${S}"
|
||||
|
||||
# see bug #207282
|
||||
einfo "Creating the Class Data Sharing archives"
|
||||
bin/java -client -Xshare:dump || die
|
||||
bin/java -server -Xshare:dump || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local dest="/opt/${P}"
|
||||
local ddest="${ED}${dest}"
|
||||
|
||||
# We should not need the ancient plugin for Firefox 2 anymore, plus it has
|
||||
# writable executable segments
|
||||
rm -vf lib/i386/libjavaplugin_oji.so \
|
||||
lib/i386/libjavaplugin_nscp*.so
|
||||
rm -vrf plugin/i386
|
||||
# Without nsplugin flag, also remove the new plugin
|
||||
arch=i386;
|
||||
if ! use nsplugin; then
|
||||
rm -vf lib/${arch}/libnpjp2.so \
|
||||
lib/${arch}/libjavaplugin_jni.so
|
||||
fi
|
||||
|
||||
dodir "${dest}"
|
||||
cp -pPR bin lib man "${ddest}" || die
|
||||
|
||||
# Remove empty dirs we might have copied
|
||||
find "${D}" -type d -empty -exec rmdir {} + || die
|
||||
|
||||
dodoc COPYRIGHT README
|
||||
|
||||
if use nsplugin; then
|
||||
install_mozilla_plugin "${dest}"/lib/${arch}/libnpjp2.so
|
||||
fi
|
||||
|
||||
# Install desktop file for the Java Control Panel.
|
||||
# Using ${PN}-${SLOT} to prevent file collision with jre and or other slots.
|
||||
# make_desktop_entry can't be used as ${P} would end up in filename.
|
||||
newicon lib/desktop/icons/hicolor/48x48/apps/sun-jcontrol.png \
|
||||
sun-jcontrol-${PN}-${SLOT}.png || die
|
||||
sed -e "s#Name=.*#Name=Java Control Panel for Oracle JDK ${SLOT} (${PN})#" \
|
||||
-e "s#Exec=.*#Exec=${dest}/bin/jcontrol#" \
|
||||
-e "s#Icon=.*#Icon=sun-jcontrol-${PN}-${SLOT}#" \
|
||||
-e "s#Application;##" \
|
||||
-e "/Encoding/d" \
|
||||
lib/desktop/applications/sun_java.desktop > \
|
||||
"${T}"/jcontrol-${PN}-${SLOT}.desktop || die
|
||||
domenu "${T}"/jcontrol-${PN}-${SLOT}.desktop
|
||||
|
||||
# http://docs.oracle.com/javase/6/docs/technotes/guides/intl/fontconfig.html
|
||||
rm "${ddest}"/lib/fontconfig.* || die
|
||||
cp "${FILESDIR}"/fontconfig.Gentoo.properties "${T}"/fontconfig.properties || die
|
||||
eprefixify "${T}"/fontconfig.properties
|
||||
insinto "${dest}"/lib/
|
||||
doins "${T}"/fontconfig.properties
|
||||
|
||||
set_java_env "${FILESDIR}/${VMHANDLE}.env-r1"
|
||||
java-vm_revdep-mask
|
||||
}
|
@ -1,12 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>sci</herd>
|
||||
<maintainer>
|
||||
<email>george@gentoo.org</email>
|
||||
<name>George Shapovalov</name>
|
||||
<description>I'll be taking care of it. But since we need to have a herd in metadata
|
||||
I've put sci there, as it seems the most related one.
|
||||
</description>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
|
@ -1,3 +1 @@
|
||||
DIST tomboy-1.10.1.tar.xz 6619804 SHA256 85bc277b278fe6aaa38fc0ec8b1777804ea0de647111a5065d43614d1ad10077 SHA512 c917bc48d073c9368350ead2f1c81b349421aacb08c0d17b8e6475c753f4ec35f6e53f4c44a4cdfc53e4378d0d9743fba2d96f37bd45d8c711d8319858c3ff8f WHIRLPOOL 2e3b0446c688df1d88212c6b333657d8417798c9fa4d3de8f44dc3508725b96b7ca4559c9f790e93e18b314e73d8c5db53a63c926af2c09d96c953b70bbd68a3
|
||||
DIST tomboy-1.12.2.tar.xz 6671548 SHA256 ebcb23efb8eedc949eb84d4b5c9919ddaacc97198384f79ed08e97092c46e55e SHA512 f1b64faaa35d77628a3359bf4c255e3d256b5e67677c6333336db22082c12052b32ea66e8ffaf9268a1a6a9c3c872befdc955ae9889108f433cf1e7e4b199394 WHIRLPOOL 9f43cef1dc2ab2649e817d95dc08e853c45535844887ee935985ec37a57d709229d90577baa2df4f3494a3c9e7ce2b70083e77f43ef0511e50cde75be0d72011
|
||||
DIST tomboy-1.14.1.tar.xz 6681068 SHA256 f9e81fd9c9a9180e8ddcb4b9237ead0c842aa5b5ac21af87e97939e5015af018 SHA512 98f46faff05cc6a9f708c880ed5a40dfb91f8e496c3b8bd3b49545b8cc095e643bd677cdf36601c95e53639fdb723aa9ac3e79b5c34aed24c4009729fd390a30 WHIRLPOOL 89eefc434f1257f56c74e88c221b4b029d90e3aca609fbd92e3c00ccc43ed4466509dabda77e949ff040c0286ee54c22ec8eeb720f70add29e79413dffacdd5b
|
||||
|
@ -1,24 +0,0 @@
|
||||
From 36c0f0c7d78972fe28f804c6021d6dc78871f1f8 Mon Sep 17 00:00:00 2001
|
||||
From: Alex Tereschenko <frozen.and.blue@gmail.com>
|
||||
Date: Wed, 18 Jul 2012 17:31:26 +0000
|
||||
Subject: Fixed building Evolution add-in on Ubuntu 12.04
|
||||
|
||||
...and most probably other Debian-based systems with gmime-sharp 2.6
|
||||
|
||||
Signed-off-by: Jared Jennings <jjennings@src.gnome.org>
|
||||
---
|
||||
diff --git a/configure.in b/configure.in
|
||||
index 1cde9ec..bd9e1ff 100644
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -237,6 +237,8 @@ done
|
||||
if test "x$ENABLE_GNOME" != "xno"; then
|
||||
if pkg-config --exists gmime-sharp-2.4; then
|
||||
PKG_CHECK_MODULES(EVOLUTION, gmime-sharp-2.4, ENABLE_EVOLUTION="yes", ENABLE_EVOLUTION="no")
|
||||
+ elif pkg-config --exists gmime-sharp-2.6; then
|
||||
+ PKG_CHECK_MODULES(EVOLUTION, gmime-sharp-2.6, ENABLE_EVOLUTION="yes", ENABLE_EVOLUTION="no")
|
||||
else
|
||||
PKG_CHECK_MODULES(EVOLUTION, gmime-sharp >= 2.2.7, ENABLE_EVOLUTION="yes", ENABLE_EVOLUTION="no")
|
||||
fi
|
||||
--
|
||||
cgit v0.9.0.2
|
@ -1,17 +0,0 @@
|
||||
--- configure.in~ 2012-10-15 22:31:16.000000000 +0200
|
||||
+++ configure.in 2012-10-20 09:09:09.126416968 +0200
|
||||
@@ -235,13 +235,7 @@
|
||||
# Evolution.dll needs GMime#
|
||||
#
|
||||
if test "x$ENABLE_GNOME" != "xno"; then
|
||||
- if pkg-config --exists gmime-sharp-2.4; then
|
||||
- PKG_CHECK_MODULES(EVOLUTION, gmime-sharp-2.4, ENABLE_EVOLUTION="yes", ENABLE_EVOLUTION="no")
|
||||
- elif pkg-config --exists gmime-sharp-2.6; then
|
||||
- PKG_CHECK_MODULES(EVOLUTION, gmime-sharp-2.6, ENABLE_EVOLUTION="yes", ENABLE_EVOLUTION="no")
|
||||
- else
|
||||
- PKG_CHECK_MODULES(EVOLUTION, gmime-sharp >= 2.2.7, ENABLE_EVOLUTION="yes", ENABLE_EVOLUTION="no")
|
||||
- fi
|
||||
+ PKG_CHECK_MODULES(EVOLUTION, gmime-sharp-2.6, ENABLE_EVOLUTION="yes", ENABLE_EVOLUTION="no")
|
||||
else
|
||||
ENABLE_EVOLUTION=no
|
||||
fi
|
@ -1,56 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/tomboy/tomboy-1.10.1.ebuild,v 1.6 2012/12/07 04:52:29 phajdan.jr Exp $
|
||||
|
||||
EAPI="4"
|
||||
GCONF_DEBUG="no"
|
||||
GNOME2_LA_PUNT="yes"
|
||||
|
||||
inherit autotools eutils gnome2 mono
|
||||
|
||||
DESCRIPTION="Desktop note-taking application"
|
||||
HOMEPAGE="http://projects.gnome.org/tomboy/"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
IUSE="eds test"
|
||||
|
||||
RDEPEND="app-text/gtkspell:2
|
||||
dev-dotnet/gconf-sharp:2
|
||||
dev-dotnet/gtk-sharp:2
|
||||
dev-dotnet/mono-addins[gtk]
|
||||
dev-dotnet/dbus-sharp
|
||||
dev-dotnet/dbus-sharp-glib
|
||||
dev-lang/mono
|
||||
dev-libs/atk
|
||||
gnome-base/gconf:2
|
||||
x11-libs/gtk+:2
|
||||
eds? ( dev-libs/gmime:2.6[mono] )"
|
||||
DEPEND="${RDEPEND}
|
||||
app-text/gnome-doc-utils
|
||||
app-text/rarian
|
||||
dev-util/intltool
|
||||
virtual/pkgconfig
|
||||
sys-devel/gettext"
|
||||
|
||||
pkg_setup() {
|
||||
G2CONF="${G2CONF}
|
||||
--disable-panel-applet
|
||||
$(use_enable eds evolution)
|
||||
$(use_enable test tests)
|
||||
--disable-galago
|
||||
--disable-update-mimedb"
|
||||
DOCS="AUTHORS ChangeLog NEWS README"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Fix build with gmime-2.6[mono], bug #435854
|
||||
epatch "${FILESDIR}/${PN}-1.10.1-gmime26.patch"
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Not parallel build safe due upstream bug #631546
|
||||
MAKEOPTS="${MAKEOPTS} -j1" gnome2_src_compile
|
||||
}
|
@ -1,60 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/tomboy/tomboy-1.12.2.ebuild,v 1.2 2013/04/30 12:12:55 jlec Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
GCONF_DEBUG="no"
|
||||
GNOME2_LA_PUNT="yes"
|
||||
|
||||
inherit autotools eutils gnome2 mono
|
||||
|
||||
DESCRIPTION="Desktop note-taking application"
|
||||
HOMEPAGE="http://projects.gnome.org/tomboy/"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="eds test"
|
||||
|
||||
RDEPEND="app-text/gtkspell:2
|
||||
dev-dotnet/gconf-sharp:2
|
||||
dev-dotnet/gtk-sharp:2
|
||||
dev-dotnet/mono-addins[gtk]
|
||||
dev-dotnet/dbus-sharp
|
||||
dev-dotnet/dbus-sharp-glib
|
||||
dev-lang/mono
|
||||
dev-libs/atk:=
|
||||
gnome-base/gconf:2
|
||||
x11-libs/gtk+:2
|
||||
eds? ( dev-libs/gmime:2.6[mono] )"
|
||||
DEPEND="${RDEPEND}
|
||||
app-text/gnome-doc-utils
|
||||
app-text/rarian
|
||||
dev-util/intltool
|
||||
virtual/pkgconfig
|
||||
sys-devel/gettext"
|
||||
|
||||
src_prepare() {
|
||||
G2CONF="${G2CONF}
|
||||
--disable-panel-applet
|
||||
$(use_enable eds evolution)
|
||||
$(use_enable test tests)
|
||||
--disable-galago
|
||||
--disable-update-mimedb"
|
||||
|
||||
# Force gmime-2.6 usage, upstream bug #686510
|
||||
epatch "${FILESDIR}/${PN}-1.12.1-force-gmime26.patch"
|
||||
|
||||
sed \
|
||||
-e "s:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:g" \
|
||||
-i configure.in || die
|
||||
|
||||
eautoreconf
|
||||
gnome2_src_prepare
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Not parallel build safe due upstream bug #631546
|
||||
MAKEOPTS="${MAKEOPTS} -j1" gnome2_src_compile
|
||||
}
|
@ -1,30 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-office/libalkimia/libalkimia-4.3.2.ebuild,v 1.4 2012/05/03 20:00:40 jdhore Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit kde4-base
|
||||
|
||||
DESCRIPTION="Library with common classes and functionality used by KDE finance applications"
|
||||
HOMEPAGE="http://kde-apps.org/content/show.php/libalkimia?content=137323"
|
||||
SRC_URI="http://kde-apps.org/CONTENT/content-files/137323-${P}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
KEYWORDS="amd64 x86"
|
||||
SLOT="0"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND="dev-libs/gmp[cxx]"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
doc? ( app-doc/doxygen )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-4.3.2-doc.patch"
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
mycmakeargs=( $(cmake-utils_use_build doc) )
|
||||
kde4-base_src_configure
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST cfg-update-1.8.2-r1.tar.gz 164899 SHA256 8798a6009f7459e3c6cc3e71282389b16054f208ab8de0dd65eb4e853631a094 SHA512 a6a82656f5b8f6d78c0bd604d1fb13c9c40177451d6de170ee698e96893fb5b8f31cbc455533ab8c60ec33b61bfe7271b7f7545fabe5c8374dc24d5b9759ee4a WHIRLPOOL 4822a3300452cb02b77824dd01e78284d4f07984e006bf8f0fe4ebb132300d4c2c634ebc9f893aee7b40fe505f015f9f47bedf331f1946ed7f6d704f55c06d5d
|
||||
DIST cfg-update-1.8.7.tgz 163212 SHA256 94cdb032a187e6e9e5998852afa5999d6746d7b30ae9cae7c1b68c435fe19a7d SHA512 3f6d21918b46590b740898570337f2ae16881a1fef9ff3bc0e2064797e9385a088566788dcf8dc1962973bd2ccbaa725028640d4e65c714bb026389005c92c11 WHIRLPOOL f4aa24753ba8bc2c2c0a85ee474bc09c08379e852f468665e49416d646db455b2952327ae5e18f43f75c3c2e2ca456c33b2a9ae393332d682bfb9df58adbeadd
|
||||
DIST cfg-update-1.8.8.tgz 162365 SHA256 31a2d4acd26a1cb65238a634b8af54c38f84e699ada66c4df03d56359e9d9409 SHA512 d75873693f2c1485550591e374414a35860cc9419ce37842603c5d5e1749808f372eb85aa60d90aa3cb6aba3a8666cf2f6417662e30a78e1c775c809f9fd9253 WHIRLPOOL 864f71f525347be1f6d28bca0bd37cfe82512eb11b0814b652ff3163052c24dfc7a59010b89fe172deaf8852c44643bbe54b7b7d38a66b357aa2b313f1f6f67e
|
||||
|
@ -1,105 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-portage/cfg-update/cfg-update-1.8.2-r1.ebuild,v 1.4 2012/03/18 15:13:25 armin76 Exp $
|
||||
|
||||
DESCRIPTION="Easy to use GUI & CLI alternative for etc-update with safe automatic updating functionality"
|
||||
HOMEPAGE="http://people.zeelandnet.nl/xentric/"
|
||||
SRC_URI="http://people.zeelandnet.nl/xentric/${PF}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ppc x86"
|
||||
IUSE="gnome"
|
||||
|
||||
RDEPEND="gnome? ( >=x11-misc/sux-1.0
|
||||
x11-apps/xhost
|
||||
>=dev-util/meld-0.9 )"
|
||||
|
||||
S=${WORKDIR}/${PF}
|
||||
|
||||
pkg_prerm() {
|
||||
if [[ ${ROOT} == / ]]
|
||||
then
|
||||
ebegin "Disabling portage hook"
|
||||
cfg-update --ebuild --disable-portage-hook
|
||||
eend $?
|
||||
ebegin "Disabling paludis hook"
|
||||
cfg-update --ebuild --disable-paludis-hook
|
||||
eend $?
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
ewarn
|
||||
ewarn "If you want to permanently remove cfg-update from your system"
|
||||
ewarn "you should manually remove the alias for emerge from /root/.bashrc"
|
||||
ewarn "followed by running: unalias emerge"
|
||||
ewarn "and remove the index file /var/lib/cfg-update/checksum.index"
|
||||
ewarn
|
||||
ewarn "If you are just updating to a newer version you should read the"
|
||||
ewarn "installation instructions on http://people.zeelandnet.nl/xentric"
|
||||
ewarn
|
||||
}
|
||||
|
||||
src_install() {
|
||||
exeinto /usr/bin
|
||||
doexe cfg-update emerge_with_indexing_for_cfg-update emerge_with_indexing_for_cfg-update_phphelper cfg-update_phphelper emerge_with_indexing_for_cfg-update_bashhelper
|
||||
insinto /usr/lib/cfg-update
|
||||
doins cfg-update cfg-update_indexing .bashrc test.tgz
|
||||
dodoc ChangeLog
|
||||
doman *.8
|
||||
insinto /etc
|
||||
doins cfg-update.conf
|
||||
doins cfg-update.hosts
|
||||
keepdir /var/lib/cfg-update
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ ! -e "${ROOT}"/var/lib/cfg-update/checksum.index \
|
||||
&& -e "${ROOT}"/var/lib/cfg-update/checksum.index ]]
|
||||
then
|
||||
ebegin "Moving checksum.index from /usr/lib/cfg-update to /var/lib/cfg-update"
|
||||
mv "${ROOT}"/usr/lib/cfg-update/checksum.index \
|
||||
"${ROOT}"/var/lib/cfg-update/checksum.index
|
||||
eend $?
|
||||
fi
|
||||
|
||||
if [[ -e "${ROOT}"/usr/bin/paludis ]]
|
||||
then
|
||||
ewarn
|
||||
ewarn "If you have used Paludis version <0.20.0 on your system, chances are"
|
||||
ewarn "that you have some corrupted CONTENTS files on your system..."
|
||||
ewarn
|
||||
ewarn "Please run: cfg-update --check-packages"
|
||||
ewarn
|
||||
ewarn "The above command will check all packages installed with Paludis and"
|
||||
ewarn "will output a list of packages that need to be re-installed with"
|
||||
ewarn "Paludis 0.20.0 or higher. If you do not re-install these packages"
|
||||
ewarn "you risk losing your custom settings when updating configuration"
|
||||
ewarn "files, that belong to these packages, with cfg-update!"
|
||||
ewarn
|
||||
fi
|
||||
|
||||
if [[ ${ROOT} == / ]]
|
||||
then
|
||||
ebegin "Moving backups to /var/lib/cfg-update/backups"
|
||||
/usr/bin/cfg-update --ebuild --move-backups
|
||||
eend $?
|
||||
fi
|
||||
|
||||
einfo
|
||||
einfo "If this is a first time install, please check the configuration"
|
||||
einfo "in /etc/cfg-update.conf before using cfg-update:"
|
||||
einfo
|
||||
einfo "If your system does not have an X-server installed you need to"
|
||||
einfo "change the MERGE_TOOL to sdiff, imediff2 or vimdiff."
|
||||
einfo "If you have X installed, set MERGE_TOOL to your favorite GUI tool:"
|
||||
einfo "xxdiff (default), kdiff3, meld, gtkdiff, gvimdiff, tkdiff"
|
||||
einfo
|
||||
einfo "TIP: to maximize the chances of future automatic updates, run:"
|
||||
einfo "cfg-update --optimize-backups"
|
||||
einfo
|
||||
einfo "For an example of an updating session with screenshots visit:"
|
||||
einfo "http://people.zeelandnet.nl/xentric"
|
||||
einfo
|
||||
}
|
@ -1,26 +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/kding/kding-0.6-r1.ebuild,v 1.4 2012/11/16 22:48:56 johu Exp $
|
||||
|
||||
EAPI=4
|
||||
KDE_HANDBOOK="optional"
|
||||
KDE_LINGUAS="de"
|
||||
inherit kde4-base
|
||||
|
||||
DESCRIPTION="KDE port of Ding, a dictionary lookup program."
|
||||
HOMEPAGE="http://www.rexi.org/software/kding/"
|
||||
SRC_URI="http://www.rexi.org/downloads/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="4"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="debug"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${P}-dtd.patch )
|
||||
|
||||
src_prepare() {
|
||||
sed -e "/Encoding=UTF-8/d" \
|
||||
-i resources/kding.desktop || die "fixing .desktop file failed"
|
||||
|
||||
kde4-base_src_prepare
|
||||
}
|
@ -1,9 +1,9 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/mariadb/mariadb-5.5.37.ebuild,v 1.1 2014/04/24 23:55:04 jmbsvicetto Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/mariadb/mariadb-5.5.37-r1.ebuild,v 1.1 2014/04/26 05:33:41 jmbsvicetto Exp $
|
||||
|
||||
EAPI="4"
|
||||
MY_EXTRAS_VER="20140424-1043Z"
|
||||
MY_EXTRAS_VER="20140426-0232Z"
|
||||
|
||||
# Build system
|
||||
BUILD="cmake"
|
@ -1,10 +1,10 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-5.5.37.ebuild,v 1.1 2014/04/25 00:43:46 jmbsvicetto Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-5.5.37-r1.ebuild,v 1.1 2014/04/26 05:36:06 jmbsvicetto Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
MY_EXTRAS_VER="20140424-1043Z"
|
||||
MY_EXTRAS_VER="20140426-0232Z"
|
||||
MY_PV="${PV//_alpha_pre/-m}"
|
||||
MY_PV="${MY_PV//_/-}"
|
||||
|
@ -1,4 +1,4 @@
|
||||
DIST openocd-0.5.0.tar.bz2 2228655 SHA256 0bc122f98a6cd68c4392f6265d480b0e875ff54203ec05a5a52d23900903a78d SHA512 8e2e168a35bf3f753683115fd5f4d4c79e54cd0fe5d072921475d43880619e5b4ab60f28d97a4a595d4b77938b9218e689013f66a925ee8007e6499f5b42448c WHIRLPOOL 84b6a4a9089542904865400ede82be00c4417519f0c9fc42cbb25ae671f621651e9b27f57c2a1e7f37102d53095bcb8e37601e8ed47ddf1ea82b76676b35e7aa
|
||||
DIST openocd-0.6.1.tar.bz2 3431071 SHA256 f4c4cc7445ad79cfba1bb24208e79c66edf9dc0c46b3c8fca391f4e41c942f2b SHA512 59f35750f761d3f2ce7a32ffdc5028d053fda2bd9424cc4497f528ec628ac1f022662d9f226dd2b04a8cd682a5cd056a09de14d50e1090426a816bb602f98250 WHIRLPOOL 81d43ce9866960edb7fdaefc5ec088852aaa79e86add67ea9682f26eb5f5d3e7c7523fde0729e15949af165470b44ded45b9d79662f651db56fd109db5074cad
|
||||
DIST openocd-0.7.0.tar.bz2 3493924 SHA256 52237b786530c8460b221556c26fa4779f668b7dcb83ff14b8c5eb2050f38e63 SHA512 bfba267e5cda558b347f6fab1a286353b97d81093c0457ac044667baa369f5cd47a07b3ce6a1ceb66e7992c2e4224765458dd859d0a6fa748ad8e6f80ea541ad WHIRLPOOL eb83e201becb22a72ad954bdd5e66e61e587b42856244e4fdce59af5d263a2879cb8e0d89e10bcff515cff199580997c1c6635064601ad31a803b19dd9c99702
|
||||
DIST openocd-0.8.0-rc1.tar.gz 4822072 SHA256 7b4d8a0f2eb092898f158413a44377994cfa652ac554733703eb4d98aa9080b9 SHA512 5b6bd19145624d88e1805eee32e42396400aad6b49055fa15ad9aa8bb4cef2d6c09865185f34b365d9c3a349828d4929a4ac636e8e955516a3416e466e516726 WHIRLPOOL b85e9349e99b28d89187c2bf89fbc70b338fb9a5122b5801c8f46f94b176ec877bb76516c0f338fc96a46229c5f7e40a94ed298aab31edc9ea9684ddf0ce8a4f
|
||||
DIST openocd-0.8.0-rc2.tar.gz 4821958 SHA256 369121a55d723694d6316798050e5160d95a7c012ba1ac015d9a08e9a49c7308 SHA512 b2d32acbee154821c3485874afc2ec8186086767395f256ade8b71766da06553e0cab07f17594c2b11b51ce44b2dd8bcfe347dab211bf8735592aa607252329e WHIRLPOOL e6556b8c9c4bb419c7150b9ffa109fc049c3634aecfbc0c316b80439afba2e49aaf80f7297cd4ae34a88f1754c043e8e56938c3cf3216ad8b2e36cd626b91020
|
||||
|
@ -1,6 +1 @@
|
||||
DIST fpcbuild-2.2.0.tar.gz 35801603 SHA256 55c6fe8df0a09b15c1bc5cbf6c7df12ee955f86933fdf624f26fda59636d7a5f SHA512 bbc14ea79a9e16885170e47834f6c9ee27d646c483d27a99f844f7c06d80d2fa703a8f4816f97e1bd36a6f74704779109de32d6143427eb4c314cf8293f64d4a WHIRLPOOL e55e5547a6821e4817c0faf72e2c8f98a5afc62cbd3ba26ec69d2fecb33a8f3d9ef9a811c20fc9065e1b363b03aab2125d66319008d181cfb50fa7e6986a0e1d
|
||||
DIST fpcbuild-2.2.2.tar.gz 39186745 SHA256 0d73b119e029382052fc6615034c4b5ee3ec66fa6cc45648f1f07cfb2c1058f1 SHA512 7869e9e50236a47503f4eaedaf5229cd7fcd13991404a314cc9b6ac297325b3016144637de3e731c89804e1dbf505a82dc6ad68e34926befaaec7eed304a9fbf WHIRLPOOL da1c218ea6e2b9e2235945d60d448ba508ec9274369a210e71910a5c180d9a5d601943c261f37b4f40f780c93ce873e476a79688913d2de3fd00334fe6ace75a
|
||||
DIST fpcbuild-2.2.4.tar.gz 39849184 SHA256 77a54f09e39f07ed723071784a86d9ac8ca08fb5aa6fe41c8e9970bea395b4cf SHA512 91085c7f0e5f991726cc4a8bd8bf54e2384eb7fa0a1d96f4a329691a668c9fd977fec31e265f5cb8a904e37d61158282e11a5485657f8c6fb59d8105217b5b92 WHIRLPOOL 9f487f9ef198e20e863ee4f69092b10416c21017b81fc2a02452c1d2c7b688413c02fa507a0ccdeb3263c3b201674ff8f0a056926c623d19e11e3031eb69af28
|
||||
DIST fpcbuild-2.4.0.tar.gz 41769847 SHA256 b3abbeaa0f2c3427fd447759e715cbc19b920f2ccad2b40ae5ab47e9d4124fd4 SHA512 e167426460ff68d4ead5a5ed849c1e9bd3b46c45fdf826bf47a7dade448a77b31a2486a9976ffb8c32a5c2d0d7267de019a3815fb225d8aa1bdb8afa6636a1e1 WHIRLPOOL 8fd915afcddb4596be20b1aa8e585eeaef5ad26d0864cd8955d2b5a082bce8a6b0e5bc5f262005bea1d592ec478e642feec27f201ef0cc37b7dd76a471a7c9a9
|
||||
DIST fpcbuild-2.6.0.tar.gz 50751193 SHA256 d788854faa373e59835d4e353133f9965993cce79c62d82e5c31837a9117beef SHA512 5139bde3490cbe4e25fb5031299412c372a29149a083180fe3828856c2fb371347f4201ec98ae4cf8b2d4c77101de843b63e27ceee644018901e156718d994cd WHIRLPOOL 3c0c9403983cfdbc97cc4b840aefbf6595c8f28a1c4759945ada7db436f939db3dfe6aa1380ef0e8cabb1051899adcc4a5c4321ec8bd64431fdfa28c0a47be87
|
||||
DIST fpcbuild-2.6.2.tar.gz 55198144 SHA256 75ad700ccc772b07304c286b0aae95f48a504b15fe890a36361d17dc8e92d83c SHA512 ecc28e8c63fd6bdd6a1b02b0aca4b7ac861bd4c0e815146ab34181fff63f3f60102c227e17317efdc30d6e97b6003b708ed9853f1d21f9e5faabcc89c85a91fe WHIRLPOOL 8614adf51cb71072dc1a4ed9b79acb1943b58decfcadbefd260dfbf20b07f9cba1b5c91c3b57ea78cf89ceb4de102e7cc4d0d93c54e7101bbfa3151b80c0af26
|
||||
|
@ -1,30 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/fpc-ide/fpc-ide-2.2.0.ebuild,v 1.2 2012/07/09 21:33:09 ulm Exp $
|
||||
|
||||
S="${WORKDIR}/fpcbuild-${PV}/fpcsrc/ide"
|
||||
|
||||
HOMEPAGE="http://www.freepascal.org/"
|
||||
DESCRIPTION="Free Pascal Compiler Integrated Development Environment"
|
||||
SRC_URI="mirror://sourceforge/freepascal/fpcbuild-${PV}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2 LGPL-2.1-with-linking-exception"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="~dev-lang/fpc-${PV}"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A} || die "Unpacking ${A} failed!"
|
||||
|
||||
find "${WORKDIR}" -name Makefile -exec sed -i -e 's/ -Xs / /g' {} + || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -j1 || die "make failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake -j1 INSTALL_PREFIX="${D}"usr install || die "make install failed"
|
||||
}
|
@ -1,30 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/fpc-ide/fpc-ide-2.2.2.ebuild,v 1.2 2012/07/09 21:33:09 ulm Exp $
|
||||
|
||||
S="${WORKDIR}/fpcbuild-${PV}/fpcsrc/ide"
|
||||
|
||||
HOMEPAGE="http://www.freepascal.org/"
|
||||
DESCRIPTION="Free Pascal Compiler Integrated Development Environment"
|
||||
SRC_URI="mirror://sourceforge/freepascal/fpcbuild-${PV}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2 LGPL-2.1-with-linking-exception"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="~dev-lang/fpc-${PV}"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A} || die "Unpacking ${A} failed!"
|
||||
|
||||
find "${WORKDIR}" -name Makefile -exec sed -i -e 's/ -Xs / /g' {} + || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -j1 || die "make failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake -j1 INSTALL_PREFIX="${D}"usr install || die "make install failed"
|
||||
}
|
@ -1,45 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/fpc-ide/fpc-ide-2.2.4.ebuild,v 1.4 2012/07/09 21:33:09 ulm Exp $
|
||||
|
||||
S="${WORKDIR}/fpcbuild-${PV}/fpcsrc/ide"
|
||||
|
||||
HOMEPAGE="http://www.freepascal.org/"
|
||||
DESCRIPTION="Free Pascal Compiler Integrated Development Environment"
|
||||
SRC_URI="mirror://sourceforge/freepascal/fpcbuild-${PV}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2 LGPL-2.1-with-linking-exception"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="~dev-lang/fpc-${PV}"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A} || die "Unpacking ${A} failed!"
|
||||
|
||||
find "${WORKDIR}" -name Makefile -exec sed -i -e 's/ -Xs / /g' {} + || die
|
||||
|
||||
# Use default configuration (minus stripping) unless specifically requested otherwise
|
||||
if ! test ${PPC_CONFIG_PATH+set}; then
|
||||
local FPCVER=$(fpc -iV)
|
||||
export PPC_CONFIG_PATH="${WORKDIR}"
|
||||
sed -e 's/^FPBIN=/#&/' /usr/lib/fpc/${FPCVER}/samplecfg |
|
||||
sh -s /usr/lib/fpc/${FPCVER} "${PPC_CONFIG_PATH}" || die
|
||||
sed -i -e '/^-Xs/d' "${PPC_CONFIG_PATH}"/fpc.cfg || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -j1 || die "make failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake -j1 INSTALL_PREFIX="${D}"usr install || die "make install failed"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo "To read the documentation, enable the doc USE flag for dev-lang/fpc,"
|
||||
einfo "and add /usr/share/doc/fpc-${PV}/fpctoc.htx to the Help Files list."
|
||||
}
|
@ -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/dev-lang/fpc-ide/fpc-ide-2.4.0.ebuild,v 1.2 2012/07/09 21:33:09 ulm Exp $
|
||||
|
||||
S="${WORKDIR}/fpcbuild-${PV}/fpcsrc/ide"
|
||||
|
||||
HOMEPAGE="http://www.freepascal.org/"
|
||||
DESCRIPTION="Free Pascal Compiler Integrated Development Environment"
|
||||
SRC_URI="mirror://sourceforge/freepascal/fpcbuild-${PV}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2 LGPL-2.1-with-linking-exception"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="~dev-lang/fpc-${PV}"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
# test gives compile errors, was not updated with fpc changes
|
||||
RESTRICT="test"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A} || die "Unpacking ${A} failed!"
|
||||
|
||||
find "${WORKDIR}" -name Makefile -exec sed -i -e 's/ -Xs / /g' {} + || die
|
||||
|
||||
# Use default configuration (minus stripping) unless specifically requested otherwise
|
||||
if ! test ${PPC_CONFIG_PATH+set}; then
|
||||
local FPCVER=$(fpc -iV)
|
||||
export PPC_CONFIG_PATH="${WORKDIR}"
|
||||
sed -e 's/^FPBIN=/#&/' /usr/lib/fpc/${FPCVER}/samplecfg |
|
||||
sh -s /usr/lib/fpc/${FPCVER} "${PPC_CONFIG_PATH}" || die
|
||||
sed -i -e '/^-Xs/d' "${PPC_CONFIG_PATH}"/fpc.cfg || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -j1 || die "make failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake -j1 INSTALL_PREFIX="${D}"usr install || die "make install failed"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo "To read the documentation, enable the doc USE flag for dev-lang/fpc,"
|
||||
einfo "and add /usr/share/doc/fpc-${PV}/fpctoc.htx to the Help Files list."
|
||||
}
|
@ -1,48 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/fpc-ide/fpc-ide-2.6.0.ebuild,v 1.1 2013/02/02 08:25:07 patrick Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
S="${WORKDIR}/fpcbuild-${PV}/fpcsrc/ide"
|
||||
|
||||
HOMEPAGE="http://www.freepascal.org/"
|
||||
DESCRIPTION="Free Pascal Compiler Integrated Development Environment"
|
||||
SRC_URI="mirror://sourceforge/freepascal/fpcbuild-${PV}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2 LGPL-2.1-with-linking-exception"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="~dev-lang/fpc-${PV}"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
# test gives compile errors, was not updated with fpc changes
|
||||
RESTRICT="test"
|
||||
|
||||
src_prepare() {
|
||||
find "${WORKDIR}" -name Makefile -exec sed -i -e 's/ -Xs / /g' {} + || die
|
||||
|
||||
# Use default configuration (minus stripping) unless specifically requested otherwise
|
||||
if ! test ${PPC_CONFIG_PATH+set}; then
|
||||
local FPCVER=$(fpc -iV)
|
||||
export PPC_CONFIG_PATH="${WORKDIR}"
|
||||
sed -e 's/^FPBIN=/#&/' /usr/lib/fpc/${FPCVER}/samplecfg |
|
||||
sh -s /usr/lib/fpc/${FPCVER} "${PPC_CONFIG_PATH}" || die
|
||||
sed -i -e '/^-Xs/d' "${PPC_CONFIG_PATH}"/fpc.cfg || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -j1 || die "make failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake -j1 INSTALL_PREFIX="${D}"usr install || die "make install failed"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo "To read the documentation, enable the doc USE flag for dev-lang/fpc,"
|
||||
einfo "and add /usr/share/doc/fpc-${PV}/fpctoc.htx to the Help Files list."
|
||||
}
|
@ -1,62 +0,0 @@
|
||||
Index: packages/gtk2/src/gtk+/gtk/gtk2.pas
|
||||
===================================================================
|
||||
--- packages/extra/gtk2/gtk+/gtk/gtk2.pas (revision 11628)
|
||||
+++ packages/extra/gtk2/gtk+/gtk/gtk2.pas (working copy)
|
||||
@@ -63,6 +63,8 @@
|
||||
{$DEFINE HasGTK2_8}
|
||||
{$ENDIF}
|
||||
|
||||
+// {$define HasGTK_FileSystem}
|
||||
+
|
||||
interface
|
||||
|
||||
uses
|
||||
Index: packages/gtk2/src/gtk+/gtk/gtkfilesystem.inc
|
||||
===================================================================
|
||||
--- packages/extra/gtk2/gtk+/gtk/gtkfilesystem.inc (revision 11628)
|
||||
+++ packages/extra/gtk2/gtk+/gtk/gtkfilesystem.inc (working copy)
|
||||
@@ -115,17 +115,14 @@
|
||||
|
||||
{$IFDEF read_interface_rest}
|
||||
|
||||
+{$ifdef HasGTK_FileSystem}
|
||||
|
||||
{ GError enumeration for GtkFileSystem }
|
||||
|
||||
function GTK_FILE_SYSTEM_ERROR : TGQuark;
|
||||
|
||||
-
|
||||
-
|
||||
function gtk_file_system_error_quark:TGQuark;cdecl;external gtklib name 'gtk_file_system_error_quark';
|
||||
|
||||
-
|
||||
-
|
||||
{ Boxed-type for gtk_file_folder_get_info() results }
|
||||
|
||||
function GTK_TYPE_FILE_INFO : GType;
|
||||
@@ -244,11 +241,16 @@
|
||||
{ GtkFileSystem modules support }
|
||||
|
||||
function _gtk_file_system_create(file_system_name:Pchar):PGtkFileSystem;cdecl;external gtklib name '_gtk_file_system_create';
|
||||
+
|
||||
+{$endif HasGTK_FileSystem}
|
||||
+
|
||||
{$endif} {read_interface_rest}
|
||||
|
||||
|
||||
{$ifdef read_implementation}
|
||||
|
||||
+{$ifdef HasGTK_FileSystem}
|
||||
+
|
||||
function GTK_FILE_SYSTEM_ERROR : TGQuark;
|
||||
begin
|
||||
GTK_FILE_SYSTEM_ERROR:=gtk_file_system_error_quark;
|
||||
@@ -307,6 +309,8 @@
|
||||
GTK_FILE_FOLDER_GET_IFACE:=G_TYPE_INSTANCE_GET_INTERFACE(inst,GTK_TYPE_FILE_FOLDER);
|
||||
end;
|
||||
|
||||
+{$endif HasGTK_FileSystem}
|
||||
+
|
||||
function gtk_file_path_new_dup(str : Pgchar) : PGtkFilePath;
|
||||
begin
|
||||
gtk_file_path_new_dup:=PGtkFilePath(g_strdup(str));
|
@ -1,338 +0,0 @@
|
||||
|
||||
http://bugs.gentoo.org/show_bug.cgi?id=228867
|
||||
http://mantis.freepascal.org/view.php?id=11563
|
||||
|
||||
--- fpcbuild-2.2.2/fpcsrc/compiler/aggas.pas
|
||||
+++ fpcbuild-2.2.2/fpcsrc/compiler/aggas.pas
|
||||
@@ -1074,6 +1074,13 @@
|
||||
(target_info.system in systems_darwin) then
|
||||
AsmWriteLn(#9'.subsections_via_symbols');
|
||||
|
||||
+ { "no executable stack" marker for Linux }
|
||||
+ if (target_info.system in system_linux) and
|
||||
+ not(cs_executable_stack in current_settings.moduleswitches) then
|
||||
+ begin
|
||||
+ AsmWriteLn('.section .note.GNU-stack,"",%progbits');
|
||||
+ end;
|
||||
+
|
||||
AsmLn;
|
||||
{$ifdef EXTDEBUG}
|
||||
if assigned(current_module.mainsource) then
|
||||
--- fpcbuild-2.2.2/fpcsrc/compiler/globtype.pas
|
||||
+++ fpcbuild-2.2.2/fpcsrc/compiler/globtype.pas
|
||||
@@ -109,7 +109,9 @@
|
||||
{ linking }
|
||||
cs_create_smart,cs_create_dynamic,cs_create_pic,
|
||||
{ browser switches are back }
|
||||
- cs_browser,cs_local_browser
|
||||
+ cs_browser,cs_local_browser,
|
||||
+ { target specific }
|
||||
+ cs_executable_stack
|
||||
);
|
||||
tmoduleswitches = set of tmoduleswitch;
|
||||
|
||||
--- fpcbuild-2.2.2/fpcsrc/compiler/msg/errore.msg
|
||||
+++ fpcbuild-2.2.2/fpcsrc/compiler/msg/errore.msg
|
||||
@@ -2699,6 +2699,7 @@
|
||||
3*1W<x>_Target-specific options (targets)
|
||||
A*1W<x>_Target-specific options (targets)
|
||||
P*1W<x>_Target-specific options (targets)
|
||||
+p*1W<x>_Target-specific options (targets)
|
||||
3*2Wb_Create a bundle instead of a library (Darwin)
|
||||
P*2Wb_Create a bundle instead of a library (Darwin)
|
||||
p*2Wb_Create a bundle instead of a library (Darwin)
|
||||
@@ -2718,6 +2719,10 @@
|
||||
3*2WR_Generate relocation code (Windows)
|
||||
A*2WR_Generate relocation code (Windows)
|
||||
P*2WT_Specify MPW tool type application (Classic Mac OS)
|
||||
+3*2WX_Enable executable stack (Linux)
|
||||
+A*2WX_Enable executable stack (Linux)
|
||||
+p*2WX_Enable executable stack (Linux)
|
||||
+P*2WX_Enable executable stack (Linux)
|
||||
**1X_Executable options:
|
||||
**2Xc_Pass --shared/-dynamic to the linker (BeOS, Darwin, FreeBSD, Linux)
|
||||
**2Xd_Do not use standard library search path (needed for cross compile)
|
||||
--- fpcbuild-2.2.2/fpcsrc/compiler/msgidx.inc
|
||||
+++ fpcbuild-2.2.2/fpcsrc/compiler/msgidx.inc
|
||||
@@ -738,7 +738,7 @@
|
||||
option_info=11024;
|
||||
option_help_pages=11025;
|
||||
|
||||
- MsgTxtSize = 45950;
|
||||
+ MsgTxtSize = 46144;
|
||||
|
||||
MsgIdxMax : array[1..20] of longint=(
|
||||
24,87,248,84,63,50,108,22,135,61,
|
||||
--- fpcbuild-2.2.2/fpcsrc/compiler/msgtxt.inc
|
||||
+++ fpcbuild-2.2.2/fpcsrc/compiler/msgtxt.inc
|
||||
@@ -1,7 +1,7 @@
|
||||
{$ifdef Delphi}
|
||||
-const msgtxt : array[0..000191] of string[240]=(
|
||||
+const msgtxt : array[0..000192] of string[240]=(
|
||||
{$else Delphi}
|
||||
-const msgtxt : array[0..000191,1..240] of char=(
|
||||
+const msgtxt : array[0..000192,1..240] of char=(
|
||||
{$endif Delphi}
|
||||
'01000_T_Compiler: $1'#000+
|
||||
'01001_D_Compiler OS: $1'#000+
|
||||
@@ -1051,47 +1051,52 @@
|
||||
'3*1W<x>_Target-specific options (targets)'#010+
|
||||
'A*1W<x>_Target-specific options (targets)'#010+
|
||||
'P*1W<x>_Target-specific options (targets)'#010+
|
||||
- '3*2Wb_Create a b','undle instead of a library (Darwin)'#010+
|
||||
+ 'p*1W<x>_Target-s','pecific options (targets)'#010+
|
||||
+ '3*2Wb_Create a bundle instead of a library (Darwin)'#010+
|
||||
'P*2Wb_Create a bundle instead of a library (Darwin)'#010+
|
||||
'p*2Wb_Create a bundle instead of a library (Darwin)'#010+
|
||||
'3*2WB_Create a relocatable image (Windows)'#010+
|
||||
- 'A*2WB_Create a relocatable image (Windows, Symbian)'#010+
|
||||
- '3*2WC','_Specify console type application (EMX, OS/2, Windows)'#010+
|
||||
+ 'A*2WB_Create a ','relocatable image (Windows, Symbian)'#010+
|
||||
+ '3*2WC_Specify console type application (EMX, OS/2, Windows)'#010+
|
||||
'A*2WC_Specify console type application (Windows)'#010+
|
||||
'P*2WC_Specify console type application (Classic Mac OS)'#010+
|
||||
- '3*2WD_Use DEFFILE to export functions of DLL or EXE (Windows)'#010+
|
||||
- 'A*2WD_Use DEFFILE ','to export functions of DLL or EXE (Windows)'#010+
|
||||
+ '3*2WD_Use DEFFILE to export functions ','of DLL or EXE (Windows)'#010+
|
||||
+ 'A*2WD_Use DEFFILE to export functions of DLL or EXE (Windows)'#010+
|
||||
'3*2WF_Specify full-screen type application (EMX, OS/2)'#010+
|
||||
'3*2WG_Specify graphic type application (EMX, OS/2, Windows)'#010+
|
||||
- 'A*2WG_Specify graphic type application (Windows)'#010+
|
||||
- 'P*2WG_Specify graphic type appli','cation (Classic Mac OS)'#010+
|
||||
+ 'A*2WG_Specify graphic type application ','(Windows)'#010+
|
||||
+ 'P*2WG_Specify graphic type application (Classic Mac OS)'#010+
|
||||
'3*2WN_Do not generate relocation code, needed for debugging (Windows)'#010+
|
||||
'A*2WN_Do not generate relocation code, needed for debugging (Windows)'#010+
|
||||
- '3*2WR_Generate relocation code (Windows)'#010+
|
||||
- 'A*2WR_Generate relocation code (Win','dows)'#010+
|
||||
+ '3*2WR_Generate relocation code (Wi','ndows)'#010+
|
||||
+ 'A*2WR_Generate relocation code (Windows)'#010+
|
||||
'P*2WT_Specify MPW tool type application (Classic Mac OS)'#010+
|
||||
+ '3*2WX_Enable executable stack (Linux)'#010+
|
||||
+ 'A*2WX_Enable executable stack (Linux)'#010+
|
||||
+ 'p*2WX_Enable executable stack (Linux)'#010+
|
||||
+ 'P*2WX_Enable executab','le stack (Linux)'#010+
|
||||
'**1X_Executable options:'#010+
|
||||
'**2Xc_Pass --shared/-dynamic to the linker (BeOS, Darwin, FreeBSD, Lin'+
|
||||
'ux)'#010+
|
||||
'**2Xd_Do not use standard library search path (needed for cross compil'+
|
||||
'e)'#010+
|
||||
- '**2Xe','_Use external linker'#010+
|
||||
- '**2Xg_Create debuginfo in a separate file and add a debuglink section '+
|
||||
- 'to executable'#010+
|
||||
+ '**2Xe_Use external linker'#010+
|
||||
+ '**2Xg_Create debuginfo in',' a separate file and add a debuglink sectio'+
|
||||
+ 'n to executable'#010+
|
||||
'**2XD_Try to link units dynamically (defines FPC_LINK_DYNAMIC)'#010+
|
||||
'**2Xi_Use internal linker'#010+
|
||||
'**2Xm_Generate link map'#010+
|
||||
- '**2XM<x>_Set the ','name of the '#039'main'#039' program routine (default'+
|
||||
- ' is '#039'main'#039')'#010+
|
||||
+ '**2XM<x>_Set the name of the '#039'main'#039' program routine (default i'+
|
||||
+ 's',' '#039'main'#039')'#010+
|
||||
'**2XP<x>_Prepend the binutils names with the prefix <x>'#010+
|
||||
'**2Xr<x>_Set library search path to <x> (needed for cross compile) (Be'+
|
||||
'OS, Linux)'#010+
|
||||
- '**2XR<x>_Prepend <x> to all linker search paths ','(BeOS, Darwin, FreeB'+
|
||||
- 'SD, Linux, Mac OS, Solaris)'#010+
|
||||
+ '**2XR<x>_Prepend <x> to all linker search paths (BeOS, Darwin, FreeBSD'+
|
||||
+ ', Linux, Mac OS, Solaris',')'#010+
|
||||
'**2Xs_Strip all symbols from executable'#010+
|
||||
'**2XS_Try to link units statically (default, defines FPC_LINK_STATIC)'#010+
|
||||
'**2Xt_Link with static libraries (-static is passed to linker)'#010+
|
||||
- '**2XX_Try to smartl','ink units (defines FPC_LINK_SMART)'#010+
|
||||
+ '**2XX_Try to smartlink units (defines FPC_LINK_SMART)',#010+
|
||||
'**1*_'#010+
|
||||
'**1?_Show this help'#010+
|
||||
'**1h_Shows this help without waiting'#000
|
||||
--- fpcbuild-2.2.2/fpcsrc/compiler/ogelf.pas
|
||||
+++ fpcbuild-2.2.2/fpcsrc/compiler/ogelf.pas
|
||||
@@ -1021,6 +1021,10 @@
|
||||
symtabsect:=TElfObjSection.create_ext(ObjSectionList,'.symtab',SHT_SYMTAB,0,0,0,4,sizeof(telfsymbol));
|
||||
strtabsect:=TElfObjSection.create_ext(ObjSectionList,'.strtab',SHT_STRTAB,0,0,0,1,0);
|
||||
shstrtabsect:=TElfObjSection.create_ext(ObjSectionList,'.shstrtab',SHT_STRTAB,0,0,0,1,0);
|
||||
+ { "no executable stack" marker for Linux }
|
||||
+ if (target_info.system in system_linux) and
|
||||
+ not(cs_executable_stack in current_settings.moduleswitches) then
|
||||
+ TElfObjSection.create_ext(ObjSectionList,'.note.GNU-stack',SHT_PROGBITS,0,0,0,1,0);
|
||||
{ insert the empty and filename as first in strtab }
|
||||
strtabsect.writestr(#0);
|
||||
strtabsect.writestr(ExtractFileName(current_module.mainsource^)+#0);
|
||||
--- fpcbuild-2.2.2/fpcsrc/compiler/options.pas
|
||||
+++ fpcbuild-2.2.2/fpcsrc/compiler/options.pas
|
||||
@@ -1357,6 +1357,18 @@
|
||||
else
|
||||
apptype:=app_tool;
|
||||
end;
|
||||
+ 'X':
|
||||
+ begin
|
||||
+ if (target_info.system in system_linux) then
|
||||
+ begin
|
||||
+ if UnsetBool(More, j) then
|
||||
+ exclude(init_settings.moduleswitches,cs_executable_stack)
|
||||
+ else
|
||||
+ include(init_settings.moduleswitches,cs_executable_stack)
|
||||
+ end
|
||||
+ else
|
||||
+ IllegalPara(opt);
|
||||
+ end
|
||||
else
|
||||
IllegalPara(opt);
|
||||
end;
|
||||
--- fpcbuild-2.2.2/fpcsrc/rtl/linux/arm/cprt0.as
|
||||
+++ fpcbuild-2.2.2/fpcsrc/rtl/linux/arm/cprt0.as
|
||||
@@ -135,3 +135,5 @@
|
||||
2: .long 0
|
||||
.long 2,0,0
|
||||
3: .align 4
|
||||
+
|
||||
+.section .note.GNU-stack,"",%progbits
|
||||
--- fpcbuild-2.2.2/fpcsrc/rtl/linux/arm/gprt0.as
|
||||
+++ fpcbuild-2.2.2/fpcsrc/rtl/linux/arm/gprt0.as
|
||||
@@ -90,3 +90,4 @@
|
||||
.long 2,0,0
|
||||
3: .align 4
|
||||
|
||||
+.section .note.GNU-stack,"",%progbits
|
||||
--- fpcbuild-2.2.2/fpcsrc/rtl/linux/arm/prt0.as
|
||||
+++ fpcbuild-2.2.2/fpcsrc/rtl/linux/arm/prt0.as
|
||||
@@ -108,3 +108,5 @@
|
||||
2: .long 0
|
||||
.long 2,0,0
|
||||
3: .align 4
|
||||
+
|
||||
+.section .note.GNU-stack,"",%progbits
|
||||
--- fpcbuild-2.2.2/fpcsrc/rtl/linux/arm/ucprt0.as
|
||||
+++ fpcbuild-2.2.2/fpcsrc/rtl/linux/arm/ucprt0.as
|
||||
@@ -178,3 +178,5 @@
|
||||
2: .long 0
|
||||
.long 2,0,0
|
||||
3: .align 4
|
||||
+
|
||||
+.section .note.GNU-stack,"",%progbits
|
||||
--- fpcbuild-2.2.2/fpcsrc/rtl/linux/i386/cprt0.as
|
||||
+++ fpcbuild-2.2.2/fpcsrc/rtl/linux/i386/cprt0.as
|
||||
@@ -105,3 +105,5 @@
|
||||
.set operatingsystem_parameter_envp,operatingsystem_parameters+0
|
||||
.set operatingsystem_parameter_argc,operatingsystem_parameters+4
|
||||
.set operatingsystem_parameter_argv,operatingsystem_parameters+8
|
||||
+
|
||||
+.section .note.GNU-stack,"",%progbits
|
||||
--- fpcbuild-2.2.2/fpcsrc/rtl/linux/i386/cprt21.as
|
||||
+++ fpcbuild-2.2.2/fpcsrc/rtl/linux/i386/cprt21.as
|
||||
@@ -122,3 +122,5 @@
|
||||
.set operatingsystem_parameter_envp,operatingsystem_parameters+0
|
||||
.set operatingsystem_parameter_argc,operatingsystem_parameters+4
|
||||
.set operatingsystem_parameter_argv,operatingsystem_parameters+8
|
||||
+
|
||||
+.section .note.GNU-stack,"",%progbits
|
||||
--- fpcbuild-2.2.2/fpcsrc/rtl/linux/i386/dllprt0.as
|
||||
+++ fpcbuild-2.2.2/fpcsrc/rtl/linux/i386/dllprt0.as
|
||||
@@ -72,3 +72,4 @@
|
||||
.set operatingsystem_parameter_argc,operatingsystem_parameters+4
|
||||
.set operatingsystem_parameter_argv,operatingsystem_parameters+8
|
||||
|
||||
+.section .note.GNU-stack,"",%progbits
|
||||
--- fpcbuild-2.2.2/fpcsrc/rtl/linux/i386/gprt0.as
|
||||
+++ fpcbuild-2.2.2/fpcsrc/rtl/linux/i386/gprt0.as
|
||||
@@ -87,3 +87,5 @@
|
||||
.set operatingsystem_parameter_envp,operatingsystem_parameters+0
|
||||
.set operatingsystem_parameter_argc,operatingsystem_parameters+4
|
||||
.set operatingsystem_parameter_argv,operatingsystem_parameters+8
|
||||
+
|
||||
+.section .note.GNU-stack,"",%progbits
|
||||
--- fpcbuild-2.2.2/fpcsrc/rtl/linux/i386/gprt21.as
|
||||
+++ fpcbuild-2.2.2/fpcsrc/rtl/linux/i386/gprt21.as
|
||||
@@ -136,3 +136,4 @@
|
||||
.set operatingsystem_parameter_argc,operatingsystem_parameters+4
|
||||
.set operatingsystem_parameter_argv,operatingsystem_parameters+8
|
||||
|
||||
+.section .note.GNU-stack,"",%progbits
|
||||
--- fpcbuild-2.2.2/fpcsrc/rtl/linux/i386/prt0.as
|
||||
+++ fpcbuild-2.2.2/fpcsrc/rtl/linux/i386/prt0.as
|
||||
@@ -109,3 +109,4 @@
|
||||
|
||||
//.section .threadvar,"aw",@nobits
|
||||
.comm ___fpc_threadvar_offset,4
|
||||
+.section .note.GNU-stack,"",%progbits
|
||||
--- fpcbuild-2.2.2/fpcsrc/rtl/linux/powerpc/cprt0.as
|
||||
+++ fpcbuild-2.2.2/fpcsrc/rtl/linux/powerpc/cprt0.as
|
||||
@@ -117,3 +117,4 @@
|
||||
.comm operatingsystem_parameter_argc, 4
|
||||
.comm operatingsystem_parameter_argv, 4
|
||||
|
||||
+.section .note.GNU-stack,"",%progbits
|
||||
--- fpcbuild-2.2.2/fpcsrc/rtl/linux/powerpc/prt0.as
|
||||
+++ fpcbuild-2.2.2/fpcsrc/rtl/linux/powerpc/prt0.as
|
||||
@@ -67,3 +67,5 @@
|
||||
.comm operatingsystem_parameter_envp,4
|
||||
.comm operatingsystem_parameter_argc,4
|
||||
.comm operatingsystem_parameter_argv,4
|
||||
+
|
||||
+.section .note.GNU-stack,"",%progbits
|
||||
--- fpcbuild-2.2.2/fpcsrc/rtl/linux/powerpc64/cprt0.as
|
||||
+++ fpcbuild-2.2.2/fpcsrc/rtl/linux/powerpc64/cprt0.as
|
||||
@@ -433,3 +433,5 @@
|
||||
.comm operatingsystem_parameter_argc, 4
|
||||
.comm operatingsystem_parameter_argv, 8
|
||||
.comm operatingsystem_parameter_envp, 8
|
||||
+
|
||||
+.section .note.GNU-stack,"",%progbits
|
||||
--- fpcbuild-2.2.2/fpcsrc/rtl/linux/powerpc64/gprt0.as
|
||||
+++ fpcbuild-2.2.2/fpcsrc/rtl/linux/powerpc64/gprt0.as
|
||||
@@ -439,3 +439,5 @@
|
||||
.comm operatingsystem_parameter_argc, 4
|
||||
.comm operatingsystem_parameter_argv, 8
|
||||
.comm operatingsystem_parameter_envp, 8
|
||||
+
|
||||
+.section .note.GNU-stack,"",%progbits
|
||||
--- fpcbuild-2.2.2/fpcsrc/rtl/linux/powerpc64/prt0.as
|
||||
+++ fpcbuild-2.2.2/fpcsrc/rtl/linux/powerpc64/prt0.as
|
||||
@@ -376,3 +376,4 @@
|
||||
.comm operatingsystem_parameter_argv, 8
|
||||
.comm operatingsystem_parameter_envp, 8
|
||||
|
||||
+.section .note.GNU-stack,"",%progbits
|
||||
--- /dev/null
|
||||
+++ fpcbuild-2.2.2/fpcsrc/tests/webtbs/tw11563.pp
|
||||
@@ -0,0 +1,40 @@
|
||||
+{ %target=linux}
|
||||
+{ %result=216 }
|
||||
+
|
||||
+program ExecStack;
|
||||
+ procedure DoIt;
|
||||
+ type
|
||||
+ proc = procedure;
|
||||
+ var
|
||||
+{$if defined(cpupowerpc) or defined(cpupowerpc64)}
|
||||
+ ret: longint;
|
||||
+{$endif}
|
||||
+{$if defined(cpui386) or defined(cpux86_64)}
|
||||
+ ret: Byte;
|
||||
+{$endif}
|
||||
+{$ifdef cpuarm}
|
||||
+ 'add arm code to test stack execution'
|
||||
+{$endif}
|
||||
+ DoNothing: proc;
|
||||
+
|
||||
+ begin
|
||||
+{$if defined(cpupowerpc) or defined(cpupowerpc64)}
|
||||
+ { can't use proc(@ret) because linux/ppc64 always expects some kind of
|
||||
+ trampoline
|
||||
+ }
|
||||
+ ret := ($4e shl 24) or ($80 shl 16) or ($00 shl 8) or $20;
|
||||
+ asm
|
||||
+ la r0, ret
|
||||
+ mtctr r0
|
||||
+ bctrl
|
||||
+ end;
|
||||
+{$endif}
|
||||
+{$if defined(cpui386) or defined(cpux86_64)}
|
||||
+ ret := $C3;
|
||||
+ DoNothing := proc(@ret);
|
||||
+ DoNothing;
|
||||
+{$endif}
|
||||
+ end;
|
||||
+begin
|
||||
+ DoIt;
|
||||
+end.
|
@ -1,62 +0,0 @@
|
||||
Index: packages/gtk2/src/gtk+/gtk/gtk2.pas
|
||||
===================================================================
|
||||
--- packages/gtk2/src/gtk+/gtk/gtk2.pas (revision 11628)
|
||||
+++ packages/gtk2/src/gtk+/gtk/gtk2.pas (working copy)
|
||||
@@ -63,6 +63,8 @@
|
||||
{$DEFINE HasGTK2_8}
|
||||
{$ENDIF}
|
||||
|
||||
+// {$define HasGTK_FileSystem}
|
||||
+
|
||||
interface
|
||||
|
||||
uses
|
||||
Index: packages/gtk2/src/gtk+/gtk/gtkfilesystem.inc
|
||||
===================================================================
|
||||
--- packages/gtk2/src/gtk+/gtk/gtkfilesystem.inc (revision 11628)
|
||||
+++ packages/gtk2/src/gtk+/gtk/gtkfilesystem.inc (working copy)
|
||||
@@ -115,17 +115,14 @@
|
||||
|
||||
{$IFDEF read_interface_rest}
|
||||
|
||||
+{$ifdef HasGTK_FileSystem}
|
||||
|
||||
{ GError enumeration for GtkFileSystem }
|
||||
|
||||
function GTK_FILE_SYSTEM_ERROR : TGQuark;
|
||||
|
||||
-
|
||||
-
|
||||
function gtk_file_system_error_quark:TGQuark;cdecl;external gtklib name 'gtk_file_system_error_quark';
|
||||
|
||||
-
|
||||
-
|
||||
{ Boxed-type for gtk_file_folder_get_info() results }
|
||||
|
||||
function GTK_TYPE_FILE_INFO : GType;
|
||||
@@ -244,11 +241,16 @@
|
||||
{ GtkFileSystem modules support }
|
||||
|
||||
function _gtk_file_system_create(file_system_name:Pchar):PGtkFileSystem;cdecl;external gtklib name '_gtk_file_system_create';
|
||||
+
|
||||
+{$endif HasGTK_FileSystem}
|
||||
+
|
||||
{$endif} {read_interface_rest}
|
||||
|
||||
|
||||
{$ifdef read_implementation}
|
||||
|
||||
+{$ifdef HasGTK_FileSystem}
|
||||
+
|
||||
function GTK_FILE_SYSTEM_ERROR : TGQuark;
|
||||
begin
|
||||
GTK_FILE_SYSTEM_ERROR:=gtk_file_system_error_quark;
|
||||
@@ -307,6 +309,8 @@
|
||||
GTK_FILE_FOLDER_GET_IFACE:=G_TYPE_INSTANCE_GET_INTERFACE(inst,GTK_TYPE_FILE_FOLDER);
|
||||
end;
|
||||
|
||||
+{$endif HasGTK_FileSystem}
|
||||
+
|
||||
function gtk_file_path_new_dup(str : Pgchar) : PGtkFilePath;
|
||||
begin
|
||||
gtk_file_path_new_dup:=PGtkFilePath(g_strdup(str));
|
@ -1,342 +0,0 @@
|
||||
|
||||
http://bugs.gentoo.org/show_bug.cgi?id=228867
|
||||
http://mantis.freepascal.org/view.php?id=11563
|
||||
|
||||
--- fpcbuild-2.2.2/fpcsrc/compiler/aggas.pas
|
||||
+++ fpcbuild-2.2.2/fpcsrc/compiler/aggas.pas
|
||||
@@ -1074,6 +1074,13 @@
|
||||
(target_info.system in systems_darwin) then
|
||||
AsmWriteLn(#9'.subsections_via_symbols');
|
||||
|
||||
+ { "no executable stack" marker for Linux }
|
||||
+ if (target_info.system in system_linux) and
|
||||
+ not(cs_executable_stack in current_settings.moduleswitches) then
|
||||
+ begin
|
||||
+ AsmWriteLn('.section .note.GNU-stack,"",%progbits');
|
||||
+ end;
|
||||
+
|
||||
AsmLn;
|
||||
{$ifdef EXTDEBUG}
|
||||
if assigned(current_module.mainsource) then
|
||||
--- fpcbuild-2.2.2/fpcsrc/compiler/globtype.pas
|
||||
+++ fpcbuild-2.2.2/fpcsrc/compiler/globtype.pas
|
||||
@@ -109,7 +109,9 @@
|
||||
{ linking }
|
||||
cs_create_smart,cs_create_dynamic,cs_create_pic,
|
||||
{ browser switches are back }
|
||||
- cs_browser,cs_local_browser
|
||||
+ cs_browser,cs_local_browser,
|
||||
+ { target specific }
|
||||
+ cs_executable_stack
|
||||
);
|
||||
tmoduleswitches = set of tmoduleswitch;
|
||||
|
||||
--- fpcbuild-2.2.2/fpcsrc/compiler/msg/errore.msg
|
||||
+++ fpcbuild-2.2.2/fpcsrc/compiler/msg/errore.msg
|
||||
@@ -2704,6 +2704,7 @@
|
||||
3*1W<x>_Target-specific options (targets)
|
||||
A*1W<x>_Target-specific options (targets)
|
||||
P*1W<x>_Target-specific options (targets)
|
||||
+p*1W<x>_Target-specific options (targets)
|
||||
3*2Wb_Create a bundle instead of a library (Darwin)
|
||||
P*2Wb_Create a bundle instead of a library (Darwin)
|
||||
p*2Wb_Create a bundle instead of a library (Darwin)
|
||||
@@ -2723,6 +2724,10 @@
|
||||
3*2WR_Generate relocation code (Windows)
|
||||
A*2WR_Generate relocation code (Windows)
|
||||
P*2WT_Specify MPW tool type application (Classic Mac OS)
|
||||
+3*2WX_Enable executable stack (Linux)
|
||||
+A*2WX_Enable executable stack (Linux)
|
||||
+p*2WX_Enable executable stack (Linux)
|
||||
+P*2WX_Enable executable stack (Linux)
|
||||
**1X_Executable options:
|
||||
**2Xc_Pass --shared/-dynamic to the linker (BeOS, Darwin, FreeBSD, Linux)
|
||||
**2Xd_Do not use standard library search path (needed for cross compile)
|
||||
--- fpcbuild-2.2.2/fpcsrc/compiler/msgidx.inc
|
||||
+++ fpcbuild-2.2.2/fpcsrc/compiler/msgidx.inc
|
||||
@@ -740,7 +740,7 @@
|
||||
option_info=11024;
|
||||
option_help_pages=11025;
|
||||
|
||||
- MsgTxtSize = 46171;
|
||||
+ MsgTxtSize = 46365;
|
||||
|
||||
MsgIdxMax : array[1..20] of longint=(
|
||||
24,87,250,84,63,50,108,22,135,61,
|
||||
--- fpcbuild-2.2.2/fpcsrc/compiler/msgtxt.inc
|
||||
+++ fpcbuild-2.2.2/fpcsrc/compiler/msgtxt.inc
|
||||
@@ -1,7 +1,7 @@
|
||||
{$ifdef Delphi}
|
||||
-const msgtxt : array[0..000192] of string[240]=(
|
||||
+const msgtxt : array[0..000193] of string[240]=(
|
||||
{$else Delphi}
|
||||
-const msgtxt : array[0..000192,1..240] of char=(
|
||||
+const msgtxt : array[0..000193,1..240] of char=(
|
||||
{$endif Delphi}
|
||||
'01000_T_Compiler: $1'#000+
|
||||
'01001_D_Compiler OS: $1'#000+
|
||||
@@ -1055,48 +1055,53 @@
|
||||
'3*1W<x>_Target-specific options (targets)'#010+
|
||||
'A*1W<x>_Target-specific options (targets)'#010+
|
||||
'P*1W<x>_Target-specific options (targets)'#010+
|
||||
- '3*2Wb_Create a bundle instead of a ','library (Darwin)'#010+
|
||||
+ 'p*1W<x>_Target-specific options (ta','rgets)'#010+
|
||||
+ '3*2Wb_Create a bundle instead of a library (Darwin)'#010+
|
||||
'P*2Wb_Create a bundle instead of a library (Darwin)'#010+
|
||||
'p*2Wb_Create a bundle instead of a library (Darwin)'#010+
|
||||
'3*2WB_Create a relocatable image (Windows)'#010+
|
||||
- 'A*2WB_Create a relocatable image (Windows, Symbian)'#010+
|
||||
- '3*2WC_Specify console ty','pe application (EMX, OS/2, Windows)'#010+
|
||||
+ 'A*2WB_Create a relocatable image (','Windows, Symbian)'#010+
|
||||
+ '3*2WC_Specify console type application (EMX, OS/2, Windows)'#010+
|
||||
'A*2WC_Specify console type application (Windows)'#010+
|
||||
'P*2WC_Specify console type application (Classic Mac OS)'#010+
|
||||
- '3*2WD_Use DEFFILE to export functions of DLL or EXE (Windows)'#010+
|
||||
- 'A*2WD_Use DEFFILE to export functions',' of DLL or EXE (Windows)'#010+
|
||||
+ '3*2WD_Use DEFFILE to export functions of DLL or EXE (Wind','ows)'#010+
|
||||
+ 'A*2WD_Use DEFFILE to export functions of DLL or EXE (Windows)'#010+
|
||||
'3*2WF_Specify full-screen type application (EMX, OS/2)'#010+
|
||||
'3*2WG_Specify graphic type application (EMX, OS/2, Windows)'#010+
|
||||
'A*2WG_Specify graphic type application (Windows)'#010+
|
||||
- 'P*2WG_Specify graphic type application (Classic Mac',' OS)'#010+
|
||||
+ 'P*2WG_Spe','cify graphic type application (Classic Mac OS)'#010+
|
||||
'3*2WN_Do not generate relocation code, needed for debugging (Windows)'#010+
|
||||
'A*2WN_Do not generate relocation code, needed for debugging (Windows)'#010+
|
||||
'3*2WR_Generate relocation code (Windows)'#010+
|
||||
- 'A*2WR_Generate relocation code (Windows)'#010+
|
||||
- 'P*2WT_Specify',' MPW tool type application (Classic Mac OS)'#010+
|
||||
- '**1X_Executable options:'#010+
|
||||
+ 'A*2WR_Genera','te relocation code (Windows)'#010+
|
||||
+ 'P*2WT_Specify MPW tool type application (Classic Mac OS)'#010+
|
||||
+ '3*2WX_Enable executable stack (Linux)'#010+
|
||||
+ 'A*2WX_Enable executable stack (Linux)'#010+
|
||||
+ 'p*2WX_Enable executable stack (Linux)'#010+
|
||||
+ 'P*2WX_Enable executable stack (Linux)'#010+
|
||||
+ '**','1X_Executable options:'#010+
|
||||
'**2Xc_Pass --shared/-dynamic to the linker (BeOS, Darwin, FreeBSD, Lin'+
|
||||
'ux)'#010+
|
||||
'**2Xd_Do not use standard library search path (needed for cross compil'+
|
||||
'e)'#010+
|
||||
- '**2Xe_Use external linke','r'#010+
|
||||
- '**2Xg_Create debuginfo in a separate file and add a debuglink section '+
|
||||
- 'to executable'#010+
|
||||
+ '**2Xe_Use external linker'#010+
|
||||
+ '**2Xg_Create debuginfo in a separate file an','d add a debuglink sectio'+
|
||||
+ 'n to executable'#010+
|
||||
'**2XD_Try to link units dynamically (defines FPC_LINK_DYNAMIC)'#010+
|
||||
'**2Xi_Use internal linker'#010+
|
||||
'**2Xm_Generate link map'#010+
|
||||
- '**2XM<x>_Set the name of the '#039'main'#039' ','program routine (default'+
|
||||
- ' is '#039'main'#039')'#010+
|
||||
- '**2XP<x>_Prepend the binutils names with the prefix <x>'#010+
|
||||
+ '**2XM<x>_Set the name of the '#039'main'#039' program routine (default i'+
|
||||
+ 's '#039'main'#039')'#010+
|
||||
+ '**2XP<x>_P','repend the binutils names with the prefix <x>'#010+
|
||||
'**2Xr<x>_Set library search path to <x> (needed for cross compile) (Be'+
|
||||
'OS, Linux)'#010+
|
||||
- '**2XR<x>_Prepend <x> to all linker search paths (BeOS, Darwin, Free','B'+
|
||||
- 'SD, Linux, Mac OS, Solaris)'#010+
|
||||
- '**2Xs_Strip all symbols from executable'#010+
|
||||
+ '**2XR<x>_Prepend <x> to all linker search paths (BeOS, Darwin, FreeBSD'+
|
||||
+ ', Linux, Mac OS, Solaris)'#010+
|
||||
+ '**2Xs_Strip all s','ymbols from executable'#010+
|
||||
'**2XS_Try to link units statically (default, defines FPC_LINK_STATIC)'#010+
|
||||
'**2Xt_Link with static libraries (-static is passed to linker)'#010+
|
||||
- '**2XX_Try to smartlink units ',' (defines FPC_LINK_SMART)'#010+
|
||||
+ '**2XX_Try to smartlink units (defines FPC_LINK_SMART)'#010+
|
||||
'**1*_'#010+
|
||||
- '**1?_Show this help'#010+
|
||||
+ '**1?_Show th','is help'#010+
|
||||
'**1h_Shows this help without waiting'#000
|
||||
);
|
||||
--- fpcbuild-2.2.2/fpcsrc/compiler/ogelf.pas
|
||||
+++ fpcbuild-2.2.2/fpcsrc/compiler/ogelf.pas
|
||||
@@ -1021,6 +1021,10 @@
|
||||
symtabsect:=TElfObjSection.create_ext(ObjSectionList,'.symtab',SHT_SYMTAB,0,0,0,4,sizeof(telfsymbol));
|
||||
strtabsect:=TElfObjSection.create_ext(ObjSectionList,'.strtab',SHT_STRTAB,0,0,0,1,0);
|
||||
shstrtabsect:=TElfObjSection.create_ext(ObjSectionList,'.shstrtab',SHT_STRTAB,0,0,0,1,0);
|
||||
+ { "no executable stack" marker for Linux }
|
||||
+ if (target_info.system in system_linux) and
|
||||
+ not(cs_executable_stack in current_settings.moduleswitches) then
|
||||
+ TElfObjSection.create_ext(ObjSectionList,'.note.GNU-stack',SHT_PROGBITS,0,0,0,1,0);
|
||||
{ insert the empty and filename as first in strtab }
|
||||
strtabsect.writestr(#0);
|
||||
strtabsect.writestr(ExtractFileName(current_module.mainsource^)+#0);
|
||||
--- fpcbuild-2.2.2/fpcsrc/compiler/options.pas
|
||||
+++ fpcbuild-2.2.2/fpcsrc/compiler/options.pas
|
||||
@@ -1357,6 +1357,18 @@
|
||||
else
|
||||
apptype:=app_tool;
|
||||
end;
|
||||
+ 'X':
|
||||
+ begin
|
||||
+ if (target_info.system in system_linux) then
|
||||
+ begin
|
||||
+ if UnsetBool(More, j) then
|
||||
+ exclude(init_settings.moduleswitches,cs_executable_stack)
|
||||
+ else
|
||||
+ include(init_settings.moduleswitches,cs_executable_stack)
|
||||
+ end
|
||||
+ else
|
||||
+ IllegalPara(opt);
|
||||
+ end
|
||||
else
|
||||
IllegalPara(opt);
|
||||
end;
|
||||
--- fpcbuild-2.2.2/fpcsrc/rtl/linux/arm/cprt0.as
|
||||
+++ fpcbuild-2.2.2/fpcsrc/rtl/linux/arm/cprt0.as
|
||||
@@ -135,3 +135,5 @@
|
||||
2: .long 0
|
||||
.long 2,0,0
|
||||
3: .align 4
|
||||
+
|
||||
+.section .note.GNU-stack,"",%progbits
|
||||
--- fpcbuild-2.2.2/fpcsrc/rtl/linux/arm/gprt0.as
|
||||
+++ fpcbuild-2.2.2/fpcsrc/rtl/linux/arm/gprt0.as
|
||||
@@ -90,3 +90,4 @@
|
||||
.long 2,0,0
|
||||
3: .align 4
|
||||
|
||||
+.section .note.GNU-stack,"",%progbits
|
||||
--- fpcbuild-2.2.2/fpcsrc/rtl/linux/arm/prt0.as
|
||||
+++ fpcbuild-2.2.2/fpcsrc/rtl/linux/arm/prt0.as
|
||||
@@ -108,3 +108,5 @@
|
||||
2: .long 0
|
||||
.long 2,0,0
|
||||
3: .align 4
|
||||
+
|
||||
+.section .note.GNU-stack,"",%progbits
|
||||
--- fpcbuild-2.2.2/fpcsrc/rtl/linux/arm/ucprt0.as
|
||||
+++ fpcbuild-2.2.2/fpcsrc/rtl/linux/arm/ucprt0.as
|
||||
@@ -178,3 +178,5 @@
|
||||
2: .long 0
|
||||
.long 2,0,0
|
||||
3: .align 4
|
||||
+
|
||||
+.section .note.GNU-stack,"",%progbits
|
||||
--- fpcbuild-2.2.2/fpcsrc/rtl/linux/i386/cprt0.as
|
||||
+++ fpcbuild-2.2.2/fpcsrc/rtl/linux/i386/cprt0.as
|
||||
@@ -105,3 +105,5 @@
|
||||
.set operatingsystem_parameter_envp,operatingsystem_parameters+0
|
||||
.set operatingsystem_parameter_argc,operatingsystem_parameters+4
|
||||
.set operatingsystem_parameter_argv,operatingsystem_parameters+8
|
||||
+
|
||||
+.section .note.GNU-stack,"",%progbits
|
||||
--- fpcbuild-2.2.2/fpcsrc/rtl/linux/i386/cprt21.as
|
||||
+++ fpcbuild-2.2.2/fpcsrc/rtl/linux/i386/cprt21.as
|
||||
@@ -122,3 +122,5 @@
|
||||
.set operatingsystem_parameter_envp,operatingsystem_parameters+0
|
||||
.set operatingsystem_parameter_argc,operatingsystem_parameters+4
|
||||
.set operatingsystem_parameter_argv,operatingsystem_parameters+8
|
||||
+
|
||||
+.section .note.GNU-stack,"",%progbits
|
||||
--- fpcbuild-2.2.2/fpcsrc/rtl/linux/i386/dllprt0.as
|
||||
+++ fpcbuild-2.2.2/fpcsrc/rtl/linux/i386/dllprt0.as
|
||||
@@ -72,3 +72,4 @@
|
||||
.set operatingsystem_parameter_argc,operatingsystem_parameters+4
|
||||
.set operatingsystem_parameter_argv,operatingsystem_parameters+8
|
||||
|
||||
+.section .note.GNU-stack,"",%progbits
|
||||
--- fpcbuild-2.2.2/fpcsrc/rtl/linux/i386/gprt0.as
|
||||
+++ fpcbuild-2.2.2/fpcsrc/rtl/linux/i386/gprt0.as
|
||||
@@ -87,3 +87,5 @@
|
||||
.set operatingsystem_parameter_envp,operatingsystem_parameters+0
|
||||
.set operatingsystem_parameter_argc,operatingsystem_parameters+4
|
||||
.set operatingsystem_parameter_argv,operatingsystem_parameters+8
|
||||
+
|
||||
+.section .note.GNU-stack,"",%progbits
|
||||
--- fpcbuild-2.2.2/fpcsrc/rtl/linux/i386/gprt21.as
|
||||
+++ fpcbuild-2.2.2/fpcsrc/rtl/linux/i386/gprt21.as
|
||||
@@ -136,3 +136,4 @@
|
||||
.set operatingsystem_parameter_argc,operatingsystem_parameters+4
|
||||
.set operatingsystem_parameter_argv,operatingsystem_parameters+8
|
||||
|
||||
+.section .note.GNU-stack,"",%progbits
|
||||
--- fpcbuild-2.2.2/fpcsrc/rtl/linux/i386/prt0.as
|
||||
+++ fpcbuild-2.2.2/fpcsrc/rtl/linux/i386/prt0.as
|
||||
@@ -109,3 +109,4 @@
|
||||
|
||||
//.section .threadvar,"aw",@nobits
|
||||
.comm ___fpc_threadvar_offset,4
|
||||
+.section .note.GNU-stack,"",%progbits
|
||||
--- fpcbuild-2.2.2/fpcsrc/rtl/linux/powerpc/cprt0.as
|
||||
+++ fpcbuild-2.2.2/fpcsrc/rtl/linux/powerpc/cprt0.as
|
||||
@@ -117,3 +117,4 @@
|
||||
.comm operatingsystem_parameter_argc, 4
|
||||
.comm operatingsystem_parameter_argv, 4
|
||||
|
||||
+.section .note.GNU-stack,"",%progbits
|
||||
--- fpcbuild-2.2.2/fpcsrc/rtl/linux/powerpc/prt0.as
|
||||
+++ fpcbuild-2.2.2/fpcsrc/rtl/linux/powerpc/prt0.as
|
||||
@@ -67,3 +67,5 @@
|
||||
.comm operatingsystem_parameter_envp,4
|
||||
.comm operatingsystem_parameter_argc,4
|
||||
.comm operatingsystem_parameter_argv,4
|
||||
+
|
||||
+.section .note.GNU-stack,"",%progbits
|
||||
--- fpcbuild-2.2.2/fpcsrc/rtl/linux/powerpc64/cprt0.as
|
||||
+++ fpcbuild-2.2.2/fpcsrc/rtl/linux/powerpc64/cprt0.as
|
||||
@@ -433,3 +433,5 @@
|
||||
.comm operatingsystem_parameter_argc, 4
|
||||
.comm operatingsystem_parameter_argv, 8
|
||||
.comm operatingsystem_parameter_envp, 8
|
||||
+
|
||||
+.section .note.GNU-stack,"",%progbits
|
||||
--- fpcbuild-2.2.2/fpcsrc/rtl/linux/powerpc64/gprt0.as
|
||||
+++ fpcbuild-2.2.2/fpcsrc/rtl/linux/powerpc64/gprt0.as
|
||||
@@ -439,3 +439,5 @@
|
||||
.comm operatingsystem_parameter_argc, 4
|
||||
.comm operatingsystem_parameter_argv, 8
|
||||
.comm operatingsystem_parameter_envp, 8
|
||||
+
|
||||
+.section .note.GNU-stack,"",%progbits
|
||||
--- fpcbuild-2.2.2/fpcsrc/rtl/linux/powerpc64/prt0.as
|
||||
+++ fpcbuild-2.2.2/fpcsrc/rtl/linux/powerpc64/prt0.as
|
||||
@@ -376,3 +376,4 @@
|
||||
.comm operatingsystem_parameter_argv, 8
|
||||
.comm operatingsystem_parameter_envp, 8
|
||||
|
||||
+.section .note.GNU-stack,"",%progbits
|
||||
--- /dev/null
|
||||
+++ fpcbuild-2.2.2/fpcsrc/tests/webtbs/tw11563.pp
|
||||
@@ -0,0 +1,40 @@
|
||||
+{ %target=linux}
|
||||
+{ %result=216 }
|
||||
+
|
||||
+program ExecStack;
|
||||
+ procedure DoIt;
|
||||
+ type
|
||||
+ proc = procedure;
|
||||
+ var
|
||||
+{$if defined(cpupowerpc) or defined(cpupowerpc64)}
|
||||
+ ret: longint;
|
||||
+{$endif}
|
||||
+{$if defined(cpui386) or defined(cpux86_64)}
|
||||
+ ret: Byte;
|
||||
+{$endif}
|
||||
+{$ifdef cpuarm}
|
||||
+ 'add arm code to test stack execution'
|
||||
+{$endif}
|
||||
+ DoNothing: proc;
|
||||
+
|
||||
+ begin
|
||||
+{$if defined(cpupowerpc) or defined(cpupowerpc64)}
|
||||
+ { can't use proc(@ret) because linux/ppc64 always expects some kind of
|
||||
+ trampoline
|
||||
+ }
|
||||
+ ret := ($4e shl 24) or ($80 shl 16) or ($00 shl 8) or $20;
|
||||
+ asm
|
||||
+ la r0, ret
|
||||
+ mtctr r0
|
||||
+ bctrl
|
||||
+ end;
|
||||
+{$endif}
|
||||
+{$if defined(cpui386) or defined(cpux86_64)}
|
||||
+ ret := $C3;
|
||||
+ DoNothing := proc(@ret);
|
||||
+ DoNothing;
|
||||
+{$endif}
|
||||
+ end;
|
||||
+begin
|
||||
+ DoIt;
|
||||
+end.
|
@ -1,153 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/fpc/fpc-2.2.0-r1.ebuild,v 1.3 2012/07/09 21:29:15 ulm Exp $
|
||||
|
||||
inherit eutils
|
||||
|
||||
# bug #183604
|
||||
RESTRICT="strip"
|
||||
|
||||
PV_BIN="2.2.0"
|
||||
S="${WORKDIR}/fpcbuild-${PV}/fpcsrc"
|
||||
|
||||
HOMEPAGE="http://www.freepascal.org/"
|
||||
DESCRIPTION="Free Pascal Compiler"
|
||||
SRC_URI="mirror://sourceforge/freepascal/fpcbuild-${PV}.tar.gz
|
||||
x86? ( mirror://sourceforge/freepascal/fpc-${PV_BIN}.i386-linux.tar )
|
||||
sparc? ( mirror://sourceforge/freepascal/fpc-2.0.0.sparc-linux.tar )
|
||||
ppc? ( mirror://sourceforge/freepascal/fpc-${PV_BIN}.powerpc-linux.tar )
|
||||
amd64? ( mirror://sourceforge/freepascal/fpc-${PV_BIN}.x86_64-linux.tar )
|
||||
doc? ( mirror://sourceforge/freepascal/fpc-${PV}-doc-pdf.tar.gz )"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2 LGPL-2.1-with-linking-exception"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
|
||||
IUSE="doc source"
|
||||
|
||||
DEPEND="!dev-lang/fpc-bin
|
||||
!dev-lang/fpc-source"
|
||||
|
||||
src_unpack() {
|
||||
case ${ARCH} in
|
||||
x86) FPC_ARCH="i386" ;;
|
||||
ppc) FPC_ARCH="powerpc" ;;
|
||||
amd64) FPC_ARCH="x86_64" ;;
|
||||
sparc) FPC_ARCH="sparc" ;;
|
||||
*) die "This ebuild doesn't support ${ARCH}." ;;
|
||||
esac
|
||||
|
||||
unpack ${A} || die "Unpacking ${A} failed!"
|
||||
|
||||
tar -xf binary.${FPC_ARCH}-linux.tar || die "Unpacking binary.${FPC_ARCH}-linux.tar failed!"
|
||||
tar -xzf base.${FPC_ARCH}-linux.tar.gz || die "Unpacking base.${FPC_ARCH}-linux.tar.gz failed!"
|
||||
|
||||
cd "${S}"
|
||||
epatch "${FILESDIR}"/${P}-unneeded-symbols.patch
|
||||
}
|
||||
|
||||
set_pp() {
|
||||
case ${ARCH} in
|
||||
x86) FPC_ARCH="386" ;;
|
||||
ppc) FPC_ARCH="ppc" ;;
|
||||
amd64) FPC_ARCH="x64" ;;
|
||||
sparc) FPC_ARCH="sparc" ;;
|
||||
*) die "This ebuild doesn't support ${ARCH}." ;;
|
||||
esac
|
||||
|
||||
case ${1} in
|
||||
bootstrap) pp="${WORKDIR}"/lib/fpc/${PV_BIN}/ppc${FPC_ARCH} ;;
|
||||
new) pp="${S}"/compiler/ppc${FPC_ARCH} ;;
|
||||
*) die "set_pp: unknown argument: ${1}" ;;
|
||||
esac
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local pp
|
||||
|
||||
# Using the bootstrap compiler.
|
||||
set_pp bootstrap
|
||||
|
||||
emake -j1 PP="${pp}" compiler_cycle || die "make compiler_cycle failed!"
|
||||
|
||||
# Save new compiler from cleaning...
|
||||
cp "${S}"/compiler/ppc${FPC_ARCH} "${S}"/ppc${FPC_ARCH}.new
|
||||
|
||||
# ...rebuild with current version...
|
||||
emake -j1 PP="${S}"/ppc${FPC_ARCH}.new compiler_cycle || die "make compiler_cycle failed!"
|
||||
|
||||
# ..and clean up afterwards
|
||||
rm "${S}"/ppc${FPC_ARCH}.new
|
||||
|
||||
# Using the new compiler.
|
||||
set_pp new
|
||||
|
||||
emake -j1 PP="${pp}" rtl_clean || die "make rtl_clean failed"
|
||||
|
||||
emake -j1 PP="${pp}" rtl packages_base_all packages_fcl_all fv_all \
|
||||
packages_extra_all utils || die "make failed"
|
||||
|
||||
# Use pregenerated docs to avoid sandbox violations (#146804)
|
||||
#if use doc ; then
|
||||
# cd "${S}"/../fpcdocs
|
||||
# emake -j1 pdf || die "make pdf failed!"
|
||||
#fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local pp
|
||||
set_pp new
|
||||
|
||||
set -- PP="${pp}" FPCMAKE="${S}/utils/fpcm/fpcmake" \
|
||||
INSTALL_PREFIX="${D}"usr \
|
||||
INSTALL_DOCDIR="${D}"usr/share/doc/${P} \
|
||||
INSTALL_MANDIR="${D}"usr/share/man \
|
||||
INSTALL_SOURCEDIR="${D}"/usr/lib/fpc/${PV}/source
|
||||
|
||||
emake -j1 "$@" compiler_install rtl_install packages_install \
|
||||
fv_install utils_install || die "make install failed!"
|
||||
|
||||
dosym ../lib/fpc/${PV}/ppc${FPC_ARCH} /usr/bin/ppc${FPC_ARCH}
|
||||
|
||||
if ! has nodoc ${FEATURES} ; then
|
||||
cd "${S}"/../install/doc
|
||||
emake -j1 "$@" installdoc || die "make installdoc failed!"
|
||||
fi
|
||||
|
||||
if ! has noman ${FEATURES} ; then
|
||||
cd "${S}"/../install/man
|
||||
emake -j1 "$@" installman || die "make installman failed!"
|
||||
fi
|
||||
|
||||
if ! has nodoc ${FEATURES} && use doc ; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins "${WORKDIR}"/share/doc/fpdocs-${PV}/*.pdf
|
||||
#cd "${S}"/../fpcdocs
|
||||
#emake -j1 "$@" pdfinstall || die "make pdfinstall failed"
|
||||
fi
|
||||
|
||||
if use source ; then
|
||||
cd "${S}"
|
||||
shift
|
||||
emake -j1 PP="${D}"usr/bin/ppc${FPC_ARCH} "$@" sourceinstall || die "make sourceinstall failed!"
|
||||
find "${D}"usr/lib/fpc/${PV}/source -name '*.o' -exec rm {} \;
|
||||
fi
|
||||
|
||||
"${D}"usr/lib/fpc/${PV}/samplecfg /usr/lib/fpc/${PV} "${D}"etc
|
||||
|
||||
rm -rf "${D}"usr/lib/fpc/lexyacc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Using ewarn - it is really important for other ebuilds (e.g. Lazarus)
|
||||
if [ -e /etc/._cfg0000_fpc.cfg ]; then
|
||||
echo
|
||||
ewarn "Make sure you etc-update /etc/fpc.cfg"
|
||||
ewarn "Otherwise FPC will not work correctly."
|
||||
echo
|
||||
ebeep
|
||||
fi
|
||||
|
||||
ewarn "The default configuration for fpc strips executables. This"
|
||||
ewarn "will cause QA notices in ebuilds for software using fpc."
|
||||
ewarn "You can remove -Xs from /etc/fpc.cfg to avoid this."
|
||||
}
|
@ -1,149 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/fpc/fpc-2.2.0.ebuild,v 1.7 2012/07/09 21:29:15 ulm Exp $
|
||||
|
||||
inherit eutils
|
||||
|
||||
# bug #183604
|
||||
RESTRICT="strip"
|
||||
|
||||
PV_BIN="2.2.0"
|
||||
S="${WORKDIR}/fpcbuild-${PV}/fpcsrc"
|
||||
|
||||
HOMEPAGE="http://www.freepascal.org/"
|
||||
DESCRIPTION="Free Pascal Compiler"
|
||||
SRC_URI="mirror://sourceforge/freepascal/fpcbuild-${PV}.tar.gz
|
||||
x86? ( mirror://sourceforge/freepascal/fpc-${PV_BIN}.i386-linux.tar )
|
||||
sparc? ( mirror://sourceforge/freepascal/fpc-2.0.0.sparc-linux.tar )
|
||||
ppc? ( mirror://sourceforge/freepascal/fpc-${PV_BIN}.powerpc-linux.tar )
|
||||
amd64? ( mirror://sourceforge/freepascal/fpc-${PV_BIN}.x86_64-linux.tar )
|
||||
doc? ( mirror://sourceforge/freepascal/fpc-${PV}-doc-pdf.tar.gz )"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2 LGPL-2.1-with-linking-exception"
|
||||
KEYWORDS="amd64 ppc ~sparc x86"
|
||||
IUSE="doc source"
|
||||
|
||||
DEPEND="!dev-lang/fpc-bin
|
||||
!dev-lang/fpc-source"
|
||||
|
||||
src_unpack() {
|
||||
case ${ARCH} in
|
||||
x86) FPC_ARCH="i386" ;;
|
||||
ppc) FPC_ARCH="powerpc" ;;
|
||||
amd64) FPC_ARCH="x86_64" ;;
|
||||
sparc) FPC_ARCH="sparc" ;;
|
||||
*) die "This ebuild doesn't support ${ARCH}." ;;
|
||||
esac
|
||||
|
||||
unpack ${A} || die "Unpacking ${A} failed!"
|
||||
|
||||
tar -xf binary.${FPC_ARCH}-linux.tar || die "Unpacking binary.${FPC_ARCH}-linux.tar failed!"
|
||||
tar -xzf base.${FPC_ARCH}-linux.tar.gz || die "Unpacking base.${FPC_ARCH}-linux.tar.gz failed!"
|
||||
}
|
||||
|
||||
set_pp() {
|
||||
case ${ARCH} in
|
||||
x86) FPC_ARCH="386" ;;
|
||||
ppc) FPC_ARCH="ppc" ;;
|
||||
amd64) FPC_ARCH="x64" ;;
|
||||
sparc) FPC_ARCH="sparc" ;;
|
||||
*) die "This ebuild doesn't support ${ARCH}." ;;
|
||||
esac
|
||||
|
||||
case ${1} in
|
||||
bootstrap) pp="${WORKDIR}"/lib/fpc/${PV_BIN}/ppc${FPC_ARCH} ;;
|
||||
new) pp="${S}"/compiler/ppc${FPC_ARCH} ;;
|
||||
*) die "set_pp: unknown argument: ${1}" ;;
|
||||
esac
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local pp
|
||||
|
||||
# Using the bootstrap compiler.
|
||||
set_pp bootstrap
|
||||
|
||||
emake -j1 PP="${pp}" compiler_cycle || die "make compiler_cycle failed!"
|
||||
|
||||
# Save new compiler from cleaning...
|
||||
cp "${S}"/compiler/ppc${FPC_ARCH} "${S}"/ppc${FPC_ARCH}.new
|
||||
|
||||
# ...rebuild with current version...
|
||||
emake -j1 PP="${S}"/ppc${FPC_ARCH}.new compiler_cycle || die "make compiler_cycle failed!"
|
||||
|
||||
# ..and clean up afterwards
|
||||
rm "${S}"/ppc${FPC_ARCH}.new
|
||||
|
||||
# Using the new compiler.
|
||||
set_pp new
|
||||
|
||||
emake -j1 PP="${pp}" rtl_clean || die "make rtl_clean failed"
|
||||
|
||||
emake -j1 PP="${pp}" rtl packages_base_all packages_fcl_all fv_all \
|
||||
packages_extra_all utils || die "make failed"
|
||||
|
||||
# Use pregenerated docs to avoid sandbox violations (#146804)
|
||||
#if use doc ; then
|
||||
# cd "${S}"/../fpcdocs
|
||||
# emake -j1 pdf || die "make pdf failed!"
|
||||
#fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local pp
|
||||
set_pp new
|
||||
|
||||
set -- PP="${pp}" FPCMAKE="${S}/utils/fpcm/fpcmake" \
|
||||
INSTALL_PREFIX="${D}"usr \
|
||||
INSTALL_DOCDIR="${D}"usr/share/doc/${P} \
|
||||
INSTALL_MANDIR="${D}"usr/share/man \
|
||||
INSTALL_SOURCEDIR="${D}"/usr/lib/fpc/${PV}/source
|
||||
|
||||
emake -j1 "$@" compiler_install rtl_install packages_install \
|
||||
fv_install utils_install || die "make install failed!"
|
||||
|
||||
dosym ../lib/fpc/${PV}/ppc${FPC_ARCH} /usr/bin/ppc${FPC_ARCH}
|
||||
|
||||
if ! has nodoc ${FEATURES} ; then
|
||||
cd "${S}"/../install/doc
|
||||
emake -j1 "$@" installdoc || die "make installdoc failed!"
|
||||
fi
|
||||
|
||||
if ! has noman ${FEATURES} ; then
|
||||
cd "${S}"/../install/man
|
||||
emake -j1 "$@" installman || die "make installman failed!"
|
||||
fi
|
||||
|
||||
if ! has nodoc ${FEATURES} && use doc ; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins "${WORKDIR}"/share/doc/fpdocs-${PV}/*.pdf
|
||||
#cd "${S}"/../fpcdocs
|
||||
#emake -j1 "$@" pdfinstall || die "make pdfinstall failed"
|
||||
fi
|
||||
|
||||
if use source ; then
|
||||
cd "${S}"
|
||||
shift
|
||||
emake -j1 PP="${D}"usr/bin/ppc${FPC_ARCH} "$@" sourceinstall || die "make sourceinstall failed!"
|
||||
fi
|
||||
|
||||
"${D}"usr/lib/fpc/${PV}/samplecfg /usr/lib/fpc/${PV} "${D}"etc
|
||||
|
||||
rm -rf "${D}"usr/lib/fpc/lexyacc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Using ewarn - it is really important for other ebuilds (e.g. Lazarus)
|
||||
if [ -e /etc/._cfg0000_fpc.cfg ]; then
|
||||
echo
|
||||
ewarn "Make sure you etc-update /etc/fpc.cfg"
|
||||
ewarn "Otherwise FPC will not work correctly."
|
||||
echo
|
||||
ebeep
|
||||
fi
|
||||
|
||||
ewarn "The default configuration for fpc strips executables. This"
|
||||
ewarn "will cause QA notices in ebuilds for software using fpc."
|
||||
ewarn "You can remove -Xs from /etc/fpc.cfg to avoid this."
|
||||
}
|
@ -1,153 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/fpc/fpc-2.2.2-r1.ebuild,v 1.2 2012/07/09 21:29:15 ulm Exp $
|
||||
|
||||
inherit eutils
|
||||
|
||||
S="${WORKDIR}/fpcbuild-${PV}/fpcsrc"
|
||||
|
||||
HOMEPAGE="http://www.freepascal.org/"
|
||||
DESCRIPTION="Free Pascal Compiler"
|
||||
SRC_URI="mirror://sourceforge/freepascal/fpcbuild-${PV}.tar.gz
|
||||
x86? ( mirror://sourceforge/freepascal/fpc-2.2.2.i386-linux.tar )
|
||||
sparc? ( mirror://sourceforge/freepascal/fpc-2.0.0.sparc-linux.tar )
|
||||
ppc? ( mirror://sourceforge/freepascal/fpc-2.2.0.powerpc-linux.tar )
|
||||
amd64? ( mirror://sourceforge/freepascal/fpc-2.2.2.x86_64-linux.tar )
|
||||
doc? ( mirror://sourceforge/freepascal/fpc-${PV}-doc-pdf.zip )"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2 LGPL-2.1-with-linking-exception"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
|
||||
IUSE="doc source"
|
||||
|
||||
DEPEND="!dev-lang/fpc-bin
|
||||
!dev-lang/fpc-source"
|
||||
RDEPEND="${DEPEND}"
|
||||
DEPEND="${DEPEND}
|
||||
>=sys-devel/binutils-2.19.1-r1"
|
||||
|
||||
src_unpack() {
|
||||
case ${ARCH} in
|
||||
x86) FPC_ARCH="i386" PV_BIN=2.2.2 ;;
|
||||
ppc) FPC_ARCH="powerpc" PV_BIN=2.2.0 ;;
|
||||
amd64) FPC_ARCH="x86_64" PV_BIN=2.2.2 ;;
|
||||
sparc) FPC_ARCH="sparc" PV_BIN=2.0.0 ;;
|
||||
*) die "This ebuild doesn't support ${ARCH}." ;;
|
||||
esac
|
||||
|
||||
unpack ${A} || die "Unpacking ${A} failed!"
|
||||
|
||||
tar -xf binary.${FPC_ARCH}-linux.tar || die "Unpacking binary.${FPC_ARCH}-linux.tar failed!"
|
||||
tar -xzf base.${FPC_ARCH}-linux.tar.gz || die "Unpacking base.${FPC_ARCH}-linux.tar.gz failed!"
|
||||
|
||||
cd "${S}"
|
||||
epatch "${FILESDIR}"/${P}-unneeded-symbols.patch
|
||||
epatch "${FILESDIR}"/${P}-execstack.patch
|
||||
sed -i -e 's/ -Xs / /g' $(find . -name Makefile) || die "sed failed"
|
||||
}
|
||||
|
||||
set_pp() {
|
||||
case ${ARCH} in
|
||||
x86) FPC_ARCH="386" ;;
|
||||
ppc) FPC_ARCH="ppc" ;;
|
||||
amd64) FPC_ARCH="x64" ;;
|
||||
sparc) FPC_ARCH="sparc" ;;
|
||||
*) die "This ebuild doesn't support ${ARCH}." ;;
|
||||
esac
|
||||
|
||||
case ${1} in
|
||||
bootstrap) pp="${WORKDIR}"/lib/fpc/${PV_BIN}/ppc${FPC_ARCH} ;;
|
||||
new) pp="${S}"/compiler/ppc${FPC_ARCH} ;;
|
||||
*) die "set_pp: unknown argument: ${1}" ;;
|
||||
esac
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local pp
|
||||
|
||||
# Using the bootstrap compiler.
|
||||
set_pp bootstrap
|
||||
|
||||
emake -j1 PP="${pp}" compiler_cycle || die "make compiler_cycle failed!"
|
||||
|
||||
# Save new compiler from cleaning...
|
||||
cp "${S}"/compiler/ppc${FPC_ARCH} "${S}"/ppc${FPC_ARCH}.new
|
||||
|
||||
# ...rebuild with current version...
|
||||
emake -j1 PP="${S}"/ppc${FPC_ARCH}.new compiler_cycle || die "make compiler_cycle failed!"
|
||||
|
||||
# ..and clean up afterwards
|
||||
rm "${S}"/ppc${FPC_ARCH}.new
|
||||
|
||||
# Using the new compiler.
|
||||
set_pp new
|
||||
|
||||
emake -j1 PP="${pp}" rtl_clean || die "make rtl_clean failed"
|
||||
|
||||
emake -j1 PP="${pp}" rtl packages_all utils || die "make failed"
|
||||
|
||||
# Use pregenerated docs to avoid sandbox violations (#146804)
|
||||
#if use doc ; then
|
||||
# cd "${S}"/../fpcdocs
|
||||
# emake -j1 pdf || die "make pdf failed!"
|
||||
#fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local pp
|
||||
set_pp new
|
||||
|
||||
set -- PP="${pp}" FPCMAKE="${S}/utils/fpcm/fpcmake" \
|
||||
INSTALL_PREFIX="${D}"usr \
|
||||
INSTALL_DOCDIR="${D}"usr/share/doc/${P} \
|
||||
INSTALL_MANDIR="${D}"usr/share/man \
|
||||
INSTALL_SOURCEDIR="${D}"usr/lib/fpc/${PV}/source
|
||||
|
||||
emake -j1 "$@" compiler_install rtl_install packages_install \
|
||||
utils_install || die "make install failed!"
|
||||
|
||||
dosym ../lib/fpc/${PV}/ppc${FPC_ARCH} /usr/bin/ppc${FPC_ARCH}
|
||||
|
||||
if ! has nodoc ${FEATURES} ; then
|
||||
cd "${S}"/../install/doc
|
||||
emake -j1 "$@" installdoc || die "make installdoc failed!"
|
||||
fi
|
||||
|
||||
if ! has noman ${FEATURES} ; then
|
||||
cd "${S}"/../install/man
|
||||
emake -j1 "$@" installman || die "make installman failed!"
|
||||
fi
|
||||
|
||||
if ! has nodoc ${FEATURES} && use doc ; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins "${WORKDIR}"/doc/*.pdf
|
||||
#cd "${S}"/../fpcdocs
|
||||
#emake -j1 "$@" pdfinstall || die "make pdfinstall failed"
|
||||
fi
|
||||
|
||||
if use source ; then
|
||||
cd "${S}"
|
||||
shift
|
||||
emake -j1 PP="${D}"usr/bin/ppc${FPC_ARCH} "$@" sourceinstall || die "make sourceinstall failed!"
|
||||
find "${D}"usr/lib/fpc/${PV}/source -name '*.o' -exec rm {} \;
|
||||
fi
|
||||
|
||||
"${D}"usr/lib/fpc/${PV}/samplecfg /usr/lib/fpc/${PV} "${D}"etc
|
||||
|
||||
rm -rf "${D}"usr/lib/fpc/lexyacc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Using ewarn - it is really important for other ebuilds (e.g. Lazarus)
|
||||
if [ -e /etc/._cfg0000_fpc.cfg ]; then
|
||||
echo
|
||||
ewarn "Make sure you etc-update /etc/fpc.cfg"
|
||||
ewarn "Otherwise FPC will not work correctly."
|
||||
echo
|
||||
ebeep
|
||||
fi
|
||||
|
||||
ewarn "The default configuration for fpc strips executables. This"
|
||||
ewarn "will cause QA notices in ebuilds for software using fpc."
|
||||
ewarn "You can remove -Xs from /etc/fpc.cfg to avoid this."
|
||||
}
|
@ -1,131 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/fpc/fpc-2.2.4-r2.ebuild,v 1.2 2012/07/09 21:29:15 ulm Exp $
|
||||
|
||||
inherit eutils
|
||||
|
||||
RESTRICT="strip" #269221
|
||||
|
||||
S="${WORKDIR}/fpcbuild-${PV}/fpcsrc"
|
||||
|
||||
HOMEPAGE="http://www.freepascal.org/"
|
||||
DESCRIPTION="Free Pascal Compiler"
|
||||
SRC_URI="mirror://sourceforge/freepascal/fpcbuild-${PV}.tar.gz
|
||||
x86? ( mirror://sourceforge/freepascal/fpc-2.2.4.i386-linux.tar )
|
||||
sparc? ( mirror://sourceforge/freepascal/fpc-2.2.4.sparc-linux.tar )
|
||||
ppc? ( mirror://sourceforge/freepascal/fpc-2.2.4.powerpc-linux.tar )
|
||||
amd64? ( mirror://sourceforge/freepascal/fpc-2.2.4.x86_64-linux.tar )
|
||||
doc? ( mirror://sourceforge/freepascal/fpc-${PV}-doc-html.tar.gz
|
||||
mirror://gentoo/fpc-${PV}-fpctoc.htx.bz2 )"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2 LGPL-2.1-with-linking-exception"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
|
||||
IUSE="doc source"
|
||||
|
||||
DEPEND="!dev-lang/fpc-bin
|
||||
!dev-lang/fpc-source"
|
||||
RDEPEND="${DEPEND}"
|
||||
#DEPEND="${DEPEND}
|
||||
# >=sys-devel/binutils-2.19.1-r1"
|
||||
|
||||
src_unpack() {
|
||||
case ${ARCH} in
|
||||
x86) FPC_ARCH="i386" PV_BIN=2.2.4 ;;
|
||||
ppc) FPC_ARCH="powerpc" PV_BIN=2.2.4 ;;
|
||||
amd64) FPC_ARCH="x86_64" PV_BIN=2.2.4 ;;
|
||||
sparc) FPC_ARCH="sparc" PV_BIN=2.2.4 ;;
|
||||
*) die "This ebuild doesn't support ${ARCH}." ;;
|
||||
esac
|
||||
|
||||
unpack ${A} || die "Unpacking ${A} failed!"
|
||||
|
||||
tar -xf binary.${FPC_ARCH}-linux.tar || die "Unpacking binary.${FPC_ARCH}-linux.tar failed!"
|
||||
tar -xzf base.${FPC_ARCH}-linux.tar.gz || die "Unpacking base.${FPC_ARCH}-linux.tar.gz failed!"
|
||||
|
||||
cd "${S}"
|
||||
epatch "${FILESDIR}"/${P}-execstack.patch
|
||||
#sed -i -e 's/ -Xs / /g' $(find . -name Makefile) || die "sed failed"
|
||||
}
|
||||
|
||||
set_pp() {
|
||||
case ${ARCH} in
|
||||
x86) FPC_ARCH="386" ;;
|
||||
ppc) FPC_ARCH="ppc" ;;
|
||||
amd64) FPC_ARCH="x64" ;;
|
||||
sparc) FPC_ARCH="sparc" ;;
|
||||
*) die "This ebuild doesn't support ${ARCH}." ;;
|
||||
esac
|
||||
|
||||
case ${1} in
|
||||
bootstrap) pp="${WORKDIR}"/lib/fpc/${PV_BIN}/ppc${FPC_ARCH} ;;
|
||||
new) pp="${S}"/compiler/ppc${FPC_ARCH} ;;
|
||||
*) die "set_pp: unknown argument: ${1}" ;;
|
||||
esac
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local pp
|
||||
|
||||
# Using the bootstrap compiler.
|
||||
set_pp bootstrap
|
||||
|
||||
emake -j1 PP="${pp}" compiler_cycle || die "make compiler_cycle failed!"
|
||||
|
||||
# Save new compiler from cleaning...
|
||||
cp "${S}"/compiler/ppc${FPC_ARCH} "${S}"/ppc${FPC_ARCH}.new
|
||||
|
||||
# ...rebuild with current version...
|
||||
emake -j1 PP="${S}"/ppc${FPC_ARCH}.new compiler_cycle || die "make compiler_cycle failed!"
|
||||
|
||||
# ..and clean up afterwards
|
||||
rm "${S}"/ppc${FPC_ARCH}.new
|
||||
|
||||
# Using the new compiler.
|
||||
set_pp new
|
||||
|
||||
emake -j1 PP="${pp}" rtl_clean || die "make rtl_clean failed"
|
||||
|
||||
emake -j1 PP="${pp}" rtl packages_all utils || die "make failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local pp
|
||||
set_pp new
|
||||
|
||||
set -- PP="${pp}" FPCMAKE="${S}/utils/fpcm/fpcmake" \
|
||||
INSTALL_PREFIX="${D}"usr \
|
||||
INSTALL_DOCDIR="${D}"usr/share/doc/${P} \
|
||||
INSTALL_MANDIR="${D}"usr/share/man \
|
||||
INSTALL_SOURCEDIR="${D}"usr/lib/fpc/${PV}/source
|
||||
|
||||
emake -j1 "$@" compiler_install rtl_install packages_install \
|
||||
utils_install || die "make install failed!"
|
||||
|
||||
dosym ../lib/fpc/${PV}/ppc${FPC_ARCH} /usr/bin/ppc${FPC_ARCH}
|
||||
|
||||
cd "${S}"/../install/doc
|
||||
emake -j1 "$@" installdoc || die "make installdoc failed!"
|
||||
|
||||
cd "${S}"/../install/man
|
||||
emake -j1 "$@" installman || die "make installman failed!"
|
||||
|
||||
if use doc ; then
|
||||
cd "${S}"/../../share/doc/fpdocs-${PV}
|
||||
insinto /usr/share/doc/${P}
|
||||
doins -r * || die "doins fpdocs failed"
|
||||
newins "${WORKDIR}"/fpc-${PV}-fpctoc.htx fpctoc.htx || die "newins fpctoc.htx failed"
|
||||
fi
|
||||
|
||||
if use source ; then
|
||||
cd "${S}"
|
||||
shift
|
||||
emake -j1 PP="${D}"usr/bin/ppc${FPC_ARCH} "$@" sourceinstall || die "make sourceinstall failed!"
|
||||
find "${D}"usr/lib/fpc/${PV}/source -name '*.o' -exec rm {} \;
|
||||
fi
|
||||
|
||||
"${D}"usr/lib/fpc/${PV}/samplecfg "${D}"usr/lib/fpc/${PV} "${D}"etc || die "samplecfg failed"
|
||||
sed -i -e "s:${D}:/:g" "${D}"etc/fpc.cfg || die "sed fpc.cfg failed"
|
||||
|
||||
rm -rf "${D}"usr/lib/fpc/lexyacc
|
||||
}
|
@ -1,132 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/fpc/fpc-2.4.0.ebuild,v 1.6 2012/07/09 21:29:15 ulm Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
inherit eutils
|
||||
|
||||
RESTRICT="strip" #269221
|
||||
|
||||
S="${WORKDIR}/fpcbuild-${PV}/fpcsrc"
|
||||
|
||||
HOMEPAGE="http://www.freepascal.org/"
|
||||
DESCRIPTION="Free Pascal Compiler"
|
||||
SRC_URI="mirror://sourceforge/freepascal/fpcbuild-${PV}.tar.gz
|
||||
amd64? ( mirror://sourceforge/freepascal/fpc-2.4.0.x86_64-linux.tar )
|
||||
ppc? ( mirror://sourceforge/freepascal/fpc-2.4.0.powerpc-linux.tar )
|
||||
sparc? ( mirror://sourceforge/freepascal/fpc-2.2.4.sparc-linux.tar )
|
||||
x86? ( mirror://sourceforge/freepascal/fpc-2.4.0.i386-linux.tar )
|
||||
doc? ( mirror://sourceforge/freepascal/Documentation/${PV}/doc-html.tar.gz -> fpc-${PV}-doc-html.tar.gz
|
||||
mirror://gentoo/fpc-${PV}-fpctoc.htx.bz2 )"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2 LGPL-2.1-with-linking-exception"
|
||||
KEYWORDS="amd64 ppc sparc x86"
|
||||
IUSE="doc source"
|
||||
|
||||
DEPEND="!dev-lang/fpc-bin
|
||||
!dev-lang/fpc-source"
|
||||
RDEPEND="${DEPEND}"
|
||||
#DEPEND="${DEPEND}
|
||||
# >=sys-devel/binutils-2.19.1-r1"
|
||||
|
||||
src_unpack() {
|
||||
case ${ARCH} in
|
||||
amd64) FPC_ARCH="x86_64" PV_BIN=2.4.0 ;;
|
||||
ppc) FPC_ARCH="powerpc" PV_BIN=2.4.0 ;;
|
||||
sparc) FPC_ARCH="sparc" PV_BIN=2.2.4 ;;
|
||||
x86) FPC_ARCH="i386" PV_BIN=2.4.0 ;;
|
||||
*) die "This ebuild doesn't support ${ARCH}." ;;
|
||||
esac
|
||||
|
||||
unpack ${A} || die "Unpacking ${A} failed!"
|
||||
|
||||
tar -xf binary.${FPC_ARCH}-linux.tar || die "Unpacking binary.${FPC_ARCH}-linux.tar failed!"
|
||||
tar -xzf base.${FPC_ARCH}-linux.tar.gz || die "Unpacking base.${FPC_ARCH}-linux.tar.gz failed!"
|
||||
|
||||
#cd "${S}"
|
||||
#sed -i -e 's/ -Xs / /g' $(find . -name Makefile) || die "sed failed"
|
||||
}
|
||||
|
||||
set_pp() {
|
||||
case ${ARCH} in
|
||||
x86) FPC_ARCH="386" ;;
|
||||
ppc) FPC_ARCH="ppc" ;;
|
||||
amd64) FPC_ARCH="x64" ;;
|
||||
sparc) FPC_ARCH="sparc" ;;
|
||||
*) die "This ebuild doesn't support ${ARCH}." ;;
|
||||
esac
|
||||
|
||||
case ${1} in
|
||||
bootstrap) pp="${WORKDIR}"/lib/fpc/${PV_BIN}/ppc${FPC_ARCH} ;;
|
||||
new) pp="${S}"/compiler/ppc${FPC_ARCH} ;;
|
||||
*) die "set_pp: unknown argument: ${1}" ;;
|
||||
esac
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local pp
|
||||
|
||||
# Using the bootstrap compiler.
|
||||
set_pp bootstrap
|
||||
|
||||
emake -j1 PP="${pp}" compiler_cycle || die "make compiler_cycle failed!"
|
||||
|
||||
# Save new compiler from cleaning...
|
||||
cp "${S}"/compiler/ppc${FPC_ARCH} "${S}"/ppc${FPC_ARCH}.new
|
||||
|
||||
# ...rebuild with current version...
|
||||
emake -j1 PP="${S}"/ppc${FPC_ARCH}.new compiler_cycle || die "make compiler_cycle failed!"
|
||||
|
||||
# ..and clean up afterwards
|
||||
rm "${S}"/ppc${FPC_ARCH}.new
|
||||
|
||||
# Using the new compiler.
|
||||
set_pp new
|
||||
|
||||
emake -j1 PP="${pp}" rtl_clean || die "make rtl_clean failed"
|
||||
|
||||
emake -j1 PP="${pp}" rtl packages_all utils || die "make failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local pp
|
||||
set_pp new
|
||||
|
||||
set -- PP="${pp}" FPCMAKE="${S}/utils/fpcm/fpcmake" \
|
||||
INSTALL_PREFIX="${D}"usr \
|
||||
INSTALL_DOCDIR="${D}"usr/share/doc/${P} \
|
||||
INSTALL_MANDIR="${D}"usr/share/man \
|
||||
INSTALL_SOURCEDIR="${D}"usr/lib/fpc/${PV}/source
|
||||
|
||||
emake -j1 "$@" compiler_install rtl_install packages_install \
|
||||
utils_install || die "make install failed!"
|
||||
|
||||
dosym ../lib/fpc/${PV}/ppc${FPC_ARCH} /usr/bin/ppc${FPC_ARCH}
|
||||
|
||||
cd "${S}"/../install/doc
|
||||
emake -j1 "$@" installdoc || die "make installdoc failed!"
|
||||
|
||||
cd "${S}"/../install/man
|
||||
emake -j1 "$@" installman || die "make installman failed!"
|
||||
|
||||
if use doc ; then
|
||||
cd "${S}"/../../doc || die
|
||||
insinto /usr/share/doc/${P}
|
||||
doins -r * || die "doins fpdocs failed"
|
||||
newins "${WORKDIR}"/fpc-${PV}-fpctoc.htx fpctoc.htx || die "newins fpctoc.htx failed"
|
||||
fi
|
||||
|
||||
if use source ; then
|
||||
cd "${S}"
|
||||
shift
|
||||
emake -j1 PP="${D}"usr/bin/ppc${FPC_ARCH} "$@" sourceinstall || die "make sourceinstall failed!"
|
||||
find "${D}"usr/lib/fpc/${PV}/source -name '*.o' -exec rm {} \;
|
||||
fi
|
||||
|
||||
"${D}"usr/lib/fpc/${PV}/samplecfg "${D}"usr/lib/fpc/${PV} "${D}"etc || die "samplecfg failed"
|
||||
sed -i -e "s:${D}:/:g" "${D}"etc/fpc.cfg || die "sed fpc.cfg failed"
|
||||
|
||||
rm -rf "${D}"usr/lib/fpc/lexyacc
|
||||
}
|
@ -1,143 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/fpc/fpc-2.4.4.ebuild,v 1.3 2012/07/09 21:29:15 ulm Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
HOMEPAGE="http://www.freepascal.org/"
|
||||
DESCRIPTION="Free Pascal Compiler"
|
||||
SRC_URI="mirror://sourceforge/freepascal/fpcbuild-${PV}.tar.gz
|
||||
amd64? ( mirror://sourceforge/freepascal/${P}.x86_64-linux.tar )
|
||||
ppc? ( mirror://sourceforge/freepascal/${P}.powerpc-linux.tar )
|
||||
sparc? ( mirror://sourceforge/freepascal/${PN}-2.2.4.sparc-linux.tar )
|
||||
x86? ( mirror://sourceforge/freepascal/${P}.i386-linux.tar )
|
||||
doc? ( mirror://sourceforge/freepascal/Documentation/${PV}/doc-html.tar.gz -> ${P}-doc-html.tar.gz
|
||||
http://dev.gentoo.org/~radhermit/distfiles/${P}-fpctoc.htx.bz2 )"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2 LGPL-2.1-with-linking-exception"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
|
||||
IUSE="doc ide source"
|
||||
|
||||
RDEPEND="ide? ( !dev-lang/fpc-ide )"
|
||||
|
||||
RESTRICT="strip" #269221
|
||||
|
||||
S="${WORKDIR}/fpcbuild-${PV}/fpcsrc"
|
||||
|
||||
src_unpack() {
|
||||
case ${ARCH} in
|
||||
amd64) FPC_ARCH="x86_64" PV_BIN=${PV} ;;
|
||||
ppc) FPC_ARCH="powerpc" PV_BIN=${PV} ;;
|
||||
sparc) FPC_ARCH="sparc" PV_BIN=2.2.4 ;;
|
||||
x86) FPC_ARCH="i386" PV_BIN=${PV} ;;
|
||||
*) die "This ebuild doesn't support ${ARCH}." ;;
|
||||
esac
|
||||
|
||||
unpack ${A}
|
||||
|
||||
tar -xf binary.${FPC_ARCH}-linux.tar || die "Unpacking binary.${FPC_ARCH}-linux.tar failed!"
|
||||
tar -xzf base.${FPC_ARCH}-linux.tar.gz || die "Unpacking base.${FPC_ARCH}-linux.tar.gz failed!"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
find "${WORKDIR}" -name Makefile -exec sed -i -e 's/ -Xs / /g' {} + || die
|
||||
}
|
||||
|
||||
set_pp() {
|
||||
case ${ARCH} in
|
||||
x86) FPC_ARCH="386" ;;
|
||||
ppc) FPC_ARCH="ppc" ;;
|
||||
amd64) FPC_ARCH="x64" ;;
|
||||
sparc) FPC_ARCH="sparc" ;;
|
||||
*) die "This ebuild doesn't support ${ARCH}." ;;
|
||||
esac
|
||||
|
||||
case ${1} in
|
||||
bootstrap) pp="${WORKDIR}"/lib/fpc/${PV_BIN}/ppc${FPC_ARCH} ;;
|
||||
new) pp="${S}"/compiler/ppc${FPC_ARCH} ;;
|
||||
*) die "set_pp: unknown argument: ${1}" ;;
|
||||
esac
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local pp
|
||||
|
||||
# Using the bootstrap compiler.
|
||||
set_pp bootstrap
|
||||
|
||||
emake -j1 PP="${pp}" compiler_cycle
|
||||
|
||||
# Save new compiler from cleaning...
|
||||
cp "${S}"/compiler/ppc${FPC_ARCH} "${S}"/ppc${FPC_ARCH}.new || die
|
||||
|
||||
# ...rebuild with current version...
|
||||
emake -j1 PP="${S}"/ppc${FPC_ARCH}.new compiler_cycle
|
||||
|
||||
# ..and clean up afterwards
|
||||
rm "${S}"/ppc${FPC_ARCH}.new || die
|
||||
|
||||
# Using the new compiler.
|
||||
set_pp new
|
||||
|
||||
emake -j1 PP="${pp}" rtl_clean
|
||||
|
||||
emake -j1 PP="${pp}" rtl packages_all utils
|
||||
|
||||
if use ide ; then
|
||||
cd "${S}"/ide || die
|
||||
emake -j1 PP="${pp}"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local pp
|
||||
set_pp new
|
||||
|
||||
set -- PP="${pp}" FPCMAKE="${S}/utils/fpcm/fpcmake" \
|
||||
INSTALL_PREFIX="${D}"usr \
|
||||
INSTALL_DOCDIR="${D}"usr/share/doc/${PF} \
|
||||
INSTALL_MANDIR="${D}"usr/share/man \
|
||||
INSTALL_SOURCEDIR="${D}"usr/lib/fpc/${PV}/source
|
||||
|
||||
emake -j1 "$@" compiler_install rtl_install packages_install utils_install
|
||||
|
||||
dosym ../lib/fpc/${PV}/ppc${FPC_ARCH} /usr/bin/ppc${FPC_ARCH}
|
||||
|
||||
cd "${S}"/../install/doc || die
|
||||
emake -j1 "$@" installdoc
|
||||
|
||||
cd "${S}"/../install/man || die
|
||||
emake -j1 "$@" installman
|
||||
|
||||
if use doc ; then
|
||||
cd "${S}"/../../doc || die
|
||||
dodoc -r *
|
||||
newdoc "${WORKDIR}"/${P}-fpctoc.htx fpctoc.htx
|
||||
docompress -x /usr/share/doc/${PF}/fpctoc.htx
|
||||
fi
|
||||
|
||||
if use ide ; then
|
||||
cd "${S}"/ide
|
||||
emake -j1 "$@" install
|
||||
fi
|
||||
|
||||
if use source ; then
|
||||
cd "${S}" || die
|
||||
shift
|
||||
emake -j1 PP="${D}"usr/bin/ppc${FPC_ARCH} "$@" sourceinstall
|
||||
find "${D}"usr/lib/fpc/${PV}/source -name '*.o' -exec rm {} \;
|
||||
fi
|
||||
|
||||
"${D}"usr/lib/fpc/${PV}/samplecfg "${D}"usr/lib/fpc/${PV} "${D}"etc || die
|
||||
sed -i -e "s:${D}:/:g" "${D}"etc/fpc.cfg || die "sed fpc.cfg failed"
|
||||
|
||||
rm -r "${D}"usr/lib/fpc/lexyacc || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use ide ; then
|
||||
einfo "To read the documentation in the fpc IDE, enable the doc USE flag"
|
||||
einfo "and add /usr/share/doc/${PF}/fpctoc.htx to the Help Files list."
|
||||
fi
|
||||
}
|
@ -1,149 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/fpc/fpc-2.6.0.ebuild,v 1.2 2012/07/09 21:29:15 ulm Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
HOMEPAGE="http://www.freepascal.org/"
|
||||
DESCRIPTION="Free Pascal Compiler"
|
||||
SRC_URI="mirror://sourceforge/freepascal/fpcbuild-${PV}.tar.gz
|
||||
amd64? ( mirror://sourceforge/freepascal/${P}.x86_64-linux.tar )
|
||||
arm? ( mirror://sourceforge/freepascal/${P}.arm-linux.tar )
|
||||
ppc? ( mirror://sourceforge/freepascal/${P}.powerpc-linux.tar )
|
||||
ppc64? ( mirror://sourceforge/freepascal/${P}.powerpc64-linux.tar )
|
||||
sparc? ( mirror://sourceforge/freepascal/${PN}-2.2.4.sparc-linux.tar )
|
||||
x86? ( mirror://sourceforge/freepascal/${P}.i386-linux.tar )
|
||||
doc? ( mirror://sourceforge/freepascal/Documentation/${PV}/doc-html.tar.gz -> ${P}-doc-html.tar.gz
|
||||
http://dev.gentoo.org/~radhermit/distfiles/${P}-fpctoc.htx.bz2 )"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2 LGPL-2.1-with-linking-exception"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86"
|
||||
IUSE="doc ide source"
|
||||
|
||||
RDEPEND="ide? ( !dev-lang/fpc-ide )"
|
||||
|
||||
RESTRICT="strip" #269221
|
||||
|
||||
S="${WORKDIR}/fpcbuild-${PV}/fpcsrc"
|
||||
|
||||
src_unpack() {
|
||||
case ${ARCH} in
|
||||
amd64) FPC_ARCH="x86_64" PV_BIN=${PV} ;;
|
||||
arm) FPC_ARCH="arm" PV_BIN=${PV} ;;
|
||||
ppc) FPC_ARCH="powerpc" PV_BIN=${PV} ;;
|
||||
ppc64) FPC_ARCH="powerpc64" PV_BIN=${PV} ;;
|
||||
sparc) FPC_ARCH="sparc" PV_BIN=2.2.4 ;;
|
||||
x86) FPC_ARCH="i386" PV_BIN=${PV} ;;
|
||||
*) die "This ebuild doesn't support ${ARCH}." ;;
|
||||
esac
|
||||
|
||||
unpack ${A}
|
||||
|
||||
tar -xf ${P}.${FPC_ARCH}-linux/binary.${FPC_ARCH}-linux.tar || die "Unpacking binary.${FPC_ARCH}-linux.tar failed!"
|
||||
tar -xzf base.${FPC_ARCH}-linux.tar.gz || die "Unpacking base.${FPC_ARCH}-linux.tar.gz failed!"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
find "${WORKDIR}" -name Makefile -exec sed -i -e 's/ -Xs / /g' {} + || die
|
||||
}
|
||||
|
||||
set_pp() {
|
||||
case ${ARCH} in
|
||||
amd64) FPC_ARCH="x64" ;;
|
||||
arm) FPC_ARCH="arm" ;;
|
||||
ppc) FPC_ARCH="ppc" ;;
|
||||
ppc64) FPC_ARCH="ppc64" ;;
|
||||
sparc) FPC_ARCH="sparc" ;;
|
||||
x86) FPC_ARCH="386" ;;
|
||||
*) die "This ebuild doesn't support ${ARCH}." ;;
|
||||
esac
|
||||
|
||||
case ${1} in
|
||||
bootstrap) pp="${WORKDIR}"/lib/fpc/${PV_BIN}/ppc${FPC_ARCH} ;;
|
||||
new) pp="${S}"/compiler/ppc${FPC_ARCH} ;;
|
||||
*) die "set_pp: unknown argument: ${1}" ;;
|
||||
esac
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local pp
|
||||
|
||||
# Using the bootstrap compiler.
|
||||
set_pp bootstrap
|
||||
|
||||
emake -j1 PP="${pp}" compiler_cycle
|
||||
|
||||
# Save new compiler from cleaning...
|
||||
cp "${S}"/compiler/ppc${FPC_ARCH} "${S}"/ppc${FPC_ARCH}.new || die
|
||||
|
||||
# ...rebuild with current version...
|
||||
emake -j1 PP="${S}"/ppc${FPC_ARCH}.new compiler_cycle
|
||||
|
||||
# ..and clean up afterwards
|
||||
rm "${S}"/ppc${FPC_ARCH}.new || die
|
||||
|
||||
# Using the new compiler.
|
||||
set_pp new
|
||||
|
||||
emake -j1 PP="${pp}" rtl_clean
|
||||
|
||||
emake -j1 PP="${pp}" rtl packages_all utils
|
||||
|
||||
if use ide ; then
|
||||
cd "${S}"/ide || die
|
||||
emake -j1 PP="${pp}"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local pp
|
||||
set_pp new
|
||||
|
||||
set -- PP="${pp}" FPCMAKE="${S}/utils/fpcm/fpcmake" \
|
||||
INSTALL_PREFIX="${D}"usr \
|
||||
INSTALL_DOCDIR="${D}"usr/share/doc/${PF} \
|
||||
INSTALL_MANDIR="${D}"usr/share/man \
|
||||
INSTALL_SOURCEDIR="${D}"usr/lib/fpc/${PV}/source
|
||||
|
||||
emake -j1 "$@" compiler_install rtl_install packages_install utils_install
|
||||
|
||||
dosym ../lib/fpc/${PV}/ppc${FPC_ARCH} /usr/bin/ppc${FPC_ARCH}
|
||||
|
||||
cd "${S}"/../install/doc || die
|
||||
emake -j1 "$@" installdoc
|
||||
|
||||
cd "${S}"/../install/man || die
|
||||
emake -j1 "$@" installman
|
||||
|
||||
if use doc ; then
|
||||
cd "${S}"/../../doc || die
|
||||
dodoc -r *
|
||||
newdoc "${WORKDIR}"/${P}-fpctoc.htx fpctoc.htx
|
||||
docompress -x /usr/share/doc/${PF}/fpctoc.htx
|
||||
fi
|
||||
|
||||
if use ide ; then
|
||||
cd "${S}"/ide
|
||||
emake -j1 "$@" install
|
||||
fi
|
||||
|
||||
if use source ; then
|
||||
cd "${S}" || die
|
||||
shift
|
||||
emake -j1 PP="${D}"usr/bin/ppc${FPC_ARCH} "$@" sourceinstall
|
||||
find "${D}"usr/lib/fpc/${PV}/source -name '*.o' -exec rm {} \;
|
||||
fi
|
||||
|
||||
"${D}"usr/lib/fpc/${PV}/samplecfg "${D}"usr/lib/fpc/${PV} "${D}"etc || die
|
||||
sed -i -e "s:${D}:/:g" "${D}"etc/fpc.cfg || die "sed fpc.cfg failed"
|
||||
|
||||
rm -r "${D}"usr/lib/fpc/lexyacc || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use ide ; then
|
||||
einfo "To read the documentation in the fpc IDE, enable the doc USE flag"
|
||||
einfo "and add /usr/share/doc/${PF}/fpctoc.htx to the Help Files list."
|
||||
fi
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
diff -r 40fb60df4755 Modules/socketmodule.c
|
||||
--- a/Modules/socketmodule.c Sun Jan 12 12:11:47 2014 +0200
|
||||
+++ b/Modules/socketmodule.c Mon Jan 13 16:36:35 2014 -0800
|
||||
@@ -2744,6 +2744,13 @@
|
||||
recvlen = buflen;
|
||||
}
|
||||
|
||||
+ /* Check if the buffer is large enough */
|
||||
+ if (buflen < recvlen) {
|
||||
+ PyErr_SetString(PyExc_ValueError,
|
||||
+ "buffer too small for requested bytes");
|
||||
+ goto error;
|
||||
+ }
|
||||
+
|
||||
readlen = sock_recvfrom_guts(s, buf.buf, recvlen, flags, &addr);
|
||||
if (readlen < 0) {
|
||||
/* Return an error */
|
@ -0,0 +1,360 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.7.6-r1.ebuild,v 1.1 2014/04/25 18:33:36 chutzpah Exp $
|
||||
|
||||
EAPI="4"
|
||||
WANT_AUTOMAKE="none"
|
||||
WANT_LIBTOOL="none"
|
||||
|
||||
inherit autotools eutils flag-o-matic multilib pax-utils python-utils-r1 toolchain-funcs multiprocessing
|
||||
|
||||
MY_P="Python-${PV}"
|
||||
PATCHSET_REVISION="1"
|
||||
|
||||
DESCRIPTION="An interpreted, interactive, object-oriented programming language"
|
||||
HOMEPAGE="http://www.python.org/"
|
||||
SRC_URI="http://www.python.org/ftp/python/${PV}/${MY_P}.tar.xz
|
||||
mirror://gentoo/python-gentoo-patches-${PV}-${PATCHSET_REVISION}.tar.xz
|
||||
http://dev.gentoo.org/~floppym/python/python-gentoo-patches-${PV}-${PATCHSET_REVISION}.tar.xz"
|
||||
|
||||
LICENSE="PSF-2"
|
||||
SLOT="2.7"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="-berkdb build doc elibc_uclibc examples gdbm hardened ipv6 +ncurses +readline sqlite +ssl +threads tk +wide-unicode wininst +xml"
|
||||
|
||||
# Do not add a dependency on dev-lang/python to this ebuild.
|
||||
# If you need to apply a patch which requires python for bootstrapping, please
|
||||
# run the bootstrap code on your dev box and include the results in the
|
||||
# patchset. See bug 447752.
|
||||
|
||||
RDEPEND="app-arch/bzip2
|
||||
>=sys-libs/zlib-1.1.3
|
||||
virtual/libffi
|
||||
virtual/libintl
|
||||
!build? (
|
||||
berkdb? ( || (
|
||||
sys-libs/db:5.3
|
||||
sys-libs/db:5.2
|
||||
sys-libs/db:5.1
|
||||
sys-libs/db:5.0
|
||||
sys-libs/db:4.8
|
||||
sys-libs/db:4.7
|
||||
sys-libs/db:4.6
|
||||
sys-libs/db:4.5
|
||||
sys-libs/db:4.4
|
||||
sys-libs/db:4.3
|
||||
sys-libs/db:4.2
|
||||
) )
|
||||
gdbm? ( sys-libs/gdbm[berkdb] )
|
||||
ncurses? (
|
||||
>=sys-libs/ncurses-5.2
|
||||
readline? ( >=sys-libs/readline-4.1 )
|
||||
)
|
||||
sqlite? ( >=dev-db/sqlite-3.3.8:3 )
|
||||
ssl? ( dev-libs/openssl )
|
||||
tk? (
|
||||
>=dev-lang/tk-8.0
|
||||
dev-tcltk/blt
|
||||
)
|
||||
xml? ( >=dev-libs/expat-2.1 )
|
||||
)
|
||||
!!<sys-apps/portage-2.1.9"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
>=sys-devel/autoconf-2.65
|
||||
!sys-devel/gcc[libffi]"
|
||||
RDEPEND+=" !build? ( app-misc/mime-types )
|
||||
doc? ( dev-python/python-docs:${SLOT} )"
|
||||
PDEPEND="app-admin/eselect-python
|
||||
app-admin/python-updater"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
pkg_setup() {
|
||||
if use berkdb; then
|
||||
ewarn "'bsddb' module is out-of-date and no longer maintained inside"
|
||||
ewarn "dev-lang/python. 'bsddb' and 'dbhash' modules have been additionally"
|
||||
ewarn "removed in Python 3. A maintained alternative of 'bsddb3' module"
|
||||
ewarn "is provided by dev-python/bsddb3."
|
||||
else
|
||||
if has_version "=${CATEGORY}/${PN}-${PV%%.*}*[berkdb]"; then
|
||||
ewarn "You are migrating from =${CATEGORY}/${PN}-${PV%%.*}*[berkdb]"
|
||||
ewarn "to =${CATEGORY}/${PN}-${PV%%.*}*[-berkdb]."
|
||||
ewarn "You might need to migrate your databases."
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Ensure that internal copies of expat, libffi and zlib are not used.
|
||||
rm -r Modules/expat || die
|
||||
rm -r Modules/_ctypes/libffi* || die
|
||||
rm -r Modules/zlib || die
|
||||
|
||||
if tc-is-cross-compiler; then
|
||||
local EPATCH_EXCLUDE="*_regenerate_platform-specific_modules.patch"
|
||||
fi
|
||||
|
||||
EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches"
|
||||
|
||||
# Fix for cross-compiling.
|
||||
epatch "${FILESDIR}/python-2.7.5-nonfatal-compileall.patch"
|
||||
|
||||
sed -i -e "s:@@GENTOO_LIBDIR@@:$(get_libdir):g" \
|
||||
Lib/distutils/command/install.py \
|
||||
Lib/distutils/sysconfig.py \
|
||||
Lib/site.py \
|
||||
Lib/sysconfig.py \
|
||||
Lib/test/test_site.py \
|
||||
Makefile.pre.in \
|
||||
Modules/Setup.dist \
|
||||
Modules/getpath.c \
|
||||
setup.py || die "sed failed to replace @@GENTOO_LIBDIR@@"
|
||||
|
||||
epatch_user
|
||||
|
||||
# fix for CVE-2014-1912 (bug #500518)
|
||||
epatch "${FILESDIR}"/${P}-recvfrom_into_buffer_overflow.patch
|
||||
|
||||
eautoconf
|
||||
eautoheader
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
if use build; then
|
||||
# Disable extraneous modules with extra dependencies.
|
||||
export PYTHON_DISABLE_MODULES="dbm _bsddb gdbm _curses _curses_panel readline _sqlite3 _tkinter _elementtree pyexpat"
|
||||
export PYTHON_DISABLE_SSL="1"
|
||||
else
|
||||
# dbm module can be linked against berkdb or gdbm.
|
||||
# Defaults to gdbm when both are enabled, #204343.
|
||||
local disable
|
||||
use berkdb || use gdbm || disable+=" dbm"
|
||||
use berkdb || disable+=" _bsddb"
|
||||
use gdbm || disable+=" gdbm"
|
||||
use ncurses || disable+=" _curses _curses_panel"
|
||||
use readline || disable+=" readline"
|
||||
use sqlite || disable+=" _sqlite3"
|
||||
use ssl || export PYTHON_DISABLE_SSL="1"
|
||||
use tk || disable+=" _tkinter"
|
||||
use xml || disable+=" _elementtree pyexpat" # _elementtree uses pyexpat.
|
||||
export PYTHON_DISABLE_MODULES="${disable}"
|
||||
|
||||
if ! use xml; then
|
||||
ewarn "You have configured Python without XML support."
|
||||
ewarn "This is NOT a recommended configuration as you"
|
||||
ewarn "may face problems parsing any XML documents."
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ -n "${PYTHON_DISABLE_MODULES}" ]]; then
|
||||
einfo "Disabled modules: ${PYTHON_DISABLE_MODULES}"
|
||||
fi
|
||||
|
||||
if [[ "$(gcc-major-version)" -ge 4 ]]; then
|
||||
append-flags -fwrapv
|
||||
fi
|
||||
|
||||
filter-flags -malign-double
|
||||
|
||||
[[ "${ARCH}" == "alpha" ]] && append-flags -fPIC
|
||||
|
||||
# https://bugs.gentoo.org/show_bug.cgi?id=50309
|
||||
if is-flagq -O3; then
|
||||
is-flagq -fstack-protector-all && replace-flags -O3 -O2
|
||||
use hardened && replace-flags -O3 -O2
|
||||
fi
|
||||
|
||||
if tc-is-cross-compiler; then
|
||||
# Force some tests that try to poke fs paths.
|
||||
export ac_cv_file__dev_ptc=no
|
||||
export ac_cv_file__dev_ptmx=yes
|
||||
fi
|
||||
|
||||
# Export CXX so it ends up in /usr/lib/python2.X/config/Makefile.
|
||||
tc-export CXX
|
||||
# The configure script fails to use pkg-config correctly.
|
||||
# http://bugs.python.org/issue15506
|
||||
export ac_cv_path_PKG_CONFIG=$(tc-getPKG_CONFIG)
|
||||
|
||||
# Set LDFLAGS so we link modules with -lpython2.7 correctly.
|
||||
# Needed on FreeBSD unless Python 2.7 is already installed.
|
||||
# Please query BSD team before removing this!
|
||||
append-ldflags "-L."
|
||||
|
||||
local dbmliborder
|
||||
if use gdbm; then
|
||||
dbmliborder+="${dbmliborder:+:}gdbm"
|
||||
fi
|
||||
if use berkdb; then
|
||||
dbmliborder+="${dbmliborder:+:}bdb"
|
||||
fi
|
||||
|
||||
BUILD_DIR="${WORKDIR}/${CHOST}"
|
||||
mkdir -p "${BUILD_DIR}" || die
|
||||
cd "${BUILD_DIR}" || die
|
||||
|
||||
ECONF_SOURCE="${S}" OPT="" \
|
||||
econf \
|
||||
--with-fpectl \
|
||||
--enable-shared \
|
||||
$(use_enable ipv6) \
|
||||
$(use_with threads) \
|
||||
$(use wide-unicode && echo "--enable-unicode=ucs4" || echo "--enable-unicode=ucs2") \
|
||||
--infodir='${prefix}/share/info' \
|
||||
--mandir='${prefix}/share/man' \
|
||||
--with-dbmliborder="${dbmliborder}" \
|
||||
--with-libc="" \
|
||||
--enable-loadable-sqlite-extensions \
|
||||
--with-system-expat \
|
||||
--with-system-ffi
|
||||
|
||||
if use threads && grep -q "#define POSIX_SEMAPHORES_NOT_ENABLED 1" pyconfig.h; then
|
||||
eerror "configure has detected that the sem_open function is broken."
|
||||
eerror "Please ensure that /dev/shm is mounted as a tmpfs with mode 1777."
|
||||
die "Broken sem_open function (bug 496328)"
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Avoid invoking pgen for cross-compiles.
|
||||
touch Include/graminit.h Python/graminit.c
|
||||
|
||||
cd "${BUILD_DIR}" || die
|
||||
emake
|
||||
|
||||
# Work around bug 329499. See also bug 413751 and 457194.
|
||||
if has_version dev-libs/libffi[pax_kernel]; then
|
||||
pax-mark E python
|
||||
else
|
||||
pax-mark m python
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Tests will not work when cross compiling.
|
||||
if tc-is-cross-compiler; then
|
||||
elog "Disabling tests due to crosscompiling."
|
||||
return
|
||||
fi
|
||||
|
||||
cd "${BUILD_DIR}" || die
|
||||
|
||||
# Skip failing tests.
|
||||
local skipped_tests="distutils gdb"
|
||||
|
||||
for test in ${skipped_tests}; do
|
||||
mv "${S}"/Lib/test/test_${test}.py "${T}"
|
||||
done
|
||||
|
||||
# Rerun failed tests in verbose mode (regrtest -w).
|
||||
emake test EXTRATESTOPTS="-w" < /dev/tty
|
||||
local result="$?"
|
||||
|
||||
for test in ${skipped_tests}; do
|
||||
mv "${T}/test_${test}.py" "${S}"/Lib/test
|
||||
done
|
||||
|
||||
elog "The following tests have been skipped:"
|
||||
for test in ${skipped_tests}; do
|
||||
elog "test_${test}.py"
|
||||
done
|
||||
|
||||
elog "If you would like to run them, you may:"
|
||||
elog "cd '${EPREFIX}/usr/$(get_libdir)/python${SLOT}/test'"
|
||||
elog "and run the tests separately."
|
||||
|
||||
if [[ "${result}" -ne 0 ]]; then
|
||||
die "emake test failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local libdir=${ED}/usr/$(get_libdir)/python${SLOT}
|
||||
|
||||
cd "${BUILD_DIR}" || die
|
||||
emake DESTDIR="${D}" altinstall
|
||||
|
||||
sed -e "s/\(LDFLAGS=\).*/\1/" -i "${libdir}/config/Makefile" || die "sed failed"
|
||||
|
||||
# Backwards compat with Gentoo divergence.
|
||||
dosym python${SLOT}-config /usr/bin/python-config-${SLOT}
|
||||
|
||||
# Fix collisions between different slots of Python.
|
||||
mv "${ED}usr/bin/2to3" "${ED}usr/bin/2to3-${SLOT}"
|
||||
mv "${ED}usr/bin/pydoc" "${ED}usr/bin/pydoc${SLOT}"
|
||||
mv "${ED}usr/bin/idle" "${ED}usr/bin/idle${SLOT}"
|
||||
rm -f "${ED}usr/bin/smtpd.py"
|
||||
|
||||
if use build; then
|
||||
rm -fr "${ED}usr/bin/idle${SLOT}" "${libdir}/"{bsddb,dbhash.py,idlelib,lib-tk,sqlite3,test}
|
||||
else
|
||||
use berkdb || rm -r "${libdir}/"{bsddb,dbhash.py,test/test_bsddb*} || die
|
||||
use sqlite || rm -r "${libdir}/"{sqlite3,test/test_sqlite*} || die
|
||||
use tk || rm -r "${ED}usr/bin/idle${SLOT}" "${libdir}/"{idlelib,lib-tk} || die
|
||||
use elibc_uclibc && rm -fr "${libdir}/"{bsddb/test,test}
|
||||
fi
|
||||
|
||||
use threads || rm -r "${libdir}/multiprocessing" || die
|
||||
use wininst || rm -r "${libdir}/distutils/command/"wininst-*.exe || die
|
||||
|
||||
dodoc "${S}"/Misc/{ACKS,HISTORY,NEWS}
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins -r "${S}"/Tools
|
||||
fi
|
||||
insinto /usr/share/gdb/auto-load/usr/$(get_libdir) #443510
|
||||
local libname=$(printf 'e:\n\t@echo $(INSTSONAME)\ninclude Makefile\n' | \
|
||||
emake --no-print-directory -s -f - 2>/dev/null)
|
||||
newins "${S}"/Tools/gdb/libpython.py "${libname}"-gdb.py
|
||||
|
||||
newconfd "${FILESDIR}/pydoc.conf" pydoc-${SLOT}
|
||||
newinitd "${FILESDIR}/pydoc.init" pydoc-${SLOT}
|
||||
sed \
|
||||
-e "s:@PYDOC_PORT_VARIABLE@:PYDOC${SLOT/./_}_PORT:" \
|
||||
-e "s:@PYDOC@:pydoc${SLOT}:" \
|
||||
-i "${ED}etc/conf.d/pydoc-${SLOT}" "${ED}etc/init.d/pydoc-${SLOT}" || die "sed failed"
|
||||
|
||||
# for python-exec
|
||||
python_export python${SLOT} EPYTHON PYTHON PYTHON_SITEDIR
|
||||
|
||||
# if not using a cross-compiler, use the fresh binary
|
||||
if ! tc-is-cross-compiler; then
|
||||
local PYTHON=./python
|
||||
local -x LD_LIBRARY_PATH=${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}.
|
||||
fi
|
||||
|
||||
echo "EPYTHON='${EPYTHON}'" > epython.py
|
||||
python_domodule epython.py
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if has_version "<${CATEGORY}/${PN}-${SLOT}" && ! has_version "${CATEGORY}/${PN}:2.7"; then
|
||||
python_updater_warning="1"
|
||||
fi
|
||||
}
|
||||
|
||||
eselect_python_update() {
|
||||
if [[ -z "$(eselect python show)" || ! -f "${EROOT}usr/bin/$(eselect python show)" ]]; then
|
||||
eselect python update
|
||||
fi
|
||||
|
||||
if [[ -z "$(eselect python show --python${PV%%.*})" || ! -f "${EROOT}usr/bin/$(eselect python show --python${PV%%.*})" ]]; then
|
||||
eselect python update --python${PV%%.*}
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
eselect_python_update
|
||||
|
||||
if [[ "${python_updater_warning}" == "1" ]]; then
|
||||
ewarn "You have just upgraded from an older version of Python."
|
||||
ewarn "You should switch active version of Python ${PV%%.*} and run"
|
||||
ewarn "'python-updater [options]' to rebuild Python modules."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect_python_update
|
||||
}
|
@ -1,8 +1,3 @@
|
||||
DIST vala-0.10.4.tar.bz2 2418192 SHA256 4d23bd8b904ec59537ed5bcf44064104ccc41d639a3386cbc62d91f6bf0301c4 SHA512 55c3e8f3b6a4e4814f460bc260bfc120b489e6b7ad7a7d80ebbbbd1440f29c93939bffbb9a48d2088d14b4ef480128b6d856b1f034fceae54c01707bc9f50028 WHIRLPOOL a4a7d1f8b4044ce94f7ac2b7a9b8c7aae9c6d4be9650d7ea6b3c76ef2cd37156dcdec51befe986e423ad7a2a29b09fbc94eed97f00a110f964119ee1e4832bbb
|
||||
DIST vala-0.12.1.tar.xz 2286024 SHA256 f102bb64549ebe88955bb9fa0f502d974413aec71fec88e3544c65adfeb0afb4 SHA512 7f783aaf5b5a39f6d9d425a6c0ced10451454a7bc975c019dcbba83ea7c0cf381fc5647d3ac8dc5b3f94f611185ec7a30337c53ab68641513ba7c5bae31f7a0f WHIRLPOOL bfdd27e3fedf0bf65249196dca718592325e4967364a983be5c369e1e0a8bb3f91ebc0ee4e0c628db6d762bd376bec1863a6e0337358b12a2d132fb64b5aee8c
|
||||
DIST vala-0.14.2.tar.xz 2640560 SHA256 807e6978484f66cab3cf4fefd72f37a4293d2831d7a5fd29119bdf9d38a5b3d0 SHA512 e6cfe7b22a351d54980402f899fcb4aa3e81eef252d20da1b748c5845211cdb5e09c0976d69b1d3971cb817871db734cbfac6dffb969c8661c58ee77f515abe5 WHIRLPOOL b36b37fd5b5de1e1d9ad4cd5907d01f64a31a6b8d48f9bf4d59f097aa7e7038c8f04bbf50091e33bb114cf8186cbf7c55c6e99bf1e9a763ac2abbd4e21d8eeb7
|
||||
DIST vala-0.16.1.tar.xz 2636952 SHA256 8be28ff6347feecb391220ceb4e2209d32b697278e87ed7fc6c9fb1e9345e0d8 SHA512 caf4a58a72b146611e59c7a65f8b0fba9412002a3aa3039ef20f47b05a527da7d46f3eafa24ff6b8e8ac0ce48b72e6b038135106aad4519df8a88c26351c0987 WHIRLPOOL ce99be65e8749cc53c17bc25d5344e1572474d77c0118347759f7de960ec438a99421f040ba17e6b040fb5bd937e1b235f85401b05153db367f4cb6072f47a58
|
||||
DIST vala-0.18.1.tar.xz 2584924 SHA256 7f5e2e8ca03f9fa2cf13acaf93bfdc3a7ad0a10b000a337ba9c6bdc021bdca32 SHA512 e4459738b916d6b70c633844db3e0b0fed0f186d3f44cd3e4cac3c486a7d8b7a4bb0f58620b8b0c367f61bf6358a6b511edf924533eb8bb2ee49ac36069ee4db WHIRLPOOL 5d2907f175e3460def1f271be4db099d0d8d92e34739f893210302af7cc059cbcfb58d735b1fceaea2e905cda107d0a627b9071df285b768a5d7c9c7334a020e
|
||||
DIST vala-0.20.1.tar.xz 2627808 SHA256 9cb7ecd18a23525e401c204d4d08341c7d911cd5d78078eee10b747ecb45e481 SHA512 6246228815bcc042de0aeea3f4593c95b0d81fdfec8a4336a8e9178dd8a4a7013694a2cec543c3c49aad026d5d3597e194884b6cfecb10040db886afba9e72e1 WHIRLPOOL 91a7017c1801ebe29f5f9704b98e9bc65d26bb66122ef25f684da43dee116a2da5c9d7a91a1f73c5a7a580c9c8e5515f024a2b8ad615ae367faf37bef022f905
|
||||
DIST vala-0.22.0.tar.xz 2652068 SHA256 2f60a7ff887fcb16ed70fa84bb5872c2c54099a0732ce3f9e2c56e51a9208037 SHA512 c45574bb5959a250aad04c548aa99a58ecedf92cf75fe0e63948a4a0dc053657e363cf2e0569a4578dd46408762ae4b1f930a50fbb1f4fc51b5f71e9ab8e0517 WHIRLPOOL 620b0d1d18533b6edeb2ca98caf79feb91ce56f2c3792bb7e0016e7f4cc6e052ef01bc63572dcb4c93ee90fbde7c1ee32aac0fe65398ece8b928d278c6d41504
|
||||
DIST vala-0.22.1.tar.xz 2690324 SHA256 92c61b94a427f281ba2537b69135a3be23248b153268057d7195003dd6aba28c SHA512 e65f6d368d50264cdd497251ca6ebf8f0be21455afe5b9d74b146d58229f32e5906cfe323cef2cf4c6677e01fcbf599ab98852d4930df89cb69740b8fffacb34 WHIRLPOOL d3252642b35ab619f3b08dbda3ab4ef201b665c55682e122b4ffd1e5138d60a38b017ae20140de31372c9f61f20532a7a04d77f8cfe5ae04f93ea1c55338e09a
|
||||
|
@ -1,92 +0,0 @@
|
||||
From 7af6a003e386739a37b356ab073772ae38b1f9c6 Mon Sep 17 00:00:00 2001
|
||||
From: Evan Nemerson <evan@coeus-group.com>
|
||||
Date: Thu, 12 Jan 2012 15:08:08 -0800
|
||||
Subject: [PATCH] Add cogl-pango-1.0 bindings
|
||||
|
||||
---
|
||||
vapi/Makefile.am | 7 ++++++-
|
||||
vapi/cogl-pango-1.0.deps | 2 ++
|
||||
vapi/cogl-pango-1.0.vapi | 30 ++++++++++++++++++++++++++++++
|
||||
3 files changed, 38 insertions(+), 1 deletions(-)
|
||||
create mode 100644 vapi/cogl-pango-1.0.deps
|
||||
create mode 100644 vapi/cogl-pango-1.0.vapi
|
||||
|
||||
diff --git a/vapi/Makefile.am b/vapi/Makefile.am
|
||||
index c9a7aad..cd3b9e1 100644
|
||||
--- a/vapi/Makefile.am
|
||||
+++ b/vapi/Makefile.am
|
||||
@@ -28,6 +28,8 @@ dist_vapi_DATA = \
|
||||
clutter-json-1.0.vapi \
|
||||
cogl-1.0.vapi \
|
||||
cogl-1.0.deps \
|
||||
+ cogl-pango-1.0.vapi \
|
||||
+ cogl-pango-1.0.deps \
|
||||
curses.vapi \
|
||||
dbus-glib-1.vapi \
|
||||
enchant.vapi \
|
||||
@@ -246,7 +248,7 @@ dist_noinst_DATA = \
|
||||
config.vapi \
|
||||
$(NULL)
|
||||
|
||||
-BINDINGS = atk clutter-1.0 clutter-gtk-0.10 clutter-gtk-1.0 cogl-1.0 gconf-2.0 gdk-2.0 gdk-3.0 gdk-pixbuf-2.0 gdk-x11-2.0 gdk-x11-3.0 gdl-1.0 gdu gdu-gtk gedit-2.20 gedit gio-2.0 gio-unix-2.0 gnome-desktop-2.0 gnome-keyring-1 gnome-vfs-2.0 goocanvas gstreamer-0.10 gstreamer-app-0.10 gstreamer-audio-0.10 gstreamer-base-0.10 gstreamer-cdda-0.10 gstreamer-check-0.10 gstreamer-controller-0.10 gstreamer-dataprotocol-0.10 gstreamer-fft-0.10 gstreamer-interfaces-0.10 gstreamer-net-0.10 gstreamer-netbuffer-0.10 gstreamer-pbutils-0.10 gstreamer-riff-0.10 gstreamer-rtp-0.10 gstreamer-rtsp-0.10 gstreamer-sdp-0.10 gstreamer-tag-0.10 gstreamer-video-0.10 gtk+-2.0 gtk+-3.0 gtksourceview-2.0 gtksourceview-3.0 gudev-1.0 hildon-1 hildon-fm-2 json-glib-1.0 libepc-1.0 libgda-4.0 libgda-report-4.0 libgdata libglade-2.0 libgnome-2.0 libgnome-menu libgnomeui-2.0 libgsf-1 libnotify liboobs-1 libpeas-1.0 librsvg-2.0 libsexy libsoup-2.2 libsoup-2.4 libwnck-1.0 loudmouth-1.0 mx-1.0 packagekit-glib2 pango pangocairo poppler-glib purple rest-0.6 rest-extras-0.6 rest-0.7 tracker-indexer-module-1.0 twitter-glib-1.0 unique-1.0 vte vte-2.90 webkit-1.0
|
||||
+BINDINGS = atk clutter-1.0 clutter-gtk-0.10 clutter-gtk-1.0 cogl-1.0 cogl-pango-1.0 gconf-2.0 gdk-2.0 gdk-3.0 gdk-pixbuf-2.0 gdk-x11-2.0 gdk-x11-3.0 gdl-1.0 gdu gdu-gtk gedit-2.20 gedit gio-2.0 gio-unix-2.0 gnome-desktop-2.0 gnome-keyring-1 gnome-vfs-2.0 goocanvas gstreamer-0.10 gstreamer-app-0.10 gstreamer-audio-0.10 gstreamer-base-0.10 gstreamer-cdda-0.10 gstreamer-check-0.10 gstreamer-controller-0.10 gstreamer-dataprotocol-0.10 gstreamer-fft-0.10 gstreamer-interfaces-0.10 gstreamer-net-0.10 gstreamer-netbuffer-0.10 gstreamer-pbutils-0.10 gstreamer-riff-0.10 gstreamer-rtp-0.10 gstreamer-rtsp-0.10 gstreamer-sdp-0.10 gstreamer-tag-0.10 gstreamer-video-0.10 gtk+-2.0 gtk+-3.0 gtksourceview-2.0 gtksourceview-3.0 gudev-1.0 hildon-1 hildon-fm-2 json-glib-1.0 libepc-1.0 libgda-4.0 libgda-report-4.0 libgdata libglade-2.0 libgnome-2.0 libgnome-menu libgnomeui-2.0 libgsf-1 libnotify liboobs-1 libpeas-1.0 librsvg-2.0 libsexy libsoup-2.2 libsoup-2.4 libwnck-1.0 loudmouth-1.0 mx-1.0 packagekit-glib2 pango pangocairo poppler-glib purple rest-0.6 rest-extras-0.6 rest-0.7 tracker-indexer-module-1.0 twitter-glib-1.0 unique-1.0 vte vte-2.90 webkit-1.0
|
||||
|
||||
VAPIGEN = $(top_builddir)/vapigen/vapigen
|
||||
VAPIGENFLAGS = --vapidir $(srcdir)
|
||||
@@ -275,6 +277,9 @@ clutter-gtk-1.0:
|
||||
cogl-1.0:
|
||||
$(GENVAPI) --library $(srcdir)/cogl-1.0 $(PACKAGESDIR)/cogl-1.0/cogl-1.0-custom.vala $(PACKAGESDIR)/cogl-1.0/cogl-1.0.gi
|
||||
|
||||
+cogl-pango-1.0:
|
||||
+ $(GENVAPI) --library $(srcdir)/cogl-pango-1.0 --metadatadir $(METADATADIR) --pkg cogl-1.0 --pkg pango $(GIRDIR)/CoglPango-1.0.gir
|
||||
+
|
||||
gconf-2.0:
|
||||
$(GENVAPI) --library $(srcdir)/gconf-2.0 $(PACKAGESDIR)/gconf-2.0/gconf-2.0.gi
|
||||
|
||||
diff --git a/vapi/cogl-pango-1.0.deps b/vapi/cogl-pango-1.0.deps
|
||||
new file mode 100644
|
||||
index 0000000..ebc27e5
|
||||
--- /dev/null
|
||||
+++ b/vapi/cogl-pango-1.0.deps
|
||||
@@ -0,0 +1,2 @@
|
||||
+cogl-1.0
|
||||
+pango
|
||||
diff --git a/vapi/cogl-pango-1.0.vapi b/vapi/cogl-pango-1.0.vapi
|
||||
new file mode 100644
|
||||
index 0000000..4b2599c
|
||||
--- /dev/null
|
||||
+++ b/vapi/cogl-pango-1.0.vapi
|
||||
@@ -0,0 +1,30 @@
|
||||
+/* cogl-pango-1.0.vapi generated by vapigen, do not modify. */
|
||||
+
|
||||
+[CCode (cprefix = "CoglPango", gir_namespace = "CoglPango", gir_version = "1.0", lower_case_cprefix = "cogl_pango_")]
|
||||
+namespace CoglPango {
|
||||
+ [CCode (cheader_filename = "cogl-pango/cogl-pango.h")]
|
||||
+ public class FontMap : Pango.FontMap {
|
||||
+ [CCode (has_construct_function = false)]
|
||||
+ protected FontMap ();
|
||||
+ public static void clear_glyph_cache (Pango.CairoFontMap fm);
|
||||
+ public static Pango.Context create_context (Pango.CairoFontMap fm);
|
||||
+ public static unowned Pango.Renderer get_renderer (Pango.CairoFontMap fm);
|
||||
+ public static bool get_use_mipmapping (Pango.CairoFontMap fm);
|
||||
+ public static Pango.FontMap @new ();
|
||||
+ public static void set_resolution (Pango.CairoFontMap font_map, double dpi);
|
||||
+ public static void set_use_mipmapping (Pango.CairoFontMap fm, bool value);
|
||||
+ }
|
||||
+ [CCode (cheader_filename = "cogl-pango/cogl-pango.h", type_id = "cogl_pango_renderer_get_type ()")]
|
||||
+ public class Renderer : Pango.Renderer {
|
||||
+ [CCode (has_construct_function = false)]
|
||||
+ protected Renderer ();
|
||||
+ }
|
||||
+ [CCode (cheader_filename = "cogl-pango/cogl-pango.h")]
|
||||
+ public static void ensure_glyph_cache_for_layout (Pango.Layout layout);
|
||||
+ [CCode (cheader_filename = "cogl-pango/cogl-pango.h")]
|
||||
+ public static void render_layout (Pango.Layout layout, int x, int y, Cogl.Color color, int flags);
|
||||
+ [CCode (cheader_filename = "cogl-pango/cogl-pango.h")]
|
||||
+ public static void render_layout_line (Pango.LayoutLine line, int x, int y, Cogl.Color color);
|
||||
+ [CCode (cheader_filename = "cogl-pango/cogl-pango.h")]
|
||||
+ public static void render_layout_subpixel (Pango.Layout layout, int x, int y, Cogl.Color color, int flags);
|
||||
+}
|
||||
--
|
||||
1.7.8.4
|
||||
|
@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/vala/vala-0.10.4-r2.ebuild,v 1.12 2013/03/26 14:01:12 jer Exp $
|
||||
|
||||
EAPI="4"
|
||||
GCONF_DEBUG="no"
|
||||
GNOME2_LA_PUNT="yes"
|
||||
GNOME_TARBALL_SUFFIX="bz2"
|
||||
|
||||
inherit gnome2
|
||||
|
||||
DESCRIPTION="Vala - Compiler for the GObject type system"
|
||||
HOMEPAGE="http://live.gnome.org/Vala"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0.10"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sh sparc x86"
|
||||
IUSE="test +vapigen"
|
||||
|
||||
RDEPEND=">=dev-libs/glib-2.14:2
|
||||
>=dev-libs/vala-common-${PV}"
|
||||
DEPEND="${RDEPEND}
|
||||
!${CATEGORY}/${PN}:0
|
||||
dev-libs/libxslt
|
||||
sys-devel/flex
|
||||
virtual/pkgconfig
|
||||
virtual/yacc
|
||||
test? (
|
||||
>=dev-libs/glib-2.26:2
|
||||
dev-libs/dbus-glib )"
|
||||
|
||||
pkg_setup() {
|
||||
G2CONF="${G2CONF}
|
||||
--disable-unversioned
|
||||
$(use_enable vapigen)"
|
||||
DOCS="AUTHORS ChangeLog MAINTAINERS NEWS README"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
gnome2_src_install
|
||||
rm -v "${ED}usr/share/aclocal/vala.m4" || die "rm failed"
|
||||
rmdir "${ED}usr/share/aclocal" || die "rmdir failed"
|
||||
}
|
@ -1,42 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/vala/vala-0.12.1-r1.ebuild,v 1.12 2013/03/26 14:01:12 jer Exp $
|
||||
|
||||
EAPI="4"
|
||||
GCONF_DEBUG="no"
|
||||
GNOME2_LA_PUNT="yes"
|
||||
|
||||
inherit gnome2
|
||||
|
||||
DESCRIPTION="Vala - Compiler for the GObject type system"
|
||||
HOMEPAGE="http://live.gnome.org/Vala"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0.12"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sh sparc x86 ~x86-linux"
|
||||
IUSE="test +vapigen"
|
||||
|
||||
RDEPEND=">=dev-libs/glib-2.16:2
|
||||
>=dev-libs/vala-common-${PV}"
|
||||
DEPEND="${RDEPEND}
|
||||
!${CATEGORY}/${PN}:0
|
||||
dev-libs/libxslt
|
||||
sys-devel/flex
|
||||
virtual/pkgconfig
|
||||
virtual/yacc
|
||||
test? (
|
||||
>=dev-libs/glib-2.26:2
|
||||
dev-libs/dbus-glib )"
|
||||
|
||||
pkg_setup() {
|
||||
G2CONF="${G2CONF}
|
||||
--disable-unversioned
|
||||
$(use_enable vapigen)"
|
||||
DOCS="AUTHORS ChangeLog MAINTAINERS NEWS README"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
gnome2_src_install
|
||||
rm -v "${ED}usr/share/aclocal/vala.m4" || die "rm failed"
|
||||
rmdir "${ED}usr/share/aclocal" || die "rmdir failed"
|
||||
}
|
@ -1,45 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/vala/vala-0.14.2-r2.ebuild,v 1.11 2013/03/26 14:01:12 jer Exp $
|
||||
|
||||
EAPI="4"
|
||||
GCONF_DEBUG="no"
|
||||
GNOME2_LA_PUNT="yes"
|
||||
|
||||
inherit autotools eutils gnome2
|
||||
|
||||
DESCRIPTION="Vala - Compiler for the GObject type system"
|
||||
HOMEPAGE="http://live.gnome.org/Vala"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0.14"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
|
||||
IUSE="test +vapigen"
|
||||
|
||||
RDEPEND=">=dev-libs/glib-2.16:2
|
||||
>=dev-libs/vala-common-${PV}"
|
||||
DEPEND="${RDEPEND}
|
||||
!${CATEGORY}/${PN}:0
|
||||
dev-libs/libxslt
|
||||
sys-devel/flex
|
||||
virtual/pkgconfig
|
||||
virtual/yacc
|
||||
test? (
|
||||
dev-libs/dbus-glib
|
||||
>=dev-libs/glib-2.26:2 )"
|
||||
|
||||
pkg_setup() {
|
||||
G2CONF="${G2CONF}
|
||||
--disable-unversioned
|
||||
$(use_enable vapigen)"
|
||||
DOCS="AUTHORS ChangeLog MAINTAINERS NEWS README"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Patch from 0.15.x, needed for libchamplain:0.12, bug #402013,
|
||||
# https://bugzilla.gnome.org/show_bug.cgi?id=669379
|
||||
epatch "${FILESDIR}/${PN}-0.14.2-cogl-pango-1.0.patch"
|
||||
|
||||
eautoreconf
|
||||
gnome2_src_prepare
|
||||
}
|
@ -1,36 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/vala/vala-0.16.1-r2.ebuild,v 1.11 2013/03/26 14:01:12 jer Exp $
|
||||
|
||||
EAPI="4"
|
||||
GCONF_DEBUG="no"
|
||||
GNOME2_LA_PUNT="yes"
|
||||
|
||||
inherit gnome2
|
||||
|
||||
DESCRIPTION="Vala - Compiler for the GObject type system"
|
||||
HOMEPAGE="http://live.gnome.org/Vala"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0.16"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-linux"
|
||||
IUSE="test +vapigen"
|
||||
|
||||
RDEPEND=">=dev-libs/glib-2.16:2
|
||||
>=dev-libs/vala-common-${PV}"
|
||||
DEPEND="${RDEPEND}
|
||||
!${CATEGORY}/${PN}:0
|
||||
dev-libs/libxslt
|
||||
sys-devel/flex
|
||||
virtual/pkgconfig
|
||||
virtual/yacc
|
||||
test? (
|
||||
dev-libs/dbus-glib
|
||||
>=dev-libs/glib-2.26:2 )"
|
||||
|
||||
pkg_setup() {
|
||||
G2CONF="${G2CONF}
|
||||
--disable-unversioned
|
||||
$(use_enable vapigen)"
|
||||
DOCS="AUTHORS ChangeLog MAINTAINERS NEWS README"
|
||||
}
|
@ -1,36 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/vala/vala-0.22.0.ebuild,v 1.1 2013/10/04 22:25:31 tetromino Exp $
|
||||
|
||||
EAPI="5"
|
||||
GCONF_DEBUG="no"
|
||||
|
||||
inherit gnome2
|
||||
|
||||
DESCRIPTION="Compiler for the GObject type system"
|
||||
HOMEPAGE="http://live.gnome.org/Vala"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0.22"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~arm-linux ~x86-linux"
|
||||
IUSE="test +vapigen"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/glib-2.18:2
|
||||
>=dev-libs/vala-common-${PV}"
|
||||
DEPEND="${RDEPEND}
|
||||
!${CATEGORY}/${PN}:0
|
||||
dev-libs/libxslt
|
||||
sys-devel/flex
|
||||
virtual/pkgconfig
|
||||
virtual/yacc
|
||||
test? (
|
||||
dev-libs/dbus-glib
|
||||
>=dev-libs/glib-2.26:2 )"
|
||||
|
||||
src_configure() {
|
||||
DOCS="AUTHORS ChangeLog MAINTAINERS NEWS README"
|
||||
gnome2_src_configure \
|
||||
--disable-unversioned \
|
||||
$(use_enable vapigen)
|
||||
}
|
@ -1,38 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/atk/atk-2.6.0.ebuild,v 1.14 2013/04/13 20:56:20 ago Exp $
|
||||
|
||||
EAPI="4"
|
||||
GCONF_DEBUG="no"
|
||||
GNOME2_LA_PUNT="yes"
|
||||
|
||||
inherit gnome2
|
||||
|
||||
DESCRIPTION="GTK+ & GNOME Accessibility Toolkit"
|
||||
HOMEPAGE="http://projects.gnome.org/accessibility/"
|
||||
|
||||
LICENSE="LGPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
|
||||
IUSE="+introspection nls"
|
||||
|
||||
RDEPEND=">=dev-libs/glib-2.31.2:2
|
||||
introspection? ( >=dev-libs/gobject-introspection-0.6.7 )"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-lang/perl-5
|
||||
dev-util/gtk-doc-am
|
||||
virtual/pkgconfig
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
src_prepare() {
|
||||
G2CONF="${G2CONF} $(use_enable introspection)"
|
||||
DOCS="AUTHORS ChangeLog NEWS README"
|
||||
|
||||
gnome2_src_prepare
|
||||
|
||||
if ! use test; then
|
||||
# don't waste time building tests (bug #226353)
|
||||
sed 's/^\(SUBDIRS =.*\)tests\(.*\)$/\1\2/' -i Makefile.am Makefile.in \
|
||||
|| die "sed failed"
|
||||
fi
|
||||
}
|
@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/atk/atk-2.8.0.ebuild,v 1.5 2013/12/22 15:23:39 jer Exp $
|
||||
|
||||
EAPI="5"
|
||||
GCONF_DEBUG="no"
|
||||
|
||||
inherit gnome2
|
||||
|
||||
DESCRIPTION="GTK+ & GNOME Accessibility Toolkit"
|
||||
HOMEPAGE="http://projects.gnome.org/accessibility/"
|
||||
|
||||
LICENSE="LGPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
|
||||
IUSE="+introspection nls test"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/glib-2.31.2:2
|
||||
introspection? ( >=dev-libs/gobject-introspection-0.6.7 )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-lang/perl-5
|
||||
dev-util/gtk-doc-am
|
||||
virtual/pkgconfig
|
||||
nls? ( sys-devel/gettext )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
gnome2_src_prepare
|
||||
|
||||
if ! use test; then
|
||||
# don't waste time building tests (bug #226353)
|
||||
sed 's/^\(SUBDIRS =.*\)tests\(.*\)$/\1\2/' -i Makefile.am Makefile.in \
|
||||
|| die "sed failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
gnome2_src_configure $(use_enable introspection)
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST folks-0.4.3.tar.bz2 635168 SHA256 e5a5bbe1524130ff5b6400726db3e12299b12ffefa108bc89169509f343d925e SHA512 dfd7cb055aba691e7b8e7daa3e887e20f021d230617641c0dcf91787b53b576601fabeeba654e98009b47ecff39969ea1b560822d4452ee497c7eeedc16c423b WHIRLPOOL 49cee01e55e9223b6566d76c21f8de68a15c6a2534ce4b4d6ed752e9cf8dadd256b5343a46c26e0236155901864e34b6677764aa70c43c8e18df692c40d8c85d
|
||||
DIST folks-0.9.3.tar.xz 1650964 SHA256 3a806f2009005c920cacd0c6415d86a52e3fbf3ad554d662cf6b4bd9209c17c5 SHA512 d338d6c026b97c3af365eca1ba85f7cc24faeb48309274d4a707813369c285eee0dd6105513f623edc98b3a762df0b1b3c092e04f27d8c04b172bcf78c3fd8cd WHIRLPOOL 7319728bd7bb25a2f2dfcaf2df48fe2c9d953342a086507dca485e651a5de7f62d696a441e03edcd648a4605a5d0e90d8a796cacd0bc0f7b90e8612f9a376598
|
||||
DIST folks-0.9.6.tar.xz 1694012 SHA256 a67e055b5a2724a34a80946e2940c4c0ad708cb1f4e0a09407c6b69a5e40267f SHA512 613d4cfb84f4ce9656994950f66d974c99c074317c5f1c92f4501760261021e8e86d85e56c7720fa0f6a20db818a1e813d6cd40e67d4157fd3005a3770a86127 WHIRLPOOL ae564d02ec3bea7efca04bd9a0f77732fdc03217538d1cb410bf7c467cca606adcf8bc395d7f8f4ed386eb07e687203889b75c930a8103dc104ce2ce1afb0d94
|
||||
|
@ -1,81 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/folks/folks-0.9.3.ebuild,v 1.4 2013/12/08 17:55:49 pacho Exp $
|
||||
|
||||
EAPI="5"
|
||||
GCONF_DEBUG="yes"
|
||||
VALA_MIN_API_VERSION="0.18"
|
||||
VALA_USE_DEPEND="vapigen"
|
||||
|
||||
inherit gnome2 vala virtualx
|
||||
|
||||
DESCRIPTION="Library for aggregating people from multiple sources"
|
||||
HOMEPAGE="https://live.gnome.org/Folks"
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="0/25" # subslot = libfolks soname version
|
||||
KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86 ~x86-linux"
|
||||
# TODO: --enable-profiling
|
||||
# Vala isn't really optional, https://bugzilla.gnome.org/show_bug.cgi?id=701099
|
||||
IUSE="eds socialweb +telepathy test tracker utils zeitgeist"
|
||||
|
||||
COMMON_DEPEND="
|
||||
$(vala_depend)
|
||||
>=dev-libs/glib-2.32:2
|
||||
dev-libs/dbus-glib
|
||||
>=dev-libs/libgee-0.10:0.8[introspection]
|
||||
dev-libs/libxml2
|
||||
sys-libs/ncurses:=
|
||||
sys-libs/readline:=
|
||||
|
||||
eds? ( >=gnome-extra/evolution-data-server-3.8.1:=[vala] )
|
||||
socialweb? ( >=net-libs/libsocialweb-0.25.20 )
|
||||
telepathy? ( >=net-libs/telepathy-glib-0.19[vala] )
|
||||
tracker? ( >=app-misc/tracker-0.16:= )
|
||||
zeitgeist? ( >=gnome-extra/zeitgeist-0.9.14 )
|
||||
"
|
||||
# telepathy-mission-control needed at runtime; it is used by the telepathy
|
||||
# backend via telepathy-glib's AccountManager binding.
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
net-im/telepathy-mission-control
|
||||
"
|
||||
# folks socialweb backend requires that libsocialweb be built with USE=vala,
|
||||
# even when building folks with --disable-vala.
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
>=dev-libs/gobject-introspection-1.30
|
||||
>=dev-util/intltool-0.50.0
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig
|
||||
|
||||
socialweb? ( >=net-libs/libsocialweb-0.25.15[vala] )
|
||||
test? ( sys-apps/dbus )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
# Regenerate C files until folks-0.9.4 lands the tree, bug #479600
|
||||
touch backends/telepathy/lib/tpf-persona.vala || die
|
||||
|
||||
vala_src_prepare
|
||||
gnome2_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Rebuilding docs needs valadoc, which has no release
|
||||
gnome2_src_configure \
|
||||
$(use_enable eds eds-backend) \
|
||||
$(use_enable eds ofono-backend) \
|
||||
$(use_enable socialweb libsocialweb-backend) \
|
||||
$(use_enable telepathy telepathy-backend) \
|
||||
$(use_enable tracker tracker-backend) \
|
||||
$(use_enable utils inspect-tool) \
|
||||
$(use_enable test tests) \
|
||||
$(use_enable zeitgeist) \
|
||||
--enable-vala \
|
||||
--enable-import-tool \
|
||||
--disable-docs \
|
||||
--disable-fatal-warnings
|
||||
}
|
||||
|
||||
src_test() {
|
||||
dbus-launch Xemake check
|
||||
}
|
@ -1,30 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/gdl/gdl-2.30.1.ebuild,v 1.12 2013/04/12 11:01:57 ssuominen Exp $
|
||||
|
||||
EAPI="4"
|
||||
GCONF_DEBUG="no"
|
||||
GNOME_TARBALL_SUFFIX="bz2"
|
||||
GNOME2_LA_PUNT="yes"
|
||||
|
||||
inherit eutils gnome2 multilib
|
||||
|
||||
DESCRIPTION="GNOME docking library"
|
||||
HOMEPAGE="http://www.gnome.org/"
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="1"
|
||||
KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-libs/glib-2:2
|
||||
>=x11-libs/gtk+-2.12:2
|
||||
>=dev-libs/libxml2-2.4"
|
||||
DEPEND="${RDEPEND}
|
||||
!<dev-python/gdl-python-2.19.1-r1
|
||||
!<=dev-python/gnome-python-extras-2.19.1-r2
|
||||
virtual/pkgconfig
|
||||
dev-util/gtk-doc-am
|
||||
>=dev-util/intltool-0.35"
|
||||
|
||||
DOCS="AUTHORS ChangeLog MAINTAINERS NEWS README"
|
@ -1,36 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/gdl/gdl-3.6.2.ebuild,v 1.9 2013/04/01 18:23:54 ago Exp $
|
||||
|
||||
EAPI="5"
|
||||
GCONF_DEBUG="no"
|
||||
GNOME2_LA_PUNT="yes"
|
||||
|
||||
inherit gnome2
|
||||
|
||||
DESCRIPTION="GNOME docking library"
|
||||
HOMEPAGE="http://www.gnome.org/"
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="3/5"
|
||||
IUSE="+introspection"
|
||||
KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/glib:2
|
||||
>=x11-libs/gtk+-3.0.0:3[introspection?]
|
||||
>=dev-libs/libxml2-2.4:2
|
||||
introspection? ( >=dev-libs/gobject-introspection-0.6.7 )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-util/gtk-doc-am-1.4
|
||||
>=dev-util/intltool-0.40.4
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
DOCS="AUTHORS ChangeLog MAINTAINERS NEWS README"
|
||||
G2CONF="${G2CONF}
|
||||
$(use_enable introspection)"
|
||||
gnome2_src_configure
|
||||
}
|
@ -1,33 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/gdl/gdl-3.8.1.ebuild,v 1.4 2013/12/22 15:49:35 jer Exp $
|
||||
|
||||
EAPI="5"
|
||||
GCONF_DEBUG="no"
|
||||
|
||||
inherit gnome2
|
||||
|
||||
DESCRIPTION="GNOME docking library"
|
||||
HOMEPAGE="https://developer.gnome.org/gdl/"
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="3/5"
|
||||
IUSE="+introspection"
|
||||
KEYWORDS="~alpha amd64 hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc x86 ~x86-fbsd"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/glib:2
|
||||
>=x11-libs/gtk+-3.0.0:3[introspection?]
|
||||
>=dev-libs/libxml2-2.4:2
|
||||
introspection? ( >=dev-libs/gobject-introspection-0.6.7 )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-util/gtk-doc-am-1.4
|
||||
>=dev-util/intltool-0.40.4
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
DOCS="AUTHORS ChangeLog MAINTAINERS NEWS README"
|
||||
gnome2_src_configure $(use_enable introspection)
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue