parent
eefc09deaf
commit
05b787d540
@ -0,0 +1,133 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/conky/conky-1.9.0-r1.ebuild,v 1.1 2012/08/18 08:48:10 billie Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="An advanced, highly configurable system monitor for X"
|
||||
HOMEPAGE="http://conky.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3 BSD LGPL-2.1 MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="apcupsd audacious curl debug eve hddtemp imlib iostats lua lua-cairo lua-imlib math moc mpd nano-syntax ncurses nvidia +portmon rss thinkpad truetype vim-syntax weather-metar weather-xoap wifi X xmms2"
|
||||
|
||||
DEPEND_COMMON="
|
||||
X? (
|
||||
imlib? ( media-libs/imlib2 )
|
||||
lua-cairo? (
|
||||
>=dev-lua/toluapp-1.0.93
|
||||
>=dev-lang/lua-5.1.4-r8
|
||||
x11-libs/cairo[X] )
|
||||
lua-imlib? (
|
||||
>=dev-lua/toluapp-1.0.93
|
||||
>=dev-lang/lua-5.1.4-r8
|
||||
media-libs/imlib2 )
|
||||
nvidia? ( media-video/nvidia-settings )
|
||||
truetype? ( x11-libs/libXft >=media-libs/freetype-2 )
|
||||
x11-libs/libX11
|
||||
x11-libs/libXdamage
|
||||
x11-libs/libXext
|
||||
audacious? ( >=media-sound/audacious-1.5 dev-libs/glib )
|
||||
xmms2? ( media-sound/xmms2 )
|
||||
)
|
||||
curl? ( net-misc/curl )
|
||||
eve? ( net-misc/curl dev-libs/libxml2 )
|
||||
portmon? ( dev-libs/glib )
|
||||
lua? ( >=dev-lang/lua-5.1.4-r8 )
|
||||
ncurses? ( sys-libs/ncurses )
|
||||
rss? ( dev-libs/libxml2 net-misc/curl dev-libs/glib )
|
||||
wifi? ( net-wireless/wireless-tools )
|
||||
weather-metar? ( net-misc/curl )
|
||||
weather-xoap? ( dev-libs/libxml2 net-misc/curl )
|
||||
virtual/libiconv
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND_COMMON}
|
||||
apcupsd? ( sys-power/apcupsd )
|
||||
hddtemp? ( app-admin/hddtemp )
|
||||
moc? ( media-sound/moc )
|
||||
nano-syntax? ( app-editors/nano )
|
||||
vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )
|
||||
"
|
||||
DEPEND="
|
||||
${DEPEND_COMMON}
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-1.8.1-utf8-scroll.patch" \
|
||||
"${FILESDIR}/${P}-ncurses.patch" \
|
||||
"${FILESDIR}/${P}-lines-fix.patch"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
|
||||
if use X; then
|
||||
myconf="--enable-x11 --enable-double-buffer --enable-xdamage"
|
||||
myconf="${myconf} --enable-argb --enable-own-window"
|
||||
myconf="${myconf} $(use_enable imlib imlib2) $(use_enable lua-cairo)"
|
||||
myconf="${myconf} $(use_enable lua-imlib lua-imlib2)"
|
||||
myconf="${myconf} $(use_enable nvidia) $(use_enable truetype xft)"
|
||||
myconf="${myconf} $(use_enable audacious) $(use_enable xmms2)"
|
||||
else
|
||||
myconf="--disable-x11 --disable-own-window --disable-argb"
|
||||
myconf="${myconf} --disable-lua-cairo --disable-nvidia --disable-xft"
|
||||
myconf="${myconf} --disable-audacious --disable-xmms2"
|
||||
fi
|
||||
|
||||
econf \
|
||||
${myconf} \
|
||||
$(use_enable apcupsd) \
|
||||
$(use_enable curl) \
|
||||
$(use_enable debug) \
|
||||
$(use_enable eve) \
|
||||
$(use_enable hddtemp) \
|
||||
$(use_enable iostats) \
|
||||
$(use_enable lua) \
|
||||
$(use_enable thinkpad ibm) \
|
||||
$(use_enable math) \
|
||||
$(use_enable moc) \
|
||||
$(use_enable mpd) \
|
||||
$(use_enable ncurses) \
|
||||
$(use_enable portmon) \
|
||||
$(use_enable rss) \
|
||||
$(use_enable weather-metar) \
|
||||
$(use_enable weather-xoap) \
|
||||
$(use_enable wifi wlan)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
dohtml doc/{config_settings.html,docs.html,lua.html,variables.html}
|
||||
|
||||
if use vim-syntax; then
|
||||
insinto /usr/share/vim/vimfiles/ftdetect
|
||||
doins "${S}"/extras/vim/ftdetect/conkyrc.vim
|
||||
|
||||
insinto /usr/share/vim/vimfiles/syntax
|
||||
doins "${S}"/extras/vim/syntax/conkyrc.vim
|
||||
fi
|
||||
|
||||
if use nano-syntax; then
|
||||
insinto /usr/share/nano/
|
||||
doins "${S}"/extras/nano/conky.nanorc
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "You can find a sample configuration file at ${ROOT%/}/etc/conky/conky.conf."
|
||||
elog "To customize, copy it to ~/.conkyrc and edit it to your liking."
|
||||
elog
|
||||
elog "For more info on Conky's features please look at the Changelog in"
|
||||
elog "${ROOT%/}/usr/share/doc/${PF}. There are also pretty html docs available"
|
||||
elog "on Conky's site or in ${ROOT%/}/usr/share/doc/${PF}/html."
|
||||
elog
|
||||
elog "Also see http://www.gentoo.org/doc/en/conky-howto.xml"
|
||||
elog
|
||||
}
|
@ -0,0 +1,36 @@
|
||||
diff -urN old/src/conky.c new/src/conky.c
|
||||
--- old/src/conky.c 2012-05-03 23:22:21.000000000 +0200
|
||||
+++ new/src/conky.c 2012-08-15 00:06:59.256311301 +0200
|
||||
@@ -3065,12 +3065,26 @@
|
||||
og = g;
|
||||
}
|
||||
|
||||
- /* this is mugfugly, but it works */
|
||||
- XDrawLine(display, window.drawable, window.gc,
|
||||
- cur_x + i + 1,
|
||||
- specials[special_index].dotgraph ? og : by + h,
|
||||
- cur_x + i + 1,
|
||||
- g);
|
||||
+ if (specials[special_index].dotgraph) {
|
||||
+ if (og == g) {
|
||||
+ XDrawPoint(display, window.drawable,
|
||||
+ window.gc, cur_x + i + 1, g);
|
||||
+ } else {
|
||||
+ XDrawLine(display, window.drawable, window.gc,
|
||||
+ cur_x + i + 1,
|
||||
+ og,
|
||||
+ cur_x + i + 1,
|
||||
+ g);
|
||||
+ }
|
||||
+ } else {
|
||||
+ /* this is mugfugly, but it works */
|
||||
+ XDrawLine(display, window.drawable, window.gc,
|
||||
+ cur_x + i + 1,
|
||||
+ by + h,
|
||||
+ cur_x + i + 1,
|
||||
+ g);
|
||||
+ }
|
||||
+
|
||||
++j;
|
||||
}
|
||||
if (tmpcolour) free(tmpcolour);
|
@ -1,2 +1,3 @@
|
||||
DIST metalog-1.tar.lzma 276450 SHA256 4f27a64e7abb1a1ecb078147db8db4e1edf2bcb72723ec5d9456af09255ff167 SHA512 f5aa1f10440e01ccf76fb50eba7612a18df93a9821cc5c97302647dbd7be6bb7382e08193063d9d37b1760b52ba7dc82d9b1612c287159d84f9326a351063ea1 WHIRLPOOL 7435ee8e0cf1add1191d042aa349ceca4a42eadf6e8478661f263672f49da82dfeee59cb4dc6f4009cfbad578800ba594558fe543445ee6d7fd0c4de4f3c1feb
|
||||
DIST metalog-2.tar.xz 342848 SHA256 4c7e6a6aae6b38d3e03bf34bb9256fcba68888a58c4dbbb1c7d14ba73f8d8f42 SHA512 194d9ca0c5bc8addd1970362cfa7bf1a368f50a9aa7370e2c4d63eb9d9819df08df001a3a85595a74e7b16fdd78c94ffde3cd9a63962ebc9f6ed71b1a574d7cf WHIRLPOOL 23dafa1944808f40e41aee5fe6254222cebaa647e63ac503783fd07445cdc222c0724823676d5a5fe8b63496228d2629301c0dc5d88cd87e74f84841e9cef41b
|
||||
DIST metalog-3.tar.xz 360784 SHA256 0c3a1e19008b3d525eab6e5548a4e8cbb0fb235f2804dc41aace82c67ceeebe0 SHA512 2ac614bb85fe466308c4ced0842fdab5f056eda60e892189a8220719f1e06a72fce3c76842a2ac8c63a6808c20d8b7a7d8676896e14f7f54e40630ecbd21e289 WHIRLPOOL d06a23622bfcef053ac4d959952060c8c1649ea0a5e2f759612caf5819a32944b3c7f6d78233fec83944fe7b5535851d7dca4579b7849e08951da18be503ed09
|
||||
|
@ -0,0 +1,58 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/metalog/metalog-3.ebuild,v 1.1 2012/08/18 17:35:11 vapier Exp $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="A highly configurable replacement for syslogd/klogd"
|
||||
HOMEPAGE="http://metalog.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="unicode"
|
||||
|
||||
RDEPEND=">=dev-libs/libpcre-3.4"
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/xz-utils"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-0.9-metalog-conf.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_with unicode)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "make install failed"
|
||||
dodoc AUTHORS ChangeLog README NEWS metalog.conf
|
||||
|
||||
into /
|
||||
dosbin "${FILESDIR}"/consolelog.sh || die
|
||||
|
||||
newinitd "${FILESDIR}"/metalog.initd metalog
|
||||
newconfd "${FILESDIR}"/metalog.confd metalog
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if [[ -d "${ROOT}"/etc/metalog ]] && [[ ! -e "${ROOT}"/etc/metalog.conf ]] ; then
|
||||
mv -f "${ROOT}"/etc/metalog/metalog.conf "${ROOT}"/etc/metalog.conf
|
||||
rmdir "${ROOT}"/etc/metalog
|
||||
export MOVED_METALOG_CONF=true
|
||||
else
|
||||
export MOVED_METALOG_CONF=false
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if ${MOVED_METALOG_CONF} ; then
|
||||
ewarn "The default metalog.conf file has been moved"
|
||||
ewarn "from /etc/metalog/metalog.conf to just"
|
||||
ewarn "/etc/metalog.conf. If you had a standard"
|
||||
ewarn "setup, the file has been moved for you."
|
||||
fi
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST cdrtools-3.00.tar.bz2 1978563 SHA256 7f9cb64820055573b880f77b2f16662a512518336ba95ab49228a1617973423d SHA512 93887afd6c244814b7f6a623f0ac5b551934626163065a6f32aefe82aa7438450fd7a42737ef3cdaad3f18841c066d25e72e37891531dd0be5be328692712cec WHIRLPOOL a02750131e4ec55df10387a01dab3881afee669cd8b8ea65eaed4fdd82e6bd11040c6d79fc64ccc9377e787f5903ec92ea3ae81db1945554b65a8636737cc931
|
||||
DIST cdrtools-3.01a07.tar.bz2 2043525 SHA256 cc54fefaf4ed5b6b49b996da1d1ebb1c44e88bbfada5c60e8f76c3a082591428 SHA512 670c5b191f35565a86ec4b55c78c3884f2157afd92a7d6f029371cbb252b1a7066ea3186de2586604cb96f4e618fadae6efb9bb1ac5819958cce543d4b9442db WHIRLPOOL d6f37ce8c448c1204491f24a6c5d7088cb5329eb0dbbc9de7aca1349994afb43762c543e6104f75ac0d64d18497c4c27de065871425fec042a1864f36161452a
|
||||
DIST cdrtools-3.01a08.tar.bz2 2042834 SHA256 e503b0531c99644788cf11be694f311043fc9adb17612e3dccd2eefc23a16f41 SHA512 cf591d571c4f17d15927eece49780f875ef797a4d3c4df130340257ff2ce8df40377f88f8f3bc4301cb1b0b8927ee2a7f580e0a0f7f0652b5c88f0a10af214e8 WHIRLPOOL cbe680ebeec52716980c07b86a1d005197542e611dfcff770c2e9717005de3225980166f47e369cf46fadd91db5dac3e42b9a45f9567db91239641f2784f60d9
|
||||
|
@ -0,0 +1,131 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdrtools/cdrtools-3.01_alpha08.ebuild,v 1.1 2012/08/18 09:05:01 billie Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit multilib eutils toolchain-funcs flag-o-matic
|
||||
|
||||
MY_P="${P/_alpha/a}"
|
||||
|
||||
DESCRIPTION="A set of tools for CD/DVD reading and recording, including cdrecord"
|
||||
HOMEPAGE="http://cdrecord.berlios.de/private/cdrecord.html"
|
||||
SRC_URI="ftp://ftp.berlios.de/pub/cdrecord/$([[ -z ${PV/*_alpha*} ]] && echo 'alpha/')/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2.1 CDDL-Schily"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE="acl unicode"
|
||||
|
||||
DEPEND="acl? ( virtual/acl )
|
||||
>=sys-devel/gettext-0.18.1.1
|
||||
!app-cdr/cdrkit"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S=${WORKDIR}/${P/_alpha[0-9][0-9]}
|
||||
|
||||
src_prepare() {
|
||||
# Remove profiled make files.
|
||||
rm -f $(find . -name '*_p.mk') || die "rm profiled"
|
||||
|
||||
# Adjusting hardcoded paths.
|
||||
sed -i -e 's:opt/schily:usr:' \
|
||||
$(find ./ -type f -name \*.[0-9ch] -exec grep -l 'opt/schily' '{}' '+') \
|
||||
|| die "sed opt/schily"
|
||||
|
||||
sed -i -e "s:\(^INSDIR=\t\tshare/doc/\):\1${PF}/:" \
|
||||
$(find ./ -type f -exec grep -l 'INSDIR.\+doc' '{}' '+') \
|
||||
|| die "sed doc"
|
||||
|
||||
# Respect libdir.
|
||||
sed -i -e "s:\(^INSDIR=\t\t\)lib:\1$(get_libdir):" \
|
||||
$(find ./ -type f -exec grep -l '^INSDIR.\+lib\(/siconv\)\?$' '{}' '+') \
|
||||
|| die "sed multilib"
|
||||
|
||||
# Do not install static libraries.
|
||||
sed -i -e 's:include\t\t.*rules.lib::' \
|
||||
$(find ./ -type f -exec grep -l '^include.\+rules\.lib' '{}' '+') \
|
||||
|| die "sed rules"
|
||||
|
||||
# Respect CC/CXX variables.
|
||||
cd "${S}"/RULES
|
||||
local tcCC=$(tc-getCC)
|
||||
local tcCXX=$(tc-getCXX)
|
||||
sed -i -e "/cc-config.sh/s|\$(C_ARCH:%64=%) \$(CCOM_DEF)|${tcCC} ${tcCC}|" \
|
||||
rules1.top || die "sed rules1.top"
|
||||
sed -i -e "/^\(CC\|DYNLD\|LDCC\|MKDEP\)/s|gcc|${tcCC}|" \
|
||||
-e "/^\(CC++\|DYNLDC++\|LDCC++\|MKC++DEP\)/s|g++|${tcCXX}|" \
|
||||
-e "/COPTOPT=/s/-O//" \
|
||||
-e 's/$(GCCOPTOPT)//' \
|
||||
cc-gcc.rul || die "sed cc-gcc.rul"
|
||||
sed -i -e "s|^#CONFFLAGS +=\t-cc=\$(XCC_COM)$|CONFFLAGS +=\t-cc=${tcCC}|g" \
|
||||
rules.cnf || die "sed rules.cnf"
|
||||
|
||||
# Create additional symlinks needed for some archs (armv4l already created)
|
||||
local t
|
||||
for t in armv4tl armv5l armv5tel armv6l armv7l ppc64 s390x; do
|
||||
ln -s i586-linux-cc.rul ${t}-linux-cc.rul || die
|
||||
ln -s i586-linux-gcc.rul ${t}-linux-gcc.rul || die
|
||||
done
|
||||
|
||||
# Schily make setup.
|
||||
cd "${S}"/DEFAULTS
|
||||
local os="linux"
|
||||
|
||||
sed -i \
|
||||
-e "s:/opt/schily:/usr:g" \
|
||||
-e "s:/usr/src/linux/include::g" \
|
||||
-e "s:bin:root:g" \
|
||||
Defaults.${os} || die "sed Schily make setup"
|
||||
}
|
||||
|
||||
# skip obsolete configure script
|
||||
src_configure() { : ; }
|
||||
|
||||
src_compile() {
|
||||
if use unicode; then
|
||||
local flags="$(test-flags -finput-charset=ISO-8859-1 -fexec-charset=UTF-8)"
|
||||
if [[ -n ${flags} ]]; then
|
||||
append-flags ${flags}
|
||||
else
|
||||
ewarn "Your compiler does not support the options required to build"
|
||||
ewarn "cdrtools with unicode in USE. unicode flag will be ignored."
|
||||
fi
|
||||
fi
|
||||
|
||||
if ! use acl; then
|
||||
CFLAGS="${CFLAGS} -DNO_ACL"
|
||||
fi
|
||||
|
||||
# LIB_ACL_TEST removed to support x86-fbsd
|
||||
# If not built with -j1, "sometimes" cdda2wav will not be built.
|
||||
emake -j1 CC="$(tc-getCC)" CPPOPTX="${CPPFLAGS}" COPTX="${CFLAGS}" \
|
||||
LDOPTX="${LDFLAGS}" \
|
||||
INS_BASE="${D}/usr" INS_RBASE="${D}" LINKMODE="dynamic" \
|
||||
RUNPATH="" GMAKE_NOWARN="true"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# If not built with -j1, "sometimes" manpages are not installed.
|
||||
emake -j1 CC="$(tc-getCC)" CPPOPTX="${CPPFLAGS}" COPTX="${CFLAGS}" \
|
||||
LDOPTX="${LDFLAGS}" \
|
||||
INS_BASE="${D}/usr" INS_RBASE="${D}" LINKMODE="dynamic" \
|
||||
RUNPATH="" GMAKE_NOWARN="true" install
|
||||
|
||||
# These symlinks are for compat with cdrkit.
|
||||
dosym schily /usr/include/scsilib
|
||||
dosym ../scg /usr/include/schily/scg
|
||||
|
||||
dodoc ABOUT Changelog* CONTRIBUTING PORTING README.linux-shm READMEs/README.linux
|
||||
|
||||
cd "${S}"/cdda2wav
|
||||
docinto cdda2wav
|
||||
dodoc Changelog FAQ Frontends HOWTOUSE NEEDED README THANKS TODO
|
||||
|
||||
cd "${S}"/mkisofs
|
||||
docinto mkisofs
|
||||
dodoc ChangeLog* TODO
|
||||
|
||||
# Remove man pages related to the build system
|
||||
rm -rvf "${D}"/usr/share/man/man5
|
||||
}
|
@ -1,6 +1 @@
|
||||
DIST gummi-0.5.8-2.tar.gz 394256 SHA256 df3d2abf64be6c0b2b6debf1fea57ffddd2faa57022bcb557211d717ae681080 SHA512 3afdf5ab3294392f87dbd4c74709cf7b0f328467226e03f69f82b1ebcb6eb412951a3e2f1bf27e6e94e2a195415560d18355923699b6bff9af66f8732b40467c WHIRLPOOL 3352bd03797a286304067cca345433d81e5575e9eead5ae509dd8e0f37e8c23347ca4ff824be63410e1dec502d24702636231f065945bf99a401f47b84c621a5
|
||||
DIST gummi-0.6.0.tar.gz 495854 SHA256 7a8b54394fe5f56e9e142672889363ba2e0f6b9f28de3dfcbe53930f83a19485 SHA512 b81750b5728da719f443a62b77faafb15d69783619ddd5b1f9d250d40399447301b6ce524871580ecf965a8c871dba513f8ddf536c390aa7c8786d251fb02109 WHIRLPOOL ed766590ffa830162c8c500abdc1b995e2c580474cf7debd368280f27c71d8253828bbe92ef39547a12075c1ea8a095cca6cc0c4156415aa83a9f070e28b3cb8
|
||||
DIST gummi-0.6.1.tar.gz 499416 SHA256 d682f880a6566983d949632e3176da7df9e67e2079723511b3065551f1525547 SHA512 9dd6758dd5d7036e897e8eb3b658bca7795a81825f01656a689da36c8ab6adc42841c51174b6976d57b7eb59676abfe5112434f4551f2eceac5fb9dc4e022024 WHIRLPOOL 45996a8382011fa9e1df95e409782b3aec6b552c69960afeb9e1498796aef9e97e2b85acbf6b9c6c781510f031f60492ee175720021cacf4cd1e0f7bf2898193
|
||||
DIST gummi-0.6.2.tar.gz 500433 SHA256 1d886e6036a9a480662f9cf3ae8afa4d1129929c16cb78081755ad1d10be8277 SHA512 31da940d631c2907effdc0f309d43d24018fc50278cdff3f72f6bc184a9ca3ea8c39cb19e151e785fb3b5904dbf9aabec3c1c62db70cf1939308d626b17d9cf0 WHIRLPOOL 3e5cc79c54676b3b2d3da31e006e84189d266d06f97154e65bd00a12ed8a675bc9298a0ee921c940c523d1e66c0dea5f3ae80096b0d13fdd1567af488e75b306
|
||||
DIST gummi-0.6.3.tar.gz 512054 SHA256 d44196e56ed61e125bba01e5949be0928cf09919fdb80e62e6a41999a478f0ed SHA512 acb3462d570c97cac1eeceedcf25b3a8f2a2b0bf93584c812958a6d8ad7b0b603f48be0a3f1681ad0a1606e3ba44d741107f3b986f3a76af5852d6b8b759a14c WHIRLPOOL bcd3bd2d87d7b5fb90973704b21b11032bcc7abfa44f6b4086ad858eaca0313030ac6eaa39cb9613f5806375184de4634725935cc23abcf23169e65fd7cc13ce
|
||||
DIST gummi-0.6.4.tar.gz 513494 SHA256 ac5c1de476f8689040a185b01515544a5e53da45ff4e10a072b8944e9de8a6ff SHA512 8209c7a3a59ee1fdc95f47769890857eb7d7e11f6ddfb11476c15e453126e71a4129273e1cb5989ba4d5aabdf1cc7e9d17f7aedc1d0431b189f3f2b54e2e9f29 WHIRLPOOL 52f3cca7e218d3ac97ef58e71ea350b128306fd1bf4f4080f95981eaea8023378b32f2c9816e50e4b697778a46496186da5c0f64810142d117e6d8314430259c
|
||||
|
@ -1,10 +0,0 @@
|
||||
--- src/blaat.c 2011-02-21 11:42:27.338945549 +0100
|
||||
+++ src/latex.c 2011-02-21 11:34:41.429770215 +0100
|
||||
@@ -97,6 +97,7 @@
|
||||
"env openout_any=a %s "
|
||||
"-interaction=nonstopmode "
|
||||
"-file-line-error "
|
||||
+ "-halt-on-error"
|
||||
"%s "
|
||||
"-output-directory=\"%s\" \"%s\"",
|
||||
dirname,
|
@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/gummi/gummi-0.5.8-r1.ebuild,v 1.5 2011/10/27 05:42:07 tetromino Exp $
|
||||
|
||||
EAPI=2
|
||||
inherit base eutils
|
||||
|
||||
DESCRIPTION="Simple LaTeX editor for GTK+ users"
|
||||
HOMEPAGE="http://gummi.midnightcoding.org"
|
||||
SRC_URI="http://dev.midnightcoding.org/redmine/attachments/download/141/${P}-2.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
LANGS="ca cs da de el es fr it nl pl pt_BR ro ru zh_TW"
|
||||
|
||||
for X in ${LANGS} ; do
|
||||
IUSE="${IUSE} linguas_${X}"
|
||||
done
|
||||
|
||||
RDEPEND="app-text/gtkspell:2
|
||||
>=dev-libs/glib-2.16:2
|
||||
dev-texlive/texlive-latex
|
||||
dev-texlive/texlive-latexextra
|
||||
>=x11-libs/gtk+-2.16:2
|
||||
x11-libs/gtksourceview:2.0"
|
||||
DEPEND="${RDEPEND}
|
||||
app-text/poppler[cairo]
|
||||
x11-libs/gtksourceview:2.0
|
||||
x11-libs/pango"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog README )
|
||||
|
||||
src_prepare() {
|
||||
strip-linguas ${LANGS}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Gummi >=0.4.8 supports spell-checking through gtkspell. Support for"
|
||||
elog "additional languages can be added by installing myspell-** packages"
|
||||
elog "for your language of choice."
|
||||
}
|
@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/gummi/gummi-0.6.0.ebuild,v 1.1 2011/11/13 19:51:23 hwoarang Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit base eutils
|
||||
|
||||
DESCRIPTION="Simple LaTeX editor for GTK+"
|
||||
HOMEPAGE="http://gummi.midnightcoding.org"
|
||||
SRC_URI="http://dev.midnightcoding.org/redmine/attachments/download/212/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
LANGS="ar ca cs da de el es fr it nl pl pt pt_BR ro ru sv zh_TW"
|
||||
|
||||
for X in ${LANGS} ; do
|
||||
IUSE="${IUSE} linguas_${X}"
|
||||
done
|
||||
|
||||
RDEPEND="app-text/gtkspell:2
|
||||
>=dev-libs/glib-2.28.6
|
||||
dev-texlive/texlive-latex
|
||||
dev-texlive/texlive-latexextra
|
||||
>=x11-libs/gtk+-2.24:2
|
||||
x11-libs/gtksourceview:2.0"
|
||||
DEPEND="${RDEPEND}
|
||||
app-text/poppler[cairo]
|
||||
x11-libs/gtksourceview:2.0
|
||||
x11-libs/pango"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog README )
|
||||
|
||||
src_prepare() {
|
||||
strip-linguas ${LANGS}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Gummi >=0.4.8 supports spell-checking through gtkspell. Support for"
|
||||
elog "additional languages can be added by installing myspell-** packages"
|
||||
elog "for your language of choice."
|
||||
}
|
@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/gummi/gummi-0.6.1.ebuild,v 1.3 2012/01/21 16:25:30 phajdan.jr Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit base eutils
|
||||
|
||||
DESCRIPTION="Simple LaTeX editor for GTK+"
|
||||
HOMEPAGE="http://gummi.midnightcoding.org"
|
||||
SRC_URI="http://dev.midnightcoding.org/redmine/attachments/download/217/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
LANGS="ar ca cs da de el es fr it nl pl pt pt_BR ro ru sv zh_TW"
|
||||
|
||||
for X in ${LANGS} ; do
|
||||
IUSE="${IUSE} linguas_${X}"
|
||||
done
|
||||
|
||||
RDEPEND="app-text/gtkspell:2
|
||||
>=dev-libs/glib-2.28.6
|
||||
dev-texlive/texlive-latex
|
||||
dev-texlive/texlive-latexextra
|
||||
>=x11-libs/gtk+-2.24:2
|
||||
x11-libs/gtksourceview:2.0"
|
||||
DEPEND="${RDEPEND}
|
||||
app-text/poppler[cairo]
|
||||
x11-libs/gtksourceview:2.0
|
||||
x11-libs/pango"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog README )
|
||||
|
||||
src_prepare() {
|
||||
strip-linguas ${LANGS}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Gummi >=0.4.8 supports spell-checking through gtkspell. Support for"
|
||||
elog "additional languages can be added by installing myspell-** packages"
|
||||
elog "for your language of choice."
|
||||
}
|
@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/gummi/gummi-0.6.2.ebuild,v 1.1 2012/03/18 10:06:58 hwoarang Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit base eutils
|
||||
|
||||
DESCRIPTION="Simple LaTeX editor for GTK+"
|
||||
HOMEPAGE="http://gummi.midnightcoding.org"
|
||||
SRC_URI="http://dev.midnightcoding.org/attachments/download/258/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
LANGS="ar ca cs da de el es fr it nl pl pt pt_BR ro ru sv zh_TW"
|
||||
|
||||
for X in ${LANGS} ; do
|
||||
IUSE="${IUSE} linguas_${X}"
|
||||
done
|
||||
|
||||
RDEPEND="app-text/gtkspell:2
|
||||
>=dev-libs/glib-2.28.6
|
||||
dev-texlive/texlive-latex
|
||||
dev-texlive/texlive-latexextra
|
||||
>=x11-libs/gtk+-2.24:2
|
||||
x11-libs/gtksourceview:2.0"
|
||||
DEPEND="${RDEPEND}
|
||||
app-text/poppler[cairo]
|
||||
x11-libs/gtksourceview:2.0
|
||||
x11-libs/pango"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog README )
|
||||
|
||||
src_prepare() {
|
||||
strip-linguas ${LANGS}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Gummi >=0.4.8 supports spell-checking through gtkspell. Support for"
|
||||
elog "additional languages can be added by installing myspell-** packages"
|
||||
elog "for your language of choice."
|
||||
}
|
@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/gummi/gummi-0.6.3.ebuild,v 1.3 2012/05/02 08:40:26 jdhore Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit base eutils
|
||||
|
||||
DESCRIPTION="Simple LaTeX editor for GTK+"
|
||||
HOMEPAGE="http://gummi.midnightcoding.org"
|
||||
SRC_URI="http://dev.midnightcoding.org/attachments/download/263/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
LANGS="ar ca cs da de el es fr it nl pl pt pt_BR ro ru sv zh_CN zh_TW"
|
||||
|
||||
for X in ${LANGS} ; do
|
||||
IUSE="${IUSE} linguas_${X}"
|
||||
done
|
||||
|
||||
RDEPEND="app-text/gtkspell:2
|
||||
>=dev-libs/glib-2.28.6
|
||||
dev-texlive/texlive-latex
|
||||
dev-texlive/texlive-latexextra
|
||||
>=x11-libs/gtk+-2.24:2
|
||||
x11-libs/gtksourceview:2.0"
|
||||
DEPEND="${RDEPEND}
|
||||
app-text/poppler[cairo]
|
||||
x11-libs/gtksourceview:2.0
|
||||
x11-libs/pango"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog README )
|
||||
|
||||
src_prepare() {
|
||||
strip-linguas ${LANGS}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Gummi >=0.4.8 supports spell-checking through gtkspell. Support for"
|
||||
elog "additional languages can be added by installing myspell-** packages"
|
||||
elog "for your language of choice."
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST uemacs-4.0.15_p20110825.tar.bz2 148253 SHA256 01cec81facedf5472a33d8eac1e2cc4584144c2332647caeee04f5e97e7b5451 SHA512 1f530432914aaf3f7533664b043990e912c1c32fdf13a52e2ed17df26c3297597d65252820e8768680831c09381db3dc4bf72eee64d58e2d8ba7341eb94c2852 WHIRLPOOL 1d2bb6310592c72e1c0354162beda1190a013458415237836ef3f18236bc690a83ffc6e0dfaf7cdb2434d95e3db52e60a7e98051ff8fb4422cbcc2d4cc1e2db4
|
||||
DIST uemacs-4.0.15_p20120526.tar.bz2 148189 SHA256 595cc89a146bcc846656d99e6d2186d1777a767b423390c3273ad652fddc9762 SHA512 212d6c2a5f6b7e831ac4473f2a9b55972e7434c2c1e40f81c65af295d9c9bb1a9a8bd96c006387a0e143e5e250cc2588262d3dc68641672758ada9cc13742c6d WHIRLPOOL 3435970aa349e60aa6a78847b11d5a1263db791a2cddb3a33ab687e84add92a0d0d15bea857e848af7da5fb156b6c1f039e561952bfc51e42e57de46c40b59a4
|
||||
DIST uemacs-4.0.15_p20120816.tar.bz2 149235 SHA256 033f9394baf1501c14efc00233e41fdd6334086dba63eec87273a19d3b042e12 SHA512 fff509a335dd98cb74d5ae58dc9feab7e49fb5df2756071ce633e667535ac51c810ab933b99a6cc0a3b25d436e120e2edade843e1c1d83bc7908f194565b12ef WHIRLPOOL a8b7a54088db8aa2832a826598335110ea98c0950dc28c8928dbed16d1289082cd8c4cdba0968a805173990d83379de78cd6277f6eb4de1bacd71ad8f9e0658b
|
||||
|
@ -0,0 +1,72 @@
|
||||
From 02d2bd5d57812154cfb978bc2098cf49d551583d Mon Sep 17 00:00:00 2001
|
||||
From: "Richard W.M. Jones" <rjones@redhat.com>
|
||||
Date: Thu, 5 Jul 2012 03:32:44 +0000
|
||||
Subject: [PATCH] Replace 'struct siginfo' with 'siginfo_t'.
|
||||
|
||||
glibc 2.16 will remove the undocumented definition of 'struct siginfo'
|
||||
from <bits/siginfo.h>.
|
||||
|
||||
This change is already present in glibc 2.15.90, so qemu compilation
|
||||
of certain targets (eg. cris-user) breaks.
|
||||
|
||||
This struct was always typedef'd to be the same as 'siginfo_t' which
|
||||
is what POSIX documents, so use that instead.
|
||||
|
||||
Signed-off-by: Richard W.M. Jones <rjones@redhat.com>
|
||||
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
|
||||
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
|
||||
---
|
||||
linux-user/signal.c | 8 ++++----
|
||||
user-exec.c | 2 +-
|
||||
2 files changed, 5 insertions(+), 5 deletions(-)
|
||||
|
||||
diff --git a/linux-user/signal.c b/linux-user/signal.c
|
||||
index 97f30d9..9be5ac0 100644
|
||||
--- a/linux-user/signal.c
|
||||
+++ b/linux-user/signal.c
|
||||
@@ -2849,7 +2849,7 @@ static void setup_rt_frame(int sig, struct target_sigaction *ka,
|
||||
* Arguments to signal handler:
|
||||
*
|
||||
* a0 = signal number
|
||||
- * a1 = pointer to struct siginfo
|
||||
+ * a1 = pointer to siginfo_t
|
||||
* a2 = pointer to struct ucontext
|
||||
*
|
||||
* $25 and PC point to the signal handler, $29 points to the
|
||||
@@ -3255,7 +3255,7 @@ struct target_signal_frame {
|
||||
};
|
||||
|
||||
struct rt_signal_frame {
|
||||
- struct siginfo info;
|
||||
+ siginfo_t info;
|
||||
struct ucontext uc;
|
||||
uint32_t tramp[2];
|
||||
};
|
||||
@@ -3474,9 +3474,9 @@ struct target_signal_frame {
|
||||
};
|
||||
|
||||
struct rt_signal_frame {
|
||||
- struct siginfo *pinfo;
|
||||
+ siginfo_t *pinfo;
|
||||
void *puc;
|
||||
- struct siginfo info;
|
||||
+ siginfo_t info;
|
||||
struct ucontext uc;
|
||||
uint8_t retcode[8]; /* Trampoline code. */
|
||||
};
|
||||
diff --git a/user-exec.c b/user-exec.c
|
||||
index b2a4261..1a9c276 100644
|
||||
--- a/user-exec.c
|
||||
+++ b/user-exec.c
|
||||
@@ -588,7 +588,7 @@ int cpu_signal_handler(int host_signum, void *pinfo,
|
||||
int cpu_signal_handler(int host_signum, void *pinfo,
|
||||
void *puc)
|
||||
{
|
||||
- struct siginfo *info = pinfo;
|
||||
+ siginfo_t *info = pinfo;
|
||||
struct ucontext *uc = puc;
|
||||
unsigned long pc = uc->uc_mcontext.sc_iaoq[0];
|
||||
uint32_t insn = *(uint32_t *)pc;
|
||||
--
|
||||
1.7.9.7
|
||||
|
@ -0,0 +1,255 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu/qemu-1.1.1.ebuild,v 1.1 2012/08/18 18:51:35 vapier Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
EGIT_REPO_URI="git://git.qemu.org/qemu.git
|
||||
http://git.qemu.org/git/qemu.git"
|
||||
GIT_ECLASS="git-2"
|
||||
fi
|
||||
|
||||
inherit eutils flag-o-matic ${GIT_ECLASS} linux-info toolchain-funcs python
|
||||
|
||||
if [[ ${PV} != *9999* ]]; then
|
||||
SRC_URI="http://wiki.qemu.org/download/${P}-1.tar.bz2"
|
||||
# Pending review
|
||||
#KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="QEMU emulator and ABI wrapper"
|
||||
HOMEPAGE="http://www.qemu.org"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="+aio alsa bluetooth brltty curl fdt hardened jpeg kvm ncurses nss
|
||||
opengl png pulseaudio qemu-ifup rbd sasl sdl spice ssl static threads usbredir vde
|
||||
+vhost-net xattr xen xfs"
|
||||
|
||||
COMMON_TARGETS="i386 x86_64 alpha arm cris m68k microblaze microblazeel mips mipsel ppc ppc64 sh4 sh4eb sparc sparc64 s390x"
|
||||
IUSE_SOFTMMU_TARGETS="${COMMON_TARGETS} lm32 mips64 mips64el ppcemb xtensa xtensaeb"
|
||||
IUSE_USER_TARGETS="${COMMON_TARGETS} armeb ppc64abi32 sparc32plus unicore32"
|
||||
|
||||
for target in ${IUSE_SOFTMMU_TARGETS}; do
|
||||
IUSE="${IUSE} +qemu_softmmu_targets_${target}"
|
||||
done
|
||||
|
||||
for target in ${IUSE_USER_TARGETS}; do
|
||||
IUSE="${IUSE} +qemu_user_targets_${target}"
|
||||
done
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
!app-emulation/qemu-kvm
|
||||
!app-emulation/qemu-user
|
||||
>=dev-libs/glib-2.0
|
||||
sys-apps/pciutils
|
||||
>=sys-apps/util-linux-2.16.0
|
||||
sys-libs/zlib
|
||||
aio? ( dev-libs/libaio )
|
||||
alsa? ( >=media-libs/alsa-lib-1.0.13 )
|
||||
bluetooth? ( net-wireless/bluez )
|
||||
brltty? ( app-accessibility/brltty )
|
||||
curl? ( net-misc/curl )
|
||||
fdt? ( >=sys-apps/dtc-1.2.0 )
|
||||
jpeg? ( virtual/jpeg )
|
||||
ncurses? ( sys-libs/ncurses )
|
||||
nss? ( dev-libs/nss )
|
||||
opengl? (
|
||||
virtual/opengl
|
||||
x11-libs/libX11
|
||||
)
|
||||
png? ( media-libs/libpng )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
qemu-ifup? (
|
||||
sys-apps/iproute2
|
||||
net-misc/bridge-utils
|
||||
)
|
||||
rbd? ( sys-cluster/ceph )
|
||||
sasl? ( dev-libs/cyrus-sasl )
|
||||
sdl? ( >=media-libs/libsdl-1.2.11[X] )
|
||||
spice? (
|
||||
>=app-emulation/spice-0.9.0
|
||||
>=app-emulation/spice-protocol-0.8.1
|
||||
)
|
||||
ssl? ( net-libs/gnutls )
|
||||
usbredir? ( sys-apps/usbredir )
|
||||
vde? ( net-misc/vde )
|
||||
xattr? ( sys-apps/attr )
|
||||
xen? ( app-emulation/xen-tools )
|
||||
xfs? ( sys-fs/xfsprogs )
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
app-text/texi2html
|
||||
virtual/pkgconfig
|
||||
>=sys-kernel/linux-headers-2.6.35
|
||||
"
|
||||
|
||||
# alpha ELF binary. don't let portage mess with it
|
||||
STRIP_MASK="usr/share/qemu/palcode-clipper"
|
||||
|
||||
QA_PRESTRIPPED="
|
||||
usr/share/qemu/openbios-ppc
|
||||
usr/share/qemu/openbios-sparc64
|
||||
usr/share/qemu/openbios-sparc32
|
||||
usr/share/qemu/palcode-clipper
|
||||
"
|
||||
# keep sorted
|
||||
QA_WX_LOAD="${QA_PRESTRIPPED}
|
||||
usr/bin/qemu-alpha
|
||||
usr/bin/qemu-arm
|
||||
usr/bin/qemu-armeb
|
||||
usr/bin/qemu-cris
|
||||
usr/bin/qemu-i386
|
||||
usr/bin/qemu-m68k
|
||||
usr/bin/qemu-microblaze
|
||||
usr/bin/qemu-microblazeel
|
||||
usr/bin/qemu-mips
|
||||
usr/bin/qemu-mipsel
|
||||
usr/bin/qemu-ppc
|
||||
usr/bin/qemu-ppc64
|
||||
usr/bin/qemu-ppc64abi32
|
||||
usr/bin/qemu-sh4
|
||||
usr/bin/qemu-sh4eb
|
||||
usr/bin/qemu-sparc
|
||||
usr/bin/qemu-sparc32plus
|
||||
usr/bin/qemu-sparc64
|
||||
usr/bin/qemu-s390x
|
||||
usr/bin/qemu-unicore32
|
||||
usr/bin/qemu-x86_64
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
use qemu_softmmu_targets_x86_64 || ewarn "You disabled default target QEMU_SOFTMMU_TARGETS=x86_64"
|
||||
|
||||
use kvm && ewarn "You have enabled USE=kvm feature. Please consider using app-emulation/qemu-kvm"
|
||||
|
||||
python_set_active_version 2
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-1.0.1-siginfo.patch
|
||||
|
||||
# prevent docs to get automatically installed
|
||||
sed -i '/$(DESTDIR)$(docdir)/d' Makefile || die
|
||||
|
||||
# Fix underlinking.
|
||||
# Fault reproducer: USE=nss QEMU_SOFTMMU_TARGETS=lm32 QEMU_USER_TARGETS=
|
||||
sed -i 's/opengl_libs="-lGL"/opengl_libs="-lGL -lX11"/' configure || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local conf_opts audio_opts user_targets
|
||||
|
||||
for target in ${IUSE_SOFTMMU_TARGETS} ; do
|
||||
use "qemu_softmmu_targets_${target}" && \
|
||||
softmmu_targets="${softmmu_targets} ${target}-softmmu"
|
||||
done
|
||||
|
||||
for target in ${IUSE_USER_TARGETS} ; do
|
||||
use "qemu_user_targets_${target}" && \
|
||||
user_targets="${user_targets} ${target}-linux-user"
|
||||
done
|
||||
|
||||
if [[ -z ${softmmu_targets} ]]; then
|
||||
conf_opts="${conf_opts} --disable-system"
|
||||
else
|
||||
einfo "Building the following softmmu targets: ${softmmu_targets}"
|
||||
fi
|
||||
|
||||
if [[ -n ${user_targets} ]]; then
|
||||
einfo "Building the following user targets: ${user_targets}"
|
||||
conf_opts="${conf_opts} --enable-linux-user"
|
||||
else
|
||||
conf_opts="${conf_opts} --disable-linux-user"
|
||||
fi
|
||||
|
||||
# Fix QA issues. QEMU needs executable heaps and we need to mark it as such
|
||||
conf_opts="${conf_opts} --extra-ldflags=-Wl,-z,execheap"
|
||||
|
||||
# drop '-g' by default as it tends to eat
|
||||
# A LOT (~2GB) of ram for each job #355861
|
||||
conf_opts="${conf_opts} --disable-debug-info"
|
||||
|
||||
# Add support for static builds
|
||||
use static && conf_opts="${conf_opts} --static"
|
||||
|
||||
#config options
|
||||
conf_opts="${conf_opts}
|
||||
$(use_enable aio linux-aio)
|
||||
$(use_enable bluetooth bluez)
|
||||
$(use_enable brltty brlapi)
|
||||
$(use_enable curl)
|
||||
$(use_enable fdt)
|
||||
$(use_enable hardened pie)
|
||||
$(use_enable jpeg vnc-jpeg)
|
||||
$(use_enable ncurses curses)
|
||||
$(use_enable nss smartcard-nss)
|
||||
$(use_enable opengl)
|
||||
$(use_enable png vnc-png)
|
||||
$(use_enable rbd)
|
||||
$(use_enable sasl vnc-sasl)
|
||||
$(use_enable sdl)
|
||||
$(use_enable spice)
|
||||
$(use_enable ssl vnc-tls)
|
||||
$(use_enable threads vnc-thread)
|
||||
$(use_enable vde)
|
||||
$(use_enable vhost-net)
|
||||
$(use_enable xen)
|
||||
$(use_enable xattr attr)
|
||||
$(use_enable xfs xfsctl)
|
||||
--disable-bsd-user
|
||||
"
|
||||
|
||||
# audio options
|
||||
audio_opts="oss"
|
||||
use alsa && audio_opts="alsa ${audio_opts}"
|
||||
use pulseaudio && audio_opts="pa ${audio_opts}"
|
||||
use sdl && audio_opts="sdl ${audio_opts}"
|
||||
|
||||
set -- --prefix="${EPREFIX}"/usr \
|
||||
--sysconfdir="${EPREFIX}"/etc \
|
||||
--disable-strip \
|
||||
--disable-werror \
|
||||
$(use_enable kvm) \
|
||||
--disable-libiscsi \
|
||||
--enable-nptl \
|
||||
--enable-uuid \
|
||||
${conf_opts} \
|
||||
--audio-card-list="ac97 es1370 sb16 cs4231a adlib gus hda" \
|
||||
--audio-drv-list="${audio_opts}" \
|
||||
--target-list="${softmmu_targets} ${user_targets}" \
|
||||
--cc="$(tc-getCC)" \
|
||||
--host-cc="$(tc-getBUILD_CC)"
|
||||
|
||||
echo ./configure "$@" # show actual options
|
||||
./configure "$@" || die "configure failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "make install failed"
|
||||
|
||||
if [[ -n ${softmmu_targets} ]]; then
|
||||
if use qemu-ifup; then
|
||||
exeinto /etc/qemu
|
||||
doexe "${FILESDIR}"/qemu-if{up,down}
|
||||
fi
|
||||
fi
|
||||
|
||||
dodoc Changelog MAINTAINERS TODO pci-ids.txt
|
||||
newdoc pc-bios/README README.pc-bios
|
||||
dohtml qemu-doc.html qemu-tech.html
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use qemu-ifup || return
|
||||
elog "You will need the Universal TUN/TAP driver compiled into your"
|
||||
elog "kernel or loaded as a module to use the virtual network device"
|
||||
elog "if using -net tap. You will also need support for 802.1d"
|
||||
elog "Ethernet Bridging and a configured bridge if using the provided"
|
||||
elog "qemu-ifup script from /etc/qemu."
|
||||
echo
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST spice-vdagent-0.10.1.tar.bz2 107250 RMD160 818b923c5f61aa1e0d0d5875dd33d3398dbea76b SHA1 237ecdd441ca8a977c88cf4b54942b5b9f5cfcf3 SHA256 cea0db6f2def79a96876d0921f2a6234875797c68a8143d24cf9af8cc01361db
|
||||
DIST spice-vdagent-0.10.1.tar.bz2 107250 SHA256 cea0db6f2def79a96876d0921f2a6234875797c68a8143d24cf9af8cc01361db
|
||||
DIST spice-vdagent-0.8.1.tar.bz2 98437 SHA256 99ec232805a6201da78d409e6f874ff0aa6bb25e7ffe623aa77752539ae7d7ff SHA512 45c2b94dc66dd2061b57cfe90d7b900fd095fa067c6bca560ecc300979953e8c37b63e8cbdb4683275a1cc084512aa97e1125bbb17e39a6966387e4f1be2c178 WHIRLPOOL 1cfeabc97f4c1fd9e42a9ad849916f04d9f4f640a586158c3d8b2ab3b9449f6e1cf8acba196a9e684a1499404747971fa82ad922bd50e87c257526d67468a85f
|
||||
|
@ -0,0 +1,13 @@
|
||||
diff --git a/unix/fbiterm/src/Makefile.am b/unix/fbiterm/src/Makefile.am
|
||||
index 4ffe3da..53f12f4 100644
|
||||
--- a/unix/fbiterm/src/Makefile.am
|
||||
+++ b/unix/fbiterm/src/Makefile.am
|
||||
@@ -17,7 +17,7 @@ fbiterm_SOURCES = \
|
||||
fbiterm_LDADD = \
|
||||
-L$(libdir) @X_LIBS@ -lm -lXfont -literm -lfreetype
|
||||
|
||||
-CFLAGS = -I$(includedir) @X_CFLAGS@ -I$(top_srcdir)/include -I/usr/local/include $(EXTRA_CFLAGS)
|
||||
+CFLAGS += -I$(includedir) @X_CFLAGS@ -I$(top_srcdir)/include -I/usr/local/include $(EXTRA_CFLAGS)
|
||||
|
||||
install-exec-hook:
|
||||
chmod u+s $(DESTDIR)$(bindir)/fbiterm
|
@ -1 +1,2 @@
|
||||
DIST opencc-0.2.0.tar.gz 496313 SHA256 fc4b3203482c7e5ad5c887dc08f83cd1d0e0c1fd1bdd9ec48672ca89bfe2a424 SHA512 46c03a1605b8c464d8836bfa6e69fef1d1978102aa6a75ab75c9546635da91223bb26412639869a1f7fc3f8db1f4ebd12645c53d07cb1375605dbb42c7e4524a WHIRLPOOL 98675c15579e573633f68e9c73a83164a3bd0ebb82b7b92dd31dfddda4a6cd3c81dd4cbd5fd775021b29e7c543952bf2206c2c00257fdc11f91754f56a969e9b
|
||||
DIST opencc-0.3.0_pre20120819.tar.xz 363528 SHA256 3ed46594547b86f1326b07c3ea910148b1c58b74c9d21c8d4e11ec30e2254fae SHA512 0ca231b5fd7b314111a76bfaa8e288fc2d43e02dbbb2a7c7e9312c1f1f0aed1a0d3b67b04b0cc3634d1b48b8fe6983e6219db053f3a2114abadec1af00b9f8d5 WHIRLPOOL 268d331479bffefdc6e1f58600422a36a32abb7d4dd873eeb216977daca05f4a4775ca547bb301bc16ea8fc702ef04cfd5d8f88c90d10e224a585575129e67c6
|
||||
|
@ -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/app-i18n/opencc/opencc-0.3.0_pre20120819.ebuild,v 1.2 2012/08/19 08:46:39 scarabeus Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit cmake-utils multilib
|
||||
|
||||
DESCRIPTION="Libraries for Simplified-Traditional Chinese Conversion"
|
||||
HOMEPAGE="http://code.google.com/p/open-chinese-convert/"
|
||||
SRC_URI="http://dev.gentooexperimental.org/~scarabeus/${P}.tar.xz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc ~ppc64 x86"
|
||||
IUSE="+nls static-libs"
|
||||
|
||||
DEPEND="nls? ( sys-devel/gettext )"
|
||||
RDEPEND="nls? ( virtual/libintl )"
|
||||
|
||||
DOCS="AUTHORS README"
|
||||
|
||||
src_prepare() {
|
||||
sed -i \
|
||||
-e "s:\${CMAKE_\(SHARED\|STATIC\)_LIBRARY_PREFIX}:\"$(get_libdir)\":" \
|
||||
CMakeLists.txt || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
"$(cmake-utils_use_enable nls GETTEXT)"
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
|
||||
use static-libs || find "${ED}" -name '*.la' -o -name '*.a' -exec rm {} +
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST alexandria-0.6.7.tar.gz 3014178 SHA256 47991fc42884187974ac600b1b9db6f57546d4ea6af3ef0c125519d95bbd710b SHA512 d5c4a1151356c1b0edcac5cdb5a0d065ff54eb646d7a912b9bdb06bdae1ab7fb2adca74cf0bc738e14d2b011a9393000fe06335aa51d9d28b6b108a2ae4dec59 WHIRLPOOL 6406f3618f9c8604bd971ac0fccdef60cc06e8557c240a717ba0ff126a68da206c76e4c9f6167419ddafdff11e532ed3d6c8be2c65d82154ffeb129f3a57bc2d
|
||||
DIST alexandria-0.6.8.tar.gz 2888984 SHA256 d6bd9d6619a0bda5992a0df440404726c63cda57c49bfe0f57d5e21506866770 SHA512 c79ac6b5fc8425904894ff92e20b5351a34e28c223f2d24bf77bd218db3367c7b5cf8e1e63fd9d470b8f7f14b062ab4d854d08af11ea2828d5c879b95d4c0b08 WHIRLPOOL efa5b8c8e4a557fbd91d9cab8da58aaa5925a45d5d9230aa4eee8d84f8db0c0104e958c8c1d75c007b9633f60565822a9713453c9e50854c69da5f4b8a6c9b99
|
||||
DIST alexandria-0.6.9.tar.gz 3018518 SHA256 86c2039b147943dc0f23d28c2d5e7c29d35477566c93e606e65c46e70fde34e9 SHA512 d4a972d3a276bfd2ba36b7da6425230e16139f5a8f5174f059a6046f16fcc43299872f5082d87dc2b69d1c0b568ba652d4ab4d545a4b7c35a615ebd4e707dbd7 WHIRLPOOL 3962ed716e966ba6204b338cf6184c2e9b4a9e9c5df7d0101c2378e631f516cd69f3dd0d950900e7c6cede1ce157d7299c6e86b38127c522d6413885ff9aad77
|
||||
|
@ -1 +1,2 @@
|
||||
DIST emerge-delta-webrsync-3.5.1 13289 SHA256 663ce5e800dec988ba5e1bb283ca243205d1ebdc27e3d0c269e5c0bb198f7d4a SHA512 a19a39d21b2065d0d31f54cf983066a80b7ce24cbcceb51f9bfeeb83c4e31027048082f10f900144b67392bacc365de17e6c0a599fe1d6aff6ffde3970a1c72c WHIRLPOOL 05343ffa87aad99d59b6894d770c26f0afcca5313a67ccf667a82623a2f73edfe1f439a8c2cc043f625dfc5dabe30eaf3298a51cc28832e4f41ed0856d8ebd4d
|
||||
DIST emerge-delta-webrsync-3.6 16695 SHA256 2d6ad6920c90c133a0099e555fd61df8f74c1dd2715005da40c84f4eedaf69e9 SHA512 46c89c030410b9eee90d7d9a9c55bc67b69f46f6d4c3bd2eb4732d79bab324cf78aeae80a4d300f067c6f0dd8acb1f2b8c955650990147a92cbb5071f9e18748 WHIRLPOOL c4c940ccb4528deebaa6d023ad786fe78044ba189cdf409cf51ee1e2d6380ae3da979694281922cc67fdac0998be1e245d81437cdbb97722d304181b0c4fcefa
|
||||
|
@ -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/app-portage/emerge-delta-webrsync/emerge-delta-webrsync-3.6.ebuild,v 1.1 2012/08/19 06:15:17 zmedico Exp $
|
||||
|
||||
EAPI=4
|
||||
DESCRIPTION="emerge-webrsync using patches to minimize bandwidth"
|
||||
HOMEPAGE="http://www.gentoo.org/proj/en/portage/index.xml"
|
||||
SRC_URI="http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=blob_plain;f=misc/emerge-delta-webrsync;hb=604eb9bd43ec035c4e26197ab21cba33b4faa8f9 -> ${P}"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="
|
||||
app-shells/bash
|
||||
>=sys-apps/portage-2.1.10
|
||||
>=dev-util/diffball-0.6.5"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
src_unpack() {
|
||||
cp "${DISTDIR}/${P}" "${WORKDIR}/" || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
newbin ${P} ${PN} || die
|
||||
keepdir /var/delta-webrsync
|
||||
fperms 0770 /var/delta-webrsync
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
chgrp portage "${ED}"/var/delta-webrsync
|
||||
has_version "$CATEGORY/$PN"
|
||||
WAS_PREVIOUSLY_INSTALLED=$?
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ $WAS_PREVIOUSLY_INSTALLED != 0 ]] && \
|
||||
! has_version app-arch/tarsync ; then
|
||||
elog "For maximum emerge-delta-webrsync" \
|
||||
"performance, install app-arch/tarsync."
|
||||
fi
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST qpdf-2.3.1.tar.gz 4725246 SHA256 e1e687bbc0137e296c702daa5e2d804efce37c4edb48f2c27ae0dd0b43f99a40 SHA512 e184b8142252c961aadbfba460abe3a7dfdd89f56019512f7d1e9f5b09e6163a410c93302e43a1ad6cf2950dc6203fe4aec6b2bca7b71a89fedfd1367048e7ca WHIRLPOOL d67f292ecde3c1f29a526f3ee7867d4eb427f44e45c191d3fbe1219e9c0464b5902665ee93e46fbd36d938bc4c2093c6a563c5cf8878248bf0790fcffbbdb7c1
|
||||
DIST qpdf-3.0.0.tar.gz 4837191 SHA256 f662e7e4526ab2e91ce3457c23550f5f519d6b11c2a41ac231284f38856ac7af SHA512 2a3ff3c115835336839281423c18dc249cb458391ace08fb8dee02b0f939dfad33746c5f55800b62dcb90e38a2cdf8704f23d32f381de09763ccddaeb015ce68 WHIRLPOOL 3fbc91405d8266d2058586c42f9bc8ba391d152c971921c96628e3cd3dd12d8aa5d8031f7f501798be0f226a9a7145cd31ce24b83d1e316563150dfaaecfe26b
|
||||
DIST qpdf-3.0.1.tar.gz 4841926 SHA256 db65d6f4f0462d4793049afb7edf9ac9386fb8bdb51d10b5b88a004e1cc36bc6 SHA512 dcff4a66d8e7ca555ab59f5abba944a67a0d73dd32b48fcaf5152530750d7cff4d18bf9649a0b2057ab4cb0a85b20a5bb45b23c1c32a2038094094747e3a6834 WHIRLPOOL 82799491850cfb9e6a37e0b1447c90bd22a974a6b87c0e64271bc13d1b9bbd81a53ff0af86ba7aba01d744b2856e3741199b6f7e5ee324c213e120896823594f
|
||||
|
@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/qpdf/qpdf-3.0.1.ebuild,v 1.1 2012/08/19 07:01:40 radhermit Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
DESCRIPTION="A command-line program that does structural, content-preserving transformations on PDF files"
|
||||
HOMEPAGE="http://qpdf.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/qpdf/${P}.tar.gz"
|
||||
|
||||
LICENSE="Artistic-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc examples static-libs test"
|
||||
|
||||
RDEPEND="dev-libs/libpcre
|
||||
sys-libs/zlib
|
||||
>=dev-lang/perl-5.8"
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
sys-apps/diffutils
|
||||
media-libs/tiff
|
||||
app-text/ghostscript-gpl
|
||||
)"
|
||||
|
||||
DOCS=( ChangeLog README TODO )
|
||||
|
||||
src_prepare() {
|
||||
# Manually install docs
|
||||
sed -i -e "/docdir/d" make/libtool.mk || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable test test-compare-images)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
if use doc ; then
|
||||
dodoc doc/qpdf-manual.pdf
|
||||
dohtml doc/*
|
||||
fi
|
||||
|
||||
if use examples ; then
|
||||
dobin examples/build/.libs/*
|
||||
fi
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST hyperdex-0.4.0.tar.gz 1057524 SHA256 3ab0ffff461a39406e0ee4b16cfec9f05f06046356d4801ace4d86daad1253dc SHA512 760d2d1ebb4486d2550847bc2d2365166dee6af7f2d3406395956de1ef881fbba68504a119001a84ee48ade70282dbad39481004f84833677a0bc32e02741ee7 WHIRLPOOL 553544bf25b68a2029945da59ba185fca66e5f2ab776d8f01971ccb9bf6a9562de250ec92ece21543a6086f73ac4cd664539bdb63d6e870b8ef2736ca693ec7c
|
@ -0,0 +1,4 @@
|
||||
# /etc/conf.d/hyperdex: config file for /etc/init.d/hyperdex
|
||||
|
||||
# see documentation for HyperDex for help
|
||||
#HYPERDEX_OPTS=""
|
@ -0,0 +1,11 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/hyperdex/files/hyperdex.initd,v 1.1 2012/08/18 14:22:54 patrick Exp $
|
||||
|
||||
command="/usr/bin/hyperdex-daemon"
|
||||
command_args="--daemon ${HYPERDEX_OPTS}"
|
||||
|
||||
depend() {
|
||||
use net
|
||||
}
|
@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/hyperdex/hyperdex-0.4.0.ebuild,v 1.2 2012/08/18 15:09:35 patrick Exp $
|
||||
EAPI=4
|
||||
|
||||
inherit eutils python
|
||||
|
||||
DESCRIPTION="A searchable distributed Key-Value Store"
|
||||
|
||||
HOMEPAGE="http://hyperdex.org"
|
||||
SRC_URI="http://hyperdex.org/src/${P}.tar.gz"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
IUSE="trace-player +python"
|
||||
# need to add coverage and java useflags too
|
||||
|
||||
DEPEND="dev-cpp/glog
|
||||
dev-libs/cityhash
|
||||
dev-libs/libpo6
|
||||
dev-libs/libe
|
||||
dev-libs/busybee
|
||||
dev-libs/popt
|
||||
trace-player? ( dev-libs/libbsd )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
# file has moved
|
||||
sed -i -e 's:vis.h:bsd/vis.h:' trace-player.cc || die "Failed to fix include file path"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable trace-player)
|
||||
$(use_enable python)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "Failed to install"
|
||||
newinitd "${FILESDIR}/hyperdex.initd" hyperdex || die "Failed to install init script"
|
||||
newconfd "${FILESDIR}/hyperdex.confd" hyperdex || die "Failed to install config file"
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>patrick@gentoo.org</email>
|
||||
<name>Patrick Lauer</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name='trace-player'>Build a primitive trace-replay tool</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1,393 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/php/php-5.3.16-r1.ebuild,v 1.2 2012/08/19 08:28:43 olemarkus Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
PHPCONFUTILS_MISSING_DEPS="adabas birdstep db2 dbmaker empress empress-bcs esoob interbase oci8 sapdb solid"
|
||||
|
||||
RESTRICT="mirror"
|
||||
|
||||
inherit eutils autotools flag-o-matic versionator depend.apache apache-module db-use libtool
|
||||
|
||||
SUHOSIN_VERSION="5.3.9-0.9.10"
|
||||
FPM_VERSION="builtin"
|
||||
EXPECTED_TEST_FAILURES=""
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd"
|
||||
|
||||
function php_get_uri ()
|
||||
{
|
||||
case "${1}" in
|
||||
"php-pre")
|
||||
echo "http://downloads.php.net/johannes/${2}"
|
||||
;;
|
||||
"php")
|
||||
echo "http://www.php.net/distributions/${2}"
|
||||
;;
|
||||
"suhosin")
|
||||
echo "http://download.suhosin.org/${2}"
|
||||
;;
|
||||
"olemarkus")
|
||||
echo "http://dev.gentoo.org/~olemarkus/php/${2}"
|
||||
;;
|
||||
"gentoo")
|
||||
echo "mirror://gentoo/${2}"
|
||||
;;
|
||||
*)
|
||||
die "unhandled case in php_get_uri"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
PHP_MV="$(get_major_version)"
|
||||
|
||||
# alias, so we can handle different types of releases (finals, rcs, alphas,
|
||||
# betas, ...) w/o changing the whole ebuild
|
||||
PHP_PV="${PV/_rc/RC}"
|
||||
PHP_RELEASE="php"
|
||||
PHP_P="${PN}-${PHP_PV}"
|
||||
|
||||
PHP_PATCHSET_LOC="olemarkus"
|
||||
|
||||
PHP_SRC_URI="$(php_get_uri "${PHP_RELEASE}" "${PHP_P}.tar.bz2")"
|
||||
|
||||
PHP_PATCHSET="0"
|
||||
PHP_PATCHSET_URI="
|
||||
$(php_get_uri "${PHP_PATCHSET_LOC}" "php-patchset-${PV}-r${PHP_PATCHSET}.tar.bz2")"
|
||||
|
||||
PHP_FPM_INIT_VER="4"
|
||||
PHP_FPM_CONF_VER="1"
|
||||
|
||||
if [[ ${SUHOSIN_VERSION} == *-gentoo ]]; then
|
||||
# in some cases we use our own suhosin patch (very recent version,
|
||||
# patch conflicts, etc.)
|
||||
SUHOSIN_TYPE="olemarkus"
|
||||
else
|
||||
SUHOSIN_TYPE="suhosin"
|
||||
fi
|
||||
|
||||
if [[ -n ${SUHOSIN_VERSION} ]]; then
|
||||
SUHOSIN_PATCH="suhosin-patch-${SUHOSIN_VERSION}.patch";
|
||||
SUHOSIN_URI="$(php_get_uri ${SUHOSIN_TYPE} ${SUHOSIN_PATCH}.gz )"
|
||||
fi
|
||||
|
||||
SRC_URI="
|
||||
${PHP_SRC_URI}
|
||||
${PHP_PATCHSET_URI}"
|
||||
|
||||
if [[ -n ${SUHOSIN_VERSION} ]]; then
|
||||
SRC_URI="${SRC_URI}
|
||||
suhosin? ( ${SUHOSIN_URI} )"
|
||||
fi
|
||||
|
||||
DESCRIPTION="The PHP language runtime engine: CLI, CGI, FPM/FastCGI, Apache2 and embed SAPIs."
|
||||
HOMEPAGE="http://php.net/"
|
||||
LICENSE="PHP-3"
|
||||
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
S="${WORKDIR}/${PHP_P}"
|
||||
|
||||
# We can build the following SAPIs in the given order
|
||||
SAPIS="embed cli cgi fpm apache2"
|
||||
|
||||
# Gentoo-specific, common features
|
||||
IUSE="kolab"
|
||||
|
||||
# SAPIs and SAPI-specific USE flags (cli SAPI is default on):
|
||||
IUSE="${IUSE}
|
||||
${SAPIS/cli/+cli}
|
||||
threads"
|
||||
|
||||
IUSE="${IUSE} bcmath berkdb bzip2 calendar cdb cjk
|
||||
crypt +ctype curl curlwrappers debug doc
|
||||
enchant exif frontbase +fileinfo +filter firebird
|
||||
flatfile ftp gd gdbm gmp +hash +iconv imap inifile
|
||||
intl iodbc ipv6 +json kerberos ldap ldap-sasl libedit mhash
|
||||
mssql mysql mysqlnd mysqli nls
|
||||
oci8-instant-client odbc pcntl pdo +phar pic +posix postgres qdbm
|
||||
readline recode selinux +session sharedmem
|
||||
+simplexml snmp soap sockets spell sqlite sqlite3 ssl
|
||||
sybase-ct sysvipc tidy +tokenizer truetype unicode wddx
|
||||
+xml xmlreader xmlwriter xmlrpc xpm xsl zip zlib"
|
||||
|
||||
# Enable suhosin if available
|
||||
[[ -n $SUHOSIN_VERSION ]] && IUSE="${IUSE} suhosin"
|
||||
|
||||
DEPEND="!dev-lang/php:5
|
||||
>=app-admin/eselect-php-0.6.2
|
||||
>=dev-libs/libpcre-8.12[unicode]
|
||||
apache2? ( www-servers/apache[threads=] )
|
||||
berkdb? ( =sys-libs/db-4* )
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
cdb? ( || ( dev-db/cdb dev-db/tinycdb ) )
|
||||
cjk? ( !gd? (
|
||||
virtual/jpeg
|
||||
media-libs/libpng
|
||||
sys-libs/zlib
|
||||
) )
|
||||
crypt? ( >=dev-libs/libmcrypt-2.4 )
|
||||
curl? ( >=net-misc/curl-7.10.5 )
|
||||
enchant? ( app-text/enchant )
|
||||
exif? ( !gd? (
|
||||
virtual/jpeg
|
||||
media-libs/libpng
|
||||
sys-libs/zlib
|
||||
) )
|
||||
firebird? ( dev-db/firebird )
|
||||
gd? ( virtual/jpeg media-libs/libpng sys-libs/zlib )
|
||||
gdbm? ( >=sys-libs/gdbm-1.8.0 )
|
||||
gmp? ( >=dev-libs/gmp-4.1.2 )
|
||||
iconv? ( virtual/libiconv )
|
||||
imap? ( virtual/imap-c-client[ssl=] )
|
||||
intl? ( dev-libs/icu )
|
||||
iodbc? ( dev-db/libiodbc )
|
||||
kerberos? ( virtual/krb5 )
|
||||
kolab? ( >=net-libs/c-client-2004g-r1 )
|
||||
ldap? ( >=net-nds/openldap-1.2.11 )
|
||||
ldap-sasl? ( dev-libs/cyrus-sasl >=net-nds/openldap-1.2.11 )
|
||||
libedit? ( || ( sys-freebsd/freebsd-lib dev-libs/libedit ) )
|
||||
mssql? ( dev-db/freetds[mssql] )
|
||||
!mysqlnd? (
|
||||
mysql? ( virtual/mysql )
|
||||
mysqli? ( >=virtual/mysql-4.1 )
|
||||
)
|
||||
nls? ( sys-devel/gettext )
|
||||
oci8-instant-client? ( dev-db/oracle-instantclient-basic )
|
||||
odbc? ( >=dev-db/unixODBC-1.8.13 )
|
||||
postgres? ( dev-db/postgresql-base )
|
||||
qdbm? ( dev-db/qdbm )
|
||||
readline? ( sys-libs/readline )
|
||||
recode? ( app-text/recode )
|
||||
sharedmem? ( dev-libs/mm )
|
||||
simplexml? ( >=dev-libs/libxml2-2.6.8 )
|
||||
snmp? ( >=net-analyzer/net-snmp-5.2 )
|
||||
soap? ( >=dev-libs/libxml2-2.6.8 )
|
||||
spell? ( >=app-text/aspell-0.50 )
|
||||
sqlite? ( =dev-db/sqlite-2* pdo? ( >=dev-db/sqlite-3.7.7.1 ) )
|
||||
sqlite3? ( >=dev-db/sqlite-3.7.7.1 )
|
||||
ssl? ( >=dev-libs/openssl-0.9.7 )
|
||||
sybase-ct? ( dev-db/freetds )
|
||||
tidy? ( app-text/htmltidy )
|
||||
truetype? (
|
||||
=media-libs/freetype-2*
|
||||
>=media-libs/t1lib-5.0.0
|
||||
!gd? (
|
||||
virtual/jpeg media-libs/libpng sys-libs/zlib )
|
||||
)
|
||||
unicode? ( dev-libs/oniguruma )
|
||||
wddx? ( >=dev-libs/libxml2-2.6.8 )
|
||||
xml? ( >=dev-libs/libxml2-2.6.8 )
|
||||
xmlrpc? ( >=dev-libs/libxml2-2.6.8 virtual/libiconv )
|
||||
xmlreader? ( >=dev-libs/libxml2-2.6.8 )
|
||||
xmlwriter? ( >=dev-libs/libxml2-2.6.8 )
|
||||
xpm? (
|
||||
x11-libs/libXpm
|
||||
virtual/jpeg
|
||||
media-libs/libpng sys-libs/zlib
|
||||
)
|
||||
xsl? ( dev-libs/libxslt >=dev-libs/libxml2-2.6.8 )
|
||||
zip? ( sys-libs/zlib )
|
||||
zlib? ( sys-libs/zlib )
|
||||
virtual/mta
|
||||
"
|
||||
|
||||
php="=${CATEGORY}/${PF}"
|
||||
|
||||
REQUIRED_USE="
|
||||
truetype? ( gd )
|
||||
cjk? ( gd )
|
||||
exif? ( gd )
|
||||
|
||||
xpm? ( gd )
|
||||
gd? ( zlib )
|
||||
simplexml? ( xml )
|
||||
soap? ( xml )
|
||||
wddx? ( xml )
|
||||
xmlrpc? ( || ( xml iconv ) )
|
||||
xmlreader? ( xml )
|
||||
xsl? ( xml )
|
||||
ldap-sasl? ( ldap )
|
||||
kolab? ( imap )
|
||||
mhash? ( hash )
|
||||
phar? ( hash )
|
||||
mysqlnd? ( || (
|
||||
mysql
|
||||
mysqli
|
||||
pdo
|
||||
) )
|
||||
|
||||
qdbm? ( !gdbm )
|
||||
readline? ( !libedit )
|
||||
recode? ( !imap !mysql !mysqli )
|
||||
sharedmem? ( !threads )
|
||||
|
||||
!cli? ( !cgi? ( !fpm? ( !apache2? ( !embed? ( cli ) ) ) ) )"
|
||||
|
||||
DEPEND="${DEPEND}
|
||||
enchant? ( !dev-php5/pecl-enchant )
|
||||
fileinfo? ( !<dev-php5/pecl-fileinfo-1.0.4-r2 )
|
||||
filter? ( !dev-php5/pecl-filter )
|
||||
json? ( !dev-php5/pecl-json )
|
||||
phar? ( !dev-php5/pecl-phar )
|
||||
zip? ( !dev-php5/pecl-zip )"
|
||||
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
[[ -n $SUHOSIN_VERSION ]] && RDEPEND="${RDEPEND} suhosin? ( =${CATEGORY}/${PN}-${SLOT}*[unicode] )"
|
||||
|
||||
RDEPEND="${RDEPEND} fpm? ( selinux? ( sec-policy/selinux-phpfpm ) )"
|
||||
|
||||
DEPEND="${DEPEND}
|
||||
sys-devel/flex
|
||||
>=sys-devel/m4-1.4.3
|
||||
>=sys-devel/libtool-1.5.18"
|
||||
|
||||
# They are in PDEPEND because we need PHP installed first!
|
||||
PDEPEND="doc? ( app-doc/php-docs )"
|
||||
|
||||
# No longer depend on the extension. The suhosin USE flag only installs the
|
||||
# patch
|
||||
#[[ -n $SUHOSIN_VERSION ]] && PDEPEND="${PDEPEND} suhosin? ( dev-php${PHP_MV}/suhosin )"
|
||||
|
||||
# Allow users to install production version if they want to
|
||||
|
||||
case "${PHP_INI_VERSION}" in
|
||||
production|development)
|
||||
;;
|
||||
*)
|
||||
PHP_INI_VERSION="development"
|
||||
;;
|
||||
esac
|
||||
|
||||
PHP_INI_UPSTREAM="php.ini-${PHP_INI_VERSION}"
|
||||
PHP_INI_FILE="php.ini"
|
||||
|
||||
want_apache
|
||||
|
||||
# eblit-core
|
||||
# Usage: <function> [version] [eval]
|
||||
# Main eblit engine
|
||||
eblit-core() {
|
||||
[[ -z $FILESDIR ]] && FILESDIR="$(dirname $EBUILD)/files"
|
||||
local e v func=$1 ver=$2 eval_=$3
|
||||
for v in ${ver:+-}${ver} -${PVR} -${PV} "" ; do
|
||||
e="${FILESDIR}/eblits/${func}${v}.eblit"
|
||||
if [[ -e ${e} ]] ; then
|
||||
. "${e}"
|
||||
[[ ${eval_} == 1 ]] && eval "${func}() { eblit-run ${func} ${ver} ; }"
|
||||
return 0
|
||||
fi
|
||||
done
|
||||
return 1
|
||||
}
|
||||
|
||||
# eblit-include
|
||||
# Usage: [--skip] <function> [version]
|
||||
# Includes an "eblit" -- a chunk of common code among ebuilds in a given
|
||||
# package so that its functions can be sourced and utilized within the
|
||||
# ebuild.
|
||||
eblit-include() {
|
||||
local skipable=false r=0
|
||||
[[ $1 == "--skip" ]] && skipable=true && shift
|
||||
[[ $1 == pkg_* ]] && skipable=true
|
||||
|
||||
[[ -z $1 ]] && die "Usage: eblit-include <function> [version]"
|
||||
eblit-core $1 $2
|
||||
r="$?"
|
||||
${skipable} && return 0
|
||||
[[ "$r" -gt "0" ]] && die "Could not locate requested eblit '$1' in ${FILESDIR}/eblits/"
|
||||
}
|
||||
|
||||
# eblit-run-maybe
|
||||
# Usage: <function>
|
||||
# Runs a function if it is defined in an eblit
|
||||
eblit-run-maybe() {
|
||||
[[ $(type -t "$@") == "function" ]] && "$@"
|
||||
}
|
||||
|
||||
# eblit-run
|
||||
# Usage: <function> [version]
|
||||
# Runs a function defined in an eblit
|
||||
eblit-run() {
|
||||
eblit-include --skip common "v2"
|
||||
eblit-include "$@"
|
||||
eblit-run-maybe eblit-$1-pre
|
||||
eblit-${PN}-$1
|
||||
eblit-run-maybe eblit-$1-post
|
||||
}
|
||||
|
||||
# eblit-pkg
|
||||
# Usage: <phase> [version]
|
||||
# Includes the given functions AND evals them so they're included in the binpkgs
|
||||
eblit-pkg() {
|
||||
[[ -z $1 ]] && die "Usage: eblit-pkg <phase> [version]"
|
||||
eblit-core $1 $2 1
|
||||
}
|
||||
|
||||
eblit-pkg pkg_setup v3
|
||||
|
||||
src_prepare() { eblit-run src_prepare v3 ; }
|
||||
src_configure() { eblit-run src_configure v53 ; }
|
||||
src_compile() { eblit-run src_compile v1 ; }
|
||||
src_install() { eblit-run src_install v3 ; }
|
||||
src_test() { eblit-run src_test v1 ; }
|
||||
|
||||
#Do not use eblit for this because it will not get sourced when installing from
|
||||
#binary package (bug #380845)
|
||||
pkg_postinst() {
|
||||
# Output some general info to the user
|
||||
if use apache2 ; then
|
||||
APACHE2_MOD_DEFINE="PHP5"
|
||||
APACHE2_MOD_CONF="70_mod_php5"
|
||||
apache-module_pkg_postinst
|
||||
fi
|
||||
|
||||
# Create the symlinks for php
|
||||
for m in ${SAPIS}; do
|
||||
[[ ${m} == 'embed' ]] && continue;
|
||||
if use $m ; then
|
||||
local ci=$(eselect php show $m)
|
||||
if [[ -z $ci ]]; then
|
||||
eselect php set $m php${SLOT}
|
||||
einfo "Switched ${m} to use php:${SLOT}"
|
||||
einfo
|
||||
elif [[ $ci != "php${SLOT}" ]] ; then
|
||||
elog "To switch $m to use php:${SLOT}, run"
|
||||
elog " eselect php set $m php${SLOT}"
|
||||
elog
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
elog "Make sure that PHP_TARGETS in /etc/make.conf includes php${SLOT/./-} in order"
|
||||
elog "to compile extensions for the ${SLOT} ABI"
|
||||
elog
|
||||
if ! use readline && use cli ; then
|
||||
ewarn "Note that in order to use php interactivly, you need to enable"
|
||||
ewarn "the readline USE flag or php -a will hang"
|
||||
fi
|
||||
elog
|
||||
elog "This ebuild installed a version of php.ini based on php.ini-${PHP_INI_VERSION} version."
|
||||
elog "You can chose which version of php.ini to install by default by setting PHP_INI_VERSION to either"
|
||||
elog "'production' or 'development' in /etc/make.conf"
|
||||
ewarn "Both versions of php.ini can be found in /usr/share/doc/${PF}"
|
||||
|
||||
# check for not yet migrated old style config dirs
|
||||
ls "${ROOT}"/etc/php/*-php5 &>/dev/null
|
||||
if [[ $? -eq 0 ]]; then
|
||||
ewarn "Make sure to migrate your config files, starting with php-5.3.4 and php-5.2.16 config"
|
||||
ewarn "files are now kept at ${ROOT}etc/php/{apache2,cli,cgi,fpm}-php5.x"
|
||||
fi
|
||||
elog
|
||||
elog "For more details on how minor version slotting works (PHP_TARGETS) please read the upgrade guide:"
|
||||
elog "http://www.gentoo.org/proj/en/php/php-upgrading.xml"
|
||||
elog
|
||||
|
||||
if ( [[ -z SUHOSIN_VERSION ]] && use suhosin && version_is_at_least 5.3.6_rc1 ) ; then
|
||||
ewarn "The suhosin USE flag now only installs the suhosin patch!"
|
||||
ewarn "If you want the suhosin extension, make sure you install"
|
||||
ewarn " dev-php5/suhosin"
|
||||
ewarn
|
||||
fi
|
||||
}
|
@ -0,0 +1,387 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/php/php-5.4.6-r1.ebuild,v 1.2 2012/08/19 08:28:43 olemarkus Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils autotools flag-o-matic versionator depend.apache apache-module db-use libtool
|
||||
|
||||
SUHOSIN_VERSION=""
|
||||
FPM_VERSION="builtin"
|
||||
EXPECTED_TEST_FAILURES=""
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd"
|
||||
|
||||
function php_get_uri ()
|
||||
{
|
||||
case "${1}" in
|
||||
"php-stas")
|
||||
echo "http://downloads.php.net/stas/${2}"
|
||||
;;
|
||||
"php-pre")
|
||||
echo "http://downloads.php.net/johannes/${2}"
|
||||
;;
|
||||
"php")
|
||||
echo "http://www.php.net/distributions/${2}"
|
||||
;;
|
||||
"suhosin")
|
||||
echo "http://download.suhosin.org/${2}"
|
||||
;;
|
||||
"olemarkus")
|
||||
echo "http://dev.gentoo.org/~olemarkus/php/${2}"
|
||||
;;
|
||||
"gentoo")
|
||||
echo "mirror://gentoo/${2}"
|
||||
;;
|
||||
*)
|
||||
die "unhandled case in php_get_uri"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
PHP_MV="$(get_major_version)"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
|
||||
# alias, so we can handle different types of releases (finals, rcs, alphas,
|
||||
# betas, ...) w/o changing the whole ebuild
|
||||
PHP_PV="${PV/_rc/RC}"
|
||||
PHP_PV="${PHP_PV/_alpha/alpha}"
|
||||
PHP_PV="${PHP_PV/_beta/beta}"
|
||||
PHP_RELEASE="php"
|
||||
[[ ${PV} == ${PV/_rc/} ]] || PHP_RELEASE="php-stas"
|
||||
PHP_P="${PN}-${PHP_PV}"
|
||||
|
||||
PHP_PATCHSET_LOC="olemarkus"
|
||||
|
||||
PHP_SRC_URI="$(php_get_uri "${PHP_RELEASE}" "${PHP_P}.tar.bz2")"
|
||||
|
||||
PHP_PATCHSET="2"
|
||||
PHP_PATCHSET_URI="
|
||||
$(php_get_uri "${PHP_PATCHSET_LOC}" "php-patchset-$SLOT-${PHP_PATCHSET}.tar.bz2")"
|
||||
|
||||
PHP_FPM_INIT_VER="4"
|
||||
PHP_FPM_CONF_VER="1"
|
||||
|
||||
if [[ ${SUHOSIN_VERSION} == *-gentoo ]]; then
|
||||
# in some cases we use our own suhosin patch (very recent version,
|
||||
# patch conflicts, etc.)
|
||||
SUHOSIN_TYPE="gentoo"
|
||||
else
|
||||
SUHOSIN_TYPE="suhosin"
|
||||
fi
|
||||
|
||||
if [[ -n ${SUHOSIN_VERSION} ]]; then
|
||||
SUHOSIN_PATCH="suhosin-patch-${SUHOSIN_VERSION}.patch";
|
||||
SUHOSIN_URI="$(php_get_uri ${SUHOSIN_TYPE} ${SUHOSIN_PATCH}.gz )"
|
||||
fi
|
||||
|
||||
SRC_URI="
|
||||
${PHP_SRC_URI}
|
||||
${PHP_PATCHSET_URI}"
|
||||
|
||||
if [[ -n ${SUHOSIN_VERSION} ]]; then
|
||||
SRC_URI="${SRC_URI}
|
||||
suhosin? ( ${SUHOSIN_URI} )"
|
||||
fi
|
||||
|
||||
DESCRIPTION="The PHP language runtime engine: CLI, CGI, FPM/FastCGI, Apache2 and embed SAPIs."
|
||||
HOMEPAGE="http://php.net/"
|
||||
LICENSE="PHP-3"
|
||||
|
||||
S="${WORKDIR}/${PHP_P}"
|
||||
|
||||
# We can build the following SAPIs in the given order
|
||||
SAPIS="embed cli cgi fpm apache2"
|
||||
|
||||
# Gentoo-specific, common features
|
||||
IUSE="kolab"
|
||||
|
||||
# SAPIs and SAPI-specific USE flags (cli SAPI is default on):
|
||||
IUSE="${IUSE}
|
||||
${SAPIS/cli/+cli}
|
||||
threads"
|
||||
|
||||
IUSE="${IUSE} bcmath berkdb bzip2 calendar cdb cjk
|
||||
crypt +ctype curl curlwrappers debug doc
|
||||
enchant exif frontbase +fileinfo +filter firebird
|
||||
flatfile ftp gd gdbm gmp +hash +iconv imap inifile
|
||||
intl iodbc ipv6 +json kerberos ldap ldap-sasl libedit mhash
|
||||
mssql mysql mysqlnd mysqli nls
|
||||
oci8-instant-client odbc pcntl pdo +phar pic +posix postgres qdbm
|
||||
readline recode selinux +session sharedmem
|
||||
+simplexml snmp soap sockets spell sqlite3 ssl
|
||||
sybase-ct sysvipc tidy +tokenizer truetype unicode wddx
|
||||
+xml xmlreader xmlwriter xmlrpc xpm xsl zip zlib"
|
||||
|
||||
# Enable suhosin if available
|
||||
[[ -n $SUHOSIN_VERSION ]] && IUSE="${IUSE} suhosin"
|
||||
|
||||
DEPEND="
|
||||
>=app-admin/eselect-php-0.6.2
|
||||
>=dev-libs/libpcre-8.12[unicode]
|
||||
apache2? ( www-servers/apache[threads=] )
|
||||
berkdb? ( =sys-libs/db-4* )
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
cdb? ( || ( dev-db/cdb dev-db/tinycdb ) )
|
||||
cjk? ( !gd? (
|
||||
virtual/jpeg
|
||||
media-libs/libpng
|
||||
sys-libs/zlib
|
||||
) )
|
||||
crypt? ( >=dev-libs/libmcrypt-2.4 )
|
||||
curl? ( >=net-misc/curl-7.10.5 )
|
||||
enchant? ( app-text/enchant )
|
||||
exif? ( !gd? (
|
||||
virtual/jpeg
|
||||
media-libs/libpng
|
||||
sys-libs/zlib
|
||||
) )
|
||||
firebird? ( dev-db/firebird )
|
||||
gd? ( virtual/jpeg media-libs/libpng sys-libs/zlib )
|
||||
gdbm? ( >=sys-libs/gdbm-1.8.0 )
|
||||
gmp? ( >=dev-libs/gmp-4.1.2 )
|
||||
iconv? ( virtual/libiconv )
|
||||
imap? ( virtual/imap-c-client[ssl=] )
|
||||
intl? ( dev-libs/icu )
|
||||
iodbc? ( dev-db/libiodbc )
|
||||
kerberos? ( virtual/krb5 )
|
||||
kolab? ( >=net-libs/c-client-2004g-r1 )
|
||||
ldap? ( >=net-nds/openldap-1.2.11 )
|
||||
ldap-sasl? ( dev-libs/cyrus-sasl >=net-nds/openldap-1.2.11 )
|
||||
libedit? ( || ( sys-freebsd/freebsd-lib dev-libs/libedit ) )
|
||||
mssql? ( dev-db/freetds[mssql] )
|
||||
!mysqlnd? (
|
||||
mysql? ( virtual/mysql )
|
||||
mysqli? ( >=virtual/mysql-4.1 )
|
||||
)
|
||||
nls? ( sys-devel/gettext )
|
||||
oci8-instant-client? ( dev-db/oracle-instantclient-basic )
|
||||
odbc? ( >=dev-db/unixODBC-1.8.13 )
|
||||
postgres? ( dev-db/postgresql-base )
|
||||
qdbm? ( dev-db/qdbm )
|
||||
readline? ( sys-libs/readline )
|
||||
recode? ( app-text/recode )
|
||||
sharedmem? ( dev-libs/mm )
|
||||
simplexml? ( >=dev-libs/libxml2-2.6.8 )
|
||||
snmp? ( >=net-analyzer/net-snmp-5.2 )
|
||||
soap? ( >=dev-libs/libxml2-2.6.8 )
|
||||
spell? ( >=app-text/aspell-0.50 )
|
||||
sqlite3? ( >=dev-db/sqlite-3.7.6.3 )
|
||||
ssl? ( >=dev-libs/openssl-0.9.7 )
|
||||
sybase-ct? ( dev-db/freetds )
|
||||
tidy? ( app-text/htmltidy )
|
||||
truetype? (
|
||||
=media-libs/freetype-2*
|
||||
>=media-libs/t1lib-5.0.0
|
||||
!gd? (
|
||||
virtual/jpeg media-libs/libpng sys-libs/zlib )
|
||||
)
|
||||
unicode? ( dev-libs/oniguruma )
|
||||
wddx? ( >=dev-libs/libxml2-2.6.8 )
|
||||
xml? ( >=dev-libs/libxml2-2.6.8 )
|
||||
xmlrpc? ( >=dev-libs/libxml2-2.6.8 virtual/libiconv )
|
||||
xmlreader? ( >=dev-libs/libxml2-2.6.8 )
|
||||
xmlwriter? ( >=dev-libs/libxml2-2.6.8 )
|
||||
xpm? (
|
||||
x11-libs/libXpm
|
||||
virtual/jpeg
|
||||
media-libs/libpng sys-libs/zlib
|
||||
)
|
||||
xsl? ( dev-libs/libxslt >=dev-libs/libxml2-2.6.8 )
|
||||
zip? ( sys-libs/zlib )
|
||||
zlib? ( sys-libs/zlib )
|
||||
virtual/mta
|
||||
"
|
||||
|
||||
php="=${CATEGORY}/${PF}"
|
||||
|
||||
REQUIRED_USE="
|
||||
truetype? ( gd )
|
||||
cjk? ( gd )
|
||||
exif? ( gd )
|
||||
|
||||
xpm? ( gd )
|
||||
gd? ( zlib )
|
||||
simplexml? ( xml )
|
||||
soap? ( xml )
|
||||
wddx? ( xml )
|
||||
xmlrpc? ( || ( xml iconv ) )
|
||||
xmlreader? ( xml )
|
||||
xsl? ( xml )
|
||||
ldap-sasl? ( ldap )
|
||||
kolab? ( imap )
|
||||
mhash? ( hash )
|
||||
phar? ( hash )
|
||||
mysqlnd? ( || (
|
||||
mysql
|
||||
mysqli
|
||||
pdo
|
||||
) )
|
||||
|
||||
qdbm? ( !gdbm )
|
||||
readline? ( !libedit )
|
||||
recode? ( !imap !mysql !mysqli )
|
||||
sharedmem? ( !threads )
|
||||
|
||||
!cli? ( !cgi? ( !fpm? ( !apache2? ( !embed? ( cli ) ) ) ) )"
|
||||
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
[[ -n $SUHOSIN_VERSION ]] && RDEPEND="${RDEPEND} suhosin? (
|
||||
=${CATEGORY}/${PN}-${SLOT}*[unicode] )"
|
||||
|
||||
RDEPEND="${RDEPEND} fpm? ( selinux? ( sec-policy/selinux-phpfpm ) )"
|
||||
|
||||
DEPEND="${DEPEND}
|
||||
sys-devel/flex
|
||||
>=sys-devel/m4-1.4.3
|
||||
>=sys-devel/libtool-1.5.18"
|
||||
|
||||
# They are in PDEPEND because we need PHP installed first!
|
||||
PDEPEND="doc? ( app-doc/php-docs )"
|
||||
|
||||
# No longer depend on the extension. The suhosin USE flag only installs the
|
||||
# patch
|
||||
#[[ -n $SUHOSIN_VERSION ]] && PDEPEND="${PDEPEND} suhosin? ( dev-php${PHP_MV}/suhosin )"
|
||||
|
||||
# Allow users to install production version if they want to
|
||||
|
||||
case "${PHP_INI_VERSION}" in
|
||||
production|development)
|
||||
;;
|
||||
*)
|
||||
PHP_INI_VERSION="development"
|
||||
;;
|
||||
esac
|
||||
|
||||
PHP_INI_UPSTREAM="php.ini-${PHP_INI_VERSION}"
|
||||
PHP_INI_FILE="php.ini"
|
||||
|
||||
want_apache
|
||||
|
||||
# eblit-core
|
||||
# Usage: <function> [version] [eval]
|
||||
# Main eblit engine
|
||||
eblit-core() {
|
||||
[[ -z $FILESDIR ]] && FILESDIR="$(dirname $EBUILD)/files"
|
||||
local e v func=$1 ver=$2 eval_=$3
|
||||
for v in ${ver:+-}${ver} -${PVR} -${PV} "" ; do
|
||||
e="${FILESDIR}/eblits/${func}${v}.eblit"
|
||||
if [[ -e ${e} ]] ; then
|
||||
. "${e}"
|
||||
[[ ${eval_} == 1 ]] && eval "${func}() { eblit-run ${func} ${ver} ; }"
|
||||
return 0
|
||||
fi
|
||||
done
|
||||
return 1
|
||||
}
|
||||
|
||||
# eblit-include
|
||||
# Usage: [--skip] <function> [version]
|
||||
# Includes an "eblit" -- a chunk of common code among ebuilds in a given
|
||||
# package so that its functions can be sourced and utilized within the
|
||||
# ebuild.
|
||||
eblit-include() {
|
||||
local skipable=false r=0
|
||||
[[ $1 == "--skip" ]] && skipable=true && shift
|
||||
[[ $1 == pkg_* ]] && skipable=true
|
||||
|
||||
[[ -z $1 ]] && die "Usage: eblit-include <function> [version]"
|
||||
eblit-core $1 $2
|
||||
r="$?"
|
||||
${skipable} && return 0
|
||||
[[ "$r" -gt "0" ]] && die "Could not locate requested eblit '$1' in ${FILESDIR}/eblits/"
|
||||
}
|
||||
|
||||
# eblit-run-maybe
|
||||
# Usage: <function>
|
||||
# Runs a function if it is defined in an eblit
|
||||
eblit-run-maybe() {
|
||||
[[ $(type -t "$@") == "function" ]] && "$@"
|
||||
}
|
||||
|
||||
# eblit-run
|
||||
# Usage: <function> [version]
|
||||
# Runs a function defined in an eblit
|
||||
eblit-run() {
|
||||
eblit-include --skip common v2
|
||||
eblit-include "$@"
|
||||
eblit-run-maybe eblit-$1-pre
|
||||
eblit-${PN}-$1
|
||||
eblit-run-maybe eblit-$1-post
|
||||
}
|
||||
|
||||
# eblit-pkg
|
||||
# Usage: <phase> [version]
|
||||
# Includes the given functions AND evals them so they're included in the binpkgs
|
||||
eblit-pkg() {
|
||||
[[ -z $1 ]] && die "Usage: eblit-pkg <phase> [version]"
|
||||
eblit-core $1 $2 1
|
||||
}
|
||||
|
||||
eblit-pkg pkg_setup v3
|
||||
|
||||
src_prepare() { eblit-run src_prepare v4 ; }
|
||||
src_configure() { eblit-run src_configure v54 ; }
|
||||
src_compile() { eblit-run src_compile v2 ; }
|
||||
src_install() { eblit-run src_install v3 ; }
|
||||
src_test() { eblit-run src_test v1 ; }
|
||||
|
||||
#Do not use eblit for this because it will not get sourced when installing from
|
||||
#binary package (bug #380845)
|
||||
pkg_postinst() {
|
||||
# Output some general info to the user
|
||||
if use apache2 ; then
|
||||
APACHE2_MOD_DEFINE="PHP5"
|
||||
APACHE2_MOD_CONF="70_mod_php5"
|
||||
apache-module_pkg_postinst
|
||||
fi
|
||||
|
||||
# Create the symlinks for php
|
||||
for m in ${SAPIS}; do
|
||||
[[ ${m} == 'embed' ]] && continue;
|
||||
if use $m ; then
|
||||
local ci=$(eselect php show $m)
|
||||
if [[ -z $ci ]]; then
|
||||
eselect php set $m php${SLOT}
|
||||
einfo "Switched ${m} to use php:${SLOT}"
|
||||
einfo
|
||||
elif [[ $ci != "php${SLOT}" ]] ; then
|
||||
elog "To switch $m to use php:${SLOT}, run"
|
||||
elog " eselect php set $m php${SLOT}"
|
||||
elog
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
elog "Make sure that PHP_TARGETS in /etc/make.conf includes php${SLOT/./-} in order"
|
||||
elog "to compile extensions for the ${SLOT} ABI"
|
||||
elog
|
||||
if ! use readline && use cli ; then
|
||||
ewarn "Note that in order to use php interactivly, you need to enable"
|
||||
ewarn "the readline USE flag or php -a will hang"
|
||||
fi
|
||||
elog
|
||||
elog "This ebuild installed a version of php.ini based on php.ini-${PHP_INI_VERSION} version."
|
||||
elog "You can chose which version of php.ini to install by default by setting PHP_INI_VERSION to either"
|
||||
elog "'production' or 'development' in /etc/make.conf"
|
||||
ewarn "Both versions of php.ini can be found in /usr/share/doc/${PF}"
|
||||
|
||||
# check for not yet migrated old style config dirs
|
||||
ls "${ROOT}"/etc/php/*-php5 &>/dev/null
|
||||
if [[ $? -eq 0 ]]; then
|
||||
ewarn "Make sure to migrate your config files, starting with php-5.3.4 and php-5.2.16 config"
|
||||
ewarn "files are now kept at ${ROOT}etc/php/{apache2,cli,cgi,fpm}-php5.x"
|
||||
fi
|
||||
elog
|
||||
elog "For more details on how minor version slotting works (PHP_TARGETS) please read the upgrade guide:"
|
||||
elog "http://www.gentoo.org/proj/en/php/php-upgrading.xml"
|
||||
elog
|
||||
|
||||
if ( [[ -z SUHOSIN_VERSION ]] && use suhosin && version_is_at_least 5.3.6_rc1 ) ; then
|
||||
ewarn "The suhosin USE flag now only installs the suhosin patch!"
|
||||
ewarn "If you want the suhosin extension, make sure you install"
|
||||
ewarn " dev-php/suhosin"
|
||||
ewarn
|
||||
fi
|
||||
}
|
@ -0,0 +1,130 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/swi-prolog-6.1.12.ebuild,v 1.1 2012/08/18 18:06:35 keri Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
inherit eutils flag-o-matic java-pkg-opt-2 multilib
|
||||
|
||||
PATCHSET_VER="0"
|
||||
|
||||
DESCRIPTION="free, small, and standard compliant Prolog compiler"
|
||||
HOMEPAGE="http://www.swi-prolog.org/"
|
||||
SRC_URI="http://www.swi-prolog.org/download/devel/src/pl-${PV}.tar.gz
|
||||
mirror://gentoo/${P}-gentoo-patchset-${PATCHSET_VER}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="archive debug doc gmp hardened java minimal odbc readline ssl static-libs test zlib X"
|
||||
|
||||
RDEPEND="sys-libs/ncurses
|
||||
archive? ( app-arch/libarchive )
|
||||
zlib? ( sys-libs/zlib )
|
||||
odbc? ( dev-db/unixODBC )
|
||||
readline? ( sys-libs/readline )
|
||||
gmp? ( dev-libs/gmp )
|
||||
ssl? ( dev-libs/openssl )
|
||||
java? ( >=virtual/jdk-1.4 )
|
||||
X? (
|
||||
virtual/jpeg
|
||||
x11-libs/libX11
|
||||
x11-libs/libXft
|
||||
x11-libs/libXpm
|
||||
x11-libs/libXt
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
X? ( x11-proto/xproto )
|
||||
java? ( test? ( =dev-java/junit-3.8* ) )"
|
||||
|
||||
S="${WORKDIR}/pl-${PV}"
|
||||
|
||||
src_prepare() {
|
||||
EPATCH_FORCE=yes
|
||||
EPATCH_SUFFIX=patch
|
||||
epatch "${WORKDIR}"/${PV}
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
append-flags -fno-strict-aliasing
|
||||
use ppc && append-flags -mno-altivec
|
||||
use hardened && append-flags -fno-unit-at-a-time
|
||||
use debug && append-flags -DO_DEBUG
|
||||
|
||||
cd "${S}"/src
|
||||
econf \
|
||||
--libdir=/usr/$(get_libdir) \
|
||||
$(use_enable gmp) \
|
||||
$(use_enable readline) \
|
||||
$(use_enable static-libs static) \
|
||||
--enable-shared \
|
||||
--enable-custom-flags COFLAGS="${CFLAGS}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd "${S}"/src
|
||||
emake || die "emake failed"
|
||||
|
||||
if ! use minimal ; then
|
||||
local jpltestconf
|
||||
if use java && use test ; then
|
||||
jpltestconf="--with-junit=$(java-config --classpath junit)"
|
||||
fi
|
||||
|
||||
cd "${S}/packages"
|
||||
econf \
|
||||
--libdir=/usr/$(get_libdir) \
|
||||
$(use_with archive) \
|
||||
--with-chr \
|
||||
--with-clib \
|
||||
--with-clpqr \
|
||||
--with-cpp \
|
||||
--with-http \
|
||||
$(use_with java jpl) \
|
||||
${jpltestconf} \
|
||||
--with-nlp \
|
||||
$(use_with odbc) \
|
||||
--with-PDT \
|
||||
--with-pldoc \
|
||||
--with-plunit \
|
||||
--with-protobufs \
|
||||
--with-R \
|
||||
--with-RDF \
|
||||
--with-semweb \
|
||||
--with-sgml \
|
||||
$(use_with ssl) \
|
||||
--with-table \
|
||||
--with-tipc \
|
||||
--with-utf8proc \
|
||||
$(use_with X xpce) \
|
||||
$(use_with zlib) \
|
||||
COFLAGS='"${CFLAGS}"'
|
||||
|
||||
emake || die "packages emake failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd "${S}/src"
|
||||
emake check || die "make check failed. See above for details."
|
||||
|
||||
if ! use minimal ; then
|
||||
cd "${S}/packages"
|
||||
emake check || die "make check failed. See above for details."
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake -C src DESTDIR="${D}" install || die "install src failed"
|
||||
|
||||
if ! use minimal ; then
|
||||
emake -C packages DESTDIR="${D}" install || die "install packages failed"
|
||||
if use doc ; then
|
||||
emake -C packages DESTDIR="${D}" html-install || die "html-install failed"
|
||||
fi
|
||||
fi
|
||||
|
||||
dodoc ReleaseNotes/relnotes-5.10 INSTALL README VERSION || die
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST busybee-0.1.0.tar.gz 328831 SHA256 7837c9f66cba77be904cb7ab9da5d35e6acf2cfb23bac20b9c5d17d4b5201398 SHA512 0844f21c0e73f7a9843b71a7f05869b179f19b79c046909205357a95a1865d02079d8c9b3517cf32a6e1c187c91552d68b245cb23ab91782345d6a9172dd123c WHIRLPOOL af631df9047088ab59bb6176727947265514434c7287f5eaaac326d318cbedbbce3eefa9841bd0f38080267486cc91032e11e129279b72beb3e044b2773f3919
|
@ -0,0 +1,18 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/busybee/busybee-0.1.0.ebuild,v 1.1 2012/08/18 14:10:23 patrick Exp $
|
||||
EAPI=4
|
||||
|
||||
DESCRIPTION="A messaging abstraction on top of TCP sockets used in HyperDex"
|
||||
|
||||
HOMEPAGE="http://hyperdex.org"
|
||||
SRC_URI="http://hyperdex.org/src/${P}.tar.gz"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-libs/libpo6
|
||||
dev-libs/libe"
|
||||
RDEPEND="${DEPEND}"
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>patrick@gentoo.org</email>
|
||||
<name>Patrick Lauer</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1 @@
|
||||
DIST cityhash-1.0.3.tar.gz 352237 SHA256 a03178d7c73a2d40d9e9e6ab036e607bc97cf3ea0c0eda9e5736ed07608aaaab SHA512 1d284755af4adcbb9d235d19a00ea0ab3e20676eec3e455da24a855e254996139d3c123f8d074bcaf7d53de04d34949ace799181d428fc322091c93c39702de0 WHIRLPOOL 94b9ead07bb8c693d7062ab1d13291a05d92c9c4f168b400dc0ce180ec3f674ff58a64f8addc101f8806774e83268ba0df0f28be8c10e656a2141dfeca3ea071
|
@ -0,0 +1,18 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/cityhash/cityhash-1.0.3.ebuild,v 1.1 2012/08/18 14:08:25 patrick Exp $
|
||||
EAPI=4
|
||||
|
||||
DESCRIPTION="Google's CityHash family of hash functions"
|
||||
|
||||
HOMEPAGE="http://code.google.com/p/cityhash/"
|
||||
SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
IUSE=""
|
||||
#IUSE="sse42" should be added by someone with a modern CPU
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>patrick@gentoo.org</email>
|
||||
<name>Patrick Lauer</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1,3 +1,2 @@
|
||||
DIST grantlee-0.1.8.tar.gz 669703 SHA256 d7d530419960e90c6253358c5a951ca344c2174752a431b4d81d1fd378927a7c SHA512 11e27ffd409408e6a0b3f206010bf78b547b26c3dbdeb69e58b6c00d36685c7fa72874550de9c036bf7a17ccf66adb290601428c3bd65dda7b09fd3f242e685e WHIRLPOOL 201b8992bca7a259bfa5b0c0010cf19702c1d16bc3aa7f06176eba95a55a408217c6873facaf3fb169eee6a830d92261be07961211fba07ecce0b5ff5bea365d
|
||||
DIST grantlee-0.1.9.tar.gz 1124725 SHA256 67f058a65ff3654d1d5f5de8e528332d1dddfd7963ec857de15d83d0acf55984 SHA512 2a169a3e1c5a065043424569d16848362162a8a57d412540625c1f98b6d013da5ff79163919e54dfe39f6477d3661941384a756bc965a5cef47500d36f76c68d WHIRLPOOL fd24453b80e4e5f5c6d59c1cac2809d18119a1cc0652f45cec3c1905a7304c6e00cc50ffb96797019b3f259a862858a5bb4570694163b7046659528682521fcd
|
||||
DIST grantlee-0.2.0.tar.gz 1128991 SHA256 43a6256b46a14cc12a2a6bdbe300f1c5ab52abd0cb6ba357db4580148bddd474 SHA512 a7885cc83b1caf759f76ec4a98ba1cc83b23997c5230ae68c28647b8f9d21ce5169416805930593fdf0313c9b65bdd764af470c552cf324b9a0d034fcc21e1c2 WHIRLPOOL 4aa59861a66112f190c0e08c816fd0683eefa22e4ebc01d7ff0c74390b2608c05f9d86255643d1d7769e0f922b532045965ce608bcbd061930710b7e67027585
|
||||
|
@ -1,12 +0,0 @@
|
||||
diff -ruN grantlee-0.1.8.orig/templates/lib/abstractlocalizer.cpp grantlee-0.1.8/templates/lib/abstractlocalizer.cpp
|
||||
--- grantlee-0.1.8.orig/templates/lib/abstractlocalizer.cpp 2011-01-24 09:32:38.000000000 +0100
|
||||
+++ grantlee-0.1.8/templates/lib/abstractlocalizer.cpp 2011-06-18 18:07:49.000000000 +0200
|
||||
@@ -47,7 +47,7 @@
|
||||
else if ( isSafeString( variant ) )
|
||||
return localizeString( getSafeString( variant ).get() );
|
||||
else if ( variant.type() == QVariant::Double )
|
||||
- return localizeNumber( variant.toDouble() );
|
||||
+ return localizeNumber( qreal(variant.toDouble()) );
|
||||
else if ( variant.canConvert( QVariant::LongLong ) )
|
||||
return localizeNumber( variant.toInt() );
|
||||
return QString();
|
@ -1,53 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/grantlee/grantlee-0.1.8.ebuild,v 1.7 2012/02/23 16:38:31 xarthisius Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="C++ string template engine based on the Django template system"
|
||||
HOMEPAGE="http://www.gitorious.org/grantlee/pages/Home"
|
||||
SRC_URI="http://www.loegria.net/grantlee/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
KEYWORDS="amd64 ~arm ppc ~ppc64 x86"
|
||||
SLOT="0"
|
||||
IUSE="debug doc test"
|
||||
|
||||
COMMON_DEPEND="
|
||||
>=x11-libs/qt-core-4.5.0:4
|
||||
>=x11-libs/qt-gui-4.5.0:4
|
||||
>=x11-libs/qt-script-4.5.0:4
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
doc? ( || ( <app-doc/doxygen-1.7.6.1[-nodot] >=app-doc/doxygen-1.7.6.1[dot] ) )
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}"
|
||||
|
||||
DOCS=(AUTHORS CHANGELOG GOALS README)
|
||||
|
||||
# Some tests fail
|
||||
RESTRICT="test"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}-arm.patch" )
|
||||
|
||||
src_configure() {
|
||||
mycmakeargs=(
|
||||
$(cmake-utils_use_build test TESTS)
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake-utils_src_compile
|
||||
|
||||
use doc && cmake-utils_src_compile docs
|
||||
}
|
||||
|
||||
src_install() {
|
||||
use doc && HTML_DOCS=("${CMAKE_BUILD_DIR}/apidox/")
|
||||
|
||||
cmake-utils_src_install
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST libe-0.2.7.tar.gz 369243 SHA256 8487d71da2ffca47f2cb96ff1b69e7ed3e7fe2591da0f79708129bf18a567307 SHA512 24c4e832cc070fd0e5d7b27ea21094e056516afe67b99b6492d427f0bb2977b169cec8c1d06b897d46db14005e3cffdb83e56e7fa0c2a078324e4b961a25e84e WHIRLPOOL 1751444bac4658ac80cc75e8c41028ec04dce5b55654512948e724b4450dc698da2253e2088b98bad06838321931b5240bdd1ba4a7f44711c0bb36e9cb68f2dc
|
@ -0,0 +1,17 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libe/libe-0.2.7.ebuild,v 1.1 2012/08/18 14:09:44 patrick Exp $
|
||||
EAPI=4
|
||||
|
||||
DESCRIPTION="Hyperdex libe support library"
|
||||
|
||||
HOMEPAGE="http://hyperdex.org"
|
||||
SRC_URI="http://hyperdex.org/src/${P}.tar.gz"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-libs/libpo6"
|
||||
RDEPEND="${DEPEND}"
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>patrick@gentoo.org</email>
|
||||
<name>Patrick Lauer</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1 @@
|
||||
DIST libpo6-0.2.3.tar.gz 110849 SHA256 f3cfe664515643a36e7abe96fcba9a111c5e5a9544fc649da58328c395ca08fb SHA512 cc02a3a84ba4978d7694dcc557f019c7f271afd7819c9739a49958e97393e641d1623bdf08a2d9cefb14db2509d9f85bf1dd6db29d25ea297dcf2c6db8040583 WHIRLPOOL bc3567c51b1393c4e5ecf489854fc1329c8298c795dc94278fff5c700bdc7f72cc8869a2d857724d49e7bebbea0d0c086ede905ea8d116dc07fd4f97f0b03e06
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue