parent
77a87e3571
commit
9f4389a0f9
@ -0,0 +1,38 @@
|
||||
From 1ede664b18bd8a88359a3cebb291ad49833ee033 Mon Sep 17 00:00:00 2001
|
||||
From: Alexandre Rostovtsev <tetromino@gentoo.org>
|
||||
Date: Tue, 7 Aug 2012 01:29:01 -0400
|
||||
Subject: [PATCH] Do not check for libGL symbols when checking libOSMesa
|
||||
|
||||
If mesa had been built with shared glapi, glAccum is not available in
|
||||
libOSMesa without explicitly linking to libGL. In addition, in
|
||||
mesa-8.0.x and earlier, libOSMesa needs to be explicitly linked to
|
||||
libglapi if mesa was built with shared glapi, see
|
||||
https://bugs.gentoo.org/show_bug.cgi?id=399813
|
||||
And in mesa-8.1.x, libOSMesa in addition needs libdl, libpthread, and
|
||||
libstdc++, see https://bugs.gentoo.org/show_bug.cgi?id=431832
|
||||
---
|
||||
configure.ac | 8 +++++++-
|
||||
1 file changed, 7 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index cc32c24..275b792 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -1128,7 +1128,13 @@ This probably prevents linking to OpenGL. Try deleting the file and restarting c
|
||||
|
||||
if test "x$with_osmesa" != "xno"
|
||||
then
|
||||
- WINE_CHECK_SONAME(OSMesa,glAccum,,,[$X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS])
|
||||
+ WINE_CHECK_SONAME(OSMesa,OSMesaCreateContext,,,[$X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS])
|
||||
+ if test "x$ac_cv_lib_soname_OSMesa" = "x"; then
|
||||
+ osmesa_save_CC=$CC
|
||||
+ CC=$CXX
|
||||
+ WINE_CHECK_SONAME(OSMesa,OSMesaCreateContext,,,[-lglapi -lpthread -ldl $X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS])
|
||||
+ CC=$osmesa_save_CC
|
||||
+ fi
|
||||
WINE_NOTICE_WITH(osmesa,[test "x$ac_cv_lib_soname_OSMesa" = "x"],
|
||||
[libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.])
|
||||
fi
|
||||
--
|
||||
1.8.0
|
||||
|
@ -0,0 +1,257 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.5.17.ebuild,v 1.1 2012/11/09 23:24:07 tetromino Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit autotools eutils flag-o-matic multilib pax-utils
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="git://source.winehq.org/git/wine.git"
|
||||
inherit git-2
|
||||
SRC_URI=""
|
||||
#KEYWORDS=""
|
||||
else
|
||||
MY_P="${PN}-${PV/_/-}"
|
||||
SRC_URI="mirror://sourceforge/${PN}/Source/${MY_P}.tar.bz2"
|
||||
KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
fi
|
||||
|
||||
GV="1.8"
|
||||
MV="0.0.8"
|
||||
PULSE_PATCHES="winepulse-patches-1.5.17"
|
||||
DESCRIPTION="Free implementation of Windows(tm) on Unix"
|
||||
HOMEPAGE="http://www.winehq.org/"
|
||||
SRC_URI="${SRC_URI}
|
||||
gecko? (
|
||||
mirror://sourceforge/${PN}/Wine%20Gecko/${GV}/wine_gecko-${GV}-x86.msi
|
||||
win64? ( mirror://sourceforge/${PN}/Wine%20Gecko/${GV}/wine_gecko-${GV}-x86_64.msi )
|
||||
)
|
||||
mono? ( mirror://sourceforge/${PN}/Wine%20Mono/${MV}/wine-mono-${MV}.msi )
|
||||
http://dev.gentoo.org/~tetromino/distfiles/${PN}/${PULSE_PATCHES}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
IUSE="alsa capi cups custom-cflags elibc_glibc fontconfig +gecko gnutls gphoto2 gsm gstreamer hardened jpeg lcms ldap +mono mp3 ncurses nls odbc openal opencl +opengl osmesa +oss +perl png pulseaudio samba scanner selinux ssl test +threads +truetype udisks v4l +win32 +win64 +X xcomposite xinerama xml"
|
||||
REQUIRED_USE="elibc_glibc? ( threads )
|
||||
mono? ( || ( win32 !win64 ) )
|
||||
osmesa? ( opengl )" #286560
|
||||
RESTRICT="test" #72375
|
||||
|
||||
MLIB_DEPS="amd64? (
|
||||
truetype? ( >=app-emulation/emul-linux-x86-xlibs-2.1 )
|
||||
X? (
|
||||
>=app-emulation/emul-linux-x86-xlibs-2.1
|
||||
>=app-emulation/emul-linux-x86-soundlibs-2.1[pulseaudio(+)?]
|
||||
)
|
||||
mp3? ( app-emulation/emul-linux-x86-soundlibs )
|
||||
odbc? ( app-emulation/emul-linux-x86-db )
|
||||
openal? ( app-emulation/emul-linux-x86-sdl )
|
||||
opengl? ( app-emulation/emul-linux-x86-opengl )
|
||||
osmesa? ( >=app-emulation/emul-linux-x86-opengl-20121028 )
|
||||
scanner? ( app-emulation/emul-linux-x86-medialibs )
|
||||
v4l? ( app-emulation/emul-linux-x86-medialibs )
|
||||
app-emulation/emul-linux-x86-baselibs
|
||||
>=sys-kernel/linux-headers-2.6
|
||||
)"
|
||||
RDEPEND="truetype? ( >=media-libs/freetype-2.0.0 media-fonts/corefonts )
|
||||
perl? ( dev-lang/perl dev-perl/XML-Simple )
|
||||
capi? ( net-dialup/capi4k-utils )
|
||||
ncurses? ( >=sys-libs/ncurses-5.2 )
|
||||
fontconfig? ( media-libs/fontconfig )
|
||||
gphoto2? ( media-libs/libgphoto2 )
|
||||
openal? ( media-libs/openal )
|
||||
udisks? (
|
||||
sys-apps/dbus
|
||||
sys-fs/udisks:2
|
||||
)
|
||||
gnutls? ( net-libs/gnutls )
|
||||
gstreamer? ( media-libs/gstreamer:0.10 media-libs/gst-plugins-base:0.10 )
|
||||
X? (
|
||||
x11-libs/libXcursor
|
||||
x11-libs/libXext
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXi
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXxf86vm
|
||||
)
|
||||
xinerama? ( x11-libs/libXinerama )
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
cups? ( net-print/cups )
|
||||
opencl? ( virtual/opencl )
|
||||
opengl? (
|
||||
virtual/glu
|
||||
virtual/opengl
|
||||
)
|
||||
gsm? ( media-sound/gsm )
|
||||
jpeg? ( virtual/jpeg )
|
||||
ldap? ( net-nds/openldap )
|
||||
lcms? ( =media-libs/lcms-1* )
|
||||
mp3? ( >=media-sound/mpg123-1.5.0 )
|
||||
nls? ( sys-devel/gettext )
|
||||
odbc? ( dev-db/unixODBC )
|
||||
osmesa? ( media-libs/mesa[osmesa] )
|
||||
pulseaudio? (
|
||||
media-sound/pulseaudio
|
||||
sys-auth/rtkit
|
||||
)
|
||||
samba? ( >=net-fs/samba-3.0.25 )
|
||||
selinux? ( sec-policy/selinux-wine )
|
||||
xml? ( dev-libs/libxml2 dev-libs/libxslt )
|
||||
scanner? ( media-gfx/sane-backends )
|
||||
ssl? ( dev-libs/openssl )
|
||||
png? ( media-libs/libpng )
|
||||
v4l? ( media-libs/libv4l )
|
||||
!win64? ( ${MLIB_DEPS} )
|
||||
win32? ( ${MLIB_DEPS} )
|
||||
xcomposite? ( x11-libs/libXcomposite )"
|
||||
DEPEND="${RDEPEND}
|
||||
X? (
|
||||
x11-proto/inputproto
|
||||
x11-proto/xextproto
|
||||
x11-proto/xf86vidmodeproto
|
||||
)
|
||||
xinerama? ( x11-proto/xineramaproto )
|
||||
!hardened? ( sys-devel/prelink )
|
||||
virtual/pkgconfig
|
||||
virtual/yacc
|
||||
sys-devel/flex"
|
||||
|
||||
src_unpack() {
|
||||
if use win64 ; then
|
||||
[[ $(( $(gcc-major-version) * 100 + $(gcc-minor-version) )) -lt 404 ]] \
|
||||
&& die "you need gcc-4.4+ to build 64bit wine"
|
||||
fi
|
||||
|
||||
if use win32 && use opencl; then
|
||||
[[ x$(eselect opencl show) = "xintel" ]] &&
|
||||
die "Cannot build wine[opencl,win32]: intel-ocl-sdk is 64-bit only" # 403947
|
||||
fi
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
git-2_src_unpack
|
||||
else
|
||||
unpack ${MY_P}.tar.bz2
|
||||
fi
|
||||
|
||||
unpack "${PULSE_PATCHES}.tar.bz2"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
local md5="$(md5sum server/protocol.def)"
|
||||
epatch "${FILESDIR}"/${PN}-1.1.15-winegcc.patch #260726
|
||||
epatch "${FILESDIR}"/${PN}-1.4_rc2-multilib-portage.patch #395615
|
||||
epatch "${FILESDIR}"/${PN}-1.5.17-osmesa-check.patch #429386
|
||||
epatch "../${PULSE_PATCHES}"/*.patch #421365
|
||||
epatch_user #282735
|
||||
if [[ "$(md5sum server/protocol.def)" != "${md5}" ]]; then
|
||||
einfo "server/protocol.def was patched; running tools/make_requests"
|
||||
tools/make_requests || die #432348
|
||||
fi
|
||||
eautoreconf
|
||||
sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die
|
||||
sed -i '/^MimeType/d' tools/wine.desktop || die #117785
|
||||
}
|
||||
|
||||
do_configure() {
|
||||
local builddir="${WORKDIR}/wine$1"
|
||||
mkdir -p "${builddir}"
|
||||
pushd "${builddir}" >/dev/null
|
||||
|
||||
ECONF_SOURCE=${S} \
|
||||
econf \
|
||||
--sysconfdir=/etc/wine \
|
||||
$(use_with alsa) \
|
||||
$(use_with capi) \
|
||||
$(use_with lcms cms) \
|
||||
$(use_with cups) \
|
||||
$(use_with ncurses curses) \
|
||||
$(use_with udisks dbus) \
|
||||
$(use_with fontconfig) \
|
||||
$(use_with gnutls) \
|
||||
$(use_with gphoto2 gphoto) \
|
||||
$(use_with gsm) \
|
||||
$(use_with gstreamer) \
|
||||
--without-hal \
|
||||
$(use_with jpeg) \
|
||||
$(use_with ldap) \
|
||||
$(use_with mp3 mpg123) \
|
||||
$(use_with nls gettext) \
|
||||
$(use_with openal) \
|
||||
$(use_with opencl) \
|
||||
$(use_with opengl) \
|
||||
$(use_with ssl openssl) \
|
||||
$(use_with osmesa) \
|
||||
$(use_with oss) \
|
||||
$(use_with png) \
|
||||
$(use_with threads pthread) \
|
||||
$(use_with pulseaudio pulse) \
|
||||
$(use_with scanner sane) \
|
||||
$(use_enable test tests) \
|
||||
$(use_with truetype freetype) \
|
||||
$(use_with v4l) \
|
||||
$(use_with X x) \
|
||||
$(use_with xcomposite) \
|
||||
$(use_with xinerama) \
|
||||
$(use_with xml) \
|
||||
$(use_with xml xslt) \
|
||||
$2
|
||||
|
||||
emake -j1 depend
|
||||
|
||||
popd >/dev/null
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
export LDCONFIG=/bin/true
|
||||
use custom-cflags || strip-flags
|
||||
|
||||
if use win64 ; then
|
||||
do_configure 64 --enable-win64
|
||||
use win32 && ABI=x86 do_configure 32 --with-wine64=../wine64
|
||||
else
|
||||
ABI=x86 do_configure 32 --disable-win64
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local b
|
||||
for b in 64 32 ; do
|
||||
local builddir="${WORKDIR}/wine${b}"
|
||||
[[ -d ${builddir} ]] || continue
|
||||
emake -C "${builddir}" all
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local b
|
||||
for b in 64 32 ; do
|
||||
local builddir="${WORKDIR}/wine${b}"
|
||||
[[ -d ${builddir} ]] || continue
|
||||
emake -C "${builddir}" install DESTDIR="${D}"
|
||||
done
|
||||
dodoc ANNOUNCE AUTHORS README
|
||||
if use gecko ; then
|
||||
insinto /usr/share/wine/gecko
|
||||
doins "${DISTDIR}"/wine_gecko-${GV}-x86.msi
|
||||
use win64 && doins "${DISTDIR}"/wine_gecko-${GV}-x86_64.msi
|
||||
fi
|
||||
if use mono ; then
|
||||
insinto /usr/share/wine/mono
|
||||
doins "${DISTDIR}"/wine-mono-${MV}.msi
|
||||
fi
|
||||
if ! use perl ; then
|
||||
rm "${D}"usr/bin/{wine{dump,maker},function_grep.pl} "${D}"usr/share/man/man1/wine{dump,maker}.1 || die
|
||||
fi
|
||||
|
||||
if use win32 || ! use win64; then
|
||||
pax-mark psmr "${D}"usr/bin/wine{,-preloader} #255055
|
||||
fi
|
||||
use win64 && pax-mark psmr "${D}"usr/bin/wine64{,-preloader}
|
||||
|
||||
if use win64 && ! use win32; then
|
||||
dosym /usr/bin/wine{64,} # 404331
|
||||
dosym /usr/bin/wine{64,}-preloader
|
||||
fi
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
DIST winetricks-913 613886 SHA256 b7b9a53ca507cec75efbd263c5dad1aaa80f8751469a62d9e68ed44e58050d3c SHA512 a97cd8e79b1491170336964e73aed079d2a8f6ea7238eace1ca270c0dd531727f1f887fe1207f68f753d30b0a9ae727f26f918d327f851f0fa221e545cb952e8 WHIRLPOOL cd5c47f11040da2ee7d1e255a6162b60c45fef6fc4dd42ba434f3833a1b3f5e29158635f19e664e3c71925cfdcbd38ff818826ff5f74a1e17d7aed2579ebceba
|
||||
DIST winetricks-913.1 3469 SHA256 f522f4c991194cbed1044182ca6fbbb7645cd4b98d9557ab7d073ace1af4738d SHA512 2c832a9cc4286f641aeed7a5a47131773b48dd0cf123798f753ffb24799dabca29986b2b740698fbe9efb8034ac874a18147c6bd645bea8e69fdb42f1437fdf2 WHIRLPOOL 0ccb982022189b4d2e134756cadbca3628c33e57be6879b07e84f99182ed5a201379413a32af5d689744b4d7527f6abf56aae7113f34401c4cbe62b902462424
|
||||
DIST winetricks-916 614298 SHA256 fcd988a4f097bf604e6a17b0e1a8fc8969daeef0deede23135229fcfdfedc2c2 SHA512 53644e69363921fef70cef7351e73ddbb84f86ccafccb450a247dd5b03fd4edcbc4130deb3749548af5db650568e17eb1189ee3f3e9449b4f0d98b06e2ab2bcb WHIRLPOOL 5c5749ec9cd037780679894fd93b1ea5192bd8589e44ad7853d3e7237ca9b425473ceb60f4ebb72bcb8aa3d70a5c5d54ebc120ee4bc7dbd697df4a5ba1c4391b
|
||||
DIST winetricks-916.1 3469 SHA256 f522f4c991194cbed1044182ca6fbbb7645cd4b98d9557ab7d073ace1af4738d SHA512 2c832a9cc4286f641aeed7a5a47131773b48dd0cf123798f753ffb24799dabca29986b2b740698fbe9efb8034ac874a18147c6bd645bea8e69fdb42f1437fdf2 WHIRLPOOL 0ccb982022189b4d2e134756cadbca3628c33e57be6879b07e84f99182ed5a201379413a32af5d689744b4d7527f6abf56aae7113f34401c4cbe62b902462424
|
||||
DIST winetricks-920 614953 SHA256 472b7e57d114892cf9afb5564be8aa9e5204cd2f471ffcd70bb98ac9dd3f9f84 SHA512 8b1aa7ece0a7646afc959893d493f18d527b80ceb9f9d6d8c599160909304858d5485aa885f9719863c8c18767a147318fc0ab256c896db7f0b2711a90880b4f WHIRLPOOL 198c00bedbad001a5e9a65ada02c46ee0fb49da56059d578e6b8a57ba4cd92c9655d2a4624317719f4875cfb7ca428fffb59635e413d6d88f37431ee1f9b365e
|
||||
DIST winetricks-920.1 3469 SHA256 f522f4c991194cbed1044182ca6fbbb7645cd4b98d9557ab7d073ace1af4738d SHA512 2c832a9cc4286f641aeed7a5a47131773b48dd0cf123798f753ffb24799dabca29986b2b740698fbe9efb8034ac874a18147c6bd645bea8e69fdb42f1437fdf2 WHIRLPOOL 0ccb982022189b4d2e134756cadbca3628c33e57be6879b07e84f99182ed5a201379413a32af5d689744b4d7527f6abf56aae7113f34401c4cbe62b902462424
|
||||
DIST winetricks-gentoo-2012.10.19.tar.bz2 6421 SHA256 e9c61f6e2c2ecc6238f2ce415d219d4bc2cae486115fd8b99814b9c3422ad061 SHA512 40771160d2fb6be78e48c3e6f326bc61c96e462c5f646c2a2e00902a2059ce850738d0d447e65d2aeaa198ddec0069c06f39974b8a2b1959c14741cbd3dbc018 WHIRLPOOL 19052e69b56ef9f64962c47262942eff7f33a09ad761f9020760e1449edbec1c767a36cdec049afd7d7d07a329531dcc16770c79d71c51c91e5173d66cea0852
|
||||
|
@ -0,0 +1,92 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libxsd-frontend/libxsd-frontend-1.18.0-r1.ebuild,v 1.1 2012/11/09 05:22:01 flameeyes Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils toolchain-funcs versionator
|
||||
|
||||
DESCRIPTION="A compiler frontend for the W3C XML Schema definition language."
|
||||
HOMEPAGE="http://www.codesynthesis.com/projects/libxsd-frontend/"
|
||||
SRC_URI="http://www.codesynthesis.com/download/${PN}/$(get_version_component_range 1-2)/${P}.tar.bz2"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-libs/xerces-c-3
|
||||
>=dev-libs/boost-1.52.0-r1[threads]
|
||||
>=dev-cpp/libcult-1.4.6-r1
|
||||
>=dev-cpp/libfrontend-elements-1.1.4"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/build:0.3"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/1.17.0-boost-filesystem-v2-deprecation.patch"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
mkdir -p \
|
||||
build/{ld,cxx/gnu} \
|
||||
build/import/lib{boost,cult,frontend-elements,xerces-c}
|
||||
|
||||
cat >> build/cxx/configuration-dynamic.make <<- EOF
|
||||
cxx_id := gnu
|
||||
cxx_optimize := n
|
||||
cxx_debug := n
|
||||
cxx_rpath := n
|
||||
cxx_pp_extra_options :=
|
||||
cxx_extra_options := ${CXXFLAGS}
|
||||
cxx_ld_extra_options := ${LDFLAGS}
|
||||
cxx_extra_libs :=
|
||||
cxx_extra_lib_paths :=
|
||||
EOF
|
||||
|
||||
cat >> build/cxx/gnu/configuration-dynamic.make <<- EOF
|
||||
cxx_gnu := $(tc-getCXX)
|
||||
cxx_gnu_libraries :=
|
||||
cxx_gnu_optimization_options :=
|
||||
EOF
|
||||
|
||||
cat >> build/import/libboost/configuration-dynamic.make <<- EOF
|
||||
libboost_installed := y
|
||||
EOF
|
||||
cat >> build/import/libcult/configuration-dynamic.make <<- EOF
|
||||
libcult_installed := y
|
||||
EOF
|
||||
|
||||
cat >> build/ld/configuration-lib-dynamic.make <<- EOF
|
||||
ld_lib_type := shared
|
||||
EOF
|
||||
|
||||
cat >> build/import/libfrontend-elements/configuration-dynamic.make <<- EOF
|
||||
libfrontend_elements_installed := y
|
||||
EOF
|
||||
|
||||
cat >> build/import/libxerces-c/configuration-dynamic.make <<- EOF
|
||||
libxerces_c_installed := y
|
||||
EOF
|
||||
|
||||
MAKEOPTS+=" verbose=1"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dolib.so xsd-frontend/libxsd-frontend.so
|
||||
|
||||
find xsd-frontend -iname "*.cxx" \
|
||||
-o -iname "makefile" \
|
||||
-o -iname "*.o" -o -iname "*.d" \
|
||||
-o -iname "*.m4" -o -iname "*.l" \
|
||||
-o -iname "*.cpp-options" -o -iname "*.so" | xargs rm -f
|
||||
rm -rf xsd-frontend/arch
|
||||
|
||||
insinto /usr/include
|
||||
doins -r xsd-frontend
|
||||
|
||||
dodoc NEWS README
|
||||
}
|
||||
|
||||
src_test() {
|
||||
export LD_LIBRARY_PATH="${S}/xsd-frontend:${LD_LIBRARY_PATH}"
|
||||
default
|
||||
}
|
@ -0,0 +1,142 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-cpp/xsd/xsd-3.3.0-r1.ebuild,v 1.1 2012/11/09 17:24:26 flameeyes Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit toolchain-funcs eutils versionator
|
||||
|
||||
DESCRIPTION="An open-source, cross-platform W3C XML Schema to C++ data binding compiler."
|
||||
HOMEPAGE="http://www.codesynthesis.com/products/xsd/"
|
||||
SRC_URI="http://www.codesynthesis.com/download/${PN}/$(get_version_component_range 1-2)/${P}.tar.bz2"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE="ace doc examples zlib"
|
||||
|
||||
RDEPEND=">=dev-libs/xerces-c-3
|
||||
>=dev-libs/boost-1.52.0-r1[threads]
|
||||
>=dev-cpp/libcult-1.4.6-r1
|
||||
>=dev-cpp/libxsd-frontend-1.18.0-r1
|
||||
>=dev-cpp/libbackend-elements-1.7.2
|
||||
ace? ( dev-libs/ace )
|
||||
zlib? ( sys-libs/zlib )"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/build
|
||||
doc? ( app-doc/doxygen )"
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}/${PV}-disable_examples_and_tests.patch" \
|
||||
"${FILESDIR}/${PV}-xsdcxx-rename.patch" \
|
||||
"${FILESDIR}/${PV}-fix_include.patch" \
|
||||
"${FILESDIR}/${PV}-fix_tests.patch" \
|
||||
"${FILESDIR}/${PV}-boost-filesystem-v2-deprecation.patch"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Maintainer notes:
|
||||
# * xqilla is not required, this is only whether or not to include the xpath
|
||||
# examples which require xqilla
|
||||
mkdir -p \
|
||||
build/cxx/gnu \
|
||||
build/import/lib{ace,boost,cult,backend-elements,xerces-c,xqilla,xsd-frontend,z}
|
||||
|
||||
cat >> build/configuration-dynamic.make <<- EOF
|
||||
xsd_with_zlib := $(usex zlib y n)
|
||||
xsd_with_ace := $(usex ace y n)
|
||||
xsd_with_xdr := y
|
||||
xsd_with_dbxml := n
|
||||
xsd_with_xqilla := y
|
||||
xsd_with_boost_date_time := y
|
||||
xsd_with_boost_serialization := y
|
||||
EOF
|
||||
|
||||
cat >> build/cxx/configuration-dynamic.make <<- EOF
|
||||
cxx_id := gnu
|
||||
cxx_optimize := n
|
||||
cxx_debug := n
|
||||
cxx_rpath := n
|
||||
cxx_pp_extra_options :=
|
||||
cxx_extra_options := ${CXXFLAGS}
|
||||
cxx_ld_extra_options := ${LDFLAGS}
|
||||
cxx_extra_libs :=
|
||||
cxx_extra_lib_paths :=
|
||||
EOF
|
||||
|
||||
cat >> build/cxx/gnu/configuration-dynamic.make <<- EOF
|
||||
cxx_gnu := $(tc-getCXX)
|
||||
cxx_gnu_libraries :=
|
||||
cxx_gnu_optimization_options :=
|
||||
EOF
|
||||
|
||||
cat >> build/import/libace/configuration-dynamic.make <<- EOF
|
||||
libace_installed := y
|
||||
EOF
|
||||
|
||||
cat >> build/import/libbackend-elements/configuration-dynamic.make <<- EOF
|
||||
libbackend_elements_installed := y
|
||||
EOF
|
||||
|
||||
cat >> build/import/libboost/configuration-dynamic.make <<- EOF
|
||||
libboost_installed := y
|
||||
libboost_system := n
|
||||
EOF
|
||||
|
||||
cat >> build/import/libcult/configuration-dynamic.make <<- EOF
|
||||
libcult_installed := y
|
||||
EOF
|
||||
|
||||
cat >> build/import/libxerces-c/configuration-dynamic.make <<- EOF
|
||||
libxerces_c_installed := y
|
||||
EOF
|
||||
|
||||
cat >> build/import/libxqilla/configuration-dynamic.make <<- EOF
|
||||
libxqilla_installed := y
|
||||
EOF
|
||||
|
||||
cat >> build/import/libxsd-frontend/configuration-dynamic.make <<- EOF
|
||||
libxsd_frontend_installed := y
|
||||
EOF
|
||||
|
||||
cat >> build/import/libz/configuration-dynamic.make <<- EOF
|
||||
libz_installed := y
|
||||
EOF
|
||||
|
||||
MAKEOPTS+=" verbose=1"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
if use doc ; then
|
||||
emake -C "${S}/documentation/cxx/tree/reference" || die "generating reference docs failed"
|
||||
fi
|
||||
if use test ; then
|
||||
XERCESC_NLS_HOME="${ROOT}usr/share/xerces-c/msg" emake -C "${S}/tests" || die "building tests failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install_prefix="${D}/usr" install || die "emake install failed"
|
||||
|
||||
# Renaming binary/manpage to avoid collision with mono-2.0's xsd/xsd2
|
||||
mv "${D}"/usr/bin/xsd{,cxx}
|
||||
mv "${D}"/usr/share/man/man1/xsd{,cxx}.1
|
||||
|
||||
rm -rf "${D}/usr/share/doc"
|
||||
|
||||
dohtml -r -A xhtml -A pdf documentation/*
|
||||
|
||||
dodoc NEWS README FLOSSE documentation/custom-literals.xsd
|
||||
newdoc libxsd/README README.libxsd
|
||||
newdoc libxsd/FLOSSE FLOSSE.libxsd
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r examples
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
XERCESC_NLS_HOME="${ROOT}usr/share/xerces-c/msg" emake -C "${S}/tests" test || die "tests failed"
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
DIST openocd-0.3.1.tar.gz 1584527 SHA256 d88be375e346c6b19f23ca82ae20497bdb1bf88a05eba3e6ed7d2cff8c1916b4 SHA512 a10f2d18b9364b44353517d2c1bb6e979d126c5590384cb1271688cabde93bfd863e49ed5a9e5bb415f44cf2b06f8e4132962960a34545fa6a8fde42f577dd9e WHIRLPOOL bc55a57f039180fce5e0d7068ac39ca7dd0a81c6429c2d7ec97deb9eeb20e21489f863ee0965128238c096b29bbe3a645229d08e348c11d40bf7dce767b25441
|
||||
DIST openocd-0.4.0.tar.gz 1705028 SHA256 fc4b8b55c25920c0024e6e621c4127e92acbe9f6bafaf72b90fd60a5536e9194 SHA512 7b13aa8764c5d57c42b00521fae1201450d3ad3bcad511d0afc311a98e6032bc776fe76f11a74650137e0d05f64a24d8c52dfc2a228fcefab67c83addf35aeb6 WHIRLPOOL f50d55cd8b588fc5f37da171ad9096b34f37782a5ac3450415dc9d1c23ca7eac96eea342b70425c6a519734f5fc6cc7b773935531acef70490f1de37699b6d11
|
||||
DIST openocd-0.5.0.tar.bz2 2228655 SHA256 0bc122f98a6cd68c4392f6265d480b0e875ff54203ec05a5a52d23900903a78d SHA512 8e2e168a35bf3f753683115fd5f4d4c79e54cd0fe5d072921475d43880619e5b4ab60f28d97a4a595d4b77938b9218e689013f66a925ee8007e6499f5b42448c WHIRLPOOL 84b6a4a9089542904865400ede82be00c4417519f0c9fc42cbb25ae671f621651e9b27f57c2a1e7f37102d53095bcb8e37601e8ed47ddf1ea82b76676b35e7aa
|
||||
DIST openocd-0.6.0-rc2.tar.bz2 3431505 SHA256 db9661962361bb20e2f6aed3f30e3eff93ed12f61c2351b942a70086b213758b SHA512 2e509e2204300a203473ad2d60f9487e6116ebd6dfcb026c2bf7190984aff7464150ab67c8a3b9a42abf37af128862e1d447ea831f605e807976a69ca826fcb7 WHIRLPOOL 52111aaac314ff44222a82eb82a07f1136a86125aa21c78623d22019f0931fdc73b0c26f6d7d31b05faf7a72fed9ecca04494a11183e6f600276ccb39a0af6c1
|
||||
DIST openocd-0.6.1.tar.bz2 3431071 SHA256 f4c4cc7445ad79cfba1bb24208e79c66edf9dc0c46b3c8fca391f4e41c942f2b SHA512 59f35750f761d3f2ce7a32ffdc5028d053fda2bd9424cc4497f528ec628ac1f022662d9f226dd2b04a8cd682a5cd056a09de14d50e1090426a816bb602f98250 WHIRLPOOL 81d43ce9866960edb7fdaefc5ec088852aaa79e86add67ea9682f26eb5f5d3e7c7523fde0729e15949af165470b44ded45b9d79662f651db56fd109db5074cad
|
||||
|
@ -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/dev-embedded/openocd/openocd-0.6.0_rc2.ebuild,v 1.1 2012/08/29 17:51:45 hwoarang Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-embedded/openocd/openocd-0.6.1.ebuild,v 1.1 2012/11/09 20:28:21 hwoarang Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
@ -1 +1,2 @@
|
||||
DIST u-boot-2011.12.tar.bz2 8610390 SHA256 41820d65eb848411f71b9222957b3532607be0a754da916067876194148b907c SHA512 eb6df1153f215cd6fde7bba89ab9305a9904a0c2e4a8abb48151d269111d92e28f3e22553918b668b92e3b0049448ee511c07ab6269fec0c65c49dbdb91bbcd7 WHIRLPOOL e82226ec1b7b7a1fbb6351de0b18d3d804ccc319351d8cfa7ec9dbdec4948dbf0204fc70df51841bc65f487d44ba9e54d9cf3277b3b66dda85cbf0fcfb2caeef
|
||||
DIST u-boot-2012.10.tar.bz2 9449657 SHA256 dddec75070b5faa5df463085e3e1d27c6d058ec3481c666917baa961956d4d17 SHA512 026d17ce767f27dd282c91a626e6ff41cd6bcad375186732c8933956974d7412076ae28ef59263ed880055d4e8dbb20c09144b24d678fa3b9955b500f1c7e402 WHIRLPOOL 5e6a78cf65e904a5b082800cea8a511369296226812039409defdebf1e825823bf224b6b51447c839fe20edb61f42cf1703dff98f97ce9b553171c7ac72f44bf
|
||||
|
@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-embedded/u-boot-tools/u-boot-tools-2012.10.ebuild,v 1.4 2012/11/10 07:13:49 vapier Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
MY_P="u-boot-${PV/_/-}"
|
||||
DESCRIPTION="utilities for working with Das U-Boot"
|
||||
HOMEPAGE="http://www.denx.de/wiki/U-Boot/WebHome"
|
||||
SRC_URI="ftp://ftp.denx.de/pub/u-boot/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE=""
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e "s:-g ::" tools/Makefile || die
|
||||
# This has been fixed upstream after 2012.10
|
||||
sed -i '/include.*config.h/d' tools/env/fw_env.[ch] || die
|
||||
# Make sure we find local u-boot headers first #429302
|
||||
ln -s ../include/image.h tools/ || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake \
|
||||
HOSTSTRIP=: \
|
||||
HOSTCC="$(tc-getCC)" \
|
||||
HOSTCFLAGS="${CFLAGS} ${CPPFLAGS}"' $(HOSTCPPFLAGS)' \
|
||||
HOSTLDFLAGS="${LDFLAGS}" \
|
||||
CONFIG_ENV_OVERWRITE=y \
|
||||
tools-all
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd tools
|
||||
dobin bmp_logo gen_eth_addr img2srec mkimage
|
||||
dobin easylogo/easylogo
|
||||
dobin env/fw_printenv
|
||||
dosym fw_printenv /usr/bin/fw_setenv
|
||||
insinto /etc
|
||||
doins env/fw_env.config
|
||||
}
|
@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/orc/orc-0.4.16-r1.ebuild,v 1.1 2012/11/09 17:38:42 tetromino Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit autotools flag-o-matic
|
||||
|
||||
DESCRIPTION="The Oil Runtime Compiler, a just-in-time compiler for array operations"
|
||||
HOMEPAGE="http://code.entropywave.com/projects/orc/"
|
||||
SRC_URI="http://code.entropywave.com/download/orc/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="static-libs examples"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/gtk-doc-am"
|
||||
|
||||
src_prepare() {
|
||||
if ! use examples; then
|
||||
sed -i -e '/SUBDIRS/s:examples::' Makefile.am || die
|
||||
AT_M4DIR="m4" eautoreconf
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# any optimisation on PPC/Darwin yields in a complaint from the assembler
|
||||
# Parameter error: r0 not allowed for parameter %lu (code as 0 not r0)
|
||||
# the same for Intel/Darwin, although the error message there is different
|
||||
# but along the same lines
|
||||
[[ ${CHOST} == *-darwin* ]] && filter-flags -O*
|
||||
econf \
|
||||
$(use_enable static-libs static)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
find "${ED}" -name '*.la' -delete
|
||||
}
|
@ -0,0 +1,99 @@
|
||||
--- a/js-1.8.5/js/src/configure.in 2011-03-31 15:08:36.000000000 -0400
|
||||
+++ b/js-1.8.5/js/src/configure.in 2012-11-02 15:32:38.000000000 -0400
|
||||
@@ -3550,7 +3550,7 @@
|
||||
_SAVE_CFLAGS="$CFLAGS"
|
||||
if test "$GNU_CC"; then
|
||||
# gcc needs -mfpu=neon to recognize NEON instructions
|
||||
- CFLAGS="$CFLAGS -mfpu=neon -mfloat-abi=softfp"
|
||||
+ CFLAGS="$CFLAGS -mfpu=neon"
|
||||
fi
|
||||
AC_TRY_COMPILE([],
|
||||
[asm("vadd.i8 d0, d0, d0");],
|
||||
@@ -4654,12 +4654,6 @@
|
||||
dnl ========================================================
|
||||
MOZ_ARG_HEADER(Individual module options)
|
||||
|
||||
-dnl Setup default CPU arch for arm target
|
||||
-case "$target_cpu" in
|
||||
- arm*)
|
||||
- MOZ_ARM_ARCH=armv7
|
||||
- ;;
|
||||
-esac
|
||||
dnl ========================================================
|
||||
dnl = Enable building the Thumb2 instruction set
|
||||
dnl ========================================================
|
||||
@@ -4668,66 +4662,32 @@
|
||||
MOZ_THUMB2=1,
|
||||
MOZ_THUMB2=)
|
||||
if test -n "$MOZ_THUMB2"; then
|
||||
- MOZ_ARM_ARCH=armv7
|
||||
+ AC_MSG_WARN([thumb2 enabled instead of autodetected -- hope you know what you are doing])
|
||||
+else
|
||||
+ AC_MSG_CHECKING([whether to build for thumb2])
|
||||
+ AC_TRY_COMPILE([],[return sizeof(__thumb2__);],
|
||||
+ [MOZ_THUMB2=1
|
||||
+ AC_MSG_RESULT([yes])],
|
||||
+ [MOZ_THUMB2=
|
||||
+ AC_MSG_RESULT([no])])
|
||||
fi
|
||||
|
||||
dnl ========================================================
|
||||
dnl = Enable building for ARM specific CPU features
|
||||
dnl ========================================================
|
||||
-MOZ_ARG_WITH_STRING(cpu-arch,
|
||||
-[ --with-cpu-arch=arch Use specific arm architecture CPU features, default armv7],
|
||||
- MOZ_ARM_ARCH=$withval)
|
||||
-
|
||||
if test -n "$MOZ_THUMB2"; then
|
||||
case "$target_cpu" in
|
||||
arm*)
|
||||
- if test "$MOZ_ARM_ARCH" != "armv7"; then
|
||||
- AC_MSG_ERROR([--enable-thumb2 is not compatible with cpu-arch=$MOZ_ARM_ARCH])
|
||||
- fi
|
||||
if test "$GNU_CC"; then
|
||||
AC_DEFINE(MOZ_THUMB2)
|
||||
- AC_DEFINE(MOZ_ARM_ARCH)
|
||||
- CFLAGS="$CFLAGS -march=armv7-a -mthumb -mfloat-abi=softfp $MOZ_ARM_VFP_FLAGS"
|
||||
- CXXFLAGS="$CXXFLAGS -march=armv7-a -mthumb -mfloat-abi=softfp $MOZ_ARM_VFP_FLAGS"
|
||||
- ASFLAGS="$ASFLAGS -march=armv7-a -mthumb -mfloat-abi=softfp $MOZ_ARM_VFP_FLAGS"
|
||||
else
|
||||
AC_MSG_ERROR([--enable-thumb2 is not supported for non-GNU toolchains])
|
||||
fi
|
||||
;;
|
||||
- *)
|
||||
- AC_MSG_ERROR([--enable-thumb2 is not supported for non-ARM CPU architectures])
|
||||
- ;;
|
||||
- esac
|
||||
-elif test "$MOZ_ARM_ARCH" = "armv7"; then
|
||||
- case "$target_cpu" in
|
||||
- arm*)
|
||||
- if test "$GNU_CC"; then
|
||||
- AC_DEFINE(MOZ_ARM_ARCH)
|
||||
- CFLAGS="$CFLAGS -march=armv7-a -marm -mfloat-abi=softfp $MOZ_ARM_VFP_FLAGS"
|
||||
- CXXFLAGS="$CXXFLAGS -march=armv7-a -marm -mfloat-abi=softfp $MOZ_ARM_VFP_FLAGS"
|
||||
- ASFLAGS="$ASFLAGS -march=armv7-a -marm -mfloat-abi=softfp $MOZ_ARM_VFP_FLAGS"
|
||||
- else
|
||||
- AC_MSG_ERROR([--with-cpu-arch=armv7 is not supported for non-GNU toolchains])
|
||||
- fi
|
||||
- ;;
|
||||
- *)
|
||||
- AC_MSG_ERROR([--with-cpu-arch=armv7 is not supported for non-ARM CPU architectures])
|
||||
- ;;
|
||||
- esac
|
||||
-else
|
||||
- case "$target_cpu" in
|
||||
- arm*)
|
||||
- if test "$GNU_CC"; then
|
||||
- CFLAGS="$CFLAGS -march=armv5te -mthumb-interwork -msoft-float"
|
||||
- CXXFLAGS="$CXXFLAGS -march=armv5te -mthumb-interwork -msoft-float"
|
||||
- ASFLAGS="$ASFLAGS -march=armv5te -mthumb-interwork -msoft-float"
|
||||
- fi
|
||||
- ;;
|
||||
esac
|
||||
fi
|
||||
|
||||
AC_SUBST(MOZ_THUMB2)
|
||||
-AC_SUBST(MOZ_ARM_ARCH)
|
||||
|
||||
dnl ========================================================
|
||||
dnl =
|
@ -0,0 +1 @@
|
||||
DIST eio-1.7.1.tar.bz2 335047 SHA256 ec4bdc64b61d031cf6eb8762ee9e39031215e79c0839cd08ff446624e0cdf44b SHA512 4ec0c0f7c675d34490e452cc67c4f08ca0d8dd63e060d6dfb60dab6ba6d662d5b3d7fa0fcffaadb4c4102cf7562fb4f96cbfd1cabfe7f0cddecc8b6645a834ed WHIRLPOOL a1cbcf70db5b701e188e50a84613fda70e2d746f5aeb58ab7709c55deda0926b8ddb69e420298c3d64c963f3f5cbe68bc93338fc337a0d65c92e25bf1c2d8f35
|
@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/eio/eio-1.7.1.ebuild,v 1.1 2012/11/09 16:44:48 tommy Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
inherit enlightenment
|
||||
|
||||
DESCRIPTION="Enlightenment's integration to IO"
|
||||
HOMEPAGE="http://trac.enlightenment.org/e/wiki/EIO"
|
||||
|
||||
SRC_URI="http://download.enlightenment.org/releases/${P}.tar.bz2"
|
||||
LICENSE="BSD"
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="examples static-libs"
|
||||
|
||||
RDEPEND=">=dev-libs/ecore-1.7.0"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_configure() {
|
||||
MY_ECONF="--enable-posix-threads
|
||||
$(use_enable doc)
|
||||
$(use_enable examples build-examples)
|
||||
$(use_enable examples install-examples)"
|
||||
enlightenment_src_configure
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>enlightenment</herd>
|
||||
</pkgmetadata>
|
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libcli/libcli-1.9.4-r1.ebuild,v 1.1 2012/11/10 09:08:45 pinkbyte Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils multilib toolchain-funcs
|
||||
|
||||
DESCRIPTION="Cisco-style (telnet) command-line interface library"
|
||||
|
||||
HOMEPAGE="http://sites.dparrish.com/libcli"
|
||||
SRC_URI="http://libcli.googlecode.com/files/${P}.tar.gz"
|
||||
LICENSE="LGPL-2.1"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~amd64-linux ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
src_prepare() {
|
||||
# Support /lib{32,64}
|
||||
sed -i 's:$(PREFIX)/lib:$(libdir):g' Makefile || die
|
||||
sed -i 's:PREFIX = /usr/local:&\nlibdir = $(PREFIX)/lib:' Makefile || die
|
||||
|
||||
# Make this respect LDFLAGS, bug #334913
|
||||
epatch "${FILESDIR}/${PN}-1.9.4-ldflags.patch"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake OPTIM="" DEBUG="" CC="$(tc-getCC)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${ED}" \
|
||||
PREFIX="/usr" \
|
||||
OPTIM="" \
|
||||
DEBUG="" \
|
||||
libdir="/usr/$(get_libdir)" \
|
||||
install
|
||||
|
||||
dobin clitest
|
||||
dodoc README
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST libgusb-0.1.3.tar.xz 256844 SHA256 4eebb56700d9366c513bfa8f9321a60388f61bade0236a90d66854caea97f0e6 SHA512 e7631725825ca7392ba46bff2ca07b965633ee3493d88445112233814d7d1200426ccd17f532c5588dc5d522612b85431f2b14f0a0bb0e5b9c8bcb9a172e18e1 WHIRLPOOL a8ad85a2e0ff5bbaa1b7d7bc0a5aa785c9b77f401638f9e5a1e07fe9e305cb0c489dc5f6e5cf9a804971dcfe7c5e1faf2ac550c04003994a24fba3bd846f70ec
|
||||
DIST libgusb-0.1.4.tar.xz 261112 SHA256 64294a649e54df2009545f47577f41438ec50c2fc571dd7b08cf32cb14de37b9 SHA512 fa6dcab3ebeedf91d906a8ad71eca56dde3b29857711c7d89b6d23d051796acda039d702a43802dbc921ec05ab0695db9fd37b9da1cd444120832f1af37e2e44 WHIRLPOOL 14a9497b06af2e3771af532e990c377261b655052058c3895c06ca88febfcf20a8251d28cc958de8501065357ac777d5c8fe0f69f387e7b54fdd9e6411d83700
|
||||
|
@ -0,0 +1,53 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgusb/libgusb-0.1.4.ebuild,v 1.1 2012/11/09 18:24:12 tetromino Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
VALA_MIN_API_VERSION="0.16"
|
||||
VALA_USE_DEPEND="vapigen"
|
||||
|
||||
inherit eutils vala
|
||||
|
||||
DESCRIPTION="GObject wrapper for libusb"
|
||||
HOMEPAGE="https://gitorious.org/gusb/"
|
||||
SRC_URI="http://people.freedesktop.org/~hughsient/releases/${P}.tar.xz"
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~x86"
|
||||
IUSE="+introspection static-libs vala"
|
||||
REQUIRED_USE="vala? ( introspection )"
|
||||
|
||||
# udev is effectively a required dependency: configuring with --disable-gudev
|
||||
# causes build failures
|
||||
RDEPEND=">=dev-libs/glib-2.28:2
|
||||
virtual/libusb:1
|
||||
|| ( >=sys-fs/udev-171[gudev] <sys-fs/udev-171[extras] )
|
||||
introspection? ( >=dev-libs/gobject-introspection-1.29 )"
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/xz-utils
|
||||
dev-libs/libxslt
|
||||
dev-util/gtk-doc-am
|
||||
virtual/pkgconfig
|
||||
vala? ( $(vala_depend) )"
|
||||
# gtk-doc-am needed for proper api docs installation
|
||||
|
||||
# Tests try to access usb devices in /dev
|
||||
RESTRICT="test"
|
||||
|
||||
src_prepare() {
|
||||
use vala && vala_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable introspection) \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable vala)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
prune_libtool_files
|
||||
}
|
@ -0,0 +1,64 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/XML-LibXML/XML-LibXML-2.1.200.ebuild,v 1.1 2012/11/09 19:12:06 tove Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MODULE_AUTHOR=SHLOMIF
|
||||
MODULE_VERSION=2.0012
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="A Perl module to parse XSL Transformational sheets using gnome's libXSLT"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-perl/XML-SAX-0.120.0
|
||||
>=dev-libs/libxml2-2.6.21
|
||||
>=dev-perl/XML-NamespaceSupport-1.70.0
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
dev-perl/Test-Pod
|
||||
)
|
||||
"
|
||||
|
||||
SRC_TEST="do"
|
||||
|
||||
# rac can't discern any difference between the build with or without
|
||||
# this, and if somebody wants to reactivate it, get it out of global
|
||||
# scope.
|
||||
#export PERL5LIB=`perl -e 'print map { ":$ENV{D}/$_" } @INC'`
|
||||
mytargets="pure_install doc_install"
|
||||
|
||||
src_compile() {
|
||||
export SKIP_SAX_INSTALL=1
|
||||
perl-module_src_compile
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
pkg_update_parser add XML::LibXML::SAX::Parser
|
||||
pkg_update_parser add XML::LibXML::SAX
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
pkg_update_parser remove XML::LibXML::SAX::Parser
|
||||
pkg_update_parser remove XML::LibXML::SAX
|
||||
}
|
||||
|
||||
pkg_update_parser() {
|
||||
# pkg_update_parser [add|remove] $parser_module
|
||||
local action=$1
|
||||
local parser_module=$2
|
||||
|
||||
if [[ "$ROOT" = "/" ]] ; then
|
||||
einfo "Update Parser: $1 $2"
|
||||
perl -MXML::SAX -e "XML::SAX->${action}_parser(q(${parser_module}))->save_parsers()" \
|
||||
|| ewarn "Update Parser: $1 $2 failed"
|
||||
else
|
||||
elog "To $1 $2 run:"
|
||||
elog "perl -MXML::SAX -e 'XML::SAX->${action}_parser(q(${parser_module}))->save_parsers()'"
|
||||
fi
|
||||
}
|
@ -0,0 +1,56 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/elixir/elixir-0.7.1-r1.ebuild,v 1.1 2012/11/10 13:09:28 idella4 Exp $
|
||||
|
||||
EAPI="2"
|
||||
PYTHON_DEPEND="2"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
|
||||
inherit distutils eutils
|
||||
|
||||
MY_PN="Elixir"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="Declarative Mapper for SQLAlchemy"
|
||||
HOMEPAGE="http://elixir.ematia.de/trac/wiki http://pypi.python.org/pypi/Elixir"
|
||||
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND=">=dev-python/sqlalchemy-0.4.0"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools
|
||||
doc? ( >=dev-python/docutils-0.4-r3
|
||||
>=dev-python/elementtree-1.2.6
|
||||
>=dev-python/kid-0.9
|
||||
>=dev-python/pygments-0.8.1
|
||||
>=dev-python/pudge-0.1.3
|
||||
>=dev-python/buildutils-0.3 )"
|
||||
RESTRICT_PYTHON_ABIS="3.*"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-CVE-2012-2146-aes.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
distutils_src_compile
|
||||
|
||||
if use doc; then
|
||||
einfo "Generation of documentation"
|
||||
"$(PYTHON -f)" setup.py addcommand -p buildutils.pudge_command
|
||||
PYTHONPATH=. "$(PYTHON -f)" setup.py pudge || die "Generation of documentation failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
|
||||
if use doc; then
|
||||
dohtml -r build/doc/*
|
||||
fi
|
||||
}
|
@ -0,0 +1,85 @@
|
||||
Upstream patch acquired from
|
||||
http://sochotni.fedorapeople.org/python-elixir-aes-encryption-addition.patch
|
||||
Index: elixir/ext/encrypted.py
|
||||
===================================================================
|
||||
--- elixir/ext/encrypted.py (revision 534)
|
||||
+++ elixir/ext/encrypted.py (working copy)
|
||||
@@ -32,7 +32,9 @@
|
||||
database row.
|
||||
'''
|
||||
|
||||
-from Crypto.Cipher import Blowfish
|
||||
+import sys
|
||||
+import os
|
||||
+from Crypto.Cipher import Blowfish, AES
|
||||
from elixir.statements import Statement
|
||||
from sqlalchemy.orm import MapperExtension, EXT_CONTINUE, EXT_STOP
|
||||
|
||||
@@ -49,7 +51,9 @@
|
||||
#
|
||||
# encryption and decryption functions
|
||||
#
|
||||
-
|
||||
+# WARNING!!! Blowfish encryption method is vulnerable to attacks
|
||||
+# because it doesn't properly use random seed. It is provided just for
|
||||
+# backward compatibility needed to migrate data. Use AES instead!
|
||||
def encrypt_value(value, secret):
|
||||
return Blowfish.new(secret, Blowfish.MODE_CFB) \
|
||||
.encrypt(value).encode('string_escape')
|
||||
@@ -58,14 +62,36 @@
|
||||
return Blowfish.new(secret, Blowfish.MODE_CFB) \
|
||||
.decrypt(value.decode('string_escape'))
|
||||
|
||||
+# Crypto.Cipher.AES is AES128
|
||||
+def encrypt_value_aes(value, secret):
|
||||
+ iv = os.urandom(AES.block_size)
|
||||
|
||||
+ pad_len = AES.block_size - len(value) % AES.block_size
|
||||
+ padded_value = value + pad_len * chr(pad_len)
|
||||
+ res = iv + AES.new(secret, AES.MODE_CBC, iv).encrypt(padded_value)
|
||||
+ return res.encode('string_escape')
|
||||
+
|
||||
+def decrypt_value_aes(value, secret):
|
||||
+ value = value.decode('string_escape')
|
||||
+ iv = value[:AES.block_size]
|
||||
+ encrypted = value[AES.block_size:]
|
||||
+
|
||||
+ padded_value = AES.new(secret, AES.MODE_CBC, iv).decrypt(encrypted)
|
||||
+ pad_len = ord(padded_value[-1])
|
||||
+ assert pad_len >= 1 and pad_len <= AES.block_size
|
||||
+ return padded_value[:-pad_len]
|
||||
+
|
||||
#
|
||||
# acts_as_encrypted statement
|
||||
#
|
||||
|
||||
class ActsAsEncrypted(object):
|
||||
|
||||
- def __init__(self, entity, for_fields=[], with_secret='abcdef'):
|
||||
+ def __init__(self, entity, for_fields=[], with_secret='abcdef', with_aes=False):
|
||||
+ if not with_aes:
|
||||
+ sys.stderr.write("""******* WARNING!!! ********
|
||||
+Blowfish encryption method is vulnerable to attacks.
|
||||
+Migrate your data and use with_aes=True\n""")
|
||||
|
||||
def perform_encryption(instance, encrypt=True):
|
||||
encrypted = getattr(instance, '_elixir_encrypted', None)
|
||||
@@ -77,9 +103,15 @@
|
||||
instance._elixir_encrypted = encrypt
|
||||
|
||||
if encrypt:
|
||||
- func = encrypt_value
|
||||
+ if with_aes:
|
||||
+ func = encrypt_value_aes
|
||||
+ else:
|
||||
+ func = encrypt_value
|
||||
else:
|
||||
- func = decrypt_value
|
||||
+ if with_aes:
|
||||
+ func = decrypt_value_aes
|
||||
+ else:
|
||||
+ func = decrypt_value
|
||||
|
||||
for column_name in for_fields:
|
||||
current_value = getattr(instance, column_name)
|
||||
|
@ -1,3 +1,2 @@
|
||||
DIST icalendar-2.1.tar.gz 73180 SHA256 7e0080cd5fbbdbe084087a5863c5419bbb889fcd3f5988f436c5b94b4fba4641 SHA512 e7bda75a2dbb40c572834b4c32ca74c7b288bcf281c066e8f46221f3518878cb65544b6511f0b6a879d33107b33312bf688f016142dd94b1e8394345505af7ad WHIRLPOOL a632eb1f87dba5b2571413975e7a9dabab776e468f2c2d5c82547a9f61b1c6b644e822a5a87a9a929552137a66f5f9bdd03220f60989cba8c01dd91af74aa127
|
||||
DIST icalendar-2.2.tar.gz 152855 SHA256 58974feeb8a6f8daf14fa8b093eb90a1aca4dff59d83ae96a7a8b8d9d66016a3 SHA512 61a6d18a7e9d3d6b825454752bb8d68f01e834db7989bb82467b49d43ab99184b2d3cbf52ce25fc7b6a16028f5b53b8ccf2798dfd168abf4ed305c6eed40ecd7 WHIRLPOOL a2ccd510ef77ac8375cb759682c9fb6378efca5783f17b4fbf163f0b0da7580af3cc41c67756ccdd18b84b19ff94b1989ff4817a45d7f639ccf6dc04b296569a
|
||||
DIST icalendar-3.1.tar.gz 50530 SHA256 35fc6b618b93f7e6dfc6e16ce2e2012fa540264b385761e6405cf3cd2972a3ad SHA512 f108cedc85d66b0b6fa0c72f6068748fb129a5929a72eb56096ba0066f9121da960f3f034f9218add335e5e0b08564379a2edb878d2ac09bdf40c6f3365fb74f WHIRLPOOL 4bc6ec93632a7eb52c1311da98822246cdf922fb8ea87623a1db13dc5eb2226c05aed35f5295d26ff9155cf8a37331fe077b5ac8e4d586e21a52d2ad27cb264b
|
||||
|
@ -1,39 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/icalendar/icalendar-2.1_p20100409.ebuild,v 1.6 2011/04/12 18:56:04 tomka Exp $
|
||||
|
||||
EAPI="2"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
PYTHON_DEPEND="2"
|
||||
|
||||
inherit eutils distutils
|
||||
|
||||
MY_P="${PN}-${PV%%_p*}"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
DESCRIPTION="Package used for parsing and generating iCalendar files (RFC 2445)."
|
||||
HOMEPAGE="http://codespeak.net/icalendar/ http://pypi.python.org/pypi/icalendar"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="dev-python/setuptools"
|
||||
RESTRICT_PYTHON_ABIS="3.*"
|
||||
|
||||
DOCS="CHANGES.txt CREDITS.txt doc/* HISTORY.txt README.txt TODO.txt"
|
||||
|
||||
src_prepare() {
|
||||
EPATCH_SUFFIX="patch" epatch "${FILESDIR}/${PV}"
|
||||
distutils_src_prepare
|
||||
}
|
||||
|
||||
src_test() {
|
||||
testing() {
|
||||
"$(PYTHON)" test.py
|
||||
}
|
||||
python_execute_function testing
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST Markdown-2.0.3.tar.gz 71247 SHA256 fff5d887cbf82dca288e55c8c240c435ca6ca80fb11d0b3c9fc44464fdece740 SHA512 c269efe9924221e8e7b1d0ffc62df18f15760cf10149a73f5dae6bbbeaea25a32ae0c4d370f5d03b9e38c8cbd0dd0658a306365711f93733d1e8484bd68a30f0 WHIRLPOOL 76614b6a8321569eddf54bf10db76d75ff81fa02884a2c2cb702bc90aae457259ef1870cc6635c84bf1db95de6053eb5c7d103368588f5b93d54ef45f9c7d829
|
||||
DIST Markdown-2.1.0.tar.gz 241583 SHA256 ab537478e98137c0fa1cb4149adae23ddc56490ca6e8bb1b6130d91ada81d964 SHA512 ed6df021068a72524fbd98e4204a50cdc78a3fae85c8173dc0103ed82aad7cd446b6d60772a3c299fc7b8e3f9e26a47585aa887385f37dd5c5d12d647a5a96ee WHIRLPOOL 02771f81b2a445d777de73ed19f35d46799d22e9b5a3163a83b8f8317e6f0f24b854eb09bd454f99c335e83b411943a32dd57738d28e5c817213815285fa08e6
|
||||
DIST Markdown-2.1.1.tar.gz 242852 SHA256 be6c8cc8163875062b60d759451fec1e55fd3426321b52a6a9077a3f95503864 SHA512 aa20209afc0f8b6bd3f39307b8487ffdf47b2ad017b8c6db70fcb2878c751a007c7f99bc71b1fe8abb7553468997a7b2be69f12211015835b94521a8c8c8657b WHIRLPOOL 2960850130190b0a123187160a0952d4e43f77cde0caddc3cc2142f361798e7c5fafd79c96a4ef03d51c3106db68cbccbffb03c1305f42bc808e63f10fe30b7b
|
||||
DIST Markdown-2.2.0.tar.gz 236894 SHA256 98e1b0a0b2f87b8310d2060a560f427c24ee16c96c83c98ea416f1f8ddc379b5 SHA512 d4a5bbe8bb70dc0737805a52830f485be10d12d7fb628ee54be92bd1a1e11875dc6a6af280c3624b1b97eb7fb28976817b0b8fff45ac8ebe71245c26a4c058b8 WHIRLPOOL eca04fa3ebe8db33f8c0353f589048c75094662bddfbc0ffa4e2a6747f1e1c06c13e123530530fb35e24fe3ef1264efdc9dac1957b92612b45c98f39bcea6cd2
|
||||
|
@ -0,0 +1,80 @@
|
||||
https://github.com/waylan/Python-Markdown/issues/112
|
||||
https://github.com/waylan/Python-Markdown/commit/5b3e724fb78da73ab87fb34e4ac9d9299773cfed
|
||||
|
||||
--- markdown/__init__.py
|
||||
+++ markdown/__init__.py
|
||||
@@ -37,6 +37,7 @@
|
||||
import codecs
|
||||
import sys
|
||||
import logging
|
||||
+import warnings
|
||||
import util
|
||||
from preprocessors import build_preprocessors
|
||||
from blockprocessors import build_block_parser
|
||||
@@ -163,10 +164,10 @@
|
||||
if isinstance(ext, basestring):
|
||||
ext = self.build_extension(ext, configs.get(ext, []))
|
||||
if isinstance(ext, Extension):
|
||||
- # might raise NotImplementedError, but that's the extension author's problem
|
||||
ext.extendMarkdown(self, globals())
|
||||
elif ext is not None:
|
||||
- raise ValueError('Extension "%s.%s" must be of type: "markdown.Extension".' \
|
||||
+ raise TypeError(
|
||||
+ 'Extension "%s.%s" must be of type: "markdown.Extension"'
|
||||
% (ext.__class__.__module__, ext.__class__.__name__))
|
||||
|
||||
return self
|
||||
@@ -200,19 +201,22 @@
|
||||
module_name_old_style = '_'.join(['mdx', ext_name])
|
||||
try: # Old style (mdx_<extension>)
|
||||
module = __import__(module_name_old_style)
|
||||
- except ImportError:
|
||||
- logger.warn("Failed loading extension '%s' from '%s' or '%s'"
|
||||
- % (ext_name, module_name, module_name_old_style))
|
||||
- # Return None so we don't try to initiate none-existant extension
|
||||
- return None
|
||||
+ except ImportError, e:
|
||||
+ message = "Failed loading extension '%s' from '%s' or '%s'" \
|
||||
+ % (ext_name, module_name, module_name_old_style)
|
||||
+ e.args = (message,) + e.args[1:]
|
||||
+ raise
|
||||
|
||||
# If the module is loaded successfully, we expect it to define a
|
||||
# function called makeExtension()
|
||||
try:
|
||||
return module.makeExtension(configs.items())
|
||||
except AttributeError, e:
|
||||
- logger.warn("Failed to initiate extension '%s': %s" % (ext_name, e))
|
||||
- return None
|
||||
+ message = e.args[0]
|
||||
+ message = "Failed to initiate extension " \
|
||||
+ "'%s': %s" % (ext_name, message)
|
||||
+ e.args = (message,) + e.args[1:]
|
||||
+ raise
|
||||
|
||||
def registerExtension(self, extension):
|
||||
""" This gets called by the extension """
|
||||
--- tests/test_apis.py
|
||||
+++ tests/test_apis.py
|
||||
@@ -245,18 +245,18 @@
|
||||
|
||||
def testLoadExtensionFailure(self):
|
||||
""" Test failure of an extension to load. """
|
||||
- self.assertRaises(ValueError,
|
||||
+ self.assertRaises(ImportError,
|
||||
markdown.Markdown, extensions=['non_existant_ext'])
|
||||
|
||||
def testLoadBadExtension(self):
|
||||
""" Test loading of an Extension with no makeExtension function. """
|
||||
_create_fake_extension(name='fake', has_factory_func=False)
|
||||
- self.assertRaises(ValueError, markdown.Markdown, extensions=['fake'])
|
||||
+ self.assertRaises(AttributeError, markdown.Markdown, extensions=['fake'])
|
||||
|
||||
def testNonExtension(self):
|
||||
""" Test loading a non Extension object as an extension. """
|
||||
_create_fake_extension(name='fake', is_wrong_type=True)
|
||||
- self.assertRaises(ValueError, markdown.Markdown, extensions=['fake'])
|
||||
+ self.assertRaises(TypeError, markdown.Markdown, extensions=['fake'])
|
||||
|
||||
def testBaseExtention(self):
|
||||
""" Test that the base Extension class will raise NotImplemented. """
|
@ -1 +1,2 @@
|
||||
DIST tidy-ext-0.1.12.gem 259584 SHA256 eda87c06355054b48b6d5d7d699a747490d5d4cb15bd86e8758377b259541eb0 SHA512 2a7a304e81f49281be1c36b98b5aee5922d1fed2f06a6b5a480b305d124c056a8f26f51c26e94faaeb9114e38041b9db65a018cff56b821d12a9564a7bbcfd00 WHIRLPOOL b55b484c784223770e5620bfd0dd2ca11b25c4113a79aa16e4b1d0a442bc73da8346e3eee61e97165d36fea6cf87341d9c5e2b499a32bd48a81ade73705fdcc2
|
||||
DIST tidy-ext-0.1.14.gem 260608 SHA256 9bd24274b4fea9f2c459a34742b89f106f03ac34086db2119b779b3190109344 SHA512 8a8eada3cb5e815338de49332a24c85b9b2cabba0e10f2d72fe85bd4faf76924e52d82066e7b73e62bc459631aaa9d1c42a6941988ae2a71ca0ddd4f3302ad86 WHIRLPOOL 1c228aebe12ce1f425d1e2545d5f10e75444a9dc4138629d7e398c2d929d72cd0cb8b00629a10079db8423dd94e937f0bda59b00ce675ac97829e5e5f28ac58b
|
||||
|
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/tidy-ext/tidy-ext-0.1.14.ebuild,v 1.1 2012/11/09 07:44:32 graaff Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby18 ruby19 ree18"
|
||||
|
||||
RUBY_FAKEGEM_DOCDIR="rdoc"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
||||
|
||||
inherit ruby-fakegem eutils
|
||||
|
||||
DESCRIPTION="W3C HTML Tidy library implemented as a Ruby extension."
|
||||
HOMEPAGE="http://github.com/carld/tidy"
|
||||
|
||||
LICENSE="HTML-Tidy"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
all_ruby_prepare() {
|
||||
mkdir lib || die
|
||||
|
||||
# Remove reference to rspec 1
|
||||
sed -i -e '/spec/d' spec/spec_helper.rb || die
|
||||
}
|
||||
|
||||
each_ruby_configure() {
|
||||
${RUBY} -Cext/tidy extconf.rb || die "Unable to configure extension."
|
||||
}
|
||||
|
||||
each_ruby_compile() {
|
||||
emake -Cext/tidy || die
|
||||
cp ext/tidy/tidy$(get_modname) lib/ || die "Unable to copy extension."
|
||||
}
|
@ -1 +1 @@
|
||||
DIST escm-1.1.tar.gz 22344 RMD160 3d2b5d57b2ccbaa0ae6ba39a6bfb06d06ca839dc SHA1 a1ddcbd88d9c26270f38c200abf5c8745c783faa SHA256 8e125d5b0a0ea9b170d135c54035993da85025070ac1249d5ebe17064eb66e91
|
||||
DIST escm-1.1.tar.gz 22344 SHA256 8e125d5b0a0ea9b170d135c54035993da85025070ac1249d5ebe17064eb66e91 SHA512 7df97d8b9e7c4b46b412e3dd24a2b0b3f4028d45b1940d12b09f0801c93ab1868ef5c239d8f1bfb18d5c86f473aa543d9b735eb1f05b4bb3e4b17177d2ed9102 WHIRLPOOL 50f43a5f2122c7c61ff84fa333ae1d5f68d7560a8559f8cfd1d9b53feedeb917f6127d15ebfec201a57ca596b5cda87f8089c55cb8b342b1fe09f434c3d573ee
|
||||
|
@ -1 +1 @@
|
||||
DIST jscheme-7.2.tgz 2507622 RMD160 5aff21c9a23fbc57cb25de291b31a797a3e0264a SHA1 b60259686dcac0910e336bbf6f61e5bb8f6f0b33 SHA256 a6460c3903c0dcd9eb8e31be4b3c324ec9f8e2aa43fbc8ec14948b2ea68a67a1
|
||||
DIST jscheme-7.2.tgz 2507622 SHA256 a6460c3903c0dcd9eb8e31be4b3c324ec9f8e2aa43fbc8ec14948b2ea68a67a1 SHA512 48aa1ce806e2dd9bd6797dce6e6569787ad9072f728a39a37310ec5604afdb3fda4ad56a721336d0be9e3c985333ff9dd31cdb809c095d503f54a0f477adc3c7 WHIRLPOOL a12e899807e84922cfb879a88d6f885502260056501d277941bcf7bd7b68ed45dc000377a2e4a23a0bf717a5600756b07b8ed94c2f9734ce95ad03670b6a3965
|
||||
|
@ -1,2 +1,3 @@
|
||||
DIST racket-5.1.2-src-unix.tgz 15960181 RMD160 1ba1f345fd70ecacb7e7ee20d18a7cd9f4b57795 SHA1 f1f7e2ee1cd754d65013dab80bc1f9a3be1e3b41 SHA256 99871d6c17c383eb31c5788e17e52849144b51494bd96d2ff1ab396d8041175b
|
||||
DIST racket-5.2.1-src-unix.tgz 17210561 RMD160 20852c851aee25d79ee83bc3a18d45eed39aeebf SHA1 a4ea408818236f8eaf937291dd641fd73a997793 SHA256 69942a4efbfc2b17d836b5252e6f77b4aa40887a8a4a04ec228a44b7cfddb3ec
|
||||
DIST racket-5.1.2-src-unix.tgz 15960181 SHA256 99871d6c17c383eb31c5788e17e52849144b51494bd96d2ff1ab396d8041175b
|
||||
DIST racket-5.2.1-src-unix.tgz 17210561 SHA256 69942a4efbfc2b17d836b5252e6f77b4aa40887a8a4a04ec228a44b7cfddb3ec SHA512 b60d259878cc237e26952ffcd07aa483c460a14a1f62e0a939466a4a51ad4ddfb8eda6845962823c0394268ceb3f050a88d1ab364013381f7ebcf077c4571e3e WHIRLPOOL 7b4eddf90a0dd17579aaf19e8df3a6867b9fa06349d254728b0a2cbd56ea83968fb5e1ac3202cb1001e62726cd4160dd174d6e5bf8310918eb4e8d84ba8913ef
|
||||
DIST racket-5.3.1-src-unix.tgz 18296513 SHA256 2abfcd4edf39db9eafcc8a456ccf216fe486cb718e1f70210f902cc6b1d418c3 SHA512 3586a5e06dd7ba0357fca0478df967ec2984ff9457137f4a6947a690e0b66c372ea4785d9608069938234947127ebb8120cc5adf944dc4bf4bca903596a42435 WHIRLPOOL 3ba50e678b361dba059667bcd3421a0e736c1c27079b48cdc5f22786733737b36ccdcc013d2bb9821af5a67cf344b7276bee99274805a77a76bb14ce4f4d2a08
|
||||
|
@ -0,0 +1,71 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-scheme/racket/racket-5.3.1.ebuild,v 1.1 2012/11/09 09:25:20 hkbst Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
# for live ebuilds uncomment inherit git, comment SRC_URI and empty KEYWORDS
|
||||
|
||||
inherit eutils
|
||||
#inherit git-2
|
||||
|
||||
DESCRIPTION="Racket is a general-purpose programming language with strong support for domain-specific languages."
|
||||
HOMEPAGE="http://racket-lang.org/"
|
||||
SRC_URI="http://download.racket-lang.org/installers/${PV}/${PN}/${P}-src-unix.tgz"
|
||||
#SRC_URI="http://pre.racket-lang.org/installers/plt-${PV}-src-unix.tgz"
|
||||
EGIT_REPO_URI="git://git.racket-lang.org/plt.git"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="backtrace cairo doc futures jit places plot threads X"
|
||||
|
||||
RDEPEND="X? ( x11-libs/cairo[X] ) virtual/libffi"
|
||||
|
||||
DEPEND="${RDEPEND} !dev-tex/slatex"
|
||||
|
||||
EGIT_SOURCEDIR="${WORKDIR}/${P}"
|
||||
S="${WORKDIR}/${P}/src"
|
||||
|
||||
src_prepare() {
|
||||
#remove bundled libraries
|
||||
rm -rf foreign/libffi/
|
||||
|
||||
sed -e "s,docdir=\"\${datadir}/${PN}/doc,docdir=\"\${datadir}/doc/${PF}," -i configure || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# according to vapier, we should use the bundled libtool
|
||||
# such that we don't preclude cross-compile. Thus don't use
|
||||
# --enable-lt=/usr/bin/libtool
|
||||
econf \
|
||||
$(use_enable X gracket) \
|
||||
$(use_enable plot) \
|
||||
$(use_enable doc docs) \
|
||||
--enable-shared \
|
||||
$(use_enable jit) \
|
||||
--enable-foreign \
|
||||
$(use_enable places) \
|
||||
$(use_enable futures) \
|
||||
$(use_enable backtrace) \
|
||||
$(use_enable threads pthread) \
|
||||
--disable-perl \
|
||||
$(use_with X x)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# deal with slatex
|
||||
insinto /usr/share/texmf/tex/latex/slatex/
|
||||
doins ../collects/slatex/slatex.sty
|
||||
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
|
||||
if use X; then
|
||||
newicon ../collects/icons/PLT-206.png drracket.png
|
||||
make_desktop_entry drracket "DrRacket" drracket "Development"
|
||||
fi
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
DIST glib-2.30.3.tar.xz 5642448 SHA256 e6cbb27c71c445993346e785e8609cc75cea2941e32312e544872feba572dd27 SHA512 9f212b2c94c8c76ed619a1a97515ffc4c71dd39a982852cc9db600ca3034be1fb646d657dd39831f2fe80a81972400b977ea59fa81923dfe646158c9f1ab8843 WHIRLPOOL 145e20955b0ce2b44e05833bd508ac03a0399fc4d4c1c551c6a05809e6922cd57c37c5b32ebbe80f7ba0a21660059d7cb4837fa233de37af6c12cd0bc3a7afeb
|
||||
DIST glib-2.32.4.tar.xz 6178556 SHA256 a5d742a4fda22fb6975a8c0cfcd2499dd1c809b8afd4ef709bda4d11b167fae2 SHA512 bc8b2d6afae7635f940065eca3e854ee171812c7b582d55313db11d28875495dbf41fc0a260347b30f7490daa65ccc377d8a2d60bb3a26d07997606d8e3d989f WHIRLPOOL 35aec94088acff460685c0b1bb2e6fcffadb0f9f0044b93f3fa042ed82dd52efb5e56022575c0ebcfda4230d38edc26a916623f0bfcbfc8e1c6b76a3133d43bc
|
||||
DIST glib-2.34.0.tar.xz 6368532 SHA256 f69b112f8848be35139d9099b62bc81649241f78f6a775516f0d4c9b47f65144 SHA512 b3aa98320b68b6d1aedc5cdbd4e271aa464e933db5741eeda0fb48e950c42c9be5c33166294998be79ea574733d337fc427c89810ea1a3496cfd00ccacd0b703 WHIRLPOOL e8b1f07fc7b9ac86b1a82db827e734c1d3cf5e52be63f9c48e5f00d6dbbc9537005db66025877886e1eb3da0924bcf0065b5e0fcb212f5f16d89ad025bb7059b
|
||||
DIST glib-2.34.1.tar.xz 6363332 SHA256 6e84dc9d84b104725b34d255421ed7ac3629e49f437d37addde5ce3891c2e2f1 SHA512 a3776f77c6837f37fa42bf337054ac129e705ec913e32a5e17b19e9fe27426600c4667819c4fb51b5f6fc2481d5a63c2ffd0826287890b51e25448670ceaefef WHIRLPOOL 5639623268c05b0e82e24fc4bedba5af34cec539dd413d21b57a5f7a4237ddaff2ed4fc53d12e36d6e3533c530980ab454f731b34ba6ecb41a30b296b8995276
|
||||
DIST glib-2.34.2.tar.xz 6367740 SHA256 2d99a8309cdd0c584bd5386a49265fb19ac64575fe108fd901d6f26c8d73c708 SHA512 986a064968bd6681e8166704c7caa8e467a99ba24b035874fbd21e1374a56f24fc78325ab5776e60ffe6f5555e9104fcc89ddf2e3d3c9ec31906cbaaf1f7a827 WHIRLPOOL 81556274b0ab62ba1bc4846f857566971f3fca305ab75ca4163a5071505d7223d24743c629cc53383ffb329ba401721abcb7ade57d42bf9c2ef4debb23b16660
|
||||
|
@ -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/dev-util/gdbus-codegen/gdbus-codegen-2.34.0.ebuild,v 1.2 2012/10/03 23:59:49 tetromino Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/gdbus-codegen/gdbus-codegen-2.34.2.ebuild,v 1.1 2012/11/10 05:00:35 tetromino Exp $
|
||||
|
||||
EAPI="4"
|
||||
GNOME_ORG_MODULE="glib"
|
@ -0,0 +1 @@
|
||||
DIST qfsm-0.53.0-Source.tar.bz2 1498547 SHA256 a47f2f85fc15992a41ae06560fdc0ddbd663488821af6a34d2f0a3a87c4ba9bb SHA512 c9ad1784b1e5edd8f2ba1a24fa2555438de52294dbe39db84820f754bc170806fe999ba3cf14bc743c9753756202edf7581646e677f31e8fb16df1428284a537 WHIRLPOOL b7081dbc783fbc20dea8e1704815a4d118d0636722b67775605ba32a482d1859094ff9f7f03d53e4145802637328f904e6c8f0aa44b5fdfcc46f8c24d276f056
|
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>qt</herd>
|
||||
<maintainer>
|
||||
<email>pinkbyte@gentoo.org</email>
|
||||
<name>Sergey Popov</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/qfsm/qfsm-0.53.0.ebuild,v 1.2 2012/11/10 13:02:42 pinkbyte Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MY_P="${P}-Source"
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="A graphical tool for designing finite state machines"
|
||||
HOMEPAGE="http://qfsm.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="sys-libs/zlib
|
||||
>=x11-libs/qt-core-4.7
|
||||
>=x11-libs/qt-qt3support-4.7
|
||||
>=x11-libs/qt-svg-4.7
|
||||
media-gfx/graphviz"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
DOCS=( ChangeLog README TODO )
|
||||
|
||||
# TODO: fix doc building, probably some dependencies are missing
|
||||
src_prepare()
|
||||
{
|
||||
# remove broken pre-generated Makefile
|
||||
rm Makefile || die 'rm Makefile failed'
|
||||
# fix desktop files
|
||||
sed -i -e '/Encoding/d' \
|
||||
-e 's/\.png//' \
|
||||
desktop/qfsm.desktop || die 'sed on qfsm.desktop failed'
|
||||
# fix doc path installation, bug #130641
|
||||
sed -i -e "s:share/doc/qfsm:share/doc/${P}/html:g" CMakeLists.txt || die 'sed on CMakeLists.txt failed'
|
||||
}
|
@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/source-highlight/source-highlight-3.1.7-r2.ebuild,v 1.1 2012/11/09 17:25:39 flameeyes Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit bash-completion-r1 versionator
|
||||
|
||||
DESCRIPTION="Generate highlighted source code as an (x)html document"
|
||||
HOMEPAGE="http://www.gnu.org/software/src-highlite/source-highlight.html"
|
||||
SRC_URI="mirror://gnu/src-highlite/${P}.tar.gz"
|
||||
LICENSE="GPL-3"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris"
|
||||
SLOT="0"
|
||||
IUSE="doc static-libs"
|
||||
|
||||
DEPEND=">=dev-libs/boost-1.52.0-r1[threads]
|
||||
dev-util/ctags"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--with-boost-regex="boost_regex" \
|
||||
--without-bash-completion \
|
||||
$(use_enable static-libs static)
|
||||
}
|
||||
|
||||
src_install () {
|
||||
DOCS="AUTHORS ChangeLog CREDITS NEWS README THANKS TODO.txt"
|
||||
default
|
||||
|
||||
use static-libs || rm -rf "${D}"/usr/lib*/*.la
|
||||
|
||||
dobashcomp completion/source-highlight
|
||||
|
||||
# That's not how we want it
|
||||
rm -fr "${ED}/usr/share"/{aclocal,doc}
|
||||
use doc && dohtml -A java doc/*.{html,css,java}
|
||||
}
|
||||
|
||||
src_test() {
|
||||
export LD_LIBRARY_PATH="${S}/lib/srchilite/.libs/"
|
||||
default
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue