summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiziano Mueller <dev-zero@gentoo.org>2009-03-06 17:12:31 +0100
committerTiziano Mueller <dev-zero@gentoo.org>2009-03-06 17:12:31 +0100
commit6c8f6e4c2a63505cb1f7ad5aa9456dedb3ca3a79 (patch)
treef29d717ba316fb87e9cfc54a22ecf0a4e5b78b52 /dev-cpp
parentAdded version bump for libmirage (diff)
downloaddev-zero-6c8f6e4c2a63505cb1f7ad5aa9456dedb3ca3a79.tar.gz
dev-zero-6c8f6e4c2a63505cb1f7ad5aa9456dedb3ca3a79.tar.bz2
dev-zero-6c8f6e4c2a63505cb1f7ad5aa9456dedb3ca3a79.zip
Updated the xsd-libraries. Removed bakery since now in tree. Updated libgdamm.
Diffstat (limited to 'dev-cpp')
-rw-r--r--dev-cpp/bakery/ChangeLog35
-rw-r--r--dev-cpp/bakery/Manifest4
-rw-r--r--dev-cpp/bakery/bakery-2.5.1.ebuild38
-rw-r--r--dev-cpp/bakery/metadata.xml18
-rw-r--r--dev-cpp/libbackend-elements/Manifest4
-rw-r--r--dev-cpp/libbackend-elements/libbackend-elements-1.7.0.ebuild (renamed from dev-cpp/libbackend-elements/libbackend-elements-1.6.1.ebuild)12
-rw-r--r--dev-cpp/libcult/Manifest4
-rw-r--r--dev-cpp/libcult/libcult-1.4.3.ebuild (renamed from dev-cpp/libcult/libcult-1.4.2.ebuild)6
-rw-r--r--dev-cpp/libfrontend-elements/Manifest2
-rw-r--r--dev-cpp/libfrontend-elements/libfrontend-elements-1.1.1.ebuild8
-rw-r--r--dev-cpp/libgdamm/Manifest5
-rw-r--r--dev-cpp/libgdamm/files/3.99.12-bdb_automagic.patch30
-rw-r--r--dev-cpp/libgdamm/libgdamm-3.0.0.ebuild34
-rw-r--r--dev-cpp/libgdamm/libgdamm-3.99.12.ebuild47
-rw-r--r--dev-cpp/libxsd-frontend/Manifest4
-rw-r--r--dev-cpp/libxsd-frontend/libxsd-frontend-1.16.0.ebuild (renamed from dev-cpp/libxsd-frontend/libxsd-frontend-1.15.0.ebuild)11
-rw-r--r--dev-cpp/xsd/Manifest7
-rw-r--r--dev-cpp/xsd/files/3.2.0-disable_examples_and_tests.patch (renamed from dev-cpp/xsd/files/3.1.0-disable_examples_and_tests.patch)5
-rw-r--r--dev-cpp/xsd/metadata.xml13
-rw-r--r--dev-cpp/xsd/xsd-3.1.0.ebuild97
-rw-r--r--dev-cpp/xsd/xsd-3.2.0.ebuild43
21 files changed, 149 insertions, 278 deletions
diff --git a/dev-cpp/bakery/ChangeLog b/dev-cpp/bakery/ChangeLog
deleted file mode 100644
index 7d0d1fe..0000000
--- a/dev-cpp/bakery/ChangeLog
+++ /dev/null
@@ -1,35 +0,0 @@
-# ChangeLog for dev-cpp/bakery
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-cpp/bakery/ChangeLog,v 1.7 2007/02/22 00:58:49 peper Exp $
-
- 22 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog:
- Transition to Manifest2.
-
-*bakery-2.3.18 (02 May 2006)
-
- 02 May 2006; Saleem Abdulrasool <compnerd@gentoo.org>
- +bakery-2.3.18.ebuild:
- Version bump from upstream
-
-*bakery-2.3.15-r1 (02 Jan 2006)
-
- 02 Jan 2006; Saleem Abdulrasool <compnerd@gentoo.org>
- +bakery-2.3.15-r1.ebuild:
- Revbump to fix dependencies
-
- 02 Jan 2006; Saleem Abdulrasool <compnerd@gentoo.org> metadata.xml:
- Taking over this package, marking myself as maintainer
-
- 14 Nov 2005; Luis Medinas <metalgod@gentoo.org> bakery-2.3.15.ebuild:
- Marked Stable on amd64.
-
- 06 Sep 2005; Luis Medinas <metalgod@gentoo.org> bakery-2.3.15.ebuild:
- Added ~x86 keyword.
-
-*bakery-2.3.15 (02 Sep 2005)
-
- 02 Sep 2005; Luis Medinas <metalgod@gentoo.org> +metadata.xml,
- +bakery-2.3.15.ebuild:
- New Package. Bakery is a C++ Framework for creating GNOME applications using
- gtkmm.
-
diff --git a/dev-cpp/bakery/Manifest b/dev-cpp/bakery/Manifest
deleted file mode 100644
index 692abf0..0000000
--- a/dev-cpp/bakery/Manifest
+++ /dev/null
@@ -1,4 +0,0 @@
-DIST bakery-2.5.1.tar.bz2 1236180 RMD160 bb9e471989022c9e3a4eea16c1810d14c8106cad SHA1 af3b06f1e15ffa94789a4b3e41107f71a3da462f SHA256 3d6b3cc452959d1342f09827e8b249d65795f53ae06e65ec936aa5ba73ecba00
-EBUILD bakery-2.5.1.ebuild 847 RMD160 e36366133126a0a0f858588460c6f220f6c6562f SHA1 ec6e48b6a71a1ee2ee94e1817e0ee02e7ba07d39 SHA256 5e513a8ace016a3b340c2b11c650aaaa4fe92379d605e8af32b8a5492ab7f5ce
-MISC ChangeLog 1112 RMD160 e70fc6d18f4aeea3c7a0e6c9a4365cbce978472e SHA1 4ce56708e738644e7c0a3a3c0c2005a8d50a74d4 SHA256 14d3e3b5d0a6aa329fb55e9334cce887db92cffd1b109f46c84fdaacc20b3363
-MISC metadata.xml 703 RMD160 5f87c2cb7b1788f22b946b4846f1755af9a1cf73 SHA1 998ba917cb9d08616c523e9435a6597f66760d3a SHA256 51d8ae5ee815aa72cf7b30019f4a9540f810f9dcebda4b9e6af465784e4db818
diff --git a/dev-cpp/bakery/bakery-2.5.1.ebuild b/dev-cpp/bakery/bakery-2.5.1.ebuild
deleted file mode 100644
index 8b039d8..0000000
--- a/dev-cpp/bakery/bakery-2.5.1.ebuild
+++ /dev/null
@@ -1,38 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-inherit gnome2
-
-DESCRIPTION="A C++ Framework for creating GNOME applications using gtkmm."
-HOMEPAGE="http://bakery.sourceforge.net/"
-LICENSE="LGPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="doc examples"
-
-RDEPEND=">=dev-cpp/gtkmm-2.10
- >=dev-cpp/gconfmm-2.6
- >=dev-cpp/libglademm-2.4
- >=dev-cpp/libxmlpp-2.23.1
- >=dev-cpp/gnome-vfsmm-2.6"
-DEPEND="${RDEPEND}
- >=dev-util/intltool-0.25
- >=dev-util/pkgconfig-0.12"
-
-DOCS="AUTHORS ChangeLog INSTALL NEWS README"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- if ! use examples ; then
- sed -i 's/^\(SUBDIRS =.*\)examples\(.*\)$/\1\2/' Makefile.in || \
- die "sed Makefile.in failed"
- fi
-}
-
-src_install() {
- gnome2_src_install
- use doc && dohtml docs/*.html docs/reference/*.html
-}
diff --git a/dev-cpp/bakery/metadata.xml b/dev-cpp/bakery/metadata.xml
deleted file mode 100644
index 487a9a2..0000000
--- a/dev-cpp/bakery/metadata.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>gnome-mm</herd>
-<maintainer>
-<email>compnerd@gentoo.org</email>
-<name>Saleem Abdulrasool</name>
-</maintainer>
-<longdescription lang="en">
-Bakery is a C++ Application Framework for use with gtkmm.This application
-provides a Document/View architecture but it doesn't force you to use the whole
-architecture, can use XML as a document storage format, it provides default
-functionality, which can be easily customized, makes it easy to start developing
-GNOME applications, gives your application structure and contains a few utility
-classes.
-</longdescription>
-</pkgmetadata>
-
diff --git a/dev-cpp/libbackend-elements/Manifest b/dev-cpp/libbackend-elements/Manifest
index cfbcc02..30477de 100644
--- a/dev-cpp/libbackend-elements/Manifest
+++ b/dev-cpp/libbackend-elements/Manifest
@@ -1,2 +1,2 @@
-DIST libbackend-elements-1.6.1.tar.bz2 22484 RMD160 e2b027bc8a221fea9ee1fd46de780986fda365f2 SHA1 d9783f5868c264ab4baddc3388af77207e6d8ed1 SHA256 940e6b1f165bd9c8d23453fbe5074e34a51a4290257baf14c84e5df8364c54ab
-EBUILD libbackend-elements-1.6.1.ebuild 1715 RMD160 f92c0a38399371eac7d75f069ad52d8c049a4a36 SHA1 4cae7c1819f6dca9031f1f4350a6d6a0b78183d2 SHA256 790cd0cfd57c1e5f5819b131b0053e165143b7b19b769b0eec5be5b450180d83
+DIST libbackend-elements-1.7.0.tar.bz2 22368 RMD160 4a8538f502599831cfd97a96162f1ebb837d29ae SHA1 2a69df9586c6eebadf98c7a9298d12797387f221 SHA256 cb66731ebbbb63d523e8e9212b319f1b09b1bcb60e6a48e02219b3ba2e38bb03
+EBUILD libbackend-elements-1.7.0.ebuild 1647 RMD160 3af03c199cc83d0377922c12b19fc2de5e1508aa SHA1 765e8de5833cce5068f3cefc5c8665493a3f6f44 SHA256 a0f10d5af6ede607169240bf049deb0f762019b15b56214c1c5b60c6100de16d
diff --git a/dev-cpp/libbackend-elements/libbackend-elements-1.6.1.ebuild b/dev-cpp/libbackend-elements/libbackend-elements-1.7.0.ebuild
index e6eeeba..2adc4f3 100644
--- a/dev-cpp/libbackend-elements/libbackend-elements-1.6.1.ebuild
+++ b/dev-cpp/libbackend-elements/libbackend-elements-1.7.0.ebuild
@@ -2,6 +2,8 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
+EAPI="2"
+
inherit toolchain-funcs
DESCRIPTION="A collection of elementary building blocks for implementing compiler backends in c++."
@@ -12,12 +14,12 @@ SLOT="0"
KEYWORDS="~amd64"
IUSE=""
-RDEPEND=">=dev-cpp/libcult-1.4.2
+RDEPEND=">=dev-cpp/libcult-1.4.3
dev-libs/boost"
DEPEND="${RDEPEND}
dev-util/build"
-src_compile() {
+src_configure() {
mkdir -p build/{c,cxx/gnu,import/libboost,import/libcult}
cat >> build/c/configuration-lib-dynamic.make <<- EOF
@@ -49,8 +51,6 @@ libboost_installed := y
cat >> build/import/libcult/configuration-dynamic.make <<- EOF
libcult_installed := y
EOF
-
- emake || die "emake failed"
}
src_install() {
@@ -67,7 +67,3 @@ src_install() {
dodoc NEWS README
dohtml -A xhtml -r documentation/*
}
-
-src_test() {
- emake test || die "tests failed"
-}
diff --git a/dev-cpp/libcult/Manifest b/dev-cpp/libcult/Manifest
index de0e387..1387a34 100644
--- a/dev-cpp/libcult/Manifest
+++ b/dev-cpp/libcult/Manifest
@@ -1,2 +1,2 @@
-DIST libcult-1.4.2.tar.bz2 50398 RMD160 0df0896c3a29fbf5fc4e873ddc5d3b33a9fc4187 SHA1 7193f08a98e12b1d931e2af89dcc662510d57ec2 SHA256 d82f8f611db0521f7eac4ff0342d94d26c2d39616793d4040960f9c38fde1f95
-EBUILD libcult-1.4.2.ebuild 1545 RMD160 75403aab2eb826481bb693f24d1133e7e785da63 SHA1 a50ff88c4a1158612a555de6c422e2de4034553b SHA256 df40758b9df4067f89ed1df0aede895c9cebbe6884dadd612f498a5ecc93a139
+DIST libcult-1.4.3.tar.bz2 50389 RMD160 e0e5ba8af888bdd0c048a6625d869e79c35ade4c SHA1 861bd6cb73cd454de9dfa82eae829099100e610a SHA256 0e464e12be711a0e04b257849570d1d56b18384750ea48249780a770a7f7e8a0
+EBUILD libcult-1.4.3.ebuild 1527 RMD160 736c02462c55be5255c7fa812eb890828909fda9 SHA1 3610907c37121377a8df2f2b323c88531824a1c1 SHA256 56f30bc47d76c30b3bc41484c4b4c79ac6e358bd2e127a0edd4ab26c5df63514
diff --git a/dev-cpp/libcult/libcult-1.4.2.ebuild b/dev-cpp/libcult/libcult-1.4.3.ebuild
index f4945a7..42f42e0 100644
--- a/dev-cpp/libcult/libcult-1.4.2.ebuild
+++ b/dev-cpp/libcult/libcult-1.4.3.ebuild
@@ -2,6 +2,8 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
+EAPI="2"
+
inherit toolchain-funcs
DESCRIPTION="A collection of C++ libraries"
@@ -15,7 +17,7 @@ IUSE="examples"
DEPEND="dev-util/build"
RDEPEND=""
-src_compile() {
+src_configure() {
mkdir -p build/{c,cxx/gnu}
cat >> build/c/configuration-lib-dynamic.make <<- EOF
@@ -45,8 +47,6 @@ cxx_gnu := $(tc-getCXX)
cxx_gnu_libraries :=
cxx_gnu_optimization_options :=
EOF
-
- emake || die "emake failed"
}
src_install() {
diff --git a/dev-cpp/libfrontend-elements/Manifest b/dev-cpp/libfrontend-elements/Manifest
index 06f4436..a57559a 100644
--- a/dev-cpp/libfrontend-elements/Manifest
+++ b/dev-cpp/libfrontend-elements/Manifest
@@ -1,2 +1,2 @@
DIST libfrontend-elements-1.1.1.tar.bz2 17226 RMD160 e06415cfc56ab7505386f3db0372bc8050595dd4 SHA1 121addab3898288c1df65011d11644463b5745b7 SHA256 3b2eff3ba670dd0e8adeaf8aedcf1c45494ee7cf4cf1d415b1b5513e03a13e99
-EBUILD libfrontend-elements-1.1.1.ebuild 1684 RMD160 073414e5793ee584503fb9119feeae3292192cf1 SHA1 18f3b9072b92405b7bb6c6c61cdc2950c47fd982 SHA256 9a195d9bc800f12ce1f953403f47215cd533437b84382e3af5c4951ae94a5ca2
+EBUILD libfrontend-elements-1.1.1.ebuild 1666 RMD160 3ec17761421bf4e90f5a07b89854c2fff29f03d8 SHA1 232ecb5279f98846e408c62b41e70a249729cf41 SHA256 12dfc1660f0c1533f5e539db292ed7f27607818112a8083b4e79968a3a1e60f5
diff --git a/dev-cpp/libfrontend-elements/libfrontend-elements-1.1.1.ebuild b/dev-cpp/libfrontend-elements/libfrontend-elements-1.1.1.ebuild
index 3272928..cb3885c 100644
--- a/dev-cpp/libfrontend-elements/libfrontend-elements-1.1.1.ebuild
+++ b/dev-cpp/libfrontend-elements/libfrontend-elements-1.1.1.ebuild
@@ -2,6 +2,8 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
+EAPI="2"
+
inherit toolchain-funcs
DESCRIPTION="A collection of elementary building blocks for implementing compiler frontends in c++."
@@ -12,11 +14,11 @@ SLOT="0"
KEYWORDS="~amd64"
IUSE="examples"
-RDEPEND=">=dev-cpp/libcult-1.4.2"
+RDEPEND=">=dev-cpp/libcult-1.4.3"
DEPEND="${RDEPEND}
dev-util/build"
-src_compile() {
+src_configure() {
mkdir -p build/{c,cxx/gnu,import/libcult}
cat >> build/c/configuration-lib-dynamic.make <<- EOF
@@ -44,8 +46,6 @@ cxx_gnu_optimization_options :=
cat >> build/import/libcult/configuration-dynamic.make <<- EOF
libcult_installed := y
EOF
-
- emake || die "emake failed"
}
src_install() {
diff --git a/dev-cpp/libgdamm/Manifest b/dev-cpp/libgdamm/Manifest
index 41ffe52..13e9c01 100644
--- a/dev-cpp/libgdamm/Manifest
+++ b/dev-cpp/libgdamm/Manifest
@@ -1,4 +1,5 @@
-DIST libgdamm-3.0.0.tar.bz2 2500553 RMD160 5255aa5bfbffb2b6436de382a8908ca00cdd7b5c SHA1 dfa1883e95686d54d13225b7b070c90ad7c1e029 SHA256 32896ebbe9c98714c0e2fdbc6a6a4e6567f065319e4c726cedfc8ef7acd769f5
-EBUILD libgdamm-3.0.0.ebuild 764 RMD160 b35e789e962620d3d1fbc57f33e78d2ea4ce3ff2 SHA1 614c2b9e158ad488f290231233a56eed8306b91f SHA256 82100cf8a822b6af233c81c06bff1cee9776c2866d55374309246215b1b9f14a
+AUX 3.99.12-bdb_automagic.patch 733 RMD160 b9b24c1d1cec8060e2195ad26bf4389679148702 SHA1 6db3f5dcb9ebc4bb095c9cde7a78d6aa1b2f94c5 SHA256 df78ab08c568eaaa76f7394c48b1d7555c856202739b12a137c8f43b672e0b27
+DIST libgdamm-3.99.12.tar.bz2 866721 RMD160 889d7e471ec5d13fee08ea8ac492617dd9e0d1ed SHA1 7e49626c5db92e1f18c4c44f853a66696b820281 SHA256 74d7ccad6bec459d13efa43e9802cdc7ad3f11371616bc916730eb741ac1f2bb
+EBUILD libgdamm-3.99.12.ebuild 993 RMD160 a6a74dc3580b932d533cbbb0994f401305825e37 SHA1 4b3c87451ec9bf249e915c8342717c13661112cc SHA256 9df9b692b29b87f325b65389d4f69e5b1d65e895b7a5f3289a3cfbda6df402aa
MISC ChangeLog 1262 RMD160 b382ccfc8f61ee2568f00fdbd32b4338732efad0 SHA1 44c937c7a071e1b0c446096d77ebdc44660a7a4c SHA256 6cf57480ce0b4dd4b10bff7dbf7bc7db8b584ff150cb77c93dd36440753a0592
MISC metadata.xml 162 RMD160 e3b9e3d8ece920d890bf37c43a6bcd9757539556 SHA1 6ee3bb3e0cce43428124dfa192af30ddb055d95f SHA256 7d0ce82d5ca3b20cb1c4641c7b7aae7082fd6be059b85fab9699095fd965f2e9
diff --git a/dev-cpp/libgdamm/files/3.99.12-bdb_automagic.patch b/dev-cpp/libgdamm/files/3.99.12-bdb_automagic.patch
new file mode 100644
index 0000000..051fdcb
--- /dev/null
+++ b/dev-cpp/libgdamm/files/3.99.12-bdb_automagic.patch
@@ -0,0 +1,30 @@
+--- libgdamm-3.99.12/configure.in.orig 2009-03-04 17:36:22.959570120 +0100
++++ libgdamm-3.99.12/configure.in 2009-03-04 17:38:53.180360200 +0100
+@@ -117,6 +117,18 @@
+ AC_SUBST(LIBGDAMM_CFLAGS)
+ AC_SUBST(LIBGDAMM_LIBS)
+
++dnl Test for Berkeley DB
++try_bdb=true
++AC_ARG_WITH(bdb,
++[ --with-bdb use bdb library],[
++if test $withval = no
++then
++ try_bdb=false
++fi
++])
++
++if test $try_bdb = true
++then
+ PKG_CHECK_MODULES(LIBGDAMM_BDB, libgda-bdb-4.0 >= $LIBGDA_REQUIRED,
+ [have_bdb="yes"],
+ [have_bdb="no"])
+@@ -125,6 +137,8 @@
+ LIBGDAMM_CFLAGS="$LIBGDAMM_CFLAGS -DHAVE_BDB"
+ fi
+
++fi
++
+ AM_CONDITIONAL(HAVE_BDB, [test x$have_bdb = xyes])
+
+ GLIBMM_LIBDIR=`pkg-config --variable=libdir glibmm-2.4`
diff --git a/dev-cpp/libgdamm/libgdamm-3.0.0.ebuild b/dev-cpp/libgdamm/libgdamm-3.0.0.ebuild
deleted file mode 100644
index e653afb..0000000
--- a/dev-cpp/libgdamm/libgdamm-3.0.0.ebuild
+++ /dev/null
@@ -1,34 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libgdamm/libgdamm-1.3.7.ebuild,v 1.5 2008/04/12 12:10:32 remi Exp $
-
-inherit gnome2
-
-DESCRIPTION="C++ bindings for libgda"
-HOMEPAGE="http://gtkmm.sourceforge.net/"
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~sparc ~x86"
-IUSE="doc"
-
-RDEPEND=">=dev-cpp/glibmm-2.12.8
- =gnome-extra/libgda-3*"
-DEPEND="${RDEPEND}
- dev-util/pkgconfig
- doc? ( app-doc/doxygen )"
-
-DOCS="AUTHORS ChangeLog NEWS README TODO"
-
-src_compile() {
- gnome2_src_compile
-
- if use doc ; then
- cd docs/reference
- emake || die "failed to build API docs"
- fi
-}
-
-src_install() {
- gnome2_src_install
- use doc && dohtml -r docs/reference/html/*
-}
diff --git a/dev-cpp/libgdamm/libgdamm-3.99.12.ebuild b/dev-cpp/libgdamm/libgdamm-3.99.12.ebuild
new file mode 100644
index 0000000..796e7fd
--- /dev/null
+++ b/dev-cpp/libgdamm/libgdamm-3.99.12.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="2"
+
+inherit autotools gnome2
+
+DESCRIPTION="C++ bindings for libgda"
+HOMEPAGE="http://gtkmm.sourceforge.net/"
+LICENSE="LGPL-2.1 examples? ( GPL-2 )"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE="berkdb doc examples"
+
+RDEPEND=">=dev-cpp/glibmm-2.12.8
+ >=gnome-extra/libgda-3.99.12[berkdb?]"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ doc? ( app-doc/doxygen )"
+
+DOCS="AUTHORS ChangeLog NEWS README TODO"
+
+src_prepare() {
+ gnome2_src_prepare
+
+ # should be configured via configure switch
+ if ! use examples ; then
+ sed 's/^\(SUBDIRS =.*\)examples\(.*\)$/\1\2/' \
+ -i Makefile.in || die "sed Makefile.am failed"
+ fi
+
+ epatch "${FILESDIR}/${PV}-bdb_automagic.patch"
+
+ AT_M4DIR="scripts/"
+ eautoreconf
+}
+
+src_configure() {
+ G2CONF="$(use_enable doc reference)"
+ gnome2_src_configure
+}
+
+src_install() {
+ gnome2_src_install
+# use doc && dohtml -r docs/reference/html/*
+}
diff --git a/dev-cpp/libxsd-frontend/Manifest b/dev-cpp/libxsd-frontend/Manifest
index f028d58..7cfeec6 100644
--- a/dev-cpp/libxsd-frontend/Manifest
+++ b/dev-cpp/libxsd-frontend/Manifest
@@ -1,2 +1,2 @@
-DIST libxsd-frontend-1.15.0.tar.bz2 60692 RMD160 5e948059a35d86d1ea4f2d307fff746ea635e810 SHA1 a3f116d9524523ddca3b06a6eb408ff9a39391ca SHA256 2b8a0940ad377284b75cbf20e202945f6b76478f1edf179270a3f5499a7ddcdb
-EBUILD libxsd-frontend-1.15.0.ebuild 2071 RMD160 c31c81a97c43650ffe54fadc1ade6c4d17de6e9c SHA1 b3b449c065c99e5141171fb574e13223d27891d1 SHA256 468a37b9951b9fe36bd9bc22fefbc6cd030714ffb2abaf5c230a166da06cde51
+DIST libxsd-frontend-1.16.0.tar.bz2 61569 RMD160 a5f890719e6d37347c1f7dd2e63412db84d2af6b SHA1 d3092115dc151c5a439c36127b4740f8c67520b3 SHA256 45a9f902221e48e02844721191600a81e40130426cbdeb91937b109263c7ce16
+EBUILD libxsd-frontend-1.16.0.ebuild 2052 RMD160 df4fd8a335553bc9ad4c6ff29f09b971c967ed4f SHA1 12bfff3230c9261a5e277f9b7403e4aab50810b9 SHA256 ac56d9e438778e08ae86ff1ef8a3b74b70bb8bdef44bc159cdacaeff59f91783
diff --git a/dev-cpp/libxsd-frontend/libxsd-frontend-1.15.0.ebuild b/dev-cpp/libxsd-frontend/libxsd-frontend-1.16.0.ebuild
index 618082f..e5cf004 100644
--- a/dev-cpp/libxsd-frontend/libxsd-frontend-1.15.0.ebuild
+++ b/dev-cpp/libxsd-frontend/libxsd-frontend-1.16.0.ebuild
@@ -2,6 +2,8 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
+EAPI="2"
+
inherit toolchain-funcs
DESCRIPTION="A compiler frontend for the W3C XML Schema definition language."
@@ -12,7 +14,7 @@ SLOT="0"
KEYWORDS="~amd64"
IUSE=""
-RDEPEND=">=dev-libs/xerces-c-2.6
+RDEPEND=">=dev-libs/xerces-c-3
dev-libs/boost
>=dev-cpp/libcult-1.4.2
>=dev-cpp/libfrontend-elements-1.1.1"
@@ -21,7 +23,7 @@ DEPEND="${RDEPEND}
BUILDDIR="${WORKDIR}/build"
-src_compile() {
+src_configure() {
mkdir -p \
build/{c,cxx/gnu} \
build/import/lib{boost,cult,frontend-elements,xerces-c}
@@ -63,8 +65,6 @@ libfrontend_elements_installed := y
cat >> build/import/libxerces-c/configuration-dynamic.make <<- EOF
libxerces_c_installed := y
EOF
-
- emake || die "emake failed"
}
src_install() {
@@ -84,5 +84,6 @@ src_install() {
}
src_test() {
- LDPATH="${S}/xsd-frontend:${LDPATH}" emake test || die "tests failed"
+ export LD_LIBRARY_PATH="${S}/xsd-frontend:${LD_LIBRARY_PATH}"
+ default
}
diff --git a/dev-cpp/xsd/Manifest b/dev-cpp/xsd/Manifest
index 6ac33fc..b7380eb 100644
--- a/dev-cpp/xsd/Manifest
+++ b/dev-cpp/xsd/Manifest
@@ -1,5 +1,4 @@
-AUX 3.1.0-disable_examples_and_tests.patch 973 RMD160 55e355a6b5f54114af03bb7b64628317e9d726f8 SHA1 628e5d0700431ffd2e716c44cac3efb2902f0f1d SHA256 5c4ed9b0d9a5a5c2fc2f695f245c6d7a8e6b91ade58871cf1e1bd0820ef67edf
-DIST xsd-3.1.0.tar.bz2 815538 RMD160 2e3c73c4852f1177461fae3a16b7930703d67350 SHA1 463d69ae6304fb54ac5b4dac51d99fd4031b93cf SHA256 4898595c5c91bf244bf8e17facd671d19d2be549cf3516e623596542b39704c0
+AUX 3.2.0-disable_examples_and_tests.patch 1047 RMD160 9bf33f4b41b30d28a84f004c972c816dbf32c6b4 SHA1 030bfef56a9c9a70637ec822394aad1d04e31474 SHA256 49d378a9758d9051a695740652b85c5e149e96ffa2582b876a985cb2ede23df4
DIST xsd-3.2.0.tar.bz2 885392 RMD160 6ff21596706b57b56c59135a1420918a798ba395 SHA1 cbf104bdb158d68416d1e7184930f2f06e0df151 SHA256 97e7c07632197623a676ed6c852959d72fec0ccee7cd57d46c171e28b63584ce
-EBUILD xsd-3.1.0.ebuild 2407 RMD160 bcec0bbebe099576d9d37c8393ab5891a1006c3b SHA1 c0e9c6ec40fbbb00918ed3ef2878862e30a6f0d4 SHA256 e7fd8d3c0fa48b87f2a6b573556a472e7b6aa8b9c088c03214431e1923ab9802
-EBUILD xsd-3.2.0.ebuild 2751 RMD160 5bcbc0112ee02b12825029b9500d605bb674a51d SHA1 9e1af602157a1f823ca7b8b3ea695fa91900d8c0 SHA256 b0d8d6b0b3a159b793f1eabb9fc091a9a237bfe3148d15d43fadce5dde19bd36
+EBUILD xsd-3.2.0.ebuild 3059 RMD160 4de648d493751fe1cda55217ccac46e1052cd29d SHA1 4d275168b4ab79afe9ecbd050367c0ef7ea52ee4 SHA256 a0434ab4917966ed453f2a1c64b7201bf3d2848838978051c5d5dd1001bf4be2
+MISC metadata.xml 460 RMD160 3c7ae6033d1a697f2416b2abc7b850f6557170e4 SHA1 cf8795d5c904fecb2c2f62868c25b9615d872f9f SHA256 a4908a7a88e71e2ed8d8e110ddb459db961965e264fe89da5b0b77f38e115829
diff --git a/dev-cpp/xsd/files/3.1.0-disable_examples_and_tests.patch b/dev-cpp/xsd/files/3.2.0-disable_examples_and_tests.patch
index 34d1470..25a4c5f 100644
--- a/dev-cpp/xsd/files/3.1.0-disable_examples_and_tests.patch
+++ b/dev-cpp/xsd/files/3.2.0-disable_examples_and_tests.patch
@@ -1,5 +1,6 @@
---- makefile.orig 2008-05-25 11:11:42.000000000 +0200
-+++ makefile 2008-05-25 11:13:55.000000000 +0200
+diff -Naur xsd-3.2.0.orig/makefile xsd-3.2.0/makefile
+--- xsd-3.2.0.orig/makefile 2009-03-05 10:22:52.000000000 +0100
++++ xsd-3.2.0/makefile 2009-03-05 10:23:07.000000000 +0100
@@ -12,11 +12,7 @@
.PHONY: $(default) $(test) $(install) $(clean)
diff --git a/dev-cpp/xsd/metadata.xml b/dev-cpp/xsd/metadata.xml
new file mode 100644
index 0000000..c4af1ce
--- /dev/null
+++ b/dev-cpp/xsd/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>dev-zero@gentoo.org</email>
+ <name>Tiziano Müller</name>
+ </maintainer>
+ <use>
+ <flag name="ace">Add support for serializing XML using <pkg>dev-libs/ace</pkg> CDR streams</flag>
+ <flag name="dbxml">Enables support for <pkg>dev-libs/dbxml</pkg></flag>
+ </use>
+</pkgmetadata>
diff --git a/dev-cpp/xsd/xsd-3.1.0.ebuild b/dev-cpp/xsd/xsd-3.1.0.ebuild
deleted file mode 100644
index b275684..0000000
--- a/dev-cpp/xsd/xsd-3.1.0.ebuild
+++ /dev/null
@@ -1,97 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-inherit toolchain-funcs eutils versionator
-
-DESCRIPTION="An open-source, cross-platform W3C XML Schema to C++ data binding compiler."
-HOMEPAGE="http://www.codesynthesis.com/products/xsd/"
-SRC_URI="http://www.codesynthesis.com/download/${PN}/$(get_version_component_range 1-2)/${P}.tar.bz2"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="examples"
-
-RDEPEND=">=dev-libs/xerces-c-2.6
- dev-libs/boost
- >=dev-cpp/libcult-1.4.2
- >=dev-cpp/libxsd-frontend-1.15.0
- >=dev-cpp/libbackend-elements-1.6.1"
-DEPEND="${RDEPEND}
- dev-util/build"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}/${PV}-disable_examples_and_tests.patch"
-
- sed -i \
- -e '/GPLv2/d' \
- -e '/LICENSE/d' \
- -e "s|\$(install_doc_dir)/xsd|\$(install_doc_dir)/xsd-${PV}|" \
- -e "s|\$(install_doc_dir)/libxsd|\$(install_doc_dir)/libxsd-${PV}|" \
- makefile || die "sed failed"
-}
-
-src_compile() {
- mkdir -p \
- build/cxx/gnu \
- build/import/lib{boost,cult,backend-elements,xerces-c,xsd-frontend}
-
- cat >> build/configuration-dynamic.make <<- EOF
-xsd_with_ace := n
-xsd_with_xdr := y
-xsd_with_dbxml := n
-xsd_with_boost_date_time := y
-xsd_with_boost_serialization := y
- EOF
-
- cat >> build/cxx/configuration-dynamic.make <<- EOF
-cxx_id := gnu
-cxx_optimize := n
-cxx_debug := n
-cxx_rpath := n
-cxx_pp_extra_options :=
-cxx_extra_options := ${CXXFLAGS}
-cxx_ld_extra_options := ${LDFLAGS}
-cxx_extra_libs :=
-cxx_extra_lib_paths :=
- EOF
-
- cat >> build/cxx/gnu/configuration-dynamic.make <<- EOF
-cxx_gnu := $(tc-getCXX)
-cxx_gnu_libraries :=
-cxx_gnu_optimization_options :=
- EOF
-
- cat >> build/import/libcult/configuration-dynamic.make <<- EOF
-libcult_installed := true
- EOF
-
- cat >> build/import/libboost/configuration-dynamic.make <<- EOF
-libboost_installed := y
- EOF
-
- cat >> build/import/libbackend-elements/configuration-dynamic.make <<- EOF
-libbackend_elements_installed := true
- EOF
-
- cat >> build/import/libxerces-c/configuration-dynamic.make <<- EOF
-libxerces_c_installed := y
- EOF
-
- cat >> build/import/libxsd-frontend/configuration-dynamic.make <<- EOF
-libxsd_frontend_installed := true
- EOF
-
- emake || die "emake failed"
-}
-
-src_install() {
- emake install_prefix="${D}/usr" install || die "emake install failed"
-
- if use examples; then
- insinto /usr/share/doc/${PF}
- doins -r examples
- fi
-}
diff --git a/dev-cpp/xsd/xsd-3.2.0.ebuild b/dev-cpp/xsd/xsd-3.2.0.ebuild
index fd37643..e4d88f9 100644
--- a/dev-cpp/xsd/xsd-3.2.0.ebuild
+++ b/dev-cpp/xsd/xsd-3.2.0.ebuild
@@ -2,34 +2,31 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-inherit toolchain-funcs eutils versionator
+EAPI="2"
-MY_P="${P/_beta/.b}"
+inherit toolchain-funcs eutils versionator
DESCRIPTION="An open-source, cross-platform W3C XML Schema to C++ data binding compiler."
HOMEPAGE="http://www.codesynthesis.com/products/xsd/"
-SRC_URI="http://www.codesynthesis.com/download/${PN}/$(get_version_component_range 1-2)/${MY_P}.tar.bz2"
+SRC_URI="http://www.codesynthesis.com/download/${PN}/$(get_version_component_range 1-2)/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
-IUSE="ace dbxml examples"
+IUSE="ace dbxml doc examples"
-RDEPEND=">=dev-libs/xerces-c-2.6
+RDEPEND=">=dev-libs/xerces-c-3
dev-libs/boost
- >=dev-cpp/libcult-1.4.2
- >=dev-cpp/libxsd-frontend-1.15.0
- >=dev-cpp/libbackend-elements-1.6.1
+ >=dev-cpp/libcult-1.4.3
+ >=dev-cpp/libxsd-frontend-1.16.0
+ >=dev-cpp/libbackend-elements-1.7.0
ace? ( dev-libs/ace )
dbxml? ( dev-libs/dbxml )"
DEPEND="${RDEPEND}
- dev-util/build"
+ dev-util/build
+ doc? ( app-doc/doxygen )"
-S="${WORKDIR}/${MY_P}"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}/3.1.0-disable_examples_and_tests.patch"
+src_prepare() {
+ epatch "${FILESDIR}/${PV}-disable_examples_and_tests.patch"
sed -i \
-e '/GPLv2/d' \
@@ -47,7 +44,7 @@ use_yesno() {
use $1 && echo "y" || echo "n"
}
-src_compile() {
+src_configure() {
mkdir -p \
build/cxx/gnu \
build/import/lib{boost,cult,backend-elements,xerces-c,xsd-frontend}
@@ -97,13 +94,25 @@ libxerces_c_installed := y
cat >> build/import/libxsd-frontend/configuration-dynamic.make <<- EOF
libxsd_frontend_installed := y
EOF
+}
- emake || die "emake failed"
+src_compile() {
+ default
+ if use doc ; then
+ cd "${S}/documentation/cxx/tree/reference"
+ doxygen libxsd.doxygen || die "generating reference docs (tree) failed"
+ else
+ rm -rf "${S}/documentation/cxx/tree/reference"
+ fi
}
src_install() {
emake install_prefix="${D}/usr" install || die "emake install failed"
+ # Renaming binary/manpage to avoid collision with mono-2.0's xsd/xsd2
+ mv "${D}"/usr/bin/xsd{,gen}
+ mv "${D}"/usr/share/man/man1/xsd{,gen}.1
+
dodoc NEWS README
if use examples; then