parent
a7385c1cfb
commit
abfd8363dc
@ -1,5 +0,0 @@
|
||||
DIST enduser.pdf 1136567 SHA256 483818333b4d959d14fe7e5939843a68687fbe87657bf90f0b12230f18053b11 SHA512 5c928864b494479a580624d31defc81c9e0a3a15cab6538c50d404f0513fc5d2fa95952b9e829b6e0396f64207d4ff28d6e087e80575a6dce38b6795f105fd00 WHIRLPOOL 4e26d5cce6a5f7f20f63c4722ffe15116243250cad6e8e6cfaf3c283cabead929957d236ace41e7a8af7b23fdf0cae29a9286f20f5fd0234d80de8824dfe5e60
|
||||
DIST lmgrd-amd64.Z 327568 SHA256 49a5e24757502231295ec2c7ea23a770fe39642f0405fae3ba9715deee2ebfab SHA512 382c581395acd39bb2d05a09073b4f70efa7699e3c05e486d4cf6ba22faef13ff37ba524acd4bda90e7f56bc06dcf7bbe5ed7c2363aef4fde9cc6f875bbb92aa WHIRLPOOL f70804f2e399192f881439a8fb6dbeee9079d256b6707a828777a104e5b5281991f4cc9724b8a01e5090b4bf89d037cd6f2540ed54184292b7c0b4de53cb1125
|
||||
DIST lmgrd-x86.Z 318617 SHA256 d79e1cc24ab8216c2d8252b90ac18ef771f0e89629f2f482a39fc77dd8f31523 SHA512 5030de6eb91dc16aaa3d22b8d14fe892b10b1a5573073c8daf498ab8998de5692acb8442f186cfc11e93b178aff8c0cdbcb4ba82b9cd197f96bad19eb7efb993 WHIRLPOOL fb754598ef70ef85ef61b2d1cfb4986324993dda71f3727983d2142d2f173a5fc58aef65df32d91df88c0ff489261fbc7131412e1f8364eddbb2506f771a20b3
|
||||
DIST lmutil-amd64.Z 331103 SHA256 2af1934b02d4499324389fa4491bdcfd8d72cca431e804d05848827abfc85413 SHA512 9ce2613bf7f8c28e5c6316a111ef310b2e79828f8c7299199bf336c531ca011f04b8cd9c294489547eeb29e25b3393df3175875ee01239ece8b268300ed51116 WHIRLPOOL c1a62bf389b9e9748e50d3045ad320cacb50a3c5a2615a302bd69300b1a07014b64b77f9b3a10a572a66dba7beffe9779e74a9aa5785d7a6b07428bf68e3b9d2
|
||||
DIST lmutil-x86.Z 324583 SHA256 8b3da0d810fd8071ab968c74c74cff2ba90ae7d1a38dbfce0fbd802253eac0e5 SHA512 6b213da65c59ecef15409144fa97c0a16bb96690acc09bd3919c0db8e922c7e63def915a59e18b017705bc5d91fb77227612ea1eabdb9dc5a038a4a264489acc WHIRLPOOL ed1a76a04adc2d453199c002ed546b5c68626711502d7ca63a707bb6fec06b85c51232ea89b88593a3b0bbe873cd49acf11199cee0e2ed7d7a65d560e7769e66
|
@ -1,3 +0,0 @@
|
||||
PATH=/opt/flexlm/bin
|
||||
ROOTPATH=/opt/flexlm/bin
|
||||
MANPATH=/opt/flexlm/man
|
@ -1,14 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/flexlm/files/flexlm-conf,v 1.4 2012/04/16 10:38:36 pacho Exp $
|
||||
|
||||
# Logfile path: (NOTE: This must be uid/gid owned by the value of $LMUSER!)
|
||||
LMLOG="/var/log/flexlm/flexlm.log"
|
||||
|
||||
# Run the lmgrd user as:
|
||||
LMUSER="flexlm"
|
||||
|
||||
# List all license files delimeted by a colon
|
||||
LMLICENSE="/etc/flexlm/license.dat"
|
||||
#LMLICENSE="${LMLICENSE}:/var/flexlm/aw.dat"
|
||||
#LMLICENSE="${LMLICENSE}:/opt/shake/keys/license.dat"
|
@ -1,20 +0,0 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2004 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/flexlm/files/flexlm-init,v 1.4 2006/09/26 04:10:49 eradicator Exp $
|
||||
|
||||
depend() {
|
||||
need net
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Starting lmgrd"
|
||||
su - ${LMUSER} -c "umask 022; /opt/flexlm/bin/lmgrd -c '${LMLICENSE}' -l '${LMLOG}'"
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping lmgrd"
|
||||
/opt/flexlm/bin/lmdown -q -all -force -c "${LMLICENSE}" >& /dev/null
|
||||
eend $?
|
||||
}
|
@ -1,76 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/flexlm/flexlm-9.5-r2.ebuild,v 1.5 2012/10/18 17:00:39 kensington Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit user
|
||||
|
||||
DESCRIPTION="Macrovision FLEXlm license manager and utils"
|
||||
HOMEPAGE="http://www.macrovision.com/services/support/flexlm/lmgrd.shtml"
|
||||
SRC_URI="doc? ( http://www.macrovision.com/services/support/flexlm/enduser.pdf )
|
||||
x86? (
|
||||
mirror://gentoo/lmgrd-x86.Z
|
||||
mirror://gentoo/lmutil-x86.Z
|
||||
)
|
||||
amd64? (
|
||||
mirror://gentoo/lmgrd-amd64.Z
|
||||
mirror://gentoo/lmutil-amd64.Z
|
||||
)"
|
||||
|
||||
LICENSE="as-is GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64 ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
QA_PREBUILT="
|
||||
opt/flexlm/bin/lmgrd
|
||||
opt/flexlm/bin/lmutil"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_prepare() {
|
||||
mv lmutil-* lmutil || die
|
||||
mv lmgrd-* lmgrd || die
|
||||
}
|
||||
|
||||
src_install () {
|
||||
# executables
|
||||
exeinto /opt/flexlm/bin
|
||||
doexe lmgrd lmutil
|
||||
|
||||
dosym lmutil /opt/flexlm/bin/lmcksum
|
||||
dosym lmutil /opt/flexlm/bin/lmdiag
|
||||
dosym lmutil /opt/flexlm/bin/lmdown
|
||||
dosym lmutil /opt/flexlm/bin/lmhostid
|
||||
dosym lmutil /opt/flexlm/bin/lmremove
|
||||
dosym lmutil /opt/flexlm/bin/lmreread
|
||||
dosym lmutil /opt/flexlm/bin/lmstat
|
||||
dosym lmutil /opt/flexlm/bin/lmver
|
||||
|
||||
# documentation
|
||||
use doc && dodoc "${DISTDIR}"/enduser.pdf
|
||||
|
||||
# init files
|
||||
newinitd "${FILESDIR}"/flexlm-init flexlm
|
||||
newconfd "${FILESDIR}"/flexlm-conf flexlm
|
||||
|
||||
# environment
|
||||
doenvd "${FILESDIR}"/90flexlm
|
||||
|
||||
# empty dir for licenses
|
||||
keepdir /etc/flexlm
|
||||
|
||||
# log dir
|
||||
dodir /var/log/flexlm
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
enewgroup flexlm
|
||||
enewuser flexlm -1 /bin/bash /opt/flexlm flexlm
|
||||
|
||||
# See bug 383787
|
||||
chown flexlm /var/log/flexlm || eerror "'chown flexlm /var/log/flexlm' failed!"
|
||||
|
||||
elog "FlexLM installed. Config is in /etc/conf.d/flexlm"
|
||||
elog "Default location for license file is /etc/flexlm/license.dat"
|
||||
}
|
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>maintainer-needed@gentoo.org</email>
|
||||
</maintainer>
|
||||
<longdescription>Macrovision FLEXlm license manager and utils</longdescription>
|
||||
</pkgmetadata>
|
@ -1,3 +1,2 @@
|
||||
DIST haskell-updater-0.9.1.0.tar.gz 20643 SHA256 6c545ebf2a8cefbc93a6cafa65e139b3d73aa6561f40905364daccc43c559461 SHA512 21d13867c07d92b6b6d30a205d710554bdd6bb1d4a942275863dbab11b89a723efb698e6d3b5171d29d96409547f128a6bd405538c270d8f322255835e42cc0e WHIRLPOOL 41378719fe61be75a3c875378962f14ab06ce43d0221de91a6a383c0decf05ee1bc6609f1f392bf2ab50e4ab4bbcd38b1284447b62600f537ef37c26cf0ad7f3
|
||||
DIST haskell-updater-1.2.0.5.tar.gz 23026 SHA256 360ce9e37286e090d635d0ccae7b25238be24c61e5eec3787988b1fc9762e024 SHA512 279408895d492aafcead345187d1b2a27ce52cb02512b3bd5d9f33f4acfce465b3164488e9b40faee10fd10fbc9728907e4438b92709fd3a1eedce8585b632d6 WHIRLPOOL 42fe4dd3129f37c0b0d5058d4fa5ca19c391d966efcb13cbeb2e1f9b2aa16849b1de5cdcd24fd73697da06bd4996d972554fc6b9ddd7a5d17a1e36841b60070a
|
||||
DIST haskell-updater-1.2.0.8.tar.gz 23520 SHA256 4f81bb597e9102d119cb1301426ce83109978686e29ef5e08c71f50245563ee3 SHA512 8240b7c542dc942aafc537478e11b7d43d9d2ad817ce42f2ab6db2b61a4c73884403689693a1c8774510853963312095f5cfe58c971fe30899596e66efe16934 WHIRLPOOL ae5f8916e4d69f35ff3297fecc1b01daf835fd2db7a08d714ae21c681cb5753ba12292a08e158ac18cb3d6e47e94fcdf8d53b9dd136d0e5cb308bb820f11cbb0
|
||||
|
@ -1,34 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/haskell-updater/haskell-updater-0.9.1.0.ebuild,v 1.5 2010/07/09 14:57:56 slyfox Exp $
|
||||
|
||||
CABAL_FEATURES="bin nocabaldep"
|
||||
inherit haskell-cabal
|
||||
|
||||
DESCRIPTION="Rebuild Haskell dependencies in Gentoo"
|
||||
HOMEPAGE="http://haskell.org/haskellwiki/Gentoo#haskell-updater"
|
||||
SRC_URI="http://code.haskell.org/~kolmodin/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" # Add keywords as those archs have a binpkg
|
||||
IUSE=""
|
||||
|
||||
DEPEND="=dev-lang/ghc-6.10*"
|
||||
|
||||
# Need a lower version for portage to get --keep-going
|
||||
RDEPEND="|| ( >=sys-apps/portage-2.1.6
|
||||
sys-apps/pkgcore
|
||||
sys-apps/paludis )"
|
||||
|
||||
src_compile() {
|
||||
CABAL_CONFIGURE_FLAGS="--bindir=/usr/sbin"
|
||||
|
||||
cabal_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cabal_src_install
|
||||
|
||||
dodoc TODO
|
||||
}
|
@ -1 +0,0 @@
|
||||
DIST profiler.jar 297273 SHA256 9571281724767b1b890f0e0da976615c062b3f4717a7c1c5bf9ca990e3588b75 SHA512 0a9df9cf872c0fb6c3f8aeea8e248735914bdd4162755390a44f84b574233260dda9c5cbc2f3261e448c48c120cbb7e138ab438ec5283255380f68d7e27c91ca WHIRLPOOL 877ccb0ddb17fa64916f38efee62ece47f99c0dd9d97ae6d5405c23c52c382211503d3a375f6c779a90b040056b466c727c747ca06868bbd7d15865dae360cd1
|
@ -1,2 +0,0 @@
|
||||
#!/bin/sh
|
||||
exec java -jar /usr/share/profiler/lib/profiler.jar
|
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>maintainer-needed@gentoo.org</email>
|
||||
<description>This package lacks a primary herd or maintainer.</description>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1,32 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/profiler/profiler-1-r1.ebuild,v 1.8 2012/11/27 23:49:48 sping Exp $
|
||||
|
||||
inherit java-pkg-2
|
||||
|
||||
DESCRIPTION="Provides 3D visual representation of file system statistics"
|
||||
HOMEPAGE="https://bugs.gentoo.org/show_bug.cgi?id=288717" # since visualversion.com died
|
||||
SRC_URI="profiler.jar"
|
||||
RESTRICT="bindist fetch"
|
||||
|
||||
LICENSE="as-is"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.4"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
src_unpack() {
|
||||
cp "${DISTDIR}"/${A} "${S}"/ || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
:
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin "${FILESDIR}"/profiler || die
|
||||
java-pkg_dojar ${A} || die
|
||||
}
|
@ -1 +0,0 @@
|
||||
DIST smolt-1.4.3.tar.gz 865409 SHA256 8fc47b94b9342012b5d50d2c5802cbb62777c6f0e876ba2e6845761c197ead53 SHA512 7b5056894061cf1a36009d88c402f36c695072202bd578727bc225bcfe0e9a9a95ab3ce39a35d9191c1bb9057eedce07ed4b135af21afa562e758908dde6ef9b WHIRLPOOL bee1d634cfc24acd36dc3f9406bec07ba744f43449107310e8c3a18720b87f43c2b1c1040d6fac6c002ffa00746d5c39ccdaeb5d3d2a11667f5803d3e3fa3fe2
|
@ -1,11 +0,0 @@
|
||||
--- client/distros/gentoo/main.py 2011-04-10 20:15:47.957683728 +0200
|
||||
+++ client/distros/gentoo/main.py 2011-04-10 20:16:52.504183850 +0200
|
||||
@@ -61,7 +61,7 @@
|
||||
"""
|
||||
Returns True if we run on top of Gentoo, else False.
|
||||
"""
|
||||
- return os.path.exists('/etc/gentoo-release')
|
||||
+ return False # sping: Too early to enable
|
||||
|
||||
def gather(self, debug=False):
|
||||
def _stage(text):
|
@ -1,22 +0,0 @@
|
||||
--- a/client/config.py
|
||||
+++ b/client/config.py
|
||||
@@ -14,6 +14,7 @@ PUB_UUID = "/etc/smolt/pub-uuid"
|
||||
PUB_UUID = "/etc/smolt/pub-uuid"
|
||||
#UUID_DB = "/etc/smolt/uuiddb.cfg"
|
||||
#ADMIN_TOKEN = "/etc/sysconfig/smolt-token"
|
||||
+#HWDATA_DIR = "/usr/share/hwdata"
|
||||
|
||||
|
||||
#These are the defaults taken from the source code.
|
||||
--- a/client/hwdata.py
|
||||
+++ b/client/hwdata.py
|
||||
@@ -20,7 +20,8 @@ class DeviceMap:
|
||||
self.vendors['usb'] = self.device_map('usb')
|
||||
|
||||
def device_map(self, bus='pci'):
|
||||
- fn = "/usr/share/hwdata/%s.ids" % bus
|
||||
+ from smolt import get_config_attr
|
||||
+ fn = "%s/%s.ids" % (get_config_attr("HWDATA_DIR", "/usr/share/hwdata"), bus)
|
||||
fo = open(fn, 'r')
|
||||
vendors = {}
|
||||
curvendor = None
|
@ -1,26 +0,0 @@
|
||||
From dd41ac17a04d4689583aa5ec8b3bb467b43a24ce Mon Sep 17 00:00:00 2001
|
||||
From: Alexandre Rostovtsev <tetromino@gmail.com>
|
||||
Date: Tue, 29 Mar 2011 00:11:34 -0400
|
||||
Subject: [PATCH] Add devicelist.py and hwdata.py to client Makefile
|
||||
|
||||
Signed-off-by: Alexandre Rostovtsev <tetromino@gmail.com>
|
||||
---
|
||||
client/Makefile | 2 +-
|
||||
1 files changed, 1 insertions(+), 1 deletions(-)
|
||||
|
||||
diff --git a/client/Makefile b/client/Makefile
|
||||
index 2164bf7..8bd5f1c 100644
|
||||
--- a/client/Makefile
|
||||
+++ b/client/Makefile
|
||||
@@ -1,7 +1,7 @@
|
||||
PO_FILES=$(wildcard po/*.po)
|
||||
MO_FILES=$(patsubst %.po,%.mo,$(PO_FILES))
|
||||
# echo PY_FILES=$(ls -1 *.py | grep -v '^\(create_monthly\|getLink\|haldump\|hammer_add\|makeuuid\|starhscale\).py$' | sort)
|
||||
-PY_FILES=config.py deleteProfile.py fs_util.py gate.py gui.py i18n.py __init__.py MultipartPostHandler.py os_detect.py privacypolicy.py scan.py sendProfile.py smolt_config.py smoltFirstBoot.py smoltGui.py smolt_mythtv.py smolt.py software.py uuiddb.py
|
||||
+PY_FILES=config.py deleteProfile.py devicelist.py fs_util.py gate.py gui.py hwdata.py i18n.py __init__.py MultipartPostHandler.py os_detect.py privacypolicy.py scan.py sendProfile.py smolt_config.py smoltFirstBoot.py smoltGui.py smolt_mythtv.py smolt.py software.py uuiddb.py
|
||||
DIRED_MO_FILES=$(patsubst po/%.mo,mo/%/LC_MESSAGES/$(NAME).mo,$(MO_FILES))
|
||||
|
||||
|
||||
--
|
||||
1.7.4.1
|
||||
|
@ -1,28 +0,0 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2008 Gentoo Foundation
|
||||
# This shell script enables automated check-ins with Smolt
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/smolt/files/smolt-init.d,v 1.1 2009/02/05 21:24:36 bangert Exp $
|
||||
|
||||
lockfile=/var/lock/subsys/smolt
|
||||
uuidfile=/etc/smolt/hw-uuid
|
||||
|
||||
depend() {
|
||||
use hald
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Enabling monthly Smolt check-in"
|
||||
if ! [ -f "$uuidfile" ]; then
|
||||
einfo " Generating UUID"
|
||||
cat /proc/sys/kernel/random/uuid > "$uuidfile"
|
||||
fi
|
||||
touch "$lockfile"
|
||||
eend $? "Failed to enable automated check-in"
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Disabling monthly Smolt update"
|
||||
rm "$lockfile" 2> /dev/null
|
||||
eend $? "Failed to disable automated check-in"
|
||||
}
|
@ -1,98 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/smolt/smolt-1.4.3.ebuild,v 1.3 2012/12/02 22:51:09 ssuominen Exp $
|
||||
|
||||
EAPI="3"
|
||||
PYTHON_DEPEND="2"
|
||||
|
||||
inherit python eutils
|
||||
|
||||
DESCRIPTION="The Fedora hardware profiler"
|
||||
HOMEPAGE="https://fedorahosted.org/smolt/"
|
||||
SRC_URI="https://fedorahosted.org/releases/s/m/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( GPL-2 GPL-3 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="qt4"
|
||||
|
||||
COMMON_DEPS="sys-devel/gettext"
|
||||
|
||||
DEPEND="${COMMON_DEPS}
|
||||
sys-apps/sed"
|
||||
|
||||
RDEPEND="${COMMON_DEPS}
|
||||
>=dev-python/rhpl-0.213
|
||||
>=dev-python/urlgrabber-3.0.0
|
||||
>=dev-python/simplejson-1.7.1
|
||||
sys-apps/pciutils
|
||||
sys-apps/usbutils
|
||||
virtual/udev
|
||||
qt4? ( dev-python/PyQt4 )"
|
||||
|
||||
S="${S}/client"
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
python_convert_shebangs -r 2 .
|
||||
epatch "${FILESDIR}/${P}-makefile-py-files.patch" \
|
||||
"${FILESDIR}/${P}-hwdata-dir.patch" \
|
||||
"${FILESDIR}/${P}-disable-distro-data.patch"
|
||||
|
||||
# Make it use {usb,pci}.ids of pciutils/usbutils
|
||||
sed -e "s:^#HWDATA_DIR = .*:HWDATA_DIR = \"${ROOT}/usr/share/misc\":" -i config.py || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${D}" DOCDIR="/usr/share/doc/${PF}" \
|
||||
|| die "Install failed"
|
||||
insinto "/usr/share/smolt/client"
|
||||
doins -r distros
|
||||
|
||||
if ! use qt4; then
|
||||
rm "${D}"/usr/bin/smoltGui \
|
||||
"${D}"/usr/share/smolt/client/{gui,smoltGui}.py \
|
||||
"${D}"/usr/share/applications/smolt.desktop \
|
||||
"${D}"/usr/share/man/man1/smoltGui.1.* \
|
||||
|| die "rm failed"
|
||||
rmdir "${D}"/usr/share/applications || die "rmdir failed"
|
||||
fi
|
||||
|
||||
bzip2 -9 "${D}"/usr/share/doc/${PF}/PrivacyPolicy || die "bzip2 failed"
|
||||
dodoc ../README ../TODO || die "dodoc failed"
|
||||
|
||||
newinitd "${FILESDIR}"/${PN}-init.d ${PN} || die "newinitd failed"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
python_mod_optimize /usr/share/${PN}
|
||||
|
||||
if ! [ -f "${ROOT}"/etc/smolt/hw-uuid ]; then
|
||||
elog "Creating this machines UUID in ${ROOT}etc/smolt/hw-uuid"
|
||||
cat /proc/sys/kernel/random/uuid > "${ROOT}"/etc/smolt/hw-uuid
|
||||
fi
|
||||
chmod 0444 "${ROOT}"/etc/smolt/hw-uuid
|
||||
UUID=$(cat "${ROOT}"/etc/smolt/hw-uuid)
|
||||
echo
|
||||
elog "Your UUID is: ${UUID}"
|
||||
echo
|
||||
elog "Call smoltSendProfile as root in order to initialize your profile."
|
||||
echo
|
||||
elog "You can withdraw it from the server if you wish to with"
|
||||
elog " smoltDeleteProfile any time later on."
|
||||
echo
|
||||
|
||||
if use qt4 && has_version "<dev-lang/python-2.5"; then
|
||||
elog "If you want to view your profile on the web from within smoltGui,"
|
||||
elog "you should have a link mozilla-firefox -> firefox in your path."
|
||||
echo
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
python_mod_cleanup /usr/share/${PN}
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST ima-evm-utils-0.2.tar.gz 16329 SHA256 ca8c238562c205f265ff76db7af15df90eea7335db82f6c2fe82def34315aba6 SHA512 44d5ead01d0d1241d743a8545a619308a1988f2188384571d7d37dca567598f46d1d7d8b8a6ba3fdaf5b5e980f4c8a80f1c098ec4dadf082393a727f7a266229 WHIRLPOOL db21f3cddd0f21f23605c3abed0b2ea9f864b63c7715605bdd24c0345527923d51684f57c7d0b18a6eb5590882530e2f13d52aa3d908353d3c69657b4e499a32
|
@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/ima-evm-utils/ima-evm-utils-0.2.ebuild,v 1.1 2013/02/10 10:23:44 swift Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils autotools
|
||||
|
||||
DESCRIPTION="Supporting tools for IMA and EVM"
|
||||
HOMEPAGE="http://linux-ima.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/linux-ima/${P}.tar.gz"
|
||||
|
||||
DEPEND="sys-apps/keyutils"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
src_prepare() {
|
||||
sed -i 's:pkglib_PROGRAMS:pkglibexec_PROGRAMS:g' tests/Makefile.am
|
||||
sed -i 's:pkglib_SCRIPTS:pkglibexec_SCRIPTS:g' tests/Makefile.am
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${D}" || die
|
||||
}
|
@ -0,0 +1,22 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/ima-evm-utils/ima-evm-utils-9999.ebuild,v 1.1 2013/02/10 10:23:44 swift Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
EGIT_REPO_URI="git://linux-ima.git.sourceforge.net/gitroot/linux-ima/ima-evm-utils.git"
|
||||
EGIT_BOOTSTRAP="autogen.sh"
|
||||
|
||||
inherit git-2 eutils
|
||||
|
||||
DESCRIPTION="Supporting tools for IMA and EVM"
|
||||
HOMEPAGE="http://linux-ima.sourceforge.net"
|
||||
SRC_URI=""
|
||||
|
||||
DEPEND="sys-apps/keyutils"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
IUSE=""
|
@ -1,10 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>hardened</herd>
|
||||
<maintainer>
|
||||
<email>sping@gentoo.org</email>
|
||||
<email>swift@gentoo.org</email>
|
||||
<name>Sven Vermeulen</name>
|
||||
<description>Maintainer</description>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
Smolt is a basic hardware profiler. Its intended to be a profiler to get automated information from users.
|
||||
Supporting tools for IMA and EVM
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1,12 @@
|
||||
Bug #454980
|
||||
--- a/src/kadmin/dbutil/dump.c 2013-02-10 00:00:59.336080898 +0200
|
||||
+++ b/src/kadmin/dbutil/dump.c 2013-02-10 00:02:00.559494398 +0200
|
||||
@@ -1708,7 +1708,7 @@
|
||||
int alt_key_len, salt_len, alt_salt_len;
|
||||
char *name;
|
||||
char *mod_name;
|
||||
- int tmpint1, tmpint2, tmpint3;
|
||||
+ int tmpint1 = 0, tmpint2 = 0, tmpint3 = 0;
|
||||
int error;
|
||||
const char *try2read;
|
||||
int i;
|
@ -1,2 +1,2 @@
|
||||
DIST bluefish-1.0.7.tar.bz2 1495619 SHA256 68cb74b993ad31a86083e8eed482b2f5b4d523806538ea9bc42bfa8b4c0a1110 SHA512 9fed20b0e216eece7127b29581fe90986288d8983632d3b7215e12d3f36e0eca7802b475fe4b9f8227f7393ecdb0190fd410704ccf220bd4477fcd48dede5738 WHIRLPOOL 8585685078d9f450a74c59c5867b6e3a3adeee0ca24165ce8ad18030b3a9ceabb14af18d58905c5127b7e3e0c5435c30c06f4990f9e454a92d99714d82cf6958
|
||||
DIST bluefish-2.2.2.tar.bz2 3548284 SHA256 1e9f171657cd7d34e31d7ff8608b10dded56dcb4831bc75d6ab75cd826f97b84 SHA512 da256577489796cc963757c2f97a7bdf1ed34bc240fc09e74e27f1ed009dcca4e46785d0359230edac0a87d677195f23c7af3ad92d0e90c2e2912c3600a41c73 WHIRLPOOL 097bc3238f7adc15f16c5b21ddee60dc1f7ce12e4bcc128be81cfafca68f121994458bc4ca88b91f9e5ae9fb7fc74494e137ae8c891619369d79bd12661accfe
|
||||
DIST bluefish-2.2.3.tar.bz2 3635489 SHA256 be284cd972d82b56a55f9b9588b3c0ff18702318822f45c7598c336de8a4d6ea SHA512 92fc251728a4fc0404b27c52f6d8f143158d6e6625001d645ffa18c4c8e18a83826ca399deb966a7cdc0bd145c3c21eac6c0fdba5a84dd90c388985aabfa8538 WHIRLPOOL a1cba1ea85b9f8cfcfb04a07d4f44dab52a8dcedeea8c319ec62878be4615d995987a4587eb27eab8eaed32547a2302ba768afdd6091bb744ac624b6f1b38040
|
||||
|
@ -1,48 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/bluefish/bluefish-1.0.7.ebuild,v 1.8 2012/05/03 18:33:02 jdhore Exp $
|
||||
|
||||
EAPI=1
|
||||
inherit eutils fdo-mime
|
||||
|
||||
IUSE="nls spell gnome"
|
||||
|
||||
DESCRIPTION="A GTK HTML editor for the experienced web designer or programmer."
|
||||
SRC_URI="http://www.bennewitz.com/bluefish/stable/source/${P}.tar.bz2"
|
||||
HOMEPAGE="http://bluefish.openoffice.nl/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="x11-libs/gtk+:2
|
||||
dev-libs/libpcre
|
||||
spell? ( app-text/aspell )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
nls? ( sys-devel/gettext )
|
||||
gnome? ( gnome-base/libgnomeui )"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
|
||||
sed -i -e 's/-s -m 755/-m 755/g' src/Makefile.in
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
econf --disable-update-databases \
|
||||
`use_enable nls` \
|
||||
`use_with gnome libgnomeui` || die
|
||||
emake || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_desktop_database_update
|
||||
fdo-mime_mime_database_update
|
||||
}
|
@ -0,0 +1,91 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/bluefish/bluefish-2.2.3.ebuild,v 1.1 2013/02/10 11:47:38 scarabeus Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
PYTHON_DEPEND="python? 2"
|
||||
|
||||
inherit eutils fdo-mime python
|
||||
|
||||
MY_P=${P/_/-}
|
||||
|
||||
DESCRIPTION="A GTK HTML editor for the experienced web designer or programmer."
|
||||
SRC_URI="http://www.bennewitz.com/bluefish/stable/source/${MY_P}.tar.bz2"
|
||||
HOMEPAGE="http://bluefish.openoffice.nl/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
SLOT="0"
|
||||
IUSE="nls python spell"
|
||||
|
||||
RDEPEND="
|
||||
x11-libs/gtk+:3
|
||||
gnome-extra/gucharmap:2.90
|
||||
sys-libs/zlib
|
||||
spell? ( app-text/enchant )"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-libs/glib-2.16:2
|
||||
dev-libs/libxml2:2
|
||||
virtual/pkgconfig
|
||||
x11-libs/pango
|
||||
nls? (
|
||||
sys-devel/gettext
|
||||
dev-util/intltool
|
||||
)"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
# there actually is just some broken manpage checkup -> not bother
|
||||
RESTRICT="test"
|
||||
|
||||
pkg_setup() {
|
||||
if use python ; then
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
# Never eautoreconf this package as gettext breaks completely (no translations
|
||||
# even if it compiles afterwards)!
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--docdir="${EPREFIX}/usr/share/doc/${PF}" \
|
||||
--disable-dependency-tracking \
|
||||
--disable-update-databases \
|
||||
--disable-xml-catalog-update \
|
||||
$(use_enable nls) \
|
||||
$(use_enable spell spell-check) \
|
||||
$(use_enable python)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
find "${ED}" -name '*.la' -exec rm -f {} +
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_desktop_database_update
|
||||
fdo-mime_mime_database_update
|
||||
|
||||
einfo "Adding XML catalog entries..."
|
||||
/usr/bin/xmlcatalog --noout \
|
||||
--add 'public' 'Bluefish/DTD/Bflang' 'bflang.dtd' \
|
||||
--add 'system' 'http://bluefish.openoffice.nl/DTD/bflang.dtd' 'bflang.dtd' \
|
||||
--add 'rewriteURI' 'http://bluefish.openoffice.nl/DTD' '/usr/share/xml/bluefish-unstable' \
|
||||
/etc/xml/catalog \
|
||||
|| ewarn "Failed to add XML catalog entries."
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
fdo-mime_desktop_database_update
|
||||
fdo-mime_mime_database_update
|
||||
einfo "Removing XML catalog entries..."
|
||||
/usr/bin/xmlcatalog --noout \
|
||||
--del 'Bluefish/DTD/Bflang' \
|
||||
--del 'http://bluefish.openoffice.nl/DTD/bflang.dtd' \
|
||||
--del 'http://bluefish.openoffice.nl/DTD' \
|
||||
/etc/xml/catalog \
|
||||
|| ewarn "Failed to remove XML catalog entries."
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST ocaml-3.11.2.tar.bz2 2346284 SHA256 86f3387a0d7e7c8be2a3c53af083a5a726e333686208d5ea0dd6bb5ac3f58143 SHA512 69888797bdab8f7baa5e398db08a723388876ed5920b62e9bf29a5214badde1c2024365f88bcbd89d43a0c8d9e4d1bd15486e4b12e8432f1c1bcedd17782faaf WHIRLPOOL d1e6d0851f8f1315f95cd0a470bb61dc1d39ec70f2ec23169ffc9aa74b2d02f5419e3474093319cb47125e7534a0d121751fd1971653e43bdca167f823d4c94a
|
||||
DIST ocaml-3.12.1.tar.bz2 2949124 SHA256 edcf563da75e0b91f09765649caa98ab1535e0c7498f0737b5591b7de084958d SHA512 cbb050aabcbe19a4aa070d6cb74f3774cb136692dfd9433ca977f0f9520ad2f583b6cfb1a9cedfedc92e7dc794ac4a869e20aa5a67a4739002feb290435dc7e7 WHIRLPOOL b7bf4844452ab52027e6b785159df6e4defc548d2f3d31eb73dc0dc05214e7c19ed654c8b3ff234a85691599df0be568ba02fafe257856be7f603177584a7ca0
|
||||
DIST ocaml-4.00.1.tar.bz2 2762205 SHA256 33c3f4acff51685f5bfd7c260f066645e767d4e865877bf1613c176a77799951 SHA512 77899430706394af558666361b152d47df3a3e21831059875f8b317d0ff9d1a010177bf1e5851e522e086c20768e92c71344aa53eda0ce003f278752870ab5da WHIRLPOOL 3fdc090e1158ae72c91685aef62c751f897f4e3efcfbdc07e00d92e83351494fd126bdaca31039c1bf5dc4107072d978bb30e02c879caafc215dbc913f2d6ed1
|
||||
|
@ -1,22 +1,20 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emacs/ocaml-mode/ocaml-mode-3.11.2.ebuild,v 1.7 2011/03/05 20:16:37 josejx Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emacs/ocaml-mode/ocaml-mode-4.00.1.ebuild,v 1.1 2013/02/10 16:55:14 ulm Exp $
|
||||
|
||||
EAPI=3
|
||||
EAPI=5
|
||||
|
||||
inherit elisp
|
||||
|
||||
MY_P=${P/-mode/}
|
||||
|
||||
DESCRIPTION="Emacs mode for OCaml"
|
||||
HOMEPAGE="http://www.ocaml.org/"
|
||||
SRC_URI="http://caml.inria.fr/distrib/${MY_P%.*}/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
|
||||
|
||||
S="${WORKDIR}/${MY_P}/emacs"
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
SITEFILE="50${PN}-gentoo-3.12.1.el"
|
||||
DOCS="README README.itz"
|
@ -1,3 +0,0 @@
|
||||
DIST systemsim-cell-3.0-22.i386.rpm 6150663 RMD160 bfa16afe0a5236bcb417c70774f09137e36c2e81 SHA1 66a18739668ef4aeba81a1bfa40eeb9fb7ba08f7 SHA256 26868d76b0020daad39cf77cecfee6befe28452ffe8631d4d9e201caeaac51ba
|
||||
DIST systemsim-cell-3.0-22.ppc64.rpm 6051500 RMD160 3ce1ac5e3862d71271b4012e7e08069eb9600772 SHA1 77c14afbae77a3665494d7a9e9ac9ff49de9bb37 SHA256 75b640de991b04392447318c8493eed08ff80652e95a2a4ead9fb60b02d11845
|
||||
DIST systemsim-cell-3.0-22.x86_64.rpm 6282427 RMD160 ab7b828520b1c86b43e72c4a93f8bb0afd343f94 SHA1 b0b347231d2a92e9f79cf0fb14c4c6fd4fa87277 SHA256 81433eed909173dc4be4cc4d01fa229153338268ecf727a62a5fe4245263a549
|
@ -1,2 +0,0 @@
|
||||
PATH="/opt/ibm/systemsim-cell/bin"
|
||||
ROOTPATH="/opt/ibm/systemsim-cell/bin"
|
@ -1,5 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>ppc64</herd>
|
||||
</pkgmetadata>
|
@ -1,60 +0,0 @@
|
||||
# Copyright 1999-2008 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/systemsim-cell/systemsim-cell-3.0_p22.ebuild,v 1.1 2008/04/11 17:16:13 corsair Exp $
|
||||
|
||||
inherit rpm eutils
|
||||
|
||||
DESCRIPTION="Full-System Simulator for the Cell Broadband Engine Processor"
|
||||
HOMEPAGE="http://www.alphaworks.ibm.com/tech/cellsystemsim"
|
||||
SRC_URI="x86? ( ${P/_p/-}.i386.rpm )
|
||||
ppc64? ( ${P/_p/-}.ppc64.rpm )
|
||||
amd64? ( ${P/_p/-}.x86_64.rpm )"
|
||||
|
||||
LICENSE="IBM-ILAR"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
SYSTEMSIM_DIR="/opt/ibm/systemsim-cell"
|
||||
IMAGE_PATH="/usr/share/${PN}/image"
|
||||
|
||||
DEPEND="=dev-lang/tcl-8.4*
|
||||
=dev-lang/tk-8.4*"
|
||||
|
||||
RESTRICT="fetch strip"
|
||||
S="${WORKDIR}"
|
||||
|
||||
pkg_nofetch() {
|
||||
einfo "Please download ${A} yourself from:"
|
||||
einfo "http://www.alphaworks.ibm.com/tech/cellsystemsim/download"
|
||||
einfo "and place it in ${DISTDIR}"
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
rpm_unpack "$DISTDIR"/${A}
|
||||
|
||||
# fix the path to the images. we don't want them in /opt
|
||||
sed -i -e "s:\${SYSTEMSIM_TOP}/images:${IMAGE_PATH}:" \
|
||||
"${WORKDIR}"/"${SYSTEMSIM_DIR}"/bin/systemsim || die "sed error"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
einfo "nothing to compile"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cp -pPR "${WORKDIR}"/opt "${D}"
|
||||
rm -fR "${D}"/"${SYSTEMSIM_DIR}"/doc
|
||||
rm -fR "${D}"/"${SYSTEMSIM_DIR}"/images
|
||||
insinto /usr/share/doc/"${PF}"/
|
||||
doins "${WORKDIR}"/"${SYSTEMSIM_DIR}"/doc/*.pdf
|
||||
doenvd "${FILESDIR}"/09systemsim-cell
|
||||
dodir "${IMAGE_PATH}"/cell
|
||||
echo "Put a system image with the name 'sysroot_disk' and a kernel image\n" \
|
||||
"with the name 'vmlinux' here" > "${D}"/"${IMAGE_PATH}"/cell/README
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "The provided systemsim doesn't have kernel and system images, please"
|
||||
elog "install them in ${IMAGE_PATH}/cell"
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
diff -ur xen-4.2.1.orig/stubdom/Makefile xen-4.2.1/stubdom/Makefile
|
||||
--- stubdom/Makefile 2012-12-17 23:00:06.000000000 +0800
|
||||
+++ stubdom/Makefile 2013-02-10 16:01:01.883644638 +0800
|
||||
@@ -130,7 +130,7 @@
|
||||
cross-zlib: $(ZLIB_STAMPFILE)
|
||||
$(ZLIB_STAMPFILE): zlib-$(XEN_TARGET_ARCH) $(NEWLIB_STAMPFILE)
|
||||
( cd $< && \
|
||||
- CFLAGS="$(TARGET_CPPFLAGS) $(TARGET_CFLAGS)" CC=$(CC) ./configure --prefix=$(CROSS_PREFIX)/$(GNU_TARGET_ARCH)-xen-elf && \
|
||||
+ CFLAGS="$(TARGET_CPPFLAGS) $(TARGET_CFLAGS)" CC="$(CC)" ./configure --prefix=$(CROSS_PREFIX)/$(GNU_TARGET_ARCH)-xen-elf && \
|
||||
$(MAKE) DESTDIR= libz.a && \
|
||||
$(MAKE) DESTDIR= install )
|
||||
|
@ -0,0 +1,367 @@
|
||||
From 62cd0492e3459416e1775aedc327bced53f66828 Mon Sep 17 00:00:00 2001
|
||||
From: Rui Matos <tiagomatos@gmail.com>
|
||||
Date: Wed, 9 Jan 2013 10:14:55 -0500
|
||||
Subject: [PATCH] client: Queue events while the IBus context isn't ready
|
||||
|
||||
There are actually 3 patches here.
|
||||
|
||||
---
|
||||
client: Queue events while the IBus context isn't ready
|
||||
|
||||
We may lose events that ought to be processed while the IBus context
|
||||
isn't ready or if the connection to IBus isn't fully established yet.
|
||||
|
||||
To avoid that, enqueue events to be processed later when the IBus
|
||||
context creation finishes.
|
||||
|
||||
---
|
||||
client: Don't cancel an ongoing create input context on another request
|
||||
|
||||
This would only add more delays.
|
||||
|
||||
---
|
||||
client: Cancel any ongoing create input context request on finalize
|
||||
|
||||
BUG=
|
||||
|
||||
Review URL: https://codereview.appspot.com/6988047
|
||||
Patch from Rui Matos <tiagomatos@gmail.com>.
|
||||
---
|
||||
client/gtk2/ibusimcontext.c | 220 ++++++++++++++++++++++++++-----------------
|
||||
1 file changed, 133 insertions(+), 87 deletions(-)
|
||||
|
||||
diff --git a/client/gtk2/ibusimcontext.c b/client/gtk2/ibusimcontext.c
|
||||
index 011676f..94005b7 100644
|
||||
--- a/client/gtk2/ibusimcontext.c
|
||||
+++ b/client/gtk2/ibusimcontext.c
|
||||
@@ -40,6 +40,8 @@
|
||||
# define IDEBUG(a...)
|
||||
#endif
|
||||
|
||||
+#define MAX_QUEUED_EVENTS 20
|
||||
+
|
||||
struct _IBusIMContext {
|
||||
GtkIMContext parent;
|
||||
|
||||
@@ -63,6 +65,7 @@ struct _IBusIMContext {
|
||||
|
||||
/* cancellable */
|
||||
GCancellable *cancellable;
|
||||
+ GQueue *events_queue;
|
||||
};
|
||||
|
||||
struct _IBusIMContextClass {
|
||||
@@ -154,6 +157,8 @@ static void _slave_preedit_end_cb (GtkIMContext *slave,
|
||||
static GtkIMContextClass *parent_class = NULL;
|
||||
|
||||
static IBusBus *_bus = NULL;
|
||||
+static guint _daemon_name_watch_id = 0;
|
||||
+static gboolean _daemon_is_running = FALSE;
|
||||
|
||||
void
|
||||
ibus_im_context_register_type (GTypeModule *type_module)
|
||||
@@ -261,6 +266,46 @@ static void _slave_preedit_end_cb (GtkIMContext *slave,
|
||||
gdk_event_free ((GdkEvent *)event);
|
||||
}
|
||||
|
||||
+static gboolean
|
||||
+_process_key_event (IBusInputContext *context,
|
||||
+ GdkEventKey *event)
|
||||
+{
|
||||
+ guint state = event->state;
|
||||
+ gboolean retval = FALSE;
|
||||
+
|
||||
+ if (event->type == GDK_KEY_RELEASE) {
|
||||
+ state |= IBUS_RELEASE_MASK;
|
||||
+ }
|
||||
+
|
||||
+ if (_use_sync_mode) {
|
||||
+ retval = ibus_input_context_process_key_event (context,
|
||||
+ event->keyval,
|
||||
+ event->hardware_keycode - 8,
|
||||
+ state);
|
||||
+ }
|
||||
+ else {
|
||||
+ ibus_input_context_process_key_event_async (context,
|
||||
+ event->keyval,
|
||||
+ event->hardware_keycode - 8,
|
||||
+ state,
|
||||
+ -1,
|
||||
+ NULL,
|
||||
+ _process_key_event_done,
|
||||
+ gdk_event_copy ((GdkEvent *) event));
|
||||
+
|
||||
+ retval = TRUE;
|
||||
+ }
|
||||
+
|
||||
+ if (retval) {
|
||||
+ event->state |= IBUS_HANDLED_MASK;
|
||||
+ }
|
||||
+ else {
|
||||
+ event->state |= IBUS_IGNORED_MASK;
|
||||
+ }
|
||||
+
|
||||
+ return retval;
|
||||
+}
|
||||
+
|
||||
|
||||
/* emit "retrieve-surrounding" glib signal of GtkIMContext, if
|
||||
* context->caps has IBUS_CAP_SURROUNDING_TEXT and the current IBus
|
||||
@@ -387,38 +432,7 @@ static void _slave_preedit_end_cb (GtkIMContext *slave,
|
||||
ibusimcontext->time = event->time;
|
||||
}
|
||||
|
||||
- guint state = event->state;
|
||||
- if (event->type == GDK_KEY_RELEASE) {
|
||||
- state |= IBUS_RELEASE_MASK;
|
||||
- }
|
||||
-
|
||||
- if (_use_sync_mode) {
|
||||
- retval = ibus_input_context_process_key_event (
|
||||
- ibuscontext,
|
||||
- event->keyval,
|
||||
- event->hardware_keycode - 8,
|
||||
- state);
|
||||
- }
|
||||
- else {
|
||||
- ibus_input_context_process_key_event_async (
|
||||
- ibuscontext,
|
||||
- event->keyval,
|
||||
- event->hardware_keycode - 8,
|
||||
- state,
|
||||
- -1,
|
||||
- NULL,
|
||||
- _process_key_event_done,
|
||||
- gdk_event_copy ((GdkEvent *) event));
|
||||
- retval = TRUE;
|
||||
-
|
||||
- }
|
||||
-
|
||||
- if (retval) {
|
||||
- event->state |= IBUS_HANDLED_MASK;
|
||||
- }
|
||||
- else {
|
||||
- event->state |= IBUS_IGNORED_MASK;
|
||||
- }
|
||||
+ retval = _process_key_event (ibuscontext, event);
|
||||
|
||||
if (ibusimcontext != NULL) {
|
||||
/* unref ibusimcontext could call ibus_im_context_finalize here
|
||||
@@ -450,6 +464,23 @@ static void _slave_preedit_end_cb (GtkIMContext *slave,
|
||||
}
|
||||
|
||||
static void
|
||||
+daemon_name_appeared (GDBusConnection *connection,
|
||||
+ const gchar *name,
|
||||
+ const gchar *owner,
|
||||
+ gpointer data)
|
||||
+{
|
||||
+ _daemon_is_running = TRUE;
|
||||
+}
|
||||
+
|
||||
+static void
|
||||
+daemon_name_vanished (GDBusConnection *connection,
|
||||
+ const gchar *name,
|
||||
+ gpointer data)
|
||||
+{
|
||||
+ _daemon_is_running = FALSE;
|
||||
+}
|
||||
+
|
||||
+static void
|
||||
ibus_im_context_class_init (IBusIMContextClass *class)
|
||||
{
|
||||
IDEBUG ("%s", __FUNCTION__);
|
||||
@@ -533,6 +564,14 @@ static void _slave_preedit_end_cb (GtkIMContext *slave,
|
||||
/* always install snooper */
|
||||
if (_key_snooper_id == 0)
|
||||
_key_snooper_id = gtk_key_snooper_install (_key_snooper_cb, NULL);
|
||||
+
|
||||
+ _daemon_name_watch_id = g_bus_watch_name (G_BUS_TYPE_SESSION,
|
||||
+ IBUS_SERVICE_IBUS,
|
||||
+ G_BUS_NAME_WATCHER_FLAGS_NONE,
|
||||
+ daemon_name_appeared,
|
||||
+ daemon_name_vanished,
|
||||
+ NULL,
|
||||
+ NULL);
|
||||
}
|
||||
|
||||
static void
|
||||
@@ -543,6 +582,8 @@ static void _slave_preedit_end_cb (GtkIMContext *slave,
|
||||
gtk_key_snooper_remove (_key_snooper_id);
|
||||
_key_snooper_id = 0;
|
||||
}
|
||||
+
|
||||
+ g_bus_unwatch_name (_daemon_name_watch_id);
|
||||
}
|
||||
|
||||
/* Copied from gtk+2.0-2.20.1/modules/input/imcedilla.c to fix crosbug.com/11421.
|
||||
@@ -602,6 +643,7 @@ static void _slave_preedit_end_cb (GtkIMContext *slave,
|
||||
ibusimcontext->caps = IBUS_CAP_PREEDIT_TEXT | IBUS_CAP_FOCUS;
|
||||
#endif
|
||||
|
||||
+ ibusimcontext->events_queue = g_queue_new ();
|
||||
|
||||
// Create slave im context
|
||||
ibusimcontext->slave = gtk_im_context_simple_new ();
|
||||
@@ -651,6 +693,13 @@ static void _slave_preedit_end_cb (GtkIMContext *slave,
|
||||
|
||||
g_signal_handlers_disconnect_by_func (_bus, G_CALLBACK (_bus_connected_cb), obj);
|
||||
|
||||
+ if (ibusimcontext->cancellable != NULL) {
|
||||
+ /* Cancel any ongoing create input context request */
|
||||
+ g_cancellable_cancel (ibusimcontext->cancellable);
|
||||
+ g_object_unref (ibusimcontext->cancellable);
|
||||
+ ibusimcontext->cancellable = NULL;
|
||||
+ }
|
||||
+
|
||||
if (ibusimcontext->ibuscontext) {
|
||||
ibus_proxy_destroy ((IBusProxy *)ibusimcontext->ibuscontext);
|
||||
}
|
||||
@@ -670,6 +719,9 @@ static void _slave_preedit_end_cb (GtkIMContext *slave,
|
||||
pango_attr_list_unref (ibusimcontext->preedit_attrs);
|
||||
}
|
||||
|
||||
+ g_queue_free_full (ibusimcontext->events_queue,
|
||||
+ (GDestroyNotify)gdk_event_free);
|
||||
+
|
||||
G_OBJECT_CLASS(parent_class)->finalize (obj);
|
||||
}
|
||||
|
||||
@@ -681,65 +733,56 @@ static void _slave_preedit_end_cb (GtkIMContext *slave,
|
||||
|
||||
IBusIMContext *ibusimcontext = IBUS_IM_CONTEXT (context);
|
||||
|
||||
- if (G_LIKELY (ibusimcontext->ibuscontext && ibusimcontext->has_focus)) {
|
||||
- /* If context does not have focus, ibus will process key event in sync mode.
|
||||
- * It is a workaround for increase search in treeview.
|
||||
- */
|
||||
- gboolean retval = FALSE;
|
||||
-
|
||||
- if (event->state & IBUS_HANDLED_MASK)
|
||||
- return TRUE;
|
||||
+ if (!_daemon_is_running)
|
||||
+ return gtk_im_context_filter_keypress (ibusimcontext->slave, event);
|
||||
|
||||
- if (event->state & IBUS_IGNORED_MASK)
|
||||
- return gtk_im_context_filter_keypress (ibusimcontext->slave, event);
|
||||
+ /* If context does not have focus, ibus will process key event in
|
||||
+ * sync mode. It is a workaround for increase search in treeview.
|
||||
+ */
|
||||
+ if (!ibusimcontext->has_focus)
|
||||
+ return gtk_im_context_filter_keypress (ibusimcontext->slave, event);
|
||||
|
||||
- /* XXX it is a workaround for some applications do not set client window. */
|
||||
- if (ibusimcontext->client_window == NULL && event->window != NULL)
|
||||
- gtk_im_context_set_client_window ((GtkIMContext *)ibusimcontext, event->window);
|
||||
+ if (event->state & IBUS_HANDLED_MASK)
|
||||
+ return TRUE;
|
||||
|
||||
- _request_surrounding_text (ibusimcontext);
|
||||
+ if (event->state & IBUS_IGNORED_MASK)
|
||||
+ return gtk_im_context_filter_keypress (ibusimcontext->slave, event);
|
||||
|
||||
- if (ibusimcontext != NULL) {
|
||||
- ibusimcontext->time = event->time;
|
||||
- }
|
||||
+ /* XXX it is a workaround for some applications do not set client
|
||||
+ * window. */
|
||||
+ if (ibusimcontext->client_window == NULL && event->window != NULL)
|
||||
+ gtk_im_context_set_client_window ((GtkIMContext *)ibusimcontext,
|
||||
+ event->window);
|
||||
|
||||
- guint state = event->state;
|
||||
- if (event->type == GDK_KEY_RELEASE) {
|
||||
- state |= IBUS_RELEASE_MASK;
|
||||
- }
|
||||
+ _request_surrounding_text (ibusimcontext);
|
||||
|
||||
- if (_use_sync_mode) {
|
||||
- retval = ibus_input_context_process_key_event (
|
||||
- ibusimcontext->ibuscontext,
|
||||
- event->keyval,
|
||||
- event->hardware_keycode - 8,
|
||||
- state);
|
||||
- }
|
||||
- else {
|
||||
- ibus_input_context_process_key_event_async (
|
||||
- ibusimcontext->ibuscontext,
|
||||
- event->keyval,
|
||||
- event->hardware_keycode - 8,
|
||||
- state,
|
||||
- -1,
|
||||
- NULL,
|
||||
- _process_key_event_done,
|
||||
- gdk_event_copy ((GdkEvent *) event));
|
||||
- retval = TRUE;
|
||||
- }
|
||||
+ ibusimcontext->time = event->time;
|
||||
|
||||
- if (retval) {
|
||||
- event->state |= IBUS_HANDLED_MASK;
|
||||
+ if (ibusimcontext->ibuscontext) {
|
||||
+ if (_process_key_event (ibusimcontext->ibuscontext, event))
|
||||
return TRUE;
|
||||
- }
|
||||
- else {
|
||||
- event->state |= IBUS_IGNORED_MASK;
|
||||
- return gtk_im_context_filter_keypress (ibusimcontext->slave, event);
|
||||
- }
|
||||
+ else
|
||||
+ return gtk_im_context_filter_keypress (ibusimcontext->slave,
|
||||
+ event);
|
||||
}
|
||||
- else {
|
||||
- return gtk_im_context_filter_keypress (ibusimcontext->slave, event);
|
||||
+
|
||||
+ /* At this point we _should_ be waiting for the IBus context to be
|
||||
+ * created or the connection to IBus to be established. If that's
|
||||
+ * the case we queue events to be processed when the IBus context
|
||||
+ * is ready. */
|
||||
+ g_return_val_if_fail (ibusimcontext->cancellable != NULL ||
|
||||
+ ibus_bus_is_connected (_bus) == FALSE,
|
||||
+ FALSE);
|
||||
+ g_queue_push_tail (ibusimcontext->events_queue,
|
||||
+ gdk_event_copy ((GdkEvent *)event));
|
||||
+
|
||||
+ if (g_queue_get_length (ibusimcontext->events_queue) > MAX_QUEUED_EVENTS) {
|
||||
+ g_warning ("Events queue growing too big, will start to drop.");
|
||||
+ gdk_event_free ((GdkEvent *)
|
||||
+ g_queue_pop_head (ibusimcontext->events_queue));
|
||||
}
|
||||
+
|
||||
+ return TRUE;
|
||||
}
|
||||
|
||||
static void
|
||||
@@ -1482,6 +1525,14 @@ static void _slave_preedit_end_cb (GtkIMContext *slave,
|
||||
ibus_input_context_focus_in (ibusimcontext->ibuscontext);
|
||||
_set_cursor_location_internal (ibusimcontext);
|
||||
}
|
||||
+
|
||||
+ if (!g_queue_is_empty (ibusimcontext->events_queue)) {
|
||||
+ GdkEventKey *event;
|
||||
+ while (event = g_queue_pop_head (ibusimcontext->events_queue)) {
|
||||
+ _process_key_event (context, event);
|
||||
+ gdk_event_free ((GdkEvent *)event);
|
||||
+ }
|
||||
+ }
|
||||
}
|
||||
|
||||
g_object_unref (ibusimcontext);
|
||||
@@ -1494,12 +1545,7 @@ static void _slave_preedit_end_cb (GtkIMContext *slave,
|
||||
|
||||
g_assert (ibusimcontext->ibuscontext == NULL);
|
||||
|
||||
- if (ibusimcontext->cancellable != NULL) {
|
||||
- /* Cancel previous create input context request */
|
||||
- g_cancellable_cancel (ibusimcontext->cancellable);
|
||||
- g_object_unref (ibusimcontext->cancellable);
|
||||
- ibusimcontext->cancellable = NULL;
|
||||
- }
|
||||
+ g_return_if_fail (ibusimcontext->cancellable == NULL);
|
||||
|
||||
ibusimcontext->cancellable = g_cancellable_new ();
|
||||
|
||||
--
|
||||
1.7.10
|
||||
|
@ -0,0 +1,30 @@
|
||||
From 8ac534fc002356b93e2015a8866f1ea89e3895f9 Mon Sep 17 00:00:00 2001
|
||||
From: fujiwarat <takao.fujiwara1@gmail.com>
|
||||
Date: Sat, 15 Dec 2012 17:40:18 +0900
|
||||
Subject: [PATCH] Use Variant.unpack() instead of Variant.dup_strv().
|
||||
|
||||
Variant.dup_strv() returns a tuple in pygobject 3.2, e.g. (['<Control>space'], 1L), and a list in pygobject 3.4, e.g. ['<Control>space'] .
|
||||
|
||||
BUG=RH#887153
|
||||
|
||||
Review URL: https://codereview.appspot.com/6941051
|
||||
---
|
||||
setup/main.py | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/setup/main.py b/setup/main.py
|
||||
index a8acc7a..707faa4 100644
|
||||
--- a/setup/main.py
|
||||
+++ b/setup/main.py
|
||||
@@ -87,7 +87,7 @@ def __init_hotkey(self):
|
||||
label = 'switch_engine'
|
||||
variant = self.__config.get_value('general/hotkey', name)
|
||||
if variant != None:
|
||||
- shortcuts = variant.dup_strv()
|
||||
+ shortcuts = variant.unpack()
|
||||
else:
|
||||
shortcuts = ['<Control>space']
|
||||
|
||||
--
|
||||
1.7.10
|
||||
|
@ -0,0 +1,173 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus/ibus-1.5.1-r1.ebuild,v 1.1 2013/02/09 16:22:33 naota Exp $
|
||||
|
||||
EAPI=4
|
||||
PYTHON_DEPEND="python? 2:2.5"
|
||||
VALA_MIN_API_VERSION="0.18"
|
||||
VALA_USE_DEPEND="vapigen"
|
||||
# Vapigen is needed for the vala binding
|
||||
# Valac is needed when building from git for the engine
|
||||
|
||||
inherit eutils gnome2-utils multilib python vala virtualx
|
||||
|
||||
DESCRIPTION="Intelligent Input Bus for Linux / Unix OS"
|
||||
HOMEPAGE="http://code.google.com/p/ibus/"
|
||||
SRC_URI="http://ibus.googlecode.com/files/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE="dconf deprecated +gconf gtk +gtk3 +introspection nls +python test vala +X"
|
||||
REQUIRED_USE="|| ( gtk gtk3 X )
|
||||
deprecated? ( python )
|
||||
python? ( || ( deprecated ( gtk3 introspection ) ) )" #342903
|
||||
|
||||
COMMON_DEPEND=">=dev-libs/glib-2.26:2
|
||||
gnome-base/librsvg:2
|
||||
sys-apps/dbus[X?]
|
||||
app-text/iso-codes
|
||||
|
||||
dconf? ( >=gnome-base/dconf-0.13.4 )
|
||||
gconf? ( >=gnome-base/gconf-2.12:2 )
|
||||
gtk? ( x11-libs/gtk+:2 )
|
||||
gtk3? ( x11-libs/gtk+:3 )
|
||||
X? (
|
||||
x11-libs/libX11
|
||||
x11-libs/gtk+:2 )
|
||||
introspection? ( >=dev-libs/gobject-introspection-0.6.8 )
|
||||
nls? ( virtual/libintl )"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
python? (
|
||||
dev-python/pyxdg
|
||||
deprecated? (
|
||||
>=dev-python/dbus-python-0.83
|
||||
dev-python/pygobject:2
|
||||
dev-python/pygtk:2 )
|
||||
gtk3? (
|
||||
dev-python/pygobject:3
|
||||
x11-libs/gdk-pixbuf:2[introspection]
|
||||
x11-libs/pango[introspection]
|
||||
x11-libs/gtk+:3[introspection] )
|
||||
)"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
>=dev-lang/perl-5.8.1
|
||||
dev-util/gtk-doc-am
|
||||
dev-util/intltool
|
||||
virtual/pkgconfig
|
||||
nls? ( >=sys-devel/gettext-0.16.1 )
|
||||
vala? ( $(vala_depend) )"
|
||||
|
||||
# stress test in bus/ fails
|
||||
# IBUS-CRITICAL **: bus_test_client_init: assertion `ibus_bus_is_connected (_bus)' failed
|
||||
RESTRICT="test"
|
||||
|
||||
DOCS="AUTHORS ChangeLog NEWS README"
|
||||
|
||||
pkg_setup() {
|
||||
if use python; then
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# We run "dconf update" in pkg_postinst/postrm to avoid sandbox violations
|
||||
sed -e 's/dconf update/$(NULL)/' \
|
||||
-i data/dconf/Makefile.{am,in} || die
|
||||
use python && python_clean_py-compile_files
|
||||
use vala && vala_src_prepare
|
||||
epatch "${FILESDIR}"/${P}-setup.patch \
|
||||
"${FILESDIR}"/${P}-queue-events.patch
|
||||
cp "${S}"/client/gtk2/ibusimcontext.c "${S}"/client/gtk3/ibusimcontext.c || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local python_conf
|
||||
if use python; then
|
||||
# We cannot call $(PYTHON) if we haven't called python_pkg_setup
|
||||
python_conf="PYTHON=$(PYTHON)
|
||||
$(use_enable deprecated python-library)
|
||||
$(use_enable gtk3 setup)"
|
||||
else
|
||||
python_conf="--disable-python-library --disable-setup"
|
||||
fi
|
||||
econf \
|
||||
$(use_enable dconf) \
|
||||
$(use_enable introspection) \
|
||||
$(use_enable gconf) \
|
||||
$(use_enable gtk gtk2) \
|
||||
$(use_enable gtk xim) \
|
||||
$(use_enable gtk3) \
|
||||
$(use_enable gtk3 ui) \
|
||||
$(use_enable nls) \
|
||||
$(use_enable test tests) \
|
||||
$(use_enable vala) \
|
||||
$(use_enable X xim) \
|
||||
${python_conf}
|
||||
}
|
||||
|
||||
src_test() {
|
||||
unset DBUS_SESSION_BUS_ADDRESS
|
||||
Xemake check || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
find "${ED}" -name '*.la' -exec rm -f {} +
|
||||
|
||||
insinto /etc/X11/xinit/xinput.d
|
||||
newins xinput-ibus ibus.conf
|
||||
|
||||
keepdir /usr/share/ibus/{engine,icons} #289547
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
use gconf && gnome2_gconf_savelist
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use dconf; then
|
||||
ebegin "Updating dconf system databases"
|
||||
dconf update
|
||||
eend $?
|
||||
fi
|
||||
use gconf && gnome2_gconf_install
|
||||
use gtk && gnome2_query_immodules_gtk2
|
||||
use gtk3 && gnome2_query_immodules_gtk3
|
||||
use deprecated && python_mod_optimize ${PN}
|
||||
use python && use gtk3 && python_mod_optimize /usr/share/${PN}
|
||||
gnome2_icon_cache_update
|
||||
|
||||
elog "To use ibus, you should:"
|
||||
elog "1. Get input engines from sunrise overlay."
|
||||
elog " Run \"emerge -s ibus-\" in your favorite terminal"
|
||||
elog " for a list of packages we already have."
|
||||
elog
|
||||
elog "2. Setup ibus:"
|
||||
elog
|
||||
elog " $ ibus-setup"
|
||||
elog
|
||||
elog "3. Set the following in your user startup scripts"
|
||||
elog " such as .xinitrc, .xsession or .xprofile:"
|
||||
elog
|
||||
elog " export XMODIFIERS=\"@im=ibus\""
|
||||
elog " export GTK_IM_MODULE=\"ibus\""
|
||||
elog " export QT_IM_MODULE=\"xim\""
|
||||
elog " ibus-daemon -d -x"
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
if use dconf; then
|
||||
ebegin "Updating dconf system databases"
|
||||
dconf update
|
||||
eend $?
|
||||
fi
|
||||
use gtk && gnome2_query_immodules_gtk2
|
||||
use gtk3 && gnome2_query_immodules_gtk3
|
||||
use deprecated && python_mod_cleanup ${PN}
|
||||
use python && use gtk3 && python_mod_cleanup /usr/share/${PN}
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST nvidiabl-0.79-source-only.dkms.tar.gz 12662 SHA256 fcef47beac64d4cbf8df89f75e1c863bbf616e3c49688814459513f484ae90ba SHA512 afc8750e3363297f26a3bd1f0782d2043228c1b9aa7f4c0f7f0361440ce7b3a9136893c7bd7247b3247eca44a4ea33e5e52a80847cfb9df89dd9005769c7eab2 WHIRLPOOL 947aba9dc090ebdb5a75e82fe2e6e6a0e3400fb1790c1e58d9aea56dc659083271c3a067df7835668bd6b26eeecc038e6342496b764275cf1de9711d38dc3d7b
|
||||
DIST nvidiabl-0.80-source-only.dkms.tar.gz 12735 SHA256 91c6f41b42f0f53938aacdaf426a7d76fce5c396ecf39a42d068a3de2e3c75a6 SHA512 ba206d5bf88cb8d4ee1e35938d85291668365a1237d2954287d7ba2014faa9210d32072d10fbcbbf1489efd5cd60480f5bad34e45975cced2468946437339c0d WHIRLPOOL 203a698f9f31c43ab14e5e8489a5189531b81e7aebc7da75d52029b8a45d3a8a5cdad45449ef31e1fb0c6e0d2414789af7b61d523dd573dbfe29b3cfe5321923
|
||||
DIST v0.81.tar.gz 14280 SHA256 2e8224f4720f312879a3cdaada66b762c574d88178ea24f1dda4016c54921b55 SHA512 29bce4d57f89db7664ad780785ef98db50f2c6394d2c012cc9e165c6c0c54a8798d51a18fd83cc5e1a2be34ab3d1d9447d24998a78cfa4d6a4bb1bb548384f28 WHIRLPOOL 237280df6e9b9a62318c6291e03698c772678d7d8ae633077ab276ae387fcc72e020e00f6e5c056d03f45d1c129fa23712eed1ef3b5b73f6e166e9d2063d853c
|
||||
|
@ -1,3 +1,2 @@
|
||||
DIST skrooge-1.3.3.tar.bz2 9737954 SHA256 251ffca5ad8e3696901fb29df2714fcb30541fe9e3107b9de2c2cb9f6b47cee9 SHA512 1066de3fc4a09f1d15fda58106b41519a0470cd5572660ca8d037dc9658030be4959c5dad94173e6decf56a9a04bbf2f874a92ade54fd544cfaf2339aaa38840 WHIRLPOOL 4b6eb773af793fa35d610b207fe209ff5f7e0f0679be2a1d79f94662d0ff9ecf7bb26332919f2c34ca8165122fa7a5e5a576fbc7b423d13c3d4f2a46dec16f27
|
||||
DIST skrooge-1.4.0.tar.bz2 9697141 SHA256 71df527bea98b7a998deeeed009bdf381ff890a5743a84b93db4f007223974f9 SHA512 5a5e4f7752a6d3a3551614d5c429194469d32ab5a49df273d17a54ab8a4f402552a5ff46770624b36b18832f101e3cfbf454acc15f167cc54c92562155798c54 WHIRLPOOL 474f81005d51dbfd558d3001dd5b8ea14dc5c4668edc2ef0348f7344df67be58b05567af0d1ae32262bfebb21dcbb30a0c5aa32ca84da81064bce1a636ca5d5c
|
||||
DIST skrooge-1.5.1.tar.bz2 9832351 SHA256 9d8332d80faf4c89b02582894588829b3004d6abf79528c4b6e35a791a8adebc SHA512 bab2c577364c97f941be8581ede81e50ed2a4acaf97337daacdba082d6721f30d4869a951a29ad184bb473e0a4b5e4062a6a729de192ba4015fb39dfe7690856 WHIRLPOOL 0a69541791182b74fc2fb040fa2f85fc5beacf7ee9b6e8719cf77efa24be49fefb403297d4862ece3d7c5c7d13a0461189219695241864c908416f4b4d2e1671
|
||||
|
@ -1,35 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-office/skrooge/skrooge-1.4.0.ebuild,v 1.1 2013/01/06 10:49:04 johu Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
KDE_LINGUAS="bg bs ca ca@valencia cs da de el en_GB eo es et fi fr ga gl hu it
|
||||
ja ko lt ms nb nds nl pl pt pt_BR ro ru sk sv tr ug uk zh_CN zh_TW"
|
||||
KDE_DOC_DIRS="doc"
|
||||
KDE_HANDBOOK=optional
|
||||
inherit kde4-base
|
||||
|
||||
DESCRIPTION="personal finances manager for KDE4, aiming at being simple and intuitive"
|
||||
HOMEPAGE="http://www.skrooge.org/"
|
||||
SRC_URI="http://www.skrooge.org/files/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="4"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug"
|
||||
|
||||
DEPEND="
|
||||
app-crypt/qca:2
|
||||
dev-libs/grantlee
|
||||
>=dev-libs/libofx-0.9.1
|
||||
x11-libs/qt-sql:4[sqlite]
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
$(add_kdebase_dep kdesdk-scripts)
|
||||
"
|
||||
|
||||
DOCS=( AUTHORS CHANGELOG README TODO )
|
||||
|
||||
src_test() { :; }
|
||||
# tests are not included in tarball, bug 372315
|
@ -1,2 +1 @@
|
||||
DIST cb2bib-1.4.8.tar.gz 853163 SHA256 d4fec10ec626a4caea70a42f0ed0ef05daaad15ec23d01314f35c5e73f4d5070 SHA512 809d4ba43545db47cdea68accd5bf9c9fe6d887e9b4dc00a76acd4e8d36ccbd834b517e17a21768879280ca55433b15ba198379169508278ef12b35749328ac2 WHIRLPOOL 897f774d99d5ef21937a6a6e7213c1baa8d5d124b06a5bef24d49544cc4cefb0d4955d502a815180915410b9e98d375653e0904d81c007eed5b62b9db2875081
|
||||
DIST cb2bib-1.4.9.tar.gz 853588 SHA256 a12e3f05df5f05e180bc1ff3af8cfcb2fc6142cd2ab7d452706e86a449e1b359 SHA512 95e990772ccb0d789f18dc8b54fc37e432a91e76a7cd6355aa0ddafca5f9cc4d468fc433a50f4006d3eaed35136e9535ae09123a7fd55fbb989fb64234a96308 WHIRLPOOL 65b6b80a689f45a78863450c27e20ec9e5f33a33d32e9fbf7ece370465b77983fcb05c690b962843c9232f5dc6c9bd4dc3fbc7a487573e13348b9b9b15b58de9
|
||||
|
@ -1,51 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/cb2bib/cb2bib-1.4.8.ebuild,v 1.3 2012/06/18 11:05:38 ago Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="Tool for extracting unformatted bibliographic references"
|
||||
HOMEPAGE="http://www.molspaces.com/cb2bib/"
|
||||
SRC_URI="http://www.molspaces.com/dl/progs/${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-3"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="debug +lzo +poll"
|
||||
|
||||
DEPEND="
|
||||
x11-libs/libX11
|
||||
x11-libs/qt-core:4
|
||||
x11-libs/qt-gui:4
|
||||
x11-libs/qt-webkit:4
|
||||
lzo? ( dev-libs/lzo )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_configure() {
|
||||
if use !lzo; then
|
||||
mycmakeargs+=( -DC2B_USE_LZO=OFF )
|
||||
fi
|
||||
|
||||
if use !poll; then
|
||||
mycmakeargs+=( -DC2B_USE_POLL=OFF )
|
||||
fi
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo
|
||||
elog "For best functionality, emerge the following packages:"
|
||||
elog " app-text/poppler[utils] - for data import from PDF files"
|
||||
elog " app-text/dvipdfm - for data import from DVI files"
|
||||
elog " app-text/bibutils - for data import from ISI, endnote format"
|
||||
elog " media-fonts/jsmath - for displaying mathematical notation"
|
||||
elog " media-libs/exiftool - for proper UTF-8 metadata writing in PDF"
|
||||
elog " text strings"
|
||||
elog " virtual/latex-base - to check for BibTeX file correctness and to get"
|
||||
elog " nice printing through the shell script bib2pdf"
|
||||
einfo
|
||||
}
|
@ -0,0 +1,237 @@
|
||||
Index: configure.ac
|
||||
===================================================================
|
||||
--- configure.ac (revision 822)
|
||||
+++ configure.ac (revision 823)
|
||||
@@ -56,6 +56,8 @@
|
||||
AM_CONDITIONAL(MINGW, false)
|
||||
AM_CONDITIONAL(GRAPHICS_DISABLED, false)
|
||||
|
||||
+
|
||||
+#############################
|
||||
#
|
||||
# Platform specific setup
|
||||
#
|
||||
@@ -75,24 +77,6 @@
|
||||
|
||||
includedir="${includedir}/tesseract"
|
||||
|
||||
-AC_ARG_WITH(extra-includes,
|
||||
- AC_HELP_STRING([--with-extra-includes=DIR],
|
||||
- [Define an additional directory for include files]),
|
||||
- [ if test -d "$withval" ; then
|
||||
- CFLAGS="$CFLAGS -I$withval"
|
||||
- else
|
||||
- AC_MSG_ERROR([Cannot stat directory $withval])
|
||||
- fi ] )
|
||||
-
|
||||
-AC_ARG_WITH(extra-libraries,
|
||||
- AC_HELP_STRING([--with-extra-libraries=DIR],
|
||||
- [Define an additional directory for library files]),
|
||||
- [ if test -d "$withval" ; then
|
||||
- LDFLAGS="$LDFLAGS -L$withval"
|
||||
- else
|
||||
- AC_MSG_ERROR([Cannot stat directory $withval])
|
||||
- fi ] )
|
||||
-
|
||||
AC_MSG_CHECKING(--enable-graphics argument)
|
||||
AC_ARG_ENABLE([graphics],
|
||||
[AC_HELP_STRING([--enable-graphics],[enable graphics (ScrollView) (default)])
|
||||
@@ -208,27 +192,19 @@
|
||||
# ----------------------------------------
|
||||
|
||||
# Define order of compilers
|
||||
-AC_PROG_CXX(cl.exe g++)
|
||||
-# Not needed
|
||||
-# AC_PROG_CC
|
||||
+AC_PROG_CXX(g++)
|
||||
|
||||
AC_PROG_LIBTOOL
|
||||
|
||||
+# ----------------------------------------
|
||||
# Automake configuration
|
||||
# ----------------------------------------
|
||||
|
||||
-# Note: may need to configure automake to use ZIP as a distribution
|
||||
-# format because of an apparent bug with GZIP, which results in bogus
|
||||
-# archives.
|
||||
-# TODO(luc) Resolve this issue.
|
||||
-#AM_INIT_AUTOMAKE(dist-zip)
|
||||
AM_INIT_AUTOMAKE
|
||||
-AM_CONFIG_HEADER(config_auto.h:config/config.h.in)
|
||||
-#AM_PROG_CC_C_O
|
||||
+AC_CONFIG_HEADERS(config_auto.h:config/config.h.in)
|
||||
AM_MAINTAINER_MODE
|
||||
-# Need to tell automake if Visual C++ is being used:
|
||||
-AM_CONDITIONAL(USING_CL, test "x${CC}" = 'xcl.exe' )
|
||||
|
||||
+# ----------------------------------------
|
||||
# Additional checking of compiler characteristics
|
||||
# ----------------------------------------
|
||||
|
||||
@@ -245,108 +221,22 @@
|
||||
# Check where all the following programs are and set
|
||||
# variables accordingly:
|
||||
LT_INIT
|
||||
-# AC_PROG_LN_S
|
||||
-# AC_PATH_PROG(MV, mv)
|
||||
-# AC_PATH_PROG(CP, cp)
|
||||
-# AC_PATH_PROG(RM, rm)
|
||||
-# AC_PATH_PROG(AR, ar)
|
||||
-# AC_PATH_PROG(TOUCH, touch)
|
||||
-# AC_PATH_PROG(SED, sed)
|
||||
-# AC_PATH_PROG(BASH, bash, ,[$PATH:/usr/bin:/util/tools/bin])
|
||||
-# # To use substitution in makefiles, use something like:
|
||||
-# AC_SUBST(BASH)
|
||||
|
||||
-# TODO(luc) Handle documentation. None of the following
|
||||
-# is really needed until then
|
||||
-#
|
||||
-# AC_PROG_DOXYGEN_VERSION(1.3.2,[DOXYGEN_OK=1])
|
||||
-# AC_PATH_PROG(DOT, dot)
|
||||
-# AC_PATH_PROG(LATEX, latex)
|
||||
-# AC_PATH_PROG(DVIPS, dvips)
|
||||
-# AC_PATH_PROG(MAKEINDEX, makeindex)
|
||||
-# AC_PATH_PROG(PDFLATEX, pdflatex)
|
||||
-# AC_PATH_PROG(GZIP, gzip)
|
||||
-#
|
||||
-# if test -z "$DOXYGEN_OK" -o -z "$DOT"; then
|
||||
-# AC_MSG_WARN([------------------------------------
|
||||
-# *** Disabling automatic documentation generation for this
|
||||
-# *** package. Please check that you have 'doxygen' (version
|
||||
-# *** $ac_doxygen_version or later) and 'graphviz' (aka, 'dot')
|
||||
-# *** installed on your system. In addition, to generate
|
||||
-# *** PostScript and PDF documentation, you will need to have
|
||||
-# *** LaTeX and PdfLaTeX respectively. Re-run this configuration
|
||||
-# *** script after you have updated your environment.
|
||||
-# --------------------------------------------------------])
|
||||
-#
|
||||
-# # We have appropriate version of doxygen and dot, so we
|
||||
-# # can generate documentation. It remains to be seen whether
|
||||
-# # we can generate PDF and PostScript documentation..
|
||||
-# else
|
||||
-# GENERATE_DOCUMENTATION="true"
|
||||
-#
|
||||
-# # Determine if PostScript documentation is generated:
|
||||
-# if test -z "$LATEX" -o -z "$DVIPS" -o -z "$MAKEINDEX"; then
|
||||
-# AC_MSG_WARN([Disabling generation of PostScript documentation])
|
||||
-# else
|
||||
-# GENERATE_PS_DOCUMENTATION="true"
|
||||
-# fi
|
||||
-#
|
||||
-# # Determine if PDF documentation is generated:
|
||||
-# if test -z "$PDFLATEX" -o -z "$MAKEINDEX"; then
|
||||
-# AC_MSG_WARN([Disabling generation of PDF documentation])
|
||||
-# else
|
||||
-# GENERATE_PDF_DOCUMENTATION="true"
|
||||
-# fi
|
||||
-# fi
|
||||
-#
|
||||
-# # These substitutions could be inside the 'else'
|
||||
-# # conditionals above, but it is not necessary and would
|
||||
-# # only cause some confusion...
|
||||
-# AC_SUBST(DOXYGEN)
|
||||
-# AC_SUBST(DOT)
|
||||
-# AC_SUBST(LATEX)
|
||||
-# AC_SUBST(DVIPS)
|
||||
-# AC_SUBST(MAKEINDEX)
|
||||
-# AC_SUBST(PDFLATEX)
|
||||
-# AC_SUBST(GZIP)
|
||||
-#
|
||||
-# # Adjust makefiles based on the kind of documentation that
|
||||
-# # is being generated,
|
||||
-# AM_CONDITIONAL(GENERATE_DOCUMENTATION, test -n "$GENERATE_DOCUMENTATION")
|
||||
-# AM_CONDITIONAL(GENERATE_PS_DOCUMENTATION, test -n "$GENERATE_PS_DOCUMENTATION")
|
||||
-# AM_CONDITIONAL(GENERATE_PDF_DOCUMENTATION, test -n "$GENERATE_PDF_DOCUMENTATION")
|
||||
|
||||
-
|
||||
-# Test for GNUWIN32 tools (only useful under windows)
|
||||
-# AC_PATH_GNUWIN32
|
||||
-
|
||||
# ----------------------------------------
|
||||
# C++ related options
|
||||
# ----------------------------------------
|
||||
|
||||
AC_LANG_CPLUSPLUS
|
||||
|
||||
-# Enable --enable-debug or --disable-debug and set
|
||||
-# compile options accordingly. We are supposed to be either
|
||||
-# in debug mode or in optimize mode. Note that in debug mode,
|
||||
-# DEBUG_MODE will be set by this macro
|
||||
-# AC_CXX_OPTIMIZE
|
||||
-# AC_CXX_BOOL
|
||||
-# AC_CXX_TYPENAME
|
||||
-# AC_CXX_STDINCLUDES
|
||||
-# AC_CXX_RPO
|
||||
|
||||
# ----------------------------------------
|
||||
# Check for libraries
|
||||
# ----------------------------------------
|
||||
|
||||
-# This option seems to always add -lm to the link line,
|
||||
-# which causes unnecessary warnings with Visual C++.
|
||||
-# Comment it out for now.
|
||||
-#AC_CHECK_LIB(m,sqrt)
|
||||
AC_SEARCH_LIBS(sem_init,pthread rt)
|
||||
-#AC_CHECK_LIB(pthread,sem_init)
|
||||
|
||||
+
|
||||
# ----------------------------------------
|
||||
# Checks for header files.
|
||||
# ----------------------------------------
|
||||
@@ -356,7 +246,6 @@
|
||||
AC_HEADER_SYS_WAIT
|
||||
AC_CHECK_HEADERS(sys/ipc.h sys/shm.h)
|
||||
AC_CHECK_HEADERS(limits.h malloc.h)
|
||||
-AC_CHECK_HEADERS(allheaders.h)
|
||||
# Enable use of system-defined bool type if available:
|
||||
AC_HEADER_STDBOOL
|
||||
|
||||
@@ -370,27 +259,9 @@
|
||||
# ----------------------------------------
|
||||
|
||||
AC_CHECK_TYPES(wchar_t)
|
||||
-AC_CHECK_TYPES(long long int)
|
||||
AC_CHECK_TYPES(mbstate_t,,,[#include "wchar.h"])
|
||||
|
||||
-#AC_TYPE_MODE_T
|
||||
-#AC_TYPE_OFF_T
|
||||
-AC_TYPE_SIZE_T
|
||||
-#AC_TYPE_PID_T
|
||||
-
|
||||
-
|
||||
# ----------------------------------------
|
||||
-# Checks for library functions.
|
||||
-# ----------------------------------------
|
||||
-
|
||||
-AC_FUNC_MMAP
|
||||
-AC_FUNC_FORK
|
||||
-AC_CHECK_FUNCS(strerror vsnprintf)
|
||||
-AC_CHECK_FUNCS(gethostname)
|
||||
-AC_CHECK_FUNCS(strchr memcpy)
|
||||
-AC_CHECK_FUNCS(acos asin)
|
||||
-
|
||||
-# ----------------------------------------
|
||||
# Test auxilliary packages
|
||||
# ----------------------------------------
|
||||
|
||||
@@ -423,11 +294,6 @@
|
||||
# Final Tasks and Output
|
||||
# ----------------------------------------
|
||||
|
||||
-# Define installation paths
|
||||
-# AC_DEFINE_INSTALL_PATHS
|
||||
-# Redundant with PACKAGE_VERSION - comment out
|
||||
-# AC_DEFINE_UNQUOTED(TESSERACT_VERSION,["${PACKAGE_VERSION}"],[version string])
|
||||
-
|
||||
# Output files
|
||||
AC_CONFIG_FILES([Makefile tesseract.pc])
|
||||
#if test "$enable_gettext" = "yes"; then
|
||||
@@ -470,8 +336,6 @@
|
||||
echo ""
|
||||
echo "Configuration is done."
|
||||
echo "You can now build $PACKAGE_NAME by running:"
|
||||
-# test x$GXX = xyes && \
|
||||
-# echo "% make depend [optional]"
|
||||
echo ""
|
||||
echo "% make"
|
||||
|
@ -0,0 +1,15 @@
|
||||
Index: tesseract.pc.in
|
||||
===================================================================
|
||||
--- tesseract.pc.in (revision 816)
|
||||
+++ tesseract.pc.in (revision 817)
|
||||
@@ -10,6 +10,7 @@
|
||||
Description: An OCR Engine that was developed at HP Labs between 1985 and 1995... and now at Google.
|
||||
URL: https://code.google.com/p/tesseract-ocr
|
||||
Version: @VERSION@
|
||||
-# Requires: lept ## leptonica do not provide lept.pc
|
||||
-Libs: -L${libdir} -ltesseract @LDFLAGS@ @LIBS@
|
||||
-Cflags: -I${includedir} @CFLAGS@ @CPPFLAGS@ @CXXFLAGS@ @DEFS@
|
||||
+# Requires.private: lept
|
||||
+Libs: -L${libdir} -ltesseract
|
||||
+Libs.private: -lpthread -llept
|
||||
+Cflags: -I${includedir}
|
@ -1,11 +0,0 @@
|
||||
--- configure.ac.ORIG 2013-01-25 10:24:52.713068658 +0100
|
||||
+++ configure.ac 2013-01-29 12:05:31.582491749 +0100
|
||||
@@ -223,7 +223,7 @@
|
||||
# TODO(luc) Resolve this issue.
|
||||
#AM_INIT_AUTOMAKE(dist-zip)
|
||||
AM_INIT_AUTOMAKE
|
||||
-AM_CONFIG_HEADER(config_auto.h:config/config.h.in)
|
||||
+AC_CONFIG_HEADERS(config_auto.h:config/config.h.in)
|
||||
#AM_PROG_CC_C_O
|
||||
AM_MAINTAINER_MODE
|
||||
# Need to tell automake if Visual C++ is being used:
|
@ -0,0 +1,107 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/tesseract/tesseract-3.02-r1.ebuild,v 1.1 2013/02/10 00:37:35 tomka Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MY_PN="${PN}-ocr"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
URI_PREFIX="http://${MY_PN}.googlecode.com/files"
|
||||
|
||||
inherit eutils autotools autotools-utils versionator
|
||||
|
||||
MY_MINOR=$(get_after_major_version)
|
||||
S="${WORKDIR}/${P}.${MY_MINOR}"
|
||||
|
||||
DESCRIPTION="An OCR Engine that was developed at HP and now at Google"
|
||||
HOMEPAGE="http://code.google.com/p/tesseract-ocr/"
|
||||
SRC_URI="${URI_PREFIX}/${P}.${MY_MINOR}.tar.gz
|
||||
${URI_PREFIX}/${MY_P}.eng.tar.gz
|
||||
doc? ( ${URI_PREFIX}/${MY_P}.${MY_MINOR}-doc-html.tar.gz )
|
||||
linguas_ar? ( ${URI_PREFIX}/${MY_P}.ara.tar.gz )
|
||||
linguas_bg? ( ${URI_PREFIX}/bul.traineddata.gz )
|
||||
linguas_ca? ( ${URI_PREFIX}/cat.traineddata.gz )
|
||||
linguas_chr? ( ${URI_PREFIX}/chr.traineddata.gz )
|
||||
linguas_cs? ( ${URI_PREFIX}/ces.traineddata.gz )
|
||||
linguas_de? ( ${URI_PREFIX}/deu.traineddata.gz
|
||||
${URI_PREFIX}/deu-frak.traineddata.gz )
|
||||
linguas_da? ( ${URI_PREFIX}/dan.traineddata.gz
|
||||
${URI_PREFIX}/dan-frak.traineddata.gz )
|
||||
linguas_el? ( ${URI_PREFIX}/ell.traineddata.gz )
|
||||
linguas_es? ( ${URI_PREFIX}/spa.traineddata.gz )
|
||||
linguas_fi? ( ${URI_PREFIX}/fin.traineddata.gz )
|
||||
linguas_fr? ( ${URI_PREFIX}/fra.traineddata.gz )
|
||||
linguas_he? ( ${URI_PREFIX}/${MY_P}.heb.tar.gz
|
||||
${URI_PREFIX}/${MY_PN}-3.01.heb-com.tar.gz )
|
||||
linguas_hi? ( ${URI_PREFIX}/${MY_P}.hin.tar.gz )
|
||||
linguas_hu? ( ${URI_PREFIX}/hun.traineddata.gz )
|
||||
linguas_id? ( ${URI_PREFIX}/ind.traineddata.gz )
|
||||
linguas_it? ( ${URI_PREFIX}/ita.traineddata.gz )
|
||||
linguas_jp? ( ${URI_PREFIX}/jpn.traineddata.gz )
|
||||
linguas_ko? ( ${URI_PREFIX}/kor.traineddata.gz )
|
||||
linguas_lt? ( ${URI_PREFIX}/lit.traineddata.gz )
|
||||
linguas_lv? ( ${URI_PREFIX}/lav.traineddata.gz )
|
||||
linguas_nl? ( ${URI_PREFIX}/nld.traineddata.gz )
|
||||
linguas_no? ( ${URI_PREFIX}/nor.traineddata.gz )
|
||||
linguas_pl? ( ${URI_PREFIX}/pol.traineddata.gz )
|
||||
linguas_pt? ( ${URI_PREFIX}/por.traineddata.gz )
|
||||
linguas_ro? ( ${URI_PREFIX}/ron.traineddata.gz )
|
||||
linguas_ru? ( ${URI_PREFIX}/rus.traineddata.gz )
|
||||
linguas_sk? ( ${URI_PREFIX}/slk.traineddata.gz
|
||||
${URI_PREFIX}/${MY_PN}-3.01.slk-frak.tar.gz )
|
||||
linguas_sl? ( ${URI_PREFIX}/slv.traineddata.gz )
|
||||
linguas_sr? ( ${URI_PREFIX}/srp.traineddata.gz )
|
||||
linguas_sv? ( ${URI_PREFIX}/swe.traineddata.gz
|
||||
${URI_PREFIX}/swe-frak.traineddata.gz )
|
||||
linguas_th? ( ${URI_PREFIX}/${MY_P}.tha.tar.gz )
|
||||
linguas_tl? ( ${URI_PREFIX}/tgl.traineddata.gz )
|
||||
linguas_tr? ( ${URI_PREFIX}/tur.traineddata.gz )
|
||||
linguas_uk? ( ${URI_PREFIX}/ukr.traineddata.gz )
|
||||
linguas_vi? ( ${URI_PREFIX}/vie.traineddata.gz )
|
||||
linguas_zh_CN? ( ${URI_PREFIX}/chi_sim.traineddata.gz )
|
||||
linguas_zh_TW? ( ${URI_PREFIX}/chi_tra.traineddata.gz )
|
||||
osd? ( ${URI_PREFIX}/${MY_PN}-3.01.osd.tar.gz )
|
||||
"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
|
||||
|
||||
IUSE="doc examples jpeg png tiff -webp +scrollview static-libs linguas_ar linguas_bg linguas_ca linguas_chr linguas_cs linguas_de linguas_da linguas_el linguas_es linguas_fi linguas_fr linguas_he linguas_hi linguas_hu linguas_id linguas_it linguas_jp linguas_ko linguas_lt linguas_lv linguas_nl linguas_no linguas_pl linguas_pt linguas_ro linguas_ru linguas_sk linguas_sl linguas_sr linguas_sv linguas_th linguas_tl linguas_tr linguas_uk linguas_vi linguas_zh_CN linguas_zh_TW osd"
|
||||
|
||||
DEPEND="media-libs/leptonica[zlib,tiff?,jpeg?,png?,webp?]"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS=(AUTHORS ChangeLog NEWS README ReleaseNotes )
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/tesseract-2.04-gcc47.patch"
|
||||
"${FILESDIR}/sanitize-pkgconfig-file.patch"
|
||||
"${FILESDIR}/sanitize-configure-file.patch"
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
$(use_enable scrollview graphics) \
|
||||
--disable-dependency-tracking
|
||||
)
|
||||
autotools-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
autotools-utils_src_install
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins eurotext.tif phototest.tif
|
||||
fi
|
||||
|
||||
if use doc; then
|
||||
dohtml -r "${WORKDIR}"/"${MY_PN}"/doc/html/*
|
||||
fi
|
||||
|
||||
# install language files
|
||||
insinto /usr/share/tessdata
|
||||
find "${WORKDIR}" -maxdepth 1 -type f -name "*.traineddata" -exec doins '{}' +
|
||||
doins "${WORKDIR}"/"${MY_PN}"/tessdata/*
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST hyperdex-0.4.0.tar.gz 1057524 SHA256 3ab0ffff461a39406e0ee4b16cfec9f05f06046356d4801ace4d86daad1253dc SHA512 760d2d1ebb4486d2550847bc2d2365166dee6af7f2d3406395956de1ef881fbba68504a119001a84ee48ade70282dbad39481004f84833677a0bc32e02741ee7 WHIRLPOOL 553544bf25b68a2029945da59ba185fca66e5f2ab776d8f01971ccb9bf6a9562de250ec92ece21543a6086f73ac4cd664539bdb63d6e870b8ef2736ca693ec7c
|
||||
DIST hyperdex-1.0.rc1.tar.gz 1107306 SHA256 7e694297c11cc479df971c961c551c3f0d641624eb2c0faba65e0e8a03f99f32 SHA512 e5fb201ccdc5a5dc1e6a5c042ed8f7ed5687034e9ee378ff2f4c851a95e145d0ff18fcf56c51efd06b54f97df159d088cc291c3f27ea36bfb4a84b7f66a006ed WHIRLPOOL 015ddc43256528c0b15822aef3ab24ee0edce3d1c387af0d06742e09dceb866418692607c235a987d12c7f1d39b96e0c686ad7beeb090e3e6c8e3687e952cc8a
|
||||
DIST hyperdex-1.0.rc2.tar.gz 1139183 SHA256 faf2364046116aecd19ed196c39c096a9d39a55fcece0b47e47e25788e8b91f7 SHA512 5925b5279d9430a8a919f527d8309bfb96157388db4e5a4a70f713dd9925249c97da1cdb91df98c1b2b9d9782f28273b873907ce2dbf4690f2ba01d0bbddc714 WHIRLPOOL 10442db0609f07ab89535963658de5c5aa0ceed5d2a4535c74cc00b4389f8b9ca5e14de52f4f9425b2d6e603ea5ea7620f1cc007db144e618bbeec9dfa38302b
|
||||
|
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/hyperdex/hyperdex-1.0_rc2.ebuild,v 1.1 2013/02/10 08:05:41 patrick Exp $
|
||||
EAPI=4
|
||||
|
||||
PYTHON_DEPEND="2:2.6"
|
||||
inherit eutils python
|
||||
|
||||
DESCRIPTION="A searchable distributed Key-Value Store"
|
||||
|
||||
MY_P="${P/_/.}"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
HOMEPAGE="http://hyperdex.org"
|
||||
SRC_URI="http://hyperdex.org/src/${MY_P}.tar.gz"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
IUSE="+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
|
||||
dev-libs/replicant"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable python python-bindings)
|
||||
}
|
||||
|
||||
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"
|
||||
}
|
@ -1,2 +0,0 @@
|
||||
DIST galago-sharp-0.5.0.tar.gz 318895 SHA256 f242820c834c9441c26e76c36fb150064c96274f6741aebe071ddd435e5e1b3d SHA512 d561b324038dc63010fa72d91a38bb44732340a39b529aaf0a6d15808628e6c9f61d00cdb8a63d5df717bcb99a2f9238302c2543bfafcbfd7a2bb02366557503 WHIRLPOOL c3be95a8a3ac98eb55c87e3e0d1f4c86c115e50e4ae68e84c80f4fc6085bb3972da5b1a7d81fda95f2cb05769853eb2462de08c52126ea1bc47020bcf3ba47e6
|
||||
DIST libgalago-0.5.0.tar.bz2 384473 SHA256 d8588ecf4fdb755d1b03d7684a6672e3eb6dd2a447757fef453150ebb12ada9c SHA512 cd62af7e73aaf36edc1c2212f23a06a0defac379595612a90efb2f12add2603d943ae0f72b333d828e16c96a6101e20d821235ab2e1a9a62cd962207741fbb71 WHIRLPOOL 173393d6917f34aa75e68e15eed6584f63db9bd48bf5f2530160f73d808e073ad1f2e64138025197a80984c5e2bc8844b28fef734df441289f6cb3c572fabb3a
|
@ -1,35 +0,0 @@
|
||||
--- configure.ac.orig 2006-04-22 14:11:34.000000000 -0500
|
||||
+++ configure.ac 2006-04-22 14:14:36.000000000 -0500
|
||||
@@ -115,14 +115,25 @@
|
||||
AC_MSG_ERROR([No gacutil tool found])
|
||||
fi
|
||||
|
||||
-dnl Check for the NUnit testing framework
|
||||
-have_nunit="yes"
|
||||
-AC_PATH_PROG(NUNIT, nunit-console)
|
||||
-AC_PATH_PROG(XSLTPROC, xsltproc)
|
||||
-if test "x$NUNIT" = "x" -o "x$XSLTPROC" = "x"; then
|
||||
- AC_MSG_WARN([Can't find NUnit and xsltproc. You will not be able to run unit tests])
|
||||
- have_nunit="no"
|
||||
+AC_ARG_ENABLE([tests],
|
||||
+ AC_HELP_STRING([--disable-tests], [Disable the unit tests]),,
|
||||
+ [enable_tests=yes])
|
||||
+
|
||||
+if test "x$enable_tests" = "xyes" ; then
|
||||
+ dnl Check for the NUnit testing framework
|
||||
+ have_nunit="yes"
|
||||
+
|
||||
+ AC_PATH_PROG(NUNIT, nunit-console)
|
||||
+ AC_PATH_PROG(XSLTPROC, xsltproc)
|
||||
+
|
||||
+ if test "x$NUNIT" = "x" -o "x$XSLTPROC" = "x"; then
|
||||
+ AC_MSG_WARN([Can't find NUnit and xsltproc. You will not be able to run unit tests])
|
||||
+ have_nunit="no"
|
||||
+ fi
|
||||
+else
|
||||
+ have_nuint="no"
|
||||
fi
|
||||
+
|
||||
AM_CONDITIONAL(HAVE_NUNIT, test "$have_nunit" = "yes")
|
||||
|
||||
AC_SUBST(RUNTIME)
|
@ -1,49 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/galago-sharp/galago-sharp-0.5.0-r1.ebuild,v 1.4 2012/05/04 03:56:57 jdhore Exp $
|
||||
|
||||
inherit eutils mono autotools
|
||||
|
||||
DESCRIPTION="Mono bindings to Galago"
|
||||
HOMEPAGE="http://galago-project.org"
|
||||
SRC_URI="http://galago-project.org/files/releases/source/${PN}/${P}.tar.gz
|
||||
http://galago-project.org/files/releases/source/libgalago/libgalago-${PV}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-lang/mono-1.0
|
||||
>=sys-apps/dbus-0.90
|
||||
=dev-dotnet/gtk-sharp-2*
|
||||
>=dev-libs/libgalago-0.5.0"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
|
||||
# Hard enable/disable tests
|
||||
epatch "${FILESDIR}/${PN}-0.5.0-tests.patch"
|
||||
|
||||
# Nasty hack to prevent building of the tests
|
||||
sed -i -e 's/ tests//' "${S}/Makefile.am"
|
||||
|
||||
sed -i -e 's:\$(GET_METHOD)::' "${S}"/sources/Makefile.am || die
|
||||
|
||||
mv "${WORKDIR}"/libgalago-${PV} "${S}"/sources/libgalago
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
econf --disable-tests || die "configure failed"
|
||||
emake || die "make failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR="${D}" install || die "install failed"
|
||||
dodoc AUTHORS ChangeLog NEWS README
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>freedesktop</herd>
|
||||
<longdescription lang="en">
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
@ -1 +1,2 @@
|
||||
DIST ansi-wl-pprint-0.6.4.tar.gz 13702 SHA256 608ea9c866198c7214b0493e74a4cae227e72da426d0c254c226cec2eafc307f SHA512 32014b5e59e3d5002e30080fc1354fb81183c329e1d0a49016de94c1c59d1dc56002919f3da84d653d4fc9440646bbb8ac9673cf07aea4a02af877fe856e3efd WHIRLPOOL 81781e4433606da9190089aa09651fa91f326a7e6896a754d5e9cc5de18d9906f701b55d185c2365687f86cfd8d22e85a41cebe710df300f58f0ec48ec9b5d4b
|
||||
DIST ansi-wl-pprint-0.6.6.tar.gz 13775 SHA256 1eff90ac153f66c42aa6ee10639e3c541194935030672bac8ff2b5cbca8e6bfe SHA512 5bc47ab71a88c0579d4ff06f54616f6418951215db7d42692c55be6855dc7e190eb71b86331319a80ac1a2ad6762294549cf0629cbf2ec2f46c25047d29c9469 WHIRLPOOL ad357f1e77620d554055aad212cb340d76859fdb371bfb0def99f8623fd9123820afef7d3b3dbec11100f2dcaf00dd2631eff2f8b0034bd4f7323f4588819081
|
||||
|
@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/ansi-wl-pprint/ansi-wl-pprint-0.6.6.ebuild,v 1.1 2013/02/09 19:14:07 slyfox Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
# ebuild generated by hackport 0.3.2.9999
|
||||
|
||||
CABAL_FEATURES="bin lib profile haddock hoogle hscolour"
|
||||
inherit haskell-cabal
|
||||
|
||||
DESCRIPTION="The Wadler/Leijen Pretty Printer for colored ANSI terminal output"
|
||||
HOMEPAGE="http://github.com/batterseapower/ansi-wl-pprint"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-haskell/ansi-terminal-0.4.0:=[profile?]
|
||||
<dev-haskell/ansi-terminal-0.7:=[profile?]
|
||||
>=dev-lang/ghc-6.10.4:="
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-haskell/cabal-1.2"
|
||||
|
||||
src_configure() {
|
||||
haskell-cabal_src_configure \
|
||||
--flag=-example \
|
||||
--flag=newbase
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST base64-bytestring-0.1.1.1.tar.gz 6005 SHA256 8dbfd13372330580e8ac94ca09f359aa5dd021625ec190fa12bb1de781b61248 SHA512 b1d21c437a0983d9766139f53ef77aa2adc2e0a42d4e7fceff2539c8a235fbb0e9cd866546f1440534c62301675cf3833c9c0f9793e9dba3e3b2c13f2d8d7ac9 WHIRLPOOL f3b6e27bea4cd39202f36fc1d04cb428f79add85c62d2f5d409994b9d96b88fe32ae1e48608790b366e6122c46366d9ccca678479c2997a11a0504cf956cf0e8
|
||||
DIST base64-bytestring-0.1.1.3.tar.gz 6976 SHA256 8f699640f3a9428fb3f5ab11fd7689fa760be08149fb42c36431c9e22cd1d53f SHA512 49ca6320ddb3a6b149fd61e6a046404fc692c7030d4ad48e6d390b645e1c5343854d9814f7e58369c8cba0089d0da1803c57d808c4217bfefe27303d93a20587 WHIRLPOOL 9cecc37650b12b5c210dffc953535a29159e24ae3933ff0b9b70ae685e3ea3730ba1daee93c183db6881e5865cbe1ba02cc3875919005c83a55671298c48f42d
|
||||
DIST base64-bytestring-1.0.0.0.tar.gz 8861 SHA256 759fbb0f8f3ff26c4ad3e71fbcccfd472bc1a4eefe4b5508ce78a8793305197c SHA512 272f2535fc39079bb5b59ef833cc37912bdafd559b1cfeaa3ba2982e5ed784226637b7f8349882dd4fc036b51b762cc811c743a153ea3fa151322c7f9c5d9a7b WHIRLPOOL 21f7224101ea592409e1f60c2e8212eeb8df84a4b0678b451234759b379508e16d711ba3a5999a1ba70983594608f2b088b8818d0435cb478543b9b3b537b568
|
||||
DIST base64-bytestring-1.0.0.1.tar.gz 9080 SHA256 ab25abf4b00a2f52b270bc3ed43f1d59f16c8eec9d7dffb14df1e9265b233b50 SHA512 6936b34955b89a275f5bd71c74bbad2be6ff9e2023ac652bdbc9c5b10dd624e3862fc348849858fdb5c7b8aacc36ab4cda8bc6ea797c129b6b28d7e2e2e610e7 WHIRLPOOL 4d3499d38fb5276c71ee79bed2af1b802c764570729d912b2f7bc62bc2106fe8053f277549ffb040ab7fcb0cd4574b22f5249454f8f93233c7b528d00ffcc277
|
||||
|
@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/base64-bytestring/base64-bytestring-1.0.0.1.ebuild,v 1.1 2013/02/09 19:14:52 slyfox Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
# ebuild generated by hackport 0.3.2.9999
|
||||
|
||||
CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
|
||||
inherit haskell-cabal
|
||||
|
||||
DESCRIPTION="Fast base64 encoding and decoding for ByteStrings"
|
||||
HOMEPAGE="https://github.com/bos/base64-bytestring"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-lang/ghc-6.10.4:="
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-haskell/hunit
|
||||
dev-haskell/quickcheck
|
||||
dev-haskell/test-framework
|
||||
dev-haskell/test-framework-hunit
|
||||
dev-haskell/test-framework-quickcheck2
|
||||
)
|
||||
>=dev-haskell/cabal-1.8"
|
@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/blaze-builder/blaze-builder-0.3.1.0-r1.ebuild,v 1.1 2013/02/09 19:13:06 slyfox Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
# ebuild generated by hackport 0.3.2.9999
|
||||
|
||||
CABAL_FEATURES="lib profile haddock hoogle hscolour"
|
||||
inherit haskell-cabal
|
||||
|
||||
DESCRIPTION="Efficient buffered output."
|
||||
HOMEPAGE="http://github.com/meiersi/blaze-builder"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-haskell/text-0.10:=[profile?]
|
||||
<dev-haskell/text-0.13:=[profile?]
|
||||
>=dev-lang/ghc-6.10.4:="
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-haskell/cabal-1.6"
|
@ -1,3 +1,4 @@
|
||||
DIST citeproc-hs-0.3.2.tar.gz 90757 SHA256 eedd04b29521c38394d090e37d36edc7b8a46220fce2a85324562be903079812 SHA512 b10e9578120ad48efe442060cb46780bd0a72092d1f37af153a1b4eb4cf7c4220e0eba88929e0b1c9b67b566eec61c537439f2c9fb37fb445c40d400cb173bd5 WHIRLPOOL 7291d355862580934107105523404b9eb5b0a5906b828cb7e79a5639a284bc115252c5ca712b66b1c3abbf1d7aa52510f0c32042f5f1cc740b5b1d9338bb815e
|
||||
DIST citeproc-hs-0.3.4.tar.gz 100279 SHA256 db0aa3f34991c0e90bd04b4a6752048eeb36fef24693dfbb44cd2d48eb75869f SHA512 dfb60b2a73ed37985861e7790f94373c55bdad33a91b3b6a9829f3d332e18e9c843f6b90aed03cf935fbff9d089676968d1661829d1a4ff6e901ae283876cb5a WHIRLPOOL ff23a1c675bb3dfe31f99c5907973e22037fd0292f3158c53c618db25d9cd21fbc2715fce3c591bdaa5ee0a86837ddaed0cb59a1cbb66758775a9afddfbef877
|
||||
DIST citeproc-hs-0.3.6.tar.gz 104345 SHA256 02173cb7e217b9cd962147ca7ffcf02ff4f7112ba1f5bc1bdce1bd138762bc7f SHA512 6cd86fcf77dd200d4e515667a6332f3c8569d94d11e1d9a004e51ec2791899cdde561d7c99fa92af453eb0ba906961d88de0233869002f9ccf7d92c4f83d6a58 WHIRLPOOL bef77ccd204c0be407a637ec944d51713d6ec71b45b598b9812b1fe45381bcda8fe2f2a4f2f38a440120dabf73d17caf478848537a5f056bc51fd76d4745b0a8
|
||||
DIST citeproc-hs-0.3.7.tar.gz 105112 SHA256 6bb498a3e1c4132565e729807119dfdce70704dacf990441a0a4a38afef1a947 SHA512 d231279ec5cb81a2a9d7042d9fcbac56ce320ff6160fbd3fab2263f8a577504fa83b625d1fe87bff1d049fc77dc975861c5983d6601a4d7750ca454643c482a3 WHIRLPOOL 8f51ec43e89eca3b759fb105d749c4c86ef0fbed29f5abcd993587ec734ca19320a34f78e85ce9b727d5748b9466e1964e434629eb26035bb01acf7f9e1c1582
|
||||
|
@ -0,0 +1,38 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/citeproc-hs/citeproc-hs-0.3.7.ebuild,v 1.1 2013/02/09 19:15:55 slyfox Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
# ebuild generated by hackport 0.3.9999
|
||||
|
||||
CABAL_FEATURES="lib profile haddock hoogle hscolour"
|
||||
inherit haskell-cabal
|
||||
|
||||
DESCRIPTION="A Citation Style Language implementation in Haskell"
|
||||
HOMEPAGE="http://gorgias.mine.nu/repos/citeproc-hs/"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+bibutils hexpat +network"
|
||||
|
||||
RDEPEND="dev-haskell/json:=[generic,profile?]
|
||||
dev-haskell/mtl:=[profile?]
|
||||
>=dev-haskell/pandoc-types-1.8:=[profile?]
|
||||
<dev-haskell/pandoc-types-1.11:=[profile?]
|
||||
dev-haskell/parsec:=[profile?]
|
||||
dev-haskell/syb:=[profile?]
|
||||
dev-haskell/utf8-string:=[profile?]
|
||||
!hexpat? ( dev-haskell/xml:=[profile?] )
|
||||
hexpat? ( >=dev-haskell/hexpat-0.20.2:=[profile?] )
|
||||
>=dev-lang/ghc-6.10.4:=
|
||||
bibutils? ( >=dev-haskell/hs-bibutils-0.3:=[profile?] )
|
||||
network? (
|
||||
>=dev-haskell/http-4000.0.9:=[profile?]
|
||||
>=dev-haskell/network-2:=[profile?]
|
||||
)
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-haskell/cabal-1.6"
|
@ -0,0 +1 @@
|
||||
DIST FindBin-0.0.5.tar.gz 2277 SHA256 279c7967e0803ca3b9a0a1956ce7ba9b9a2294eb9f971bea8a557b5f80ddfda4 SHA512 427eff520ea9b88bc928d4330d4550d1d7d2254512e63cc8afad5f45b94a58cf4758a704db5b8ca4dd33f5bfced6557965192bd41d621a33eecc0c517548fa9a WHIRLPOOL a4609fbf51fa5a664be037983d9f8f1daa30755b742707db6ceba1713cac98642499c6f619ab6d8ed837068f9b4d6f016898cbb5d5288a0b054149cc82a6a6b8
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/findbin/findbin-0.0.5-r1.ebuild,v 1.1 2013/02/09 18:54:42 slyfox Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
# ebuild generated by hackport 0.3.2.9999
|
||||
|
||||
CABAL_FEATURES="lib profile haddock hoogle hscolour"
|
||||
inherit haskell-cabal
|
||||
|
||||
MY_PN="FindBin"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="Locate directory of original program"
|
||||
HOMEPAGE="https://github.com/audreyt/findbin"
|
||||
SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-lang/ghc-6.10.4:="
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-haskell/cabal-0"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>haskell</herd>
|
||||
<maintainer>
|
||||
<email>haskell@gentoo.org</email>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
This module locates the full directory to the running program,
|
||||
to allow the use of paths relative to it.
|
||||
FindBin supports invocation of Haskell programs via "ghci",
|
||||
via "runhaskell/runghc", as well as compiled as an executable.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
@ -0,0 +1,56 @@
|
||||
--- haddock-2.13.1-orig/src/Haddock/Interface/Rename.hs 2012-10-11 21:56:13.000000000 +1100
|
||||
+++ haddock-2.13.1/src/Haddock/Interface/Rename.hs 2013-01-04 10:55:06.725718923 +1100
|
||||
@@ -271,9 +271,20 @@
|
||||
|
||||
HsTyLit x -> return (HsTyLit x)
|
||||
|
||||
+ HsWrapTy a b -> HsWrapTy a <$> renameType b
|
||||
+ HsRecTy a -> HsRecTy <$> mapM renameConDeclFieldField a
|
||||
+ HsCoreTy a -> pure (HsCoreTy a)
|
||||
+ HsExplicitListTy a b -> HsExplicitListTy a <$> mapM renameLType b
|
||||
+ HsExplicitTupleTy a b -> HsExplicitTupleTy a <$> mapM renameLType b
|
||||
+ HsQuasiQuoteTy a -> HsQuasiQuoteTy <$> renameHsQuasiQuote a
|
||||
+ HsSpliceTy _ _ _ -> error "renameType: HsSpliceTy"
|
||||
+
|
||||
_ -> error "renameType"
|
||||
|
||||
|
||||
+renameHsQuasiQuote :: HsQuasiQuote Name -> RnM (HsQuasiQuote DocName)
|
||||
+renameHsQuasiQuote (HsQuasiQuote a b c) = HsQuasiQuote <$> rename a <*> pure b <*> pure c
|
||||
+
|
||||
renameLTyVarBndrs :: LHsTyVarBndrs Name -> RnM (LHsTyVarBndrs DocName)
|
||||
renameLTyVarBndrs (HsQTvs { hsq_kvs = _, hsq_tvs = tvs })
|
||||
= do { tvs' <- mapM renameLTyVarBndr tvs
|
||||
@@ -398,22 +409,25 @@
|
||||
return (decl { con_name = lname', con_qvars = ltyvars', con_cxt = lcontext'
|
||||
, con_details = details', con_res = restype', con_doc = mbldoc' })
|
||||
where
|
||||
- renameDetails (RecCon fields) = return . RecCon =<< mapM renameField fields
|
||||
+ renameDetails (RecCon fields) = return . RecCon =<< mapM renameConDeclFieldField fields
|
||||
renameDetails (PrefixCon ps) = return . PrefixCon =<< mapM renameLType ps
|
||||
renameDetails (InfixCon a b) = do
|
||||
a' <- renameLType a
|
||||
b' <- renameLType b
|
||||
return (InfixCon a' b')
|
||||
|
||||
- renameField (ConDeclField name t doc) = do
|
||||
- name' <- renameL name
|
||||
- t' <- renameLType t
|
||||
- doc' <- mapM renameLDocHsSyn doc
|
||||
- return (ConDeclField name' t' doc')
|
||||
-
|
||||
renameResType (ResTyH98) = return ResTyH98
|
||||
renameResType (ResTyGADT t) = return . ResTyGADT =<< renameLType t
|
||||
|
||||
+
|
||||
+renameConDeclFieldField :: ConDeclField Name -> RnM (ConDeclField DocName)
|
||||
+renameConDeclFieldField (ConDeclField name t doc) = do
|
||||
+ name' <- renameL name
|
||||
+ t' <- renameLType t
|
||||
+ doc' <- mapM renameLDocHsSyn doc
|
||||
+ return (ConDeclField name' t' doc')
|
||||
+
|
||||
+
|
||||
renameSig :: Sig Name -> RnM (Sig DocName)
|
||||
renameSig sig = case sig of
|
||||
TypeSig lnames ltype -> do
|
@ -1,54 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/haskell-platform/haskell-platform-2009.2.0.2-r1.ebuild,v 1.2 2012/12/06 22:54:59 slyfox Exp $
|
||||
|
||||
# for slot dependencies
|
||||
EAPI=1
|
||||
|
||||
DESCRIPTION="The Haskell Platform"
|
||||
HOMEPAGE="http://haskell.org/haskellwiki/Haskell_Platform"
|
||||
SRC_URI=""
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
# use gnome style of meta packages;
|
||||
# minimum version, open range
|
||||
|
||||
# for the packages parsec (SLOT=0) and quickcheck (SLOT=1) we depend on
|
||||
# different SLOTs to not get too recent versions (quickcheck-2 and parsec-3
|
||||
# which behaves significantly different)
|
||||
|
||||
DEPEND="~dev-lang/ghc-6.10.4
|
||||
>=dev-haskell/cabal-1.6.0.3
|
||||
>=dev-haskell/cgi-3001.1.7.1
|
||||
>=dev-haskell/editline-0.2.1.0
|
||||
>=dev-haskell/fgl-5.4.2.2
|
||||
>=dev-haskell/glut-2.1.1.2
|
||||
>=dev-haskell/haskell-src-1.0.1.3
|
||||
>=dev-haskell/html-1.0.1.2
|
||||
>=dev-haskell/http-4000.0.6
|
||||
>=dev-haskell/hunit-1.2.0.3
|
||||
>=dev-haskell/mtl-1.1.0.2
|
||||
>=dev-haskell/network-2.2.1.4
|
||||
>=dev-haskell/opengl-2.2.1.1
|
||||
>=dev-haskell/parallel-1.1.0.1
|
||||
>=dev-haskell/parsec-2.1.0.1:0
|
||||
>=dev-haskell/quickcheck-1.2.0.0:1
|
||||
>=dev-haskell/stm-2.1.1.2
|
||||
>=dev-haskell/xhtml-3000.2.0.1
|
||||
>=dev-haskell/zlib-0.5.0.0
|
||||
|
||||
>=dev-haskell/alex-2.3.1
|
||||
>=dev-haskell/happy-1.18.4
|
||||
>=dev-haskell/cabal-install-0.6.2
|
||||
>=dev-haskell/haddock-2.4.2
|
||||
|
||||
=dev-haskell/regex-base-0.72*
|
||||
=dev-haskell/regex-compat-0.71*
|
||||
=dev-haskell/regex-posix-0.72*
|
||||
"
|
||||
|
||||
RDEPEND="${DEPEND}"
|
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/highlighting-kate/highlighting-kate-0.5.3.5.ebuild,v 1.1 2013/02/09 19:21:10 slyfox Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
# ebuild generated by hackport 0.3.9999
|
||||
|
||||
CABAL_FEATURES="bin lib profile haddock hoogle hscolour"
|
||||
inherit haskell-cabal
|
||||
|
||||
DESCRIPTION="Syntax highlighting"
|
||||
HOMEPAGE="http://github.com/jgm/highlighting-kate"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="executable pcre-light"
|
||||
|
||||
RDEPEND=">=dev-haskell/blaze-html-0.4.2:=[profile?]
|
||||
<dev-haskell/blaze-html-0.6:=[profile?]
|
||||
dev-haskell/mtl:=[profile?]
|
||||
dev-haskell/parsec:=[profile?]
|
||||
dev-haskell/regex-pcre-builtin:=[profile?]
|
||||
pcre-light? ( dev-haskell/pcre-light:=[profile?] )
|
||||
!pcre-light? ( dev-haskell/regex-pcre-builtin:=[profile?] )
|
||||
>=dev-lang/ghc-6.10.4:="
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-haskell/cabal-1.10"
|
||||
|
||||
src_configure() {
|
||||
cabal_src_configure \
|
||||
$(cabal_flag executable) \
|
||||
$(cabal_flag pcre-light)
|
||||
}
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/network/network-2.4.1.0.ebuild,v 1.1 2013/02/09 19:11:10 slyfox Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
# ebuild generated by hackport 0.3.2.9999
|
||||
|
||||
CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
|
||||
inherit haskell-cabal
|
||||
|
||||
DESCRIPTION="Low-level networking interface"
|
||||
HOMEPAGE="https://github.com/haskell/network"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-haskell/parsec-3.0:=[profile?]
|
||||
>=dev-lang/ghc-6.10.4:="
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-haskell/hunit
|
||||
dev-haskell/test-framework
|
||||
dev-haskell/test-framework-hunit
|
||||
)
|
||||
>=dev-haskell/cabal-1.8"
|
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/texmath/texmath-0.6.1.3.ebuild,v 1.1 2013/02/09 19:10:11 slyfox Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
# ebuild generated by hackport 0.3.9999
|
||||
|
||||
CABAL_FEATURES="bin lib profile haddock hoogle hscolour"
|
||||
inherit haskell-cabal
|
||||
|
||||
DESCRIPTION="Conversion of LaTeX math formulas to MathML or OMML."
|
||||
HOMEPAGE="http://github.com/jgm/texmath"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="cgi test"
|
||||
|
||||
RDEPEND=">=dev-haskell/parsec-3:=[profile?]
|
||||
dev-haskell/syb:=[profile?]
|
||||
dev-haskell/xml:=[profile?]
|
||||
>=dev-lang/ghc-6.10.4:=
|
||||
cgi? ( dev-haskell/json:=[profile?]
|
||||
dev-haskell/cgi:=[profile?]
|
||||
dev-haskell/utf8-string:=[profile?]
|
||||
)
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-haskell/cabal-1.6"
|
||||
|
||||
src_configure() {
|
||||
cabal_src_configure \
|
||||
$(cabal_flag cgi) \
|
||||
$(cabal_flag test)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cabal_src_install
|
||||
|
||||
# remove test and it's data
|
||||
rm -f "${ED}/usr/bin/texmath" 2> /dev/null
|
||||
rm -rf "${ED}/usr/share/${P}"/ghc-*/tests 2> /dev/null
|
||||
}
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/transformers/transformers-0.3.0.0-r1.ebuild,v 1.1 2013/02/09 19:08:52 slyfox Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
# ebuild generated by hackport 0.3.2.9999
|
||||
|
||||
CABAL_FEATURES="lib profile haddock hoogle hscolour"
|
||||
inherit haskell-cabal
|
||||
|
||||
DESCRIPTION="Concrete functor and monad transformers"
|
||||
HOMEPAGE="http://hackage.haskell.org/package/transformers"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-lang/ghc-6.10.4:="
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-haskell/cabal-1.6"
|
||||
|
||||
CABAL_CORE_LIB_GHC_PV="7.7.2013*"
|
||||
|
||||
src_configure() {
|
||||
haskell-cabal_src_configure \
|
||||
--flag=applicativeinbase
|
||||
}
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/utf8-string/utf8-string-0.3.7-r1.ebuild,v 1.1 2013/02/09 19:22:16 slyfox Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
# ebuild generated by hackport 0.3.2.9999
|
||||
|
||||
CABAL_FEATURES="lib profile haddock hoogle hscolour"
|
||||
inherit haskell-cabal
|
||||
|
||||
DESCRIPTION="Support for reading and writing UTF8 Strings"
|
||||
HOMEPAGE="http://github.com/glguy/utf8-string/"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~ppc-macos ~x86-macos"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-lang/ghc-6.10.4:="
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-haskell/cabal-1.2"
|
||||
|
||||
src_configure() {
|
||||
haskell-cabal_src_configure \
|
||||
--flag=-bytestring-in-base
|
||||
}
|
@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/x11/x11-1.6.0.2-r1.ebuild,v 1.1 2013/02/09 19:07:22 slyfox Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
# ebuild generated by hackport 0.3.1
|
||||
|
||||
CABAL_FEATURES="lib profile haddock hoogle hscolour"
|
||||
inherit haskell-cabal
|
||||
|
||||
MY_PN="X11"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="A binding to the X11 graphics library"
|
||||
HOMEPAGE="https://github.com/haskell-pkg-janitors/X11"
|
||||
SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~sparc ~x86 ~amd64-linux ~ppc64 ~ppc-macos ~x86-linux"
|
||||
IUSE="xinerama"
|
||||
|
||||
RDEPEND="dev-haskell/syb[profile?]
|
||||
>=dev-lang/ghc-6.10.4:=
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
x11-libs/libXrandr
|
||||
xinerama? ( x11-libs/libXinerama )"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-haskell/cabal-1.2"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_configure() {
|
||||
cabal_src_configure --configure-option=$(use_with xinerama)
|
||||
}
|
@ -0,0 +1,249 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jdk/sun-jdk-1.6.0.39-r1.ebuild,v 1.1 2013/02/10 11:57:37 sera Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils java-vm-2 prefix versionator
|
||||
|
||||
# This URIs need to be updated when bumping!
|
||||
JDK_URI="http://www.oracle.com/technetwork/java/javase/downloads/jdk6downloads-1902814.html"
|
||||
JCE_URI="http://www.oracle.com/technetwork/java/javase/downloads/jce-6-download-429243.html"
|
||||
# This is a list of archs supported by this update. Currently ia64 comes and goes ...
|
||||
AT_AVAILABLE=( amd64 ia64 x86 x64-solaris x86-solaris sparc-solaris sparc64-solaris )
|
||||
# somtimes the demos are missing
|
||||
DEMOS_AVAILABLE=( amd64 ia64 x86 )
|
||||
|
||||
MY_PV="$(get_version_component_range 2)u$(get_version_component_range 4)"
|
||||
S_PV="$(replace_version_separator 3 '_')"
|
||||
|
||||
AT_x86="jdk-${MY_PV}-linux-i586.bin"
|
||||
AT_amd64="jdk-${MY_PV}-linux-x64.bin"
|
||||
AT_ia64="jdk-${MY_PV}-linux-ia64.bin"
|
||||
AT_x86_solaris="jdk-${MY_PV}-solaris-i586.sh"
|
||||
AT_x64_solaris="${AT_x86_solaris} jdk-${MY_PV}-solaris-x64.sh"
|
||||
AT_sparc_solaris="jdk-${MY_PV}-solaris-sparc.sh"
|
||||
AT_sparc64_solaris="${AT_sparc_solaris} jdk-${MY_PV}-solaris-sparcv9.sh"
|
||||
|
||||
DEMOS_x86="jdk-${MY_PV}-linux-i586-demos.tar.gz"
|
||||
DEMOS_amd64="jdk-${MY_PV}-linux-x64-demos.tar.gz"
|
||||
DEMOS_ia64="jdk-${MY_PV}-linux-ia64-demos.tar.gz"
|
||||
DEMOS_x86_solaris="jdk-${MY_PV}-solaris-i586-demos.tar.Z"
|
||||
DEMOS_x64_solaris="${DEMOS_x86_solaris} jdk-${MY_PV}-solaris-x64-demos.tar.Z"
|
||||
DEMOS_sparc_solaris="jdk-${MY_PV}-solaris-sparc-demos.tar.Z"
|
||||
DEMOS_sparc64_solaris="${DEMOS_sparc_solaris} jdk-${MY_PV}-solaris-sparcv9-demos.tar.Z"
|
||||
|
||||
JCE_FILE="jce_policy-6.zip"
|
||||
|
||||
DESCRIPTION="Oracle's Java SE Development Kit"
|
||||
HOMEPAGE="http://www.oracle.com/technetwork/java/javase/"
|
||||
for d in "${AT_AVAILABLE[@]}"; do
|
||||
SRC_URI+=" ${d}? ("
|
||||
SRC_URI+=" $(eval "echo \${$(echo AT_${d/-/_})}")"
|
||||
if has ${d} "${DEMOS_AVAILABLE[@]}"; then
|
||||
SRC_URI+=" examples? ( $(eval "echo \${$(echo DEMOS_${d/-/_})}") )"
|
||||
fi
|
||||
SRC_URI+=" )"
|
||||
done
|
||||
unset d
|
||||
SRC_URI+=" jce? ( ${JCE_FILE} )"
|
||||
|
||||
LICENSE="Oracle-BCLA-JavaSE examples? ( BSD )"
|
||||
SLOT="1.6"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="+X alsa derby doc examples jce kernel_SunOS nsplugin pax_kernel source"
|
||||
|
||||
RESTRICT="fetch strip"
|
||||
QA_PREBUILT="*"
|
||||
|
||||
RDEPEND="
|
||||
X? (
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
x11-libs/libXi
|
||||
x11-libs/libXt
|
||||
x11-libs/libXtst
|
||||
)
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
doc? ( dev-java/java-sdk-docs:1.6.0 )
|
||||
!prefix? ( sys-libs/glibc )"
|
||||
# scanelf won't create a PaX header, so depend on paxctl to avoid fallback
|
||||
# marking. #427642
|
||||
DEPEND="
|
||||
jce? ( app-arch/unzip )
|
||||
kernel_SunOS? ( app-arch/unzip )
|
||||
pax_kernel? ( sys-apps/paxctl )"
|
||||
|
||||
S="${WORKDIR}"/jdk${S_PV}
|
||||
|
||||
check_tarballs_available() {
|
||||
local uri=$1; shift
|
||||
local dl= unavailable=
|
||||
for dl in "${@}"; do
|
||||
[[ ! -f "${DISTDIR}/${dl}" ]] && unavailable+=" ${dl}"
|
||||
done
|
||||
|
||||
if [[ -n "${unavailable}" ]]; then
|
||||
if [[ -z ${_check_tarballs_available_once} ]]; then
|
||||
einfo
|
||||
einfo "Due to Oracle no longer providing the distro-friendly DLJ bundles, the package"
|
||||
einfo "has become fetch restricted again. Alternatives are switching to"
|
||||
einfo "dev-java/icedtea-bin:6 or the source-based dev-java/icedtea:6"
|
||||
einfo
|
||||
einfo "Oracle requires you to download the needed files manually after"
|
||||
einfo "accepting their license through a javascript capable web browser."
|
||||
einfo
|
||||
_check_tarballs_available_once=1
|
||||
fi
|
||||
einfo "Download the following files:"
|
||||
for dl in ${unavailable}; do
|
||||
einfo " ${dl}"
|
||||
done
|
||||
einfo "at '${uri}'"
|
||||
einfo "and move them to '${DISTDIR}'"
|
||||
einfo
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_nofetch() {
|
||||
local distfiles=( $(eval "echo \${$(echo AT_${ARCH/-/_})}") )
|
||||
if use examples && has ${ARCH} "${DEMOS_AVAILABLE[@]}"; then
|
||||
distfiles+=( $(eval "echo \${$(echo DEMOS_${ARCH/-/_})}") )
|
||||
fi
|
||||
check_tarballs_available "${JDK_URI}" "${distfiles[@]}"
|
||||
|
||||
use jce && check_tarballs_available "${JCE_URI}" "${JCE_FILE}"
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
AT=( $(eval "echo \${$(echo AT_${ARCH/-/_})}") )
|
||||
DEMOS=( $(eval "echo \${$(echo DEMOS_${ARCH/-/_})}") )
|
||||
|
||||
if use kernel_SunOS; then
|
||||
for i in ${AT}; do
|
||||
rm -f "${S}"/jre/{LICENSE,README} "${S}"/LICENSE
|
||||
# don't die on unzip, it always "fails"
|
||||
unzip "${DISTDIR}"/${i}
|
||||
done
|
||||
for f in $(find "${S}" -name "*.pack") ; do
|
||||
"${S}"/bin/unpack200 ${f} ${f%.pack}.jar
|
||||
rm ${f}
|
||||
done
|
||||
else
|
||||
sh "${DISTDIR}"/${AT} -noregister || die "Failed to unpack"
|
||||
fi
|
||||
|
||||
if has "${ARCH}" "${DEMOS_AVAILABLE[@]}" && use examples ; then
|
||||
unpack ${DEMOS}
|
||||
if use kernel_SunOS; then
|
||||
mv "${WORKDIR}"/SUNWj6dmo/reloc/jdk/instances/jdk1.6.0/{demo,sample} "${S}"/ || die
|
||||
fi
|
||||
fi
|
||||
|
||||
if use jce; then
|
||||
unpack ${JCE_FILE}
|
||||
mv jce "${S}"/jre/lib/security/unlimited-jce || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# This needs to be done before CDS - #215225
|
||||
java-vm_set-pax-markings "${S}"
|
||||
|
||||
# see bug #207282
|
||||
einfo "Creating the Class Data Sharing archives"
|
||||
if use x86; then
|
||||
bin/java -client -Xshare:dump || die
|
||||
fi
|
||||
# limit heap size for large memory on x86 #405239
|
||||
# this is a workaround and shouldn't be needed.
|
||||
bin/java -server -Xmx64m -Xshare:dump || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local dest="/opt/${P}"
|
||||
local ddest="${ED}${dest}"
|
||||
|
||||
# We should not need the ancient plugin for Firefox 2 anymore, plus it has
|
||||
# writable executable segments
|
||||
if use x86; then
|
||||
rm -vf {,jre/}lib/i386/libjavaplugin_oji.so \
|
||||
{,jre/}lib/i386/libjavaplugin_nscp*.so
|
||||
rm -vrf jre/plugin/i386
|
||||
fi
|
||||
# Without nsplugin flag, also remove the new plugin
|
||||
local arch=${ARCH};
|
||||
use x86 && arch=i386;
|
||||
if ! use nsplugin; then
|
||||
rm -vf {,jre/}lib/${arch}/libnpjp2.so \
|
||||
{,jre/}lib/${arch}/libjavaplugin_jni.so
|
||||
fi
|
||||
|
||||
dodoc COPYRIGHT
|
||||
dohtml README.html
|
||||
|
||||
dodir "${dest}"
|
||||
cp -pPR bin include jre lib man "${ddest}" || die
|
||||
|
||||
if use derby; then
|
||||
cp -pPR db "${ddest}" || die
|
||||
fi
|
||||
|
||||
if use examples && has ${ARCH} "${DEMOS_AVAILABLE[@]}"; then
|
||||
cp -pPR demo sample "${ddest}" || die
|
||||
fi
|
||||
|
||||
if use jce; then
|
||||
dodir "${dest}"/jre/lib/security/strong-jce
|
||||
mv "${ddest}"/jre/lib/security/US_export_policy.jar \
|
||||
"${ddest}"/jre/lib/security/strong-jce || die
|
||||
mv "${ddest}"/jre/lib/security/local_policy.jar \
|
||||
"${ddest}"/jre/lib/security/strong-jce || die
|
||||
dosym "${dest}"/jre/lib/security/unlimited-jce/US_export_policy.jar \
|
||||
"${dest}"/jre/lib/security/US_export_policy.jar
|
||||
dosym "${dest}"/jre/lib/security/unlimited-jce/local_policy.jar \
|
||||
"${dest}"/jre/lib/security/local_policy.jar
|
||||
fi
|
||||
|
||||
if use nsplugin; then
|
||||
install_mozilla_plugin "${dest}"/jre/lib/${arch}/libnpjp2.so
|
||||
fi
|
||||
|
||||
if use source; then
|
||||
cp src.zip "${ddest}" || die
|
||||
fi
|
||||
|
||||
# Install desktop file for the Java Control Panel.
|
||||
# Using ${PN}-${SLOT} to prevent file collision with jre and or other slots.
|
||||
# make_desktop_entry can't be used as ${P} would end up in filename.
|
||||
newicon jre/lib/desktop/icons/hicolor/48x48/apps/sun-jcontrol.png \
|
||||
sun-jcontrol-${PN}-${SLOT}.png || die
|
||||
sed -e "s#Name=.*#Name=Java Control Panel for Oracle JDK ${SLOT} (sun-jdk)#" \
|
||||
-e "s#Exec=.*#Exec=/opt/${P}/jre/bin/jcontrol#" \
|
||||
-e "s#Icon=.*#Icon=sun-jcontrol-${PN}-${SLOT}#" \
|
||||
-e "s#Application;##" \
|
||||
-e "/Encoding/d" \
|
||||
jre/lib/desktop/applications/sun_java.desktop \
|
||||
> "${T}"/jcontrol-${PN}-${SLOT}.desktop || die
|
||||
domenu "${T}"/jcontrol-${PN}-${SLOT}.desktop
|
||||
|
||||
# http://docs.oracle.com/javase/6/docs/technotes/guides/intl/fontconfig.html
|
||||
rm "${ddest}"/jre/lib/fontconfig.* || die
|
||||
cp "${FILESDIR}"/fontconfig.Gentoo.properties-r1 "${T}"/fontconfig.properties || die
|
||||
eprefixify "${T}"/fontconfig.properties
|
||||
insinto "${dest}"/jre/lib/
|
||||
doins "${T}"/fontconfig.properties
|
||||
|
||||
# Remove empty dirs we might have copied
|
||||
find "${D}" -type d -empty -exec rmdir -v {} + || die
|
||||
|
||||
set_java_env "${FILESDIR}/${VMHANDLE}.env-r1"
|
||||
java-vm_revdep-mask
|
||||
java-vm_sandbox-predict /dev/random
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
java-vm-2_pkg_postinst
|
||||
|
||||
elog "If you want Oracles JDK 7 'emerge oracle-jdk-bin' instead."
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue