parent
cf69c403db
commit
ddc7d1986a
@ -1,4 +0,0 @@
|
||||
DIST prll-0.5.tar.bz2 38669 RMD160 4977c499d6a59565c1a3314b52521e93a6cc1b0e SHA1 ed2aac99f3a63baf06e23ca1f60ebe270b36251b SHA256 4b228e31b5309b435380ef7aaa7fb594572a904064c7fc8694ee46d7daeaeea3
|
||||
DIST prll-0.6.1.tar.bz2 37224 RMD160 33a884d791a8e1de5b3de9c86b38c8d94d726794 SHA1 3e5ca916319cf4e06925889ee167d9bb9d2dbcd7 SHA256 46d75598ab8be73dc7bc69a6d0518200999f97830063dbe8a68b74cb13da524b
|
||||
DIST prll-0.6.2.tar.bz2 37870 RMD160 20e31dbba174eb089dbcceb2585e2f8e5a0b4856 SHA1 151ad95467f00e9e3fbd18e8c533e6976db3cc5d SHA256 49fbbcd8b8ae72afb8c1c7343f84852d2f397061ce29ec95dd462940ed355d0b
|
||||
DIST prll-0.6.tar.bz2 35881 RMD160 63c06a358c4f7a3466cbaa0f1583ef9405bc4c0b SHA1 58bb4e82a853d1cdf66c5566dbb935d3a4de2313 SHA256 a13930cba906a60b2171f6b18915ecededfbfbf8473e2dccaa4172ea10294d31
|
@ -1,29 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-shells/prll/prll-0.5.ebuild,v 1.3 2011/01/11 22:21:26 maekke Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit eutils prefix toolchain-funcs
|
||||
|
||||
DESCRIPTION="A utility for parallelizing execution in bash or zsh"
|
||||
HOMEPAGE="http://prll.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PV}-prefix.patch
|
||||
tc-export CC
|
||||
eprefixify ${PN}.sh
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ${PN}_{qer,bfr} || die
|
||||
insinto /etc/profile.d/
|
||||
doins ${PN}.sh || die
|
||||
dodoc ChangeLog AUTHORS README NEWS || die
|
||||
}
|
@ -1,33 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-shells/prll/prll-0.6.1.ebuild,v 1.1 2011/10/19 15:36:59 jlec Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils prefix toolchain-funcs
|
||||
|
||||
DESCRIPTION="A utility for parallelizing execution of shell functions"
|
||||
HOMEPAGE="http://prll.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
src_prepare() {
|
||||
sed \
|
||||
-e '/then sh/d' \
|
||||
-e '/then zsh/d' \
|
||||
-e '/then dash/d' \
|
||||
-i tests/Makefile || die
|
||||
tc-export CC
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ${PN}_{qer,bfr}
|
||||
insinto /etc/profile.d/
|
||||
doins ${PN}.sh
|
||||
dodoc AUTHORS README NEWS
|
||||
doman ${PN}.1
|
||||
}
|
@ -1,33 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-shells/prll/prll-0.6.ebuild,v 1.3 2011/08/14 14:30:24 jlec Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils prefix toolchain-funcs
|
||||
|
||||
DESCRIPTION="A utility for parallelizing execution of shell functions"
|
||||
HOMEPAGE="http://prll.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
src_prepare() {
|
||||
sed \
|
||||
-e '/then sh/d' \
|
||||
-e '/then zsh/d' \
|
||||
-e '/then dash/d' \
|
||||
-i tests/Makefile || die
|
||||
tc-export CC
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ${PN}_{qer,bfr}
|
||||
insinto /etc/profile.d/
|
||||
doins ${PN}.sh
|
||||
dodoc AUTHORS README NEWS
|
||||
doman ${PN}.1
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST pdfgrep-1.2.tar.gz 94153 RMD160 83f6bf428aa800aeb409c14f40dc2317a77d23aa SHA1 b294adc4aadb23f26012b39b3e4ca6955da08532 SHA256 0f7d20c0be171f4c1ac8f5c4bf141c355ad4e1440c99cb40b63f4e06eacb5cdf
|
||||
DIST pdfgrep-1.3.0.tar.gz 99739 RMD160 1751a51109ca003275578403a7adc2d27c8f5209 SHA1 cac20afdea7aee1602b2c33c3d8d36ec171c30bc SHA256 392aeb710b74970fee7d96bec7e2a5c7f175ab8c7daf36c42eae47821635ee17
|
||||
|
@ -1,12 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>jlec@gentoo.org</email>
|
||||
<description>Tree Proxy</description>
|
||||
</maintainer>
|
||||
<maintainer>
|
||||
<email>flo@freakempire.de</email>
|
||||
<description>Maintainer, CC him on bugs</description>
|
||||
</maintainer>
|
||||
<maintainer>
|
||||
<email>jlec@gentoo.org</email>
|
||||
<description>Tree Proxy</description>
|
||||
</maintainer>
|
||||
<maintainer>
|
||||
<email>flo@freakempire.de</email>
|
||||
<description>Maintainer, CC him on bugs</description>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="unac">Rremoving accents and ligatures before search</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1,23 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $$
|
||||
|
||||
EAPI="4"
|
||||
|
||||
DESCRIPTION="A tool similar to grep which searches text in PDFs"
|
||||
HOMEPAGE="http://pdfgrep.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="unac"
|
||||
|
||||
RDEPEND="app-text/poppler[cxx]
|
||||
unac? ( app-text/unac )"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/pkgconfig"
|
||||
|
||||
src_configure() {
|
||||
econf $(use_with unac)
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST AutomaticTexPlugin_10.5.tar.gz 373006 RMD160 510c604d152c03214d1d55bb11f03df6a3af837c SHA1 49879ad5fec34e33e45cf7a6ed23316742f849e9 SHA256 de436a3863256e8cd5202a38b1afb1fccc5a944124126e33d855ac96428cfb32
|
||||
DIST AutomaticTexPlugin_10.6.4.tar.gz 385551 RMD160 3498baebcbad639290a0c9b77b83583ea06a3d40 SHA1 06d31d7c269439406789bd68087464b4925a4093 SHA256 1cb8523cc5a376969c33a765ba95dc2b9576bde79509c8792eaf5c9c70ffaef1
|
||||
|
@ -1,30 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-vim/automatictexplugin/automatictexplugin-10.5.ebuild,v 1.3 2011/10/24 19:57:07 maekke Exp $
|
||||
|
||||
EAPI="4"
|
||||
VIM_PLUGIN_VIM_VERSION="7.3"
|
||||
|
||||
inherit vim-plugin
|
||||
|
||||
MY_P="AutomaticTexPlugin_${PV}"
|
||||
DESCRIPTION="vim plugin: a comprehensive plugin for editing LaTeX files"
|
||||
HOMEPAGE="http://atp-vim.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/atp-vim/${MY_P}.tar.gz"
|
||||
LICENSE="GPL-3"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
VIM_PLUGIN_HELPFILES="automatic-tex-plugin.txt"
|
||||
|
||||
RDEPEND="|| ( app-editors/vim[python] app-editors/gvim[python] )
|
||||
!app-vim/vim-latex
|
||||
app-vim/align
|
||||
app-text/wdiff
|
||||
>=dev-lang/python-2.7
|
||||
dev-python/psutil
|
||||
dev-tex/latexmk
|
||||
dev-tex/detex
|
||||
virtual/tex-base"
|
@ -1,2 +1 @@
|
||||
DIST zencoding-vim-0.53.zip 21533 RMD160 16929c3735acbb6349f6397ff4af0284a773383b SHA1 2c82bfdcf137699218be3e7c57f47fa6a8282e31 SHA256 67dbd75961d63d80ea890e8daf6a028bab651233b6bc5f6b521de1c6c44367b7
|
||||
DIST zencoding-vim-0.58.tar.gz 21262 RMD160 119dddb5407e596fe012152872879262552d1574 SHA1 96028428dbbad57fdfd2b6961a0df8ee30e3485f SHA256 28088b4158ee5f037fb4e63e62bba1206ae84b3b070cf4393a4cd893281fc1cb
|
||||
|
@ -1,20 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-vim/zencoding-vim/zencoding-vim-0.53.ebuild,v 1.3 2011/10/09 13:51:37 hwoarang Exp $
|
||||
|
||||
EAPI=3
|
||||
|
||||
VIM_PLUGIN_VIM_VERSION="7.0"
|
||||
inherit vim-plugin
|
||||
|
||||
DESCRIPTION="vim plugin: HTML and CSS hi-speed coding"
|
||||
HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=2981 http://mattn.github.com/zencoding-vim/"
|
||||
SRC_URI="http://www.vim.org/scripts/download_script.php?src_id=14850 -> ${P}.zip"
|
||||
LICENSE="BSD"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="app-arch/unzip"
|
||||
RDEPEND=""
|
||||
|
||||
S="${WORKDIR}"
|
@ -1,89 +0,0 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/idb/idb-10.1.017.ebuild,v 1.5 2009/10/05 21:01:38 bicatali Exp $
|
||||
|
||||
inherit rpm elisp-common
|
||||
|
||||
ICC_PID=1136
|
||||
IFC_PID=1137
|
||||
xPV=p_${PV}
|
||||
|
||||
DESCRIPTION="Intel C/C++/FORTRAN debugger for Linux"
|
||||
HOMEPAGE="http://www.intel.com/software/products/compilers/"
|
||||
COM_URI="http://registrationcenter-download.intel.com/irc_nas"
|
||||
SRC_URI="amd64? ( ifc? ( !icc? ( ${COM_URI}/${IFC_PID}/l_fc_${xPV}_intel64.tar.gz ) )
|
||||
!ifc? ( !icc? ( ${COM_URI}/${ICC_PID}/l_cc_${xPV}_intel64.tar.gz ) )
|
||||
icc? ( ${COM_URI}/${ICC_PID}/l_cc_${xPV}_intel64.tar.gz ) )
|
||||
ia64? ( ifc? ( !icc? ( ${COM_URI}/${IFC_PID}/l_fc_${xPV}_ia64.tar.gz ) )
|
||||
!ifc? ( !icc? ( ${COM_URI}/${ICC_PID}/l_cc_${xPV}_ia64.tar.gz ) )
|
||||
icc? ( ${COM_URI}/${ICC_PID}/l_cc_${xPV}_ia64.tar.gz ) )
|
||||
x86? ( ifc? ( !icc? ( ${COM_URI}/${IFC_PID}/l_fc_${xPV}_ia32.tar.gz ) )
|
||||
!ifc? ( !icc? ( ${COM_URI}/${ICC_PID}/l_cc_${xPV}_ia32.tar.gz ) )
|
||||
icc? ( ${COM_URI}/${ICC_PID}/l_cc_${xPV}_ia32.tar.gz ) )"
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
LICENSE="Intel-SDP"
|
||||
SLOT="0"
|
||||
|
||||
RESTRICT="strip mirror"
|
||||
IUSE="emacs icc ifc"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="=virtual/libstdc++-3.3
|
||||
x11-libs/libXft
|
||||
x11-libs/libXt
|
||||
dev-libs/libxml2"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
PACKAGEID=$(basename l_*)
|
||||
mv "${WORKDIR}"/${PACKAGEID} "${S}"
|
||||
cd "${S}"
|
||||
for x in data/*idb*.rpm; do
|
||||
einfo "Extracting $(basename ${x})..."
|
||||
rpm_unpack "${S}"/${x} || die "rpm_unpack ${x} failed"
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local ext=
|
||||
use amd64 && ext=e
|
||||
local instdir=/opt/intel/${PN}${ext}/${PV}
|
||||
cd "${S}"/${instdir}/doc
|
||||
sed -e "s|\<installpackageid\>|${PACKAGEID}|g" \
|
||||
-i *support \
|
||||
|| die "sed support file failed"
|
||||
chmod 644 *support
|
||||
|
||||
dodir ${instdir}
|
||||
einfo "Copying files"
|
||||
cp -pPR \
|
||||
"${S}"/${instdir}/* \
|
||||
"${D}"/${instdir}/ \
|
||||
|| die "copying debugger failed"
|
||||
cat > 06idb <<-EOF
|
||||
PATH=${instdir}/bin
|
||||
ROOTPATH=${instdir}/bin
|
||||
MANPATH=${instdir}/man
|
||||
EOF
|
||||
doenvd 06idb || die "installing env file failed"
|
||||
use emacs && \
|
||||
elisp-site-file-install "${S}"${instdir}/bin/*.el
|
||||
}
|
||||
|
||||
pkg_postinst () {
|
||||
rm -f "${ROOT}"/opt/intel/{intel_sdp_products.db,.*.log} || die
|
||||
elog "Make sure you have recieved the a license for ${PN},"
|
||||
elog "you cannot run ${PN} without a license file."
|
||||
elog "To receive a non-commercial license, you need to register."
|
||||
elog "Read the website for more information on this license:"
|
||||
elog "${HOMEPAGE}"
|
||||
elog "Then put the license file into ${ROOT}/opt/intel/licenses."
|
||||
elog "\nTo use ${PN} issue first \n\tsource ${ROOT}/etc/profile"
|
||||
use emacs && elisp-site-regen
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
@ -1,92 +0,0 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/idb/idb-10.1.018.ebuild,v 1.5 2009/10/05 21:01:38 bicatali Exp $
|
||||
|
||||
inherit rpm elisp-common
|
||||
|
||||
ICC_PID=1205
|
||||
IFC_PID=1208
|
||||
xPV=p_${PV}
|
||||
|
||||
DESCRIPTION="Intel C/C++/FORTRAN debugger for Linux"
|
||||
HOMEPAGE="http://www.intel.com/software/products/compilers/"
|
||||
COM_URI="http://registrationcenter-download.intel.com/irc_nas"
|
||||
SRC_URI="amd64? ( ifc? ( !icc? ( ${COM_URI}/${IFC_PID}/l_fc_${xPV}_intel64.tar.gz ) )
|
||||
!ifc? ( !icc? ( ${COM_URI}/${ICC_PID}/l_cc_${xPV}_intel64.tar.gz ) )
|
||||
icc? ( ${COM_URI}/${ICC_PID}/l_cc_${xPV}_intel64.tar.gz ) )
|
||||
ia64? ( ifc? ( !icc? ( ${COM_URI}/${IFC_PID}/l_fc_${xPV}_ia64.tar.gz ) )
|
||||
!ifc? ( !icc? ( ${COM_URI}/${ICC_PID}/l_cc_${xPV}_ia64.tar.gz ) )
|
||||
icc? ( ${COM_URI}/${ICC_PID}/l_cc_${xPV}_ia64.tar.gz ) )
|
||||
x86? ( ifc? ( !icc? ( ${COM_URI}/${IFC_PID}/l_fc_${xPV}_ia32.tar.gz ) )
|
||||
!ifc? ( !icc? ( ${COM_URI}/${ICC_PID}/l_cc_${xPV}_ia32.tar.gz ) )
|
||||
icc? ( ${COM_URI}/${ICC_PID}/l_cc_${xPV}_ia32.tar.gz ) )"
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
LICENSE="Intel-SDP"
|
||||
SLOT="0"
|
||||
|
||||
RESTRICT="strip mirror"
|
||||
IUSE="emacs icc ifc"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="=virtual/libstdc++-3.3
|
||||
x11-libs/libXft
|
||||
x11-libs/libXt
|
||||
dev-libs/libxml2
|
||||
emacs? ( virtual/emacs )"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
PACKAGEID=$(basename l_*)
|
||||
mv "${WORKDIR}"/${PACKAGEID} "${S}"
|
||||
cd "${S}"
|
||||
for x in data/*idb*.rpm; do
|
||||
einfo "Extracting $(basename ${x})..."
|
||||
rpm_unpack "${S}"/${x} || die "rpm_unpack ${x} failed"
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local ext=
|
||||
use amd64 && ext=e
|
||||
local instdir=/opt/intel/${PN}${ext}/${PV}
|
||||
cd "${S}"/${instdir}/doc
|
||||
sed -e "s|\<installpackageid\>|${PACKAGEID}|g" \
|
||||
-i *support \
|
||||
|| die "sed support file failed"
|
||||
chmod 644 *support
|
||||
|
||||
dodir ${instdir}
|
||||
einfo "Copying files"
|
||||
cp -pPR \
|
||||
"${S}"/${instdir}/* \
|
||||
"${D}"/${instdir}/ \
|
||||
|| die "copying debugger failed"
|
||||
cat > 06idb <<-EOF
|
||||
PATH=${instdir}/bin
|
||||
ROOTPATH=${instdir}/bin
|
||||
MANPATH=${instdir}/man
|
||||
EOF
|
||||
doenvd 06idb || die "installing env file failed"
|
||||
if use emacs; then
|
||||
elisp-install ${PN} "${S}"${instdir}/bin/*.el || die
|
||||
elisp-site-file-install "${FILESDIR}"/50${PN}-gentoo.el || die
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst () {
|
||||
rm -f "${ROOT}"/opt/intel/{intel_sdp_products.db,.*.log} || die
|
||||
elog "Make sure you have recieved the a license for ${PN},"
|
||||
elog "you cannot run ${PN} without a license file."
|
||||
elog "To receive a non-commercial license, you need to register."
|
||||
elog "Read the website for more information on this license:"
|
||||
elog "${HOMEPAGE}"
|
||||
elog "Then put the license file into ${ROOT}/opt/intel/licenses."
|
||||
elog "\nTo use ${PN} issue first \n\tsource ${ROOT}/etc/profile"
|
||||
use emacs && elisp-site-regen
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
@ -1,58 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/idb/idb-11.1.056.ebuild,v 1.2 2010/04/20 20:58:28 bicatali Exp $
|
||||
|
||||
EAPI=2
|
||||
inherit versionator multilib
|
||||
|
||||
RELEASE="$(get_version_component_range 1-2)"
|
||||
BUILD="$(get_version_component_range 3)"
|
||||
|
||||
DESCRIPTION="Intel C/C++/FORTRAN debugger for Linux"
|
||||
HOMEPAGE="http://www.intel.com/software/products/compilers/"
|
||||
SRC_URI=""
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
LICENSE="Intel-SDP"
|
||||
SLOT="0"
|
||||
IUSE="eclipse"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="|| ( ~dev-lang/icc-${PV}[idb] ~dev-lang/ifc-${PV}[idb] )
|
||||
>=virtual/jre-1.5
|
||||
eclipse? ( >=dev-util/eclipse-sdk-3.4 )"
|
||||
|
||||
DESTINATION="${ROOT}opt/intel/Compiler/${RELEASE}/${BUILD}"
|
||||
|
||||
link_eclipse_plugins() {
|
||||
ECLIPSE_V="$1"
|
||||
CDT_V="$2"
|
||||
einfo "Linking eclipse (v${ECLIPSE_V}) plugin cdt (v${CDT_V})"
|
||||
dodir /usr/$(get_libdir)/eclipse-${ECLIPSE_V}/plugins
|
||||
dodir /usr/$(get_libdir)/eclipse-${ECLIPSE_V}/features
|
||||
|
||||
for f in "${DESTINATION}/idb/eclipse_support/cdt${CDT_V}/eclipse/plugins"/*; do
|
||||
dosym "${ROOT}${f}" /usr/$(get_libdir)/eclipse-${ECLIPSE_V}/plugins
|
||||
done
|
||||
|
||||
for f in "${DESTINATION}/idb/eclipse_support/cdt${CDT_V}/eclipse/features"/*; do
|
||||
dosym /"${ROOT}${f}" /usr/$(get_libdir)/eclipse-${ECLIPSE_V}/features
|
||||
done
|
||||
eend $?
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cat > 06idb <<-EOF
|
||||
NLSPATH=${DESTINATION}/idb/${IARCH}/locale/%l_%t/%N
|
||||
EOF
|
||||
doenvd 06idb || die "doenvd 06idb failed"
|
||||
if use eclipse; then
|
||||
if has_version 'dev-util/eclipse-sdk:3.4'; then
|
||||
link_eclipse_plugins "3.4" "5.0" || die
|
||||
fi
|
||||
if has_version 'dev-util/eclipse-sdk:3.5'; then
|
||||
link_eclipse_plugins "3.5" "6.0" || die
|
||||
fi
|
||||
fi
|
||||
}
|
@ -0,0 +1,391 @@
|
||||
# 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.0_rc8.ebuild,v 1.1 2012/02/16 19:22:11 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 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
|
||||
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://olemarkus.org/~olemarkus/gentoo/${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-stas"
|
||||
PHP_P="${PN}-${PHP_PV}"
|
||||
|
||||
PHP_PATCHSET_LOC="olemarkus"
|
||||
|
||||
PHP_SRC_URI="$(php_get_uri "${PHP_RELEASE}" "${PHP_P}.tar.bz2")"
|
||||
|
||||
PHP_PATCHSET="1"
|
||||
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 +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="!dev-lang/php:5
|
||||
>=app-admin/eselect-php-0.6.2
|
||||
>=dev-libs/libpcre-8.12[unicode]
|
||||
<dev-libs/libpcre-8.30
|
||||
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 ) ) ) ) )"
|
||||
|
||||
DEPEND="${DEPEND}
|
||||
enchant? ( !dev-php/pecl-enchant )
|
||||
fileinfo? ( !<dev-php/pecl-fileinfo-1.0.4-r2 )
|
||||
filter? ( !dev-php/pecl-filter )
|
||||
json? ( !dev-php/pecl-json )
|
||||
phar? ( !dev-php/pecl-phar )
|
||||
zip? ( !dev-php/pecl-zip )"
|
||||
|
||||
[[ -n $SUHOSIN_VERSION ]] && RDEPEND="${RDEPEND} suhosin? (
|
||||
=${CATEGORY}/${PN}-${SLOT}*[unicode] )"
|
||||
|
||||
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,69 @@
|
||||
From cd0b9991c76903b66ad3c938d6135aedbf4e1ef0 Mon Sep 17 00:00:00 2001
|
||||
From: H.J. Lu <hjl.tools@gmail.com>
|
||||
Date: Tue, 6 Dec 2011 19:51:28 -0800
|
||||
Subject: [PATCH] Fix libffi for x32.
|
||||
|
||||
2011-12-06 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* src/x86/ffi64.c (ffi_call): Cast the return value to
|
||||
unsigned long.
|
||||
|
||||
* src/x86/ffitarget.h (ffi_arg): Set to unsigned long long for
|
||||
x32.
|
||||
(ffi_sarg): Set to long for x32.
|
||||
---
|
||||
libffi/ChangeLog.x32 | 8 ++++++++
|
||||
libffi/src/x86/ffi64.c | 2 +-
|
||||
libffi/src/x86/ffitarget.h | 5 +++++
|
||||
3 files changed, 14 insertions(+), 1 deletions(-)
|
||||
create mode 100644 libffi/ChangeLog.x32
|
||||
|
||||
diff --git a/libffi/ChangeLog.x32 b/libffi/ChangeLog.x32
|
||||
new file mode 100644
|
||||
index 0000000..c733789
|
||||
--- /dev/null
|
||||
+++ b/libffi/ChangeLog.x32
|
||||
@@ -0,0 +1,8 @@
|
||||
+2011-12-06 H.J. Lu <hongjiu.lu@intel.com>
|
||||
+
|
||||
+ * src/x86/ffi64.c (ffi_call): Cast the return value to
|
||||
+ unsigned long.
|
||||
+
|
||||
+ * src/x86/ffitarget.h (ffi_arg): Set to unsigned long long for
|
||||
+ x32.
|
||||
+ (ffi_sarg): Set to long for x32.
|
||||
diff --git a/libffi/src/x86/ffi64.c b/libffi/src/x86/ffi64.c
|
||||
index bd907d7..4d87ddb 100644
|
||||
--- a/libffi/src/x86/ffi64.c
|
||||
+++ b/libffi/src/x86/ffi64.c
|
||||
@@ -426,7 +426,7 @@ ffi_call (ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue)
|
||||
/* If the return value is passed in memory, add the pointer as the
|
||||
first integer argument. */
|
||||
if (ret_in_memory)
|
||||
- reg_args->gpr[gprcount++] = (long) rvalue;
|
||||
+ reg_args->gpr[gprcount++] = (unsigned long) rvalue;
|
||||
|
||||
avn = cif->nargs;
|
||||
arg_types = cif->arg_types;
|
||||
diff --git a/libffi/src/x86/ffitarget.h b/libffi/src/x86/ffitarget.h
|
||||
index b85016c..7a7d7a5 100644
|
||||
--- a/libffi/src/x86/ffitarget.h
|
||||
+++ b/libffi/src/x86/ffitarget.h
|
||||
@@ -53,9 +53,14 @@ typedef unsigned long long ffi_arg;
|
||||
typedef long long ffi_sarg;
|
||||
#endif
|
||||
#else
|
||||
+#if defined __x86_64__ && !defined __LP64__
|
||||
+typedef unsigned long long ffi_arg;
|
||||
+typedef long long ffi_sarg;
|
||||
+#else
|
||||
typedef unsigned long ffi_arg;
|
||||
typedef signed long ffi_sarg;
|
||||
#endif
|
||||
+#endif
|
||||
|
||||
typedef enum ffi_abi {
|
||||
FFI_FIRST_ABI = 0,
|
||||
--
|
||||
1.7.3.4
|
||||
|
@ -1,11 +1,11 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-Net_DNS/PEAR-Net_DNS-1.0.7.ebuild,v 1.4 2012/02/09 01:24:05 jer Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-Net_DNS/PEAR-Net_DNS-1.0.7.ebuild,v 1.5 2012/02/16 19:11:49 phajdan.jr Exp $
|
||||
|
||||
inherit php-pear-r1
|
||||
|
||||
DESCRIPTION="Resolver library used to communicate with a DNS server."
|
||||
LICENSE="PHP-3.01 || ( LGPL-2.1 LGPL-3 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 hppa ~ia64 ppc ppc64 ~sparc ~x86"
|
||||
KEYWORDS="~alpha amd64 hppa ~ia64 ppc ppc64 ~sparc x86"
|
||||
IUSE=""
|
||||
|
@ -0,0 +1 @@
|
||||
DIST pympler-0.2.0.tar.xz 206996 RMD160 165eebbd110c5efeef1d2643c4db42c77ceb002f SHA1 3d6936549b0196fd9a03221d5fc0ea9dc00e767b SHA256 c2c52a7f6126a11b982d4fb6096f261c4aea6a1f38e4ab36329d025d3eeac56e
|
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>python</herd>
|
||||
<maintainer>
|
||||
<email>jlec@gentoo.org</email>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
Pympler is a development tool to measure, monitor and analyze the memory
|
||||
behavior of Python objects in a running Python application. By pympling a
|
||||
Python application, detailed insight in the size and the lifetime of Python
|
||||
objects can be obtained. Undesirable or unexpected runtime behavior like
|
||||
memory bloat and other "pymples" can easily be identified.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pympler/pympler-0.2.0.ebuild,v 1.2 2012/02/16 20:25:54 jlec Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="memory profiling for Python applications"
|
||||
HOMEPAGE="http://code.google.com/p/pympler/"
|
||||
SRC_URI="http://dev.gentoo.org/~jlec/distfiles/${P}.tar.xz"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
LICENSE="Apache-2.0"
|
||||
IUSE=""
|
||||
|
||||
src_test() {
|
||||
testing() {
|
||||
PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" setup.py test
|
||||
PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" run.py --test --clean
|
||||
}
|
||||
python_execute_function testing
|
||||
}
|
@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/expect-lite/expect-lite-4.2.2.ebuild,v 1.1 2012/02/17 02:09:23 vapier Exp $
|
||||
|
||||
DESCRIPTION="quick and easy command line automation tool built on top of expect"
|
||||
HOMEPAGE="http://expect-lite.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug examples"
|
||||
|
||||
RDEPEND="dev-tcltk/expect
|
||||
debug? ( dev-tcltk/tclx )"
|
||||
|
||||
S=${WORKDIR}/${PN}.proj
|
||||
|
||||
src_install() {
|
||||
dobin ${PN} || die
|
||||
doman man/* || die
|
||||
dodoc bashrc ChangeLog README
|
||||
dohtml Docs/*
|
||||
|
||||
if use examples ; then
|
||||
docinto examples
|
||||
dodoc Examples/* || die
|
||||
fi
|
||||
}
|
@ -0,0 +1,26 @@
|
||||
Backport of valgrind-3.7.0-automake-1.11.2.patch
|
||||
|
||||
Retain the old behavior of the build system even with automake 1.11.3.
|
||||
|
||||
Reported-by: Oleg Bulatov <dmage@bk.ru>
|
||||
X-Gentoo-Bug: 397429
|
||||
X-Gentoo-Bug: 403779
|
||||
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=397429
|
||||
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=403779
|
||||
X-KDE-Bug: 290719
|
||||
X-KDE-Bug-URL: https://bugs.kde.org/show_bug.cgi?id=290719
|
||||
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
|
||||
|
||||
diff -Naur valgrind-3.6.1.orig//Makefile.am valgrind-3.6.1/Makefile.am
|
||||
--- valgrind-3.6.1.orig//Makefile.am 2010-10-20 16:19:45.000000000 -0400
|
||||
+++ valgrind-3.6.1/Makefile.am 2012-02-16 20:27:23.000000000 -0500
|
||||
@@ -57,7 +57,8 @@
|
||||
# default.supp, as it is built from the base .supp files at compile-time.
|
||||
dist_noinst_DATA = $(SUPP_FILES)
|
||||
|
||||
-pkglib_DATA = default.supp
|
||||
+vgdatadir = $(pkglibdir)
|
||||
+vgdata_DATA = default.supp
|
||||
|
||||
pkgconfigdir = $(libdir)/pkgconfig
|
||||
pkgconfig_DATA = valgrind.pc
|
@ -0,0 +1,82 @@
|
||||
diff -Naur valgrind-3.6.1.orig/coregrind/m_debuginfo/debuginfo.c valgrind-3.6.1/coregrind/m_debuginfo/debuginfo.c
|
||||
--- valgrind-3.6.1.orig/coregrind/m_debuginfo/debuginfo.c 2010-10-20 16:19:43.000000000 -0400
|
||||
+++ valgrind-3.6.1/coregrind/m_debuginfo/debuginfo.c 2012-02-16 21:10:53.000000000 -0500
|
||||
@@ -1958,6 +1958,14 @@
|
||||
case Cop_Sub: return wL - wR;
|
||||
case Cop_And: return wL & wR;
|
||||
case Cop_Mul: return wL * wR;
|
||||
+ case Cop_Shl: return wL << wR;
|
||||
+ case Cop_Shr: return wL >> wR;
|
||||
+ case Cop_Eq: return wL == wR ? 1 : 0;
|
||||
+ case Cop_Ge: return (Word) wL >= (Word) wR ? 1 : 0;
|
||||
+ case Cop_Gt: return (Word) wL > (Word) wR ? 1 : 0;
|
||||
+ case Cop_Le: return (Word) wL <= (Word) wR ? 1 : 0;
|
||||
+ case Cop_Lt: return (Word) wL < (Word) wR ? 1 : 0;
|
||||
+ case Cop_Ne: return wL != wR ? 1 : 0;
|
||||
default: goto unhandled;
|
||||
}
|
||||
/*NOTREACHED*/
|
||||
diff -Naur valgrind-3.6.1.orig/coregrind/m_debuginfo/priv_storage.h valgrind-3.6.1/coregrind/m_debuginfo/priv_storage.h
|
||||
--- valgrind-3.6.1.orig/coregrind/m_debuginfo/priv_storage.h 2010-10-20 16:19:43.000000000 -0400
|
||||
+++ valgrind-3.6.1/coregrind/m_debuginfo/priv_storage.h 2012-02-16 21:10:49.000000000 -0500
|
||||
@@ -218,7 +218,15 @@
|
||||
Cop_Add=0x321,
|
||||
Cop_Sub,
|
||||
Cop_And,
|
||||
- Cop_Mul
|
||||
+ Cop_Mul,
|
||||
+ Cop_Shl,
|
||||
+ Cop_Shr,
|
||||
+ Cop_Eq,
|
||||
+ Cop_Ge,
|
||||
+ Cop_Gt,
|
||||
+ Cop_Le,
|
||||
+ Cop_Lt,
|
||||
+ Cop_Ne
|
||||
}
|
||||
CfiOp;
|
||||
|
||||
diff -Naur valgrind-3.6.1.orig/coregrind/m_debuginfo/readdwarf.c valgrind-3.6.1/coregrind/m_debuginfo/readdwarf.c
|
||||
--- valgrind-3.6.1.orig/coregrind/m_debuginfo/readdwarf.c 2010-10-20 16:19:43.000000000 -0400
|
||||
+++ valgrind-3.6.1/coregrind/m_debuginfo/readdwarf.c 2012-02-16 21:10:49.000000000 -0500
|
||||
@@ -2831,6 +2831,22 @@
|
||||
op = Cop_And; opname = "and"; goto binop;
|
||||
case DW_OP_mul:
|
||||
op = Cop_Mul; opname = "mul"; goto binop;
|
||||
+ case DW_OP_shl:
|
||||
+ op = Cop_Shl; opname = "shl"; goto binop;
|
||||
+ case DW_OP_shr:
|
||||
+ op = Cop_Shr; opname = "shr"; goto binop;
|
||||
+ case DW_OP_eq:
|
||||
+ op = Cop_Eq; opname = "eq"; goto binop;
|
||||
+ case DW_OP_ge:
|
||||
+ op = Cop_Ge; opname = "ge"; goto binop;
|
||||
+ case DW_OP_gt:
|
||||
+ op = Cop_Gt; opname = "gt"; goto binop;
|
||||
+ case DW_OP_le:
|
||||
+ op = Cop_Le; opname = "le"; goto binop;
|
||||
+ case DW_OP_lt:
|
||||
+ op = Cop_Lt; opname = "lt"; goto binop;
|
||||
+ case DW_OP_ne:
|
||||
+ op = Cop_Ne; opname = "ne"; goto binop;
|
||||
binop:
|
||||
POP( ix );
|
||||
POP( ix2 );
|
||||
diff -Naur valgrind-3.6.1.orig/coregrind/m_debuginfo/storage.c valgrind-3.6.1/coregrind/m_debuginfo/storage.c
|
||||
--- valgrind-3.6.1.orig/coregrind/m_debuginfo/storage.c 2010-10-20 16:19:43.000000000 -0400
|
||||
+++ valgrind-3.6.1/coregrind/m_debuginfo/storage.c 2012-02-16 21:10:49.000000000 -0500
|
||||
@@ -595,6 +595,14 @@
|
||||
case Cop_Sub: VG_(printf)("-"); break;
|
||||
case Cop_And: VG_(printf)("&"); break;
|
||||
case Cop_Mul: VG_(printf)("*"); break;
|
||||
+ case Cop_Shl: VG_(printf)("<<"); break;
|
||||
+ case Cop_Shr: VG_(printf)(">>"); break;
|
||||
+ case Cop_Eq: VG_(printf)("=="); break;
|
||||
+ case Cop_Ge: VG_(printf)(">="); break;
|
||||
+ case Cop_Gt: VG_(printf)(">"); break;
|
||||
+ case Cop_Le: VG_(printf)("<="); break;
|
||||
+ case Cop_Lt: VG_(printf)("<"); break;
|
||||
+ case Cop_Ne: VG_(printf)("!="); break;
|
||||
default: vg_assert(0);
|
||||
}
|
||||
}
|
@ -0,0 +1,108 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/valgrind/valgrind-3.6.1-r3.ebuild,v 1.1 2012/02/17 02:19:37 blueness Exp $
|
||||
|
||||
EAPI=2
|
||||
inherit autotools eutils flag-o-matic toolchain-funcs multilib pax-utils
|
||||
|
||||
DESCRIPTION="An open-source memory debugger for GNU/Linux"
|
||||
HOMEPAGE="http://www.valgrind.org"
|
||||
SRC_URI="http://www.valgrind.org/downloads/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="mpi qt4"
|
||||
|
||||
DEPEND="mpi? ( virtual/mpi )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
# Respect CFLAGS, LDFLAGS
|
||||
sed -i -e '/^CPPFLAGS =/d' -e '/^CFLAGS =/d' -e '/^LDFLAGS =/d' \
|
||||
mpi/Makefile.am || die
|
||||
|
||||
# Changing Makefile.all.am to disable SSP
|
||||
sed -i -e 's:^AM_CFLAGS_BASE = :AM_CFLAGS_BASE = -fno-stack-protector :' \
|
||||
Makefile.all.am || die
|
||||
|
||||
# Correct hard coded doc location
|
||||
sed -i -e "s:doc/valgrind:doc/${PF}:" \
|
||||
docs/Makefile.am || die
|
||||
|
||||
# Yet more local labels, this time for ppc32 & ppc64
|
||||
epatch "${FILESDIR}"/${PN}-3.6.0-local-labels.patch
|
||||
|
||||
# Don't build in empty assembly files for other platforms or we'll get a QA
|
||||
# warning about executable stacks.
|
||||
epatch "${FILESDIR}"/${PN}-3.6.0-non-exec-stack.patch
|
||||
|
||||
# Fix up some suppressions that were not general enough for glibc versions
|
||||
# with more than just a major and minor number.
|
||||
epatch "${FILESDIR}"/${PN}-3.4.1-glibc-2.10.1.patch
|
||||
|
||||
# Remove automagic dependency on qt4
|
||||
epatch "${FILESDIR}"/${PN}-3.6.1-user-enable-qt4.patch
|
||||
|
||||
# Allow valgrind to build against linux-3, bug #370857
|
||||
epatch "${FILESDIR}"/${PN}-3.6.1-linux-3.patch
|
||||
|
||||
# Allow valgrind to build against glibc-2.14, bug #378157
|
||||
epatch "${FILESDIR}"/${PN}-3.6.1-glibc-2.14.patch
|
||||
|
||||
# Back port of fix for bug #403179, https://bugs.kde.org/show_bug.cgi?id=277045
|
||||
epatch "${FILESDIR}"/${PN}-3.6.1-fix-unhandled-opcode.patch
|
||||
|
||||
# Fix stricter use of dir variables, bugs #397429 and #403779
|
||||
epatch "${FILESDIR}"/${PN}-3.6.1-automake-1.11.3.patch
|
||||
|
||||
# Regenerate autotools files
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
|
||||
# -fomit-frame-pointer "Assembler messages: Error: junk `8' after expression"
|
||||
# while compiling insn_sse.c in none/tests/x86
|
||||
# -fpie valgrind seemingly hangs when built with pie on
|
||||
# amd64 (bug #102157)
|
||||
# -fstack-protector more undefined references to __guard and __stack_smash_handler
|
||||
# because valgrind doesn't link to glibc (bug #114347)
|
||||
# -ggdb3 segmentation fault on startup
|
||||
filter-flags -fomit-frame-pointer
|
||||
filter-flags -fpie
|
||||
filter-flags -fstack-protector
|
||||
replace-flags -ggdb3 -ggdb2
|
||||
|
||||
if use amd64 || use ppc64; then
|
||||
! has_multilib_profile && myconf="${myconf} --enable-only64bit"
|
||||
fi
|
||||
|
||||
# Don't use mpicc unless the user asked for it (bug #258832)
|
||||
if ! use mpi; then
|
||||
myconf="${myconf} --without-mpicc"
|
||||
fi
|
||||
|
||||
if ! use qt4; then
|
||||
myconf="${myconf} --disable-qtcore"
|
||||
fi
|
||||
|
||||
econf ${myconf}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die
|
||||
dodoc AUTHORS FAQ.txt NEWS README*
|
||||
|
||||
pax-mark m "${D}"/usr/$(get_libdir)/valgrind/*-*-linux
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn "Valgrind will not work if glibc does not have debug symbols."
|
||||
ewarn "To fix this you can add splitdebug to FEATURES in make.conf"
|
||||
ewarn "and remerge glibc. See:"
|
||||
ewarn "https://bugs.gentoo.org/show_bug.cgi?id=214065"
|
||||
ewarn "https://bugs.gentoo.org/show_bug.cgi?id=274771"
|
||||
ewarn "https://bugs.gentoo.org/show_bug.cgi?id=388703"
|
||||
}
|
@ -0,0 +1,53 @@
|
||||
diff -Nur a/extensions/tracker/tracker.py b/extensions/tracker/tracker.py
|
||||
--- a/extensions/tracker/tracker.py 2011-12-18 16:42:33.000000000 +0100
|
||||
+++ b/extensions/tracker/tracker.py 2011-12-18 16:55:08.000000000 +0100
|
||||
@@ -26,9 +26,7 @@
|
||||
import logging
|
||||
|
||||
import gi
|
||||
-from gi.repository import Tracker
|
||||
-
|
||||
-import gobject
|
||||
+from gi.repository import Tracker, GObject
|
||||
|
||||
from _zeitgeist.engine.extension import Extension
|
||||
from _zeitgeist.engine import constants
|
||||
@@ -52,7 +50,7 @@
|
||||
self._engine = engine
|
||||
self.cursor = get_default_cursor()
|
||||
if not (os.path.exists(INDEX_FILE)):
|
||||
- gobject.idle_add (self._reindex)
|
||||
+ GObject.idle_add (self._reindex)
|
||||
|
||||
def _reindex(self):
|
||||
log.info("Empty index detected. Doing full rebuild")
|
||||
diff -Nur a/extensions/fts/fts.py b/extensions/fts/fts.py
|
||||
--- a/extensions/fts/fts.py 2011-12-18 17:21:37.000000000 +0100
|
||||
+++ b/extensions/fts/fts.py 2011-12-18 17:22:09.000000000 +0100
|
||||
@@ -49,7 +49,7 @@
|
||||
from Queue import Queue, Empty
|
||||
import threading
|
||||
from urllib import quote as url_escape, unquote as url_unescape
|
||||
-import gobject, gio
|
||||
+from gi.repository import GObject
|
||||
from cStringIO import StringIO
|
||||
|
||||
from zeitgeist.datamodel import Symbol, StorageState, ResultType, TimeRange, NULL_EVENT, NEGATION_OPERATOR
|
||||
@@ -294,7 +294,7 @@
|
||||
# Cache of parsed DesktopEntrys
|
||||
self._desktops = {}
|
||||
|
||||
- gobject.threads_init()
|
||||
+ GObject.threads_init()
|
||||
self._may_run = True
|
||||
self._queue = Queue(0)
|
||||
self._worker = threading.Thread(target=self._worker_thread,
|
||||
@@ -304,7 +304,7 @@
|
||||
# We need to defer the index checking until after ZG has completed
|
||||
# full setup. Hence the idle handler.
|
||||
# We also don't start the worker until after we've checked the index
|
||||
- gobject.idle_add (self._check_index_and_start_worker)
|
||||
+ GObject.idle_add (self._check_index_and_start_worker)
|
||||
|
||||
@synchronized (INDEX_LOCK)
|
||||
def _check_index_and_start_worker (self):
|
@ -0,0 +1,17 @@
|
||||
memory-profile/profile_memory.py | 3 +--
|
||||
1 files changed, 1 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/memory-profile/profile_memory.py b/memory-profile/profile_memory.py
|
||||
index b1e8c06..da37c90 100644
|
||||
--- a/memory-profile/profile_memory.py
|
||||
+++ b/memory-profile/profile_memory.py
|
||||
@@ -28,8 +28,7 @@ from _zeitgeist.engine.extension import Extension
|
||||
from _zeitgeist.engine import constants
|
||||
from _zeitgeist.singleton import SingletonApplication
|
||||
|
||||
-from pympler.tracker import ClassTracker
|
||||
-from pympler.tracker.stats import ConsoleStats
|
||||
+from pympler.classtracker import ClassTracker, ConsoleStats
|
||||
|
||||
DBUS_OBJECT_PATH = "/org/gnome/zeitgeist/memory_profiler"
|
||||
|
@ -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/gnome-extra/zeitgeist-extensions/zeitgeist-extensions-0.0.13-r1.ebuild,v 1.1 2012/02/16 19:50:03 jlec Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
PYTHON_DEPEND="2"
|
||||
PYTHON_USE_WITH="sqlite"
|
||||
|
||||
inherit eutils python
|
||||
|
||||
DESCRIPTION="Extensions to the engine such as Teamgeist, Relevancy Providers and Machine Learning Algorithms"
|
||||
HOMEPAGE="https://launchpad.net/zeitgeist-extensions/"
|
||||
SRC_URI="http://launchpad.net/${PN}/trunk/fts-${PV}/+download/${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
LICENSE="GPL-3"
|
||||
IUSE="fts geolocation memprofile sqldebug tracker"
|
||||
|
||||
RDEPEND="
|
||||
fts? (
|
||||
dev-libs/xapian-bindings[python]
|
||||
dev-python/dbus-python
|
||||
dev-python/pygobject
|
||||
dev-python/pyxdg
|
||||
)
|
||||
geolocation? (
|
||||
dev-python/dbus-python
|
||||
dev-python/python-geoclue
|
||||
)
|
||||
memprofile? (
|
||||
dev-python/dbus-python
|
||||
dev-python/pympler
|
||||
)
|
||||
sqldebug? ( dev-python/python-sqlparse )
|
||||
tracker? (
|
||||
app-misc/tracker
|
||||
dev-python/pygobject
|
||||
dev-python/dbus-python
|
||||
)"
|
||||
DEPEND=""
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${P}-python.patch \
|
||||
"${FILESDIR}"/${P}-gobject.patch
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/zeitgeist/_zeitgeist/engine/extensions
|
||||
use fts && doins ./fts/fts.py
|
||||
if use geolocation; then
|
||||
dodoc ./geolocation/example.py
|
||||
doins ./geolocation/geolocation.py
|
||||
fi
|
||||
if use memprofile; then
|
||||
doins ./memory-profile/profile_memory.py
|
||||
newdoc ./memory-profile/README README-memprofile
|
||||
fi
|
||||
use sqldebug && doins ./debug_sql/debug_sql.py
|
||||
use tracker && doins ./tracker/tracker.py
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
python_mod_optimize /usr/share/zeitgeist/_zeitgeist/engine/extensions
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
python_mod_cleanup /usr/share/zeitgeist/_zeitgeist/engine/extensions
|
||||
}
|
@ -0,0 +1,62 @@
|
||||
.../engine/extensions/datasource_registry.py | 4 ++--
|
||||
zeitgeist-daemon | 2 +-
|
||||
zeitgeist-daemon.py | 4 ++--
|
||||
3 files changed, 5 insertions(+), 5 deletions(-)
|
||||
|
||||
diff --git a/_zeitgeist/engine/extensions/datasource_registry.py b/_zeitgeist/engine/extensions/datasource_registry.py
|
||||
index 17d357f..fea7d85 100644
|
||||
--- a/_zeitgeist/engine/extensions/datasource_registry.py
|
||||
+++ b/_zeitgeist/engine/extensions/datasource_registry.py
|
||||
@@ -23,7 +23,7 @@ import os
|
||||
import cPickle as pickle
|
||||
import dbus
|
||||
import dbus.service
|
||||
-import gobject
|
||||
+from gi.repository import GObject
|
||||
import logging
|
||||
|
||||
from zeitgeist.datamodel import get_timestamp_for_now
|
||||
@@ -96,7 +96,7 @@ class DataSourceRegistry(Extension, dbus.service.Object):
|
||||
)
|
||||
|
||||
self._dirty = True
|
||||
- gobject.timeout_add(DISK_WRITE_TIMEOUT, self._write_to_disk)
|
||||
+ GObject.timeout_add(DISK_WRITE_TIMEOUT, self._write_to_disk)
|
||||
|
||||
def _write_to_disk(self):
|
||||
data = [DataSource.get_plain(datasource) for datasource in
|
||||
diff --git a/zeitgeist-daemon b/zeitgeist-daemon
|
||||
index 3f5ae91..c845d10 100755
|
||||
--- a/zeitgeist-daemon
|
||||
+++ b/zeitgeist-daemon
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
import sys
|
||||
import os
|
||||
-import gobject
|
||||
+from gi.repository import GObject
|
||||
import glib
|
||||
import dbus.mainloop.glib
|
||||
import gettext
|
||||
diff --git a/zeitgeist-daemon.py b/zeitgeist-daemon.py
|
||||
index 1afe89b..dad24fc 100755
|
||||
--- a/zeitgeist-daemon.py
|
||||
+++ b/zeitgeist-daemon.py
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
import sys
|
||||
import os
|
||||
-import gobject
|
||||
+from gi.repository import GObject
|
||||
import glib
|
||||
import dbus.mainloop.glib
|
||||
import gettext
|
||||
@@ -99,7 +99,7 @@ def do_shell_completion(parser):
|
||||
def setup_interface():
|
||||
from _zeitgeist.engine.remote import RemoteInterface
|
||||
dbus.mainloop.glib.DBusGMainLoop(set_as_default=True)
|
||||
- mainloop = gobject.MainLoop()
|
||||
+ mainloop = GObject.MainLoop()
|
||||
return mainloop, RemoteInterface(mainloop = mainloop)
|
||||
|
||||
def start_datahub():
|
@ -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/gnome-extra/zeitgeist/zeitgeist-0.8.2-r1.ebuild,v 1.1 2012/02/16 19:49:01 jlec Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
PYTHON_DEPEND="2"
|
||||
PYTHON_USE_WITH="sqlite"
|
||||
|
||||
AUTOTOOLS_AUTORECONF=true
|
||||
|
||||
inherit autotools-utils eutils python versionator
|
||||
|
||||
DIR_PV=$(get_version_component_range 1-2)
|
||||
EXT_VER=0.0.13
|
||||
|
||||
DESCRIPTION="Service to log activities and present to other apps"
|
||||
HOMEPAGE="http://launchpad.net/zeitgeist/"
|
||||
SRC_URI="http://launchpad.net/zeitgeist/${DIR_PV}/${PV}/+download/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="extensions passiv plugins"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/dbus-python
|
||||
dev-python/pygobject:2
|
||||
dev-python/pyxdg
|
||||
dev-python/rdflib
|
||||
media-libs/raptor:2
|
||||
extensions? ( gnome-extra/zeitgeist-extensions )
|
||||
passiv? ( gnome-extra/zeitgeist-datahub )
|
||||
plugins? ( gnome-extra/zeitgeist-datasources )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${P}-gobject.patch )
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_install() {
|
||||
autotools-utils_src_install
|
||||
python_convert_shebangs -r 2 "${ED}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
python_mod_optimize zeitgeist
|
||||
python_mod_optimize /usr/share/zeitgeist/
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
python_mod_cleanup zeitgeist
|
||||
python_mod_cleanup /usr/share/zeitgeist/
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST phonon-backend-gstreamer-4.5.0.tar.bz2 89682 RMD160 47fff712220bd040b695e055954346a03d2c5b00 SHA1 93c1bae7ef324b3f80d1b6ed85b80cf920064af6 SHA256 a90874728b4eba089eb427fa1df2b65df387c08380df880ff5fa8f9beb85f79e
|
||||
DIST phonon-backend-gstreamer-4.5.1.tar.bz2 90211 RMD160 5c57f14e134edefd8e3a39756bece5262a437a30 SHA1 3f8c059bb60e78fc1eb61bde5ab2c3bba395ca98 SHA256 62326ce7c64810eec8f42245a1f1880ce10d0a3b8976318ad516091f419ba38e
|
||||
DIST phonon-backend-gstreamer-4.6.0.tar.xz 70912 RMD160 7fc239902e197466eb7e024348f600f8019bc914 SHA1 331451e6028f3b8ea356da1d8e979fbd6f8882e7 SHA256 5bd4e00c75d86b21fa364458b72b3603bbb85d8f06361b7ba9e422595b68932f
|
||||
|
@ -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/media-libs/phonon-gstreamer/phonon-gstreamer-4.6.0.ebuild,v 1.1 2012/02/16 23:09:24 johu Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
[[ ${PV} == *9999 ]] && git_eclass="git-2"
|
||||
EGIT_REPO_URI="git://anongit.kde.org/${PN}"
|
||||
|
||||
MY_PN="phonon-backend-gstreamer"
|
||||
MY_P=${MY_PN}-${PV}
|
||||
|
||||
inherit cmake-utils ${git_eclass}
|
||||
|
||||
DESCRIPTION="Phonon GStreamer backend"
|
||||
HOMEPAGE="https://projects.kde.org/projects/kdesupport/phonon/phonon-gstreamer"
|
||||
[[ ${PV} == *9999 ]] || SRC_URI="mirror://kde/stable/phonon/${MY_PN}/${PV}/src/${MY_P}.tar.xz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
KEYWORDS=""
|
||||
else
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
SLOT="0"
|
||||
IUSE="alsa debug +network"
|
||||
|
||||
RDEPEND="
|
||||
media-libs/gstreamer
|
||||
media-plugins/gst-plugins-meta[alsa?,ogg,vorbis]
|
||||
>=media-libs/phonon-4.6.0
|
||||
>=x11-libs/qt-core-4.6.0:4[glib]
|
||||
>=x11-libs/qt-gui-4.6.0:4[glib]
|
||||
>=x11-libs/qt-opengl-4.6.0:4
|
||||
virtual/opengl
|
||||
network? ( media-plugins/gst-plugins-soup )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-util/automoc-0.9.87
|
||||
dev-util/pkgconfig
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
$(cmake-utils_use_with alsa)
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST phonon-backend-vlc-0.4.0.tar.bz2 54665 RMD160 05efa578b971c7fc7ba240c7afd09539c2d38e26 SHA1 3cbe63d76f7a65649c209019ece20ea018c65add SHA256 a6595a5ac4ac87a5494723312b68e8345488dd2fe2e1401d67f9c2a8925110f2
|
||||
DIST phonon-backend-vlc-0.4.1.tar.bz2 55020 RMD160 d2497fd30ae301758547e9873d8572a75b5fd212 SHA1 7d544e8894789b38cf1b0736e4b0ec300caecb21 SHA256 168da93f71ec00b35d006a501f434a50134c51d8f80a8338e340c835d24b2da4
|
||||
DIST phonon-backend-vlc-0.5.0.tar.xz 51388 RMD160 9966657197e6f86a0c2e57044568582c60e368cf SHA1 c0b5eb78f3d4b3e041b234d84afae32b42b55f61 SHA256 2256fe9fef74bcd165c24ae8e9b606a48264c9193a4a1da6ef0aaa02dad76388
|
||||
|
@ -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/media-libs/phonon-vlc/phonon-vlc-0.5.0.ebuild,v 1.1 2012/02/16 23:38:42 johu Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MY_PN="phonon-backend-vlc"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
EGIT_REPO_URI="git://anongit.kde.org/${PN}"
|
||||
[[ ${PV} == 9999 ]] && git_eclass=git-2
|
||||
inherit cmake-utils ${git_eclass}
|
||||
unset git_eclass
|
||||
|
||||
DESCRIPTION="Phonon VLC backend"
|
||||
HOMEPAGE="https://projects.kde.org/projects/kdesupport/phonon/phonon-vlc"
|
||||
[[ ${PV} == 9999 ]] || SRC_URI="mirror://kde/stable/phonon/${MY_PN}/${PV}/src/${MY_P}.tar.xz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
[[ ${PV} == 9999 ]] || KEYWORDS="~amd64 ~x86"
|
||||
SLOT="0"
|
||||
IUSE="debug"
|
||||
|
||||
RDEPEND="
|
||||
>=media-libs/phonon-4.6.0
|
||||
media-video/vlc[dbus,ogg,vorbis]
|
||||
>=x11-libs/qt-dbus-4.6.0:4
|
||||
>=x11-libs/qt-gui-4.6.0:4
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-util/automoc-0.9.87
|
||||
dev-util/pkgconfig
|
||||
"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
DOCS=( AUTHORS )
|
||||
|
||||
pkg_postinst() {
|
||||
elog "For more verbose debug information, export the following variables:"
|
||||
elog "PHONON_DEBUG=1"
|
||||
elog ""
|
||||
elog "To make KDE detect the new backend without reboot, run:"
|
||||
elog "kbuildsycoca4 --noincremental"
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST minitube-1.5.tar.gz 516313 RMD160 3672d9e2b53ccf386a139e1a5d6a5133a1d9ccbc SHA1 cf2ae85ef4b60ce67496eebe412bffe010eb1d54 SHA256 dd98301b878cd408130f677b7c69c49b969629f15cdfe10e01321977413a3ac9
|
||||
DIST minitube-1.6.tar.gz 580452 RMD160 d3c6761944954e1a9c0661a2706138ac1b1542b0 SHA1 2e373ff8abe7abf8c0b1e9d38e7acae49287d13a SHA256 ec1df6e7e92291afab504942e2e0f64eb8ba055de2aeabb534616fd9bd7ecbfc
|
||||
DIST minitube-1.7.tar.gz 566495 RMD160 97bdb1897b75627fc2c4806b1420a16bb38fea60 SHA1 ccf93da104584ccbfcbdc55b63c9725acb8cd490 SHA256 ceed4b685209a66321c007947aa9f9ce79886978b78d736dd88b77d4c3fbfb9d
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- src/MediaView.cpp 2011-08-06 14:34:20.613150591 +0200
|
||||
+++ src/MediaView.cpp 2011-08-06 14:34:32.549001370 +0200
|
||||
@@ -347,7 +347,7 @@
|
||||
|
||||
QString tempDir = QDesktopServices::storageLocation(QDesktopServices::TempLocation);
|
||||
#ifdef Q_WS_X11
|
||||
- QString tempFile = tempDir + "/minitube-" + getenv("USERNAME") + ".mp4";
|
||||
+ QString tempFile = tempDir + "/minitube-" + getenv("USER") + ".mp4";
|
||||
#else
|
||||
QString tempFile = tempDir + "/minitube.mp4";
|
||||
#endif
|
@ -1,58 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-video/minitube/minitube-1.5-r1.ebuild,v 1.1 2011/08/07 13:46:37 hwoarang Exp $
|
||||
|
||||
EAPI="4"
|
||||
LANGS="ar es pt_BR pt_PT uk"
|
||||
LANGSLONG="bg_BG cs_CZ de_DE el_GR es he_IL hr_HR hu_HU fr_FR fi_FI it_IT
|
||||
ja_JP nl_NL nb_NO pl_PL ro_RO ru_RU tr_TR"
|
||||
|
||||
inherit qt4-r2
|
||||
|
||||
DESCRIPTION="Qt4 YouTube Client"
|
||||
HOMEPAGE="http://flavio.tordini.org/minitube"
|
||||
SRC_URI="http://flavio.tordini.org/files/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="debug kde gstreamer"
|
||||
|
||||
DEPEND="x11-libs/qt-gui:4[accessibility]
|
||||
x11-libs/qt-dbus:4
|
||||
kde? ( || ( media-libs/phonon[gstreamer?] x11-libs/qt-phonon:4 ) )
|
||||
!kde? ( || ( x11-libs/qt-phonon media-libs/phonon[gstreamer?] ) )
|
||||
gstreamer? (
|
||||
media-plugins/gst-plugins-soup
|
||||
media-plugins/gst-plugins-ffmpeg
|
||||
media-plugins/gst-plugins-faac
|
||||
media-plugins/gst-plugins-faad
|
||||
)
|
||||
"
|
||||
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${PN}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-use-correct-env-variable.patch
|
||||
)
|
||||
|
||||
src_install() {
|
||||
emake INSTALL_ROOT="${D}" install
|
||||
newicon images/app.png minitube.png
|
||||
#translations
|
||||
insinto "/usr/share/${PN}/locale/"
|
||||
for lang in ${LINGUAS}; do
|
||||
for x in ${LANGS}; do
|
||||
if [[ ${x} == ${lang} ]]; then
|
||||
doins "build/target/locale/${x}.qm"
|
||||
fi
|
||||
done
|
||||
for x in ${LANGSLONG}; do
|
||||
if [[ ${x%_*} == ${lang} ]]; then
|
||||
doins "build/target/locale/${x}.qm"
|
||||
fi
|
||||
done
|
||||
done
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue