parent
46e74494e3
commit
011aa453e9
@ -1,2 +1 @@
|
||||
DIST qxmledit-0.8.0-src.tgz 9781643 RMD160 5a5a1ed2195fcc1804859383c245a3d53fe6df3f SHA1 5b8c7b0d300bcb6c90743059c107b39d011e311a SHA256 a445eb056a7a2e6763fcb8e8df669ca57f893383cb9e77adbc90fb76938e5b88
|
||||
DIST qxmledit-0.8.1-src.tgz 5439012 RMD160 fbe8830b115b9cd74d1d4a4d0268fdf79ac308b0 SHA1 e2226b7e5799f6196d9d14ba6de89a9d23c0e904 SHA256 0a9f526e1762f1b2c51821c3d2c543c9191bee7ec841219bd31108ea61c61d9a
|
||||
|
@ -1,53 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/qxmledit/qxmledit-0.8.0-r1.ebuild,v 1.3 2012/04/18 21:58:58 jdhore Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit multilib eutils qt4-r2
|
||||
|
||||
MY_P="qxmledit-${PV}-src"
|
||||
|
||||
DESCRIPTION="Qt4 XML Editor"
|
||||
HOMEPAGE="http://code.google.com/p/qxmledit/"
|
||||
SRC_URI="http://${PN}.googlecode.com/files/${MY_P}.tgz"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="debug"
|
||||
|
||||
DEPEND=">=x11-libs/qt-core-4.7:4
|
||||
>=x11-libs/qt-gui-4.7:4
|
||||
>=x11-libs/qt-sql-4.7:4
|
||||
>=x11-libs/qt-svg-4.7:4
|
||||
>=x11-libs/qt-xmlpatterns-4.7:4"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS="AUTHORS NEWS README ROADMAP TODO"
|
||||
|
||||
src_prepare() {
|
||||
# fix doc dir
|
||||
sed -i "/^INST_DOC_DIR/ s|/opt/${PN}|/usr/share/doc/${PF}|" src/QXmlEdit.pro || \
|
||||
die "failed to fix doc installation path"
|
||||
# fix binary installation path
|
||||
sed -i "/^INST_DIR/ s|/opt/${PN}|/usr/bin|" src/QXmlEdit.pro || \
|
||||
die "failed to fix binary installation path"
|
||||
# fix helper libraries installation path
|
||||
sed -i "/^INST_DIR/ s|/opt/${PN}|/usr/$(get_libdir)|" \
|
||||
src/QXmlEditWidget.pro \
|
||||
src/sessions/QXmlEditSessions.pro || \
|
||||
die "failed to fix library installation path"
|
||||
# fix translations
|
||||
sed -i "/^INST_DATA_DIR/ s|/opt|/usr/share|" src/QXmlEdit{,Widget}.pro || \
|
||||
die "failed to fix translations"
|
||||
|
||||
qt4-r2_src_prepare
|
||||
}
|
||||
|
||||
src_install() {
|
||||
qt4-r2_src_install
|
||||
|
||||
newicon src/images/icon.png ${PN}.png
|
||||
make_desktop_entry QXmlEdit QXmlEdit ${PN} "Qt;Utility;TextEditor"
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST calibre-0.8.48.tar.xz 24487952 RMD160 a028dd20429316ce903a730d809e5aaa85e1c92c SHA1 9d70769ad0fe2352e7b57a497c93358a5c92f21b SHA256 82d458bc253cdfab0d9529d04b10912c7e81fdea484ace36752b66629ad15244
|
||||
DIST calibre-0.8.51.tar.xz 24614676 RMD160 c02cc1d0f7326234197aafb257b5890947836d52 SHA1 f98568f5c7717a973c429c35dcc71b7e7f15077f SHA256 e1138263e720d22a0544f498cf60309f13c913cda2f461d0e5d75d9c26602cbf
|
||||
DIST calibre-0.8.52.tar.xz 24690364 RMD160 3041d07f0c9b8a67fc0457550968814be4d826e9 SHA1 7ec70aa251f90991be876cac9ea731ddd619b4da SHA256 29eebc8c82dd2cacc70e3fb5bc309020348028752a23765d8956769b79deaf2a
|
||||
DIST calibre-0.8.53.tar.xz 24703236 RMD160 1c785efada730f7996f5fd561f0cb0967c4236b1 SHA1 6f374e4c3f985768e6b0c7d42bf0652046e393f4 SHA256 3f9b2c530c240c07a7d5d83479f78df588334d705f4c98b0535a04f5cdac544c
|
||||
|
@ -1 +1 @@
|
||||
DIST python-mode-0.6.3.zip 552707 RMD160 2f4c94fd82ecf44eafd705e1238c98fa793b0592 SHA1 83e7c230821b7e811475ab161a36da325ce74c62 SHA256 d3b9ba724ac1cdb39d004d06369456eb0bd6f54000e67440e56a7c9dc346bef0
|
||||
DIST python-mode-0.6.4.tar.gz 422058 RMD160 34f5d8104e29d89361e3e54c8755fe8ecced4108 SHA1 3b8a493d3c2214ac5ca683af325f2eb08c21edcf SHA256 a941e91748dc303d199e699699973063ce1a996941772c999fe9be7e904d947c
|
||||
|
@ -0,0 +1 @@
|
||||
DIST datadraw3.1.1.tar.gz 607914 RMD160 03d4ea06ad47d545f1182b1d268a1860e0304d27 SHA1 571c01418556dab427ba95f7c5e7a23a0acb24d1 SHA256 11186bbf37f9b5bb11d7a21bc5ce6c45496b24dfa62a064d57d3ad414f4a9c04
|
@ -0,0 +1,51 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/datadraw/datadraw-3.1.1.ebuild,v 1.2 2012/05/25 15:45:07 mr_bones_ Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit multilib toolchain-funcs
|
||||
|
||||
DESCRIPTION="feature rich database generator for high performance C applications"
|
||||
HOMEPAGE="http://datadraw.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${PN}/${PN}${PV}/${PN}${PV}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc examples"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
S=${WORKDIR}/${PN}${PV}
|
||||
|
||||
src_prepare() {
|
||||
tc-export CC
|
||||
sed -e "/^CFLAGS=/s:-g -Wall:${CFLAGS}:" \
|
||||
-i configure \
|
||||
-i dataview/configure \
|
||||
-i util/configure || die
|
||||
|
||||
sed -e '/^datadraw:/,+2s:\\$(CFLAGS):\\$(CFLAGS) \\$(LDFLAGS):' \
|
||||
-i configure || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ${PN}
|
||||
|
||||
insinto /usr/$(get_libdir)
|
||||
for lib in util/*.a ; do
|
||||
newins ${lib} lib$(basename ${lib})
|
||||
done
|
||||
insinto /usr/include
|
||||
|
||||
doins util/*.h
|
||||
|
||||
dodoc README
|
||||
if use doc ; then
|
||||
dodoc manual.pdf
|
||||
dohtml -r www/index.html www/images
|
||||
fi
|
||||
use examples && dodoc -r examples
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>sci-electronics</herd>
|
||||
<maintainer>
|
||||
<email>xmw@gentoo.org</email>
|
||||
<name>Michael Weber</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="sourceforge">datadraw</remote-id>
|
||||
</upstream>
|
||||
<longdescription lang="en">
|
||||
DataDraw is a feature rich database generator for high performance C applications. DataDraw gives your C application a high performance object-oriented framework at speeds that beat hand coded C.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1 @@
|
||||
DIST spatialite-tools-3.1.0.tar.gz 439019 RMD160 b3a0e8a1f348de91880b289e3e867c1120d5a507 SHA1 fe7937c79f8113bcf8b2beb20d0206856072b29c SHA256 7e12a3b23ad5163257b7c8585091ead1046e8d5b56ac3130de42490693b5e160
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>sci-geosciences</herd>
|
||||
</pkgmetadata>
|
@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/spatialite-tools/spatialite-tools-3.1.0.ebuild,v 1.1 2012/05/25 17:45:05 scarabeus Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit multilib
|
||||
|
||||
DESCRIPTION="A complete Spatial DBMS in a nutshell built upon sqlite"
|
||||
HOMEPAGE="http://www.gaia-gis.it/spatialite"
|
||||
SRC_URI="http://www.gaia-gis.it/gaia-sins/${PN}-sources/${P}.tar.gz"
|
||||
|
||||
LICENSE="MPL-1.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="readline"
|
||||
|
||||
RDEPEND=">=dev-db/spatialite-3.0.1[geos,xls]
|
||||
dev-libs/expat
|
||||
>=sci-libs/geos-3.3
|
||||
sci-libs/proj
|
||||
sci-geosciences/readosm
|
||||
readline? (
|
||||
sys-libs/ncurses
|
||||
sys-libs/readline
|
||||
)
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable readline)
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST libspatialite-2.4.0.tar.gz 865036 RMD160 73100bc930265b5ae9cb8b7cb0c451fa2c3745a2 SHA1 d6c60d428142ec765e5894a6cc86284b4306f12d SHA256 a9c2a3d9277a6fed13561cf2c1580fef701cfd55336f34eea3f3d46389f7f2c2
|
||||
DIST libspatialite-3.0.1.tar.gz 1849723 RMD160 1c2e1082f69671ac66b9b6e96ffc2ba7f99555a4 SHA1 a88c763302aabc3b74d44a88f969c8475f0c0d10 SHA256 4983d6584069fd5ff0cfcccccee1015088dab2db177c0dc7050ce8306b68f8e6
|
||||
|
@ -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-db/spatialite/spatialite-3.0.1.ebuild,v 1.3 2012/05/25 18:51:37 scarabeus Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MY_PN="lib${PN}"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
inherit multilib
|
||||
|
||||
DESCRIPTION="A complete Spatial DBMS in a nutshell built upon sqlite"
|
||||
HOMEPAGE="http://www.gaia-gis.it/gaia-sins/"
|
||||
SRC_URI="http://www.gaia-gis.it/gaia-sins/${MY_PN}-sources/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="MPL-1.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
IUSE="+geos iconv +proj +xls"
|
||||
|
||||
RDEPEND=">=dev-db/sqlite-3.7.5:3[extensions]
|
||||
geos? ( >=sci-libs/geos-3.3 )
|
||||
proj? ( sci-libs/proj )
|
||||
xls? ( dev-libs/freexl )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--disable-static \
|
||||
--enable-geocallbacks \
|
||||
--enable-epsg \
|
||||
$(use_enable geos) \
|
||||
$(use_enable geos geosadvanced) \
|
||||
$(use_enable iconv) \
|
||||
$(use_enable proj) \
|
||||
$(use_enable xls freexl)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
find "${ED}" -name '*.la' -exec rm -f {} +
|
||||
}
|
@ -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-embedded/avrdude/avrdude-5.10.ebuild,v 1.2 2012/04/03 03:12:04 vapier Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="AVR Downloader/UploaDEr"
|
||||
HOMEPAGE="http://savannah.nongnu.org/projects/avrdude"
|
||||
SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz
|
||||
doc? (
|
||||
mirror://nongnu/${PN}/${PN}-doc-${PV}.tar.gz
|
||||
mirror://nongnu/${PN}/${PN}-doc-${PV}.pdf
|
||||
)"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~arm ~amd64 ~ppc ~ppc64 ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND="virtual/libusb:0"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
# let the build system re-generate these, bug #120194
|
||||
rm -f lexer.c config_gram.c config_gram.h
|
||||
|
||||
epatch "${FILESDIR}/${P}-jtagmkII-debugWire.patch"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# The automake target for these files does not use tempfiles or create these
|
||||
# atomically, confusing a parallel build. So we force them first.
|
||||
emake lexer.c config_gram.c config_gram.h || die "emake of lexer failed"
|
||||
emake || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
|
||||
dodoc AUTHORS ChangeLog* NEWS README || die "dodoc failed"
|
||||
|
||||
if use doc ; then
|
||||
newdoc "${DISTDIR}/${PN}-doc-${PV}.pdf" avrdude.pdf || \
|
||||
die "newdoc failed"
|
||||
dohtml -r "${WORKDIR}/avrdude-html/" || die "dohtml failed"
|
||||
fi
|
||||
}
|
@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-embedded/avrdude/avrdude-5.11.ebuild,v 1.2 2012/04/03 03:12:04 vapier Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
DESCRIPTION="AVR Downloader/UploaDEr"
|
||||
HOMEPAGE="http://savannah.nongnu.org/projects/avrdude"
|
||||
SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz
|
||||
doc? (
|
||||
mirror://nongnu/${PN}/${PN}-doc-${PV}.tar.gz
|
||||
mirror://nongnu/${PN}/${PN}-doc-${PV}.pdf
|
||||
)"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~arm ~amd64 ~ppc ~ppc64 ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND="virtual/libusb"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
DOCS="AUTHORS ChangeLog* NEWS README"
|
||||
|
||||
src_prepare() {
|
||||
# let the build system re-generate these, bug #120194
|
||||
rm -f lexer.c config_gram.c config_gram.h
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# The automake target for these files does not use tempfiles or create
|
||||
# these atomically, confusing a parallel build. So we force them first.
|
||||
emake lexer.c config_gram.c config_gram.h
|
||||
emake
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
if use doc ; then
|
||||
newdoc "${DISTDIR}/${PN}-doc-${PV}.pdf" avrdude.pdf
|
||||
dohtml -r "${WORKDIR}/avrdude-html/"
|
||||
fi
|
||||
}
|
@ -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/dev-embedded/avrdude/avrdude-5.8-r1.ebuild,v 1.2 2012/04/03 03:12:04 vapier Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="AVR Downloader/UploaDEr"
|
||||
HOMEPAGE="http://savannah.nongnu.org/projects/avrdude"
|
||||
SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz
|
||||
doc? (
|
||||
mirror://nongnu/${PN}/${PN}-doc-${PV}.tar.gz
|
||||
mirror://nongnu/${PN}/${PN}-doc-${PV}.pdf
|
||||
)"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~arm ~amd64 ~ppc ~ppc64 ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND="virtual/libusb:0"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
# let the build system re-generate these, bug #120194
|
||||
rm -f lexer.c config_gram.c config_gram.h
|
||||
epatch "${FILESDIR}"/avrdude-5.8-dragon-segfault.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# The automake target for these files does not use tempfiles or create these
|
||||
# atomically, confusing a parallel build. So we force them first.
|
||||
emake lexer.c config_gram.c config_gram.h || die "emake of lexer failed"
|
||||
emake || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
|
||||
dodoc AUTHORS ChangeLog* NEWS README || die "dodoc failed"
|
||||
|
||||
if use doc ; then
|
||||
newdoc "${DISTDIR}/${PN}-doc-${PV}.pdf" avrdude.pdf || \
|
||||
die "newdoc failed"
|
||||
dohtml -r "${WORKDIR}/avrdude-html/" || die "dohtml failed"
|
||||
fi
|
||||
}
|
@ -1,45 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-embedded/avrdude/avrdude-5.8.ebuild,v 1.2 2012/04/03 03:12:04 vapier Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
DESCRIPTION="AVR Downloader/UploaDEr"
|
||||
HOMEPAGE="http://savannah.nongnu.org/projects/avrdude"
|
||||
SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz
|
||||
doc? (
|
||||
mirror://nongnu/${PN}/${PN}-doc-${PV}.tar.gz
|
||||
mirror://nongnu/${PN}/${PN}-doc-${PV}.pdf
|
||||
)"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~arm ~amd64 ~ppc ~ppc64 ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND="virtual/libusb:0"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
# let the build system re-generate these, bug #120194
|
||||
rm -f lexer.c config_gram.c config_gram.h
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# The automake target for these files does not use tempfiles or create these
|
||||
# atomically, confusing a parallel build. So we force them first.
|
||||
emake lexer.c config_gram.c config_gram.h || die "emake of lexer failed"
|
||||
emake || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
|
||||
dodoc AUTHORS ChangeLog* NEWS README || die "dodoc failed"
|
||||
|
||||
if use doc ; then
|
||||
newdoc "${DISTDIR}/${PN}-doc-${PV}.pdf" avrdude.pdf || \
|
||||
die "newdoc failed"
|
||||
dohtml -r "${WORKDIR}/avrdude-html/" || die "dohtml failed"
|
||||
fi
|
||||
}
|
@ -1,22 +0,0 @@
|
||||
Suggested by Timon Van Overveldt <timonvo@gmail.com>
|
||||
on https://savannah.nongnu.org/bugs/index.php?30268
|
||||
|
||||
--- avrdude-5.10/jtagmkII.c
|
||||
+++ avrdude-5.10/jtagmkII.c
|
||||
@@ -1270,10 +1270,12 @@
|
||||
return -1;
|
||||
}
|
||||
|
||||
- if (jtagmkII_setparm(pgm, PAR_DAISY_CHAIN_INFO, PDATA(pgm)->jtagchain) < 0) {
|
||||
- fprintf(stderr, "%s: jtagmkII_initialize(): Failed to setup JTAG chain\n",
|
||||
- progname);
|
||||
- return -1;
|
||||
+ if(strcmp(ifname, "debugWire") != 0) {
|
||||
+ if (jtagmkII_setparm(pgm, PAR_DAISY_CHAIN_INFO, PDATA(pgm)->jtagchain) < 0) {
|
||||
+ fprintf(stderr, "%s: jtagmkII_initialize(): Failed to setup JTAG chain\n",
|
||||
+ progname);
|
||||
+ return -1;
|
||||
+ }
|
||||
}
|
||||
|
||||
/*
|
@ -1,16 +0,0 @@
|
||||
Suggested by http://savannah.nongnu.org/users/alexdm
|
||||
on http://savannah.nongnu.org/bugs/?27507
|
||||
|
||||
--- avrdude-5.8/stk500v2.c
|
||||
+++ avrdude-5.8/stk500v2.c
|
||||
@@ -3586,8 +3586,8 @@
|
||||
pgm->paged_load = stk500v2_paged_load;
|
||||
pgm->print_parms = stk500v2_print_parms;
|
||||
pgm->set_sck_period = stk500v2_set_sck_period_mk2;
|
||||
- pgm->setup = jtagmkII_setup;
|
||||
- pgm->teardown = jtagmkII_teardown;
|
||||
+ pgm->setup = stk500v2_jtagmkII_setup;
|
||||
+ pgm->teardown = stk500v2_jtagmkII_teardown;
|
||||
pgm->page_size = 256;
|
||||
}
|
||||
|
@ -1,26 +0,0 @@
|
||||
# Copyright 1999-2006 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-embedded/ftdi_eeprom/ftdi_eeprom-0.2-r1.ebuild,v 1.1 2006/05/06 12:42:45 brix Exp $
|
||||
|
||||
DESCRIPTION="Utility to program external EEPROM for FTDI USB chips"
|
||||
HOMEPAGE="http://www.intra2net.com/opensource/ftdi/"
|
||||
SRC_URI="http://www.intra2net.com/opensource/ftdi/TGZ/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-embedded/libftdi
|
||||
dev-libs/confuse"
|
||||
|
||||
src_compile() {
|
||||
econf || die "econf failed"
|
||||
emake || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR="${D}" install || die "make install failed"
|
||||
|
||||
dodoc AUTHORS ftdi_eeprom/example.conf
|
||||
}
|
@ -1,20 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-embedded/ftdi_eeprom/ftdi_eeprom-0.3.ebuild,v 1.1 2010/06/22 22:19:02 vapier Exp $
|
||||
|
||||
DESCRIPTION="Utility to program external EEPROM for FTDI USB chips"
|
||||
HOMEPAGE="http://www.intra2net.com/en/developer/libftdi/"
|
||||
SRC_URI="http://www.intra2net.com/en/developer/libftdi/download/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-embedded/libftdi
|
||||
dev-libs/confuse"
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die
|
||||
dodoc AUTHORS ChangeLog README src/example.conf
|
||||
}
|
@ -0,0 +1,55 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-dbcp/commons-dbcp-1.4-r2.ebuild,v 1.1 2012/05/25 10:03:55 sera Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
JAVA_PKG_IUSE="doc source test"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Jakarta component providing database connection pooling API"
|
||||
HOMEPAGE="http://commons.apache.org/dbcp/"
|
||||
SRC_URI="mirror://apache/commons/dbcp/source/${P}-src.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
COMMON_DEP="
|
||||
dev-java/commons-pool:0
|
||||
java-virtuals/transaction-api:0"
|
||||
RDEPEND="${COMMON_DEP}
|
||||
>=virtual/jre-1.6"
|
||||
DEPEND="${COMMON_DEP}
|
||||
virtual/jdk:1.6
|
||||
test? ( dev-java/ant-junit:0 )"
|
||||
|
||||
S="${WORKDIR}/${P}-src"
|
||||
|
||||
JAVA_ANT_REWRITE_CLASSPATH="yes"
|
||||
JAVA_ANT_CLASSPATH_TAGS+=" javadoc"
|
||||
|
||||
EANT_BUILD_TARGET="build-jar"
|
||||
EANT_GENTOO_CLASSPATH="commons-pool,transaction-api"
|
||||
|
||||
src_test() {
|
||||
# depend on not packaged geronimo #348853
|
||||
rm -v src/test/org/apache/commons/dbcp/managed/TestBasicManagedDataSource.java || die
|
||||
rm -v src/test/org/apache/commons/dbcp/managed/TestManagedDataSource.java || die
|
||||
rm -v src/test/org/apache/commons/dbcp/managed/TestManagedDataSourceInTx.java || die
|
||||
|
||||
# fails :(
|
||||
rm -v src/test/org/apache/commons/dbcp/TestJndi.java || die
|
||||
|
||||
java-pkg-2_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar dist/${PN}*.jar
|
||||
dodoc README.txt RELEASE-NOTES.txt
|
||||
|
||||
use doc && java-pkg_dojavadoc dist/docs/api
|
||||
use source && java-pkg_dosrc src/java/*
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST xml-commons-external-1.3.02.tar.bz2 1056331 RMD160 215d03c9161b923b1ed1ea2c6d8ffefbc85b53c8 SHA1 5e2cbdcee91c9a84c399982edb8b98e03fd93632 SHA256 ba12636dad608631cec634fa159e6252535ececdf857369453e298904130a301
|
||||
DIST xml-commons-external-1.3.04.tar.bz2 659665 RMD160 6e22e5cde143eca3ead9b32e05f76de858d497a1 SHA1 4293b33b333ce4f20592ec78eda950c70408f955 SHA256 4fde2dbe7707ebcec2b10f4d0214f6f30f608ab6c62b7833e183177ed6dd4dc8
|
||||
DIST xml-commons-external-1.4.01.tar.bz2 683486 RMD160 5a19bd0db404065e7cd893caf3d8884951cc21a4 SHA1 c7f7ce1475d04468f0b950b15161a99b1d349d8c SHA256 37adf00788ea7716062ef86c2bf61d46eed4dfb71f0f7e4be1117ab6d47bf305
|
||||
|
@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/xml-commons-external/xml-commons-external-1.4.01.ebuild,v 1.1 2012/05/25 19:55:23 sera Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="An Apache-hosted set of externally-defined standards interfaces, namely DOM, SAX, and JAXP."
|
||||
HOMEPAGE="http://xml.apache.org/commons/"
|
||||
SRC_URI="https://dev.gentoo.org/~sera/distfiles/${P}.tar.bz2"
|
||||
# upstream source tar.gz is missing build.xml and other stuff, so we get it like this
|
||||
# svn export
|
||||
# http://svn.apache.org/repos/asf/xerces/xml-commons/tags/xml-commons-external-1_4_01/java/external xml-commons-external-1.4.01
|
||||
# tar cjf xml-commons-external-1.4.01.tar.bz2 xml-commons-external-1.4.01
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="1.4"
|
||||
KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="doc source"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.3"
|
||||
RDEPEND=">=virtual/jre-1.3"
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar build/xml-apis.jar build/xml-apis-ext.jar
|
||||
|
||||
dodoc NOTICE README.*
|
||||
|
||||
if use doc; then
|
||||
java-pkg_dojavadoc build/docs/javadoc
|
||||
java-pkg_dohtml -r build/docs/dom
|
||||
fi
|
||||
use source && java-pkg_dosrc src/javax src/org
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST freexl-1.0.0b.tar.gz 909489 RMD160 09c8551b12f3df0120a9b93dbd66f10d2474d78f SHA1 04e7dbf2beec98cb033dce63f66b4017bc796499 SHA256 da60c6041badd24114b3e4415d72de50c4f1c243fde179a24494e5bbcdc658f0
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/freexl/freexl-1.0.0b.ebuild,v 1.3 2012/05/25 18:49:29 scarabeus Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
DESCRIPTION="Simple XLS data extraction library"
|
||||
HOMEPAGE="http://www.gaia-gis.it/gaia-sins/"
|
||||
SRC_URI="http://www.gaia-gis.it/gaia-sins/${PN}-sources/${P}.tar.gz"
|
||||
|
||||
LICENSE="MPL-1.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
IUSE="static-libs"
|
||||
|
||||
DEPEND="virtual/libiconv"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable static-libs static)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
find "${ED}" -name '*.la' -exec rm -f {} +
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>sci-geosciences</herd>
|
||||
</pkgmetadata>
|
@ -1,2 +1,3 @@
|
||||
DIST iniparser-3.0.tar.gz 17045 RMD160 bcb077323941e342aa0f8ff658baa60ad87d3762 SHA1 57ee1259d32d9fa67f2818d998191b890d45947c SHA256 d6d7546a66f071d5a2bffe4c63fe7300a7962369b88c58084a36a8b7cfb9bd6d
|
||||
DIST iniparser-3.1.tar.gz 39097 RMD160 164665a6f905dc0a272cbcf6ae33e20a56d0fc6b SHA1 41eae7b414cad9cd42ae2c2a64394c10d7ab655e SHA256 aedf23881b834519aea5e861b2400606d211da049cd59d3cfb4568e0d9eff5c5
|
||||
DIST iniparser3.0b.tar.gz 26080 RMD160 d60234e173a7e888feab24a21a8602834cf64e30 SHA1 0e3672eac056d457699d4121098f0fd3433b9809 SHA256 8a634cadcda15c53c427fc57b783b366df8213e7065646f67ceb526c5bf37426
|
||||
|
@ -1,61 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/iniparser/iniparser-3.0b-r2.ebuild,v 1.4 2010/09/26 16:58:44 leio Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit eutils multilib
|
||||
|
||||
MY_P="${PN}${PV}"
|
||||
|
||||
DESCRIPTION="A free stand-alone ini file parsing library."
|
||||
HOMEPAGE="http://ndevilla.free.fr/iniparser/"
|
||||
SRC_URI="http://ndevilla.free.fr/iniparser/${MY_P}.tar.gz"
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE="examples static-libs"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
# the tests are rather examples than tests, no point in running them
|
||||
RESTRICT="test"
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}/${P}-fix-set-functions.patch" \
|
||||
"${FILESDIR}/${P}-cpp.patch" \
|
||||
"${FILESDIR}/${P}-makefile.patch"
|
||||
|
||||
sed -i \
|
||||
-e "s|/usr/lib|/usr/$(get_libdir)|g" \
|
||||
Makefile || die "sed failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local targets="libiniparser.so"
|
||||
use static-libs && targets="${targets} libiniparser.a"
|
||||
|
||||
emake ${targets} || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dolib libiniparser.so.0
|
||||
dosym libiniparser.so.0 /usr/$(get_libdir)/libiniparser.so
|
||||
|
||||
use static-libs && dolib libiniparser.a
|
||||
|
||||
insinto /usr/include
|
||||
doins src/*.h
|
||||
|
||||
dodoc AUTHORS README
|
||||
dohtml html/*
|
||||
|
||||
if use examples ; then
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins test/*.c test/*.ini
|
||||
fi
|
||||
}
|
@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/iniparser/iniparser-3.0b.ebuild,v 1.3 2009/11/26 20:57:30 vostorga Exp $
|
||||
|
||||
inherit multilib toolchain-funcs
|
||||
|
||||
MY_P="${PN}${PV}"
|
||||
|
||||
DESCRIPTION="A free stand-alone ini file parsing library."
|
||||
HOMEPAGE="http://ndevilla.free.fr/iniparser/"
|
||||
SRC_URI="http://ndevilla.free.fr/iniparser/${MY_P}.tar.gz"
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_compile() {
|
||||
sed -i \
|
||||
-e "s|\(CFLAGS =\) -O2|\1 ${CFLAGS}|" \
|
||||
-e "s|\(LDFLAGS =\)|\1 ${LDFLAGS}|" \
|
||||
-e "s|/usr/lib|/usr/$(get_libdir)|" \
|
||||
Makefile || die "sed failed"
|
||||
|
||||
emake CC=$(tc-getCC) AR="$(tc-getAR)" || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dolib libiniparser.a libiniparser.so.0
|
||||
dosym libiniparser.so.0 /usr/$(get_libdir)/libiniparser.so
|
||||
|
||||
insinto /usr/include
|
||||
doins src/*.h
|
||||
|
||||
dodoc AUTHORS README
|
||||
dohtml html/*
|
||||
}
|
@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/iniparser/iniparser-3.1.ebuild,v 1.1 2012/05/25 13:24:06 scarabeus Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
AUTOTOOLS_AUTORECONF=1
|
||||
inherit autotools-utils
|
||||
|
||||
DESCRIPTION="A free stand-alone ini file parsing library."
|
||||
HOMEPAGE="http://ndevilla.free.fr/iniparser/"
|
||||
|
||||
SRC_URI="http://ndevilla.free.fr/iniparser/${P}.tar.gz"
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-macos"
|
||||
IUSE="doc examples static-libs"
|
||||
|
||||
DEPEND="doc? ( app-doc/doxygen )
|
||||
sys-devel/libtool"
|
||||
RDEPEND=""
|
||||
|
||||
# the tests are rather examples than tests, no point in running them
|
||||
RESTRICT="test"
|
||||
|
||||
S="${WORKDIR}/${PN}"
|
||||
|
||||
DOCS=( AUTHORS README )
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-3.0b-cpp.patch"
|
||||
"${FILESDIR}/${PN}-3.0-autotools.patch"
|
||||
)
|
||||
|
||||
src_install() {
|
||||
autotools-utils_src_install
|
||||
|
||||
if use doc; then
|
||||
emake -C doc
|
||||
dohtml -r html/*
|
||||
fi
|
||||
|
||||
if use examples ; then
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins test/*.{c,ini,py}
|
||||
fi
|
||||
}
|
@ -1,4 +1,5 @@
|
||||
DIST libxml2-2.7.8.tar.gz 4881808 RMD160 30709622cfe3e2175e73d6701b7e19a25ab5ac47 SHA1 859dd535edbb851cc15b64740ee06551a7a17d40 SHA256 cda23bc9ebd26474ca8f3d67e7d1c4a1f1e7106364b690d822e009fdc3c417ec
|
||||
DIST libxml2-2.8.0-rc1.tar.gz 4909461 RMD160 e3c55e8904c1c7e3bbb8360d4819bb8a1966d2f4 SHA1 50c9ebef591d021d1b08522fc1d65e361a7165f7 SHA256 ba65b84a884fb7f4d8ab11ae47e323e531c8f75b8f2a2dad93f68937463433ff
|
||||
DIST libxml2-2.8.0.tar.gz 4915203 RMD160 45820c9f4939f642a87be9259c55fd081ea6759a SHA1 a0c553bd51ba79ab6fff26dc700004c6a41f5250 SHA256 f2e2d0e322685193d1affec83b21dc05d599e17a7306d7b90de95bb5b9ac622a
|
||||
DIST xsts-2002-01-16.tar.gz 6894439 RMD160 e8905fe1451a1c367b0104af24edca73bad1db08 SHA1 ca6344e6c47f8c28231f5b213d0c8deb0311a409 SHA256 55e5c08db29946a91ea8e70e8f2418d3fd30d8b6777941dfba7f54726ffd9914
|
||||
DIST xsts-2004-01-14.tar.gz 2761085 RMD160 faff2d7826e47ae9968564bc83dab1b54c5e4bf6 SHA1 5896c2aa2cda464246306c5cf0577ed506eefaab SHA256 09bdf9f81f381ebf9bc158a9472e498e896f7a02eb7461146e9abe1b9493ca17
|
||||
|
@ -0,0 +1,217 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libxml2/libxml2-2.8.0.ebuild,v 1.1 2012/05/25 07:13:52 tetromino Exp $
|
||||
|
||||
EAPI="4"
|
||||
PYTHON_DEPEND="python? 2"
|
||||
PYTHON_USE_WITH="xml"
|
||||
PYTHON_USE_WITH_OPT="python"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.* *-jython 2.7-pypy-*"
|
||||
|
||||
inherit libtool flag-o-matic eutils python autotools prefix
|
||||
|
||||
DESCRIPTION="Version 2 of the library to manipulate XML files"
|
||||
HOMEPAGE="http://www.xmlsoft.org/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
|
||||
IUSE="debug doc examples icu ipv6 lzma python readline static-libs test"
|
||||
|
||||
XSTS_HOME="http://www.w3.org/XML/2004/xml-schema-test-suite"
|
||||
XSTS_NAME_1="xmlschema2002-01-16"
|
||||
XSTS_NAME_2="xmlschema2004-01-14"
|
||||
XSTS_TARBALL_1="xsts-2002-01-16.tar.gz"
|
||||
XSTS_TARBALL_2="xsts-2004-01-14.tar.gz"
|
||||
|
||||
SRC_URI="ftp://xmlsoft.org/${PN}/${PN}-${PV/_rc/-rc}.tar.gz
|
||||
test? (
|
||||
${XSTS_HOME}/${XSTS_NAME_1}/${XSTS_TARBALL_1}
|
||||
${XSTS_HOME}/${XSTS_NAME_2}/${XSTS_TARBALL_2} )"
|
||||
|
||||
RDEPEND="sys-libs/zlib
|
||||
icu? ( dev-libs/icu )
|
||||
lzma? ( app-arch/xz-utils )
|
||||
readline? ( sys-libs/readline )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
hppa? ( >=sys-devel/binutils-2.15.92.0.2 )"
|
||||
|
||||
S="${WORKDIR}/${PN}-${PV%_rc*}"
|
||||
|
||||
pkg_setup() {
|
||||
use python && python_pkg_setup
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
# ${A} isn't used to avoid unpacking of test tarballs into $WORKDIR,
|
||||
# as they are needed as tarballs in ${S}/xstc instead and not unpacked
|
||||
unpack ${P/_rc/-rc}.tar.gz
|
||||
cd "${S}"
|
||||
|
||||
if use test; then
|
||||
cp "${DISTDIR}/${XSTS_TARBALL_1}" \
|
||||
"${DISTDIR}/${XSTS_TARBALL_2}" \
|
||||
"${S}"/xstc/ \
|
||||
|| die "Failed to install test tarballs"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Patches needed for prefix support
|
||||
epatch "${FILESDIR}"/${PN}-2.7.1-catalog_path.patch
|
||||
epatch "${FILESDIR}"/${PN}-2.8.0_rc1-winnt.patch
|
||||
|
||||
eprefixify catalog.c xmlcatalog.c runtest.c xmllint.c
|
||||
|
||||
epunt_cxx
|
||||
|
||||
epatch "${FILESDIR}/${PN}-2.7.8-disable_static_modules.patch"
|
||||
|
||||
# Please do not remove, as else we get references to PORTAGE_TMPDIR
|
||||
# in /usr/lib/python?.?/site-packages/libxml2mod.la among things.
|
||||
# We now need to run eautoreconf at the end to prevent maintainer mode.
|
||||
# elibtoolize
|
||||
|
||||
# Python bindings are built/tested/installed manually.
|
||||
sed -e "s/@PYTHON_SUBDIR@//" -i Makefile.am || die "sed 1 failed"
|
||||
|
||||
# Use Gentoo's python-config naming scheme
|
||||
sed -e 's/python$PYTHON_VERSION-config/python-config-$PYTHON_VERSION/' \
|
||||
-i configure.in || die "sed 2 failed"
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# USE zlib support breaks gnome2
|
||||
# (libgnomeprint for instance fails to compile with
|
||||
# fresh install, and existing) - <azarah@gentoo.org> (22 Dec 2002).
|
||||
|
||||
# The meaning of the 'debug' USE flag does not apply to the --with-debug
|
||||
# switch (enabling the libxml2 debug module). See bug #100898.
|
||||
|
||||
# --with-mem-debug causes unusual segmentation faults (bug #105120).
|
||||
|
||||
local myconf=(
|
||||
--with-html-subdir=${PF}/html
|
||||
--docdir="${EPREFIX}/usr/share/doc/${PF}"
|
||||
$(use_with debug run-debug)
|
||||
$(use_with icu)
|
||||
$(use_with lzma)
|
||||
$(use_with python)
|
||||
$(use_with readline)
|
||||
$(use_with readline history)
|
||||
$(use_enable ipv6)
|
||||
$(use_enable static-libs static) )
|
||||
|
||||
# filter seemingly problematic CFLAGS (#26320)
|
||||
filter-flags -fprefetch-loop-arrays -funroll-loops
|
||||
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
|
||||
if use python; then
|
||||
python_copy_sources python
|
||||
building() {
|
||||
emake PYTHON_INCLUDES="${EPREFIX}$(python_get_includedir)" \
|
||||
PYTHON_SITE_PACKAGES="${EPREFIX}$(python_get_sitedir)"
|
||||
}
|
||||
python_execute_function -s --source-dir python building
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
default
|
||||
|
||||
if use python; then
|
||||
testing() {
|
||||
emake test
|
||||
}
|
||||
python_execute_function -s --source-dir python testing
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" \
|
||||
EXAMPLES_DIR="${EPREFIX}"/usr/share/doc/${PF}/examples \
|
||||
install || die "Installation failed"
|
||||
|
||||
# on windows, xmllint is installed by interix libxml2 in parent prefix.
|
||||
# this is the version to use. the native winnt version does not support
|
||||
# symlinks, which makes repoman fail if the portage tree is linked in
|
||||
# from another location (which is my default). -- mduft
|
||||
if [[ ${CHOST} == *-winnt* ]]; then
|
||||
rm -rf "${ED}"/usr/bin/xmllint
|
||||
rm -rf "${ED}"/usr/bin/xmlcatalog
|
||||
fi
|
||||
|
||||
if use python; then
|
||||
installation() {
|
||||
emake DESTDIR="${D}" \
|
||||
PYTHON_SITE_PACKAGES="${EPREFIX}$(python_get_sitedir)" \
|
||||
docsdir="${EPREFIX}"/usr/share/doc/${PF}/python \
|
||||
exampledir="${EPREFIX}"/usr/share/doc/${PF}/python/examples \
|
||||
install
|
||||
}
|
||||
python_execute_function -s --source-dir python installation
|
||||
|
||||
python_clean_installation_image
|
||||
fi
|
||||
|
||||
rm -rf "${ED}"/usr/share/doc/${P}
|
||||
dodoc AUTHORS ChangeLog Copyright NEWS README* TODO*
|
||||
|
||||
if ! use python; then
|
||||
rm -rf "${ED}"/usr/share/doc/${PF}/python
|
||||
rm -rf "${ED}"/usr/share/doc/${PN}-python-${PV}
|
||||
fi
|
||||
|
||||
if ! use doc; then
|
||||
rm -rf "${ED}"/usr/share/gtk-doc
|
||||
rm -rf "${ED}"/usr/share/doc/${PF}/html
|
||||
fi
|
||||
|
||||
if ! use examples; then
|
||||
rm -rf "${ED}/usr/share/doc/${PF}/examples"
|
||||
rm -rf "${ED}/usr/share/doc/${PF}/python/examples"
|
||||
fi
|
||||
|
||||
# Always remove useless .la files
|
||||
find "${D}" -name '*.la' -exec rm -f {} + || die "la file removal failed"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use python; then
|
||||
python_mod_optimize drv_libxml2.py libxml2.py
|
||||
fi
|
||||
|
||||
# We don't want to do the xmlcatalog during stage1, as xmlcatalog will not
|
||||
# be in / and stage1 builds to ROOT=/tmp/stage1root. This fixes bug #208887.
|
||||
if [ "${ROOT}" != "/" ]
|
||||
then
|
||||
elog "Skipping XML catalog creation for stage building (bug #208887)."
|
||||
else
|
||||
# need an XML catalog, so no-one writes to a non-existent one
|
||||
CATALOG="${EROOT}etc/xml/catalog"
|
||||
|
||||
# we dont want to clobber an existing catalog though,
|
||||
# only ensure that one is there
|
||||
# <obz@gentoo.org>
|
||||
if [ ! -e ${CATALOG} ]; then
|
||||
[ -d "${EROOT}etc/xml" ] || mkdir -p "${EROOT}etc/xml"
|
||||
"${EPREFIX}"/usr/bin/xmlcatalog --create > ${CATALOG}
|
||||
einfo "Created XML catalog in ${CATALOG}"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
if use python; then
|
||||
python_mod_cleanup drv_libxml2.py libxml2.py
|
||||
fi
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue