parent
220bb63946
commit
6a54f864fc
@ -0,0 +1,6 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2 or later
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/spacenavd/files/99-space-navigator.rules,v 1.1 2012/02/09 03:46:36 sping Exp $
|
||||
|
||||
# Start daemon on insertion of a SpaceNavigator device
|
||||
SUBSYSTEM=="usb", ACTION=="add", ATTRS{manufacturer}=="3Dconnexion", ATTRS{product}=="Space Navigator", RUN+="/etc/init.d/spacenavd --quiet start"
|
@ -0,0 +1,22 @@
|
||||
don't force -static so we get both pic and non-pic objects
|
||||
|
||||
https://bugs.gentoo.org/342669
|
||||
|
||||
--- a/Makefile.in
|
||||
+++ b/Makefile.in
|
||||
@@ -117,12 +117,12 @@
|
||||
@SET_MAKE@
|
||||
|
||||
%.o: %.c
|
||||
- $(LIBTOOL) --tag=CC --mode=compile $(CC) -c $(CFLAGS) $< -o $@
|
||||
+ $(LIBTOOL) --tag=CC --mode=compile $(CC) -c $(CFLAGS) $< -o $@ -static
|
||||
%.o: %.cpp
|
||||
- $(LIBTOOL) --tag=CXX --mode=compile $(CXX) -c $(CFLAGS) $< -o $@
|
||||
+ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) -c $(CFLAGS) $< -o $@ -static
|
||||
|
||||
%: %.o
|
||||
- $(LIBTOOL) --tag=CC --mode=link $(CC) -o $@ -static \
|
||||
+ $(LIBTOOL) --tag=CC --mode=link $(CC) -o $@ \
|
||||
$^ $(OBJS) $(LDFLAGS) -lz ${LIBS}
|
||||
|
||||
include $(srcdir)/deps
|
@ -1,4 +1,6 @@
|
||||
DIST ghostscript-9.04.tar.bz2 29869900 RMD160 916bcacac247241fcf6ba02e90dc7e28040ba65e SHA1 df9c9e1924038da071d0ffbaddf42a75ecbc1e83 SHA256 f82c20b44ad3c204e2b78afbcd03a32dd523d26f5e18bf4508f3dfcbbfd30bc4
|
||||
DIST ghostscript-9.05.tar.bz2 28279634 RMD160 27935f60083b788b2793b19ee42f3663082ba084 SHA1 1a54a846e90ae95b5307f4f0459d044b9597d8cf SHA256 0f41212af3a5a552ab2302cd90606dc8245be34490a699726dc95ed3cd89ceac
|
||||
DIST ghostscript-gpl-9.04-patchset-3.tar.bz2 7760 RMD160 43a38afd1e8de506db70a58d0fa3168dba3c3a6e SHA1 03b27dad2e4cbec045f2264885bf366526e2db00 SHA256 b3c20adc111b8ddf3bc7d60a01fa1b31eadb9d6d9eb8ac474d9aa1604bd51b6f
|
||||
DIST ghostscript-gpl-9.04-patchset-4.tar.bz2 10850 RMD160 6e5b7bfd791c075bed15efa5255fbcf943d07837 SHA1 a0688d44141f5a3b174ebf4773f967c48919bbfe SHA256 7e0e89b7f87fc6b5f082a073115d36a7d5632ddbb91fa01d5beea15689800441
|
||||
DIST ghostscript-gpl-9.05-patchset-1.tar.bz2 4480 RMD160 bdaf9dbd59d0445a0ee6049c487ae872bda260fa SHA1 bf2cbe0668af57c5edd700650e861ad5579b8f0e SHA256 30e31b11e72a115ee2cd3d01f6a638bc808427bc9579e8c9e1f84b073a19fa9f
|
||||
DIST gsdjvu-1.5.tar.gz 207583 RMD160 010be2cd791d5e2814c1f6554150bfd7c34222c0 SHA1 c7d0677dae5fe644cf3d714c04b3c2c343906342 SHA256 d4f01d605ff086835005e79d5fcead2def8aafafc106e170dc5f2dc618593ab4
|
||||
|
@ -0,0 +1,220 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/ghostscript-gpl/ghostscript-gpl-9.05.ebuild,v 1.1 2012/02/09 01:47:54 tgurr Exp $
|
||||
|
||||
EAPI=3
|
||||
|
||||
inherit autotools eutils versionator flag-o-matic
|
||||
|
||||
DESCRIPTION="Ghostscript is an interpreter for the PostScript language and for PDF"
|
||||
HOMEPAGE="http://ghostscript.com/"
|
||||
|
||||
MY_P=${P/-gpl}
|
||||
GSDJVU_PV=1.5
|
||||
PVM=$(get_version_component_range 1-2)
|
||||
SRC_URI="
|
||||
mirror://sourceforge/ghostscript/${MY_P}.tar.bz2
|
||||
mirror://gentoo/${P}-patchset-1.tar.bz2
|
||||
!bindist? ( djvu? ( mirror://sourceforge/djvu/gsdjvu-${GSDJVU_PV}.tar.gz ) )"
|
||||
|
||||
LICENSE="GPL-3 CPL-1.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~mips ~ppc ~s390 ~sh ~x86 ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="bindist cups dbus djvu gtk idn jpeg2k static-libs X"
|
||||
|
||||
COMMON_DEPEND="
|
||||
app-text/libpaper
|
||||
media-libs/fontconfig
|
||||
>=media-libs/freetype-2.4.2:2
|
||||
media-libs/jbig2dec
|
||||
media-libs/lcms:2
|
||||
media-libs/libpng:0
|
||||
media-libs/tiff:0
|
||||
>=sys-libs/zlib-1.2.3
|
||||
virtual/jpeg
|
||||
!bindist? ( djvu? ( app-text/djvu ) )
|
||||
cups? ( >=net-print/cups-1.3.8 )
|
||||
dbus? ( sys-apps/dbus )
|
||||
gtk? ( x11-libs/gtk+:2 )
|
||||
idn? ( net-dns/libidn )
|
||||
jpeg2k? ( media-libs/jasper )
|
||||
X? ( x11-libs/libXt x11-libs/libXext )"
|
||||
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
dev-util/pkgconfig"
|
||||
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
>=app-text/poppler-data-0.4.4
|
||||
>=media-fonts/urw-fonts-2.4.9
|
||||
linguas_ja? ( media-fonts/kochi-substitute )
|
||||
linguas_ko? ( media-fonts/baekmuk-fonts )
|
||||
linguas_zh_CN? ( media-fonts/arphicfonts )
|
||||
linguas_zh_TW? ( media-fonts/arphicfonts )
|
||||
!!media-fonts/gnu-gs-fonts-std
|
||||
!!media-fonts/gnu-gs-fonts-other
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
LANGS="ja ko zh_CN zh_TW"
|
||||
for X in ${LANGS} ; do
|
||||
IUSE="${IUSE} linguas_${X}"
|
||||
done
|
||||
|
||||
pkg_setup() {
|
||||
if use bindist && use djvu; then
|
||||
ewarn "You have bindist in your USE, djvu support will NOT be compiled!"
|
||||
ewarn "See http://djvu.sourceforge.net/gsdjvu/COPYING for details on licensing issues."
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# remove internal copies of various libraries
|
||||
rm -rf "${S}"/expat
|
||||
rm -rf "${S}"/freetype
|
||||
rm -rf "${S}"/jasper
|
||||
rm -rf "${S}"/jbig2dec
|
||||
rm -rf "${S}"/jpeg
|
||||
rm -rf "${S}"/lcms{,2}
|
||||
rm -rf "${S}"/libpng
|
||||
rm -rf "${S}"/openjpeg
|
||||
rm -rf "${S}"/tiff
|
||||
rm -rf "${S}"/zlib
|
||||
# remove internal urw-fonts
|
||||
rm -rf "${S}"/Resource/Font
|
||||
# remove internal CMaps (CMaps from poppler-data are used instead)
|
||||
rm -rf "${S}"/Resource/CMap
|
||||
|
||||
# apply various patches, many borrowed from Fedora
|
||||
# http://pkgs.fedoraproject.org/gitweb/?p=ghostscript.git
|
||||
EPATCH_SUFFIX="patch" EPATCH_FORCE="yes"
|
||||
EPATCH_SOURCE="${WORKDIR}/patches/"
|
||||
epatch
|
||||
|
||||
if ! use bindist && use djvu ; then
|
||||
unpack gsdjvu-${GSDJVU_PV}.tar.gz
|
||||
cp gsdjvu-${GSDJVU_PV}/gsdjvu "${S}"
|
||||
cp gsdjvu-${GSDJVU_PV}/gdevdjvu.c "${S}/base"
|
||||
epatch "${WORKDIR}/patches-gsdjvu/gsdjvu-1.3-${PN}-8.64.patch"
|
||||
epatch "${WORKDIR}/patches-gsdjvu/gsdjvu-1.5-${PN}-9.05.patch"
|
||||
cp gsdjvu-${GSDJVU_PV}/ps2utf8.ps "${S}/lib"
|
||||
cp "${S}/base/contrib.mak" "${S}/base/contrib.mak.gsdjvu"
|
||||
grep -q djvusep "${S}/base/contrib.mak" || \
|
||||
cat gsdjvu-${GSDJVU_PV}/gsdjvu.mak >> "${S}/base/contrib.mak"
|
||||
|
||||
# install ps2utf8.ps, bug #197818
|
||||
sed -i -e '/$(EXTRA_INIT_FILES)/ a\ps2utf8.ps \\' "${S}/base/unixinst.mak" \
|
||||
|| die "sed failed"
|
||||
fi
|
||||
|
||||
if ! use gtk ; then
|
||||
sed -i "s:\$(GSSOX)::" base/*.mak || die "gsx sed failed"
|
||||
sed -i "s:.*\$(GSSOX_XENAME)$::" base/*.mak || die "gsxso sed failed"
|
||||
fi
|
||||
|
||||
# search path fix
|
||||
sed -i -e "s:\$\(gsdatadir\)/lib:/usr/share/ghostscript/${PVM}/$(get_libdir):" \
|
||||
-e "s:exdir=.*:exdir=/usr/share/doc/${PF}/examples:" \
|
||||
-e "s:docdir=.*:docdir=/usr/share/doc/${PF}/html:" \
|
||||
-e "s:GS_DOCDIR=.*:GS_DOCDIR=/usr/share/doc/${PF}/html:" \
|
||||
-e 's:-L$(BINDIR):$(LDFLAGS) &:g' \
|
||||
base/Makefile.in base/*.mak || die "sed failed"
|
||||
|
||||
cd "${S}"
|
||||
eautoreconf
|
||||
|
||||
cd "${S}/ijs"
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local FONTPATH
|
||||
for path in \
|
||||
/usr/share/fonts/urw-fonts \
|
||||
/usr/share/fonts/Type1 \
|
||||
/usr/share/fonts \
|
||||
/usr/share/poppler/cMap/Adobe-CNS1 \
|
||||
/usr/share/poppler/cMap/Adobe-GB1 \
|
||||
/usr/share/poppler/cMap/Adobe-Japan1 \
|
||||
/usr/share/poppler/cMap/Adobe-Japan2 \
|
||||
/usr/share/poppler/cMap/Adobe-Korea1
|
||||
do
|
||||
FONTPATH="$FONTPATH${FONTPATH:+:}$path"
|
||||
done
|
||||
|
||||
econf \
|
||||
--enable-dynamic \
|
||||
--enable-freetype \
|
||||
--enable-fontconfig \
|
||||
--disable-compile-inits \
|
||||
--disable-openjpeg \
|
||||
--with-drivers=ALL \
|
||||
--with-fontpath="$FONTPATH" \
|
||||
--with-ijs \
|
||||
--with-jbig2dec \
|
||||
--with-libpaper \
|
||||
--with-system-libtiff \
|
||||
--without-luratech \
|
||||
$(use_enable cups) \
|
||||
$(use_enable dbus) \
|
||||
$(use_enable gtk) \
|
||||
$(use_with cups install-cups) \
|
||||
$(use_with cups pdftoraster) \
|
||||
$(use_with idn libidn) \
|
||||
$(use_with jpeg2k jasper) \
|
||||
$(use_with X x)
|
||||
|
||||
if ! use bindist && use djvu ; then
|
||||
sed -i -e 's!$(DD)bbox.dev!& $(DD)djvumask.dev $(DD)djvusep.dev!g' Makefile
|
||||
fi
|
||||
|
||||
cd "${S}/ijs"
|
||||
econf \
|
||||
--enable-shared \
|
||||
$(use_enable static-libs static)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -j1 so all || die "emake failed"
|
||||
|
||||
cd "${S}/ijs"
|
||||
emake || die "ijs emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# workaround: -j1 -> see bug #356303
|
||||
emake -j1 DESTDIR="${D}" install-so install || die "emake install failed"
|
||||
|
||||
# workaround: some printer drivers still require pstoraster, bug #383831
|
||||
use cups && dosym /usr/libexec/cups/filter/gstoraster /usr/libexec/cups/filter/pstoraster
|
||||
# workaround: do the same for pstopxl as of gs 9.05
|
||||
use cups && dosym /usr/libexec/cups/filter/gstopxl /usr/libexec/cups/filter/pstopxl
|
||||
|
||||
if ! use bindist && use djvu ; then
|
||||
dobin gsdjvu || die "dobin gsdjvu install failed"
|
||||
fi
|
||||
|
||||
# remove gsc in favor of gambit, bug #253064
|
||||
rm -rf "${D}/usr/bin/gsc"
|
||||
|
||||
rm -rf "${D}/usr/share/doc/${PF}/html/"{README,PUBLIC}
|
||||
dodoc doc/GS9_Color_Management.pdf || die "dodoc install failed"
|
||||
|
||||
cd "${S}/ijs"
|
||||
emake DESTDIR="${D}" install || die "emake ijs install failed"
|
||||
|
||||
# rename the original cidfmap to cidfmap.GS
|
||||
mv "${D}/usr/share/ghostscript/${PVM}/Resource/Init/cidfmap"{,.GS} || die
|
||||
|
||||
# install our own cidfmap to handle CJK fonts
|
||||
insinto "/usr/share/ghostscript/${PVM}/Resource/Init"
|
||||
doins "${WORKDIR}/fontmaps/CIDFnmap" || die "doins CIDFnmap failed"
|
||||
doins "${WORKDIR}/fontmaps/cidfmap" || die "doins cidfmap failed"
|
||||
for X in ${LANGS} ; do
|
||||
if use linguas_${X} ; then
|
||||
doins "${WORKDIR}/fontmaps/cidfmap.${X}" || die "doins cidfmap.${X} failed"
|
||||
fi
|
||||
done
|
||||
|
||||
use static-libs || find "${D}" -name '*.la' -delete
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST jgoodies-common-1_2_1.zip 271803 RMD160 6093746fb16393caa242db06258cdd830dc44359 SHA1 5a4cf9866a7339e64e52f46101b5b13fe50b9c80 SHA256 0fe2ede31e70a633c2a157b99594701e4206c4207f7a3f6e97b15121cac32dfb
|
@ -0,0 +1,46 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/jgoodies-common/jgoodies-common-1.2.1.ebuild,v 1.1 2012/02/08 22:05:28 serkan Exp $
|
||||
|
||||
EAPI=2
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-ant-2 eutils
|
||||
|
||||
MY_PN="common"
|
||||
MY_PV=${PV//./_}
|
||||
MY_P="${PN}-${MY_PV}"
|
||||
DESCRIPTION="JGoodies Common Library"
|
||||
HOMEPAGE="http://www.jgoodies.com/"
|
||||
SRC_URI="http://www.jgoodies.com/download/libraries/${MY_PN}/${MY_P}.zip"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=virtual/jdk-1.5
|
||||
app-arch/unzip"
|
||||
RDEPEND=">=virtual/jre-1.5"
|
||||
|
||||
java_prepare() {
|
||||
# Remove the packaged jars
|
||||
find . -name "*.jar" -delete || die "rm failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# it does not like unset ${build.compiler.executable}
|
||||
# feel free to fix if you want jikes back
|
||||
java-pkg_filter-compiler jikes
|
||||
# not setting the bootcp breaks ecj, javac apparently ignores nonsense
|
||||
eant -Dbuild.boot.classpath="$(java-config -g BOOTCLASSPATH)" jar
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar build/${PN}.jar
|
||||
|
||||
dodoc RELEASE-NOTES.txt README.html || die
|
||||
|
||||
use doc && java-pkg_dohtml -r docs/*
|
||||
use source && java-pkg_dosrc src/core/com
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>java</herd>
|
||||
</pkgmetadata>
|
||||
|
@ -1,2 +1,2 @@
|
||||
DIST e_dbus-1.0.0.tar.bz2 383910 RMD160 490e9c6eb0ad1197479ba50f37147eadf73cc102 SHA1 4dcb47a997b7bb8c3b56cb67e42661a40efeb93d SHA256 014d3a32c7867699d080eaefd390cc22ef2a0303668c7eeaac9b4a3115a17554
|
||||
DIST e_dbus-1.0.1.tar.bz2 357609 RMD160 dac53b5d2884d7e755dec13706acd87232100bc7 SHA1 7014656ad05a0f0e44f266776851f151f4662867 SHA256 744bc4b9eba04e864f1748e0716a4d4260e45cb5f57a19b3aa549bc8b1ab1df5
|
||||
DIST e_dbus-1.1.0.tar.bz2 404269 RMD160 6e2390a3432a09ff07e6fe6080b2a7fd83dce7e9 SHA1 470ff956279fe8e26f86df5dff14d649e533550b SHA256 e3f229ca3f597ab01c89968f6d6e040e977299be19558160a978b9b5377dcb10
|
||||
|
@ -1,2 +1,2 @@
|
||||
DIST ecore-1.0.0.tar.bz2 927027 RMD160 877433890bf5401c8cea747bf0347303e698c78e SHA1 a4dcf238ee6c69bb7c007ce4203e61abe14ef528 SHA256 6f505ce32b9f62e1fc2f53d87cf3c4c3ce7d0ebb4919f668646c350541375e22
|
||||
DIST ecore-1.0.1.tar.bz2 903399 RMD160 b7d98f0d270117971bc32d048f3ab9f2d214dc15 SHA1 6ba1af3dc4d4016b1db68df66cab992e2fa57208 SHA256 66d6c08fa2690b7fe0dc11fedfd08c442d8e1b9a5ea16724053c0f7dd625f366
|
||||
DIST ecore-1.1.0.tar.bz2 3217298 RMD160 901c470198149edfa87519eaaeaf4a602c8f0ce7 SHA1 94c9c871d07cbd633fa431605c8053551b103007 SHA256 c701a31941e178babad577ede886a98cf472352e5a73ee4717c0ffdc980152cc
|
||||
|
@ -1,2 +1,2 @@
|
||||
DIST eet-1.4.0.tar.bz2 487871 RMD160 cc504c82f22549bd4ee65eb261d6dc3fe58bc2a2 SHA1 4cbc1a035fa9e1ae2e2ba78e81b1d9e9e6503465 SHA256 0ba6f60a6aef9249de7bbad36fb7a9ac7830ef70920ad11d35d87ba19423e5bf
|
||||
DIST eet-1.4.1.tar.bz2 476077 RMD160 d96888ded476f746d4c4ce22dd7e4055b6d33f6f SHA1 907502b931d69c3681160a41b0d3b18d148f9879 SHA256 395853714895e9e57c4b0e76ae5903e7b31597a598b70a8e3063681d96c79ca5
|
||||
DIST eet-1.5.0.tar.bz2 518901 RMD160 85febf450bacea32a280abd9937b321fbd223108 SHA1 7c4156ab5459f58ca1db6b87f3640b7243ca238b SHA256 3a69e4a1b91b3b3d768b2c191624f80511546703dac932088875ca5a590a5d39
|
||||
|
@ -1 +1,2 @@
|
||||
DIST eeze-1.0.2.tar.bz2 512701 RMD160 3232dbd13012db04cec4a1f9fe0a4f88fce17e22 SHA1 93e61472a021c16a8853c5cfb50a839107406631 SHA256 a4b313e56e97083392cb13442e8cef26fba809feb94c1a837c839274253a8ba2
|
||||
DIST eeze-1.1.0.tar.bz2 524087 RMD160 2da4676a3f4a1d9ed4634debade5294dc7dd0436 SHA1 04c3f73249947dc46ba8a6a52d838c92ad84db92 SHA256 3b55a635e041b2eb70d683e41825afd87c31b83489c56030f0a3fd082c83cdbf
|
||||
|
@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/eeze/eeze-1.1.0.ebuild,v 1.1 2012/02/08 21:24:37 tommy Exp $
|
||||
|
||||
inherit enlightenment
|
||||
|
||||
DESCRIPTION="library to simplify the use of devices"
|
||||
HOMEPAGE="http://trac.enlightenment.org/e/wiki/Eeze"
|
||||
SRC_URI="http://download.enlightenment.org/releases/${P}.tar.bz2"
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="static-libs utilities"
|
||||
|
||||
DEPEND=">=dev-libs/ecore-1.0.0_beta"
|
||||
RDEPEND=${DEPEND}
|
||||
|
||||
src_configure() {
|
||||
MY_ECONF="
|
||||
$(use_enable utilities eeze-disk-ls)
|
||||
$(use_enable utilities eeze-mount)
|
||||
$(use_enable utilities eeze-umount)
|
||||
$(use_enable utilities eeze-udev-test)
|
||||
"
|
||||
|
||||
enlightenment_src_configure
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST efreet-1.0.0.tar.bz2 367971 RMD160 6b1edcce70056cde400fa7115dd6d19be10c776b SHA1 d24de843db1d23ca4d6dbbd72a7cf0539fa68718 SHA256 0a7d0e5b2bfbf8bdd2a885a6f732aa587e60b41be2f4e8cc15460c43825346b8
|
||||
DIST efreet-1.0.1.tar.bz2 354760 RMD160 721b9c0eac3b548faed75b327c06e0c6ba72ad77 SHA1 c0cb8a8efaabb0f28f1851ce97326d3feee23364 SHA256 90e5c7c0183865ecc96d4593991d677a50f759becb03979fd5941feed7be7b17
|
||||
DIST efreet-1.1.0.tar.bz2 388933 RMD160 c49e81628fbd9c531cc0b6d01e220f8d66f1ccf4 SHA1 91c0558c80281ec64ece9deb260fa1c435b41b18 SHA256 8ea03762b746253a7f43fe77d1b2e80ec021316cc7c38c1e12d93b985593d4cd
|
||||
|
@ -1,2 +1,2 @@
|
||||
DIST eina-1.0.0.tar.bz2 625589 RMD160 44f15c1b95a88167389c17285a6b793513dae419 SHA1 324ef1c5246c80ff0b68c10ce9659ee687a45a23 SHA256 deda5c81a0b9745ee9e1af08a0aef56c83c03c66b8875fd1a436615c6d7ffd96
|
||||
DIST eina-1.0.1.tar.bz2 602689 RMD160 f3ae9e7b7601e2fe2a92dbf2b98506708dd59fef SHA1 3f7c3ef847bf9a8351d3ed89d918b2f3ecfeafe4 SHA256 6afe2d0e002a0c734dc6061fe2b70d9ebab2cf55c86732aa36783eed8e9accaf
|
||||
DIST eina-1.1.0.tar.bz2 9983287 RMD160 14a565f6084a9cd1dcd1cff7327016a77d4aeeae SHA1 49e21e455a6a9fb52b1956527ee68de474f43ae4 SHA256 0c509c8dcef08945d0932ee5ba76e99eb6b5c3035a1b63ff0ce73e21630193c0
|
||||
|
@ -0,0 +1,96 @@
|
||||
// Copyright (c) 2011 Google, Inc.
|
||||
//
|
||||
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
// of this software and associated documentation files (the "Software"), to deal
|
||||
// in the Software without restriction, including without limitation the rights
|
||||
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
// copies of the Software, and to permit persons to whom the Software is
|
||||
// furnished to do so, subject to the following conditions:
|
||||
//
|
||||
// The above copyright notice and this permission notice shall be included in
|
||||
// all copies or substantial portions of the Software.
|
||||
//
|
||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
// THE SOFTWARE.
|
||||
//
|
||||
// CityHash Version 1, by Geoff Pike and Jyrki Alakuijala
|
||||
//
|
||||
// This file provides a few functions for hashing strings. On x86-64
|
||||
// hardware in 2011, CityHash64() is faster than other high-quality
|
||||
// hash functions, such as Murmur. This is largely due to higher
|
||||
// instruction-level parallelism. CityHash64() and CityHash128() also perform
|
||||
// well on hash-quality tests.
|
||||
//
|
||||
// CityHash128() is optimized for relatively long strings and returns
|
||||
// a 128-bit hash. For strings more than about 2000 bytes it can be
|
||||
// faster than CityHash64().
|
||||
//
|
||||
// Functions in the CityHash family are not suitable for cryptography.
|
||||
//
|
||||
// WARNING: This code has not been tested on big-endian platforms!
|
||||
// It is known to work well on little-endian platforms that have a small penalty
|
||||
// for unaligned reads, such as current Intel and AMD moderate-to-high-end CPUs.
|
||||
//
|
||||
// By the way, for some hash functions, given strings a and b, the hash
|
||||
// of a+b is easily derived from the hashes of a and b. This property
|
||||
// doesn't hold for any hash functions in this file.
|
||||
|
||||
#ifndef CITY_HASH_H_
|
||||
#define CITY_HASH_H_
|
||||
|
||||
#include <stdlib.h> // for size_t.
|
||||
#include <stdint.h>
|
||||
#include <utility>
|
||||
|
||||
typedef uint8_t uint8;
|
||||
typedef uint32_t uint32;
|
||||
typedef uint64_t uint64;
|
||||
typedef std::pair<uint64, uint64> uint128;
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
inline uint64 Uint128Low64(const uint128& x) { return x.first; }
|
||||
inline uint64 Uint128High64(const uint128& x) { return x.second; }
|
||||
|
||||
// Hash function for a byte array.
|
||||
uint64 CityHash64(const char *buf, size_t len);
|
||||
// Hash function for a byte array. For convenience, a 64-bit seed is also
|
||||
// hashed into the result.
|
||||
uint64 CityHash64WithSeed(const char *buf, size_t len, uint64 seed);
|
||||
|
||||
// Hash function for a byte array. For convenience, two seeds are also
|
||||
// hashed into the result.
|
||||
uint64 CityHash64WithSeeds(const char *buf, size_t len,
|
||||
uint64 seed0, uint64 seed1);
|
||||
|
||||
// Hash function for a byte array.
|
||||
uint128 CityHash128(const char *s, size_t len);
|
||||
|
||||
// Hash function for a byte array. For convenience, a 128-bit seed is also
|
||||
// hashed into the result.
|
||||
uint128 CityHash128WithSeed(const char *s, size_t len, uint128 seed);
|
||||
|
||||
// Hash 128 input bits down to 64 bits of output.
|
||||
// This is intended to be a reasonably good hash function.
|
||||
inline uint64 Hash128to64(const uint128& x) {
|
||||
// Murmur-inspired hashing.
|
||||
const uint64 kMul = 0x9ddfea08eb382d69ULL;
|
||||
uint64 a = (Uint128Low64(x) ^ Uint128High64(x)) * kMul;
|
||||
a ^= (a >> 47);
|
||||
uint64 b = (Uint128High64(x) ^ a) * kMul;
|
||||
b ^= (b >> 47);
|
||||
b *= kMul;
|
||||
return b;
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif // CITY_HASH_H_
|
@ -1 +1,2 @@
|
||||
DIST embryo-1.0.0.tar.bz2 425951 RMD160 a25089290f0cc3394b9e351710932f9a118d7cf4 SHA1 a03304f7e3f61978de98c734744478cdb361ad70 SHA256 d4363689fb39436386c35704f916adfc5e84dc8da1b832499010c1d5bf56ef5e
|
||||
DIST embryo-1.1.0.tar.bz2 443457 RMD160 ac8ec525b05e0875ea97f7dd655bd008e35f88b0 SHA1 02f5c2b882c973a539ed28094609264c4b6e9d9b SHA256 a95fa6ac4ec4c98c9a237214d2c4bde561dbe1daefaa2ed5e9c2944c2c8e9e5b
|
||||
|
@ -0,0 +1,14 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/embryo/embryo-1.1.0.ebuild,v 1.1 2012/02/08 21:06:39 tommy Exp $
|
||||
|
||||
inherit enlightenment
|
||||
|
||||
DESCRIPTION="load and control programs compiled in embryo language (small/pawn variant)"
|
||||
SRC_URI="http://download.enlightenment.org/releases/${P}.tar.bz2"
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="static-libs"
|
||||
|
||||
DEPEND=">=dev-libs/eina-1.0.0_beta"
|
||||
RDEPEND=${DEPEND}
|
@ -1,11 +1,11 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-Net_DNS/PEAR-Net_DNS-1.0.7.ebuild,v 1.3 2012/02/01 10:56:44 ssuominen Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-Net_DNS/PEAR-Net_DNS-1.0.7.ebuild,v 1.4 2012/02/09 01:24:05 jer Exp $
|
||||
|
||||
inherit php-pear-r1
|
||||
|
||||
DESCRIPTION="Resolver library used to communicate with a DNS server."
|
||||
LICENSE="PHP-3.01 || ( LGPL-2.1 LGPL-3 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~hppa ~ia64 ppc ppc64 ~sparc ~x86"
|
||||
KEYWORDS="~alpha amd64 hppa ~ia64 ppc ppc64 ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
@ -1,11 +1,11 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-Net_SmartIRC/PEAR-Net_SmartIRC-1.0.1.ebuild,v 1.2 2012/02/03 16:51:29 ago Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-Net_SmartIRC/PEAR-Net_SmartIRC-1.0.1.ebuild,v 1.3 2012/02/08 20:02:22 jer Exp $
|
||||
|
||||
inherit php-pear-r1
|
||||
|
||||
DESCRIPTION="Net_SmartIRC is a PHP class for communication with IRC networks"
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
KEYWORDS="~alpha amd64 hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
@ -0,0 +1,58 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-vcs/git-annex/git-annex-3.20111203-r1.ebuild,v 1.1 2012/02/09 05:48:59 robbat2 Exp $
|
||||
|
||||
# ebuild generated by hackport 0.2.13
|
||||
|
||||
EAPI="3"
|
||||
|
||||
CABAL_FEATURES="bin"
|
||||
inherit haskell-cabal
|
||||
|
||||
DESCRIPTION="manage files with git, without checking their contents into git"
|
||||
HOMEPAGE="http://git-annex.branchable.com/"
|
||||
SRC_URI="http://hackage.haskell.org/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND=">=dev-vcs/git-1.7.7" # TODO: add more deps?
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-haskell/cabal-1.6
|
||||
dev-haskell/dataenc
|
||||
dev-haskell/hs3
|
||||
dev-haskell/hslogger
|
||||
dev-haskell/http
|
||||
dev-haskell/json
|
||||
dev-haskell/missingh
|
||||
dev-haskell/monad-control
|
||||
>=dev-haskell/mtl-2
|
||||
dev-haskell/network
|
||||
dev-haskell/pcre-light
|
||||
dev-haskell/sha
|
||||
dev-haskell/time
|
||||
dev-haskell/utf8-string
|
||||
>=dev-lang/ghc-6.10.1
|
||||
dev-lang/perl
|
||||
doc? ( www-apps/ikiwiki net-misc/rsync )"
|
||||
# dev-lang/perl is to build the manpages
|
||||
# www-apps/ikiwiki and net-misc/rsync used to build the rest of the docs
|
||||
|
||||
src_prepare() {
|
||||
echo 'mans: $(mans)' >>"${S}"/Makefile
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
haskell-cabal_src_compile
|
||||
use doc && emake docs
|
||||
emake mans
|
||||
}
|
||||
|
||||
src_install() {
|
||||
#haskell-cabal_src_install
|
||||
emake install DESTDIR="${D}"
|
||||
mv "${D}"/usr/share/doc/{${PN},${PF}}
|
||||
dodoc CHANGELOG README
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue