From 1d6a8417237a293f229d6d5121ea485381092604 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Enar=20V=C3=A4ikene?= Date: Fri, 14 Oct 2011 10:29:10 +0300 Subject: [PATCH 1/1] Lisatud RIA poolt tellitud ametliku ID kaardi tarkvara v3.5_rc ebuild failid. --- app-crypt/qdigidoc/ChangeLog | 8 + app-crypt/qdigidoc/Manifest | 3 + app-crypt/qdigidoc/metadata.xml | 12 ++ app-crypt/qdigidoc/qdigidoc-3.5_rc.ebuild | 31 ++++ app-crypt/qesteidutil/ChangeLog | 8 + app-crypt/qesteidutil/Manifest | 3 + app-crypt/qesteidutil/metadata.xml | 12 ++ .../qesteidutil/qesteidutil-3.5_rc.ebuild | 28 ++++ dev-cpp/xsd/ChangeLog | 20 +++ dev-cpp/xsd/Manifest | 8 + .../3.3.0-disable_examples_and_tests.patch | 55 +++++++ dev-cpp/xsd/files/3.3.0-fix_include.patch | 13 ++ dev-cpp/xsd/files/3.3.0-fix_tests.patch | 13 ++ dev-cpp/xsd/files/3.3.0-xsdcxx-rename.patch | 121 ++++++++++++++ dev-cpp/xsd/metadata.xml | 11 ++ dev-cpp/xsd/xsd-3.3.0-r1.ebuild | 151 ++++++++++++++++++ dev-libs/libdigidoc/ChangeLog | 8 + dev-libs/libdigidoc/Manifest | 3 + dev-libs/libdigidoc/libdigidoc-3.5_rc.ebuild | 27 ++++ dev-libs/libdigidoc/metadata.xml | 15 ++ dev-libs/libdigidocpp/ChangeLog | 8 + dev-libs/libdigidocpp/Manifest | 3 + .../libdigidocpp/libdigidocpp-3.5_rc.ebuild | 31 ++++ dev-libs/libdigidocpp/metadata.xml | 13 ++ dev-libs/smartcardpp/ChangeLog | 8 + dev-libs/smartcardpp/Manifest | 3 + dev-libs/smartcardpp/metadata.xml | 12 ++ .../smartcardpp/smartcardpp-3.5_rc.ebuild | 22 +++ 28 files changed, 650 insertions(+) create mode 100644 app-crypt/qdigidoc/ChangeLog create mode 100644 app-crypt/qdigidoc/Manifest create mode 100644 app-crypt/qdigidoc/metadata.xml create mode 100644 app-crypt/qdigidoc/qdigidoc-3.5_rc.ebuild create mode 100644 app-crypt/qesteidutil/ChangeLog create mode 100644 app-crypt/qesteidutil/Manifest create mode 100644 app-crypt/qesteidutil/metadata.xml create mode 100644 app-crypt/qesteidutil/qesteidutil-3.5_rc.ebuild create mode 100644 dev-cpp/xsd/ChangeLog create mode 100644 dev-cpp/xsd/Manifest create mode 100644 dev-cpp/xsd/files/3.3.0-disable_examples_and_tests.patch create mode 100644 dev-cpp/xsd/files/3.3.0-fix_include.patch create mode 100644 dev-cpp/xsd/files/3.3.0-fix_tests.patch create mode 100644 dev-cpp/xsd/files/3.3.0-xsdcxx-rename.patch create mode 100644 dev-cpp/xsd/metadata.xml create mode 100644 dev-cpp/xsd/xsd-3.3.0-r1.ebuild create mode 100644 dev-libs/libdigidoc/ChangeLog create mode 100644 dev-libs/libdigidoc/Manifest create mode 100644 dev-libs/libdigidoc/libdigidoc-3.5_rc.ebuild create mode 100644 dev-libs/libdigidoc/metadata.xml create mode 100644 dev-libs/libdigidocpp/ChangeLog create mode 100644 dev-libs/libdigidocpp/Manifest create mode 100644 dev-libs/libdigidocpp/libdigidocpp-3.5_rc.ebuild create mode 100644 dev-libs/libdigidocpp/metadata.xml create mode 100644 dev-libs/smartcardpp/ChangeLog create mode 100644 dev-libs/smartcardpp/Manifest create mode 100644 dev-libs/smartcardpp/metadata.xml create mode 100644 dev-libs/smartcardpp/smartcardpp-3.5_rc.ebuild diff --git a/app-crypt/qdigidoc/ChangeLog b/app-crypt/qdigidoc/ChangeLog new file mode 100644 index 0000000..e627ade --- /dev/null +++ b/app-crypt/qdigidoc/ChangeLog @@ -0,0 +1,8 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +*qdigidoc-3.5_rc (12 Oct 2011) + + 12 Oct 2011; Enar Väikene qdigidoc-3.5_rc.ebuild: + Initial ebuild. diff --git a/app-crypt/qdigidoc/Manifest b/app-crypt/qdigidoc/Manifest new file mode 100644 index 0000000..9aa0f3a --- /dev/null +++ b/app-crypt/qdigidoc/Manifest @@ -0,0 +1,3 @@ +EBUILD qdigidoc-3.5_rc.ebuild 642 RMD160 02f4c607f2058f813c06cf0a962cb8d7debe570c SHA1 e419351e7ae3c03894a068570a5718d5dfcf0899 SHA256 91360db03dd4f0e06c7639244a776d7bf20f851949586dfd4cbd8ffef381e509 +MISC ChangeLog 243 RMD160 6bb5e56c4b57f99d9670e3a96a3099f943a44f45 SHA1 53d5a496a80a7263566c09e9c5e1413d426ac501 SHA256 a8c2da97dbe424f9edb358b5889f1cd6f5c3a6be2c964467772f0d42a528ea71 +MISC metadata.xml 357 RMD160 38da8ebb269609f190381b246fa9566afb9d7da1 SHA1 3838d4f9e0274d2a6418a93c1c86f53768e83b9b SHA256 25e42143d5f61b2de24ff22ae5c4ad70a43a791935b86b6ffe67090719e40edc diff --git a/app-crypt/qdigidoc/metadata.xml b/app-crypt/qdigidoc/metadata.xml new file mode 100644 index 0000000..cada057 --- /dev/null +++ b/app-crypt/qdigidoc/metadata.xml @@ -0,0 +1,12 @@ + + + + no-herd + + enar@vaikene.net + Enar Väikene + + + DigiDoc client application for the Estonian ID card. + + diff --git a/app-crypt/qdigidoc/qdigidoc-3.5_rc.ebuild b/app-crypt/qdigidoc/qdigidoc-3.5_rc.ebuild new file mode 100644 index 0000000..7e0b1ad --- /dev/null +++ b/app-crypt/qdigidoc/qdigidoc-3.5_rc.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 + +inherit cmake-utils subversion + +DESCRIPTION="DigiDoc client for the Estonian ID card." +HOMEPAGE="http://www.id.ee/" +ESVN_REPO_URI="https://svn.eesti.ee/projektid/idkaart_public/branches/3.5-rc/qdigidoc" +KEYWORDS="~amd64 ~x86" +LICENSE="LGPL-2.1" +SLOT="0" +IUSE="+opensc" + +RDEPEND=" + net-nds/openldap + dev-libs/libdigidoc + dev-libs/libdigidocpp + dev-libs/openssl + dev-libs/libp11 + opensc? ( dev-libs/opensc ) + >=x11-libs/qt-gui-4.4.0 + dev-libs/xerces-c + dev-cpp/xsd +" + +src_configure() { + cmake-utils_src_configure +} diff --git a/app-crypt/qesteidutil/ChangeLog b/app-crypt/qesteidutil/ChangeLog new file mode 100644 index 0000000..fed6096 --- /dev/null +++ b/app-crypt/qesteidutil/ChangeLog @@ -0,0 +1,8 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +*qesteidutil-3.5_rc (12 Oct 2011) + + 12 Oct 2011; Enar Väikene qesteidutil-3.5_rc.ebuild: + Initial ebuild. diff --git a/app-crypt/qesteidutil/Manifest b/app-crypt/qesteidutil/Manifest new file mode 100644 index 0000000..8fb9d7e --- /dev/null +++ b/app-crypt/qesteidutil/Manifest @@ -0,0 +1,3 @@ +EBUILD qesteidutil-3.5_rc.ebuild 587 RMD160 3f91e92fa57acbe7279eaa095eab738a6cd425e4 SHA1 c9b354e7da5f566117f767009d2448afafafd92b SHA256 9747a6903ad5955c12a57dcfa0205ffe2d8e3269a1b9d25b0f7a668aedc6afc2 +MISC ChangeLog 249 RMD160 3c4a55d5cda966fea04cceb6d01f7c5770e838ac SHA1 ddf008067fc18b49ec5b2544b8a14d52ea652300 SHA256 8cec764b8a0e7f06daff048924bedffe5587a77492e4f207b6929ca264c22a4e +MISC metadata.xml 330 RMD160 74f4dac6e426fbf80cee3f82eed8aa53b448a5f7 SHA1 5410b024d8ff1cea9d34a826a8ef9dc703881709 SHA256 0c2898298fe31bdbd62a098b3dd61ed9deb3133e1e334d06577bbb847f560852 diff --git a/app-crypt/qesteidutil/metadata.xml b/app-crypt/qesteidutil/metadata.xml new file mode 100644 index 0000000..529b15a --- /dev/null +++ b/app-crypt/qesteidutil/metadata.xml @@ -0,0 +1,12 @@ + + + + no-herd + + enar@vaikene.net + Enar Väikene + + + Estonian ID-card utility. + + diff --git a/app-crypt/qesteidutil/qesteidutil-3.5_rc.ebuild b/app-crypt/qesteidutil/qesteidutil-3.5_rc.ebuild new file mode 100644 index 0000000..ef73558 --- /dev/null +++ b/app-crypt/qesteidutil/qesteidutil-3.5_rc.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 + +inherit cmake-utils subversion + +DESCRIPTION="Estonian ID card utility." +HOMEPAGE="http://www.id.ee/" +ESVN_REPO_URI="https://svn.eesti.ee/projektid/idkaart_public/branches/3.5-rc/qesteidutil" +KEYWORDS="~amd64 ~x86" +LICENSE="LGPL-2.1" +SLOT="0" +IUSE="+opensc" + +RDEPEND=" + >=x11-libs/qt-gui-4.6.0 + >=x11-libs/qt-webkit-4.6.0 + opensc? ( dev-libs/opensc ) + dev-libs/libp11 + dev-libs/smartcardpp + sys-devel/libtool +" + +src_configure() { + cmake-utils_src_configure +} diff --git a/dev-cpp/xsd/ChangeLog b/dev-cpp/xsd/ChangeLog new file mode 100644 index 0000000..cb3e4ac --- /dev/null +++ b/dev-cpp/xsd/ChangeLog @@ -0,0 +1,20 @@ +# ChangeLog for dev-cpp/xsd +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-cpp/xsd/ChangeLog,v 1.2 2010/10/21 05:49:02 dev-zero Exp $ + +*xsd-3.3.0-r1 (11 Octo 2011) + + 11 Oct 2011; Enar Väikene xsd-3.3.0-r1.ebuild: + Fix for >=boost-1.46, see bug #372925 for details. + + 21 Oct 2010; Tiziano Müller xsd-3.3.0.ebuild: + Added example xsd file to docs. + +*xsd-3.3.0 (20 Oct 2010) + + 20 Oct 2010; Tiziano Müller + +files/3.3.0-disable_examples_and_tests.patch, + +files/3.3.0-fix_include.patch, +files/3.3.0-fix_tests.patch, + +files/3.3.0-xsdcxx-rename.patch, +xsd-3.3.0.ebuild, +metadata.xml: + Initial commit (ebuild written by me). + diff --git a/dev-cpp/xsd/Manifest b/dev-cpp/xsd/Manifest new file mode 100644 index 0000000..39d8e51 --- /dev/null +++ b/dev-cpp/xsd/Manifest @@ -0,0 +1,8 @@ +AUX 3.3.0-disable_examples_and_tests.patch 2198 RMD160 97c4c410d1bd5f43ad26872ec9503b2e99d66ca0 SHA1 4cd446cd57f1f1fa7a70ba126fb743cc9afddf16 SHA256 03bbbd8253082dd4f843a39e6642257baa6efe6501206e445b24e123ba1e3803 +AUX 3.3.0-fix_include.patch 510 RMD160 1678b00d6c3903d96ed799c0940da80c19cdb3b0 SHA1 9e3fc1f220613928f6b44712ffbe9c959ae101b7 SHA256 55edb0523f7bbb94ca488990a57442507fdb89a7b74edeff52a053223194b516 +AUX 3.3.0-fix_tests.patch 518 RMD160 cafe63bb542e6c37d44bcbac3858ded394b18506 SHA1 1e9947f8033290c7d5ee5291f523f522e3763ddd SHA256 c108b896b1c3a3f4da115a89c2e1ef3593a4aaef10639efe7a6072def28c4668 +AUX 3.3.0-xsdcxx-rename.patch 3825 RMD160 2413da93c44d404fe6242ea885d58d8492f4776e SHA1 f28eb03fe1255758a20060bf944b9fe640885a92 SHA256 d0b9193d9501c6d1d718a3b45de8d6e2a0e20ce11b6f68a4d73d2f77dbe3ceca +DIST xsd-3.3.0.tar.bz2 999479 RMD160 881aa481bb3c31a5b913450b7dd33e4f94441f78 SHA1 ebd8f13f164dafa7c4a107686a1402bbfb61c2c2 SHA256 6157e3b0f3108f69a8d9344956020c234841d4a1de28745b19e45f8ee34b0c66 +EBUILD xsd-3.3.0-r1.ebuild 4102 RMD160 db2a95b652a3dc2213ec573c9ce708ae5b3fe47a SHA1 84fc07e75d37bd133bbd1a718cc88c419834f263 SHA256 b486d6b04711df93ee16595d5dbf61f4d7a523fa5cca17e4d47efbc4e00d52bc +MISC ChangeLog 760 RMD160 39e5daa9431329702da603097e26df9daedb8092 SHA1 f03874397d0f29c7c96a305f4a4210259d66da23 SHA256 a441a3c0302dc22c64f36e61b38bfd486288283b0f66ab21832c8a9c85ced14e +MISC metadata.xml 335 RMD160 d0683ddbddc8d466da1b5dd6239a1a67156bc3d0 SHA1 40a2147e731062c95fd724d8e7ce1efddd940bfb SHA256 3c49f7ca9d13a17bbe874ce93eb199e7c5d185fc063f34920e056e0d37dfa06d diff --git a/dev-cpp/xsd/files/3.3.0-disable_examples_and_tests.patch b/dev-cpp/xsd/files/3.3.0-disable_examples_and_tests.patch new file mode 100644 index 0000000..605d163 --- /dev/null +++ b/dev-cpp/xsd/files/3.3.0-disable_examples_and_tests.patch @@ -0,0 +1,55 @@ +diff --git a/makefile b/makefile +index 0c07b0d..32c2c93 100644 +--- a/makefile ++++ b/makefile +@@ -14,8 +14,6 @@ clean := $(out_base)/.clean + cleandoc := $(out_base)/.cleandoc + + $(default): $(out_base)/xsd/ \ +- $(out_base)/tests/ \ +- $(out_base)/examples/ \ + $(out_base)/documentation/ + + # Test. +@@ -27,7 +25,6 @@ $(test): $(out_base)/tests/.test + # + $(install): $(out_base)/xsd/.install \ + $(out_base)/libxsd/.install \ +- $(out_base)/examples/.install \ + $(out_base)/documentation/.install + $(call install-dir,$(src_base)/dist/examples/build,$(install_doc_dir)/xsd/examples/build) + $(call install-dir,$(src_base)/dist/examples/cxx,$(install_doc_dir)/xsd/examples/cxx,-name makefile) +@@ -43,7 +40,6 @@ $(install): $(out_base)/xsd/.install \ + # + $(dist): $(out_base)/xsd/.dist \ + $(out_base)/libxsd/.dist \ +- $(out_base)/examples/.dist \ + $(out_base)/documentation/.dist + $(call install-dir,$(src_base)/dist/examples/build,$(dist_prefix)/examples/build) + $(call install-dir,$(src_base)/dist/examples/cxx,$(dist_prefix)/examples/cxx,-name makefile) +@@ -57,7 +53,6 @@ $(dist): $(out_base)/xsd/.dist \ + + $(dist-win): $(out_base)/xsd/.dist-win \ + $(out_base)/libxsd/.dist-win \ +- $(out_base)/examples/.dist-win \ + $(out_base)/documentation/.dist-win + $(call install-dir,$(src_base)/dist/etc,$(dist_prefix)/etc) + $(call install-dir,$(src_base)/dist/examples/build,$(dist_prefix)/examples/build) +@@ -81,9 +76,7 @@ $(dist-win): $(out_base)/xsd/.dist-win \ + + # Clean. + # +-$(clean): $(out_base)/xsd/.clean \ +- $(out_base)/tests/.clean \ +- $(out_base)/examples/.clean ++$(clean): $(out_base)/xsd/.clean + + $(cleandoc): $(out_base)/documentation/.cleandoc + +@@ -91,6 +84,4 @@ $(call include,$(bld_root)/install.make) + + $(call import,$(src_base)/xsd/makefile) + $(call import,$(src_base)/libxsd/makefile) +-$(call import,$(src_base)/tests/makefile) +-$(call import,$(src_base)/examples/makefile) + $(call import,$(src_base)/documentation/makefile) diff --git a/dev-cpp/xsd/files/3.3.0-fix_include.patch b/dev-cpp/xsd/files/3.3.0-fix_include.patch new file mode 100644 index 0000000..5ba7420 --- /dev/null +++ b/dev-cpp/xsd/files/3.3.0-fix_include.patch @@ -0,0 +1,13 @@ +diff --git a/xsd/xsd.cxx b/xsd/xsd.cxx +index 1c66a8a..dbbfed9 100644 +--- a/xsd/xsd.cxx ++++ b/xsd/xsd.cxx +@@ -18,7 +18,7 @@ + + #include + #include +-#include ++#include + #include + #include + #include diff --git a/dev-cpp/xsd/files/3.3.0-fix_tests.patch b/dev-cpp/xsd/files/3.3.0-fix_tests.patch new file mode 100644 index 0000000..f8de00d --- /dev/null +++ b/dev-cpp/xsd/files/3.3.0-fix_tests.patch @@ -0,0 +1,13 @@ +diff --git a/tests/cxx/tree/prefix/makefile b/tests/cxx/tree/prefix/makefile +index 3317161..77b4b0a 100644 +--- a/tests/cxx/tree/prefix/makefile ++++ b/tests/cxx/tree/prefix/makefile +@@ -35,7 +35,7 @@ gen := $(addprefix $(out_base)/,$(genf)) + + $(gen): xsd := $(out_root)/xsd/xsd + $(gen): xsd_options := --generate-serialization --generate-polymorphic \ +---polymorphic-type foo\\\#base --root-element root ++--polymorphic-type foo\\\\\#base --root-element root + $(gen): $(out_root)/xsd/xsd + + $(call include-dep,$(dep)) diff --git a/dev-cpp/xsd/files/3.3.0-xsdcxx-rename.patch b/dev-cpp/xsd/files/3.3.0-xsdcxx-rename.patch new file mode 100644 index 0000000..b99a44e --- /dev/null +++ b/dev-cpp/xsd/files/3.3.0-xsdcxx-rename.patch @@ -0,0 +1,121 @@ +diff --git a/documentation/xsd.1 b/documentation/xsd.1 +index 8b97b14..213f6f6 100644 +--- a/documentation/xsd.1 ++++ b/documentation/xsd.1 +@@ -1,16 +1,16 @@ + .\" Process this file with +-.\" groff -man -Tascii xsd.1 ++.\" groff -man -Tascii xsdcxx.1 + .\" + .TH XSD 1 "April 2010" "XSD 3.3.0" + .SH NAME +-xsd \- W3C XML Schema to C++ Compiler ++xsdcxx \- W3C XML Schema to C++ Compiler + .\" + .\" + .\" + .\"-------------------------------------------------------------------- + .SH SYNOPSIS + .\"-------------------------------------------------------------------- +-.B xsd ++.B xsdcxx + .I command + .B [ + .I options +@@ -20,19 +20,19 @@ xsd \- W3C XML Schema to C++ Compiler + .I file + .B ...] + .in +-.B xsd help ++.B xsdcxx help + .B [ + .I command + .B ] + .in +-.B xsd version ++.B xsdcxx version + .\" + .\" + .\" + .\"-------------------------------------------------------------------- + .SH DESCRIPTION + .\"-------------------------------------------------------------------- +-.B xsd ++.B xsdcxx + generates vocabulary-specific, statically-typed C++ mapping from W3C XML + Schema definitions. Particular mapping to produce is selected by a + .IR command . +@@ -203,7 +203,7 @@ For example, if you have file + with namespace + .B http://example.com/hello + and you run +-.B xsd ++.B xsdcxx + on this file, then the string in question will be: + + .B hello.xsd. http://example.com/hello +@@ -1877,7 +1877,7 @@ option. With this approach you don't need to worry about shell quoting. + .\" + .SH DIAGNOSTICS + If the input file is not a valid W3C XML Schema definition, +-.B xsd ++.B xsdcxx + will issue diagnostic messages to + .B STDERR + and exit with non-zero exit code. +diff --git a/documentation/xsd.xhtml b/documentation/xsd.xhtml +index 4acf822..af630bf 100644 +--- a/documentation/xsd.xhtml ++++ b/documentation/xsd.xhtml +@@ -50,19 +50,19 @@ + +

NAME

+ +-

xsd - W3C XML Schema to C++ Compiler

++

xsdcxx - W3C XML Schema to C++ Compiler

+ +

SYNOPSIS

+ +
+-
xsd command [options] file [file ...]
+-
xsd help [command]
+-
xsd version
++
xsdcxx command [options] file [file ...]
++
xsdcxx help [command]
++
xsdcxx version
+
+ +

DESCRIPTION

+ +-

xsd generates vocabulary-specific, statically-typed ++

xsdcxx generates vocabulary-specific, statically-typed + C++ mapping from W3C XML Schema definitions. Particular mapping to + produce is selected by a command. Each mapping has + a number of mapping-specific options that should +@@ -104,7 +104,7 @@ + +

help
+
Print usage information and exit. Use +-

xsd help command

++

xsdcxx help command

+ for command-specific help. +
+ +@@ -174,7 +174,7 @@ + +

For example, if you have file hello.xsd + with namespace http://example.com/hello and you run +- xsd on this file, then the string in question ++ xsdcxx on this file, then the string in question + will be:

+ +

hello.xsd. http://example.com/hello

+@@ -1575,7 +1575,7 @@ namespace .* +

DIAGNOSTICS

+ +

If the input file is not a valid W3C XML Schema definition, +- xsd will issue diagnostic messages to STDERR ++ xsdcxx will issue diagnostic messages to STDERR + and exit with non-zero exit code.

+ +

BUGS

diff --git a/dev-cpp/xsd/metadata.xml b/dev-cpp/xsd/metadata.xml new file mode 100644 index 0000000..e5a5bb3 --- /dev/null +++ b/dev-cpp/xsd/metadata.xml @@ -0,0 +1,11 @@ + + + + + dev-zero@gentoo.org + Tiziano Müller + + + Enable support for serializing to/from an ACE CDR stream + + diff --git a/dev-cpp/xsd/xsd-3.3.0-r1.ebuild b/dev-cpp/xsd/xsd-3.3.0-r1.ebuild new file mode 100644 index 0000000..e31d4a3 --- /dev/null +++ b/dev-cpp/xsd/xsd-3.3.0-r1.ebuild @@ -0,0 +1,151 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-cpp/xsd/xsd-3.3.0.ebuild,v 1.2 2010/10/21 05:49:02 dev-zero Exp $ + +EAPI="2" + +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 ~x86" +IUSE="ace doc examples zlib" + +RDEPEND=">=dev-libs/xerces-c-3 + >=dev-libs/boost-1.40.0 + >=dev-cpp/libcult-1.4.6 + >=dev-cpp/libxsd-frontend-1.17.0 + >=dev-cpp/libbackend-elements-1.7.2 + ace? ( dev-libs/ace ) + zlib? ( sys-libs/zlib )" +DEPEND="${RDEPEND} + dev-util/build + doc? ( app-doc/doxygen )" + +src_prepare() { + epatch \ + "${FILESDIR}/${PV}-disable_examples_and_tests.patch" \ + "${FILESDIR}/${PV}-xsdcxx-rename.patch" \ + "${FILESDIR}/${PV}-fix_include.patch" \ + "${FILESDIR}/${PV}-fix_tests.patch" +} + +use_yesno() { + use $1 && echo "y" || echo "n" +} + +src_configure() { + BOOST_PKG="$(best_version ">=dev-libs/boost-1.40.0")" + BOOST_VER="$(get_version_component_range 1-2 "${BOOST_PKG/*boost-/}")" + BOOST_VER="$(replace_all_version_separators _ "${BOOST_VER}")" + BOOST_INC="/usr/include/boost-${BOOST_VER}" + + # Maintainer notes: + # * xqilla is not required, this is only whether or not to include the xpath + # examples which require xqilla + mkdir -p \ + build/cxx/gnu \ + build/import/lib{ace,boost,cult,backend-elements,xerces-c,xqilla,xsd-frontend,z} + + cat >> build/configuration-dynamic.make <<- EOF +xsd_with_zlib := $(use_yesno zlib) +xsd_with_ace := $(use_yesno ace) +xsd_with_xdr := y +xsd_with_dbxml := n +xsd_with_xqilla := y +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} -DBOOST_FILESYSTEM_VERSION=2 -I${BOOST_INC} +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/libace/configuration-dynamic.make <<- EOF +libace_installed := y + EOF + + cat >> build/import/libbackend-elements/configuration-dynamic.make <<- EOF +libbackend_elements_installed := y + EOF + + cat >> build/import/libboost/configuration-dynamic.make <<- EOF +libboost_installed := y +libboost_suffix := -mt-${BOOST_VER} +libboost_system := n + EOF + + cat >> build/import/libcult/configuration-dynamic.make <<- EOF +libcult_installed := y + EOF + + cat >> build/import/libxerces-c/configuration-dynamic.make <<- EOF +libxerces_c_installed := y + EOF + + cat >> build/import/libxqilla/configuration-dynamic.make <<- EOF +libxqilla_installed := y + EOF + + cat >> build/import/libxsd-frontend/configuration-dynamic.make <<- EOF +libxsd_frontend_installed := y + EOF + + cat >> build/import/libz/configuration-dynamic.make <<- EOF +libz_installed := y + EOF + + MAKEOPTS+=" verbose=1" +} + +src_compile() { + default + if use doc ; then + emake -C "${S}/documentation/cxx/tree/reference" || die "generating reference docs failed" + fi + if use test ; then + XERCESC_NLS_HOME="${ROOT}usr/share/xerces-c/msg" emake -C "${S}/tests" || die "building tests failed" + 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{,cxx} + mv "${D}"/usr/share/man/man1/xsd{,cxx}.1 + + rm -rf "${D}/usr/share/doc" + + dohtml -r -A xhtml -A pdf documentation/* + + dodoc NEWS README FLOSSE documentation/custom-literals.xsd + newdoc libxsd/README README.libxsd + newdoc libxsd/FLOSSE FLOSSE.libxsd + + if use examples; then + insinto /usr/share/doc/${PF} + doins -r examples + fi +} + +src_test() { + XERCESC_NLS_HOME="${ROOT}usr/share/xerces-c/msg" emake -C "${S}/tests" test || die "tests failed" +} diff --git a/dev-libs/libdigidoc/ChangeLog b/dev-libs/libdigidoc/ChangeLog new file mode 100644 index 0000000..d71b570 --- /dev/null +++ b/dev-libs/libdigidoc/ChangeLog @@ -0,0 +1,8 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +*libdigidoc-3.5_rc (12 Oct 2011) + + 12 Oct 2011; Enar Väikene libdigidoc-3.5_rc.ebuild: + Initial ebuild. diff --git a/dev-libs/libdigidoc/Manifest b/dev-libs/libdigidoc/Manifest new file mode 100644 index 0000000..66de7e2 --- /dev/null +++ b/dev-libs/libdigidoc/Manifest @@ -0,0 +1,3 @@ +EBUILD libdigidoc-3.5_rc.ebuild 584 RMD160 f95f1997c5ad13e8539df31882f19e749fbbd21c SHA1 2abb9312b73c9e9c62f44f0a179a72fc345aee93 SHA256 d24651e97dc3a29400dc9a45eeb36761d2fee1b41a180060463a85be7c97347a +MISC ChangeLog 247 RMD160 2f52b0068fa007d3e96869300378edbcbd76cb05 SHA1 c8aa212090a3b0702defdcb219752d7d7232a832 SHA256 4cc6dbca9b64693bcabddbcfd4150a213d82926ea95ad6cfa00e6378401ec5ff +MISC metadata.xml 580 RMD160 c90373bca96121ac198e322f9f8749537d4a1ee5 SHA1 92baafe78ebc52e756087c68aa6f7ec0eca16281 SHA256 d0ecdcb1022e22ef6ba2014de21dafc8c2afb8e8ae6bb6c7774d0ebfe58c0e21 diff --git a/dev-libs/libdigidoc/libdigidoc-3.5_rc.ebuild b/dev-libs/libdigidoc/libdigidoc-3.5_rc.ebuild new file mode 100644 index 0000000..6a079a6 --- /dev/null +++ b/dev-libs/libdigidoc/libdigidoc-3.5_rc.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 + +inherit cmake-utils subversion + +DESCRIPTION="Generic library implementing the XAdES digital signature standard." +HOMEPAGE="http://www.id.ee/" +ESVN_REPO_URI="https://svn.eesti.ee/projektid/idkaart_public/branches/3.5-rc/libdigidoc" +KEYWORDS="~amd64 ~x86" +LICENSE="LGPL-2.1" +SLOT="0" +IUSE="+opensc" + +DEPEND=" + dev-libs/libxml2 + dev-libs/openssl + opensc? ( dev-libs/opensc ) + sys-libs/zlib + virtual/libiconv +" + +src_configure() { + cmake-utils_src_configure +} diff --git a/dev-libs/libdigidoc/metadata.xml b/dev-libs/libdigidoc/metadata.xml new file mode 100644 index 0000000..9ffcac7 --- /dev/null +++ b/dev-libs/libdigidoc/metadata.xml @@ -0,0 +1,15 @@ + + + + no-herd + + enar@vaikene.net + Enar Väikene + + + DigiDoc is a generic library implementing the XAdES digital signature standard. + It allows to create, sign, verify, and modify digidoc XML containers. Support + for doing hardware cryptographic signing operations is porivded via PKCS#11 + on all platforms and CSP on win32. + + diff --git a/dev-libs/libdigidocpp/ChangeLog b/dev-libs/libdigidocpp/ChangeLog new file mode 100644 index 0000000..3430800 --- /dev/null +++ b/dev-libs/libdigidocpp/ChangeLog @@ -0,0 +1,8 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +*libdigidocpp-3.5_rc (12 Oct 2011) + + 12 Oct 2011; Enar Väikene libdigidocpp-3.5_rc.ebuild: + Initial ebuild. diff --git a/dev-libs/libdigidocpp/Manifest b/dev-libs/libdigidocpp/Manifest new file mode 100644 index 0000000..22982b4 --- /dev/null +++ b/dev-libs/libdigidocpp/Manifest @@ -0,0 +1,3 @@ +EBUILD libdigidocpp-3.5_rc.ebuild 657 RMD160 d081fe134b0a612406a048945c13f22f1ef35be9 SHA1 d8c6f4ab659418501110afaf1016df20f967f304 SHA256 baaef0a0e81e024a9bb3cdc459e71971b9613ecbe406c11ad2dff62b99f26626 +MISC ChangeLog 251 RMD160 a4a4481ff5009debbcf517efbd165f5cdf364239 SHA1 5b2fe10b604c95377c1b85b7b9587b5f01cc63c0 SHA256 fdcd2e76aac7196ab35ba5011a6aa7ad4d1ae2d5a68aa5c254e53c90dd868086 +MISC metadata.xml 439 RMD160 ddb59213118563c394d2dc938087effc1db1e912 SHA1 9ccf9ad0af12cd8b79bda0c8a9acb081d6f977a9 SHA256 83eebd350619b0093ddfcbda634216156c3638c24f6a41363bfb5fe8b4841d28 diff --git a/dev-libs/libdigidocpp/libdigidocpp-3.5_rc.ebuild b/dev-libs/libdigidocpp/libdigidocpp-3.5_rc.ebuild new file mode 100644 index 0000000..0a7f872 --- /dev/null +++ b/dev-libs/libdigidocpp/libdigidocpp-3.5_rc.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 + +inherit cmake-utils subversion + +DESCRIPTION="C++ library for creating and validating BDOC-1.0 documents." +HOMEPAGE="http://www.id.ee/" +ESVN_REPO_URI="https://svn.eesti.ee/projektid/idkaart_public/branches/3.5-rc/libdigidocpp" +KEYWORDS="~amd64 ~x86" +LICENSE="LGPL-2.1" +SLOT="0" +IUSE="+opensc" + +DEPEND=" + dev-libs/libdigidoc + dev-libs/openssl + dev-libs/libp11 + opensc? ( dev-libs/opensc ) + dev-libs/xerces-c[icu] + dev-libs/xml-security-c + dev-cpp/xsd + sys-libs/zlib + dev-libs/icu +" + +src_configure() { + cmake-utils_src_configure +} diff --git a/dev-libs/libdigidocpp/metadata.xml b/dev-libs/libdigidocpp/metadata.xml new file mode 100644 index 0000000..fbec77d --- /dev/null +++ b/dev-libs/libdigidocpp/metadata.xml @@ -0,0 +1,13 @@ + + + + no-herd + + enar@vaikene.net + Enar Väikene + + + libdigidocpp is a C++ library for creating and validating BDOC-1.0 documents. + Older Digidoc formats(DIGIDOC-XML) are not supported. + + diff --git a/dev-libs/smartcardpp/ChangeLog b/dev-libs/smartcardpp/ChangeLog new file mode 100644 index 0000000..ce39465 --- /dev/null +++ b/dev-libs/smartcardpp/ChangeLog @@ -0,0 +1,8 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +*smartcardpp-3.5_rc (12 Oct 2011) + + 12 Oct 2011; Enar Väikene smartcard-3.5_rc.ebuild: + Initial ebuild. diff --git a/dev-libs/smartcardpp/Manifest b/dev-libs/smartcardpp/Manifest new file mode 100644 index 0000000..f4db1b9 --- /dev/null +++ b/dev-libs/smartcardpp/Manifest @@ -0,0 +1,3 @@ +EBUILD smartcardpp-3.5_rc.ebuild 516 RMD160 ab40c7b2673102e0f94b863512bf067889f53b3d SHA1 75a6422d3def0f5fc73a744b35503a55969cd068 SHA256 560ff747331940fbacef31d347e792d086b113572a1ddb2bb0280e18d264e6a5 +MISC ChangeLog 247 RMD160 de235c5c23dc1ac6cd0cd604aec9457883155735 SHA1 8d5155d70fae8f912e06bc6abd3696512ff9b2f7 SHA256 1e92112b59de94c96e92d391eda0e8dc8626b20e87b6e2e6d295274c5bf4191e +MISC metadata.xml 400 RMD160 a64ce3a5d121b4270cc12a692915efc370d36bf7 SHA1 014d0b3e22bb79599ef095c9b8e31e78e06f575f SHA256 b74788a9803054751f5a7c524ee24d1d489c1a90feae045dc59ae9da3b7d617c diff --git a/dev-libs/smartcardpp/metadata.xml b/dev-libs/smartcardpp/metadata.xml new file mode 100644 index 0000000..154e22a --- /dev/null +++ b/dev-libs/smartcardpp/metadata.xml @@ -0,0 +1,12 @@ + + + + no-herd + + enar@vaikene.net + Enar Väikene + + + A set of C++ classes to manage smartcard communications and implement basic command primitives. + + diff --git a/dev-libs/smartcardpp/smartcardpp-3.5_rc.ebuild b/dev-libs/smartcardpp/smartcardpp-3.5_rc.ebuild new file mode 100644 index 0000000..b820208 --- /dev/null +++ b/dev-libs/smartcardpp/smartcardpp-3.5_rc.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 + +inherit cmake-utils subversion + +DESCRIPTION="A set of C++ classes to manage smartcard communications and implement basic command primitives." +HOMEPAGE="http://www.id.ee/" +ESVN_REPO_URI="https://svn.eesti.ee/projektid/idkaart_public/branches/3.5-rc/smartcardpp" +KEYWORDS="~amd64 ~x86" +LICENSE="BSD" +SLOT="0" + +DEPEND=" + sys-apps/pcsc-lite +" + +src_configure() { + cmake-utils_src_configure +} -- 2.45.0