parent
17fb09ad7a
commit
ebb86bfb08
@ -0,0 +1,12 @@
|
||||
--- a/lib/ivykis/modules/iv_event_raw.c 2012-01-29 13:15:33.000000000 +0100
|
||||
+++ b/lib/ivykis/modules/iv_event_raw.c 2012-04-30 16:01:17.480317290 +0200
|
||||
@@ -37,6 +37,8 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
+#include <sys/eventfd.h>
|
||||
+
|
||||
#ifndef EFD_NONBLOCK
|
||||
#define EFD_NONBLOCK 04000
|
||||
#endif
|
||||
|
@ -1,2 +1,3 @@
|
||||
DIST cdw-0.6.0.tar.gz 673530 RMD160 1b4791be1c19bcebb638fedafa110d5419530b5c SHA1 afa9b51dbba75a3b963684e75e72a141ff6640b0 SHA256 6bede3de3dda9e9c771802bf88d6ea30a4043ae5306d0a187569030628ff4daa
|
||||
DIST cdw-0.7.0.tar.gz 728827 RMD160 7cccfed072c9536fe6df5badcac116f0bfbfb93e SHA1 5b01636d60b3ce695d3da641744ad9a348fc96ab SHA256 77e6f97875bdee14c5394d2976073bfc33829b81e71bcc8e7af7f0946a063695
|
||||
DIST cdw-0.7.1.tar.gz 771099 RMD160 3dfbd5cabbf6dc20edbd764883d50ee12979305f SHA1 592e48816f4fd639005a3a414c1823d4d04ee14d SHA256 6364c2b836bfe4bf3a672eee1eda2a32061e31d94f73abb02cd5f3e1b69a744e
|
||||
|
@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdw/cdw-0.7.1.ebuild,v 1.1 2012/04/29 23:53:10 mr_bones_ Exp $
|
||||
|
||||
EAPI=2
|
||||
inherit autotools flag-o-matic eutils
|
||||
|
||||
DESCRIPTION="An ncurses based console frontend for cdrtools and dvd+rw-tools"
|
||||
HOMEPAGE="http://cdw.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/cdw/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="virtual/cdrtools
|
||||
app-cdr/dvd+rw-tools
|
||||
dev-libs/libburn
|
||||
dev-libs/libcdio[-minimal]
|
||||
sys-libs/ncurses[unicode]"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-asneeded.patch
|
||||
rm -f missing
|
||||
eautoreconf
|
||||
strip-flags
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die
|
||||
dodoc AUTHORS ChangeLog NEWS README THANKS cdw.conf
|
||||
}
|
@ -0,0 +1,31 @@
|
||||
--- src/Makefile.am.orig 2012-04-29 19:35:31.858232614 -0400
|
||||
+++ src/Makefile.am 2012-04-29 19:36:49.389153634 -0400
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
|
||||
# define common linker flags
|
||||
-AM_LDFLAGS = -lmenuw -lformw -lpanelw -lncursesw -lpthread -lcdio -liso9660 -lm -lburn
|
||||
+LIBS = -lmenuw -lformw -lpanelw -lncursesw -lpthread -lcdio -liso9660 -lm -lburn
|
||||
|
||||
|
||||
# list source files
|
||||
@@ -60,7 +60,8 @@
|
||||
$(top_builddir)/gnulib/lib/libgnulib.a \
|
||||
$(top_builddir)/src/external_tools/libcdwexternaltools.a \
|
||||
$(top_builddir)/src/user_interface/widgets/libcdwwidgets.a \
|
||||
- $(top_builddir)/src/tasks/libcdwtasks.a
|
||||
+ $(top_builddir)/src/tasks/libcdwtasks.a \
|
||||
+ $(LIBS)
|
||||
|
||||
cdw_SOURCES = $(cdw_source_files)
|
||||
|
||||
@@ -85,7 +86,8 @@
|
||||
$(top_builddir)/gnulib/lib/libgnulib.a \
|
||||
$(top_builddir)/src/external_tools/libcdwexternaltools_check.a \
|
||||
$(top_builddir)/src/user_interface/widgets/libcdwwidgets_check.a \
|
||||
- $(top_builddir)/src/tasks/libcdwtasks_check.a
|
||||
+ $(top_builddir)/src/tasks/libcdwtasks_check.a \
|
||||
+ $(LIBS)
|
||||
|
||||
cdw_tests_SOURCES = $(cdw_source_files)
|
||||
|
@ -0,0 +1,88 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/scite/scite-3.1.0.ebuild,v 1.1 2012/04/30 08:47:16 nelchael Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit toolchain-funcs eutils
|
||||
|
||||
MY_PV=${PV//./}
|
||||
DESCRIPTION="A very powerful editor for programmers"
|
||||
HOMEPAGE="http://www.scintilla.org/SciTE.html"
|
||||
SRC_URI="mirror://sourceforge/scintilla/${PN}${MY_PV}.tgz"
|
||||
|
||||
LICENSE="Scintilla"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
|
||||
IUSE="lua"
|
||||
|
||||
RDEPEND="dev-libs/glib
|
||||
x11-libs/cairo
|
||||
x11-libs/gtk+:2
|
||||
x11-libs/gdk-pixbuf
|
||||
x11-libs/pango
|
||||
lua? ( >=dev-lang/lua-5 )"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/pkgconfig
|
||||
>=sys-apps/sed-4"
|
||||
|
||||
S="${WORKDIR}/${PN}/gtk"
|
||||
|
||||
src_prepare() {
|
||||
cd "${WORKDIR}/scintilla/gtk"
|
||||
sed -i makefile \
|
||||
-e "s#^CXXFLAGS=#CXXFLAGS=${CXXFLAGS} #" \
|
||||
-e "s#^\(CXXFLAGS=.*\)-Os#\1#" \
|
||||
-e "s#^CC =\(.*\)#CC = $(tc-getCXX)#" \
|
||||
-e "s#^CCOMP =\(.*\)#CCOMP = $(tc-getCC)#" \
|
||||
-e "s#-Os##" \
|
||||
|| die "error patching makefile"
|
||||
|
||||
cd "${WORKDIR}/scite/gtk"
|
||||
sed -i makefile \
|
||||
-e "s#-rdynamic#-rdynamic ${LDFLAGS}#" \
|
||||
|| die "error patching makefile"
|
||||
|
||||
cd "${S}"
|
||||
sed -i makefile \
|
||||
-e 's#usr/local#usr#g' \
|
||||
-e 's#/gnome/apps/Applications#/applications#' \
|
||||
-e "s#^CXXFLAGS=#CXXFLAGS=${CXXFLAGS} #" \
|
||||
-e "s#^\(CXXFLAGS=.*\)-Os#\1#" \
|
||||
-e "s#^CC =\(.*\)#CC = $(tc-getCXX)#" \
|
||||
-e "s#^CCOMP =\(.*\)#CCOMP = $(tc-getCC)#" \
|
||||
-e 's#${D}##' \
|
||||
-e 's#-g root#-g 0#' \
|
||||
-e "s#-Os##" \
|
||||
|| die "error patching makefile"
|
||||
cd "${WORKDIR}"
|
||||
epatch "${FILESDIR}/${PN}-3.0.1-no-lua.patch"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -C ../../scintilla/gtk
|
||||
if use lua; then
|
||||
emake
|
||||
else
|
||||
emake NO_LUA=1
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /usr/bin
|
||||
dodir /usr/share/{pixmaps,applications}
|
||||
|
||||
emake prefix="${ED}/usr" install
|
||||
|
||||
# we have to keep this because otherwise it'll break upgrading
|
||||
mv "${ED}/usr/bin/SciTE" "${ED}/usr/bin/scite" || die
|
||||
dosym /usr/bin/scite /usr/bin/SciTE
|
||||
|
||||
# replace .desktop file with our own working version
|
||||
rm -f "${ED}/usr/share/applications/SciTE.desktop"
|
||||
insinto /usr/share/applications
|
||||
doins "${FILESDIR}/scite.desktop"
|
||||
|
||||
doman ../doc/scite.1
|
||||
dodoc ../README
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST cedet-1.0.1.tar.gz 2101932 RMD160 1862ccd138297b24282b10edb7b1f74450923d5b SHA1 583cf48c50720a8944d5b2f499ecaac5adad5090 SHA256 8b651232f9a1c79cdddce9d0933c22a9240115272f2b395395c4f026151f96f4
|
||||
DIST cedet-1.1.tar.gz 2234539 RMD160 4995ba86c3e0516a3391dad6d1c45ca7e80145e3 SHA1 6c683a4921868b0c596ffc04b11abd3fd2564ba1 SHA256 42c0650fa1d0c9a428d186b421f0057294bcfaec09c8b7bb4a0128ce2fe54b5c
|
||||
|
@ -0,0 +1,80 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emacs/cedet/cedet-1.1.ebuild,v 1.1 2012/04/29 19:01:50 ulm Exp $
|
||||
|
||||
EAPI=4
|
||||
NEED_EMACS=22
|
||||
|
||||
inherit elisp
|
||||
|
||||
MY_P=${P/_}
|
||||
DESCRIPTION="CEDET: Collection of Emacs Development Environment Tools"
|
||||
HOMEPAGE="http://cedet.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/cedet/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3 FDL-1.2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris"
|
||||
IUSE=""
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
EMACSFLAGS="${EMACSFLAGS} -L ${S}/eieio -L ${S}/semantic -L ${S}/srecode \
|
||||
-L ${S}/ede -L ${S}/speedbar -L ${S}/cogre"
|
||||
|
||||
src_compile() {
|
||||
emake -j1 \
|
||||
EMACS="${EMACS}" \
|
||||
EMACSFLAGS="${EMACSFLAGS}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake -j1 \
|
||||
EMACS="${EMACS}" \
|
||||
EMACSFLAGS="${EMACSFLAGS}" \
|
||||
utest
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local target file dir
|
||||
find . -type d -name tests -prune -o -type f -print | while read target
|
||||
do
|
||||
file=${target##*/}
|
||||
dir=${target%/*}; dir=${dir#./}
|
||||
case "${file}" in
|
||||
*~ | Makefile | *.texi | *-script | PRERELEASE_CHECKLIST \
|
||||
| Project.ede | USING_CEDET_FROM_BZR | grammar-fw-ov.txt)
|
||||
# ignore
|
||||
;;
|
||||
ChangeLog | README | AUTHORS | *NEWS | INSTALL \
|
||||
| renamelist.txt | semanticdb.sh)
|
||||
docinto "${dir}"
|
||||
dodoc "${target}" ;;
|
||||
*.el | *.by | *.wy)
|
||||
# install grammar sources along with the elisp files, since
|
||||
# the location where semantic expects them is not configurable
|
||||
insinto "${SITELISP}/${PN}/${dir}"
|
||||
doins "${target}" ;;
|
||||
*.elc)
|
||||
# we are in a subshell, so collecting in a variable won't work
|
||||
echo "${target}" >>"${T}/elc-list.txt" ;;
|
||||
*.srt | *.xpm)
|
||||
insinto "${SITEETC}/${PN}/${dir}"
|
||||
doins "${target}" ;;
|
||||
*.info* | grammar-fw-ov.png)
|
||||
doinfo "${target}" ;;
|
||||
*)
|
||||
die "Unrecognised file ${target}" ;;
|
||||
esac
|
||||
done
|
||||
|
||||
# make sure that the compiled elisp files don't have older time stamps
|
||||
# than corresponding sources, in order to suppress warnings at run time
|
||||
while read target; do
|
||||
dir=${target%/*}; dir=${dir#./}
|
||||
insinto "${SITELISP}/${PN}/${dir}"
|
||||
doins "${target}"
|
||||
done <"${T}/elc-list.txt"
|
||||
|
||||
elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST libvirt-glib-0.0.4.tar.gz 530282 RMD160 c5096405f2228029c5ddd56ea3b85501a4b93fe5 SHA1 fe75b70e47957d4e2810bfb271e4d16537211882 SHA256 28e9785a5329ef9ebd97c70ce018d3810a79a495a7a2ae52fe6d1bbdeeb5b7c3
|
||||
DIST libvirt-glib-0.0.6.tar.gz 624138 RMD160 5bb8c4f0f20118283b3e741b709964d4ab6a0c25 SHA1 aaab0f141ac8d911a5eeb65218a0f52f968e2f34 SHA256 a89ea65cdbd976f1674da618d7b0005c68dd2075f9c6f82bb9503c85aabf84bf
|
||||
DIST libvirt-glib-0.0.7.tar.gz 634350 RMD160 01f08e93aecbe8ad283f35bd30c6ec3e471aa675 SHA1 7a45a082f2ed99b93e8b428d6bf68c9dd12cde2d SHA256 78f7d2818ec771ae4f2f25a251a22d884f5b371957794c52533be5fe7d3b2d73
|
||||
DIST libvirt-glib-0.0.8.tar.gz 648241 RMD160 afa1b9f897aef9fb453eaa3fe9ebcf79df8b8622 SHA1 ce97b50224844f0e48a7a6fb9247cc3438b357f6 SHA256 d9bcf99f395ac78416601002bd1fd9122ae1dec2b5439348c6eac9d5c5fb8096
|
||||
|
@ -0,0 +1,46 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/libvirt-glib/libvirt-glib-0.0.8.ebuild,v 1.1 2012/04/30 20:24:54 cardoe Exp $
|
||||
|
||||
EAPI="4"
|
||||
GCONF_DEBUG="no"
|
||||
GNOME2_LA_PUNT="yes"
|
||||
|
||||
inherit gnome2 python
|
||||
|
||||
DESCRIPTION="GLib and GObject mappings for libvirt"
|
||||
HOMEPAGE="http://libvirt.org/git/?p=libvirt-glib.git"
|
||||
SRC_URI="ftp://libvirt.org/libvirt/glib/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc +introspection python +vala"
|
||||
REQUIRED_USE="vala? ( introspection )"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/libxml2:2
|
||||
>=app-emulation/libvirt-0.9.10
|
||||
>=dev-libs/glib-2.10:2
|
||||
introspection? ( >=dev-libs/gobject-introspection-0.10.8 )"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/pkgconfig
|
||||
doc? ( >=dev-util/gtk-doc-1.10 )
|
||||
vala? ( dev-lang/vala:0.14 )"
|
||||
|
||||
pkg_setup() {
|
||||
DOCS="AUTHORS ChangeLog NEWS README"
|
||||
G2CONF="--disable-test-coverage
|
||||
VAPIGEN=$(type -P vapigen-0.14)
|
||||
$(use_enable introspection)
|
||||
$(use_enable vala)
|
||||
$(use_with python)"
|
||||
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -j1
|
||||
}
|
||||
|
@ -1,5 +1,6 @@
|
||||
DIST libvirt-0.9.10-bp-1.tar.bz2 4359 RMD160 1b064c56007001f509cd0e940ec337d6281b19bb SHA1 ba11fd52aec15fb80e461a1fbc49c142e58ed3b5 SHA256 038791b47489a831718f98ba9cdf77cff88a6e26003f81a0c2f11581f0bde4a3
|
||||
DIST libvirt-0.9.10.tar.gz 19085438 RMD160 8f103b176fc7b943a88cf7196709865edc5db5e8 SHA1 cf32d6bea295cb30461901d987f049c9547ff1e8 SHA256 5b81d9f054ee4b395b0ab4f59845d082baaa6d6c2a038c966309156dde16e11d
|
||||
DIST libvirt-0.9.11.3.tar.gz 19615688 RMD160 dcfb5c7e9bd5a35d08c8940f3e24164f71a04276 SHA1 2bcb00a901113f53fb5eb3fd2d2a3b3e68dcc0f4 SHA256 aa73b329d2f6eb200991b9dc378d4636c15cd2f95ca224995d01b45257584fa2
|
||||
DIST libvirt-0.9.11.tar.gz 19519376 RMD160 752bbc5142ed24ea228172d60f248eb26db434ec SHA1 5f4b698801688c19b20cf74d908c4e9b12dcbac9 SHA256 ce98fe435f83e109623a021b1f714fe806c3ab556d0780ce959cf75c98766062
|
||||
DIST libvirt-0.9.6.tar.gz 17326676 RMD160 5e0837e8ee770e017e574fd002e9e489e448ca65 SHA1 9fd108e1a351d191c5d7f89458096fb35bd6413e SHA256 ce29b1cd3067b224aa834fec2a93d7613c0e72bc035760ad536a2142430bc02b
|
||||
DIST libvirt-0.9.8.tar.gz 18403525 RMD160 51bfb25dbd11a7cb5529c692d843f8ac2b1c9101 SHA1 09df699513af63b73444d776c2d02945dc9cee43 SHA256 31b20864e44bb18a2d01b7ac6569f114cbe1007689219bf24a07ddb7528abe0e
|
||||
|
@ -0,0 +1,291 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/libvirt/libvirt-0.9.11.3.ebuild,v 1.1 2012/04/30 20:32:55 cardoe Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
#BACKPORTS=1
|
||||
#AUTOTOOLIZE=yes
|
||||
|
||||
MY_P="${P/_rc/-rc}"
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
EGIT_REPO_URI="git://libvirt.org/libvirt.git"
|
||||
GIT_ECLASS="git-2"
|
||||
AUTOTOOLIZE=yes
|
||||
fi
|
||||
|
||||
PYTHON_DEPEND="python? 2:2.5"
|
||||
#RESTRICT_PYTHON_ABIS="3.*"
|
||||
#SUPPORT_PYTHON_ABIS="1"
|
||||
|
||||
inherit eutils python ${AUTOTOOLIZE+autotools} ${GIT_ECLASS}
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="http://libvirt.org/sources/${MY_P}.tar.gz
|
||||
ftp://libvirt.org/libvirt/${MY_P}.tar.gz
|
||||
${BACKPORTS:+
|
||||
http://dev.gentoo.org/~cardoe/distfiles/${MY_P}-bp-${BACKPORTS}.tar.bz2}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
S="${WORKDIR}/${P%_rc*}"
|
||||
|
||||
DESCRIPTION="C toolkit to manipulate virtual machines"
|
||||
HOMEPAGE="http://www.libvirt.org/"
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
IUSE="avahi caps debug iscsi +libvirtd lvm +lxc macvtap nfs \
|
||||
nls numa openvz parted pcap phyp policykit python qemu sasl selinux +udev \
|
||||
uml virtualbox virt-network xen elibc_glibc"
|
||||
# IUSE=one : bug #293416 & bug #299011
|
||||
REQUIRED_USE="libvirtd? ( || ( lxc openvz qemu uml virtualbox xen ) )
|
||||
lxc? ( libvirtd ) openvz? ( libvirtd ) qemu? ( libvirtd ) uml? ( libvirtd )
|
||||
virtualbox? ( libvirtd ) xen? ( libvirtd )"
|
||||
|
||||
# gettext.sh command is used by the libvirt command wrappers, and it's
|
||||
# non-optional, so put it into RDEPEND.
|
||||
RDEPEND="sys-libs/readline
|
||||
sys-libs/ncurses
|
||||
>=net-misc/curl-7.18.0
|
||||
>=dev-libs/libxml2-2.7.6
|
||||
>=dev-libs/libnl-1.1:1.1
|
||||
>=net-libs/gnutls-1.0.25
|
||||
sys-apps/dmidecode
|
||||
>=sys-apps/util-linux-2.17
|
||||
sys-devel/gettext
|
||||
>=net-analyzer/netcat6-1.0-r2
|
||||
app-misc/scrub
|
||||
avahi? ( >=net-dns/avahi-0.6[dbus] )
|
||||
caps? ( sys-libs/libcap-ng )
|
||||
iscsi? ( sys-block/open-iscsi )
|
||||
libvirtd? ( net-misc/bridge-utils )
|
||||
lvm? ( >=sys-fs/lvm2-2.02.48-r2 )
|
||||
nfs? ( net-fs/nfs-utils )
|
||||
numa? ( >sys-process/numactl-2.0.2 )
|
||||
openvz? ( sys-kernel/openvz-sources )
|
||||
parted? (
|
||||
>=sys-block/parted-1.8[device-mapper]
|
||||
sys-fs/lvm2
|
||||
)
|
||||
pcap? ( >=net-libs/libpcap-1.0.0 )
|
||||
phyp? ( net-libs/libssh2 )
|
||||
policykit? ( >=sys-auth/polkit-0.9 )
|
||||
qemu? ( || ( app-emulation/qemu-kvm >=app-emulation/qemu-0.10.0 )
|
||||
dev-libs/yajl )
|
||||
sasl? ( dev-libs/cyrus-sasl )
|
||||
selinux? ( >=sys-libs/libselinux-2.0.85 )
|
||||
virtualbox? ( || ( app-emulation/virtualbox >=app-emulation/virtualbox-bin-2.2.0 ) )
|
||||
xen? ( app-emulation/xen-tools app-emulation/xen )
|
||||
udev? ( >=sys-fs/udev-145 >=x11-libs/libpciaccess-0.10.9 )
|
||||
virt-network? ( net-dns/dnsmasq
|
||||
>=net-firewall/iptables-1.4.10
|
||||
net-firewall/ebtables
|
||||
sys-apps/iproute2[-minimal] )
|
||||
elibc_glibc? ( || ( >=net-libs/libtirpc-0.2.2-r1 <sys-libs/glibc-2.14 ) )"
|
||||
# one? ( dev-libs/xmlrpc-c )
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/pkgconfig
|
||||
app-text/xhtml1"
|
||||
|
||||
pkg_setup() {
|
||||
use python && python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
[[ -n ${BACKPORTS} ]] && \
|
||||
EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \
|
||||
epatch
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
# git checkouts require bootstrapping to create the configure script.
|
||||
# Additionally the submodules must be cloned to the right locations
|
||||
# bug #377279
|
||||
./bootstrap || die "bootstrap failed"
|
||||
(
|
||||
git submodule status | sed 's/^[ +-]//;s/ .*//'
|
||||
git hash-object bootstrap.conf
|
||||
) >.git-module-status
|
||||
fi
|
||||
|
||||
[[ -n ${AUTOTOOLIZE} ]] && eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=""
|
||||
|
||||
myconf="${myconf} $(use_enable debug)"
|
||||
|
||||
## enable/disable daemon, otherwise client only utils
|
||||
myconf="${myconf} $(use_with libvirtd)"
|
||||
|
||||
## enable/disable the daemon using avahi to find VMs
|
||||
myconf="${myconf} $(use_with avahi)"
|
||||
|
||||
## hypervisors on the local host
|
||||
myconf="${myconf} $(use_with xen) $(use_with xen xen-inotify)"
|
||||
# leave it automagic as it depends on the version of xen used.
|
||||
use xen || myconf+=" --without-libxl"
|
||||
|
||||
myconf="${myconf} $(use_with openvz)"
|
||||
myconf="${myconf} $(use_with lxc)"
|
||||
if use virtualbox && has_version app-emulation/virtualbox-ose; then
|
||||
myconf="${myconf} --with-vbox=/usr/lib/virtualbox-ose/"
|
||||
else
|
||||
myconf="${myconf} $(use_with virtualbox vbox)"
|
||||
fi
|
||||
myconf="${myconf} $(use_with uml)"
|
||||
myconf="${myconf} $(use_with qemu)"
|
||||
myconf="${myconf} $(use_with qemu yajl)" # Use QMP over HMP
|
||||
# doesn't belong with hypervisors but links to libvirtd for some reason
|
||||
#myconf="${myconf} $(use_with one)"
|
||||
|
||||
## hypervisor protocols
|
||||
myconf="${myconf} $(use_with phyp)"
|
||||
myconf="${myconf} --with-esx"
|
||||
|
||||
## additional host drivers
|
||||
myconf="${myconf} $(use_with virt-network network)"
|
||||
myconf="${myconf} --with-storage-fs"
|
||||
myconf="${myconf} $(use_with lvm storage-lvm)"
|
||||
myconf="${myconf} $(use_with iscsi storage-iscsi)"
|
||||
myconf="${myconf} $(use_with parted storage-disk)"
|
||||
myconf="${myconf} $(use_with lvm storage-mpath)"
|
||||
myconf="${myconf} $(use_with numa numactl)"
|
||||
myconf="${myconf} $(use_with selinux)"
|
||||
|
||||
# udev for device support details
|
||||
myconf="${myconf} $(use_with udev)"
|
||||
|
||||
# linux capability support so we don't need privileged accounts
|
||||
myconf="${myconf} $(use_with caps capng)"
|
||||
|
||||
## auth stuff
|
||||
myconf="${myconf} $(use_with policykit polkit)"
|
||||
myconf="${myconf} $(use_with sasl)"
|
||||
|
||||
# network bits
|
||||
myconf="${myconf} $(use_with macvtap)"
|
||||
myconf="${myconf} $(use_with pcap libpcap)"
|
||||
|
||||
## other
|
||||
myconf="${myconf} $(use_enable nls)"
|
||||
myconf="${myconf} $(use_with python)"
|
||||
|
||||
## stuff we don't yet support
|
||||
myconf="${myconf} --without-netcf --without-audit"
|
||||
|
||||
# we use udev over hal
|
||||
myconf="${myconf} --without-hal"
|
||||
|
||||
# locking support
|
||||
myconf="${myconf} --without-sanlock"
|
||||
|
||||
# this is a nasty trick to work around the problem in bug
|
||||
# #275073. The reason why we don't solve this properly is that
|
||||
# it'll require us to rebuild autotools (and we don't really want
|
||||
# to do that right now). The proper solution has been sent
|
||||
# upstream and should hopefully land in 0.7.7, in the mean time,
|
||||
# mime the same functionality with this.
|
||||
case ${CHOST} in
|
||||
*cygwin* | *mingw* )
|
||||
;;
|
||||
*)
|
||||
ac_cv_prog_WINDRES=no
|
||||
;;
|
||||
esac
|
||||
|
||||
econf \
|
||||
${myconf} \
|
||||
--disable-static \
|
||||
--docdir=/usr/share/doc/${PF} \
|
||||
--with-remote \
|
||||
--localstatedir=/var
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
# Restore gnulib's config.sub and config.guess
|
||||
# bug #377279
|
||||
(cd .gnulib && git reset --hard > /dev/null)
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Explicitly allow parallel build of tests
|
||||
HOME="${T}" emake check || die "tests failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install \
|
||||
DESTDIR="${D}" \
|
||||
HTML_DIR=/usr/share/doc/${PF}/html \
|
||||
DOCS_DIR=/usr/share/doc/${PF}/python \
|
||||
EXAMPLE_DIR=/usr/share/doc/${PF}/python/examples \
|
||||
|| die "emake install failed"
|
||||
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
|
||||
use libvirtd || return 0
|
||||
# From here, only libvirtd-related instructions, be warned!
|
||||
|
||||
newinitd "${FILESDIR}/libvirtd.init-r8" libvirtd || die
|
||||
newconfd "${FILESDIR}/libvirtd.confd-r3" libvirtd || die
|
||||
|
||||
keepdir /var/lib/libvirt/images
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# we only ever want to generate this once
|
||||
if [[ -e "${ROOT}"/etc/libvirt/qemu/networks/default.xml ]]; then
|
||||
rm -rf "${D}"/etc/libvirt/qemu/networks/default.xml
|
||||
fi
|
||||
|
||||
# We really don't want to use or support old PolicyKit cause it
|
||||
# screws with the new polkit integration
|
||||
if has_version sys-auth/policykit; then
|
||||
rm -rf "${D}"/usr/share/PolicyKit/policy/org.libvirt.unix.policy
|
||||
fi
|
||||
|
||||
# Only sysctl files ending in .conf work
|
||||
mv "${D}"/etc/sysctl.d/libvirtd "${D}"/etc/sysctl.d/libvirtd.conf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use python && python_mod_optimize libvirt.py
|
||||
|
||||
elog
|
||||
if use policykit && has_version sys-auth/policykit; then
|
||||
elog "You must have run the following at least once:"
|
||||
elog
|
||||
elog "$ polkit-auth --grant org.libvirt.unix.manage --user \"USERNAME\""
|
||||
elog
|
||||
elog "to grant USERNAME access to libvirt when using USE=policykit"
|
||||
else
|
||||
elog "To allow normal users to connect to libvirtd you must change the"
|
||||
elog " unix sock group and/or perms in /etc/libvirt/libvirtd.conf"
|
||||
fi
|
||||
|
||||
use libvirtd || return 0
|
||||
# From here, only libvirtd-related instructions, be warned!
|
||||
|
||||
elog
|
||||
elog "For the basic networking support (bridged and routed networks)"
|
||||
elog "you don't need any extra software. For more complex network modes"
|
||||
elog "including but not limited to NATed network, you can enable the"
|
||||
elog "'virt-network' USE flag."
|
||||
elog
|
||||
if has_version net-dns/dnsmasq; then
|
||||
ewarn "If you have a DNS server setup on your machine, you will have"
|
||||
ewarn "to configure /etc/dnsmasq.conf to enable the following settings: "
|
||||
ewarn " bind-interfaces"
|
||||
ewarn " interface or except-interface"
|
||||
ewarn
|
||||
ewarn "Otherwise you might have issues with your existing DNS server."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use python && python_mod_cleanup libvirt.py
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/lxc/lxc-0.8.0_rc1-r2.ebuild,v 1.1 2012/04/28 00:17:01 flameeyes Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/lxc/lxc-0.8.0_rc1-r3.ebuild,v 1.1 2012/04/29 23:32:31 flameeyes Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
@ -1,3 +1,3 @@
|
||||
DIST afflib-3.6.12.tar.gz 767740 RMD160 aebb740513992d6ef24cf6a54a965ff3c1a5d9cb SHA1 1bd156a7e970253c3e2df5b55046142073b311fe SHA256 07e89cb01116663a631dcd24fa07f1ab44f5f3f60b0f5244084d6d2a71b623d0
|
||||
DIST afflib-3.6.15.tar.gz 779265 RMD160 4a9c3968e5f23b75e877c4057512caea1115bc52 SHA1 71bb9b28acd1f6f4668bb491cea410294b267b81 SHA256 cb1813fa6ff6d65f585ef1e3c71cbcd731461bf726e59fc4a12ba0f1040eafde
|
||||
DIST afflib-3.6.16.tar.gz 778687 RMD160 c69d00def6011dcecaaa02b991be8cb703bddac5 SHA1 227e6154392786d1b1834a817c0fbff21b189e54 SHA256 703a83b202aeb9d7b23ae79516288317aa17c7c54506a5c7d148203e6b7a0e65
|
||||
DIST afflib-3.7.0.tar.gz 777831 RMD160 58ffa30b38b0a79da331b8d18bbb5a73b6a651ef SHA1 7599b635462d5e4af012f904adbb628d471cddc7 SHA256 46e43451bb30e04b7f8614fd901b80656db6cede4bd4860fe6818ec0a260ff75
|
||||
|
@ -1 +1,2 @@
|
||||
DIST rkhunter-1.3.8.tar.gz 241551 RMD160 7c013fd68675d5f859db0430c04673154209a64e SHA1 f4b0c3f149213aa50e00c9658ad8a4a79861621f SHA256 fb1fb8bac53bab476142b5556140c59d589bc0f45d3dc058f400f2edada77a33
|
||||
DIST rkhunter-1.4.0.tar.gz 244211 RMD160 a0b1ef0e70cc7a2f5b495403cc9dcb56d1494d2e SHA1 22546370647b79abce783d2a2d29352843d1b617 SHA256 8a03d6add50663531994d55aff058eced74c64df948b88176621cd761b68ccf9
|
||||
|
@ -0,0 +1,67 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-forensics/rkhunter/rkhunter-1.4.0.ebuild,v 1.1 2012/05/01 04:34:18 radhermit Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils bash-completion-r1
|
||||
|
||||
DESCRIPTION="Rootkit Hunter scans for known and unknown rootkits, backdoors, and sniffers."
|
||||
HOMEPAGE="http://rkhunter.sf.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~mips ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
app-shells/bash
|
||||
dev-lang/perl
|
||||
sys-process/lsof
|
||||
virtual/cron
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${P}/files"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}.conf.patch"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# rkhunter requires to be root
|
||||
dosbin ${PN}
|
||||
|
||||
# rkhunter doesn't create it by itself
|
||||
dodir /var/lib/${PN}/tmp
|
||||
|
||||
insinto /etc
|
||||
doins ${PN}.conf
|
||||
|
||||
exeinto /usr/lib/${PN}/scripts
|
||||
doexe *.pl
|
||||
|
||||
insinto /var/lib/${PN}/db
|
||||
doins *.dat
|
||||
|
||||
insinto /var/lib/${PN}/db/i18n
|
||||
doins i18n/*
|
||||
|
||||
doman ${PN}.8
|
||||
dodoc ACKNOWLEDGMENTS CHANGELOG FAQ README
|
||||
|
||||
exeinto /etc/cron.daily
|
||||
newexe "${FILESDIR}/${PN}-1.3.cron" ${PN}
|
||||
|
||||
newbashcomp "${FILESDIR}/${PN}.bash-completion" ${PN}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "A cron script has been installed to /etc/cron.daily/rkhunter."
|
||||
elog "To enable it, edit /etc/cron.daily/rkhunter and follow the"
|
||||
elog "directions."
|
||||
elog "If you want ${PN} to send mail, you will need to install"
|
||||
elog "virtual/mailx or alter the EMAIL_CMD variable in the"
|
||||
elog "cron script and possibly the MAIL_CMD variable in the"
|
||||
elog "${PN}.conf file to use another mail client."
|
||||
}
|
@ -0,0 +1,29 @@
|
||||
From bf277a00e352733bf52720fe4f9a1a91dcfb2e93 Mon Sep 17 00:00:00 2001
|
||||
From: Tomas Chvatal <tchvatal@suse.cz>
|
||||
Date: Sun, 29 Apr 2012 08:45:59 +0000
|
||||
Subject: Fix buildissue in svtools with missing include.
|
||||
|
||||
cpp: line 33, Fatal error: Cannot open include file
|
||||
"svtools/svtools.hrc"
|
||||
|
||||
Change-Id: Ic7bd1af8f14cc0e44328c9f149c5dc45f04e5afb
|
||||
(cherry picked from commit 3534e99d18952fc87f98cf60eb7767374a1371c4)
|
||||
|
||||
Conflicts:
|
||||
|
||||
svtools/AllLangResTarget_svt.mk
|
||||
---
|
||||
diff --git a/svtools/AllLangResTarget_svt.mk b/svtools/AllLangResTarget_svt.mk
|
||||
index e5d0a5b..d65a45b 100644
|
||||
--- a/svtools/AllLangResTarget_svt.mk
|
||||
+++ b/svtools/AllLangResTarget_svt.mk
|
||||
@@ -40,6 +40,7 @@ $(eval $(call gb_SrsTarget_set_include,svt/res,\
|
||||
$$(INCLUDE) \
|
||||
-I$(WORKDIR)/inc \
|
||||
-I$(realpath $(SRCDIR)/svtools/source/inc) \
|
||||
+ -I$(realpath $(SRCDIR)/svtools/inc) \
|
||||
))
|
||||
|
||||
$(eval $(call gb_SrsTarget_add_files,svt/res,\
|
||||
--
|
||||
cgit v0.9.0.2-2-gbebe
|
@ -0,0 +1,60 @@
|
||||
Scribus.pro | 4 ----
|
||||
scribus/CMakeLists.txt | 2 --
|
||||
2 files changed, 0 insertions(+), 6 deletions(-)
|
||||
|
||||
diff --git a/Scribus.pro b/Scribus.pro
|
||||
index 17b5417..0cc23c9 100644
|
||||
--- a/Scribus.pro
|
||||
+++ b/Scribus.pro
|
||||
@@ -276,7 +276,6 @@ HEADERS += scribus/about.h \
|
||||
scribus/insertaframe.h \
|
||||
scribus/insertTable.h \
|
||||
scribus/inspage.h \
|
||||
- scribus/ioapi.h \
|
||||
scribus/javadocs.h \
|
||||
scribus/KarbonCurveFit.h \
|
||||
scribus/langmgr.h \
|
||||
@@ -496,7 +495,6 @@ HEADERS += scribus/about.h \
|
||||
scribus/undostate.h \
|
||||
scribus/unicodesearch.h \
|
||||
scribus/units.h \
|
||||
- scribus/unzip.h \
|
||||
scribus/updatemanager.h \
|
||||
scribus/upgradechecker.h \
|
||||
scribus/urllauncher.h \
|
||||
@@ -933,7 +931,6 @@ SOURCES += scribus/about.cpp \
|
||||
scribus/insertaframe.cpp \
|
||||
scribus/insertTable.cpp \
|
||||
scribus/inspage.cpp \
|
||||
- scribus/ioapi.c \
|
||||
scribus/javadocs.cpp \
|
||||
scribus/KarbonCurveFit.cpp \
|
||||
scribus/langmgr.cpp \
|
||||
@@ -1143,7 +1140,6 @@ SOURCES += scribus/about.cpp \
|
||||
scribus/undostate.cpp \
|
||||
scribus/unicodesearch.cpp \
|
||||
scribus/units.cpp \
|
||||
- scribus/unzip.c \
|
||||
scribus/updatemanager.cpp \
|
||||
scribus/upgradechecker.cpp \
|
||||
scribus/urllauncher.cpp \
|
||||
diff --git a/scribus/CMakeLists.txt b/scribus/CMakeLists.txt
|
||||
index dcd7e10..3aca69b 100644
|
||||
--- a/scribus/CMakeLists.txt
|
||||
+++ b/scribus/CMakeLists.txt
|
||||
@@ -405,7 +405,6 @@ SET(SCRIBUS_SOURCES
|
||||
insertTable.cpp
|
||||
insertaframe.cpp
|
||||
inspage.cpp
|
||||
- ioapi.c
|
||||
javadocs.cpp
|
||||
KarbonCurveFit.cpp
|
||||
langmgr.cpp
|
||||
@@ -613,7 +612,6 @@ SET(SCRIBUS_SOURCES
|
||||
undostate.cpp
|
||||
unicodesearch.cpp
|
||||
units.cpp
|
||||
- unzip.c
|
||||
updatemanager.cpp
|
||||
upgradechecker.cpp
|
||||
urllauncher.cpp
|
@ -0,0 +1,38 @@
|
||||
configure.ac | 8 ++++----
|
||||
1 files changed, 4 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 183b644..c863997 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -160,10 +160,10 @@ fi
|
||||
ZLIB_LIBS=-lz
|
||||
AC_SUBST(ZLIB_LIBS)
|
||||
|
||||
-PKG_CHECK_MODULES(LIBDOCUMENT, gtk+-3.0 >= $GTK_REQUIRED gio-2.0 >= $GLIB_REQUIRED)
|
||||
+PKG_CHECK_MODULES(LIBDOCUMENT, gtk+-3.0 >= $GTK_REQUIRED gio-2.0 >= $GLIB_REQUIRED gmodule-no-export-2.0 >= $GLIB_REQUIRED)
|
||||
PKG_CHECK_MODULES(LIBVIEW, gtk+-3.0 >= $GTK_REQUIRED gail-3.0 >= $GTK_REQUIRED gthread-2.0 gio-2.0 >= $GLIB_REQUIRED)
|
||||
PKG_CHECK_MODULES(BACKEND, cairo >= $CAIRO_REQUIRED gtk+-3.0 >= $GTK_REQUIRED)
|
||||
-PKG_CHECK_MODULES(FRONTEND_CORE, gtk+-3.0 >= $GTK_REQUIRED gthread-2.0 gio-2.0 >= $GLIB_REQUIRED)
|
||||
+PKG_CHECK_MODULES(FRONTEND_CORE, gtk+-3.0 >= $GTK_REQUIRED gthread-2.0 gio-2.0 >= $GLIB_REQUIRED gmodule-no-export-2.0 >= $GLIB_REQUIRED)
|
||||
|
||||
SHELL_PLATFORM_PKGS=
|
||||
case "$with_platform" in
|
||||
@@ -189,7 +189,7 @@ case "$with_platform" in
|
||||
;;
|
||||
esac
|
||||
|
||||
-PKG_CHECK_MODULES([SHELL_CORE],[libxml-2.0 >= $LIBXML_REQUIRED gtk+-3.0 >= $GTK_REQUIRED gio-2.0 >= $GLIB_REQUIRED gthread-2.0 $SHELL_PLATFORM_PKGS])
|
||||
+PKG_CHECK_MODULES([SHELL_CORE],[libxml-2.0 >= $LIBXML_REQUIRED gtk+-3.0 >= $GTK_REQUIRED gio-2.0 >= $GLIB_REQUIRED gmodule-no-export-2.0 >= $GLIB_REQUIRED gthread-2.0 $SHELL_PLATFORM_PKGS])
|
||||
|
||||
# *********
|
||||
# SM client
|
||||
@@ -407,7 +407,7 @@ AC_ARG_ENABLE([previewer],
|
||||
esac])
|
||||
|
||||
if test x$enable_previewer = "xyes" ; then
|
||||
- PKG_CHECK_MODULES([PREVIEWER],[gtk+-3.0 >= $GTK_REQUIRED gthread-2.0 gio-2.0 >= $GLIB_REQUIRED])
|
||||
+ PKG_CHECK_MODULES([PREVIEWER],[gtk+-3.0 >= $GTK_REQUIRED gthread-2.0 gio-2.0 >= $GLIB_REQUIRED gmodule-no-export-2.0 >= $GLIB_REQUIRED])
|
||||
fi
|
||||
|
||||
AM_CONDITIONAL([ENABLE_PREVIEWER],[test "$enable_previewer" = "yes"])
|
@ -1,11 +1,9 @@
|
||||
DIST binutils-2.14.tar.bz2 10921504 RMD160 e629a1256b5f75552e3360a315d28ad37f11a604 SHA1 66b4f057bf687126d7cc11d0a68ed89182541ae7 SHA256 e20bdd49a0fb317959b410c1fe81269a620ec21207045d8a37cadea621be4b59
|
||||
DIST binutils-2.15.tar.bz2 11515075 RMD160 62b50a0033e5b491b587b77df304eb28bc52a6ba SHA1 9ac6e47be8cd78385d3d5e09c6bb420e357c4c07 SHA256 ec064e693aad821f0fb942d6da59f7f6b5d1d99e3cc100514af837deb3940d24
|
||||
DIST binutils-2.16.1.tar.bz2 12549917 RMD160 638861a6b709ac380f1bc13d55c6b48d0532b3d0 SHA1 5c80fd5657da47efc16a63fdd93ef7395319fbbf SHA256 351a6846ee179a37ed87a487971547159a7f4f92a1dec598c727f184a0de61ae
|
||||
DIST flashosa.zip 2437 RMD160 9424861be569e6af751271c3143c927f412277ab SHA1 4d8e5504f4c13c697a45727caec45eafb6958107 SHA256 ae0be66d99aea7f7d84364347c220ed1bc8cae5f898a6e8b1a9458b445fdfea4
|
||||
DIST gcc-4.1-20060728.tar.bz2 37038705 RMD160 6bd10730f466963440c4fb54df36b34636d9f204 SHA1 5e26d5931fbe4d42b7492272d23f65391b748d93 SHA256 2600728a9448522c80ff64f99eff93a4499f0a7aa460c55bb08e76875084417b
|
||||
DIST gcc-core-3.3.3.tar.bz2 11553433 RMD160 639593cb0668c227f3f90a1854903fc91e35de8d SHA1 9a686d16e4825422ba74cc5c5869aeea1a254451 SHA256 a4bf992ca719711a77d09b84fc496bbe6fcecb8feac996c2e6e102d3cbbe15eb
|
||||
DIST libfargo.zip 14766 RMD160 08c28c71ead68edcc0e5702bfabce7c9bd225549 SHA1 97a2e70477e53ff237ed538d3ad632c45ca9372b SHA256 c37bacb744c94519b1dea0b0b855baa4379b009ec7200437521895f8a9ea90eb
|
||||
DIST tigcc-0.95-r2.tar.bz2 3207132 RMD160 ca70ef50ad56f9981e7c2adef6d113711cc8f5ff SHA1 010c1d867d45df58dc0f243aa56517bfc8433770 SHA256 1e4260976fa7ddde5d66e3b71e05875c804109007957df6fa8ab7e23a6af623c
|
||||
DIST tigcc-0.95_p3.tar.bz2 3206165 RMD160 4745a88a0184e11828f8a50a5feae99fcc276e5e SHA1 8e4b48ac9207ca84b697bfb82f6ff382a6df27bc SHA256 b68f5f68c336f28dcd96383c46490a1bdd9ac678e38626d3d445e388639372d3
|
||||
DIST tigcc-0.96_beta2.tar.bz2 3295616 RMD160 a096646f55447b7e3a52de3bb737976142726096 SHA1 457bcc325fb6ea674f1c16333f3b033f7a70b903 SHA256 50092699cbe3bb20c6f91db0f642a5dace1e633bbbb9ff26c1f76fe51aca0689
|
||||
DIST tigcc-0.96_beta7.tar.bz2 2828952 RMD160 11c431a08c0fc8630aab4dcc6f5315b5b38f5f6d SHA1 c302a5c95767d80abbeffc89448f8b16e4a84bbd SHA256 da3d75515f1a0091203b3c1f47f8fa342302e45e0bbe62849391ce0935521b0b
|
||||
DIST tigcc-0.96_beta8.tar.bz2 2829870 RMD160 0b60f81d7c04535125eaa1fe59a1795b76e39ee7 SHA1 827784446583850bbaf4e3f7777cbb3fd78f5215 SHA256 e8bccad2c887f91f4d6ab79f4ebef467a7173f9d77fbad20377699246915fcd3
|
||||
|
@ -1,230 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-embedded/tigcc/tigcc-0.95-r2.ebuild,v 1.10 2012/02/06 03:10:58 vapier Exp $
|
||||
|
||||
inherit eutils
|
||||
|
||||
BASE_GCC="3.3.3"
|
||||
BASE_BINUTILS="2.14"
|
||||
GCC_VER=${BASE_GCC:0:3}
|
||||
BIN_VER=${BASE_BINUTILS:0:4}
|
||||
S=${WORKDIR}
|
||||
DESCRIPTION="Cross compiler for Texas Instruments TI-89, TI-92(+) and V200 calculators"
|
||||
HOMEPAGE="http://tigcc.ticalc.org"
|
||||
|
||||
# mirror://gentoo/${PF}.tar.bz2 comes from http://www.angelfire.com/linux/ifs/${PF}.tar.bz2
|
||||
# which isn't that reliable
|
||||
|
||||
#All kernel mirrors in gentoo didn't have 2.14
|
||||
# mirror://kernel/linux/devel/binutils/binutils-${BASE_BINUTILS}.tar.bz2
|
||||
|
||||
SRC_URI="mirror://gentoo/${PF}.tar.bz2
|
||||
mirror://gnu/gcc/releases/gcc-${BASE_GCC}/gcc-core-${BASE_GCC}.tar.bz2
|
||||
http://cdn.mirror.garr.it/mirrors/gnuftp/binutils/binutils-${BASE_BINUTILS}.tar.bz2
|
||||
http://members.chello.at/gerhard.kofler/kevin/ti89prog/libfargo.zip
|
||||
http://members.chello.at/gerhard.kofler/kevin/ti89prog/flashosa.zip"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
#KEYWORDS="~x86 ~ppc ~sparc ~amd64"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=sys-devel/binutils-2.14.90.0.6-r1"
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/unzip
|
||||
>=sys-devel/bison-1.875"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
# start by patching binutils and gcc
|
||||
cd ${WORKDIR}/binutils-${BASE_BINUTILS}
|
||||
epatch ${S}/sources/gcc/gas-${BIN_VER}-tigcc-*.diff
|
||||
|
||||
cd ${WORKDIR}/gcc-${BASE_GCC}
|
||||
epatch ${S}/sources/gcc/gcc-${BASE_GCC}-tigcc-*.diff
|
||||
|
||||
# a68k didn't compile, this should fix it.
|
||||
cd ${S}
|
||||
epatch ${FILESDIR}/a68k-fix.patch
|
||||
|
||||
# fixes a bug in tprbuilder, needed for 0.95_beta8-r1
|
||||
# epatch ${FILESDIR}/tprbuilder-fix.patch
|
||||
|
||||
# make build directories for binutils and gcc
|
||||
mkdir -p ${WORKDIR}/build/binutils
|
||||
mkdir ${WORKDIR}/build/gcc
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# build binutils
|
||||
cd ${WORKDIR}/build/binutils
|
||||
CFLAGS="$CFLAGS" ${WORKDIR}/binutils-${BASE_BINUTILS}/configure \
|
||||
--disable-serial-configure --target=m68k-coff --disable-shared \
|
||||
--enable-static --disable-multilib --disable-nls \
|
||||
|| die
|
||||
emake || die
|
||||
|
||||
# build gcc
|
||||
cd ${WORKDIR}/build/gcc
|
||||
|
||||
# --with-headers=${S}/tigcclib/include/c \
|
||||
CFLAGS="$CFLAGS" ${WORKDIR}/gcc-${BASE_GCC}/configure --target=m68k-coff \
|
||||
--with-gnu-as --with-as=${WORKDIR}/build/binutils/gas/as-new --with-gnu-ld \
|
||||
--disable-nls --disable-multilib --disable-shared --enable-static \
|
||||
--disable-threads \
|
||||
|| die
|
||||
# GCC compilations _is intended_ to fail on a certain point, don't worry about that.
|
||||
emake
|
||||
|
||||
# build a68k assembler
|
||||
cd ${S}/sources/a68k/src
|
||||
emake -e || die
|
||||
|
||||
# build ld-tigcc linker
|
||||
cd ${S}/sources/ld-tigcc
|
||||
emake -e || die
|
||||
|
||||
# build tigcc front-end
|
||||
cd ${S}/sources/tigcc/src
|
||||
emake -e || die
|
||||
|
||||
# build tprbuilder (TIGCC project builder)
|
||||
cd ${S}/sources/tprbuilder/src
|
||||
emake -e || die
|
||||
|
||||
# build patcher (object file patcher)
|
||||
cd ${S}/sources/patcher/src
|
||||
emake -e || die
|
||||
|
||||
# build parser
|
||||
cd ${S}/sources/parser/src
|
||||
emake -e || die
|
||||
|
||||
# build tict tool suite
|
||||
cd ${S}/tt
|
||||
CFLAGS="$CFLAGS" ./makelinux.sh || die
|
||||
|
||||
# patch the script that launches the documentation browser to point to the correct location
|
||||
sed "s:\$TIGCC/doc:/usr/share/doc/${P}:g" ${S}/tigcclib/doc/converter/tigccdoc > ${S}/tigcclib/doc/converter/tigccdoc.new
|
||||
}
|
||||
|
||||
src_install() {
|
||||
#ENV_FILE=${D}/etc/env.d/gcc/ti-linux-gnu-${GCC_VER}
|
||||
ENV_FILE=${D}/etc/env.d/99tigcc
|
||||
|
||||
# install documentation
|
||||
|
||||
cd ${S}/tigcclib/doc/converter
|
||||
into /usr
|
||||
dodir /usr/bin
|
||||
newbin tigccdoc.new tigccdoc
|
||||
|
||||
dodir /usr/share/doc/${PF}
|
||||
cd ${S}
|
||||
dodoc AUTHORS BUGS CHANGELOG COPYING DIRECTORIES HOWTO INSTALL README README.linux README.osX
|
||||
|
||||
cd ${S}/tigcclib/doc
|
||||
dohtml -r html/*.html
|
||||
cp html/qt-assistant.adp ${D}/usr/share/doc/${PF}/html
|
||||
|
||||
cd ${S}/sources/a68k
|
||||
docinto a68k
|
||||
dodoc docs/*.txt
|
||||
|
||||
cd ${S}/sources/tigcc
|
||||
docinto tigcc
|
||||
dodoc AUTHORS COPYING ChangeLog README
|
||||
|
||||
cd ${S}/sources/tprbuilder
|
||||
docinto tprbuilder
|
||||
dodoc AUTHORS COPYING ChangeLog README
|
||||
|
||||
cd ${S}/sources/patcher
|
||||
docinto patcher
|
||||
dodoc AUTHORS COPYING ChangeLog README
|
||||
|
||||
cd ${S}/sources/parser
|
||||
docinto parser
|
||||
dodoc AUTHORS COPYING ChangeLog README
|
||||
|
||||
cd ${S}/tt
|
||||
docinto tools
|
||||
dodoc history.txt linux_readme.txt readme.txt tooldocs.txt
|
||||
|
||||
exeinto /usr/ti-linux-gnu/tigcc-bin/${GCC_VER}
|
||||
# install gcc
|
||||
cd ${WORKDIR}/build/gcc
|
||||
doexe gcc/cc1
|
||||
newexe gcc/xgcc gcc
|
||||
dosym /usr/ti-linux-gnu/tigcc-bin/${GCC_VER}/gcc /usr/ti-linux-gnu/tigcc-bin/${GCC_VER}/ti-linux-gnu-gcc
|
||||
|
||||
# install gas
|
||||
# exeinto /usr/ti-linux-gnu/bin <-- a symlink will be created so that gas resides in /usr/ti-linux-gnu/bin too
|
||||
cd ${WORKDIR}/build/binutils
|
||||
newexe gas/as-new as
|
||||
|
||||
# install a68k
|
||||
cd ${S}/sources/a68k/src
|
||||
newexe A68k a68k
|
||||
|
||||
# install ld-tigcc
|
||||
cd ${S}/sources/ld-tigcc
|
||||
doexe ld-tigcc
|
||||
doexe ar-tigcc
|
||||
|
||||
# install tigcc
|
||||
cd ${S}/sources/tigcc/src
|
||||
doexe tigcc
|
||||
dosym /usr/ti-linux-gnu/tigcc-bin/${GCC_VER}/tigcc /usr/ti-linux-gnu/tigcc-bin/${GCC_VER}/ti-linux-gnu-tigcc
|
||||
|
||||
# install tprbuilder
|
||||
cd ${S}/sources/tprbuilder/src
|
||||
doexe tprbuilder
|
||||
|
||||
# install patcher
|
||||
cd ${S}/sources/patcher/src
|
||||
doexe patcher
|
||||
|
||||
# install parser
|
||||
cd ${S}/sources/parser/src
|
||||
doexe parser
|
||||
|
||||
# install tict tool suite
|
||||
cd ${S}/tt
|
||||
doexe linuxbin/*
|
||||
|
||||
# install header files
|
||||
dodir /usr/include/tigcc
|
||||
cp -R ${S}/tigcclib/include/* ${D}/usr/include/tigcc
|
||||
dosym /usr/include/tigcc/asm/os.h /usr/include/tigcc/asm/OS.h
|
||||
|
||||
insinto /usr/lib/gcc-lib/ti-linux-gnu/${GCC_VER}
|
||||
# install library
|
||||
cd ${S}/tigcclib
|
||||
doins lib/*
|
||||
cd ${WORKDIR}
|
||||
doins flashosa/flashos.a
|
||||
doins fargo.a
|
||||
|
||||
dodir /usr/share/tigcc
|
||||
# copy example programs
|
||||
cp -r ${S}/examples ${D}/usr/share/tigcc
|
||||
|
||||
# create TIGCC env variable
|
||||
dodir /etc/env.d/gcc
|
||||
# echo -e "TIGCC=\"/usr/ti-linux-gnu/tigcc-bin/${GCC_VER}\"" >> ${ENV_FILE}
|
||||
# echo -e "CC=\"tigcc\"" >> ${ENV_FILE}
|
||||
echo -e "TIGCC=\"/usr/ti-linux-gnu\"" >> ${ENV_FILE}
|
||||
echo -e "PATH=\"/usr/ti-linux-gnu/tigcc-bin/${GCC_VER}:/usr/ti-linux-gnu/bin\"" >> ${ENV_FILE}
|
||||
echo -e "ROOTPATH=\"/usr/ti-linux-gnu/tigcc-bin/${GCC_VER}:/usr/ti-linux-gnu/bin\"" >> ${ENV_FILE}
|
||||
echo -e "LDPATH=\"/usr/lib/gcc-lib/ti-linux-gnu/${GCC_VER}\"" >> ${ENV_FILE}
|
||||
|
||||
# a cross-compiling gcc with hard-coded names has been built.
|
||||
# therefore, we must place some symlinks.
|
||||
dosym /usr/include/tigcc /usr/ti-linux-gnu/include
|
||||
dosym /usr/lib/gcc-lib/ti-linux-gnu/${GCC_VER} /usr/ti-linux-gnu/lib
|
||||
dosym /usr/share/doc/${PF} /usr/ti-linux-gnu/doc
|
||||
dosym /usr/ti-linux-gnu/tigcc-bin/${GCC_VER} /usr/ti-linux-gnu/bin
|
||||
}
|
@ -1,226 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-embedded/tigcc/tigcc-0.96_beta2.ebuild,v 1.7 2012/02/06 03:10:58 vapier Exp $
|
||||
|
||||
inherit eutils
|
||||
|
||||
BASE_GCC="3.3.3"
|
||||
BASE_BINUTILS="2.15"
|
||||
GCC_VER=${BASE_GCC:0:3}
|
||||
BIN_VER=${BASE_BINUTILS:0:4}
|
||||
ENV_FILE=${D}/etc/env.d/99tigcc
|
||||
S=${WORKDIR}
|
||||
DESCRIPTION="Cross compiler for Texas Instruments TI-89, TI-92(+) and V200 calculators"
|
||||
HOMEPAGE="http://tigcc.ticalc.org"
|
||||
|
||||
# mirror://gentoo/${P}.tar.bz2 comes from http://tigcc.ticalc.org/linux/tigcc_src.tar.bz2
|
||||
# which isn't that reliable
|
||||
|
||||
SRC_URI="mirror://gentoo/${PF}.tar.bz2
|
||||
mirror://gnu/gcc/releases/gcc-${BASE_GCC}/gcc-core-${BASE_GCC}.tar.bz2
|
||||
mirror://kernel/linux/devel/binutils/binutils-${BASE_BINUTILS}.tar.bz2
|
||||
http://members.chello.at/gerhard.kofler/kevin/ti89prog/libfargo.zip
|
||||
http://members.chello.at/gerhard.kofler/kevin/ti89prog/flashosa.zip"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 ~ppc ~sparc ~amd64"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND=">=sys-devel/binutils-2.14.90.0.6-r1"
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/unzip
|
||||
>=sys-devel/bison-1.875"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
# start by patching binutils and gcc
|
||||
cd ${WORKDIR}/binutils-${BASE_BINUTILS}
|
||||
epatch ${S}/sources/gcc/gas-${BIN_VER}-tigcc-*.diff
|
||||
|
||||
cd ${WORKDIR}/gcc-${BASE_GCC}
|
||||
epatch ${S}/sources/gcc/gcc-${BASE_GCC}-tigcc-*.diff
|
||||
|
||||
# create build directories for binutils and gcc
|
||||
mkdir -p ${WORKDIR}/build/binutils
|
||||
mkdir ${WORKDIR}/build/gcc
|
||||
|
||||
# Workaround for non-existing directories
|
||||
sed -ie '/SUBDIRS =/d' ${WORKDIR}/binutils-${BASE_BINUTILS}/gas/Makefile.in
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# build binutils
|
||||
cd ${WORKDIR}/build/binutils
|
||||
CFLAGS="$CFLAGS" ${WORKDIR}/binutils-${BASE_BINUTILS}/configure \
|
||||
--disable-serial-configure --target=m68k-coff --disable-shared \
|
||||
--enable-static --disable-multilib --disable-nls \
|
||||
|| die "binutils configure"
|
||||
emake || die "gas"
|
||||
# build gcc
|
||||
cd ${WORKDIR}/build/gcc
|
||||
|
||||
CFLAGS="$CFLAGS" ${WORKDIR}/gcc-${BASE_GCC}/configure --target=m68k-coff \
|
||||
--with-gnu-as --with-as=${WORKDIR}/build/binutils/gas/as-new \
|
||||
--disable-nls --disable-multilib --disable-shared --enable-static \
|
||||
--disable-threads \
|
||||
|| die "gcc - configure"
|
||||
# GCC compilations _is intended_ to fail on a certain point,
|
||||
# don't worry about that.
|
||||
emake
|
||||
|
||||
# build a68k assembler
|
||||
cd ${S}/sources/a68k
|
||||
emake -e || die "a68k"
|
||||
|
||||
# build ld-tigcc linker
|
||||
cd ${S}/sources/ld-tigcc
|
||||
emake -e || die "ld-tigcc"
|
||||
|
||||
# build tigcc front-end
|
||||
cd ${S}/sources/tigcc/src
|
||||
emake -e || die "tigcc"
|
||||
|
||||
# build tprbuilder (TIGCC project builder)
|
||||
cd ${S}/sources/tprbuilder/src
|
||||
emake -e || die "trpbuilder"
|
||||
|
||||
# build patcher (object file patcher)
|
||||
cd ${S}/sources/patcher/src
|
||||
emake -e || die "patcher"
|
||||
|
||||
# build parser
|
||||
cd ${S}/sources/parser/src
|
||||
emake -e || die "parser"
|
||||
|
||||
# build tict tool suite
|
||||
cd ${S}/tt
|
||||
CFLAGS="${CFLAGS}" ./makelinux.sh || die "tict tool suite"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
into /usr
|
||||
dodir /usr/bin
|
||||
|
||||
# install documentation
|
||||
if use doc ; then
|
||||
# patch the script that launches the documentation
|
||||
# browser to point to the correct location
|
||||
sed "s:\$TIGCC/doc:/usr/share/doc/${P}:g" \
|
||||
${S}/tigcclib/doc/converter/tigccdoc \
|
||||
> ${S}/tigcclib/doc/converter/tigccdoc.new
|
||||
cd ${S}/tigcclib/doc/converter
|
||||
newbin tigccdoc.new tigccdoc
|
||||
cd ${S}/tigcclib/doc
|
||||
dohtml -r html/*.html
|
||||
cp html/qt-assistant.adp ${D}/usr/share/doc/${PF}/html
|
||||
|
||||
cd ${S}/sources/a68k
|
||||
docinto a68k
|
||||
dodoc docs/*.txt
|
||||
fi
|
||||
|
||||
dodir /usr/share/doc/${PF}
|
||||
cd ${S}
|
||||
dodoc AUTHORS BUGS CHANGELOG COPYING DIRECTORIES HOWTO \
|
||||
INSTALL README README.linux README.osX
|
||||
|
||||
cd ${S}/sources/tigcc
|
||||
docinto tigcc
|
||||
dodoc AUTHORS COPYING ChangeLog README
|
||||
|
||||
cd ${S}/sources/tprbuilder
|
||||
docinto tprbuilder
|
||||
dodoc AUTHORS COPYING ChangeLog README
|
||||
|
||||
cd ${S}/sources/patcher
|
||||
docinto patcher
|
||||
dodoc AUTHORS COPYING ChangeLog README
|
||||
|
||||
cd ${S}/sources/parser
|
||||
docinto parser
|
||||
dodoc AUTHORS COPYING ChangeLog README
|
||||
|
||||
cd ${S}/tt
|
||||
docinto tools
|
||||
dodoc history.txt linux_readme.txt readme.txt tooldocs.txt
|
||||
|
||||
exeinto /usr/ti-linux-gnu/tigcc-bin/${GCC_VER}
|
||||
# install gcc
|
||||
cd ${WORKDIR}/build/gcc
|
||||
doexe gcc/cc1
|
||||
newexe gcc/xgcc gcc
|
||||
dosym /usr/ti-linux-gnu/tigcc-bin/${GCC_VER}/gcc \
|
||||
/usr/ti-linux-gnu/tigcc-bin/${GCC_VER}/ti-linux-gnu-gcc
|
||||
|
||||
# install gas
|
||||
# exeinto /usr/ti-linux-gnu/bin <-- a symlink will be
|
||||
# created so that gas resides in /usr/ti-linux-gnu/bin too
|
||||
cd ${WORKDIR}/build/binutils
|
||||
newexe gas/as-new as
|
||||
|
||||
# install a68k
|
||||
cd ${S}/sources/a68k
|
||||
newexe A68k a68k
|
||||
|
||||
# install ld-tigcc
|
||||
cd ${S}/sources/ld-tigcc
|
||||
doexe ld-tigcc
|
||||
doexe ar-tigcc
|
||||
|
||||
# install tigcc
|
||||
cd ${S}/sources/tigcc/src
|
||||
doexe tigcc
|
||||
dosym /usr/ti-linux-gnu/tigcc-bin/${GCC_VER}/tigcc \
|
||||
/usr/ti-linux-gnu/tigcc-bin/${GCC_VER}/ti-linux-gnu-tigcc
|
||||
|
||||
# install tprbuilder
|
||||
cd ${S}/sources/tprbuilder/src
|
||||
doexe tprbuilder
|
||||
|
||||
# install patcher
|
||||
cd ${S}/sources/patcher/src
|
||||
doexe patcher
|
||||
|
||||
# install parser
|
||||
cd ${S}/sources/parser/src
|
||||
doexe parser
|
||||
|
||||
# install tict tool suite
|
||||
cd ${S}/tt
|
||||
doexe linuxbin/*
|
||||
|
||||
# install header files
|
||||
dodir /usr/include/tigcc
|
||||
cp -R ${S}/tigcclib/include/* ${D}/usr/include/tigcc
|
||||
dosym /usr/include/tigcc/asm/os.h /usr/include/tigcc/asm/OS.h
|
||||
|
||||
insinto /usr/lib/gcc-lib/ti-linux-gnu/${GCC_VER}
|
||||
# install library
|
||||
cd ${S}/tigcclib
|
||||
doins lib/*
|
||||
cd ${WORKDIR}
|
||||
doins flashos.a
|
||||
doins fargo.a
|
||||
|
||||
dodir /usr/share/tigcc
|
||||
# copy example programs
|
||||
# cp -r ${S}/examples ${D}/usr/share/tigcc
|
||||
|
||||
# create TIGCC env variable
|
||||
dodir /etc/env.d
|
||||
# echo -e "TIGCC=\"/usr/ti-linux-gnu/tigcc-bin/${GCC_VER}\"" >> ${ENV_FILE}
|
||||
# echo -e "CC=\"tigcc\"" >> ${ENV_FILE}
|
||||
echo -e "TIGCC=\"/usr/ti-linux-gnu\"" >> ${ENV_FILE}
|
||||
echo -e "PATH=\"/usr/ti-linux-gnu/tigcc-bin/${GCC_VER}:/usr/ti-linux-gnu/bin\"" >> ${ENV_FILE}
|
||||
echo -e "ROOTPATH=\"/usr/ti-linux-gnu/tigcc-bin/${GCC_VER}:/usr/ti-linux-gnu/bin\"" >> ${ENV_FILE}
|
||||
echo -e "LDPATH=\"/usr/lib/gcc-lib/ti-linux-gnu/${GCC_VER}\"" >> ${ENV_FILE}
|
||||
|
||||
# a cross-compiling gcc with hard-coded names has been built.
|
||||
# therefore, we must place some symlinks.
|
||||
dosym /usr/include/tigcc /usr/ti-linux-gnu/include
|
||||
dosym /usr/lib/gcc-lib/ti-linux-gnu/${GCC_VER} /usr/ti-linux-gnu/lib
|
||||
dosym /usr/share/doc/${PF} /usr/ti-linux-gnu/doc
|
||||
dosym /usr/ti-linux-gnu/tigcc-bin/${GCC_VER} /usr/ti-linux-gnu/bin
|
||||
}
|
@ -0,0 +1,245 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-embedded/tigcc/tigcc-0.96_beta8.ebuild,v 1.3 2012/04/30 02:54:59 vapier Exp $
|
||||
|
||||
inherit eutils
|
||||
|
||||
BASE_BINUTILS="2.16.1"
|
||||
GCC_VER="4.1.2"
|
||||
GCC_SNAPSHOT="20060728"
|
||||
BIN_VER=${BASE_BINUTILS:0:4}
|
||||
|
||||
DESCRIPTION="Cross compiler for Texas Instruments TI-89, TI-92(+) and V200 calculators"
|
||||
HOMEPAGE="http://tigcc.ticalc.org/"
|
||||
|
||||
#original source can be found at:
|
||||
#SRC_URI="http://tigcc.ticalc.org/linux/tigcc_src.tar.bz2"
|
||||
#but in fact this file changes as soon as there comes a new beta
|
||||
|
||||
#when it hits portage of course it should be mirrored on a gentoo mirror:
|
||||
#SRC_URI="mirror://gentoo/${PF}.tar.bz2"
|
||||
|
||||
SRC_URI="mirror://gentoo/${P}.tar.bz2
|
||||
ftp://gcc.gnu.org/pub/gcc/snapshots/4.1-${GCC_SNAPSHOT}/gcc-4.1-${GCC_SNAPSHOT}.tar.bz2
|
||||
mirror://kernel/linux/devel/binutils/binutils-${BASE_BINUTILS}.tar.bz2
|
||||
http://members.chello.at/gerhard.kofler/kevin/ti89prog/libfargo.zip
|
||||
http://members.chello.at/gerhard.kofler/kevin/ti89prog/flashosa.zip"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
|
||||
IUSE="doc"
|
||||
RESTRICT="strip"
|
||||
|
||||
RDEPEND=">=sys-devel/binutils-2.14.90.0.6-r1"
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/unzip
|
||||
>=sys-devel/bison-1.875"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
|
||||
# start by patching and cleaning out binutils and gcc directories.
|
||||
cd "${WORKDIR}"/binutils-${BASE_BINUTILS}
|
||||
epatch "${S}"/sources/gcc/gas-${BIN_VER}-tigcc-*.diff
|
||||
|
||||
rm -f .brik
|
||||
rm -f md5.sum
|
||||
rm -f -r INSTALL
|
||||
rm -f -r maintainer-scripts
|
||||
rm -f -r binutils
|
||||
rm -f -r cpu
|
||||
rm -f -r etc
|
||||
rm -f -r gas/doc
|
||||
rm -f -r gas/po
|
||||
rm -f -r gprof
|
||||
rm -f -r include/nlm
|
||||
rm -f -r include/regs
|
||||
rm -f -r ld
|
||||
rm -f -r texinfo
|
||||
|
||||
cd "${WORKDIR}"/gcc-4.1-${GCC_SNAPSHOT}
|
||||
epatch "${S}"/sources/gcc/gcc-4.1-tigcc-patch.diff
|
||||
|
||||
rm -f .brik
|
||||
rm -f md5.sum
|
||||
rm -f -r INSTALL
|
||||
rm -f -r fixincludes
|
||||
rm -f -r gcc/ginclude
|
||||
rm -f -r gcc/po
|
||||
rm -f -r gcc/doc
|
||||
rm -f -r gcc/treelang
|
||||
rm -f -r libcpp/po
|
||||
rm -f -r maintainer-scripts
|
||||
rm -f -r etc
|
||||
rm -f -r gprof
|
||||
rm -f -r include/nlm
|
||||
rm -f -r include/regs
|
||||
rm -f -r texinfo
|
||||
|
||||
# create build directories for binutils and gcc
|
||||
mkdir -p "${WORKDIR}"/build/binutils
|
||||
mkdir "${WORKDIR}"/build/gcc
|
||||
|
||||
# Workaround for non-existing directories
|
||||
sed -ie '/SUBDIRS =/d' "${WORKDIR}"/binutils-${BASE_BINUTILS}/gas/Makefile.in
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# build binutils
|
||||
cd "${WORKDIR}"/build/binutils
|
||||
CFLAGS="${CFLAGS}" "${WORKDIR}"/binutils-${BASE_BINUTILS}/configure \
|
||||
--disable-serial-configure --target=m68k-coff --disable-shared \
|
||||
--enable-static --disable-multilib --disable-nls \
|
||||
|| die
|
||||
emake || die "gas"
|
||||
|
||||
# build gcc
|
||||
cd "${WORKDIR}"/build/gcc
|
||||
CFLAGS="${CFLAGS}" "${WORKDIR}"/gcc-4.1-${GCC_SNAPSHOT}/configure --target=m68k-coff \
|
||||
--with-gnu-as --with-as="${WORKDIR}"/build/binutils/gas/as-new --with-gnu-ld \
|
||||
--disable-nls --disable-multilib --disable-shared --enable-static \
|
||||
--disable-threads --enable-languages=c --disable-win32-registry \
|
||||
--disable-checking --disable-werror --disable-pch --disable-mudflap \
|
||||
|| die
|
||||
|
||||
# GCC compilations _is intended_ to fail on a certain point,
|
||||
# don't worry about that.
|
||||
emake -j1
|
||||
|
||||
# Check if gcc has been built, die otherwise
|
||||
( [ -e "${WORKDIR}"/build/gcc/gcc/xgcc ] && [ -e "${WORKDIR}"/build/gcc/gcc/cc1 ] ) || die "gcc"
|
||||
|
||||
# build a68k assembler
|
||||
cd "${S}"/sources/a68k
|
||||
emake -e || die "a68k"
|
||||
|
||||
# build ld-tigcc linker
|
||||
cd "${S}"/sources/ld-tigcc
|
||||
emake -e || die "ld-tigcc"
|
||||
|
||||
# build tigcc front-end
|
||||
cd "${S}"/sources/tigcc/src
|
||||
emake -e || die "tigcc"
|
||||
|
||||
# build tprbuilder (TIGCC project builder)
|
||||
cd "${S}"/sources/tprbuilder/src
|
||||
emake -e || die "tprbuilder"
|
||||
|
||||
# build patcher (object file patcher)
|
||||
cd "${S}"/sources/patcher/src
|
||||
emake -e || die "patcher"
|
||||
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# install documentation
|
||||
dodir /usr/bin
|
||||
|
||||
if use doc ; then
|
||||
# patch the script that launches the documentation
|
||||
# browser to point to the correct location
|
||||
sed "s:\${TIGCC}/doc:/usr/share/doc/${P}:g" \
|
||||
"${S}"/tigcclib/doc/converter/tigccdoc \
|
||||
> "${S}"/tigcclib/doc/converter/tigccdoc.new
|
||||
|
||||
cd "${S}"/tigcclib/doc/converter
|
||||
newbin tigccdoc.new tigccdoc
|
||||
cd "${S}"/tigcclib/doc
|
||||
dohtml -r html/*
|
||||
cp html/qt-assistant.adp "${D}"/usr/share/doc/${PF}/html
|
||||
|
||||
cd "${S}"/sources/a68k
|
||||
fi
|
||||
|
||||
dodir /usr/share/doc/${PF}
|
||||
cd "${S}"
|
||||
dodoc AUTHORS BUGS CHANGELOG DIRECTORIES HOWTO \
|
||||
INSTALL README README.linux README.osX
|
||||
|
||||
cd "${S}"/sources/tigcc
|
||||
docinto tigcc
|
||||
dodoc AUTHORS ChangeLog README
|
||||
|
||||
cd "${S}"/sources/tprbuilder
|
||||
docinto tprbuilder
|
||||
dodoc AUTHORS ChangeLog README
|
||||
|
||||
cd "${S}"/sources/patcher
|
||||
docinto patcher
|
||||
dodoc AUTHORS ChangeLog README
|
||||
|
||||
exeinto /usr/ti-linux-gnu/tigcc-bin/${GCC_VER}
|
||||
# install gcc
|
||||
cd "${WORKDIR}"/build/gcc
|
||||
doexe gcc/cc1
|
||||
newexe gcc/xgcc gcc
|
||||
dosym /usr/ti-linux-gnu/tigcc-bin/${GCC_VER}/gcc \
|
||||
/usr/ti-linux-gnu/tigcc-bin/${GCC_VER}/ti-linux-gnu-gcc
|
||||
|
||||
# install gas
|
||||
# exeinto /usr/ti-linux-gnu/bin <-- a symlink will be
|
||||
# created so that gas resides in /usr/ti-linux-gnu/bin too
|
||||
cd "${WORKDIR}"/build/binutils
|
||||
newexe gas/as-new as
|
||||
|
||||
# install a68k
|
||||
cd "${S}"/sources/a68k
|
||||
newexe A68k a68k
|
||||
|
||||
# install ld-tigcc
|
||||
cd "${S}"/sources/ld-tigcc
|
||||
doexe ld-tigcc
|
||||
doexe ar-tigcc
|
||||
|
||||
# install tigcc
|
||||
cd "${S}"/sources/tigcc/src
|
||||
doexe tigcc
|
||||
dosym /usr/ti-linux-gnu/tigcc-bin/${GCC_VER}/tigcc \
|
||||
/usr/ti-linux-gnu/tigcc-bin/${GCC_VER}/ti-linux-gnu-tigcc
|
||||
|
||||
# install tprbuilder
|
||||
cd "${S}"/sources/tprbuilder/src
|
||||
doexe tprbuilder
|
||||
|
||||
# install patcher
|
||||
cd "${S}"/sources/patcher/src
|
||||
doexe patcher
|
||||
|
||||
# install header files
|
||||
dodir /usr/include/tigcc
|
||||
cp -R "${S}"/tigcclib/include/* "${D}"/usr/include/tigcc
|
||||
dosym /usr/include/tigcc/asm/os.h /usr/include/tigcc/asm/OS.h
|
||||
|
||||
insinto /usr/lib/gcc-lib/ti-linux-gnu/${GCC_VER}
|
||||
# install library
|
||||
cd "${S}"/tigcclib
|
||||
doins lib/*
|
||||
cd "${WORKDIR}"
|
||||
doins flashos.a
|
||||
doins fargo.a
|
||||
|
||||
dodir /usr/share/tigcc
|
||||
# copy example programs
|
||||
# cp -r "${S}"/examples ${D}/usr/share/tigcc
|
||||
|
||||
# create TIGCC env variable
|
||||
# TIGCC="/usr/ti-linux-gnu/tigcc-bin/${GCC_VER}"
|
||||
# CC="tigcc"
|
||||
cat <<-EOF > 99tigcc
|
||||
TIGCC="/usr/ti-linux-gnu"
|
||||
PATH="/usr/ti-linux-gnu/tigcc-bin/${GCC_VER}:/usr/ti-linux-gnu/bin"
|
||||
ROOTPATH="/usr/ti-linux-gnu/tigcc-bin/${GCC_VER}:/usr/ti-linux-gnu/bin"
|
||||
LDPATH="/usr/lib/gcc-lib/ti-linux-gnu/${GCC_VER}"
|
||||
EOF
|
||||
doenvd 99tigcc
|
||||
|
||||
# a cross-compiling gcc with hard-coded names has been built.
|
||||
# therefore, we must place some symlinks.
|
||||
dosym /usr/include/tigcc /usr/ti-linux-gnu/include
|
||||
dosym /usr/lib/gcc-lib/ti-linux-gnu/${GCC_VER} /usr/ti-linux-gnu/lib
|
||||
dosym /usr/share/doc/${PF} /usr/ti-linux-gnu/doc
|
||||
dosym /usr/ti-linux-gnu/tigcc-bin/${GCC_VER} /usr/ti-linux-gnu/bin
|
||||
}
|
@ -1,5 +1,2 @@
|
||||
DIST ekopath-4.0.10_pre20110728.run 38656910 RMD160 838e285068bcedbae60296126024ac74b3ae86fa SHA1 2e0f05565d2b45e65ca0fe0b14ff57b0d63e3dd0 SHA256 d77046cf0b1ad2f9f633b3278b2d85d69867ddcfa386bbc5c9555a8aa12e466b
|
||||
DIST ekopath-4.0.11_pre20110804.run 37313638 RMD160 75db1ccb345fff6e2941f0e22a66d8db118eccbf SHA1 3742d438910d1051cb34710e4e998b2fec16f230 SHA256 7be74f7fa1e099269d0f014a7dc2b168c4b97c32e74e5934eb0cb472977a73b1
|
||||
DIST ekopath-4.0.12.1_pre20120205.run 50831243 RMD160 55dcfa9d6b8a1e40104654a8603da892738835f6 SHA1 99c62546149ffa12f62ce3a8cefa951d25363e6d SHA256 63e949bdcdb979ff5b9db7fc46542e6ebdba14a5aa014ab2ccf0abae195d7114
|
||||
DIST ekopath-4.0.12.1_pre20120308.run 50834782 RMD160 a3f8cd0ac043b00cb1d6e728cbc1443d44cee0ed SHA1 797743afe8f8c8af157dfe8c9eff769b0945918e SHA256 22bc2bcd01b378a8ef509e9cc3011a5410bbda4e78ee351d109c6571588ce85f
|
||||
DIST ekopath-4.0.12_pre20111108.run 53071726 RMD160 5740fd0afd724fa218f0a7d805c9d3992b0f5ea1 SHA1 77a76dad1b4cd0c64e54252a56ee2d1411e5e9ae SHA256 a718dcda024cb0d9c290c530319b10a4828d9bde65f4863bc4ed775c9c2842f6
|
||||
DIST ekopath-4.0.12.1_pre20120430.run 50818242 RMD160 3b512fecf9e9fff6a28ea1545e70bb74b08dc853 SHA1 586c7c2ee8f8152184de22de4427dffecd05eb0d SHA256 3aec658635bb6bae921d07822be44c948b7d1affade9bd75f07969d359babb7e
|
||||
|
@ -1,78 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/ekopath/ekopath-4.0.10_pre20110728.ebuild,v 1.2 2011/08/03 14:00:25 blueness Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit versionator
|
||||
|
||||
MY_PV=$(get_version_component_range 1-3)
|
||||
DATE=$(get_version_component_range 4)
|
||||
DATE=${DATE/pre}
|
||||
DATE=${DATE:0:4}-${DATE:4:2}-${DATE:6}
|
||||
|
||||
DESCRIPTION="PathScale EKOPath Compiler Suite"
|
||||
HOMEPAGE="http://www.pathscale.com/ekopath-compiler-suite"
|
||||
SRC_URI="http://c591116.r16.cf2.rackcdn.com/${PN}/nightly/Linux/${PN}-${DATE}-installer.run
|
||||
-> ${P}.run"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
RESTRICT="mirror"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
PATHSCALE_SDP_DIR=/opt/${PN}
|
||||
|
||||
QA_PREBUILT="
|
||||
${PATHSCALE_SDP_DIR}/lib/${MY_PV}/x8664/*
|
||||
${PATHSCALE_SDP_DIR}/bin/pathcc*
|
||||
${PATHSCALE_SDP_DIR}/bin/pathas
|
||||
${PATHSCALE_SDP_DIR}/bin/assign"
|
||||
|
||||
pkg_pretend() {
|
||||
if has_version app-arch/rpm ; then
|
||||
ewarn "You have app-arch/rpm installed on your system. Therefore"
|
||||
ewarn "${PN} will fail to install due to sandbox violation."
|
||||
ewarn "As this cannot be fixed on distribution level, please use"
|
||||
ewarn "following workaround:"
|
||||
ewarn " emerge -C rpm && emerge -1 ${PN} && emerge -1 rpm"
|
||||
die
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
cp "${DISTDIR}"/${A} "${S}" || die
|
||||
chmod +x "${S}"/${P}.run
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
cat > "99${PN}" <<-EOF
|
||||
PATH=/opt/${PN}/bin
|
||||
ROOTPATH=/opt/${PN}/bin
|
||||
LDPATH=/opt/${PN}/lib:/opt/${PN}/lib/${MY_PV}/x8664/64
|
||||
EOF
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# You must paxmark -m EI_PAX (not PT_PAX) to run the installer
|
||||
# on a pax enabled kernel. Adding PT_PAX breaks the binary.
|
||||
/usr/bin/scanelf -Xxz m ${P}.run >> /dev/null
|
||||
|
||||
./${P}.run \
|
||||
--prefix "${D}/opt/${PN}" \
|
||||
--mode unattended || die
|
||||
|
||||
# This is a temporary/partial fix to remove a RWX GNU STACK header
|
||||
# from libstl.so. It still leaves libstl.a in bad shape.
|
||||
# The correct fix is in the assembly atomic-cxx.S, which we don't get
|
||||
# See http://www.gentoo.org/proj/en/hardened/gnu-stack.xml
|
||||
# Section 6. How to fix the stack (in practice)
|
||||
/usr/bin/scanelf -Xe "${D}/opt/ekopath/lib/4.0.11/x8664/64/libstl.so"
|
||||
|
||||
rm -rf "${D}"/opt/${PN}/uninstall || die
|
||||
doenvd "99${PN}"
|
||||
}
|
@ -1,78 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/ekopath/ekopath-4.0.11_pre20110804-r1.ebuild,v 1.1 2011/08/04 16:54:41 xarthisius Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit versionator
|
||||
|
||||
MY_PV=$(get_version_component_range 1-3)
|
||||
DATE=$(get_version_component_range 4)
|
||||
DATE=${DATE/pre}
|
||||
DATE=${DATE:0:4}-${DATE:4:2}-${DATE:6}
|
||||
|
||||
DESCRIPTION="PathScale EKOPath Compiler Suite"
|
||||
HOMEPAGE="http://www.pathscale.com/ekopath-compiler-suite"
|
||||
SRC_URI="http://c591116.r16.cf2.rackcdn.com/${PN}/nightly/Linux/${PN}-${DATE}-installer.run
|
||||
-> ${P}.run"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
RESTRICT="mirror"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
QA_PREBUILT="
|
||||
opt/${PN}/lib/${MY_PV}/x8664/*
|
||||
opt/${PN}/bin/path*
|
||||
opt/${PN}/bin/funclookup
|
||||
opt/${PN}/bin/doctool
|
||||
opt/${PN}/bin/subclient
|
||||
opt/${PN}/bin/assign"
|
||||
|
||||
pkg_pretend() {
|
||||
if has_version app-arch/rpm ; then
|
||||
ewarn "You have app-arch/rpm installed on your system. Therefore"
|
||||
ewarn "${PN} will fail to install due to sandbox violation."
|
||||
ewarn "As this cannot be fixed on distribution level, please use"
|
||||
ewarn "following workaround:"
|
||||
ewarn " emerge -C rpm && emerge -1 ${PN} && emerge -1 rpm"
|
||||
die
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
cp "${DISTDIR}"/${A} "${S}" || die
|
||||
chmod +x "${S}"/${P}.run
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
cat > "99${PN}" <<-EOF
|
||||
PATH=/opt/${PN}/bin
|
||||
ROOTPATH=/opt/${PN}/bin
|
||||
LDPATH=/opt/${PN}/lib:/opt/${PN}/lib/${MY_PV}/x8664/64
|
||||
EOF
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# You must paxmark -m EI_PAX (not PT_PAX) to run the installer
|
||||
# on a pax enabled kernel. Adding PT_PAX breaks the binary.
|
||||
/usr/bin/scanelf -Xxz m ${P}.run >> /dev/null
|
||||
|
||||
./${P}.run \
|
||||
--prefix "${D}/opt/${PN}" \
|
||||
--mode unattended || die
|
||||
|
||||
# This is a temporary/partial fix to remove a RWX GNU STACK header
|
||||
# from libstl.so. It still leaves libstl.a in bad shape.
|
||||
# The correct fix is in the assembly atomic-cxx.S, which we don't get
|
||||
# See http://www.gentoo.org/proj/en/hardened/gnu-stack.xml
|
||||
# Section 6. How to fix the stack (in practice)
|
||||
/usr/bin/scanelf -Xe "${D}/opt/ekopath/lib/4.0.11/x8664/64/libstl.so"
|
||||
|
||||
rm -rf "${D}"/opt/${PN}/uninstall || die
|
||||
doenvd "99${PN}"
|
||||
}
|
@ -1,82 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/ekopath/ekopath-4.0.12_pre20111108.ebuild,v 1.1 2011/11/08 09:01:19 xarthisius Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit versionator
|
||||
|
||||
MY_PV=$(get_version_component_range 1-3)
|
||||
DATE=$(get_version_component_range 4)
|
||||
DATE=${DATE/pre}
|
||||
DATE=${DATE:0:4}-${DATE:4:2}-${DATE:6}
|
||||
|
||||
DESCRIPTION="PathScale EKOPath Compiler Suite"
|
||||
HOMEPAGE="http://www.pathscale.com/ekopath-compiler-suite"
|
||||
SRC_URI="http://c591116.r16.cf2.rackcdn.com/${PN}/nightly/Linux/${PN}-${DATE}-installer.run
|
||||
-> ${P}.run"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
RESTRICT="mirror"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
QA_PREBUILT="
|
||||
opt/${PN}/lib/${MY_PV}/x8664/*
|
||||
opt/${PN}/bin/path*
|
||||
opt/${PN}/bin/funclookup
|
||||
opt/${PN}/bin/doctool
|
||||
opt/${PN}/bin/subclient
|
||||
opt/${PN}/bin/subserver
|
||||
opt/${PN}/bin/assign"
|
||||
|
||||
pkg_pretend() {
|
||||
if has_version app-arch/rpm ; then
|
||||
ewarn "You have app-arch/rpm installed on your system. Therefore"
|
||||
ewarn "${PN} will fail to install due to sandbox violation."
|
||||
ewarn "As this cannot be fixed on distribution level, please use"
|
||||
ewarn "following workaround:"
|
||||
ewarn " emerge -C rpm && emerge -1 ${PN} && emerge -1 rpm"
|
||||
die
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
cp "${DISTDIR}"/${A} "${S}" || die
|
||||
chmod +x "${S}"/${P}.run
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
cat > "99${PN}" <<-EOF
|
||||
PATH=/opt/${PN}/bin
|
||||
ROOTPATH=/opt/${PN}/bin
|
||||
LDPATH=/opt/${PN}/lib:/opt/${PN}/lib/${MY_PV}/x8664/64
|
||||
EOF
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# You must paxmark -m EI_PAX (not PT_PAX) to run the installer
|
||||
# on a pax enabled kernel. Adding PT_PAX breaks the binary.
|
||||
/usr/bin/scanelf -Xxz m ${P}.run >> /dev/null
|
||||
|
||||
./${P}.run \
|
||||
--prefix "${D}/opt/${PN}" \
|
||||
--disable-components subscriptionmanager \
|
||||
--mode unattended || die
|
||||
|
||||
# This is a temporary/partial fix to remove a RWX GNU STACK header
|
||||
# from libstl.so. It still leaves libstl.a in bad shape.
|
||||
# The correct fix is in the assembly atomic-cxx.S, which we don't get
|
||||
# See http://www.gentoo.org/proj/en/hardened/gnu-stack.xml
|
||||
# Section 6. How to fix the stack (in practice)
|
||||
/usr/bin/scanelf -Xe "${D}/opt/ekopath/lib/4.0.11/x8664/64/libstl.so"
|
||||
|
||||
rm -rf "${D}"/opt/${PN}/uninstall || die
|
||||
rm -rf "${D}"/opt/${PN}/bin/{pathdb,funclookup} || die #libtinfo
|
||||
rm -rf "${D}"/opt/${PN}/lib/${MY_PV}/x8664/coco || die #DT_PATH
|
||||
doenvd "99${PN}"
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
like the other CHOST patches, but this one catches another case where
|
||||
$host is used (instead of the cannonicalised variables)
|
||||
|
||||
--- aclocal.m4
|
||||
+++ aclocal.m4
|
||||
@@ -93,10 +93,10 @@
|
||||
exeext='.exe'
|
||||
soext='.dll'
|
||||
;;
|
||||
- i386-apple-darwin|powerpc-apple-darwin)
|
||||
+ i386-apple-darwin*|powerpc-apple-darwin*)
|
||||
soext='.dylib'
|
||||
;;
|
||||
- x86_64-apple-darwin)
|
||||
+ x86_64-apple-darwin*)
|
||||
soext='.dylib'
|
||||
;;
|
||||
esac
|
@ -0,0 +1,223 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ruby-1.9.3_p194.ebuild,v 1.1 2012/04/30 11:14:18 graaff Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
#PATCHSET=
|
||||
|
||||
inherit autotools eutils flag-o-matic multilib versionator
|
||||
|
||||
RUBYPL=$(get_version_component_range 4)
|
||||
|
||||
MY_P="${PN}-$(get_version_component_range 1-3)-${RUBYPL:-0}"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
SLOT=$(get_version_component_range 1-2)
|
||||
MY_SUFFIX=$(delete_version_separator 1 ${SLOT})
|
||||
# 1.9.3 still uses 1.9.1
|
||||
RUBYVERSION=1.9.1
|
||||
|
||||
if [[ -n ${PATCHSET} ]]; then
|
||||
if [[ ${PVR} == ${PV} ]]; then
|
||||
PATCHSET="${PV}-r0.${PATCHSET}"
|
||||
else
|
||||
PATCHSET="${PVR}.${PATCHSET}"
|
||||
fi
|
||||
else
|
||||
PATCHSET="${PVR}"
|
||||
fi
|
||||
|
||||
DESCRIPTION="An object-oriented scripting language"
|
||||
HOMEPAGE="http://www.ruby-lang.org/"
|
||||
SRC_URI="mirror://ruby/1.9/${MY_P}.tar.bz2
|
||||
http://dev.gentoo.org/~flameeyes/ruby-team/${PN}-patches-${PATCHSET}.tar.bz2"
|
||||
|
||||
LICENSE="|| ( Ruby BSD-2 )"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE="berkdb debug doc examples gdbm ipv6 +rdoc rubytests socks5 ssl tk xemacs ncurses +readline +yaml" #libedit
|
||||
|
||||
# libedit support is removed everywhere because of this upstream bug:
|
||||
# http://redmine.ruby-lang.org/issues/show/3698
|
||||
|
||||
RDEPEND="
|
||||
berkdb? ( sys-libs/db )
|
||||
gdbm? ( sys-libs/gdbm )
|
||||
ssl? ( dev-libs/openssl )
|
||||
socks5? ( >=net-proxy/dante-1.1.13 )
|
||||
tk? ( dev-lang/tk[threads] )
|
||||
ncurses? ( sys-libs/ncurses )
|
||||
readline? ( sys-libs/readline )
|
||||
yaml? ( dev-libs/libyaml )
|
||||
virtual/libffi
|
||||
sys-libs/zlib
|
||||
>=app-admin/eselect-ruby-20100402
|
||||
!<dev-ruby/rdoc-3.9.4
|
||||
!<dev-ruby/rubygems-1.8.10-r1"
|
||||
# libedit? ( dev-libs/libedit )
|
||||
# !libedit? ( readline? ( sys-libs/readline ) )
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
PDEPEND="
|
||||
rdoc? ( >=dev-ruby/rdoc-3.9.4[ruby_targets_ruby19] )
|
||||
xemacs? ( app-xemacs/ruby-modes )"
|
||||
|
||||
src_prepare() {
|
||||
EPATCH_FORCE="yes" EPATCH_SUFFIX="patch" \
|
||||
epatch "${WORKDIR}/patches"
|
||||
|
||||
einfo "Unbundling gems..."
|
||||
cd "$S"
|
||||
rm -r \
|
||||
{bin,lib}/rake lib/rake.rb man/rake.1 \
|
||||
ext/json \
|
||||
bin/gem || die "removal failed"
|
||||
|
||||
# Fix a hardcoded lib path in configure script
|
||||
sed -i -e "s:\(RUBY_LIB_PREFIX=\"\${prefix}/\)lib:\1$(get_libdir):" \
|
||||
configure.in || die "sed failed"
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=
|
||||
|
||||
# -fomit-frame-pointer makes ruby segfault, see bug #150413.
|
||||
filter-flags -fomit-frame-pointer
|
||||
# In many places aliasing rules are broken; play it safe
|
||||
# as it's risky with newer compilers to leave it as it is.
|
||||
append-flags -fno-strict-aliasing
|
||||
# SuperH needs this
|
||||
use sh && append-flags -mieee
|
||||
|
||||
# Socks support via dante
|
||||
if use socks5 ; then
|
||||
# Socks support can't be disabled as long as SOCKS_SERVER is
|
||||
# set and socks library is present, so need to unset
|
||||
# SOCKS_SERVER in that case.
|
||||
unset SOCKS_SERVER
|
||||
fi
|
||||
|
||||
# Increase GC_MALLOC_LIMIT if set (default is 8000000)
|
||||
if [ -n "${RUBY_GC_MALLOC_LIMIT}" ] ; then
|
||||
append-flags "-DGC_MALLOC_LIMIT=${RUBY_GC_MALLOC_LIMIT}"
|
||||
fi
|
||||
|
||||
# ipv6 hack, bug 168939. Needs --enable-ipv6.
|
||||
use ipv6 || myconf="${myconf} --with-lookup-order-hack=INET"
|
||||
|
||||
# if use libedit; then
|
||||
# einfo "Using libedit to provide readline extension"
|
||||
# myconf="${myconf} --enable-libedit --with-readline"
|
||||
# elif use readline; then
|
||||
# einfo "Using readline to provide readline extension"
|
||||
# myconf="${myconf} --with-readline"
|
||||
# else
|
||||
# myconf="${myconf} --without-readline"
|
||||
# fi
|
||||
myconf="${myconf} $(use_with readline)"
|
||||
|
||||
# Set a faux target (bug #342819)
|
||||
use hppa && myconf="${myconf} --target=parisc"
|
||||
|
||||
econf \
|
||||
--program-suffix=${MY_SUFFIX} \
|
||||
--with-soname=ruby${MY_SUFFIX} \
|
||||
--enable-shared \
|
||||
--enable-pthread \
|
||||
$(use_enable socks5 socks) \
|
||||
$(use_enable doc install-doc) \
|
||||
--enable-ipv6 \
|
||||
$(use_enable debug) \
|
||||
$(use_with berkdb dbm) \
|
||||
$(use_with gdbm) \
|
||||
$(use_with ssl openssl) \
|
||||
$(use_with tk) \
|
||||
$(use_with ncurses curses) \
|
||||
$(use_with yaml psych) \
|
||||
${myconf} \
|
||||
--enable-option-checking=no \
|
||||
|| die "econf failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake EXTLDFLAGS="${LDFLAGS}" || die "emake failed"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake -j1 test || die "make test failed"
|
||||
|
||||
elog "Ruby's make test has been run. Ruby also ships with a make check"
|
||||
elog "that cannot be run until after ruby has been installed."
|
||||
elog
|
||||
if use rubytests; then
|
||||
elog "You have enabled rubytests, so they will be installed to"
|
||||
elog "/usr/share/${PN}-${SLOT}/test. To run them you must be a user other"
|
||||
elog "than root, and you must place them into a writeable directory."
|
||||
elog "Then call: "
|
||||
elog
|
||||
elog "ruby${MY_SUFFIX} -C /location/of/tests runner.rb"
|
||||
else
|
||||
elog "Enable the rubytests USE flag to install the make check tests"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Ruby is involved in the install process, we don't want interference here.
|
||||
unset RUBYOPT
|
||||
|
||||
local MINIRUBY=$(echo -e 'include Makefile\ngetminiruby:\n\t@echo $(MINIRUBY)'|make -f - getminiruby)
|
||||
|
||||
LD_LIBRARY_PATH="${D}/usr/$(get_libdir)${LD_LIBRARY_PATH+:}${LD_LIBRARY_PATH}"
|
||||
RUBYLIB="${S}:${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}"
|
||||
for d in $(find "${S}/ext" -type d) ; do
|
||||
RUBYLIB="${RUBYLIB}:$d"
|
||||
done
|
||||
export LD_LIBRARY_PATH RUBYLIB
|
||||
|
||||
emake DESTDIR="${D}" install || die "make install failed"
|
||||
|
||||
# Remove installed rubygems copy
|
||||
rm -r "${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}/rubygems" || die "rm rubygems failed"
|
||||
rm -r "${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}"/rdoc* || die "rm rdoc failed"
|
||||
rm -r "${D}/usr/bin/"{ri,rdoc}"${MY_SUFFIX}" || die "rm rdoc bins failed"
|
||||
|
||||
if use doc; then
|
||||
make DESTDIR="${D}" install-doc || die "make install-doc failed"
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r sample
|
||||
fi
|
||||
|
||||
dosym "libruby${MY_SUFFIX}$(get_libname ${PV%_*})" \
|
||||
"/usr/$(get_libdir)/libruby$(get_libname ${PV%.*})"
|
||||
dosym "libruby${MY_SUFFIX}$(get_libname ${PV%_*})" \
|
||||
"/usr/$(get_libdir)/libruby$(get_libname ${PV%_*})"
|
||||
|
||||
dodoc ChangeLog NEWS doc/NEWS* README* ToDo || die
|
||||
|
||||
if use rubytests; then
|
||||
pushd test
|
||||
insinto /usr/share/${PN}-${SLOT}/test
|
||||
doins -r .
|
||||
popd
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ ! -n $(readlink "${ROOT}"usr/bin/ruby) ]] ; then
|
||||
eselect ruby set ruby${MY_SUFFIX}
|
||||
fi
|
||||
|
||||
elog
|
||||
elog "To switch between available Ruby profiles, execute as root:"
|
||||
elog "\teselect ruby set ruby(18|19|...)"
|
||||
elog
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect ruby cleanup
|
||||
}
|
@ -0,0 +1,138 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/v8-3.8.9.19.ebuild,v 1.1 2012/05/01 03:31:26 floppym Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
PYTHON_DEPEND="2:2.6"
|
||||
|
||||
inherit eutils multilib pax-utils python toolchain-funcs versionator
|
||||
|
||||
DESCRIPTION="Google's open source JavaScript engine"
|
||||
HOMEPAGE="http://code.google.com/p/v8"
|
||||
SRC_URI="http://commondatastorage.googleapis.com/chromium-browser-official/${P}.tar.bz2"
|
||||
LICENSE="BSD"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~x64-macos ~x86-macos"
|
||||
IUSE=""
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# don't force 32-bits mode on Darwin
|
||||
sed -i -e '/-arch i386/d' build/gyp/pylib/gyp/generator/make.py || die
|
||||
# force using Makefiles, instead of Xcode project file on Darwin
|
||||
sed -i -e '/darwin/s/xcode/make/' build/gyp/pylib/gyp/__init__.py || die
|
||||
# don't refuse to build shared_libs because we build somewhere else
|
||||
sed -i \
|
||||
-e '/params\.get.*mac.*darwin.*linux/s/mac/darwin/' \
|
||||
-e "/if GetFlavor(params) == 'mac':/s/mac/darwin/" \
|
||||
-e "/^ if flavor == 'mac':/s/mac/darwin/" \
|
||||
build/gyp/pylib/gyp/generator/make.py || die
|
||||
# make sure our v8.dylib doesn't end up being empty and give it a proper
|
||||
# install_name (soname)
|
||||
sed -i \
|
||||
-e '/^LINK_COMMANDS_MAC =/,/^SHARED_HEADER =/s#-shared#-dynamiclib -all_load -install_name '"${EPREFIX}/usr/$(get_libdir)/libv8$(get_libname $(get_version_component_range 1-3))"'#' \
|
||||
build/gyp/pylib/gyp/generator/make.py || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
tc-export AR CC CXX RANLIB
|
||||
export LINK="${CXX}"
|
||||
|
||||
# Use target arch detection logic from bug #354601.
|
||||
case ${CHOST} in
|
||||
i?86-*) myarch=ia32 ;;
|
||||
x86_64-*)
|
||||
if [[ $ABI = x86 ]] ; then
|
||||
myarch=ia32
|
||||
else
|
||||
myarch=x64
|
||||
fi ;;
|
||||
arm*-*) myarch=arm ;;
|
||||
*) die "Unrecognized CHOST: ${CHOST}"
|
||||
esac
|
||||
mytarget=${myarch}.release
|
||||
|
||||
soname_version="$(get_version_component_range 1-3)"
|
||||
|
||||
local snapshot=on
|
||||
host-is-pax && snapshot=off
|
||||
|
||||
# TODO: Add console=readline option once implemented upstream
|
||||
# http://code.google.com/p/v8/issues/detail?id=1781
|
||||
|
||||
emake V=1 \
|
||||
library=shared \
|
||||
werror=no \
|
||||
soname_version=${soname_version} \
|
||||
snapshot=${snapshot} \
|
||||
${mytarget} || die
|
||||
|
||||
pax-mark m out/${mytarget}/{cctest,d8,shell} || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local arg testjobs
|
||||
for arg in ${MAKEOPTS}; do
|
||||
case ${arg} in
|
||||
-j*) testjobs=${arg#-j} ;;
|
||||
--jobs=*) testjobs=${arg#--jobs=} ;;
|
||||
esac
|
||||
done
|
||||
|
||||
tools/test-wrapper-gypbuild.py \
|
||||
-j${testjobs:-1} \
|
||||
--arch-and-mode=${mytarget} \
|
||||
--no-presubmit \
|
||||
--progress=dots || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr
|
||||
doins -r include || die
|
||||
|
||||
dobin out/${mytarget}/d8 || die
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]] ; then
|
||||
# buildsystem is too horrific to get this built correctly
|
||||
mv out/${mytarget}/lib.target/libv8.so.${soname_version} \
|
||||
out/${mytarget}/lib.target/libv8$(get_libname ${soname_version}) || die
|
||||
fi
|
||||
|
||||
dolib out/${mytarget}/lib.target/libv8$(get_libname ${soname_version}) || die
|
||||
dosym libv8$(get_libname ${soname_version}) /usr/$(get_libdir)/libv8$(get_libname) || die
|
||||
|
||||
dodoc AUTHORS ChangeLog || die
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
preserved_libs=()
|
||||
local baselib candidate
|
||||
|
||||
eshopts_push -s nullglob
|
||||
|
||||
for candidate in "${EROOT}usr/$(get_libdir)"/libv8-*$(get_libname) \
|
||||
"${EROOT}usr/$(get_libdir)"/libv8$(get_libname).*; do
|
||||
baselib=${candidate##*/}
|
||||
if [[ ! -e "${ED}usr/$(get_libdir)/${baselib}" ]]; then
|
||||
preserved_libs+=( "${EPREFIX}/usr/$(get_libdir)/${baselib}" )
|
||||
fi
|
||||
done
|
||||
|
||||
eshopts_pop
|
||||
|
||||
if [[ ${#preserved_libs[@]} -gt 0 ]]; then
|
||||
preserve_old_lib "${preserved_libs[@]}"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ ${#preserved_libs[@]} -gt 0 ]]; then
|
||||
preserve_old_lib_notify "${preserved_libs[@]}"
|
||||
fi
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST gamin-0.1.10.tar.bz2 452194 RMD160 6524915876be79b19060571e01ee6a472ed1adee SHA1 c4d5462d8cef5e412f55861bd317dcce5cac3318 SHA256 a59948b20ce2f14136c013f155abb8c8d51db2ea167c063ff33461e453fec10a
|
||||
DIST gamin-0.1.9-freebsd.patch.bz2 4635 RMD160 9f53abfcb9e785e9408cb8f1d35ff36fb739d878 SHA1 3d276802bbab47885dfcba0bbe6422711c84e676 SHA256 fcd1a6655d1c7cd86db6102931a4da1c22bc85f1c4692959c1a966fec5231723
|
||||
DIST libgamin-0.1.10-opensolaris.patch.bz2 16955 RMD160 aad5d41806b0fba956e3fb40e0b534c5565347c6 SHA1 94dd40b70af138354711f9a551df03e3c291687f SHA256 9cb1bde5a34888ce4de4c4894c7d31dbfdbfb3279007b9eddf2da35510f6a9b5
|
||||
DIST pkg-config-0.26.tar.gz 396399 RMD160 face3d16ec338b9b1ab41d56d6e4d1a5624b52d0 SHA1 fd71a70b023b9087c8a7bb76a0dc135a61059652 SHA256 94c1936a797c930fb3e4e5a154165b6268caba22b32d24083dd4c492a533c8af
|
||||
|
@ -1,4 +1,3 @@
|
||||
DIST rpy2-2.1.9.tar.gz 129184 RMD160 fb8160c7364084716d0c909820c7d0ae99188ff0 SHA1 d068d985c573e93f9af5d0953be53c470f313cbc SHA256 a294f21739ab483b025655e36282692bf88ae908794694b03050b221ffec1c50
|
||||
DIST rpy2-2.2.2.tar.gz 165878 RMD160 2629ab52ea7f4a0ca162cafaaad4fa6270216061 SHA1 462b45dd601e487b3b1fa34b0bb7a6b02da78377 SHA256 a02bb21665654f234589be794fa851f6d7b44ebb3fe179be509680441bbd996b
|
||||
DIST rpy2-2.2.4.tar.gz 166176 RMD160 678f670791bef4e085d87d98a5211c516bd4d754 SHA1 747d4160418934342798b7d84d5e4ac139517a57 SHA256 894e9510365431c706764d2bd982aa009a9ad6ddbac6976e85ca46b20d8f94f9
|
||||
DIST rpy2-2.2.5.tar.gz 166922 RMD160 09c47cae4d97ae9f3adad87eb67ed0ddd0692f4a SHA1 5145298b18c57c04c57337e96a51ec4a0c4670bd SHA256 0f4e0447caa016e4490747003500663fc7ff645000b12b214f299b9d253ad0e8
|
||||
DIST rpy2-2.2.6.tar.gz 167112 RMD160 1e0ed8d59068018ad64f718e772bcbfda767eb06 SHA1 88c5d3c30415e309ca9a38976382374b6b5e5d98 SHA256 7e6b3ac86edcc66e59a98d5821581e36d4bfe9552d7f2da95610b730e5f0ef28
|
||||
|
@ -1,39 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/rpy/rpy-2.2.4.ebuild,v 1.3 2012/04/02 06:03:29 jlec Exp $
|
||||
|
||||
EAPI="2"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="2.5 3.* *-jython 2.7-pypy-*"
|
||||
|
||||
inherit distutils eutils
|
||||
|
||||
MYSLOT=2
|
||||
MY_PN=${PN}${MYSLOT}
|
||||
MY_P=${MY_PN}-${PV}
|
||||
|
||||
DESCRIPTION="Python interface to the R Programming Language"
|
||||
HOMEPAGE="http://rpy.sourceforge.net/ http://pypi.python.org/pypi/rpy2"
|
||||
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2.1 MPL-1.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-lang/R-2.8
|
||||
dev-python/numpy
|
||||
!<=dev-python/rpy-1.0.2-r2"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
PYTHON_MODNAME="${MY_PN}"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_test() {
|
||||
testing() {
|
||||
PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib.*)" \
|
||||
"$(PYTHON)" -m 'rpy2.tests'
|
||||
}
|
||||
python_execute_function testing
|
||||
}
|
@ -1,28 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/diff-lcs/diff-lcs-1.1.2-r1.ebuild,v 1.10 2010/08/29 18:04:38 armin76 Exp $
|
||||
|
||||
EAPI=2
|
||||
USE_RUBY="ruby18"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="README ChangeLog"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Use the McIlroy-Hunt LCS algorithm to compute differences"
|
||||
HOMEPAGE="http://rubyforge.org/projects/ruwiki/"
|
||||
SRC_URI="mirror://rubyforge/ruwiki/${P}.tar.gz"
|
||||
|
||||
LICENSE="Ruby"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ia64 ~ppc ~ppc64 ~sparc x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend '>=dev-ruby/text-format-0.64'
|
||||
ruby_add_bdepend test 'dev-ruby/archive-tar-minitar'
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Fix rakefile for new rake versions
|
||||
sed -i -e 's: if t\.verbose::' Rakefile || die
|
||||
}
|
@ -1,3 +1 @@
|
||||
DIST linecache-0.43.gem 29184 RMD160 5c6e7a6a62fd5931e6dacea823149e9aaa98e150 SHA1 37f6ead335420b1b7d7b41a97ceaa9e712cfc73e SHA256 78543013d0dfff73772ec2c57c03a2846e7aeab44c0fedac0d4496b1484ebd55
|
||||
DIST linecache-0.45.gem 28160 RMD160 85b7da25c47bbff260e0bc8e23e7bce9a114527e SHA1 a4cd16b349ee30ca1145c1855cba44460d6f9856 SHA256 21a6cb50b015602ffea02140b9f044c2c739bb283e4613cb789c620893f70e7e
|
||||
DIST linecache-0.46.gem 28160 RMD160 6d447c9e0fa90b5da9faf3ae2471d0eb52e52f1c SHA1 cfef1ba477f109c37d1fdb6e3fb91cec8a762cf7 SHA256 637869c483b7483ca661b92b96216deb0723d7f2d6160aa818934c1282c08325
|
||||
|
@ -1,31 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/linecache/linecache-0.43-r2.ebuild,v 1.4 2011/07/31 16:50:10 armin76 Exp $
|
||||
|
||||
EAPI=2
|
||||
USE_RUBY="ruby18 ree18"
|
||||
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="AUTHORS ChangeLog NEWS README"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Caches files as might be used in a debugger or a tool that works with sets of Ruby source files."
|
||||
HOMEPAGE="http://rubyforge.org/projects/rocky-hacks/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "dev-ruby/rake
|
||||
test? ( virtual/ruby-test-unit )"
|
||||
|
||||
each_ruby_compile() {
|
||||
${RUBY} -S rake lib || die "build failed"
|
||||
}
|
||||
|
||||
each_ruby_install() {
|
||||
each_fakegem_install
|
||||
ruby_fakegem_newins ext/trace_nums.so lib/trace_nums.so
|
||||
}
|
@ -1,32 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/linecache/linecache-0.45.ebuild,v 1.4 2011/08/25 15:37:20 jer Exp $
|
||||
|
||||
EAPI=2
|
||||
USE_RUBY="ruby18 ree18"
|
||||
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="AUTHORS ChangeLog NEWS README"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Caches files as might be used in a debugger or a tool that works with sets of Ruby source files."
|
||||
HOMEPAGE="http://rubyforge.org/projects/rocky-hacks/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~hppa ~ia64 ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend "dev-ruby/require_relative"
|
||||
ruby_add_bdepend "dev-ruby/rake
|
||||
test? ( virtual/ruby-test-unit )"
|
||||
|
||||
each_ruby_compile() {
|
||||
${RUBY} -S rake lib || die "build failed"
|
||||
}
|
||||
|
||||
each_ruby_install() {
|
||||
each_fakegem_install
|
||||
ruby_fakegem_newins ext/trace_nums.so lib/trace_nums.so
|
||||
}
|
@ -1,72 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/pg/pg-0.12.0-r1.ebuild,v 1.3 2011/12/31 20:46:49 grobian Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby18 ree18 ruby19"
|
||||
|
||||
RUBY_FAKEGEM_TEST_TASK=""
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC="redocs"
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="ChangeLog Contributors.rdoc README.rdoc History.rdoc"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Ruby extension library providing an API to PostgreSQL"
|
||||
HOMEPAGE="http://bitbucket.org/ged/ruby-pg/"
|
||||
|
||||
LICENSE="|| ( GPL-2 Ruby )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="${RDEPEND}
|
||||
dev-db/postgresql-base"
|
||||
DEPEND="${DEPEND}
|
||||
dev-db/postgresql-base
|
||||
test? ( dev-db/postgresql-server )"
|
||||
|
||||
ruby_add_bdepend "
|
||||
doc? (
|
||||
dev-ruby/hoe
|
||||
|| ( >=dev-ruby/yard-0.6.1 dev-ruby/rdoc ) )
|
||||
test? ( dev-ruby/rspec:2 )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# this is required to make rake-compiler a build-time only
|
||||
# dependency rather than a runtime one. Without this, bundler will
|
||||
# fail to load pg if rake-compiler is not installed as well (which
|
||||
# is silly). This also allows us not to depend on it at all, since
|
||||
# we build the extension on our own.
|
||||
sed -i -e 's|:runtime|:development|' ../metadata || die
|
||||
|
||||
# hack the Rakefile to make it sure that it doesn't load
|
||||
# rake-compiler (so that we don't have to depend on it and it
|
||||
# actually works when building with USE=doc).
|
||||
sed -i \
|
||||
-e '/Rakefile.cross/s:^:#:' \
|
||||
-e '/ExtensionTask/,/^end$/ s:^:#:' \
|
||||
Rakefile || die
|
||||
}
|
||||
|
||||
each_ruby_configure() {
|
||||
${RUBY} -C ext extconf.rb || die "extconf.rb failed"
|
||||
}
|
||||
|
||||
each_ruby_compile() {
|
||||
emake -C ext CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}"
|
||||
cp ext/*.so lib || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
if [[ "${EUID}" -ne "0" ]]; then
|
||||
# Make the rspec call explicit, this way we don't have to depend
|
||||
# on rake-compiler (nor rubygems) _and_ we don't have to rebuild
|
||||
# the whole extension from scratch.
|
||||
${RUBY} -Ilib -S rspec -fs spec/*_spec.rb || die "spec failed"
|
||||
else
|
||||
ewarn "The userpriv feature must be enabled to run tests."
|
||||
eerror "Testsuite will not be run."
|
||||
fi
|
||||
}
|
@ -1,63 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/pg/pg-0.9.0-r1.ebuild,v 1.19 2011/10/20 17:56:54 graaff Exp $
|
||||
|
||||
EAPI=2
|
||||
USE_RUBY="ruby18 ree18"
|
||||
|
||||
RUBY_FAKEGEM_TEST_TASK=""
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC="rdoc"
|
||||
RUBY_FAKEGEM_DOCDIR="docs/api"
|
||||
RUBY_FAKEGEM_EXTRADOC="ChangeLog Contributors README"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Ruby extension library providing an API to PostgreSQL"
|
||||
HOMEPAGE="http://bitbucket.org/ged/ruby-pg/"
|
||||
|
||||
LICENSE="|| ( GPL-2 Ruby )"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~hppa ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="${RDEPEND}
|
||||
dev-db/postgresql-base"
|
||||
DEPEND="${DEPEND}
|
||||
dev-db/postgresql-base
|
||||
test? ( =dev-db/postgresql-server-8* )"
|
||||
|
||||
# For the rakefile (and thus doc generation and testing) to work as
|
||||
# intended, you need both rake-compiler _and_ the real RubyGems
|
||||
# package; what is shipped with Ruby 1.9 is not good enough as it
|
||||
# lacks the packaging tasks for Rake.
|
||||
ruby_add_bdepend "
|
||||
doc? (
|
||||
>=dev-ruby/rdoc-2.4.3
|
||||
dev-ruby/rake-compiler )
|
||||
test? ( dev-ruby/rspec:0 )"
|
||||
|
||||
each_ruby_configure() {
|
||||
pushd ext
|
||||
${RUBY} extconf.rb || die "extconf.rb failed"
|
||||
popd
|
||||
}
|
||||
|
||||
each_ruby_compile() {
|
||||
pushd ext
|
||||
emake CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}" || die "emake failed"
|
||||
popd
|
||||
cp ext/*.so lib || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
if [[ "${EUID}" -ne "0" ]]; then
|
||||
# Make the rspec call explicit, this way we don't have to depend
|
||||
# on rake-compiler (nor rubygems) _and_ we don't have to rebuild
|
||||
# the whole extension from scratch.
|
||||
${RUBY} -Ilib -S spec -Du -fs spec/*_spec.rb || die "spec failed"
|
||||
else
|
||||
ewarn "The userpriv feature must be enabled to run tests."
|
||||
eerror "Testsuite will not be run."
|
||||
fi
|
||||
}
|
@ -0,0 +1,88 @@
|
||||
commit 2d606b3ca1378edf1c42ad58877c9bdaabf79480
|
||||
Author: Eric Hodel <drbrain@segment7.net>
|
||||
Date: Sun Mar 11 18:00:21 2012 -0700
|
||||
|
||||
Fix hash-order-dependent tests
|
||||
|
||||
diff --git a/lib/rdoc/ri/driver.rb b/lib/rdoc/ri/driver.rb
|
||||
index a3ca813..149a808 100644
|
||||
--- a/lib/rdoc/ri/driver.rb
|
||||
+++ b/lib/rdoc/ri/driver.rb
|
||||
@@ -723,7 +723,7 @@ Options may also be set in the 'RI' environment variable.
|
||||
page do |io|
|
||||
io.puts "#{name} not found, maybe you meant:"
|
||||
io.puts
|
||||
- io.puts matches.join("\n")
|
||||
+ io.puts matches.sort.join("\n")
|
||||
end
|
||||
|
||||
false
|
||||
diff --git a/test/test_rdoc_context.rb b/test/test_rdoc_context.rb
|
||||
index 192a287..52f579c 100644
|
||||
--- a/test/test_rdoc_context.rb
|
||||
+++ b/test/test_rdoc_context.rb
|
||||
@@ -340,7 +340,7 @@ class TestRDocContext < XrefTestCase
|
||||
|
||||
def test_classes
|
||||
assert_equal %w[C2::C3], @c2.classes.map { |k| k.full_name }
|
||||
- assert_equal %w[C3::H1 C3::H2], @c3.classes.map { |k| k.full_name }
|
||||
+ assert_equal %w[C3::H1 C3::H2], @c3.classes.map { |k| k.full_name }.sort
|
||||
end
|
||||
|
||||
def test_current_section
|
||||
diff --git a/test/test_rdoc_parser_ruby.rb b/test/test_rdoc_parser_ruby.rb
|
||||
index 1ff6f4d..18964f9 100644
|
||||
--- a/test/test_rdoc_parser_ruby.rb
|
||||
+++ b/test/test_rdoc_parser_ruby.rb
|
||||
@@ -701,7 +701,7 @@ end
|
||||
|
||||
@parser.parse_class @top_level, false, @parser.get_tk, @comment
|
||||
|
||||
- assert_equal %w[A B], RDoc::TopLevel.classes.map { |c| c.full_name }
|
||||
+ assert_equal %w[A B], RDoc::TopLevel.classes.map { |c| c.full_name }.sort
|
||||
end
|
||||
|
||||
def test_parse_class_single
|
||||
@@ -720,10 +720,12 @@ end
|
||||
|
||||
@parser.parse_class @top_level, false, @parser.get_tk, @comment
|
||||
|
||||
- assert_equal %w[A], RDoc::TopLevel.classes.map { |c| c.full_name }
|
||||
- assert_equal %w[A::B A::d], RDoc::TopLevel.modules.map { |c| c.full_name }
|
||||
+ assert_equal %w[A], RDoc::TopLevel.classes.map { |c| c.full_name }
|
||||
|
||||
- b = RDoc::TopLevel.modules.first
|
||||
+ modules = RDoc::TopLevel.modules.sort_by { |c| c.full_name }
|
||||
+ assert_equal %w[A::B A::d], modules.map { |c| c.full_name }
|
||||
+
|
||||
+ b = modules.first
|
||||
assert_equal 10, b.offset
|
||||
assert_equal 2, b.line
|
||||
|
||||
@@ -1851,10 +1853,10 @@ end
|
||||
|
||||
@parser.parse_statements @top_level
|
||||
|
||||
- date, date_time = @top_level.classes
|
||||
+ date, date_time = @top_level.classes.sort_by { |c| c.full_name }
|
||||
|
||||
date_now = date.method_list.first
|
||||
- date_time_now = date_time.method_list.first
|
||||
+ date_time_now = date_time.method_list.sort_by { |m| m.full_name }.first
|
||||
|
||||
assert_equal :private, date_now.visibility
|
||||
assert_equal :public, date_time_now.visibility
|
||||
@@ -1876,10 +1878,11 @@ end
|
||||
|
||||
@parser.parse_statements @top_level
|
||||
|
||||
- date, date_time = @top_level.classes
|
||||
+ # TODO sort classes by default
|
||||
+ date, date_time = @top_level.classes.sort_by { |c| c.full_name }
|
||||
|
||||
date_now = date.method_list.first
|
||||
- date_time_now = date_time.method_list.first
|
||||
+ date_time_now = date_time.method_list.sort_by { |m| m.full_name }.first
|
||||
|
||||
assert_equal :public, date_now.visibility, date_now.full_name
|
||||
assert_equal :private, date_time_now.visibility, date_time_now.full_name
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue