From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- dev-libs/389-adminutil/389-adminutil-1.1.15.ebuild | 46 + dev-libs/389-adminutil/Manifest | 5 + dev-libs/389-adminutil/metadata.xml | 5 + dev-libs/9libs/9libs-1.0-r2.ebuild | 47 + dev-libs/9libs/Manifest | 6 + dev-libs/9libs/files/9libs-va_list.patch | 115 ++ dev-libs/9libs/metadata.xml | 5 + dev-libs/DirectFB/DirectFB-1.7.6.ebuild | 204 +++ dev-libs/DirectFB/Manifest | 13 + ...x-compiler-error-when-building-for-thumb2.patch | 50 + .../DirectFB/files/DirectFB-1.6.3-pkgconfig.patch | 22 + .../DirectFB/files/DirectFB-1.6.3-setregion.patch | 85 + dev-libs/DirectFB/files/DirectFB-1.7.1-build.patch | 27 + dev-libs/DirectFB/files/DirectFB-1.7.5-flags.patch | 63 + .../DirectFB/files/DirectFB-1.7.6-cle266.patch | 13 + .../DirectFB/files/DirectFB-1.7.6-idivine.patch | 57 + dev-libs/DirectFB/files/DirectFB-1.7.6-tslib.patch | 33 + dev-libs/DirectFB/metadata.xml | 44 + dev-libs/Ice/Ice-3.5.1.ebuild | 284 ++++ dev-libs/Ice/Ice-3.6.3-r1.ebuild | 349 ++++ dev-libs/Ice/Ice-3.6.3.ebuild | 348 ++++ dev-libs/Ice/Manifest | 13 + dev-libs/Ice/files/Ice-3.6.3-csharp.patch | 50 + dev-libs/Ice/files/Ice-3.6.3-libressl.patch | 164 ++ dev-libs/Ice/files/Ice-3.6.3-no-arch-opts.patch | 50 + dev-libs/Ice/metadata.xml | 17 + dev-libs/MicroJSON/Manifest | 7 + dev-libs/MicroJSON/MicroJSON-0.3.1.ebuild | 18 + dev-libs/MicroJSON/MicroJSON-0.3.2.ebuild | 18 + dev-libs/MicroJSON/metadata.xml | 16 + dev-libs/OpenNI/Manifest | 10 + dev-libs/OpenNI/OpenNI-1.5.7.10.ebuild | 108 ++ dev-libs/OpenNI/OpenNI-9999.ebuild | 108 ++ dev-libs/OpenNI/files/OpenNI-1.5.7.10-gcc6.patch | 145 ++ dev-libs/OpenNI/files/jpeg.patch | 23 + dev-libs/OpenNI/files/soname.patch | 13 + dev-libs/OpenNI/files/tinyxml.patch | 29 + dev-libs/OpenNI/metadata.xml | 11 + dev-libs/OpenNI2/Manifest | 12 + dev-libs/OpenNI2/OpenNI2-2.2_beta2.ebuild | 100 ++ dev-libs/OpenNI2/OpenNI2-9999.ebuild | 98 ++ dev-libs/OpenNI2/files/c++14.patch | 145 ++ dev-libs/OpenNI2/files/jpeg.patch | 90 + dev-libs/OpenNI2/files/libopenni2.pc.in | 10 + dev-libs/OpenNI2/files/pthread.patch | 26 + dev-libs/OpenNI2/files/rpath.patch | 13 + dev-libs/OpenNI2/files/soname.patch | 13 + dev-libs/OpenNI2/metadata.xml | 11 + dev-libs/OpenSRF/Manifest | 9 + dev-libs/OpenSRF/OpenSRF-1.2.0.ebuild | 118 ++ dev-libs/OpenSRF/OpenSRF-2.1.1.ebuild | 122 ++ .../OpenSRF/files/OpenSRF-1.2.0-buildfix.patch | 136 ++ .../OpenSRF/files/OpenSRF-2.1.1-buildfix.patch | 70 + dev-libs/OpenSRF/metadata.xml | 7 + dev-libs/UTF8Strings/Manifest | 7 + dev-libs/UTF8Strings/UTF8Strings-1.14.0.ebuild | 14 + dev-libs/UTF8Strings/UTF8Strings-1.14.2.ebuild | 14 + dev-libs/UTF8Strings/metadata.xml | 16 + dev-libs/ace/Manifest | 11 + dev-libs/ace/ace-5.7.2.ebuild | 84 + dev-libs/ace/ace-5.8.3.ebuild | 87 + dev-libs/ace/metadata.xml | 14 + dev-libs/actor-framework/Manifest | 18 + .../actor-framework/actor-framework-0.13.2.ebuild | 113 ++ .../actor-framework/actor-framework-0.14.5.ebuild | 113 ++ dev-libs/actor-framework/metadata.xml | 33 + dev-libs/amdgpu-pro-opencl/Manifest | 5 + .../amdgpu-pro-opencl-17.10.429170.ebuild | 77 + .../amdgpu-pro-opencl-17.30.458935-r1.ebuild | 81 + dev-libs/amdgpu-pro-opencl/metadata.xml | 14 + dev-libs/angelscript/Manifest | 5 + dev-libs/angelscript/angelscript-2.31.2.ebuild | 48 + dev-libs/angelscript/metadata.xml | 14 + dev-libs/antlr-c/Manifest | 6 + dev-libs/antlr-c/antlr-c-3.5.2.ebuild | 63 + dev-libs/antlr-c/files/3.5-cflags.patch | 14 + dev-libs/antlr-c/metadata.xml | 11 + dev-libs/appstream-glib/Manifest | 7 + .../appstream-glib/appstream-glib-0.6.13.ebuild | 61 + .../appstream-glib/appstream-glib-0.6.8.ebuild | 61 + dev-libs/appstream-glib/metadata.xml | 11 + dev-libs/appstream/Manifest | 5 + dev-libs/appstream/appstream-0.10.6-r1.ebuild | 71 + dev-libs/appstream/appstream-0.11.5.ebuild | 60 + dev-libs/appstream/metadata.xml | 14 + dev-libs/apr-util/Manifest | 10 + dev-libs/apr-util/apr-util-1.5.4-r1.ebuild | 115 ++ dev-libs/apr-util/apr-util-1.5.4-r3.ebuild | 139 ++ dev-libs/apr-util/apr-util-1.5.4.ebuild | 112 ++ dev-libs/apr-util/apr-util-1.6.0.ebuild | 135 ++ .../apr-util/files/apr-util-1.5.3-sysroot.patch | 36 + dev-libs/apr-util/metadata.xml | 14 + dev-libs/apr/Manifest | 12 + dev-libs/apr/apr-1.5.2.ebuild | 143 ++ dev-libs/apr/apr-1.6.2.ebuild | 146 ++ dev-libs/apr/files/apr-1.5.0-cross-types.patch | 63 + dev-libs/apr/files/apr-1.5.0-libtool.patch | 17 + dev-libs/apr/files/apr-1.5.0-mint.patch | 22 + dev-libs/apr/files/apr-1.5.0-sysroot.patch | 37 + dev-libs/apr/files/config.layout.patch | 25 + dev-libs/apr/metadata.xml | 12 + dev-libs/argtable/Manifest | 5 + dev-libs/argtable/argtable-2.13.ebuild | 47 + dev-libs/argtable/metadata.xml | 7 + dev-libs/asyncresolv/Manifest | 5 + dev-libs/asyncresolv/asyncresolv-0.0.3.ebuild | 28 + dev-libs/asyncresolv/metadata.xml | 11 + dev-libs/atf/Manifest | 3 + dev-libs/atf/atf-0.21.ebuild | 22 + dev-libs/atf/metadata.xml | 8 + dev-libs/atk/Manifest | 7 + dev-libs/atk/atk-2.22.0.ebuild | 52 + dev-libs/atk/atk-2.24.0.ebuild | 52 + dev-libs/atk/metadata.xml | 8 + dev-libs/bareos-fastlzlib/Manifest | 7 + .../bareos-fastlzlib-0_pre20140912.ebuild | 28 + .../bareos-fastlzlib-0_pre20150524.ebuild | 28 + dev-libs/bareos-fastlzlib/metadata.xml | 11 + dev-libs/bcm2835/Manifest | 7 + dev-libs/bcm2835/bcm2835-1.46.ebuild | 26 + dev-libs/bcm2835/bcm2835-1.52.ebuild | 25 + dev-libs/bcm2835/metadata.xml | 8 + dev-libs/beecrypt/Manifest | 8 + dev-libs/beecrypt/beecrypt-4.2.1-r4.ebuild | 90 + .../files/beecrypt-4.2.1-build-system.patch | 160 ++ ...pt-4.2.1-c++11-allow-throw-in-destructors.patch | 26 + .../beecrypt/files/beecrypt-4.2.1-gcc-4.7.patch | 11 + dev-libs/beecrypt/metadata.xml | 8 + dev-libs/beignet/Manifest | 11 + dev-libs/beignet/beignet-1.3.1-r1.ebuild | 103 ++ dev-libs/beignet/beignet-1.3.1.ebuild | 103 ++ dev-libs/beignet/beignet-9999.ebuild | 102 ++ .../files/beignet-1.2.0_no-hardcoded-cflags.patch | 12 + .../beignet-1.3.1-oclicd_no_upstream_icdfile.patch | 14 + .../files/beignet-1.4.0_no-debian-multiarch.patch | 21 + dev-libs/beignet/files/llvm-terminfo.patch | 20 + dev-libs/beignet/files/no-debian-multiarch.patch | 39 + dev-libs/beignet/metadata.xml | 14 + dev-libs/bglibs/Manifest | 12 + dev-libs/bglibs/bglibs-1.041.ebuild | 49 + dev-libs/bglibs/bglibs-1.104.ebuild | 63 + dev-libs/bglibs/bglibs-1.106-r1.ebuild | 76 + dev-libs/bglibs/bglibs-1.106.ebuild | 75 + .../bglibs/files/bglibs-1.104-parallel-fix.patch | 87 + .../bglibs/files/bglibs-1.106-parallel-fix.patch | 61 + dev-libs/bglibs/metadata.xml | 8 + dev-libs/bitset/Manifest | 7 + dev-libs/bitset/bitset-2.8.3.ebuild | 32 + dev-libs/bitset/bitset-2.8.4-r1.ebuild | 35 + dev-libs/bitset/metadata.xml | 15 + dev-libs/blitz/Manifest | 9 + dev-libs/blitz/blitz-0.10-r1.ebuild | 65 + dev-libs/blitz/blitz-0.10.ebuild | 61 + dev-libs/blitz/files/blitz-0.10-docs.patch | 88 + dev-libs/blitz/files/blitz-0.10-gcc47.patch | 33 + .../files/blitz-0.10-set-default-arg-value.patch | 107 ++ dev-libs/blitz/metadata.xml | 28 + dev-libs/boehm-gc/Manifest | 23 + dev-libs/boehm-gc/boehm-gc-6.8.ebuild | 47 + dev-libs/boehm-gc/boehm-gc-7.1-r1.ebuild | 48 + dev-libs/boehm-gc/boehm-gc-7.2d-r1.ebuild | 58 + dev-libs/boehm-gc/boehm-gc-7.2d.ebuild | 64 + dev-libs/boehm-gc/boehm-gc-7.2e.ebuild | 57 + dev-libs/boehm-gc/boehm-gc-7.4.0.ebuild | 50 + dev-libs/boehm-gc/boehm-gc-7.4.2.ebuild | 49 + dev-libs/boehm-gc/boehm-gc-7.6.0.ebuild | 52 + dev-libs/boehm-gc/files/boehm-gc-6.5-gentoo.patch | 83 + .../files/boehm-gc-7.2d-automake-1.13.patch | 13 + .../boehm-gc/files/boehm-gc-7.2d-configure.patch | 33 + .../files/boehm-gc-7.2e-automake-1.13.patch | 13 + .../files/gc6.6-builtin-backtrace-uclibc.patch | 13 + dev-libs/boehm-gc/metadata.xml | 12 + dev-libs/boost-mpl-cartesian_product/Manifest | 4 + .../boost-mpl-cartesian_product-20161205.ebuild | 42 + dev-libs/boost-mpl-cartesian_product/metadata.xml | 15 + dev-libs/boost-numpy/Manifest | 4 + dev-libs/boost-numpy/boost-numpy-9999.ebuild | 48 + dev-libs/boost-numpy/metadata.xml | 13 + dev-libs/boost/Manifest | 19 + dev-libs/boost/boost-1.62.0-r1.ebuild | 444 +++++ dev-libs/boost/boost-1.63.0.ebuild | 440 +++++ dev-libs/boost/boost-1.65.0.ebuild | 439 +++++ .../files/boost-1.48.0-disable_icu_rpath.patch | 29 + .../boost-1.48.0-disable_libboost_python3.patch | 62 + .../boost-1.48.0-no_strict_aliasing_python2.patch | 23 + .../boost/files/boost-1.48.0-python_linking.patch | 24 + .../boost-1.51.0-respect_python-buildid.patch | 69 + ...ost-1.51.0-support_dots_in_python-buildid.patch | 22 + .../boost/files/boost-1.55.0-context-x32.patch | 42 + .../files/boost-1.56.0-build-auto_index-tool.patch | 13 + dev-libs/boost/files/boost-1.63.0-fix-python.patch | 138 ++ dev-libs/boost/files/boost-1.65.0-fix-python.patch | 272 +++ dev-libs/boost/metadata.xml | 24 + dev-libs/botan/Manifest | 15 + dev-libs/botan/botan-1.10.15-r1.ebuild | 157 ++ dev-libs/botan/botan-1.10.16.ebuild | 157 ++ dev-libs/botan/botan-1.10.17.ebuild | 158 ++ dev-libs/botan/botan-2.3.0.ebuild | 113 ++ dev-libs/botan/files/botan-1.10.15-c++11.patch | 36 + dev-libs/botan/files/botan-1.10.17-build.patch | 25 + dev-libs/botan/files/botan-1.10.17-libressl.patch | 40 + dev-libs/botan/files/botan-2.3.0-build.patch | 22 + dev-libs/botan/metadata.xml | 23 + dev-libs/btparser/Manifest | 9 + dev-libs/btparser/btparser-0.24.ebuild | 37 + dev-libs/btparser/btparser-0.25.ebuild | 41 + dev-libs/btparser/btparser-0.26.ebuild | 41 + dev-libs/btparser/metadata.xml | 11 + dev-libs/busybee/Manifest | 9 + dev-libs/busybee/busybee-0.5.2.ebuild | 17 + dev-libs/busybee/busybee-0.6.0.ebuild | 17 + dev-libs/busybee/busybee-0.7.0.ebuild | 17 + dev-libs/busybee/metadata.xml | 8 + dev-libs/c-blosc/Manifest | 17 + dev-libs/c-blosc/c-blosc-1.11.1.ebuild | 54 + dev-libs/c-blosc/c-blosc-1.11.2.ebuild | 51 + dev-libs/c-blosc/c-blosc-1.3.2.ebuild | 41 + dev-libs/c-blosc/c-blosc-1.3.5.ebuild | 41 + dev-libs/c-blosc/c-blosc-1.5.3.ebuild | 42 + .../files/c-blosc-1.11.1-fix-build-system.patch | 30 + .../files/c-blosc-1.11.2-fix-build-system.patch | 21 + .../c-blosc/files/c-blosc-1.3.2-shared-libs.patch | 22 + .../c-blosc/files/c-blosc-1.5.3-shared-libs.patch | 27 + dev-libs/c-blosc/metadata.xml | 23 + dev-libs/c-capnproto/Manifest | 4 + dev-libs/c-capnproto/c-capnproto-0.3.ebuild | 20 + dev-libs/c-capnproto/metadata.xml | 11 + dev-libs/caliper/Manifest | 7 + dev-libs/caliper/caliper-1.5.0.ebuild | 32 + dev-libs/caliper/files/caliper-1.5.0-cmake.patch | 33 + .../caliper/files/caliper-1.5.0-multilib.patch | 271 +++ dev-libs/caliper/files/caliper-1.5.0-python2.patch | 22 + dev-libs/caliper/metadata.xml | 11 + dev-libs/capnproto/Manifest | 6 + dev-libs/capnproto/capnproto-0.6.0.ebuild | 36 + dev-libs/capnproto/capnproto-0.6.1.ebuild | 36 + dev-libs/capnproto/metadata.xml | 11 + dev-libs/capstone/Manifest | 7 + dev-libs/capstone/capstone-3.0.5_rc2-r1.ebuild | 82 + dev-libs/capstone/capstone-3.0.5_rc2.ebuild | 44 + .../files/capstone-3.0.5_rc2-CVE-2017-6952.patch | 41 + .../capstone/files/capstone-3.0.5_rc2-FLAGS.patch | 16 + dev-libs/capstone/metadata.xml | 12 + dev-libs/cdk/Manifest | 12 + dev-libs/cdk/cdk-5.0.20131107.ebuild | 48 + dev-libs/cdk/cdk-5.0.20141106.ebuild | 48 + dev-libs/cdk/cdk-5.0.20150928.ebuild | 46 + dev-libs/cdk/cdk-5.0.20160131.ebuild | 46 + .../cdk/files/cdk-5.0.20120323-parallel-make.patch | 12 + dev-libs/cdk/metadata.xml | 5 + dev-libs/cereal/Manifest | 6 + dev-libs/cereal/cereal-1.2.1.ebuild | 29 + dev-libs/cereal/cereal-1.2.2.ebuild | 25 + dev-libs/cereal/metadata.xml | 11 + dev-libs/cgicc/Manifest | 9 + dev-libs/cgicc/cgicc-3.2.16.ebuild | 48 + dev-libs/cgicc/cgicc-3.2.9.ebuild | 43 + dev-libs/cgicc/files/3.2.10-fix-pkgconfig.patch | 13 + .../files/cgicc-3.2.16-fix-doc-building.patch | 34 + dev-libs/cgicc/metadata.xml | 23 + dev-libs/cgilib/Manifest | 5 + dev-libs/cgilib/cgilib-0.7.ebuild | 22 + dev-libs/cgilib/metadata.xml | 8 + dev-libs/check/Manifest | 12 + dev-libs/check/check-0.10.0-r1.ebuild | 63 + dev-libs/check/check-0.10.0-r2.ebuild | 59 + dev-libs/check/check-0.11.0.ebuild | 62 + dev-libs/check/check-0.9.11.ebuild | 54 + .../check/files/check-0.9.10-AM_PATH_CHECK.patch | 33 + dev-libs/check/metadata.xml | 11 + dev-libs/chmlib/Manifest | 7 + dev-libs/chmlib/chmlib-0.40-r1.ebuild | 26 + dev-libs/chmlib/files/chmlib-0.39-stdtypes.patch | 20 + dev-libs/chmlib/files/chmlib-0.40-headers.patch | 18 + dev-libs/chmlib/metadata.xml | 8 + dev-libs/cityhash/Manifest | 9 + dev-libs/cityhash/cityhash-1.0.3.ebuild | 17 + dev-libs/cityhash/cityhash-1.1.0.ebuild | 17 + dev-libs/cityhash/cityhash-1.1.1.ebuild | 17 + dev-libs/cityhash/metadata.xml | 11 + dev-libs/cl/Manifest | 5 + dev-libs/cl/cl-1.2.3.ebuild | 33 + dev-libs/cl/cl-9999.ebuild | 31 + dev-libs/cl/metadata.xml | 11 + dev-libs/cloog/Manifest | 13 + dev-libs/cloog/cloog-0.18.0.ebuild | 40 + dev-libs/cloog/cloog-0.18.1.ebuild | 41 + dev-libs/cloog/cloog-0.18.3.ebuild | 64 + dev-libs/cloog/cloog-0.18.4.ebuild | 62 + dev-libs/cloog/cloog-9999.ebuild | 62 + dev-libs/cloog/files/cloog-0.18.3-isl-0.15.patch | 82 + dev-libs/cloog/metadata.xml | 7 + dev-libs/collada-dom/Manifest | 12 + dev-libs/collada-dom/collada-dom-2.4.0.ebuild | 24 + .../collada-dom-2.4.3_pre20150112.ebuild | 40 + dev-libs/collada-dom/collada-dom-2.4.4.ebuild | 42 + dev-libs/collada-dom/collada-dom-9999.ebuild | 40 + .../collada-dom/files/collada-dom-2.4.4-gcc6.patch | 19 + dev-libs/collada-dom/files/take_snapshot.sh | 14 + dev-libs/collada-dom/metadata.xml | 12 + dev-libs/concurrencykit/Manifest | 5 + .../concurrencykit/concurrencykit-0.5.2.ebuild | 21 + .../concurrencykit/concurrencykit-0.6.0.ebuild | 21 + dev-libs/concurrencykit/metadata.xml | 15 + dev-libs/confuse/Manifest | 7 + dev-libs/confuse/confuse-3.0.ebuild | 50 + dev-libs/confuse/confuse-3.2.ebuild | 50 + dev-libs/confuse/metadata.xml | 11 + dev-libs/console_bridge/Manifest | 10 + .../console_bridge/console_bridge-0.2.7.ebuild | 34 + .../console_bridge/console_bridge-0.3.1.ebuild | 29 + .../console_bridge/console_bridge-0.3.2.ebuild | 29 + dev-libs/console_bridge/console_bridge-9999.ebuild | 29 + dev-libs/console_bridge/metadata.xml | 11 + dev-libs/cpl-stratego/Manifest | 5 + dev-libs/cpl-stratego/cpl-stratego-0.4.ebuild | 28 + dev-libs/cpl-stratego/metadata.xml | 5 + dev-libs/crossguid/Manifest | 4 + dev-libs/crossguid/crossguid-0_pre20150817.ebuild | 48 + dev-libs/crossguid/metadata.xml | 10 + dev-libs/crypto++/Manifest | 7 + dev-libs/crypto++/crypto++-5.6.5-r1.ebuild | 60 + .../crypto++/files/crypto++-5.6.4-nonative.patch | 28 + .../files/crypto++-5.6.5-CVE-2017-9434.patch | 45 + dev-libs/crypto++/metadata.xml | 15 + dev-libs/cudnn/Manifest | 3 + dev-libs/cudnn/cudnn-6.0.ebuild | 25 + dev-libs/cudnn/metadata.xml | 8 + dev-libs/cvector/Manifest | 10 + dev-libs/cvector/cvector-1.0.3-r1.ebuild | 43 + dev-libs/cvector/cvector-1.0.3.1.ebuild | 43 + dev-libs/cvector/files/1.0.3-LDFLAGS.patch | 17 + dev-libs/cvector/files/1.0.3-dynlib.patch | 36 + .../cvector/files/cvector-1.0.3.1-LDFLAGS.patch | 17 + dev-libs/cvector/metadata.xml | 10 + dev-libs/cxxtools/Manifest | 5 + dev-libs/cxxtools/cxxtools-2.2.1.ebuild | 28 + dev-libs/cxxtools/metadata.xml | 8 + dev-libs/cyberjack/Manifest | 14 + dev-libs/cyberjack/cyberjack-3.99.5_p03-r1.ebuild | 68 + dev-libs/cyberjack/cyberjack-3.99.5_p10.ebuild | 74 + dev-libs/cyberjack/cyberjack-3.99.5_p11.ebuild | 74 + .../files/cyberjack-3.99.5_p03-gcc47.patch | 34 + dev-libs/cyberjack/files/cyberjack-manpages.patch | 34 + dev-libs/cyberjack/files/cyberjack-r1.rules | 18 + .../cyberjack/files/cyberjack-returnvalue.patch | 29 + dev-libs/cyberjack/files/cyberjack.rules | 10 + dev-libs/cyberjack/metadata.xml | 11 + dev-libs/cygwin/Manifest | 7 + dev-libs/cygwin/cygwin-1.5.25.15.ebuild | 91 + dev-libs/cygwin/metadata.xml | 8 + dev-libs/cyrus-sasl/Manifest | 30 + dev-libs/cyrus-sasl/cyrus-sasl-2.1.26-r10.ebuild | 245 +++ dev-libs/cyrus-sasl/cyrus-sasl-2.1.26-r11.ebuild | 263 +++ dev-libs/cyrus-sasl/cyrus-sasl-2.1.26-r9.ebuild | 242 +++ ...us-sasl-2.1.23-gss_c_nt_hostbased_service.patch | 16 + .../files/cyrus-sasl-2.1.25-as_needed.patch | 27 + .../files/cyrus-sasl-2.1.25-autotools_fixes.patch | 114 ++ .../files/cyrus-sasl-2.1.25-auxprop.patch | 16 + .../cyrus-sasl-2.1.25-avoid_pic_overwrite.patch | 27 + .../files/cyrus-sasl-2.1.25-fix_heimdal.patch | 27 + .../files/cyrus-sasl-2.1.25-missing_header.patch | 10 + .../cyrus-sasl-2.1.25-saslauthd_libtool.patch | 12 + .../files/cyrus-sasl-2.1.25-sasldb_al.patch | 14 + .../files/cyrus-sasl-2.1.25-service_keytabs.patch | 27 + .../files/cyrus-sasl-2.1.26-CVE-2013-4122.patch | 116 ++ ...26-canonuser-ldapdb-garbage-in-out-buffer.patch | 10 + ...us-sasl-2.1.26-fix_dovecot_authentication.patch | 90 + .../files/cyrus-sasl-2.1.26-missing-size_t.patch | 13 + .../files/cyrus-sasl-2.1.26-send-imap-logout.patch | 48 + dev-libs/cyrus-sasl/files/cyrus-sasl.conf | 1 + dev-libs/cyrus-sasl/files/java.README.gentoo | 39 + dev-libs/cyrus-sasl/files/pwcheck.rc6 | 20 + dev-libs/cyrus-sasl/files/pwcheck.service | 9 + dev-libs/cyrus-sasl/files/saslauthd-2.1.26.conf | 19 + dev-libs/cyrus-sasl/files/saslauthd.pam-include | 8 + dev-libs/cyrus-sasl/files/saslauthd.service | 13 + dev-libs/cyrus-sasl/files/saslauthd2.rc7 | 20 + dev-libs/cyrus-sasl/metadata.xml | 18 + dev-libs/d0_blind_id/Manifest | 7 + dev-libs/d0_blind_id/d0_blind_id-0.5.ebuild | 39 + dev-libs/d0_blind_id/d0_blind_id-1.0.ebuild | 51 + dev-libs/d0_blind_id/metadata.xml | 8 + dev-libs/darts/Manifest | 5 + dev-libs/darts/darts-0.32.ebuild | 24 + dev-libs/darts/metadata.xml | 12 + dev-libs/dbus-c++/Manifest | 7 + dev-libs/dbus-c++/dbus-c++-0.9.0-r3.ebuild | 63 + .../dbus-c++/files/dbus-c++-0.9.0-gcc-4.7.patch | 38 + dev-libs/dbus-c++/files/dbus-c++-gcc7.patch | 25 + dev-libs/dbus-c++/metadata.xml | 15 + dev-libs/dbus-glib/Manifest | 11 + dev-libs/dbus-glib/dbus-glib-0.102.ebuild | 90 + dev-libs/dbus-glib/dbus-glib-0.104.ebuild | 94 + dev-libs/dbus-glib/dbus-glib-0.106.ebuild | 94 + dev-libs/dbus-glib/dbus-glib-0.108.ebuild | 94 + dev-libs/dbus-glib/metadata.xml | 10 + dev-libs/dclog/Manifest | 5 + dev-libs/dclog/dclog-1.1.1-r2.ebuild | 30 + dev-libs/dclog/metadata.xml | 13 + dev-libs/device-atlas-api-c/Manifest | 9 + .../device-atlas-api-c-2.1.2_p1.ebuild | 50 + .../device-atlas-api-c-2.1.2_p2.ebuild | 50 + .../device-atlas-api-c-2.1.ebuild | 50 + .../files/2.1-cmake-install.patch | 20 + .../files/2.1.2-src-cmakelists.patch | 18 + dev-libs/device-atlas-api-c/metadata.xml | 15 + dev-libs/dietlibc/Manifest | 7 + dev-libs/dietlibc/dietlibc-0.33_pre20110403.ebuild | 67 + dev-libs/dietlibc/dietlibc-0.34_pre20140729.ebuild | 64 + dev-libs/dietlibc/metadata.xml | 10 + dev-libs/ding-libs/Manifest | 9 + dev-libs/ding-libs/ding-libs-0.4.0.ebuild | 23 + dev-libs/ding-libs/ding-libs-0.5.0.ebuild | 20 + dev-libs/ding-libs/ding-libs-0.6.0.ebuild | 24 + dev-libs/ding-libs/metadata.xml | 8 + dev-libs/distorm64/Manifest | 7 + dev-libs/distorm64/distorm64-3.3.3.ebuild | 26 + dev-libs/distorm64/distorm64-3.3.4.ebuild | 26 + dev-libs/distorm64/metadata.xml | 21 + dev-libs/dmalloc/Manifest | 11 + dev-libs/dmalloc/dmalloc-5.5.2-r4.ebuild | 76 + dev-libs/dmalloc/dmalloc-5.5.2-r6.ebuild | 85 + .../dmalloc/files/dmalloc-5.5.2-Makefile.in.patch | 343 ++++ dev-libs/dmalloc/files/dmalloc-5.5.2-ar.patch | 11 + dev-libs/dmalloc/files/dmalloc-5.5.2-cxx.patch | 19 + .../files/dmalloc-5.5.2-string-macros.patch | 18 + dev-libs/dmalloc/files/dmalloc-5.5.2-threads.patch | 11 + dev-libs/dmalloc/metadata.xml | 8 + dev-libs/dotconf/Manifest | 5 + dev-libs/dotconf/dotconf-1.3.ebuild | 30 + dev-libs/dotconf/metadata.xml | 14 + dev-libs/double-conversion/Manifest | 6 + .../double-conversion-2.0.1.ebuild | 41 + .../files/double-conversion-2.0.1-scons.patch | 12 + dev-libs/double-conversion/metadata.xml | 17 + dev-libs/eb/Manifest | 5 + dev-libs/eb/eb-4.4.1-r1.ebuild | 32 + dev-libs/eb/metadata.xml | 5 + dev-libs/eekboard/Manifest | 4 + dev-libs/eekboard/eekboard-1.0.8_p20121001.ebuild | 81 + dev-libs/eekboard/files/eekboard-vala.patch | 33 + dev-libs/eekboard/metadata.xml | 19 + dev-libs/efl/Manifest | 9 + dev-libs/efl/efl-1.17.0-r1.ebuild | 286 ++++ dev-libs/efl/efl-1.18.4.ebuild | 289 ++++ dev-libs/efl/efl-9999.ebuild | 289 ++++ dev-libs/efl/files/efl-1.17.0-gnutls-3.4.patch | 39 + dev-libs/efl/metadata.xml | 32 + dev-libs/elfio/Manifest | 6 + dev-libs/elfio/elfio-1.0.3-r1.ebuild | 30 + dev-libs/elfio/files/elfio-1.0.3-shared.patch | 83 + dev-libs/elfio/metadata.xml | 8 + dev-libs/elfutils/Manifest | 9 + dev-libs/elfutils/elfutils-0.169-r1.ebuild | 64 + dev-libs/elfutils/elfutils-0.170-r1.ebuild | 66 + dev-libs/elfutils/elfutils-0.170.ebuild | 66 + .../files/elfutils-0.118-PaX-support.patch | 26 + dev-libs/elfutils/metadata.xml | 13 + dev-libs/eventlog/Manifest | 5 + dev-libs/eventlog/eventlog-0.2.12.ebuild | 30 + dev-libs/eventlog/metadata.xml | 8 + dev-libs/expat/Manifest | 10 + dev-libs/expat/expat-2.2.1.ebuild | 86 + dev-libs/expat/expat-2.2.4.ebuild | 97 ++ dev-libs/expat/files/expat-2.2.1-gentoo-dash.patch | 31 + .../files/expat-2.2.1-getrandom-detection.patch | 24 + dev-libs/expat/files/expat-2.2.1-posix-shell.patch | 26 + dev-libs/expat/metadata.xml | 16 + dev-libs/fampp2/Manifest | 8 + dev-libs/fampp2/fampp2-7.0.1-r3.ebuild | 59 + .../files/fampp2-7.0.1-fix-buildsystem.patch | 78 + dev-libs/fampp2/files/fampp2-7.0.1-fix-gcc6.patch | 67 + .../fampp2/files/fampp2-7.0.1-libsigc++-2.6.patch | 46 + dev-libs/fampp2/metadata.xml | 11 + dev-libs/faxpp/Manifest | 5 + dev-libs/faxpp/faxpp-0.4.ebuild | 25 + dev-libs/faxpp/metadata.xml | 11 + dev-libs/fcgi/Manifest | 11 + dev-libs/fcgi/fcgi-2.4.1_pre0910052249-r2.ebuild | 51 + dev-libs/fcgi/files/fcgi-2.4.0-Makefile.patch | 24 + .../fcgi/files/fcgi-2.4.0-clientdata-pointer.patch | 96 ++ dev-libs/fcgi/files/fcgi-2.4.0-html-updates.patch | 65 + .../files/fcgi-2.4.1_pre0311112127-gcc44.patch | 10 + .../fcgi/files/fcgi-2.4.1_pre0910052249-link.patch | 21 + .../fcgi/files/fcgi-2.4.1_pre0910052249-poll.patch | 80 + dev-libs/fcgi/metadata.xml | 11 + dev-libs/fddl/Manifest | 5 + dev-libs/fddl/fddl-20111124-r1.ebuild | 39 + dev-libs/fddl/metadata.xml | 16 + dev-libs/ferrisloki/Manifest | 5 + dev-libs/ferrisloki/ferrisloki-3.0.13-r2.ebuild | 49 + dev-libs/ferrisloki/metadata.xml | 11 + dev-libs/ffcall/Manifest | 13 + dev-libs/ffcall/ffcall-1.10-r2.ebuild | 48 + dev-libs/ffcall/ffcall-1.10-r5.ebuild | 75 + dev-libs/ffcall/ffcall-1.10.ebuild | 59 + dev-libs/ffcall/ffcall-1.13.ebuild | 61 + dev-libs/ffcall/ffcall-2.0.ebuild | 64 + dev-libs/ffcall/files/ffcall-make-jN.patch | 13 + dev-libs/ffcall/metadata.xml | 30 + dev-libs/flatbuffers/Manifest | 3 + dev-libs/flatbuffers/flatbuffers-1.7.1.ebuild | 33 + dev-libs/flatbuffers/metadata.xml | 11 + dev-libs/folks/Manifest | 7 + dev-libs/folks/folks-0.11.3.ebuild | 86 + dev-libs/folks/folks-0.11.4.ebuild | 86 + dev-libs/folks/metadata.xml | 14 + dev-libs/freexl/Manifest | 7 + dev-libs/freexl/freexl-1.0.1.ebuild | 29 + dev-libs/freexl/freexl-1.0.2.ebuild | 29 + dev-libs/freexl/metadata.xml | 8 + dev-libs/fribidi/Manifest | 12 + dev-libs/fribidi/files/fribidi-0.19.2-nodoc.patch | 11 + .../files/fribidi-0.19.5-signedwarning.patch | 22 + .../files/fribidi-0.19.6-page-size-header.patch | 20 + dev-libs/fribidi/fribidi-0.19.5-r1.ebuild | 49 + dev-libs/fribidi/fribidi-0.19.6.ebuild | 48 + dev-libs/fribidi/fribidi-0.19.7.ebuild | 40 + dev-libs/fribidi/metadata.xml | 7 + dev-libs/fstrm/Manifest | 7 + dev-libs/fstrm/fstrm-0.2.0-r1.ebuild | 25 + dev-libs/fstrm/fstrm-0.3.0.ebuild | 35 + dev-libs/fstrm/metadata.xml | 11 + dev-libs/g-wrap/Manifest | 9 + dev-libs/g-wrap/g-wrap-1.9.11.ebuild | 38 + dev-libs/g-wrap/g-wrap-1.9.13.ebuild | 30 + dev-libs/g-wrap/g-wrap-1.9.14.ebuild | 32 + dev-libs/g-wrap/metadata.xml | 11 + dev-libs/gdl/Manifest | 5 + dev-libs/gdl/gdl-3.22.0.ebuild | 29 + dev-libs/gdl/metadata.xml | 8 + dev-libs/gecode/Manifest | 8 + .../gecode/files/gecode-4.4.0-no-examples.patch | 18 + dev-libs/gecode/gecode-3.7.3-r1.ebuild | 48 + dev-libs/gecode/gecode-4.4.0-r1.ebuild | 79 + dev-libs/gecode/metadata.xml | 14 + dev-libs/geoip/Manifest | 10 + dev-libs/geoip/files/geoipupdate-r6.sh | 46 + dev-libs/geoip/geoip-1.6.10.ebuild | 57 + dev-libs/geoip/geoip-1.6.11.ebuild | 57 + dev-libs/geoip/geoip-1.6.9-r1.ebuild | 57 + dev-libs/geoip/metadata.xml | 11 + dev-libs/gf-complete/Manifest | 6 + dev-libs/gf-complete/gf-complete-0.0.0.ebuild | 29 + dev-libs/gf-complete/gf-complete-2.0.0.ebuild | 29 + dev-libs/gf-complete/metadata.xml | 12 + dev-libs/gf2x/Manifest | 9 + dev-libs/gf2x/gf2x-1.0-r1.ebuild | 38 + dev-libs/gf2x/gf2x-1.1.ebuild | 38 + dev-libs/gf2x/gf2x-1.2.ebuild | 54 + dev-libs/gf2x/metadata.xml | 18 + dev-libs/girara/Manifest | 8 + dev-libs/girara/girara-0.2.2.ebuild | 67 + dev-libs/girara/girara-0.2.7.ebuild | 68 + dev-libs/girara/girara-9999.ebuild | 67 + dev-libs/girara/metadata.xml | 21 + dev-libs/gjs/Manifest | 12 + dev-libs/gjs/files/1.48.6-disable-unittest.patch | 24 + .../gjs/files/gjs-1.43.3-disable-unittest-1.patch | 40 + .../gjs/files/gjs-1.43.3-disable-unittest-2.patch | 35 + dev-libs/gjs/gjs-1.46.0.ebuild | 66 + dev-libs/gjs/gjs-1.48.6.ebuild | 66 + dev-libs/gjs/gjs-1.48.7.ebuild | 62 + dev-libs/gjs/metadata.xml | 8 + dev-libs/glib/Manifest | 10 + .../files/glib-2.50.0-external-gdbus-codegen.patch | 93 + .../files/glib-2.50.3-fix-gdatetime-tests.patch | 52 + dev-libs/glib/glib-2.50.3-r1.ebuild | 303 ++++ dev-libs/glib/glib-2.52.3.ebuild | 300 ++++ dev-libs/glib/metadata.xml | 23 + dev-libs/gmime/Manifest | 7 + dev-libs/gmime/gmime-2.6.23.ebuild | 72 + dev-libs/gmime/gmime-3.0.2.ebuild | 68 + dev-libs/gmime/metadata.xml | 14 + dev-libs/gmp/Manifest | 24 + .../gmp/files/6.0.0a/gmp-6.0.0a-arm-thumb.diff | 22 + dev-libs/gmp/files/6.0.0a/ppc64-build.diff | 23 + dev-libs/gmp/files/gmp-4.1.4-noexecstack.patch | 20 + dev-libs/gmp/files/gmp-4.2.1-s390.diff | 68 + .../gmp/files/gmp-6.1.0-noexecstack-detect.patch | 23 + dev-libs/gmp/files/gmp-6.1.0-tune-printf.patch | 43 + dev-libs/gmp/files/gmp-6.1.0-udiv.patch | 61 + dev-libs/gmp/gmp-4.3.2-r1.ebuild | 66 + dev-libs/gmp/gmp-6.0.0a.ebuild | 114 ++ dev-libs/gmp/gmp-6.1.0.ebuild | 113 ++ dev-libs/gmp/gmp-6.1.1.ebuild | 113 ++ dev-libs/gmp/gmp-6.1.2.ebuild | 116 ++ dev-libs/gmp/metadata.xml | 12 + dev-libs/gnulib/Manifest | 6 + dev-libs/gnulib/gnulib-2016.12.21.08.39.01.ebuild | 43 + dev-libs/gnulib/gnulib-9999-r1.ebuild | 41 + dev-libs/gnulib/metadata.xml | 8 + dev-libs/go-fuse/Manifest | 8 + dev-libs/go-fuse/go-fuse-0_p20140812-r1.ebuild | 58 + dev-libs/go-fuse/go-fuse-0_p20150422.ebuild | 55 + dev-libs/go-fuse/go-fuse-9999.ebuild | 55 + dev-libs/go-fuse/metadata.xml | 11 + dev-libs/go-usb/Manifest | 4 + dev-libs/go-usb/go-usb-9999.ebuild | 32 + dev-libs/go-usb/metadata.xml | 11 + dev-libs/gobject-introspection-common/Manifest | 7 + .../gobject-introspection-common-1.50.0.ebuild | 33 + .../gobject-introspection-common-1.52.1.ebuild | 33 + dev-libs/gobject-introspection-common/metadata.xml | 8 + dev-libs/gobject-introspection/Manifest | 7 + .../gobject-introspection-1.50.0.ebuild | 70 + .../gobject-introspection-1.52.1.ebuild | 70 + dev-libs/gobject-introspection/metadata.xml | 12 + dev-libs/gom/Manifest | 5 + dev-libs/gom/gom-0.3.2.ebuild | 76 + dev-libs/gom/metadata.xml | 8 + dev-libs/granite/Manifest | 12 + .../granite/files/granite-0.3.0-build-fix.patch | 22 + .../granite/files/granite-0.3.0-build-fix2.patch | 13 + .../granite/files/granite-0.3.0-build-fix3.patch | 24 + dev-libs/granite/granite-0.2.1.ebuild | 56 + dev-libs/granite/granite-0.2.3.1.ebuild | 58 + dev-libs/granite/granite-0.3.0.ebuild | 64 + dev-libs/granite/metadata.xml | 7 + dev-libs/grantlee/Manifest | 7 + .../files/grantlee-0.3.0-nonfatal-warnings.patch | 14 + dev-libs/grantlee/files/grantlee-5.1.0-slot.patch | 39 + dev-libs/grantlee/grantlee-5.1.0.ebuild | 57 + dev-libs/grantlee/metadata.xml | 11 + dev-libs/grok/Manifest | 10 + dev-libs/grok/files/0.9.2-Makefile.patch | 65 + .../grok/files/0.9.2-build-with-pcre-lt-8.34.patch | 15 + dev-libs/grok/files/grok-0.9.2-Makefile.patch | 63 + .../files/grok-0.9.2-build-with-gperf-3.1.patch | 26 + dev-libs/grok/grok-0.9.2-r1.ebuild | 36 + dev-libs/grok/grok-0.9.2.ebuild | 29 + dev-libs/grok/metadata.xml | 11 + dev-libs/gtx/Manifest | 8 + dev-libs/gtx/files/gtx-0.2.2-debug.patch | 40 + dev-libs/gtx/files/gtx-0.2.2-docdir.patch | 16 + dev-libs/gtx/files/gtx-0.2.2-glib.h.patch | 15 + dev-libs/gtx/gtx-0.2.2.ebuild | 32 + dev-libs/gtx/metadata.xml | 16 + dev-libs/gumbo/Manifest | 5 + dev-libs/gumbo/gumbo-0.10.1.ebuild | 44 + dev-libs/gumbo/metadata.xml | 10 + dev-libs/handystats/Manifest | 9 + dev-libs/handystats/handystats-1.11.0.ebuild | 21 + dev-libs/handystats/handystats-1.11.1.ebuild | 21 + dev-libs/handystats/handystats-1.11.3.ebuild | 21 + dev-libs/handystats/metadata.xml | 11 + dev-libs/hashit/Manifest | 6 + dev-libs/hashit/files/hashit-0.9.7-pkgconfig.patch | 20 + dev-libs/hashit/hashit-0.9.7-r1.ebuild | 17 + dev-libs/hashit/metadata.xml | 5 + dev-libs/hidapi/Manifest | 5 + dev-libs/hidapi/hidapi-0.8.0_rc1_p20140719.ebuild | 75 + dev-libs/hidapi/metadata.xml | 22 + dev-libs/hiredis/Manifest | 6 + .../hiredis-0.13.3-disable-network-tests.patch | 36 + dev-libs/hiredis/hiredis-0.13.3.ebuild | 78 + dev-libs/hiredis/metadata.xml | 10 + dev-libs/http-fetcher/Manifest | 6 + dev-libs/http-fetcher/http-fetcher-1.1.0-r1.ebuild | 35 + dev-libs/http-fetcher/http-fetcher-1.1.0.ebuild | 34 + dev-libs/http-fetcher/metadata.xml | 11 + dev-libs/hyperleveldb/Manifest | 6 + dev-libs/hyperleveldb/files/snappy.patch | 31 + dev-libs/hyperleveldb/hyperleveldb-1.2.2.ebuild | 27 + dev-libs/hyperleveldb/metadata.xml | 8 + dev-libs/hyperscan/Manifest | 6 + dev-libs/hyperscan/hyperscan-4.4.1-r1.ebuild | 30 + dev-libs/hyperscan/hyperscan-4.4.1.ebuild | 17 + dev-libs/hyperscan/hyperscan-4.5.2.ebuild | 30 + dev-libs/hyperscan/metadata.xml | 15 + dev-libs/hyphen/Manifest | 7 + dev-libs/hyphen/hyphen-2.8.6.ebuild | 33 + dev-libs/hyphen/hyphen-2.8.8.ebuild | 33 + dev-libs/hyphen/metadata.xml | 11 + dev-libs/icu-layoutex/Manifest | 9 + .../files/icu-layoutex-58.1-remove-bashisms.patch | 224 +++ dev-libs/icu-layoutex/icu-layoutex-58.1.ebuild | 115 ++ dev-libs/icu-layoutex/icu-layoutex-58.2.ebuild | 115 ++ dev-libs/icu-layoutex/icu-layoutex-59.1.ebuild | 115 ++ dev-libs/icu-layoutex/metadata.xml | 12 + dev-libs/icu-le-hb/Manifest | 4 + dev-libs/icu-le-hb/icu-le-hb-1.0.3.ebuild | 37 + dev-libs/icu-le-hb/metadata.xml | 15 + dev-libs/icu/Manifest | 13 + dev-libs/icu/files/icu-58.1-iterator.patch | 127 ++ dev-libs/icu/files/icu-58.1-remove-bashisms.patch | 224 +++ dev-libs/icu/files/icu-58.2-CVE-2017-7867.patch | 155 ++ dev-libs/icu/files/icu-58.2-glibc226.patch | 16 + dev-libs/icu/icu-58.1-r1.ebuild | 157 ++ dev-libs/icu/icu-58.2-r1.ebuild | 159 ++ dev-libs/icu/icu-59.1.ebuild | 157 ++ dev-libs/icu/metadata.xml | 8 + dev-libs/igraph/Manifest | 6 + dev-libs/igraph/files/igraph-0.7.1-unbundle.patch | 269 +++ dev-libs/igraph/igraph-0.7.1-r2.ebuild | 46 + dev-libs/igraph/metadata.xml | 14 + dev-libs/iksemel/Manifest | 11 + .../iksemel/files/iksemel-1.3-gnutls-2.8.patch | 16 + .../iksemel/files/iksemel-1.4-gnutls-3.4.patch | 38 + dev-libs/iksemel/files/iksemel-1.4-ikstack.patch | 35 + dev-libs/iksemel/iksemel-1.3.ebuild | 36 + dev-libs/iksemel/iksemel-1.4-r1.ebuild | 37 + dev-libs/iksemel/iksemel-1.4.ebuild | 35 + dev-libs/iksemel/metadata.xml | 9 + dev-libs/ilbc-rfc3951/Manifest | 6 + .../ilbc-rfc3951/files/ilbc-rfc3951-asneeded.patch | 11 + dev-libs/ilbc-rfc3951/ilbc-rfc3951-0-r1.ebuild | 27 + dev-libs/ilbc-rfc3951/metadata.xml | 8 + dev-libs/iniparser/Manifest | 12 + .../iniparser/files/iniparser-3.0-autotools.patch | 38 + dev-libs/iniparser/files/iniparser-3.0b-cpp.patch | 47 + .../iniparser/files/iniparser-4.0-cflags.patch | 28 + .../iniparser/files/iniparser-4.0-soname.patch | 35 + dev-libs/iniparser/iniparser-3.1-r1.ebuild | 46 + dev-libs/iniparser/iniparser-3.1.ebuild | 46 + dev-libs/iniparser/iniparser-4.0.ebuild | 78 + dev-libs/iniparser/metadata.xml | 11 + dev-libs/injeqt/Manifest | 10 + .../files/injeqt-cmake-preserve-cxxflags.patch | 12 + dev-libs/injeqt/injeqt-1.0.1.ebuild | 34 + dev-libs/injeqt/injeqt-1.1.0.ebuild | 33 + dev-libs/injeqt/injeqt-1.2.0.ebuild | 33 + dev-libs/injeqt/metadata.xml | 11 + dev-libs/input-pad/Manifest | 3 + .../input-pad/input-pad-1.0.99_pre20140916.ebuild | 52 + dev-libs/input-pad/metadata.xml | 15 + dev-libs/intel-common/Manifest | 11 + .../intel-common/intel-common-13.1.5.192.ebuild | 57 + .../intel-common/intel-common-14.0.3.174.ebuild | 58 + .../intel-common/intel-common-15.0.6.233.ebuild | 58 + dev-libs/intel-common/metadata.xml | 15 + dev-libs/isl/Manifest | 20 + dev-libs/isl/files/isl-0.07-gdb-autoload-dir.patch | 17 + dev-libs/isl/isl-0.12.2.ebuild | 38 + dev-libs/isl/isl-0.13.ebuild | 38 + dev-libs/isl/isl-0.14.1.ebuild | 39 + dev-libs/isl/isl-0.14.ebuild | 39 + dev-libs/isl/isl-0.15.ebuild | 39 + dev-libs/isl/isl-0.16.1.ebuild | 39 + dev-libs/isl/isl-0.17.1.ebuild | 39 + dev-libs/isl/isl-0.18.ebuild | 39 + dev-libs/isl/metadata.xml | 7 + dev-libs/jansson/Manifest | 7 + dev-libs/jansson/jansson-2.10.ebuild | 39 + dev-libs/jansson/jansson-2.9.ebuild | 39 + dev-libs/jansson/metadata.xml | 12 + dev-libs/jemalloc/Manifest | 30 + .../jemalloc/files/jemalloc-2.2.1-no-pprof.patch | 24 + .../files/jemalloc-2.2.5_fix_html_install.patch | 12 + .../jemalloc/files/jemalloc-3.0.0-no-pprof.patch | 27 + .../files/jemalloc-3.0.0-strip-optimization.patch | 29 + .../files/jemalloc-3.0.0_fix_html_install.patch | 14 + .../jemalloc/files/jemalloc-3.5.1-no-pprof.patch | 25 + .../files/jemalloc-3.5.1-strip-optimization.patch | 27 + .../files/jemalloc-3.5.1_fix_html_install.patch | 12 + .../files/jemalloc-4.1-fix_stack_corruption.patch | 70 + .../jemalloc/files/jemalloc-4.2-issue_399.patch | 26 + .../jemalloc/files/jemalloc-4.2-issue_443.patch | 58 + .../files/jemalloc-4.5.0-fix_html_install.patch | 25 + .../files/jemalloc-4.5.0-strip-optimization.patch | 35 + .../files/jemalloc-5.0.1-strip-optimization.patch | 26 + .../files/jemalloc-strip-optimization.patch | 25 + dev-libs/jemalloc/jemalloc-2.2.5-r1.ebuild | 43 + dev-libs/jemalloc/jemalloc-3.3.1.ebuild | 44 + dev-libs/jemalloc/jemalloc-3.6.0.ebuild | 53 + dev-libs/jemalloc/jemalloc-4.4.0.ebuild | 54 + dev-libs/jemalloc/jemalloc-4.5.0.ebuild | 59 + dev-libs/jemalloc/jemalloc-5.0.1.ebuild | 62 + dev-libs/jemalloc/metadata.xml | 20 + dev-libs/jerasure/Manifest | 4 + dev-libs/jerasure/jerasure-2.0.0-r1.ebuild | 32 + dev-libs/jerasure/metadata.xml | 12 + dev-libs/json-c/Manifest | 7 + dev-libs/json-c/json-c-0.12.1.ebuild | 43 + dev-libs/json-c/json-c-0.12.ebuild | 44 + dev-libs/json-c/metadata.xml | 18 + dev-libs/json-glib/Manifest | 5 + dev-libs/json-glib/json-glib-1.2.8.ebuild | 55 + dev-libs/json-glib/metadata.xml | 15 + dev-libs/jsoncpp/Manifest | 13 + dev-libs/jsoncpp/files/jsoncpp-0.10.2-arm.patch | 25 + .../files/jsoncpp-1.6.2-fix-pkgconfig.patch | 55 + dev-libs/jsoncpp/jsoncpp-0.10.2-r1.ebuild | 75 + dev-libs/jsoncpp/jsoncpp-0.10.6.ebuild | 71 + dev-libs/jsoncpp/jsoncpp-1.8.1.ebuild | 67 + dev-libs/jsoncpp/jsoncpp-1.8.3.ebuild | 67 + dev-libs/jsoncpp/metadata.xml | 16 + dev-libs/jthread/Manifest | 7 + dev-libs/jthread/jthread-1.3.1.ebuild | 24 + dev-libs/jthread/jthread-1.3.3.ebuild | 26 + dev-libs/jthread/metadata.xml | 8 + dev-libs/judy/Manifest | 10 + dev-libs/judy/files/judy-1.0.4-parallel-make.patch | 184 ++ dev-libs/judy/files/judy-1.0.5-parallel-make.patch | 186 ++ dev-libs/judy/judy-1.0.4.ebuild | 30 + dev-libs/judy/judy-1.0.5-r1.ebuild | 33 + dev-libs/judy/judy-1.0.5.ebuild | 26 + dev-libs/judy/metadata.xml | 11 + dev-libs/kasync/Manifest | 3 + dev-libs/kasync/kasync-0.2.0.ebuild | 14 + dev-libs/kasync/metadata.xml | 8 + dev-libs/kdiagram/Manifest | 4 + dev-libs/kdiagram/kdiagram-2.6.0.ebuild | 25 + dev-libs/kdiagram/metadata.xml | 8 + dev-libs/keybinder/Manifest | 7 + dev-libs/keybinder/keybinder-0.3.1-r200.ebuild | 52 + dev-libs/keybinder/keybinder-0.3.1-r300.ebuild | 40 + dev-libs/keybinder/metadata.xml | 7 + dev-libs/klibc/Manifest | 12 + .../klibc/files/klibc-1.4.11-interp-flags.patch | 13 + .../klibc/files/klibc-1.5.7-strip-fix-dash-s.patch | 12 + dev-libs/klibc/files/klibc-2.0.2-mkfifo.patch | 15 + dev-libs/klibc/files/klibc-2.0.3-kernel-uapi.patch | 88 + dev-libs/klibc/files/klibc.m4 | 94 + dev-libs/klibc/klibc-2.0.4-r2.ebuild | 317 ++++ dev-libs/klibc/metadata.xml | 5 + dev-libs/kpathsea/Manifest | 14 + .../kpathsea/files/insecure_tmp_mktexlsr.patch | 17 + dev-libs/kpathsea/files/texmf-update-r2 | 168 ++ dev-libs/kpathsea/kpathsea-6.2.2_p20160523.ebuild | 110 ++ dev-libs/kpathsea/kpathsea-6.2.3_p20170524.ebuild | 110 ++ dev-libs/kpathsea/metadata.xml | 12 + dev-libs/kproperty/Manifest | 4 + dev-libs/kproperty/kproperty-3.0.2.ebuild | 23 + dev-libs/kproperty/metadata.xml | 8 + dev-libs/kqoauth/Manifest | 5 + dev-libs/kqoauth/kqoauth-0.98-r2.ebuild | 46 + dev-libs/kqoauth/metadata.xml | 15 + dev-libs/kreport/Manifest | 4 + dev-libs/kreport/kreport-3.0.2.ebuild | 48 + dev-libs/kreport/metadata.xml | 12 + dev-libs/leatherman/Manifest | 11 + .../files/portage-sandbox-test-fix.patch | 38 + dev-libs/leatherman/leatherman-0.10.1.ebuild | 49 + dev-libs/leatherman/leatherman-0.12.2.ebuild | 49 + dev-libs/leatherman/leatherman-1.2.1.ebuild | 52 + dev-libs/leatherman/leatherman-1.3.0.ebuild | 52 + dev-libs/leatherman/metadata.xml | 14 + dev-libs/legousbtower/Manifest | 6 + dev-libs/legousbtower/files/20-lego.rules | 1 + dev-libs/legousbtower/legousbtower-0.5.4.ebuild | 44 + dev-libs/legousbtower/metadata.xml | 8 + dev-libs/leveldb/Manifest | 29 + .../leveldb/files/leveldb-1.18-configure.patch | 52 + dev-libs/leveldb/files/leveldb-1.18-mips.patch | 48 + .../leveldb/files/leveldb-1.9.0-configure.patch | 35 + .../files/leveldb-1.9.0-forwardcompat.patch | 81 + .../leveldb/files/leveldb-1.9.0-memenv-so.patch | 60 + dev-libs/leveldb/leveldb-1.10.0-r1.ebuild | 56 + dev-libs/leveldb/leveldb-1.11.0-r1.ebuild | 56 + dev-libs/leveldb/leveldb-1.12.0-r1.ebuild | 56 + dev-libs/leveldb/leveldb-1.13.0-r1.ebuild | 56 + dev-libs/leveldb/leveldb-1.14.0.ebuild | 52 + dev-libs/leveldb/leveldb-1.15.0-r1.ebuild | 59 + dev-libs/leveldb/leveldb-1.15.0.ebuild | 52 + dev-libs/leveldb/leveldb-1.17.ebuild | 68 + dev-libs/leveldb/leveldb-1.18-r2.ebuild | 72 + dev-libs/leveldb/leveldb-1.18.ebuild | 65 + dev-libs/leveldb/leveldb-1.9.0-r5.ebuild | 56 + dev-libs/leveldb/leveldb-1.9.0-r6.ebuild | 57 + dev-libs/leveldb/metadata.xml | 14 + dev-libs/libFuzzer/Manifest | 4 + .../libFuzzer/files/libFuzzer-3.9.1-32-bit.patch | 16 + dev-libs/libFuzzer/libFuzzer-3.9.1.ebuild | 48 + dev-libs/libFuzzer/metadata.xml | 10 + dev-libs/libIDL/Manifest | 6 + dev-libs/libIDL/libIDL-0.8.14-r2.ebuild | 35 + dev-libs/libIDL/libIDL-0.8.14.ebuild | 25 + dev-libs/libIDL/metadata.xml | 8 + dev-libs/libaio/Manifest | 11 + dev-libs/libaio/files/libaio-0.3.109-install.patch | 45 + .../libaio/files/libaio-0.3.109-testcase-8.patch | 19 + dev-libs/libaio/files/libaio-0.3.109-x32.patch | 63 + .../libaio/files/libaio-0.3.110-cppflags.patch | 25 + .../libaio/files/libaio-0.3.110-link-stdlib.patch | 21 + .../files/libaio-0.3.110-optional-werror.patch | 30 + dev-libs/libaio/libaio-0.3.110.ebuild | 82 + dev-libs/libaio/metadata.xml | 13 + dev-libs/libappindicator/Manifest | 8 + ...indicator-12.10.0-conditional-py-bindings.patch | 72 + .../libappindicator-12.10.0-vala-inherit.patch | 14 + .../libappindicator-12.10.0-r201.ebuild | 87 + .../libappindicator-12.10.0-r301.ebuild | 72 + dev-libs/libappindicator/metadata.xml | 8 + dev-libs/libarcus/Manifest | 9 + .../files/libarcus-1.0.0-fix-install-paths.patch | 77 + .../libarcus/libarcus-1.0.0_pre20160307.ebuild | 42 + dev-libs/libarcus/libarcus-2.3.1.ebuild | 40 + dev-libs/libarcus/libarcus-2.6.0.ebuild | 40 + dev-libs/libarcus/metadata.xml | 22 + dev-libs/libassuan/Manifest | 5 + dev-libs/libassuan/libassuan-2.4.3-r1.ebuild | 44 + dev-libs/libassuan/metadata.xml | 19 + dev-libs/libatasmart/Manifest | 7 + dev-libs/libatasmart/libatasmart-0.19-r1.ebuild | 41 + dev-libs/libatasmart/libatasmart-0.19-r2.ebuild | 41 + dev-libs/libatasmart/metadata.xml | 7 + dev-libs/libatomic_ops/Manifest | 32 + ...libatomic_ops-1.2-fix-makefile-am-generic.patch | 19 + .../files/libatomic_ops-1.2-ppc-asm.patch | 11 + .../libatomic_ops-1.2-ppc64-load_acquire.patch | 46 + .../files/libatomic_ops-1.2-sh4.patch | 59 + .../files/libatomic_ops-1.2-x32.patch | 43 + .../files/libatomic_ops-7.2_alpha4-x32.patch | 43 + .../files/libatomic_ops-7.2_alpha6-x32.patch | 46 + .../files/libatomic_ops-7.4.0-docs.patch | 19 + dev-libs/libatomic_ops/libatomic_ops-1.1.ebuild | 18 + dev-libs/libatomic_ops/libatomic_ops-1.2-r1.ebuild | 28 + dev-libs/libatomic_ops/libatomic_ops-1.2.ebuild | 26 + .../libatomic_ops/libatomic_ops-7.2_alpha4.ebuild | 34 + .../libatomic_ops/libatomic_ops-7.2_alpha6.ebuild | 34 + dev-libs/libatomic_ops/libatomic_ops-7.2d.ebuild | 33 + dev-libs/libatomic_ops/libatomic_ops-7.4.0.ebuild | 23 + dev-libs/libatomic_ops/libatomic_ops-7.4.2.ebuild | 26 + dev-libs/libatomic_ops/libatomic_ops-7.4.4.ebuild | 29 + dev-libs/libatomic_ops/libatomic_ops-7.4.6.ebuild | 19 + dev-libs/libatomic_ops/libatomic_ops-7.6.0.ebuild | 19 + dev-libs/libatomic_ops/metadata.xml | 11 + dev-libs/libattica/Manifest | 5 + dev-libs/libattica/libattica-0.4.2.ebuild | 47 + dev-libs/libattica/metadata.xml | 8 + dev-libs/libax25/Manifest | 5 + dev-libs/libax25/libax25-0.0.12_rc4.ebuild | 24 + dev-libs/libax25/metadata.xml | 8 + dev-libs/libb64/Manifest | 6 + dev-libs/libb64/libb64-1.2.1.ebuild | 28 + dev-libs/libb64/libb64-1.2.ebuild | 28 + dev-libs/libb64/metadata.xml | 11 + dev-libs/libbase58/Manifest | 9 + dev-libs/libbase58/libbase58-0.1.0.ebuild | 26 + dev-libs/libbase58/libbase58-0.1.1.ebuild | 26 + dev-libs/libbase58/libbase58-0.1.4.ebuild | 28 + dev-libs/libbase58/metadata.xml | 18 + dev-libs/libbegemot/Manifest | 5 + dev-libs/libbegemot/libbegemot-1.11.ebuild | 27 + dev-libs/libbegemot/metadata.xml | 8 + dev-libs/libbrahe/Manifest | 6 + dev-libs/libbrahe/files/1.1.0-missing_libs.patch | 7 + dev-libs/libbrahe/libbrahe-1.1.0-r1.ebuild | 20 + dev-libs/libbrahe/metadata.xml | 8 + dev-libs/libbsd/Manifest | 9 + dev-libs/libbsd/libbsd-0.8.3.ebuild | 40 + dev-libs/libbsd/libbsd-0.8.5.ebuild | 40 + dev-libs/libbsd/libbsd-0.8.6.ebuild | 40 + dev-libs/libbsd/metadata.xml | 8 + dev-libs/libbson/Manifest | 15 + dev-libs/libbson/libbson-0.98.0.ebuild | 46 + dev-libs/libbson/libbson-1.1.10.ebuild | 46 + dev-libs/libbson/libbson-1.1.2.ebuild | 46 + dev-libs/libbson/libbson-1.3.5.ebuild | 50 + dev-libs/libbson/libbson-1.3.6.ebuild | 51 + dev-libs/libbson/libbson-1.6.2.ebuild | 53 + dev-libs/libbson/metadata.xml | 12 + dev-libs/libbulletml/Manifest | 7 + .../files/libbulletml-0.0.6-gcc43.patch | 31 + .../files/libbulletml-0.0.6-gcc46.patch | 20 + dev-libs/libbulletml/libbulletml-0.0.6.ebuild | 44 + dev-libs/libbulletml/metadata.xml | 8 + dev-libs/libburn/Manifest | 7 + dev-libs/libburn/libburn-1.4.6.ebuild | 40 + dev-libs/libburn/libburn-1.4.8.ebuild | 40 + dev-libs/libburn/metadata.xml | 17 + dev-libs/libbytesize/Manifest | 7 + dev-libs/libbytesize/libbytesize-0.11.ebuild | 55 + dev-libs/libbytesize/libbytesize-1.1.ebuild | 50 + dev-libs/libbytesize/libbytesize-1.2.ebuild | 50 + dev-libs/libbytesize/metadata.xml | 11 + dev-libs/libcaldav/Manifest | 5 + dev-libs/libcaldav/libcaldav-0.6.2.ebuild | 31 + dev-libs/libcaldav/metadata.xml | 8 + dev-libs/libcdio-paranoia/Manifest | 12 + .../files/libcdio-paranoia-0.90-mkdir_p.patch | 26 + .../files/libcdio-paranoia-0.90-oos-tests.patch | 48 + .../libcdio-paranoia-0.90_p1-r1.ebuild | 60 + .../libcdio-paranoia-0.93_p1-r1.ebuild | 65 + .../libcdio-paranoia-0.93_p1.ebuild | 65 + .../libcdio-paranoia-0.94_p1-r1.ebuild | 70 + dev-libs/libcdio-paranoia/metadata.xml | 8 + dev-libs/libcdio/Manifest | 9 + dev-libs/libcdio/libcdio-0.92.ebuild | 67 + dev-libs/libcdio/libcdio-0.93.ebuild | 67 + dev-libs/libcdio/libcdio-0.94-r1.ebuild | 68 + dev-libs/libcdio/metadata.xml | 15 + dev-libs/libcec/Manifest | 7 + dev-libs/libcec/libcec-3.1.0-r1.ebuild | 78 + dev-libs/libcec/libcec-4.0.2.ebuild | 81 + dev-libs/libcec/metadata.xml | 17 + dev-libs/libcgroup/Manifest | 17 + dev-libs/libcgroup/files/cgconfig.confd | 4 + dev-libs/libcgroup/files/cgconfig.confd-r1 | 7 + dev-libs/libcgroup/files/cgconfig.initd | 117 ++ dev-libs/libcgroup/files/cgconfig.initd-r1 | 52 + dev-libs/libcgroup/files/cgred.confd | 17 + dev-libs/libcgroup/files/cgred.confd-r2 | 5 + dev-libs/libcgroup/files/cgred.initd | 41 + dev-libs/libcgroup/files/cgred.initd-r1 | 23 + .../files/libcgroup-0.41-reorder-headers.patch | 28 + .../files/libcgroup-0.41-replace_DECLS.patch | 225 +++ .../files/libcgroup-0.41-replace_INLCUDES.patch | 74 + dev-libs/libcgroup/libcgroup-0.41-r4.ebuild | 92 + dev-libs/libcgroup/libcgroup-0.41.ebuild | 104 ++ dev-libs/libcgroup/metadata.xml | 19 + dev-libs/libclc/Manifest | 11 + dev-libs/libclc/libclc-0.2.0_pre20160209.ebuild | 55 + dev-libs/libclc/libclc-0.2.0_pre20160921.ebuild | 49 + dev-libs/libclc/libclc-0.2.0_pre20170118.ebuild | 59 + dev-libs/libclc/libclc-0.2.0_pre20170929.ebuild | 64 + dev-libs/libclc/metadata.xml | 14 + dev-libs/libcli/Manifest | 9 + dev-libs/libcli/files/libcli-1.9.4-ldflags.patch | 11 + dev-libs/libcli/files/libcli-1.9.7-libdir.patch | 24 + dev-libs/libcli/libcli-1.9.4-r1.ebuild | 44 + dev-libs/libcli/libcli-1.9.7.ebuild | 37 + dev-libs/libcli/metadata.xml | 15 + dev-libs/libclsync/Manifest | 7 + dev-libs/libclsync/libclsync-0.4.1.ebuild | 78 + dev-libs/libclsync/libclsync-0.4.2.ebuild | 74 + dev-libs/libclsync/metadata.xml | 19 + dev-libs/libconfig/Manifest | 6 + .../files/libconfig-1.5-out-of-source-build.patch | 11 + dev-libs/libconfig/libconfig-1.5.ebuild | 50 + dev-libs/libconfig/metadata.xml | 8 + dev-libs/libcoyotl/Manifest | 7 + dev-libs/libcoyotl/files/3.1.0-gcc-4.3.patch | 32 + dev-libs/libcoyotl/files/3.1.0-gcc-4.7.patch | 11 + dev-libs/libcoyotl/libcoyotl-3.1.0-r2.ebuild | 50 + dev-libs/libcoyotl/metadata.xml | 8 + dev-libs/libcroco/Manifest | 7 + dev-libs/libcroco/files/0.6.12-CVE-2017-7960.patch | 40 + dev-libs/libcroco/files/0.6.12-CVE-2017-7961.patch | 42 + dev-libs/libcroco/libcroco-0.6.12-r1.ebuild | 59 + dev-libs/libcroco/metadata.xml | 16 + dev-libs/libcss/Manifest | 6 + dev-libs/libcss/libcss-0.6.1.ebuild | 21 + dev-libs/libcss/metadata.xml | 8 + dev-libs/libcxml/Manifest | 7 + .../files/libcxml-0.15.1-respect-cxxflags.patch | 11 + dev-libs/libcxml/libcxml-0.15.1.ebuild | 37 + dev-libs/libcxml/libcxml-0.15.4.ebuild | 38 + dev-libs/libcxml/libcxml-9999.ebuild | 38 + dev-libs/libcxml/metadata.xml | 8 + dev-libs/libdaemon/Manifest | 6 + dev-libs/libdaemon/libdaemon-0.14-r1.ebuild | 57 + dev-libs/libdaemon/libdaemon-0.14-r2.ebuild | 68 + dev-libs/libdaemon/metadata.xml | 7 + dev-libs/libdbh/Manifest | 4 + dev-libs/libdbh/libdbh-5.0.19.ebuild | 37 + dev-libs/libdbh/metadata.xml | 7 + dev-libs/libdbusmenu-qt/Manifest | 7 + ...usmenu-qt-0.9.3_pre20140619-optionaltests.patch | 16 + .../libdbusmenu-qt-0.9.3_pre20160218-r1.ebuild | 124 ++ .../libdbusmenu-qt-0.9.3_pre20160218.ebuild | 128 ++ dev-libs/libdbusmenu-qt/metadata.xml | 11 + dev-libs/libdbusmenu/Manifest | 9 + .../libdbusmenu-12.10.2-gtk2-signal-fix.patch | 36 + .../files/libdbusmenu-16.04.0-configure-fix.patch | 35 + dev-libs/libdbusmenu/libdbusmenu-12.10.2-r2.ebuild | 131 ++ dev-libs/libdbusmenu/libdbusmenu-16.04.0.ebuild | 151 ++ dev-libs/libdbusmenu/metadata.xml | 15 + dev-libs/libdivecomputer/Manifest | 8 + .../libdivecomputer/libdivecomputer-0.4.1.ebuild | 74 + .../libdivecomputer/libdivecomputer-0.4.2.ebuild | 74 + .../libdivecomputer/libdivecomputer-9999.ebuild | 62 + dev-libs/libdivecomputer/metadata.xml | 19 + dev-libs/libdivsufsort/Manifest | 6 + dev-libs/libdivsufsort/libdivsufsort-2.0.1.ebuild | 22 + dev-libs/libdivsufsort/libdivsufsort-9999.ebuild | 23 + dev-libs/libdivsufsort/metadata.xml | 11 + dev-libs/libdnet/Manifest | 6 + dev-libs/libdnet/libdnet-1.12.ebuild | 70 + dev-libs/libdnet/metadata.xml | 12 + dev-libs/libdnsres/Manifest | 6 + .../libdnsres/files/libdnsres-0.1a-autotools.patch | 28 + dev-libs/libdnsres/libdnsres-0.1a-r2.ebuild | 25 + dev-libs/libdnsres/metadata.xml | 17 + dev-libs/libdshconfig/Manifest | 7 + dev-libs/libdshconfig/libdshconfig-0.20.12.ebuild | 19 + dev-libs/libdshconfig/libdshconfig-0.20.13.ebuild | 29 + dev-libs/libdshconfig/metadata.xml | 8 + dev-libs/libdynd/Manifest | 10 + .../files/libdynd-0.6.0-dont-install-test.patch | 15 + dev-libs/libdynd/libdynd-0.6.5.ebuild | 66 + dev-libs/libdynd/libdynd-0.6.6.ebuild | 66 + dev-libs/libdynd/libdynd-0.7.2.ebuild | 78 + dev-libs/libdynd/metadata.xml | 25 + dev-libs/libe/Manifest | 9 + dev-libs/libe/libe-0.10.1.ebuild | 26 + dev-libs/libe/libe-0.11.0.ebuild | 26 + dev-libs/libe/libe-0.9.0.ebuild | 26 + dev-libs/libe/metadata.xml | 8 + dev-libs/libebml/Manifest | 7 + dev-libs/libebml/libebml-1.3.4.ebuild | 34 + dev-libs/libebml/libebml-1.3.5.ebuild | 34 + dev-libs/libebml/metadata.xml | 10 + dev-libs/libedit/Manifest | 14 + .../libedit/files/libedit-20100424.3.0-bsd.patch | 13 + .../libedit-20110709.3.0-weak-reference.patch | 20 + .../libedit-20120311-3.0-el_fn_sh_complete.patch | 258 +++ .../libedit-20170329.3.1-el_fn_sh_complete.patch | 249 +++ .../libedit-20170329.3.1-ncursesprivate.patch | 10 + .../libedit/files/libedit-20170329.3.1-tinfo.patch | 30 + .../libedit/files/libedit-ncursesprivate.patch | 13 + dev-libs/libedit/libedit-20130712.3.1.ebuild | 49 + dev-libs/libedit/libedit-20170329.3.1.ebuild | 54 + dev-libs/libedit/metadata.xml | 16 + dev-libs/libee/Manifest | 5 + dev-libs/libee/libee-0.4.1.ebuild | 33 + dev-libs/libee/metadata.xml | 11 + dev-libs/libelf/Manifest | 6 + dev-libs/libelf/files/libelf-0.8.13-build.patch | 38 + dev-libs/libelf/libelf-0.8.13-r2.ebuild | 54 + dev-libs/libelf/metadata.xml | 8 + dev-libs/liberasurecode/Manifest | 7 + .../liberasurecode/liberasurecode-1.0.8-r1.ebuild | 42 + .../liberasurecode/liberasurecode-1.1.1.ebuild | 43 + dev-libs/liberasurecode/metadata.xml | 15 + dev-libs/libestr/Manifest | 5 + dev-libs/libestr/libestr-0.1.10.ebuild | 40 + dev-libs/libestr/metadata.xml | 17 + dev-libs/libev/Manifest | 8 + dev-libs/libev/files/libev-pc.patch | 42 + dev-libs/libev/libev-4.23.ebuild | 44 + dev-libs/libev/libev-4.24.ebuild | 44 + dev-libs/libev/metadata.xml | 8 + dev-libs/libevdev/Manifest | 7 + dev-libs/libevdev/libevdev-1.5.6.ebuild | 25 + dev-libs/libevdev/libevdev-1.5.7.ebuild | 25 + dev-libs/libevdev/metadata.xml | 8 + dev-libs/libevent/Manifest | 6 + dev-libs/libevent/libevent-2.1.8.ebuild | 66 + dev-libs/libevent/libevent-9999.ebuild | 58 + dev-libs/libevent/metadata.xml | 16 + dev-libs/libevocosm/Manifest | 6 + .../libevocosm/files/libevocosm-3.3.1-gcc47.patch | 20 + dev-libs/libevocosm/libevocosm-3.3.1-r1.ebuild | 48 + dev-libs/libevocosm/metadata.xml | 8 + dev-libs/libexecinfo/Manifest | 6 + .../libexecinfo/files/libexecinfo-1.1-build.patch | 13 + dev-libs/libexecinfo/libexecinfo-1.1.ebuild | 24 + dev-libs/libexecinfo/metadata.xml | 14 + dev-libs/libexplain/Manifest | 7 + .../files/libexplain-0.45-configure.patch | 23 + dev-libs/libexplain/libexplain-1.4-r1.ebuild | 50 + dev-libs/libexplain/libexplain-1.4.ebuild | 50 + dev-libs/libexplain/metadata.xml | 11 + dev-libs/libezV24/Manifest | 7 + dev-libs/libezV24/files/libezV24-0.1.1-build.patch | 177 ++ dev-libs/libezV24/files/libezV24-0.1.1-test.patch | 20 + dev-libs/libezV24/libezV24-0.1.1.ebuild | 37 + dev-libs/libezV24/metadata.xml | 15 + dev-libs/libf2c/Manifest | 12 + .../libf2c/files/20051004-add-ofiles-dep.patch | 14 + .../20090407-link-shared-libf2c-correctly.patch | 11 + .../libf2c/files/libf2c-20110801-64bit-long.patch | 57 + .../files/libf2c-20110801-format-security.patch | 11 + dev-libs/libf2c/files/libf2c-20110801-main.patch | 40 + dev-libs/libf2c/libf2c-20110801-r4.ebuild | 57 + dev-libs/libf2c/libf2c-20130927.ebuild | 57 + dev-libs/libf2c/metadata.xml | 11 + dev-libs/libfastjson/Manifest | 9 + ...fix-for-implicit-declaration-of-vasprintf.patch | 27 + dev-libs/libfastjson/libfastjson-0.99.2.ebuild | 47 + dev-libs/libfastjson/libfastjson-0.99.4.ebuild | 40 + dev-libs/libfastjson/libfastjson-0.99.6.ebuild | 40 + dev-libs/libfastjson/metadata.xml | 15 + dev-libs/libffi/Manifest | 8 + dev-libs/libffi/files/libffi-3.1-darwin-x32.patch | 22 + .../libffi/files/libffi-3.2.1-complex_alpha.patch | 20 + .../files/libffi-3.2.1-o-tmpfile-eacces.patch | 17 + dev-libs/libffi/libffi-3.2.1.ebuild | 58 + dev-libs/libffi/metadata.xml | 39 + dev-libs/libfilezilla/Manifest | 9 + .../libfilezilla-0.9.2-cppunit-pkgconfig.patch | 428 +++++ dev-libs/libfilezilla/libfilezilla-0.10.0.ebuild | 30 + dev-libs/libfilezilla/libfilezilla-0.9.1.ebuild | 30 + dev-libs/libfilezilla/libfilezilla-0.9.2.ebuild | 39 + dev-libs/libfilezilla/metadata.xml | 24 + dev-libs/libflatarray/Manifest | 7 + dev-libs/libflatarray/libflatarray-0.1.1.ebuild | 48 + dev-libs/libflatarray/libflatarray-0.3.0.ebuild | 33 + dev-libs/libflatarray/metadata.xml | 18 + dev-libs/libfmt/Manifest | 8 + dev-libs/libfmt/libfmt-3.0.1.ebuild | 33 + dev-libs/libfmt/libfmt-3.0.2.ebuild | 35 + dev-libs/libfmt/libfmt-4.0.0.ebuild | 35 + dev-libs/libfmt/libfmt-9999.ebuild | 35 + dev-libs/libfmt/metadata.xml | 12 + dev-libs/libg15/Manifest | 7 + dev-libs/libg15/files/g15tools.patch | 100 ++ dev-libs/libg15/libg15-1.2.7-r1.ebuild | 29 + dev-libs/libg15/libg15-9999.ebuild | 51 + dev-libs/libg15/metadata.xml | 14 + dev-libs/libg15render/Manifest | 7 + .../files/libg15render-1.2-pixel-c.patch | 19 + dev-libs/libg15render/libg15render-1.2-r2.ebuild | 40 + dev-libs/libg15render/libg15render-9999.ebuild | 57 + dev-libs/libg15render/metadata.xml | 14 + dev-libs/libgames-support/Manifest | 4 + .../libgames-support/libgames-support-1.0.2.ebuild | 31 + dev-libs/libgames-support/metadata.xml | 8 + dev-libs/libgamin/Manifest | 15 + .../libgamin-0.1.10-G_CONST_RETURN-removal.patch | 67 + .../files/libgamin-0.1.10-armel-features.patch | 47 + .../files/libgamin-0.1.10-compilewarnings.patch | 22 + .../files/libgamin-0.1.10-crosscompile-fix.patch | 38 + .../libgamin/files/libgamin-0.1.10-deadlock.patch | 65 + ...amin-0.1.10-disable_python_static_library.patch | 13 + .../files/libgamin-0.1.10-noinst-lib.patch | 76 + dev-libs/libgamin/libgamin-0.1.10-r5.ebuild | 141 ++ dev-libs/libgamin/metadata.xml | 7 + dev-libs/libgaminggear/Manifest | 8 + .../files/libgaminggear-0.10.0-doc.patch | 15 + dev-libs/libgaminggear/libgaminggear-0.13.0.ebuild | 55 + dev-libs/libgaminggear/libgaminggear-0.15.1.ebuild | 60 + dev-libs/libgaminggear/metadata.xml | 16 + dev-libs/libgcrypt/Manifest | 11 + .../libgcrypt/files/libgcrypt-1.5.0-uscore.patch | 33 + .../files/libgcrypt-1.5.4-clang-arm.patch | 84 + .../libgcrypt/files/libgcrypt-1.6.1-uscore.patch | 26 + .../files/libgcrypt-multilib-syspath.patch | 23 + dev-libs/libgcrypt/libgcrypt-1.5.6-r101.ebuild | 64 + dev-libs/libgcrypt/libgcrypt-1.8.1.ebuild | 77 + dev-libs/libgcrypt/metadata.xml | 12 + dev-libs/libgdata/Manifest | 8 + .../files/libgdata-0.17.8-disable-demos.patch | 60 + dev-libs/libgdata/libgdata-0.17.8.ebuild | 64 + dev-libs/libgdata/libgdata-0.17.9-r1.ebuild | 66 + dev-libs/libgdata/metadata.xml | 11 + dev-libs/libgee/Manifest | 9 + dev-libs/libgee/libgee-0.18.1.ebuild | 29 + dev-libs/libgee/libgee-0.20.0.ebuild | 29 + dev-libs/libgee/libgee-0.6.8.ebuild | 25 + dev-libs/libgee/metadata.xml | 11 + dev-libs/libgit2-glib/Manifest | 9 + dev-libs/libgit2-glib/libgit2-glib-0.24.4.ebuild | 59 + dev-libs/libgit2-glib/libgit2-glib-0.25.0.ebuild | 58 + .../libgit2-glib/libgit2-glib-0.26.0-r1.ebuild | 58 + dev-libs/libgit2-glib/metadata.xml | 15 + dev-libs/libgit2/Manifest | 10 + dev-libs/libgit2/libgit2-0.24.6.ebuild | 75 + dev-libs/libgit2/libgit2-0.25.1.ebuild | 75 + dev-libs/libgit2/libgit2-0.26.0.ebuild | 75 + dev-libs/libgit2/libgit2-9999.ebuild | 75 + dev-libs/libgit2/metadata.xml | 25 + dev-libs/libgnome-games-support/Manifest | 8 + .../libgnome-games-support-1.2.1.ebuild | 29 + .../libgnome-games-support-1.2.2.ebuild | 29 + .../libgnome-games-support-1.2.3.ebuild | 29 + dev-libs/libgnome-games-support/metadata.xml | 8 + dev-libs/libgpg-error/Manifest | 5 + dev-libs/libgpg-error/libgpg-error-1.27-r1.ebuild | 51 + dev-libs/libgpg-error/metadata.xml | 11 + dev-libs/libgpuarray/Manifest | 5 + dev-libs/libgpuarray/libgpuarray-0.6.0.ebuild | 60 + dev-libs/libgpuarray/libgpuarray-0.6.7.ebuild | 60 + dev-libs/libgpuarray/metadata.xml | 19 + dev-libs/libgudev/Manifest | 9 + dev-libs/libgudev/libgudev-230-r1.ebuild | 39 + dev-libs/libgudev/libgudev-231.ebuild | 46 + dev-libs/libgudev/libgudev-232.ebuild | 46 + dev-libs/libgudev/metadata.xml | 12 + dev-libs/libgusb/Manifest | 11 + dev-libs/libgusb/libgusb-0.2.11.ebuild | 54 + dev-libs/libgusb/libgusb-0.2.7.ebuild | 51 + dev-libs/libgusb/libgusb-0.2.8.ebuild | 51 + dev-libs/libgusb/libgusb-0.2.9.ebuild | 54 + dev-libs/libgusb/metadata.xml | 11 + dev-libs/libgweather/Manifest | 7 + dev-libs/libgweather/libgweather-3.20.4.ebuild | 53 + dev-libs/libgweather/libgweather-3.24.1.ebuild | 53 + dev-libs/libgweather/metadata.xml | 11 + dev-libs/libhid/Manifest | 8 + dev-libs/libhid/files/libhid-0.2.16-gentoo.patch | 21 + dev-libs/libhid/files/libhid-0.2.16-libusb.patch | 25 + dev-libs/libhid/files/libhid-0.2.16-swig.patch | 45 + dev-libs/libhid/libhid-0.2.16-r4.ebuild | 56 + dev-libs/libhid/metadata.xml | 11 + dev-libs/libhome/Manifest | 7 + .../libhome/files/libhome-0.10.2-Makefile.patch | 59 + .../files/libhome-0.10.2-ldap_deprecated.patch | 12 + dev-libs/libhome/libhome-0.10.2-r1.ebuild | 55 + dev-libs/libhome/metadata.xml | 8 + dev-libs/libhtmlparse/Manifest | 5 + .../libhtmlparse/libhtmlparse-0.1.13-r1.ebuild | 34 + dev-libs/libhtmlparse/metadata.xml | 5 + dev-libs/libical/Manifest | 8 + dev-libs/libical/files/fix-libdir-location.patch | 26 + dev-libs/libical/libical-1.0.1.ebuild | 44 + dev-libs/libical/libical-2.0.0-r2.ebuild | 48 + dev-libs/libical/metadata.xml | 8 + dev-libs/libiconv/Manifest | 9 + dev-libs/libiconv/files/libiconv-1.10-link.patch | 13 + .../libiconv/files/libiconv-1.14-no-gets.patch | 22 + dev-libs/libiconv/libiconv-1.14-r1.ebuild | 52 + dev-libs/libiconv/libiconv-1.14-r2.ebuild | 55 + dev-libs/libiconv/libiconv-1.14.ebuild | 43 + dev-libs/libiconv/metadata.xml | 17 + dev-libs/libidmef/Manifest | 5 + dev-libs/libidmef/libidmef-1.0.3.ebuild | 28 + dev-libs/libidmef/metadata.xml | 8 + dev-libs/libindicate-qt/Manifest | 7 + .../libindicate-qt-0.2.5.91-optionaltests.patch | 24 + .../libindicate-qt/libindicate-qt-0.2.5.91.ebuild | 55 + dev-libs/libindicate-qt/metadata.xml | 11 + dev-libs/libindicate/Manifest | 6 + .../files/libindicate-0.6.1-no-mono.patch | 78 + dev-libs/libindicate/libindicate-12.10.1-r2.ebuild | 74 + dev-libs/libindicate/metadata.xml | 11 + dev-libs/libindicator/Manifest | 7 + .../files/libindicator-ldflags-spacing.patch | 11 + .../libindicator/libindicator-12.10.1-r201.ebuild | 54 + .../libindicator/libindicator-12.10.1-r301.ebuild | 51 + dev-libs/libindicator/metadata.xml | 8 + dev-libs/libinput/Manifest | 11 + dev-libs/libinput/libinput-1.6.2.ebuild | 55 + dev-libs/libinput/libinput-1.7.2.ebuild | 55 + dev-libs/libinput/libinput-1.7.3.ebuild | 55 + dev-libs/libinput/libinput-1.8.2.ebuild | 55 + dev-libs/libinput/metadata.xml | 12 + dev-libs/libintl/Manifest | 9 + .../libintl/files/libintl-0.19.5-langinfo.patch | 35 + dev-libs/libintl/libintl-0.19.6.ebuild | 73 + dev-libs/libintl/libintl-0.19.7.ebuild | 76 + dev-libs/libintl/libintl-0.19.8.1.ebuild | 76 + dev-libs/libintl/metadata.xml | 8 + dev-libs/libisoburn/Manifest | 7 + dev-libs/libisoburn/libisoburn-1.4.6.ebuild | 62 + dev-libs/libisoburn/libisoburn-1.4.8.ebuild | 62 + dev-libs/libisoburn/metadata.xml | 19 + dev-libs/libisofs/Manifest | 7 + dev-libs/libisofs/libisofs-1.4.6.ebuild | 41 + dev-libs/libisofs/libisofs-1.4.8.ebuild | 39 + dev-libs/libisofs/metadata.xml | 11 + dev-libs/libixion/Manifest | 8 + dev-libs/libixion/libixion-0.11.1.ebuild | 53 + dev-libs/libixion/libixion-0.12.2.ebuild | 55 + dev-libs/libixion/libixion-9999.ebuild | 54 + dev-libs/libixion/metadata.xml | 14 + dev-libs/libkpass/Manifest | 6 + dev-libs/libkpass/libkpass-6-r1.ebuild | 25 + dev-libs/libkpass/libkpass-6.ebuild | 27 + dev-libs/libkpass/metadata.xml | 8 + dev-libs/libksba/Manifest | 5 + dev-libs/libksba/libksba-1.3.5-r1.ebuild | 28 + dev-libs/libksba/metadata.xml | 8 + dev-libs/liblazy/Manifest | 5 + dev-libs/liblazy/liblazy-0.2-r1.ebuild | 26 + dev-libs/liblazy/metadata.xml | 5 + dev-libs/liblinear/Manifest | 7 + dev-libs/liblinear/liblinear-210-r1.ebuild | 64 + dev-libs/liblinear/liblinear-211.ebuild | 65 + dev-libs/liblinear/metadata.xml | 11 + dev-libs/liblinebreak/Manifest | 5 + dev-libs/liblinebreak/liblinebreak-2.1.ebuild | 24 + dev-libs/liblinebreak/metadata.xml | 13 + dev-libs/liblist/Manifest | 7 + dev-libs/liblist/liblist-2.3.1-r1.ebuild | 53 + dev-libs/liblist/liblist-2.4.ebuild | 52 + dev-libs/liblist/metadata.xml | 8 + dev-libs/liblogging/Manifest | 7 + dev-libs/liblogging/liblogging-1.0.5.ebuild | 35 + dev-libs/liblogging/liblogging-1.0.6.ebuild | 46 + dev-libs/liblogging/metadata.xml | 24 + dev-libs/liblognorm/Manifest | 18 + .../files/liblognorm-1.1.0-fix-enable-docs.patch | 41 + .../files/liblognorm-1.1.2-issue_135.patch | 110 ++ dev-libs/liblognorm/files/respect_CFLAGS.patch | 11 + dev-libs/liblognorm/liblognorm-1.1.0.ebuild | 47 + dev-libs/liblognorm/liblognorm-1.1.2-r1.ebuild | 56 + dev-libs/liblognorm/liblognorm-2.0.1.ebuild | 72 + dev-libs/liblognorm/liblognorm-2.0.2.ebuild | 72 + dev-libs/liblognorm/liblognorm-2.0.3.ebuild | 72 + dev-libs/liblognorm/liblognorm-2.0.4.ebuild | 72 + dev-libs/liblognorm/metadata.xml | 20 + dev-libs/liblouis/Manifest | 5 + dev-libs/liblouis/liblouis-2.5.3.ebuild | 64 + dev-libs/liblouis/metadata.xml | 11 + dev-libs/libltdl/Manifest | 9 + dev-libs/libltdl/libltdl-1.3.5.ebuild | 42 + dev-libs/libltdl/libltdl-1.5.26.ebuild | 38 + dev-libs/libltdl/libltdl-2.4.6.ebuild | 43 + dev-libs/libltdl/metadata.xml | 8 + dev-libs/liblzw/Manifest | 7 + dev-libs/liblzw/liblzw-0.1.2.ebuild | 18 + dev-libs/liblzw/liblzw-0.2.ebuild | 16 + dev-libs/liblzw/metadata.xml | 11 + dev-libs/libmaa/Manifest | 5 + dev-libs/libmaa/libmaa-1.3.2.ebuild | 15 + dev-libs/libmaa/metadata.xml | 17 + dev-libs/libmacaroons/Manifest | 7 + dev-libs/libmacaroons/libmacaroons-0.2.0-r1.ebuild | 40 + dev-libs/libmacaroons/libmacaroons-0.3.0.ebuild | 40 + dev-libs/libmacaroons/metadata.xml | 8 + dev-libs/libmail/Manifest | 6 + .../libmail/files/libmail-0.3-respect-cflags.patch | 37 + dev-libs/libmail/libmail-0.3-r3.ebuild | 53 + dev-libs/libmail/metadata.xml | 11 + dev-libs/libmateweather/Manifest | 11 + .../libmateweather/libmateweather-1.12.2.ebuild | 67 + .../libmateweather/libmateweather-1.14.3.ebuild | 69 + .../libmateweather/libmateweather-1.16.1.ebuild | 69 + .../libmateweather/libmateweather-1.18.0.ebuild | 42 + dev-libs/libmateweather/metadata.xml | 14 + dev-libs/libmaxminddb/Manifest | 4 + dev-libs/libmaxminddb/libmaxminddb-1.2.1.ebuild | 26 + dev-libs/libmaxminddb/metadata.xml | 11 + dev-libs/libmba/Manifest | 7 + .../libmba/files/libmba-0.9.1-glibc-2.20.patch | 34 + dev-libs/libmba/files/libmba-0.9.1-qa.patch | 96 ++ dev-libs/libmba/libmba-0.9.1-r3.ebuild | 40 + dev-libs/libmba/metadata.xml | 5 + dev-libs/libmcal/Manifest | 14 + .../libmcal/files/libmcal-0.7-flex-2.5.37.patch | 14 + dev-libs/libmcal/files/libmcal-0.7-flexfix.patch | 29 + dev-libs/libmcal/files/libmcal-0.7-fpic.patch | 56 + dev-libs/libmcal/files/libmcal-0.7-gcc4.patch | 32 + dev-libs/libmcal/files/libmcal-0.7-libdir.patch | 25 + dev-libs/libmcal/files/libmcal-0.7-r6-fpic.patch | 56 + dev-libs/libmcal/files/libmcal-0.7-r6-gcc4.patch | 34 + dev-libs/libmcal/libmcal-0.7-r5.ebuild | 67 + dev-libs/libmcal/libmcal-0.7-r6.ebuild | 72 + dev-libs/libmcal/metadata.xml | 11 + dev-libs/libmcrypt/Manifest | 6 + .../files/libmcrypt-2.5.8-rotate-mask.patch | 18 + dev-libs/libmcrypt/libmcrypt-2.5.8-r4.ebuild | 36 + dev-libs/libmcrypt/metadata.xml | 11 + dev-libs/libmcs/Manifest | 5 + dev-libs/libmcs/libmcs-0.7.2.ebuild | 25 + dev-libs/libmcs/metadata.xml | 4 + dev-libs/libmelf/Manifest | 8 + .../files/libmelf-0.4.0-gcc-makefile-cleanup.patch | 129 ++ .../libmelf-0.4.0-r1-gcc-makefile-cleanup.patch | 105 ++ .../files/libmelf-0.4.1-unfinal-release.patch | 145 ++ dev-libs/libmelf/libmelf-0.4.0-r1.ebuild | 40 + dev-libs/libmelf/metadata.xml | 8 + dev-libs/libmemcache/Manifest | 8 + .../libmemcache-1.4.0_rc2-implicit_pointer.patch | 12 + .../files/libmemcache-1.4.0_rc2-inline.patch | 33 + .../files/libmemcache-1.4.0_rc2-ppc_ftbfs.patch | 40 + .../libmemcache/libmemcache-1.4.0_rc2-r1.ebuild | 40 + dev-libs/libmemcache/metadata.xml | 10 + dev-libs/libmemcached/Manifest | 19 + dev-libs/libmemcached/files/continuum-1.0.18.patch | 56 + .../files/debug-disable-enable-1.0.18.patch | 29 + .../files/libmemcached-1.0.17-gcc4_8.patch | 183 ++ .../files/libmemcached-1.0.18-gcc7.patch | 29 + dev-libs/libmemcached/libmemcached-0.50.ebuild | 65 + dev-libs/libmemcached/libmemcached-1.0.14.ebuild | 46 + .../libmemcached/libmemcached-1.0.17-r3.ebuild | 49 + .../libmemcached/libmemcached-1.0.17-r4.ebuild | 50 + .../libmemcached/libmemcached-1.0.18-r1.ebuild | 51 + .../libmemcached/libmemcached-1.0.18-r2.ebuild | 53 + .../libmemcached/libmemcached-1.0.18-r3.ebuild | 55 + dev-libs/libmemcached/libmemcached-1.0.18.ebuild | 50 + dev-libs/libmemcached/metadata.xml | 23 + dev-libs/libmirage/Manifest | 5 + dev-libs/libmirage/libmirage-3.1.0.ebuild | 52 + dev-libs/libmirage/metadata.xml | 15 + dev-libs/libmix/Manifest | 8 + .../libmix/files/libmix-2.05-fix-pattern.patch | 12 + dev-libs/libmix/files/libmix-2.05-gentoo-r1.patch | 287 ++++ dev-libs/libmix/files/libmix-2.05-libnet.patch | 27 + dev-libs/libmix/libmix-2.05-r7.ebuild | 42 + dev-libs/libmix/metadata.xml | 5 + dev-libs/libmodbus/Manifest | 8 + dev-libs/libmodbus/files/libmodbus-3.1.4-doc.patch | 11 + dev-libs/libmodbus/libmodbus-3.1.2.ebuild | 25 + dev-libs/libmodbus/libmodbus-3.1.4.ebuild | 33 + dev-libs/libmodbus/metadata.xml | 8 + dev-libs/libmoe/Manifest | 8 + dev-libs/libmoe/files/libmoe-1.5.8-gcc5.patch | 61 + dev-libs/libmoe/files/libmoe-1.5.8-gentoo.patch | 9 + dev-libs/libmoe/files/libmoe-1.5.8-makefile.patch | 23 + dev-libs/libmoe/libmoe-1.5.8-r3.ebuild | 39 + dev-libs/libmoe/metadata.xml | 8 + dev-libs/libmongo-client/Manifest | 7 + .../libmongo-client/libmongo-client-0.1.7.ebuild | 38 + .../libmongo-client/libmongo-client-0.1.8.ebuild | 41 + dev-libs/libmongo-client/metadata.xml | 17 + dev-libs/libmowgli-glib/Manifest | 5 + dev-libs/libmowgli-glib/libmowgli-glib-0.1.ebuild | 18 + dev-libs/libmowgli-glib/metadata.xml | 7 + dev-libs/libmowgli/Manifest | 10 + dev-libs/libmowgli/libmowgli-1.0.0.ebuild | 18 + dev-libs/libmowgli/libmowgli-2.0.0-r1.ebuild | 25 + dev-libs/libmowgli/libmowgli-2.1.3.ebuild | 28 + dev-libs/libmowgli/libmowgli-9999.ebuild | 27 + dev-libs/libmowgli/metadata.xml | 12 + dev-libs/libmspack/Manifest | 5 + .../files/libmspack-0.5_alpha-CVE-2017-6419.patch | 41 + dev-libs/libmspack/libmspack-0.5_alpha-r1.ebuild | 50 + dev-libs/libmspack/libmspack-0.5_alpha.ebuild | 46 + dev-libs/libmspack/metadata.xml | 8 + dev-libs/libnatspec/Manifest | 8 + .../libnatspec/files/libnatspec-0.2.6-iconv.patch | 12 + dev-libs/libnatspec/libnatspec-0.2.6-r1.ebuild | 44 + dev-libs/libnatspec/libnatspec-0.3.0.ebuild | 48 + dev-libs/libnatspec/metadata.xml | 11 + dev-libs/libnfc/Manifest | 10 + .../libnfc/files/libnfc-1.5.1-glibc-2.17.patch | 13 + dev-libs/libnfc/libnfc-1.4.2.ebuild | 30 + dev-libs/libnfc/libnfc-1.5.1-r1.ebuild | 51 + dev-libs/libnfc/libnfc-1.7.1.ebuild | 43 + dev-libs/libnfc/metadata.xml | 15 + dev-libs/libnl/Manifest | 19 + dev-libs/libnl/files/libnl-1.1-flags.patch | 11 + dev-libs/libnl/files/libnl-1.1-vlan-header.patch | 80 + dev-libs/libnl/files/libnl-1.1.3-offsetof.patch | 12 + dev-libs/libnl/libnl-1.1.4.ebuild | 53 + dev-libs/libnl/libnl-3.2.28.ebuild | 114 ++ dev-libs/libnl/libnl-3.2.29.ebuild | 114 ++ dev-libs/libnl/libnl-3.3.0.ebuild | 106 ++ dev-libs/libnl/libnl-3.4.0_rc1.ebuild | 107 ++ dev-libs/libnl/libnl-99999999.ebuild | 102 ++ dev-libs/libnl/metadata.xml | 16 + dev-libs/libnsfb/Manifest | 7 + .../libnsfb/files/libnsfb-0.1.0-autodetect.patch | 21 + dev-libs/libnsfb/libnsfb-0.1.5.ebuild | 39 + dev-libs/libnsfb/metadata.xml | 8 + dev-libs/libnsutils/Manifest | 6 + dev-libs/libnsutils/libnsutils-0.0.3.ebuild | 18 + dev-libs/libnsutils/metadata.xml | 8 + dev-libs/libntru/Manifest | 6 + dev-libs/libntru/libntru-0.4.1-r1.ebuild | 64 + dev-libs/libntru/libntru-0.4.1.ebuild | 62 + dev-libs/libntru/metadata.xml | 8 + dev-libs/libofx/Manifest | 5 + dev-libs/libofx/libofx-0.9.10.ebuild | 49 + dev-libs/libofx/metadata.xml | 8 + dev-libs/liboil/Manifest | 7 + .../liboil/files/liboil-0.3.17-amd64-cpuid.patch | 38 + dev-libs/liboil/files/liboil-0.3.17-x32.patch | 224 +++ dev-libs/liboil/liboil-0.3.17-r2.ebuild | 56 + dev-libs/liboil/metadata.xml | 7 + dev-libs/liboobs/Manifest | 5 + dev-libs/liboobs/liboobs-3.0.0.ebuild | 33 + dev-libs/liboobs/metadata.xml | 14 + dev-libs/liboop/Manifest | 5 + dev-libs/liboop/liboop-1.0-r1.ebuild | 41 + dev-libs/liboop/metadata.xml | 5 + dev-libs/liborcus/Manifest | 8 + dev-libs/liborcus/liborcus-0.11.2.ebuild | 57 + dev-libs/liborcus/liborcus-0.12.1.ebuild | 57 + dev-libs/liborcus/liborcus-9999.ebuild | 57 + dev-libs/liborcus/metadata.xml | 18 + dev-libs/libotf/Manifest | 6 + dev-libs/libotf/files/libotf-0.9.13-build.patch | 22 + dev-libs/libotf/libotf-0.9.13.ebuild | 44 + dev-libs/libotf/metadata.xml | 12 + dev-libs/libowfat/Manifest | 10 + .../libowfat/files/libowfat-0.28-GNUmakefile.patch | 10 + dev-libs/libowfat/libowfat-0.29.ebuild | 49 + dev-libs/libowfat/libowfat-0.30.ebuild | 44 + dev-libs/libowfat/libowfat-0.31.ebuild | 44 + dev-libs/libowfat/metadata.xml | 10 + dev-libs/libp11/Manifest | 5 + dev-libs/libp11/libp11-0.4.4.ebuild | 34 + dev-libs/libp11/metadata.xml | 21 + dev-libs/libparserutils/Manifest | 6 + .../libparserutils/libparserutils-0.2.3.ebuild | 25 + dev-libs/libparserutils/metadata.xml | 8 + dev-libs/libpcre-debian/Manifest | 3 + dev-libs/libpcre-debian/libpcre-debian-8-r1.ebuild | 24 + dev-libs/libpcre-debian/metadata.xml | 8 + dev-libs/libpcre/Manifest | 11 + dev-libs/libpcre/files/libpcre-8.40-jit-else.patch | 68 + .../files/libpcre-8.40-pcregrep-multiline-1.patch | 69 + .../files/libpcre-8.40-pcregrep-multiline-2.patch | 25 + ...bpcre-8.41-sljit_mips-label-statement-fix.patch | 15 + dev-libs/libpcre/libpcre-8.40-r1.ebuild | 96 ++ dev-libs/libpcre/libpcre-8.41.ebuild | 103 ++ dev-libs/libpcre/metadata.xml | 32 + dev-libs/libpcre2/Manifest | 8 + dev-libs/libpcre2/libpcre2-10.22.ebuild | 76 + dev-libs/libpcre2/libpcre2-10.23.ebuild | 76 + dev-libs/libpcre2/libpcre2-10.30.ebuild | 79 + dev-libs/libpcre2/metadata.xml | 32 + dev-libs/libpeas/Manifest | 7 + dev-libs/libpeas/files/libpeas-1.14.0-lua.pc.patch | 18 + dev-libs/libpeas/libpeas-1.20.0-r1.ebuild | 84 + dev-libs/libpeas/libpeas-1.20.0.ebuild | 97 ++ dev-libs/libpeas/metadata.xml | 13 + dev-libs/libpfm/Manifest | 9 + dev-libs/libpfm/libpfm-4.4.0.ebuild | 35 + dev-libs/libpfm/libpfm-4.6.0.ebuild | 35 + dev-libs/libpfm/libpfm-4.8.0.ebuild | 35 + dev-libs/libpfm/metadata.xml | 10 + dev-libs/libpipeline/Manifest | 15 + ...ibpipeline-1.4.1-gnulib-cygwin-sys_select.patch | 22 + ...pipeline-1.4.1-gnulib-darwin-program_name.patch | 28 + dev-libs/libpipeline/libpipeline-1.2.5.ebuild | 18 + dev-libs/libpipeline/libpipeline-1.3.1.ebuild | 18 + dev-libs/libpipeline/libpipeline-1.4.0.ebuild | 18 + dev-libs/libpipeline/libpipeline-1.4.1.ebuild | 23 + dev-libs/libpipeline/libpipeline-1.4.2.ebuild | 23 + dev-libs/libpipeline/metadata.xml | 8 + dev-libs/libplatform/Manifest | 7 + .../libplatform-2.0.1-arch-specific-libdirs.patch | 31 + dev-libs/libplatform/libplatform-2.0.1.ebuild | 22 + dev-libs/libplatform/libplatform-2.1.0.1.ebuild | 20 + dev-libs/libplatform/metadata.xml | 11 + dev-libs/libpo6/Manifest | 9 + dev-libs/libpo6/libpo6-0.6.0.ebuild | 16 + dev-libs/libpo6/libpo6-0.7.0.ebuild | 16 + dev-libs/libpo6/libpo6-0.8.0.ebuild | 16 + dev-libs/libpo6/metadata.xml | 8 + dev-libs/libpqxx/Manifest | 7 + dev-libs/libpqxx/libpqxx-4.0.1.ebuild | 84 + dev-libs/libpqxx/libpqxx-5.1.0.ebuild | 86 + dev-libs/libpqxx/metadata.xml | 15 + dev-libs/libprelude/Manifest | 12 + .../files/libprelude-3.0.0-perl-hardening.patch | 14 + .../files/libprelude-3.0.0-ruby-configure.patch | 14 + .../files/libprelude-3.0.0-ruby-m4.patch | 20 + .../libprelude-4.0.0-fix-python-bindings.patch | 38 + dev-libs/libprelude/libprelude-3.0.0.ebuild | 84 + dev-libs/libprelude/libprelude-3.1.0-r1.ebuild | 77 + dev-libs/libprelude/libprelude-4.0.0.ebuild | 92 + dev-libs/libprelude/metadata.xml | 20 + dev-libs/libpreludedb/Manifest | 9 + .../libpreludedb-4.0.0-fix-python-bindings.patch | 39 + dev-libs/libpreludedb/libpreludedb-3.0.0.ebuild | 74 + dev-libs/libpreludedb/libpreludedb-3.1.0.ebuild | 72 + dev-libs/libpreludedb/libpreludedb-4.0.0.ebuild | 89 + dev-libs/libpreludedb/metadata.xml | 19 + dev-libs/libproccpuinfo/Manifest | 5 + .../libproccpuinfo/libproccpuinfo-0.0.8-r1.ebuild | 30 + dev-libs/libproccpuinfo/metadata.xml | 5 + dev-libs/libpthread-stubs/Manifest | 7 + .../libpthread-stubs-0.3-r1.ebuild | 16 + .../libpthread-stubs/libpthread-stubs-0.4.ebuild | 16 + dev-libs/libpthread-stubs/metadata.xml | 8 + dev-libs/libpwquality/Manifest | 7 + dev-libs/libpwquality/libpwquality-1.3.0.ebuild | 77 + dev-libs/libpwquality/libpwquality-1.4.0.ebuild | 77 + dev-libs/libpwquality/metadata.xml | 8 + dev-libs/libqtxdg/Manifest | 5 + dev-libs/libqtxdg/libqtxdg-2.0.0.ebuild | 47 + dev-libs/libqtxdg/metadata.xml | 12 + dev-libs/libratbag/Manifest | 3 + dev-libs/libratbag/libratbag-0.9.ebuild | 33 + dev-libs/libratbag/metadata.xml | 11 + dev-libs/librdkafka/Manifest | 14 + .../librdkafka-0.9.2-remove-lz4-automagic.patch | 47 + .../librdkafka-0.9.3-remove-lz4-automagic.patch | 46 + dev-libs/librdkafka/librdkafka-0.11.0.ebuild | 71 + dev-libs/librdkafka/librdkafka-0.9.2-r1.ebuild | 73 + dev-libs/librdkafka/librdkafka-0.9.3.ebuild | 73 + dev-libs/librdkafka/librdkafka-0.9.4.ebuild | 71 + dev-libs/librdkafka/librdkafka-0.9.5.ebuild | 71 + dev-libs/librdkafka/metadata.xml | 15 + dev-libs/librelp/Manifest | 9 + dev-libs/librelp/librelp-1.2.12.ebuild | 55 + dev-libs/librelp/librelp-1.2.13.ebuild | 55 + dev-libs/librelp/librelp-1.2.14.ebuild | 55 + dev-libs/librelp/metadata.xml | 12 + dev-libs/librep/Manifest | 7 + dev-libs/librep/files/50librep-gentoo.el | 6 + .../librep/files/librep-0.92.0-disable-elisp.patch | 19 + dev-libs/librep/librep-0.92.6.ebuild | 78 + dev-libs/librep/metadata.xml | 8 + dev-libs/libreport/Manifest | 10 + .../files/libreport-2.0.13-automake-1.12.patch | 80 + .../libreport/files/libreport-2.0.13-gentoo.patch | 295 ++++ .../files/libreport-2.0.13-json-c-0.11-pc.patch | 51 + .../files/libreport-2.0.13-json-c-0.11.patch | 35 + .../libreport-2.0.7-uploader_event-syntax.patch | 19 + dev-libs/libreport/libreport-2.0.13-r1.ebuild | 94 + dev-libs/libreport/metadata.xml | 8 + dev-libs/libressl/Manifest | 18 + dev-libs/libressl/libressl-2.3.10.ebuild | 52 + dev-libs/libressl/libressl-2.4.5.ebuild | 52 + dev-libs/libressl/libressl-2.5.0.ebuild | 52 + dev-libs/libressl/libressl-2.5.4.ebuild | 52 + dev-libs/libressl/libressl-2.5.5.ebuild | 52 + dev-libs/libressl/libressl-2.6.0.ebuild | 52 + dev-libs/libressl/libressl-2.6.1.ebuild | 52 + dev-libs/libressl/libressl-2.6.2.ebuild | 52 + dev-libs/libressl/metadata.xml | 30 + dev-libs/librevenge/Manifest | 6 + dev-libs/librevenge/librevenge-0.0.4-r1.ebuild | 48 + dev-libs/librevenge/librevenge-9999.ebuild | 48 + dev-libs/librevenge/metadata.xml | 8 + dev-libs/libsecp256k1/Manifest | 8 + .../libsecp256k1-0.0.0_pre20151118.ebuild | 61 + .../libsecp256k1-0.0.0_pre20161213.ebuild | 69 + dev-libs/libsecp256k1/libsecp256k1-9999.ebuild | 66 + dev-libs/libsecp256k1/metadata.xml | 24 + dev-libs/libserialport/Manifest | 8 + dev-libs/libserialport/libserialport-0.1.0.ebuild | 40 + dev-libs/libserialport/libserialport-0.1.1.ebuild | 39 + dev-libs/libserialport/libserialport-9999.ebuild | 39 + dev-libs/libserialport/metadata.xml | 8 + dev-libs/libsigc++/Manifest | 9 + .../files/libsigc++-1.2.7-fix-install.patch | 11 + ...igc++-2.10.0-make-disable-benchmarks-work.patch | 18 + dev-libs/libsigc++/libsigc++-1.2.7.ebuild | 42 + dev-libs/libsigc++/libsigc++-2.10.0.ebuild | 57 + dev-libs/libsigc++/metadata.xml | 11 + dev-libs/libsigsegv/Manifest | 7 + dev-libs/libsigsegv/libsigsegv-2.10.ebuild | 31 + dev-libs/libsigsegv/libsigsegv-2.11.ebuild | 30 + dev-libs/libsigsegv/metadata.xml | 23 + dev-libs/libslz/Manifest | 4 + dev-libs/libslz/libslz-1.1.0.ebuild | 65 + dev-libs/libslz/metadata.xml | 20 + dev-libs/libsodium/Manifest | 12 + .../files/libsodium-1.0.10-cpuflags.patch | 40 + dev-libs/libsodium/libsodium-1.0.11.ebuild | 43 + dev-libs/libsodium/libsodium-1.0.13.ebuild | 43 + dev-libs/libsodium/libsodium-1.0.14.ebuild | 43 + dev-libs/libsodium/libsodium-1.0.15.ebuild | 43 + dev-libs/libsodium/metadata.xml | 23 + dev-libs/libsolv/Manifest | 4 + dev-libs/libsolv/libsolv-0.6.22.ebuild | 103 ++ dev-libs/libsolv/metadata.xml | 13 + dev-libs/libspnav/Manifest | 7 + .../files/libspnav-0.2.2-custom-flags.patch | 75 + .../libspnav/files/libspnav-0.2.2-makefile.patch | 27 + dev-libs/libspnav/libspnav-0.2.2.ebuild | 47 + dev-libs/libspnav/metadata.xml | 28 + dev-libs/libspt/Manifest | 8 + dev-libs/libspt/files/libspt-1.1-gentoo.patch | 21 + dev-libs/libspt/files/libspt-gentoo.patch | 29 + dev-libs/libspt/libspt-1.1-r2.ebuild | 17 + dev-libs/libspt/libspt-1.1-r3.ebuild | 25 + dev-libs/libspt/metadata.xml | 8 + dev-libs/libsqlora8/Manifest | 5 + dev-libs/libsqlora8/libsqlora8-2.3.3-r1.ebuild | 55 + dev-libs/libsqlora8/metadata.xml | 12 + dev-libs/libstrl/Manifest | 5 + dev-libs/libstrl/libstrl-0.5.1.ebuild | 30 + dev-libs/libstrl/metadata.xml | 8 + dev-libs/libstroke/Manifest | 8 + .../files/libstroke-0.5.1-autotools.patch | 29 + .../files/libstroke-0.5.1-m4_syntax.patch | 31 + .../libstroke/files/libstroke-0.5.1-no_gtk1.patch | 33 + dev-libs/libstroke/libstroke-0.5.1.ebuild | 31 + dev-libs/libstroke/metadata.xml | 8 + dev-libs/libtar/Manifest | 9 + dev-libs/libtar/files/CVE-2013-4420.patch | 94 + dev-libs/libtar/files/libtar-1.2.11-free.patch | 22 + dev-libs/libtar/files/libtar-1.2.11-impl-dec.patch | 15 + dev-libs/libtar/libtar-1.2.20-r2.ebuild | 54 + dev-libs/libtar/libtar-1.2.20-r3.ebuild | 60 + dev-libs/libtar/metadata.xml | 13 + dev-libs/libtasn1/Manifest | 6 + .../files/libtasn1-4.12-CVE-2017-10790.patch | 55 + dev-libs/libtasn1/libtasn1-4.12-r1.ebuild | 54 + dev-libs/libtasn1/metadata.xml | 13 + dev-libs/libtecla/Manifest | 19 + .../libtecla/files/libtecla-1.6.1-LDFLAGS2.patch | 20 + .../libtecla/files/libtecla-1.6.1-install.patch | 18 + .../libtecla/files/libtecla-1.6.1-ldflags.patch | 27 + .../libtecla/files/libtecla-1.6.1-no-strip.patch | 14 + .../files/libtecla-1.6.1-parallel_build2.patch | 36 + .../files/libtecla-1.6.1-prll-install.patch | 52 + .../libtecla/files/libtecla-1.6.3-ldflags.patch | 37 + .../libtecla/files/libtecla-1.6.3-prll-build.patch | 9 + .../files/libtecla-1.6.3-secure-runpath.patch | 26 + .../files/libtecla-1.6.3-static-libs.patch | 25 + dev-libs/libtecla/libtecla-1.6.1-r2.ebuild | 44 + dev-libs/libtecla/libtecla-1.6.2.ebuild | 44 + dev-libs/libtecla/libtecla-1.6.3.ebuild | 47 + dev-libs/libtecla/metadata.xml | 18 + dev-libs/libtermkey/Manifest | 7 + dev-libs/libtermkey/libtermkey-0.19.ebuild | 38 + dev-libs/libtermkey/libtermkey-0.20.ebuild | 39 + dev-libs/libtermkey/metadata.xml | 11 + dev-libs/libtomfloat/Manifest | 5 + dev-libs/libtomfloat/libtomfloat-0.02.ebuild | 33 + dev-libs/libtomfloat/metadata.xml | 8 + dev-libs/libtommath/Manifest | 9 + .../files/libtommath-0.42.0-makefile.patch | 47 + dev-libs/libtommath/libtommath-0.42.0-r1.ebuild | 65 + dev-libs/libtommath/libtommath-1.0-r1.ebuild | 72 + dev-libs/libtommath/libtommath-1.0.ebuild | 63 + dev-libs/libtommath/metadata.xml | 64 + dev-libs/libtompoly/Manifest | 5 + dev-libs/libtompoly/libtompoly-0.04.ebuild | 32 + dev-libs/libtompoly/metadata.xml | 27 + dev-libs/libtrain/Manifest | 6 + .../libtrain/files/libtrain-0.9b-impl-dec.patch | 29 + dev-libs/libtrain/libtrain-0.9b.ebuild | 24 + dev-libs/libtrain/metadata.xml | 5 + dev-libs/libtreadstone/Manifest | 7 + dev-libs/libtreadstone/libtreadstone-0.1.0.ebuild | 17 + dev-libs/libtreadstone/libtreadstone-0.2.0.ebuild | 17 + dev-libs/libtreadstone/metadata.xml | 8 + dev-libs/libtubo/Manifest | 4 + dev-libs/libtubo/libtubo-5.0.15.ebuild | 31 + dev-libs/libtubo/metadata.xml | 7 + dev-libs/libucl/Manifest | 4 + dev-libs/libucl/libucl-0.7.3.ebuild | 45 + dev-libs/libucl/metadata.xml | 23 + dev-libs/libunicode/Manifest | 5 + dev-libs/libunicode/libunicode-0.4-r1.ebuild | 26 + dev-libs/libunicode/metadata.xml | 5 + dev-libs/libunique/Manifest | 12 + .../files/libunique-1.1.6-G_CONST_RETURN.patch | 143 ++ .../files/libunique-1.1.6-compiler-warnings.patch | 50 + .../libunique/files/libunique-1.1.6-fix-test.patch | 26 + .../files/libunique-1.1.6-include-terminator.patch | 37 + dev-libs/libunique/files/run-tests | 18 + dev-libs/libunique/libunique-1.1.6-r2.ebuild | 63 + dev-libs/libunique/libunique-3.0.2-r1.ebuild | 45 + dev-libs/libunique/metadata.xml | 11 + dev-libs/libunistring/Manifest | 10 + .../libunistring/files/libunistring-nodocs.patch | 12 + dev-libs/libunistring/libunistring-0.9.5.ebuild | 35 + dev-libs/libunistring/libunistring-0.9.6.ebuild | 33 + dev-libs/libunistring/libunistring-0.9.7.ebuild | 44 + dev-libs/libunistring/metadata.xml | 19 + dev-libs/libusb-compat/Manifest | 7 + dev-libs/libusb-compat/files/libusb-0.1-ansi.patch | 190 +++ .../libusb-compat/libusb-compat-0.1.5-r2.ebuild | 52 + .../libusb-compat/libusb-compat-0.1.5-r3.ebuild | 56 + dev-libs/libusb-compat/metadata.xml | 19 + dev-libs/libusb/Manifest | 9 + dev-libs/libusb/libusb-1.0.19-r1.ebuild | 70 + dev-libs/libusb/libusb-1.0.20.ebuild | 71 + dev-libs/libusb/libusb-1.0.21.ebuild | 66 + dev-libs/libusb/metadata.xml | 15 + dev-libs/libusbhp/Manifest | 5 + dev-libs/libusbhp/libusbhp-1.0.2.ebuild | 28 + dev-libs/libusbhp/metadata.xml | 8 + dev-libs/libutf8proc/Manifest | 7 + .../files/libutf8proc-1.3.1_p2-overrun.patch | 33 + .../libutf8proc/libutf8proc-1.3.1_p2-r1.ebuild | 24 + dev-libs/libutf8proc/metadata.xml | 8 + dev-libs/libuv/Manifest | 11 + dev-libs/libuv/libuv-1.10.2.ebuild | 45 + dev-libs/libuv/libuv-1.11.0.ebuild | 45 + dev-libs/libuv/libuv-1.14.0.ebuild | 45 + dev-libs/libuv/libuv-1.14.1.ebuild | 45 + dev-libs/libuv/metadata.xml | 37 + dev-libs/libverto/Manifest | 8 + dev-libs/libverto/libverto-0.2.5-r1.ebuild | 51 + dev-libs/libverto/libverto-0.2.5.ebuild | 51 + dev-libs/libverto/libverto-0.2.6.ebuild | 51 + dev-libs/libverto/metadata.xml | 15 + dev-libs/libvformat/Manifest | 9 + .../files/libvformat-1.13-has_unistd.patch | 13 + .../libvformat/files/libvformat-1.13-str.patch | 22 + dev-libs/libvformat/files/libvformat-nodoc.patch | 8 + dev-libs/libvformat/libvformat-1.13-r2.ebuild | 38 + dev-libs/libvformat/metadata.xml | 8 + dev-libs/libvolume_id/Manifest | 7 + dev-libs/libvolume_id/libvolume_id-0.81.0.ebuild | 32 + dev-libs/libvolume_id/libvolume_id-0.81.1.ebuild | 32 + dev-libs/libvolume_id/metadata.xml | 11 + dev-libs/libvterm-neovim/Manifest | 7 + .../libvterm-neovim-0.0_pre20150309.ebuild | 30 + .../libvterm-neovim-0.0_pre20150621.ebuild | 30 + dev-libs/libvterm-neovim/metadata.xml | 8 + dev-libs/libvterm/Manifest | 6 + dev-libs/libvterm/libvterm-0.0_pre20151022.ebuild | 32 + dev-libs/libvterm/libvterm-0.0_pre20160305.ebuild | 32 + dev-libs/libvterm/metadata.xml | 8 + dev-libs/libwacom/Manifest | 9 + dev-libs/libwacom/libwacom-0.24.ebuild | 45 + dev-libs/libwacom/libwacom-0.25.ebuild | 46 + dev-libs/libwacom/libwacom-0.26.ebuild | 46 + dev-libs/libwacom/metadata.xml | 10 + dev-libs/libwapcaplet/Manifest | 6 + dev-libs/libwapcaplet/libwapcaplet-0.4.0.ebuild | 17 + dev-libs/libwapcaplet/metadata.xml | 8 + dev-libs/libwbxml/Manifest | 5 + dev-libs/libwbxml/libwbxml-0.11.2.ebuild | 34 + dev-libs/libwbxml/metadata.xml | 8 + dev-libs/libx86/Manifest | 10 + dev-libs/libx86/files/libx86-0.99-ifmask.patch | 21 + dev-libs/libx86/files/libx86-1.1-makefile.patch | 28 + dev-libs/libx86/files/libx86-1.1-x86emu.patch | 38 + dev-libs/libx86/libx86-1.1-r2.ebuild | 36 + dev-libs/libx86/libx86-1.1-r3.ebuild | 46 + dev-libs/libx86/libx86-1.1-r4.ebuild | 50 + dev-libs/libx86/metadata.xml | 8 + dev-libs/libx86emu/Manifest | 5 + dev-libs/libx86emu/libx86emu-1.1.ebuild | 38 + dev-libs/libx86emu/metadata.xml | 5 + dev-libs/libxdg-basedir/Manifest | 6 + .../libxdg-basedir-1.2.0-buffer-overflow.patch | 26 + .../libxdg-basedir/libxdg-basedir-1.2.0-r1.ebuild | 50 + dev-libs/libxdg-basedir/metadata.xml | 8 + dev-libs/libxdiff/Manifest | 6 + dev-libs/libxdiff/libxdiff-0.23-r1.ebuild | 35 + dev-libs/libxdiff/libxdiff-0.23-r2.ebuild | 31 + dev-libs/libxdiff/metadata.xml | 5 + dev-libs/libxls/Manifest | 7 + dev-libs/libxls/files/libxls-1.4.0-asprintf.patch | 8 + dev-libs/libxls/files/libxls-1.4.0-infinite.patch | 16 + dev-libs/libxls/libxls-1.4.0-r1.ebuild | 39 + dev-libs/libxls/metadata.xml | 11 + dev-libs/libxml2/Manifest | 30 + .../libxml2/files/libxml2-2.7.1-catalog_path.patch | 66 + .../libxml2/files/libxml2-2.8.0_rc1-winnt.patch | 91 + .../files/libxml2-2.9.2-disable-tests.patch | 68 + .../files/libxml2-2.9.2-python-ABIFLAG.patch | 16 + .../files/libxml2-2.9.4-CVE-2016-4658.patch | 249 +++ .../files/libxml2-2.9.4-CVE-2016-5131.patch | 174 ++ .../files/libxml2-2.9.4-CVE-2016-9318.patch | 202 +++ .../files/libxml2-2.9.4-CVE-2017-0663.patch | 43 + .../files/libxml2-2.9.4-CVE-2017-5969.patch | 63 + .../files/libxml2-2.9.4-CVE-2017-7375.patch | 35 + .../files/libxml2-2.9.4-CVE-2017-7376.patch | 31 + .../files/libxml2-2.9.4-CVE-2017-9047-9048.patch | 116 ++ .../files/libxml2-2.9.4-CVE-2017-9049-9050.patch | 316 ++++ .../files/libxml2-2.9.4-fix-root-node-cmp.patch | 34 + .../files/libxml2-2.9.4-heap-buffer-overflow.patch | 32 + .../libxml2/files/libxml2-2.9.4-nullptrderef.patch | 50 + .../files/libxml2-2.9.4-nullptrderef2.patch | 57 + .../files/libxml2-2.9.4-osd-validation.patch | 66 + dev-libs/libxml2/libxml2-2.9.4-r1.ebuild | 220 +++ dev-libs/libxml2/libxml2-2.9.4-r2.ebuild | 231 +++ dev-libs/libxml2/libxml2-2.9.4-r3.ebuild | 239 +++ dev-libs/libxml2/libxml2-2.9.5.ebuild | 208 +++ dev-libs/libxml2/metadata.xml | 11 + dev-libs/libxslt/Manifest | 14 + .../libxslt/files/1.1.30-unbreak-xslt-config.patch | 37 + .../libxslt-1.1.28-disable-static-modules.patch | 33 + .../files/libxslt-1.1.28-simplify-python.patch | 250 +++ dev-libs/libxslt/files/libxslt-1.1.29-cygwin.patch | 29 + .../files/libxslt-1.1.30-simplify-python.patch | 250 +++ .../libxslt/files/libxslt.m4-libxslt-1.1.26.patch | 38 + dev-libs/libxslt/libxslt-1.1.29-r1.ebuild | 130 ++ dev-libs/libxslt/libxslt-1.1.30-r1.ebuild | 133 ++ dev-libs/libxslt/libxslt-1.1.30.ebuild | 129 ++ dev-libs/libxslt/metadata.xml | 8 + dev-libs/libyaml/Manifest | 5 + dev-libs/libyaml/libyaml-0.1.7.ebuild | 47 + dev-libs/libyaml/metadata.xml | 12 + dev-libs/libzeitgeist/Manifest | 5 + dev-libs/libzeitgeist/libzeitgeist-0.3.18.ebuild | 43 + dev-libs/libzeitgeist/metadata.xml | 15 + dev-libs/libzip/Manifest | 13 + .../libzip/files/libzip-1.2.0-CVE-2017-12858.patch | 37 + .../libzip/files/libzip-1.2.0-CVE-2017-14107.patch | 27 + dev-libs/libzip/files/libzip-1.2.0-fts.patch | 11 + dev-libs/libzip/files/libzip-1.2.0-headers.patch | 12 + dev-libs/libzip/libzip-1.2.0-r1.ebuild | 40 + dev-libs/libzip/libzip-1.2.0-r2.ebuild | 41 + dev-libs/libzip/libzip-1.2.0.ebuild | 39 + dev-libs/libzip/libzip-1.3.0.ebuild | 48 + dev-libs/libzip/metadata.xml | 12 + dev-libs/link-grammar/Manifest | 8 + .../link-grammar-5.3.9-out-of-source-build.patch | 61 + dev-libs/link-grammar/link-grammar-5.3.10.ebuild | 155 ++ dev-libs/link-grammar/link-grammar-5.3.11.ebuild | 164 ++ dev-libs/link-grammar/metadata.xml | 18 + dev-libs/lockdev/Manifest | 9 + .../files/lockdev-1.0.3-add-autotools.patch | 55 + .../lockdev/files/lockdev-1.0.3-fix-perl.patch | 11 + dev-libs/lockdev/lockdev-1.0.3.1.2-r2.ebuild | 99 ++ dev-libs/lockdev/lockdev-1.0.3.1.2-r3.ebuild | 103 ++ dev-libs/lockdev/metadata.xml | 5 + dev-libs/locked_sstream/Manifest | 3 + .../locked_sstream/locked_sstream-0.0.5.ebuild | 29 + dev-libs/locked_sstream/metadata.xml | 11 + dev-libs/log4cplus/Manifest | 8 + .../files/log4cplus-1.2.0-fix-c++14.patch | 31 + dev-libs/log4cplus/log4cplus-1.1.3_rc7.ebuild | 77 + dev-libs/log4cplus/log4cplus-1.2.0.ebuild | 62 + dev-libs/log4cplus/metadata.xml | 13 + dev-libs/log4cpp/Manifest | 12 + dev-libs/log4cpp/files/1.0-asneeded.patch | 122 ++ dev-libs/log4cpp/files/1.0-doc_install_path.patch | 38 + dev-libs/log4cpp/files/1.0-gcc43.patch | 26 + .../log4cpp/files/log4cpp-1.1-automake-1.13.patch | 11 + dev-libs/log4cpp/files/log4cpp-1.1-cmath-fix.patch | 10 + dev-libs/log4cpp/log4cpp-1.0.ebuild | 36 + dev-libs/log4cpp/log4cpp-1.1.ebuild | 55 + dev-libs/log4cpp/metadata.xml | 11 + dev-libs/log4cxx/Manifest | 9 + .../log4cxx/files/log4cxx-0.10.0-fix-c++14.patch | 100 ++ dev-libs/log4cxx/files/log4cxx-0.10.0-gcc44.patch | 12 + .../files/log4cxx-0.10.0-missing_includes.patch | 37 + .../log4cxx/files/log4cxx-0.10.0-unixODBC.patch | 75 + dev-libs/log4cxx/log4cxx-0.10.0-r1.ebuild | 63 + dev-libs/log4cxx/metadata.xml | 11 + dev-libs/log4sh/Manifest | 5 + dev-libs/log4sh/log4sh-1.4.2.ebuild | 47 + dev-libs/log4sh/metadata.xml | 11 + dev-libs/log4shib/Manifest | 8 + dev-libs/log4shib/files/log4shib-doc.patch | 11 + dev-libs/log4shib/log4shib-1.0.1.ebuild | 35 + dev-libs/log4shib/log4shib-1.0.4.ebuild | 28 + dev-libs/log4shib/metadata.xml | 9 + dev-libs/ltxml/Manifest | 7 + dev-libs/ltxml/ltxml-1.2.5.ebuild | 25 + dev-libs/ltxml/ltxml-1.2.9.ebuild | 44 + dev-libs/ltxml/metadata.xml | 8 + dev-libs/luise-bin/Manifest | 5 + dev-libs/luise-bin/luise-bin-0.1.1.ebuild | 40 + dev-libs/luise-bin/metadata.xml | 5 + dev-libs/lzo/Manifest | 7 + dev-libs/lzo/lzo-2.09.ebuild | 47 + dev-libs/lzo/lzo-2.10.ebuild | 38 + dev-libs/lzo/metadata.xml | 8 + dev-libs/m17n-lib/Manifest | 16 + .../m17n-lib/files/m17n-lib-1.5.2-fribidi.patch | 16 + dev-libs/m17n-lib/files/m17n-lib-configure.patch | 80 + dev-libs/m17n-lib/files/m17n-lib-gui.patch | 13 + dev-libs/m17n-lib/files/m17n-lib-ispell.patch | 11 + .../m17n-lib/files/m17n-lib-parallel-make.patch | 61 + dev-libs/m17n-lib/m17n-lib-1.5.2.ebuild | 59 + dev-libs/m17n-lib/m17n-lib-1.6.3.ebuild | 63 + dev-libs/m17n-lib/m17n-lib-1.6.4.ebuild | 73 + dev-libs/m17n-lib/m17n-lib-1.7.0.ebuild | 84 + dev-libs/m17n-lib/metadata.xml | 23 + dev-libs/maloc/Manifest | 8 + dev-libs/maloc/files/1.4-asneeded.patch | 17 + dev-libs/maloc/files/1.4-doc.patch | 21 + dev-libs/maloc/files/1.4-mpi.patch | 24 + dev-libs/maloc/maloc-1.5-r1.ebuild | 59 + dev-libs/maloc/metadata.xml | 8 + dev-libs/mapm/Manifest | 7 + dev-libs/mapm/files/4.9.5-missing_include.patch | 12 + dev-libs/mapm/mapm-4.9.5-r1.ebuild | 43 + dev-libs/mapm/mapm-4.9.5.ebuild | 45 + dev-libs/mapm/metadata.xml | 5 + dev-libs/marisa/Manifest | 6 + dev-libs/marisa/files/marisa-0.2.4-python.patch | 15 + dev-libs/marisa/marisa-0.2.4.ebuild | 86 + dev-libs/marisa/metadata.xml | 8 + dev-libs/mathjax/Manifest | 11 + dev-libs/mathjax/mathjax-2.2.ebuild | 56 + dev-libs/mathjax/mathjax-2.4.0.ebuild | 56 + dev-libs/mathjax/mathjax-2.5.3.ebuild | 56 + dev-libs/mathjax/mathjax-2.7.0.ebuild | 58 + dev-libs/mathjax/metadata.xml | 23 + dev-libs/mdsplib/Manifest | 6 + dev-libs/mdsplib/files/mdsplib-0.11-gentoo.patch | 46 + dev-libs/mdsplib/mdsplib-0.11.ebuild | 32 + dev-libs/mdsplib/metadata.xml | 5 + dev-libs/metadata.xml | 39 + dev-libs/mimetic/Manifest | 4 + dev-libs/mimetic/metadata.xml | 10 + dev-libs/mimetic/mimetic-0.9.8.ebuild | 48 + dev-libs/mini-xml/Manifest | 5 + dev-libs/mini-xml/metadata.xml | 12 + dev-libs/mini-xml/mini-xml-2.10.ebuild | 61 + dev-libs/mm/Manifest | 6 + dev-libs/mm/metadata.xml | 5 + dev-libs/mm/mm-1.4.2-r1.ebuild | 35 + dev-libs/mm/mm-1.4.2-r2.ebuild | 34 + dev-libs/mongo-c-driver/Manifest | 18 + .../mongo-c-driver/files/0.8.1-api-version.diff | 14 + dev-libs/mongo-c-driver/metadata.xml | 11 + .../mongo-c-driver/mongo-c-driver-0.7.1-r1.ebuild | 59 + .../mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild | 53 + .../mongo-c-driver/mongo-c-driver-0.98.2.ebuild | 66 + .../mongo-c-driver/mongo-c-driver-1.1.10.ebuild | 70 + .../mongo-c-driver/mongo-c-driver-1.1.2-r1.ebuild | 70 + .../mongo-c-driver/mongo-c-driver-1.3.5.ebuild | 75 + .../mongo-c-driver/mongo-c-driver-1.6.2.ebuild | 77 + dev-libs/mongo-cxx-driver/Manifest | 15 + .../files/mongo-cxx-driver-1.0.0-fix-scons.patch | 34 + .../files/mongo-cxx-driver-1.1.0-fix-scons.patch | 54 + .../files/mongo-cxx-driver-1.1.2-boost-ref.patch | 15 + .../mongo-cxx-driver-26compat-fix-scons.patch | 34 + dev-libs/mongo-cxx-driver/metadata.xml | 11 + .../mongo-cxx-driver-0.0.2.6.7-r1.ebuild | 89 + .../mongo-cxx-driver/mongo-cxx-driver-1.0.0.ebuild | 72 + .../mongo-cxx-driver/mongo-cxx-driver-1.0.5.ebuild | 72 + .../mongo-cxx-driver-1.1.2-r1.ebuild | 71 + dev-libs/mpc/Manifest | 10 + dev-libs/mpc/metadata.xml | 8 + dev-libs/mpc/mpc-1.0.1.ebuild | 45 + dev-libs/mpc/mpc-1.0.2-r1.ebuild | 32 + dev-libs/mpc/mpc-1.0.2.ebuild | 33 + dev-libs/mpc/mpc-1.0.3.ebuild | 32 + dev-libs/mpfr/Manifest | 23 + dev-libs/mpfr/files/2.4.2/patch01 | 184 ++ dev-libs/mpfr/files/2.4.2/patch02 | 71 + dev-libs/mpfr/files/2.4.2/patch03 | 75 + dev-libs/mpfr/files/3.1.3/patch01 | 1117 ++++++++++++ dev-libs/mpfr/files/3.1.3/patch02 | 161 ++ dev-libs/mpfr/files/3.1.3/patch03 | 217 +++ dev-libs/mpfr/files/3.1.3/patch04 | 204 +++ dev-libs/mpfr/files/3.1.5/patch01 | 82 + dev-libs/mpfr/files/3.1.5/patch02 | 92 + dev-libs/mpfr/files/mpfr-3.1.4-cygwin.patch | 39 + dev-libs/mpfr/metadata.xml | 8 + dev-libs/mpfr/mpfr-2.4.2_p3-r1.ebuild | 49 + dev-libs/mpfr/mpfr-3.1.3_p4.ebuild | 61 + dev-libs/mpfr/mpfr-3.1.4.ebuild | 55 + dev-libs/mpfr/mpfr-3.1.5_p2.ebuild | 54 + dev-libs/mpfr/mpfr-3.1.6.ebuild | 54 + dev-libs/mps/Manifest | 11 + dev-libs/mps/metadata.xml | 8 + dev-libs/mps/mps-1.106.2.ebuild | 36 + dev-libs/mps/mps-1.110.0.ebuild | 27 + dev-libs/mps/mps-1.111.0.ebuild | 31 + dev-libs/mps/mps-1.114.0.ebuild | 31 + dev-libs/msgpack/Manifest | 23 + dev-libs/msgpack/files/msgpack-1.0.0-cflags.patch | 25 + dev-libs/msgpack/files/msgpack-1.0.0-static.patch | 40 + dev-libs/msgpack/files/msgpack-1.1.0-gcc6.patch | 22 + dev-libs/msgpack/files/msgpack-1.4.2-cflags.patch | 32 + dev-libs/msgpack/files/msgpack-1.4.2-static.patch | 46 + .../msgpack-2.0.0-gcc7-implicit-fallthrough.patch | 1798 ++++++++++++++++++++ dev-libs/msgpack/metadata.xml | 11 + dev-libs/msgpack/msgpack-0.5.9.ebuild | 24 + dev-libs/msgpack/msgpack-1.0.0.ebuild | 42 + dev-libs/msgpack/msgpack-1.0.1.ebuild | 42 + dev-libs/msgpack/msgpack-1.1.0.ebuild | 46 + dev-libs/msgpack/msgpack-1.4.2.ebuild | 78 + dev-libs/msgpack/msgpack-2.0.0.ebuild | 43 + dev-libs/msgpack/msgpack-2.1.1.ebuild | 77 + dev-libs/nanomsg/Manifest | 9 + dev-libs/nanomsg/metadata.xml | 15 + dev-libs/nanomsg/nanomsg-0.8.ebuild | 48 + dev-libs/nanomsg/nanomsg-0.9.ebuild | 38 + dev-libs/nanomsg/nanomsg-1.0.0.ebuild | 36 + dev-libs/nettle/Manifest | 6 + dev-libs/nettle/files/nettle-3.3-ecc-add-eh.patch | 32 + dev-libs/nettle/metadata.xml | 8 + dev-libs/nettle/nettle-3.3-r2.ebuild | 70 + dev-libs/newt/Manifest | 13 + dev-libs/newt/files/newt-0.52.13-gold.patch | 12 + dev-libs/newt/files/newt-0.52.14-tcl.patch | 108 ++ dev-libs/newt/files/newt-0.52.15-makefile.patch | 13 + dev-libs/newt/files/newt-0.52.15-snack.patch | 13 + dev-libs/newt/metadata.xml | 7 + dev-libs/newt/newt-0.52.15.ebuild | 89 + dev-libs/newt/newt-0.52.18.ebuild | 87 + dev-libs/newt/newt-0.52.20.ebuild | 92 + dev-libs/npth/Manifest | 9 + dev-libs/npth/metadata.xml | 8 + dev-libs/npth/npth-1.3.ebuild | 24 + dev-libs/npth/npth-1.4.ebuild | 24 + dev-libs/npth/npth-1.5.ebuild | 29 + dev-libs/nsgenbind/Manifest | 6 + dev-libs/nsgenbind/metadata.xml | 8 + dev-libs/nsgenbind/nsgenbind-0.4.ebuild | 17 + dev-libs/nspr/Manifest | 16 + dev-libs/nspr/files/nspr-4.10.6-solaris.patch | 32 + dev-libs/nspr/files/nspr-4.15-configure_in.patch | 26 + dev-libs/nspr/files/nspr-4.7.0-prtime.patch | 26 + dev-libs/nspr/files/nspr-4.7.1-solaris.patch | 14 + .../files/nspr-4.8.4-darwin-install_name.patch | 25 + dev-libs/nspr/files/nspr-4.8.9-link-flags.patch | 28 + dev-libs/nspr/files/nspr-4.9.5_nspr_config.patch | 11 + dev-libs/nspr/metadata.xml | 8 + dev-libs/nspr/nspr-4.13.1.ebuild | 124 ++ dev-libs/nspr/nspr-4.16.ebuild | 125 ++ dev-libs/nspr/nspr-4.17.ebuild | 125 ++ dev-libs/nss/Manifest | 16 + dev-libs/nss/files/nss-3.21-enable-pem.patch | 11 + .../nss/files/nss-3.21-gentoo-fixup-warnings.patch | 10 + dev-libs/nss/files/nss-3.23-hppa-byte_order.patch | 16 + dev-libs/nss/files/nss-3.28-gentoo-fixups.patch | 241 +++ dev-libs/nss/files/nss-3.32-gentoo-fixups.patch | 274 +++ dev-libs/nss/metadata.xml | 18 + dev-libs/nss/nss-3.29.5.ebuild | 338 ++++ dev-libs/nss/nss-3.32.1.ebuild | 340 ++++ dev-libs/nss/nss-3.33.ebuild | 340 ++++ dev-libs/ntl/Manifest | 22 + dev-libs/ntl/files/ntl-5.5.2-sage-tools.patch | 53 + dev-libs/ntl/files/ntl-5.5.2-shared-r1.patch | 151 ++ dev-libs/ntl/files/ntl-5.5.2-shared.patch | 166 ++ dev-libs/ntl/files/ntl-5.5.2-singular.patch | 12 + dev-libs/ntl/files/ntl-6.0.0-sage-tools.patch | 61 + dev-libs/ntl/files/ntl-6.0.0-singular.patch | 12 + .../ntl/files/ntl-9.2.0-sanitize-makefile.patch | 160 ++ dev-libs/ntl/files/ntl-9.2.0-singular.patch | 13 + .../ntl/files/ntl-9.6.4-sanitize-makefile.patch | 160 ++ dev-libs/ntl/metadata.xml | 18 + dev-libs/ntl/ntl-10.5.0.ebuild | 61 + dev-libs/ntl/ntl-5.5.2.ebuild | 74 + dev-libs/ntl/ntl-6.1.0.ebuild | 74 + dev-libs/ntl/ntl-9.3.0.ebuild | 81 + dev-libs/ntl/ntl-9.6.4.ebuild | 84 + dev-libs/ocl-icd/Manifest | 11 + dev-libs/ocl-icd/metadata.xml | 8 + dev-libs/ocl-icd/ocl-icd-2.1.3.ebuild | 35 + dev-libs/ocl-icd/ocl-icd-2.2.11.ebuild | 35 + dev-libs/ocl-icd/ocl-icd-2.2.3.ebuild | 35 + dev-libs/ocl-icd/ocl-icd-2.2.8.ebuild | 35 + dev-libs/oniguruma/Manifest | 20 + .../oniguruma/files/oniguruma-5.9.3-makefile.patch | 48 + .../files/oniguruma-5.9.6-CVE-2017-9224.patch | 22 + .../files/oniguruma-5.9.6-CVE-2017-9226.patch | 39 + .../files/oniguruma-5.9.6-CVE-2017-9227.patch | 16 + .../files/oniguruma-5.9.6-CVE-2017-9228.patch | 18 + .../files/oniguruma-5.9.6-CVE-2017-9229.patch | 43 + .../oniguruma/files/oniguruma-6.6.1-build.patch | 25 + .../oniguruma-combination-explosion-check.patch | 13 + dev-libs/oniguruma/files/oniguruma-gentoo.patch | 49 + dev-libs/oniguruma/metadata.xml | 28 + dev-libs/oniguruma/oniguruma-5.9.5.ebuild | 37 + dev-libs/oniguruma/oniguruma-5.9.6_p1-r1.ebuild | 47 + dev-libs/oniguruma/oniguruma-6.4.0.ebuild | 42 + dev-libs/oniguruma/oniguruma-6.6.1.ebuild | 42 + dev-libs/opencryptoki/Manifest | 8 + dev-libs/opencryptoki/files/pkcsslotd.init.2 | 27 + dev-libs/opencryptoki/metadata.xml | 16 + dev-libs/opencryptoki/opencryptoki-3.4.1.ebuild | 100 ++ dev-libs/opencryptoki/opencryptoki-3.6.1.ebuild | 101 ++ dev-libs/openct/Manifest | 7 + dev-libs/openct/files/openct.rc | 29 + dev-libs/openct/files/openct.rc.2 | 31 + dev-libs/openct/metadata.xml | 24 + dev-libs/openct/openct-0.6.20-r4.ebuild | 78 + dev-libs/openobex/Manifest | 5 + dev-libs/openobex/metadata.xml | 13 + dev-libs/openobex/openobex-1.7.1.ebuild | 44 + dev-libs/opensc/Manifest | 8 + dev-libs/opensc/files/opensc-0.17.0-build.patch | 100 ++ dev-libs/opensc/metadata.xml | 38 + dev-libs/opensc/opensc-0.16.0.ebuild | 55 + dev-libs/opensc/opensc-0.17.0.ebuild | 60 + dev-libs/openspecfun/Manifest | 5 + dev-libs/openspecfun/metadata.xml | 15 + dev-libs/openspecfun/openspecfun-0.5.1.ebuild | 34 + dev-libs/openssl/Manifest | 24 + dev-libs/openssl/files/gentoo.config-0.9.8 | 144 ++ dev-libs/openssl/files/gentoo.config-1.0.2 | 169 ++ .../openssl/files/openssl-0.9.8e-bsd-sparc64.patch | 25 + .../openssl/files/openssl-0.9.8h-ldflags.patch | 29 + .../openssl/files/openssl-0.9.8m-binutils.patch | 24 + .../openssl/files/openssl-1.0.0a-ldflags.patch | 29 + .../files/openssl-1.0.1p-default-source.patch | 30 + dev-libs/openssl/files/openssl-1.0.2-ipv6.patch | 611 +++++++ .../openssl-1.0.2a-parallel-install-dirs.patch | 64 + .../openssl-1.0.2a-parallel-obj-headers.patch | 37 + .../files/openssl-1.0.2a-parallel-symlinking.patch | 63 + .../openssl/files/openssl-1.0.2a-x32-asm.patch | 43 + .../files/openssl-1.0.2i-parallel-build.patch | 326 ++++ dev-libs/openssl/metadata.xml | 26 + dev-libs/openssl/openssl-0.9.8z_p8.ebuild | 162 ++ dev-libs/openssl/openssl-1.0.2k.ebuild | 254 +++ dev-libs/openssl/openssl-1.0.2l.ebuild | 254 +++ dev-libs/openssl/openssl-1.1.0f.ebuild | 240 +++ dev-libs/ossp-uuid/Manifest | 19 + ...ossp-uuid-1.6.2-fix-data-uuid-from-string.patch | 36 + .../files/ossp-uuid-1.6.2-fix-whatis-entries.patch | 51 + .../files/ossp-uuid-1.6.2-gentoo-perl.patch | 24 + .../files/ossp-uuid-1.6.2-gentoo-php.patch | 42 + .../files/ossp-uuid-1.6.2-gentoo-r1.patch | 70 + .../ossp-uuid/files/ossp-uuid-1.6.2-hwaddr.patch | 116 ++ .../ossp-uuid/files/ossp-uuid-1.6.2-manfix.patch | 13 + dev-libs/ossp-uuid/files/ossp-uuid-1.6.2-php.patch | 13 + .../ossp-uuid/files/ossp-uuid-1.6.2-php70.patch | 337 ++++ ...erve-m-option-status-in-v-option-handling.patch | 55 + dev-libs/ossp-uuid/files/uuid-1.6.2-php54.patch | 226 +++ dev-libs/ossp-uuid/metadata.xml | 8 + dev-libs/ossp-uuid/ossp-uuid-1.6.2-r2.ebuild | 97 ++ dev-libs/ossp-uuid/ossp-uuid-1.6.2-r4.ebuild | 118 ++ dev-libs/ossp-uuid/ossp-uuid-1.6.2-r5.ebuild | 118 ++ dev-libs/ossp-uuid/ossp-uuid-1.6.2-r6.ebuild | 123 ++ dev-libs/pakchois/Manifest | 5 + dev-libs/pakchois/metadata.xml | 8 + dev-libs/pakchois/pakchois-0.4-r2.ebuild | 23 + dev-libs/papi/Manifest | 9 + dev-libs/papi/metadata.xml | 7 + dev-libs/papi/papi-5.3.0.ebuild | 38 + dev-libs/papi/papi-5.4.0.ebuild | 38 + dev-libs/papi/papi-5.5.1.ebuild | 38 + dev-libs/pcc-libs/Manifest | 13 + .../files/pcc-libs-1.0.0-check-builtin.patch | 62 + dev-libs/pcc-libs/metadata.xml | 8 + dev-libs/pcc-libs/pcc-libs-1.0.0.ebuild | 32 + .../pcc-libs/pcc-libs-1.0.1_pre20121112.ebuild | 28 + .../pcc-libs/pcc-libs-1.0.1_pre20131013.ebuild | 28 + dev-libs/pcc-libs/pcc-libs-1.1.0.ebuild | 28 + dev-libs/pcc-libs/pcc-libs-9999.ebuild | 35 + dev-libs/pcl/Manifest | 4 + dev-libs/pcl/metadata.xml | 16 + dev-libs/pcl/pcl-1.12.ebuild | 12 + dev-libs/pcre++/Manifest | 6 + dev-libs/pcre++/metadata.xml | 8 + dev-libs/pcre++/pcre++-0.9.5-r1.ebuild | 50 + dev-libs/pegtl/Manifest | 10 + dev-libs/pegtl/metadata.xml | 15 + dev-libs/pegtl/pegtl-1.3.1-r1.ebuild | 34 + dev-libs/pegtl/pegtl-2.0.0.ebuild | 20 + dev-libs/pegtl/pegtl-2.0_pre1.ebuild | 19 + dev-libs/pegtl/pegtl-2.1.4.ebuild | 20 + dev-libs/pkcs11-helper/Manifest | 5 + dev-libs/pkcs11-helper/metadata.xml | 15 + .../pkcs11-helper/pkcs11-helper-1.21-r1.ebuild | 39 + dev-libs/poco/Manifest | 12 + dev-libs/poco/files/1.4.6_p4-gentoo.patch | 71 + .../files/poco-1.4.4-patch-for-libpcre-8.32.patch | 45 + dev-libs/poco/files/poco-1.7.2-iodbc-incdir.patch | 13 + dev-libs/poco/metadata.xml | 47 + dev-libs/poco/poco-1.4.6_p4-r1.ebuild | 121 ++ dev-libs/poco/poco-1.4.6_p4.ebuild | 118 ++ dev-libs/poco/poco-1.7.6.ebuild | 115 ++ dev-libs/polylib/Manifest | 5 + dev-libs/polylib/files/polylib-9999-headers.patch | 10 + dev-libs/polylib/metadata.xml | 5 + dev-libs/polylib/polylib-9999.ebuild | 28 + dev-libs/popt/Manifest | 6 + .../popt/files/fix-popt-pkgconfig-libdir.patch | 12 + dev-libs/popt/metadata.xml | 8 + dev-libs/popt/popt-1.16-r2.ebuild | 36 + dev-libs/ppl/Manifest | 10 + dev-libs/ppl/files/ppl-fix-gmp-5.1.0.patch | 41 + dev-libs/ppl/metadata.xml | 11 + dev-libs/ppl/ppl-0.12.1-r1.ebuild | 83 + dev-libs/ppl/ppl-1.1.ebuild | 59 + dev-libs/ppl/ppl-1.2.ebuild | 59 + dev-libs/protobuf-c/Manifest | 16 + .../files/protobuf-c-1.1.0-no-build-tests.patch | 29 + .../files/protobuf-c-1.2.0-no-build-tests.patch | 30 + .../files/protobuf-c-1.3.0-no-build-tests.patch | 30 + ...-c-1.3.0-restore-protobuf-2-compatibility.patch | 33 + dev-libs/protobuf-c/metadata.xml | 8 + dev-libs/protobuf-c/protobuf-c-1.0.2-r1.ebuild | 24 + dev-libs/protobuf-c/protobuf-c-1.1.1.ebuild | 33 + dev-libs/protobuf-c/protobuf-c-1.2.1-r1.ebuild | 39 + dev-libs/protobuf-c/protobuf-c-1.3.0-r1.ebuild | 42 + dev-libs/protobuf-c/protobuf-c-1.3.0.ebuild | 39 + dev-libs/protobuf/Manifest | 29 + dev-libs/protobuf/files/70protobuf-gentoo.el | 3 + dev-libs/protobuf/files/proto.vim | 1 + .../protobuf/files/protobuf-2.3.0-asneeded-2.patch | 28 + .../protobuf/files/protobuf-2.5.0-emacs-24.4.patch | 14 + dev-libs/protobuf/files/protobuf-2.5.0-x32.patch | 15 + .../files/protobuf-2.6.1-protoc-cmdline.patch | 256 +++ .../protobuf-3.0.0_beta2-disable-local-gmock.patch | 89 + .../files/protobuf-3.0.2-disable-local-gmock.patch | 101 ++ .../files/protobuf-3.3.0-disable-local-gmock.patch | 115 ++ .../protobuf-3.4.0-disable_no-warning-test.patch | 19 + .../protobuf-3.4.0-protoc_input_output_files.patch | 233 +++ .../files/protobuf-3.4.0-system_libraries.patch | 117 ++ dev-libs/protobuf/metadata.xml | 24 + dev-libs/protobuf/protobuf-2.5.0-r2.ebuild | 132 ++ dev-libs/protobuf/protobuf-2.6.1-r3.ebuild | 158 ++ dev-libs/protobuf/protobuf-3.0.0_beta3_p1.ebuild | 107 ++ dev-libs/protobuf/protobuf-3.0.2.ebuild | 111 ++ dev-libs/protobuf/protobuf-3.1.0.ebuild | 110 ++ dev-libs/protobuf/protobuf-3.3.0.ebuild | 108 ++ dev-libs/protobuf/protobuf-3.4.1.ebuild | 101 ++ dev-libs/pslib/Manifest | 9 + dev-libs/pslib/files/pslib-getline.patch | 47 + dev-libs/pslib/files/pslib-lm.patch | 11 + dev-libs/pslib/metadata.xml | 15 + dev-libs/pslib/pslib-0.4.1-r2.ebuild | 49 + dev-libs/pslib/pslib-0.4.5.ebuild | 49 + dev-libs/ptexenc/Manifest | 7 + dev-libs/ptexenc/metadata.xml | 8 + dev-libs/ptexenc/ptexenc-1.3.4_p20160523.ebuild | 50 + dev-libs/ptexenc/ptexenc-1.3.5_p20170524.ebuild | 50 + dev-libs/pugixml/Manifest | 5 + dev-libs/pugixml/metadata.xml | 11 + dev-libs/pugixml/pugixml-1.8.ebuild | 20 + dev-libs/purpose/Manifest | 4 + dev-libs/purpose/metadata.xml | 8 + dev-libs/purpose/purpose-1.1-r1.ebuild | 32 + dev-libs/qcustomplot/Manifest | 6 + dev-libs/qcustomplot/metadata.xml | 8 + dev-libs/qcustomplot/qcustomplot-1.3.2.ebuild | 46 + dev-libs/qjson/Manifest | 9 + .../qjson/files/qjson-0.9.0-featuresummary.patch | 73 + .../qjson/files/qjson-0.9.0-gnuinstalldirs.patch | 123 ++ dev-libs/qjson/metadata.xml | 13 + dev-libs/qjson/qjson-0.8.1-r1.ebuild | 47 + dev-libs/qjson/qjson-0.9.0.ebuild | 49 + dev-libs/qoauth/Manifest | 10 + .../qoauth/files/qoauth-1.0.1-disable-ft.patch | 20 + .../files/qoauth-2.0.1_pre20160315-prf.patch | 15 + dev-libs/qoauth/metadata.xml | 8 + dev-libs/qoauth/qoauth-1.0.1.ebuild | 68 + dev-libs/qoauth/qoauth-2.0.1_pre20160315-r1.ebuild | 60 + dev-libs/qoauth/qoauth-2.0.1_pre20160315-r2.ebuild | 63 + dev-libs/qof/Manifest | 9 + dev-libs/qof/files/qof-0.8.8-cflags.patch | 36 + dev-libs/qof/files/qof-0.8.8-unistd-define.patch | 58 + dev-libs/qof/files/qof-0.8.8-unittest.patch | 44 + dev-libs/qof/files/qof-0.8.8-yacc-build.patch | 69 + dev-libs/qof/metadata.xml | 8 + dev-libs/qof/qof-0.8.8-r1.ebuild | 60 + dev-libs/qqwing/Manifest | 8 + dev-libs/qqwing/files/qqwing-1.3.0-autotools.patch | 206 +++ dev-libs/qqwing/metadata.xml | 11 + dev-libs/qqwing/qqwing-1.3.3.ebuild | 25 + dev-libs/qqwing/qqwing-1.3.4.ebuild | 23 + dev-libs/qrosscore/Manifest | 6 + dev-libs/qrosscore/metadata.xml | 18 + dev-libs/qrosscore/qrosscore-0.3.2.ebuild | 27 + dev-libs/qrosscore/qrosscore-9999.ebuild | 29 + dev-libs/qrosspython/Manifest | 6 + dev-libs/qrosspython/metadata.xml | 18 + dev-libs/qrosspython/qrosspython-0.3.2.ebuild | 35 + dev-libs/qrosspython/qrosspython-9999.ebuild | 35 + dev-libs/qtkeychain/Manifest | 7 + dev-libs/qtkeychain/metadata.xml | 11 + dev-libs/qtkeychain/qtkeychain-0.7.0.ebuild | 69 + dev-libs/qtkeychain/qtkeychain-0.8.0.ebuild | 71 + dev-libs/quantlib/Manifest | 8 + dev-libs/quantlib/files/50quantlib-gentoo.el | 6 + dev-libs/quantlib/metadata.xml | 15 + dev-libs/quantlib/quantlib-1.6.ebuild | 97 ++ dev-libs/quantlib/quantlib-1.7.1.ebuild | 92 + dev-libs/quazip/Manifest | 7 + dev-libs/quazip/metadata.xml | 10 + dev-libs/quazip/quazip-0.7.2-r1.ebuild | 93 + dev-libs/quazip/quazip-0.7.3.ebuild | 93 + dev-libs/rapidjson/Manifest | 4 + dev-libs/rapidjson/metadata.xml | 12 + dev-libs/rapidjson/rapidjson-1.1.0.ebuild | 40 + dev-libs/rapidjson/rapidjson-9999.ebuild | 41 + dev-libs/rapidxml/Manifest | 7 + dev-libs/rapidxml/files/rapidxml-1.13-clang.patch | 23 + dev-libs/rapidxml/metadata.xml | 11 + dev-libs/rapidxml/rapidxml-1.13-r1.ebuild | 26 + dev-libs/rapidxml/rapidxml-1.13.ebuild | 21 + dev-libs/rasqal/Manifest | 7 + dev-libs/rasqal/metadata.xml | 8 + dev-libs/rasqal/rasqal-0.9.29.ebuild | 72 + dev-libs/rasqal/rasqal-0.9.32.ebuild | 75 + dev-libs/re2/Manifest | 10 + dev-libs/re2/files/0.2016.05.01-pkgconfig.patch | 57 + dev-libs/re2/metadata.xml | 11 + dev-libs/re2/re2-0.2016.05.01.ebuild | 47 + dev-libs/re2/re2-0.2016.11.01-r1.ebuild | 52 + dev-libs/re2/re2-0.2017.03.01.ebuild | 52 + dev-libs/redland-bindings/Manifest | 5 + dev-libs/redland-bindings/metadata.xml | 8 + .../redland-bindings-1.0.14.1-r2.ebuild | 55 + dev-libs/redland/Manifest | 10 + dev-libs/redland/metadata.xml | 8 + dev-libs/redland/redland-1.0.15.ebuild | 74 + dev-libs/redland/redland-1.0.16.ebuild | 91 + dev-libs/redland/redland-1.0.17-r1.ebuild | 86 + dev-libs/redland/redland-1.0.17.ebuild | 86 + dev-libs/replicant/Manifest | 11 + dev-libs/replicant/metadata.xml | 8 + dev-libs/replicant/replicant-0.6.4.ebuild | 21 + dev-libs/replicant/replicant-0.7.1.ebuild | 21 + dev-libs/replicant/replicant-0.8.0.ebuild | 21 + dev-libs/replicant/replicant-0.8.1.ebuild | 21 + dev-libs/rlog/Manifest | 6 + dev-libs/rlog/files/rlog-1.3.7-gcc-4.3.patch | 10 + dev-libs/rlog/metadata.xml | 11 + dev-libs/rlog/rlog-1.4.ebuild | 23 + dev-libs/rote/Manifest | 5 + dev-libs/rote/metadata.xml | 11 + dev-libs/rote/rote-0.2.8.ebuild | 16 + dev-libs/rremove/Manifest | 5 + dev-libs/rremove/metadata.xml | 8 + dev-libs/rremove/rremove-1.0.5.ebuild | 15 + dev-libs/sblim-sfcc/Manifest | 5 + dev-libs/sblim-sfcc/metadata.xml | 8 + dev-libs/sblim-sfcc/sblim-sfcc-2.2.5.ebuild | 30 + dev-libs/sdformat/Manifest | 6 + dev-libs/sdformat/files/urdfdom1.patch | 392 +++++ dev-libs/sdformat/metadata.xml | 8 + dev-libs/sdformat/sdformat-5.2.0.ebuild | 39 + dev-libs/serd/Manifest | 7 + dev-libs/serd/metadata.xml | 13 + dev-libs/serd/serd-0.26.0.ebuild | 40 + dev-libs/serd/serd-0.28.0.ebuild | 40 + dev-libs/serdisplib/Manifest | 5 + dev-libs/serdisplib/metadata.xml | 12 + dev-libs/serdisplib/serdisplib-1.97.9.ebuild | 31 + dev-libs/shhopt/Manifest | 6 + dev-libs/shhopt/files/shhopt-1.1.7-build.patch | 83 + dev-libs/shhopt/metadata.xml | 9 + dev-libs/shhopt/shhopt-1.1.7-r2.ebuild | 36 + dev-libs/sink/Manifest | 3 + dev-libs/sink/metadata.xml | 8 + dev-libs/sink/sink-0.3.0-r1.ebuild | 49 + dev-libs/skalibs/Manifest | 17 + dev-libs/skalibs/metadata.xml | 12 + dev-libs/skalibs/skalibs-2.3.10.0.ebuild | 41 + dev-libs/skalibs/skalibs-2.3.2.0.ebuild | 42 + dev-libs/skalibs/skalibs-2.3.9.0.ebuild | 42 + dev-libs/skalibs/skalibs-2.4.0.2.ebuild | 45 + dev-libs/skalibs/skalibs-2.5.0.0.ebuild | 45 + dev-libs/skalibs/skalibs-2.5.1.1.ebuild | 48 + dev-libs/skalibs/skalibs-2.6.0.0.ebuild | 48 + dev-libs/smack/Manifest | 5 + dev-libs/smack/metadata.xml | 8 + dev-libs/smack/smack-0.5.0.ebuild | 19 + dev-libs/sni-qt/Manifest | 5 + dev-libs/sni-qt/metadata.xml | 11 + dev-libs/sni-qt/sni-qt-0.2.6-r1.ebuild | 41 + dev-libs/snowball-stemmer/Manifest | 6 + .../files/libstemmer_c-shared-library.patch | 23 + dev-libs/snowball-stemmer/metadata.xml | 7 + .../snowball-stemmer-0.20140325.ebuild | 52 + dev-libs/socketstream/Manifest | 7 + .../files/0.7.0-missing_includes.patch | 11 + .../files/socketstream-0.7.0-gcc47.patch | 15 + dev-libs/socketstream/metadata.xml | 11 + dev-libs/socketstream/socketstream-0.7.0-r1.ebuild | 42 + dev-libs/softhsm/Manifest | 5 + dev-libs/softhsm/metadata.xml | 13 + dev-libs/softhsm/softhsm-2.3.0.ebuild | 48 + dev-libs/sord/Manifest | 11 + dev-libs/sord/metadata.xml | 8 + dev-libs/sord/sord-0.12.0.ebuild | 41 + dev-libs/sord/sord-0.12.2.ebuild | 41 + dev-libs/sord/sord-0.14.0.ebuild | 41 + dev-libs/sord/sord-0.16.0.ebuild | 41 + dev-libs/spdlog/Manifest | 8 + dev-libs/spdlog/files/spdlog-0.14.0-CMakeLists.txt | 116 ++ dev-libs/spdlog/metadata.xml | 15 + dev-libs/spdlog/spdlog-0.13.0.ebuild | 34 + dev-libs/spdlog/spdlog-0.14.0-r1.ebuild | 40 + dev-libs/spdlog/spdlog-0.14.0.ebuild | 34 + dev-libs/spdlog/spdlog-9999.ebuild | 33 + dev-libs/squareball/Manifest | 5 + dev-libs/squareball/metadata.xml | 15 + dev-libs/squareball/squareball-0.2.0.ebuild | 58 + dev-libs/squareball/squareball-9999.ebuild | 58 + dev-libs/starpu/Manifest | 6 + dev-libs/starpu/metadata.xml | 22 + dev-libs/starpu/starpu-1.1.5-r1.ebuild | 82 + dev-libs/starpu/starpu-1.1.5.ebuild | 85 + dev-libs/stfl/Manifest | 8 + dev-libs/stfl/files/stfl-0.21-python.patch | 39 + dev-libs/stfl/files/stfl-0.22-ruby-sharedlib.patch | 14 + dev-libs/stfl/files/stfl-0.22-soname-symlink.patch | 10 + dev-libs/stfl/metadata.xml | 23 + dev-libs/stfl/stfl-0.24.ebuild | 118 ++ dev-libs/stlsoft/Manifest | 5 + dev-libs/stlsoft/metadata.xml | 16 + dev-libs/stlsoft/stlsoft-1.9.111.ebuild | 22 + dev-libs/svrcore/Manifest | 9 + dev-libs/svrcore/files/svrcore-4.0.4-gentoo.patch | 100 ++ dev-libs/svrcore/files/svrcore-4.1-gentoo.patch | 100 ++ dev-libs/svrcore/metadata.xml | 18 + dev-libs/svrcore/svrcore-4.0.4-r1.ebuild | 40 + dev-libs/svrcore/svrcore-4.1.2.ebuild | 35 + dev-libs/sway/Manifest | 7 + dev-libs/sway/metadata.xml | 40 + dev-libs/sway/sway-0.13.0.ebuild | 74 + dev-libs/sway/sway-0.14.0.ebuild | 84 + dev-libs/sway/sway-9999.ebuild | 83 + dev-libs/syncdir/Manifest | 5 + dev-libs/syncdir/metadata.xml | 5 + dev-libs/syncdir/syncdir-1.0-r1.ebuild | 39 + dev-libs/tinyxml/Manifest | 8 + dev-libs/tinyxml/files/Makefile-3 | 44 + dev-libs/tinyxml/files/tinyxml-2.6.1-entity.patch | 64 + .../tinyxml/files/tinyxml-2.6.2-defineSTL.patch | 12 + dev-libs/tinyxml/metadata.xml | 14 + dev-libs/tinyxml/tinyxml-2.6.2-r2.ebuild | 52 + dev-libs/tinyxml2/Manifest | 14 + .../files/tinyxml2-1.0.9_p20121123-test.patch | 20 + .../files/tinyxml2-4.0.1-optional-tests.patch | 30 + .../tinyxml2/files/tinyxml2-4.0.1-xmltest.patch | 11 + dev-libs/tinyxml2/metadata.xml | 11 + dev-libs/tinyxml2/tinyxml2-2.2.0.ebuild | 32 + dev-libs/tinyxml2/tinyxml2-3.0.0.ebuild | 28 + dev-libs/tinyxml2/tinyxml2-4.0.1.ebuild | 33 + dev-libs/tinyxml2/tinyxml2-5.0.1.ebuild | 23 + dev-libs/tntnet/Manifest | 8 + .../tntnet/files/tntnet-2.0-zlib-minizip.patch | 65 + dev-libs/tntnet/files/tntnet.initd | 29 + dev-libs/tntnet/metadata.xml | 11 + dev-libs/tntnet/tntnet-2.2.1-r1.ebuild | 90 + dev-libs/tntnet/tntnet-2.2.1.ebuild | 87 + dev-libs/totem-pl-parser/Manifest | 8 + .../totem-pl-parser-3.10.8-gmime-automagic.patch | 98 ++ dev-libs/totem-pl-parser/metadata.xml | 14 + .../totem-pl-parser/totem-pl-parser-3.10.7.ebuild | 61 + .../totem-pl-parser/totem-pl-parser-3.10.8.ebuild | 74 + dev-libs/tre/Manifest | 6 + dev-libs/tre/files/0.8.0-pkgcfg.patch | 14 + dev-libs/tre/metadata.xml | 11 + dev-libs/tre/tre-0.8.0-r1.ebuild | 64 + dev-libs/tut/Manifest | 6 + dev-libs/tut/metadata.xml | 15 + dev-libs/tut/tut-2013.12.18.ebuild | 24 + dev-libs/tut/tut-2016.12.19.ebuild | 24 + dev-libs/tvision/Manifest | 14 + .../files/tvision-2.1.0_pre2-asneeded.patch | 45 + .../files/tvision-2.1.0_pre2-build-system.patch | 30 + .../tvision/files/tvision-2.1.0_pre2-flags.patch | 11 + .../tvision/files/tvision-2.1.0_pre2-gcc41.patch | 11 + .../tvision/files/tvision-2.1.0_pre2-gcc44.patch | 21 + .../tvision/files/tvision-2.1.0_pre2-gcc6.patch | 147 ++ .../files/tvision-2.1.0_pre2-ldconfig.patch | 15 + .../tvision/files/tvision-2.1.0_pre2-outb.patch | 41 + .../files/tvision-2.1.0_pre2-underflow.patch | 14 + dev-libs/tvision/metadata.xml | 8 + dev-libs/tvision/tvision-2.1.0_pre2-r4.ebuild | 52 + dev-libs/tvmet/Manifest | 6 + .../tvmet/files/tvmet-1.7.2-respect-cxxflags.patch | 42 + dev-libs/tvmet/metadata.xml | 11 + dev-libs/tvmet/tvmet-1.7.2-r2.ebuild | 52 + dev-libs/ucl/Manifest | 7 + dev-libs/ucl/files/ucl-1.03-CFLAGS.patch | 134 ++ dev-libs/ucl/files/ucl-1.03-x32.patch | 173 ++ dev-libs/ucl/metadata.xml | 5 + dev-libs/ucl/ucl-1.03-r1.ebuild | 45 + dev-libs/ucommon/Manifest | 20 + .../ucommon/files/6.1/disable_rtf_gen_doxy.patch | 11 + dev-libs/ucommon/files/6.1/gcrypt_autotools.patch | 58 + .../ucommon/files/6.1/install_gcrypt.m4_file.patch | 128 ++ dev-libs/ucommon/files/disable_rtf_gen_doxy.patch | 18 + dev-libs/ucommon/files/gcrypt_autotools.patch | 62 + .../ucommon/files/install_gcrypt.m4_file.patch | 128 ++ .../files/ucommon-6.3.1-gcrypt_autotools.patch | 48 + dev-libs/ucommon/metadata.xml | 11 + dev-libs/ucommon/ucommon-6.0.3.ebuild | 74 + dev-libs/ucommon/ucommon-6.1.10.ebuild | 78 + dev-libs/ucommon/ucommon-6.3.1.ebuild | 81 + dev-libs/ucommon/ucommon-6.5.2.ebuild | 83 + dev-libs/ucommon/ucommon-6.5.7.ebuild | 83 + dev-libs/udis86/Manifest | 9 + dev-libs/udis86/files/udis86-1.7-yasm.patch | 35 + dev-libs/udis86/files/udis86-1.7.2-docdir.patch | 18 + dev-libs/udis86/metadata.xml | 11 + dev-libs/udis86/udis86-1.7-r2.ebuild | 38 + dev-libs/udis86/udis86-1.7.2.ebuild | 39 + dev-libs/unibilium/Manifest | 9 + dev-libs/unibilium/metadata.xml | 11 + dev-libs/unibilium/unibilium-1.1.4.ebuild | 29 + dev-libs/unibilium/unibilium-1.2.0.ebuild | 29 + dev-libs/unibilium/unibilium-1.2.1.ebuild | 29 + dev-libs/unittest++/Manifest | 6 + dev-libs/unittest++/metadata.xml | 16 + dev-libs/unittest++/unittest++-1.6.1.ebuild | 33 + dev-libs/unittest++/unittest++-2.0.0.ebuild | 39 + dev-libs/univalue/Manifest | 4 + dev-libs/univalue/metadata.xml | 15 + dev-libs/univalue/univalue-1.0.2.ebuild | 33 + dev-libs/urdfdom/Manifest | 8 + dev-libs/urdfdom/metadata.xml | 11 + dev-libs/urdfdom/urdfdom-0.4.2.ebuild | 37 + dev-libs/urdfdom/urdfdom-1.0.0.ebuild | 37 + dev-libs/urdfdom/urdfdom-9999.ebuild | 37 + dev-libs/urdfdom_headers/Manifest | 8 + dev-libs/urdfdom_headers/metadata.xml | 11 + .../urdfdom_headers/urdfdom_headers-0.4.2.ebuild | 29 + .../urdfdom_headers/urdfdom_headers-1.0.0.ebuild | 29 + .../urdfdom_headers/urdfdom_headers-9999.ebuild | 29 + dev-libs/uriparser/Manifest | 16 + .../files/uriparser-0.8.1-doc-install.patch | 16 + dev-libs/uriparser/metadata.xml | 16 + dev-libs/uriparser/uriparser-0.7.9.ebuild | 44 + dev-libs/uriparser/uriparser-0.8.0.ebuild | 44 + dev-libs/uriparser/uriparser-0.8.1.ebuild | 49 + dev-libs/uriparser/uriparser-0.8.2.ebuild | 42 + dev-libs/uriparser/uriparser-0.8.3.ebuild | 41 + dev-libs/uriparser/uriparser-0.8.4.ebuild | 41 + dev-libs/userspace-rcu/Manifest | 9 + dev-libs/userspace-rcu/metadata.xml | 11 + dev-libs/userspace-rcu/userspace-rcu-0.10.0.ebuild | 30 + dev-libs/userspace-rcu/userspace-rcu-0.9.1.ebuild | 34 + dev-libs/userspace-rcu/userspace-rcu-0.9.2.ebuild | 34 + dev-libs/ustr/Manifest | 9 + dev-libs/ustr/files/ustr-1.0.4-build-libs.patch | 49 + dev-libs/ustr/files/ustr-1.0.4-gcc_5-check.patch | 28 + dev-libs/ustr/metadata.xml | 16 + dev-libs/ustr/ustr-1.0.4-r5.ebuild | 65 + dev-libs/ustr/ustr-1.0.4-r7.ebuild | 73 + dev-libs/ustr/ustr-1.0.4-r8.ebuild | 83 + dev-libs/utfcpp/Manifest | 5 + dev-libs/utfcpp/metadata.xml | 7 + dev-libs/utfcpp/utfcpp-2.3.4.ebuild | 24 + dev-libs/uthash/Manifest | 7 + dev-libs/uthash/metadata.xml | 9 + dev-libs/uthash/uthash-1.9.7.ebuild | 31 + dev-libs/uthash/uthash-1.9.9.ebuild | 32 + dev-libs/uulib/Manifest | 7 + dev-libs/uulib/files/uulib-0.5.20-shared.patch | 83 + dev-libs/uulib/metadata.xml | 6 + dev-libs/uulib/uulib-0.5.20-r1.ebuild | 25 + dev-libs/uulib/uulib-0.5.20.ebuild | 30 + dev-libs/vala-common/Manifest | 13 + dev-libs/vala-common/metadata.xml | 8 + dev-libs/vala-common/vala-common-0.32.1.ebuild | 76 + dev-libs/vala-common/vala-common-0.34.8.ebuild | 76 + dev-libs/vala-common/vala-common-0.34.9.ebuild | 76 + dev-libs/vala-common/vala-common-0.36.4.ebuild | 76 + dev-libs/vala-common/vala-common-0.36.5.ebuild | 76 + dev-libs/vanessa-adt/Manifest | 7 + dev-libs/vanessa-adt/metadata.xml | 8 + dev-libs/vanessa-adt/vanessa-adt-0.0.6.ebuild | 27 + dev-libs/vanessa-adt/vanessa-adt-0.0.9.ebuild | 27 + dev-libs/vanessa-logger/Manifest | 5 + dev-libs/vanessa-logger/metadata.xml | 8 + .../vanessa-logger/vanessa-logger-0.0.10.ebuild | 22 + dev-libs/vc/Manifest | 83 + dev-libs/vc/metadata.xml | 10 + dev-libs/vc/vc-0.7.4.ebuild | 39 + dev-libs/vc/vc-1.2.0.ebuild | 39 + dev-libs/vc/vc-1.3.0.ebuild | 39 + dev-libs/vc/vc-1.3.1.ebuild | 39 + dev-libs/vc/vc-1.3.2.ebuild | 39 + dev-libs/volume_key/Manifest | 5 + .../files/volume_key-0.3.9-config.h.diff | 27 + .../files/volume_key-0.3.9-find_python.patch | 56 + dev-libs/volume_key/metadata.xml | 8 + dev-libs/volume_key/volume_key-0.3.9.ebuild | 51 + dev-libs/wayland-protocols/Manifest | 11 + dev-libs/wayland-protocols/metadata.xml | 8 + .../wayland-protocols-1.10.ebuild | 40 + .../wayland-protocols/wayland-protocols-1.7.ebuild | 39 + .../wayland-protocols/wayland-protocols-1.8.ebuild | 39 + .../wayland-protocols/wayland-protocols-1.9.ebuild | 39 + .../wayland-protocols-9999.ebuild | 40 + dev-libs/wayland/Manifest | 10 + dev-libs/wayland/metadata.xml | 8 + dev-libs/wayland/wayland-1.12.0.ebuild | 59 + dev-libs/wayland/wayland-1.13.0.ebuild | 72 + dev-libs/wayland/wayland-1.14.0.ebuild | 72 + dev-libs/wayland/wayland-9999.ebuild | 72 + dev-libs/weston/Manifest | 11 + dev-libs/weston/files/README.gentoo | 9 + dev-libs/weston/metadata.xml | 26 + dev-libs/weston/weston-1.11.0.ebuild | 156 ++ dev-libs/weston/weston-1.9.0.ebuild | 143 ++ dev-libs/weston/weston-3.0.0.ebuild | 151 ++ dev-libs/weston/weston-9999.ebuild | 151 ++ dev-libs/wlc/Manifest | 7 + dev-libs/wlc/metadata.xml | 20 + dev-libs/wlc/wlc-0.0.10.ebuild | 66 + dev-libs/wlc/wlc-0.0.9.ebuild | 55 + dev-libs/wlc/wlc-9999.ebuild | 68 + dev-libs/wnn7sdk/Manifest | 10 + dev-libs/wnn7sdk/files/wnn7sdk-gcc4.patch | 30 + dev-libs/wnn7sdk/files/wnn7sdk-gentoo.patch | 67 + dev-libs/wnn7sdk/files/wnn7sdk-malloc.patch | 20 + dev-libs/wnn7sdk/files/wnn7sdk-qa.patch | 52 + dev-libs/wnn7sdk/metadata.xml | 8 + dev-libs/wnn7sdk/wnn7sdk-20011017-r1.ebuild | 51 + dev-libs/wnn7sdk/wnn7sdk-20011017.ebuild | 44 + dev-libs/xalan-c/Manifest | 8 + .../xalan-c/files/1.11.0_pre797991-as-needed.patch | 108 ++ .../xalan-c/files/1.11.0_pre797991-bugfixes.patch | 50 + .../files/1.11.0_pre797991-parallel-build.patch | 62 + dev-libs/xalan-c/metadata.xml | 8 + dev-libs/xalan-c/xalan-c-1.11.0_pre1153059.ebuild | 103 ++ dev-libs/xapian-bindings/Manifest | 12 + .../xapian-bindings-1.3.6-allow-ruby-2.0.patch | 12 + dev-libs/xapian-bindings/metadata.xml | 8 + .../xapian-bindings/xapian-bindings-1.2.22.ebuild | 203 +++ .../xapian-bindings/xapian-bindings-1.2.24.ebuild | 203 +++ .../xapian-bindings/xapian-bindings-1.2.25.ebuild | 203 +++ .../xapian-bindings/xapian-bindings-1.4.4.ebuild | 158 ++ dev-libs/xapian/Manifest | 11 + dev-libs/xapian/metadata.xml | 23 + dev-libs/xapian/xapian-1.2.22.ebuild | 66 + dev-libs/xapian/xapian-1.2.24.ebuild | 66 + dev-libs/xapian/xapian-1.2.25.ebuild | 73 + dev-libs/xapian/xapian-1.4.4.ebuild | 78 + dev-libs/xerces-c/Manifest | 7 + dev-libs/xerces-c/files/50xerces-c | 1 + .../files/xerces-c-3.1.4-fix-build-system.patch | 61 + dev-libs/xerces-c/metadata.xml | 18 + dev-libs/xerces-c/xerces-c-3.1.4-r1.ebuild | 116 ++ dev-libs/xml-security-c/Manifest | 7 + .../xml-security-c-1.6.1-nss-compilation-fix.patch | 13 + .../files/xml-security-c-1.7.3-fix-c++14.patch | 36 + dev-libs/xml-security-c/metadata.xml | 14 + .../xml-security-c/xml-security-c-1.7.3.ebuild | 45 + dev-libs/xmlrpc-c/Manifest | 9 + .../files/xmlrpc-c-1.32.05-Wimplicit.patch | 20 + .../files/xmlrpc-c-1.39.11-cplusplus.patch | 14 + dev-libs/xmlrpc-c/metadata.xml | 17 + dev-libs/xmlrpc-c/xmlrpc-c-1.32.05-r1.ebuild | 99 ++ dev-libs/xmlrpc-c/xmlrpc-c-1.39.11-r1.ebuild | 70 + dev-libs/xmlrpc-epi/Manifest | 5 + dev-libs/xmlrpc-epi/metadata.xml | 8 + dev-libs/xmlrpc-epi/xmlrpc-epi-0.54.2.ebuild | 51 + dev-libs/xmlsec/Manifest | 8 + dev-libs/xmlsec/metadata.xml | 14 + dev-libs/xmlsec/xmlsec-1.2.23.ebuild | 62 + dev-libs/xmlsec/xmlsec-1.2.24-r1.ebuild | 65 + dev-libs/xmlsec/xmlsec-1.2.24.ebuild | 62 + dev-libs/xmlwrapp/Manifest | 6 + dev-libs/xmlwrapp/metadata.xml | 13 + dev-libs/xmlwrapp/xmlwrapp-0.7.1-r1.ebuild | 44 + dev-libs/xmlwrapp/xmlwrapp-0.7.1.ebuild | 38 + dev-libs/xplc/Manifest | 6 + dev-libs/xplc/files/xplc-0.3.13-as-needed.patch | 22 + dev-libs/xplc/metadata.xml | 12 + dev-libs/xplc/xplc-0.3.13-r1.ebuild | 41 + dev-libs/xqilla/Manifest | 6 + .../files/2.2.4-respect-ldflags-no-rpath.patch | 13 + dev-libs/xqilla/metadata.xml | 17 + dev-libs/xqilla/xqilla-2.3.3.ebuild | 71 + dev-libs/yajl/Manifest | 9 + .../yajl/files/yajl-2.0.4-pkgconfig_multilib.patch | 40 + dev-libs/yajl/files/yajl-fix_static_linking.patch | 24 + dev-libs/yajl/metadata.xml | 15 + dev-libs/yajl/yajl-2.0.4-r3.ebuild | 37 + dev-libs/yajl/yajl-2.1.0.ebuild | 36 + dev-libs/yaz/Manifest | 6 + dev-libs/yaz/files/yaz-3.0.47-icu-automagic.patch | 25 + dev-libs/yaz/metadata.xml | 8 + dev-libs/yaz/yaz-3.0.53.ebuild | 56 + dev-libs/zlog/Manifest | 5 + dev-libs/zlog/files/zlog_no_werr.patch | 11 + dev-libs/zlog/metadata.xml | 11 + dev-libs/zlog/zlog-1.2.12.ebuild | 31 + dev-libs/zookeeper-c/Manifest | 8 + dev-libs/zookeeper-c/metadata.xml | 8 + dev-libs/zookeeper-c/zookeeper-c-3.4.10.ebuild | 36 + dev-libs/zookeeper-c/zookeeper-c-3.4.8.ebuild | 36 + dev-libs/zookeeper-c/zookeeper-c-3.4.9.ebuild | 36 + dev-libs/zthread/Manifest | 15 + .../zthread/files/zthread-2.3.2-automake-r2.patch | 75 + .../zthread/files/zthread-2.3.2-automake.patch | 45 + dev-libs/zthread/files/zthread-2.3.2-clang.patch | 16 + dev-libs/zthread/files/zthread-2.3.2-gcc47.patch | 25 + .../zthread/files/zthread-2.3.2-m4-quote.patch | 26 + .../files/zthread-2.3.2-no-fpermissive-r1.diff | 94 + .../files/zthread-2.3.2-no-fpermissive.diff | 94 + dev-libs/zthread/metadata.xml | 11 + dev-libs/zthread/zthread-2.3.2-r1.ebuild | 58 + dev-libs/zthread/zthread-2.3.2-r2.ebuild | 62 + dev-libs/zthread/zthread-2.3.2-r3.ebuild | 65 + dev-libs/zthread/zthread-2.3.2-r4.ebuild | 66 + dev-libs/zziplib/Manifest | 6 + .../zziplib/files/zziplib-0.13.49-SDL-test.patch | 14 + dev-libs/zziplib/metadata.xml | 13 + dev-libs/zziplib/zziplib-0.13.62-r2.ebuild | 82 + 2819 files changed, 114630 insertions(+) create mode 100644 dev-libs/389-adminutil/389-adminutil-1.1.15.ebuild create mode 100644 dev-libs/389-adminutil/Manifest create mode 100644 dev-libs/389-adminutil/metadata.xml create mode 100644 dev-libs/9libs/9libs-1.0-r2.ebuild create mode 100644 dev-libs/9libs/Manifest create mode 100644 dev-libs/9libs/files/9libs-va_list.patch create mode 100644 dev-libs/9libs/metadata.xml create mode 100644 dev-libs/DirectFB/DirectFB-1.7.6.ebuild create mode 100644 dev-libs/DirectFB/Manifest create mode 100644 dev-libs/DirectFB/files/DirectFB-1.6.3-atomic-fix-compiler-error-when-building-for-thumb2.patch create mode 100644 dev-libs/DirectFB/files/DirectFB-1.6.3-pkgconfig.patch create mode 100644 dev-libs/DirectFB/files/DirectFB-1.6.3-setregion.patch create mode 100644 dev-libs/DirectFB/files/DirectFB-1.7.1-build.patch create mode 100644 dev-libs/DirectFB/files/DirectFB-1.7.5-flags.patch create mode 100644 dev-libs/DirectFB/files/DirectFB-1.7.6-cle266.patch create mode 100644 dev-libs/DirectFB/files/DirectFB-1.7.6-idivine.patch create mode 100644 dev-libs/DirectFB/files/DirectFB-1.7.6-tslib.patch create mode 100644 dev-libs/DirectFB/metadata.xml create mode 100644 dev-libs/Ice/Ice-3.5.1.ebuild create mode 100644 dev-libs/Ice/Ice-3.6.3-r1.ebuild create mode 100644 dev-libs/Ice/Ice-3.6.3.ebuild create mode 100644 dev-libs/Ice/Manifest create mode 100644 dev-libs/Ice/files/Ice-3.6.3-csharp.patch create mode 100644 dev-libs/Ice/files/Ice-3.6.3-libressl.patch create mode 100644 dev-libs/Ice/files/Ice-3.6.3-no-arch-opts.patch create mode 100644 dev-libs/Ice/metadata.xml create mode 100644 dev-libs/MicroJSON/Manifest create mode 100644 dev-libs/MicroJSON/MicroJSON-0.3.1.ebuild create mode 100644 dev-libs/MicroJSON/MicroJSON-0.3.2.ebuild create mode 100644 dev-libs/MicroJSON/metadata.xml create mode 100644 dev-libs/OpenNI/Manifest create mode 100644 dev-libs/OpenNI/OpenNI-1.5.7.10.ebuild create mode 100644 dev-libs/OpenNI/OpenNI-9999.ebuild create mode 100644 dev-libs/OpenNI/files/OpenNI-1.5.7.10-gcc6.patch create mode 100644 dev-libs/OpenNI/files/jpeg.patch create mode 100644 dev-libs/OpenNI/files/soname.patch create mode 100644 dev-libs/OpenNI/files/tinyxml.patch create mode 100644 dev-libs/OpenNI/metadata.xml create mode 100644 dev-libs/OpenNI2/Manifest create mode 100644 dev-libs/OpenNI2/OpenNI2-2.2_beta2.ebuild create mode 100644 dev-libs/OpenNI2/OpenNI2-9999.ebuild create mode 100644 dev-libs/OpenNI2/files/c++14.patch create mode 100644 dev-libs/OpenNI2/files/jpeg.patch create mode 100644 dev-libs/OpenNI2/files/libopenni2.pc.in create mode 100644 dev-libs/OpenNI2/files/pthread.patch create mode 100644 dev-libs/OpenNI2/files/rpath.patch create mode 100644 dev-libs/OpenNI2/files/soname.patch create mode 100644 dev-libs/OpenNI2/metadata.xml create mode 100644 dev-libs/OpenSRF/Manifest create mode 100644 dev-libs/OpenSRF/OpenSRF-1.2.0.ebuild create mode 100644 dev-libs/OpenSRF/OpenSRF-2.1.1.ebuild create mode 100644 dev-libs/OpenSRF/files/OpenSRF-1.2.0-buildfix.patch create mode 100644 dev-libs/OpenSRF/files/OpenSRF-2.1.1-buildfix.patch create mode 100644 dev-libs/OpenSRF/metadata.xml create mode 100644 dev-libs/UTF8Strings/Manifest create mode 100644 dev-libs/UTF8Strings/UTF8Strings-1.14.0.ebuild create mode 100644 dev-libs/UTF8Strings/UTF8Strings-1.14.2.ebuild create mode 100644 dev-libs/UTF8Strings/metadata.xml create mode 100644 dev-libs/ace/Manifest create mode 100644 dev-libs/ace/ace-5.7.2.ebuild create mode 100644 dev-libs/ace/ace-5.8.3.ebuild create mode 100644 dev-libs/ace/metadata.xml create mode 100644 dev-libs/actor-framework/Manifest create mode 100644 dev-libs/actor-framework/actor-framework-0.13.2.ebuild create mode 100644 dev-libs/actor-framework/actor-framework-0.14.5.ebuild create mode 100644 dev-libs/actor-framework/metadata.xml create mode 100644 dev-libs/amdgpu-pro-opencl/Manifest create mode 100644 dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.10.429170.ebuild create mode 100644 dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.30.458935-r1.ebuild create mode 100644 dev-libs/amdgpu-pro-opencl/metadata.xml create mode 100644 dev-libs/angelscript/Manifest create mode 100644 dev-libs/angelscript/angelscript-2.31.2.ebuild create mode 100644 dev-libs/angelscript/metadata.xml create mode 100644 dev-libs/antlr-c/Manifest create mode 100644 dev-libs/antlr-c/antlr-c-3.5.2.ebuild create mode 100644 dev-libs/antlr-c/files/3.5-cflags.patch create mode 100644 dev-libs/antlr-c/metadata.xml create mode 100644 dev-libs/appstream-glib/Manifest create mode 100644 dev-libs/appstream-glib/appstream-glib-0.6.13.ebuild create mode 100644 dev-libs/appstream-glib/appstream-glib-0.6.8.ebuild create mode 100644 dev-libs/appstream-glib/metadata.xml create mode 100644 dev-libs/appstream/Manifest create mode 100644 dev-libs/appstream/appstream-0.10.6-r1.ebuild create mode 100644 dev-libs/appstream/appstream-0.11.5.ebuild create mode 100644 dev-libs/appstream/metadata.xml create mode 100644 dev-libs/apr-util/Manifest create mode 100644 dev-libs/apr-util/apr-util-1.5.4-r1.ebuild create mode 100644 dev-libs/apr-util/apr-util-1.5.4-r3.ebuild create mode 100644 dev-libs/apr-util/apr-util-1.5.4.ebuild create mode 100644 dev-libs/apr-util/apr-util-1.6.0.ebuild create mode 100644 dev-libs/apr-util/files/apr-util-1.5.3-sysroot.patch create mode 100644 dev-libs/apr-util/metadata.xml create mode 100644 dev-libs/apr/Manifest create mode 100644 dev-libs/apr/apr-1.5.2.ebuild create mode 100644 dev-libs/apr/apr-1.6.2.ebuild create mode 100644 dev-libs/apr/files/apr-1.5.0-cross-types.patch create mode 100644 dev-libs/apr/files/apr-1.5.0-libtool.patch create mode 100644 dev-libs/apr/files/apr-1.5.0-mint.patch create mode 100644 dev-libs/apr/files/apr-1.5.0-sysroot.patch create mode 100644 dev-libs/apr/files/config.layout.patch create mode 100644 dev-libs/apr/metadata.xml create mode 100644 dev-libs/argtable/Manifest create mode 100644 dev-libs/argtable/argtable-2.13.ebuild create mode 100644 dev-libs/argtable/metadata.xml create mode 100644 dev-libs/asyncresolv/Manifest create mode 100644 dev-libs/asyncresolv/asyncresolv-0.0.3.ebuild create mode 100644 dev-libs/asyncresolv/metadata.xml create mode 100644 dev-libs/atf/Manifest create mode 100644 dev-libs/atf/atf-0.21.ebuild create mode 100644 dev-libs/atf/metadata.xml create mode 100644 dev-libs/atk/Manifest create mode 100644 dev-libs/atk/atk-2.22.0.ebuild create mode 100644 dev-libs/atk/atk-2.24.0.ebuild create mode 100644 dev-libs/atk/metadata.xml create mode 100644 dev-libs/bareos-fastlzlib/Manifest create mode 100644 dev-libs/bareos-fastlzlib/bareos-fastlzlib-0_pre20140912.ebuild create mode 100644 dev-libs/bareos-fastlzlib/bareos-fastlzlib-0_pre20150524.ebuild create mode 100644 dev-libs/bareos-fastlzlib/metadata.xml create mode 100644 dev-libs/bcm2835/Manifest create mode 100644 dev-libs/bcm2835/bcm2835-1.46.ebuild create mode 100644 dev-libs/bcm2835/bcm2835-1.52.ebuild create mode 100644 dev-libs/bcm2835/metadata.xml create mode 100644 dev-libs/beecrypt/Manifest create mode 100644 dev-libs/beecrypt/beecrypt-4.2.1-r4.ebuild create mode 100644 dev-libs/beecrypt/files/beecrypt-4.2.1-build-system.patch create mode 100755 dev-libs/beecrypt/files/beecrypt-4.2.1-c++11-allow-throw-in-destructors.patch create mode 100644 dev-libs/beecrypt/files/beecrypt-4.2.1-gcc-4.7.patch create mode 100644 dev-libs/beecrypt/metadata.xml create mode 100644 dev-libs/beignet/Manifest create mode 100644 dev-libs/beignet/beignet-1.3.1-r1.ebuild create mode 100644 dev-libs/beignet/beignet-1.3.1.ebuild create mode 100644 dev-libs/beignet/beignet-9999.ebuild create mode 100644 dev-libs/beignet/files/beignet-1.2.0_no-hardcoded-cflags.patch create mode 100644 dev-libs/beignet/files/beignet-1.3.1-oclicd_no_upstream_icdfile.patch create mode 100644 dev-libs/beignet/files/beignet-1.4.0_no-debian-multiarch.patch create mode 100644 dev-libs/beignet/files/llvm-terminfo.patch create mode 100644 dev-libs/beignet/files/no-debian-multiarch.patch create mode 100644 dev-libs/beignet/metadata.xml create mode 100644 dev-libs/bglibs/Manifest create mode 100644 dev-libs/bglibs/bglibs-1.041.ebuild create mode 100644 dev-libs/bglibs/bglibs-1.104.ebuild create mode 100644 dev-libs/bglibs/bglibs-1.106-r1.ebuild create mode 100644 dev-libs/bglibs/bglibs-1.106.ebuild create mode 100644 dev-libs/bglibs/files/bglibs-1.104-parallel-fix.patch create mode 100644 dev-libs/bglibs/files/bglibs-1.106-parallel-fix.patch create mode 100644 dev-libs/bglibs/metadata.xml create mode 100644 dev-libs/bitset/Manifest create mode 100644 dev-libs/bitset/bitset-2.8.3.ebuild create mode 100644 dev-libs/bitset/bitset-2.8.4-r1.ebuild create mode 100644 dev-libs/bitset/metadata.xml create mode 100644 dev-libs/blitz/Manifest create mode 100644 dev-libs/blitz/blitz-0.10-r1.ebuild create mode 100644 dev-libs/blitz/blitz-0.10.ebuild create mode 100644 dev-libs/blitz/files/blitz-0.10-docs.patch create mode 100644 dev-libs/blitz/files/blitz-0.10-gcc47.patch create mode 100644 dev-libs/blitz/files/blitz-0.10-set-default-arg-value.patch create mode 100644 dev-libs/blitz/metadata.xml create mode 100644 dev-libs/boehm-gc/Manifest create mode 100644 dev-libs/boehm-gc/boehm-gc-6.8.ebuild create mode 100644 dev-libs/boehm-gc/boehm-gc-7.1-r1.ebuild create mode 100644 dev-libs/boehm-gc/boehm-gc-7.2d-r1.ebuild create mode 100644 dev-libs/boehm-gc/boehm-gc-7.2d.ebuild create mode 100644 dev-libs/boehm-gc/boehm-gc-7.2e.ebuild create mode 100644 dev-libs/boehm-gc/boehm-gc-7.4.0.ebuild create mode 100644 dev-libs/boehm-gc/boehm-gc-7.4.2.ebuild create mode 100644 dev-libs/boehm-gc/boehm-gc-7.6.0.ebuild create mode 100644 dev-libs/boehm-gc/files/boehm-gc-6.5-gentoo.patch create mode 100644 dev-libs/boehm-gc/files/boehm-gc-7.2d-automake-1.13.patch create mode 100644 dev-libs/boehm-gc/files/boehm-gc-7.2d-configure.patch create mode 100644 dev-libs/boehm-gc/files/boehm-gc-7.2e-automake-1.13.patch create mode 100644 dev-libs/boehm-gc/files/gc6.6-builtin-backtrace-uclibc.patch create mode 100644 dev-libs/boehm-gc/metadata.xml create mode 100644 dev-libs/boost-mpl-cartesian_product/Manifest create mode 100644 dev-libs/boost-mpl-cartesian_product/boost-mpl-cartesian_product-20161205.ebuild create mode 100644 dev-libs/boost-mpl-cartesian_product/metadata.xml create mode 100644 dev-libs/boost-numpy/Manifest create mode 100644 dev-libs/boost-numpy/boost-numpy-9999.ebuild create mode 100644 dev-libs/boost-numpy/metadata.xml create mode 100644 dev-libs/boost/Manifest create mode 100644 dev-libs/boost/boost-1.62.0-r1.ebuild create mode 100644 dev-libs/boost/boost-1.63.0.ebuild create mode 100644 dev-libs/boost/boost-1.65.0.ebuild create mode 100644 dev-libs/boost/files/boost-1.48.0-disable_icu_rpath.patch create mode 100644 dev-libs/boost/files/boost-1.48.0-disable_libboost_python3.patch create mode 100644 dev-libs/boost/files/boost-1.48.0-no_strict_aliasing_python2.patch create mode 100644 dev-libs/boost/files/boost-1.48.0-python_linking.patch create mode 100644 dev-libs/boost/files/boost-1.51.0-respect_python-buildid.patch create mode 100644 dev-libs/boost/files/boost-1.51.0-support_dots_in_python-buildid.patch create mode 100644 dev-libs/boost/files/boost-1.55.0-context-x32.patch create mode 100644 dev-libs/boost/files/boost-1.56.0-build-auto_index-tool.patch create mode 100644 dev-libs/boost/files/boost-1.63.0-fix-python.patch create mode 100644 dev-libs/boost/files/boost-1.65.0-fix-python.patch create mode 100644 dev-libs/boost/metadata.xml create mode 100644 dev-libs/botan/Manifest create mode 100644 dev-libs/botan/botan-1.10.15-r1.ebuild create mode 100644 dev-libs/botan/botan-1.10.16.ebuild create mode 100644 dev-libs/botan/botan-1.10.17.ebuild create mode 100644 dev-libs/botan/botan-2.3.0.ebuild create mode 100644 dev-libs/botan/files/botan-1.10.15-c++11.patch create mode 100644 dev-libs/botan/files/botan-1.10.17-build.patch create mode 100644 dev-libs/botan/files/botan-1.10.17-libressl.patch create mode 100644 dev-libs/botan/files/botan-2.3.0-build.patch create mode 100644 dev-libs/botan/metadata.xml create mode 100644 dev-libs/btparser/Manifest create mode 100644 dev-libs/btparser/btparser-0.24.ebuild create mode 100644 dev-libs/btparser/btparser-0.25.ebuild create mode 100644 dev-libs/btparser/btparser-0.26.ebuild create mode 100644 dev-libs/btparser/metadata.xml create mode 100644 dev-libs/busybee/Manifest create mode 100644 dev-libs/busybee/busybee-0.5.2.ebuild create mode 100644 dev-libs/busybee/busybee-0.6.0.ebuild create mode 100644 dev-libs/busybee/busybee-0.7.0.ebuild create mode 100644 dev-libs/busybee/metadata.xml create mode 100644 dev-libs/c-blosc/Manifest create mode 100644 dev-libs/c-blosc/c-blosc-1.11.1.ebuild create mode 100644 dev-libs/c-blosc/c-blosc-1.11.2.ebuild create mode 100644 dev-libs/c-blosc/c-blosc-1.3.2.ebuild create mode 100644 dev-libs/c-blosc/c-blosc-1.3.5.ebuild create mode 100644 dev-libs/c-blosc/c-blosc-1.5.3.ebuild create mode 100644 dev-libs/c-blosc/files/c-blosc-1.11.1-fix-build-system.patch create mode 100644 dev-libs/c-blosc/files/c-blosc-1.11.2-fix-build-system.patch create mode 100644 dev-libs/c-blosc/files/c-blosc-1.3.2-shared-libs.patch create mode 100644 dev-libs/c-blosc/files/c-blosc-1.5.3-shared-libs.patch create mode 100644 dev-libs/c-blosc/metadata.xml create mode 100644 dev-libs/c-capnproto/Manifest create mode 100644 dev-libs/c-capnproto/c-capnproto-0.3.ebuild create mode 100644 dev-libs/c-capnproto/metadata.xml create mode 100644 dev-libs/caliper/Manifest create mode 100644 dev-libs/caliper/caliper-1.5.0.ebuild create mode 100644 dev-libs/caliper/files/caliper-1.5.0-cmake.patch create mode 100644 dev-libs/caliper/files/caliper-1.5.0-multilib.patch create mode 100644 dev-libs/caliper/files/caliper-1.5.0-python2.patch create mode 100644 dev-libs/caliper/metadata.xml create mode 100644 dev-libs/capnproto/Manifest create mode 100644 dev-libs/capnproto/capnproto-0.6.0.ebuild create mode 100644 dev-libs/capnproto/capnproto-0.6.1.ebuild create mode 100644 dev-libs/capnproto/metadata.xml create mode 100644 dev-libs/capstone/Manifest create mode 100644 dev-libs/capstone/capstone-3.0.5_rc2-r1.ebuild create mode 100644 dev-libs/capstone/capstone-3.0.5_rc2.ebuild create mode 100644 dev-libs/capstone/files/capstone-3.0.5_rc2-CVE-2017-6952.patch create mode 100644 dev-libs/capstone/files/capstone-3.0.5_rc2-FLAGS.patch create mode 100644 dev-libs/capstone/metadata.xml create mode 100644 dev-libs/cdk/Manifest create mode 100644 dev-libs/cdk/cdk-5.0.20131107.ebuild create mode 100644 dev-libs/cdk/cdk-5.0.20141106.ebuild create mode 100644 dev-libs/cdk/cdk-5.0.20150928.ebuild create mode 100644 dev-libs/cdk/cdk-5.0.20160131.ebuild create mode 100644 dev-libs/cdk/files/cdk-5.0.20120323-parallel-make.patch create mode 100644 dev-libs/cdk/metadata.xml create mode 100644 dev-libs/cereal/Manifest create mode 100644 dev-libs/cereal/cereal-1.2.1.ebuild create mode 100644 dev-libs/cereal/cereal-1.2.2.ebuild create mode 100644 dev-libs/cereal/metadata.xml create mode 100644 dev-libs/cgicc/Manifest create mode 100644 dev-libs/cgicc/cgicc-3.2.16.ebuild create mode 100644 dev-libs/cgicc/cgicc-3.2.9.ebuild create mode 100644 dev-libs/cgicc/files/3.2.10-fix-pkgconfig.patch create mode 100644 dev-libs/cgicc/files/cgicc-3.2.16-fix-doc-building.patch create mode 100644 dev-libs/cgicc/metadata.xml create mode 100644 dev-libs/cgilib/Manifest create mode 100644 dev-libs/cgilib/cgilib-0.7.ebuild create mode 100644 dev-libs/cgilib/metadata.xml create mode 100644 dev-libs/check/Manifest create mode 100644 dev-libs/check/check-0.10.0-r1.ebuild create mode 100644 dev-libs/check/check-0.10.0-r2.ebuild create mode 100644 dev-libs/check/check-0.11.0.ebuild create mode 100644 dev-libs/check/check-0.9.11.ebuild create mode 100644 dev-libs/check/files/check-0.9.10-AM_PATH_CHECK.patch create mode 100644 dev-libs/check/metadata.xml create mode 100644 dev-libs/chmlib/Manifest create mode 100644 dev-libs/chmlib/chmlib-0.40-r1.ebuild create mode 100644 dev-libs/chmlib/files/chmlib-0.39-stdtypes.patch create mode 100644 dev-libs/chmlib/files/chmlib-0.40-headers.patch create mode 100644 dev-libs/chmlib/metadata.xml create mode 100644 dev-libs/cityhash/Manifest create mode 100644 dev-libs/cityhash/cityhash-1.0.3.ebuild create mode 100644 dev-libs/cityhash/cityhash-1.1.0.ebuild create mode 100644 dev-libs/cityhash/cityhash-1.1.1.ebuild create mode 100644 dev-libs/cityhash/metadata.xml create mode 100644 dev-libs/cl/Manifest create mode 100644 dev-libs/cl/cl-1.2.3.ebuild create mode 100644 dev-libs/cl/cl-9999.ebuild create mode 100644 dev-libs/cl/metadata.xml create mode 100644 dev-libs/cloog/Manifest create mode 100644 dev-libs/cloog/cloog-0.18.0.ebuild create mode 100644 dev-libs/cloog/cloog-0.18.1.ebuild create mode 100644 dev-libs/cloog/cloog-0.18.3.ebuild create mode 100644 dev-libs/cloog/cloog-0.18.4.ebuild create mode 100644 dev-libs/cloog/cloog-9999.ebuild create mode 100644 dev-libs/cloog/files/cloog-0.18.3-isl-0.15.patch create mode 100644 dev-libs/cloog/metadata.xml create mode 100644 dev-libs/collada-dom/Manifest create mode 100644 dev-libs/collada-dom/collada-dom-2.4.0.ebuild create mode 100644 dev-libs/collada-dom/collada-dom-2.4.3_pre20150112.ebuild create mode 100644 dev-libs/collada-dom/collada-dom-2.4.4.ebuild create mode 100644 dev-libs/collada-dom/collada-dom-9999.ebuild create mode 100644 dev-libs/collada-dom/files/collada-dom-2.4.4-gcc6.patch create mode 100755 dev-libs/collada-dom/files/take_snapshot.sh create mode 100644 dev-libs/collada-dom/metadata.xml create mode 100644 dev-libs/concurrencykit/Manifest create mode 100644 dev-libs/concurrencykit/concurrencykit-0.5.2.ebuild create mode 100644 dev-libs/concurrencykit/concurrencykit-0.6.0.ebuild create mode 100644 dev-libs/concurrencykit/metadata.xml create mode 100644 dev-libs/confuse/Manifest create mode 100644 dev-libs/confuse/confuse-3.0.ebuild create mode 100644 dev-libs/confuse/confuse-3.2.ebuild create mode 100644 dev-libs/confuse/metadata.xml create mode 100644 dev-libs/console_bridge/Manifest create mode 100644 dev-libs/console_bridge/console_bridge-0.2.7.ebuild create mode 100644 dev-libs/console_bridge/console_bridge-0.3.1.ebuild create mode 100644 dev-libs/console_bridge/console_bridge-0.3.2.ebuild create mode 100644 dev-libs/console_bridge/console_bridge-9999.ebuild create mode 100644 dev-libs/console_bridge/metadata.xml create mode 100644 dev-libs/cpl-stratego/Manifest create mode 100644 dev-libs/cpl-stratego/cpl-stratego-0.4.ebuild create mode 100644 dev-libs/cpl-stratego/metadata.xml create mode 100644 dev-libs/crossguid/Manifest create mode 100644 dev-libs/crossguid/crossguid-0_pre20150817.ebuild create mode 100644 dev-libs/crossguid/metadata.xml create mode 100644 dev-libs/crypto++/Manifest create mode 100644 dev-libs/crypto++/crypto++-5.6.5-r1.ebuild create mode 100644 dev-libs/crypto++/files/crypto++-5.6.4-nonative.patch create mode 100644 dev-libs/crypto++/files/crypto++-5.6.5-CVE-2017-9434.patch create mode 100644 dev-libs/crypto++/metadata.xml create mode 100644 dev-libs/cudnn/Manifest create mode 100644 dev-libs/cudnn/cudnn-6.0.ebuild create mode 100644 dev-libs/cudnn/metadata.xml create mode 100644 dev-libs/cvector/Manifest create mode 100644 dev-libs/cvector/cvector-1.0.3-r1.ebuild create mode 100644 dev-libs/cvector/cvector-1.0.3.1.ebuild create mode 100644 dev-libs/cvector/files/1.0.3-LDFLAGS.patch create mode 100644 dev-libs/cvector/files/1.0.3-dynlib.patch create mode 100644 dev-libs/cvector/files/cvector-1.0.3.1-LDFLAGS.patch create mode 100644 dev-libs/cvector/metadata.xml create mode 100644 dev-libs/cxxtools/Manifest create mode 100644 dev-libs/cxxtools/cxxtools-2.2.1.ebuild create mode 100644 dev-libs/cxxtools/metadata.xml create mode 100644 dev-libs/cyberjack/Manifest create mode 100644 dev-libs/cyberjack/cyberjack-3.99.5_p03-r1.ebuild create mode 100644 dev-libs/cyberjack/cyberjack-3.99.5_p10.ebuild create mode 100644 dev-libs/cyberjack/cyberjack-3.99.5_p11.ebuild create mode 100644 dev-libs/cyberjack/files/cyberjack-3.99.5_p03-gcc47.patch create mode 100644 dev-libs/cyberjack/files/cyberjack-manpages.patch create mode 100644 dev-libs/cyberjack/files/cyberjack-r1.rules create mode 100644 dev-libs/cyberjack/files/cyberjack-returnvalue.patch create mode 100644 dev-libs/cyberjack/files/cyberjack.rules create mode 100644 dev-libs/cyberjack/metadata.xml create mode 100644 dev-libs/cygwin/Manifest create mode 100644 dev-libs/cygwin/cygwin-1.5.25.15.ebuild create mode 100644 dev-libs/cygwin/metadata.xml create mode 100644 dev-libs/cyrus-sasl/Manifest create mode 100644 dev-libs/cyrus-sasl/cyrus-sasl-2.1.26-r10.ebuild create mode 100644 dev-libs/cyrus-sasl/cyrus-sasl-2.1.26-r11.ebuild create mode 100644 dev-libs/cyrus-sasl/cyrus-sasl-2.1.26-r9.ebuild create mode 100644 dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.23-gss_c_nt_hostbased_service.patch create mode 100644 dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.25-as_needed.patch create mode 100644 dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.25-autotools_fixes.patch create mode 100644 dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.25-auxprop.patch create mode 100644 dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.25-avoid_pic_overwrite.patch create mode 100644 dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.25-fix_heimdal.patch create mode 100644 dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.25-missing_header.patch create mode 100644 dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.25-saslauthd_libtool.patch create mode 100644 dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.25-sasldb_al.patch create mode 100644 dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.25-service_keytabs.patch create mode 100644 dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.26-CVE-2013-4122.patch create mode 100644 dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.26-canonuser-ldapdb-garbage-in-out-buffer.patch create mode 100644 dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.26-fix_dovecot_authentication.patch create mode 100644 dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.26-missing-size_t.patch create mode 100644 dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.26-send-imap-logout.patch create mode 100644 dev-libs/cyrus-sasl/files/cyrus-sasl.conf create mode 100644 dev-libs/cyrus-sasl/files/java.README.gentoo create mode 100644 dev-libs/cyrus-sasl/files/pwcheck.rc6 create mode 100644 dev-libs/cyrus-sasl/files/pwcheck.service create mode 100644 dev-libs/cyrus-sasl/files/saslauthd-2.1.26.conf create mode 100644 dev-libs/cyrus-sasl/files/saslauthd.pam-include create mode 100644 dev-libs/cyrus-sasl/files/saslauthd.service create mode 100644 dev-libs/cyrus-sasl/files/saslauthd2.rc7 create mode 100644 dev-libs/cyrus-sasl/metadata.xml create mode 100644 dev-libs/d0_blind_id/Manifest create mode 100644 dev-libs/d0_blind_id/d0_blind_id-0.5.ebuild create mode 100644 dev-libs/d0_blind_id/d0_blind_id-1.0.ebuild create mode 100644 dev-libs/d0_blind_id/metadata.xml create mode 100644 dev-libs/darts/Manifest create mode 100644 dev-libs/darts/darts-0.32.ebuild create mode 100644 dev-libs/darts/metadata.xml create mode 100644 dev-libs/dbus-c++/Manifest create mode 100644 dev-libs/dbus-c++/dbus-c++-0.9.0-r3.ebuild create mode 100644 dev-libs/dbus-c++/files/dbus-c++-0.9.0-gcc-4.7.patch create mode 100644 dev-libs/dbus-c++/files/dbus-c++-gcc7.patch create mode 100644 dev-libs/dbus-c++/metadata.xml create mode 100644 dev-libs/dbus-glib/Manifest create mode 100644 dev-libs/dbus-glib/dbus-glib-0.102.ebuild create mode 100644 dev-libs/dbus-glib/dbus-glib-0.104.ebuild create mode 100644 dev-libs/dbus-glib/dbus-glib-0.106.ebuild create mode 100644 dev-libs/dbus-glib/dbus-glib-0.108.ebuild create mode 100644 dev-libs/dbus-glib/metadata.xml create mode 100644 dev-libs/dclog/Manifest create mode 100644 dev-libs/dclog/dclog-1.1.1-r2.ebuild create mode 100644 dev-libs/dclog/metadata.xml create mode 100644 dev-libs/device-atlas-api-c/Manifest create mode 100644 dev-libs/device-atlas-api-c/device-atlas-api-c-2.1.2_p1.ebuild create mode 100644 dev-libs/device-atlas-api-c/device-atlas-api-c-2.1.2_p2.ebuild create mode 100644 dev-libs/device-atlas-api-c/device-atlas-api-c-2.1.ebuild create mode 100644 dev-libs/device-atlas-api-c/files/2.1-cmake-install.patch create mode 100644 dev-libs/device-atlas-api-c/files/2.1.2-src-cmakelists.patch create mode 100644 dev-libs/device-atlas-api-c/metadata.xml create mode 100644 dev-libs/dietlibc/Manifest create mode 100644 dev-libs/dietlibc/dietlibc-0.33_pre20110403.ebuild create mode 100644 dev-libs/dietlibc/dietlibc-0.34_pre20140729.ebuild create mode 100644 dev-libs/dietlibc/metadata.xml create mode 100644 dev-libs/ding-libs/Manifest create mode 100644 dev-libs/ding-libs/ding-libs-0.4.0.ebuild create mode 100644 dev-libs/ding-libs/ding-libs-0.5.0.ebuild create mode 100644 dev-libs/ding-libs/ding-libs-0.6.0.ebuild create mode 100644 dev-libs/ding-libs/metadata.xml create mode 100644 dev-libs/distorm64/Manifest create mode 100644 dev-libs/distorm64/distorm64-3.3.3.ebuild create mode 100644 dev-libs/distorm64/distorm64-3.3.4.ebuild create mode 100644 dev-libs/distorm64/metadata.xml create mode 100644 dev-libs/dmalloc/Manifest create mode 100644 dev-libs/dmalloc/dmalloc-5.5.2-r4.ebuild create mode 100644 dev-libs/dmalloc/dmalloc-5.5.2-r6.ebuild create mode 100644 dev-libs/dmalloc/files/dmalloc-5.5.2-Makefile.in.patch create mode 100644 dev-libs/dmalloc/files/dmalloc-5.5.2-ar.patch create mode 100644 dev-libs/dmalloc/files/dmalloc-5.5.2-cxx.patch create mode 100644 dev-libs/dmalloc/files/dmalloc-5.5.2-string-macros.patch create mode 100644 dev-libs/dmalloc/files/dmalloc-5.5.2-threads.patch create mode 100644 dev-libs/dmalloc/metadata.xml create mode 100644 dev-libs/dotconf/Manifest create mode 100644 dev-libs/dotconf/dotconf-1.3.ebuild create mode 100644 dev-libs/dotconf/metadata.xml create mode 100644 dev-libs/double-conversion/Manifest create mode 100644 dev-libs/double-conversion/double-conversion-2.0.1.ebuild create mode 100644 dev-libs/double-conversion/files/double-conversion-2.0.1-scons.patch create mode 100644 dev-libs/double-conversion/metadata.xml create mode 100644 dev-libs/eb/Manifest create mode 100644 dev-libs/eb/eb-4.4.1-r1.ebuild create mode 100644 dev-libs/eb/metadata.xml create mode 100644 dev-libs/eekboard/Manifest create mode 100644 dev-libs/eekboard/eekboard-1.0.8_p20121001.ebuild create mode 100644 dev-libs/eekboard/files/eekboard-vala.patch create mode 100644 dev-libs/eekboard/metadata.xml create mode 100644 dev-libs/efl/Manifest create mode 100644 dev-libs/efl/efl-1.17.0-r1.ebuild create mode 100644 dev-libs/efl/efl-1.18.4.ebuild create mode 100644 dev-libs/efl/efl-9999.ebuild create mode 100644 dev-libs/efl/files/efl-1.17.0-gnutls-3.4.patch create mode 100644 dev-libs/efl/metadata.xml create mode 100644 dev-libs/elfio/Manifest create mode 100644 dev-libs/elfio/elfio-1.0.3-r1.ebuild create mode 100644 dev-libs/elfio/files/elfio-1.0.3-shared.patch create mode 100644 dev-libs/elfio/metadata.xml create mode 100644 dev-libs/elfutils/Manifest create mode 100644 dev-libs/elfutils/elfutils-0.169-r1.ebuild create mode 100644 dev-libs/elfutils/elfutils-0.170-r1.ebuild create mode 100644 dev-libs/elfutils/elfutils-0.170.ebuild create mode 100644 dev-libs/elfutils/files/elfutils-0.118-PaX-support.patch create mode 100644 dev-libs/elfutils/metadata.xml create mode 100644 dev-libs/eventlog/Manifest create mode 100644 dev-libs/eventlog/eventlog-0.2.12.ebuild create mode 100644 dev-libs/eventlog/metadata.xml create mode 100644 dev-libs/expat/Manifest create mode 100644 dev-libs/expat/expat-2.2.1.ebuild create mode 100644 dev-libs/expat/expat-2.2.4.ebuild create mode 100644 dev-libs/expat/files/expat-2.2.1-gentoo-dash.patch create mode 100644 dev-libs/expat/files/expat-2.2.1-getrandom-detection.patch create mode 100644 dev-libs/expat/files/expat-2.2.1-posix-shell.patch create mode 100644 dev-libs/expat/metadata.xml create mode 100644 dev-libs/fampp2/Manifest create mode 100644 dev-libs/fampp2/fampp2-7.0.1-r3.ebuild create mode 100644 dev-libs/fampp2/files/fampp2-7.0.1-fix-buildsystem.patch create mode 100644 dev-libs/fampp2/files/fampp2-7.0.1-fix-gcc6.patch create mode 100644 dev-libs/fampp2/files/fampp2-7.0.1-libsigc++-2.6.patch create mode 100644 dev-libs/fampp2/metadata.xml create mode 100644 dev-libs/faxpp/Manifest create mode 100644 dev-libs/faxpp/faxpp-0.4.ebuild create mode 100644 dev-libs/faxpp/metadata.xml create mode 100644 dev-libs/fcgi/Manifest create mode 100644 dev-libs/fcgi/fcgi-2.4.1_pre0910052249-r2.ebuild create mode 100644 dev-libs/fcgi/files/fcgi-2.4.0-Makefile.patch create mode 100644 dev-libs/fcgi/files/fcgi-2.4.0-clientdata-pointer.patch create mode 100644 dev-libs/fcgi/files/fcgi-2.4.0-html-updates.patch create mode 100644 dev-libs/fcgi/files/fcgi-2.4.1_pre0311112127-gcc44.patch create mode 100644 dev-libs/fcgi/files/fcgi-2.4.1_pre0910052249-link.patch create mode 100644 dev-libs/fcgi/files/fcgi-2.4.1_pre0910052249-poll.patch create mode 100644 dev-libs/fcgi/metadata.xml create mode 100644 dev-libs/fddl/Manifest create mode 100644 dev-libs/fddl/fddl-20111124-r1.ebuild create mode 100644 dev-libs/fddl/metadata.xml create mode 100644 dev-libs/ferrisloki/Manifest create mode 100644 dev-libs/ferrisloki/ferrisloki-3.0.13-r2.ebuild create mode 100644 dev-libs/ferrisloki/metadata.xml create mode 100644 dev-libs/ffcall/Manifest create mode 100644 dev-libs/ffcall/ffcall-1.10-r2.ebuild create mode 100644 dev-libs/ffcall/ffcall-1.10-r5.ebuild create mode 100644 dev-libs/ffcall/ffcall-1.10.ebuild create mode 100644 dev-libs/ffcall/ffcall-1.13.ebuild create mode 100644 dev-libs/ffcall/ffcall-2.0.ebuild create mode 100644 dev-libs/ffcall/files/ffcall-make-jN.patch create mode 100644 dev-libs/ffcall/metadata.xml create mode 100644 dev-libs/flatbuffers/Manifest create mode 100644 dev-libs/flatbuffers/flatbuffers-1.7.1.ebuild create mode 100644 dev-libs/flatbuffers/metadata.xml create mode 100644 dev-libs/folks/Manifest create mode 100644 dev-libs/folks/folks-0.11.3.ebuild create mode 100644 dev-libs/folks/folks-0.11.4.ebuild create mode 100644 dev-libs/folks/metadata.xml create mode 100644 dev-libs/freexl/Manifest create mode 100644 dev-libs/freexl/freexl-1.0.1.ebuild create mode 100644 dev-libs/freexl/freexl-1.0.2.ebuild create mode 100644 dev-libs/freexl/metadata.xml create mode 100644 dev-libs/fribidi/Manifest create mode 100644 dev-libs/fribidi/files/fribidi-0.19.2-nodoc.patch create mode 100644 dev-libs/fribidi/files/fribidi-0.19.5-signedwarning.patch create mode 100644 dev-libs/fribidi/files/fribidi-0.19.6-page-size-header.patch create mode 100644 dev-libs/fribidi/fribidi-0.19.5-r1.ebuild create mode 100644 dev-libs/fribidi/fribidi-0.19.6.ebuild create mode 100644 dev-libs/fribidi/fribidi-0.19.7.ebuild create mode 100644 dev-libs/fribidi/metadata.xml create mode 100644 dev-libs/fstrm/Manifest create mode 100644 dev-libs/fstrm/fstrm-0.2.0-r1.ebuild create mode 100644 dev-libs/fstrm/fstrm-0.3.0.ebuild create mode 100644 dev-libs/fstrm/metadata.xml create mode 100644 dev-libs/g-wrap/Manifest create mode 100644 dev-libs/g-wrap/g-wrap-1.9.11.ebuild create mode 100644 dev-libs/g-wrap/g-wrap-1.9.13.ebuild create mode 100644 dev-libs/g-wrap/g-wrap-1.9.14.ebuild create mode 100644 dev-libs/g-wrap/metadata.xml create mode 100644 dev-libs/gdl/Manifest create mode 100644 dev-libs/gdl/gdl-3.22.0.ebuild create mode 100644 dev-libs/gdl/metadata.xml create mode 100644 dev-libs/gecode/Manifest create mode 100644 dev-libs/gecode/files/gecode-4.4.0-no-examples.patch create mode 100644 dev-libs/gecode/gecode-3.7.3-r1.ebuild create mode 100644 dev-libs/gecode/gecode-4.4.0-r1.ebuild create mode 100644 dev-libs/gecode/metadata.xml create mode 100644 dev-libs/geoip/Manifest create mode 100644 dev-libs/geoip/files/geoipupdate-r6.sh create mode 100644 dev-libs/geoip/geoip-1.6.10.ebuild create mode 100644 dev-libs/geoip/geoip-1.6.11.ebuild create mode 100644 dev-libs/geoip/geoip-1.6.9-r1.ebuild create mode 100644 dev-libs/geoip/metadata.xml create mode 100644 dev-libs/gf-complete/Manifest create mode 100644 dev-libs/gf-complete/gf-complete-0.0.0.ebuild create mode 100644 dev-libs/gf-complete/gf-complete-2.0.0.ebuild create mode 100644 dev-libs/gf-complete/metadata.xml create mode 100644 dev-libs/gf2x/Manifest create mode 100644 dev-libs/gf2x/gf2x-1.0-r1.ebuild create mode 100644 dev-libs/gf2x/gf2x-1.1.ebuild create mode 100644 dev-libs/gf2x/gf2x-1.2.ebuild create mode 100644 dev-libs/gf2x/metadata.xml create mode 100644 dev-libs/girara/Manifest create mode 100644 dev-libs/girara/girara-0.2.2.ebuild create mode 100644 dev-libs/girara/girara-0.2.7.ebuild create mode 100644 dev-libs/girara/girara-9999.ebuild create mode 100644 dev-libs/girara/metadata.xml create mode 100644 dev-libs/gjs/Manifest create mode 100644 dev-libs/gjs/files/1.48.6-disable-unittest.patch create mode 100644 dev-libs/gjs/files/gjs-1.43.3-disable-unittest-1.patch create mode 100644 dev-libs/gjs/files/gjs-1.43.3-disable-unittest-2.patch create mode 100644 dev-libs/gjs/gjs-1.46.0.ebuild create mode 100644 dev-libs/gjs/gjs-1.48.6.ebuild create mode 100644 dev-libs/gjs/gjs-1.48.7.ebuild create mode 100644 dev-libs/gjs/metadata.xml create mode 100644 dev-libs/glib/Manifest create mode 100644 dev-libs/glib/files/glib-2.50.0-external-gdbus-codegen.patch create mode 100644 dev-libs/glib/files/glib-2.50.3-fix-gdatetime-tests.patch create mode 100644 dev-libs/glib/glib-2.50.3-r1.ebuild create mode 100644 dev-libs/glib/glib-2.52.3.ebuild create mode 100644 dev-libs/glib/metadata.xml create mode 100644 dev-libs/gmime/Manifest create mode 100644 dev-libs/gmime/gmime-2.6.23.ebuild create mode 100644 dev-libs/gmime/gmime-3.0.2.ebuild create mode 100644 dev-libs/gmime/metadata.xml create mode 100644 dev-libs/gmp/Manifest create mode 100644 dev-libs/gmp/files/6.0.0a/gmp-6.0.0a-arm-thumb.diff create mode 100644 dev-libs/gmp/files/6.0.0a/ppc64-build.diff create mode 100644 dev-libs/gmp/files/gmp-4.1.4-noexecstack.patch create mode 100644 dev-libs/gmp/files/gmp-4.2.1-s390.diff create mode 100644 dev-libs/gmp/files/gmp-6.1.0-noexecstack-detect.patch create mode 100644 dev-libs/gmp/files/gmp-6.1.0-tune-printf.patch create mode 100644 dev-libs/gmp/files/gmp-6.1.0-udiv.patch create mode 100644 dev-libs/gmp/gmp-4.3.2-r1.ebuild create mode 100644 dev-libs/gmp/gmp-6.0.0a.ebuild create mode 100644 dev-libs/gmp/gmp-6.1.0.ebuild create mode 100644 dev-libs/gmp/gmp-6.1.1.ebuild create mode 100644 dev-libs/gmp/gmp-6.1.2.ebuild create mode 100644 dev-libs/gmp/metadata.xml create mode 100644 dev-libs/gnulib/Manifest create mode 100644 dev-libs/gnulib/gnulib-2016.12.21.08.39.01.ebuild create mode 100644 dev-libs/gnulib/gnulib-9999-r1.ebuild create mode 100644 dev-libs/gnulib/metadata.xml create mode 100644 dev-libs/go-fuse/Manifest create mode 100644 dev-libs/go-fuse/go-fuse-0_p20140812-r1.ebuild create mode 100644 dev-libs/go-fuse/go-fuse-0_p20150422.ebuild create mode 100644 dev-libs/go-fuse/go-fuse-9999.ebuild create mode 100644 dev-libs/go-fuse/metadata.xml create mode 100644 dev-libs/go-usb/Manifest create mode 100644 dev-libs/go-usb/go-usb-9999.ebuild create mode 100644 dev-libs/go-usb/metadata.xml create mode 100644 dev-libs/gobject-introspection-common/Manifest create mode 100644 dev-libs/gobject-introspection-common/gobject-introspection-common-1.50.0.ebuild create mode 100644 dev-libs/gobject-introspection-common/gobject-introspection-common-1.52.1.ebuild create mode 100644 dev-libs/gobject-introspection-common/metadata.xml create mode 100644 dev-libs/gobject-introspection/Manifest create mode 100644 dev-libs/gobject-introspection/gobject-introspection-1.50.0.ebuild create mode 100644 dev-libs/gobject-introspection/gobject-introspection-1.52.1.ebuild create mode 100644 dev-libs/gobject-introspection/metadata.xml create mode 100644 dev-libs/gom/Manifest create mode 100644 dev-libs/gom/gom-0.3.2.ebuild create mode 100644 dev-libs/gom/metadata.xml create mode 100644 dev-libs/granite/Manifest create mode 100644 dev-libs/granite/files/granite-0.3.0-build-fix.patch create mode 100644 dev-libs/granite/files/granite-0.3.0-build-fix2.patch create mode 100644 dev-libs/granite/files/granite-0.3.0-build-fix3.patch create mode 100644 dev-libs/granite/granite-0.2.1.ebuild create mode 100644 dev-libs/granite/granite-0.2.3.1.ebuild create mode 100644 dev-libs/granite/granite-0.3.0.ebuild create mode 100644 dev-libs/granite/metadata.xml create mode 100644 dev-libs/grantlee/Manifest create mode 100644 dev-libs/grantlee/files/grantlee-0.3.0-nonfatal-warnings.patch create mode 100644 dev-libs/grantlee/files/grantlee-5.1.0-slot.patch create mode 100644 dev-libs/grantlee/grantlee-5.1.0.ebuild create mode 100644 dev-libs/grantlee/metadata.xml create mode 100644 dev-libs/grok/Manifest create mode 100644 dev-libs/grok/files/0.9.2-Makefile.patch create mode 100644 dev-libs/grok/files/0.9.2-build-with-pcre-lt-8.34.patch create mode 100644 dev-libs/grok/files/grok-0.9.2-Makefile.patch create mode 100644 dev-libs/grok/files/grok-0.9.2-build-with-gperf-3.1.patch create mode 100644 dev-libs/grok/grok-0.9.2-r1.ebuild create mode 100644 dev-libs/grok/grok-0.9.2.ebuild create mode 100644 dev-libs/grok/metadata.xml create mode 100644 dev-libs/gtx/Manifest create mode 100644 dev-libs/gtx/files/gtx-0.2.2-debug.patch create mode 100644 dev-libs/gtx/files/gtx-0.2.2-docdir.patch create mode 100644 dev-libs/gtx/files/gtx-0.2.2-glib.h.patch create mode 100644 dev-libs/gtx/gtx-0.2.2.ebuild create mode 100644 dev-libs/gtx/metadata.xml create mode 100644 dev-libs/gumbo/Manifest create mode 100644 dev-libs/gumbo/gumbo-0.10.1.ebuild create mode 100644 dev-libs/gumbo/metadata.xml create mode 100644 dev-libs/handystats/Manifest create mode 100644 dev-libs/handystats/handystats-1.11.0.ebuild create mode 100644 dev-libs/handystats/handystats-1.11.1.ebuild create mode 100644 dev-libs/handystats/handystats-1.11.3.ebuild create mode 100644 dev-libs/handystats/metadata.xml create mode 100644 dev-libs/hashit/Manifest create mode 100644 dev-libs/hashit/files/hashit-0.9.7-pkgconfig.patch create mode 100644 dev-libs/hashit/hashit-0.9.7-r1.ebuild create mode 100644 dev-libs/hashit/metadata.xml create mode 100644 dev-libs/hidapi/Manifest create mode 100644 dev-libs/hidapi/hidapi-0.8.0_rc1_p20140719.ebuild create mode 100644 dev-libs/hidapi/metadata.xml create mode 100644 dev-libs/hiredis/Manifest create mode 100644 dev-libs/hiredis/files/hiredis-0.13.3-disable-network-tests.patch create mode 100644 dev-libs/hiredis/hiredis-0.13.3.ebuild create mode 100644 dev-libs/hiredis/metadata.xml create mode 100644 dev-libs/http-fetcher/Manifest create mode 100644 dev-libs/http-fetcher/http-fetcher-1.1.0-r1.ebuild create mode 100644 dev-libs/http-fetcher/http-fetcher-1.1.0.ebuild create mode 100644 dev-libs/http-fetcher/metadata.xml create mode 100644 dev-libs/hyperleveldb/Manifest create mode 100644 dev-libs/hyperleveldb/files/snappy.patch create mode 100644 dev-libs/hyperleveldb/hyperleveldb-1.2.2.ebuild create mode 100644 dev-libs/hyperleveldb/metadata.xml create mode 100644 dev-libs/hyperscan/Manifest create mode 100644 dev-libs/hyperscan/hyperscan-4.4.1-r1.ebuild create mode 100644 dev-libs/hyperscan/hyperscan-4.4.1.ebuild create mode 100644 dev-libs/hyperscan/hyperscan-4.5.2.ebuild create mode 100644 dev-libs/hyperscan/metadata.xml create mode 100644 dev-libs/hyphen/Manifest create mode 100644 dev-libs/hyphen/hyphen-2.8.6.ebuild create mode 100644 dev-libs/hyphen/hyphen-2.8.8.ebuild create mode 100644 dev-libs/hyphen/metadata.xml create mode 100644 dev-libs/icu-layoutex/Manifest create mode 100644 dev-libs/icu-layoutex/files/icu-layoutex-58.1-remove-bashisms.patch create mode 100644 dev-libs/icu-layoutex/icu-layoutex-58.1.ebuild create mode 100644 dev-libs/icu-layoutex/icu-layoutex-58.2.ebuild create mode 100644 dev-libs/icu-layoutex/icu-layoutex-59.1.ebuild create mode 100644 dev-libs/icu-layoutex/metadata.xml create mode 100644 dev-libs/icu-le-hb/Manifest create mode 100644 dev-libs/icu-le-hb/icu-le-hb-1.0.3.ebuild create mode 100644 dev-libs/icu-le-hb/metadata.xml create mode 100644 dev-libs/icu/Manifest create mode 100644 dev-libs/icu/files/icu-58.1-iterator.patch create mode 100644 dev-libs/icu/files/icu-58.1-remove-bashisms.patch create mode 100644 dev-libs/icu/files/icu-58.2-CVE-2017-7867.patch create mode 100644 dev-libs/icu/files/icu-58.2-glibc226.patch create mode 100644 dev-libs/icu/icu-58.1-r1.ebuild create mode 100644 dev-libs/icu/icu-58.2-r1.ebuild create mode 100644 dev-libs/icu/icu-59.1.ebuild create mode 100644 dev-libs/icu/metadata.xml create mode 100644 dev-libs/igraph/Manifest create mode 100644 dev-libs/igraph/files/igraph-0.7.1-unbundle.patch create mode 100644 dev-libs/igraph/igraph-0.7.1-r2.ebuild create mode 100644 dev-libs/igraph/metadata.xml create mode 100644 dev-libs/iksemel/Manifest create mode 100644 dev-libs/iksemel/files/iksemel-1.3-gnutls-2.8.patch create mode 100644 dev-libs/iksemel/files/iksemel-1.4-gnutls-3.4.patch create mode 100644 dev-libs/iksemel/files/iksemel-1.4-ikstack.patch create mode 100644 dev-libs/iksemel/iksemel-1.3.ebuild create mode 100644 dev-libs/iksemel/iksemel-1.4-r1.ebuild create mode 100644 dev-libs/iksemel/iksemel-1.4.ebuild create mode 100644 dev-libs/iksemel/metadata.xml create mode 100644 dev-libs/ilbc-rfc3951/Manifest create mode 100644 dev-libs/ilbc-rfc3951/files/ilbc-rfc3951-asneeded.patch create mode 100644 dev-libs/ilbc-rfc3951/ilbc-rfc3951-0-r1.ebuild create mode 100644 dev-libs/ilbc-rfc3951/metadata.xml create mode 100644 dev-libs/iniparser/Manifest create mode 100644 dev-libs/iniparser/files/iniparser-3.0-autotools.patch create mode 100644 dev-libs/iniparser/files/iniparser-3.0b-cpp.patch create mode 100644 dev-libs/iniparser/files/iniparser-4.0-cflags.patch create mode 100644 dev-libs/iniparser/files/iniparser-4.0-soname.patch create mode 100644 dev-libs/iniparser/iniparser-3.1-r1.ebuild create mode 100644 dev-libs/iniparser/iniparser-3.1.ebuild create mode 100644 dev-libs/iniparser/iniparser-4.0.ebuild create mode 100644 dev-libs/iniparser/metadata.xml create mode 100644 dev-libs/injeqt/Manifest create mode 100644 dev-libs/injeqt/files/injeqt-cmake-preserve-cxxflags.patch create mode 100644 dev-libs/injeqt/injeqt-1.0.1.ebuild create mode 100644 dev-libs/injeqt/injeqt-1.1.0.ebuild create mode 100644 dev-libs/injeqt/injeqt-1.2.0.ebuild create mode 100644 dev-libs/injeqt/metadata.xml create mode 100644 dev-libs/input-pad/Manifest create mode 100644 dev-libs/input-pad/input-pad-1.0.99_pre20140916.ebuild create mode 100644 dev-libs/input-pad/metadata.xml create mode 100644 dev-libs/intel-common/Manifest create mode 100644 dev-libs/intel-common/intel-common-13.1.5.192.ebuild create mode 100644 dev-libs/intel-common/intel-common-14.0.3.174.ebuild create mode 100644 dev-libs/intel-common/intel-common-15.0.6.233.ebuild create mode 100644 dev-libs/intel-common/metadata.xml create mode 100644 dev-libs/isl/Manifest create mode 100644 dev-libs/isl/files/isl-0.07-gdb-autoload-dir.patch create mode 100644 dev-libs/isl/isl-0.12.2.ebuild create mode 100644 dev-libs/isl/isl-0.13.ebuild create mode 100644 dev-libs/isl/isl-0.14.1.ebuild create mode 100644 dev-libs/isl/isl-0.14.ebuild create mode 100644 dev-libs/isl/isl-0.15.ebuild create mode 100644 dev-libs/isl/isl-0.16.1.ebuild create mode 100644 dev-libs/isl/isl-0.17.1.ebuild create mode 100644 dev-libs/isl/isl-0.18.ebuild create mode 100644 dev-libs/isl/metadata.xml create mode 100644 dev-libs/jansson/Manifest create mode 100644 dev-libs/jansson/jansson-2.10.ebuild create mode 100644 dev-libs/jansson/jansson-2.9.ebuild create mode 100644 dev-libs/jansson/metadata.xml create mode 100644 dev-libs/jemalloc/Manifest create mode 100644 dev-libs/jemalloc/files/jemalloc-2.2.1-no-pprof.patch create mode 100644 dev-libs/jemalloc/files/jemalloc-2.2.5_fix_html_install.patch create mode 100644 dev-libs/jemalloc/files/jemalloc-3.0.0-no-pprof.patch create mode 100644 dev-libs/jemalloc/files/jemalloc-3.0.0-strip-optimization.patch create mode 100644 dev-libs/jemalloc/files/jemalloc-3.0.0_fix_html_install.patch create mode 100644 dev-libs/jemalloc/files/jemalloc-3.5.1-no-pprof.patch create mode 100644 dev-libs/jemalloc/files/jemalloc-3.5.1-strip-optimization.patch create mode 100644 dev-libs/jemalloc/files/jemalloc-3.5.1_fix_html_install.patch create mode 100644 dev-libs/jemalloc/files/jemalloc-4.1-fix_stack_corruption.patch create mode 100644 dev-libs/jemalloc/files/jemalloc-4.2-issue_399.patch create mode 100644 dev-libs/jemalloc/files/jemalloc-4.2-issue_443.patch create mode 100644 dev-libs/jemalloc/files/jemalloc-4.5.0-fix_html_install.patch create mode 100644 dev-libs/jemalloc/files/jemalloc-4.5.0-strip-optimization.patch create mode 100644 dev-libs/jemalloc/files/jemalloc-5.0.1-strip-optimization.patch create mode 100644 dev-libs/jemalloc/files/jemalloc-strip-optimization.patch create mode 100644 dev-libs/jemalloc/jemalloc-2.2.5-r1.ebuild create mode 100644 dev-libs/jemalloc/jemalloc-3.3.1.ebuild create mode 100644 dev-libs/jemalloc/jemalloc-3.6.0.ebuild create mode 100644 dev-libs/jemalloc/jemalloc-4.4.0.ebuild create mode 100644 dev-libs/jemalloc/jemalloc-4.5.0.ebuild create mode 100644 dev-libs/jemalloc/jemalloc-5.0.1.ebuild create mode 100644 dev-libs/jemalloc/metadata.xml create mode 100644 dev-libs/jerasure/Manifest create mode 100644 dev-libs/jerasure/jerasure-2.0.0-r1.ebuild create mode 100644 dev-libs/jerasure/metadata.xml create mode 100644 dev-libs/json-c/Manifest create mode 100644 dev-libs/json-c/json-c-0.12.1.ebuild create mode 100644 dev-libs/json-c/json-c-0.12.ebuild create mode 100644 dev-libs/json-c/metadata.xml create mode 100644 dev-libs/json-glib/Manifest create mode 100644 dev-libs/json-glib/json-glib-1.2.8.ebuild create mode 100644 dev-libs/json-glib/metadata.xml create mode 100644 dev-libs/jsoncpp/Manifest create mode 100644 dev-libs/jsoncpp/files/jsoncpp-0.10.2-arm.patch create mode 100644 dev-libs/jsoncpp/files/jsoncpp-1.6.2-fix-pkgconfig.patch create mode 100644 dev-libs/jsoncpp/jsoncpp-0.10.2-r1.ebuild create mode 100644 dev-libs/jsoncpp/jsoncpp-0.10.6.ebuild create mode 100644 dev-libs/jsoncpp/jsoncpp-1.8.1.ebuild create mode 100644 dev-libs/jsoncpp/jsoncpp-1.8.3.ebuild create mode 100644 dev-libs/jsoncpp/metadata.xml create mode 100644 dev-libs/jthread/Manifest create mode 100644 dev-libs/jthread/jthread-1.3.1.ebuild create mode 100644 dev-libs/jthread/jthread-1.3.3.ebuild create mode 100644 dev-libs/jthread/metadata.xml create mode 100644 dev-libs/judy/Manifest create mode 100644 dev-libs/judy/files/judy-1.0.4-parallel-make.patch create mode 100644 dev-libs/judy/files/judy-1.0.5-parallel-make.patch create mode 100644 dev-libs/judy/judy-1.0.4.ebuild create mode 100644 dev-libs/judy/judy-1.0.5-r1.ebuild create mode 100644 dev-libs/judy/judy-1.0.5.ebuild create mode 100644 dev-libs/judy/metadata.xml create mode 100644 dev-libs/kasync/Manifest create mode 100644 dev-libs/kasync/kasync-0.2.0.ebuild create mode 100644 dev-libs/kasync/metadata.xml create mode 100644 dev-libs/kdiagram/Manifest create mode 100644 dev-libs/kdiagram/kdiagram-2.6.0.ebuild create mode 100644 dev-libs/kdiagram/metadata.xml create mode 100644 dev-libs/keybinder/Manifest create mode 100644 dev-libs/keybinder/keybinder-0.3.1-r200.ebuild create mode 100644 dev-libs/keybinder/keybinder-0.3.1-r300.ebuild create mode 100644 dev-libs/keybinder/metadata.xml create mode 100644 dev-libs/klibc/Manifest create mode 100644 dev-libs/klibc/files/klibc-1.4.11-interp-flags.patch create mode 100644 dev-libs/klibc/files/klibc-1.5.7-strip-fix-dash-s.patch create mode 100644 dev-libs/klibc/files/klibc-2.0.2-mkfifo.patch create mode 100644 dev-libs/klibc/files/klibc-2.0.3-kernel-uapi.patch create mode 100644 dev-libs/klibc/files/klibc.m4 create mode 100644 dev-libs/klibc/klibc-2.0.4-r2.ebuild create mode 100644 dev-libs/klibc/metadata.xml create mode 100644 dev-libs/kpathsea/Manifest create mode 100644 dev-libs/kpathsea/files/insecure_tmp_mktexlsr.patch create mode 100644 dev-libs/kpathsea/files/texmf-update-r2 create mode 100644 dev-libs/kpathsea/kpathsea-6.2.2_p20160523.ebuild create mode 100644 dev-libs/kpathsea/kpathsea-6.2.3_p20170524.ebuild create mode 100644 dev-libs/kpathsea/metadata.xml create mode 100644 dev-libs/kproperty/Manifest create mode 100644 dev-libs/kproperty/kproperty-3.0.2.ebuild create mode 100644 dev-libs/kproperty/metadata.xml create mode 100644 dev-libs/kqoauth/Manifest create mode 100644 dev-libs/kqoauth/kqoauth-0.98-r2.ebuild create mode 100644 dev-libs/kqoauth/metadata.xml create mode 100644 dev-libs/kreport/Manifest create mode 100644 dev-libs/kreport/kreport-3.0.2.ebuild create mode 100644 dev-libs/kreport/metadata.xml create mode 100644 dev-libs/leatherman/Manifest create mode 100644 dev-libs/leatherman/files/portage-sandbox-test-fix.patch create mode 100644 dev-libs/leatherman/leatherman-0.10.1.ebuild create mode 100644 dev-libs/leatherman/leatherman-0.12.2.ebuild create mode 100644 dev-libs/leatherman/leatherman-1.2.1.ebuild create mode 100644 dev-libs/leatherman/leatherman-1.3.0.ebuild create mode 100644 dev-libs/leatherman/metadata.xml create mode 100644 dev-libs/legousbtower/Manifest create mode 100644 dev-libs/legousbtower/files/20-lego.rules create mode 100644 dev-libs/legousbtower/legousbtower-0.5.4.ebuild create mode 100644 dev-libs/legousbtower/metadata.xml create mode 100644 dev-libs/leveldb/Manifest create mode 100644 dev-libs/leveldb/files/leveldb-1.18-configure.patch create mode 100644 dev-libs/leveldb/files/leveldb-1.18-mips.patch create mode 100644 dev-libs/leveldb/files/leveldb-1.9.0-configure.patch create mode 100644 dev-libs/leveldb/files/leveldb-1.9.0-forwardcompat.patch create mode 100644 dev-libs/leveldb/files/leveldb-1.9.0-memenv-so.patch create mode 100644 dev-libs/leveldb/leveldb-1.10.0-r1.ebuild create mode 100644 dev-libs/leveldb/leveldb-1.11.0-r1.ebuild create mode 100644 dev-libs/leveldb/leveldb-1.12.0-r1.ebuild create mode 100644 dev-libs/leveldb/leveldb-1.13.0-r1.ebuild create mode 100644 dev-libs/leveldb/leveldb-1.14.0.ebuild create mode 100644 dev-libs/leveldb/leveldb-1.15.0-r1.ebuild create mode 100644 dev-libs/leveldb/leveldb-1.15.0.ebuild create mode 100644 dev-libs/leveldb/leveldb-1.17.ebuild create mode 100644 dev-libs/leveldb/leveldb-1.18-r2.ebuild create mode 100644 dev-libs/leveldb/leveldb-1.18.ebuild create mode 100644 dev-libs/leveldb/leveldb-1.9.0-r5.ebuild create mode 100644 dev-libs/leveldb/leveldb-1.9.0-r6.ebuild create mode 100644 dev-libs/leveldb/metadata.xml create mode 100644 dev-libs/libFuzzer/Manifest create mode 100644 dev-libs/libFuzzer/files/libFuzzer-3.9.1-32-bit.patch create mode 100644 dev-libs/libFuzzer/libFuzzer-3.9.1.ebuild create mode 100644 dev-libs/libFuzzer/metadata.xml create mode 100644 dev-libs/libIDL/Manifest create mode 100644 dev-libs/libIDL/libIDL-0.8.14-r2.ebuild create mode 100644 dev-libs/libIDL/libIDL-0.8.14.ebuild create mode 100644 dev-libs/libIDL/metadata.xml create mode 100644 dev-libs/libaio/Manifest create mode 100644 dev-libs/libaio/files/libaio-0.3.109-install.patch create mode 100644 dev-libs/libaio/files/libaio-0.3.109-testcase-8.patch create mode 100644 dev-libs/libaio/files/libaio-0.3.109-x32.patch create mode 100644 dev-libs/libaio/files/libaio-0.3.110-cppflags.patch create mode 100644 dev-libs/libaio/files/libaio-0.3.110-link-stdlib.patch create mode 100644 dev-libs/libaio/files/libaio-0.3.110-optional-werror.patch create mode 100644 dev-libs/libaio/libaio-0.3.110.ebuild create mode 100644 dev-libs/libaio/metadata.xml create mode 100644 dev-libs/libappindicator/Manifest create mode 100644 dev-libs/libappindicator/files/libappindicator-12.10.0-conditional-py-bindings.patch create mode 100644 dev-libs/libappindicator/files/libappindicator-12.10.0-vala-inherit.patch create mode 100644 dev-libs/libappindicator/libappindicator-12.10.0-r201.ebuild create mode 100644 dev-libs/libappindicator/libappindicator-12.10.0-r301.ebuild create mode 100644 dev-libs/libappindicator/metadata.xml create mode 100644 dev-libs/libarcus/Manifest create mode 100644 dev-libs/libarcus/files/libarcus-1.0.0-fix-install-paths.patch create mode 100644 dev-libs/libarcus/libarcus-1.0.0_pre20160307.ebuild create mode 100644 dev-libs/libarcus/libarcus-2.3.1.ebuild create mode 100644 dev-libs/libarcus/libarcus-2.6.0.ebuild create mode 100644 dev-libs/libarcus/metadata.xml create mode 100644 dev-libs/libassuan/Manifest create mode 100644 dev-libs/libassuan/libassuan-2.4.3-r1.ebuild create mode 100644 dev-libs/libassuan/metadata.xml create mode 100644 dev-libs/libatasmart/Manifest create mode 100644 dev-libs/libatasmart/libatasmart-0.19-r1.ebuild create mode 100644 dev-libs/libatasmart/libatasmart-0.19-r2.ebuild create mode 100644 dev-libs/libatasmart/metadata.xml create mode 100644 dev-libs/libatomic_ops/Manifest create mode 100644 dev-libs/libatomic_ops/files/libatomic_ops-1.2-fix-makefile-am-generic.patch create mode 100644 dev-libs/libatomic_ops/files/libatomic_ops-1.2-ppc-asm.patch create mode 100644 dev-libs/libatomic_ops/files/libatomic_ops-1.2-ppc64-load_acquire.patch create mode 100644 dev-libs/libatomic_ops/files/libatomic_ops-1.2-sh4.patch create mode 100644 dev-libs/libatomic_ops/files/libatomic_ops-1.2-x32.patch create mode 100644 dev-libs/libatomic_ops/files/libatomic_ops-7.2_alpha4-x32.patch create mode 100644 dev-libs/libatomic_ops/files/libatomic_ops-7.2_alpha6-x32.patch create mode 100644 dev-libs/libatomic_ops/files/libatomic_ops-7.4.0-docs.patch create mode 100644 dev-libs/libatomic_ops/libatomic_ops-1.1.ebuild create mode 100644 dev-libs/libatomic_ops/libatomic_ops-1.2-r1.ebuild create mode 100644 dev-libs/libatomic_ops/libatomic_ops-1.2.ebuild create mode 100644 dev-libs/libatomic_ops/libatomic_ops-7.2_alpha4.ebuild create mode 100644 dev-libs/libatomic_ops/libatomic_ops-7.2_alpha6.ebuild create mode 100644 dev-libs/libatomic_ops/libatomic_ops-7.2d.ebuild create mode 100644 dev-libs/libatomic_ops/libatomic_ops-7.4.0.ebuild create mode 100644 dev-libs/libatomic_ops/libatomic_ops-7.4.2.ebuild create mode 100644 dev-libs/libatomic_ops/libatomic_ops-7.4.4.ebuild create mode 100644 dev-libs/libatomic_ops/libatomic_ops-7.4.6.ebuild create mode 100644 dev-libs/libatomic_ops/libatomic_ops-7.6.0.ebuild create mode 100644 dev-libs/libatomic_ops/metadata.xml create mode 100644 dev-libs/libattica/Manifest create mode 100644 dev-libs/libattica/libattica-0.4.2.ebuild create mode 100644 dev-libs/libattica/metadata.xml create mode 100644 dev-libs/libax25/Manifest create mode 100644 dev-libs/libax25/libax25-0.0.12_rc4.ebuild create mode 100644 dev-libs/libax25/metadata.xml create mode 100644 dev-libs/libb64/Manifest create mode 100644 dev-libs/libb64/libb64-1.2.1.ebuild create mode 100644 dev-libs/libb64/libb64-1.2.ebuild create mode 100644 dev-libs/libb64/metadata.xml create mode 100644 dev-libs/libbase58/Manifest create mode 100644 dev-libs/libbase58/libbase58-0.1.0.ebuild create mode 100644 dev-libs/libbase58/libbase58-0.1.1.ebuild create mode 100644 dev-libs/libbase58/libbase58-0.1.4.ebuild create mode 100644 dev-libs/libbase58/metadata.xml create mode 100644 dev-libs/libbegemot/Manifest create mode 100644 dev-libs/libbegemot/libbegemot-1.11.ebuild create mode 100644 dev-libs/libbegemot/metadata.xml create mode 100644 dev-libs/libbrahe/Manifest create mode 100644 dev-libs/libbrahe/files/1.1.0-missing_libs.patch create mode 100644 dev-libs/libbrahe/libbrahe-1.1.0-r1.ebuild create mode 100644 dev-libs/libbrahe/metadata.xml create mode 100644 dev-libs/libbsd/Manifest create mode 100644 dev-libs/libbsd/libbsd-0.8.3.ebuild create mode 100644 dev-libs/libbsd/libbsd-0.8.5.ebuild create mode 100644 dev-libs/libbsd/libbsd-0.8.6.ebuild create mode 100644 dev-libs/libbsd/metadata.xml create mode 100644 dev-libs/libbson/Manifest create mode 100644 dev-libs/libbson/libbson-0.98.0.ebuild create mode 100644 dev-libs/libbson/libbson-1.1.10.ebuild create mode 100644 dev-libs/libbson/libbson-1.1.2.ebuild create mode 100644 dev-libs/libbson/libbson-1.3.5.ebuild create mode 100644 dev-libs/libbson/libbson-1.3.6.ebuild create mode 100644 dev-libs/libbson/libbson-1.6.2.ebuild create mode 100644 dev-libs/libbson/metadata.xml create mode 100644 dev-libs/libbulletml/Manifest create mode 100644 dev-libs/libbulletml/files/libbulletml-0.0.6-gcc43.patch create mode 100644 dev-libs/libbulletml/files/libbulletml-0.0.6-gcc46.patch create mode 100644 dev-libs/libbulletml/libbulletml-0.0.6.ebuild create mode 100644 dev-libs/libbulletml/metadata.xml create mode 100644 dev-libs/libburn/Manifest create mode 100644 dev-libs/libburn/libburn-1.4.6.ebuild create mode 100644 dev-libs/libburn/libburn-1.4.8.ebuild create mode 100644 dev-libs/libburn/metadata.xml create mode 100644 dev-libs/libbytesize/Manifest create mode 100644 dev-libs/libbytesize/libbytesize-0.11.ebuild create mode 100644 dev-libs/libbytesize/libbytesize-1.1.ebuild create mode 100644 dev-libs/libbytesize/libbytesize-1.2.ebuild create mode 100644 dev-libs/libbytesize/metadata.xml create mode 100644 dev-libs/libcaldav/Manifest create mode 100644 dev-libs/libcaldav/libcaldav-0.6.2.ebuild create mode 100644 dev-libs/libcaldav/metadata.xml create mode 100644 dev-libs/libcdio-paranoia/Manifest create mode 100644 dev-libs/libcdio-paranoia/files/libcdio-paranoia-0.90-mkdir_p.patch create mode 100644 dev-libs/libcdio-paranoia/files/libcdio-paranoia-0.90-oos-tests.patch create mode 100644 dev-libs/libcdio-paranoia/libcdio-paranoia-0.90_p1-r1.ebuild create mode 100644 dev-libs/libcdio-paranoia/libcdio-paranoia-0.93_p1-r1.ebuild create mode 100644 dev-libs/libcdio-paranoia/libcdio-paranoia-0.93_p1.ebuild create mode 100644 dev-libs/libcdio-paranoia/libcdio-paranoia-0.94_p1-r1.ebuild create mode 100644 dev-libs/libcdio-paranoia/metadata.xml create mode 100644 dev-libs/libcdio/Manifest create mode 100644 dev-libs/libcdio/libcdio-0.92.ebuild create mode 100644 dev-libs/libcdio/libcdio-0.93.ebuild create mode 100644 dev-libs/libcdio/libcdio-0.94-r1.ebuild create mode 100644 dev-libs/libcdio/metadata.xml create mode 100644 dev-libs/libcec/Manifest create mode 100644 dev-libs/libcec/libcec-3.1.0-r1.ebuild create mode 100644 dev-libs/libcec/libcec-4.0.2.ebuild create mode 100644 dev-libs/libcec/metadata.xml create mode 100644 dev-libs/libcgroup/Manifest create mode 100644 dev-libs/libcgroup/files/cgconfig.confd create mode 100644 dev-libs/libcgroup/files/cgconfig.confd-r1 create mode 100644 dev-libs/libcgroup/files/cgconfig.initd create mode 100644 dev-libs/libcgroup/files/cgconfig.initd-r1 create mode 100644 dev-libs/libcgroup/files/cgred.confd create mode 100644 dev-libs/libcgroup/files/cgred.confd-r2 create mode 100644 dev-libs/libcgroup/files/cgred.initd create mode 100644 dev-libs/libcgroup/files/cgred.initd-r1 create mode 100644 dev-libs/libcgroup/files/libcgroup-0.41-reorder-headers.patch create mode 100644 dev-libs/libcgroup/files/libcgroup-0.41-replace_DECLS.patch create mode 100644 dev-libs/libcgroup/files/libcgroup-0.41-replace_INLCUDES.patch create mode 100644 dev-libs/libcgroup/libcgroup-0.41-r4.ebuild create mode 100644 dev-libs/libcgroup/libcgroup-0.41.ebuild create mode 100644 dev-libs/libcgroup/metadata.xml create mode 100644 dev-libs/libclc/Manifest create mode 100644 dev-libs/libclc/libclc-0.2.0_pre20160209.ebuild create mode 100644 dev-libs/libclc/libclc-0.2.0_pre20160921.ebuild create mode 100644 dev-libs/libclc/libclc-0.2.0_pre20170118.ebuild create mode 100644 dev-libs/libclc/libclc-0.2.0_pre20170929.ebuild create mode 100644 dev-libs/libclc/metadata.xml create mode 100644 dev-libs/libcli/Manifest create mode 100644 dev-libs/libcli/files/libcli-1.9.4-ldflags.patch create mode 100644 dev-libs/libcli/files/libcli-1.9.7-libdir.patch create mode 100644 dev-libs/libcli/libcli-1.9.4-r1.ebuild create mode 100644 dev-libs/libcli/libcli-1.9.7.ebuild create mode 100644 dev-libs/libcli/metadata.xml create mode 100644 dev-libs/libclsync/Manifest create mode 100644 dev-libs/libclsync/libclsync-0.4.1.ebuild create mode 100644 dev-libs/libclsync/libclsync-0.4.2.ebuild create mode 100644 dev-libs/libclsync/metadata.xml create mode 100644 dev-libs/libconfig/Manifest create mode 100644 dev-libs/libconfig/files/libconfig-1.5-out-of-source-build.patch create mode 100644 dev-libs/libconfig/libconfig-1.5.ebuild create mode 100644 dev-libs/libconfig/metadata.xml create mode 100644 dev-libs/libcoyotl/Manifest create mode 100644 dev-libs/libcoyotl/files/3.1.0-gcc-4.3.patch create mode 100644 dev-libs/libcoyotl/files/3.1.0-gcc-4.7.patch create mode 100644 dev-libs/libcoyotl/libcoyotl-3.1.0-r2.ebuild create mode 100644 dev-libs/libcoyotl/metadata.xml create mode 100644 dev-libs/libcroco/Manifest create mode 100644 dev-libs/libcroco/files/0.6.12-CVE-2017-7960.patch create mode 100644 dev-libs/libcroco/files/0.6.12-CVE-2017-7961.patch create mode 100644 dev-libs/libcroco/libcroco-0.6.12-r1.ebuild create mode 100644 dev-libs/libcroco/metadata.xml create mode 100644 dev-libs/libcss/Manifest create mode 100644 dev-libs/libcss/libcss-0.6.1.ebuild create mode 100644 dev-libs/libcss/metadata.xml create mode 100644 dev-libs/libcxml/Manifest create mode 100644 dev-libs/libcxml/files/libcxml-0.15.1-respect-cxxflags.patch create mode 100644 dev-libs/libcxml/libcxml-0.15.1.ebuild create mode 100644 dev-libs/libcxml/libcxml-0.15.4.ebuild create mode 100644 dev-libs/libcxml/libcxml-9999.ebuild create mode 100644 dev-libs/libcxml/metadata.xml create mode 100644 dev-libs/libdaemon/Manifest create mode 100644 dev-libs/libdaemon/libdaemon-0.14-r1.ebuild create mode 100644 dev-libs/libdaemon/libdaemon-0.14-r2.ebuild create mode 100644 dev-libs/libdaemon/metadata.xml create mode 100644 dev-libs/libdbh/Manifest create mode 100644 dev-libs/libdbh/libdbh-5.0.19.ebuild create mode 100644 dev-libs/libdbh/metadata.xml create mode 100644 dev-libs/libdbusmenu-qt/Manifest create mode 100644 dev-libs/libdbusmenu-qt/files/libdbusmenu-qt-0.9.3_pre20140619-optionaltests.patch create mode 100644 dev-libs/libdbusmenu-qt/libdbusmenu-qt-0.9.3_pre20160218-r1.ebuild create mode 100644 dev-libs/libdbusmenu-qt/libdbusmenu-qt-0.9.3_pre20160218.ebuild create mode 100644 dev-libs/libdbusmenu-qt/metadata.xml create mode 100644 dev-libs/libdbusmenu/Manifest create mode 100644 dev-libs/libdbusmenu/files/libdbusmenu-12.10.2-gtk2-signal-fix.patch create mode 100644 dev-libs/libdbusmenu/files/libdbusmenu-16.04.0-configure-fix.patch create mode 100644 dev-libs/libdbusmenu/libdbusmenu-12.10.2-r2.ebuild create mode 100644 dev-libs/libdbusmenu/libdbusmenu-16.04.0.ebuild create mode 100644 dev-libs/libdbusmenu/metadata.xml create mode 100644 dev-libs/libdivecomputer/Manifest create mode 100644 dev-libs/libdivecomputer/libdivecomputer-0.4.1.ebuild create mode 100644 dev-libs/libdivecomputer/libdivecomputer-0.4.2.ebuild create mode 100644 dev-libs/libdivecomputer/libdivecomputer-9999.ebuild create mode 100644 dev-libs/libdivecomputer/metadata.xml create mode 100644 dev-libs/libdivsufsort/Manifest create mode 100644 dev-libs/libdivsufsort/libdivsufsort-2.0.1.ebuild create mode 100644 dev-libs/libdivsufsort/libdivsufsort-9999.ebuild create mode 100644 dev-libs/libdivsufsort/metadata.xml create mode 100644 dev-libs/libdnet/Manifest create mode 100644 dev-libs/libdnet/libdnet-1.12.ebuild create mode 100644 dev-libs/libdnet/metadata.xml create mode 100644 dev-libs/libdnsres/Manifest create mode 100644 dev-libs/libdnsres/files/libdnsres-0.1a-autotools.patch create mode 100644 dev-libs/libdnsres/libdnsres-0.1a-r2.ebuild create mode 100644 dev-libs/libdnsres/metadata.xml create mode 100644 dev-libs/libdshconfig/Manifest create mode 100644 dev-libs/libdshconfig/libdshconfig-0.20.12.ebuild create mode 100644 dev-libs/libdshconfig/libdshconfig-0.20.13.ebuild create mode 100644 dev-libs/libdshconfig/metadata.xml create mode 100644 dev-libs/libdynd/Manifest create mode 100644 dev-libs/libdynd/files/libdynd-0.6.0-dont-install-test.patch create mode 100644 dev-libs/libdynd/libdynd-0.6.5.ebuild create mode 100644 dev-libs/libdynd/libdynd-0.6.6.ebuild create mode 100644 dev-libs/libdynd/libdynd-0.7.2.ebuild create mode 100644 dev-libs/libdynd/metadata.xml create mode 100644 dev-libs/libe/Manifest create mode 100644 dev-libs/libe/libe-0.10.1.ebuild create mode 100644 dev-libs/libe/libe-0.11.0.ebuild create mode 100644 dev-libs/libe/libe-0.9.0.ebuild create mode 100644 dev-libs/libe/metadata.xml create mode 100644 dev-libs/libebml/Manifest create mode 100644 dev-libs/libebml/libebml-1.3.4.ebuild create mode 100644 dev-libs/libebml/libebml-1.3.5.ebuild create mode 100644 dev-libs/libebml/metadata.xml create mode 100644 dev-libs/libedit/Manifest create mode 100644 dev-libs/libedit/files/libedit-20100424.3.0-bsd.patch create mode 100644 dev-libs/libedit/files/libedit-20110709.3.0-weak-reference.patch create mode 100644 dev-libs/libedit/files/libedit-20120311-3.0-el_fn_sh_complete.patch create mode 100644 dev-libs/libedit/files/libedit-20170329.3.1-el_fn_sh_complete.patch create mode 100644 dev-libs/libedit/files/libedit-20170329.3.1-ncursesprivate.patch create mode 100644 dev-libs/libedit/files/libedit-20170329.3.1-tinfo.patch create mode 100644 dev-libs/libedit/files/libedit-ncursesprivate.patch create mode 100644 dev-libs/libedit/libedit-20130712.3.1.ebuild create mode 100644 dev-libs/libedit/libedit-20170329.3.1.ebuild create mode 100644 dev-libs/libedit/metadata.xml create mode 100644 dev-libs/libee/Manifest create mode 100644 dev-libs/libee/libee-0.4.1.ebuild create mode 100644 dev-libs/libee/metadata.xml create mode 100644 dev-libs/libelf/Manifest create mode 100644 dev-libs/libelf/files/libelf-0.8.13-build.patch create mode 100644 dev-libs/libelf/libelf-0.8.13-r2.ebuild create mode 100644 dev-libs/libelf/metadata.xml create mode 100644 dev-libs/liberasurecode/Manifest create mode 100644 dev-libs/liberasurecode/liberasurecode-1.0.8-r1.ebuild create mode 100644 dev-libs/liberasurecode/liberasurecode-1.1.1.ebuild create mode 100644 dev-libs/liberasurecode/metadata.xml create mode 100644 dev-libs/libestr/Manifest create mode 100644 dev-libs/libestr/libestr-0.1.10.ebuild create mode 100644 dev-libs/libestr/metadata.xml create mode 100644 dev-libs/libev/Manifest create mode 100644 dev-libs/libev/files/libev-pc.patch create mode 100644 dev-libs/libev/libev-4.23.ebuild create mode 100644 dev-libs/libev/libev-4.24.ebuild create mode 100644 dev-libs/libev/metadata.xml create mode 100644 dev-libs/libevdev/Manifest create mode 100644 dev-libs/libevdev/libevdev-1.5.6.ebuild create mode 100644 dev-libs/libevdev/libevdev-1.5.7.ebuild create mode 100644 dev-libs/libevdev/metadata.xml create mode 100644 dev-libs/libevent/Manifest create mode 100644 dev-libs/libevent/libevent-2.1.8.ebuild create mode 100644 dev-libs/libevent/libevent-9999.ebuild create mode 100644 dev-libs/libevent/metadata.xml create mode 100644 dev-libs/libevocosm/Manifest create mode 100644 dev-libs/libevocosm/files/libevocosm-3.3.1-gcc47.patch create mode 100644 dev-libs/libevocosm/libevocosm-3.3.1-r1.ebuild create mode 100644 dev-libs/libevocosm/metadata.xml create mode 100644 dev-libs/libexecinfo/Manifest create mode 100644 dev-libs/libexecinfo/files/libexecinfo-1.1-build.patch create mode 100644 dev-libs/libexecinfo/libexecinfo-1.1.ebuild create mode 100644 dev-libs/libexecinfo/metadata.xml create mode 100644 dev-libs/libexplain/Manifest create mode 100644 dev-libs/libexplain/files/libexplain-0.45-configure.patch create mode 100644 dev-libs/libexplain/libexplain-1.4-r1.ebuild create mode 100644 dev-libs/libexplain/libexplain-1.4.ebuild create mode 100644 dev-libs/libexplain/metadata.xml create mode 100644 dev-libs/libezV24/Manifest create mode 100644 dev-libs/libezV24/files/libezV24-0.1.1-build.patch create mode 100644 dev-libs/libezV24/files/libezV24-0.1.1-test.patch create mode 100644 dev-libs/libezV24/libezV24-0.1.1.ebuild create mode 100644 dev-libs/libezV24/metadata.xml create mode 100644 dev-libs/libf2c/Manifest create mode 100644 dev-libs/libf2c/files/20051004-add-ofiles-dep.patch create mode 100644 dev-libs/libf2c/files/20090407-link-shared-libf2c-correctly.patch create mode 100644 dev-libs/libf2c/files/libf2c-20110801-64bit-long.patch create mode 100644 dev-libs/libf2c/files/libf2c-20110801-format-security.patch create mode 100644 dev-libs/libf2c/files/libf2c-20110801-main.patch create mode 100644 dev-libs/libf2c/libf2c-20110801-r4.ebuild create mode 100644 dev-libs/libf2c/libf2c-20130927.ebuild create mode 100644 dev-libs/libf2c/metadata.xml create mode 100644 dev-libs/libfastjson/Manifest create mode 100644 dev-libs/libfastjson/files/libfastjson-0.99.2-fix-for-implicit-declaration-of-vasprintf.patch create mode 100644 dev-libs/libfastjson/libfastjson-0.99.2.ebuild create mode 100644 dev-libs/libfastjson/libfastjson-0.99.4.ebuild create mode 100644 dev-libs/libfastjson/libfastjson-0.99.6.ebuild create mode 100644 dev-libs/libfastjson/metadata.xml create mode 100644 dev-libs/libffi/Manifest create mode 100644 dev-libs/libffi/files/libffi-3.1-darwin-x32.patch create mode 100644 dev-libs/libffi/files/libffi-3.2.1-complex_alpha.patch create mode 100644 dev-libs/libffi/files/libffi-3.2.1-o-tmpfile-eacces.patch create mode 100644 dev-libs/libffi/libffi-3.2.1.ebuild create mode 100644 dev-libs/libffi/metadata.xml create mode 100644 dev-libs/libfilezilla/Manifest create mode 100644 dev-libs/libfilezilla/files/libfilezilla-0.9.2-cppunit-pkgconfig.patch create mode 100644 dev-libs/libfilezilla/libfilezilla-0.10.0.ebuild create mode 100644 dev-libs/libfilezilla/libfilezilla-0.9.1.ebuild create mode 100644 dev-libs/libfilezilla/libfilezilla-0.9.2.ebuild create mode 100644 dev-libs/libfilezilla/metadata.xml create mode 100644 dev-libs/libflatarray/Manifest create mode 100644 dev-libs/libflatarray/libflatarray-0.1.1.ebuild create mode 100644 dev-libs/libflatarray/libflatarray-0.3.0.ebuild create mode 100644 dev-libs/libflatarray/metadata.xml create mode 100644 dev-libs/libfmt/Manifest create mode 100644 dev-libs/libfmt/libfmt-3.0.1.ebuild create mode 100644 dev-libs/libfmt/libfmt-3.0.2.ebuild create mode 100644 dev-libs/libfmt/libfmt-4.0.0.ebuild create mode 100644 dev-libs/libfmt/libfmt-9999.ebuild create mode 100644 dev-libs/libfmt/metadata.xml create mode 100644 dev-libs/libg15/Manifest create mode 100644 dev-libs/libg15/files/g15tools.patch create mode 100644 dev-libs/libg15/libg15-1.2.7-r1.ebuild create mode 100644 dev-libs/libg15/libg15-9999.ebuild create mode 100644 dev-libs/libg15/metadata.xml create mode 100644 dev-libs/libg15render/Manifest create mode 100644 dev-libs/libg15render/files/libg15render-1.2-pixel-c.patch create mode 100644 dev-libs/libg15render/libg15render-1.2-r2.ebuild create mode 100644 dev-libs/libg15render/libg15render-9999.ebuild create mode 100644 dev-libs/libg15render/metadata.xml create mode 100644 dev-libs/libgames-support/Manifest create mode 100644 dev-libs/libgames-support/libgames-support-1.0.2.ebuild create mode 100644 dev-libs/libgames-support/metadata.xml create mode 100644 dev-libs/libgamin/Manifest create mode 100644 dev-libs/libgamin/files/libgamin-0.1.10-G_CONST_RETURN-removal.patch create mode 100644 dev-libs/libgamin/files/libgamin-0.1.10-armel-features.patch create mode 100644 dev-libs/libgamin/files/libgamin-0.1.10-compilewarnings.patch create mode 100644 dev-libs/libgamin/files/libgamin-0.1.10-crosscompile-fix.patch create mode 100644 dev-libs/libgamin/files/libgamin-0.1.10-deadlock.patch create mode 100644 dev-libs/libgamin/files/libgamin-0.1.10-disable_python_static_library.patch create mode 100644 dev-libs/libgamin/files/libgamin-0.1.10-noinst-lib.patch create mode 100644 dev-libs/libgamin/libgamin-0.1.10-r5.ebuild create mode 100644 dev-libs/libgamin/metadata.xml create mode 100644 dev-libs/libgaminggear/Manifest create mode 100644 dev-libs/libgaminggear/files/libgaminggear-0.10.0-doc.patch create mode 100644 dev-libs/libgaminggear/libgaminggear-0.13.0.ebuild create mode 100644 dev-libs/libgaminggear/libgaminggear-0.15.1.ebuild create mode 100644 dev-libs/libgaminggear/metadata.xml create mode 100644 dev-libs/libgcrypt/Manifest create mode 100644 dev-libs/libgcrypt/files/libgcrypt-1.5.0-uscore.patch create mode 100644 dev-libs/libgcrypt/files/libgcrypt-1.5.4-clang-arm.patch create mode 100644 dev-libs/libgcrypt/files/libgcrypt-1.6.1-uscore.patch create mode 100644 dev-libs/libgcrypt/files/libgcrypt-multilib-syspath.patch create mode 100644 dev-libs/libgcrypt/libgcrypt-1.5.6-r101.ebuild create mode 100644 dev-libs/libgcrypt/libgcrypt-1.8.1.ebuild create mode 100644 dev-libs/libgcrypt/metadata.xml create mode 100644 dev-libs/libgdata/Manifest create mode 100644 dev-libs/libgdata/files/libgdata-0.17.8-disable-demos.patch create mode 100644 dev-libs/libgdata/libgdata-0.17.8.ebuild create mode 100644 dev-libs/libgdata/libgdata-0.17.9-r1.ebuild create mode 100644 dev-libs/libgdata/metadata.xml create mode 100644 dev-libs/libgee/Manifest create mode 100644 dev-libs/libgee/libgee-0.18.1.ebuild create mode 100644 dev-libs/libgee/libgee-0.20.0.ebuild create mode 100644 dev-libs/libgee/libgee-0.6.8.ebuild create mode 100644 dev-libs/libgee/metadata.xml create mode 100644 dev-libs/libgit2-glib/Manifest create mode 100644 dev-libs/libgit2-glib/libgit2-glib-0.24.4.ebuild create mode 100644 dev-libs/libgit2-glib/libgit2-glib-0.25.0.ebuild create mode 100644 dev-libs/libgit2-glib/libgit2-glib-0.26.0-r1.ebuild create mode 100644 dev-libs/libgit2-glib/metadata.xml create mode 100644 dev-libs/libgit2/Manifest create mode 100644 dev-libs/libgit2/libgit2-0.24.6.ebuild create mode 100644 dev-libs/libgit2/libgit2-0.25.1.ebuild create mode 100644 dev-libs/libgit2/libgit2-0.26.0.ebuild create mode 100644 dev-libs/libgit2/libgit2-9999.ebuild create mode 100644 dev-libs/libgit2/metadata.xml create mode 100644 dev-libs/libgnome-games-support/Manifest create mode 100644 dev-libs/libgnome-games-support/libgnome-games-support-1.2.1.ebuild create mode 100644 dev-libs/libgnome-games-support/libgnome-games-support-1.2.2.ebuild create mode 100644 dev-libs/libgnome-games-support/libgnome-games-support-1.2.3.ebuild create mode 100644 dev-libs/libgnome-games-support/metadata.xml create mode 100644 dev-libs/libgpg-error/Manifest create mode 100644 dev-libs/libgpg-error/libgpg-error-1.27-r1.ebuild create mode 100644 dev-libs/libgpg-error/metadata.xml create mode 100644 dev-libs/libgpuarray/Manifest create mode 100644 dev-libs/libgpuarray/libgpuarray-0.6.0.ebuild create mode 100644 dev-libs/libgpuarray/libgpuarray-0.6.7.ebuild create mode 100644 dev-libs/libgpuarray/metadata.xml create mode 100644 dev-libs/libgudev/Manifest create mode 100644 dev-libs/libgudev/libgudev-230-r1.ebuild create mode 100644 dev-libs/libgudev/libgudev-231.ebuild create mode 100644 dev-libs/libgudev/libgudev-232.ebuild create mode 100644 dev-libs/libgudev/metadata.xml create mode 100644 dev-libs/libgusb/Manifest create mode 100644 dev-libs/libgusb/libgusb-0.2.11.ebuild create mode 100644 dev-libs/libgusb/libgusb-0.2.7.ebuild create mode 100644 dev-libs/libgusb/libgusb-0.2.8.ebuild create mode 100644 dev-libs/libgusb/libgusb-0.2.9.ebuild create mode 100644 dev-libs/libgusb/metadata.xml create mode 100644 dev-libs/libgweather/Manifest create mode 100644 dev-libs/libgweather/libgweather-3.20.4.ebuild create mode 100644 dev-libs/libgweather/libgweather-3.24.1.ebuild create mode 100644 dev-libs/libgweather/metadata.xml create mode 100644 dev-libs/libhid/Manifest create mode 100644 dev-libs/libhid/files/libhid-0.2.16-gentoo.patch create mode 100644 dev-libs/libhid/files/libhid-0.2.16-libusb.patch create mode 100644 dev-libs/libhid/files/libhid-0.2.16-swig.patch create mode 100644 dev-libs/libhid/libhid-0.2.16-r4.ebuild create mode 100644 dev-libs/libhid/metadata.xml create mode 100644 dev-libs/libhome/Manifest create mode 100644 dev-libs/libhome/files/libhome-0.10.2-Makefile.patch create mode 100644 dev-libs/libhome/files/libhome-0.10.2-ldap_deprecated.patch create mode 100644 dev-libs/libhome/libhome-0.10.2-r1.ebuild create mode 100644 dev-libs/libhome/metadata.xml create mode 100644 dev-libs/libhtmlparse/Manifest create mode 100644 dev-libs/libhtmlparse/libhtmlparse-0.1.13-r1.ebuild create mode 100644 dev-libs/libhtmlparse/metadata.xml create mode 100644 dev-libs/libical/Manifest create mode 100644 dev-libs/libical/files/fix-libdir-location.patch create mode 100644 dev-libs/libical/libical-1.0.1.ebuild create mode 100644 dev-libs/libical/libical-2.0.0-r2.ebuild create mode 100644 dev-libs/libical/metadata.xml create mode 100644 dev-libs/libiconv/Manifest create mode 100644 dev-libs/libiconv/files/libiconv-1.10-link.patch create mode 100644 dev-libs/libiconv/files/libiconv-1.14-no-gets.patch create mode 100644 dev-libs/libiconv/libiconv-1.14-r1.ebuild create mode 100644 dev-libs/libiconv/libiconv-1.14-r2.ebuild create mode 100644 dev-libs/libiconv/libiconv-1.14.ebuild create mode 100644 dev-libs/libiconv/metadata.xml create mode 100644 dev-libs/libidmef/Manifest create mode 100644 dev-libs/libidmef/libidmef-1.0.3.ebuild create mode 100644 dev-libs/libidmef/metadata.xml create mode 100644 dev-libs/libindicate-qt/Manifest create mode 100644 dev-libs/libindicate-qt/files/libindicate-qt-0.2.5.91-optionaltests.patch create mode 100644 dev-libs/libindicate-qt/libindicate-qt-0.2.5.91.ebuild create mode 100644 dev-libs/libindicate-qt/metadata.xml create mode 100644 dev-libs/libindicate/Manifest create mode 100644 dev-libs/libindicate/files/libindicate-0.6.1-no-mono.patch create mode 100644 dev-libs/libindicate/libindicate-12.10.1-r2.ebuild create mode 100644 dev-libs/libindicate/metadata.xml create mode 100644 dev-libs/libindicator/Manifest create mode 100644 dev-libs/libindicator/files/libindicator-ldflags-spacing.patch create mode 100644 dev-libs/libindicator/libindicator-12.10.1-r201.ebuild create mode 100644 dev-libs/libindicator/libindicator-12.10.1-r301.ebuild create mode 100644 dev-libs/libindicator/metadata.xml create mode 100644 dev-libs/libinput/Manifest create mode 100644 dev-libs/libinput/libinput-1.6.2.ebuild create mode 100644 dev-libs/libinput/libinput-1.7.2.ebuild create mode 100644 dev-libs/libinput/libinput-1.7.3.ebuild create mode 100644 dev-libs/libinput/libinput-1.8.2.ebuild create mode 100644 dev-libs/libinput/metadata.xml create mode 100644 dev-libs/libintl/Manifest create mode 100644 dev-libs/libintl/files/libintl-0.19.5-langinfo.patch create mode 100644 dev-libs/libintl/libintl-0.19.6.ebuild create mode 100644 dev-libs/libintl/libintl-0.19.7.ebuild create mode 100644 dev-libs/libintl/libintl-0.19.8.1.ebuild create mode 100644 dev-libs/libintl/metadata.xml create mode 100644 dev-libs/libisoburn/Manifest create mode 100644 dev-libs/libisoburn/libisoburn-1.4.6.ebuild create mode 100644 dev-libs/libisoburn/libisoburn-1.4.8.ebuild create mode 100644 dev-libs/libisoburn/metadata.xml create mode 100644 dev-libs/libisofs/Manifest create mode 100644 dev-libs/libisofs/libisofs-1.4.6.ebuild create mode 100644 dev-libs/libisofs/libisofs-1.4.8.ebuild create mode 100644 dev-libs/libisofs/metadata.xml create mode 100644 dev-libs/libixion/Manifest create mode 100644 dev-libs/libixion/libixion-0.11.1.ebuild create mode 100644 dev-libs/libixion/libixion-0.12.2.ebuild create mode 100644 dev-libs/libixion/libixion-9999.ebuild create mode 100644 dev-libs/libixion/metadata.xml create mode 100644 dev-libs/libkpass/Manifest create mode 100644 dev-libs/libkpass/libkpass-6-r1.ebuild create mode 100644 dev-libs/libkpass/libkpass-6.ebuild create mode 100644 dev-libs/libkpass/metadata.xml create mode 100644 dev-libs/libksba/Manifest create mode 100644 dev-libs/libksba/libksba-1.3.5-r1.ebuild create mode 100644 dev-libs/libksba/metadata.xml create mode 100644 dev-libs/liblazy/Manifest create mode 100644 dev-libs/liblazy/liblazy-0.2-r1.ebuild create mode 100644 dev-libs/liblazy/metadata.xml create mode 100644 dev-libs/liblinear/Manifest create mode 100644 dev-libs/liblinear/liblinear-210-r1.ebuild create mode 100644 dev-libs/liblinear/liblinear-211.ebuild create mode 100644 dev-libs/liblinear/metadata.xml create mode 100644 dev-libs/liblinebreak/Manifest create mode 100644 dev-libs/liblinebreak/liblinebreak-2.1.ebuild create mode 100644 dev-libs/liblinebreak/metadata.xml create mode 100644 dev-libs/liblist/Manifest create mode 100644 dev-libs/liblist/liblist-2.3.1-r1.ebuild create mode 100644 dev-libs/liblist/liblist-2.4.ebuild create mode 100644 dev-libs/liblist/metadata.xml create mode 100644 dev-libs/liblogging/Manifest create mode 100644 dev-libs/liblogging/liblogging-1.0.5.ebuild create mode 100644 dev-libs/liblogging/liblogging-1.0.6.ebuild create mode 100644 dev-libs/liblogging/metadata.xml create mode 100644 dev-libs/liblognorm/Manifest create mode 100644 dev-libs/liblognorm/files/liblognorm-1.1.0-fix-enable-docs.patch create mode 100644 dev-libs/liblognorm/files/liblognorm-1.1.2-issue_135.patch create mode 100644 dev-libs/liblognorm/files/respect_CFLAGS.patch create mode 100644 dev-libs/liblognorm/liblognorm-1.1.0.ebuild create mode 100644 dev-libs/liblognorm/liblognorm-1.1.2-r1.ebuild create mode 100644 dev-libs/liblognorm/liblognorm-2.0.1.ebuild create mode 100644 dev-libs/liblognorm/liblognorm-2.0.2.ebuild create mode 100644 dev-libs/liblognorm/liblognorm-2.0.3.ebuild create mode 100644 dev-libs/liblognorm/liblognorm-2.0.4.ebuild create mode 100644 dev-libs/liblognorm/metadata.xml create mode 100644 dev-libs/liblouis/Manifest create mode 100644 dev-libs/liblouis/liblouis-2.5.3.ebuild create mode 100644 dev-libs/liblouis/metadata.xml create mode 100644 dev-libs/libltdl/Manifest create mode 100644 dev-libs/libltdl/libltdl-1.3.5.ebuild create mode 100644 dev-libs/libltdl/libltdl-1.5.26.ebuild create mode 100644 dev-libs/libltdl/libltdl-2.4.6.ebuild create mode 100644 dev-libs/libltdl/metadata.xml create mode 100644 dev-libs/liblzw/Manifest create mode 100644 dev-libs/liblzw/liblzw-0.1.2.ebuild create mode 100644 dev-libs/liblzw/liblzw-0.2.ebuild create mode 100644 dev-libs/liblzw/metadata.xml create mode 100644 dev-libs/libmaa/Manifest create mode 100644 dev-libs/libmaa/libmaa-1.3.2.ebuild create mode 100644 dev-libs/libmaa/metadata.xml create mode 100644 dev-libs/libmacaroons/Manifest create mode 100644 dev-libs/libmacaroons/libmacaroons-0.2.0-r1.ebuild create mode 100644 dev-libs/libmacaroons/libmacaroons-0.3.0.ebuild create mode 100644 dev-libs/libmacaroons/metadata.xml create mode 100644 dev-libs/libmail/Manifest create mode 100644 dev-libs/libmail/files/libmail-0.3-respect-cflags.patch create mode 100644 dev-libs/libmail/libmail-0.3-r3.ebuild create mode 100644 dev-libs/libmail/metadata.xml create mode 100644 dev-libs/libmateweather/Manifest create mode 100644 dev-libs/libmateweather/libmateweather-1.12.2.ebuild create mode 100644 dev-libs/libmateweather/libmateweather-1.14.3.ebuild create mode 100644 dev-libs/libmateweather/libmateweather-1.16.1.ebuild create mode 100644 dev-libs/libmateweather/libmateweather-1.18.0.ebuild create mode 100644 dev-libs/libmateweather/metadata.xml create mode 100644 dev-libs/libmaxminddb/Manifest create mode 100644 dev-libs/libmaxminddb/libmaxminddb-1.2.1.ebuild create mode 100644 dev-libs/libmaxminddb/metadata.xml create mode 100644 dev-libs/libmba/Manifest create mode 100644 dev-libs/libmba/files/libmba-0.9.1-glibc-2.20.patch create mode 100644 dev-libs/libmba/files/libmba-0.9.1-qa.patch create mode 100644 dev-libs/libmba/libmba-0.9.1-r3.ebuild create mode 100644 dev-libs/libmba/metadata.xml create mode 100644 dev-libs/libmcal/Manifest create mode 100644 dev-libs/libmcal/files/libmcal-0.7-flex-2.5.37.patch create mode 100644 dev-libs/libmcal/files/libmcal-0.7-flexfix.patch create mode 100644 dev-libs/libmcal/files/libmcal-0.7-fpic.patch create mode 100644 dev-libs/libmcal/files/libmcal-0.7-gcc4.patch create mode 100644 dev-libs/libmcal/files/libmcal-0.7-libdir.patch create mode 100644 dev-libs/libmcal/files/libmcal-0.7-r6-fpic.patch create mode 100644 dev-libs/libmcal/files/libmcal-0.7-r6-gcc4.patch create mode 100644 dev-libs/libmcal/libmcal-0.7-r5.ebuild create mode 100644 dev-libs/libmcal/libmcal-0.7-r6.ebuild create mode 100644 dev-libs/libmcal/metadata.xml create mode 100644 dev-libs/libmcrypt/Manifest create mode 100644 dev-libs/libmcrypt/files/libmcrypt-2.5.8-rotate-mask.patch create mode 100644 dev-libs/libmcrypt/libmcrypt-2.5.8-r4.ebuild create mode 100644 dev-libs/libmcrypt/metadata.xml create mode 100644 dev-libs/libmcs/Manifest create mode 100644 dev-libs/libmcs/libmcs-0.7.2.ebuild create mode 100644 dev-libs/libmcs/metadata.xml create mode 100644 dev-libs/libmelf/Manifest create mode 100644 dev-libs/libmelf/files/libmelf-0.4.0-gcc-makefile-cleanup.patch create mode 100644 dev-libs/libmelf/files/libmelf-0.4.0-r1-gcc-makefile-cleanup.patch create mode 100644 dev-libs/libmelf/files/libmelf-0.4.1-unfinal-release.patch create mode 100644 dev-libs/libmelf/libmelf-0.4.0-r1.ebuild create mode 100644 dev-libs/libmelf/metadata.xml create mode 100644 dev-libs/libmemcache/Manifest create mode 100644 dev-libs/libmemcache/files/libmemcache-1.4.0_rc2-implicit_pointer.patch create mode 100644 dev-libs/libmemcache/files/libmemcache-1.4.0_rc2-inline.patch create mode 100644 dev-libs/libmemcache/files/libmemcache-1.4.0_rc2-ppc_ftbfs.patch create mode 100644 dev-libs/libmemcache/libmemcache-1.4.0_rc2-r1.ebuild create mode 100644 dev-libs/libmemcache/metadata.xml create mode 100644 dev-libs/libmemcached/Manifest create mode 100644 dev-libs/libmemcached/files/continuum-1.0.18.patch create mode 100644 dev-libs/libmemcached/files/debug-disable-enable-1.0.18.patch create mode 100644 dev-libs/libmemcached/files/libmemcached-1.0.17-gcc4_8.patch create mode 100644 dev-libs/libmemcached/files/libmemcached-1.0.18-gcc7.patch create mode 100644 dev-libs/libmemcached/libmemcached-0.50.ebuild create mode 100644 dev-libs/libmemcached/libmemcached-1.0.14.ebuild create mode 100644 dev-libs/libmemcached/libmemcached-1.0.17-r3.ebuild create mode 100644 dev-libs/libmemcached/libmemcached-1.0.17-r4.ebuild create mode 100644 dev-libs/libmemcached/libmemcached-1.0.18-r1.ebuild create mode 100644 dev-libs/libmemcached/libmemcached-1.0.18-r2.ebuild create mode 100644 dev-libs/libmemcached/libmemcached-1.0.18-r3.ebuild create mode 100644 dev-libs/libmemcached/libmemcached-1.0.18.ebuild create mode 100644 dev-libs/libmemcached/metadata.xml create mode 100644 dev-libs/libmirage/Manifest create mode 100644 dev-libs/libmirage/libmirage-3.1.0.ebuild create mode 100644 dev-libs/libmirage/metadata.xml create mode 100644 dev-libs/libmix/Manifest create mode 100644 dev-libs/libmix/files/libmix-2.05-fix-pattern.patch create mode 100644 dev-libs/libmix/files/libmix-2.05-gentoo-r1.patch create mode 100644 dev-libs/libmix/files/libmix-2.05-libnet.patch create mode 100644 dev-libs/libmix/libmix-2.05-r7.ebuild create mode 100644 dev-libs/libmix/metadata.xml create mode 100644 dev-libs/libmodbus/Manifest create mode 100644 dev-libs/libmodbus/files/libmodbus-3.1.4-doc.patch create mode 100644 dev-libs/libmodbus/libmodbus-3.1.2.ebuild create mode 100644 dev-libs/libmodbus/libmodbus-3.1.4.ebuild create mode 100644 dev-libs/libmodbus/metadata.xml create mode 100644 dev-libs/libmoe/Manifest create mode 100644 dev-libs/libmoe/files/libmoe-1.5.8-gcc5.patch create mode 100644 dev-libs/libmoe/files/libmoe-1.5.8-gentoo.patch create mode 100644 dev-libs/libmoe/files/libmoe-1.5.8-makefile.patch create mode 100644 dev-libs/libmoe/libmoe-1.5.8-r3.ebuild create mode 100644 dev-libs/libmoe/metadata.xml create mode 100644 dev-libs/libmongo-client/Manifest create mode 100644 dev-libs/libmongo-client/libmongo-client-0.1.7.ebuild create mode 100644 dev-libs/libmongo-client/libmongo-client-0.1.8.ebuild create mode 100644 dev-libs/libmongo-client/metadata.xml create mode 100644 dev-libs/libmowgli-glib/Manifest create mode 100644 dev-libs/libmowgli-glib/libmowgli-glib-0.1.ebuild create mode 100644 dev-libs/libmowgli-glib/metadata.xml create mode 100644 dev-libs/libmowgli/Manifest create mode 100644 dev-libs/libmowgli/libmowgli-1.0.0.ebuild create mode 100644 dev-libs/libmowgli/libmowgli-2.0.0-r1.ebuild create mode 100644 dev-libs/libmowgli/libmowgli-2.1.3.ebuild create mode 100644 dev-libs/libmowgli/libmowgli-9999.ebuild create mode 100644 dev-libs/libmowgli/metadata.xml create mode 100644 dev-libs/libmspack/Manifest create mode 100644 dev-libs/libmspack/files/libmspack-0.5_alpha-CVE-2017-6419.patch create mode 100644 dev-libs/libmspack/libmspack-0.5_alpha-r1.ebuild create mode 100644 dev-libs/libmspack/libmspack-0.5_alpha.ebuild create mode 100644 dev-libs/libmspack/metadata.xml create mode 100644 dev-libs/libnatspec/Manifest create mode 100644 dev-libs/libnatspec/files/libnatspec-0.2.6-iconv.patch create mode 100644 dev-libs/libnatspec/libnatspec-0.2.6-r1.ebuild create mode 100644 dev-libs/libnatspec/libnatspec-0.3.0.ebuild create mode 100644 dev-libs/libnatspec/metadata.xml create mode 100644 dev-libs/libnfc/Manifest create mode 100644 dev-libs/libnfc/files/libnfc-1.5.1-glibc-2.17.patch create mode 100644 dev-libs/libnfc/libnfc-1.4.2.ebuild create mode 100644 dev-libs/libnfc/libnfc-1.5.1-r1.ebuild create mode 100644 dev-libs/libnfc/libnfc-1.7.1.ebuild create mode 100644 dev-libs/libnfc/metadata.xml create mode 100644 dev-libs/libnl/Manifest create mode 100644 dev-libs/libnl/files/libnl-1.1-flags.patch create mode 100644 dev-libs/libnl/files/libnl-1.1-vlan-header.patch create mode 100644 dev-libs/libnl/files/libnl-1.1.3-offsetof.patch create mode 100644 dev-libs/libnl/libnl-1.1.4.ebuild create mode 100644 dev-libs/libnl/libnl-3.2.28.ebuild create mode 100644 dev-libs/libnl/libnl-3.2.29.ebuild create mode 100644 dev-libs/libnl/libnl-3.3.0.ebuild create mode 100644 dev-libs/libnl/libnl-3.4.0_rc1.ebuild create mode 100644 dev-libs/libnl/libnl-99999999.ebuild create mode 100644 dev-libs/libnl/metadata.xml create mode 100644 dev-libs/libnsfb/Manifest create mode 100644 dev-libs/libnsfb/files/libnsfb-0.1.0-autodetect.patch create mode 100644 dev-libs/libnsfb/libnsfb-0.1.5.ebuild create mode 100644 dev-libs/libnsfb/metadata.xml create mode 100644 dev-libs/libnsutils/Manifest create mode 100644 dev-libs/libnsutils/libnsutils-0.0.3.ebuild create mode 100644 dev-libs/libnsutils/metadata.xml create mode 100644 dev-libs/libntru/Manifest create mode 100644 dev-libs/libntru/libntru-0.4.1-r1.ebuild create mode 100644 dev-libs/libntru/libntru-0.4.1.ebuild create mode 100644 dev-libs/libntru/metadata.xml create mode 100644 dev-libs/libofx/Manifest create mode 100644 dev-libs/libofx/libofx-0.9.10.ebuild create mode 100644 dev-libs/libofx/metadata.xml create mode 100644 dev-libs/liboil/Manifest create mode 100644 dev-libs/liboil/files/liboil-0.3.17-amd64-cpuid.patch create mode 100644 dev-libs/liboil/files/liboil-0.3.17-x32.patch create mode 100644 dev-libs/liboil/liboil-0.3.17-r2.ebuild create mode 100644 dev-libs/liboil/metadata.xml create mode 100644 dev-libs/liboobs/Manifest create mode 100644 dev-libs/liboobs/liboobs-3.0.0.ebuild create mode 100644 dev-libs/liboobs/metadata.xml create mode 100644 dev-libs/liboop/Manifest create mode 100644 dev-libs/liboop/liboop-1.0-r1.ebuild create mode 100644 dev-libs/liboop/metadata.xml create mode 100644 dev-libs/liborcus/Manifest create mode 100644 dev-libs/liborcus/liborcus-0.11.2.ebuild create mode 100644 dev-libs/liborcus/liborcus-0.12.1.ebuild create mode 100644 dev-libs/liborcus/liborcus-9999.ebuild create mode 100644 dev-libs/liborcus/metadata.xml create mode 100644 dev-libs/libotf/Manifest create mode 100644 dev-libs/libotf/files/libotf-0.9.13-build.patch create mode 100644 dev-libs/libotf/libotf-0.9.13.ebuild create mode 100644 dev-libs/libotf/metadata.xml create mode 100644 dev-libs/libowfat/Manifest create mode 100644 dev-libs/libowfat/files/libowfat-0.28-GNUmakefile.patch create mode 100644 dev-libs/libowfat/libowfat-0.29.ebuild create mode 100644 dev-libs/libowfat/libowfat-0.30.ebuild create mode 100644 dev-libs/libowfat/libowfat-0.31.ebuild create mode 100644 dev-libs/libowfat/metadata.xml create mode 100644 dev-libs/libp11/Manifest create mode 100644 dev-libs/libp11/libp11-0.4.4.ebuild create mode 100644 dev-libs/libp11/metadata.xml create mode 100644 dev-libs/libparserutils/Manifest create mode 100644 dev-libs/libparserutils/libparserutils-0.2.3.ebuild create mode 100644 dev-libs/libparserutils/metadata.xml create mode 100644 dev-libs/libpcre-debian/Manifest create mode 100644 dev-libs/libpcre-debian/libpcre-debian-8-r1.ebuild create mode 100644 dev-libs/libpcre-debian/metadata.xml create mode 100644 dev-libs/libpcre/Manifest create mode 100644 dev-libs/libpcre/files/libpcre-8.40-jit-else.patch create mode 100644 dev-libs/libpcre/files/libpcre-8.40-pcregrep-multiline-1.patch create mode 100644 dev-libs/libpcre/files/libpcre-8.40-pcregrep-multiline-2.patch create mode 100644 dev-libs/libpcre/files/libpcre-8.41-sljit_mips-label-statement-fix.patch create mode 100644 dev-libs/libpcre/libpcre-8.40-r1.ebuild create mode 100644 dev-libs/libpcre/libpcre-8.41.ebuild create mode 100644 dev-libs/libpcre/metadata.xml create mode 100644 dev-libs/libpcre2/Manifest create mode 100644 dev-libs/libpcre2/libpcre2-10.22.ebuild create mode 100644 dev-libs/libpcre2/libpcre2-10.23.ebuild create mode 100644 dev-libs/libpcre2/libpcre2-10.30.ebuild create mode 100644 dev-libs/libpcre2/metadata.xml create mode 100644 dev-libs/libpeas/Manifest create mode 100644 dev-libs/libpeas/files/libpeas-1.14.0-lua.pc.patch create mode 100644 dev-libs/libpeas/libpeas-1.20.0-r1.ebuild create mode 100644 dev-libs/libpeas/libpeas-1.20.0.ebuild create mode 100644 dev-libs/libpeas/metadata.xml create mode 100644 dev-libs/libpfm/Manifest create mode 100644 dev-libs/libpfm/libpfm-4.4.0.ebuild create mode 100644 dev-libs/libpfm/libpfm-4.6.0.ebuild create mode 100644 dev-libs/libpfm/libpfm-4.8.0.ebuild create mode 100644 dev-libs/libpfm/metadata.xml create mode 100644 dev-libs/libpipeline/Manifest create mode 100644 dev-libs/libpipeline/files/libpipeline-1.4.1-gnulib-cygwin-sys_select.patch create mode 100644 dev-libs/libpipeline/files/libpipeline-1.4.1-gnulib-darwin-program_name.patch create mode 100644 dev-libs/libpipeline/libpipeline-1.2.5.ebuild create mode 100644 dev-libs/libpipeline/libpipeline-1.3.1.ebuild create mode 100644 dev-libs/libpipeline/libpipeline-1.4.0.ebuild create mode 100644 dev-libs/libpipeline/libpipeline-1.4.1.ebuild create mode 100644 dev-libs/libpipeline/libpipeline-1.4.2.ebuild create mode 100644 dev-libs/libpipeline/metadata.xml create mode 100644 dev-libs/libplatform/Manifest create mode 100644 dev-libs/libplatform/files/libplatform-2.0.1-arch-specific-libdirs.patch create mode 100644 dev-libs/libplatform/libplatform-2.0.1.ebuild create mode 100644 dev-libs/libplatform/libplatform-2.1.0.1.ebuild create mode 100644 dev-libs/libplatform/metadata.xml create mode 100644 dev-libs/libpo6/Manifest create mode 100644 dev-libs/libpo6/libpo6-0.6.0.ebuild create mode 100644 dev-libs/libpo6/libpo6-0.7.0.ebuild create mode 100644 dev-libs/libpo6/libpo6-0.8.0.ebuild create mode 100644 dev-libs/libpo6/metadata.xml create mode 100644 dev-libs/libpqxx/Manifest create mode 100644 dev-libs/libpqxx/libpqxx-4.0.1.ebuild create mode 100644 dev-libs/libpqxx/libpqxx-5.1.0.ebuild create mode 100644 dev-libs/libpqxx/metadata.xml create mode 100644 dev-libs/libprelude/Manifest create mode 100644 dev-libs/libprelude/files/libprelude-3.0.0-perl-hardening.patch create mode 100644 dev-libs/libprelude/files/libprelude-3.0.0-ruby-configure.patch create mode 100644 dev-libs/libprelude/files/libprelude-3.0.0-ruby-m4.patch create mode 100644 dev-libs/libprelude/files/libprelude-4.0.0-fix-python-bindings.patch create mode 100644 dev-libs/libprelude/libprelude-3.0.0.ebuild create mode 100644 dev-libs/libprelude/libprelude-3.1.0-r1.ebuild create mode 100644 dev-libs/libprelude/libprelude-4.0.0.ebuild create mode 100644 dev-libs/libprelude/metadata.xml create mode 100644 dev-libs/libpreludedb/Manifest create mode 100644 dev-libs/libpreludedb/files/libpreludedb-4.0.0-fix-python-bindings.patch create mode 100644 dev-libs/libpreludedb/libpreludedb-3.0.0.ebuild create mode 100644 dev-libs/libpreludedb/libpreludedb-3.1.0.ebuild create mode 100644 dev-libs/libpreludedb/libpreludedb-4.0.0.ebuild create mode 100644 dev-libs/libpreludedb/metadata.xml create mode 100644 dev-libs/libproccpuinfo/Manifest create mode 100644 dev-libs/libproccpuinfo/libproccpuinfo-0.0.8-r1.ebuild create mode 100644 dev-libs/libproccpuinfo/metadata.xml create mode 100644 dev-libs/libpthread-stubs/Manifest create mode 100644 dev-libs/libpthread-stubs/libpthread-stubs-0.3-r1.ebuild create mode 100644 dev-libs/libpthread-stubs/libpthread-stubs-0.4.ebuild create mode 100644 dev-libs/libpthread-stubs/metadata.xml create mode 100644 dev-libs/libpwquality/Manifest create mode 100644 dev-libs/libpwquality/libpwquality-1.3.0.ebuild create mode 100644 dev-libs/libpwquality/libpwquality-1.4.0.ebuild create mode 100644 dev-libs/libpwquality/metadata.xml create mode 100644 dev-libs/libqtxdg/Manifest create mode 100644 dev-libs/libqtxdg/libqtxdg-2.0.0.ebuild create mode 100644 dev-libs/libqtxdg/metadata.xml create mode 100644 dev-libs/libratbag/Manifest create mode 100644 dev-libs/libratbag/libratbag-0.9.ebuild create mode 100644 dev-libs/libratbag/metadata.xml create mode 100644 dev-libs/librdkafka/Manifest create mode 100644 dev-libs/librdkafka/files/librdkafka-0.9.2-remove-lz4-automagic.patch create mode 100644 dev-libs/librdkafka/files/librdkafka-0.9.3-remove-lz4-automagic.patch create mode 100644 dev-libs/librdkafka/librdkafka-0.11.0.ebuild create mode 100644 dev-libs/librdkafka/librdkafka-0.9.2-r1.ebuild create mode 100644 dev-libs/librdkafka/librdkafka-0.9.3.ebuild create mode 100644 dev-libs/librdkafka/librdkafka-0.9.4.ebuild create mode 100644 dev-libs/librdkafka/librdkafka-0.9.5.ebuild create mode 100644 dev-libs/librdkafka/metadata.xml create mode 100644 dev-libs/librelp/Manifest create mode 100644 dev-libs/librelp/librelp-1.2.12.ebuild create mode 100644 dev-libs/librelp/librelp-1.2.13.ebuild create mode 100644 dev-libs/librelp/librelp-1.2.14.ebuild create mode 100644 dev-libs/librelp/metadata.xml create mode 100644 dev-libs/librep/Manifest create mode 100644 dev-libs/librep/files/50librep-gentoo.el create mode 100644 dev-libs/librep/files/librep-0.92.0-disable-elisp.patch create mode 100644 dev-libs/librep/librep-0.92.6.ebuild create mode 100644 dev-libs/librep/metadata.xml create mode 100644 dev-libs/libreport/Manifest create mode 100644 dev-libs/libreport/files/libreport-2.0.13-automake-1.12.patch create mode 100644 dev-libs/libreport/files/libreport-2.0.13-gentoo.patch create mode 100644 dev-libs/libreport/files/libreport-2.0.13-json-c-0.11-pc.patch create mode 100644 dev-libs/libreport/files/libreport-2.0.13-json-c-0.11.patch create mode 100644 dev-libs/libreport/files/libreport-2.0.7-uploader_event-syntax.patch create mode 100644 dev-libs/libreport/libreport-2.0.13-r1.ebuild create mode 100644 dev-libs/libreport/metadata.xml create mode 100644 dev-libs/libressl/Manifest create mode 100644 dev-libs/libressl/libressl-2.3.10.ebuild create mode 100644 dev-libs/libressl/libressl-2.4.5.ebuild create mode 100644 dev-libs/libressl/libressl-2.5.0.ebuild create mode 100644 dev-libs/libressl/libressl-2.5.4.ebuild create mode 100644 dev-libs/libressl/libressl-2.5.5.ebuild create mode 100644 dev-libs/libressl/libressl-2.6.0.ebuild create mode 100644 dev-libs/libressl/libressl-2.6.1.ebuild create mode 100644 dev-libs/libressl/libressl-2.6.2.ebuild create mode 100644 dev-libs/libressl/metadata.xml create mode 100644 dev-libs/librevenge/Manifest create mode 100644 dev-libs/librevenge/librevenge-0.0.4-r1.ebuild create mode 100644 dev-libs/librevenge/librevenge-9999.ebuild create mode 100644 dev-libs/librevenge/metadata.xml create mode 100644 dev-libs/libsecp256k1/Manifest create mode 100644 dev-libs/libsecp256k1/libsecp256k1-0.0.0_pre20151118.ebuild create mode 100644 dev-libs/libsecp256k1/libsecp256k1-0.0.0_pre20161213.ebuild create mode 100644 dev-libs/libsecp256k1/libsecp256k1-9999.ebuild create mode 100644 dev-libs/libsecp256k1/metadata.xml create mode 100644 dev-libs/libserialport/Manifest create mode 100644 dev-libs/libserialport/libserialport-0.1.0.ebuild create mode 100644 dev-libs/libserialport/libserialport-0.1.1.ebuild create mode 100644 dev-libs/libserialport/libserialport-9999.ebuild create mode 100644 dev-libs/libserialport/metadata.xml create mode 100644 dev-libs/libsigc++/Manifest create mode 100644 dev-libs/libsigc++/files/libsigc++-1.2.7-fix-install.patch create mode 100644 dev-libs/libsigc++/files/libsigc++-2.10.0-make-disable-benchmarks-work.patch create mode 100644 dev-libs/libsigc++/libsigc++-1.2.7.ebuild create mode 100644 dev-libs/libsigc++/libsigc++-2.10.0.ebuild create mode 100644 dev-libs/libsigc++/metadata.xml create mode 100644 dev-libs/libsigsegv/Manifest create mode 100644 dev-libs/libsigsegv/libsigsegv-2.10.ebuild create mode 100644 dev-libs/libsigsegv/libsigsegv-2.11.ebuild create mode 100644 dev-libs/libsigsegv/metadata.xml create mode 100644 dev-libs/libslz/Manifest create mode 100644 dev-libs/libslz/libslz-1.1.0.ebuild create mode 100644 dev-libs/libslz/metadata.xml create mode 100644 dev-libs/libsodium/Manifest create mode 100644 dev-libs/libsodium/files/libsodium-1.0.10-cpuflags.patch create mode 100644 dev-libs/libsodium/libsodium-1.0.11.ebuild create mode 100644 dev-libs/libsodium/libsodium-1.0.13.ebuild create mode 100644 dev-libs/libsodium/libsodium-1.0.14.ebuild create mode 100644 dev-libs/libsodium/libsodium-1.0.15.ebuild create mode 100644 dev-libs/libsodium/metadata.xml create mode 100644 dev-libs/libsolv/Manifest create mode 100644 dev-libs/libsolv/libsolv-0.6.22.ebuild create mode 100644 dev-libs/libsolv/metadata.xml create mode 100644 dev-libs/libspnav/Manifest create mode 100644 dev-libs/libspnav/files/libspnav-0.2.2-custom-flags.patch create mode 100644 dev-libs/libspnav/files/libspnav-0.2.2-makefile.patch create mode 100644 dev-libs/libspnav/libspnav-0.2.2.ebuild create mode 100644 dev-libs/libspnav/metadata.xml create mode 100644 dev-libs/libspt/Manifest create mode 100644 dev-libs/libspt/files/libspt-1.1-gentoo.patch create mode 100644 dev-libs/libspt/files/libspt-gentoo.patch create mode 100644 dev-libs/libspt/libspt-1.1-r2.ebuild create mode 100644 dev-libs/libspt/libspt-1.1-r3.ebuild create mode 100644 dev-libs/libspt/metadata.xml create mode 100644 dev-libs/libsqlora8/Manifest create mode 100644 dev-libs/libsqlora8/libsqlora8-2.3.3-r1.ebuild create mode 100644 dev-libs/libsqlora8/metadata.xml create mode 100644 dev-libs/libstrl/Manifest create mode 100644 dev-libs/libstrl/libstrl-0.5.1.ebuild create mode 100644 dev-libs/libstrl/metadata.xml create mode 100644 dev-libs/libstroke/Manifest create mode 100644 dev-libs/libstroke/files/libstroke-0.5.1-autotools.patch create mode 100644 dev-libs/libstroke/files/libstroke-0.5.1-m4_syntax.patch create mode 100644 dev-libs/libstroke/files/libstroke-0.5.1-no_gtk1.patch create mode 100644 dev-libs/libstroke/libstroke-0.5.1.ebuild create mode 100644 dev-libs/libstroke/metadata.xml create mode 100644 dev-libs/libtar/Manifest create mode 100644 dev-libs/libtar/files/CVE-2013-4420.patch create mode 100644 dev-libs/libtar/files/libtar-1.2.11-free.patch create mode 100644 dev-libs/libtar/files/libtar-1.2.11-impl-dec.patch create mode 100644 dev-libs/libtar/libtar-1.2.20-r2.ebuild create mode 100644 dev-libs/libtar/libtar-1.2.20-r3.ebuild create mode 100644 dev-libs/libtar/metadata.xml create mode 100644 dev-libs/libtasn1/Manifest create mode 100644 dev-libs/libtasn1/files/libtasn1-4.12-CVE-2017-10790.patch create mode 100644 dev-libs/libtasn1/libtasn1-4.12-r1.ebuild create mode 100644 dev-libs/libtasn1/metadata.xml create mode 100644 dev-libs/libtecla/Manifest create mode 100644 dev-libs/libtecla/files/libtecla-1.6.1-LDFLAGS2.patch create mode 100644 dev-libs/libtecla/files/libtecla-1.6.1-install.patch create mode 100644 dev-libs/libtecla/files/libtecla-1.6.1-ldflags.patch create mode 100644 dev-libs/libtecla/files/libtecla-1.6.1-no-strip.patch create mode 100644 dev-libs/libtecla/files/libtecla-1.6.1-parallel_build2.patch create mode 100644 dev-libs/libtecla/files/libtecla-1.6.1-prll-install.patch create mode 100644 dev-libs/libtecla/files/libtecla-1.6.3-ldflags.patch create mode 100644 dev-libs/libtecla/files/libtecla-1.6.3-prll-build.patch create mode 100644 dev-libs/libtecla/files/libtecla-1.6.3-secure-runpath.patch create mode 100644 dev-libs/libtecla/files/libtecla-1.6.3-static-libs.patch create mode 100644 dev-libs/libtecla/libtecla-1.6.1-r2.ebuild create mode 100644 dev-libs/libtecla/libtecla-1.6.2.ebuild create mode 100644 dev-libs/libtecla/libtecla-1.6.3.ebuild create mode 100644 dev-libs/libtecla/metadata.xml create mode 100644 dev-libs/libtermkey/Manifest create mode 100644 dev-libs/libtermkey/libtermkey-0.19.ebuild create mode 100644 dev-libs/libtermkey/libtermkey-0.20.ebuild create mode 100644 dev-libs/libtermkey/metadata.xml create mode 100644 dev-libs/libtomfloat/Manifest create mode 100644 dev-libs/libtomfloat/libtomfloat-0.02.ebuild create mode 100644 dev-libs/libtomfloat/metadata.xml create mode 100644 dev-libs/libtommath/Manifest create mode 100644 dev-libs/libtommath/files/libtommath-0.42.0-makefile.patch create mode 100644 dev-libs/libtommath/libtommath-0.42.0-r1.ebuild create mode 100644 dev-libs/libtommath/libtommath-1.0-r1.ebuild create mode 100644 dev-libs/libtommath/libtommath-1.0.ebuild create mode 100644 dev-libs/libtommath/metadata.xml create mode 100644 dev-libs/libtompoly/Manifest create mode 100644 dev-libs/libtompoly/libtompoly-0.04.ebuild create mode 100644 dev-libs/libtompoly/metadata.xml create mode 100644 dev-libs/libtrain/Manifest create mode 100644 dev-libs/libtrain/files/libtrain-0.9b-impl-dec.patch create mode 100644 dev-libs/libtrain/libtrain-0.9b.ebuild create mode 100644 dev-libs/libtrain/metadata.xml create mode 100644 dev-libs/libtreadstone/Manifest create mode 100644 dev-libs/libtreadstone/libtreadstone-0.1.0.ebuild create mode 100644 dev-libs/libtreadstone/libtreadstone-0.2.0.ebuild create mode 100644 dev-libs/libtreadstone/metadata.xml create mode 100644 dev-libs/libtubo/Manifest create mode 100644 dev-libs/libtubo/libtubo-5.0.15.ebuild create mode 100644 dev-libs/libtubo/metadata.xml create mode 100644 dev-libs/libucl/Manifest create mode 100644 dev-libs/libucl/libucl-0.7.3.ebuild create mode 100644 dev-libs/libucl/metadata.xml create mode 100644 dev-libs/libunicode/Manifest create mode 100644 dev-libs/libunicode/libunicode-0.4-r1.ebuild create mode 100644 dev-libs/libunicode/metadata.xml create mode 100644 dev-libs/libunique/Manifest create mode 100644 dev-libs/libunique/files/libunique-1.1.6-G_CONST_RETURN.patch create mode 100644 dev-libs/libunique/files/libunique-1.1.6-compiler-warnings.patch create mode 100644 dev-libs/libunique/files/libunique-1.1.6-fix-test.patch create mode 100644 dev-libs/libunique/files/libunique-1.1.6-include-terminator.patch create mode 100644 dev-libs/libunique/files/run-tests create mode 100644 dev-libs/libunique/libunique-1.1.6-r2.ebuild create mode 100644 dev-libs/libunique/libunique-3.0.2-r1.ebuild create mode 100644 dev-libs/libunique/metadata.xml create mode 100644 dev-libs/libunistring/Manifest create mode 100644 dev-libs/libunistring/files/libunistring-nodocs.patch create mode 100644 dev-libs/libunistring/libunistring-0.9.5.ebuild create mode 100644 dev-libs/libunistring/libunistring-0.9.6.ebuild create mode 100644 dev-libs/libunistring/libunistring-0.9.7.ebuild create mode 100644 dev-libs/libunistring/metadata.xml create mode 100644 dev-libs/libusb-compat/Manifest create mode 100644 dev-libs/libusb-compat/files/libusb-0.1-ansi.patch create mode 100644 dev-libs/libusb-compat/libusb-compat-0.1.5-r2.ebuild create mode 100644 dev-libs/libusb-compat/libusb-compat-0.1.5-r3.ebuild create mode 100644 dev-libs/libusb-compat/metadata.xml create mode 100644 dev-libs/libusb/Manifest create mode 100644 dev-libs/libusb/libusb-1.0.19-r1.ebuild create mode 100644 dev-libs/libusb/libusb-1.0.20.ebuild create mode 100644 dev-libs/libusb/libusb-1.0.21.ebuild create mode 100644 dev-libs/libusb/metadata.xml create mode 100644 dev-libs/libusbhp/Manifest create mode 100644 dev-libs/libusbhp/libusbhp-1.0.2.ebuild create mode 100644 dev-libs/libusbhp/metadata.xml create mode 100644 dev-libs/libutf8proc/Manifest create mode 100644 dev-libs/libutf8proc/files/libutf8proc-1.3.1_p2-overrun.patch create mode 100644 dev-libs/libutf8proc/libutf8proc-1.3.1_p2-r1.ebuild create mode 100644 dev-libs/libutf8proc/metadata.xml create mode 100644 dev-libs/libuv/Manifest create mode 100644 dev-libs/libuv/libuv-1.10.2.ebuild create mode 100644 dev-libs/libuv/libuv-1.11.0.ebuild create mode 100644 dev-libs/libuv/libuv-1.14.0.ebuild create mode 100644 dev-libs/libuv/libuv-1.14.1.ebuild create mode 100644 dev-libs/libuv/metadata.xml create mode 100644 dev-libs/libverto/Manifest create mode 100644 dev-libs/libverto/libverto-0.2.5-r1.ebuild create mode 100644 dev-libs/libverto/libverto-0.2.5.ebuild create mode 100644 dev-libs/libverto/libverto-0.2.6.ebuild create mode 100644 dev-libs/libverto/metadata.xml create mode 100644 dev-libs/libvformat/Manifest create mode 100644 dev-libs/libvformat/files/libvformat-1.13-has_unistd.patch create mode 100644 dev-libs/libvformat/files/libvformat-1.13-str.patch create mode 100644 dev-libs/libvformat/files/libvformat-nodoc.patch create mode 100644 dev-libs/libvformat/libvformat-1.13-r2.ebuild create mode 100644 dev-libs/libvformat/metadata.xml create mode 100644 dev-libs/libvolume_id/Manifest create mode 100644 dev-libs/libvolume_id/libvolume_id-0.81.0.ebuild create mode 100644 dev-libs/libvolume_id/libvolume_id-0.81.1.ebuild create mode 100644 dev-libs/libvolume_id/metadata.xml create mode 100644 dev-libs/libvterm-neovim/Manifest create mode 100644 dev-libs/libvterm-neovim/libvterm-neovim-0.0_pre20150309.ebuild create mode 100644 dev-libs/libvterm-neovim/libvterm-neovim-0.0_pre20150621.ebuild create mode 100644 dev-libs/libvterm-neovim/metadata.xml create mode 100644 dev-libs/libvterm/Manifest create mode 100644 dev-libs/libvterm/libvterm-0.0_pre20151022.ebuild create mode 100644 dev-libs/libvterm/libvterm-0.0_pre20160305.ebuild create mode 100644 dev-libs/libvterm/metadata.xml create mode 100644 dev-libs/libwacom/Manifest create mode 100644 dev-libs/libwacom/libwacom-0.24.ebuild create mode 100644 dev-libs/libwacom/libwacom-0.25.ebuild create mode 100644 dev-libs/libwacom/libwacom-0.26.ebuild create mode 100644 dev-libs/libwacom/metadata.xml create mode 100644 dev-libs/libwapcaplet/Manifest create mode 100644 dev-libs/libwapcaplet/libwapcaplet-0.4.0.ebuild create mode 100644 dev-libs/libwapcaplet/metadata.xml create mode 100644 dev-libs/libwbxml/Manifest create mode 100644 dev-libs/libwbxml/libwbxml-0.11.2.ebuild create mode 100644 dev-libs/libwbxml/metadata.xml create mode 100644 dev-libs/libx86/Manifest create mode 100644 dev-libs/libx86/files/libx86-0.99-ifmask.patch create mode 100644 dev-libs/libx86/files/libx86-1.1-makefile.patch create mode 100644 dev-libs/libx86/files/libx86-1.1-x86emu.patch create mode 100644 dev-libs/libx86/libx86-1.1-r2.ebuild create mode 100644 dev-libs/libx86/libx86-1.1-r3.ebuild create mode 100644 dev-libs/libx86/libx86-1.1-r4.ebuild create mode 100644 dev-libs/libx86/metadata.xml create mode 100644 dev-libs/libx86emu/Manifest create mode 100644 dev-libs/libx86emu/libx86emu-1.1.ebuild create mode 100644 dev-libs/libx86emu/metadata.xml create mode 100644 dev-libs/libxdg-basedir/Manifest create mode 100644 dev-libs/libxdg-basedir/files/libxdg-basedir-1.2.0-buffer-overflow.patch create mode 100644 dev-libs/libxdg-basedir/libxdg-basedir-1.2.0-r1.ebuild create mode 100644 dev-libs/libxdg-basedir/metadata.xml create mode 100644 dev-libs/libxdiff/Manifest create mode 100644 dev-libs/libxdiff/libxdiff-0.23-r1.ebuild create mode 100644 dev-libs/libxdiff/libxdiff-0.23-r2.ebuild create mode 100644 dev-libs/libxdiff/metadata.xml create mode 100644 dev-libs/libxls/Manifest create mode 100644 dev-libs/libxls/files/libxls-1.4.0-asprintf.patch create mode 100644 dev-libs/libxls/files/libxls-1.4.0-infinite.patch create mode 100644 dev-libs/libxls/libxls-1.4.0-r1.ebuild create mode 100644 dev-libs/libxls/metadata.xml create mode 100644 dev-libs/libxml2/Manifest create mode 100644 dev-libs/libxml2/files/libxml2-2.7.1-catalog_path.patch create mode 100644 dev-libs/libxml2/files/libxml2-2.8.0_rc1-winnt.patch create mode 100644 dev-libs/libxml2/files/libxml2-2.9.2-disable-tests.patch create mode 100644 dev-libs/libxml2/files/libxml2-2.9.2-python-ABIFLAG.patch create mode 100644 dev-libs/libxml2/files/libxml2-2.9.4-CVE-2016-4658.patch create mode 100644 dev-libs/libxml2/files/libxml2-2.9.4-CVE-2016-5131.patch create mode 100644 dev-libs/libxml2/files/libxml2-2.9.4-CVE-2016-9318.patch create mode 100644 dev-libs/libxml2/files/libxml2-2.9.4-CVE-2017-0663.patch create mode 100644 dev-libs/libxml2/files/libxml2-2.9.4-CVE-2017-5969.patch create mode 100644 dev-libs/libxml2/files/libxml2-2.9.4-CVE-2017-7375.patch create mode 100644 dev-libs/libxml2/files/libxml2-2.9.4-CVE-2017-7376.patch create mode 100644 dev-libs/libxml2/files/libxml2-2.9.4-CVE-2017-9047-9048.patch create mode 100644 dev-libs/libxml2/files/libxml2-2.9.4-CVE-2017-9049-9050.patch create mode 100644 dev-libs/libxml2/files/libxml2-2.9.4-fix-root-node-cmp.patch create mode 100644 dev-libs/libxml2/files/libxml2-2.9.4-heap-buffer-overflow.patch create mode 100644 dev-libs/libxml2/files/libxml2-2.9.4-nullptrderef.patch create mode 100644 dev-libs/libxml2/files/libxml2-2.9.4-nullptrderef2.patch create mode 100644 dev-libs/libxml2/files/libxml2-2.9.4-osd-validation.patch create mode 100644 dev-libs/libxml2/libxml2-2.9.4-r1.ebuild create mode 100644 dev-libs/libxml2/libxml2-2.9.4-r2.ebuild create mode 100644 dev-libs/libxml2/libxml2-2.9.4-r3.ebuild create mode 100644 dev-libs/libxml2/libxml2-2.9.5.ebuild create mode 100644 dev-libs/libxml2/metadata.xml create mode 100644 dev-libs/libxslt/Manifest create mode 100644 dev-libs/libxslt/files/1.1.30-unbreak-xslt-config.patch create mode 100644 dev-libs/libxslt/files/libxslt-1.1.28-disable-static-modules.patch create mode 100644 dev-libs/libxslt/files/libxslt-1.1.28-simplify-python.patch create mode 100644 dev-libs/libxslt/files/libxslt-1.1.29-cygwin.patch create mode 100644 dev-libs/libxslt/files/libxslt-1.1.30-simplify-python.patch create mode 100644 dev-libs/libxslt/files/libxslt.m4-libxslt-1.1.26.patch create mode 100644 dev-libs/libxslt/libxslt-1.1.29-r1.ebuild create mode 100644 dev-libs/libxslt/libxslt-1.1.30-r1.ebuild create mode 100644 dev-libs/libxslt/libxslt-1.1.30.ebuild create mode 100644 dev-libs/libxslt/metadata.xml create mode 100644 dev-libs/libyaml/Manifest create mode 100644 dev-libs/libyaml/libyaml-0.1.7.ebuild create mode 100644 dev-libs/libyaml/metadata.xml create mode 100644 dev-libs/libzeitgeist/Manifest create mode 100644 dev-libs/libzeitgeist/libzeitgeist-0.3.18.ebuild create mode 100644 dev-libs/libzeitgeist/metadata.xml create mode 100644 dev-libs/libzip/Manifest create mode 100644 dev-libs/libzip/files/libzip-1.2.0-CVE-2017-12858.patch create mode 100644 dev-libs/libzip/files/libzip-1.2.0-CVE-2017-14107.patch create mode 100644 dev-libs/libzip/files/libzip-1.2.0-fts.patch create mode 100644 dev-libs/libzip/files/libzip-1.2.0-headers.patch create mode 100644 dev-libs/libzip/libzip-1.2.0-r1.ebuild create mode 100644 dev-libs/libzip/libzip-1.2.0-r2.ebuild create mode 100644 dev-libs/libzip/libzip-1.2.0.ebuild create mode 100644 dev-libs/libzip/libzip-1.3.0.ebuild create mode 100644 dev-libs/libzip/metadata.xml create mode 100644 dev-libs/link-grammar/Manifest create mode 100644 dev-libs/link-grammar/files/link-grammar-5.3.9-out-of-source-build.patch create mode 100644 dev-libs/link-grammar/link-grammar-5.3.10.ebuild create mode 100644 dev-libs/link-grammar/link-grammar-5.3.11.ebuild create mode 100644 dev-libs/link-grammar/metadata.xml create mode 100644 dev-libs/lockdev/Manifest create mode 100644 dev-libs/lockdev/files/lockdev-1.0.3-add-autotools.patch create mode 100644 dev-libs/lockdev/files/lockdev-1.0.3-fix-perl.patch create mode 100644 dev-libs/lockdev/lockdev-1.0.3.1.2-r2.ebuild create mode 100644 dev-libs/lockdev/lockdev-1.0.3.1.2-r3.ebuild create mode 100644 dev-libs/lockdev/metadata.xml create mode 100644 dev-libs/locked_sstream/Manifest create mode 100644 dev-libs/locked_sstream/locked_sstream-0.0.5.ebuild create mode 100644 dev-libs/locked_sstream/metadata.xml create mode 100644 dev-libs/log4cplus/Manifest create mode 100644 dev-libs/log4cplus/files/log4cplus-1.2.0-fix-c++14.patch create mode 100644 dev-libs/log4cplus/log4cplus-1.1.3_rc7.ebuild create mode 100644 dev-libs/log4cplus/log4cplus-1.2.0.ebuild create mode 100644 dev-libs/log4cplus/metadata.xml create mode 100644 dev-libs/log4cpp/Manifest create mode 100644 dev-libs/log4cpp/files/1.0-asneeded.patch create mode 100644 dev-libs/log4cpp/files/1.0-doc_install_path.patch create mode 100644 dev-libs/log4cpp/files/1.0-gcc43.patch create mode 100644 dev-libs/log4cpp/files/log4cpp-1.1-automake-1.13.patch create mode 100644 dev-libs/log4cpp/files/log4cpp-1.1-cmath-fix.patch create mode 100644 dev-libs/log4cpp/log4cpp-1.0.ebuild create mode 100644 dev-libs/log4cpp/log4cpp-1.1.ebuild create mode 100644 dev-libs/log4cpp/metadata.xml create mode 100644 dev-libs/log4cxx/Manifest create mode 100644 dev-libs/log4cxx/files/log4cxx-0.10.0-fix-c++14.patch create mode 100644 dev-libs/log4cxx/files/log4cxx-0.10.0-gcc44.patch create mode 100644 dev-libs/log4cxx/files/log4cxx-0.10.0-missing_includes.patch create mode 100644 dev-libs/log4cxx/files/log4cxx-0.10.0-unixODBC.patch create mode 100644 dev-libs/log4cxx/log4cxx-0.10.0-r1.ebuild create mode 100644 dev-libs/log4cxx/metadata.xml create mode 100644 dev-libs/log4sh/Manifest create mode 100644 dev-libs/log4sh/log4sh-1.4.2.ebuild create mode 100644 dev-libs/log4sh/metadata.xml create mode 100644 dev-libs/log4shib/Manifest create mode 100644 dev-libs/log4shib/files/log4shib-doc.patch create mode 100644 dev-libs/log4shib/log4shib-1.0.1.ebuild create mode 100644 dev-libs/log4shib/log4shib-1.0.4.ebuild create mode 100644 dev-libs/log4shib/metadata.xml create mode 100644 dev-libs/ltxml/Manifest create mode 100644 dev-libs/ltxml/ltxml-1.2.5.ebuild create mode 100644 dev-libs/ltxml/ltxml-1.2.9.ebuild create mode 100644 dev-libs/ltxml/metadata.xml create mode 100644 dev-libs/luise-bin/Manifest create mode 100644 dev-libs/luise-bin/luise-bin-0.1.1.ebuild create mode 100644 dev-libs/luise-bin/metadata.xml create mode 100644 dev-libs/lzo/Manifest create mode 100644 dev-libs/lzo/lzo-2.09.ebuild create mode 100644 dev-libs/lzo/lzo-2.10.ebuild create mode 100644 dev-libs/lzo/metadata.xml create mode 100644 dev-libs/m17n-lib/Manifest create mode 100644 dev-libs/m17n-lib/files/m17n-lib-1.5.2-fribidi.patch create mode 100644 dev-libs/m17n-lib/files/m17n-lib-configure.patch create mode 100644 dev-libs/m17n-lib/files/m17n-lib-gui.patch create mode 100644 dev-libs/m17n-lib/files/m17n-lib-ispell.patch create mode 100644 dev-libs/m17n-lib/files/m17n-lib-parallel-make.patch create mode 100644 dev-libs/m17n-lib/m17n-lib-1.5.2.ebuild create mode 100644 dev-libs/m17n-lib/m17n-lib-1.6.3.ebuild create mode 100644 dev-libs/m17n-lib/m17n-lib-1.6.4.ebuild create mode 100644 dev-libs/m17n-lib/m17n-lib-1.7.0.ebuild create mode 100644 dev-libs/m17n-lib/metadata.xml create mode 100644 dev-libs/maloc/Manifest create mode 100644 dev-libs/maloc/files/1.4-asneeded.patch create mode 100644 dev-libs/maloc/files/1.4-doc.patch create mode 100644 dev-libs/maloc/files/1.4-mpi.patch create mode 100644 dev-libs/maloc/maloc-1.5-r1.ebuild create mode 100644 dev-libs/maloc/metadata.xml create mode 100644 dev-libs/mapm/Manifest create mode 100644 dev-libs/mapm/files/4.9.5-missing_include.patch create mode 100644 dev-libs/mapm/mapm-4.9.5-r1.ebuild create mode 100644 dev-libs/mapm/mapm-4.9.5.ebuild create mode 100644 dev-libs/mapm/metadata.xml create mode 100644 dev-libs/marisa/Manifest create mode 100644 dev-libs/marisa/files/marisa-0.2.4-python.patch create mode 100644 dev-libs/marisa/marisa-0.2.4.ebuild create mode 100644 dev-libs/marisa/metadata.xml create mode 100644 dev-libs/mathjax/Manifest create mode 100644 dev-libs/mathjax/mathjax-2.2.ebuild create mode 100644 dev-libs/mathjax/mathjax-2.4.0.ebuild create mode 100644 dev-libs/mathjax/mathjax-2.5.3.ebuild create mode 100644 dev-libs/mathjax/mathjax-2.7.0.ebuild create mode 100644 dev-libs/mathjax/metadata.xml create mode 100644 dev-libs/mdsplib/Manifest create mode 100644 dev-libs/mdsplib/files/mdsplib-0.11-gentoo.patch create mode 100644 dev-libs/mdsplib/mdsplib-0.11.ebuild create mode 100644 dev-libs/mdsplib/metadata.xml create mode 100644 dev-libs/metadata.xml create mode 100644 dev-libs/mimetic/Manifest create mode 100644 dev-libs/mimetic/metadata.xml create mode 100644 dev-libs/mimetic/mimetic-0.9.8.ebuild create mode 100644 dev-libs/mini-xml/Manifest create mode 100644 dev-libs/mini-xml/metadata.xml create mode 100644 dev-libs/mini-xml/mini-xml-2.10.ebuild create mode 100644 dev-libs/mm/Manifest create mode 100644 dev-libs/mm/metadata.xml create mode 100644 dev-libs/mm/mm-1.4.2-r1.ebuild create mode 100644 dev-libs/mm/mm-1.4.2-r2.ebuild create mode 100644 dev-libs/mongo-c-driver/Manifest create mode 100644 dev-libs/mongo-c-driver/files/0.8.1-api-version.diff create mode 100644 dev-libs/mongo-c-driver/metadata.xml create mode 100644 dev-libs/mongo-c-driver/mongo-c-driver-0.7.1-r1.ebuild create mode 100644 dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild create mode 100644 dev-libs/mongo-c-driver/mongo-c-driver-0.98.2.ebuild create mode 100644 dev-libs/mongo-c-driver/mongo-c-driver-1.1.10.ebuild create mode 100644 dev-libs/mongo-c-driver/mongo-c-driver-1.1.2-r1.ebuild create mode 100644 dev-libs/mongo-c-driver/mongo-c-driver-1.3.5.ebuild create mode 100644 dev-libs/mongo-c-driver/mongo-c-driver-1.6.2.ebuild create mode 100644 dev-libs/mongo-cxx-driver/Manifest create mode 100644 dev-libs/mongo-cxx-driver/files/mongo-cxx-driver-1.0.0-fix-scons.patch create mode 100644 dev-libs/mongo-cxx-driver/files/mongo-cxx-driver-1.1.0-fix-scons.patch create mode 100644 dev-libs/mongo-cxx-driver/files/mongo-cxx-driver-1.1.2-boost-ref.patch create mode 100644 dev-libs/mongo-cxx-driver/files/mongo-cxx-driver-26compat-fix-scons.patch create mode 100644 dev-libs/mongo-cxx-driver/metadata.xml create mode 100644 dev-libs/mongo-cxx-driver/mongo-cxx-driver-0.0.2.6.7-r1.ebuild create mode 100644 dev-libs/mongo-cxx-driver/mongo-cxx-driver-1.0.0.ebuild create mode 100644 dev-libs/mongo-cxx-driver/mongo-cxx-driver-1.0.5.ebuild create mode 100644 dev-libs/mongo-cxx-driver/mongo-cxx-driver-1.1.2-r1.ebuild create mode 100644 dev-libs/mpc/Manifest create mode 100644 dev-libs/mpc/metadata.xml create mode 100644 dev-libs/mpc/mpc-1.0.1.ebuild create mode 100644 dev-libs/mpc/mpc-1.0.2-r1.ebuild create mode 100644 dev-libs/mpc/mpc-1.0.2.ebuild create mode 100644 dev-libs/mpc/mpc-1.0.3.ebuild create mode 100644 dev-libs/mpfr/Manifest create mode 100644 dev-libs/mpfr/files/2.4.2/patch01 create mode 100644 dev-libs/mpfr/files/2.4.2/patch02 create mode 100644 dev-libs/mpfr/files/2.4.2/patch03 create mode 100644 dev-libs/mpfr/files/3.1.3/patch01 create mode 100644 dev-libs/mpfr/files/3.1.3/patch02 create mode 100644 dev-libs/mpfr/files/3.1.3/patch03 create mode 100644 dev-libs/mpfr/files/3.1.3/patch04 create mode 100644 dev-libs/mpfr/files/3.1.5/patch01 create mode 100644 dev-libs/mpfr/files/3.1.5/patch02 create mode 100644 dev-libs/mpfr/files/mpfr-3.1.4-cygwin.patch create mode 100644 dev-libs/mpfr/metadata.xml create mode 100644 dev-libs/mpfr/mpfr-2.4.2_p3-r1.ebuild create mode 100644 dev-libs/mpfr/mpfr-3.1.3_p4.ebuild create mode 100644 dev-libs/mpfr/mpfr-3.1.4.ebuild create mode 100644 dev-libs/mpfr/mpfr-3.1.5_p2.ebuild create mode 100644 dev-libs/mpfr/mpfr-3.1.6.ebuild create mode 100644 dev-libs/mps/Manifest create mode 100644 dev-libs/mps/metadata.xml create mode 100644 dev-libs/mps/mps-1.106.2.ebuild create mode 100644 dev-libs/mps/mps-1.110.0.ebuild create mode 100644 dev-libs/mps/mps-1.111.0.ebuild create mode 100644 dev-libs/mps/mps-1.114.0.ebuild create mode 100644 dev-libs/msgpack/Manifest create mode 100644 dev-libs/msgpack/files/msgpack-1.0.0-cflags.patch create mode 100644 dev-libs/msgpack/files/msgpack-1.0.0-static.patch create mode 100644 dev-libs/msgpack/files/msgpack-1.1.0-gcc6.patch create mode 100644 dev-libs/msgpack/files/msgpack-1.4.2-cflags.patch create mode 100644 dev-libs/msgpack/files/msgpack-1.4.2-static.patch create mode 100644 dev-libs/msgpack/files/msgpack-2.0.0-gcc7-implicit-fallthrough.patch create mode 100644 dev-libs/msgpack/metadata.xml create mode 100644 dev-libs/msgpack/msgpack-0.5.9.ebuild create mode 100644 dev-libs/msgpack/msgpack-1.0.0.ebuild create mode 100644 dev-libs/msgpack/msgpack-1.0.1.ebuild create mode 100644 dev-libs/msgpack/msgpack-1.1.0.ebuild create mode 100644 dev-libs/msgpack/msgpack-1.4.2.ebuild create mode 100644 dev-libs/msgpack/msgpack-2.0.0.ebuild create mode 100644 dev-libs/msgpack/msgpack-2.1.1.ebuild create mode 100644 dev-libs/nanomsg/Manifest create mode 100644 dev-libs/nanomsg/metadata.xml create mode 100644 dev-libs/nanomsg/nanomsg-0.8.ebuild create mode 100644 dev-libs/nanomsg/nanomsg-0.9.ebuild create mode 100644 dev-libs/nanomsg/nanomsg-1.0.0.ebuild create mode 100644 dev-libs/nettle/Manifest create mode 100644 dev-libs/nettle/files/nettle-3.3-ecc-add-eh.patch create mode 100644 dev-libs/nettle/metadata.xml create mode 100644 dev-libs/nettle/nettle-3.3-r2.ebuild create mode 100644 dev-libs/newt/Manifest create mode 100644 dev-libs/newt/files/newt-0.52.13-gold.patch create mode 100644 dev-libs/newt/files/newt-0.52.14-tcl.patch create mode 100644 dev-libs/newt/files/newt-0.52.15-makefile.patch create mode 100644 dev-libs/newt/files/newt-0.52.15-snack.patch create mode 100644 dev-libs/newt/metadata.xml create mode 100644 dev-libs/newt/newt-0.52.15.ebuild create mode 100644 dev-libs/newt/newt-0.52.18.ebuild create mode 100644 dev-libs/newt/newt-0.52.20.ebuild create mode 100644 dev-libs/npth/Manifest create mode 100644 dev-libs/npth/metadata.xml create mode 100644 dev-libs/npth/npth-1.3.ebuild create mode 100644 dev-libs/npth/npth-1.4.ebuild create mode 100644 dev-libs/npth/npth-1.5.ebuild create mode 100644 dev-libs/nsgenbind/Manifest create mode 100644 dev-libs/nsgenbind/metadata.xml create mode 100644 dev-libs/nsgenbind/nsgenbind-0.4.ebuild create mode 100644 dev-libs/nspr/Manifest create mode 100644 dev-libs/nspr/files/nspr-4.10.6-solaris.patch create mode 100644 dev-libs/nspr/files/nspr-4.15-configure_in.patch create mode 100644 dev-libs/nspr/files/nspr-4.7.0-prtime.patch create mode 100644 dev-libs/nspr/files/nspr-4.7.1-solaris.patch create mode 100644 dev-libs/nspr/files/nspr-4.8.4-darwin-install_name.patch create mode 100644 dev-libs/nspr/files/nspr-4.8.9-link-flags.patch create mode 100644 dev-libs/nspr/files/nspr-4.9.5_nspr_config.patch create mode 100644 dev-libs/nspr/metadata.xml create mode 100644 dev-libs/nspr/nspr-4.13.1.ebuild create mode 100644 dev-libs/nspr/nspr-4.16.ebuild create mode 100644 dev-libs/nspr/nspr-4.17.ebuild create mode 100644 dev-libs/nss/Manifest create mode 100644 dev-libs/nss/files/nss-3.21-enable-pem.patch create mode 100644 dev-libs/nss/files/nss-3.21-gentoo-fixup-warnings.patch create mode 100644 dev-libs/nss/files/nss-3.23-hppa-byte_order.patch create mode 100644 dev-libs/nss/files/nss-3.28-gentoo-fixups.patch create mode 100644 dev-libs/nss/files/nss-3.32-gentoo-fixups.patch create mode 100644 dev-libs/nss/metadata.xml create mode 100644 dev-libs/nss/nss-3.29.5.ebuild create mode 100644 dev-libs/nss/nss-3.32.1.ebuild create mode 100644 dev-libs/nss/nss-3.33.ebuild create mode 100644 dev-libs/ntl/Manifest create mode 100644 dev-libs/ntl/files/ntl-5.5.2-sage-tools.patch create mode 100644 dev-libs/ntl/files/ntl-5.5.2-shared-r1.patch create mode 100644 dev-libs/ntl/files/ntl-5.5.2-shared.patch create mode 100644 dev-libs/ntl/files/ntl-5.5.2-singular.patch create mode 100644 dev-libs/ntl/files/ntl-6.0.0-sage-tools.patch create mode 100644 dev-libs/ntl/files/ntl-6.0.0-singular.patch create mode 100644 dev-libs/ntl/files/ntl-9.2.0-sanitize-makefile.patch create mode 100644 dev-libs/ntl/files/ntl-9.2.0-singular.patch create mode 100644 dev-libs/ntl/files/ntl-9.6.4-sanitize-makefile.patch create mode 100644 dev-libs/ntl/metadata.xml create mode 100644 dev-libs/ntl/ntl-10.5.0.ebuild create mode 100644 dev-libs/ntl/ntl-5.5.2.ebuild create mode 100644 dev-libs/ntl/ntl-6.1.0.ebuild create mode 100644 dev-libs/ntl/ntl-9.3.0.ebuild create mode 100644 dev-libs/ntl/ntl-9.6.4.ebuild create mode 100644 dev-libs/ocl-icd/Manifest create mode 100644 dev-libs/ocl-icd/metadata.xml create mode 100644 dev-libs/ocl-icd/ocl-icd-2.1.3.ebuild create mode 100644 dev-libs/ocl-icd/ocl-icd-2.2.11.ebuild create mode 100644 dev-libs/ocl-icd/ocl-icd-2.2.3.ebuild create mode 100644 dev-libs/ocl-icd/ocl-icd-2.2.8.ebuild create mode 100644 dev-libs/oniguruma/Manifest create mode 100644 dev-libs/oniguruma/files/oniguruma-5.9.3-makefile.patch create mode 100644 dev-libs/oniguruma/files/oniguruma-5.9.6-CVE-2017-9224.patch create mode 100644 dev-libs/oniguruma/files/oniguruma-5.9.6-CVE-2017-9226.patch create mode 100644 dev-libs/oniguruma/files/oniguruma-5.9.6-CVE-2017-9227.patch create mode 100644 dev-libs/oniguruma/files/oniguruma-5.9.6-CVE-2017-9228.patch create mode 100644 dev-libs/oniguruma/files/oniguruma-5.9.6-CVE-2017-9229.patch create mode 100644 dev-libs/oniguruma/files/oniguruma-6.6.1-build.patch create mode 100644 dev-libs/oniguruma/files/oniguruma-combination-explosion-check.patch create mode 100644 dev-libs/oniguruma/files/oniguruma-gentoo.patch create mode 100644 dev-libs/oniguruma/metadata.xml create mode 100644 dev-libs/oniguruma/oniguruma-5.9.5.ebuild create mode 100644 dev-libs/oniguruma/oniguruma-5.9.6_p1-r1.ebuild create mode 100644 dev-libs/oniguruma/oniguruma-6.4.0.ebuild create mode 100644 dev-libs/oniguruma/oniguruma-6.6.1.ebuild create mode 100644 dev-libs/opencryptoki/Manifest create mode 100644 dev-libs/opencryptoki/files/pkcsslotd.init.2 create mode 100644 dev-libs/opencryptoki/metadata.xml create mode 100644 dev-libs/opencryptoki/opencryptoki-3.4.1.ebuild create mode 100644 dev-libs/opencryptoki/opencryptoki-3.6.1.ebuild create mode 100644 dev-libs/openct/Manifest create mode 100644 dev-libs/openct/files/openct.rc create mode 100644 dev-libs/openct/files/openct.rc.2 create mode 100644 dev-libs/openct/metadata.xml create mode 100644 dev-libs/openct/openct-0.6.20-r4.ebuild create mode 100644 dev-libs/openobex/Manifest create mode 100644 dev-libs/openobex/metadata.xml create mode 100644 dev-libs/openobex/openobex-1.7.1.ebuild create mode 100644 dev-libs/opensc/Manifest create mode 100644 dev-libs/opensc/files/opensc-0.17.0-build.patch create mode 100644 dev-libs/opensc/metadata.xml create mode 100644 dev-libs/opensc/opensc-0.16.0.ebuild create mode 100644 dev-libs/opensc/opensc-0.17.0.ebuild create mode 100644 dev-libs/openspecfun/Manifest create mode 100644 dev-libs/openspecfun/metadata.xml create mode 100644 dev-libs/openspecfun/openspecfun-0.5.1.ebuild create mode 100644 dev-libs/openssl/Manifest create mode 100644 dev-libs/openssl/files/gentoo.config-0.9.8 create mode 100755 dev-libs/openssl/files/gentoo.config-1.0.2 create mode 100644 dev-libs/openssl/files/openssl-0.9.8e-bsd-sparc64.patch create mode 100644 dev-libs/openssl/files/openssl-0.9.8h-ldflags.patch create mode 100644 dev-libs/openssl/files/openssl-0.9.8m-binutils.patch create mode 100644 dev-libs/openssl/files/openssl-1.0.0a-ldflags.patch create mode 100644 dev-libs/openssl/files/openssl-1.0.1p-default-source.patch create mode 100644 dev-libs/openssl/files/openssl-1.0.2-ipv6.patch create mode 100644 dev-libs/openssl/files/openssl-1.0.2a-parallel-install-dirs.patch create mode 100644 dev-libs/openssl/files/openssl-1.0.2a-parallel-obj-headers.patch create mode 100644 dev-libs/openssl/files/openssl-1.0.2a-parallel-symlinking.patch create mode 100644 dev-libs/openssl/files/openssl-1.0.2a-x32-asm.patch create mode 100644 dev-libs/openssl/files/openssl-1.0.2i-parallel-build.patch create mode 100644 dev-libs/openssl/metadata.xml create mode 100644 dev-libs/openssl/openssl-0.9.8z_p8.ebuild create mode 100644 dev-libs/openssl/openssl-1.0.2k.ebuild create mode 100644 dev-libs/openssl/openssl-1.0.2l.ebuild create mode 100644 dev-libs/openssl/openssl-1.1.0f.ebuild create mode 100644 dev-libs/ossp-uuid/Manifest create mode 100644 dev-libs/ossp-uuid/files/ossp-uuid-1.6.2-fix-data-uuid-from-string.patch create mode 100644 dev-libs/ossp-uuid/files/ossp-uuid-1.6.2-fix-whatis-entries.patch create mode 100644 dev-libs/ossp-uuid/files/ossp-uuid-1.6.2-gentoo-perl.patch create mode 100644 dev-libs/ossp-uuid/files/ossp-uuid-1.6.2-gentoo-php.patch create mode 100644 dev-libs/ossp-uuid/files/ossp-uuid-1.6.2-gentoo-r1.patch create mode 100644 dev-libs/ossp-uuid/files/ossp-uuid-1.6.2-hwaddr.patch create mode 100644 dev-libs/ossp-uuid/files/ossp-uuid-1.6.2-manfix.patch create mode 100644 dev-libs/ossp-uuid/files/ossp-uuid-1.6.2-php.patch create mode 100644 dev-libs/ossp-uuid/files/ossp-uuid-1.6.2-php70.patch create mode 100644 dev-libs/ossp-uuid/files/ossp-uuid-1.6.2-uuid-preserve-m-option-status-in-v-option-handling.patch create mode 100644 dev-libs/ossp-uuid/files/uuid-1.6.2-php54.patch create mode 100644 dev-libs/ossp-uuid/metadata.xml create mode 100644 dev-libs/ossp-uuid/ossp-uuid-1.6.2-r2.ebuild create mode 100644 dev-libs/ossp-uuid/ossp-uuid-1.6.2-r4.ebuild create mode 100644 dev-libs/ossp-uuid/ossp-uuid-1.6.2-r5.ebuild create mode 100644 dev-libs/ossp-uuid/ossp-uuid-1.6.2-r6.ebuild create mode 100644 dev-libs/pakchois/Manifest create mode 100644 dev-libs/pakchois/metadata.xml create mode 100644 dev-libs/pakchois/pakchois-0.4-r2.ebuild create mode 100644 dev-libs/papi/Manifest create mode 100644 dev-libs/papi/metadata.xml create mode 100644 dev-libs/papi/papi-5.3.0.ebuild create mode 100644 dev-libs/papi/papi-5.4.0.ebuild create mode 100644 dev-libs/papi/papi-5.5.1.ebuild create mode 100644 dev-libs/pcc-libs/Manifest create mode 100644 dev-libs/pcc-libs/files/pcc-libs-1.0.0-check-builtin.patch create mode 100644 dev-libs/pcc-libs/metadata.xml create mode 100644 dev-libs/pcc-libs/pcc-libs-1.0.0.ebuild create mode 100644 dev-libs/pcc-libs/pcc-libs-1.0.1_pre20121112.ebuild create mode 100644 dev-libs/pcc-libs/pcc-libs-1.0.1_pre20131013.ebuild create mode 100644 dev-libs/pcc-libs/pcc-libs-1.1.0.ebuild create mode 100644 dev-libs/pcc-libs/pcc-libs-9999.ebuild create mode 100644 dev-libs/pcl/Manifest create mode 100644 dev-libs/pcl/metadata.xml create mode 100644 dev-libs/pcl/pcl-1.12.ebuild create mode 100644 dev-libs/pcre++/Manifest create mode 100644 dev-libs/pcre++/metadata.xml create mode 100644 dev-libs/pcre++/pcre++-0.9.5-r1.ebuild create mode 100644 dev-libs/pegtl/Manifest create mode 100644 dev-libs/pegtl/metadata.xml create mode 100644 dev-libs/pegtl/pegtl-1.3.1-r1.ebuild create mode 100644 dev-libs/pegtl/pegtl-2.0.0.ebuild create mode 100644 dev-libs/pegtl/pegtl-2.0_pre1.ebuild create mode 100644 dev-libs/pegtl/pegtl-2.1.4.ebuild create mode 100644 dev-libs/pkcs11-helper/Manifest create mode 100644 dev-libs/pkcs11-helper/metadata.xml create mode 100644 dev-libs/pkcs11-helper/pkcs11-helper-1.21-r1.ebuild create mode 100644 dev-libs/poco/Manifest create mode 100644 dev-libs/poco/files/1.4.6_p4-gentoo.patch create mode 100644 dev-libs/poco/files/poco-1.4.4-patch-for-libpcre-8.32.patch create mode 100644 dev-libs/poco/files/poco-1.7.2-iodbc-incdir.patch create mode 100644 dev-libs/poco/metadata.xml create mode 100644 dev-libs/poco/poco-1.4.6_p4-r1.ebuild create mode 100644 dev-libs/poco/poco-1.4.6_p4.ebuild create mode 100644 dev-libs/poco/poco-1.7.6.ebuild create mode 100644 dev-libs/polylib/Manifest create mode 100644 dev-libs/polylib/files/polylib-9999-headers.patch create mode 100644 dev-libs/polylib/metadata.xml create mode 100644 dev-libs/polylib/polylib-9999.ebuild create mode 100644 dev-libs/popt/Manifest create mode 100644 dev-libs/popt/files/fix-popt-pkgconfig-libdir.patch create mode 100644 dev-libs/popt/metadata.xml create mode 100644 dev-libs/popt/popt-1.16-r2.ebuild create mode 100644 dev-libs/ppl/Manifest create mode 100644 dev-libs/ppl/files/ppl-fix-gmp-5.1.0.patch create mode 100644 dev-libs/ppl/metadata.xml create mode 100644 dev-libs/ppl/ppl-0.12.1-r1.ebuild create mode 100644 dev-libs/ppl/ppl-1.1.ebuild create mode 100644 dev-libs/ppl/ppl-1.2.ebuild create mode 100644 dev-libs/protobuf-c/Manifest create mode 100644 dev-libs/protobuf-c/files/protobuf-c-1.1.0-no-build-tests.patch create mode 100644 dev-libs/protobuf-c/files/protobuf-c-1.2.0-no-build-tests.patch create mode 100644 dev-libs/protobuf-c/files/protobuf-c-1.3.0-no-build-tests.patch create mode 100644 dev-libs/protobuf-c/files/protobuf-c-1.3.0-restore-protobuf-2-compatibility.patch create mode 100644 dev-libs/protobuf-c/metadata.xml create mode 100644 dev-libs/protobuf-c/protobuf-c-1.0.2-r1.ebuild create mode 100644 dev-libs/protobuf-c/protobuf-c-1.1.1.ebuild create mode 100644 dev-libs/protobuf-c/protobuf-c-1.2.1-r1.ebuild create mode 100644 dev-libs/protobuf-c/protobuf-c-1.3.0-r1.ebuild create mode 100644 dev-libs/protobuf-c/protobuf-c-1.3.0.ebuild create mode 100644 dev-libs/protobuf/Manifest create mode 100644 dev-libs/protobuf/files/70protobuf-gentoo.el create mode 100644 dev-libs/protobuf/files/proto.vim create mode 100644 dev-libs/protobuf/files/protobuf-2.3.0-asneeded-2.patch create mode 100644 dev-libs/protobuf/files/protobuf-2.5.0-emacs-24.4.patch create mode 100644 dev-libs/protobuf/files/protobuf-2.5.0-x32.patch create mode 100644 dev-libs/protobuf/files/protobuf-2.6.1-protoc-cmdline.patch create mode 100644 dev-libs/protobuf/files/protobuf-3.0.0_beta2-disable-local-gmock.patch create mode 100644 dev-libs/protobuf/files/protobuf-3.0.2-disable-local-gmock.patch create mode 100644 dev-libs/protobuf/files/protobuf-3.3.0-disable-local-gmock.patch create mode 100644 dev-libs/protobuf/files/protobuf-3.4.0-disable_no-warning-test.patch create mode 100644 dev-libs/protobuf/files/protobuf-3.4.0-protoc_input_output_files.patch create mode 100644 dev-libs/protobuf/files/protobuf-3.4.0-system_libraries.patch create mode 100644 dev-libs/protobuf/metadata.xml create mode 100644 dev-libs/protobuf/protobuf-2.5.0-r2.ebuild create mode 100644 dev-libs/protobuf/protobuf-2.6.1-r3.ebuild create mode 100644 dev-libs/protobuf/protobuf-3.0.0_beta3_p1.ebuild create mode 100644 dev-libs/protobuf/protobuf-3.0.2.ebuild create mode 100644 dev-libs/protobuf/protobuf-3.1.0.ebuild create mode 100644 dev-libs/protobuf/protobuf-3.3.0.ebuild create mode 100644 dev-libs/protobuf/protobuf-3.4.1.ebuild create mode 100644 dev-libs/pslib/Manifest create mode 100644 dev-libs/pslib/files/pslib-getline.patch create mode 100644 dev-libs/pslib/files/pslib-lm.patch create mode 100644 dev-libs/pslib/metadata.xml create mode 100644 dev-libs/pslib/pslib-0.4.1-r2.ebuild create mode 100644 dev-libs/pslib/pslib-0.4.5.ebuild create mode 100644 dev-libs/ptexenc/Manifest create mode 100644 dev-libs/ptexenc/metadata.xml create mode 100644 dev-libs/ptexenc/ptexenc-1.3.4_p20160523.ebuild create mode 100644 dev-libs/ptexenc/ptexenc-1.3.5_p20170524.ebuild create mode 100644 dev-libs/pugixml/Manifest create mode 100644 dev-libs/pugixml/metadata.xml create mode 100644 dev-libs/pugixml/pugixml-1.8.ebuild create mode 100644 dev-libs/purpose/Manifest create mode 100644 dev-libs/purpose/metadata.xml create mode 100644 dev-libs/purpose/purpose-1.1-r1.ebuild create mode 100644 dev-libs/qcustomplot/Manifest create mode 100644 dev-libs/qcustomplot/metadata.xml create mode 100644 dev-libs/qcustomplot/qcustomplot-1.3.2.ebuild create mode 100644 dev-libs/qjson/Manifest create mode 100644 dev-libs/qjson/files/qjson-0.9.0-featuresummary.patch create mode 100644 dev-libs/qjson/files/qjson-0.9.0-gnuinstalldirs.patch create mode 100644 dev-libs/qjson/metadata.xml create mode 100644 dev-libs/qjson/qjson-0.8.1-r1.ebuild create mode 100644 dev-libs/qjson/qjson-0.9.0.ebuild create mode 100644 dev-libs/qoauth/Manifest create mode 100644 dev-libs/qoauth/files/qoauth-1.0.1-disable-ft.patch create mode 100644 dev-libs/qoauth/files/qoauth-2.0.1_pre20160315-prf.patch create mode 100644 dev-libs/qoauth/metadata.xml create mode 100644 dev-libs/qoauth/qoauth-1.0.1.ebuild create mode 100644 dev-libs/qoauth/qoauth-2.0.1_pre20160315-r1.ebuild create mode 100644 dev-libs/qoauth/qoauth-2.0.1_pre20160315-r2.ebuild create mode 100644 dev-libs/qof/Manifest create mode 100644 dev-libs/qof/files/qof-0.8.8-cflags.patch create mode 100644 dev-libs/qof/files/qof-0.8.8-unistd-define.patch create mode 100644 dev-libs/qof/files/qof-0.8.8-unittest.patch create mode 100644 dev-libs/qof/files/qof-0.8.8-yacc-build.patch create mode 100644 dev-libs/qof/metadata.xml create mode 100644 dev-libs/qof/qof-0.8.8-r1.ebuild create mode 100644 dev-libs/qqwing/Manifest create mode 100644 dev-libs/qqwing/files/qqwing-1.3.0-autotools.patch create mode 100644 dev-libs/qqwing/metadata.xml create mode 100644 dev-libs/qqwing/qqwing-1.3.3.ebuild create mode 100644 dev-libs/qqwing/qqwing-1.3.4.ebuild create mode 100644 dev-libs/qrosscore/Manifest create mode 100644 dev-libs/qrosscore/metadata.xml create mode 100644 dev-libs/qrosscore/qrosscore-0.3.2.ebuild create mode 100644 dev-libs/qrosscore/qrosscore-9999.ebuild create mode 100644 dev-libs/qrosspython/Manifest create mode 100644 dev-libs/qrosspython/metadata.xml create mode 100644 dev-libs/qrosspython/qrosspython-0.3.2.ebuild create mode 100644 dev-libs/qrosspython/qrosspython-9999.ebuild create mode 100644 dev-libs/qtkeychain/Manifest create mode 100644 dev-libs/qtkeychain/metadata.xml create mode 100644 dev-libs/qtkeychain/qtkeychain-0.7.0.ebuild create mode 100644 dev-libs/qtkeychain/qtkeychain-0.8.0.ebuild create mode 100644 dev-libs/quantlib/Manifest create mode 100644 dev-libs/quantlib/files/50quantlib-gentoo.el create mode 100644 dev-libs/quantlib/metadata.xml create mode 100644 dev-libs/quantlib/quantlib-1.6.ebuild create mode 100644 dev-libs/quantlib/quantlib-1.7.1.ebuild create mode 100644 dev-libs/quazip/Manifest create mode 100644 dev-libs/quazip/metadata.xml create mode 100644 dev-libs/quazip/quazip-0.7.2-r1.ebuild create mode 100644 dev-libs/quazip/quazip-0.7.3.ebuild create mode 100644 dev-libs/rapidjson/Manifest create mode 100644 dev-libs/rapidjson/metadata.xml create mode 100644 dev-libs/rapidjson/rapidjson-1.1.0.ebuild create mode 100644 dev-libs/rapidjson/rapidjson-9999.ebuild create mode 100644 dev-libs/rapidxml/Manifest create mode 100644 dev-libs/rapidxml/files/rapidxml-1.13-clang.patch create mode 100644 dev-libs/rapidxml/metadata.xml create mode 100644 dev-libs/rapidxml/rapidxml-1.13-r1.ebuild create mode 100644 dev-libs/rapidxml/rapidxml-1.13.ebuild create mode 100644 dev-libs/rasqal/Manifest create mode 100644 dev-libs/rasqal/metadata.xml create mode 100644 dev-libs/rasqal/rasqal-0.9.29.ebuild create mode 100644 dev-libs/rasqal/rasqal-0.9.32.ebuild create mode 100644 dev-libs/re2/Manifest create mode 100644 dev-libs/re2/files/0.2016.05.01-pkgconfig.patch create mode 100644 dev-libs/re2/metadata.xml create mode 100644 dev-libs/re2/re2-0.2016.05.01.ebuild create mode 100644 dev-libs/re2/re2-0.2016.11.01-r1.ebuild create mode 100644 dev-libs/re2/re2-0.2017.03.01.ebuild create mode 100644 dev-libs/redland-bindings/Manifest create mode 100644 dev-libs/redland-bindings/metadata.xml create mode 100644 dev-libs/redland-bindings/redland-bindings-1.0.14.1-r2.ebuild create mode 100644 dev-libs/redland/Manifest create mode 100644 dev-libs/redland/metadata.xml create mode 100644 dev-libs/redland/redland-1.0.15.ebuild create mode 100644 dev-libs/redland/redland-1.0.16.ebuild create mode 100644 dev-libs/redland/redland-1.0.17-r1.ebuild create mode 100644 dev-libs/redland/redland-1.0.17.ebuild create mode 100644 dev-libs/replicant/Manifest create mode 100644 dev-libs/replicant/metadata.xml create mode 100644 dev-libs/replicant/replicant-0.6.4.ebuild create mode 100644 dev-libs/replicant/replicant-0.7.1.ebuild create mode 100644 dev-libs/replicant/replicant-0.8.0.ebuild create mode 100644 dev-libs/replicant/replicant-0.8.1.ebuild create mode 100644 dev-libs/rlog/Manifest create mode 100644 dev-libs/rlog/files/rlog-1.3.7-gcc-4.3.patch create mode 100644 dev-libs/rlog/metadata.xml create mode 100644 dev-libs/rlog/rlog-1.4.ebuild create mode 100644 dev-libs/rote/Manifest create mode 100644 dev-libs/rote/metadata.xml create mode 100644 dev-libs/rote/rote-0.2.8.ebuild create mode 100644 dev-libs/rremove/Manifest create mode 100644 dev-libs/rremove/metadata.xml create mode 100644 dev-libs/rremove/rremove-1.0.5.ebuild create mode 100644 dev-libs/sblim-sfcc/Manifest create mode 100644 dev-libs/sblim-sfcc/metadata.xml create mode 100644 dev-libs/sblim-sfcc/sblim-sfcc-2.2.5.ebuild create mode 100644 dev-libs/sdformat/Manifest create mode 100644 dev-libs/sdformat/files/urdfdom1.patch create mode 100644 dev-libs/sdformat/metadata.xml create mode 100644 dev-libs/sdformat/sdformat-5.2.0.ebuild create mode 100644 dev-libs/serd/Manifest create mode 100644 dev-libs/serd/metadata.xml create mode 100644 dev-libs/serd/serd-0.26.0.ebuild create mode 100644 dev-libs/serd/serd-0.28.0.ebuild create mode 100644 dev-libs/serdisplib/Manifest create mode 100644 dev-libs/serdisplib/metadata.xml create mode 100644 dev-libs/serdisplib/serdisplib-1.97.9.ebuild create mode 100644 dev-libs/shhopt/Manifest create mode 100644 dev-libs/shhopt/files/shhopt-1.1.7-build.patch create mode 100644 dev-libs/shhopt/metadata.xml create mode 100644 dev-libs/shhopt/shhopt-1.1.7-r2.ebuild create mode 100644 dev-libs/sink/Manifest create mode 100644 dev-libs/sink/metadata.xml create mode 100644 dev-libs/sink/sink-0.3.0-r1.ebuild create mode 100644 dev-libs/skalibs/Manifest create mode 100644 dev-libs/skalibs/metadata.xml create mode 100644 dev-libs/skalibs/skalibs-2.3.10.0.ebuild create mode 100644 dev-libs/skalibs/skalibs-2.3.2.0.ebuild create mode 100644 dev-libs/skalibs/skalibs-2.3.9.0.ebuild create mode 100644 dev-libs/skalibs/skalibs-2.4.0.2.ebuild create mode 100644 dev-libs/skalibs/skalibs-2.5.0.0.ebuild create mode 100644 dev-libs/skalibs/skalibs-2.5.1.1.ebuild create mode 100644 dev-libs/skalibs/skalibs-2.6.0.0.ebuild create mode 100644 dev-libs/smack/Manifest create mode 100644 dev-libs/smack/metadata.xml create mode 100644 dev-libs/smack/smack-0.5.0.ebuild create mode 100644 dev-libs/sni-qt/Manifest create mode 100644 dev-libs/sni-qt/metadata.xml create mode 100644 dev-libs/sni-qt/sni-qt-0.2.6-r1.ebuild create mode 100644 dev-libs/snowball-stemmer/Manifest create mode 100644 dev-libs/snowball-stemmer/files/libstemmer_c-shared-library.patch create mode 100644 dev-libs/snowball-stemmer/metadata.xml create mode 100644 dev-libs/snowball-stemmer/snowball-stemmer-0.20140325.ebuild create mode 100644 dev-libs/socketstream/Manifest create mode 100644 dev-libs/socketstream/files/0.7.0-missing_includes.patch create mode 100644 dev-libs/socketstream/files/socketstream-0.7.0-gcc47.patch create mode 100644 dev-libs/socketstream/metadata.xml create mode 100644 dev-libs/socketstream/socketstream-0.7.0-r1.ebuild create mode 100644 dev-libs/softhsm/Manifest create mode 100644 dev-libs/softhsm/metadata.xml create mode 100644 dev-libs/softhsm/softhsm-2.3.0.ebuild create mode 100644 dev-libs/sord/Manifest create mode 100644 dev-libs/sord/metadata.xml create mode 100644 dev-libs/sord/sord-0.12.0.ebuild create mode 100644 dev-libs/sord/sord-0.12.2.ebuild create mode 100644 dev-libs/sord/sord-0.14.0.ebuild create mode 100644 dev-libs/sord/sord-0.16.0.ebuild create mode 100644 dev-libs/spdlog/Manifest create mode 100644 dev-libs/spdlog/files/spdlog-0.14.0-CMakeLists.txt create mode 100644 dev-libs/spdlog/metadata.xml create mode 100644 dev-libs/spdlog/spdlog-0.13.0.ebuild create mode 100644 dev-libs/spdlog/spdlog-0.14.0-r1.ebuild create mode 100644 dev-libs/spdlog/spdlog-0.14.0.ebuild create mode 100644 dev-libs/spdlog/spdlog-9999.ebuild create mode 100644 dev-libs/squareball/Manifest create mode 100644 dev-libs/squareball/metadata.xml create mode 100644 dev-libs/squareball/squareball-0.2.0.ebuild create mode 100644 dev-libs/squareball/squareball-9999.ebuild create mode 100644 dev-libs/starpu/Manifest create mode 100644 dev-libs/starpu/metadata.xml create mode 100644 dev-libs/starpu/starpu-1.1.5-r1.ebuild create mode 100644 dev-libs/starpu/starpu-1.1.5.ebuild create mode 100644 dev-libs/stfl/Manifest create mode 100644 dev-libs/stfl/files/stfl-0.21-python.patch create mode 100644 dev-libs/stfl/files/stfl-0.22-ruby-sharedlib.patch create mode 100644 dev-libs/stfl/files/stfl-0.22-soname-symlink.patch create mode 100644 dev-libs/stfl/metadata.xml create mode 100644 dev-libs/stfl/stfl-0.24.ebuild create mode 100644 dev-libs/stlsoft/Manifest create mode 100644 dev-libs/stlsoft/metadata.xml create mode 100644 dev-libs/stlsoft/stlsoft-1.9.111.ebuild create mode 100644 dev-libs/svrcore/Manifest create mode 100644 dev-libs/svrcore/files/svrcore-4.0.4-gentoo.patch create mode 100644 dev-libs/svrcore/files/svrcore-4.1-gentoo.patch create mode 100644 dev-libs/svrcore/metadata.xml create mode 100644 dev-libs/svrcore/svrcore-4.0.4-r1.ebuild create mode 100644 dev-libs/svrcore/svrcore-4.1.2.ebuild create mode 100644 dev-libs/sway/Manifest create mode 100644 dev-libs/sway/metadata.xml create mode 100644 dev-libs/sway/sway-0.13.0.ebuild create mode 100644 dev-libs/sway/sway-0.14.0.ebuild create mode 100644 dev-libs/sway/sway-9999.ebuild create mode 100644 dev-libs/syncdir/Manifest create mode 100644 dev-libs/syncdir/metadata.xml create mode 100644 dev-libs/syncdir/syncdir-1.0-r1.ebuild create mode 100644 dev-libs/tinyxml/Manifest create mode 100644 dev-libs/tinyxml/files/Makefile-3 create mode 100644 dev-libs/tinyxml/files/tinyxml-2.6.1-entity.patch create mode 100644 dev-libs/tinyxml/files/tinyxml-2.6.2-defineSTL.patch create mode 100644 dev-libs/tinyxml/metadata.xml create mode 100644 dev-libs/tinyxml/tinyxml-2.6.2-r2.ebuild create mode 100644 dev-libs/tinyxml2/Manifest create mode 100644 dev-libs/tinyxml2/files/tinyxml2-1.0.9_p20121123-test.patch create mode 100644 dev-libs/tinyxml2/files/tinyxml2-4.0.1-optional-tests.patch create mode 100644 dev-libs/tinyxml2/files/tinyxml2-4.0.1-xmltest.patch create mode 100644 dev-libs/tinyxml2/metadata.xml create mode 100644 dev-libs/tinyxml2/tinyxml2-2.2.0.ebuild create mode 100644 dev-libs/tinyxml2/tinyxml2-3.0.0.ebuild create mode 100644 dev-libs/tinyxml2/tinyxml2-4.0.1.ebuild create mode 100644 dev-libs/tinyxml2/tinyxml2-5.0.1.ebuild create mode 100644 dev-libs/tntnet/Manifest create mode 100644 dev-libs/tntnet/files/tntnet-2.0-zlib-minizip.patch create mode 100644 dev-libs/tntnet/files/tntnet.initd create mode 100644 dev-libs/tntnet/metadata.xml create mode 100644 dev-libs/tntnet/tntnet-2.2.1-r1.ebuild create mode 100644 dev-libs/tntnet/tntnet-2.2.1.ebuild create mode 100644 dev-libs/totem-pl-parser/Manifest create mode 100644 dev-libs/totem-pl-parser/files/totem-pl-parser-3.10.8-gmime-automagic.patch create mode 100644 dev-libs/totem-pl-parser/metadata.xml create mode 100644 dev-libs/totem-pl-parser/totem-pl-parser-3.10.7.ebuild create mode 100644 dev-libs/totem-pl-parser/totem-pl-parser-3.10.8.ebuild create mode 100644 dev-libs/tre/Manifest create mode 100644 dev-libs/tre/files/0.8.0-pkgcfg.patch create mode 100644 dev-libs/tre/metadata.xml create mode 100644 dev-libs/tre/tre-0.8.0-r1.ebuild create mode 100644 dev-libs/tut/Manifest create mode 100644 dev-libs/tut/metadata.xml create mode 100644 dev-libs/tut/tut-2013.12.18.ebuild create mode 100644 dev-libs/tut/tut-2016.12.19.ebuild create mode 100644 dev-libs/tvision/Manifest create mode 100644 dev-libs/tvision/files/tvision-2.1.0_pre2-asneeded.patch create mode 100644 dev-libs/tvision/files/tvision-2.1.0_pre2-build-system.patch create mode 100644 dev-libs/tvision/files/tvision-2.1.0_pre2-flags.patch create mode 100644 dev-libs/tvision/files/tvision-2.1.0_pre2-gcc41.patch create mode 100644 dev-libs/tvision/files/tvision-2.1.0_pre2-gcc44.patch create mode 100644 dev-libs/tvision/files/tvision-2.1.0_pre2-gcc6.patch create mode 100644 dev-libs/tvision/files/tvision-2.1.0_pre2-ldconfig.patch create mode 100644 dev-libs/tvision/files/tvision-2.1.0_pre2-outb.patch create mode 100644 dev-libs/tvision/files/tvision-2.1.0_pre2-underflow.patch create mode 100644 dev-libs/tvision/metadata.xml create mode 100644 dev-libs/tvision/tvision-2.1.0_pre2-r4.ebuild create mode 100644 dev-libs/tvmet/Manifest create mode 100644 dev-libs/tvmet/files/tvmet-1.7.2-respect-cxxflags.patch create mode 100644 dev-libs/tvmet/metadata.xml create mode 100644 dev-libs/tvmet/tvmet-1.7.2-r2.ebuild create mode 100644 dev-libs/ucl/Manifest create mode 100644 dev-libs/ucl/files/ucl-1.03-CFLAGS.patch create mode 100644 dev-libs/ucl/files/ucl-1.03-x32.patch create mode 100644 dev-libs/ucl/metadata.xml create mode 100644 dev-libs/ucl/ucl-1.03-r1.ebuild create mode 100644 dev-libs/ucommon/Manifest create mode 100644 dev-libs/ucommon/files/6.1/disable_rtf_gen_doxy.patch create mode 100644 dev-libs/ucommon/files/6.1/gcrypt_autotools.patch create mode 100644 dev-libs/ucommon/files/6.1/install_gcrypt.m4_file.patch create mode 100644 dev-libs/ucommon/files/disable_rtf_gen_doxy.patch create mode 100644 dev-libs/ucommon/files/gcrypt_autotools.patch create mode 100644 dev-libs/ucommon/files/install_gcrypt.m4_file.patch create mode 100644 dev-libs/ucommon/files/ucommon-6.3.1-gcrypt_autotools.patch create mode 100644 dev-libs/ucommon/metadata.xml create mode 100644 dev-libs/ucommon/ucommon-6.0.3.ebuild create mode 100644 dev-libs/ucommon/ucommon-6.1.10.ebuild create mode 100644 dev-libs/ucommon/ucommon-6.3.1.ebuild create mode 100644 dev-libs/ucommon/ucommon-6.5.2.ebuild create mode 100644 dev-libs/ucommon/ucommon-6.5.7.ebuild create mode 100644 dev-libs/udis86/Manifest create mode 100644 dev-libs/udis86/files/udis86-1.7-yasm.patch create mode 100644 dev-libs/udis86/files/udis86-1.7.2-docdir.patch create mode 100644 dev-libs/udis86/metadata.xml create mode 100644 dev-libs/udis86/udis86-1.7-r2.ebuild create mode 100644 dev-libs/udis86/udis86-1.7.2.ebuild create mode 100644 dev-libs/unibilium/Manifest create mode 100644 dev-libs/unibilium/metadata.xml create mode 100644 dev-libs/unibilium/unibilium-1.1.4.ebuild create mode 100644 dev-libs/unibilium/unibilium-1.2.0.ebuild create mode 100644 dev-libs/unibilium/unibilium-1.2.1.ebuild create mode 100644 dev-libs/unittest++/Manifest create mode 100644 dev-libs/unittest++/metadata.xml create mode 100644 dev-libs/unittest++/unittest++-1.6.1.ebuild create mode 100644 dev-libs/unittest++/unittest++-2.0.0.ebuild create mode 100644 dev-libs/univalue/Manifest create mode 100644 dev-libs/univalue/metadata.xml create mode 100644 dev-libs/univalue/univalue-1.0.2.ebuild create mode 100644 dev-libs/urdfdom/Manifest create mode 100644 dev-libs/urdfdom/metadata.xml create mode 100644 dev-libs/urdfdom/urdfdom-0.4.2.ebuild create mode 100644 dev-libs/urdfdom/urdfdom-1.0.0.ebuild create mode 100644 dev-libs/urdfdom/urdfdom-9999.ebuild create mode 100644 dev-libs/urdfdom_headers/Manifest create mode 100644 dev-libs/urdfdom_headers/metadata.xml create mode 100644 dev-libs/urdfdom_headers/urdfdom_headers-0.4.2.ebuild create mode 100644 dev-libs/urdfdom_headers/urdfdom_headers-1.0.0.ebuild create mode 100644 dev-libs/urdfdom_headers/urdfdom_headers-9999.ebuild create mode 100644 dev-libs/uriparser/Manifest create mode 100644 dev-libs/uriparser/files/uriparser-0.8.1-doc-install.patch create mode 100644 dev-libs/uriparser/metadata.xml create mode 100644 dev-libs/uriparser/uriparser-0.7.9.ebuild create mode 100644 dev-libs/uriparser/uriparser-0.8.0.ebuild create mode 100644 dev-libs/uriparser/uriparser-0.8.1.ebuild create mode 100644 dev-libs/uriparser/uriparser-0.8.2.ebuild create mode 100644 dev-libs/uriparser/uriparser-0.8.3.ebuild create mode 100644 dev-libs/uriparser/uriparser-0.8.4.ebuild create mode 100644 dev-libs/userspace-rcu/Manifest create mode 100644 dev-libs/userspace-rcu/metadata.xml create mode 100644 dev-libs/userspace-rcu/userspace-rcu-0.10.0.ebuild create mode 100644 dev-libs/userspace-rcu/userspace-rcu-0.9.1.ebuild create mode 100644 dev-libs/userspace-rcu/userspace-rcu-0.9.2.ebuild create mode 100644 dev-libs/ustr/Manifest create mode 100644 dev-libs/ustr/files/ustr-1.0.4-build-libs.patch create mode 100644 dev-libs/ustr/files/ustr-1.0.4-gcc_5-check.patch create mode 100644 dev-libs/ustr/metadata.xml create mode 100644 dev-libs/ustr/ustr-1.0.4-r5.ebuild create mode 100644 dev-libs/ustr/ustr-1.0.4-r7.ebuild create mode 100644 dev-libs/ustr/ustr-1.0.4-r8.ebuild create mode 100644 dev-libs/utfcpp/Manifest create mode 100644 dev-libs/utfcpp/metadata.xml create mode 100644 dev-libs/utfcpp/utfcpp-2.3.4.ebuild create mode 100644 dev-libs/uthash/Manifest create mode 100644 dev-libs/uthash/metadata.xml create mode 100644 dev-libs/uthash/uthash-1.9.7.ebuild create mode 100644 dev-libs/uthash/uthash-1.9.9.ebuild create mode 100644 dev-libs/uulib/Manifest create mode 100644 dev-libs/uulib/files/uulib-0.5.20-shared.patch create mode 100644 dev-libs/uulib/metadata.xml create mode 100644 dev-libs/uulib/uulib-0.5.20-r1.ebuild create mode 100644 dev-libs/uulib/uulib-0.5.20.ebuild create mode 100644 dev-libs/vala-common/Manifest create mode 100644 dev-libs/vala-common/metadata.xml create mode 100644 dev-libs/vala-common/vala-common-0.32.1.ebuild create mode 100644 dev-libs/vala-common/vala-common-0.34.8.ebuild create mode 100644 dev-libs/vala-common/vala-common-0.34.9.ebuild create mode 100644 dev-libs/vala-common/vala-common-0.36.4.ebuild create mode 100644 dev-libs/vala-common/vala-common-0.36.5.ebuild create mode 100644 dev-libs/vanessa-adt/Manifest create mode 100644 dev-libs/vanessa-adt/metadata.xml create mode 100644 dev-libs/vanessa-adt/vanessa-adt-0.0.6.ebuild create mode 100644 dev-libs/vanessa-adt/vanessa-adt-0.0.9.ebuild create mode 100644 dev-libs/vanessa-logger/Manifest create mode 100644 dev-libs/vanessa-logger/metadata.xml create mode 100644 dev-libs/vanessa-logger/vanessa-logger-0.0.10.ebuild create mode 100644 dev-libs/vc/Manifest create mode 100644 dev-libs/vc/metadata.xml create mode 100644 dev-libs/vc/vc-0.7.4.ebuild create mode 100644 dev-libs/vc/vc-1.2.0.ebuild create mode 100644 dev-libs/vc/vc-1.3.0.ebuild create mode 100644 dev-libs/vc/vc-1.3.1.ebuild create mode 100644 dev-libs/vc/vc-1.3.2.ebuild create mode 100644 dev-libs/volume_key/Manifest create mode 100644 dev-libs/volume_key/files/volume_key-0.3.9-config.h.diff create mode 100644 dev-libs/volume_key/files/volume_key-0.3.9-find_python.patch create mode 100644 dev-libs/volume_key/metadata.xml create mode 100644 dev-libs/volume_key/volume_key-0.3.9.ebuild create mode 100644 dev-libs/wayland-protocols/Manifest create mode 100644 dev-libs/wayland-protocols/metadata.xml create mode 100644 dev-libs/wayland-protocols/wayland-protocols-1.10.ebuild create mode 100644 dev-libs/wayland-protocols/wayland-protocols-1.7.ebuild create mode 100644 dev-libs/wayland-protocols/wayland-protocols-1.8.ebuild create mode 100644 dev-libs/wayland-protocols/wayland-protocols-1.9.ebuild create mode 100644 dev-libs/wayland-protocols/wayland-protocols-9999.ebuild create mode 100644 dev-libs/wayland/Manifest create mode 100644 dev-libs/wayland/metadata.xml create mode 100644 dev-libs/wayland/wayland-1.12.0.ebuild create mode 100644 dev-libs/wayland/wayland-1.13.0.ebuild create mode 100644 dev-libs/wayland/wayland-1.14.0.ebuild create mode 100644 dev-libs/wayland/wayland-9999.ebuild create mode 100644 dev-libs/weston/Manifest create mode 100644 dev-libs/weston/files/README.gentoo create mode 100644 dev-libs/weston/metadata.xml create mode 100644 dev-libs/weston/weston-1.11.0.ebuild create mode 100644 dev-libs/weston/weston-1.9.0.ebuild create mode 100644 dev-libs/weston/weston-3.0.0.ebuild create mode 100644 dev-libs/weston/weston-9999.ebuild create mode 100644 dev-libs/wlc/Manifest create mode 100644 dev-libs/wlc/metadata.xml create mode 100644 dev-libs/wlc/wlc-0.0.10.ebuild create mode 100644 dev-libs/wlc/wlc-0.0.9.ebuild create mode 100644 dev-libs/wlc/wlc-9999.ebuild create mode 100644 dev-libs/wnn7sdk/Manifest create mode 100644 dev-libs/wnn7sdk/files/wnn7sdk-gcc4.patch create mode 100644 dev-libs/wnn7sdk/files/wnn7sdk-gentoo.patch create mode 100644 dev-libs/wnn7sdk/files/wnn7sdk-malloc.patch create mode 100644 dev-libs/wnn7sdk/files/wnn7sdk-qa.patch create mode 100644 dev-libs/wnn7sdk/metadata.xml create mode 100644 dev-libs/wnn7sdk/wnn7sdk-20011017-r1.ebuild create mode 100644 dev-libs/wnn7sdk/wnn7sdk-20011017.ebuild create mode 100644 dev-libs/xalan-c/Manifest create mode 100644 dev-libs/xalan-c/files/1.11.0_pre797991-as-needed.patch create mode 100644 dev-libs/xalan-c/files/1.11.0_pre797991-bugfixes.patch create mode 100644 dev-libs/xalan-c/files/1.11.0_pre797991-parallel-build.patch create mode 100644 dev-libs/xalan-c/metadata.xml create mode 100644 dev-libs/xalan-c/xalan-c-1.11.0_pre1153059.ebuild create mode 100644 dev-libs/xapian-bindings/Manifest create mode 100644 dev-libs/xapian-bindings/files/xapian-bindings-1.3.6-allow-ruby-2.0.patch create mode 100644 dev-libs/xapian-bindings/metadata.xml create mode 100644 dev-libs/xapian-bindings/xapian-bindings-1.2.22.ebuild create mode 100644 dev-libs/xapian-bindings/xapian-bindings-1.2.24.ebuild create mode 100644 dev-libs/xapian-bindings/xapian-bindings-1.2.25.ebuild create mode 100644 dev-libs/xapian-bindings/xapian-bindings-1.4.4.ebuild create mode 100644 dev-libs/xapian/Manifest create mode 100644 dev-libs/xapian/metadata.xml create mode 100644 dev-libs/xapian/xapian-1.2.22.ebuild create mode 100644 dev-libs/xapian/xapian-1.2.24.ebuild create mode 100644 dev-libs/xapian/xapian-1.2.25.ebuild create mode 100644 dev-libs/xapian/xapian-1.4.4.ebuild create mode 100644 dev-libs/xerces-c/Manifest create mode 100644 dev-libs/xerces-c/files/50xerces-c create mode 100644 dev-libs/xerces-c/files/xerces-c-3.1.4-fix-build-system.patch create mode 100644 dev-libs/xerces-c/metadata.xml create mode 100644 dev-libs/xerces-c/xerces-c-3.1.4-r1.ebuild create mode 100644 dev-libs/xml-security-c/Manifest create mode 100644 dev-libs/xml-security-c/files/xml-security-c-1.6.1-nss-compilation-fix.patch create mode 100644 dev-libs/xml-security-c/files/xml-security-c-1.7.3-fix-c++14.patch create mode 100644 dev-libs/xml-security-c/metadata.xml create mode 100644 dev-libs/xml-security-c/xml-security-c-1.7.3.ebuild create mode 100644 dev-libs/xmlrpc-c/Manifest create mode 100644 dev-libs/xmlrpc-c/files/xmlrpc-c-1.32.05-Wimplicit.patch create mode 100644 dev-libs/xmlrpc-c/files/xmlrpc-c-1.39.11-cplusplus.patch create mode 100644 dev-libs/xmlrpc-c/metadata.xml create mode 100644 dev-libs/xmlrpc-c/xmlrpc-c-1.32.05-r1.ebuild create mode 100644 dev-libs/xmlrpc-c/xmlrpc-c-1.39.11-r1.ebuild create mode 100644 dev-libs/xmlrpc-epi/Manifest create mode 100644 dev-libs/xmlrpc-epi/metadata.xml create mode 100644 dev-libs/xmlrpc-epi/xmlrpc-epi-0.54.2.ebuild create mode 100644 dev-libs/xmlsec/Manifest create mode 100644 dev-libs/xmlsec/metadata.xml create mode 100644 dev-libs/xmlsec/xmlsec-1.2.23.ebuild create mode 100644 dev-libs/xmlsec/xmlsec-1.2.24-r1.ebuild create mode 100644 dev-libs/xmlsec/xmlsec-1.2.24.ebuild create mode 100644 dev-libs/xmlwrapp/Manifest create mode 100644 dev-libs/xmlwrapp/metadata.xml create mode 100644 dev-libs/xmlwrapp/xmlwrapp-0.7.1-r1.ebuild create mode 100644 dev-libs/xmlwrapp/xmlwrapp-0.7.1.ebuild create mode 100644 dev-libs/xplc/Manifest create mode 100644 dev-libs/xplc/files/xplc-0.3.13-as-needed.patch create mode 100644 dev-libs/xplc/metadata.xml create mode 100644 dev-libs/xplc/xplc-0.3.13-r1.ebuild create mode 100644 dev-libs/xqilla/Manifest create mode 100644 dev-libs/xqilla/files/2.2.4-respect-ldflags-no-rpath.patch create mode 100644 dev-libs/xqilla/metadata.xml create mode 100644 dev-libs/xqilla/xqilla-2.3.3.ebuild create mode 100644 dev-libs/yajl/Manifest create mode 100644 dev-libs/yajl/files/yajl-2.0.4-pkgconfig_multilib.patch create mode 100644 dev-libs/yajl/files/yajl-fix_static_linking.patch create mode 100644 dev-libs/yajl/metadata.xml create mode 100644 dev-libs/yajl/yajl-2.0.4-r3.ebuild create mode 100644 dev-libs/yajl/yajl-2.1.0.ebuild create mode 100644 dev-libs/yaz/Manifest create mode 100644 dev-libs/yaz/files/yaz-3.0.47-icu-automagic.patch create mode 100644 dev-libs/yaz/metadata.xml create mode 100644 dev-libs/yaz/yaz-3.0.53.ebuild create mode 100644 dev-libs/zlog/Manifest create mode 100644 dev-libs/zlog/files/zlog_no_werr.patch create mode 100644 dev-libs/zlog/metadata.xml create mode 100644 dev-libs/zlog/zlog-1.2.12.ebuild create mode 100644 dev-libs/zookeeper-c/Manifest create mode 100644 dev-libs/zookeeper-c/metadata.xml create mode 100644 dev-libs/zookeeper-c/zookeeper-c-3.4.10.ebuild create mode 100644 dev-libs/zookeeper-c/zookeeper-c-3.4.8.ebuild create mode 100644 dev-libs/zookeeper-c/zookeeper-c-3.4.9.ebuild create mode 100644 dev-libs/zthread/Manifest create mode 100644 dev-libs/zthread/files/zthread-2.3.2-automake-r2.patch create mode 100644 dev-libs/zthread/files/zthread-2.3.2-automake.patch create mode 100644 dev-libs/zthread/files/zthread-2.3.2-clang.patch create mode 100644 dev-libs/zthread/files/zthread-2.3.2-gcc47.patch create mode 100644 dev-libs/zthread/files/zthread-2.3.2-m4-quote.patch create mode 100644 dev-libs/zthread/files/zthread-2.3.2-no-fpermissive-r1.diff create mode 100644 dev-libs/zthread/files/zthread-2.3.2-no-fpermissive.diff create mode 100644 dev-libs/zthread/metadata.xml create mode 100644 dev-libs/zthread/zthread-2.3.2-r1.ebuild create mode 100644 dev-libs/zthread/zthread-2.3.2-r2.ebuild create mode 100644 dev-libs/zthread/zthread-2.3.2-r3.ebuild create mode 100644 dev-libs/zthread/zthread-2.3.2-r4.ebuild create mode 100644 dev-libs/zziplib/Manifest create mode 100644 dev-libs/zziplib/files/zziplib-0.13.49-SDL-test.patch create mode 100644 dev-libs/zziplib/metadata.xml create mode 100644 dev-libs/zziplib/zziplib-0.13.62-r2.ebuild (limited to 'dev-libs') diff --git a/dev-libs/389-adminutil/389-adminutil-1.1.15.ebuild b/dev-libs/389-adminutil/389-adminutil-1.1.15.ebuild new file mode 100644 index 000000000000..1339f84e150c --- /dev/null +++ b/dev-libs/389-adminutil/389-adminutil-1.1.15.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit libtool eutils + +MY_PV=${PV/_rc/.rc} +MY_PV=${MY_PV/_a/.a} +MY_P=${P/_rc/.rc} +MY_P=${MY_P/_a/.a} + +DESCRIPTION="389 adminutil" +HOMEPAGE="http://port389.org/" +SRC_URI="http://port389.org/sources/${MY_P}.tar.bz2" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug" + +COMMON_DEPEND=">=dev-libs/nss-3.11.4 + >=dev-libs/nspr-4.6.4 + >=dev-libs/svrcore-4.0.3 + >=dev-libs/cyrus-sasl-2.1.19 + >=dev-libs/icu-3.4:= + net-nds/openldap" +DEPEND="virtual/pkgconfig ${COMMON_DEPEND}" +RDEPEND="${COMMON_DEPEND}" + +src_prepare() { + elibtoolize +} + +src_configure() { + econf $(use_enable debug) \ + --with-fhs \ + --with-openldap \ + --disable-rpath \ + --disable-tests ||die "econf failed" +} + +src_install () { + emake DESTDIR="${D}" install || die "emake failed" + dodoc README NEWS +} diff --git a/dev-libs/389-adminutil/Manifest b/dev-libs/389-adminutil/Manifest new file mode 100644 index 000000000000..94908ec49879 --- /dev/null +++ b/dev-libs/389-adminutil/Manifest @@ -0,0 +1,5 @@ +DIST 389-adminutil-1.1.15.tar.bz2 283825 SHA256 8ca29db779c87f3c8c41ba793864454b094f41b5cdbf74b9b45967a81eb17958 SHA512 5ed8d758ee47a2e276bab73696067dd2acd36f15ea5b93b32e3e244530920d74d95a4a4ff96cd325f22ae4ce2cc764fef03c90497c0181cbc1f0291f260d8ddf WHIRLPOOL e68fd5975a2d871e0e2c79580ecc24f48091fc1418ec04816e39799ac17b2495fd3b25c26e7e55626da46210909a8e9ffc1c8d6ad140e3fce0f3665dff0de903 +EBUILD 389-adminutil-1.1.15.ebuild 891 SHA256 49e9329e415e2407af975f34b58da09e1ef2a87f9af86dbf0007b00e705d70bd SHA512 4fd0518990f3d3c8cafe2505e05323c048f883008322abc8a47de84fda828b242cd99f2c6fc91ef43f0bd47c5b960f771fec1ce073c9a4d5dcac5c94cffefd90 WHIRLPOOL afac1bf29e39a6b7828fc3bd6304f9d730db394c634933af5288634a0e8196e947393232988ed2eb0bae61d56eba905de7619e60889469d9774d5362af621bd9 +MISC ChangeLog 2542 SHA256 bb9c020431c3f32ce72fd31cf79a0c433ce33dfdb97a5149c84035187ad05a7b SHA512 844515f7233028bdb81fe1f264e30691ec95035704cc3279905ad05e6dedf74bdd1bdad5a323dbf173e8e0ea10fddeaaab64609836e2df4898832327aa99ccdd WHIRLPOOL 36e5c41ee5f645ac47087a1935bd93a071ca081fb10375edecd4417d3751c2a73f50c3523478189a3a9c52d65f1335d4d1554df2b027031c867726f13d0505a0 +MISC ChangeLog-2015 1525 SHA256 c8227338febb0aef31dd350a7781918b2798debe868d3b6f774472676b98755a SHA512 d0abdeeeee6cca82fd984caadd1264946b532b17ec7db4da4309203dc41d558bc06b04ae730d3c7cbb44eed9ac0dc17ca961f1cceaa6985f4aa1a290bf0e79e4 WHIRLPOOL 0c767f73b6b1c320f6e2af36a5050e3ae6d6cc35a58249dfacb156b05bf27b5f752993ed10954540224817fe4812e8a38087ed8877fe4cfcda45e03b37fd74ac +MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968 diff --git a/dev-libs/389-adminutil/metadata.xml b/dev-libs/389-adminutil/metadata.xml new file mode 100644 index 000000000000..6f49eba8f496 --- /dev/null +++ b/dev-libs/389-adminutil/metadata.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/dev-libs/9libs/9libs-1.0-r2.ebuild b/dev-libs/9libs/9libs-1.0-r2.ebuild new file mode 100644 index 000000000000..5c765f67e8b1 --- /dev/null +++ b/dev-libs/9libs/9libs-1.0-r2.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +inherit eutils toolchain-funcs + +DESCRIPTION="A package of Plan 9 compatibility libraries" +HOMEPAGE="http://www.netlib.org/research/9libs/9libs-1.0.README" +SRC_URI="ftp://www.netlib.org/research/9libs/${P}.tar.bz2" + +LICENSE="PLAN9" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND=">=x11-proto/xproto-7.0.4 + >=x11-libs/libX11-1.0.0 + >=x11-libs/libXt-1.0.0" + +RDEPEND="${DEPEND}" + +src_prepare() { + # Bug 385387 + epatch "${FILESDIR}/${PN}-va_list.patch" +} + +src_configure() { + econf \ + --includedir=/usr/include/9libs \ + --enable-shared +} + +src_compile() { + emake CC="$(tc-getCC)" +} + +src_install() { + make install DESTDIR="${D}" + dodoc README + + # rename some man pages to avoid collisions with dev-libs/libevent + local f + for f in add balloc bitblt cachechars event frame graphics rgbpix; do + mv "${D}"/usr/share/man/man3/${f}.{3,3g} || die + done +} diff --git a/dev-libs/9libs/Manifest b/dev-libs/9libs/Manifest new file mode 100644 index 000000000000..4641d779167c --- /dev/null +++ b/dev-libs/9libs/Manifest @@ -0,0 +1,6 @@ +AUX 9libs-va_list.patch 2819 SHA256 dc9e4584f42f20422bc858f731be3c2e3d416459fdd696e92e28677a39da03b8 SHA512 3c441f0bca520baebe06b63e099ee4ba138257c40d3870894c910173379f0d1e52f1627e984ceac61dca76ec68ac68e75cffa919895cebd4b38d09e12f271783 WHIRLPOOL 76d201f998dfd110e2755f7f4390a593d689daeeabf405657d6acd4385538d9a073fda44f32cf1fa4ecdca1fc3532821aa26f1e16c936dfaadbbb42620175b2a +DIST 9libs-1.0.tar.bz2 163744 SHA256 1d14f945782c8c5b0f97d5026181a105041f8c3e374d7f80bd53a87315ea54f6 SHA512 35fdd874dbf9aca07e681d7c3f707d22a45cc8cadb2c273a1fbc5f8303886a6b512eb16fc1b81d64d7f665b16a3b19a8d678a540cd4ad453de853b90905d98d2 WHIRLPOOL d3dac0f7302eb477a7a6160fc2e711084151f54dcb6e94c203ffac62a7a47617c8e644917f49be92028c7730253b95475de5c2312979f5704721bf0466d68f6e +EBUILD 9libs-1.0-r2.ebuild 959 SHA256 1aba3f952046177a694af2aa966f9f895ee9e04cdbe472cc40f652ced6a35827 SHA512 13a5902575d8dcc98619e8685a0d0143200f4352bc726997e66b122439e2e9faf1b855051cb9d32f5180571339eb5889f6bbd05be338c07debb4118845670ab7 WHIRLPOOL c69a54a5c7d2a8e05eed33804ca85bd52d3a096836ad56a2e0f744608f8964488b266cc487ded683d0d0f646e28a48a29932e5c90190ebcd85a42879ecae752e +MISC ChangeLog 2546 SHA256 3ab6768ef2c922ad2ba949896723789b972f27b9d68774c866d1e786d0dd261e SHA512 2bf726bfa9f6324596ed8d1e07b18fac7d52dcfb265d4aeb43ab34c21e7d0143ea97c109a5fcdd6634b5928cad0691d8592f9ce724bfae55988171ad81eb9722 WHIRLPOOL eaed531870b30e2a6ab19bc10544e2734f16454a7ff6bc89b92c721a424e56e4ea0e923a1c696896d76af3a897334505bf8c9d6d596dba50904c8daae79d1881 +MISC ChangeLog-2015 2845 SHA256 30eca3c68225c8ddb47e1d28c2c58f0de6a5fb3e40c13775d25e000b11cbc2e3 SHA512 e5b1d5e2da76eb6c0407fdcd24773ee01720ca3b61fe1b07b2e69770dcf5e6e9c067608a09a6f6929cd4c78faf9d07d40ce37576def91e647d3930f1887f07f6 WHIRLPOOL 4d258d920beebb4cb40ac812be5088d2433e9fd48ad83124316bafe661b4f58347a505b9605aee527518e52e2e81bd1a351ac9f7d90ba442c0bc968ca29d8faa +MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968 diff --git a/dev-libs/9libs/files/9libs-va_list.patch b/dev-libs/9libs/files/9libs-va_list.patch new file mode 100644 index 000000000000..eb8da368de3a --- /dev/null +++ b/dev-libs/9libs/files/9libs-va_list.patch @@ -0,0 +1,115 @@ +diff -ru 9libs-1.0/include/libc.h 9libs-1.0-fixed/include/libc.h +--- 9libs-1.0/include/libc.h 1998-11-10 22:35:27.000000000 +0000 ++++ 9libs-1.0-fixed/include/libc.h 2011-10-02 13:27:38.000000000 +0100 +@@ -57,14 +57,14 @@ + extern int fprint(int, char *, ...); + extern int sprint(char *, char *, ...); + extern int snprint(char *, int, char *, ...); +-extern int fmtinstall(int, int (*)(void *, Fconv *)); ++extern int fmtinstall(int, int (*)(va_list, Fconv *)); + extern void strconv(char *, Fconv *); + #if defined(PRINT_RUNES) + extern void Strconv(Rune *, Fconv *); + #endif +-extern int numbconv(void *, Fconv *); ++extern int numbconv(va_list, Fconv *); + extern int fltconv(double, Fconv *); +-extern char * doprint(char *, char *, char *, void *); ++extern char * doprint(char *, char *, char *, va_list); + + /* + * argument parsing - lifted from tcs +diff -ru 9libs-1.0/libplan9c/doprint.c 9libs-1.0-fixed/libplan9c/doprint.c +--- 9libs-1.0/libplan9c/doprint.c 1998-11-10 22:35:28.000000000 +0000 ++++ 9libs-1.0-fixed/libplan9c/doprint.c 2011-10-02 13:30:25.000000000 +0100 +@@ -73,12 +73,12 @@ + 0, 0, 0, 0, 0, 0, 0, 0, + }; + +-static int (*fmtfns[16])(void *, Fconv *) = { ++static int (*fmtfns[16])(va_list, Fconv *) = { + numbconv, + }; + + int +-fmtinstall(int c, int (*f)(void *, Fconv *)) ++fmtinstall(int c, int (*f)(va_list, Fconv *)) + { + int i; + +@@ -95,9 +95,8 @@ + } + + char * +-doprint(char *s, char *es, char *format, void *argp) ++doprint(char *s, char *es, char *format, va_list ap) + { +- va_list ap = argp; + int c; + int percent = 0; + int dot = 0; +@@ -218,7 +217,6 @@ + if (r < 0) + f.f3 |= ~r; + else { +- ap += r; + s = f.out; + percent = 0; + } +@@ -287,13 +285,12 @@ + #endif + + int +-numbconv(void *o, Fconv *fp) ++numbconv(va_list ap, Fconv *fp) + { + static char digits[16] = "0123456789abcdef"; + char buf[80]; /* arbitrary limit. enough digits, but no limit on f2 */ + char *s = buf+sizeof(buf)-1; + char sign = 0; +- va_list ap = o; + int uc = 0; + unsigned long u; + +@@ -362,5 +359,5 @@ + break; + } + strconv(s, fp); +- return ap-(va_list)o; ++ return 0; + } +diff -ru 9libs-1.0/libplan9c/tdp.c 9libs-1.0-fixed/libplan9c/tdp.c +--- 9libs-1.0/libplan9c/tdp.c 1998-11-10 22:35:28.000000000 +0000 ++++ 9libs-1.0-fixed/libplan9c/tdp.c 2011-10-02 13:31:58.000000000 +0100 +@@ -122,27 +122,25 @@ + } Rectangle; + + int +-Pconv(void *v, Fconv *fp) ++Pconv(va_list ap, Fconv *fp) + { + char str[50]; +- va_list ap = v; + Point *p = va_arg(ap, Point *); + + sprint(str, "(%d,%d)", p->x, p->y); + strconv(str, fp); +- return ap-(va_list)v; ++ return 0; + } + + int +-Rconv(void *v, Fconv *fp) ++Rconv(va_list ap, Fconv *fp) + { + char str[50]; +- va_list ap = v; + Rectangle *r = va_arg(ap, Rectangle *); + + sprint(str, "(%P,%P)", &r->min, &r->max); + strconv(str, fp); +- return ap-(va_list)v; ++ return 0; + } + + int diff --git a/dev-libs/9libs/metadata.xml b/dev-libs/9libs/metadata.xml new file mode 100644 index 000000000000..6f49eba8f496 --- /dev/null +++ b/dev-libs/9libs/metadata.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/dev-libs/DirectFB/DirectFB-1.7.6.ebuild b/dev-libs/DirectFB/DirectFB-1.7.6.ebuild new file mode 100644 index 000000000000..cfebded8367d --- /dev/null +++ b/dev-libs/DirectFB/DirectFB-1.7.6.ebuild @@ -0,0 +1,204 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit autotools eutils toolchain-funcs + +# Map Gentoo IUSE expand vars to DirectFB drivers +# echo `sed -n '/Possible gfxdrivers are:/,/^$/{/Possible/d;s:\[ *::;s:\].*::;s:,::g;p}' configure.in` +I_TO_D_intel="i810,i830" +I_TO_D_mga="matrox" +I_TO_D_r128="ati128" +I_TO_D_s3="unichrome" +I_TO_D_sis="sis315" +I_TO_D_via="cle266" +# cyber5k davinci ep9x omap pxa3xx sh772x savage pvr2d +IUSE_VIDEO_CARDS=" intel mach64 mga neomagic nsc nvidia r128 radeon s3 sis tdfx via vmware" +IUV=${IUSE_VIDEO_CARDS// / video_cards_} +# echo `sed -n '/Possible inputdrivers are:/,/^$/{/\(Possible\|^input\)/d;s:\[ *::;s:\].*::;s:,::g;p}' configure.in` +I_TO_D_elo2300="elo-input" +I_TO_D_evdev="linuxinput" +I_TO_D_mouse="ps2mouse,serialmouse" +# dbox2remote dreamboxremote gunze h3600_ts penmount sonypijogdial ucb1x00 wm97xx zytronic +IUSE_INPUT_DEVICES=" dynapro elo2300 evdev joystick keyboard lirc mouse mutouch tslib" +IUD=${IUSE_INPUT_DEVICES// / input_devices_} + +DESCRIPTION="Thin library on top of the Linux framebuffer devices" +HOMEPAGE="http://www.directfb.net/" +SRC_URI="http://directfb.net/downloads/Core/${PN}-${PV:0:3}/${P}.tar.gz + http://directfb.net/downloads/Old/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 -mips ppc ppc64 sh -sparc x86" +IUSE="alsa bmp cddb debug divine drmkms +dynload doc egl fbcon fusiondale fusionsound gif gles2 gstreamer imlib2 input_hub jpeg jpeg2k mad cpu_flags_x86_mmx mng mpeg2 mpeg3 multicore opengl oss png pnm sawman sdl cpu_flags_x86_sse static-libs swfdec tiff timidity tremor truetype v4l vdpau vorbis webp X xine zlib ${IUV} ${IUD}" +REQUIRED_USE="gles2? ( opengl )" + +# ffmpeg useflag broken +# ffmpeg? ( virtual/ffmpeg ) +# $(use_enable ffmpeg) \ +RDEPEND=" + alsa? ( media-libs/alsa-lib ) + cddb? ( media-libs/libcddb ) + drmkms? ( x11-libs/libdrm[libkms] ) + gif? ( media-libs/giflib ) + gstreamer? ( media-libs/gstreamer:1.0 media-libs/gst-plugins-base:1.0 ) + imlib2? ( media-libs/imlib2 ) + jpeg? ( virtual/jpeg:0= ) + jpeg2k? ( media-libs/jasper:=[jpeg] ) + mad? ( media-libs/libmad ) + mng? ( media-libs/libmng ) + mpeg3? ( media-libs/libmpeg3 ) + opengl? ( media-libs/mesa[gbm,egl?,gles2?] x11-libs/libdrm ) + png? ( media-libs/libpng:0= ) + sdl? ( media-libs/libsdl ) + tiff? ( media-libs/tiff:0 ) + timidity? ( + media-libs/libtimidity + media-sound/timidity++ + ) + tremor? ( media-libs/tremor ) + truetype? ( >=media-libs/freetype-2.0.1 ) + vdpau? ( x11-proto/xproto x11-libs/libX11 x11-libs/libXext x11-libs/libvdpau ) + vorbis? ( media-libs/libvorbis ) + webp? ( media-libs/libwebp ) + X? ( x11-libs/libXext x11-libs/libX11 ) + xine? ( media-libs/xine-lib[vdpau?] ) + zlib? ( sys-libs/zlib ) " +DEPEND="${RDEPEND} + X? ( x11-proto/xextproto x11-proto/xproto )" + +src_prepare() { + epatch \ + "${FILESDIR}"/${PN}-1.7.5-flags.patch \ + "${FILESDIR}"/${PN}-1.6.3-pkgconfig.patch \ + "${FILESDIR}"/${PN}-1.7.1-build.patch \ + "${FILESDIR}"/${PN}-1.6.3-setregion.patch \ + "${FILESDIR}"/${PN}-1.6.3-atomic-fix-compiler-error-when-building-for-thumb2.patch \ + "${FILESDIR}"/${PN}-1.7.6-cle266.patch \ + "${FILESDIR}"/${PN}-1.7.6-idivine.patch \ + "${FILESDIR}"/${PN}-1.7.6-tslib.patch + sed -i \ + -e '/#define RASPBERRY_PI/d' \ + systems/egl/egl_system.c || die #497124 + sed -i \ + -e '/^CXXFLAGS=.*-Werror-implicit-function-declaration/d' \ + configure.in || die #526196 + + mv configure.{in,ac} || die + eautoreconf +} + +driver_list() { + local pfx=$1 + local dev devs map + shift + for dev in "$@" ; do + use ${pfx}_${dev} || continue + map="I_TO_D_${dev}" + devs=${devs:+${devs},}${!map:-${dev}} + done + echo ${devs:-none} +} + +src_configure() { + local myaudio="wave" + use alsa && myaudio+=",alsa" + use oss && myaudio+=",oss" + + local sdlconf="--disable-sdl" + if use sdl ; then + # since SDL can link against DirectFB and trigger a + # dependency loop, only link against SDL if it isn't + # broken #61592 + echo 'int main(){}' > sdl-test.c + $(tc-getCC) sdl-test.c -lSDL 2>/dev/null \ + && sdlconf="--enable-sdl" \ + || ewarn "Disabling SDL since libSDL.so is broken" + fi + + # fix --with-gfxdrivers= logic, because opengl, vdpau and gles2 are no video_cards + local gfxdrivers="$(driver_list video_cards ${IUSE_VIDEO_CARDS})" + use opengl && gfxdrivers="${gfxdrivers},gl" + use vdpau && gfxdrivers="${gfxdrivers},vdpau" + use gles2 && gfxdrivers="${gfxdrivers},gles2" + gfxdrivers="$(echo ${gfxdrivers} | sed 's/none,//')" + + # fix --with-inputdrivers= logic, don't know where to put "input_hub" + local inputdrivers="$(driver_list input_devices ${IUSE_INPUT_DEVICES})" + use input_hub && inputdrivers="${inputdrivers},input_hub" + inputdrivers="$(echo ${inputdrivers} | sed 's/none,//')" + + # The xine-vdpau flag requires a custom patch to xine-lib which we don't carry: + # http://git.directfb.org/?p=extras/DirectFB-extra.git;a=blob;f=interfaces/IDirectFBVideoProvider/xine-lib-1.2-vdpau-hooks.patch;hb=HEAD + econf \ + $(use_enable static-libs static) \ + $(use_enable X x11) \ + $(use_enable divine) \ + $(use_enable sawman) \ + $(use_enable fusiondale) \ + $(use_enable fusionsound) \ + $(use_enable fbcon fbdev) \ + $(use_enable cpu_flags_x86_mmx mmx) \ + $(use_enable cpu_flags_x86_sse sse) \ + $(use_enable egl) \ + $(use_enable egl idirectfbgl-egl) \ + $(use_enable jpeg) \ + $(use_enable png) \ + $(use_enable mng) \ + $(use_enable gstreamer) \ + $(use_enable gif) \ + $(use_enable tiff) \ + $(use_enable imlib2) \ + $(use_enable pnm) \ + --disable-svg \ + $(use_enable mpeg2) \ + $(use_enable mpeg3 libmpeg3) \ + --disable-flash \ + $(use_enable xine) \ + --disable-xine-vdpau \ + --disable-ffmpeg \ + $(use_enable bmp) \ + $(use_enable jpeg2k jpeg2000) \ + --disable-openquicktime \ + --disable-avifile \ + $(use_enable truetype freetype) \ + $(use_enable webp) \ + $(use_enable debug) \ + $(use_enable zlib) \ + --disable-video4linux \ + $(use_enable v4l video4linux2) \ + $(use_enable vdpau x11vdpau) \ + $(use_enable multicore) \ + $(use_enable dynload) \ + $(use_enable opengl mesa) \ + $(use_enable drmkms) \ + --with-fs-drivers="${myaudio}" \ + $(use_with timidity) \ + --with-wave \ + $(use_with vorbis) \ + $(use_with tremor) \ + $(use_with mad) \ + $(use_with cddb cdda) \ + --with-playlist \ + ${sdlconf} \ + --with-gfxdrivers="${gfxdrivers}" \ + --with-inputdrivers="${inputdrivers}" \ + --disable-vnc +} + +src_install() { + default + dodoc fb.modes + use doc && dohtml -r docs/html/* +} + +pkg_postinst() { + ewarn "Each DirectFB update breaks DirectFB related applications." + ewarn "Please run \"revdep-rebuild\" which can be" + ewarn "found by emerging the package 'gentoolkit'." + ewarn + ewarn "If you have an ALPS touchpad, then you might get your mouse" + ewarn "unexpectedly set in absolute mode in all DirectFB applications." + ewarn "This can be fixed by removing linuxinput from INPUT_DEVICES." +} diff --git a/dev-libs/DirectFB/Manifest b/dev-libs/DirectFB/Manifest new file mode 100644 index 000000000000..4ca454a3c48a --- /dev/null +++ b/dev-libs/DirectFB/Manifest @@ -0,0 +1,13 @@ +AUX DirectFB-1.6.3-atomic-fix-compiler-error-when-building-for-thumb2.patch 1665 SHA256 124fb01a29a4821ec1cf827269f33e4d3c4f0efc268e3d9f6c38eccbd8c155c5 SHA512 18e189e5d085c8b87f95e2ea3567f66c3bb90a7242fb83a81dd78264bdcbd7fe77b58479c3f03cd9aee32caae98767bc88dac03230f717a34e981f65d7653eee WHIRLPOOL e4da8e21049494f6a83fa37704f17fd96be2f6f0aae3573d1ebc2565bd25113f6eb4814d8beb0367f8cef4ed601ae742b29765cf6fdd5266fc034ae25db241ed +AUX DirectFB-1.6.3-pkgconfig.patch 664 SHA256 5e77090304e4096665728a1c24f251fff3e97a693692afb12986ba5565ac96f6 SHA512 1ce162ef7af5ab7b6efcdb786e9e89d569051f2009d1144744befed57ae36109771284b302438c882b550e09a3ced814b550fa039306b4f37c7e1b68675943a7 WHIRLPOOL f5185c2c4b5f1d1252b0067734a4f07299640cbeea67db06da63de96a1ec0d287c4c111e0b6f2621d3ab2a3775e57dd295dade01eecad3ea7ba133e6ff35b37f +AUX DirectFB-1.6.3-setregion.patch 3812 SHA256 35c1e46e49d8b9880e177272b83a2fb47b9eed5346bc1ac36697e23c3f0c967c SHA512 98510a4a40daa46c9d5aa824a09584ab2d1e4a0a5b885fc2893e8af99b16317e5c89279f2889d94545451b63039d24909e8ee051788bce704d403e3fb7ef46af WHIRLPOOL bc2b84641ce91eff97a87265a44aea7132dbe777a0ab9ddef701d706962879fcc390fff4a7194653f903d4a0a038b22f6bc125a4efdb3291a8d14edc35136a29 +AUX DirectFB-1.7.1-build.patch 839 SHA256 3705a87656ac9d3383a5a9296f9290fc6fe54d99f22747ad2a63116a89bca71a SHA512 51a3a88274de35798f93b76accdb345e015da0781218393d5271835ae7c64ff1e38b5b9fe96281511c0057f12e9a952bb6dbba2c54d3f940ace6e1f57d9d1114 WHIRLPOOL 432df15397af292527d9386c7805de4f926dafb06e8bf2df0282eea00a39b82657bde96c417006eabe2330fb1cf6936708b004610e05056d68d86b3cdd7e0865 +AUX DirectFB-1.7.5-flags.patch 2003 SHA256 48f167ab0f392d219a45057c6ab44538312b0bbce702dd4390d37939d3b3dca3 SHA512 b8f947f338b872436bb1e029d9971852018400aa869121fada260e3ea325f2d5d28d765a4b960b3970644fc91a7ba39d86a0eb3a160473cc467523048833c264 WHIRLPOOL 53adb74ea41fffb33f419b394ccb2041fc8a83064fa1312206e558ceec207b826882367e909db03c2c1eafff4ba39cb9d1d015d16740af71cd024c268f386eb6 +AUX DirectFB-1.7.6-cle266.patch 410 SHA256 89667185062f13a692d6e518c8803fc91f2872d83db1fc4ffe0a189eb3c2b9e6 SHA512 409f5de16912e78d0053e8438f77ca79995d1d609f0c36064b0dcfe3d46b25d29ca53a44ecec7d000aba5e7f9339d57128651024d34879f51c208fb86c2a9afd WHIRLPOOL 2d40b262eb3bfd9fa2132583ba2819beab7d26f3f8f639c957ae712db40339eb46144df828cb83913f1588dbe854f489d8392d8b8f676dc45c0600ba69eee9ad +AUX DirectFB-1.7.6-idivine.patch 1805 SHA256 743332a864f95832ca70d1e3e5e324bf27c143a63b210a739e37abd54e63cf7b SHA512 29f7b7c7bcf0eeb33b295c681723c2f1203ddca43879d430d15619d6d92d67df813acd4e6d237c297e407fe0d919952badb3901f54b32a7c025ec38b8ac55593 WHIRLPOOL cf1228d28d4c54bafd98347896029450f6c35330dd9227165864edfdec80dcc79d6ce8a00bd4b1da90307b55aed5adddda850773b804dbe29400c80f10bd1f92 +AUX DirectFB-1.7.6-tslib.patch 1220 SHA256 4f174f476657a59d910682607219666f589e66fa30ce07fa010ae39d39a953ab SHA512 60f0dc5fcefde34bb65bbd034e9e29f2776eec0260c93ce1cda2d5ea714d940b270d83ebaf343d888bab5ed748ab24affdfe5393b4dd87b702034d319cba493b WHIRLPOOL fa11c2473225380df550dd82d37e59ba00b1e1ba4a7df3ceb847f90bc300e015f515544098aa6a0064dcae389d6ad72b016408aa745650edc8d169cd37027357 +DIST DirectFB-1.7.6.tar.gz 5975444 SHA256 44f32bacfb842ea234599532f8481fe41b5bd2310d2bd101508eb3a5df26c9e1 SHA512 18cf1aad6c277a6de147a9b0aff1cd7408ddd7c7159ef21dab9a548db7399c681603624e7820b186a29e03edaa7737350a61e2abaec572887e9cc56658bf85a2 WHIRLPOOL 2868906bbd2b4e681c6702f164f7ba4f01a0f538aea0c744c6e77ce32b274a967232ef0046ec21b74c9c53c4824182e632159cca5ea0c7c27292cb258257d6a8 +EBUILD DirectFB-1.7.6.ebuild 6853 SHA256 6e1c7d1696c578087be8dc6d4a2f5d2b24582c85526f84a1e2cbcd9c309b5284 SHA512 ed73f5ebca399bb3e3c440e54cf6a7a1ef64b831fa651258f3dc5e5b200fd9bee41e7e532a56611f0433099d13ebe6b6a990dead31e1e5d939bba011662192b4 WHIRLPOOL 56e1e810018a1ffc207932a2613e8cd67d17ff54fcf55714561b3c751e233f84cc0805171185404248678285f2127973252c11834511a4088e1fd0020089832e +MISC ChangeLog 5394 SHA256 827153f955f760ba3e035988040b0585b056e8f2593f42931aac298a47529ddc SHA512 366dbd87c5e748f2afcf8f6f8a4823cc3422ca8f897ed420f527fba0a46354c1e75af4505e8dac7bd1cb20f282b498d150304362a4118206b247cfa104626d9c WHIRLPOOL db31a7ac83618e8e69596d0ab4f93458de856acf29ffde5e76527942a220503ebd98402ad5be087f28eba7d188829f0c9d3760c6941b86a1b4432a1034915a92 +MISC ChangeLog-2015 20476 SHA256 b839480c7506bc89010c96e0663736cc8bff5a94ab2cba90c0b1e67b60a9fc8e SHA512 81884a98785e3e25cfa05e2ac5b18dcfdeca66bb458dc7bef5b8325fa2cf3600b8cbf27fafff3bfd27f7069ccb9092be105a821d01ad5296ee88191fc92e75fe WHIRLPOOL d9dccb400e115d675a8edd8bdecf04d8e1a0e6f7446a7ac46131a909f66ff0ebdcdf487371fc40a5250e6ed1943e165d4ab8c28e9aa9449657350de860f8f5df +MISC metadata.xml 1948 SHA256 8c46dc85065e07ddc1ea910bd0e200b2a2ac27aafd469004499b08aa09eb3f41 SHA512 6d1dc07a903d8554fda072001ffaaaf685ee1363fc820626c3c271965f7589409c3a95567bc8b4b820bd643c752e570b8a4be9cb938da1ca53b6ac6643800dd1 WHIRLPOOL 4d6d55477d23f66578502858d614601384d03bb7cec90e5dfdf90ebb67ed3e9c3869a917800614aa9dd655316282e1b2afe9245c11ce36688d034e134564c50f diff --git a/dev-libs/DirectFB/files/DirectFB-1.6.3-atomic-fix-compiler-error-when-building-for-thumb2.patch b/dev-libs/DirectFB/files/DirectFB-1.6.3-atomic-fix-compiler-error-when-building-for-thumb2.patch new file mode 100644 index 000000000000..06f56fed39d7 --- /dev/null +++ b/dev-libs/DirectFB/files/DirectFB-1.6.3-atomic-fix-compiler-error-when-building-for-thumb2.patch @@ -0,0 +1,50 @@ +From 253e1d0d10bdece158f8f68dc48c19ab57d2da29 Mon Sep 17 00:00:00 2001 +From: Mandeep Singh Baines +Date: Mon, 18 Mar 2013 19:03:36 -0700 +Subject: [PATCH] atomic: fix compiler error when building for thumb2 + +Fixed the following error: + +{standard input}: Assembler messages: +{standard input}:179: Error: thumb conditional instruction should be in IT block +-- `strexeq r4,r1,[r2]' +{standard input}:283: Error: thumb conditional instruction should be in IT block +-- `strexeq r1,r4,[r2]' +{standard input}:379: Error: thumb conditional instruction should be in IT block +-- `strexeq r1,r2,[r0]' +make[4]: *** [fifo.lo] Error 1 + +Fix was to add the appropriate it block. + +While I was at it, I optimized the code a bit by: + +1) Moved the mov instruction above the ldrex to minimize the number +of instructions between the ldex and strex as recommeded here: +http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0552a/BABFFBJB.html +2) Saved 4 bytes by replacing mov with movs and teq with cmp. + +Signed-off-by: Mandeep Singh Baines +--- + lib/direct/atomic.h | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +diff --git a/lib/direct/atomic.h b/lib/direct/atomic.h +index 94cb0c9..8dc0dfb 100644 +--- a/lib/direct/atomic.h ++++ b/lib/direct/atomic.h +@@ -191,9 +191,10 @@ static inline int _D__atomic_cmpxchg(volatile int *ptr, int old, int _new) + + do { + __asm__ __volatile__("@ atomic_cmpxchg\n" ++ "movs %0, #0\n" + "ldrex %1, [%2]\n" +- "mov %0, #0\n" +- "teq %1, %3\n" ++ "cmp %1, %3\n" ++ "it eq\n" + "strexeq %0, %4, [%2]\n" + : "=&r" (res), "=&r" (oldval) + : "r" (ptr), "Ir" (old), "r" (_new) +-- +1.7.12.4 + diff --git a/dev-libs/DirectFB/files/DirectFB-1.6.3-pkgconfig.patch b/dev-libs/DirectFB/files/DirectFB-1.6.3-pkgconfig.patch new file mode 100644 index 000000000000..2c71bc96f9e6 --- /dev/null +++ b/dev-libs/DirectFB/files/DirectFB-1.6.3-pkgconfig.patch @@ -0,0 +1,22 @@ +http://bugs.gentoo.org/200661 + +--- DirectFB/directfb-config.in ++++ DirectFB/directfb-config.in +@@ -300,7 +300,7 @@ + libs="$libs -ldirectfb -lfusion -ldirect @THREADLIB@" + + if test -n "$echo_static"; then +- libs="$libs @DYNLIB@ @ZLIB_LIBS@" ++ libs="$libs @DYNLIB@ @ZLIB_LIBS@ @SYSFS_LIBS@" + fi + fi + +--- DirectFB/directfb.pc.in ++++ DirectFB/directfb.pc.in +@@ -9,5 +9,5 @@ + Version: @VERSION@ + Requires: @DEP_VOODOO@ fusion direct + Libs: -L${libdir} -ldirectfb @THREADLIB@ @OSX_LIBS@ +-Libs.private: -L${libdir} @LIBM@ @DYNLIB@ @ZLIB_LIBS@ ++Libs.private: -L${libdir} @LIBM@ @DYNLIB@ @ZLIB_LIBS@ @SYSFS_LIBS@ + Cflags: @THREADFLAGS@ -I@INCLUDEDIR@ diff --git a/dev-libs/DirectFB/files/DirectFB-1.6.3-setregion.patch b/dev-libs/DirectFB/files/DirectFB-1.6.3-setregion.patch new file mode 100644 index 000000000000..8d25a51920d7 --- /dev/null +++ b/dev-libs/DirectFB/files/DirectFB-1.6.3-setregion.patch @@ -0,0 +1,85 @@ +https://build.opensuse.org/package/view_file?expand=1&file=DirectFB-setregion.patch&package=DirectFB&project=openSUSE%3AFactory + +--- gfxdrivers/cyber5k/cyber5k.c ++++ gfxdrivers/cyber5k/cyber5k.c +@@ -636,7 +636,8 @@ osdSetRegion( CoreLayer + CoreLayerRegionConfigFlags updated, + CoreSurface *surface, + CorePalette *palette, +- CoreSurfaceBufferLock *lock ) ++ CoreSurfaceBufferLock *left_lock, ++ CoreSurfaceBufferLock *right_lock ) + { + DFBResult ret; + +@@ -644,7 +645,7 @@ osdSetRegion( CoreLayer + ret = oldPrimaryFuncs.SetRegion( layer, oldPrimaryDriverData, + layer_data, region_data, + config, updated, surface, +- palette, lock ); ++ palette, left_lock, right_lock ); + if (ret) + return ret; + +--- gfxdrivers/radeon/radeon_crtc1.c ++++ gfxdrivers/radeon/radeon_crtc1.c +@@ -147,14 +147,15 @@ crtc1SetRegion( CoreLayer + CoreLayerRegionConfigFlags updated, + CoreSurface *surface, + CorePalette *palette, +- CoreSurfaceBufferLock *lock ) ++ CoreSurfaceBufferLock *left_lock, ++ CoreSurfaceBufferLock *right_lock ) + { + + if (updated & ~CLRCF_OPTIONS) { + return OldPrimaryLayerFuncs.SetRegion( layer, + OldPrimaryLayerDriverData, + layer_data, region_data, +- config, updated, surface, palette, lock ); ++ config, updated, surface, palette, left_lock, right_lock ); + } + + return DFB_OK; +--- gfxdrivers/cle266/uc_primary.c ++++ gfxdrivers/cle266/uc_primary.c +@@ -138,7 +138,8 @@ osdSetRegion( CoreLayer + CoreLayerRegionConfigFlags updated, + CoreSurface *surface, + CorePalette *palette, +- CoreSurfaceBufferLock *lock ) ++ CoreSurfaceBufferLock *left_lock, ++ CoreSurfaceBufferLock *right_lock ) + { + DFBResult ret; + UcDriverData *ucdrv = (UcDriverData*) driver_data; +@@ -147,7 +148,7 @@ osdSetRegion( CoreLayer + ret = ucOldPrimaryFuncs.SetRegion( layer, ucOldPrimaryDriverData, + layer_data, region_data, + config, updated, surface, +- palette, lock ); ++ palette, left_lock, right_lock ); + if (ret) + return ret; + +--- gfxdrivers/unichrome/uc_primary.c ++++ gfxdrivers/unichrome/uc_primary.c +@@ -135,7 +135,8 @@ osdSetRegion( CoreLayer + CoreLayerRegionConfigFlags updated, + CoreSurface *surface, + CorePalette *palette, +- CoreSurfaceBufferLock *lock ) ++ CoreSurfaceBufferLock *left_lock, ++ CoreSurfaceBufferLock *right_lock ) + { + DFBResult ret; + UcDriverData *ucdrv = (UcDriverData*) driver_data; +@@ -144,7 +145,7 @@ osdSetRegion( CoreLayer + ret = ucOldPrimaryFuncs.SetRegion( layer, ucOldPrimaryDriverData, + layer_data, region_data, + config, updated, surface, +- palette, lock ); ++ palette, left_lock, right_lock ); + if (ret) + return ret; + diff --git a/dev-libs/DirectFB/files/DirectFB-1.7.1-build.patch b/dev-libs/DirectFB/files/DirectFB-1.7.1-build.patch new file mode 100644 index 000000000000..28c92eb79b02 --- /dev/null +++ b/dev-libs/DirectFB/files/DirectFB-1.7.1-build.patch @@ -0,0 +1,27 @@ +Author: hasufell +Date: Sat Dec 28 23:52:03 2013 +0100 + + * INCLUDES is deprecated, use AM_CPPFLAGS instead + * add missing SVG_CFLAGS + +--- a/interfaces/IDirectFBImageProvider/Makefile.am ++++ b/interfaces/IDirectFBImageProvider/Makefile.am +@@ -77,15 +77,14 @@ else + FFMPEG_PROVIDER_LTLIB = + endif + +-INCLUDES = \ ++AM_CPPFLAGS = \ + -I$(top_builddir)/include \ + -I$(top_builddir)/lib \ + -I$(top_builddir)/src \ + -I$(top_srcdir)/include \ + -I$(top_srcdir)/lib \ +- -I$(top_srcdir)/src +- +-AM_CPPFLAGS = -DDATADIR=\"${RUNTIME_SYSROOT}@DATADIR@\" $(LIBJPEG_CFLAGS) $(LIBPNG_CFLAGS) $(FFMPEG_CFLAGS) ++ -I$(top_srcdir)/src \ ++ -DDATADIR=\"${RUNTIME_SYSROOT}@DATADIR@\" $(LIBJPEG_CFLAGS) $(LIBPNG_CFLAGS) $(FFMPEG_CFLAGS) $(SVG_CFLAGS) + + idirectfbimageprovider_LTLIBRARIES = \ + libidirectfbimageprovider_dfiff.la \ diff --git a/dev-libs/DirectFB/files/DirectFB-1.7.5-flags.patch b/dev-libs/DirectFB/files/DirectFB-1.7.5-flags.patch new file mode 100644 index 000000000000..485cd1934fc6 --- /dev/null +++ b/dev-libs/DirectFB/files/DirectFB-1.7.5-flags.patch @@ -0,0 +1,63 @@ +Author: hasufell +Date: Sat Dec 28 23:48:53 2013 +0100 + + * respect system flags + * remove Werror, it breaks the build + +--- a/configure.in ++++ b/configure.in +@@ -194,12 +194,7 @@ AM_CONDITIONAL(X11VDPAU_CORE, test "$enable_x11vdpau" = "yes") + AC_CHECK_HEADERS(linux/compiler.h linux/unistd.h asm/page.h signal.h) + + +-dnl Clear default CFLAGS +-if test x"$CFLAGS" = x"-g -O2"; then +- CFLAGS= +-fi +- +-CFLAGS="-ffast-math -pipe $CFLAGS" ++CFLAGS="-ffast-math $CFLAGS" + + DFB_INTERNAL_CFLAGS="-D_GNU_SOURCE $DFB_INTERNAL_CFLAGS" + +@@ -467,7 +462,7 @@ AC_ARG_ENABLE(debug, + [enable debugging @<:@default=no@:>@]), + [], [enable_debug=no]) + if test "$enable_debug" = "yes"; then +- CFLAGS="-g3 -O0 -fno-inline -Wno-inline $CFLAGS" ++ CFLAGS="-fno-inline -Wno-inline $CFLAGS" + DIRECT_BUILD_DEBUG=1 + else + DIRECT_BUILD_DEBUG=0 +@@ -483,13 +478,8 @@ AC_ARG_ENABLE(debug-support, + [], [enable_debug_support=yes]) + if test "$enable_debug_support" = "yes" || test "$enable_debug" = "yes"; then + enable_debug_support=yes +- if test "$enable_debug" = "no"; then +- CFLAGS="-g2 $CFLAGS" +- fi +- CFLAGS="-O3 $CFLAGS" + DIRECT_BUILD_DEBUGS=1 + else +- CFLAGS="-O3 -g0 $CFLAGS" + DIRECT_BUILD_DEBUGS=0 + fi + AM_CONDITIONAL(ENABLE_DEBUGS, test "$enable_debug_support" = "yes") +@@ -2750,8 +2750,6 @@ + + AS_AC_EXPAND(SYSCONFDIR, $sysconfdir) + +-CFLAGS="$CFLAGS -Werror-implicit-function-declaration" +- + AC_ARG_ENABLE(extra-warnings, + AC_HELP_STRING([--enable-extra-warnings], + [enable extra warnings @<:@default=no@:>@]), +@@ -2761,7 +2759,7 @@ + fi + + if test "$GCC" = "yes"; then +- CFLAGS="-Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-strict-aliasing -Werror-implicit-function-declaration $CFLAGS" ++ CFLAGS="-Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-strict-aliasing $CFLAGS" + CXXFLAGS="-Wall -Wno-strict-aliasing -std=$CXXSTD $CXXFLAGS" + fi + diff --git a/dev-libs/DirectFB/files/DirectFB-1.7.6-cle266.patch b/dev-libs/DirectFB/files/DirectFB-1.7.6-cle266.patch new file mode 100644 index 000000000000..ff72f5339dbf --- /dev/null +++ b/dev-libs/DirectFB/files/DirectFB-1.7.6-cle266.patch @@ -0,0 +1,13 @@ +https://bugs.gentoo.org/527986 + +--- a/gfxdrivers/cle266/uc_overlay.c 2015-02-10 15:26:24.931309401 -0800 ++++ b/gfxdrivers/cle266/uc_overlay.c 2015-02-10 15:26:47.229309401 -0800 +@@ -246,7 +246,7 @@ + dfb_surface_flip(surface, false); + + ucovl->field = 0; +- ucovl->lock = lock; ++ ucovl->lock = left_lock; + + ret = uc_ovl_update(ucdrv, ucovl, UC_OVL_FLIP, surface, left_lock); + if (ret) diff --git a/dev-libs/DirectFB/files/DirectFB-1.7.6-idivine.patch b/dev-libs/DirectFB/files/DirectFB-1.7.6-idivine.patch new file mode 100644 index 000000000000..561db23aeeda --- /dev/null +++ b/dev-libs/DirectFB/files/DirectFB-1.7.6-idivine.patch @@ -0,0 +1,57 @@ +--- lib/divine/idivine.h.orig ++++ lib/divine/idivine.h +@@ -0,0 +1,54 @@ ++/* ++ (c) Copyright 2012-2013 DirectFB integrated media GmbH ++ (c) Copyright 2001-2013 The world wide DirectFB Open Source Community (directfb.org) ++ (c) Copyright 2000-2004 Convergence (integrated media) GmbH ++ ++ All rights reserved. ++ ++ Written by Denis Oliver Kropp , ++ Andreas Shimokawa , ++ Marek Pikarski , ++ Sven Neumann , ++ Ville Syrjälä and ++ Claudio Ciccani . ++ ++ This library is free software; you can redistribute it and/or ++ modify it under the terms of the GNU Lesser General Public ++ License as published by the Free Software Foundation; either ++ version 2 of the License, or (at your option) any later version. ++ ++ This library is distributed in the hope that it will be useful, ++ but WITHOUT ANY WARRANTY; without even the implied warranty of ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++ Lesser General Public License for more details. ++ ++ You should have received a copy of the GNU Lesser General Public ++ License along with this library; if not, write to the ++ Free Software Foundation, Inc., 59 Temple Place - Suite 330, ++ Boston, MA 02111-1307, USA. ++*/ ++ ++ ++ ++#ifndef __IDIVINE_H__ ++#define __IDIVINE_H__ ++ ++#include ++ ++/* ++ * private data struct of IDiVine ++ */ ++typedef struct { ++ int ref; /* reference counter */ ++ ++ DiVine *divine; ++} IDiVine_data; ++ ++/* ++ * IDiVine constructor/destructor ++ */ ++DFBResult IDiVine_Construct( IDiVine *thiz ); ++ ++void IDiVine_Destruct ( IDiVine *thiz ); ++ ++#endif diff --git a/dev-libs/DirectFB/files/DirectFB-1.7.6-tslib.patch b/dev-libs/DirectFB/files/DirectFB-1.7.6-tslib.patch new file mode 100644 index 000000000000..3315968bc092 --- /dev/null +++ b/dev-libs/DirectFB/files/DirectFB-1.7.6-tslib.patch @@ -0,0 +1,33 @@ +https://github.com/deniskropp/DirectFB/pull/6 +https://bugs.gentoo.org/567294 + +From 5c7c4b197b9d04587b05624db4cfca6503adb3ff Mon Sep 17 00:00:00 2001 +From: Mike Frysinger +Date: Thu, 8 Dec 2016 16:47:34 -0500 +Subject: [PATCH] configure: fix tslib version check + +The tslib version is 1.0, not 1.0.0. Trying to check for the latter +fails when using pkg-config: +$ pkg-config --exists --print-errors "tslib-1.0 >= 1.0" +$ pkg-config --exists --print-errors "tslib-1.0 >= 1.0.0" +Requested 'tslib-1.0 >= 1.0.0' but version of tslib is 1.0 +--- + configure.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.in b/configure.in +index 6143cd393699..12a65fdc4f52 100644 +--- a/configure.in ++++ b/configure.in +@@ -2561,7 +2561,7 @@ fi + + enable_tslib=no + if test "$checkfor_tslib" = "yes"; then +- PKG_CHECK_MODULES([TSLIB], [tslib-1.0 >= 1.0.0], [enable_tslib=yes], [enable_tslib=no]) ++ PKG_CHECK_MODULES([TSLIB], [tslib-1.0 >= 1.0], [enable_tslib=yes], [enable_tslib=no]) + if test "$enable_tslib" = "no"; then + PKG_CHECK_MODULES([TSLIB], [tslib-0.0], [enable_tslib=yes], [enable_tslib=no + AC_MSG_WARN([*** no tslib -- tslib driver will not be built.])]) +-- +2.11.0.rc2 + diff --git a/dev-libs/DirectFB/metadata.xml b/dev-libs/DirectFB/metadata.xml new file mode 100644 index 000000000000..aaac930ef7b0 --- /dev/null +++ b/dev-libs/DirectFB/metadata.xml @@ -0,0 +1,44 @@ + + + + + graphics@gentoo.org + Gentoo Graphics Project + + + DirectFB is a thin library that provides hardware graphics + acceleration, input device handling and abstraction, integrated + windowing system with support for translucent windows and + multiple display layers on top of the Linux Framebuffer Device. + It is a complete hardware abstraction layer with software + fallbacks for every graphics operation that is not supported + by the underlying hardware. DirectFB adds graphical power to + embedded systems and sets a new standard for graphics under + Linux. + + + build BMP image provider + enable DiVine + build with DRM/KMS support + enable dynload support + build with EGL support + enable FusionDale + enable FusionSound + build gles2 gfxdriver + build Imlib2 image provider + provides an asynchronous interface + to the input devices available and those being + added/removed + build MPEG2 image provider + build Libmpeg3 video provider + enable multicore support + build PNM (PBM/PGM/PPM) image provider + enable SaWMan (window manager and + application manager) + build Swfdec (Flash decoder) video + provider + build Ogg/Vorbis music provider using + Tremor + build WebP image provider + + diff --git a/dev-libs/Ice/Ice-3.5.1.ebuild b/dev-libs/Ice/Ice-3.5.1.ebuild new file mode 100644 index 000000000000..a3ebdc00bc33 --- /dev/null +++ b/dev-libs/Ice/Ice-3.5.1.ebuild @@ -0,0 +1,284 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python2_7 pypy ) +RUBY_OPTIONAL="yes" +USE_RUBY="ruby19" + +inherit toolchain-funcs versionator python-r1 mono-env ruby-ng db-use + +DESCRIPTION="ICE middleware C++ library and generator tools" +HOMEPAGE="https://zeroc.com/products/ice" +SRC_URI="http://www.zeroc.com/download/Ice/$(get_version_component_range 1-2)/${P}.tar.gz + doc? ( http://www.zeroc.com/download/Ice/$(get_version_component_range 1-2)/${P}.pdf )" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~arm ~ia64 x86 ~x86-linux ~x64-macos" +IUSE="doc examples +ncurses mono python ruby test debug" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND=">=dev-libs/expat-2.0.1 + >=app-arch/bzip2-1.0.5 + >=dev-libs/openssl-0.9.8o:0 + || ( + sys-libs/db:5.3[cxx] + sys-libs/db:5.1[cxx] + sys-libs/db:4.8[cxx] + ) + ~dev-cpp/libmcpp-2.7.2 + python? ( ${PYTHON_DEPS} ) + ruby? ( $(ruby_implementation_depend ruby19) ) + mono? ( dev-lang/mono ) + !dev-python/IcePy + !dev-ruby/IceRuby" +DEPEND="${RDEPEND} + ncurses? ( sys-libs/ncurses sys-libs/readline ) + test? ( ${PYTHON_DEPS} )" + +# Maintainer notes: +# - yes, we have to do the trickery with the move for the python functions +# since the build and test frameworks deduce various settings from the path +# and they can't be tricked by a symlink. And we also need +# SUPPORT_PYTHON_ABIS=1 otherwise we can't get pyc/pyo anymore the sane way. +# TODO: php bindings +# TODO: java bindings + +#overwrite ruby-ng.eclass default +S="${WORKDIR}/${P}" + +pkg_setup() { + # prevent ruby-ng.eclass from messing with src_unpack + :; +} + +src_unpack() { + # prevent ruby-ng.eclass from messing with src_unpack + default +} + +src_prepare() { + sed -i \ + -e 's|\(install_docdir[[:space:]]*\):=|\1?=|' \ + -e 's|\(install_configdir[[:space:]]*\):=|\1?=|' \ + cpp/config/Make.rules || die "sed failed" + + sed -i \ + -e 's|\(install_pythondir[[:space:]]*\):=|\1?=|' \ + -e 's|\(install_rubydir[[:space:]]*\):=|\1?=|' \ + -e 's|\(install_libdir[[:space:]]*\):=|\1?=|' \ + {py,rb}/config/Make.rules || die "sed failed" + + sed -i \ + -e 's|-O2 ||g' \ + -e 's|-Werror ||g' \ + cpp/config/Make.rules.Linux || die "sed failed" + + sed -i \ + -e 's|install-common||' \ + -e 's|demo||' \ + {cpp,cs,php,py,rb}/Makefile || die "sed failed" + + sed -i \ + -e 's|-f -root|-f -gacdir $(GAC_DIR) -root|' \ + cs/config/Make.rules.cs || die "sed failed" + + # skip mono tests, bug #498484 + sed -i \ + -e 's|^\(SUBDIRS.*\)test|\1|' \ + cs/Makefile || die "sed failed" + + if ! use test ; then + sed -i \ + -e 's|^\(SUBDIRS.*\)test|\1|' \ + {cpp,php,py,rb}/Makefile || die "sed failed" + fi +} + +suitable_db_version() { + local tested_slots="5.3 5.1 4.8" + for ver in ${tested_slots}; do + if [[ -n $(db_findver sys-libs/db:${ver}) ]]; then + echo ${ver} + return 0 + fi + done + die "No suitable BerkDB versions found, aborting" +} + +src_configure() { + MAKE_RULES="prefix=\"${ED}/usr\" + install_docdir=\"${ED}/usr/share/doc/${PF}\" + install_configdir=\"${ED}/usr/share/Ice-${PV}/config\" + install_mandir=\"${ED}/usr/share/man\" + embedded_runpath_prefix=\"${EPREFIX}/usr\" + LP64=yes" + + use ncurses && OPTIONS="${MAKE_RULES} USE_READLINE=yes" || MAKE_RULES="${MAKE_RULES} USE_READLINE=no" + use debug && OPTIONS"${MAKE_RULES} OPTIMIZE=no" || MAKE_RULES="${MAKE_RULES} OPTIMIZE=yes" + + local BERKDB_VERSION="$(suitable_db_version)" + MAKE_RULES="${MAKE_RULES} DB_FLAGS=-I$(db_includedir ${BERKDB_VERSION})" + sed -i \ + -e "s|g++|$(tc-getCXX)|" \ + -e "s|\(CFLAGS[[:space:]]*=\)|\1 ${CFLAGS}|" \ + -e "s|\(CXXFLAGS[[:space:]]*=\)|\1 ${CXXFLAGS}|" \ + -e "s|\(LDFLAGS[[:space:]]*=\)|\1 ${LDFLAGS}|" \ + -e "s|\(DB_LIBS[[:space:]]*=\) \-ldb_cxx|\1 -ldb_cxx-$(db_findver sys-libs/db:${BERKDB_VERSION})|" \ + cpp/config/Make.rules{,.Linux} py/config/Make.rules || die "sed failed" + + if use python ; then + S=${S}/py python_copy_sources + + # make a place for the symlink + rm -r py/python || die + fi + + if use ruby ; then + SITERUBY="$(ruby19 -r rbconfig -e 'print Config::CONFIG["sitedir"]')" + MAKE_RULES_RB="install_rubydir=\"${ED}/${SITERUBY}\" + install_libdir=\"${ED}/${SITERUBY}\"" + + # make it use ruby19 only + sed -i \ + -e 's|RUBY = ruby|\019|' \ + rb/config/Make.rules || die "sed failed" + fi + + MAKE_RULES_CS="GACINSTALL=yes GAC_ROOT=\"${ED}/usr/$(get_libdir)\" GAC_DIR=${EPREFIX}/usr/$(get_libdir)" + + use test && python_export_best +} + +src_compile() { + # Do not remove this export or build will break! + tc-export CXX + + emake -C cpp ${MAKE_RULES} || die "emake failed" + + if use doc ; then + emake -C cpp/doc || die "building docs failed" + fi + + if use python ; then + building() { + emake -C "${BUILD_DIR}" ${MAKE_RULES} || die "emake py-${EPYTHON} failed" + } + BUILD_DIR=py python_foreach_impl building + fi + + if use ruby ; then + emake -C rb ${MAKE_RULES} ${MAKE_RULES_RB} || die "emake rb failed" + fi + + if use mono ; then + emake -C cs ${MAKE_RULES} ${MAKE_RULES_CS} || die "emake cs failed" + fi +} + +src_install() { + dodoc CHANGES README + + insinto /usr/share/${P} + doins -r slice + + emake -C cpp ${MAKE_RULES} install || die "emake install failed" + + docinto cpp + dodoc CHANGES README + + if use examples ; then + insinto /usr/share/doc/${PF}/examples-cpp + doins cpp/config/*.cfg + doins -r cpp/demo/* + fi + + if use doc ; then + dohtml -r cpp/doc/reference/* + dodoc "${DISTDIR}/${P}.pdf" + fi + + if use python ; then + installation() { + mkdir -p "${D}/$(python_get_sitedir)" || die + + emake -C "${BUILD_DIR}" ${MAKE_RULES} \ + install_pythondir="\"${D}/$(python_get_sitedir)\"" \ + install_libdir="\"${D}/$(python_get_sitedir)\"" \ + install || die "emake py-${EPYTHON} install failed" + } + BUILD_DIR=py python_foreach_impl installation + + docinto py + dodoc py/CHANGES py/README + + if use examples ; then + insinto /usr/share/doc/${PF}/examples-py + doins -r py/demo/* + fi + fi + + if use ruby ; then + dodir "${SITERUBY}" + emake -C rb ${MAKE_RULES} ${MAKE_RULES_RB} install || die "emake rb install failed" + + docinto rb + dodoc rb/CHANGES rb/README + + if use examples ; then + insinto /usr/share/doc/${PF}/examples-rb + doins -r rb/demo/* + fi + fi + + if use mono ; then + emake -C cs ${MAKE_RULES} ${MAKE_RULES_CS} install || die "emake cs install failed" + + # TODO: anyone has an idea what those are for? + rm "${ED}"/usr/bin/*.xml + + docinto cs + dodoc cs/CHANGES cs/README + + if use examples ; then + insinto /usr/share/doc/${PF}/examples-cs + doins -r cs/demo/* + fi + fi +} + +run_tests() { + # Run tests through the script interface since Python test runner + # fails to exit with non-zero code for some reason. + + pushd "${1}" >/dev/null || die + ./allTests.py --script | sh + ret=${?} + popd >/dev/null || die + + return ${ret} +} + +src_test() { + run_tests cpp || die "emake cpp test failed" + + if use python ; then + testing() { + # tests require that the directory is named 'py' + ln -f -s ../"${BUILD_DIR}"/python py/python || die + run_tests py || die "emake py-${EPYTHON} test failed" + } + BUILD_DIR=py python_foreach_impl testing + fi + + if use ruby ; then + run_tests rb || die "emake rb test failed" + fi + + if use mono ; then + # skip mono tests, bug #498484 + ewarn "Tests for C# are currently disabled." +# run_tests cs || die "emake cs test failed" + fi +} diff --git a/dev-libs/Ice/Ice-3.6.3-r1.ebuild b/dev-libs/Ice/Ice-3.6.3-r1.ebuild new file mode 100644 index 000000000000..0b7d354a2ef9 --- /dev/null +++ b/dev-libs/Ice/Ice-3.6.3-r1.ebuild @@ -0,0 +1,349 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python{2_7,3_4,3_5} pypy ) + +RUBY_OPTIONAL="yes" +USE_RUBY="ruby22" + +PHP_EXT_NAME="IcePHP" +PHP_EXT_INI="yes" +PHP_EXT_ZENDEXT="no" + +PHP_EXT_OPTIONAL_USE=php + +USE_PHP="php7-0" + +# This variable does not belong to any eclass. It is solely used in this ebuild +# db:6.2 breaks the build process +BERKDB_SLOTS=( 6.1 5.3 5.1 4.8 ) + +inherit db-use eutils mono-env php-ext-source-r2 python-r1 ruby-ng toolchain-funcs versionator + +DESCRIPTION="ICE middleware C++ library and generator tools" +HOMEPAGE="https://zeroc.com/products/ice" +SRC_URI="https://github.com/zeroc-ice/ice/archive/v${PV}.tar.gz -> ${P}.tar.gz + doc? ( http://download.zeroc.com/Ice/$(get_version_component_range 1-2)/${P}.pdf )" +LICENSE="GPL-2" +SLOT="0/36" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="doc examples libressl +ncurses mono php python ruby test debug" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND=">=dev-libs/expat-2.0.1 + >=app-arch/bzip2-1.0.5 + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + || ( + $(for slot in ${BERKDB_SLOTS[@]} ; do printf '%s\n' "sys-libs/db:${slot}[cxx]" ; done) + ) + dev-cpp/libmcpp + python? ( ${PYTHON_DEPS} ) + ruby? ( $(ruby_implementation_depend ruby22) ) + mono? ( dev-lang/mono ) + php? ( dev-lang/php:7.0 ) + !dev-python/IcePy + !dev-ruby/IceRuby" +DEPEND="${RDEPEND} + ncurses? ( sys-libs/ncurses:0= sys-libs/readline:0= ) + test? ( + ${PYTHON_DEPS} + dev-python/passlib[${PYTHON_USEDEP}] + )" + +# Maintainer notes: +# TODO: java bindings, multiple ruby versions (supports 2.{1,2,3}) + +S="${WORKDIR}/${P/I/i}" +PHP_EXT_S="${S}/php" + +PATCHES=( + "${FILESDIR}/${P}-no-arch-opts.patch" + "${FILESDIR}/${P}-csharp.patch" + "${FILESDIR}/${P}-libressl.patch" +) + +pkg_setup() { + # prevent ruby-ng.eclass from messing with pkg_setup + return +} + +src_unpack() { + # prevent ruby-ng.eclass from messing with src_unpack + default +} + +src_prepare() { + epatch -p1 "${PATCHES[@]}" + + sed -i \ + -e 's|\(install_configdir[[:space:]]*\):=|\1?=|' \ + -e 's|-L\$\(libdir\)||' \ + cpp/config/Make.rules || die "sed failed" + + sed -i \ + -e 's|\(install_phpdir[[:space:]]*\):=|\1?=|' \ + -e 's|\(install_libdir[[:space:]]*\):=|\1?=|' \ + php/config/Make.rules.php || die "sed failed" + + sed -i \ + -e 's|\(install_pythondir[[:space:]]*\)=|\1?=|' \ + -e 's|\(install_rubydir[[:space:]]*\)=|\1?=|' \ + -e 's|\(install_libdir[[:space:]]*\):=|\1?=|' \ + {python,ruby}/config/Make.rules || die "sed failed" + + sed -i \ + -e 's|-O2 ||g' \ + -e 's|-Werror ||g' \ + cpp/config/Make.rules.Linux || die "sed failed" + + sed -i \ + -e 's|install-common||' \ + {cpp,csharp,php,python,ruby}/Makefile || die "sed failed" + + sed -i \ + -e 's|-f -root|-f -gacdir $(GAC_DIR) -root|' \ + -e 's|\(install_libdir[[:space:]]*\):=|\1?=|' \ + -e 's|\(install_pkgconfigdir[[:space:]]*\):=|\1?=|' \ + csharp/config/Make.rules.cs || die "sed failed" + + # skip mono tests, bug #498484 + sed -i \ + -e '/SUBDIRS/s|\ test||' \ + csharp/Makefile || die "sed failed" + + # IceUtil/stacktrace fails with USE=debug + # skip udp test due to multicast + # skip IceSSL tests due to requirement of internet connection + # IceStorm/stress fails without USE=debug + sed -i \ + -e 's|allTests.py|allTests.py --rfilter=IceUtil\/stacktrace --rfilter=udp --rfilter=IceSSL --rfilter=IceStorm\/stress|' \ + cpp/Makefile || die "sed failed" + + # mainly broken .ice files + sed -i \ + -e 's|allTests.py|allTests.py --rfilter=operations --rfilter=slicing\/objects|' \ + python/Makefile || die "sed failed" + + # fails even on unicode locale + sed -i \ + -e 's|allTests.py|allTests.py --rfilter=Slice\/unicodePaths|' \ + ruby/Makefile || die "sed failed" +} + +src_configure() { + suitable_db_version() { + local ver + for ver in "${BERKDB_SLOTS[@]}"; do + if [[ -n $(db_findver sys-libs/db:${ver}) ]]; then + echo "${ver}" + return 0 + fi + done + die "No suitable BerkDB versions found, aborting" + } + + MAKE_RULES=( + "prefix=\"${ED%/}/usr\"" + "install_docdir=\"${ED%/}/usr/share/doc/${PF}\"" + "install_configdir=\"${ED%/}/usr/share/${P}/config\"" + "install_mandir=\"${ED%/}/usr/share/man\"" + "embedded_runpath_prefix=\"${EPREFIX}/usr\"" + "LP64=yes" + "new_dtags=yes" + "NOTEST=$(usex !test)" + "USE_READLINE=$(usex ncurses)" + "OPTIMIZE=$(usex !debug)" + ) + + local BERKDB_VERSION="$(suitable_db_version)" + MAKE_RULES+=("DB_FLAGS=-I$(db_includedir ${BERKDB_VERSION})") + sed -i \ + -e "s|g++|$(tc-getCXX)|" \ + -e "s|\(CFLAGS[[:space:]]*=\)|\1 ${CFLAGS}|" \ + -e "s|\(CXXFLAGS[[:space:]]*=\)|\1 ${CXXFLAGS}|" \ + -e "s|\(LDFLAGS[[:space:]]*=\)|\1 ${LDFLAGS}|" \ + -e "s|\(DB_LIBS[[:space:]]*=\) \-ldb_cxx|\1 -ldb_cxx-$(db_findver sys-libs/db:${BERKDB_VERSION})|" \ + cpp/config/Make.rules{,.Linux} python/config/Make.rules || die "sed failed" + + if use python; then + local S="${S}/python" + python_copy_sources + fi + + if use ruby; then + SITERUBY="$(ruby22 -r rbconfig -e 'print RbConfig::CONFIG["sitelibdir"]')" + MAKE_RULES_RUBY=( + "install_rubydir=\"${ED%/}/${SITERUBY}\"" + "install_libdir=\"${ED%/}/${SITERUBY}\"" + ) + + # make it use ruby22 only + sed -i \ + -e 's|RUBY = ruby|\022|' \ + ruby/config/Make.rules || die "sed failed" + sed -i \ + -e 's|env ruby|\022|' \ + ruby/config/s2rb.rb || die "sed failed" + sed -i \ + -e 's|env ruby|\022|' \ + ruby/scripts/slice2rb || die "sed failed" + sed -i \ + -e 's|output.write("ruby|\022|' \ + scripts/TestUtil.py || die "sed failed" + fi + + MAKE_RULES_MONO=( + "GACINSTALL=yes" + "GAC_ROOT=\"${ED%/}/usr/$(get_libdir)\"" + "GAC_DIR=\"${EPREFIX}/usr/$(get_libdir)\"" + "install_libdir=\"${ED%/}/usr/$(get_libdir)\"" + "install_pkgconfigdir=\"${ED%/}/usr/$(get_libdir)/pkgconfig\"" + ) + + if has_version ">dev-lang/mono-4"; then + MAKE_RULES_MONO+=("MCS=mcs") + fi + + use test && python_setup +} + +src_compile() { + # Do not remove this export or build will break! + tc-export CXX + + emake -C cpp "${MAKE_RULES[@]}" + + if use php; then + local i + for i in $(php_get_slots); do + mkdir -p "${WORKDIR}/${i}" || die + cp -r "${PHP_EXT_S}" "${WORKDIR}/${i}/" || die "Failed to copy source ${PHP_EXT_S} to PHP target directory" + + pushd "${WORKDIR}/${i}" >/dev/null || die + ln -s "${S}/cpp" || die + ln -s "${S}/config" || die + ln -s "${S}/slice" || die + ln -s "${S}/Makefile" || die + + emake -C php "${MAKE_RULES[@]}" USE_NAMESPACES=yes "PHP_CONFIG=\"${EPREFIX}/usr/$(get_libdir)/${i}/bin/php-config\"" + popd >/dev/null || die + done + fi + + if use python; then + building() { + emake -C "${BUILD_DIR}" "${MAKE_RULES[@]}" PYTHON="${EPYTHON}" + } + local S="${S}/python" + python_foreach_impl building + fi + + if use ruby; then + emake -C ruby "${MAKE_RULES[@]}" "${MAKE_RULES_RUBY[@]}" + fi + + if use mono; then + emake -C csharp "${MAKE_RULES[@]}" "${MAKE_RULES_MONO[@]}" + fi +} + +src_test() { + local -x LD_LIBRARY_PATH="${S}/cpp/$(get_libdir)${LD_LIBRARY_PATH+:}${LD_LIBRARY_PATH}" + emake -C cpp "${MAKE_RULES[@]}" test + + # php tests require the extension loaded and are therefore skipped + + if use python; then + testing() { + emake -C "${BUILD_DIR}" \ + "${MAKE_RULES[@]}" \ + PYTHON="${EPYTHON}" \ + install_pythondir="\"${D%/}/$(python_get_sitedir)\"" \ + install_libdir="\"${D%/}/$(python_get_sitedir)\"" test + } + local S="${S}/python" + python_foreach_impl testing + fi + + if use ruby; then + emake -C ruby "${MAKE_RULES[@]}" "${MAKE_RULES_RUBY[@]}" test + fi + + if use mono; then + # skip mono tests, bug #498484 + ewarn "Tests for C# are currently disabled." + #emake -C csharp "${MAKE_RULES[@]}" "${MAKE_RULES_MONO[@]}" test + fi +} + +src_install() { + local DOCS=( CHANGELOG*.md README.md ) + use doc && DOCS+=( "${DISTDIR}/${P}.pdf" ) + einstalldocs + + insinto /usr/share/${P} + doins -r slice + + emake -C cpp "${MAKE_RULES[@]}" install + + if use examples; then + docinto examples-cpp + dodoc cpp/config/*.cfg + docompress -x /usr/share/doc/${PF}/examples-cpp + fi + + if use php; then + insinto "/usr/share/php/${PN}" + + local i + while IFS="" read -d $'\0' -r i; do + doins "${i}" + done < <(find "${S}/php/lib/" -name '*.php' -print0) + + pushd "${ED%/}/usr/share/${P}/slice" >/dev/null || die + + local -x LD_LIBRARY_PATH="${ED%/}/usr/$(get_libdir):${LD_LIBRARY_PATH}" + for i in *; do + mkdir -p "${ED%/}/usr/share/php/${i}" || die + "${ED%/}"/usr/bin/slice2php \ + -I"${ED%/}/usr/share/${P}/slice/" --all \ + --output-dir "${ED%/}/usr/share/php/${i}" \ + --ice "${ED%/}/usr/share/${P}/slice/${i}"/* + done + + for i in $(php_get_slots); do + php_init_slot_env "${i}" + insinto "${EXT_DIR}" + newins "php/lib/${PHP_EXT_NAME}.so" "${PHP_EXT_NAME}.so" + done + php-ext-source-r2_createinifiles + + popd >/dev/null || die + fi + + if use python; then + installation() { + mkdir -p "${D%/}/$(python_get_sitedir)" || die + + emake -C "${BUILD_DIR}" \ + "${MAKE_RULES[@]}" \ + install_pythondir="\"${D%/}/$(python_get_sitedir)\"" \ + install_libdir="\"${D%/}/$(python_get_sitedir)\"" \ + install + } + local S="${S}/python" + python_foreach_impl installation + fi + + if use ruby; then + dodir "${SITERUBY}" + emake -C ruby "${MAKE_RULES[@]}" "${MAKE_RULES_RUBY[@]}" install + fi + + if use mono; then + emake -C csharp "${MAKE_RULES[@]}" "${MAKE_RULES_MONO[@]}" install + fi +} diff --git a/dev-libs/Ice/Ice-3.6.3.ebuild b/dev-libs/Ice/Ice-3.6.3.ebuild new file mode 100644 index 000000000000..33bd9a462f93 --- /dev/null +++ b/dev-libs/Ice/Ice-3.6.3.ebuild @@ -0,0 +1,348 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python{2_7,3_4,3_5} pypy ) + +RUBY_OPTIONAL="yes" +USE_RUBY="ruby22" + +PHP_EXT_NAME="IcePHP" +PHP_EXT_INI="yes" +PHP_EXT_ZENDEXT="no" + +PHP_EXT_OPTIONAL_USE=php + +USE_PHP="php7-0" + +# This variable does not belong to any eclass. It is solely used in this ebuild +# db:6.2 breaks the build process +BERKDB_SLOTS=( 6.1 5.3 5.1 4.8 ) + +inherit db-use eutils mono-env php-ext-source-r2 python-r1 ruby-ng toolchain-funcs versionator + +DESCRIPTION="ICE middleware C++ library and generator tools" +HOMEPAGE="https://zeroc.com/products/ice" +SRC_URI="https://github.com/zeroc-ice/ice/archive/v${PV}.tar.gz -> ${P}.tar.gz + doc? ( http://download.zeroc.com/Ice/$(get_version_component_range 1-2)/${P}.pdf )" +LICENSE="GPL-2" +SLOT="0/36" +KEYWORDS="amd64 x86" +IUSE="doc examples libressl +ncurses mono php python ruby test debug" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND=">=dev-libs/expat-2.0.1 + >=app-arch/bzip2-1.0.5 + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + || ( + $(for slot in ${BERKDB_SLOTS[@]} ; do printf '%s\n' "sys-libs/db:${slot}[cxx]" ; done) + ) + dev-cpp/libmcpp + python? ( ${PYTHON_DEPS} ) + ruby? ( $(ruby_implementation_depend ruby22) ) + mono? ( dev-lang/mono ) + php? ( dev-lang/php:7.0 ) + !dev-python/IcePy + !dev-ruby/IceRuby" +DEPEND="${RDEPEND} + ncurses? ( sys-libs/ncurses:0= sys-libs/readline:0= ) + test? ( + ${PYTHON_DEPS} + dev-python/passlib[${PYTHON_USEDEP}] + )" + +# Maintainer notes: +# TODO: java bindings, multiple ruby versions (supports 2.{1,2,3}) + +S="${WORKDIR}/${P/I/i}" +PHP_EXT_S="${S}/php" + +PATCHES=( + "${FILESDIR}/${P}-no-arch-opts.patch" + "${FILESDIR}/${P}-csharp.patch" +) + +pkg_setup() { + # prevent ruby-ng.eclass from messing with pkg_setup + return +} + +src_unpack() { + # prevent ruby-ng.eclass from messing with src_unpack + default +} + +src_prepare() { + epatch -p1 "${PATCHES[@]}" + + sed -i \ + -e 's|\(install_configdir[[:space:]]*\):=|\1?=|' \ + -e 's|-L\$\(libdir\)||' \ + cpp/config/Make.rules || die "sed failed" + + sed -i \ + -e 's|\(install_phpdir[[:space:]]*\):=|\1?=|' \ + -e 's|\(install_libdir[[:space:]]*\):=|\1?=|' \ + php/config/Make.rules.php || die "sed failed" + + sed -i \ + -e 's|\(install_pythondir[[:space:]]*\)=|\1?=|' \ + -e 's|\(install_rubydir[[:space:]]*\)=|\1?=|' \ + -e 's|\(install_libdir[[:space:]]*\):=|\1?=|' \ + {python,ruby}/config/Make.rules || die "sed failed" + + sed -i \ + -e 's|-O2 ||g' \ + -e 's|-Werror ||g' \ + cpp/config/Make.rules.Linux || die "sed failed" + + sed -i \ + -e 's|install-common||' \ + {cpp,csharp,php,python,ruby}/Makefile || die "sed failed" + + sed -i \ + -e 's|-f -root|-f -gacdir $(GAC_DIR) -root|' \ + -e 's|\(install_libdir[[:space:]]*\):=|\1?=|' \ + -e 's|\(install_pkgconfigdir[[:space:]]*\):=|\1?=|' \ + csharp/config/Make.rules.cs || die "sed failed" + + # skip mono tests, bug #498484 + sed -i \ + -e '/SUBDIRS/s|\ test||' \ + csharp/Makefile || die "sed failed" + + # IceUtil/stacktrace fails with USE=debug + # skip udp test due to multicast + # skip IceSSL tests due to requirement of internet connection + # IceStorm/stress fails without USE=debug + sed -i \ + -e 's|allTests.py|allTests.py --rfilter=IceUtil\/stacktrace --rfilter=udp --rfilter=IceSSL --rfilter=IceStorm\/stress|' \ + cpp/Makefile || die "sed failed" + + # mainly broken .ice files + sed -i \ + -e 's|allTests.py|allTests.py --rfilter=operations --rfilter=slicing\/objects|' \ + python/Makefile || die "sed failed" + + # fails even on unicode locale + sed -i \ + -e 's|allTests.py|allTests.py --rfilter=Slice\/unicodePaths|' \ + ruby/Makefile || die "sed failed" +} + +src_configure() { + suitable_db_version() { + local ver + for ver in "${BERKDB_SLOTS[@]}"; do + if [[ -n $(db_findver sys-libs/db:${ver}) ]]; then + echo "${ver}" + return 0 + fi + done + die "No suitable BerkDB versions found, aborting" + } + + MAKE_RULES=( + "prefix=\"${ED%/}/usr\"" + "install_docdir=\"${ED%/}/usr/share/doc/${PF}\"" + "install_configdir=\"${ED%/}/usr/share/${P}/config\"" + "install_mandir=\"${ED%/}/usr/share/man\"" + "embedded_runpath_prefix=\"${EPREFIX}/usr\"" + "LP64=yes" + "new_dtags=yes" + "NOTEST=$(usex !test)" + "USE_READLINE=$(usex ncurses)" + "OPTIMIZE=$(usex !debug)" + ) + + local BERKDB_VERSION="$(suitable_db_version)" + MAKE_RULES+=("DB_FLAGS=-I$(db_includedir ${BERKDB_VERSION})") + sed -i \ + -e "s|g++|$(tc-getCXX)|" \ + -e "s|\(CFLAGS[[:space:]]*=\)|\1 ${CFLAGS}|" \ + -e "s|\(CXXFLAGS[[:space:]]*=\)|\1 ${CXXFLAGS}|" \ + -e "s|\(LDFLAGS[[:space:]]*=\)|\1 ${LDFLAGS}|" \ + -e "s|\(DB_LIBS[[:space:]]*=\) \-ldb_cxx|\1 -ldb_cxx-$(db_findver sys-libs/db:${BERKDB_VERSION})|" \ + cpp/config/Make.rules{,.Linux} python/config/Make.rules || die "sed failed" + + if use python; then + local S="${S}/python" + python_copy_sources + fi + + if use ruby; then + SITERUBY="$(ruby22 -r rbconfig -e 'print RbConfig::CONFIG[\"sitelibdir\"]')" + MAKE_RULES_RUBY=( + "install_rubydir=\"${ED%/}/${SITERUBY}\"" + "install_libdir=\"${ED%/}/${SITERUBY}\"" + ) + + # make it use ruby22 only + sed -i \ + -e 's|RUBY = ruby|\022|' \ + ruby/config/Make.rules || die "sed failed" + sed -i \ + -e 's|env ruby|\022|' \ + ruby/config/s2rb.rb || die "sed failed" + sed -i \ + -e 's|env ruby|\022|' \ + ruby/scripts/slice2rb || die "sed failed" + sed -i \ + -e 's|output.write("ruby|\022|' \ + scripts/TestUtil.py || die "sed failed" + fi + + MAKE_RULES_MONO=( + "GACINSTALL=yes" + "GAC_ROOT=\"${ED%/}/usr/$(get_libdir)\"" + "GAC_DIR=\"${EPREFIX}/usr/$(get_libdir)\"" + "install_libdir=\"${ED%/}/usr/$(get_libdir)\"" + "install_pkgconfigdir=\"${ED%/}/usr/$(get_libdir)/pkgconfig\"" + ) + + if has_version ">dev-lang/mono-4"; then + MAKE_RULES_MONO+=("MCS=mcs") + fi + + use test && python_setup +} + +src_compile() { + # Do not remove this export or build will break! + tc-export CXX + + emake -C cpp "${MAKE_RULES[@]}" + + if use php; then + local i + for i in $(php_get_slots); do + mkdir -p "${WORKDIR}/${i}" || die + cp -r "${PHP_EXT_S}" "${WORKDIR}/${i}/" || die "Failed to copy source ${PHP_EXT_S} to PHP target directory" + + pushd "${WORKDIR}/${i}" >/dev/null || die + ln -s "${S}/cpp" || die + ln -s "${S}/config" || die + ln -s "${S}/slice" || die + ln -s "${S}/Makefile" || die + + emake -C php "${MAKE_RULES[@]}" USE_NAMESPACES=yes "PHP_CONFIG=\"${EPREFIX}/usr/$(get_libdir)/${i}/bin/php-config\"" + popd >/dev/null || die + done + fi + + if use python; then + building() { + emake -C "${BUILD_DIR}" "${MAKE_RULES[@]}" PYTHON="${EPYTHON}" + } + local S="${S}/python" + python_foreach_impl building + fi + + if use ruby; then + emake -C ruby "${MAKE_RULES[@]}" "${MAKE_RULES_RUBY[@]}" + fi + + if use mono; then + emake -C csharp "${MAKE_RULES[@]}" "${MAKE_RULES_MONO[@]}" + fi +} + +src_test() { + local -x LD_LIBRARY_PATH="${S}/cpp/$(get_libdir)${LD_LIBRARY_PATH+:}${LD_LIBRARY_PATH}" + emake -C cpp "${MAKE_RULES[@]}" test + + # php tests require the extension loaded and are therefore skipped + + if use python; then + testing() { + emake -C "${BUILD_DIR}" \ + "${MAKE_RULES[@]}" \ + PYTHON="${EPYTHON}" \ + install_pythondir="\"${D%/}/$(python_get_sitedir)\"" \ + install_libdir="\"${D%/}/$(python_get_sitedir)\"" test + } + local S="${S}/python" + python_foreach_impl testing + fi + + if use ruby; then + emake -C ruby "${MAKE_RULES[@]}" "${MAKE_RULES_RUBY[@]}" test + fi + + if use mono; then + # skip mono tests, bug #498484 + ewarn "Tests for C# are currently disabled." + #emake -C csharp "${MAKE_RULES[@]}" "${MAKE_RULES_MONO[@]}" test + fi +} + +src_install() { + local DOCS=( CHANGELOG*.md README.md ) + use doc && DOCS+=( "${DISTDIR}/${P}.pdf" ) + einstalldocs + + insinto /usr/share/${P} + doins -r slice + + emake -C cpp "${MAKE_RULES[@]}" install + + if use examples; then + docinto examples-cpp + dodoc cpp/config/*.cfg + docompress -x /usr/share/doc/${PF}/examples-cpp + fi + + if use php; then + insinto "/usr/share/php/${PN}" + + local i + while IFS="" read -d $'\0' -r i; do + doins "${i}" + done < <(find "${S}/php/lib/" -name '*.php' -print0) + + pushd "${ED%/}/usr/share/${P}/slice" >/dev/null || die + + local -x LD_LIBRARY_PATH="${ED%/}/usr/$(get_libdir):${LD_LIBRARY_PATH}" + for i in *; do + mkdir -p "${ED%/}/usr/share/php/${i}" || die + "${ED%/}"/usr/bin/slice2php \ + -I"${ED%/}/usr/share/${P}/slice/" --all \ + --output-dir "${ED%/}/usr/share/php/${i}" \ + --ice "${ED%/}/usr/share/${P}/slice/${i}"/* + done + + for i in $(php_get_slots); do + php_init_slot_env "${i}" + insinto "${EXT_DIR}" + newins "php/lib/${PHP_EXT_NAME}.so" "${PHP_EXT_NAME}.so" + done + php-ext-source-r2_createinifiles + + popd >/dev/null || die + fi + + if use python; then + installation() { + mkdir -p "${D%/}/$(python_get_sitedir)" || die + + emake -C "${BUILD_DIR}" \ + "${MAKE_RULES[@]}" \ + install_pythondir="\"${D%/}/$(python_get_sitedir)\"" \ + install_libdir="\"${D%/}/$(python_get_sitedir)\"" \ + install + } + local S="${S}/python" + python_foreach_impl installation + fi + + if use ruby; then + dodir "${SITERUBY}" + emake -C ruby "${MAKE_RULES[@]}" "${MAKE_RULES_RUBY[@]}" install + fi + + if use mono; then + emake -C csharp "${MAKE_RULES[@]}" "${MAKE_RULES_MONO[@]}" install + fi +} diff --git a/dev-libs/Ice/Manifest b/dev-libs/Ice/Manifest new file mode 100644 index 000000000000..5addea70f865 --- /dev/null +++ b/dev-libs/Ice/Manifest @@ -0,0 +1,13 @@ +AUX Ice-3.6.3-csharp.patch 1573 SHA256 2cc8947dbe76a8e89216a82a8a305123120c5115cf7ddff3325c69d0bce4fc8a SHA512 62741327524cea96652179811c0591ed7e75b75a27623cb24fe2e55c47150692d862aa78039ed82a081236273163015d4b7e56817ac13ccd63ca1042e641704f WHIRLPOOL 0f15fe33b78f8f61a156eb197dab3c4cf812bcec4f68ba3bce54ba8a4ecc20617450bccf86bdaa34a9ea7186c15620face1bbd866790f7764c377769c9dc30da +AUX Ice-3.6.3-libressl.patch 6461 SHA256 39137ccea35a8b8d72d5d38bdf1503df4e1bfaa9dff2a0e66f8c644af3c9e278 SHA512 386ed4d666ea76a16255e7e5023be9880ac1f5e26ffec3d19560484eb6ace158f134c1d425586c1f654d7dc58732c17ed4b190eaf26f4aba0cd4bc319abe50cb WHIRLPOOL e41498ead25b41975172745b84a9be18f2fd0f8cca9d9d904f0dec1aea158e595719380f6b2957b01fe04f5521f8cb88a0b1075fc8a985536777053608dd75f0 +AUX Ice-3.6.3-no-arch-opts.patch 1462 SHA256 e84911ad11b435e559f0e3cd5d294fce1543c0237943641923d1c1303c796953 SHA512 236abce89a7bcf64d6a12db5a82d62db1effa2b5a105ae7c83910f02ca1ccd610193097a2c959d2a487f0d641af70ba8013bcfe570e2af40976d9a1017272e6e WHIRLPOOL 76899080b3965d01ff0c063ca72f17a609d34a7b60e750049932dcbad6b19a15e48d538b6b0ef1ac8a17bb387646f48f9cd0d1f7e8f40462b94681640a3a91d2 +DIST Ice-3.5.1.pdf 8279548 SHA256 236f509a3868301ebe688f50417f30155ffa1d330a6c7ab3ef926d40ab145150 SHA512 6fe78ed629de330c56cf260a0a78d650ad9e1507d737a8e58c616f1c61897487dae2f9fb942f1e878706dbc645cb9c672377eeef905f8764b57dd7e6f8d1c7f2 WHIRLPOOL 9fc90d131b028b74f3393df88adb8719a1fef0f829a6226e833c95bcf3bc6b53394a11e3722f0fad2a5597b2468498728310a6e974e1dcb1138fea0ab5b68b28 +DIST Ice-3.5.1.tar.gz 4799296 SHA256 989e51194c6adadbd156da3288e37bad847b93b3b876502e83033b70493af392 SHA512 610fa317bd75e64802d1b5216db4747f86157d3246a2022397bafaefdd9b1b78d131733762003ee779065401c8a83120db65cf9b86fbf1914266309571baf58f WHIRLPOOL 0b760edcd7e3eb1220af81a2236634b86775a18050b0645e4e662bf0fb543aa14177d83e2c8659a62bd5bf6e403384998b893e84b9d547c32bbc2064b5f7de9c +DIST Ice-3.6.3.pdf 8844957 SHA256 bf6edd649d44dcac1951d7d62b112fb535b8f29f58973cfdcd5cabf8940bb3b9 SHA512 44638a315b0da9c26519c053c48ab8ee216c43410f53844465535a972ae01031f1603769e9b3169fdf9358de67e0d0c7e238b2918b5d5b1c4cb95cb922fa922a WHIRLPOOL 65087b4c643e2c7f2cf66b3b9fb433823f75c8b5a44b838d39077f2dab85c57ff4e022931ec8ba21cbc6deda2e55257f6c0d2d0a360d50e9b1a615253ad7ed0a +DIST Ice-3.6.3.tar.gz 5512741 SHA256 82ff74e6d24d9fa396dbb4d9697dc183b17bc9c3f6f076fecdc05632be80a2dc SHA512 6e17d21f55a8504af87a64c498a0c4d2084ed96a85c7a66d00319324774f671ace6afa03108d8d4e9bedf5fcfc2f3dba247949a27deecacdd0d298bd0bfe0a45 WHIRLPOOL 4e2d50aaf62f805a0c5471ab907c7680607de5fe101c96a740a3bc1b8ddc7ea93d768ba5886b26772647eb173417195bd808399192b2d2c7d5adb40cf38fc95f +EBUILD Ice-3.5.1.ebuild 7239 SHA256 2175d704bdfb71c3d693e1ea65e415f64b85e6822daeb796ac2f617a69e96719 SHA512 342444cce29400d61b30135175887d7a381f86fc3e0e2b526d32e73dbdbf97601fbab8f8591408f5376a40ef496b55fa1c24a88a9007307efa437de052c46c83 WHIRLPOOL 5daf01f7ecdb010bf735418773300b51e4af706eeab9829b3e641e6a71dfc271b0aed85fba24579624088851835e185eee77710126ccd129f33474e0589303e0 +EBUILD Ice-3.6.3-r1.ebuild 9198 SHA256 a4a575a584ad5c7b27224e7841b7749bb09b8408350327789a503ab446dd1e00 SHA512 293ef0c35c6d3e6c0bcdac947f6b61e366d5f2676069b3f68dc98f2a1bfd320b3ddd6f94a5b6318360e4b015b08ddb2ab24643a426a1257656bad615b9d3a9fc WHIRLPOOL 3eb3e49f6907e8e2320475aa44f005e313a789947a3ba1becf7da89d032f693d8f37e68a7e39c019a86a415bdbe7210ccf593e6bbae12baa4a260d0400df3a4e +EBUILD Ice-3.6.3.ebuild 9158 SHA256 4b2023154fc2a0e60e470709203ecd2b926e6485bc6ac24efb8d4a19c45fa960 SHA512 e0ba152bd9ffa979c1a8f236539ed6238924e53571fccd7a070d13c18cdc5ca1510ba42da8c4da62ef5d8cb16e58ba66df09fe1f26eb26f03e6b951a45613329 WHIRLPOOL d0d878c85ec11ba423ae084dfcdfd4a851e82aeab736441c8fb207262820c17efccdb19b62f2ff3a6a50d4ae730e43d7977b6d631eeeebe6c47c5f54f6b233b4 +MISC ChangeLog 3590 SHA256 ea93b989972b18af685b4e30c62bb3f29c545cddc75d5a2eb3973e3588cbf89a SHA512 dece5e3c0e0ba820bd4fccde2faf73a7b9aed0833cbaecf6f97f29c8647adc300aea9f64cc291dfb9fbdc2ed8fdd8a1118150ddd2113090fe51cb9b77d05767b WHIRLPOOL 09e84a51e48ed2945dbb0947f8871efaadea4dad984e2512acd8cec8f528410435f496875d8b4463ef1efabbb973445cdf0caff2a8502e125e07e0aafc63b205 +MISC ChangeLog-2015 13110 SHA256 1a67f15d3f30782c60db459c1184bad3a49644064e3ed61dcf70adf44707b96b SHA512 24dd54484417eca4d0db815b8219f01ea1b4b25210ef054dc55b4204fbbd5a395088c291248327e84c6ba382c223bff7a53ed1261c2edfc80cf5456786024b4f WHIRLPOOL 2b4afb45135f5c8f77ded871930917e26386b6b74bea4ad5dd46752624fb30dbba50dda633b16b4ff7b0ad2dba04e64a981f797bce8a2f359406eb879476f964 +MISC metadata.xml 520 SHA256 d7a5d7e5b560e90512c312c28cc99ce7b665a9fb11490224314a9b338ac19479 SHA512 8958293c1fbc414bd911848999b0414dc64befc865b012c4c5c40350dce69f366e329c6aac793877eca8cf5e4b8bd477df3055a0ce7481d3c6d9ae1a4b76dfe5 WHIRLPOOL 5de39a18915e41e455c529bbb96e5d7bd21c487bbb6e961c42aaf61e894cc9f38f338ceec720caab61a3d4764cfa0cc551c1c832f3356aa8d87c48a12047abbf diff --git a/dev-libs/Ice/files/Ice-3.6.3-csharp.patch b/dev-libs/Ice/files/Ice-3.6.3-csharp.patch new file mode 100644 index 000000000000..e9dce1146baa --- /dev/null +++ b/dev-libs/Ice/files/Ice-3.6.3-csharp.patch @@ -0,0 +1,50 @@ +--- ice-3.6.3/csharp/src/Makefile~ 2015-06-23 17:30:20.000000000 +0200 ++++ ice-3.6.3/csharp/src/Makefile 2015-06-27 20:07:04.217188211 +0200 +@@ -11,7 +11,7 @@ + + include $(top_srcdir)/config/Make.rules.cs + +-SUBDIRS = Ice IceStorm Glacier2 IcePatch2 IceGrid IceBox IceDiscovery IceLocatorDiscovery ++SUBDIRS = Ice IceStorm Glacier2 IcePatch2 IceGrid IceBox IceSSL IceDiscovery IceLocatorDiscovery + + $(EVERYTHING):: + @for subdir in $(SUBDIRS); \ +--- /dev/null 2015-06-27 16:44:15.733558105 +0200 ++++ ice-3.6.3/csharp/lib/pkgconfig/IceSSL.pc 2015-06-27 20:19:30.731894653 +0200 +@@ -0,0 +1,10 @@ ++version = 3.6.3 ++mono_root = /usr ++ ++name = IceSSL ++ ++Name: ${name} ++Description: IceSSL run-time support ++Version: ${version} ++Libs: -r:${mono_root}/lib/mono/${name}/${name}.dll ++Requires: Ice = ${version} +--- /dev/null 2015-06-27 16:44:15.733558105 +0200 ++++ ice-3.6.3/csharp/lib/pkgconfig/IceDiscovery.pc 2015-06-27 20:20:44.312515987 +0200 +@@ -0,0 +1,10 @@ ++version = 3.6.3 ++mono_root = /usr ++ ++name = IceDiscovery ++ ++Name: ${name} ++Description: IceDiscovery run-time support ++Version: ${version} ++Libs: -r:${mono_root}/lib/mono/${name}/${name}.dll ++Requires: Ice = ${version} +--- /dev/null 2015-06-27 16:44:15.733558105 +0200 ++++ ice-3.6.3/csharp/lib/pkgconfig/IceLocatorDiscovery.pc 2015-06-27 20:21:22.206185123 +0200 +@@ -0,0 +1,10 @@ ++version = 3.6.3 ++mono_root = /usr ++ ++name = IceLocatorDiscovery ++ ++Name: ${name} ++Description: IceLocatorDiscovery run-time support ++Version: ${version} ++Libs: -r:${mono_root}/lib/mono/${name}/${name}.dll ++Requires: Ice = ${version} diff --git a/dev-libs/Ice/files/Ice-3.6.3-libressl.patch b/dev-libs/Ice/files/Ice-3.6.3-libressl.patch new file mode 100644 index 000000000000..e7d42e3f0d0c --- /dev/null +++ b/dev-libs/Ice/files/Ice-3.6.3-libressl.patch @@ -0,0 +1,164 @@ +From cbbac2c31a04e956261489ce75c962be7e2454ae Mon Sep 17 00:00:00 2001 +From: Joe George +Date: Mon, 12 Dec 2016 11:51:41 -0500 +Subject: [PATCH] ICE-7445 - Add libressl build support + +--- + cpp/src/IceSSL/OpenSSLEngine.cpp | 20 ++++++++++---------- + cpp/src/IceSSL/OpenSSLTransceiverI.cpp | 6 +++--- + cpp/src/IceSSL/Util.cpp | 8 ++++---- + 3 files changed, 17 insertions(+), 17 deletions(-) + +diff --git a/cpp/src/IceSSL/OpenSSLEngine.cpp b/cpp/src/IceSSL/OpenSSLEngine.cpp +index 8c45950..7360d06 100644 +--- a/cpp/src/IceSSL/OpenSSLEngine.cpp ++++ b/cpp/src/IceSSL/OpenSSLEngine.cpp +@@ -43,7 +43,7 @@ IceUtil::Mutex* staticMutex = 0; + int instanceCount = 0; + bool initOpenSSL = false; + +-#if OPENSSL_VERSION_NUMBER < 0x10100000L ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) + IceUtil::Mutex* locks = 0; + #endif + +@@ -59,10 +59,10 @@ class Init + ~Init() + { + // +- // OpenSSL 1.1.0 introduces a new thread API and removes ++ // OpenSSL 1.1.0 introduces a new thread API and removes + // the need to use a custom thread callback. + // +-#if OPENSSL_VERSION_NUMBER < 0x10100000L ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) + CRYPTO_set_locking_callback(0); + CRYPTO_set_id_callback(0); + +@@ -84,10 +84,10 @@ extern "C" + { + + // +-// OpenSSL 1.1.0 introduces a new thread API and removes ++// OpenSSL 1.1.0 introduces a new thread API and removes + // the need to use a custom thread callback. + // +-#if OPENSSL_VERSION_NUMBER < 0x10100000L ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) + // + // OpenSSL mutex callback. + // +@@ -158,7 +158,7 @@ IceSSL_opensslPasswordCallback(char* buf, int size, int flag, void* userData) + DH* + IceSSL_opensslDHCallback(SSL* ssl, int /*isExport*/, int keyLength) + { +-# if OPENSSL_VERSION_NUMBER >= 0x10100000L ++# if OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER) + SSL_CTX* ctx = SSL_get_SSL_CTX(ssl); + # else + SSL_CTX* ctx = ssl->ctx; +@@ -219,7 +219,7 @@ OpenSSLEngine::OpenSSLEngine(const CommunicatorPtr& communicator) : + // + // OpenSSL 1.1.0 remove the need for library initialization and cleanup. + // +-#if OPENSSL_VERSION_NUMBER < 0x10100000L ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) + // + // Create the mutexes and set the callbacks. + // +@@ -326,7 +326,7 @@ OpenSSLEngine::~OpenSSLEngine() + // + // OpenSSL 1.1.0 remove the need for library initialization and cleanup. + // +-#if OPENSSL_VERSION_NUMBER < 0x10100000L ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) + // + // Clean up OpenSSL resources. + // +@@ -399,7 +399,7 @@ OpenSSLEngine::initialize() + "IceSSL: unable to create SSL context:\n" + sslErrors()); + } + +-#if OPENSSL_VERSION_NUMBER >= 0x10100000L ++#if OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER) + int securityLevel = properties->getPropertyAsIntWithDefault(propPrefix + "SecurityLevel", -1); + if(securityLevel != -1) + { +@@ -954,7 +954,7 @@ OpenSSLEngine::parseProtocols(const StringSeq& protocols) const + SSL_METHOD* + OpenSSLEngine::getMethod(int /*protocols*/) + { +-#if OPENSSL_VERSION_NUMBER >= 0x10100000L ++#if OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER) + SSL_METHOD* meth = const_cast(TLS_method()); + #else + // +diff --git a/cpp/src/IceSSL/OpenSSLTransceiverI.cpp b/cpp/src/IceSSL/OpenSSLTransceiverI.cpp +index d66c5eb..9f07044 100644 +--- a/cpp/src/IceSSL/OpenSSLTransceiverI.cpp ++++ b/cpp/src/IceSSL/OpenSSLTransceiverI.cpp +@@ -36,7 +36,7 @@ using namespace IceSSL; + // + // See: http://cvs.openssl.org/chngview?cn=22569 + // +-#if defined(OPENSSL_VERSION_NUMBER) && OPENSSL_VERSION_NUMBER < 0x100000bfL ++#if defined(OPENSSL_VERSION_NUMBER) && OPENSSL_VERSION_NUMBER < 0x100000bfL && !defined(LIBRESSL_VERSION_NUMBER) + namespace + { + +@@ -156,13 +156,13 @@ IceSSL::TransceiverI::initialize(IceInternal::Buffer& readBuffer, IceInternal::B + // + // See: http://cvs.openssl.org/chngview?cn=22569 + // +-#if defined(OPENSSL_VERSION_NUMBER) && OPENSSL_VERSION_NUMBER < 0x100000bfL ++#if defined(OPENSSL_VERSION_NUMBER) && OPENSSL_VERSION_NUMBER < 0x100000bfL && !defined(LIBRESSL_VERSION_NUMBER) + IceUtilInternal::MutexPtrLock sync(sslMutex); + #endif + + int ret = _incoming ? SSL_accept(_ssl) : SSL_connect(_ssl); + +-#if defined(OPENSSL_VERSION_NUMBER) && OPENSSL_VERSION_NUMBER < 0x100000bfL ++#if defined(OPENSSL_VERSION_NUMBER) && OPENSSL_VERSION_NUMBER < 0x100000bfL && !defined(LIBRESSL_VERSION_NUMBER) + sync.release(); + #endif + if(ret <= 0) +diff --git a/cpp/src/IceSSL/Util.cpp b/cpp/src/IceSSL/Util.cpp +index a60ee4c..50c47f3 100644 +--- a/cpp/src/IceSSL/Util.cpp ++++ b/cpp/src/IceSSL/Util.cpp +@@ -110,7 +110,7 @@ namespace + { + + # ifndef OPENSSL_NO_DH +-# if OPENSSL_VERSION_NUMBER < 0x10100000L ++# if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) + + // The following arrays are predefined Diffie Hellman group parameters. + // These are known strong primes, distributed with the OpenSSL library +@@ -228,7 +228,7 @@ unsigned char dh4096_g[] = { 0x02 }; + // + // With OpenSSL 1.1.0 is no longer possible to acess the DH p and g + // data members to set the DH params. We still use the same default +-// parameters but they were converted to DER format using ++// parameters but they were converted to DER format using + // i2d_DHparams and can be restored using d2i_DHparams + + unsigned char dh512[] = +@@ -338,7 +338,7 @@ unsigned char dh4096[] = + // + // Convert a predefined parameter set into a DH value. + // +-# if OPENSSL_VERSION_NUMBER >= 0x10100000L ++# if OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER) + static DH* + convertDH(const unsigned char* buf, int len) + { +@@ -428,7 +428,7 @@ IceSSL::DHParams::get(int keyLength) + // No match found. Use one of the predefined parameter sets instead. + // + IceUtil::Mutex::Lock sync(*this); +-# if OPENSSL_VERSION_NUMBER >= 0x10100000L ++# if OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER) + if(keyLength >= 4096) + { + if(!_dh4096) diff --git a/dev-libs/Ice/files/Ice-3.6.3-no-arch-opts.patch b/dev-libs/Ice/files/Ice-3.6.3-no-arch-opts.patch new file mode 100644 index 000000000000..149a31e1dd6c --- /dev/null +++ b/dev-libs/Ice/files/Ice-3.6.3-no-arch-opts.patch @@ -0,0 +1,50 @@ +--- ice-3.6.3/cpp/config/Make.rules.Linux~ 2015-06-27 16:56:56.000000000 +0200 ++++ ice-3.6.3/cpp/config/Make.rules.Linux 2015-06-27 17:23:45.810591931 +0200 +@@ -79,19 +79,6 @@ + CXXARCHFLAGS += -mtune=v8 -pipe -Wno-deprecated -DICE_USE_MUTEX_SHARED + endif + +- # +- # Only use multilib -m32/-m64 options for amd64 arch, x32 arch can also run +- # in amd64 macines but doesn't use multilib, in this case MACHINE_TYPE will +- # be x86_64 and HOST_ARCH x32. +- # +- ifeq ($(HOST_ARCH),amd64) +- ifeq ($(LP64),yes) +- CXXARCHFLAGS += -m64 +- else +- CXXARCHFLAGS += -m32 +- endif +- endif +- + CXXFLAGS += $(CXXARCHFLAGS) -fvisibility=hidden -Wall -Werror -pthread + + # If MAXWARN is set then enable extra warnings +--- ice-3.6.3/config/Make.common.rules~ 2015-06-23 17:30:20.000000000 +0200 ++++ ice-3.6.3/config/Make.common.rules 2015-06-28 01:53:57.149666595 +0200 +@@ -101,25 +101,7 @@ + ifeq ($(LP64),) + LP64 = yes + endif +- +- # +- # x86 binaries build on x86_64 machine use 32 binsuffix +- # +- ifneq ($(STATICLIBS),yes) +- ifneq ($(LP64),yes) +- binsuffix = 32 +- endif +- endif + endif +- +- # +- # x86 builds uses 32 binsuffix +- # +- ifneq ($(STATICLIBS),yes) +- ifeq ($(findstring $(MACHINE_TYPE),i386 i486 i586 i686),$(MACHINE_TYPE)) +- binsuffix = 32 +- endif +- endif + endif + + ifeq ($(CPP11),yes) diff --git a/dev-libs/Ice/metadata.xml b/dev-libs/Ice/metadata.xml new file mode 100644 index 000000000000..c4c331cd2dd6 --- /dev/null +++ b/dev-libs/Ice/metadata.xml @@ -0,0 +1,17 @@ + + + + + Dessa@gmake.de + Robert Förster + + + cpp@gentoo.org + + + Ice is a C++ middleware technology with bindings for other languages. + + + zeroc-ice/ice + + diff --git a/dev-libs/MicroJSON/Manifest b/dev-libs/MicroJSON/Manifest new file mode 100644 index 000000000000..163a6a2aa4ab --- /dev/null +++ b/dev-libs/MicroJSON/Manifest @@ -0,0 +1,7 @@ +DIST MicroJSON-0.3.1.tar.bz2 5585 SHA256 5eeca2a13081f5a9c1796786cd0d5a449879067b62214d308c75fb1b1e24fed7 SHA512 de4a7e0268898704872e4bff81c3dc4083702f497e7a8772773bfb1930448f692ede29684741eb6b5bfeff7bb918577a14e79652e6b5e513965a81a69b5b6991 WHIRLPOOL b504e3371fbc90dd3fdfba65a558d96331aeb586372ea72236d43fbf1e50915752fa8f75a3038289d1b5b11c1c544a784baee44ef9a75c4014c6cf0407126345 +DIST MicroJSON-0.3.2.tar.bz2 5657 SHA256 a93f9333c9bb0867722fb0fb74dbc7f4142752e39a9195436faa67cb3efeff4a SHA512 06dced1f9ae4ef955b6e730e222266d89604ca8e38326c692eceac9f641a3233df8d90c41a10d2a360057320be9ce4e1b5ba70fa5e8934cfea7028f53a102a88 WHIRLPOOL a0557ca78a00fb6a2c83643a0f3a74373fc35460312ed526d87a10d49db9e012afd490ed2e8d5190a77e23b53e44e6401d923a84d551c271d5799a993562e5d5 +EBUILD MicroJSON-0.3.1.ebuild 447 SHA256 196f970d6662214dd4a3db676c610a448c3f28251e7cff8acaed36f6521a0178 SHA512 a10df8df3b458687d3f31ba8fc8bb79d21c8ded225bc6edd3130635244e764ed0a06fb6e19db404b5e29e4db43e61d77c24589d32335274e05d60484d1bef82d WHIRLPOOL 6d30c7b50bf69afc6141b40a024b890332f49863472916aa8951925202d8af118b1e305a53d670ce722202613d4088b4cd1b2318a9c009bb8eb9369a5f6dbaf4 +EBUILD MicroJSON-0.3.2.ebuild 455 SHA256 bcf14e62cc01319317d837f1f92fe235d870de786b42feef9c36d69d872b0255 SHA512 31afddedcee8554715e40aeb4cb9803179c12d2f344a9979524a681c72ebdbbb4e5aa9dd4fa08c6b7014d1d96276f3ba8ad413b1fba6290340cc5083429a20b2 WHIRLPOOL 57e0df200c2b829f8429d18af3f504850c5f9c658f97a7e625e41f1e4de55ce56796a1c96780ad350d43c240a9e6cdb670c674041099eb6adeec8eac4351cde7 +MISC ChangeLog 2882 SHA256 56a747479179fc943ba29ced5c688f3efe91c78a84d1e42de13d71df42d91b53 SHA512 8e303245f5ca1f130910d8dfe40fe953f93d56466403d2a583f4a2d7e1470b03251d6f5f1cecc7672c7e91d12ddcd6c839d7a8e810b082e11cd873fca252164a WHIRLPOOL 1dfb29e52ac3091fbd06a0c469b22fd504fb016fa086b57690e9fecde16a125f620ea5af9d1119cf319fd59c6027ff3a574521e33a623fbff325beb472bb53f1 +MISC ChangeLog-2015 2346 SHA256 b85a5c9fef0e9f99c322fc8615613bb01d7d38864ce68b23354b60bfe3e28f87 SHA512 d956155a92fd636a7d1c62d08370577a3f395d6056a71a88365b5ac9930ea08b02b02cf2e365f4cf28bbb00d1895e9748d49492faee9dc79a8e4031ced6061ed WHIRLPOOL 2d117a7b1897302f38da74801449b1b49c67299410f39562d7fcd5f905508d207e7f63be3452c74ac88c60ad05c3ef3889cf24176a4bbf0b45da2719cd5f6eb0 +MISC metadata.xml 552 SHA256 d2d123d41055762d7ce110e584f7bedf9fac628d342c1a6cfeef96296e66b3c3 SHA512 f5dada5f564b91f64b48e72f6aa27e94ef9cb0d6729f258c49ded30424faf11f9e7e711258426cf3f90755f31e54ebefd62598c0c4025e413d052f14a71d81ab WHIRLPOOL 8d7339ef7907273ff85fcf554cd0cebad64881f26feb33c0f7e7a038490ac003c1736f0b5598f6bda3fd94305ceb3c3b4a0ba15e800977d92415048586f4ca65 diff --git a/dev-libs/MicroJSON/MicroJSON-0.3.1.ebuild b/dev-libs/MicroJSON/MicroJSON-0.3.1.ebuild new file mode 100644 index 000000000000..9ccd49a4c9b2 --- /dev/null +++ b/dev-libs/MicroJSON/MicroJSON-0.3.1.ebuild @@ -0,0 +1,18 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit cmake-utils + +DESCRIPTION="Small and simple to use JSON generation and parsing library" +HOMEPAGE="http://grigory.info/${PN}.About.html" +SRC_URI="http://grigory.info/distfiles/${P}.tar.bz2" + +LICENSE="GPL-3" +KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" +SLOT="0" + +RDEPEND=">=dev-libs/UTF8Strings-1.12.0" + +DEPEND="${RDEPEND}" diff --git a/dev-libs/MicroJSON/MicroJSON-0.3.2.ebuild b/dev-libs/MicroJSON/MicroJSON-0.3.2.ebuild new file mode 100644 index 000000000000..8d16cdd27957 --- /dev/null +++ b/dev-libs/MicroJSON/MicroJSON-0.3.2.ebuild @@ -0,0 +1,18 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit cmake-utils + +DESCRIPTION="Small and simple to use JSON generation and parsing library" +HOMEPAGE="http://grigory.info/${PN}.About.html" +SRC_URI="http://grigory.info/distfiles/${P}.tar.bz2" + +LICENSE="GPL-3" +KEYWORDS="~amd64 ~mips ~x86 ~amd64-linux ~x86-linux" +SLOT="0" + +RDEPEND=">=dev-libs/UTF8Strings-1.12.0" + +DEPEND="${RDEPEND}" diff --git a/dev-libs/MicroJSON/metadata.xml b/dev-libs/MicroJSON/metadata.xml new file mode 100644 index 000000000000..a636656f85f7 --- /dev/null +++ b/dev-libs/MicroJSON/metadata.xml @@ -0,0 +1,16 @@ + + + + + gorelov@grigory.info + Gorelov Grigory + Maintainer and upstream developer. + + + proxy-maint@gentoo.org + Proxy Maintainers + + + Small and simple to use JSON generation and parsing library. + + diff --git a/dev-libs/OpenNI/Manifest b/dev-libs/OpenNI/Manifest new file mode 100644 index 000000000000..ca55718dfebf --- /dev/null +++ b/dev-libs/OpenNI/Manifest @@ -0,0 +1,10 @@ +AUX OpenNI-1.5.7.10-gcc6.patch 5012 SHA256 b9ae20648097e88d927df2502068412ee38243b766fef349321eb9a6d9ab8ed1 SHA512 129eedc33941df3b3a126528f8d0503c2808930276aa0350c89af42b9b34642eafb8304610443699b839f0158c0412a38bf3a4722af7497534519ecf753e99ac WHIRLPOOL c2fb992035b83753c4b3ba0f65c8d8c7ff3eadc938d1091a514e1a466d7287e65acc9305b0906c7b9767698efb882f3a17d690d6b76e194f0cfac6b1754da9d1 +AUX jpeg.patch 704 SHA256 53d6f27ae283cde53a4af4e0683fc4c59c70076ab4803065591c554dd814cabd SHA512 4276584d5252fd2ce9f7fc7b4389d079276f3626fe140344bd7ba5083f7190455a82aee98742bbf3e8f527947c3128281f63e940c114e85f92be94f71819a117 WHIRLPOOL 3358626df6b6445f588d596b4489459ac5e29e42f8540ed28116657711ee13d16afda45872f4579d814e744f4c86fb07b5a4940be7257990c2a94b673a9c8906 +AUX soname.patch 670 SHA256 b1d2ade0664746b3b2e96bbd842a69f7def8af08282110cd7e09a1f0a66cba1a SHA512 422c90b220b9366320f2513798d00c2d8a17b0db0ccb87150038c2f237d22c7f0d28206e6d00a7c73b758b6b021886a666a8860586f27fe9b57ddb14094ba7f4 WHIRLPOOL 08b54c500f9d282ac33ac6951fd2ce3f48f44fd2d092dae609ce45b368a7a761ba137cf775d488a8be06974b3d65b125055891e7ab5f1deff0db44e954f1c87b +AUX tinyxml.patch 828 SHA256 33cb114f2d990034c9de47ebb5b716024d117690d45bbc34baaa72403f1660ab SHA512 97cdcbbcd1d4ab4990c7a96ce21c4da983347f73c8064959bbb66d49cc9cda5e293b0273f19d1595ef5b26a6c32267b54cdd45fd4a86b2d8881501a3cea5724a WHIRLPOOL bdfb27cd365cca87797808bfc9fe460ae0cdf275abfe14b845a0127e9205ef76a69c9a71dd46cc404a628697f7ea0c01b7e96db5b1a9aa1e80fe31d4077ef412 +DIST OpenNI-1.5.7.10.tar.gz 23378582 SHA256 34b0bbf68633bb213dcb15408f979d5384bdceb04e151fa519e107a12e225852 SHA512 f7b6106198c4314584cf327744e9d8b193ff9f2e8d416769aafb2aeeda0593ccbb37c3187ed75f1960d2ae8e80e8f30e0fced9ff82e20fe6f24c54246f77d512 WHIRLPOOL 663025a0f388792054e0e628597bce692ddaadf2b51655c6fe1f6ffb74c054e9dd7889feb7652024aad24919701c02813e19d430292079e12f47c677c041c55e +EBUILD OpenNI-1.5.7.10.ebuild 2493 SHA256 7a8d3533ea14cd84812c917d0fbaa02732bdbf958a3b6374285c2c1b2394adb6 SHA512 7c3a7fae1543ee80ee72f3d783d4089a5dcd572c7650aa393e273f219cabccc167ad2298efc7b8723787862f55ded18a85242ebf6c5c1d1ca3ce02726eadc32e WHIRLPOOL 4b7bb66e4ddfef4be892fd3f86666747be5c09f7310a990989fb0de34df3319b0609a3ea58d7337359e72bfdf8e0fa33d1197091f7b2fb538a466c1c3d7f8c7b +EBUILD OpenNI-9999.ebuild 2503 SHA256 a900e0f1e3fd28c1ad3284724687729df81696c3d0f72843a9d6a3dde0f819bb SHA512 c668a4786e46f12107a1452225bb9292af2c680ff9f7cadd9cc0bfd93afdbeab56cdadac57f4118bd289cc624c3af28f225cdba095ef5ca6c6e723758501cffd WHIRLPOOL d99bd27351856c35051b016560def6e555e010af9ca84885d7e797bdf6c0d42bd39e3fe0f1016ae5f3cfe7a2bb2b2e1990ffe224aec0705e663c4d5322d51398 +MISC ChangeLog 2291 SHA256 dc33c74f8622b8eecf2cb1565f0e95f23b221cb7a9d0762db0c07ed061d9d8df SHA512 79925698dc5e71e86694056221a40747b9f6552647c947f98e7226f0e0280792255050ffa34605893c199c6b6dcecfb4828a71f4144259a41357cf30e9e068ec WHIRLPOOL 710e91669d9e923f88c94dbac4e3d709594efe1031596c72d25597aacf1be10c6e369adca82f084a5213ec84f20b91d1cc65905cf6b75238ca061cb3f674a35c +MISC ChangeLog-2015 712 SHA256 1cdb39ea5594b590ead7145590a1bcbfe10c6789c78c472dd90e44c609244a81 SHA512 6795d387aa306d0306a01aa56254a16334a8826a663fe7041f0e2c97c7eddc1ecef9d04625c68ec1f5527fa97fede80408fada80f4076079b9a2b2dcdd73fed5 WHIRLPOOL 59ed0a1a675d4d2e3f9521fd7510be1878f64da4f450dde7cfef666b92cc1d3a9fa755b7e96e7395471fb45643ee5b1a1e6a7160789f414c505253d1b2ceebce +MISC metadata.xml 337 SHA256 bb09f55187e8f76f17bebf3de26e2acd905283d6e0b998bf9fd285f6fbe37b44 SHA512 31029665f81cf415898ab97a48804b3ddd5efae31f7800348a7b96dfd3a7faf1d4ae3275f039a8397040c6a3c83868252671ce1dcd35b6f1135d221b325ba5b8 WHIRLPOOL cafdd2ea35b8269f0b1dd3c3abe70b08e5608587e1de28fec9183054c305064b2a3a7ae786d26848d3fce59c4af64189f6a79baa6f0cc609ecd7103f88255974 diff --git a/dev-libs/OpenNI/OpenNI-1.5.7.10.ebuild b/dev-libs/OpenNI/OpenNI-1.5.7.10.ebuild new file mode 100644 index 000000000000..af12cd1ce875 --- /dev/null +++ b/dev-libs/OpenNI/OpenNI-1.5.7.10.ebuild @@ -0,0 +1,108 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +SCM="" +if [ "${PV#9999}" != "${PV}" ] ; then + SCM="git-r3" + EGIT_REPO_URI="https://github.com/OpenNI/OpenNI" +fi + +inherit ${SCM} toolchain-funcs eutils multilib java-pkg-opt-2 + +if [ "${PV#9999}" != "${PV}" ] ; then + KEYWORDS="" + SRC_URI="" +else + KEYWORDS="~amd64 ~arm" + SRC_URI="https://github.com/OpenNI/OpenNI/archive/Stable-${PV}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${PN}-Stable-${PV}" +fi + +DESCRIPTION="OpenNI SDK" +HOMEPAGE="https://github.com/OpenNI/OpenNI" +LICENSE="Apache-2.0" +SLOT="0" +IUSE="doc java opengl" + +RDEPEND=" + virtual/libusb:1 + virtual/libudev + virtual/jpeg:0 + dev-libs/tinyxml + opengl? ( media-libs/freeglut !dev-libs/OpenNI2[opengl] ) + java? ( >=virtual/jre-1.5 ) +" +DEPEND="${RDEPEND} + dev-lang/python + doc? ( app-doc/doxygen ) + java? ( >=virtual/jdk-1.5 )" + +src_prepare() { + epatch \ + "${FILESDIR}/tinyxml.patch" \ + "${FILESDIR}/jpeg.patch" \ + "${FILESDIR}/soname.patch" \ + "${FILESDIR}/${P}-gcc6.patch" + + rm -rf External/{LibJPEG,TinyXml} + for i in Platform/Linux/Build/Common/Platform.* Externals/PSCommon/Linux/Build/Platform.* ; do + echo "" > ${i} + done + + find . -type f -print0 | xargs -0 sed -i "s:\".*/SamplesConfig.xml:\"${EPREFIX}/usr/share/${PN}/SamplesConfig.xml:" || die +} + +src_compile() { + emake -C "${S}/Platform/Linux/Build" \ + CC="$(tc-getCC)" \ + CXX="$(tc-getCXX)" \ + GLUT_SUPPORTED="$(usex opengl 1 0)" \ + $(usex java "" ALL_JAVA_PROJS="") \ + $(usex java "" JAVA_SAMPLES="") \ + ALL_MONO_PROJS="" \ + MONO_SAMPLES="" \ + MONO_FORMS_SAMPLES="" + + if use doc ; then + cd "${S}/Source/DoxyGen" + doxygen || die + fi +} + +src_install() { + dolib.so "${S}/Platform/Linux/Bin/"*Release/*.so + + insinto /usr/include/openni + doins -r Include/* + + dobin "${S}/Platform/Linux/Bin/"*Release/{ni*,Ni*,Sample-*} + + if use java ; then + java-pkg_dojar "${S}/Platform/Linux/Bin/"*Release/*.jar + echo "java -jar ${JAVA_PKG_JARDEST}/org.openni.Samples.SimpleViewer.jar" > org.openni.Samples.SimpleViewer + dobin org.openni.Samples.SimpleViewer + fi + + insinto /usr/share/${PN} + doins Data/* + + dodoc Documentation/OpenNI_UserGuide.pdf CHANGES NOTICE README + + if use doc ; then + dohtml -r "${S}/Source/DoxyGen/html/"* + dodoc Source/DoxyGen/Text/*.txt + fi + + keepdir /var/lib/ni +} + +pkg_postinst() { + if [ "${ROOT:-/}" = "/" ] ; then + for i in "${EROOR}/usr/$(get_libdir)"/libnim*.so ; do + einfo "Registering module ${i}" + niReg -r "${i}" + done + fi +} diff --git a/dev-libs/OpenNI/OpenNI-9999.ebuild b/dev-libs/OpenNI/OpenNI-9999.ebuild new file mode 100644 index 000000000000..79a0be764ee3 --- /dev/null +++ b/dev-libs/OpenNI/OpenNI-9999.ebuild @@ -0,0 +1,108 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +SCM="" +if [ "${PV#9999}" != "${PV}" ] ; then + SCM="git-r3" + EGIT_REPO_URI="https://github.com/OpenNI/OpenNI" +fi + +inherit ${SCM} toolchain-funcs eutils multilib java-pkg-opt-2 + +if [ "${PV#9999}" != "${PV}" ] ; then + KEYWORDS="" + SRC_URI="" +else + KEYWORDS="~amd64 ~arm" + SRC_URI="https://github.com/OpenNI/OpenNI/archive/Stable-${PV}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${PN}-Stable-${PV}" +fi + +DESCRIPTION="OpenNI SDK" +HOMEPAGE="https://github.com/OpenNI/OpenNI" +LICENSE="Apache-2.0" +SLOT="0" +IUSE="doc java opengl" + +RDEPEND=" + virtual/libusb:1 + virtual/libudev + virtual/jpeg:0 + dev-libs/tinyxml + opengl? ( media-libs/freeglut !dev-libs/OpenNI2[opengl] ) + java? ( >=virtual/jre-1.5 ) +" +DEPEND="${RDEPEND} + dev-lang/python + doc? ( app-doc/doxygen ) + java? ( >=virtual/jdk-1.5 )" + +src_prepare() { + epatch \ + "${FILESDIR}/tinyxml.patch" \ + "${FILESDIR}/jpeg.patch" \ + "${FILESDIR}/soname.patch" \ + "${FILESDIR}/${PN}-1.5.7.10-gcc6.patch" + + rm -rf External/{LibJPEG,TinyXml} + for i in Platform/Linux/Build/Common/Platform.* Externals/PSCommon/Linux/Build/Platform.* ; do + echo "" > ${i} + done + + find . -type f -print0 | xargs -0 sed -i "s:\".*/SamplesConfig.xml:\"${EPREFIX}/usr/share/${PN}/SamplesConfig.xml:" || die +} + +src_compile() { + emake -C "${S}/Platform/Linux/Build" \ + CC="$(tc-getCC)" \ + CXX="$(tc-getCXX)" \ + GLUT_SUPPORTED="$(usex opengl 1 0)" \ + $(usex java "" ALL_JAVA_PROJS="") \ + $(usex java "" JAVA_SAMPLES="") \ + ALL_MONO_PROJS="" \ + MONO_SAMPLES="" \ + MONO_FORMS_SAMPLES="" + + if use doc ; then + cd "${S}/Source/DoxyGen" + doxygen || die + fi +} + +src_install() { + dolib.so "${S}/Platform/Linux/Bin/"*Release/*.so + + insinto /usr/include/openni + doins -r Include/* + + dobin "${S}/Platform/Linux/Bin/"*Release/{ni*,Ni*,Sample-*} + + if use java ; then + java-pkg_dojar "${S}/Platform/Linux/Bin/"*Release/*.jar + echo "java -jar ${JAVA_PKG_JARDEST}/org.openni.Samples.SimpleViewer.jar" > org.openni.Samples.SimpleViewer + dobin org.openni.Samples.SimpleViewer + fi + + insinto /usr/share/${PN} + doins Data/* + + dodoc Documentation/OpenNI_UserGuide.pdf CHANGES NOTICE README + + if use doc ; then + dohtml -r "${S}/Source/DoxyGen/html/"* + dodoc Source/DoxyGen/Text/*.txt + fi + + keepdir /var/lib/ni +} + +pkg_postinst() { + if [ "${ROOT:-/}" = "/" ] ; then + for i in "${EROOR}/usr/$(get_libdir)"/libnim*.so ; do + einfo "Registering module ${i}" + niReg -r "${i}" + done + fi +} diff --git a/dev-libs/OpenNI/files/OpenNI-1.5.7.10-gcc6.patch b/dev-libs/OpenNI/files/OpenNI-1.5.7.10-gcc6.patch new file mode 100644 index 000000000000..2b93d8c642b9 --- /dev/null +++ b/dev-libs/OpenNI/files/OpenNI-1.5.7.10-gcc6.patch @@ -0,0 +1,145 @@ +Bug: https://bugs.gentoo.org/594988 +Upstream PR: https://github.com/OpenNI/OpenNI/pull/122 + +diff -Naur a/Samples/NiUserSelection/glh/glh_linear.h b/Samples/NiUserSelection/glh/glh_linear.h +--- a/Samples/NiUserSelection/glh/glh_linear.h 2013-11-12 11:30:03.000000000 -0500 ++++ b/Samples/NiUserSelection/glh/glh_linear.h 2017-06-22 18:43:34.470107723 -0400 +@@ -77,7 +77,7 @@ + #define GLH_EPSILON GLH_REAL(10e-6) + #define GLH_PI GLH_REAL(3.1415926535897932384626433832795) + +-#define equivalent(a,b) (((a < b + GLH_EPSILON) && (a > b - GLH_EPSILON)) ? true : false) ++#define is_equivalent(a,b) (((a < b + GLH_EPSILON) && (a > b - GLH_EPSILON)) ? true : false) + + namespace glh + { +@@ -1093,7 +1093,7 @@ + + real norm = q[0] * q[0] + q[1] * q[1] + q[2] * q[2] + q[3] * q[3]; + +- s = (equivalent(norm,GLH_ZERO)) ? GLH_ZERO : ( GLH_TWO / norm ); ++ s = (is_equivalent(norm,GLH_ZERO)) ? GLH_ZERO : ( GLH_TWO / norm ); + + xs = q[0] * s; + ys = q[1] * s; +@@ -1194,7 +1194,7 @@ + theta *= real(0.5); + real sin_theta = real(sin(theta)); + +- if (!equivalent(sqnorm,GLH_ONE)) ++ if (!is_equivalent(sqnorm,GLH_ONE)) + sin_theta /= real(sqrt(sqnorm)); + x = sin_theta * axis.v[0]; + y = sin_theta * axis.v[1]; +@@ -1216,14 +1216,14 @@ + + alpha = p1.dot(p2); + +- if(equivalent(alpha,GLH_ONE)) ++ if(is_equivalent(alpha,GLH_ONE)) + { + *this = identity(); + return *this; + } + + // ensures that the anti-parallel case leads to a positive dot +- if(equivalent(alpha,-GLH_ONE)) ++ if(is_equivalent(alpha,-GLH_ONE)) + { + vec3 v; + +@@ -1280,7 +1280,7 @@ + void normalize() + { + real rnorm = GLH_ONE / real(sqrt(w * w + x * x + y * y + z * z)); +- if (equivalent(rnorm, GLH_ZERO)) ++ if (is_equivalent(rnorm, GLH_ZERO)) + return; + x *= rnorm; + y *= rnorm; +@@ -1439,10 +1439,10 @@ + inline + bool operator == ( const quaternion & q1, const quaternion & q2 ) + { +- return (equivalent(q1.x, q2.x) && +- equivalent(q1.y, q2.y) && +- equivalent(q1.z, q2.z) && +- equivalent(q1.w, q2.w) ); ++ return (is_equivalent(q1.x, q2.x) && ++ is_equivalent(q1.y, q2.y) && ++ is_equivalent(q1.z, q2.z) && ++ is_equivalent(q1.w, q2.w) ); + } + + inline +diff -Naur a/Samples/NiViewer/glh/glh_linear.h b/Samples/NiViewer/glh/glh_linear.h +--- a/Samples/NiViewer/glh/glh_linear.h 2013-11-12 11:30:03.000000000 -0500 ++++ b/Samples/NiViewer/glh/glh_linear.h 2017-06-22 18:43:34.470107723 -0400 +@@ -77,7 +77,7 @@ + #define GLH_EPSILON GLH_REAL(10e-6) + #define GLH_PI GLH_REAL(3.1415926535897932384626433832795) + +-#define equivalent(a,b) (((a < b + GLH_EPSILON) && (a > b - GLH_EPSILON)) ? true : false) ++#define is_equivalent(a,b) (((a < b + GLH_EPSILON) && (a > b - GLH_EPSILON)) ? true : false) + + namespace glh + { +@@ -1093,7 +1093,7 @@ + + real norm = q[0] * q[0] + q[1] * q[1] + q[2] * q[2] + q[3] * q[3]; + +- s = (equivalent(norm,GLH_ZERO)) ? GLH_ZERO : ( GLH_TWO / norm ); ++ s = (is_equivalent(norm,GLH_ZERO)) ? GLH_ZERO : ( GLH_TWO / norm ); + + xs = q[0] * s; + ys = q[1] * s; +@@ -1194,7 +1194,7 @@ + theta *= real(0.5); + real sin_theta = real(sin(theta)); + +- if (!equivalent(sqnorm,GLH_ONE)) ++ if (!is_equivalent(sqnorm,GLH_ONE)) + sin_theta /= real(sqrt(sqnorm)); + x = sin_theta * axis.v[0]; + y = sin_theta * axis.v[1]; +@@ -1216,14 +1216,14 @@ + + alpha = p1.dot(p2); + +- if(equivalent(alpha,GLH_ONE)) ++ if(is_equivalent(alpha,GLH_ONE)) + { + *this = identity(); + return *this; + } + + // ensures that the anti-parallel case leads to a positive dot +- if(equivalent(alpha,-GLH_ONE)) ++ if(is_equivalent(alpha,-GLH_ONE)) + { + vec3 v; + +@@ -1280,7 +1280,7 @@ + void normalize() + { + real rnorm = GLH_ONE / real(sqrt(w * w + x * x + y * y + z * z)); +- if (equivalent(rnorm, GLH_ZERO)) ++ if (is_equivalent(rnorm, GLH_ZERO)) + return; + x *= rnorm; + y *= rnorm; +@@ -1439,10 +1439,10 @@ + inline + bool operator == ( const quaternion & q1, const quaternion & q2 ) + { +- return (equivalent(q1.x, q2.x) && +- equivalent(q1.y, q2.y) && +- equivalent(q1.z, q2.z) && +- equivalent(q1.w, q2.w) ); ++ return (is_equivalent(q1.x, q2.x) && ++ is_equivalent(q1.y, q2.y) && ++ is_equivalent(q1.z, q2.z) && ++ is_equivalent(q1.w, q2.w) ); + } + + inline diff --git a/dev-libs/OpenNI/files/jpeg.patch b/dev-libs/OpenNI/files/jpeg.patch new file mode 100644 index 000000000000..46f5dfd3d873 --- /dev/null +++ b/dev-libs/OpenNI/files/jpeg.patch @@ -0,0 +1,23 @@ +Index: OpenNI-9999/Platform/Linux/Build/Modules/nimCodecs/Makefile +=================================================================== +--- OpenNI-9999.orig/Platform/Linux/Build/Modules/nimCodecs/Makefile ++++ OpenNI-9999/Platform/Linux/Build/Modules/nimCodecs/Makefile +@@ -2,15 +2,13 @@ BIN_DIR = ../../../Bin + + INC_DIRS = \ + ../../../../../Include \ +- ../../../../../Source \ +- ../../../../../Externals/LibJPEG ++ ../../../../../Source + + SRC_FILES = \ +- ../../../../../Source/Modules/nimCodecs/*.cpp \ +- ../../../../../Externals/LibJPEG/*.c ++ ../../../../../Source/Modules/nimCodecs/*.cpp + + LIB_NAME = nimCodecs +-USED_LIBS = OpenNI ++USED_LIBS = OpenNI jpeg + + include ../../Common/CommonCppMakefile + diff --git a/dev-libs/OpenNI/files/soname.patch b/dev-libs/OpenNI/files/soname.patch new file mode 100644 index 000000000000..b12a1e892e0f --- /dev/null +++ b/dev-libs/OpenNI/files/soname.patch @@ -0,0 +1,13 @@ +Index: OpenNI-9999/Platform/Linux/Build/Common/CommonCppMakefile +=================================================================== +--- OpenNI-9999.orig/Platform/Linux/Build/Common/CommonCppMakefile ++++ OpenNI-9999/Platform/Linux/Build/Common/CommonCppMakefile +@@ -78,7 +78,7 @@ ifneq "$(LIB_NAME)" "" + ifneq ("$(OSTYPE)","Darwin") + LDFLAGS += -Wl,--no-undefined + OUTPUT_NAME = lib$(LIB_NAME).so +- OUTPUT_COMMAND = $(CXX) -o $(OUTPUT_FILE) $(OBJ_FILES) $(LDFLAGS) -shared ++ OUTPUT_COMMAND = $(CXX) -o $(OUTPUT_FILE) $(OBJ_FILES) -Wl,-soname,$(notdir $(OUTPUT_FILE)) $(LDFLAGS) -shared + else + LDFLAGS += -undefined error + OUTPUT_NAME = lib$(LIB_NAME).dylib diff --git a/dev-libs/OpenNI/files/tinyxml.patch b/dev-libs/OpenNI/files/tinyxml.patch new file mode 100644 index 000000000000..801cabbd7708 --- /dev/null +++ b/dev-libs/OpenNI/files/tinyxml.patch @@ -0,0 +1,29 @@ +Index: OpenNI-9999/Platform/Linux/Build/OpenNI/Makefile +=================================================================== +--- OpenNI-9999.orig/Platform/Linux/Build/OpenNI/Makefile ++++ OpenNI-9999/Platform/Linux/Build/OpenNI/Makefile +@@ -4,13 +4,11 @@ BIN_DIR = ../../Bin + + INC_DIRS = \ + ../../../../Include \ +- ../../../../Source \ +- ../../../../Externals/TinyXml ++ ../../../../Source + + SRC_FILES = \ + ../../../../Source/OpenNI/*.cpp \ +- ../../../../Source/OpenNI/Linux/*.cpp \ +- ../../../../Externals/TinyXml/*.cpp ++ ../../../../Source/OpenNI/Linux/*.cpp + + ifeq ("$(OSTYPE)","Darwin") + INC_DIRS += /opt/local/include +@@ -19,7 +17,7 @@ ifeq ("$(OSTYPE)","Darwin") + endif + + LIB_NAME = OpenNI +-USED_LIBS = usb-1.0 dl pthread ++USED_LIBS = usb-1.0 dl pthread tinyxml + ifneq ("$(OSTYPE)","Darwin") + USED_LIBS += rt + endif diff --git a/dev-libs/OpenNI/metadata.xml b/dev-libs/OpenNI/metadata.xml new file mode 100644 index 000000000000..201349bea285 --- /dev/null +++ b/dev-libs/OpenNI/metadata.xml @@ -0,0 +1,11 @@ + + + + + aballier@gentoo.org + Alexis Ballier + + + OpenNI/OpenNI + + diff --git a/dev-libs/OpenNI2/Manifest b/dev-libs/OpenNI2/Manifest new file mode 100644 index 000000000000..26bf18f38039 --- /dev/null +++ b/dev-libs/OpenNI2/Manifest @@ -0,0 +1,12 @@ +AUX c++14.patch 4647 SHA256 0c439b55ad2686dd33b77616b069bcdf0b5d6d065b507ac81332881ba5dcc11a SHA512 528aa9640dc5fa0e502da02dac8a49dbed1761b149f44705e709c2d9109981dea2c42f4f9a16ab00bb040205fda3a0fdb696b8b797e4ac08655f5d940900b22a WHIRLPOOL 39192f29ee8491b1f2be141763d62673dd3f4afe2376e38d2db114ca0771c7a6dcae4c1bcc28709ffaa55562aa24e11d4d7050368408cca741ad0a3f524f9bb5 +AUX jpeg.patch 2579 SHA256 09ff186c3f9ca99f4e9cd4e0bc87e8291b0e7e0fd3cedcbeab8a304f345bcb07 SHA512 caf822ff7781acee8b676a0d786ab3cd72dfaf83bcd4b53247d6b83aaace2649c430f9f88c4f79d59fe53f049fb884c178b4e1877d9442f7c8d8fce5c0729b70 WHIRLPOOL 1c48bca8600ea1d3191db45ce1f0ff72e7e28c301419cb4457f3424c16b9f4af9e320311f7f421be110ec58d79ac05000319b7227207d2784e26d5047a1c37dd +AUX libopenni2.pc.in 311 SHA256 2e46e2aa0d26a52867753ff3a583349271dc61527ed74fe56bdff755ecb720e5 SHA512 5532f380b1a69862bf55f1db3f775913e31d2969dc0b824d205637925d9787441c07beb8fcedb8a727b908bf98b5408caaa58f85f2da3b36b864fa1d4d37568a WHIRLPOOL 4ba1d2d55959f629f7b9475c673c3c29b51c8fbac791fe73f71ab572dc20e5368504509032a0a0381154f4d86c9d8db182fb47b4017ed354ab06ec53ded2ddab +AUX pthread.patch 977 SHA256 cbfde950035ec0f2963ed64762612cb50c69bec302f7d92027ccff5fe49c3e62 SHA512 d2f91c57e262399e454aac99bec8b8a054e80a60329c89eee9498ab5344b3711485d13502861fe96d452f9ba2693cab3c93726ded56cd278448cd4cf1d43fb14 WHIRLPOOL 26a9b1c884a59c470c6b93a93196e321a5c38b809cb4cc7cd1d6d9043c2eb781296f55655c70ce393d5cd66f3a72ac5d5fb8a4f5c6f5d9454cf009baa873abaf +AUX rpath.patch 569 SHA256 e2c9558c6b3d535376ed22a9d418e0d38f6d9a65797f287c1498e8bda7e97e98 SHA512 86adda790d6814b0339ff969e262b78282c977ff4dc16268d4e7831e1086886aefee5c37c5bae9e97b7caf3e9f22e922f87e429e586fafc8e5503b4f99ef4adc WHIRLPOOL 2219f319122cdddb4e537541080809e75bd9c57b713b77cf707329e4bd7aeec5ff9a29ccddb4631c15af74bfe965369704684f2f229124f98429c86f1e0f9019 +AUX soname.patch 674 SHA256 74c2cb1f2d8eed1c891a6cca7543f3aa13a52232b7313ef3ad3528f996b56253 SHA512 fec4ab17efd29e1fc05a880584aa63559d311a248ef6def36af9c7c652f93aa0ba77f600115f0e4093b7c5c0b446955a4d36d9663196882f5c460a26d99498be WHIRLPOOL 2efab9503cdd831788d8eb47361f6f2ce237a7911dd3bb659b43b68694c5137d2a98ec57d25208d2c7b9c6587070e7db606db811e681f3ad52a88782b597d0e9 +DIST OpenNI2-2.2_beta2.tar.gz 8681740 SHA256 28302633ddfbcba5fc1ea82737e783fe031714ef49fbbee78ee4309171b7c5f7 SHA512 60a3a3043679f3069aea869e92dc5881328ce4393d4140ea8d089027321ac501ae27d283657214e2834d216d0d49bf4f29a4b3d3e43df27a6ed21f889cd0083f WHIRLPOOL f166b70b921b17a32c417baf084d1caec05dd5456429e16b3dbe6bef8f1bfa099aeb6f8856d167355ccc1d768b00143ac5a085a36cb1464d7d828bdae1c81001 +EBUILD OpenNI2-2.2_beta2.ebuild 2499 SHA256 0058cb4841cdb731d6dba30539ec095fe30b45e2425b03152864cc2961e67aad SHA512 5707c58d8e03eabc28b992edc4de00ec5d25dfd13482ac7cbfa3c90d9333c503315f4963de63cec260874e5c333b363c3bbdd25990e958f8a42ae51677bc3c46 WHIRLPOOL b40571f939c39a700bcd004e142958009d6babf95f2f3a53190fff82fbffe5a85ed1dcd54a2e5c007c3616974a3e94b2f1e1628c52be01f140f764dbd35b328e +EBUILD OpenNI2-9999.ebuild 2440 SHA256 b9f356421dde88c022d3d6ca6977a9cbd2e262542ecd54c08bd5962450834b21 SHA512 81b2e21a7a7eeba981203ac950ece70956036daaf6bdbabb83b89b9c04ff10d1d3484843e856f8337c6f8bd57752414d6f2300b9ef41da1f066477b7ac8c096c WHIRLPOOL ad4d8b65433a25e75cb15a2d41191bcffb9c3012d7ec0d6fbf8b68e96fab718c6a27056bacda7056ce314bb1cb35820897d8159786913905052a3f984e533e4b +MISC ChangeLog 2345 SHA256 accb6e27bfe5e961b31d62d06fc7b877119a8de41b99c44c518674228756ec66 SHA512 51a2f22653a44c084df93828d85911d333b9d3d175c6e675bb73dadad266f07d293f5279e640c55abb116565cd2a763d70713a73a2813f7f4af4b0d97ee16303 WHIRLPOOL 2f6c6ceafe4b971550dc95e5135dab20b2f531e01fdcb44aa6bc5c96cf5f4b74e07b1bbdf51dfbf0b7e91f208b5a966818370296555229e4c83519bfd7b74305 +MISC ChangeLog-2015 627 SHA256 af9ad78e8bcc2208ab2d3c0b54e20706fab2e43837601310d52e3f9d13611b48 SHA512 d2955766f2b9007f6bb07ff94ff76460e573cf3393da06c2621b567ed6e6967f01b5f77ecd908abb5bcb9fa0f189ffe63cc47ea487dce638fc6ce81660d2feac WHIRLPOOL d0ac7ec5d3f7753747e19493dde212b5a00ff4dd6e1ea5298036387d8f5eef5c58802fd14eb07e7c7782b91a2aab8c4235fa33bd18ce0ee483fd43b2440cec21 +MISC metadata.xml 341 SHA256 1dcb30ec3fdada566d7878a3ac7133d95f13a0d33296a7450793bcd60839cfff SHA512 414b64e60046dc1628494ab50ae5f4c5594b9fe71daf7cdc844428200e6122bc471e27f982fa4eaaed6db6f93fb53312118a35dd52e01c576e8597f3e21b23c8 WHIRLPOOL bc615205d9ecf6ae88301ec2e26c7f67e97b982a299ffd5f3a812ae44b3941795251ba51a28702441902f287134e01bb826c3a63b254fd96068d83fd357e7e8b diff --git a/dev-libs/OpenNI2/OpenNI2-2.2_beta2.ebuild b/dev-libs/OpenNI2/OpenNI2-2.2_beta2.ebuild new file mode 100644 index 000000000000..218a3a477fa7 --- /dev/null +++ b/dev-libs/OpenNI2/OpenNI2-2.2_beta2.ebuild @@ -0,0 +1,100 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +SCM="" +if [ "${PV#9999}" != "${PV}" ] ; then + SCM="git-r3" + EGIT_REPO_URI="https://github.com/occipital/openni2" +fi + +inherit ${SCM} toolchain-funcs eutils multilib java-pkg-opt-2 flag-o-matic + +if [ "${PV#9999}" != "${PV}" ] ; then + KEYWORDS="" + SRC_URI="" +else + KEYWORDS="~amd64 ~arm" + SRC_URI="https://github.com/occipital/OpenNI2/archive/${PV/_/-}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${P/_/-}" +fi + +DESCRIPTION="OpenNI2 SDK" +HOMEPAGE="http://structure.io/openni" +LICENSE="Apache-2.0" +SLOT="0" +IUSE="doc java neon opengl static-libs" + +RDEPEND=" + virtual/libusb:1 + virtual/libudev + virtual/jpeg:0 + opengl? ( media-libs/freeglut ) + java? ( >=virtual/jre-1.5:* ) +" +DEPEND="${RDEPEND} + dev-lang/python + doc? ( app-doc/doxygen ) + java? ( >=virtual/jdk-1.5:* )" + +src_prepare() { + epatch \ + "${FILESDIR}/jpeg.patch" \ + "${FILESDIR}/rpath.patch" \ + "${FILESDIR}/soname.patch" \ + "${FILESDIR}/pthread.patch" \ + "${FILESDIR}/c++14.patch" + + rm -rf ThirdParty/LibJPEG + for i in ThirdParty/PSCommon/BuildSystem/Platform.* ; do + echo "" > ${i} + done +} + +src_compile() { + use neon && export CFLAGS="${CFLAGS} -DXN_NEON" + emake \ + CC="$(tc-getCC)" \ + CXX="$(tc-getCXX)" \ + ALLOW_WARNINGS=1 \ + GLUT_SUPPORTED="$(usex opengl 1 0)" \ + $(usex java "" ALL_WRAPPERS="") \ + $(usex java "" JAVA_SAMPLES="") + + if use doc ; then + cd "${S}/Source/Documentation" + doxygen || die + fi +} + +src_install() { + dolib.so "${S}/Bin/"*Release/*.so + cp -a "${S}/Bin/"*Release/OpenNI2 "${ED}/usr/$(get_libdir)" + + use static-libs && dolib.a "${S}/Bin/"*Release/*.a + + insinto /usr/include/openni2 + doins -r Include/* + + dobin "${S}/Bin/"*Release/{PS1080Console,PSLinkConsole,SimpleRead,EventBasedRead,MultipleStreamRead,MWClosestPointApp} + use opengl && dobin "${S}/Bin/"*Release/{NiViewer,SimpleViewer,MultiDepthViewer,ClosestPointViewer} + + if use java ; then + java-pkg_dojar "${S}/Bin/"*Release/*.jar + echo "java -jar ${JAVA_PKG_JARDEST}/org.openni.Samples.SimpleViewer.jar" > org.openni.Samples.SimpleViewer + dobin org.openni.Samples.SimpleViewer + fi + + dodoc CHANGES.txt NOTICE README ReleaseNotes.txt Source/Documentation/Text/*.txt + + if use doc ; then + dohtml -r "${S}/Source/Documentation/html/"* + fi + + dodir /usr/$(get_libdir)/pkgconfig + sed \ + -e "s/@libdir@/$(get_libdir)/" \ + -e "s/@version@/${PV}/" \ + "${FILESDIR}/libopenni2.pc.in" > "${ED}/usr/$(get_libdir)/pkgconfig/libopenni2.pc" || die +} diff --git a/dev-libs/OpenNI2/OpenNI2-9999.ebuild b/dev-libs/OpenNI2/OpenNI2-9999.ebuild new file mode 100644 index 000000000000..ced4cfb2c9ef --- /dev/null +++ b/dev-libs/OpenNI2/OpenNI2-9999.ebuild @@ -0,0 +1,98 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +SCM="" +if [ "${PV#9999}" != "${PV}" ] ; then + SCM="git-r3" + EGIT_REPO_URI="https://github.com/occipital/openni2" +fi + +inherit ${SCM} toolchain-funcs eutils multilib java-pkg-opt-2 flag-o-matic + +if [ "${PV#9999}" != "${PV}" ] ; then + KEYWORDS="" + SRC_URI="" +else + KEYWORDS="~amd64 ~arm" + SRC_URI="https://github.com/occipital/OpenNI2/archive/${PV/_/-}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${P/_/-}" +fi + +DESCRIPTION="OpenNI2 SDK" +HOMEPAGE="http://structure.io/openni" +LICENSE="Apache-2.0" +SLOT="0" +IUSE="doc java neon opengl static-libs" + +RDEPEND=" + virtual/libusb:1 + virtual/libudev + virtual/jpeg:0 + opengl? ( media-libs/freeglut ) + java? ( >=virtual/jre-1.5:* ) +" +DEPEND="${RDEPEND} + dev-lang/python + doc? ( app-doc/doxygen ) + java? ( >=virtual/jdk-1.5:* )" + +src_prepare() { + epatch \ + "${FILESDIR}/jpeg.patch" \ + "${FILESDIR}/rpath.patch" \ + "${FILESDIR}/soname.patch" + + rm -rf ThirdParty/LibJPEG + for i in ThirdParty/PSCommon/BuildSystem/Platform.* ; do + echo "" > ${i} + done +} + +src_compile() { + use neon && export CFLAGS="${CFLAGS} -DXN_NEON" + emake \ + CC="$(tc-getCC)" \ + CXX="$(tc-getCXX)" \ + ALLOW_WARNINGS=1 \ + GLUT_SUPPORTED="$(usex opengl 1 0)" \ + $(usex java "" ALL_WRAPPERS="") \ + $(usex java "" JAVA_SAMPLES="") + + if use doc ; then + cd "${S}/Source/Documentation" + doxygen || die + fi +} + +src_install() { + dolib.so "${S}/Bin/"*Release/*.so + cp -a "${S}/Bin/"*Release/OpenNI2 "${ED}/usr/$(get_libdir)" + + use static-libs && dolib.a "${S}/Bin/"*Release/*.a + + insinto /usr/include/openni2 + doins -r Include/* + + dobin "${S}/Bin/"*Release/{PS1080Console,PSLinkConsole,SimpleRead,EventBasedRead,MultipleStreamRead,MWClosestPointApp} + use opengl && dobin "${S}/Bin/"*Release/{NiViewer,SimpleViewer,MultiDepthViewer,ClosestPointViewer} + + if use java ; then + java-pkg_dojar "${S}/Bin/"*Release/*.jar + echo "java -jar ${JAVA_PKG_JARDEST}/org.openni.Samples.SimpleViewer.jar" > org.openni.Samples.SimpleViewer + dobin org.openni.Samples.SimpleViewer + fi + + dodoc CHANGES.txt NOTICE README.md ReleaseNotes.txt Source/Documentation/Text/*.txt + + if use doc ; then + dohtml -r "${S}/Source/Documentation/html/"* + fi + + dodir /usr/$(get_libdir)/pkgconfig + sed \ + -e "s/@libdir@/$(get_libdir)/" \ + -e "s/@version@/${PV}/" \ + "${FILESDIR}/libopenni2.pc.in" > "${ED}/usr/$(get_libdir)/pkgconfig/libopenni2.pc" || die +} diff --git a/dev-libs/OpenNI2/files/c++14.patch b/dev-libs/OpenNI2/files/c++14.patch new file mode 100644 index 000000000000..95343a60059a --- /dev/null +++ b/dev-libs/OpenNI2/files/c++14.patch @@ -0,0 +1,145 @@ +The 'equivalent' macro clashes with equivalent() member functions of the +std::error_category::equivalent class in C++11 and above. +See also: +https://bugs.gentoo.org/show_bug.cgi?id=594910 + +--- a/ThirdParty/GL/glh/glh_linear.h ++++ b/ThirdParty/GL/glh/glh_linear.h +@@ -77,7 +77,7 @@ + #define GLH_EPSILON GLH_REAL(10e-6) + #define GLH_PI GLH_REAL(3.1415926535897932384626433832795) + +-#define equivalent(a,b) (((a < b + GLH_EPSILON) && (a > b - GLH_EPSILON)) ? true : false) ++#define equivalent_(a,b) (((a < b + GLH_EPSILON) && (a > b - GLH_EPSILON)) ? true : false) + + namespace glh + { +@@ -1093,7 +1093,7 @@ + + real norm = q[0] * q[0] + q[1] * q[1] + q[2] * q[2] + q[3] * q[3]; + +- s = (equivalent(norm,GLH_ZERO)) ? GLH_ZERO : ( GLH_TWO / norm ); ++ s = (equivalent_(norm,GLH_ZERO)) ? GLH_ZERO : ( GLH_TWO / norm ); + + xs = q[0] * s; + ys = q[1] * s; +@@ -1194,7 +1194,7 @@ + theta *= real(0.5); + real sin_theta = real(sin(theta)); + +- if (!equivalent(sqnorm,GLH_ONE)) ++ if (!equivalent_(sqnorm,GLH_ONE)) + sin_theta /= real(sqrt(sqnorm)); + x = sin_theta * axis.v[0]; + y = sin_theta * axis.v[1]; +@@ -1216,14 +1216,14 @@ + + alpha = p1.dot(p2); + +- if(equivalent(alpha,GLH_ONE)) ++ if(equivalent_(alpha,GLH_ONE)) + { + *this = identity(); + return *this; + } + + // ensures that the anti-parallel case leads to a positive dot +- if(equivalent(alpha,-GLH_ONE)) ++ if(equivalent_(alpha,-GLH_ONE)) + { + vec3 v; + +@@ -1280,7 +1280,7 @@ + void normalize() + { + real rnorm = GLH_ONE / real(sqrt(w * w + x * x + y * y + z * z)); +- if (equivalent(rnorm, GLH_ZERO)) ++ if (equivalent_(rnorm, GLH_ZERO)) + return; + x *= rnorm; + y *= rnorm; +@@ -1439,10 +1439,10 @@ + inline + bool operator == ( const quaternion & q1, const quaternion & q2 ) + { +- return (equivalent(q1.x, q2.x) && +- equivalent(q1.y, q2.y) && +- equivalent(q1.z, q2.z) && +- equivalent(q1.w, q2.w) ); ++ return (equivalent_(q1.x, q2.x) && ++ equivalent_(q1.y, q2.y) && ++ equivalent_(q1.z, q2.z) && ++ equivalent_(q1.w, q2.w) ); + } + + inline +--- a/ThirdParty/PSCommon/XnLib/ThirdParty/GL/glh/glh_linear.h ++++ b/ThirdParty/PSCommon/XnLib/ThirdParty/GL/glh/glh_linear.h +@@ -77,7 +77,7 @@ + #define GLH_EPSILON GLH_REAL(10e-6) + #define GLH_PI GLH_REAL(3.1415926535897932384626433832795) + +-#define equivalent(a,b) (((a < b + GLH_EPSILON) && (a > b - GLH_EPSILON)) ? true : false) ++#define equivalent_(a,b) (((a < b + GLH_EPSILON) && (a > b - GLH_EPSILON)) ? true : false) + + namespace glh + { +@@ -1093,7 +1093,7 @@ + + real norm = q[0] * q[0] + q[1] * q[1] + q[2] * q[2] + q[3] * q[3]; + +- s = (equivalent(norm,GLH_ZERO)) ? GLH_ZERO : ( GLH_TWO / norm ); ++ s = (equivalent_(norm,GLH_ZERO)) ? GLH_ZERO : ( GLH_TWO / norm ); + + xs = q[0] * s; + ys = q[1] * s; +@@ -1194,7 +1194,7 @@ + theta *= real(0.5); + real sin_theta = real(sin(theta)); + +- if (!equivalent(sqnorm,GLH_ONE)) ++ if (!equivalent_(sqnorm,GLH_ONE)) + sin_theta /= real(sqrt(sqnorm)); + x = sin_theta * axis.v[0]; + y = sin_theta * axis.v[1]; +@@ -1216,14 +1216,14 @@ + + alpha = p1.dot(p2); + +- if(equivalent(alpha,GLH_ONE)) ++ if(equivalent_(alpha,GLH_ONE)) + { + *this = identity(); + return *this; + } + + // ensures that the anti-parallel case leads to a positive dot +- if(equivalent(alpha,-GLH_ONE)) ++ if(equivalent_(alpha,-GLH_ONE)) + { + vec3 v; + +@@ -1280,7 +1280,7 @@ + void normalize() + { + real rnorm = GLH_ONE / real(sqrt(w * w + x * x + y * y + z * z)); +- if (equivalent(rnorm, GLH_ZERO)) ++ if (equivalent_(rnorm, GLH_ZERO)) + return; + x *= rnorm; + y *= rnorm; +@@ -1439,10 +1439,10 @@ + inline + bool operator == ( const quaternion & q1, const quaternion & q2 ) + { +- return (equivalent(q1.x, q2.x) && +- equivalent(q1.y, q2.y) && +- equivalent(q1.z, q2.z) && +- equivalent(q1.w, q2.w) ); ++ return (equivalent_(q1.x, q2.x) && ++ equivalent_(q1.y, q2.y) && ++ equivalent_(q1.z, q2.z) && ++ equivalent_(q1.w, q2.w) ); + } + + inline diff --git a/dev-libs/OpenNI2/files/jpeg.patch b/dev-libs/OpenNI2/files/jpeg.patch new file mode 100644 index 000000000000..e7f4f35ea7dd --- /dev/null +++ b/dev-libs/OpenNI2/files/jpeg.patch @@ -0,0 +1,90 @@ +Index: OpenNI2-9999/Source/Core/Makefile +=================================================================== +--- OpenNI2-9999.orig/Source/Core/Makefile ++++ OpenNI2-9999/Source/Core/Makefile +@@ -5,14 +5,12 @@ BIN_DIR = ../../Bin + INC_DIRS = \ + ../../Include \ + ../../ThirdParty/PSCommon/XnLib/Include \ +- ../Drivers/OniFile/Formats \ +- ../../ThirdParty/LibJPEG ++ ../Drivers/OniFile/Formats + + SRC_FILES = \ + *.cpp \ + ../Drivers/OniFile/Formats/XnCodec.cpp \ +- ../Drivers/OniFile/Formats/XnStreamCompression.cpp \ +- ../../ThirdParty/LibJPEG/*.c \ ++ ../Drivers/OniFile/Formats/XnStreamCompression.cpp + + ifeq ("$(OSTYPE)","Darwin") + INC_DIRS += /opt/local/include +@@ -23,7 +21,7 @@ endif + LIB_NAME = OpenNI2 + + LIB_DIRS = ../../ThirdParty/PSCommon/XnLib/Bin/$(PLATFORM)-$(CFG) +-USED_LIBS = XnLib dl pthread ++USED_LIBS = XnLib jpeg dl pthread + ifneq ("$(OSTYPE)","Darwin") + USED_LIBS += rt + endif +Index: OpenNI2-9999/Source/Drivers/OniFile/Makefile +=================================================================== +--- OpenNI2-9999.orig/Source/Drivers/OniFile/Makefile ++++ OpenNI2-9999/Source/Drivers/OniFile/Makefile +@@ -6,14 +6,12 @@ INC_DIRS = \ + . \ + ../../../Include \ + ../../../ThirdParty/PSCommon/XnLib/Include \ +- ../../../ThirdParty/LibJPEG \ + Formats + + SRC_FILES = \ + *.cpp \ + Formats/*.cpp \ +- XnLibExtensions/*.cpp \ +- ../../../ThirdParty/LibJPEG/*.c ++ XnLibExtensions/*.cpp + + + ifeq ("$(OSTYPE)","Darwin") +@@ -25,7 +23,7 @@ endif + LIB_NAME = OniFile + + LIB_DIRS = ../../../ThirdParty/PSCommon/XnLib/Bin/$(PLATFORM)-$(CFG) +-USED_LIBS = XnLib pthread ++USED_LIBS = XnLib jpeg pthread + ifneq ("$(OSTYPE)","Darwin") + USED_LIBS += rt + endif +Index: OpenNI2-9999/Source/Drivers/PS1080/Makefile +=================================================================== +--- OpenNI2-9999.orig/Source/Drivers/PS1080/Makefile ++++ OpenNI2-9999/Source/Drivers/PS1080/Makefile +@@ -7,7 +7,6 @@ INC_DIRS = \ + Include \ + ../../../Include \ + ../../../ThirdParty/PSCommon/XnLib/Include \ +- ../../../ThirdParty/LibJPEG \ + ../../DepthUtils + + SRC_FILES = \ +@@ -16,8 +15,7 @@ SRC_FILES = \ + DriverImpl/*.cpp\ + Formats/*.cpp \ + Include/*.cpp \ +- Sensor/*.cpp \ +- ../../../ThirdParty/LibJPEG/*.c ++ Sensor/*.cpp + + + ifeq ("$(OSTYPE)","Darwin") +@@ -30,7 +28,7 @@ LIB_NAME = PS1080 + + LIB_DIRS += ../../../ThirdParty/PSCommon/XnLib/Bin/$(PLATFORM)-$(CFG) + LIB_DIRS += $(BIN_DIR)/$(PLATFORM)-$(CFG) +-USED_LIBS = XnLib dl pthread DepthUtils ++USED_LIBS = XnLib jpeg dl pthread DepthUtils + ifneq ("$(OSTYPE)","Darwin") + USED_LIBS += rt usb-1.0 udev + else diff --git a/dev-libs/OpenNI2/files/libopenni2.pc.in b/dev-libs/OpenNI2/files/libopenni2.pc.in new file mode 100644 index 000000000000..550b13df60df --- /dev/null +++ b/dev-libs/OpenNI2/files/libopenni2.pc.in @@ -0,0 +1,10 @@ +prefix=/usr +exec_prefix=${prefix} +libdir=${exec_prefix}/@libdir@ +includedir=${prefix}/include/openni2 + +Name: OpenNI2 +Description: A general purpose driver for all OpenNI cameras. +Version: @version@ +Cflags: -I${includedir} +Libs: -L${libdir} -lOpenNI2 -L${libdir}/OpenNI2/Drivers -lDummyDevice -lOniFile -lPS1080 diff --git a/dev-libs/OpenNI2/files/pthread.patch b/dev-libs/OpenNI2/files/pthread.patch new file mode 100644 index 000000000000..62d8a0c86789 --- /dev/null +++ b/dev-libs/OpenNI2/files/pthread.patch @@ -0,0 +1,26 @@ +commit 716cffb2888bb2a0fa3264a22085caf8ce26368f +Author: Pedro Asad +Date: Wed Oct 8 18:18:57 2014 -0300 + + Added a missing -lpthread flag to one Makefile + + The lack of the -lpthread flag on Source/Tools/NiViewer/Makefile prevented the + whole project from compiling correctly on Ubuntu 14.04 64 bit. Just added the + missing flag to this Makefile, according to the same solution for issue 47 of + the old OpenNI2 Github repository, that boils down to a similar problem and + can be found here, on Github + https://github.com/OpenNI/OpenNI2/issues/47 + +diff --git a/Source/Tools/NiViewer/Makefile b/Source/Tools/NiViewer/Makefile +index 1eba049..1b5714d 100644 +--- a/Source/Tools/NiViewer/Makefile ++++ b/Source/Tools/NiViewer/Makefile +@@ -26,7 +26,7 @@ else + endif + + LIB_DIRS += ../../../ThirdParty/PSCommon/XnLib/Bin/$(PLATFORM)-$(CFG) +-USED_LIBS += OpenNI2 XnLib ++USED_LIBS += OpenNI2 XnLib pthread + + EXE_NAME = NiViewer + diff --git a/dev-libs/OpenNI2/files/rpath.patch b/dev-libs/OpenNI2/files/rpath.patch new file mode 100644 index 000000000000..9203733ee80e --- /dev/null +++ b/dev-libs/OpenNI2/files/rpath.patch @@ -0,0 +1,13 @@ +Index: OpenNI2-9999/ThirdParty/PSCommon/BuildSystem/CommonCppMakefile +=================================================================== +--- OpenNI2-9999.orig/ThirdParty/PSCommon/BuildSystem/CommonCppMakefile ++++ OpenNI2-9999/ThirdParty/PSCommon/BuildSystem/CommonCppMakefile +@@ -93,8 +93,6 @@ ifneq "$(LIB_NAME)" "" + endif + ifneq "$(EXE_NAME)" "" + OUTPUT_NAME = $(EXE_NAME) +- # We want the executables to look for the .so's locally first: +- LDFLAGS += -Wl,-rpath ./ + OUTPUT_COMMAND = $(CXX) -o $(OUTPUT_FILE) $(OBJ_FILES) $(LDFLAGS) + endif + ifneq "$(SLIB_NAME)" "" diff --git a/dev-libs/OpenNI2/files/soname.patch b/dev-libs/OpenNI2/files/soname.patch new file mode 100644 index 000000000000..248ac631af58 --- /dev/null +++ b/dev-libs/OpenNI2/files/soname.patch @@ -0,0 +1,13 @@ +Index: OpenNI2-9999/ThirdParty/PSCommon/BuildSystem/CommonCppMakefile +=================================================================== +--- OpenNI2-9999.orig/ThirdParty/PSCommon/BuildSystem/CommonCppMakefile ++++ OpenNI2-9999/ThirdParty/PSCommon/BuildSystem/CommonCppMakefile +@@ -84,7 +84,7 @@ ifneq "$(LIB_NAME)" "" + ifneq ("$(OSTYPE)","Darwin") + LDFLAGS += -Wl,--no-undefined + OUTPUT_NAME = lib$(LIB_NAME).so +- OUTPUT_COMMAND = $(CXX) -o $(OUTPUT_FILE) $(OBJ_FILES) $(LDFLAGS) -shared ++ OUTPUT_COMMAND = $(CXX) -o $(OUTPUT_FILE) $(OBJ_FILES) -Wl,-soname,$(OUTPUT_NAME) $(LDFLAGS) -shared + else + LDFLAGS += -undefined error + OUTPUT_NAME = lib$(LIB_NAME).dylib diff --git a/dev-libs/OpenNI2/metadata.xml b/dev-libs/OpenNI2/metadata.xml new file mode 100644 index 000000000000..561873a856c0 --- /dev/null +++ b/dev-libs/OpenNI2/metadata.xml @@ -0,0 +1,11 @@ + + + + + aballier@gentoo.org + Alexis Ballier + + + occipital/OpenNI2 + + diff --git a/dev-libs/OpenSRF/Manifest b/dev-libs/OpenSRF/Manifest new file mode 100644 index 000000000000..60b5b3a42654 --- /dev/null +++ b/dev-libs/OpenSRF/Manifest @@ -0,0 +1,9 @@ +AUX OpenSRF-1.2.0-buildfix.patch 5565 SHA256 9aaaf8e81fb19060cc0f8de675383868356cca82a8de4bfd39da05a057fdd53c SHA512 febe3759fd4923f686bfc46f8d8f18bd463521e0ff930d0259533f173f11cb42842c3ddfe2930b52648873aad45b19eff1d5f328a8237f7e8f94eba63a35830f WHIRLPOOL 7d423e655e5a98a1275b3a16466d8c24dde01f5dba366c8c45e648373aeb71a7ac7aae1f8b3052f8e9348f34df194ac70fa03933901a7249ed50ed2885c18f79 +AUX OpenSRF-2.1.1-buildfix.patch 3436 SHA256 899c6e2239992b8c75df3485770595bc21ac09bfa4917924d019447e12dba990 SHA512 5db2d704a3d539c1c57ee3b5d4e0965f60c23134c68746ab84655d698388e10b7d611dff0e25db4c633fce462816c4d76afae9d74acdee5a95baeb99528e2b5b WHIRLPOOL 7a59f45e780dccfc6c42f7b4c851c91ed3954d445b683291ca8f6a6eace3941c62668011397109800a1d19e677848c18ecf3713100e09c8466da19cc02771bc1 +DIST OpenSRF-1.2.0.tar.gz 1096952 SHA256 e1cba4710f5244fdcc5afae84b71d7b2f8265f1fdea72b51cf0f64e756617f2d SHA512 f6ee045b32464316eefb457dc74bd08f3a613fcd22ea54ea719a1762b38ea14972d75802d2a542f3c7489c86cea25cb6a9de61662031104b0c0b3634e1d09cd1 WHIRLPOOL 74ae8c5f464e8e3e3cc8ac35f0ba09ec8734f1e8f724f7161956917d2c80dfe4cc8ac8bff6c232483e4ec016a82e5dcc919f9c0e5b38aac55fbd7f75d0fd2997 +DIST opensrf-2.1.1.tar.gz 1058060 SHA256 cf58f744ec18dcfeaf0b0f2199c499b0742ecc35e7adf1e27614ca210f70c5b8 SHA512 5294ae2c9410ae52964067cd9090f9b7b5424e96f1731868cd896c1928ef1e89729af4a83f804f491bf2da0c6d129149105309afa18531b184098ebff2820306 WHIRLPOOL fce4ca8fbebfcec091232ab156e9c4ea4bd445cc90528dc82b61a3e7cd8766382c551d3a277f7a76eea44c0c2e3d347d7805861c46581c89463f3689622fa0be +EBUILD OpenSRF-1.2.0.ebuild 3583 SHA256 5c2ea439baac44a578dd6d41ee43ae772d55bcec9f355f1268f10e7adfdac6ae SHA512 594295b75ef2f9b12ac2383af47bfffc023c3016f8726dbd5d5bef3c4046ce99f091e607b2c9a25347700adbcda7341d4c8ab4d511a353c3aec614a7e4d5c904 WHIRLPOOL 366bc48574b63f79391a6e67d0f04caa1946c7daf336322fa81320b01396cb270434e3672b52c97af6ee0144531aa52102224e3168f611501754004b65662966 +EBUILD OpenSRF-2.1.1.ebuild 3729 SHA256 ebca96fe0d906d2162fcb2b59ff939ae2024fbc68f834bd9e1b9a41dcdf32243 SHA512 5c1fd4aa3c3e66a7d434fa1d9b83b5bb8dfdd913bdee83ec8ab4b84192a2256fd4cb006c158b1ae71a9c5c1f947f69ade123ef874545137d91ecddb6068cd1c8 WHIRLPOOL d70184855f0b10b8ed479c620154ec7452db7d5eedc3b04b926076caccbd64cd97139fd8d8737a2c57d5452e769a4888adfe35f6b5ab6eaf1785dc8c2aed6462 +MISC ChangeLog 2640 SHA256 24d2af326a653ebe3b1bd11f65e5f38b97a8f51e1703955a5931c13d0c852548 SHA512 42a5b13b3876ec39ba90e66448834c437a5c5976a4f771e1d5cf38fa8d92d19f10488a6c6ea2df2daeee1cd075b6bf312ca10bd0e69a26c42869c906dce9e9c1 WHIRLPOOL 2f69b90ba50940c5482a477a488d5a10e444f5190270cfcd0f5ef297a883f9b3c0cabce3352f16f3e14f8e4fbd8fedec9d45f53d1f4aca23d060141d08d26430 +MISC ChangeLog-2015 2388 SHA256 daea8ead98d94b163651364a44111cf14671111603992a1dc8278a769bff45fb SHA512 041c7513aa9637275bbdf236538d04db810d4719badaf1c016c61e871c0560bde799e15d23ce9e823d6048ee879ad358dd6ea0000726cff321ab5c7a3065e428 WHIRLPOOL db2b7fafd35cd2a9042655173ec14a7a50e69c12ff05fcc777b53d147753242712c0d7f8dada6d09079b94e341c2593aafca1af3c83133e2545f918a54f82165 +MISC metadata.xml 216 SHA256 f7475919f28a8a93ec8bd025c8f8bbab918f66d0d1737420c876f0480308fe6a SHA512 e881b59fe49746eb25ad66c258b41aba501e4eb563129093a3898ea970a20506e7898f7c355cfcf99605234962bf2c77c1309c258b9a2b84ee4302ccb71c9dbd WHIRLPOOL 163285b60aa93e00993af659dc1e29a9eb245bd3415dd5ec75b284250596165f469028102b72fa0c344834443a44c1bbcf6272fe6a3f5211f721fc96e1c6ec16 diff --git a/dev-libs/OpenSRF/OpenSRF-1.2.0.ebuild b/dev-libs/OpenSRF/OpenSRF-1.2.0.ebuild new file mode 100644 index 000000000000..b6ea23b6ef85 --- /dev/null +++ b/dev-libs/OpenSRF/OpenSRF-1.2.0.ebuild @@ -0,0 +1,118 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils multilib flag-o-matic apache-module autotools perl-module + +DESCRIPTION="Framework for the high-level development of the Evergreen ILS software" +HOMEPAGE="http://open-ils.org/" +SRC_URI="http://open-ils.org/downloads/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="postgres +sqlite" +DEPEND=">=www-servers/apache-2.2.9 + >=dev-db/libdbi-drivers-0.8.2 + >=dev-db/libdbi-0.8.2 + net-im/ejabberd + dev-libs/libmemcache + dev-perl/Cache-Memcached + dev-perl/Class-DBI-AbstractSearch + sqlite? ( dev-perl/DBD-SQLite ) + postgres? ( dev-perl/DBD-Pg ) + virtual/perl-Digest-MD5 + dev-perl/JSON-XS + dev-perl/Net-Server + dev-perl/UNIVERSAL-require + dev-perl/Unix-Syslog + dev-perl/XML-LibXML + " + +PERL_S="${S}/src/perl" + +APXS2_S="${S}/src/gateway/.libs/" +APACHE2_MOD_FILE="${APXS2_S}/osrf_json_gateway.so ${APXS2_S}/osrf_http_translator.so" +#APACHE2_MOD_CONF="42_${PN}" +#APACHE2_MOD_DEFINE="FOO" +#DOCFILES="docs/*.html" +need_apache2_2 + +RDEPEND="${DEPEND}" + +pkg_setup() { + perl_set_version +} + +src_prepare() { + epatch "${FILESDIR}"/${PN}-1.2.0-buildfix.patch + eautoreconf +} + +#src_compile() { +# LIBXML2_CFLAGS=$(xml2-config --cflags) +# LIBXML2_CFLAGS="${LIBXML2_CFLAGS//*-I}" +# LIBXML2_HEADERS="${LIBXML2_CFLAGS// *}" +# APR_HEADERS=$(apr-1-config --includedir) +# APACHE2_HEADERS=$(apxs2 -q INCLUDEDIR) +# sed -i \ +# -e '/^export PREFIX=/s,/.*,/usr,' \ +# -e '/^export BINDIR=/s,/.*,${PREFIX}/bin,' \ +# -e "/^export LIBDIR=/s,/.*,\${PREFIX}/$(get_libdir)," \ +# -e '/^export PERLDIR=/s,/.*,${LIBDIR}/perl5,' \ +# -e '/^export INCLUDEDIR=/s,/.*,${PREFIX}/include,' \ +# -e '/^export ETCDIR=/s,/.*,/etc,' \ +# -e '/^export SOCK=/s,/.*,/var/run/opensrf,' \ +# -e '/^export PID=/s,/.*,/var/run/opensrf,' \ +# -e '/^export LOG=/s,/.*,/var/log,' \ +# -e '/^export TMP=/s,/.*,/tmp,' \ +# -e '/^export APXS2=/s,/.*,/usr/sbin/apxs2,' \ +# -e "/^export APACHE2_HEADERS=/s,/.*,${APACHE2_HEADERS}," \ +# -e "/^export APR_HEADERS=/s,/.*,${APR_HEADERS}," \ +# -e "/^export LIBXML2_HEADERS=/s,/.*,${LIBXML2_HEADERS}," \ +# install.conf +# emake verbose || die "Failed to build" +#} +src_configure() { + econf \ + --with-apxs=/usr/sbin/apxs2 \ + --sysconfdir=/etc/opensrf \ + --localstatedir=/var \ + || die "econf failed" + cd "${PERL_S}" && S="${PERL_S}" perl-module_src_configure || die "perl-module_src_configure failed" +} + +src_compile() { + emake || die "main emake failed" + cd "${PERL_S}" && S="${PERL_S}" perl-module_src_compile || die "perl-module_src_compile failed" +} + +src_install() { + einfo "Doing src_install" + #emake install-verbose DESTDIR="${D}" || die "Failed to install" + emake install DESTDIR="${D}" || die "Failed to install" + apache-module_src_install || die "apache-module_src_install failed" + cd "${PERL_S}" && S="${PERL_S}" perl-module_src_install || die "perl-module_src_install failed" + cd "${S}" + + # Docs + dodoc README doc/* +} + +src_test() { + emake check || die "emake check failed" + cd "${PERL_S}" && S="${PERL_S}" perl-module_src_test || die "perl-module_src_test failed" +} + +pkg_config() { + : + #JABBER_SERVER=${JABBER_SERVER:=localhost} + #JABBER_PORT=${JABBER_PORT:=5222} + #PASSWORD=${PASSWORD:=osrf} + #einfo "Using Jabber server at ${JABBER_SERVER}:${JABBER_PORT}" + #einfo "Adding 'osrf' and 'router' users with password ${PASSWORD}" + #cd "${ROOT}"/usr/share/doc/${PF}/examples + #for user in osrf router ; do + # perl register.pl ${JABBER_SERVER} ${JABBER_PORT} ${user} ${PASSWORD} \ + # || die "Failed to add $user user to server" + #done +} diff --git a/dev-libs/OpenSRF/OpenSRF-2.1.1.ebuild b/dev-libs/OpenSRF/OpenSRF-2.1.1.ebuild new file mode 100644 index 000000000000..66eff92d51a2 --- /dev/null +++ b/dev-libs/OpenSRF/OpenSRF-2.1.1.ebuild @@ -0,0 +1,122 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils multilib flag-o-matic apache-module autotools perl-module + +DESCRIPTION="Framework for the high-level development of the Evergreen ILS software" +HOMEPAGE="http://open-ils.org/" +MY_PN="opensrf" # upstream lowercased the tarball in 2.x +MY_P="${MY_PN}-${PV}" +SRC_URI="http://open-ils.org/downloads/${MY_P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="postgres +sqlite" +DEPEND=">=www-servers/apache-2.2.9 + >=dev-db/libdbi-drivers-0.8.2 + >=dev-db/libdbi-0.8.2 + net-im/ejabberd + dev-libs/libmemcache + dev-perl/Cache-Memcached + dev-perl/Class-DBI-AbstractSearch + sqlite? ( dev-perl/DBD-SQLite ) + postgres? ( dev-perl/DBD-Pg ) + virtual/perl-Digest-MD5 + dev-perl/JSON-XS + dev-perl/Net-Server + dev-perl/UNIVERSAL-require + dev-perl/Unix-Syslog + dev-perl/XML-LibXML + " + +S="${WORKDIR}/${MY_P}" +PERL_S="${S}/src/perl" + +APXS2_S="${S}/src/gateway/.libs/" +APACHE2_MOD_FILE="${APXS2_S}/osrf_json_gateway.so ${APXS2_S}/osrf_http_translator.so" +#APACHE2_MOD_CONF="42_${PN}" +#APACHE2_MOD_DEFINE="FOO" +#DOCFILES="docs/*.html" +need_apache2_2 + +RDEPEND="${DEPEND}" + +pkg_setup() { + perl_set_version +} + +src_prepare() { + epatch "${FILESDIR}"/${PN}-2.1.1-buildfix.patch + eautoreconf +} + +#src_compile() { +# LIBXML2_CFLAGS=$(xml2-config --cflags) +# LIBXML2_CFLAGS="${LIBXML2_CFLAGS//*-I}" +# LIBXML2_HEADERS="${LIBXML2_CFLAGS// *}" +# APR_HEADERS=$(apr-1-config --includedir) +# APACHE2_HEADERS=$(apxs2 -q INCLUDEDIR) +# sed -i \ +# -e '/^export PREFIX=/s,/.*,/usr,' \ +# -e '/^export BINDIR=/s,/.*,${PREFIX}/bin,' \ +# -e "/^export LIBDIR=/s,/.*,\${PREFIX}/$(get_libdir)," \ +# -e '/^export PERLDIR=/s,/.*,${LIBDIR}/perl5,' \ +# -e '/^export INCLUDEDIR=/s,/.*,${PREFIX}/include,' \ +# -e '/^export ETCDIR=/s,/.*,/etc,' \ +# -e '/^export SOCK=/s,/.*,/var/run/opensrf,' \ +# -e '/^export PID=/s,/.*,/var/run/opensrf,' \ +# -e '/^export LOG=/s,/.*,/var/log,' \ +# -e '/^export TMP=/s,/.*,/tmp,' \ +# -e '/^export APXS2=/s,/.*,/usr/sbin/apxs2,' \ +# -e "/^export APACHE2_HEADERS=/s,/.*,${APACHE2_HEADERS}," \ +# -e "/^export APR_HEADERS=/s,/.*,${APR_HEADERS}," \ +# -e "/^export LIBXML2_HEADERS=/s,/.*,${LIBXML2_HEADERS}," \ +# install.conf +# emake verbose || die "Failed to build" +#} +src_configure() { + APXS2_INSTALL="-i" \ + econf \ + --with-apxs=/usr/sbin/apxs2 \ + --sysconfdir=/etc/opensrf \ + --localstatedir=/var \ + || die "econf failed" + cd "${PERL_S}" && S="${PERL_S}" perl-module_src_configure || die "perl-module_src_configure failed" +} + +src_compile() { + emake || die "main emake failed" + cd "${PERL_S}" && S="${PERL_S}" perl-module_src_compile || die "perl-module_src_compile failed" +} + +src_install() { + einfo "Doing src_install" + #emake install-verbose DESTDIR="${D}" || die "Failed to install" + emake install DESTDIR="${D}" APXS2_INSTALL="-i" || die "Failed to install" + apache-module_src_install || die "apache-module_src_install failed" + cd "${PERL_S}" && S="${PERL_S}" perl-module_src_install || die "perl-module_src_install failed" + cd "${S}" + + # Docs + dodoc README doc/* +} + +src_test() { + emake check || die "emake check failed" + cd "${PERL_S}" && S="${PERL_S}" perl-module_src_test || die "perl-module_src_test failed" +} + +pkg_config() { + : + #JABBER_SERVER=${JABBER_SERVER:=localhost} + #JABBER_PORT=${JABBER_PORT:=5222} + #PASSWORD=${PASSWORD:=osrf} + #einfo "Using Jabber server at ${JABBER_SERVER}:${JABBER_PORT}" + #einfo "Adding 'osrf' and 'router' users with password ${PASSWORD}" + #cd "${ROOT}"/usr/share/doc/${PF}/examples + #for user in osrf router ; do + # perl register.pl ${JABBER_SERVER} ${JABBER_PORT} ${user} ${PASSWORD} \ + # || die "Failed to add $user user to server" + #done +} diff --git a/dev-libs/OpenSRF/files/OpenSRF-1.2.0-buildfix.patch b/dev-libs/OpenSRF/files/OpenSRF-1.2.0-buildfix.patch new file mode 100644 index 000000000000..33963fe30436 --- /dev/null +++ b/dev-libs/OpenSRF/files/OpenSRF-1.2.0-buildfix.patch @@ -0,0 +1,136 @@ +diff -Nuar OpenSRF-1.2.0.orig/Makefile.am OpenSRF-1.2.0/Makefile.am +--- OpenSRF-1.2.0.orig/Makefile.am 2008-10-27 05:07:06.000000000 +0000 ++++ OpenSRF-1.2.0/Makefile.am 2012-11-12 20:53:22.079732392 +0000 +@@ -115,14 +115,14 @@ + SUBDIRS = src + + jserver: +- make -s -C src jserver ++ $(MAKE) -s -C src jserver + + jserver-install: +- make -s -C src jserver-install ++ $(MAKE) -s -C src jserver-install + + javascript-install: +- make -s -C src javascript-install ++ $(MAKE) -s -C src javascript-install + + install-data-hook: +- cp @srcdir@/src/gateway/apachetools.h @includedir@/opensrf/apachetools.h ++ cp @srcdir@/src/gateway/apachetools.h $(DESTDIR)@includedir@/opensrf/apachetools.h + +diff -Nuar OpenSRF-1.2.0.orig/src/gateway/Makefile.am OpenSRF-1.2.0/src/gateway/Makefile.am +--- OpenSRF-1.2.0.orig/src/gateway/Makefile.am 2008-08-18 19:14:00.000000000 +0000 ++++ OpenSRF-1.2.0/src/gateway/Makefile.am 2012-11-12 20:53:22.079732392 +0000 +@@ -16,16 +16,25 @@ + + AM_CFLAGS = -D_LARGEFILE64_SOURCE -Wall -I@abs_top_srcdir@/include/ -I$(LIBXML2_HEADERS) -I$(APACHE2_HEADERS) -I$(APR_HEADERS) + AM_LDFLAGS = -L$(LIBDIR) -L@top_builddir@/src/libopensrf ++APACHE_DEPS = apachetools.c apachetools.h ++LIBS=libopensrf.so ++TARGETS = osrf_json_gateway.la osrf_http_translator.la + +-install-exec-local: +- if [ ! "$$(grep mod_placeholder `apxs2 -q SYSCONFDIR`/httpd.conf)" ]; \ +- then echo -e "#\n#LoadModule mod_placeholder /usr/lib/apache2/modules/mod_placeholder.so" \ +- >> `apxs2 -q SYSCONFDIR`/httpd.conf; \ +- fi +- $(APXS2) -c $(DEF_LDLIBS) $(AM_CFLAGS) $(AM_LDFLAGS) @srcdir@/osrf_json_gateway.c apachetools.c apachetools.h libopensrf.so +- $(APXS2) -c $(DEF_LDLIBS) $(AM_CFLAGS) $(AM_LDFLAGS) @srcdir@/osrf_http_translator.c apachetools.c apachetools.h libopensrf.so +- $(APXS2) -i -a @srcdir@/osrf_json_gateway.la +- $(APXS2) -i -a @srcdir@/osrf_http_translator.la ++all: $(TARGETS) ++ ++osrf_json_gateway.la: osrf_json_gateway.c $(APACHE_DEPS) ++ $(APXS2) -c $(DEF_LDLIBS) $(AM_CFLAGS) $(AM_LDFLAGS) $^ $(LIBS) ++ ++osrf_http_translator.la: osrf_http_translator.c $(APACHE_DEPS) ++ $(APXS2) -c $(DEF_LDLIBS) $(AM_CFLAGS) $(AM_LDFLAGS) $^ $(LIBS) ++ ++#install-exec-local: $(TARGETS) ++# if [ ! "$$(grep mod_placeholder `apxs2 -q SYSCONFDIR`/httpd.conf)" ]; \ ++# then echo -e "#\n#LoadModule mod_placeholder /usr/lib/apache2/modules/mod_placeholder.so" \ ++# >> `apxs2 -q SYSCONFDIR`/httpd.conf; \ ++# fi ++# $(APXS2) -i -a osrf_json_gateway.la ++# $(APXS2) -i -a osrf_http_translator.la + + clean-local: + rm -f @srcdir@/osrf_http_translator.la @srcdir@/osrf_http_translator.lo @srcdir@/osrf_http_translator.slo @srcdir@/osrf_json_gateway.la @srcdir@/osrf_json_gateway.lo @srcdir@/osrf_json_gateway.slo +diff -Nuar OpenSRF-1.2.0.orig/src/java/Makefile.am OpenSRF-1.2.0/src/java/Makefile.am +--- OpenSRF-1.2.0.orig/src/java/Makefile.am 2008-07-17 18:15:09.000000000 +0000 ++++ OpenSRF-1.2.0/src/java/Makefile.am 2012-11-12 20:53:22.079732392 +0000 +@@ -48,8 +48,8 @@ + rm files; + + install-data-local: +- mkdir -p $(LIBDIR)/java +- cp opensrf.jar $(LIBDIR)/java ++ mkdir -p $(DESTDIR)$(LIBDIR)/java ++ cp opensrf.jar $(DESTDIR)$(LIBDIR)/java + + dep_clean: + rm -rf deps +diff -Nuar OpenSRF-1.2.0.orig/src/libopensrf/Makefile.am OpenSRF-1.2.0/src/libopensrf/Makefile.am +--- OpenSRF-1.2.0.orig/src/libopensrf/Makefile.am 2009-04-08 02:48:02.000000000 +0000 ++++ OpenSRF-1.2.0/src/libopensrf/Makefile.am 2012-11-12 20:53:22.079732392 +0000 +@@ -99,6 +99,7 @@ + opensrf_c_SOURCES = opensrf.c + opensrf_c_DEPENDENCIES = libopensrf.la + ++osrf_json_test_DEPENDENCIES = libopensrf.la libosrf_json.la + osrf_json_test_SOURCES = osrf_json_test.c $(JSON_TARGS) $(JSON_DEP) $(JSON_TARGS_HEADS) $(JSON_DEP_HEADS) + + noinst_LTLIBRARIES = libosrf_json.la +diff -Nuar OpenSRF-1.2.0.orig/src/Makefile.am OpenSRF-1.2.0/src/Makefile.am +--- OpenSRF-1.2.0.orig/src/Makefile.am 2009-05-31 19:49:00.000000000 +0000 ++++ OpenSRF-1.2.0/src/Makefile.am 2012-11-12 20:53:52.475676800 +0000 +@@ -17,7 +17,7 @@ + export OPENSRF = opensrf + export BINDIR = @bindir@ + export LIBDIR = @libdir@ +-jsdir = $(LIBDIR)/javascript ++jsdir = $(datarootdir)/opensrf/javascript + export OSRF_JAVA_DEPSDIR = @OSRF_JAVA_DEPSDIR@ + etcdir = $(ETCDIR) + +@@ -33,7 +33,7 @@ + MAYBE_JA = java + endif + +-SUBDIRS = libopensrf c-apps router srfsh jserver gateway perl $(MAYBE_PY) $(MAYBE_JA) ++SUBDIRS = libopensrf c-apps router srfsh jserver gateway $(MAYBE_PY) $(MAYBE_JA) # perl is now seperate + + dist_bin_SCRIPTS = @top_srcdir@/bin/opensrf-perl.pl + bin_SCRIPTS = @top_srcdir@/bin/osrf_config @top_srcdir@/bin/osrf_ctl.sh +@@ -41,11 +41,11 @@ + dist_sysconf_DATA = @top_srcdir@/examples/opensrf.xml.example @top_srcdir@/examples/opensrf_core.xml.example @top_srcdir@/examples/srfsh.xml.example + + install-exec-local: +- mkdir -p $(VAR) +- mkdir -p $(PID) +- mkdir -p $(LOG) +- mkdir -p $(SOCK) +- mkdir -p $(jsdir) ++ mkdir -p $(DESTDIR)$(VAR) ++ mkdir -p $(DESTDIR)$(PID) ++ mkdir -p $(DESTDIR)$(LOG) ++ mkdir -p $(DESTDIR)$(SOCK) ++ mkdir -p $(DESTDIR)$(jsdir) + + install-exec-hook: + sed -i 's|LOCALSTATEDIR|$(VAR)|g' '$(DESTDIR)@sysconfdir@/opensrf.xml.example' +@@ -54,9 +54,9 @@ + sed -i 's|SYSCONFDIR|$(ETCDIR)|g' '$(DESTDIR)@sysconfdir@/opensrf_core.xml.example' + sed -i 's|LOCALSTATEDIR|$(VAR)|g' '$(DESTDIR)@sysconfdir@/srfsh.xml.example' + sed -i 's|SYSCONFDIR|$(ETCDIR)|g' '$(DESTDIR)@sysconfdir@/srfsh.xml.example' +- cp -r @srcdir@/javascript/* $(jsdir)/ ++ cp -r @srcdir@/javascript/* $(DESTDIR)$(jsdir)/ + + uninstall-hook: +- rm @includedir@/opensrf/apachetools.h +- rm -R $(jsdir) ++ rm $(DESTDIR)@includedir@/opensrf/apachetools.h ++ rm -R $(DESTDIR)$(jsdir) + diff --git a/dev-libs/OpenSRF/files/OpenSRF-2.1.1-buildfix.patch b/dev-libs/OpenSRF/files/OpenSRF-2.1.1-buildfix.patch new file mode 100644 index 000000000000..767a478b53a8 --- /dev/null +++ b/dev-libs/OpenSRF/files/OpenSRF-2.1.1-buildfix.patch @@ -0,0 +1,70 @@ +Upstream uses DESTDIR, but then tries to hard-install the apache config +modules, as well as not allowing other arguments to Build.PL easily. + +Split apache modules to be built during compile phase, and allow control of +apxs2 install mode (for Gentoo, pass APXS2_INSTALL=-i). + +For the Build.PL problem, just disable it entirely here, and use the Gentoo +build functions to call Build.PL instead +(presently does --installdirs=vendor --libdoc= --destdir="${D}" --create_packlist=0). + +Signed-off-by: Robin H. Johnson + +diff -Nuar opensrf-2.1.1.orig/src/gateway/Makefile.am opensrf-2.1.1/src/gateway/Makefile.am +--- opensrf-2.1.1.orig/src/gateway/Makefile.am 2012-11-06 17:39:46.000000000 +0000 ++++ opensrf-2.1.1/src/gateway/Makefile.am 2012-11-12 21:56:52.108564157 +0000 +@@ -17,20 +17,23 @@ + AM_CFLAGS = -D_LARGEFILE64_SOURCE -Wall -I@abs_top_srcdir@/include/ -I$(LIBXML2_HEADERS) -I$(APACHE2_HEADERS) -I$(APR_HEADERS) + AM_LDFLAGS = -L$(LIBDIR) -L@top_builddir@/src/libopensrf + AP_LIBEXECDIR = `$(APXS2) -q LIBEXECDIR` ++APXS2_INSTALL = -i -a + + DISTCLEANFILES = Makefile.in Makefile + +-install-exec-local: +- d=`$(APXS2) -q SYSCONFDIR` && \ +- if ! grep mod_placeholder $${d}/httpd.conf 2>&1 >/dev/null ; \ +- then echo -e "#\n#LoadModule mod_placeholder /usr/lib/apache2/modules/mod_placeholder.so" \ +- >> $${d}/httpd.conf; \ +- fi ++all: + $(APXS2) -c $(DEF_LDLIBS) $(AM_CFLAGS) $(AM_LDFLAGS) @srcdir@/osrf_json_gateway.c apachetools.c apachetools.h libopensrf.so + $(APXS2) -c $(DEF_LDLIBS) $(AM_CFLAGS) $(AM_LDFLAGS) @srcdir@/osrf_http_translator.c apachetools.c apachetools.h libopensrf.so ++ ++install-exec-local: ++# d=`$(APXS2) -q SYSCONFDIR` && \ ++# if ! grep mod_placeholder $${d}/httpd.conf 2>&1 >/dev/null ; \ ++# then echo -e "#\n#LoadModule mod_placeholder /usr/lib/apache2/modules/mod_placeholder.so" \ ++# >> $${d}/httpd.conf; \ ++# fi + $(MKDIR_P) $(DESTDIR)$(AP_LIBEXECDIR) +- $(APXS2) -i -S LIBEXECDIR=$(DESTDIR)$(AP_LIBEXECDIR) -a @srcdir@/osrf_json_gateway.la +- $(APXS2) -i -S LIBEXECDIR=$(DESTDIR)$(AP_LIBEXECDIR) -a @srcdir@/osrf_http_translator.la ++ $(APXS2) $(APXS2_INSTALL) -S LIBEXECDIR=$(DESTDIR)$(AP_LIBEXECDIR) @srcdir@/osrf_json_gateway.la ++ $(APXS2) $(APXS2_INSTALL) -S LIBEXECDIR=$(DESTDIR)$(AP_LIBEXECDIR) @srcdir@/osrf_http_translator.la + + clean-local: + rm -f @srcdir@/osrf_http_translator.la @srcdir@/osrf_http_translator.lo @srcdir@/osrf_http_translator.slo @srcdir@/osrf_json_gateway.la @srcdir@/osrf_json_gateway.lo @srcdir@/osrf_json_gateway.slo +diff -Nuar opensrf-2.1.1.orig/configure.ac opensrf-2.1.1/configure.ac +--- opensrf-2.1.1.orig/configure.ac 2012-11-06 17:39:46.000000000 +0000 ++++ opensrf-2.1.1/configure.ac 2012-11-12 22:04:38.673403306 +0000 +@@ -352,7 +352,6 @@ + src/gateway/Makefile + src/jserver/Makefile + src/libopensrf/Makefile +- src/perl/Makefile + src/ports/strn_compat/Makefile + src/python/opensrf.py + src/router/Makefile +diff -Nuar opensrf-2.1.1.orig/src/Makefile.am opensrf-2.1.1/src/Makefile.am +--- opensrf-2.1.1.orig/src/Makefile.am 2012-11-06 17:39:46.000000000 +0000 ++++ opensrf-2.1.1/src/Makefile.am 2012-11-12 22:04:35.580149012 +0000 +@@ -40,7 +40,7 @@ + endif + + if BUILDCORE +-MAYBE_CORE = libopensrf c-apps router srfsh gateway perl ++MAYBE_CORE = libopensrf c-apps router srfsh gateway + if BUILDPYTHON + dist_bin_SCRIPTS = @top_srcdir@/bin/opensrf-perl.pl @top_srcdir@/src/python/opensrf.py @top_srcdir@/src/python/srfsh.py + else diff --git a/dev-libs/OpenSRF/metadata.xml b/dev-libs/OpenSRF/metadata.xml new file mode 100644 index 000000000000..79d462e85571 --- /dev/null +++ b/dev-libs/OpenSRF/metadata.xml @@ -0,0 +1,7 @@ + + + + + robbat2@gentoo.org + + diff --git a/dev-libs/UTF8Strings/Manifest b/dev-libs/UTF8Strings/Manifest new file mode 100644 index 000000000000..d4530c6a27e8 --- /dev/null +++ b/dev-libs/UTF8Strings/Manifest @@ -0,0 +1,7 @@ +DIST UTF8Strings-1.14.0.tar.bz2 7135 SHA256 4b150da1579261692079046fa0db61b5bda9ebeeeb8ac26034d7d73fd3ec75fd SHA512 12d06aecf0ea0c29067932e08e4854038f053a10e99c5fbb6912a8ec17c9eb687fe06fb8267a8db9e8d775379ce0cb4339b75e2338a014c449d89f74a09e1ab4 WHIRLPOOL 4750f99cb419fe0382c25822fbc2c9395208ea68bfd610ba7ebefa35e350f2eaede9c7ca79277c3c9a6c617262f1a0aea75c57f0fb8248f4691dd45f8423d781 +DIST UTF8Strings-1.14.2.tar.bz2 7304 SHA256 2a709a45ac859495458f8f6995daa7c981f11b40ca98a387687da1b85e91652a SHA512 18e1ec3432757700c4f4f1a5d7f9aa63b0100d6b050616aa8461ed45db4805f22426ae88818031a0f0f7af36a9215cb58d0f6fd101152ae540a5905909afacae WHIRLPOOL 9fb6cf762fa3b1ac06fc46c13cc8ea9a9289e4096e61f2d1eeb9ae2c896596d77bb5c717cc8890575f02fe78f33d96ab107c105fdd25a881797193fd1476d5fe +EBUILD UTF8Strings-1.14.0.ebuild 395 SHA256 cf20aecebe5f2c93c51334c170de85168553a8dd22f7c3dae3dab68ebb6bda66 SHA512 346a01990b8ffa9bc1698b0e962c351f47ed5e9f22e21ccfaec5f3eebed7b3077eab243d4be094a362a089cd25b54ae3408f06c34a940af73543507b05edea93 WHIRLPOOL 56c68f999260eab2d2727815f3e15589b97d597a53d4164f3646c72d7b70cae581f43c0ad790dc2048a7ab342d3c1903c79b7ad72149db5c20a455c35723586a +EBUILD UTF8Strings-1.14.2.ebuild 395 SHA256 cf20aecebe5f2c93c51334c170de85168553a8dd22f7c3dae3dab68ebb6bda66 SHA512 346a01990b8ffa9bc1698b0e962c351f47ed5e9f22e21ccfaec5f3eebed7b3077eab243d4be094a362a089cd25b54ae3408f06c34a940af73543507b05edea93 WHIRLPOOL 56c68f999260eab2d2727815f3e15589b97d597a53d4164f3646c72d7b70cae581f43c0ad790dc2048a7ab342d3c1903c79b7ad72149db5c20a455c35723586a +MISC ChangeLog 3686 SHA256 aa4464f43626ae93d1f4dddfd5f3712ac0f173a037eef8cfe7131a38a7e29587 SHA512 43bb2f77ea9cdd8a440962b099d28cb6980f8f22208987d4f29259e2c852fc196d2ddb918794a686eec117ed16f12b5231ec94aac7a20cf107b284e3da3b93b7 WHIRLPOOL 25e9255f8bed92200cec83be7fba745ee8e5a9ad8fb4c49bef147848858e1479f3d9ad2ddcd5eb1b1cd9e2703415e8f93b5145f2c7ef3b38591062978c6111d4 +MISC ChangeLog-2015 3178 SHA256 779bbc0959717b0f467817b5f411e0fbb61359dbccdecf9246b88e61df72be93 SHA512 ca9de62e11520113cfa58295aa33fde867ea527e253fb3298cb703830f618251923a83440571e48e97f561ddbf8d9ac6e2f098c3d9dcda04a6d6e53f779fbdbd WHIRLPOOL e2c0ed12108c3645f78f46d64b6989da5c2a0acb70a22c544eafcde654895c4de08ace86e98d89f236b35e300aa75484492609f72db06eedbaf4ff850bc2ff6f +MISC metadata.xml 582 SHA256 ba0f50687cf39115e7ac3d44251a20893fd705ec33977d72b8ab459df1d113a6 SHA512 14c46bbcfb1c9bda59e2af43215294e4c74bcbb32e2004b8f6e3ce6bfbe24cee3d6c82dbaae6a4ba95fe5daf6f2017842f283e8d08d1dc182b9e747efd6b1537 WHIRLPOOL 8d5ed075507fcb3c06ce4423ac1ba1b9987f6e8ffe4c792acebaf7c6e3a48a1dfb189916c33c60f7533b464d3f4b3bd69c15c4675ea84bfe11a9a33fd8bf53ef diff --git a/dev-libs/UTF8Strings/UTF8Strings-1.14.0.ebuild b/dev-libs/UTF8Strings/UTF8Strings-1.14.0.ebuild new file mode 100644 index 000000000000..50cd3b4b6d63 --- /dev/null +++ b/dev-libs/UTF8Strings/UTF8Strings-1.14.0.ebuild @@ -0,0 +1,14 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit cmake-utils + +DESCRIPTION="C++ library providing ability to work natively with UTF8 string" +HOMEPAGE="http://grigory.info/${PN}.About.html" +SRC_URI="http://grigory.info/distfiles/${P}.tar.bz2" + +LICENSE="GPL-3" +KEYWORDS="amd64 ~mips x86 ~amd64-linux ~x86-linux" +SLOT="0" diff --git a/dev-libs/UTF8Strings/UTF8Strings-1.14.2.ebuild b/dev-libs/UTF8Strings/UTF8Strings-1.14.2.ebuild new file mode 100644 index 000000000000..50cd3b4b6d63 --- /dev/null +++ b/dev-libs/UTF8Strings/UTF8Strings-1.14.2.ebuild @@ -0,0 +1,14 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit cmake-utils + +DESCRIPTION="C++ library providing ability to work natively with UTF8 string" +HOMEPAGE="http://grigory.info/${PN}.About.html" +SRC_URI="http://grigory.info/distfiles/${P}.tar.bz2" + +LICENSE="GPL-3" +KEYWORDS="amd64 ~mips x86 ~amd64-linux ~x86-linux" +SLOT="0" diff --git a/dev-libs/UTF8Strings/metadata.xml b/dev-libs/UTF8Strings/metadata.xml new file mode 100644 index 000000000000..1b233acd72c7 --- /dev/null +++ b/dev-libs/UTF8Strings/metadata.xml @@ -0,0 +1,16 @@ + + + + + gorelov@grigory.info + Gorelov Grigory + Maintainer and upstream developer. + + + proxy-maint@gentoo.org + Proxy Maintainers + + + C++ library that provides ability to work natively with UTF8 strings in a very simple way. + + diff --git a/dev-libs/ace/Manifest b/dev-libs/ace/Manifest new file mode 100644 index 000000000000..526b673c81b4 --- /dev/null +++ b/dev-libs/ace/Manifest @@ -0,0 +1,11 @@ +DIST ACE+TAO+CIAO-5.7.2.tar.bz2 49824451 SHA256 5290e378c9417892e7e57eef06e74affeb6a93ba3e7c67e24e02e72c282ea37a SHA512 798707aaa04b253f4b1241cd3263a87bdf7188437f858aac910a6fbf54bcf27c41f827fe81cea68b813ac068bd7a04f63e7f4eb948432d9240c4979fdf7f0ce1 WHIRLPOOL 23214425fd1d2a13622b1f21ec16fde84eb76a22305a6393642cdb4ea3d6d58481b59323a64ac91bed7ff672d5b5e8b6fe389ed9620ce898a00bf6332370d38e +DIST ACE+TAO+CIAO-5.8.3.tar.bz2 44653860 SHA256 db4e7722e8c931902b7781c6a17f6d22037c93edc979ab5581a59e4990e59562 SHA512 e062c1922ebec33eea7d55fbb97acc487cb2f0342a80312a5eeebe0d3e026df9632a1b2e93e146c308971c4cfc0189cf7cfbdadfb003493971c837b506e22184 WHIRLPOOL f36decf821a3943677b74b632d7ca17444646b5cb7b867128224fa1f8f4bfb10ce4515282ab671056529aa6f9dc96026709a08e16f4c90c2969c68e8ad82db5a +DIST ACE+TAO-5.7.2.tar.bz2 26111373 SHA256 95d9bfe506bfe55e489863413d83f214d2f6948a836449ed4dce6cf8c7d05d1d SHA512 9c25bc3773dd92d943bf67595470a485be1d7ebe893ddf20ec55a77d66080cf755e0c5cdc77a8f53d49d1f2ae4ec03cdbc7ac0dc68e179467b8ce7ad3abb5387 WHIRLPOOL 02b575fc831e988164be3667f1c8b34ef7bd6c5fe131884d4443058a70ca68f975391e5b7efc56235e4d4b598879941fd6737a7a1d0448b837a512ee7269630e +DIST ACE+TAO-5.8.3.tar.bz2 21366503 SHA256 d7b7a8c570b479959465a2b0fe5013933513958b36716c05327b256a63e7c9ae SHA512 9474251a0dff0659cf0951ad7ef48bf98503e6aa293121fecaaa6d4eba665dc557b17d004f4a589b13a45bccf9ddba893fc9ea454b257c7117d8747bbc04c886 WHIRLPOOL 17fe4a016cd4d5b25bda9041a9a6ccf4d9d4ba3daf0f7266c2e3f74797ee492b59b259313e7806d07d8d3768824e15fe06383a1769e060a8b3a62156fc49278a +DIST ACE-5.7.2.tar.bz2 9724175 SHA256 e358281a93cbc932351030675fb7956875f996e0dc42cf1f499a2d5bd018e0ad SHA512 7f5d77ea9ab1f03ad615cf6b01cb75b0484c5e828790609b8492463153a34c62d974000c0f3952dfdab143cad3c0aa6e2ddc7ea089989b6e9b9797bc6430d38b WHIRLPOOL e57db857a3ca1411fe3bcf166b7aee059d8e07e752cdd919e9ca7a1766bea7562027752326a24937719da432323569f302360849d3976bd44f05f0bfb1ce0946 +DIST ACE-5.8.3.tar.bz2 8956345 SHA256 fabf53dd64674b80eee296cc95705f13866230c70bbac10f475e5a6169395b9d SHA512 3b1e0dfdd59dacbfd987499653e42ad41273de28bb5e920105b897567eed96f6e1b09a03c7f342277c2cf82231426b2bee4ed76ad98fec05e0fe589c9d86c469 WHIRLPOOL 61641e94452a538f90ded35c9b91030246566c3e90e9e7ea48831a7232d765de9207106a9ca58a7674a8e7631e8e8731e648fadb613995c87fe84181a0973105 +EBUILD ace-5.7.2.ebuild 2446 SHA256 91b4be9e3fdac26ff8cb0cd859c73164d090fc7f1ba1b18b96ec0c2b2ff36aa8 SHA512 5e4c666442570e952bbfb2be6779c918cc9ae64e77a5476e00e91b53266dce4dd29aca93b0d486fc4f319225e5b269e6a97f424b5e9b6087d73770d3e8ebf221 WHIRLPOOL bab814709c822a97db035a1aa2429d9452d669780a797262f06ee6149949914b918e40ba07489e114021e536c80300b90312559ebdb062fd2292a2121f3045e0 +EBUILD ace-5.8.3.ebuild 2430 SHA256 77ac37a5f0f42a4b7604c1e14565d86b2dfa60a2a61d4d5c73e2e49eb45c9097 SHA512 01c1848d5ec47a0d117a2f3fc984738b039ce10b66d02c3d861612437df5b2c5780da922b42f9d4d16e716a9a6591298c26b99e548937da5597d8684e96167c9 WHIRLPOOL 2735741e2f6222a0683993f037d9f74354de7d7802eb287cc6e20ec09bcabb412a5b2086de228681e2580c0ac94f4f0885f7cf9c2cafe5fba7b145c7f823dd3d +MISC ChangeLog 3814 SHA256 3b4bb68ed4d85eb729bc393049f0257590bcb5607985c2f856bba3469948ec8c SHA512 aa2f40c29e4613b15e74850d7d02a45a6bb8da3e9f27973fedf6be3814501c55f9341c38309af882c0b47a0052c61ec430300177a4b7ee7327d117ecc7b395bc WHIRLPOOL f1caa8e3b9ccfcb04083612fc8fd6090d1e9ce654f5fe4c6b7bf0e1a9530b7bcfacd9d68963c00bf4a147e0a3d164fb70339b2bfe1bdc43dc6c5271cb7f26877 +MISC ChangeLog-2015 9139 SHA256 a5211acd974a49c47bc93623b6dc3539c869aa8b8017aec863e1d80bcf12bed6 SHA512 43ceeb4ae766822fc4a11afd4d341e88e967d407c19f4137151d1c7e6998e5a873e485369a5462d726a714c7412a701ff88c4b8d520e5b9144102a40b82e5d13 WHIRLPOOL 3088e4328f760bf64ebe0c815b5aa03936878db7117336b11f7dc65aa213023eb022677402fc700f99e25f108b5a8deec70129c851d0303de5f99eb3f3a1a575 +MISC metadata.xml 450 SHA256 68052385d50177a59b4a84208b85a26e605447ab1b83e01854904d032efef586 SHA512 a1f66a959567a84d6440486b368e9b727eb7e7b3ece31c8b8ae6c54bba822da453bce3f2ab0f50f1efc962fd4a443ba0889ca75af6d077636864d72bf0a0ec05 WHIRLPOOL 49e8ab5af66c60ac9ef3c21b796e559a5103b39b288874156a86f19de3e1e58a1597ab4e7734d7536c85c61adb6b8f8f78dbf6dbb29a22dcb1d508820ec5a885 diff --git a/dev-libs/ace/ace-5.7.2.ebuild b/dev-libs/ace/ace-5.7.2.ebuild new file mode 100644 index 000000000000..4d172ad18eda --- /dev/null +++ b/dev-libs/ace/ace-5.7.2.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +inherit eutils multilib toolchain-funcs + +DESCRIPTION="The Adaptive Communications Environment" +HOMEPAGE="http://www.cs.wustl.edu/~schmidt/ACE.html" +SRC_URI="!tao? ( http://download.dre.vanderbilt.edu/previous_versions/ACE-${PV}.tar.bz2 ) + tao? ( + !ciao? ( http://download.dre.vanderbilt.edu/previous_versions/ACE+TAO-${PV}.tar.bz2 ) + ciao? ( http://download.dre.vanderbilt.edu/previous_versions/ACE+TAO+CIAO-${PV}.tar.bz2 ) + )" + +LICENSE="ACE BSD BSD-4 BSD-2 tao? ( sun-iiop RSA )" +SLOT="0" +KEYWORDS="amd64 ppc ppc64 x86" +IUSE="X ipv6 tao ciao" + +COMMON_DEPEND="dev-libs/openssl" +# TODO probably more +RDEPEND="${COMMON_DEPEND} + X? ( x11-libs/libXt x11-libs/libXaw )" + +DEPEND="${COMMON_DEPEND} + X? ( x11-proto/xproto )" + +S="${WORKDIR}/ACE_wrappers" + +src_unpack() { + unpack ${A} + cd "${S}" + # Let's avoid autotools. https://bugs.gentoo.org/328027. + if has_version ">=dev-libs/openssl-1.0.0"; then + sed -i -e 's:SSL_METHOD:const SSL_METHOD:' configure || die + fi + + sed -i -e 's/-O3//' configure || die +} + +src_compile() { + export ACE_ROOT="${S}" + mkdir build + cd build + + ECONF_SOURCE="${S}" + econf \ + --enable-lib-all \ + $(use_with X) \ + $(use_enable ipv6) \ + || die "econf died" + # --with-qos needs ACE_HAS_RAPI + emake static_libs=1 || die "emake failed" +} + +src_install() { + cd build + emake ACE_ROOT="${S}" DESTDIR="${D}" install || die "failed to install" + # punt gperf stuff + rm -rf "${D}/usr/bin" "${D}/usr/share" + # remove PACKAGE_* definitions from installed config.h (#192676) + sed -i -e "s:^[ \t]*#define[ \t]\+PACKAGE_.*$:/\* & \*/:g" "${D}/usr/include/ace/config.h" + + # Install some docs + cd "${S}" + dodoc README NEWS ChangeLog AUTHORS VERSION Release || die +} + +src_test() { + cd "${S}/build" + emake ACE_ROOT="${S}" check || die "self test failed" +} + +pkg_postinst() { + + local CC_MACHINE=$($(tc-getCC) -dumpmachine) + if [ -d "/usr/$(get_libdir)/gcc-lib/${CC_MACHINE}/$(gcc-fullversion)/include/ace" ]; then + ewarn "moving /usr/$(get_libdir)/gcc-lib/${CC_MACHINE}/$(gcc-fullversion)/include/ace to" + ewarn "ace.old" + ewarn "This is required, as anything trying to compile against ACE will" + ewarn "have problems with conflicting OS.h files if this is not done." + mv "/usr/$(get_libdir)/gcc-lib/${CC_MACHINE}/$(gcc-fullversion)/include/ace" \ + "/usr/$(get_libdir)/gcc-lib/${CC_MACHINE}/$(gcc-fullversion)/include/ace.old" + fi +} diff --git a/dev-libs/ace/ace-5.8.3.ebuild b/dev-libs/ace/ace-5.8.3.ebuild new file mode 100644 index 000000000000..5acad9eca3ce --- /dev/null +++ b/dev-libs/ace/ace-5.8.3.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils multilib toolchain-funcs + +DESCRIPTION="The Adaptive Communications Environment" +HOMEPAGE="http://www.cs.wustl.edu/~schmidt/ACE.html" +SRC_URI="!tao? ( http://download.dre.vanderbilt.edu/previous_versions/ACE-${PV}.tar.bz2 ) + tao? ( + !ciao? ( http://download.dre.vanderbilt.edu/previous_versions/ACE+TAO-${PV}.tar.bz2 ) + ciao? ( http://download.dre.vanderbilt.edu/previous_versions/ACE+TAO+CIAO-${PV}.tar.bz2 ) + )" + +LICENSE="ACE BSD BSD-4 BSD-2 tao? ( sun-iiop RSA )" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="X ciao ipv6 libressl static-libs tao" + +COMMON_DEPEND=" + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= )" +# TODO probably more +RDEPEND="${COMMON_DEPEND} + X? ( x11-libs/libXt x11-libs/libXaw )" + +DEPEND="${COMMON_DEPEND} + X? ( x11-proto/xproto )" + +S="${WORKDIR}/ACE_wrappers" + +src_prepare() { + sed -i \ + -e 's:SSL_METHOD:const SSL_METHOD:' \ + -e 's/-O3//' \ + configure || die "sed on configure failed" + mkdir build || die + export ACE_ROOT="${S}" + + epatch_user +} + +src_configure() { + pushd build >/dev/null || die + ECONF_SOURCE="${S}" + econf \ + --enable-lib-all \ + $(use_with X) \ + $(use_enable ipv6) \ + $(use_enable static-libs static) + popd >/dev/null || die +} + +src_compile() { + # --with-qos needs ACE_HAS_RAPI + emake -C build +} + +src_install() { + emake -C build ACE_ROOT="${S}" DESTDIR="${D}" install + # punt gperf stuff + rm -rf "${D}/usr/bin" "${D}/usr/share" + # remove PACKAGE_* definitions from installed config.h (#192676) + sed -i -e "s:^[ \t]*#define[ \t]\+PACKAGE_.*$:/\* & \*/:g" "${D}/usr/include/ace/config.h" || die + + # Install some docs + dodoc README NEWS ChangeLog AUTHORS VERSION + + prune_libtool_files +} + +src_test() { + emake -C build ACE_ROOT="${S}" check +} + +pkg_postinst() { + + local CC_MACHINE=$($(tc-getCC) -dumpmachine) + if [ -d "/usr/$(get_libdir)/gcc-lib/${CC_MACHINE}/$(gcc-fullversion)/include/ace" ]; then + ewarn "moving /usr/$(get_libdir)/gcc-lib/${CC_MACHINE}/$(gcc-fullversion)/include/ace to" + ewarn "ace.old" + ewarn "This is required, as anything trying to compile against ACE will" + ewarn "have problems with conflicting OS.h files if this is not done." + mv "/usr/$(get_libdir)/gcc-lib/${CC_MACHINE}/$(gcc-fullversion)/include/ace" \ + "/usr/$(get_libdir)/gcc-lib/${CC_MACHINE}/$(gcc-fullversion)/include/ace.old" + fi +} diff --git a/dev-libs/ace/metadata.xml b/dev-libs/ace/metadata.xml new file mode 100644 index 000000000000..6c94047225c3 --- /dev/null +++ b/dev-libs/ace/metadata.xml @@ -0,0 +1,14 @@ + + + + + cpp@gentoo.org + Gentoo C++ Project + + + Include Component Intergraced Ace ORB into the build of + ace + Include the ACE ORB (CORBA stuff) (called tao) into the + build of ace + + diff --git a/dev-libs/actor-framework/Manifest b/dev-libs/actor-framework/Manifest new file mode 100644 index 000000000000..8e23eb77657f --- /dev/null +++ b/dev-libs/actor-framework/Manifest @@ -0,0 +1,18 @@ +DIST CAF_0.13.2-benchmarks.tar.gz 46365 SHA256 0160a4e43c5995a37ae7337fab3707c5018d88571b38f2e7a2007cc537e4b998 SHA512 8b0bc0ad21b454c70fbeef50bce3246a87b8f5ff0bd10ccd196aa2f6c155e252863b1c22e98c589519a5efc43601172dbcf1f9f2e961d49d2babd4f548b0b672 WHIRLPOOL 129db2c2960f875023949df0f356c68f6345f0161ea0bdb84e6d26c4aa9476b76568e1cbd72acf7285ed71fbdd1b0deee09f50f3d5849d7e70b52b6d97a25dfa +DIST CAF_0.13.2-cash.tar.gz 7705 SHA256 8cbd36e8775e4ceaec4a3929b978d44a3a33c625ec7e8f8301393840a3b50f4f SHA512 a264bdc9573b71675b7a8c30fa1a985d1b7e5c39b603b01b53660f52bfcf09c4bd80fe942ef917bc0ecbe305941bf6df5f0305b43d1cfc015992fdf7520e2911 WHIRLPOOL 013c3f47f677dee6203ae8b3c3585f2ac837fc82e8d444427188a312c48b4bdcbf1d8121088406d672984f2d5f0810ae0ea11a93ab0af89c8c5b82d291d98434 +DIST CAF_0.13.2-nexus.tar.gz 2920 SHA256 43574c5955d5cd424316d0f707e75734d24ee4ec331f0f205e3e5bb1e758e1aa SHA512 4991ae663bfb5bbb71be9c17c23bef29903d2b797299d52cb68cd5f02681c826ce495ff2badc66442b7cdb0638bfe94209e5226ec5ee3031dc1a63573fe94ad6 WHIRLPOOL 0b427efbde875bbf0cd089ce6075acb28ab610f8c9ceb63f7e1669a05e16f1f5369e00665ea9a9390b116c31292a38fe59f1072e5c74c28ebc7649b836a8b30e +DIST CAF_0.13.2-opencl.tar.gz 15040 SHA256 d991f0116d99de60e526c3d0c886d8929b58398e02367925424e5266165e827f SHA512 bc18469d2e63f504981cc803e9b08698c4eab100fbbe412caea674a619eece9c30f1ad9537eac833bd55b08ceb92cfd6a1f539ae8d908b46a682712b91d23eaf WHIRLPOOL 5498d7660b44c509014a58d2f06839832f6810eed2c51da5b684272c1348d88d8f596fc4bfe164700381a4d31c1cca9d36420bee5f38b5bb48e5f9a69b3f526b +DIST CAF_0.13.2-riac.tar.gz 6481 SHA256 30bb84e526e60710612762fc493676b902457f8fac17e62ca3c9f73a1000403a SHA512 ceba0926fa8f28b3af74f6af1d464934674a67daf74abd8c23547b464a64247fbcd5a7cc58d1852c616c477d50ad7b3f9c827b16cd32d81dbd3b0fd4b4f3b2e4 WHIRLPOOL da223f6bd4c26619a0f4c0dbaf0a2b591ad9bafd93659542147d6e9a45cca87c508a92eef5659063d937fc98b1ff0d8948c51ecc67a24845c49c32a0a6cc3691 +DIST CAF_0.13.2-sash_cash.tar.gz 36108 SHA256 580f83cb5797e5307d003fce3491d7b2de9450bc16d22f986f462cb1e25de3a7 SHA512 e78d694268ddb0979781a0fc1ac9e7d70d4bfa73579afa0008e0b58bc0d7f9d853aec25a4badf90d6d398f9538b46ecdc25a66dfed6d24b9813e3100eec07aff WHIRLPOOL 8173689930be4890ddf4952477460b6141224c3d0f2ac4ad74b7133e60b7fcc631fed0ae3fa2ac938697ad37ec977c372d1ac1fb9fd0534e744514f757d88edb +DIST CAF_0.14.5-benchmarks.tar.gz 46245 SHA256 39182070495ad3cf0c528e8e03492a295a1a7611550cf2ef19ceef8038599217 SHA512 11edb5337be18b106c852fe95a7a0d50c9eaf2c21d9e64cee84a60d2e8443083447440a463a24d6cf376bcae421a0d5942b1b3fa6debb7f7102dc8648d1bb15f WHIRLPOOL 975d1836d37d6d646ef0cd9b9ac7332e495c3e75bebcc0413f288d58c2a931197bb1ba4e33dc6272c4fed46163a88e2ca85737b904241df8027043167856bf0e +DIST CAF_0.14.5-cash.tar.gz 8182 SHA256 c5452c5ca1bf47f4c7c8b401af29a4d2b9bad805a76f3ebee75e59dba3339c33 SHA512 0e4fe9dd433a6dc353404eb1a10b898c8589db455f550bafefcea3b0f04659cab3e2b63e353b5dab709080aaa1319942fd56d9eaf3c2d0e244f6eed202f81deb WHIRLPOOL 5d00775b3f6b834197eeb6668025e14e3408675557161df3fa42140049b18d45e1572ce6cb2cf5d74f309545f32287f9bc2788c2f9e04259abbb3ee463e191e0 +DIST CAF_0.14.5-nexus.tar.gz 1510 SHA256 14355a6c2b606adcaa5580e369be7353d67bac8677746c5a1744fee9d5218ed3 SHA512 e71cfd629adf83a3fe5a0a33656d9cb499bb4de10cd73fdccf81c9235cc69b277de63dde035f9cd28c8dbc9a6311ce45af13e3d40d14b6c07c5ad9b714dccec1 WHIRLPOOL 7f452dc8c0dd98c3a3d9fbc5ad33a4e47d8322867db6be27e01deea306517d5c5d517de5b270ddfeb31ab1138a7fa88a996320ff1b1a814903fdb71965a42082 +DIST CAF_0.14.5-opencl.tar.gz 22047 SHA256 db66a22265b84ef36c411ebaadd95c8d5c5651fb7a156b26e0c06d24aebf2c5c SHA512 fb8ea40b16be7646ede25f054688945b21b90719526bdefc786f80581b3f1472945c643f4cc1641f1688252e73e0a0d388e4477c8055b685318d6bf1639cda00 WHIRLPOOL d7f8e8b6f5ddaa524d5e0487956dff4ace787bb0d236f3b4c79cfd524f7bf2cebcb19a2273d4622c59a348295e2ffb5dd56ade0efe3298fe9526c8b637d61de4 +DIST CAF_0.14.5-riac.tar.gz 8452 SHA256 ce7e186667bc5db57d9c0fb6e48f835175f66217b3b99d08d7f9a02da810b1e5 SHA512 b4a70548dd2a839dafadd091334a367d1ba7c8632c47f8df8f6c3ee730b4b4b75c8e00d7c335d719dd9f044e0d40436ea265b7717940ac81531b266b8cbcb5cf WHIRLPOOL 494578e6019350ce3d08d40668858c836033ffaad4da6c9b32afe215edeb5d1de6e98ec2f8f8cea0d85a4c686e4418fa98ef9885b377a27ad03306a68931efbf +DIST CAF_0.14.5-sash_cash.tar.gz 36600 SHA256 ffbbdcf0f128a682ae3775f916358466ea94dea0b3a2153571c915767d6bae35 SHA512 dc90af883553ac67ff8e7bfcc2213200892137a5f9bcbaab95561898bacddaa5687a39a23eef7fd08b9be54fed2816d4c7d6bb31848cfbbc337ac81312f68542 WHIRLPOOL 79bf1841764af3ab9b0e0adffcfa3e678da54d7351c1d400269bd4906e548ed298998ef9787b0ac9d9b6838edc04920a973931b4798f80665c6869145dda65f4 +DIST actor-framework-0.13.2.tar.gz 570416 SHA256 3ccf7e469740e750eef31f14b965b00f7b6e3a89b05086a088ca905b3b1a04e6 SHA512 fce8eaec477a1d1f141e631b3160eb4f39d6334023b325545035ab20546e4920cd9418378bf5bd6fadae995d793dfc618309556b541cdf125b377ba413658e6e WHIRLPOOL 250cfcf4064ecbb87eab80671c537f935a0f4a96bfc907eb6ad74e2db57489037a2194a4c6f2daa920b1e01f6a40920b1b4ab56e7241b80256ec5ce4d8db2986 +DIST actor-framework-0.14.5.tar.gz 1239461 SHA256 afc4bc928ecd7d017768e5c85b7300196aa5b70ef11d97e11b21a1ae28ce9d3f SHA512 6bf9cd9868b633cdd249f4e5d503bb9d489a68f5a86e9ba505b3b65984ecf5d931878620ace504a8baed34da7a396a68a7c425ba8c8afef15e0557ed9aa19be9 WHIRLPOOL 53e804c64716c7b0f4d1455ab1cfcf9ea05594f6f16e804b97109baddf77dcfb55564a3d4243bfafd3c965c39f3f8711d3c02f93a92bc272378db40774d1a550 +EBUILD actor-framework-0.13.2.ebuild 3618 SHA256 d67586bce4ce6b3898de03bd1421db29246ce881c6b271d6ace089db4bb2ef62 SHA512 b8ceacecf1139ba562ffd804319a4e7252e9978b1ae412321175f2f4fb5c173213a085c954c1d7ff6385175a1d6e84fcc2f9ff9c0b76bc35b0a4b3117b34aba6 WHIRLPOOL ed7fadb3511bf569b5565b13a125986f29cff8476dbe96c5b8b5a0b9727f992a31607980b3963c8466a9ee425514fa5a9e19f3d68d740f1b17487bc607e8397e +EBUILD actor-framework-0.14.5.ebuild 3605 SHA256 53c8167da5861de2c9ba6b54c22a18faef859c1a7edabd5173b15d12becadb09 SHA512 3b4978bf1ab416e79ded80ccc679e988fbe54d40ad5b3f977de27e4c2d442077bcd0536f79982d20cdbc338cb79d5527a107aa6ed8fe976e94e75dc6f82e7e46 WHIRLPOOL da42df0fe03b8b1a8d29eb4054953fd71ac7d8b54d6b3507d0dcb3e5d1178c28aa1f0b57089f12b61c123faeeba645838cccd6280541b2233663c5eb82c98232 +MISC ChangeLog 657 SHA256 03cb8fff50db48ee21091382977ce59a32c0e016718067837e0732fddb3cd888 SHA512 d70d29265a4481eb3e40f9c781d86c72b6209b286c3d4d9efe62dacc5d4e5d1605770431e3b27ff56ab3ea6bc7320a33b32f75fa5331f0a40e000c105c54e9dc WHIRLPOOL 3385529de7dc77dd1c721c122ca91cda60a0030c218bf2e7b79d960127cdac211b0f81381823ffe4dc872b1b93d1cfa3feaa032ac9c59db76fc2e9ee586f9efe +MISC metadata.xml 1718 SHA256 c18330f4c5bbc8c95c832d7c824594fe64dc8cc7270077f153ee719e0b152108 SHA512 47d345c52b16db7fd2877a8ef51f4cdd2222109b3aca7ba88630cea5ae9055516a99d04041280663c8e2accf0bfb8869ad76623ad063da6d6d20227988558062 WHIRLPOOL 265cc177ddf2a8a5e94e889a4bfd4e97cbff8d7e82be719a65964b61ed53eec225e93b8b46a35255d458f1caace03085c689bc29acaceb78db44817604f0a56a diff --git a/dev-libs/actor-framework/actor-framework-0.13.2.ebuild b/dev-libs/actor-framework/actor-framework-0.13.2.ebuild new file mode 100644 index 000000000000..49242e511bc0 --- /dev/null +++ b/dev-libs/actor-framework/actor-framework-0.13.2.ebuild @@ -0,0 +1,113 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit flag-o-matic cmake-multilib + +bench_ref="78c746269bb53ff0b2026e7b1a8fe11fabc69e64" +cash_ref="847edfb18afa6b755a91a203872bcd66bbeb5868" +sash_ref="9da5a40793d77e7f6d3afb504cf02c0acb59d35c" +opencl_ref="91ebbda2986f3f32a873d02ca5eb550f26c6b70d" +riac_ref="855e725739b7688290f66f592f858149c92375c5" +nexus_ref="90d42335ff3a2fe67ac4ae41a844f0b245bb123c" + +DESCRIPTION="The C++ Actor Framework (CAF)" +HOMEPAGE="https://actor-framework.org/" +SRC_URI="https://github.com/actor-framework/actor-framework/archive/${PV}.tar.gz -> ${P}.tar.gz + benchmarks? ( https://github.com/actor-framework/benchmarks/archive/${bench_ref}.tar.gz -> CAF_${PV}-benchmarks.tar.gz ) + cash? ( https://github.com/actor-framework/cash/archive/${cash_ref}.tar.gz -> CAF_${PV}-cash.tar.gz + https://github.com/Neverlord/sash/archive/${sash_ref}.tar.gz -> CAF_${PV}-sash_cash.tar.gz ) + nexus? ( https://github.com/actor-framework/nexus/archive/${nexus_ref}.tar.gz -> CAF_${PV}-nexus.tar.gz ) + opencl? ( https://github.com/actor-framework/opencl/archive/${opencl_ref}.tar.gz -> CAF_${PV}-opencl.tar.gz ) + riac? ( https://github.com/actor-framework/riac/archive/${riac_ref}.tar.gz -> CAF_${PV}-riac.tar.gz )" +LICENSE="|| ( Boost-1.0 BSD )" +SLOT="0/13.2" +KEYWORDS="~amd64 ~x86" +IUSE="boost benchmarks cash debug doc examples +mem_management nexus opencl riac static test" + +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen + dev-texlive/texlive-latex + dev-tex/hevea + )" +RDEPEND="boost? ( dev-libs/boost[${MULTILIB_USEDEP}] ) + net-misc/curl[${MULTILIB_USEDEP}] + opencl? ( virtual/opencl[${MULTILIB_USEDEP}] )" +REQUIRED_USE="cash? ( riac )" + +src_unpack() { + unpack ${A} + for i in cash nexus; do + if use ${i}; then + mv "${i}"*/* "${S}/${i}/" || die "died copying sources for ${i}" + fi + done + for i in opencl riac; do + if use ${i}; then + mv "${i}"*/* "${S}/libcaf_${i}/" || die "died copying sources for ${i}" + fi + done + if use cash; then + mv sash*/* "${S}/cash/sash/" || die "died copying sources for sash" + fi + if use benchmarks; then + mv "${WORKDIR}/benchmarks-"* "${WORKDIR}/benchmarks" || die "died moving benchmarks" + fi +} + +src_prepare() { + find "${S}" -name CMakeLists.txt \ + -exec sed -i 's#\(install(.* DESTINATION \)lib#\1${LIBRARY_OUTPUT_PATH}#g' \{\} + \ + || die + rm examples/CMakeLists.txt || die + append-cxxflags "-std=c++11 -pthread -Wextra -Wall -pedantic" + append-cflags "-std=c11 -pthread -Wextra -Wall -pedantic" + + cmake-utils_src_prepare +} + +multilib_src_configure() { + local mycmakeargs=( + -DCAF_NO_EXAMPLES=ON + -DCAF_NO_BENCHMARKS=ON + -DCAF_USE_ASIO=$(usex boost) + -DCAF_NO_CASH=$(usex cash OFF ON) + -DCAF_LOG_LEVEL=$(usex debug 3 0) + -DCAF_ENABLE_RUNTIME_CHECKS=$(usex debug) + -DCAF_ENABLE_ADDRESS_SANITIZER=$(usex debug) + -DCAF_NO_MEM_MANAGEMENT=$(usex mem_management OFF ON) + -DCAF_NO_NEXUS=$(usex nexus OFF ON) + -DCAF_NO_OPENCL=$(usex opencl OFF ON) + -DCAF_NO_RIAC=$(usex riac OFF ON) + -DCAF_BUILD_STATIC=$(usex static) + -DCAF_NO_UNIT_TESTS=$(usex test OFF ON ) + -DLIBRARY_OUTPUT_PATH="$(get_libdir)" + ) + + cmake-utils_src_configure +} + +multilib_src_compile() { + cmake-utils_src_compile + + if use doc; then + emake doc + emake -C "${S}/manual/build-pdf" + emake -C "${S}/manual/build-html" + fi +} + +multilib_src_install() { + DOCS=( README.md ) + use examples && DOCS+=( "${S}/examples" ) + use benchmarks && DOCS+=( "${WORKDIR}/benchmarks/" ) + if use doc; then + HTML_DOCS=( "${S}/html/"* ) + for i in pdf html; do + DOCS+=( "${S}"/manual/build-${i}/manual.${i} ) + done + fi + + cmake-utils_src_install +} diff --git a/dev-libs/actor-framework/actor-framework-0.14.5.ebuild b/dev-libs/actor-framework/actor-framework-0.14.5.ebuild new file mode 100644 index 000000000000..09e25ff578c9 --- /dev/null +++ b/dev-libs/actor-framework/actor-framework-0.14.5.ebuild @@ -0,0 +1,113 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-multilib + +bench_ref="2c45d8c1c2b934e062baf378809201ac66d169a7" +cash_ref="38bcdedf7df5536899dd4373969e6653380d2a86" +sash_ref="75e68c37ccafbcb7b7da8c0afe564d59bcf10594" +opencl_ref="200eb3f43fb243515d0652324e6d606dede3f676" +riac_ref="83de14803c841a7113c4b13c94624a55f3eec984" +nexus_ref="254fbf76f83bb06e6001943b78838644345211a4" + +DESCRIPTION="The C++ Actor Framework (CAF)" +HOMEPAGE="https://actor-framework.org/" +SRC_URI="https://github.com/actor-framework/actor-framework/archive/${PV}.tar.gz -> ${P}.tar.gz + benchmarks? ( https://github.com/actor-framework/benchmarks/archive/${bench_ref}.tar.gz -> CAF_${PV}-benchmarks.tar.gz ) + cash? ( https://github.com/actor-framework/cash/archive/${cash_ref}.tar.gz -> CAF_${PV}-cash.tar.gz + https://github.com/Neverlord/sash/archive/${sash_ref}.tar.gz -> CAF_${PV}-sash_cash.tar.gz ) + nexus? ( https://github.com/actor-framework/nexus/archive/${nexus_ref}.tar.gz -> CAF_${PV}-nexus.tar.gz ) + opencl? ( https://github.com/actor-framework/opencl/archive/${opencl_ref}.tar.gz -> CAF_${PV}-opencl.tar.gz ) + riac? ( https://github.com/actor-framework/riac/archive/${riac_ref}.tar.gz -> CAF_${PV}-riac.tar.gz )" +LICENSE="|| ( Boost-1.0 BSD )" +SLOT="0/14.5" +KEYWORDS="~amd64 ~x86" +IUSE="boost benchmarks cash debug doc examples +mem_management nexus opencl riac static test" + +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen + dev-texlive/texlive-latex + dev-tex/hevea + )" +RDEPEND="boost? ( dev-libs/boost[${MULTILIB_USEDEP}] ) + net-misc/curl[${MULTILIB_USEDEP}] + opencl? ( virtual/opencl[${MULTILIB_USEDEP}] )" +REQUIRED_USE="cash? ( riac )" + +src_unpack() { + unpack ${A} + for i in cash nexus; do + if use ${i}; then + mv "${i}"*/* "${S}/${i}/" || die "died copying sources for ${i}" + fi + done + for i in opencl riac; do + if use ${i}; then + mv "${i}"*/* "${S}/libcaf_${i}/" || die "died copying sources for ${i}" + fi + done + if use cash; then + mv sash*/* "${S}/cash/sash/" || die "died copying sources for sash" + fi + if use benchmarks; then + mv "${WORKDIR}/benchmarks-"* "${WORKDIR}/benchmarks" || die "died moving benchmarks" + fi +} + +src_prepare() { + find "${S}" -name CMakeLists.txt \ + -exec sed -i 's#\(install(.* DESTINATION \)lib#\1${LIBRARY_OUTPUT_PATH}#g' \{\} + \ + || die + rm examples/CMakeLists.txt || die + append-cxxflags "-std=c++11 -pthread -Wextra -Wall -pedantic" + append-cflags "-std=c11 -pthread -Wextra -Wall -pedantic" + + cmake-utils_src_prepare +} + +multilib_src_configure() { + local mycmakeargs=( + -DCAF_NO_EXAMPLES=ON + -DCAF_NO_BENCHMARKS=ON + -DCAF_USE_ASIO=$(usex boost) + -DCAF_NO_CASH=$(usex cash OFF ON) + -DCAF_LOG_LEVEL=$(usex debug 3 0) + -DCAF_ENABLE_RUNTIME_CHECKS=$(usex debug) + -DCAF_ENABLE_ADDRESS_SANITIZER=$(usex debug) + -DCAF_NO_MEM_MANAGEMENT=$(usex mem_management OFF ON) + -DCAF_NO_NEXUS=$(usex nexus OFF ON) + -DCAF_NO_OPENCL=$(usex opencl OFF ON) + -DCAF_NO_RIAC=$(usex riac OFF ON) + -DCAF_BUILD_STATIC=$(usex static) + -DCAF_NO_UNIT_TESTS=$(usex test OFF ON ) + -DLIBRARY_OUTPUT_PATH="$(get_libdir)" + ) + + cmake-utils_src_configure +} + +multilib_src_compile() { + cmake-utils_src_compile + + if use doc; then + emake doc + emake -C "${S}/manual/build-pdf" + emake -C "${S}/manual/build-html" + fi +} + +multilib_src_install() { + DOCS=( README.md ) + use examples && DOCS+=( "${S}/examples" ) + use benchmarks && DOCS+=( "${WORKDIR}/benchmarks/" ) + if use doc; then + HTML_DOCS=( "${S}/html/"* ) + for i in pdf html; do + DOCS+=( "${S}"/manual/build-${i}/manual.${i} ) + done + fi + + cmake-utils_src_install +} diff --git a/dev-libs/actor-framework/metadata.xml b/dev-libs/actor-framework/metadata.xml new file mode 100644 index 000000000000..2501b209ca1c --- /dev/null +++ b/dev-libs/actor-framework/metadata.xml @@ -0,0 +1,33 @@ + + + + + tomboy64@sina.cn + M.B. + Maintainer, assign bugs to him + + + proxy-maint@gentoo.org + Proxy Maintainers + + + Due to the number of out-of-tree deps, these only get installed as docs + Make use of Boost's ASIO functionality + Build the C Actor Shell for introspection and debugging + Raises log-level to DEBUG, enables runtime checks and address sanitizer + Compiles and installs the documentation as PDF and HTML + Installs the provided example source files + Enables built-in memory management + Nexus is the central component for CAF's runtime inspection + Compiles against the provided opencl implementation + Runtime inspection and configuration + Provides a static build + Builds the provided unit tests + + + actor-framework/actor-framework + + + An implementation of the Actor Model of distributed computation in C++. + + diff --git a/dev-libs/amdgpu-pro-opencl/Manifest b/dev-libs/amdgpu-pro-opencl/Manifest new file mode 100644 index 000000000000..9f76ef2e2f07 --- /dev/null +++ b/dev-libs/amdgpu-pro-opencl/Manifest @@ -0,0 +1,5 @@ +DIST amdgpu-pro-17.10-429170.tar.xz 121382128 SHA256 cb1ea7f9756f197a976138d2c00f239ae4ee43b839fbb1ea57f8770957d4afd6 SHA512 2d9d0a97478564e259dc8494083df8dc13e3bc664384978aff369070b1105703653d8dc4dca38e94dc8bdf3ddfb5c6f4de39cec5a9b263423de8fb91fd0117c6 WHIRLPOOL 1e07579d2c9d5d8a796973658cbb6627418b133a630ca5e977f93da0d27b900da2078d2ea8b35a13071b0b05e3d5e7f47e17d61042dcca60709f6599c18380a2 +DIST amdgpu-pro-17.30-458935.tar.xz 393634984 SHA256 3652a5c9476a650a3e3cd89bcd7ac119ed7d16a570501eeeea6a902cbc6f9488 SHA512 3f517ce13e102edb820f8f9538e0894c794d767816f99774fbfec342adb6912712664f069db2542412baabb24ee198204f38757407c29aff238ed1772dc3caab WHIRLPOOL 29a5b06657767255ace0529467ca56a904a021254f7dab854b1fd3ac843108ac346d3c4e97e10ef53844152de116581bff7c3aa8f4f066a08becb88e59918da3 +EBUILD amdgpu-pro-opencl-17.10.429170.ebuild 2212 SHA256 dd252f3ec7c46d309d5f649b657a20b31f1f50074bf32d6a643aa050a5fefdb1 SHA512 a8b6ed2b70ec0ed77fb65e23797a31303402f7072c22cd1ea6b63a76318e325e61875da76998d2fde7fd72494d9fcac48b4472610b8408e7584b301b97637a8b WHIRLPOOL 8a2c875ece21945796598f37b4656fe7738b8a2213467cb741e003bff837fb1b67d4e6a76675328d67b10fc15f45436988c8595867d68f39d779455d38584e4e +EBUILD amdgpu-pro-opencl-17.30.458935-r1.ebuild 2356 SHA256 fad3c146dd00814913132a9ea6cc9e696faa8a0628c8a1ed2526302c5dd3115f SHA512 0c834c94be9975bf7c727243912bcc4bce46af8d734d4a8b65bdf769643769549883193e029bc7aec7d423588030423a3116c08a016352e10b203e39c550b13a WHIRLPOOL 715c5c6c7ec72e59ffec3ac8599705cd15576b3460d1a4f14197cb342105e5d35b95a62880d223cce431c569411215282c29f415056113488ccaf082aa876a08 +MISC metadata.xml 536 SHA256 470656217ffaa8fb735bea6b795f5206a727d783ec8ae671dc518af9b7e6c40c SHA512 912ff2f26e27d5c20219a26505f3a4545409773f1f761de4591cbd7086cd1ff241fca18d7ae5081ed12e04c1b5dc46deeb02b4a68e2a3787d1d20739a818325d WHIRLPOOL eab775a0a603cc6562a02a7cb79585d1dddfb837e67cecf82a6c325148b53cca7e4079e79f6d9a6e09486fb31a2f5a1fadbc92ee30a5b09313c5aa0871b1837a diff --git a/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.10.429170.ebuild b/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.10.429170.ebuild new file mode 100644 index 000000000000..6d8da00df440 --- /dev/null +++ b/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.10.429170.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit unpacker versionator + +SUPER_PN='amdgpu-pro' +MY_PV=$(replace_version_separator 2 '-') + +DESCRIPTION="Proprietary OpenCL implementation for AMD GPUs" +HOMEPAGE="https://support.amd.com/en-us/kb-articles/Pages/AMDGPU-PRO-Driver-for-Linux-Release-Notes.aspx" +SRC_URI="${SUPER_PN}-${MY_PV}.tar.xz" + +LICENSE="AMD-GPU-PRO-EULA" +SLOT="0" +KEYWORDS="~amd64" + +RESTRICT="mirror fetch strip" + +DEPEND="dev-util/patchelf" +RDEPEND="dev-libs/ocl-icd" + +QA_PREBUILT="/opt/${SUPER_PN}/lib*/*" + +S="${WORKDIR}/${SUPER_PN}-${MY_PV}" + +pkg_nofetch() { + local pkgver=$(get_version_component_range 1-2) + einfo "Please download the AMDGPU-Pro Driver ${pkgver} for Ubuntu from" + einfo " ${HOMEPAGE}" + einfo "The archive should then be placed into ${DISTDIR}." +} + +src_unpack() { + default + + local libdrm_ver="2.4.70" + local patchlevel=$(get_version_component_range 3) + cd "${S}" || die + unpack_deb opencl-${SUPER_PN}-icd_${MY_PV}_amd64.deb + unpack_deb libdrm-${SUPER_PN}-amdgpu1_${libdrm_ver}-${patchlevel}_amd64.deb +} + +src_prepare() { + default + + cd "${S}/opt/${SUPER_PN}/lib/x86_64-linux-gnu" || die + patchelf --set-rpath '$ORIGIN' libamdocl64.so || die "Failed to fix library rpath" +} + +src_install() { + + into "/opt/${SUPER_PN}" + dolib opt/${SUPER_PN}/lib/x86_64-linux-gnu/* + + insinto /etc/OpenCL/vendors/ + echo "/opt/${SUPER_PN}/$(get_libdir)/libamdocl64.so" > "${SUPER_PN}.icd" || die "Failed to generate ICD file" + doins "${SUPER_PN}.icd" +} + +pkg_postinst() { + if [[ -z "${REPLACING_VERSIONS}" ]]; then + ewarn "Please note that using proprietary OpenCL libraries together with the" + ewarn "Open Source amdgpu stack is not officially supported by AMD. Do not ask them" + ewarn "for support in case of problems with this package." + ewarn "" + ewarn "Furthermore, if you have the whole AMDGPU-Pro stack installed this package" + ewarn "will almost certainly conflict with it. This might change once AMDGPU-Pro" + ewarn "has become officially supported by Gentoo." + fi + + elog "AMD OpenCL driver relies on dev-libs/ocl-icd to work. To enable it, please run" + elog "" + elog " eselect opencl set ocl-icd" + elog "" +} diff --git a/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.30.458935-r1.ebuild b/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.30.458935-r1.ebuild new file mode 100644 index 000000000000..971d4999df46 --- /dev/null +++ b/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.30.458935-r1.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit unpacker versionator + +SUPER_PN='amdgpu-pro' +MY_PV=$(replace_version_separator 2 '-') + +DESCRIPTION="Proprietary OpenCL implementation for AMD GPUs" +HOMEPAGE="https://support.amd.com/en-us/kb-articles/Pages/AMDGPU-PRO-Driver-for-Linux-Release-Notes.aspx" +SRC_URI="${SUPER_PN}-${MY_PV}.tar.xz" + +LICENSE="AMD-GPU-PRO-EULA" +SLOT="0" +KEYWORDS="~amd64" + +RESTRICT="mirror fetch strip" + +DEPEND="dev-util/patchelf" +RDEPEND="dev-libs/ocl-icd" + +QA_PREBUILT="/opt/${SUPER_PN}/lib*/*" + +S="${WORKDIR}/${SUPER_PN}-${MY_PV}" + +pkg_nofetch() { + local pkgver=$(get_version_component_range 1-2) + einfo "Please download the AMDGPU-Pro Driver ${pkgver} for Ubuntu from" + einfo " ${HOMEPAGE}" + einfo "The archive should then be placed into ${DISTDIR}." +} + +src_unpack() { + default + + local ids_ver="1.0.0" + local libdrm_ver="2.4.70" + local patchlevel=$(get_version_component_range 3) + cd "${S}" || die + unpack_deb opencl-${SUPER_PN}-icd_${MY_PV}_amd64.deb + unpack_deb libdrm-${SUPER_PN}-amdgpu1_${libdrm_ver}-${patchlevel}_amd64.deb + unpack_deb ids-${SUPER_PN}_${ids_ver}-${patchlevel}_all.deb +} + +src_prepare() { + default + + cd "${S}/opt/${SUPER_PN}/lib/x86_64-linux-gnu" || die + patchelf --set-rpath '$ORIGIN' libamdocl64.so || die "Failed to fix library rpath" +} + +src_install() { + + into "/opt/${SUPER_PN}" + dolib opt/${SUPER_PN}/lib/x86_64-linux-gnu/* + insinto "/opt/${SUPER_PN}" + doins -r opt/${SUPER_PN}/share + + insinto /etc/OpenCL/vendors/ + echo "/opt/${SUPER_PN}/$(get_libdir)/libamdocl64.so" > "${SUPER_PN}.icd" || die "Failed to generate ICD file" + doins "${SUPER_PN}.icd" +} + +pkg_postinst() { + if [[ -z "${REPLACING_VERSIONS}" ]]; then + ewarn "Please note that using proprietary OpenCL libraries together with the" + ewarn "Open Source amdgpu stack is not officially supported by AMD. Do not ask them" + ewarn "for support in case of problems with this package." + ewarn "" + ewarn "Furthermore, if you have the whole AMDGPU-Pro stack installed this package" + ewarn "will almost certainly conflict with it. This might change once AMDGPU-Pro" + ewarn "has become officially supported by Gentoo." + fi + + elog "AMD OpenCL driver relies on dev-libs/ocl-icd to work. To enable it, please run" + elog "" + elog " eselect opencl set ocl-icd" + elog "" +} diff --git a/dev-libs/amdgpu-pro-opencl/metadata.xml b/dev-libs/amdgpu-pro-opencl/metadata.xml new file mode 100644 index 000000000000..8c9e58cc4d24 --- /dev/null +++ b/dev-libs/amdgpu-pro-opencl/metadata.xml @@ -0,0 +1,14 @@ + + + + + marecki@gentoo.org + Marek Szuba + + + This package contains the libraries necessary to enable OpenCL support + on AMD GPUs supported by the amdgpu driver. The libraries themselves + are part of the proprietary AMDGPU-Pro suite but work fine with the + free amdgpu driver stack. + + diff --git a/dev-libs/angelscript/Manifest b/dev-libs/angelscript/Manifest new file mode 100644 index 000000000000..bb81dadb98f1 --- /dev/null +++ b/dev-libs/angelscript/Manifest @@ -0,0 +1,5 @@ +DIST angelscript_2.31.2.zip 1969871 SHA256 0c0b8097c7c8355c9e95c193a6bf3778fb783604af133d37c09c3465c6f381b2 SHA512 4dd4c64caf4fc66a9fbda55d0fb81b91a6af5f5d4f28728343ff06455418ebaf5a36895e04e0bc2aebd76b510e81357f7e0ffd7e575b49bbc9573c106f24b265 WHIRLPOOL 36c042aa09431e1cb8c542c013eed45e06ff32350c5639beb401a686a20c3b2438f9e8998c4244aaf20c58440deb05fc625a2832602e230d8afaf1ff35b98d2d +EBUILD angelscript-2.31.2.ebuild 990 SHA256 4f9745a40f612b2c80deb2545202a417afedf22b582af47b2e1e50ce0197e283 SHA512 c7da13e8039edd635e6dfbc89006e1efc2958b947460c06e721c267395460eb1a6b7a15371c0efef7d6f26b5b12fc5a0b95d38b80d0a9464df1c9dc19f23906c WHIRLPOOL 005bc497b3144cfc882cf88d217bc1342c79e08bf95990afdbf98000ef449f06e964bb044143dd846421d9cbcff148538de4967800bfbef9eda7a6c5296355a9 +MISC ChangeLog 4221 SHA256 20545b2a054df620c350f996ed696dc89631c62f637731bd24222e0313ad2e4b SHA512 9ebd3bfc637fec3ef9e49936c2dcafb347e702816c47cd3bcfb01a090b27440b5c5509fcfbd09e9e73622354504f87ea2960a351bf5c43beb4b28634b7b275a2 WHIRLPOOL 177f3c6e96aae08196987eea472a558536fef50771a777292a248d1d1909d9b2584499720ef9dedc5e632466b3e99a52818652c906e84f9c1bcfc33ac36634f8 +MISC ChangeLog-2015 4501 SHA256 72509b2007a73dfd6ef6f5d9f25879fb012f5f1298f7cc75f5a43ead904fc1fc SHA512 65d3f83608b7838cb734733952eaf59d114d52e33c13882ae26c9728a038e67d4cf0b6e5d9b58c4323cc1651328c7bc59aded78edc1aa44e12f8fd7fabb8a269 WHIRLPOOL 781ad9f7f05089995e7f6deb5a5eb3e2f01c268bef7a4dc87fcb123cd93d6655d972e03d91b67d1f3d878eb011445a9a5192c3c59dd0f5d4c06439adf56b8f94 +MISC metadata.xml 406 SHA256 e5f1e672953d40085089b3bf7afbece380e11281ff866919c931f714b27c282c SHA512 a9d0b8fdf4cc34c08dfc521920e54c42cd23e6ce65981a9ab895cae55be6e51bcdfce6fe5889c1daf812094cddfc44bb20c5439ba5d668b6a45d74fd9db3e891 WHIRLPOOL 9a6c85c106947d675c4921e277b4f2cf99e30aefe693f0106bfbf3f011b8457e510c751caee894e3b2be3714466c5f7848ee98b7de5faad1ebdab9d04b8d53b2 diff --git a/dev-libs/angelscript/angelscript-2.31.2.ebuild b/dev-libs/angelscript/angelscript-2.31.2.ebuild new file mode 100644 index 000000000000..0f8c3347c8f1 --- /dev/null +++ b/dev-libs/angelscript/angelscript-2.31.2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit toolchain-funcs multilib-minimal + +DESCRIPTION="A flexible, cross-platform scripting library" +HOMEPAGE="http://www.angelcode.com/angelscript/" +SRC_URI="http://www.angelcode.com/angelscript/sdk/files/angelscript_${PV}.zip" +LICENSE="ZLIB" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="doc static-libs" + +DEPEND="app-arch/unzip" + +S="${WORKDIR}/sdk" + +pkg_setup() { + tc-export CXX AR RANLIB +} + +src_prepare() { + default + multilib_copy_sources +} + +multilib_src_compile() { + emake -C ${PN}/projects/gnuc shared \ + $(use static-libs && echo static) +} + +multilib_src_install() { + emake -C ${PN}/projects/gnuc \ + DESTDIR="${D%/}" \ + PREFIX="${EPREFIX}"/usr \ + LIBDIR_DEST='$(PREFIX)'/$(get_libdir) \ + install_header install_shared \ + $(use static-libs && echo install_static) +} + +multilib_src_install_all() { + if use doc; then + docinto html + dodoc -r docs/* + fi +} diff --git a/dev-libs/angelscript/metadata.xml b/dev-libs/angelscript/metadata.xml new file mode 100644 index 000000000000..3fbed7094e15 --- /dev/null +++ b/dev-libs/angelscript/metadata.xml @@ -0,0 +1,14 @@ + + + + + chewi@gentoo.org + James Le Cuirot + + + + Reflects ABI compatibility of libangelscript.so. + Since there is practically no compatibility, this is $PV. + + + diff --git a/dev-libs/antlr-c/Manifest b/dev-libs/antlr-c/Manifest new file mode 100644 index 000000000000..2393f85565f2 --- /dev/null +++ b/dev-libs/antlr-c/Manifest @@ -0,0 +1,6 @@ +AUX 3.5-cflags.patch 632 SHA256 a40e2e78d60764dcc56478e773152273daf78bd44d428409f7ed9290d6ba4702 SHA512 8f68bc1d56de08d144ca6dc29c530a6d89347aed58d497a7f5525d5375086cbce1c4365e4ac917ef92eaae9471c6031d38df98244dbb426620073f697c8fbf68 WHIRLPOOL 453236ca97782968e5a51f4e7b23b265182ee68c8e934100d828b54ee9bcc67a1359883bee9df44d22e1010d2cbdcf2c84ab8f7702197f96b416a781e5d7cc1e +DIST antlr-3.5.2.tar.gz 6927126 SHA256 529baf7d11f06b773543e25271c1a6e1735d2f8061f4866d1ea5c99a5d71ee1f SHA512 e2a0520093fb2a77dcd9d44f26a9fdd612dceaffb398c53b2b8cd29f4630830647ede29e8dd55b434cb2c165b0fd1d77968ec6e6de0798f14d9cdfd9e6fccd99 WHIRLPOOL a3a2bf81cc91a332725a4ce15dcccf10df5395b27a521656b1f3e80fed10197edc132fa2a8b9a259b2ee603320492b4b1f664692a967fdfdbb574d919b9aa20e +EBUILD antlr-c-3.5.2.ebuild 1367 SHA256 a144e3f597f334e61388ba4841672c0b816a7cb976c419405738c2a93501ef21 SHA512 39c49f79ea909c9bf107bece3b969d19ed987ad89af7bb5700f28ffc0e41a2336d2191d47fe212a742372273978def36a6009f35ff7e484cc876a0526f680006 WHIRLPOOL 0a9fdbf41e22b1341c598d07215521810c4184fd0f1c825a87655a13f8aa67f72b500f1e370d9ef9d03e27483665cf9db76871299a477a6aaf2ba3ad34644ebe +MISC ChangeLog 2906 SHA256 f286687f63e8f5ca184f66e8525b13fde17302142fcf7756df41f2233a66b4f4 SHA512 07ae6dcf899520d08012be6b38aba122e1cf991dcbe38513f89c2ae51cd2923baf25fc7a039f0c844f6790dda3efbd5ccd998a9b97377d6cbcdb1e5ac402da45 WHIRLPOOL 88565da0b8c40588f7cc53643bc6071b9318ba5493740e3d6cfc4d487b4585a27c67eb2d96d68ea55b73c1fe3f9c2c1035b6163d3f842ec87d8f95d02d291b92 +MISC ChangeLog-2015 1334 SHA256 4315978e294dbf9f73b34c9064ce1d357a4195b2ad3cc78f06f73f8bef5dfa26 SHA512 108b56001be1a72684bf3fd58ea7ac6a084fd60c14ced4264d957c745af7acb0dff057708dbd692650125f8d825f64cb102a8b790603204fb319dab3d5039fa7 WHIRLPOOL 266863888b759a3a1b428946593acbeebae3a900a2a82289f3291fda8db4d31737fed4feafcd2602521c85433bb5c71b38e6d14a61dc9a8eb2de082dc8fea69a +MISC metadata.xml 336 SHA256 7ebf13fef6bd1f94af7ba25a4aba55e092fb84d0586aea4be4bb5a3b99c0268a SHA512 4d1c32d4948359f596c0b006237cf7ee33d662c1730c4c68b9b4786fb46d762e3e4b1c89f9ca5ad99cc727c9be96c2a0f0ad92e5ceb990e71fcfd8b37ec257aa WHIRLPOOL 705fa9088ca0bea469d68c2d850596aa1d2f486f4b5f53971801c66e40d2a6f9d0f57584cd63f6100312f9d942f83c6ff67581e60aa018f23ff3c7c02ea635c8 diff --git a/dev-libs/antlr-c/antlr-c-3.5.2.ebuild b/dev-libs/antlr-c/antlr-c-3.5.2.ebuild new file mode 100644 index 000000000000..ccd8d1cc77df --- /dev/null +++ b/dev-libs/antlr-c/antlr-c-3.5.2.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit eutils autotools multilib-minimal + +MY_PN="${PN%-c}" +DESCRIPTION="The ANTLR3 C Runtime" +HOMEPAGE="http://www.antlr3.org/" +SRC_URI="https://github.com/${MY_PN}/${MY_PN}3/archive/${PV}.tar.gz -> ${MY_PN}-${PV}.tar.gz" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="debug debugger doc static-libs" + +DEPEND="doc? ( app-doc/doxygen[dot] )" +RDEPEND="" + +S="${WORKDIR}/${MY_PN}3-${PV}/runtime/C" +PATCHES=( "${FILESDIR}/3.5-cflags.patch" ) +MULTILIB_WRAPPED_HEADERS=( /usr/include/antlr3config.h ) +DOCS=( AUTHORS ChangeLog NEWS README ) + +src_prepare() { + default + sed -i '/^QUIET/s/NO/YES/' doxyfile || die + eautoreconf + multilib_copy_sources +} + +multilib_src_configure() { + local econfargs=( + --enable-shared + $(use_enable debug debuginfo) + $(use_enable debugger antlrdebug) + $(use_enable static-libs static) + ) + + case "${ABI}" in + *64*) econfargs+=( --enable-64bit ) ;; + *) econfargs+=( --disable-64bit ) ;; + esac + + econf "${econfargs[@]}" +} + +src_compile() { + multilib-minimal_src_compile + + if use doc; then + einfo "Generating API documentation ..." + cd "${S}" || die + doxygen -u doxyfile || die + doxygen doxyfile || die + fi +} + +src_install() { + multilib-minimal_src_install + prune_libtool_files + use doc && dohtml -r "${S}/api/" +} diff --git a/dev-libs/antlr-c/files/3.5-cflags.patch b/dev-libs/antlr-c/files/3.5-cflags.patch new file mode 100644 index 000000000000..854513311827 --- /dev/null +++ b/dev-libs/antlr-c/files/3.5-cflags.patch @@ -0,0 +1,14 @@ +diff -ur libantlr3c-3.3-SNAPSHOT.old//configure.ac libantlr3c-3.3-SNAPSHOT/configure.ac +--- libantlr3c-3.3-SNAPSHOT.old//configure.ac 2011-04-03 10:40:51.277000042 +0300 ++++ libantlr3c-3.3-SNAPSHOT/configure.ac 2011-04-03 10:41:22.092000042 +0300 +@@ -134,8 +134,8 @@ + ;; + esac + +-CFLAGS="$CCFLAGS64 $CPPCMNTFLAGS $OPTIMFLAGS $DEBUGFLAGS $WARNFLAGS" +-AC_MSG_RESULT([$CFLAGS]) ++AM_CFLAGS="$CCFLAGS64 $CPPCMNTFLAGS $OPTIMFLAGS $DEBUGFLAGS $WARNFLAGS" ++AC_MSG_RESULT([$AM_CFLAGS]) + AC_SUBST([OBJECT_MODE]) + + AS_IF([test "x$enable_antlrdebug" = xno], [AC_DEFINE([ANTLR3_NODEBUGGER], [1], [Define if ANTLR debugger not required])], []) diff --git a/dev-libs/antlr-c/metadata.xml b/dev-libs/antlr-c/metadata.xml new file mode 100644 index 000000000000..d6cf50223967 --- /dev/null +++ b/dev-libs/antlr-c/metadata.xml @@ -0,0 +1,11 @@ + + + + + + Compiles debug info into the library + + + antlr/antlr3 + + diff --git a/dev-libs/appstream-glib/Manifest b/dev-libs/appstream-glib/Manifest new file mode 100644 index 000000000000..02dbd93bb880 --- /dev/null +++ b/dev-libs/appstream-glib/Manifest @@ -0,0 +1,7 @@ +DIST appstream-glib-0.6.13.tar.xz 1974864 SHA256 1a3734b2cdaab55ad63c6e3ee31026fdceb122cecae39f9f7126a0305e8836bf SHA512 d7e95a31d3f6fba974af2fab423282c7b0291d1325a634d8040fe2c2c2fcde49981be18900415251b3d71f20bb9e945e16d7c00fa830b27deac2e5547ec4c8b0 WHIRLPOOL 91e8209ff79b564c51328d84ef34301872865ade73d2c85b71ba5dbfddffcd81ad30bce9867d44282822df566a3fa028cd291ee1a896b52612bb80d2f435251c +DIST appstream-glib-0.6.8.tar.xz 1962132 SHA256 23f009233a96d1246c4c46c9746be126ae9d422753399621445d07bff49cae41 SHA512 dac9e0cc6dd8dfb81cbcdb6796d6890b61d5ede634cbe31768d1cf5746ada3beaf8b46918bab24e72604d52cbf6c6602efa6aedbdf9379f4c10528929f926fe5 WHIRLPOOL d2f2dd1607f4cb03ab501e4e189862cbb5c58b0bc3e63af153d72c7a714e791509dc2981921b1414f11282f7681277b690cb3142ce71c2bacd2799a935bdfdc2 +EBUILD appstream-glib-0.6.13.ebuild 1609 SHA256 689ca6f3e3e40a67965b5c0ec1a44f75a7ad2d71a29bfb8de4a42f6cacc918c3 SHA512 8f3a699c917d31ea5b7a0ec5245c55423e54583a9a74c879927c891966b6f7584730177bafd4f4eae6a1b4d290b9328bdb86054e6eef529947719d57fb488a5a WHIRLPOOL 2bb0748cc20075f79c8568b6a740a2b33fb1b972595244bb686a94d974f7b0368f04aa1bccffcc9b1405d6c22cf8a9d570c576b9ab05fef9d6ec809ad16b6a59 +EBUILD appstream-glib-0.6.8.ebuild 1605 SHA256 5ac4f37114ab3e4eb4e1f1bfbf4c2e3cfc3bcd8e6e2dc602ad0c572d196f0b18 SHA512 a068a048dea1e3ee462f86b1597b2f22068f70f7e30ac1fc6cf407a2a0853b1d021c5d985fc670dbb6e3b8773d0a9be9f83d6edef888d8c151b6a49334c2a0ef WHIRLPOOL 5bc9afbda1d2176a5ce7d2d94486bcaa068c734bd1bfd60a388791afbca168d1efe1784512a0c5d52828d1c3d58ac86bbfc1255dc2d6d287570826dae701af74 +MISC ChangeLog 11400 SHA256 69f7c01c5a677fa167ba0cad02289aab64957fa50f34144f575db076656a68a2 SHA512 1aaa5ef4048d403fb842d7069a5cbe0a913c945ec79a162a31f39e4010de15df23820d83ca0eb667182fa12b4ba3c6730f8871d67eca4a56ba1e2906dbaf8408 WHIRLPOOL 8d60db7a5a67571100a206afb9bf6b1091be35e0ae90248ca3f5397056914453e7abffa6a91404943b75782f305862bf4411a5b298bc721e35adfe04efc08ebd +MISC ChangeLog-2015 3598 SHA256 4577c0ae171b2ae0c896a619c05a6d9e78c4f66d4df3c8afd1ab9d9f37910fdc SHA512 a79b0340662e00790d084e1f6e1b969046ac39297cd589fdc021546ab67835fff0343b40d2df65555c2d33ef6973000c1a7fadf1d15871f3a9d020f1e2f40de6 WHIRLPOOL 412a5af8f8784a4f569703976337824e26d19c777c9509ae31c9dd76092c227562fb5cabcc09cc0f139186dec6c09f27ad8bb289dd98bc5c14091a024ca7e373 +MISC metadata.xml 352 SHA256 910569d962fbbb9a3ad65a78cebad1e80b0defd69e04cf6365520db86ad12d5e SHA512 491790151594360b57d05b217381b3b6c6f3d3a72e8066d923230060a4b05d0e2ff1e31cdcb94eb8b1ac077a011d695f33b857bf049c04292a9e324c065895d9 WHIRLPOOL 9174d43b387b2c5023df6cfd6623898a26a4933125426e5597a69b5818c5b7e1f7add11856843f3cacb3d1699d2536b8bb6ecc380db2491930d7e86db6375ccc diff --git a/dev-libs/appstream-glib/appstream-glib-0.6.13.ebuild b/dev-libs/appstream-glib/appstream-glib-0.6.13.ebuild new file mode 100644 index 000000000000..7f35b95da11c --- /dev/null +++ b/dev-libs/appstream-glib/appstream-glib-0.6.13.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +GNOME2_LA_PUNT="yes" + +inherit bash-completion-r1 gnome2 + +DESCRIPTION="Provides GObjects and helper methods to read and write AppStream metadata" +HOMEPAGE="https://people.freedesktop.org/~hughsient/appstream-glib/" +SRC_URI="https://people.freedesktop.org/~hughsient/${PN}/releases/${P}.tar.xz" + +LICENSE="LGPL-2.1" +SLOT="0/8" # soname version +KEYWORDS="alpha amd64 arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86" +IUSE="+introspection nls stemmer" + +RDEPEND=" + app-arch/gcab + app-arch/libarchive + dev-db/sqlite:3 + >=dev-libs/glib-2.45.8:2 + >=dev-libs/json-glib-1.1.1 + dev-libs/libyaml + >=media-libs/fontconfig-2.11:1.0 + >=media-libs/freetype-2.4:2 + >=net-libs/libsoup-2.51.92:2.4 + sys-apps/util-linux + >=x11-libs/gdk-pixbuf-2.31.5:2[introspection?] + x11-libs/gtk+:3 + x11-libs/pango + introspection? ( >=dev-libs/gobject-introspection-0.9.8:= ) + stemmer? ( dev-libs/snowball-stemmer ) +" +DEPEND="${RDEPEND} + app-text/docbook-xml-dtd:4.3 + dev-libs/libxslt + >=dev-util/gtk-doc-am-1.9 + >=sys-devel/gettext-0.19.7 + dev-util/gperf +" +# ${PN} superseeds appdata-tools, require dummy package until all ebuilds +# are migrated to appstream-glib +RDEPEND="${RDEPEND} + ! + + + + gnome@gentoo.org + Gentoo GNOME Desktop + + + Add word stemming via dev-libs/snowball-stemmer. + + diff --git a/dev-libs/appstream/Manifest b/dev-libs/appstream/Manifest new file mode 100644 index 000000000000..da0b11525aa0 --- /dev/null +++ b/dev-libs/appstream/Manifest @@ -0,0 +1,5 @@ +DIST appstream-0.10.6.tar.gz 1821879 SHA256 cac8f86a375eda4df06375732af80f2bb7e8682ea0d1e72ddd9e20e9c84b9444 SHA512 9f8b4ddc39d580c62b166df0d9a2c5e4caac1b433d25a4e9118b7c73ceea5c7b1ff78f02d682a68cdfeb8da29e806a4838cfc11637fca2982f436af333605256 WHIRLPOOL d895df7b6682eb2834ee24504e5bb7924a492317800094282eb38ad17a28995d9dcbde4925522272dacf6cff738847d333eb00d1f86c8c088baf257da74c505b +DIST appstream-0.11.5.tar.gz 1856204 SHA256 5ba7e87040805c38a14201984e1ab0dc383ac537766bef0cea63e38575937872 SHA512 308f65df2d03f09a5fdfe1d5b61ed37ddfd73a6f7cd861f685463c45ba17a2a937ba34216b4d5f533cb5f9f56c65ff9b261e03d07aaab74bec3f89e5bfb57d7b WHIRLPOOL e5d825db7a112c27a9b8692c1f1dc4c94f2f00749153b43662271a67d5af297c3ddcf16b3864401cabd013f388377e6dff5cd6593a266c2db825fcf7c8b99a87 +EBUILD appstream-0.10.6-r1.ebuild 1474 SHA256 580ee4d550532201c4114bb53f05b37f005f0ee954b5d917aac99dcdfc2226b7 SHA512 53f95d11310cb6926059ece55a46240883a7e6f7dd6322b319cd8697ac306f4bd106e38aa05f04ebee33c481ea4bb82ab3d94ae664f925ee58df4fc63066e80e WHIRLPOOL d18e0a5a9e7c8cb4967339bc8c22755a5bdbf5231fa109312233745c96cbac83340c1d8e08d8a8a4959527487e595bc899f4ba05dac24c68ecca12ef7af68c56 +EBUILD appstream-0.11.5.ebuild 1348 SHA256 85a11c09c6de7a0a1292d52ac6da016a32f749fc6bcc46c8511e7fa18d7a8d8f SHA512 41bc8f2b0f8e3c838eb3da4997cef8136a99756db39474380761abd11039d4bffd5e9010d8f3ab71b0b3f80dddec29b31f1c18c02c4a7d366af7d727dc80ae54 WHIRLPOOL 9406915eae1558be9249da0bec995f5704831b6b6bf664f1f23ce9af44ba4c8d5071f017ccb65147da9deecc6de0fa1c29b37b383675b517c56f3bad0032011f +MISC metadata.xml 399 SHA256 9131d2705853aaa49211593f2a3f8ea6f3f43c0fc519740630c0e49ec840471d SHA512 1f81f3603fc34a3dbeb570fe83ed2ff97e4ea2391cda7d7ceef017624a8498052cda4a21dee1f6b8eb41407998dfcecd765bde556837d00b13caaa41989f934f WHIRLPOOL 7850351cf69a94f8f54b624de1ab94175427fbbe372b88882831b349ecefbd69d1c6afc0cda2c35edb8c86939c74a918bb907c5aafa66c3c5f1cfa6fb19fd374 diff --git a/dev-libs/appstream/appstream-0.10.6-r1.ebuild b/dev-libs/appstream/appstream-0.10.6-r1.ebuild new file mode 100644 index 000000000000..5d7a92367ffe --- /dev/null +++ b/dev-libs/appstream/appstream-0.10.6-r1.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils xdg-utils + +if [[ ${PV} = 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/ximion/${PN}" +else + inherit versionator + MY_PV="$(replace_all_version_separators '_')" + MY_P="APPSTREAM_${MY_PV}" + SRC_URI="https://github.com/ximion/${PN}/archive/${MY_P}.tar.gz -> ${P}.tar.gz" + KEYWORDS="amd64 ~arm ~arm64 x86" + S="${WORKDIR}/${PN}-${MY_P}" +fi + +DESCRIPTION="Cross-distro effort for providing metadata for software in the Linux ecosystem" +HOMEPAGE="https://www.freedesktop.org/wiki/Distributions/AppStream/" + +LICENSE="LGPL-2.1+ GPL-2+" +# check APPSTREAM_LIB_API_LEVEL +SLOT="0/4" +IUSE="apt doc qt5 test" + +RDEPEND=" + dev-libs/glib:2 + dev-libs/gobject-introspection + dev-libs/libxml2:2 + dev-libs/libyaml + dev-libs/snowball-stemmer + qt5? ( dev-qt/qtcore:5 ) +" +DEPEND="${RDEPEND} + app-text/docbook-xml-dtd:4.5 + dev-util/itstool + sys-devel/gettext + test? ( + qt5? ( dev-qt/qttest:5 ) + ) +" + +src_prepare() { + cmake-utils_src_prepare + + if ! use test; then + pushd qt > /dev/null || die + cmake_comment_add_subdirectory tests + popd > /dev/null || die + fi +} + +src_configure() { + xdg_environment_reset + + local mycmakeargs=( + -DSTEMMING=ON + -DL18N=ON + -DVAPI=OFF + -DMAINTAINER=OFF + -DSANITIZERS=OFF + -DDOCUMENTATION=OFF + -DAPT_SUPPORT=$(usex apt) + -DINSTALL_PREBUILT_DOCS=$(usex doc) + -DQT=$(usex qt5) + ) + + cmake-utils_src_configure +} diff --git a/dev-libs/appstream/appstream-0.11.5.ebuild b/dev-libs/appstream/appstream-0.11.5.ebuild new file mode 100644 index 000000000000..1a70d5615e08 --- /dev/null +++ b/dev-libs/appstream/appstream-0.11.5.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit meson xdg-utils + +if [[ ${PV} = 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/ximion/${PN}" +else + inherit versionator + MY_PV="$(replace_all_version_separators '_')" + MY_P="APPSTREAM_${MY_PV}" + SRC_URI="https://github.com/ximion/${PN}/archive/${MY_P}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~x86" + S="${WORKDIR}/${PN}-${MY_P}" +fi + +DESCRIPTION="Cross-distro effort for providing metadata for software in the Linux ecosystem" +HOMEPAGE="https://www.freedesktop.org/wiki/Distributions/AppStream/" + +LICENSE="LGPL-2.1+ GPL-2+" +# check as_api_level +SLOT="0/4" +IUSE="apt doc qt5 test" + +RDEPEND=" + dev-libs/glib:2 + dev-libs/gobject-introspection + dev-libs/libxml2:2 + dev-libs/libyaml + dev-libs/snowball-stemmer + qt5? ( dev-qt/qtcore:5 ) +" +DEPEND="${RDEPEND} + app-text/docbook-xml-dtd:4.5 + dev-util/itstool + >=dev-util/meson-0.42.0 + sys-devel/gettext + test? ( + qt5? ( dev-qt/qttest:5 ) + ) +" + +src_configure() { + xdg_environment_reset + + local emesonargs=( + -Denable-docs=false + -Denable-maintainer=false + -Denable-stemming=true + -Denable-vapi=false + -Denable-apt-support=$(usex apt true false) + -Denable-apidocs=$(usex doc true false) + -Denable-qt=$(usex qt5 true false) + ) + + meson_src_configure +} diff --git a/dev-libs/appstream/metadata.xml b/dev-libs/appstream/metadata.xml new file mode 100644 index 000000000000..f33a7f5bc7e6 --- /dev/null +++ b/dev-libs/appstream/metadata.xml @@ -0,0 +1,14 @@ + + + + + kde@gentoo.org + Gentoo KDE Project + + + Enables Debians APT support + + + ximion/appstream + + diff --git a/dev-libs/apr-util/Manifest b/dev-libs/apr-util/Manifest new file mode 100644 index 000000000000..5e6423eab95c --- /dev/null +++ b/dev-libs/apr-util/Manifest @@ -0,0 +1,10 @@ +AUX apr-util-1.5.3-sysroot.patch 1234 SHA256 752ee44d3e9e39e4cba824556f829776a46e4f5e64d4f359de781d3bfd3a414f SHA512 44ee2a9cf61587f05d43976d40023f6313b310c3eeb37299840445e3faec7f0352367875f515b21d3b1fcdc8c082d8584a21cf8187deb1f6f69187c14f84f0b7 WHIRLPOOL 2017ccccfade6e99a490781100a7ca2ee1901a93b791db78291e3d7850e9916d183084abc6f46b2a80ffb451dfb5f1e999189f9ce6f994b51146563bef52a7af +DIST apr-util-1.5.4.tar.bz2 694427 SHA256 a6cf327189ca0df2fb9d5633d7326c460fe2b61684745fd7963e79a6dd0dc82e SHA512 ca877d8e444218c4ba0f28063ee075ddcd6c0a487b692dc80ef442fe775ec4eeb337c6957853772e8082e27edcb450d7e909c2c6c3ab4a95bbf0a5ee5ea4a2d1 WHIRLPOOL bc4ce82785513f4bf2207bb26758abc79e6bfef62a57d3e2ead570abc618b321c302390b9dcd8eab1ec44a9e5d398c2cc4d35af2549636e20d7c20678725ac2e +DIST apr-util-1.6.0.tar.bz2 428750 SHA256 8474c93fa74b56ac6ca87449abe3e155723d5f534727f3f33283f6631a48ca4c SHA512 dc88c13ef6116ed1c67584436cb8ca94ef77d358cb60c7cafab953d36d00564776414faed43397755e79bcf1b14dfca81cad2e280a2dd4c31f6e4559583effd0 WHIRLPOOL a41e90c781d6fd0792ba4d4941744d61bee2289b72529ccca92fbcb671234e80d7faee7e6fa8cf86e6f2d822e6429cff17721a96fdb6527f0802cbd6ed4c1284 +EBUILD apr-util-1.5.4-r1.ebuild 3351 SHA256 9d1e9007dcce45d0e9d0325f4bcb3b28bc540c7c63b07e2767d8a6d1cac1053e SHA512 d56ced2e56d2dcb9b1aa53b426f3e0ba03d4f12076731e808630d9d58917f31320c2d2435bee645be8768b3663ba2af8664f0824a17e90a26f7927a0fae37732 WHIRLPOOL a76001edc4d72768a6c1cb096821ac76139138e75f2f60a8378daf86beee3bcd4d324de0f00d03669b33bde0afd43ca7b1526548d0bb192bc41a08352f4d7b66 +EBUILD apr-util-1.5.4-r3.ebuild 3705 SHA256 e70cda306e07030e975e11e99d3f62e29a93d25dc75647dcd6bb9a48155ae53d SHA512 6fcb294154753d569e3cad05c6e293c85ea49aab64f8fa2542577624b6c4349f80e06376f021d953b22e59ff8bd6b97c5e6e31106971a1333594572a8ef759c0 WHIRLPOOL 24d6411cde7b0926950952b999b37869ef152fd5444361d6faa2aa8e78fe4bdbce7d79af8d2108ee419605ccec1ed384443e3ea89eebd4c346f95a5a1ac61ae0 +EBUILD apr-util-1.5.4.ebuild 3238 SHA256 b5dd4d0dd26da87d7167edbadff9ac9d2d6c3cd4919572bc7aa0471dbd29229f SHA512 c018c7088ffac68d91aa0c8e8089dd7a0dd9219b21cbd95db63c8a9980067e1f841a64bb4a1de6fbd3438b4a95edaca838284b85c20095e138fc92f6fbd9d664 WHIRLPOOL bdff04ea43a4c4fc4f4872e41d581c415c00d532267c449a3a68e23b7a5f071401423834b273cdbc188dc9f79c81181088eb6fd68b51aab448213e452a3c2612 +EBUILD apr-util-1.6.0.ebuild 3611 SHA256 cc06598079caf57e6c580c1b2f66bf2d137bbfc27d321ae6710693b8186127ca SHA512 9cfd1e467bf2ead57335c561de29851a3bc72e759c0d515223a35b60acebf90ee473846862942c86e5d921acbb9f04e2654a33d27c36ffa6568d354bab871ad8 WHIRLPOOL 2e7da9047abbcbd1cd3a9af434677f6525a7da23276ce3e9eb469b36dd3122199b9412d3bb6d701f01b21a17291205f2c2d6e16b501772a0350ace25777be421 +MISC ChangeLog 2789 SHA256 7545011cfeb5878c8cf91df048ab98a188e0afbfbb9e6f3b551d7d064abac5c4 SHA512 17c82c556c5c82adbbedd8483c499892adf7d5f6835cc08aa436b6de1d88ce4713c37b08ff1142f15a0d00914cca548447fde08773c58fa8ce56aac3882ab125 WHIRLPOOL 32a8df43ce713e721bac5c6f5c412ef41145d268f5f281dfa3181aa7d3492cd0f4ad1b8ebcb72fd248da07071b594adf0e13eca9afc3b5b0bc1d22048d016d3c +MISC ChangeLog-2015 28596 SHA256 4bf952fa4e066f230ef1d23955c7854a88560e3888938a1e8ef83823adde249b SHA512 87078eb359eff08fc32b698a4c9a43003b83e2f501b0728a2e16978e38c80621a9279624489260c813732281ef59c851e8a2130736cde0eacdf16bb804cafc66 WHIRLPOOL ac08e462b2b6288e93e7a882205acfbe164e28126aea0fcd3f7e293f7c35f5ca1e43b85e7a8222a5905a83d2521c5627b1ebca5b7e9f5191dbbbc7a09062ec93 +MISC metadata.xml 515 SHA256 d5226f9f0b532aa0adf1cbc7e4b5333dae3411f0c12e6df483a4036d7150133a SHA512 af8e2bbded13ef475d1577eb4faa27e17a045804f1de3e79c4c3d736871db304872fc65db0d606c243292392fb4ac773711ad9e153369714689138249d469158 WHIRLPOOL 0d9a6906df5f22918414a41f8a0806e502ef38696d9c5fc5c9949c13c988fa57d3acae1c99ef1ca2279ca7ec970044bf3e1c704c460cd397262b1a6e34f0de7b diff --git a/dev-libs/apr-util/apr-util-1.5.4-r1.ebuild b/dev-libs/apr-util/apr-util-1.5.4-r1.ebuild new file mode 100644 index 000000000000..9fa270a7f21f --- /dev/null +++ b/dev-libs/apr-util/apr-util-1.5.4-r1.ebuild @@ -0,0 +1,115 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="4" + +# Usually apr-util has the same PV as apr, but in case of security fixes, this may change. +# APR_PV="${PV}" +APR_PV="1.4.6" + +inherit autotools db-use eutils libtool multilib toolchain-funcs + +DESCRIPTION="Apache Portable Runtime Utility Library" +HOMEPAGE="http://apr.apache.org/" +SRC_URI="mirror://apache/apr/${P}.tar.bz2" + +LICENSE="Apache-2.0" +SLOT="1" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="berkdb doc freetds gdbm ldap libressl mysql nss odbc openssl postgres sqlite static-libs" +#RESTRICT="test" + +RDEPEND="dev-libs/expat + >=dev-libs/apr-${APR_PV}:1 + berkdb? ( >=sys-libs/db-4 ) + freetds? ( dev-db/freetds ) + gdbm? ( sys-libs/gdbm ) + ldap? ( =net-nds/openldap-2* ) + mysql? ( =virtual/mysql-5* ) + nss? ( dev-libs/nss ) + odbc? ( dev-db/unixODBC ) + openssl? ( + !libressl? ( dev-libs/openssl:0 ) + libressl? ( dev-libs/libressl ) + ) + postgres? ( dev-db/postgresql ) + sqlite? ( dev-db/sqlite:3 )" +DEPEND="${RDEPEND} + >=sys-devel/libtool-2.4.2 + doc? ( app-doc/doxygen )" + +DOCS=(CHANGES NOTICE README) + +src_prepare() { + epatch "${FILESDIR}"/${PN}-1.5.3-sysroot.patch #385775 + eautoreconf + elibtoolize +} + +src_configure() { + local myconf=() + + tc-is-static-only && myconf+=( --disable-util-dso ) + + if use berkdb; then + local db_version + db_version="$(db_findver sys-libs/db)" || die "Unable to find Berkeley DB version" + db_version="$(db_ver_to_slot "${db_version}")" + db_version="${db_version/\./}" + myconf+=( + --with-dbm=db${db_version} + # We use $T for the libdir because otherwise it'd simply be the normal + # system libdir. That's pointless as the compiler will search it for + # us already. This makes cross-compiling and such easier. + --with-berkeley-db="${SYSROOT}$(db_includedir 2>/dev/null):${T}" + ) + else + myconf+=( --without-berkeley-db ) + fi + + if use nss || use openssl ; then + myconf+=( --with-crypto ) # 518708 + fi + + econf \ + --datadir="${EPREFIX}"/usr/share/apr-util-1 \ + --with-apr="${SYSROOT}${EPREFIX}"/usr \ + --with-expat="${EPREFIX}"/usr \ + --without-sqlite2 \ + $(use_with freetds) \ + $(use_with gdbm) \ + $(use_with ldap) \ + $(use_with mysql) \ + $(use_with nss) \ + $(use_with odbc) \ + $(use_with openssl) \ + $(use_with postgres pgsql) \ + $(use_with sqlite sqlite3) \ + "${myconf[@]}" + # Use the current env build settings rather than whatever apr was built with. + sed -i -r \ + -e "/^(apr_builddir|apr_builders|top_builddir)=/s:=:=${SYSROOT}:" \ + -e "/^CC=/s:=.*:=$(tc-getCC):" \ + -e '/^(C|CPP|CXX|LD)FLAGS=/d' \ + -e '/^LTFLAGS/s:--silent::' \ + build/rules.mk || die +} + +src_compile() { + emake + use doc && emake dox +} + +src_install() { + default + + find "${ED}" -name "*.la" -delete + find "${ED}usr/$(get_libdir)/apr-util-${SLOT}" -name "*.a" -delete + use static-libs || find "${ED}" -name "*.a" -not -name "*$(get_libname)" -delete + + use doc && dohtml -r docs/dox/html/* + + # This file is only used on AIX systems, which Gentoo is not, + # and causes collisions between the SLOTs, so remove it. + rm -f "${ED}usr/$(get_libdir)/aprutil.exp" +} diff --git a/dev-libs/apr-util/apr-util-1.5.4-r3.ebuild b/dev-libs/apr-util/apr-util-1.5.4-r3.ebuild new file mode 100644 index 000000000000..91a41d6598db --- /dev/null +++ b/dev-libs/apr-util/apr-util-1.5.4-r3.ebuild @@ -0,0 +1,139 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +# Usually apr-util has the same PV as apr, but in case of security fixes, this may change. +# APR_PV="${PV}" +APR_PV="1.5.2" + +inherit autotools db-use eutils libtool multilib toolchain-funcs + +DESCRIPTION="Apache Portable Runtime Utility Library" +HOMEPAGE="http://apr.apache.org/" +SRC_URI="mirror://apache/apr/${P}.tar.bz2" + +LICENSE="Apache-2.0" +SLOT="1" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="berkdb doc freetds gdbm ldap libressl mysql nss odbc openssl postgres sqlite static-libs" +#RESTRICT="test" + +RDEPEND=" + dev-libs/expat + >=dev-libs/apr-${APR_PV}:1 + berkdb? ( >=sys-libs/db-4:= ) + freetds? ( dev-db/freetds ) + gdbm? ( sys-libs/gdbm ) + ldap? ( =net-nds/openldap-2* ) + mysql? ( =virtual/mysql-5* ) + nss? ( dev-libs/nss ) + odbc? ( dev-db/unixODBC ) + openssl? ( + !libressl? ( dev-libs/openssl:0 ) + libressl? ( dev-libs/libressl ) + ) + postgres? ( dev-db/postgresql:= ) + sqlite? ( dev-db/sqlite:3 ) +" +DEPEND=" + ${RDEPEND} + >=sys-devel/libtool-2.4.2 + doc? ( app-doc/doxygen ) +" + +DOCS=(CHANGES NOTICE README) + +PATCHES=( + "${FILESDIR}"/${PN}-1.5.3-sysroot.patch #385775 +) + +src_prepare() { + default + + # Fix usage of libmysqlclient (bug #620230) + grep -lrF "libmysqlclient_r" "${S}" \ + | xargs sed 's@libmysqlclient_r@libmysqlclient@g' -i \ + || die + + mv configure.{in,ac} || die + eautoreconf + elibtoolize +} + +src_configure() { + local myconf=() + + tc-is-static-only && myconf+=( --disable-util-dso ) + + if use berkdb; then + local db_version + db_version="$(db_findver sys-libs/db)" || die "Unable to find Berkeley DB version" + db_version="$(db_ver_to_slot "${db_version}")" + db_version="${db_version/\./}" + myconf+=( + --with-dbm=db${db_version} + # We use $T for the libdir because otherwise it'd simply be the normal + # system libdir. That's pointless as the compiler will search it for + # us already. This makes cross-compiling and such easier. + --with-berkeley-db="${SYSROOT}$(db_includedir 2>/dev/null):${T}" + ) + else + myconf+=( --without-berkeley-db ) + fi + + if use nss || use openssl ; then + myconf+=( --with-crypto ) # 518708 + fi + + local myeconfargs=( + --datadir="${EPREFIX}"/usr/share/apr-util-1 + --with-apr="${SYSROOT}${EPREFIX}"/usr + --with-expat="${EPREFIX}"/usr + --without-sqlite2 + $(use_with freetds) + $(use_with gdbm) + $(use_with ldap) + $(use_with mysql) + $(use_with nss) + $(use_with odbc) + $(use_with openssl) + $(use_with postgres pgsql) + $(use_with sqlite sqlite3) + "${myconf[@]}" + ) + econf "${myeconfargs[@]}" + # Use the current env build settings rather than whatever apr was built with. + sed -i -r \ + -e "/^(apr_builddir|apr_builders|top_builddir)=/s:=:=${SYSROOT}:" \ + -e "/^CC=/s:=.*:=$(tc-getCC):" \ + -e '/^(C|CPP|CXX|LD)FLAGS=/d' \ + -e '/^LTFLAGS/s:--silent::' \ + build/rules.mk || die +} + +src_compile() { + emake + use doc && emake dox +} + +src_install() { + default + + find "${ED}" -name "*.la" -delete || die + if [[ -d "${ED}usr/$(get_libdir)/apr-util-${SLOT}" ]] ; then + find "${ED}usr/$(get_libdir)/apr-util-${SLOT}" -name "*.a" -delete || die + fi + if ! use static-libs ; then + find "${ED}" -name "*.a" -not -name "*$(get_libname)" -delete || die + fi + + if use doc ; then + docinto html + dodoc -r docs/dox/html/* + fi + + # This file is only used on AIX systems, which Gentoo is not, + # and causes collisions between the SLOTs, so remove it. + rm "${ED}usr/$(get_libdir)/aprutil.exp" || die +} diff --git a/dev-libs/apr-util/apr-util-1.5.4.ebuild b/dev-libs/apr-util/apr-util-1.5.4.ebuild new file mode 100644 index 000000000000..f9d3cc97354a --- /dev/null +++ b/dev-libs/apr-util/apr-util-1.5.4.ebuild @@ -0,0 +1,112 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="4" + +# Usually apr-util has the same PV as apr, but in case of security fixes, this may change. +# APR_PV="${PV}" +APR_PV="1.4.6" + +inherit autotools db-use eutils libtool multilib toolchain-funcs + +DESCRIPTION="Apache Portable Runtime Utility Library" +HOMEPAGE="http://apr.apache.org/" +SRC_URI="mirror://apache/apr/${P}.tar.bz2" + +LICENSE="Apache-2.0" +SLOT="1" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="berkdb doc freetds gdbm ldap mysql nss odbc openssl postgres sqlite static-libs" +#RESTRICT="test" + +RDEPEND="dev-libs/expat + >=dev-libs/apr-${APR_PV}:1 + berkdb? ( >=sys-libs/db-4 ) + freetds? ( dev-db/freetds ) + gdbm? ( sys-libs/gdbm ) + ldap? ( =net-nds/openldap-2* ) + mysql? ( =virtual/mysql-5* ) + nss? ( dev-libs/nss ) + odbc? ( dev-db/unixODBC ) + openssl? ( dev-libs/openssl ) + postgres? ( dev-db/postgresql ) + sqlite? ( dev-db/sqlite:3 )" +DEPEND="${RDEPEND} + >=sys-devel/libtool-2.4.2 + doc? ( app-doc/doxygen )" + +DOCS=(CHANGES NOTICE README) + +src_prepare() { + epatch "${FILESDIR}"/${PN}-1.5.3-sysroot.patch #385775 + eautoreconf + elibtoolize +} + +src_configure() { + local myconf=() + + tc-is-static-only && myconf+=( --disable-util-dso ) + + if use berkdb; then + local db_version + db_version="$(db_findver sys-libs/db)" || die "Unable to find Berkeley DB version" + db_version="$(db_ver_to_slot "${db_version}")" + db_version="${db_version/\./}" + myconf+=( + --with-dbm=db${db_version} + # We use $T for the libdir because otherwise it'd simply be the normal + # system libdir. That's pointless as the compiler will search it for + # us already. This makes cross-compiling and such easier. + --with-berkeley-db="${SYSROOT}$(db_includedir 2>/dev/null):${T}" + ) + else + myconf+=( --without-berkeley-db ) + fi + + if use nss || use openssl ; then + myconf+=( --with-crypto ) # 518708 + fi + + econf \ + --datadir="${EPREFIX}"/usr/share/apr-util-1 \ + --with-apr="${SYSROOT}${EPREFIX}"/usr \ + --with-expat="${EPREFIX}"/usr \ + --without-sqlite2 \ + $(use_with freetds) \ + $(use_with gdbm) \ + $(use_with ldap) \ + $(use_with mysql) \ + $(use_with nss) \ + $(use_with odbc) \ + $(use_with openssl) \ + $(use_with postgres pgsql) \ + $(use_with sqlite sqlite3) \ + "${myconf[@]}" + # Use the current env build settings rather than whatever apr was built with. + sed -i -r \ + -e "/^(apr_builddir|apr_builders|top_builddir)=/s:=:=${SYSROOT}:" \ + -e "/^CC=/s:=.*:=$(tc-getCC):" \ + -e '/^(C|CPP|CXX|LD)FLAGS=/d' \ + -e '/^LTFLAGS/s:--silent::' \ + build/rules.mk || die +} + +src_compile() { + emake + use doc && emake dox +} + +src_install() { + default + + find "${ED}" -name "*.la" -delete + find "${ED}usr/$(get_libdir)/apr-util-${SLOT}" -name "*.a" -delete + use static-libs || find "${ED}" -name "*.a" -delete + + use doc && dohtml -r docs/dox/html/* + + # This file is only used on AIX systems, which Gentoo is not, + # and causes collisions between the SLOTs, so remove it. + rm -f "${ED}usr/$(get_libdir)/aprutil.exp" +} diff --git a/dev-libs/apr-util/apr-util-1.6.0.ebuild b/dev-libs/apr-util/apr-util-1.6.0.ebuild new file mode 100644 index 000000000000..ec528c173dd8 --- /dev/null +++ b/dev-libs/apr-util/apr-util-1.6.0.ebuild @@ -0,0 +1,135 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +# Usually apr-util has the same PV as apr, but in case of security fixes, this may change. +# APR_PV="${PV}" +APR_PV="1.6.2" + +inherit autotools db-use eutils libtool multilib toolchain-funcs + +DESCRIPTION="Apache Portable Runtime Utility Library" +HOMEPAGE="http://apr.apache.org/" +SRC_URI="mirror://apache/apr/${P}.tar.bz2" + +LICENSE="Apache-2.0" +SLOT="1" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="berkdb doc gdbm ldap libressl mysql nss odbc openssl postgres sqlite static-libs" +#RESTRICT="test" + +RDEPEND=" + dev-libs/expat + >=dev-libs/apr-${APR_PV}:1 + berkdb? ( >=sys-libs/db-4:= ) + gdbm? ( sys-libs/gdbm ) + ldap? ( =net-nds/openldap-2* ) + mysql? ( =virtual/mysql-5* ) + nss? ( dev-libs/nss ) + odbc? ( dev-db/unixODBC ) + openssl? ( + !libressl? ( dev-libs/openssl:0 ) + libressl? ( dev-libs/libressl ) + ) + postgres? ( dev-db/postgresql:= ) + sqlite? ( dev-db/sqlite:3 ) +" +DEPEND=" + ${RDEPEND} + >=sys-devel/libtool-2.4.2 + doc? ( app-doc/doxygen ) +" + +DOCS=(CHANGES NOTICE README) + +PATCHES=( + "${FILESDIR}"/${PN}-1.5.3-sysroot.patch #385775 +) + +src_prepare() { + default + + # Fix usage of libmysqlclient (bug #620230) + grep -lrF "libmysqlclient_r" "${S}" \ + | xargs sed 's@libmysqlclient_r@libmysqlclient@g' -i \ + || die + + mv configure.{in,ac} || die + eautoreconf + elibtoolize +} + +src_configure() { + local myconf=( + --datadir="${EPREFIX}"/usr/share/apr-util-1 + --with-apr="${SYSROOT}${EPREFIX}"/usr + --with-expat="${EPREFIX}"/usr + --without-sqlite2 + $(use_with gdbm) + $(use_with ldap) + $(use_with mysql) + $(use_with nss) + $(use_with odbc) + $(use_with openssl) + $(use_with postgres pgsql) + $(use_with sqlite sqlite3) + ) + + tc-is-static-only && myconf+=( --disable-util-dso ) + + if use berkdb; then + local db_version + db_version="$(db_findver sys-libs/db)" || die "Unable to find Berkeley DB version" + db_version="$(db_ver_to_slot "${db_version}")" + db_version="${db_version/\./}" + myconf+=( + --with-dbm=db${db_version} + # We use $T for the libdir because otherwise it'd simply be the normal + # system libdir. That's pointless as the compiler will search it for + # us already. This makes cross-compiling and such easier. + --with-berkeley-db="${SYSROOT}$(db_includedir 2>/dev/null):${T}" + ) + else + myconf+=( --without-berkeley-db ) + fi + + if use nss || use openssl ; then + myconf+=( --with-crypto ) # 518708 + fi + + econf "${myconf[@]}" + # Use the current env build settings rather than whatever apr was built with. + sed -i -r \ + -e "/^(apr_builddir|apr_builders|top_builddir)=/s:=:=${SYSROOT}:" \ + -e "/^CC=/s:=.*:=$(tc-getCC):" \ + -e '/^(C|CPP|CXX|LD)FLAGS=/d' \ + -e '/^LTFLAGS/s:--silent::' \ + build/rules.mk || die +} + +src_compile() { + emake + use doc && emake dox +} + +src_install() { + default + + find "${ED}" -name "*.la" -delete || die + if [[ -d "${ED%/}/usr/$(get_libdir)/apr-util-${SLOT}" ]] ; then + find "${ED%/}/usr/$(get_libdir)/apr-util-${SLOT}" -name "*.a" -delete || die + fi + if ! use static-libs ; then + find "${ED}" -name "*.a" -not -name "*$(get_libname)" -delete || die + fi + + if use doc ; then + docinto html + dodoc -r docs/dox/html/* + fi + + # This file is only used on AIX systems, which Gentoo is not, + # and causes collisions between the SLOTs, so remove it. + rm "${ED%/}/usr/$(get_libdir)/aprutil.exp" || die +} diff --git a/dev-libs/apr-util/files/apr-util-1.5.3-sysroot.patch b/dev-libs/apr-util/files/apr-util-1.5.3-sysroot.patch new file mode 100644 index 000000000000..ce07b1470525 --- /dev/null +++ b/dev-libs/apr-util/files/apr-util-1.5.3-sysroot.patch @@ -0,0 +1,36 @@ +https://bugs.gentoo.org/385775 + +utilize $SYSROOT to find the right includedir tree + +drop the -L/-R paths since we know our libdir is the standard path which +the compiler already knows how to locate + +--- a/apu-config.in ++++ b/apu-config.in +@@ -25,7 +25,7 @@ prefix="@prefix@" + exec_prefix="@exec_prefix@" + bindir="@bindir@" + libdir="@libdir@" +-includedir="@includedir@" ++includedir="${SYSROOT}@includedir@" + + LIBS="@APRUTIL_EXPORT_LIBS@" + INCLUDES="@APRUTIL_INCLUDES@" +@@ -166,7 +166,7 @@ while test $# -gt 0; do + --link-ld) + if test "$location" = "installed"; then + ### avoid using -L if libdir is a "standard" location like /usr/lib +- flags="$flags -L$libdir -l$APRUTIL_LIBNAME" ++ flags="$flags -l$APRUTIL_LIBNAME" + else + flags="$flags -L$APU_BUILD_DIR -l$APRUTIL_LIBNAME" + fi +@@ -182,7 +182,7 @@ while test $# -gt 0; do + ### avoid using -L if libdir is a "standard" location like /usr/lib + # Since the user is specifying they are linking with libtool, we + # *know* that -R will be recognized by libtool. +- flags="$flags -L$libdir -R$libdir -l$APRUTIL_LIBNAME" ++ flags="$flags -l$APRUTIL_LIBNAME" + else + flags="$flags $LA_FILE" + fi diff --git a/dev-libs/apr-util/metadata.xml b/dev-libs/apr-util/metadata.xml new file mode 100644 index 000000000000..fbfc99a2fedd --- /dev/null +++ b/dev-libs/apr-util/metadata.xml @@ -0,0 +1,14 @@ + + + + + polynomial-c@gentoo.org + Lars Wendler + + + Use dev-libs/libressl instead of + dev-libs/openssl for 'openssl' USE flag + Install apr_crypto_nss module + Install apr_crypto_openssl module + + diff --git a/dev-libs/apr/Manifest b/dev-libs/apr/Manifest new file mode 100644 index 000000000000..79fbd93a9c54 --- /dev/null +++ b/dev-libs/apr/Manifest @@ -0,0 +1,12 @@ +AUX apr-1.5.0-cross-types.patch 1969 SHA256 5f3c17546ea43a1ce33ad3d0459dcc6782d0006ab9414bd1e02e3ca0b40b2565 SHA512 8d91cff44c2926c5da120a3e7a4e54414c1e77cb1815d6683b490499914ca0934c3a1a1edb3dbd7dfd686e3342675ab64b0f498c21fe138befa6b454b5d5c1d8 WHIRLPOOL 9f785576b6a6e8b402481be0adb0eff86640e91e6d5948e9fe80f7e2b76f7f2391ff4609ad07aa4d7cfc77c27788f9969953d1e33f0f46ff1876b906cd27293c +AUX apr-1.5.0-libtool.patch 514 SHA256 ec0cdc67b471da2666aeeb8d9b344320392331f79a123bfbc405c440c50ebce6 SHA512 e8c2a7a2b5c8171a0d2c8920e053bd861e4fb2044428cb3f6ffc9ccea05694c20b879411f86b967c4269918b5740b1450ecb0e720d74ea0fe9ac305f58ee88d5 WHIRLPOOL e0b7a06cf78a3eb1930639ea7e7d38c962ff847b990714e042e2d107575b4b26979198fbfec62bba5500b323caf0a01584e00b1bbc907fdc67cbaf8e6f3d2ec4 +AUX apr-1.5.0-mint.patch 872 SHA256 6ed43adba05db07f061d98f73c19aac0df3d9c0aafd86cf57c9ab4fdc851659a SHA512 ba71f17ef9f61a8379139f05ca17eb583ad34cbc3ebf5c4f59d011662db6b5c963da5c466c093c3eb98372299d8f202d927a05b52cc7515270ac52fe44ec6daf WHIRLPOOL 60966adf15e5301600f870ece96d34d4dd26d3e7dc99bb447f2afc1a86f7a46ef3bdf24613027636707b2fd5ac2f2bdd956a8eeb3b088b27862d7e86090b5db1 +AUX apr-1.5.0-sysroot.patch 1309 SHA256 6ebfe28e672084747cf1ee88acec7394de96302f0b2f0903926ba2403ecba244 SHA512 48609c522225b47df96039174dafa043f77ce5b91f464b14250dd2b30590d6685c9baa03d4ca34937532c26afea8d208fb78158dfc8026a606ff90543b5c8d5d WHIRLPOOL a74e8eb6e482b3215997c147a2cded7c9288618bf4925877775dca7700c14fbb874dba8681d053b4f6485792605b37ecf6da0487d4a9bb74bc79a8e3eb128a1f +AUX config.layout.patch 745 SHA256 29d224f052c378f0130b59625120507d3f7d8d83fb3d7ec9c2b806b7abeec2fa SHA512 3a87e718859c8f95793f828b764d240907d65c21fe2c99143815ab835f8b657154092c4ad496e86d79490bd85ef03d394d3acb57a15186f2f06a518b32d77fdf WHIRLPOOL 5e76166dc535ecf56b601de7c8dffb92410a6677d077b66589a49d69262e41d652a6b17ab931fcd01a1b905f13b9cfe07c414179f37f75bf465effdc5dc3c8b3 +DIST apr-1.5.2.tar.bz2 826885 SHA256 7d03ed29c22a7152be45b8e50431063736df9e1daa1ddf93f6a547ba7a28f67a SHA512 d1156ad16abf07887797777b56c2147c890f16d8445829b3e3b4917950d24c5fd2f8febd439992467a5ea0511da562c0fb4a7cfd8a235ab55882388bfa2b919d WHIRLPOOL 3f6fbb9410f7cd3ace2f80f361a02b190e14d744f38dbd6f87a5c60b4b1c4a99cd902ba9351a235d9f3bab044a981de21fb6c193d3ab3caba2448bf6c4e1bd1b +DIST apr-1.6.2.tar.bz2 853363 SHA256 09109cea377bab0028bba19a92b5b0e89603df9eab05c0f7dbd4dd83d48dcebd SHA512 20f449fde522f186b919b64ce6f90073b267557e17438607d31af917eca7941222dd7a7379d66f1430ff68f7e28fbccd140d24f3ca7aae8a876a550b19de284a WHIRLPOOL 4fd43497ed091f9da2a8c8a57017344dc7492b18793e8a16eae480ddbba8f18ebc66925418d8b5fa8fa6fa023b59a482d62c8ba1ee49a575aa6f7918b703ea30 +EBUILD apr-1.5.2.ebuild 4100 SHA256 f7054cbfd1f8115687c2652489eca6d6b8bd3bdb2b2e6094fe116017c1057bfe SHA512 c57fe4d819a172fa9a528d75eabfbd1ce129d71cec30f79c8870f3e9dbc5a08772de5a91af9497cf8b33492439196b36b5f3b3b9dcd4a347d8a1380b5e5a5192 WHIRLPOOL 3f0127305c6590004910ae7ea01d5cf8a4e8dad506eb1b661043b769045d9efd418162f5ef32a5903e3a1bfa5dd46640d7cde3c2305dc0b7cc4182cbacae5016 +EBUILD apr-1.6.2.ebuild 4091 SHA256 9d4704c571d777db52f807de64fdd1f251b134cade293749a2d5b4b22ce84a6a SHA512 7e16c2e12137ad6fd8b88e84a3c6c364aaa4396b53b1c9905fcc6eb7a1713e90fc9006d900235742d003ea59708f278720ed3487ddebdc2fb2d2b59ea502e1be WHIRLPOOL d1edd9ece467d074b9d733544d382b0369fcfce8a0bb7df33d69adcda6172e26167a5629f43a7b01523907e062c087b812d9c0dedab20dd6077e616966a491b9 +MISC ChangeLog 2475 SHA256 eb94693c6b92297fdd0ba293d6a8bf0ed8889a886170e3eb0416991d54fe4634 SHA512 4367f487f70f6ad6a35b305af3ba446f18616c990bbd06e5aa2efd90a614f97128dc5c5e54cae76346f1e9f20808623a9b95cc70db65540928de419d74cb3e05 WHIRLPOOL cbd1495333efe779974079ba8b65e53bd185419a68fe84d95dde59cf0b02a7bf5c17058e638043e7664136f746205125608add667676c7645f0e063a76947b6f +MISC ChangeLog-2015 28918 SHA256 36d001de47bfb90a8a8a80cdf7ee9a8d86000c94d58df95579c921bf6997c424 SHA512 876d679eaa9627bda13d9e2e350681ff40ec0f7978165823a33196fe7be90a244540659720ad323476ef2a02aca244415063ce94c23251f43f25841d872fc585 WHIRLPOOL df7fc5a927d5fe0b12e977ac9a6684eb779ae5ba95ab6350f3f7fac9493ca28de8786da833315f8d71240b5044cf74483a7a5967caa23cead8367492b1a3d2d8 +MISC metadata.xml 433 SHA256 e65d577b56d477a35f0cd4d2f400f48d1054e3aacd74353c432f91138be8ee01 SHA512 7a1b6a73160b108816332f90e4e540f555e748584925ac3c7bb303ce5b6328abf255fc3f1c2b0e13f3c5d763841e847e400e781764083e3e96bc3809871a0df6 WHIRLPOOL d2e07c994cbb20905b692c729e5ec80b1e2b6085c4939245a5848994e9d250344d21b133d705e2d40cf1b860333e8bc0017bf0944d7e8bf78dcab891b66166d8 diff --git a/dev-libs/apr/apr-1.5.2.ebuild b/dev-libs/apr/apr-1.5.2.ebuild new file mode 100644 index 000000000000..5be730d5fb71 --- /dev/null +++ b/dev-libs/apr/apr-1.5.2.ebuild @@ -0,0 +1,143 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit autotools eutils libtool multilib toolchain-funcs + +DESCRIPTION="Apache Portable Runtime Library" +HOMEPAGE="http://apr.apache.org/" +SRC_URI="mirror://apache/apr/${P}.tar.bz2" + +LICENSE="Apache-2.0" +SLOT="1" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="doc elibc_FreeBSD older-kernels-compatibility selinux static-libs +urandom" + +CDEPEND="elibc_glibc? ( >=sys-apps/util-linux-2.16 ) + elibc_mintlib? ( >=sys-apps/util-linux-2.18 )" +RDEPEND="${CDEPEND} + selinux? ( sec-policy/selinux-apache )" +DEPEND="${CDEPEND} + >=sys-devel/libtool-2.4.2 + doc? ( app-doc/doxygen )" + +DOCS=(CHANGES NOTICE README) + +src_prepare() { + epatch "${FILESDIR}"/${PN}-1.5.0-mint.patch + epatch "${FILESDIR}"/${PN}-1.5.0-libtool.patch + epatch "${FILESDIR}"/${PN}-1.5.0-cross-types.patch + epatch "${FILESDIR}"/${PN}-1.5.0-sysroot.patch #385775 + + epatch_user #449048 + + AT_M4DIR="build" eautoreconf + elibtoolize + + epatch "${FILESDIR}/config.layout.patch" +} + +src_configure() { + local myconf=() + + [[ ${CHOST} == *-mint* ]] && export ac_cv_func_poll=no + + if use older-kernels-compatibility; then + local apr_cv_accept4 apr_cv_dup3 apr_cv_epoll_create1 apr_cv_sock_cloexec + export apr_cv_accept4="no" + export apr_cv_dup3="no" + export apr_cv_epoll_create1="no" + export apr_cv_sock_cloexec="no" + fi + if tc-is-cross-compiler; then + # The apache project relies heavily on AC_TRY_RUN and doesn't + # have any sane cross-compiling fallback logic. + export \ + ac_cv_file__dev_zero="yes" \ + ac_cv_func_sem_open="yes" \ + ac_cv_negative_eai="yes" \ + ac_cv_o_nonblock_inherited="no" \ + ac_cv_struct_rlimit="yes" \ + ap_cv_atomic_builtins="yes" \ + apr_cv_accept4="yes" \ + apr_cv_dup3="yes" \ + apr_cv_epoll="yes" \ + apr_cv_epoll_create1="yes" \ + apr_cv_gai_addrconfig="yes" \ + apr_cv_mutex_recursive="yes" \ + apr_cv_mutex_robust_shared="yes" \ + apr_cv_process_shared_works="yes" \ + apr_cv_pthreads_lib="-pthread" \ + apr_cv_sock_cloexec="yes" \ + apr_cv_tcp_nodelay_with_cork="yes" + fi + + if use urandom; then + myconf+=( --with-devrandom=/dev/urandom ) + elif (( ${CHOST#*-hpux11.} <= 11 )); then + : # no /dev/*random on hpux11.11 and before, $PN detects this. + else + myconf+=( --with-devrandom=/dev/random ) + fi + + tc-is-static-only && myconf+=( --disable-dso ) + + # shl_load does not search runpath, but hpux11 supports dlopen + [[ ${CHOST} == *-hpux11* ]] && myconf+=( --enable-dso=dlfcn ) + + if [[ ${CHOST} == *-solaris2.10 ]]; then + case $(<$([[ ${CHOST} != ${CBUILD} ]] && echo "${EPREFIX}/usr/${CHOST}")/usr/include/atomic.h) in + *atomic_cas_ptr*) ;; + *) + elog "You do not have Solaris Patch ID "$( + [[ ${CHOST} == sparc* ]] && echo 118884 || echo 118885 + )" (Problem 4954703) installed on your host ($(hostname))," + elog "using generic atomic operations instead." + myconf+=( --disable-nonportable-atomics ) + ;; + esac + fi + + econf \ + --enable-layout=gentoo \ + --enable-nonportable-atomics \ + --enable-posix-shm \ + --enable-threads \ + $(use_enable static-libs static) \ + "${myconf[@]}" +} + +src_compile() { + if tc-is-cross-compiler; then + # This header is the same across targets, so use the build compiler. + emake tools/gen_test_char + tc-export_build_env BUILD_CC + ${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_CPPFLAGS} ${BUILD_LDFLAGS} \ + tools/gen_test_char.c -o tools/gen_test_char || die + fi + + emake + + if use doc; then + emake dox + fi +} + +src_install() { + default + + # Prallel install breaks since apr-1.5.1 + #make -j1 DESTDIR="${D}" install || die + + prune_libtool_files --all + + if use doc; then + dohtml -r docs/dox/html/* + fi + + # This file is only used on AIX systems, which Gentoo is not, + # and causes collisions between the SLOTs, so remove it. + # Even in Prefix, we don't need this on AIX. + rm -f "${ED}usr/$(get_libdir)/apr.exp" +} diff --git a/dev-libs/apr/apr-1.6.2.ebuild b/dev-libs/apr/apr-1.6.2.ebuild new file mode 100644 index 000000000000..cc08f2934308 --- /dev/null +++ b/dev-libs/apr/apr-1.6.2.ebuild @@ -0,0 +1,146 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools libtool ltprune multilib toolchain-funcs + +DESCRIPTION="Apache Portable Runtime Library" +HOMEPAGE="https://apr.apache.org/" +SRC_URI="mirror://apache/apr/${P}.tar.bz2" + +LICENSE="Apache-2.0" +SLOT="1" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="doc elibc_FreeBSD older-kernels-compatibility selinux static-libs +urandom" + +CDEPEND="elibc_glibc? ( >=sys-apps/util-linux-2.16 ) + elibc_mintlib? ( >=sys-apps/util-linux-2.18 )" +RDEPEND="${CDEPEND} + selinux? ( sec-policy/selinux-apache )" +DEPEND="${CDEPEND} + >=sys-devel/libtool-2.4.2 + doc? ( app-doc/doxygen )" + +DOCS=( CHANGES NOTICE README ) + +PATCHES=( + "${FILESDIR}"/${PN}-1.5.0-mint.patch + "${FILESDIR}"/${PN}-1.5.0-libtool.patch + "${FILESDIR}"/${PN}-1.5.0-cross-types.patch + "${FILESDIR}"/${PN}-1.5.0-sysroot.patch #385775 +) + +src_prepare() { + default + + AT_M4DIR="build" eautoreconf + elibtoolize + + eapply "${FILESDIR}/config.layout.patch" +} + +src_configure() { + local myconf=( + --enable-layout=gentoo + --enable-nonportable-atomics + --enable-posix-shm + --enable-threads + $(use_enable static-libs static) + ) + + [[ ${CHOST} == *-mint* ]] && export ac_cv_func_poll=no + + if use older-kernels-compatibility; then + local apr_cv_accept4 apr_cv_dup3 apr_cv_epoll_create1 apr_cv_sock_cloexec + export apr_cv_accept4="no" + export apr_cv_dup3="no" + export apr_cv_epoll_create1="no" + export apr_cv_sock_cloexec="no" + fi + if tc-is-cross-compiler; then + # The apache project relies heavily on AC_TRY_RUN and doesn't + # have any sane cross-compiling fallback logic. + export \ + ac_cv_file__dev_zero="yes" \ + ac_cv_func_sem_open="yes" \ + ac_cv_negative_eai="yes" \ + ac_cv_o_nonblock_inherited="no" \ + ac_cv_struct_rlimit="yes" \ + ap_cv_atomic_builtins="yes" \ + apr_cv_accept4="yes" \ + apr_cv_dup3="yes" \ + apr_cv_epoll="yes" \ + apr_cv_epoll_create1="yes" \ + apr_cv_gai_addrconfig="yes" \ + apr_cv_mutex_recursive="yes" \ + apr_cv_mutex_robust_shared="yes" \ + apr_cv_process_shared_works="yes" \ + apr_cv_pthreads_lib="-pthread" \ + apr_cv_sock_cloexec="yes" \ + apr_cv_tcp_nodelay_with_cork="yes" + fi + + if use urandom; then + myconf+=( --with-devrandom=/dev/urandom ) + elif (( ${CHOST#*-hpux11.} <= 11 )); then + : # no /dev/*random on hpux11.11 and before, $PN detects this. + else + myconf+=( --with-devrandom=/dev/random ) + fi + + tc-is-static-only && myconf+=( --disable-dso ) + + # shl_load does not search runpath, but hpux11 supports dlopen + [[ ${CHOST} == *-hpux11* ]] && myconf+=( --enable-dso=dlfcn ) + + if [[ ${CHOST} == *-solaris2.10 ]]; then + case $(<$([[ ${CHOST} != ${CBUILD} ]] && echo "${EPREFIX}/usr/${CHOST}")/usr/include/atomic.h) in + *atomic_cas_ptr*) ;; + *) + elog "You do not have Solaris Patch ID "$( + [[ ${CHOST} == sparc* ]] && echo 118884 || echo 118885 + )" (Problem 4954703) installed on your host ($(hostname))," + elog "using generic atomic operations instead." + myconf+=( --disable-nonportable-atomics ) + ;; + esac + fi + + econf "${myconf[@]}" +} + +src_compile() { + if tc-is-cross-compiler; then + # This header is the same across targets, so use the build compiler. + emake tools/gen_test_char + tc-export_build_env BUILD_CC + ${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_CPPFLAGS} ${BUILD_LDFLAGS} \ + tools/gen_test_char.c -o tools/gen_test_char || die + fi + + emake + + if use doc; then + emake dox + fi +} + +src_install() { + default + + # Prallel install breaks since apr-1.5.1 + #make -j1 DESTDIR="${D}" install || die + + prune_libtool_files --all + + if use doc; then + docinto html + dodoc -r docs/dox/html/* + fi + + # This file is only used on AIX systems, which Gentoo is not, + # and causes collisions between the SLOTs, so remove it. + # Even in Prefix, we don't need this on AIX. + rm -f "${ED%/}/usr/$(get_libdir)/apr.exp" +} diff --git a/dev-libs/apr/files/apr-1.5.0-cross-types.patch b/dev-libs/apr/files/apr-1.5.0-cross-types.patch new file mode 100644 index 000000000000..266e5676817f --- /dev/null +++ b/dev-libs/apr/files/apr-1.5.0-cross-types.patch @@ -0,0 +1,63 @@ +use standard AC_CHECK_SIZEOF as it supports non-builtin types and +supports cross-compiling sanely + +https://issues.apache.org/bugzilla/show_bug.cgi?id=56053 + +--- a/configure.in ++++ b/configure.in +@@ -1684,7 +1684,7 @@ else + socklen_t_value="int" + fi + +-APR_CHECK_SIZEOF_EXTENDED([#include ], pid_t, 8) ++AC_CHECK_SIZEOF(pid_t) + + if test "$ac_cv_sizeof_pid_t" = "$ac_cv_sizeof_short"; then + pid_t_fmt='#define APR_PID_T_FMT "hd"' +@@ -1753,7 +1753,7 @@ APR_CHECK_TYPES_COMPATIBLE(ssize_t, long, [ssize_t_fmt="ld"]) + APR_CHECK_TYPES_COMPATIBLE(size_t, unsigned int, [size_t_fmt="u"]) + APR_CHECK_TYPES_COMPATIBLE(size_t, unsigned long, [size_t_fmt="lu"]) + +-APR_CHECK_SIZEOF_EXTENDED([#include ], ssize_t, 8) ++AC_CHECK_SIZEOF(ssize_t) + + AC_MSG_CHECKING([which format to use for apr_ssize_t]) + if test -n "$ssize_t_fmt"; then +@@ -1770,7 +1770,7 @@ fi + + ssize_t_fmt="#define APR_SSIZE_T_FMT \"$ssize_t_fmt\"" + +-APR_CHECK_SIZEOF_EXTENDED([#include ], size_t, 8) ++AC_CHECK_SIZEOF(size_t) + + AC_MSG_CHECKING([which format to use for apr_size_t]) + if test -n "$size_t_fmt"; then +@@ -1787,7 +1787,7 @@ fi + + size_t_fmt="#define APR_SIZE_T_FMT \"$size_t_fmt\"" + +-APR_CHECK_SIZEOF_EXTENDED([#include ], off_t, 8) ++AC_CHECK_SIZEOF(off_t) + + if test "${ac_cv_sizeof_off_t}${apr_cv_use_lfs64}" = "4yes"; then + # Enable LFS +@@ -1866,7 +1866,7 @@ case $host in + ;; + *) + ino_t_value=ino_t +- APR_CHECK_SIZEOF_EXTENDED(AC_INCLUDES_DEFAULT, ino_t, $ac_cv_sizeof_long) ++ AC_CHECK_SIZEOF(ino_t) + if test $ac_cv_sizeof_ino_t = 4; then + if test $ac_cv_sizeof_long = 4; then + ino_t_value="unsigned long" +@@ -1886,8 +1886,8 @@ else + bigendian=0 + fi + +-APR_CHECK_SIZEOF_EXTENDED([#include +-#include ],struct iovec,0) ++AC_CHECK_SIZEOF(struct iovec,,[AC_INCLUDES_DEFAULT ++#include ]) + if test "$ac_cv_sizeof_struct_iovec" = "0"; then + have_iovec=0 + else diff --git a/dev-libs/apr/files/apr-1.5.0-libtool.patch b/dev-libs/apr/files/apr-1.5.0-libtool.patch new file mode 100644 index 000000000000..5368a2689bdf --- /dev/null +++ b/dev-libs/apr/files/apr-1.5.0-libtool.patch @@ -0,0 +1,17 @@ +generate a local copy of libtool for use in compiling + +https://bugs.gentoo.org/374355 + +--- a/configure.in ++++ b/configure.in +@@ -260,9 +260,7 @@ case $host in + fi + else + dnl libtoolize requires that the following not be indented +- dnl should become LT_INIT(win32-dll) +-AC_LIBTOOL_WIN32_DLL +-AC_PROG_LIBTOOL ++LT_INIT(win32-dll) + # get libtool's setting of shlibpath_var + eval `grep "^shlibpath_var=[[A-Z_]]*$" $apr_builddir/libtool` + if test "x$shlibpath_var" = "x"; then diff --git a/dev-libs/apr/files/apr-1.5.0-mint.patch b/dev-libs/apr/files/apr-1.5.0-mint.patch new file mode 100644 index 000000000000..cfe039e962c6 --- /dev/null +++ b/dev-libs/apr/files/apr-1.5.0-mint.patch @@ -0,0 +1,22 @@ +--- apr-1.5.0/build/apr_hints.m4 ++++ apr-1.5.0/build/apr_hints.m4 +@@ -45,6 +45,8 @@ + case "$host" in + *mint) + APR_ADDTO(CPPFLAGS, [-DMINT -D_GNU_SOURCE]) ++ apr_cv_pthreads_cflags="none" ++ apr_cv_pthreads_lib="-lpthread" + ;; + *MPE/iX*) + APR_ADDTO(CPPFLAGS, [-DMPE -D_POSIX_SOURCE -D_SOCKET_SOURCE]) +--- apr-1.5.0/build/apr_threads.m4 ++++ apr-1.5.0/build/apr_threads.m4 +@@ -198,7 +198,7 @@ + AC_DEFUN([APR_CHECK_SIGWAIT_ONE_ARG], [ + AC_CACHE_CHECK(whether sigwait takes one argument,ac_cv_sigwait_one_arg,[ + AC_TRY_COMPILE([ +-#if defined(__NETBSD__) || defined(DARWIN) ++#if defined(__NETBSD__) || defined(DARWIN) || defined(MINT) + /* When using the unproven-pthreads package, we need to pull in this + * header to get a prototype for sigwait(). Else things will fail later + * on. XXX Should probably be fixed in the unproven-pthreads package. diff --git a/dev-libs/apr/files/apr-1.5.0-sysroot.patch b/dev-libs/apr/files/apr-1.5.0-sysroot.patch new file mode 100644 index 000000000000..54c9d649ef07 --- /dev/null +++ b/dev-libs/apr/files/apr-1.5.0-sysroot.patch @@ -0,0 +1,37 @@ +https://bugs.gentoo.org/385775 + +utilize $SYSROOT to find the right includedir tree + +drop the -L/-R paths since we know our libdir is the standard path which +the compiler already knows how to locate + +--- a/apr-config.in ++++ b/apr-config.in +@@ -28,7 +28,7 @@ libdir="@libdir@" + datarootdir="@datadir@" + datadir="@datadir@" +-installbuilddir="@installbuilddir@" +-includedir="@includedir@" ++installbuilddir="${SYSROOT}@installbuilddir@" ++includedir="${SYSROOT}@includedir@" + + CC="@CC@" + CPP="@CPP@" +@@ -183,7 +183,7 @@ while test $# -gt 0; do + --link-ld) + if test "$location" = "installed"; then + ### avoid using -L if libdir is a "standard" location like /usr/lib +- flags="$flags -L$libdir -l${APR_LIBNAME}" ++ flags="$flags -l${APR_LIBNAME}" + else + ### this surely can't work since the library is in .libs? + flags="$flags -L$APR_BUILD_DIR -l${APR_LIBNAME}" +@@ -200,7 +200,7 @@ while test $# -gt 0; do + ### avoid using -L if libdir is a "standard" location like /usr/lib + # Since the user is specifying they are linking with libtool, we + # *know* that -R will be recognized by libtool. +- flags="$flags -L$libdir -R$libdir -l${APR_LIBNAME}" ++ flags="$flags -l${APR_LIBNAME}" + else + flags="$flags $LA_FILE" + fi diff --git a/dev-libs/apr/files/config.layout.patch b/dev-libs/apr/files/config.layout.patch new file mode 100644 index 000000000000..9f650a0abe90 --- /dev/null +++ b/dev-libs/apr/files/config.layout.patch @@ -0,0 +1,25 @@ +--- a/config.layout ++++ b/config.layout +@@ -229,3 +229,22 @@ + infodir: ${exec_prefix}/share/info + libsuffix: -${APR_MAJOR_VERSION} + ++ ++# Gentoo layout ++ ++ prefix: /usr ++ exec_prefix: ${prefix} ++ bindir: ${exec_prefix}/bin ++ sbindir: ${exec_prefix}/bin ++ libdir: ${exec_prefix}/lib ++ libexecdir: ${exec_prefix}/modules ++ mandir: ${prefix}/man ++ sysconfdir: ${prefix}/conf ++ datadir: /usr/share/apr-${APR_MAJOR_VERSION} ++ installbuilddir: ${datadir}/build-${APR_MAJOR_VERSION} ++ includedir: ${prefix}/include/apr-${APR_MAJOR_VERSION} ++ localstatedir: ${prefix} ++ libsuffix: -${APR_MAJOR_VERSION} ++ ++ ++ diff --git a/dev-libs/apr/metadata.xml b/dev-libs/apr/metadata.xml new file mode 100644 index 000000000000..c6e4003aa6f7 --- /dev/null +++ b/dev-libs/apr/metadata.xml @@ -0,0 +1,12 @@ + + + + + polynomial-c@gentoo.org + Lars Wendler + + + Enable binary compatibility with older kernels + Use /dev/urandom instead of /dev/random + + diff --git a/dev-libs/argtable/Manifest b/dev-libs/argtable/Manifest new file mode 100644 index 000000000000..f960899a2555 --- /dev/null +++ b/dev-libs/argtable/Manifest @@ -0,0 +1,5 @@ +DIST argtable2-13.tar.gz 3326444 SHA256 8f77e8a7ced5301af6e22f47302fdbc3b1ff41f2b83c43c77ae5ca041771ddbf SHA512 3d8303f3ba529e3241d918c0127a16402ece951efb964d14a06a3a7d29a252812ad3c44e96da28798871e9923e73a2cfe7ebc84139c1397817d632cae25c4585 WHIRLPOOL 4927310025b4d74886deaa0e8e115be6e59a9a49a5d91ad5d80b310a2734e5d0e15665fe1f1b7b8fc5ef7009819a0fb21dca652cdc6b03668d685d10e37437b0 +EBUILD argtable-2.13.ebuild 1081 SHA256 7dc8991cac6977a505f914761eb087f415e8d87f9108853717bb524110e721ea SHA512 a00808a84cdd3dd0c1641d8c7a0a2d91072f68a2c38387d9a8f491584b2af6e313178d2d8c282065c983b5e55e56d28f6ce1b9b3ed99189a9c9985c023e6d068 WHIRLPOOL e173819fa49d3697495b47f3d615612bb8107a08eb4ba95bfa6b184f0afb03d1e563f079d6682088ff8e58a7e26d901222a987a5b9c9f824fc3fea4eb2099e63 +MISC ChangeLog 2298 SHA256 e0bfa7c4eda2f63aff766fbebe2e99b3980c8cc872ebe7f988fac193b0b7cf15 SHA512 8f458fa4576447a0252976b26e26a633c46ecddcb380e96b5c7ef0c05b8e3e28459e0bba94e37fb4a048fb64ef6df2398900ea17036c7e732022ef8c333c8ef8 WHIRLPOOL 320f805d1c9c0ce4c38e6e366b63df30a81ebb80b6054164cc71a334d476ad8694c3ac46f5de71cca065fabd6a683de51bd108605e64418ab2f355e56da076e2 +MISC ChangeLog-2015 4682 SHA256 81f101291bdaf12cf01beca3f27c57704ca5f610d9b07d19e1f24cc111872d08 SHA512 f461692baa0fd58187b4ae837cd27358150d18912480db9f87c2cb2665900a11d66899dc2a3ccaa6bbc8fd97f63b9aa2f132a2bf9db863cf9ca1f6789ada77c2 WHIRLPOOL b5e89eb71c15e04eb6b0b6322ec89350c52bb52bbe313e094375486cb42fc066f58d2f023a15c56ca1bde7600de4219192d851337e61dad510d5a903e6e2332b +MISC metadata.xml 217 SHA256 aa7ba2e2ca8083300f801a888186572b62ae1c5eb61148b12a71b00edcd11f27 SHA512 4eb7ae4e3ce2fa0c6be738235aa45c7351963720b7e5d8a293811740aa5047c6e6251b9dd43225f6fb7a425ad21d85088e4b308a22cbdce10b503cec2e68975f WHIRLPOOL f47c1c1c80efe7ea024771afe9e6d2835e3f08110b7a50ed4303a9831eef833ecedb7edf55b93a220cb670a75cec1de2be9c726714fbb80a57d11f36fad441c4 diff --git a/dev-libs/argtable/argtable-2.13.ebuild b/dev-libs/argtable/argtable-2.13.ebuild new file mode 100644 index 000000000000..eb1d1ecaed64 --- /dev/null +++ b/dev-libs/argtable/argtable-2.13.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=3 +inherit versionator + +DESCRIPTION="An ANSI C library for parsing GNU-style command-line options with minimal fuss" +HOMEPAGE="http://argtable.sourceforge.net/" + +MY_PV="$(replace_version_separator 1 '-')" +MY_P=${PN}${MY_PV} + +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="doc debug examples static-libs" + +S="${WORKDIR}/${MY_P}" + +src_configure() { + econf \ + $(use_enable debug) \ + $(use_enable static-libs static) +} + +src_install() { + emake DESTDIR="${D}" install || die "install failed" + rm -rf "${D}"/usr/share/doc/${PN}2/ + + dodoc AUTHORS ChangeLog NEWS README || die "dodoc failed" + + if use doc ; then + cd "${S}/doc" + dohtml *.html *.gif || die "dohtml failed" + dodoc *.pdf *.ps || die "dodoc failed" + fi + + if use examples ; then + cd "${S}/example" + docinto examples + dodoc Makefile *.[ch] README.txt || die "dodoc failed" + fi + + find "${ED}" -name "*.la" -delete || die "failed to delete .la files" +} diff --git a/dev-libs/argtable/metadata.xml b/dev-libs/argtable/metadata.xml new file mode 100644 index 000000000000..0abdac311443 --- /dev/null +++ b/dev-libs/argtable/metadata.xml @@ -0,0 +1,7 @@ + + + + + argtable + + diff --git a/dev-libs/asyncresolv/Manifest b/dev-libs/asyncresolv/Manifest new file mode 100644 index 000000000000..5d8ee44db238 --- /dev/null +++ b/dev-libs/asyncresolv/Manifest @@ -0,0 +1,5 @@ +DIST asyncresolv-0.0.3.tar.gz 310716 SHA256 e5141e9a7bac0b1bd743e1f596bfc15f693b1b3f19f6a81f8bd6fa6fa2757b36 SHA512 956eb5d793c58b98ddd95137c74552801131fd07cf97e5f69fec366ad6919f720023115ad50e78186f448b840446108a0f5dac9e66c650ef98fe61f0985572d4 WHIRLPOOL f9670a12802bcb7d68e94f7bd9db00d07952c67a39fb0f809800b7f4673320f1780b310c1738dace3627c4d12db5877369d562b130a1e396d8a98f5be1e466c7 +EBUILD asyncresolv-0.0.3.ebuild 568 SHA256 9beee32e0fc964edf468a90fcf772caf187fdbe029eb01564695e966cfa4ec69 SHA512 eab0dc53dee657423d50ed01263f876ca140e47e3e62cde2aa284a6bce86f76a0f84e35bab6cfc4aad48c248cfaa2c8fb0b09a97c42da57f4367c42d33cc6e2e WHIRLPOOL e27f3644e077b15b83e69a3421aecc408881f54a1ef62fb3ebb5c44494b1437f26c6cbc664dc6a735c1e5d0a2843107241ad455f9187a47401004da9d2d23202 +MISC ChangeLog 2439 SHA256 1db46acde70962e034782e3e017bd1aeb5bd80c1df0b7c05774c6255de24c663 SHA512 f95ec29761a75454c2c2337c63e8a1ef7b89a1249f9dbe8be7858b2e458fa985beef77a5de94f60b400557633064efd7862b7d0ed8c7466807b170b0b341ce06 WHIRLPOOL 1c4e53145f3c838ada8087eb7c620952b924bb0ce11fa1e6fe9d8e9efe10b6233b308751373369e953e9f7b8ee190d8a014890520a83b83ed9149f9c3b15271b +MISC ChangeLog-2015 1081 SHA256 f53b5e216361323dbcd810ed17877c8b94d66ba2e4e5ee923e927050df0cd1c8 SHA512 c80d090f335bfa453e92b5019132f7e3528f73178abe058f03c6782f3fc1488af524d2f87346cd72a87d5c870d3d9182553723229dad6393e020995b1f5a409b WHIRLPOOL e9f1bafac9005a7b5b769aed9545574a327d906eb33f6178bef22cba635dbf678979013625b144b87b34bce09a01e4514ec373b47a3c72746d35ce7e2cf3d6a3 +MISC metadata.xml 330 SHA256 b4db6fce1107cdd323760d6ab196c8af226dbb34e27308d2807544c9697fb7ee SHA512 fc09c316877aa85a374042bea824601545a6faeded6a7d762626deb27ea6dc57a6638ce1a2aeeb0b125f65af1700e2e3d2d45f9d90d7063286dc15a86028b96e WHIRLPOOL 13d9174726799cde905c9a6681dfd6d1bd56e8aec6977cce6f9e4b0d1a0789e987db79a1868feb4b56b7771abecad9d60600a4a4895cfcaa45ed62da621e5182 diff --git a/dev-libs/asyncresolv/asyncresolv-0.0.3.ebuild b/dev-libs/asyncresolv/asyncresolv-0.0.3.ebuild new file mode 100644 index 000000000000..7ada01b8eedd --- /dev/null +++ b/dev-libs/asyncresolv/asyncresolv-0.0.3.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +DESCRIPTION="Asynchronous DNS query library written in C++" +HOMEPAGE="http://asyncresolv.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~ppc x86" + +IUSE="" +DEPEND="" +RDEPEND="" + +src_unpack() { + unpack ${A} + + cd "${S}" + sed -i -e 's/-Werror//' configure +} + +src_install() { + make install DESTDIR="${D}" || die "install failed" + + dodoc AUTHORS COPYING* ChangeLog INSTALL README TODO + dohtml doc/index.html +} diff --git a/dev-libs/asyncresolv/metadata.xml b/dev-libs/asyncresolv/metadata.xml new file mode 100644 index 000000000000..eb626190773d --- /dev/null +++ b/dev-libs/asyncresolv/metadata.xml @@ -0,0 +1,11 @@ + + + + + cpp@gentoo.org + Gentoo C++ Project + + + asyncresolv + + diff --git a/dev-libs/atf/Manifest b/dev-libs/atf/Manifest new file mode 100644 index 000000000000..a528fa6b6e71 --- /dev/null +++ b/dev-libs/atf/Manifest @@ -0,0 +1,3 @@ +DIST atf-0.21.tar.gz 567791 SHA256 92bc64180135eea8fe84c91c9f894e678767764f6dbc8482021d4dde09857505 SHA512 9b4b67d7d0d1f65cc9571d38c67dfc620b08ff7c0abf57d87bcae54055b4af21f95f3363f2cf8ee9b13b89a5351bc58669b784a0fd8c1beb0664c14933c10ce1 WHIRLPOOL bb071554c9cf671ac0455bced0bb98f6040dfe4965e6652b7e75756d7c0f586f1d84e8bd9e97eceea0eabec7d6e9dac86ccc00014a05fc6ce4c92831b7e800dd +EBUILD atf-0.21.ebuild 485 SHA256 043d895c4993707e1cc9cc4409a377661dad5bbc02cc850d0e66c7370d719d0c SHA512 2316ba427639a655136f147ee5da4f20b05fb6e3ba205235bb993c15c637c6cbea03988ecfa09a70687bf65a11a56b96e0864710f29e5a762e79bd1aad1176a0 WHIRLPOOL de146224bc5c65682efa7c2eea8d00dae0e96436662df19b9c48cd21232902a8fa1e38ca5e4c3bfdce9e08e27dd9aaf39e181c55f3d06ec0fb209a08e1cf1cfa +MISC metadata.xml 246 SHA256 87fa83ef14035e5fbb6dac93f3d4afd4085e971aab6d7401ac2b6bed9e5eb84d SHA512 b6df287a6e1f18bf267a05d8eb6dea788ae7ec74de31d9cea76fea038e4090c6a83d62221505d280d55e9b314d059c409e442951d78eb3a58928307ff118147b WHIRLPOOL 1e17af59af785717b26fdd3df4e84788475fa23ad410fc7a9214c0b86c57b80b54cd66742f44ef0a29d9c96611842d57d833d41568a4859b3e2fe491d691d55a diff --git a/dev-libs/atf/atf-0.21.ebuild b/dev-libs/atf/atf-0.21.ebuild new file mode 100644 index 000000000000..efa561103dee --- /dev/null +++ b/dev-libs/atf/atf-0.21.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit ltprune + +DESCRIPTION="Libraries to write tests in C, C++ and shell" +HOMEPAGE="https://github.com/jmmv/atf" +SRC_URI="https://github.com/jmmv/atf/releases/download/${P}/${P}.tar.gz" + +LICENSE="BSD BSD-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 arm ~arm64 hppa ia64 ppc ppc64 sparc x86" +IUSE="" + +DEPEND="virtual/pkgconfig" + +src_install() { + default + prune_libtool_files +} diff --git a/dev-libs/atf/metadata.xml b/dev-libs/atf/metadata.xml new file mode 100644 index 000000000000..de09ffd8b089 --- /dev/null +++ b/dev-libs/atf/metadata.xml @@ -0,0 +1,8 @@ + + + + + floppym@gentoo.org + Mike Gilbert + + diff --git a/dev-libs/atk/Manifest b/dev-libs/atk/Manifest new file mode 100644 index 000000000000..01ad784c1eb6 --- /dev/null +++ b/dev-libs/atk/Manifest @@ -0,0 +1,7 @@ +DIST atk-2.22.0.tar.xz 745572 SHA256 d349f5ca4974c9c76a4963e5b254720523b0c78672cbc0e1a3475dbd9b3d44b6 SHA512 af3f6197eb97de869ee706f19564449b02c1444c413e5418323e4bf4c8cf1d98c7c8baa25189f6879d63606d4bc75f33799cb901f4697c087e868bb9a5643cba WHIRLPOOL aec1b3944101532b6330f66f2094d3d821a30da10e07d3ba1b793b9063ef18ce8790faa3d016927fe2dd8383c4b5cba9ac4d85244f83fbb73bd06077c299e851 +DIST atk-2.24.0.tar.xz 748972 SHA256 bb2daa9a808c73a7a79d2983f333e0ba74be42fc51e3ba1faf2551a636487a49 SHA512 3ae0a4d5f28d5619d465135c685161f690732053bcb70a47669c951fbf389b5d2ccc5c7c73d4ee8c5a3b2df14e2f5b082e812a215f10a79b27b412d077f5e962 WHIRLPOOL 1db8a9bc87021dbfbde769c54e7f1b5547db00138f67690026f948b0202cfec6a29a5c9d3fa7fc19e53c67f973dd57160d0d664c68d1dc27aad88e5be4cc3fa1 +EBUILD atk-2.22.0.ebuild 1428 SHA256 d1005ec15ec1d2870b6ce16917e51e9a9dc0b4b083e19a3492ad2af5d8c44a45 SHA512 64ed9a17da2175f795a0abce2ef28d246f242990962fef66002fab227d5553bc89ca4dbdb779c2a29a1c59e34f3f04260f8669405a9cdd166b76cf2dd9ae6652 WHIRLPOOL d14d0eed40df7e4e6bd550537e170a93068cea777b516299fbde1f3d2424c773bcbb529d9454f5e28bab65182583c4de63596464fa434e761e57618efca11a38 +EBUILD atk-2.24.0.ebuild 1437 SHA256 e2c5aadeb4a5f50ce8868b8088d1fa419e80c0de50c96c6e9374f827e4924032 SHA512 81bb0275c12a2338559ee180b43b82b85bec05e65c88119bac0df70716548e7037607824022c40e213d5f129787c6a25f08098327d962af9ae6acf6cf9985a60 WHIRLPOOL 47665f926d26b5cdce1aec408d0f4535f27f9a740aef2c4de54fef777feaf2dbee2f82cf3be89bfed6883de959bd319e9aef2d677068a96622fbcc6e2dac316d +MISC ChangeLog 6680 SHA256 a789bc7c36803941d7a57fdd083acb3d090f7e232272b1e0077a363e887d6811 SHA512 f099a63f3eebcd19da0b59e62e0d5a10f01e099608063acb2502074c140fdddde3b7dd6d0e0e5034b9a0145596d1930926cec8850a92a4f5ab2ad882374b5bd4 WHIRLPOOL fc5c6770c48c37930523993b83a3812c10b9fe7efb129292f14c91daa64e1f2f5c446054687fc31a594de4d9d6f3febd0e54b3003419607ee830e684afe45a6f +MISC ChangeLog-2015 33684 SHA256 6f0e97f94f2d9f2b9ea084044af16930968da7155e2ef5b49c3461376a8bb573 SHA512 e0f1babd97c440255dd2ad0cb98add77ac3138ced6ad7157f38959d39ba79669583377e0751f3226b9afe89e522d601f7d9e6d1c9f4899dce1d2a6822eaa9e25 WHIRLPOOL a3035be90ba9b622c5062154405a1c873f0f62e98ae95f3032d62a5a6b7ed3fbe0f4f5691dffd3619d0f28320b2c36f68791ca5a96d18ddd47a40bf1cc65c91d +MISC metadata.xml 249 SHA256 4505b0bfeadff287958620b7dc7b7209699065a8f17139a237a5dd409a726a97 SHA512 c40662134899a5c9f0369a1017806f35adf3280a0b3c91726f7a8ca6012a073a8b471583f5bfb6fe95faac1dcf607e8e2e43f8c91d48ec46f4a8824e2f551506 WHIRLPOOL 333a938ee1d2124595596c572697bf5ebad523a92ba12005cfb12e6bb6270881a94a911f0cc9c1cf2bb571559e8271e07dfd307dabe50058236dbe7103562b92 diff --git a/dev-libs/atk/atk-2.22.0.ebuild b/dev-libs/atk/atk-2.22.0.ebuild new file mode 100644 index 000000000000..96f8672f4347 --- /dev/null +++ b/dev-libs/atk/atk-2.22.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit gnome2 multilib-minimal + +DESCRIPTION="GTK+ & GNOME Accessibility Toolkit" +HOMEPAGE="https://wiki.gnome.org/Accessibility" + +LICENSE="LGPL-2+" +SLOT="0" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" +IUSE="+introspection nls test" + +RDEPEND=" + >=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}] + introspection? ( >=dev-libs/gobject-introspection-0.6.7:= ) +" +DEPEND="${RDEPEND} + >=dev-lang/perl-5 + dev-util/gtk-doc-am + >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] + nls? ( >=sys-devel/gettext-0.19.2 ) +" + +src_prepare() { + gnome2_src_prepare + + if ! use test; then + # don't waste time building tests (bug #226353) + sed 's/^\(SUBDIRS =.*\)tests\(.*\)$/\1\2/' -i Makefile.am Makefile.in \ + || die "sed failed" + fi + + # Building out of sources fails, https://bugzilla.gnome.org/show_bug.cgi?id=752507 + multilib_copy_sources +} + +multilib_src_configure() { +# ECONF_SOURCE=${S} \ + gnome2_src_configure \ + $(multilib_native_use_enable introspection) + + # work-around gtk-doc out-of-source brokedness +# if multilib_is_native_abi; then +# ln -s "${S}"/docs/html docs/html || die +# fi +} + +multilib_src_install() { + gnome2_src_install +} diff --git a/dev-libs/atk/atk-2.24.0.ebuild b/dev-libs/atk/atk-2.24.0.ebuild new file mode 100644 index 000000000000..08f8c3c3323a --- /dev/null +++ b/dev-libs/atk/atk-2.24.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit gnome2 multilib-minimal + +DESCRIPTION="GTK+ & GNOME Accessibility Toolkit" +HOMEPAGE="https://wiki.gnome.org/Accessibility" + +LICENSE="LGPL-2+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" +IUSE="+introspection nls test" + +RDEPEND=" + >=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}] + introspection? ( >=dev-libs/gobject-introspection-0.6.7:= ) +" +DEPEND="${RDEPEND} + >=dev-lang/perl-5 + dev-util/gtk-doc-am + >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] + nls? ( >=sys-devel/gettext-0.19.2 ) +" + +src_prepare() { + gnome2_src_prepare + + if ! use test; then + # don't waste time building tests (bug #226353) + sed 's/^\(SUBDIRS =.*\)tests\(.*\)$/\1\2/' -i Makefile.am Makefile.in \ + || die "sed failed" + fi + + # Building out of sources fails, https://bugzilla.gnome.org/show_bug.cgi?id=752507 + multilib_copy_sources +} + +multilib_src_configure() { +# ECONF_SOURCE=${S} \ + gnome2_src_configure \ + $(multilib_native_use_enable introspection) + + # work-around gtk-doc out-of-source brokedness +# if multilib_is_native_abi; then +# ln -s "${S}"/docs/html docs/html || die +# fi +} + +multilib_src_install() { + gnome2_src_install +} diff --git a/dev-libs/atk/metadata.xml b/dev-libs/atk/metadata.xml new file mode 100644 index 000000000000..39980802b1da --- /dev/null +++ b/dev-libs/atk/metadata.xml @@ -0,0 +1,8 @@ + + + + + gnome@gentoo.org + Gentoo GNOME Desktop + + diff --git a/dev-libs/bareos-fastlzlib/Manifest b/dev-libs/bareos-fastlzlib/Manifest new file mode 100644 index 000000000000..304ad1a52908 --- /dev/null +++ b/dev-libs/bareos-fastlzlib/Manifest @@ -0,0 +1,7 @@ +DIST bareos-fastlzlib-0_pre20140912.zip 379089 SHA256 27f72b2fa9aba927d61020dc3de2e5ce1c1b2384317b933f0a116d11029fb9dc SHA512 94b9bd1c599b65d2dc074beb77fb8fe4139647bb047bcfd52b36126dd95ddb3e3e88cdb10464631594ebaff18405446a566fed4eb83ba08e71894de5a47d019f WHIRLPOOL 7fe17ce26f053f741d9d033b5bbdb5e233bd8b55b919cb582524d42f87b661aff34c6c68f76944c186ffacb1f98768265d93421e3097853c5234109d344a1d90 +DIST bareos-fastlzlib-0_pre20150524.zip 379650 SHA256 2649134f07e01d49e719d15a22674e39450d6074120c9cc63c54eb7aef58aa3b SHA512 cf4b657ce27fad7bf8e0ed5183507f544783f4cf9d72a50754ecdce9784095ec110b51cc22c164610dc037f23a30f945a9c69e38c6cc8e55cf7691ac2b473bc8 WHIRLPOOL dea0b0e8efd53d634712ed6f76c6c456f773ece6897d1af3a717b3ad1d5ca054857632aafc9c8cf27e9e237725111fab52cc4a2c0ceb7d0b2c86d41342041856 +EBUILD bareos-fastlzlib-0_pre20140912.ebuild 615 SHA256 8e360c26e51f24353c678abedc026f151f24a582a66f0a81412e642282143ef6 SHA512 51c5e2109974113773650383ecbd6d1b659573c5459c15205d883f23ccbdf60a2a9db25cc8b40fcce0449d3635732e282b6ee4f477c1cd45beec7914fc6a53c8 WHIRLPOOL afb1c2ca3fb53332647577ff1a9854e32645cb5bd7dd641625b4394b90e8e4c81e2b713fab912b5796f6f2e1da8a06e2bc810667724a640a114452969edfeeb1 +EBUILD bareos-fastlzlib-0_pre20150524.ebuild 615 SHA256 8e360c26e51f24353c678abedc026f151f24a582a66f0a81412e642282143ef6 SHA512 51c5e2109974113773650383ecbd6d1b659573c5459c15205d883f23ccbdf60a2a9db25cc8b40fcce0449d3635732e282b6ee4f477c1cd45beec7914fc6a53c8 WHIRLPOOL afb1c2ca3fb53332647577ff1a9854e32645cb5bd7dd641625b4394b90e8e4c81e2b713fab912b5796f6f2e1da8a06e2bc810667724a640a114452969edfeeb1 +MISC ChangeLog 2502 SHA256 15ff4fe50b997fe620a74fe8731011621ea8435d6120e7b7783f3caf2f57c284 SHA512 6fbdbfb09055264e5e854b8ec7d8b2551687919a3f2277073a1b08fcd59d30e3da076b79b1ca7590f32601683a916530a9690bb60b740e3ed69845c68ad413e8 WHIRLPOOL afb37031ca76c57c0a42c66dfb7deea6ee560810a4f126d44c2f77fbeb39f9937d566cd98fc4b8481d3615fd50a3a9eefe5c9cb615da5652278bab1eaccab3ce +MISC ChangeLog-2015 505 SHA256 97007bcc54e7261914ac2abc6294b4b3d903318c1887b8c3d0bd08d0d8c72b3c SHA512 848821546141ac625a98bbc32318bbabc0f8bcf9c43a2ba947e3a06eff0aa775ed9dbef2f5d9491a4a8bcfb8fe4164a73ffd670ed38606d87de1f619a0eb2636 WHIRLPOOL 790ec1a6a1e24ee01ec062ea2326c333b0640063992dd5e1e4f493d1cbc1d4882b504d1dbbe735f0bd5e7159b1de90cf3b5576c585131b50eb0ba1468e948610 +MISC metadata.xml 341 SHA256 ed67c6e2bf9f1d675852062134ca9302de486407e1fa41798c4e82d302af2354 SHA512 42a17b883b1b739d4c8a916ca7fb1791467ae306a51b37d003b621b4d63bbf23e764c1b9e6628bfa32910e1bed2440e2f87e214bdde2db3a26a3d24f7b1cf1bc WHIRLPOOL 5674503ced2e948f16b9e17fc3e1e678f2cd5bf9fe7615f0c51cebdf414b08d159a6bcddc1705de8d7af47b882bc621a3df36c5c029173f2f4c9b50c3c3eca0b diff --git a/dev-libs/bareos-fastlzlib/bareos-fastlzlib-0_pre20140912.ebuild b/dev-libs/bareos-fastlzlib/bareos-fastlzlib-0_pre20140912.ebuild new file mode 100644 index 000000000000..b748fee355af --- /dev/null +++ b/dev-libs/bareos-fastlzlib/bareos-fastlzlib-0_pre20140912.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils + +DESCRIPTION="Fork of zlib-like interface to fast block compression (LZ4 or FastLZ) libraries" +HOMEPAGE="https://github.com/bareos/fastlzlib" +SRC_URI="https://dev.gentoo.org/~mschiff/distfiles/${P}.zip" + +LICENSE="BSD-1 BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND} + !app-arch/lz4 +" + +S="${WORKDIR}/fastlzlib-master" + +src_install() { + emake DESTDIR="${D}" install + find "${D}" -name '*.la' -delete + find "${D}" -type d -name libfastlz -exec rm -rf {} + +} diff --git a/dev-libs/bareos-fastlzlib/bareos-fastlzlib-0_pre20150524.ebuild b/dev-libs/bareos-fastlzlib/bareos-fastlzlib-0_pre20150524.ebuild new file mode 100644 index 000000000000..b748fee355af --- /dev/null +++ b/dev-libs/bareos-fastlzlib/bareos-fastlzlib-0_pre20150524.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils + +DESCRIPTION="Fork of zlib-like interface to fast block compression (LZ4 or FastLZ) libraries" +HOMEPAGE="https://github.com/bareos/fastlzlib" +SRC_URI="https://dev.gentoo.org/~mschiff/distfiles/${P}.zip" + +LICENSE="BSD-1 BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND} + !app-arch/lz4 +" + +S="${WORKDIR}/fastlzlib-master" + +src_install() { + emake DESTDIR="${D}" install + find "${D}" -name '*.la' -delete + find "${D}" -type d -name libfastlz -exec rm -rf {} + +} diff --git a/dev-libs/bareos-fastlzlib/metadata.xml b/dev-libs/bareos-fastlzlib/metadata.xml new file mode 100644 index 000000000000..efb7527f06c0 --- /dev/null +++ b/dev-libs/bareos-fastlzlib/metadata.xml @@ -0,0 +1,11 @@ + + + + + mschiff@gentoo.org + Marc Schiffbauer + + + bareos/fastlzlib + + diff --git a/dev-libs/bcm2835/Manifest b/dev-libs/bcm2835/Manifest new file mode 100644 index 000000000000..e4c5a6f7b5b3 --- /dev/null +++ b/dev-libs/bcm2835/Manifest @@ -0,0 +1,7 @@ +DIST bcm2835-1.46.tar.gz 251302 SHA256 fc6b0412525e6b7e85aeffec67e2d01a99fb906346620041e6684d59ea5517a7 SHA512 32a6c7ee2a023a3d0bb0a6863b15d1e708414b10baae591bd98ce6e9a71e88e39b9c84bbb9a1017f4ed7e3f71879fe54d50d2099b444165997bf304345795b30 WHIRLPOOL 1cbb3f6ebe5abb3df9a8bd0f4120e43ee32248048737194a032a51c170a74079a1960a541c49552e51ed5326a3dbd7bb606e9d16831fd81e543079ae02a5a19e +DIST bcm2835-1.52.tar.gz 258007 SHA256 b9fd10f7a80aadaed28a77168709b7c519568a63b6e98d0a50e9c5fe31bea6bb SHA512 5a6c608ed10169b0bcf9dab91dc0193b9fd16814c5c6bb18ea242b36ac803e56c49147721ed48c83ff72892683be6032f2e85bcc76dae523e5d79a5ae52f5154 WHIRLPOOL 186a3add0f9804a9040ec627c242d920db4f6b74800857b59da1f8ee240bbc694d4779ea2de0a5e8b5c5c0f7542cd29db97cde92dc2edce776f61d829ce4b08d +EBUILD bcm2835-1.46.ebuild 539 SHA256 3fd03090ea2a2ed4275a51a05a377d79822ae155723349053562d4d5fef8fe87 SHA512 f92c4363e346045d461aa56fef6145e23b1fe192df33c6b59df4778bb96c1c7d94aa43e05a7dd203941981eaacd16709d43235bf3121c30f6623e91b0d6c08b4 WHIRLPOOL 042eb793e24312f416395358f714f1e63512c7b1abe5b503ac56859c080e1a416b49f16fc3176dadee17273797d6f6de1a4f8c516626302bb69859e417352838 +EBUILD bcm2835-1.52.ebuild 579 SHA256 6cf8f941f17dde3b0fc8d8e5d65bb8a8142b704ded9e1034f1b7d74420f09b61 SHA512 1d24a860e1051ab855133d7b17f1ebb590b91aaf03078e69dded8c8d51f90c8f9ca66002470081a54d7b7bc4732078845fa04c84186aa8d7ee20c14c30bb5a4e WHIRLPOOL 2d1c9a6d236d436f3375687dcbb4d81e5879a4d7c88a85914198504c923c2c7ece79c154a8fab2e28c7e1e58fa77fbb7062c8720b4ff3d289037f4b3e784c95e +MISC ChangeLog 2887 SHA256 ba34536d76233a19919b1abd42467c8007336334e399df47d8573f95559e1998 SHA512 8de5e7eff545f219e93c05b030652efb2131014ec4430bab5364f72c72258cfa95fdd97b1846651aebb19c6162d88efef26fa93da3c3eb96ac11e658bb77ec4b WHIRLPOOL 8f2609f50af493c96a6734e3add8674fe45ad5d985ba1ee330cb6498e6b8a91dc2f0c17ddf87cdce9924187d095aba576545434a2f4229b9ef2bb95ea73b3c49 +MISC ChangeLog-2015 2121 SHA256 b1316da9de9dce22f12bbd8b3c6c70b6d54ca8f92e790b49ac0e40663b401dee SHA512 aafa2617b922aa7de731c9c130bc700e1a0d73223d66784dbf678ad9f9d96059b83d391d36148496ed2478035454d551bbcef8f8607424bd4d017a17243a333f WHIRLPOOL 89f0628fbe4c9d5c748079dbc5938146953cd926f7f2ef2ad31d207d41ae82d62ffda880ea5240eef82616ad1aa6c5c55e87e743b7754834dd4fbd6f4b41d0f3 +MISC metadata.xml 266 SHA256 76cc9d0b53488ed4cb6c14c37b32f0d5ee6a337e209f13dcdacdfbc0c8750bba SHA512 4da13e3e2134d06372d9bdc1de80cef972ac5db82e7ee8b3cfe620712610fd863c9037a6b8c84ee7a6c8eb8f0cb52568f040474eddb73a7afa07b5a53f512ac5 WHIRLPOOL 8361293f9fb11196804aafba7dff1ac177d9a5fe90d232ec69186838edd7796fd30f7ed56091753e04a68ac71b32be6c700b402fc1c7cb0774a71ffb90f349a7 diff --git a/dev-libs/bcm2835/bcm2835-1.46.ebuild b/dev-libs/bcm2835/bcm2835-1.46.ebuild new file mode 100644 index 000000000000..fbdb2b15b36d --- /dev/null +++ b/dev-libs/bcm2835/bcm2835-1.46.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +DESCRIPTION="Provides access to GPIO and other IO functions on the Broadcom BCM2835" +HOMEPAGE="http://www.airspayce.com/mikem/bcm2835/" +SRC_URI="http://www.airspayce.com/mikem/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~arm" +IUSE="doc examples" + +DEPEND="doc? ( app-doc/doxygen )" +RDEPEND="" + +src_install() { + default + if use examples; then + dodoc -r examples + fi + if use doc; then + dohtml -r doc/html/. + fi +} diff --git a/dev-libs/bcm2835/bcm2835-1.52.ebuild b/dev-libs/bcm2835/bcm2835-1.52.ebuild new file mode 100644 index 000000000000..df21044d8808 --- /dev/null +++ b/dev-libs/bcm2835/bcm2835-1.52.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +DESCRIPTION="Provides access to GPIO and other IO functions on the Broadcom BCM2835" +HOMEPAGE="http://www.airspayce.com/mikem/bcm2835/" +SRC_URI="http://www.airspayce.com/mikem/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~arm" +IUSE="doc examples" + +DEPEND="doc? ( app-doc/doxygen )" +RDEPEND="" + +src_install() { + use doc && HTML_DOCS=( doc/html/. ) + if use examples; then + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi + default +} diff --git a/dev-libs/bcm2835/metadata.xml b/dev-libs/bcm2835/metadata.xml new file mode 100644 index 000000000000..6dde16e5c4b6 --- /dev/null +++ b/dev-libs/bcm2835/metadata.xml @@ -0,0 +1,8 @@ + + + + + chithanh@gentoo.org + Chí-Thanh Christopher Nguyễn + + diff --git a/dev-libs/beecrypt/Manifest b/dev-libs/beecrypt/Manifest new file mode 100644 index 000000000000..9ee88cb5d783 --- /dev/null +++ b/dev-libs/beecrypt/Manifest @@ -0,0 +1,8 @@ +AUX beecrypt-4.2.1-build-system.patch 3796 SHA256 98eb6ff5991988563bc33c431379443ac13fde2b23d9cc9e5ee0bd7c470f504b SHA512 6f13707e238cd2602c1482554381fc4ffb59d367fc095453ae05c7bc17438552745b304ce2ad5c071a367a0a90809173682676a392396521e20006f214db0c46 WHIRLPOOL aa8b7b454635b46fb238505a7a2f2e051943ca956fb7093a6b0e45e0fc93b5a0cd22ee16ebcf8d85b198dda4713744c112a5ee64efe70a82970eca5aeef86f13 +AUX beecrypt-4.2.1-c++11-allow-throw-in-destructors.patch 734 SHA256 8d8325702a0d74e0994f050c2e3c755e416d8c7abbb5e35875fc1d309d3cf4e8 SHA512 b6963a089587ecb495f097a890b57375f4580308f935424883ec0e694bf88848cded2e8108edc01f0887b6a8151437c94b7a2cd5bbdc48df151e16ea4755d2e4 WHIRLPOOL b3903b13e7214ee87e09588d5d4154c564001c1fad11b088b2d7b24cd5cc4cf9d9c6c598c1bc801d042eb56f92e1e2a35a3f1d277d8716bed918cb901f8dcca2 +AUX beecrypt-4.2.1-gcc-4.7.patch 262 SHA256 0266bf634f142753023737667cff3ad1d1a9bfc880a09ecfe02ff87b300de74e SHA512 908d688ae29f23a3f67cb1ddf8d2f5277853abbf6fe291e371fa8595b8c6c5e4293c1c15b80171270639b9d4f092b4602bbd5144448c4f19ff958d5522edbc77 WHIRLPOOL d55cd8fa4e95e3d49286582f99a99d5de8f1d778460ddafcba28b37b1d57da9821a7b1b48fbbd0a07f2ec10d21e946b2113a9dc73f60b686c3c917a8458e5af3 +DIST beecrypt-4.2.1.tar.gz 882758 SHA256 286f1f56080d1a6b1d024003a5fa2158f4ff82cae0c6829d3c476a4b5898c55d SHA512 59995d53c024efe6344a21ac0d6d55fbe652488a4a22cc6719f9fc3851d56697fa8738937d48aa1e6f9ebe749de61ac3c79a5f0cea793872213c3bdf922e71bc WHIRLPOOL c4a0371d8e2cf37194800867c58e77d72bb59ab464fdff9c561230ece0f288dabdebfdd0ac13382c9ebe45b455ffbfdd81e6a15969dcb86d3d8c8e6635e294bb +EBUILD beecrypt-4.2.1-r4.ebuild 2054 SHA256 ed2778747f43b659067c1bce5c8e8abde8c78fb2e95d57a11dc64412c3a7ca75 SHA512 b131f25372dec86dd22c57163a855d560db8b28a222711b40827e4b156c3469c8900fcc77386a36602068661cd0733e08358de52608aeafe656969bf6f59a289 WHIRLPOOL c6276b2ff4d718f91de834d768b99ad64e9cc8ce43d1f88f6c1aa3e3a3288eb0851bedc2de8a3698c7882f1af81c6debfacd71163aa682bbfc3df726d87251b0 +MISC ChangeLog 4900 SHA256 192df2b6640d31b0548a56c489f7a9978d9ac782921b02bbe4406379a880adaa SHA512 7986459cb2f5f4c12fa4e24c87d313405aaa3e5d1bcf17adb28f799ad54494455a2bde0332df109697318e87b7f75859775cc95028d80f3aaf6f8a70fbf3630e WHIRLPOOL f54452e39d9512a4cc13a55a0824e7dd7674ed1fdc869beceb99b872d95319def9feb8ce5f9d93743230cd5b16834d71fc1e612acc567066117d8ef0bd75e01e +MISC ChangeLog-2015 14310 SHA256 f57b44faf3d91076c17c21e8ff41d1c555a087d494aec3535a0824f509082002 SHA512 9abf570b1673e783071e460acc36e4828dc46875a6460e1894258dea3dfb4c38a32a86a7913dd68bcc43320ab18af4eb0828d85f6fe1f3b3cbc1428d956f40ca WHIRLPOOL 4e0844b4ae963691bdc2c29e5e5a66158c283701131053d481af0313c78f63db9af79c3e376fdb5523429966643073794ccad4779bf15addc28b936f020baca6 +MISC metadata.xml 245 SHA256 9640c8bf9bec5a56feff5fdb971cfc8615d4e85949b8d76881711408bcf30efb SHA512 7da531ddd382748b46b2be3d6324c0f654e772ca0d1b87884a5de0ae1f4cf8a6e32d9cd0e4b87b7fd632aa176f873d7e315adbb974c367b4539045fdeffde98b WHIRLPOOL 54bb3499ea9031e5a39f55add3a8e7e72c3d499a3f54d4dd762e5128bac462ec295b354a6c66a3972d39b0cc07b8499cce0dc97666f65b6c9ad72fab7d2aca53 diff --git a/dev-libs/beecrypt/beecrypt-4.2.1-r4.ebuild b/dev-libs/beecrypt/beecrypt-4.2.1-r4.ebuild new file mode 100644 index 000000000000..4d835cb2cd94 --- /dev/null +++ b/dev-libs/beecrypt/beecrypt-4.2.1-r4.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) + +inherit autotools java-pkg-opt-2 python-single-r1 + +DESCRIPTION="General-purpose cryptography library" +HOMEPAGE="https://sourceforge.net/projects/beecrypt/" +SRC_URI="mirror://sourceforge/beecrypt/${P}.tar.gz" + +LICENSE="GPL-2 LGPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ~ia64 ppc ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos" +IUSE="+threads java cxx python static-libs doc" +REQUIRED_USE="cxx? ( threads ) + python? ( ${PYTHON_REQUIRED_USE} )" + +COMMON_DEPEND="!=dev-libs/icu-2.8:= ) + python? ( ${PYTHON_DEPS} )" + +DEPEND="${COMMON_DEPEND} + java? ( >=virtual/jdk-1.4 ) + doc? ( app-doc/doxygen + virtual/latex-base + dev-texlive/texlive-fontsextra + )" +RDEPEND="${COMMON_DEPEND} + java? ( >=virtual/jre-1.4 )" + +DOCS=( BUGS README BENCHMARKS NEWS ) +PATCHES=( + "${FILESDIR}"/${P}-build-system.patch + "${FILESDIR}"/${P}-gcc-4.7.patch + + # Fixes bug 596904 + "${FILESDIR}"/${P}-c++11-allow-throw-in-destructors.patch +) + +pkg_setup() { + use python && python-single-r1_pkg_setup + use java && java-pkg-opt-2_pkg_setup +} + +src_prepare() { + default + eautoreconf +} + +src_configure() { + # cplusplus needs threads support + econf \ + --disable-expert-mode \ + $(use_enable static-libs static) \ + $(use_enable threads) \ + $(use_with python python "${PYTHON}") \ + $(use_with cxx cplusplus) \ + $(use_with java) +} + +src_compile() { + default + + if use doc; then + pushd include/beecrypt >/dev/null || die + doxygen || die "doxygen failed" + popd >/dev/null || die + HTML_DOCS=( docs/html/*.{css,html,js,png} ) + fi +} + +src_test() { + export BEECRYPT_CONF_FILE="${T}/beecrypt-test.conf" + echo "provider.1=${S}/c++/provider/.libs/base.so" > "${BEECRYPT_CONF_FILE}" || die + emake check bench +} + +src_install() { + default + + if use python; then + rm -f "${D%/}$(python_get_sitedir)"/_bc.*a || die + fi + if ! use static-libs; then + find "${D}" -name '*.la' -delete || die + fi +} diff --git a/dev-libs/beecrypt/files/beecrypt-4.2.1-build-system.patch b/dev-libs/beecrypt/files/beecrypt-4.2.1-build-system.patch new file mode 100644 index 000000000000..e35095f53b6e --- /dev/null +++ b/dev-libs/beecrypt/files/beecrypt-4.2.1-build-system.patch @@ -0,0 +1,160 @@ +--- beecrypt-4.2.1/configure.ac ++++ beecrypt-4.2.1/configure.ac +@@ -11,7 +11,7 @@ + + # Checks for package options + AC_ARG_ENABLE(expert-mode, [ --enable-expert-mode follow user-defined CFLAGS settings [[default=no]]],[ +- ac_enable_expert_mode=yes ++ ac_enable_expert_mode=$enableval + ],[ + if test "X$CFLAGS" != "X"; then + echo "enabling expert mode" +@@ -25,7 +25,7 @@ + if test "$ac_enable_expert_mode" = yes; then + AC_MSG_ERROR([--enable-debug cannot be used in conjunction with --enable-expert-mode]) + fi +- ac_enable_debug=yes ++ ac_enable_debug=$enableval + ],[ + ac_enable_debug=no + ]) +@@ -456,7 +456,7 @@ + ac_cv_python_include="-I`$PYTHON -c 'import distutils.sysconfig; print distutils.sysconfig.get_python_inc()'`" + ]) + AC_CACHE_CHECK([where to install python libraries], ac_cv_python_libdir, [ +- ac_cv_python_libdir=`$PYTHON -c 'import distutils.sysconfig; print distutils.sysconfig.get_python_lib()'` ++ ac_cv_python_libdir=`$PYTHON -c 'import distutils.sysconfig; print distutils.sysconfig.get_python_lib(1, 0)'` + ]) + fi + fi +--- beecrypt-4.2.1/acinclude.m4 ++++ beecrypt-4.2.1/acinclude.m4 +@@ -498,15 +498,6 @@ AC_DEFUN([BEE_GNU_CC],[ + AC_SUBST(OPENMP_LIBS,"-lgomp") + fi + case $bc_target_arch in +- x86_64 | athlon64 | athlon-fx | k8 | opteron | em64t | nocona) +- CC="$CC -m64" +- ;; +- i[[3456]]86 | \ +- pentium* | \ +- athlon*) +- CC="$CC -m32" +- CCAS="$CCAS -m32" +- ;; + ia64) + case $target_os in + # HP/UX on Itanium needs to be told that a long is 64-bit! +@@ -525,17 +516,8 @@ AC_DEFUN([BEE_GNU_CC],[ + aix*) + CC="$CC -maix64" + ;; +- linux*) +- CC="$CC -m64" +- ;; + esac + ;; +- sparc | sparcv8*) +- CC="$CC -m32" +- ;; +- sparc64 | sparcv9*) +- CC="$CC -m64" +- ;; + esac + # Certain platforms needs special flags for multi-threaded code + if test "$ac_enable_threads" = yes; then +@@ -646,14 +646,6 @@ dnl BEE_GNU_CXX + AC_DEFUN([BEE_GNU_CXX],[ + AC_REQUIRE([AC_PROG_CXX]) + case $bc_target_arch in +- x86_64 | athlon64 | athlon-fx | k8 | opteron | em64t | nocona | core2) +- CXX="$CXX -m64" +- ;; +- i[[3456]]86 | \ +- pentium* | \ +- athlon*) +- CXX="$CXX -m32" +- ;; + ia64) + case $target_os in + # HP/UX on Itanium needs to be told that a long is 64-bit! +@@ -672,17 +664,8 @@ AC_DEFUN([BEE_GNU_CXX],[ + aix*) + CXX="$CXX -maix64" + ;; +- linux*) +- CXX="$CXX -m64" +- ;; + esac + ;; +- sparc | sparcv8*) +- CXX="$CXX -m32" +- ;; +- sparc64 | sparcv9*) +- CXX="$CXX -m64" +- ;; + esac + # Certain platforms needs special flags for multi-threaded code + if test "$ac_enable_threads" = yes; then +--- beecrypt-4.2.1/java/Makefile.am ++++ beecrypt-4.2.1/java/Makefile.am +@@ -26,7 +26,7 @@ + + INCLUDES = -I$(top_srcdir)/include + +-libaltdir=$(prefix)/lib@LIBALT@ ++libaltdir=$(libdir) + + libalt_LTLIBRARIES = libbeecrypt_java.la + +--- beecrypt-4.2.1/acinclude.m4 ++++ beecrypt-4.2.1/acinclude.m4 +@@ -1589,20 +1589,5 @@ + AC_SUBST(TYPEDEF_BC_THREADID_T,$bc_typedef_bc_threadid_t) + ]) +- +-AH_BOTTOM([ +-#if ENABLE_THREADS +-# ifndef _REENTRANT +-# define _REENTRANT +-# endif +-# if LINUX +-# define _LIBC_REENTRANT +-# endif +-#else +-# ifdef _REENTRANT +-# undef _REENTRANT +-# endif +-#endif +-]) + + + dnl BEE_THREAD_LOCAL_STORAGE +@@ -1623,7 +1609,5 @@ + ]) + + AH_BOTTOM([ +-#if !ENABLE_THREAD_LOCAL_STORAGE +-# define __thread +-#endif ++#include "config.threads.h" + ]) +--- beecrypt-4.2.1/config.threads.h ++++ beecrypt-4.2.1/config.threads.h +@@ -0,0 +1,16 @@ ++#if ENABLE_THREADS ++# ifndef _REENTRANT ++# define _REENTRANT ++# endif ++# if LINUX ++# define _LIBC_REENTRANT ++# endif ++#else ++# ifdef _REENTRANT ++# undef _REENTRANT ++# endif ++#endif ++ ++#if !ENABLE_THREAD_LOCAL_STORAGE ++# define __thread ++#endif diff --git a/dev-libs/beecrypt/files/beecrypt-4.2.1-c++11-allow-throw-in-destructors.patch b/dev-libs/beecrypt/files/beecrypt-4.2.1-c++11-allow-throw-in-destructors.patch new file mode 100755 index 000000000000..0cb291d8ff15 --- /dev/null +++ b/dev-libs/beecrypt/files/beecrypt-4.2.1-c++11-allow-throw-in-destructors.patch @@ -0,0 +1,26 @@ +--- beecrypt-4.2.1/include/beecrypt/c++/lang/Object.h.old 2016-10-12 18:40:10.878868563 -0400 ++++ beecrypt-4.2.1/include/beecrypt/c++/lang/Object.h 2016-10-12 19:17:22.508857979 -0400 +@@ -145,7 +145,11 @@ + waiter* prev; + + waiter(bc_threadid_t owner, unsigned int lock_count); ++#if __cplusplus < 201103L + ~waiter(); ++#else ++ ~waiter() noexcept(false); ++#endif + }; + + waiter* _lock_head; +--- beecrypt-4.2.1/c++/lang/Object.cxx.old 2016-10-12 18:40:39.024665316 -0400 ++++ beecrypt-4.2.1/c++/lang/Object.cxx 2016-10-12 19:14:41.630529720 -0400 +@@ -767,6 +767,9 @@ + } + + Object::FairMonitor::waiter::~waiter() ++#if __cplusplus >= 201103L ++noexcept(false) ++#endif + { + #if WIN32 + if (!CloseHandle(event)) diff --git a/dev-libs/beecrypt/files/beecrypt-4.2.1-gcc-4.7.patch b/dev-libs/beecrypt/files/beecrypt-4.2.1-gcc-4.7.patch new file mode 100644 index 000000000000..dff5d8c04ab9 --- /dev/null +++ b/dev-libs/beecrypt/files/beecrypt-4.2.1-gcc-4.7.patch @@ -0,0 +1,11 @@ +--- a/include/beecrypt/c++/util/AbstractSet.h ++++ b/include/beecrypt/c++/util/AbstractSet.h +@@ -56,7 +56,7 @@ + if (c->size() != size()) + return false; + +- return containsAll(*c); ++ return this->containsAll(*c); + } + return false; + } diff --git a/dev-libs/beecrypt/metadata.xml b/dev-libs/beecrypt/metadata.xml new file mode 100644 index 000000000000..69ec19c5857b --- /dev/null +++ b/dev-libs/beecrypt/metadata.xml @@ -0,0 +1,8 @@ + + + + + + beecrypt + + diff --git a/dev-libs/beignet/Manifest b/dev-libs/beignet/Manifest new file mode 100644 index 000000000000..9364e7007342 --- /dev/null +++ b/dev-libs/beignet/Manifest @@ -0,0 +1,11 @@ +AUX beignet-1.2.0_no-hardcoded-cflags.patch 721 SHA256 b9ee9bc0efdccbd8dc77a53c18d48f8141f13bc53e011dd0a6a91ac3b012d363 SHA512 fdb922091986a60a416f9f7be3487e30974e085f8d1fddf0dba2fdcca155d26523c504289d8775e4943acce01bbb7bd3619c1af5e9a43af8afada276a52506e6 WHIRLPOOL 60b82d424389550ab561732d8076cab359ae780b4881a609247ce810d38fef360f2f27e60be339bcc16bcab33033eccd828223a7cb49d6f85522373bf131f1e4 +AUX beignet-1.3.1-oclicd_no_upstream_icdfile.patch 564 SHA256 1c6b1491d85e49188f3f6551d27d6f3ecedfae86df615a4e39fdf4058aa7abfd SHA512 c26772accbd5c2a04f8b8a108b87a518cba5ee4fdd142c7514d67f387080d2d37d6d3e87020b4d44b602dfa0cd6387dad29d5fc1bb75e1d5d090f674f937ddd9 WHIRLPOOL 6791da96287832b930ca719ad6069e2d036cee611e1b55b503444089789ba65d541057b36b7a240e1732b1ed31b467df1451738f417fd6eb176b6cea28e3e1b0 +AUX beignet-1.4.0_no-debian-multiarch.patch 862 SHA256 6e30f41b74c24055e97c16683c5e0784c5613eb9db5e63bff48ffe404bcc5c59 SHA512 6760b3b7038ba0dc125998de65ec688b5eb840d8a41543ab35f6d6b6084a877fe0e383bd44b6947695ff835b391794547d7eec21bf787548e6bb03ccf2b73587 WHIRLPOOL 12d8ce3211ba821c82226d83d192be29b2272335ddbefb45f9678bca79302e2e5fcb3e411eb0adb50e08e08b30834813f3737adb757c960fe3f129254df12e07 +AUX llvm-terminfo.patch 788 SHA256 9d39944dc7f3735cb4fe8b4b53ee7c83ee3dbb3c07028ac3187208343a1483b7 SHA512 63706376f086b02be067ab54e818afab55cddb34668bc67c2c3f546142e4ca50f5536be4c15f359b3c1c6f62f36b90b3e76d67095d4bba452cf5b5a2c8891312 WHIRLPOOL 5d02ba52559f8fb996ade5268e213002cc879c03d9e7183f28a2baed360016b8004240d2402bf70fd1143260044c1efc4d76bb32d993b5e59c0a4143db635a48 +AUX no-debian-multiarch.patch 1652 SHA256 0a8d2ed67c3d1d5d56bcf4a5628dff59427f86d1eb9ff3d5fd964828178e7867 SHA512 c77dd485d22e61e558f002a18103bd8dd8091ac51e702335e8713fe7f8fef24e44607744165cf0997e10941b1044d96a4876f251e8e32ffd82781e5c303f0383 WHIRLPOOL fadcd4e0095228ac1c5771ec13f0208143438a9cebf3e7cd259dcee8cdfe6352238757bb9f20127343cf8bba35f4ce000fe00a3a8926e478b6601ed393a903b3 +DIST beignet-1.3.1-source.tar.gz 1136608 SHA256 399b7bc64d674b3092683263f7c085c5592686b9d837817e77857248e5cb561f SHA512 727c8ce68dc39672aa37370ebf2748955925a7cfd58c970c9a641706b45cc31d4a7d3eeebc366ed32ef69add5dd36189814454e5b31f12a6f09ea1a51c810338 WHIRLPOOL 528667a58fbd446e7177edc578543b301205a05fae99d3b1d3782792cac564683e7318fe4e83d81c194ee29fa6cca613e86ce8064f26b551385c8b6c51f4b21e +EBUILD beignet-1.3.1-r1.ebuild 2473 SHA256 1c0aed3aa482f78e7f8167384fe62edb113add2c6c6a5e8d9d461f6ee2e8e74e SHA512 f3449b8fd6a3b0df42cb22c7dcd97948d1f73710155ce1723e1db19a1f08853c8734b86a57b51c36e1d74713d026105f3d2c6974083de69acd971e589da19148 WHIRLPOOL 9e5e8355ed2fea0b96eb21b56e0a429dbb28a9afb71008d137a61c199b67f2906a01981cfe8cccbb65e6de76ccfb09505309f4a3e9f1229bcd46899d8f46fe0d +EBUILD beignet-1.3.1.ebuild 2468 SHA256 8cb06cfe8df76d1d734b6548e5d6186ed360581087ed924d8220008bae66559d SHA512 b722fbda796b6776e263b1ed7b09db5e305fff4fa15a0257add357c5f03e8368ec7d3b4eae467a3282d33db71b4a4062e1081bf78779a3ee8ff21a62dbb6ca3c WHIRLPOOL d44e8205adedb09ff458f2b52fb224a9ccd16487e994c35527633727c7fda5c6935deb5719d5e0f5f0cd39984131598ca3e695ab5f8652b20d529fa3ab919053 +EBUILD beignet-9999.ebuild 2448 SHA256 7010b3adcd5dbb8883c41af2df5ff0d7acd282395ef73b39046be43f689a7cd1 SHA512 1e612c6b095ac9fa6ad861cbc24db4d94f2484adaa321fdb0d6d6e70bc0575d69a5e671c0411f46034251dc3bcbe3460a1aa214cd4a546d4bb08e1913e0e61c8 WHIRLPOOL 5416f434577c54724f756ce5dbad776bcde582e7521bc679523aabd7692dbf39f4c2213c7a74e267773be4038807145fd8397cac98d1404a695e0e2924601532 +MISC ChangeLog 4183 SHA256 e29f1e3108d9f3e7570012e1021abbb5c4578b82dd518d03e047cb71c72b87e7 SHA512 1b1364b2021a9d487f30c2486aef075bb5017bb3253d5c5ce33465c912922780c7b63ab208047f54dab14a8181e6c23e44586ced43687bf7f816f745a89d0803 WHIRLPOOL 33297ecde33b42288d62b0fa1ef376b19acab8811c894248ad42134d1093c80f4eb6aabd0cc1107ca6d3a73a5c3f2a9698d8e5bb55e4831f05f950314a969b64 +MISC metadata.xml 473 SHA256 301acbf6b63c787197de626deb9f2c4a482351ed195cb95568abf6e330abe5d7 SHA512 79c6f3d28b6c15b05616af2b5224f7b6e79642ae6e6b3579ac510c0935f288940d015258b1c2d07820fcbdca117eca66f25a5a4dc7df3af92c771e9ff9243186 WHIRLPOOL d3c585f2651b84b47400eebd62d31e82f09d200815070d02c81e40cf21810d4e032c8373d0e60322a7191b5d865ad99096fd89f17c351222ce974da8122af50e diff --git a/dev-libs/beignet/beignet-1.3.1-r1.ebuild b/dev-libs/beignet/beignet-1.3.1-r1.ebuild new file mode 100644 index 000000000000..577d1fc48822 --- /dev/null +++ b/dev-libs/beignet/beignet-1.3.1-r1.ebuild @@ -0,0 +1,103 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_4,3_5} ) +CMAKE_BUILD_TYPE="Release" + +inherit python-any-r1 cmake-multilib flag-o-matic toolchain-funcs + +DESCRIPTION="OpenCL implementation for Intel GPUs" +HOMEPAGE="https://01.org/beignet" + +LICENSE="LGPL-2.1+" +SLOT="0" +IUSE="ocl-icd ocl20" + +if [[ "${PV}" == "9999" ]]; then + inherit git-r3 + EGIT_REPO_URI="https://anongit.freedesktop.org/git/beignet.git" + KEYWORDS="" +else + KEYWORDS="~amd64" + SRC_URI="https://01.org/sites/default/files/${P}-source.tar.gz" + S=${WORKDIR}/Beignet-${PV}-Source +fi + +COMMON="media-libs/mesa + sys-devel/clang:0= + >=sys-devel/llvm-3.6:0= + ocl20? ( >=sys-devel/llvm-3.9:0= ) + >=x11-libs/libdrm-2.4.70[video_cards_intel] + x11-libs/libXext + x11-libs/libXfixes" +RDEPEND="${COMMON} + app-eselect/eselect-opencl" +DEPEND="${COMMON} + ${PYTHON_DEPS} + ocl-icd? ( dev-libs/ocl-icd ) + virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/no-debian-multiarch.patch + "${FILESDIR}"/${P}-oclicd_no_upstream_icdfile.patch + "${FILESDIR}"/${PN}-1.2.0_no-hardcoded-cflags.patch + "${FILESDIR}"/llvm-terminfo.patch +) + +DOCS=( + docs/. +) + +pkg_pretend() { + if [[ ${MERGE_TYPE} != "binary" ]]; then + if tc-is-gcc; then + if [[ $(gcc-major-version) -eq 4 ]] && [[ $(gcc-minor-version) -lt 6 ]]; then + eerror "Compilation with gcc older than 4.6 is not supported" + die "Too old gcc found." + fi + fi + fi +} + +pkg_setup() { + python_setup +} + +src_prepare() { + # See Bug #593968 + append-flags -fPIC + + cmake-utils_src_prepare + # We cannot run tests because they require permissions to access + # the hardware, and building them is very time-consuming. + cmake_comment_add_subdirectory utests +} + +multilib_src_configure() { + VENDOR_DIR="/usr/$(get_libdir)/OpenCL/vendors/${PN}" + + local mycmakeargs=( + -DCMAKE_INSTALL_PREFIX="${VENDOR_DIR}" + -DOCLICD_COMPAT=$(usex ocl-icd) + $(usex ocl20 "" "-DENABLE_OPENCL_20=OFF") + ) + + cmake-utils_src_configure +} + +multilib_src_install() { + VENDOR_DIR="/usr/$(get_libdir)/OpenCL/vendors/${PN}" + + cmake-utils_src_install + + insinto /etc/OpenCL/vendors/ + echo "${VENDOR_DIR}/lib/${PN}/libcl.so" > "${PN}-${ABI}.icd" || die "Failed to generate ICD file" + doins "${PN}-${ABI}.icd" + + dosym "lib/${PN}/libcl.so" "${VENDOR_DIR}"/libOpenCL.so.1 + dosym "lib/${PN}/libcl.so" "${VENDOR_DIR}"/libOpenCL.so + dosym "lib/${PN}/libcl.so" "${VENDOR_DIR}"/libcl.so.1 + dosym "lib/${PN}/libcl.so" "${VENDOR_DIR}"/libcl.so +} diff --git a/dev-libs/beignet/beignet-1.3.1.ebuild b/dev-libs/beignet/beignet-1.3.1.ebuild new file mode 100644 index 000000000000..75330cbd42b1 --- /dev/null +++ b/dev-libs/beignet/beignet-1.3.1.ebuild @@ -0,0 +1,103 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_4,3_5} ) +CMAKE_BUILD_TYPE="Release" + +inherit python-any-r1 cmake-multilib flag-o-matic toolchain-funcs + +DESCRIPTION="OpenCL implementation for Intel GPUs" +HOMEPAGE="https://01.org/beignet" + +LICENSE="LGPL-2.1+" +SLOT="0" +IUSE="ocl-icd ocl20" + +if [[ "${PV}" == "9999" ]]; then + inherit git-r3 + EGIT_REPO_URI="https://anongit.freedesktop.org/git/beignet.git" + KEYWORDS="amd64" +else + KEYWORDS="amd64" + SRC_URI="https://01.org/sites/default/files/${P}-source.tar.gz" + S=${WORKDIR}/Beignet-${PV}-Source +fi + +COMMON="media-libs/mesa + sys-devel/clang:0= + >=sys-devel/llvm-3.6:0= + ocl20? ( >=sys-devel/llvm-3.9:0= ) + >=x11-libs/libdrm-2.4.70[video_cards_intel] + x11-libs/libXext + x11-libs/libXfixes" +RDEPEND="${COMMON} + app-eselect/eselect-opencl" +DEPEND="${COMMON} + ${PYTHON_DEPS} + ocl-icd? ( dev-libs/ocl-icd ) + virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/no-debian-multiarch.patch + "${FILESDIR}"/${P}-oclicd_no_upstream_icdfile.patch + "${FILESDIR}"/${PN}-1.2.0_no-hardcoded-cflags.patch + "${FILESDIR}"/llvm-terminfo.patch +) + +DOCS=( + docs/. +) + +pkg_pretend() { + if [[ ${MERGE_TYPE} != "binary" ]]; then + if tc-is-gcc; then + if [[ $(gcc-major-version) -eq 4 ]] && [[ $(gcc-minor-version) -lt 6 ]]; then + eerror "Compilation with gcc older than 4.6 is not supported" + die "Too old gcc found." + fi + fi + fi +} + +pkg_setup() { + python_setup +} + +src_prepare() { + # See Bug #593968 + append-flags -fPIC + + cmake-utils_src_prepare + # We cannot run tests because they require permissions to access + # the hardware, and building them is very time-consuming. + cmake_comment_add_subdirectory utests +} + +multilib_src_configure() { + VENDOR_DIR="/usr/$(get_libdir)/OpenCL/vendors/${PN}" + + local mycmakeargs=( + -DCMAKE_INSTALL_PREFIX="${VENDOR_DIR}" + -DOCLICD_COMPAT=$(usex ocl-icd) + -DENABLE_OPENCL_20=$(usex ocl20) + ) + + cmake-utils_src_configure +} + +multilib_src_install() { + VENDOR_DIR="/usr/$(get_libdir)/OpenCL/vendors/${PN}" + + cmake-utils_src_install + + insinto /etc/OpenCL/vendors/ + echo "${VENDOR_DIR}/lib/${PN}/libcl.so" > "${PN}-${ABI}.icd" || die "Failed to generate ICD file" + doins "${PN}-${ABI}.icd" + + dosym "lib/${PN}/libcl.so" "${VENDOR_DIR}"/libOpenCL.so.1 + dosym "lib/${PN}/libcl.so" "${VENDOR_DIR}"/libOpenCL.so + dosym "lib/${PN}/libcl.so" "${VENDOR_DIR}"/libcl.so.1 + dosym "lib/${PN}/libcl.so" "${VENDOR_DIR}"/libcl.so +} diff --git a/dev-libs/beignet/beignet-9999.ebuild b/dev-libs/beignet/beignet-9999.ebuild new file mode 100644 index 000000000000..89862c1fc514 --- /dev/null +++ b/dev-libs/beignet/beignet-9999.ebuild @@ -0,0 +1,102 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_4,3_5} ) +CMAKE_BUILD_TYPE="Release" + +inherit python-any-r1 cmake-multilib flag-o-matic toolchain-funcs + +DESCRIPTION="OpenCL implementation for Intel GPUs" +HOMEPAGE="https://01.org/beignet" + +LICENSE="LGPL-2.1+" +SLOT="0" +IUSE="ocl-icd ocl20" + +if [[ "${PV}" == "9999" ]]; then + inherit git-r3 + EGIT_REPO_URI="https://anongit.freedesktop.org/git/beignet.git" + KEYWORDS="" +else + KEYWORDS="~amd64" + SRC_URI="https://01.org/sites/default/files/${P}-source.tar.gz" + S=${WORKDIR}/Beignet-${PV}-Source +fi + +COMMON="media-libs/mesa + sys-devel/clang:= + sys-devel/llvm:= + >=x11-libs/libdrm-2.4.70[video_cards_intel] + x11-libs/libXext + x11-libs/libXfixes" +RDEPEND="${COMMON} + app-eselect/eselect-opencl" +DEPEND="${COMMON} + ${PYTHON_DEPS} + ocl-icd? ( dev-libs/ocl-icd ) + virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/${PN}-1.4.0_no-debian-multiarch.patch + "${FILESDIR}"/${PN}-1.3.1-oclicd_no_upstream_icdfile.patch + "${FILESDIR}"/${PN}-1.2.0_no-hardcoded-cflags.patch + "${FILESDIR}"/llvm-terminfo.patch +) + +DOCS=( + docs/. +) + +pkg_pretend() { + if [[ ${MERGE_TYPE} != "binary" ]]; then + if tc-is-gcc; then + if [[ $(gcc-major-version) -eq 4 ]] && [[ $(gcc-minor-version) -lt 6 ]]; then + eerror "Compilation with gcc older than 4.6 is not supported" + die "Too old gcc found." + fi + fi + fi +} + +pkg_setup() { + python_setup +} + +src_prepare() { + # See Bug #593968 + append-flags -fPIC + + cmake-utils_src_prepare + # We cannot run tests because they require permissions to access + # the hardware, and building them is very time-consuming. + cmake_comment_add_subdirectory utests +} + +multilib_src_configure() { + VENDOR_DIR="/usr/$(get_libdir)/OpenCL/vendors/${PN}" + + local mycmakeargs=( + -DCMAKE_INSTALL_PREFIX="${VENDOR_DIR}" + -DOCLICD_COMPAT=$(usex ocl-icd) + $(usex ocl20 "" "-DENABLE_OPENCL_20=OFF") + ) + + cmake-utils_src_configure +} + +multilib_src_install() { + VENDOR_DIR="/usr/$(get_libdir)/OpenCL/vendors/${PN}" + + cmake-utils_src_install + + insinto /etc/OpenCL/vendors/ + echo "${VENDOR_DIR}/lib/${PN}/libcl.so" > "${PN}-${ABI}.icd" || die "Failed to generate ICD file" + doins "${PN}-${ABI}.icd" + + dosym "lib/${PN}/libcl.so" "${VENDOR_DIR}"/libOpenCL.so.1 + dosym "lib/${PN}/libcl.so" "${VENDOR_DIR}"/libOpenCL.so + dosym "lib/${PN}/libcl.so" "${VENDOR_DIR}"/libcl.so.1 + dosym "lib/${PN}/libcl.so" "${VENDOR_DIR}"/libcl.so +} diff --git a/dev-libs/beignet/files/beignet-1.2.0_no-hardcoded-cflags.patch b/dev-libs/beignet/files/beignet-1.2.0_no-hardcoded-cflags.patch new file mode 100644 index 000000000000..3f9875930b50 --- /dev/null +++ b/dev-libs/beignet/files/beignet-1.2.0_no-hardcoded-cflags.patch @@ -0,0 +1,12 @@ +--- a/CMakeLists.txt 2016-08-30 10:06:31.000000000 +0000 ++++ b/CMakeLists.txt 2016-09-16 06:55:28.975772954 +0000 +@@ -89,8 +89,7 @@ + elseif (COMPILER STREQUAL "ICC") + set (CMAKE_C_CXX_FLAGS "${CMAKE_C_CXX_FLAGS} -wd2928 -Wall -fPIC -fstrict-aliasing -fp-model fast -msse4.1 -Wl,-E") + endif () +-set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CMAKE_C_CXX_FLAGS} -std=c++0x -Wno-invalid-offsetof") +-set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${CMAKE_C_CXX_FLAGS}") ++set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x -Wno-invalid-offsetof") + set (CMAKE_CXX_FLAGS_DEBUG "-O0 -g -DGBE_DEBUG=1") + set (CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O2 -g -DGBE_DEBUG=1") + set (CMAKE_CXX_FLAGS_MINSIZEREL "-Os -DNDEBUG -DGBE_DEBUG=0") diff --git a/dev-libs/beignet/files/beignet-1.3.1-oclicd_no_upstream_icdfile.patch b/dev-libs/beignet/files/beignet-1.3.1-oclicd_no_upstream_icdfile.patch new file mode 100644 index 000000000000..7e9e88361b42 --- /dev/null +++ b/dev-libs/beignet/files/beignet-1.3.1-oclicd_no_upstream_icdfile.patch @@ -0,0 +1,14 @@ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -213,11 +213,6 @@ + Find_Package(OCLIcd) + IF(OCLIcd_FOUND) + MESSAGE(STATUS "Looking for OCL ICD header file - found") +- configure_file ( +- "intel-beignet.icd.in" +- "${ICD_FILE_NAME}" +- ) +- install (FILES ${CMAKE_CURRENT_BINARY_DIR}/${ICD_FILE_NAME} DESTINATION /etc/OpenCL/vendors) + ELSE(OCLIcd_FOUND) + MESSAGE(STATUS "Looking for OCL ICD header file - not found") + MESSAGE(FATAL_ERROR "OCL ICD loader miss. If you really want to disable OCL ICD support, please run cmake with option -DOCLICD_COMPAT=0.") diff --git a/dev-libs/beignet/files/beignet-1.4.0_no-debian-multiarch.patch b/dev-libs/beignet/files/beignet-1.4.0_no-debian-multiarch.patch new file mode 100644 index 000000000000..983ba61ff38f --- /dev/null +++ b/dev-libs/beignet/files/beignet-1.4.0_no-debian-multiarch.patch @@ -0,0 +1,21 @@ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -33,15 +33,9 @@ + + SET(CMAKE_VERBOSE_MAKEFILE "false") + set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/CMake/") +-INCLUDE (GNUInstallDirs OPTIONAL) +-# support old CMake without GNUInstallDirs +-if (NOT CMAKE_INSTALL_FULL_LIBDIR) +- set (CMAKE_INSTALL_FULL_LIBDIR "${CMAKE_INSTALL_PREFIX}/lib") +- set (CMAKE_INSTALL_FULL_DATADIR "${CMAKE_INSTALL_PREFIX}/share") +- set (BEIGNET_LIBRARY_ARCHITECTURE "") +-else (NOT CMAKE_INSTALL_FULL_LIBDIR) +- set (BEIGNET_LIBRARY_ARCHITECTURE "${CMAKE_LIBRARY_ARCHITECTURE}") +-endif (NOT CMAKE_INSTALL_FULL_LIBDIR) ++set (CMAKE_INSTALL_FULL_LIBDIR "${CMAKE_INSTALL_PREFIX}/lib") ++set (CMAKE_INSTALL_FULL_DATADIR "${CMAKE_INSTALL_PREFIX}/share") ++set (BEIGNET_LIBRARY_ARCHITECTURE "") + + if (NOT LIB_INSTALL_DIR) + set (LIB_INSTALL_DIR "${CMAKE_INSTALL_FULL_LIBDIR}") diff --git a/dev-libs/beignet/files/llvm-terminfo.patch b/dev-libs/beignet/files/llvm-terminfo.patch new file mode 100644 index 000000000000..afbbc26a33de --- /dev/null +++ b/dev-libs/beignet/files/llvm-terminfo.patch @@ -0,0 +1,20 @@ +--- a/backend/src/CMakeLists.txt 2015-12-18 07:40:03.000000000 +0100 ++++ b/backend/src/CMakeLists.txt 2016-08-01 13:44:31.475875150 +0200 +@@ -153,7 +153,7 @@ + + add_library(gbeinterp SHARED gbe_bin_interpreter.cpp) + +-if (LLVM_VERSION_NODOT VERSION_EQUAL 34) ++if (NOT (LLVM_VERSION_NODOT LESS 34)) + find_library(TERMINFO NAMES tinfo ncurses) + if (${TERMINFO} STREQUAL TERMINFO-NOTFOUND) + message(FATAL_ERROR "no libtinfo or libncurses is found in system") +@@ -161,7 +161,7 @@ + target_link_libraries(gbe ${TERMINFO}) + message(STATUS "use ${TERMINFO} as terminal control library") + endif (${TERMINFO} STREQUAL TERMINFO-NOTFOUND) +-endif(LLVM_VERSION_NODOT VERSION_EQUAL 34) ++endif(NOT (LLVM_VERSION_NODOT LESS 34)) + + link_directories (${LLVM_LIBRARY_DIR} ${DRM_LIBDIR}) + diff --git a/dev-libs/beignet/files/no-debian-multiarch.patch b/dev-libs/beignet/files/no-debian-multiarch.patch new file mode 100644 index 000000000000..c9aef4d9dafc --- /dev/null +++ b/dev-libs/beignet/files/no-debian-multiarch.patch @@ -0,0 +1,39 @@ +--- a/CMakeLists.txt 2015-04-17 04:27:51.000000000 +0200 ++++ b/CMakeLists.txt 2015-05-20 20:59:17.895041760 +0200 +@@ -39,14 +39,9 @@ + + SET(CMAKE_VERBOSE_MAKEFILE "false") + set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/CMake/") +-INCLUDE (GNUInstallDirs OPTIONAL) +-# support old CMake without GNUInstallDirs +-if (NOT CMAKE_INSTALL_FULL_LIBDIR) +- set (CMAKE_INSTALL_FULL_LIBDIR "${CMAKE_INSTALL_PREFIX}/lib") +- set (BEIGNET_LIBRARY_ARCHITECTURE "") +-else (NOT CMAKE_INSTALL_FULL_LIBDIR) +- set (BEIGNET_LIBRARY_ARCHITECTURE "${CMAKE_LIBRARY_ARCHITECTURE}") +-endif (NOT CMAKE_INSTALL_FULL_LIBDIR) ++ ++set (CMAKE_INSTALL_FULL_LIBDIR "${CMAKE_INSTALL_PREFIX}/lib") ++set (BEIGNET_LIBRARY_ARCHITECTURE "") + + if (NOT LIB_INSTALL_DIR) + set (LIB_INSTALL_DIR "${CMAKE_INSTALL_FULL_LIBDIR}") +@@ -55,17 +50,7 @@ + set (BEIGNET_INSTALL_DIR "${LIB_INSTALL_DIR}/beignet/") + endif (NOT BEIGNET_INSTALL_DIR) + +-# allow co-installation of 32- and 64-bit versions: +-# https://wiki.debian.org/Multiarch +-if (BEIGNET_INSTALL_DIR STREQUAL "${CMAKE_INSTALL_PREFIX}/lib/beignet/") +- set (ICD_FILE_NAME "intel-beignet.icd") +-else (BEIGNET_INSTALL_DIR STREQUAL "${CMAKE_INSTALL_PREFIX}/lib/beignet/") +- if (BEIGNET_LIBRARY_ARCHITECTURE STREQUAL "") +- set (ICD_FILE_NAME "intel-beignet.icd") +- else (BEIGNET_LIBRARY_ARCHITECTURE STREQUAL "") +- set (ICD_FILE_NAME "intel-beignet-${BEIGNET_LIBRARY_ARCHITECTURE}.icd") +- endif (BEIGNET_LIBRARY_ARCHITECTURE STREQUAL "") +-endif (BEIGNET_INSTALL_DIR STREQUAL "${CMAKE_INSTALL_PREFIX}/lib/beignet/") ++set (ICD_FILE_NAME "intel-beignet.icd") + + # Force Release with debug info + if (NOT CMAKE_BUILD_TYPE) diff --git a/dev-libs/beignet/metadata.xml b/dev-libs/beignet/metadata.xml new file mode 100644 index 000000000000..917f7f9527a5 --- /dev/null +++ b/dev-libs/beignet/metadata.xml @@ -0,0 +1,14 @@ + + + + + marecki@gentoo.org + Marek Szuba + + + Enable compatibility with the + dev-libs/ocl-icd OpenCL ICD loader + Enable experimental OpenCL 2.0 support on Skylake + and newer architectures + + diff --git a/dev-libs/bglibs/Manifest b/dev-libs/bglibs/Manifest new file mode 100644 index 000000000000..83e7cefa836e --- /dev/null +++ b/dev-libs/bglibs/Manifest @@ -0,0 +1,12 @@ +AUX bglibs-1.104-parallel-fix.patch 3908 SHA256 456d9bcacb231e843bf9cea38ce33a81a8e84a5590787cbc8e0227b9ed22f35d SHA512 458b9bcc75084f9157453f52b2cf052fd8db87ec3446f7ddeb7695cd093d3c29cb9ddb6e561bc88cd946065281f4d5287543151f299a2bf5b0f1c21199b9d6bb WHIRLPOOL f9713a0899cc738954ae0fe0407f23a7b8b38689c0564bbd0140432188784e7ca69c376f387a3e5d6a82bd48d9a365ed99b2533d278fe2c7f92c116f1edad123 +AUX bglibs-1.106-parallel-fix.patch 2142 SHA256 21430429272ef7907193b90f4bbbbd6571c5ad4d753febccbaa7e9a648b6ab99 SHA512 8f6d1760932416e1f9b83229df89730a191c467b3e05ba7ba4faf4e3f5ef57d16469695fadc39717352be6b8ae7b84d8ba3933b39e4a8a041086c386c84c0339 WHIRLPOOL 28db47dcab9050de7d41fab84b737fe4e7e11b2070014ae0d435aef90771a53c7ae3646ab037fb46e50036b6ba3b8656b3a6ffef8eca6e7758267938e9db8136 +DIST bglibs-1.041.tar.gz 317199 SHA256 da09ff048d37ecdb691c495007580b99e8a2c1b3fcd8dede61bd0299846ec70b SHA512 63f1cbef024f528d13a23f84f11b014be2ee9a9c8c40f49f8a114a6b4407c1279860a049f3dd67cfa7306a5326bbb93bb57b134af05031ec3c00f5f49784f6bc WHIRLPOOL 0623af99baf8ab8cf99b7c0fb57a97a09223a5a0baa5d8f6e29381778289f1447b8a468a1b11cbd0cdc907b069192dc1c6e16c4ecec263f76de1bf2cfc28d7c0 +DIST bglibs-1.104.tar.gz 442643 SHA256 5593213ee3aedf297eff5fabddf535e4d2a85ad8c8f2a2b1d4dce210991022af SHA512 2ee24eb696126de2aa40451f3ce395220ea57cac9376ded6b7d7e195ecd7a1740f07339c4934a5aafdadb639a0d3421bfe6e674857d9663827a2c3714abe6a03 WHIRLPOOL 880002680aa1b19a81bf7f87e00be4897d7b1c928ea926831f3c6dcb681ea944305aa59057c2ee59ed07bad6018897760be9ff71f9e93b2d0687ac145caea302 +DIST bglibs-1.106.tar.gz 481564 SHA256 5c8ae51c2d88e58ff2fccc32d3000e88054d87fd69b6bfa6d0f70528e8538df0 SHA512 c1ae4bb9978b09ffe01231738d1f249c2040a51c2a0bbc4b04389a7085a3885cca6483f1bfe65deca213d991273bb3b7b925ebde8b6e2cd9182d8a57cb9a49d8 WHIRLPOOL be49bd8d802008296853ac91fd4bfb8f849aa7fb59cbc07d523fbccf8a60f4cbb5b79e8539a56eb2eb22edc7fc3b11838d6a0997566e5e5a415fbd532e237e18 +EBUILD bglibs-1.041.ebuild 1221 SHA256 9198c771f3541bf50422cfd7a7ea19f61bfdd8f638abecf8846894cdf731653e SHA512 e240849577602f2e82d0f1a932add5e48ef5613e42bf7abd1fe0b011f06cab2db537fff8601231332bf3f948733d5275cd98847e81948421d1086d3f1a8d8696 WHIRLPOOL 94b5c5b20c6c9dcafd299c23f368a71dd54fc67dbdd0f76c57a71bb1c9cdeaa69cc36db2c85b9bf9a995bfe81793045b3aaefa47fbcf03b0261de9a0ae33912f +EBUILD bglibs-1.104.ebuild 1625 SHA256 62b51be837d2b903dbceb5ecb57b864b57dd08599975c5df6010f830a0ea5ff4 SHA512 30e23075d03a62a38794c14440d4bda33c96949d78b751d6fc831e7e66a2d533b75271182394c41208c11f465cf9b06022f00c9c421bd6dd47344ff82220e8ff WHIRLPOOL e0efa55a4070da3dbf3c19dca379dd36c64f5e324a78b9484fb123fd4c3f828b1068e837cb2e8f888f4f23a8e7351cce108962d2c6dfccd6be7512cb933aaeea +EBUILD bglibs-1.106-r1.ebuild 2312 SHA256 6d147f57778a72ab496be4e1e5ce57a956d0702285b8d378ab09738b4bae88d4 SHA512 af88d5018b3ab3b485e9cc3cdd43893055aeb0430b90d8773beb09c14501716c180038874b54e8913381cec2cd6d9e94eb35bf8fb0f810d508b4a2862ccc20f4 WHIRLPOOL 3d8c370dab36f1910cc3b5d164271d739795a465094c97315ef262eb85213f1bec9c34a7f6321f8e76848547cb186ea9271daf807e2e29d7aff58afa8bcd52d2 +EBUILD bglibs-1.106.ebuild 2174 SHA256 a72511104a9b9b3a7cf230e0f035ec4fc62e8b8d7feae17e33ec35afbf160002 SHA512 792fcfac5a69d41f3bcf7c3f4e77738d603e8501647788993eb5e9e12f7c2860b647117873c0fe8026b1fe30c3aa721f6bced22c0d49e0460258befc3223ac7d WHIRLPOOL a438aedcf86d17705ca166fac3402a1d21608a47a0e4ff394db79f91e20131a8148eed4fd82511a5a1e9b854e1158547dd9e1dc96e6da088bc8b8d92e0c5d3e3 +MISC ChangeLog 2879 SHA256 4fe7ac8aaee1f3758aba62fde2680cd74eb5f20c876a7606afa333a389550372 SHA512 c56dc2937652f394e434cadd17986a01e1116f7bc71b610635bc9990a6138c2d0791c6e977812fa9584f3511786dc3090011cf49b396a83c818d0d026a156e5c WHIRLPOOL e8c673fb8164594f2fa3b99b18adaed9598cf7fa6b9f47510790fb9b7c9cc447d69cfc401269764660993de205e3005735676c128d18757e7c67e5425377a0c0 +MISC ChangeLog-2015 6696 SHA256 c3830cc857515467efd9292aeb3b68665604cee6bd70015afb0f1951b53c8b95 SHA512 f6678695cd1406d2b1f76f5f41d3fe71cf8fdd2d32da44ab322c82ba6f071f998ba216eeb0a46c5eeaf7c719034fdf0271b8aaa6e8476d4d77588c69dd201374 WHIRLPOOL a271742d006e425aa9b9dd86d0a815f3440941809a59034508b15f8641ca9132fc5c3eba98bcd7cbf2271bdc6fda1602f077e11aadaddb48a091401d980c86ee +MISC metadata.xml 268 SHA256 972faf76e6638f2159ef3c7dafdcfef26d582070e6f0064d9136d1c6b2bee905 SHA512 ffda1db3fd6ac952f41a970e2e496c6a9fd0b12ed11cdf363fd269c3b00f627c6e70421fd545aad61d69594af2e5f43d8ebc197232a39b596d012818fe758850 WHIRLPOOL 759c32dcdde671d2fda0269ee9326f6d0f0e44966f767ac7becc40e6efb5429237b683cb23867d76a8d13dde79fe257e090ef890761b20f9792172a90369296d diff --git a/dev-libs/bglibs/bglibs-1.041.ebuild b/dev-libs/bglibs/bglibs-1.041.ebuild new file mode 100644 index 000000000000..9859b67aec6c --- /dev/null +++ b/dev-libs/bglibs/bglibs-1.041.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +inherit fixheadtails toolchain-funcs multilib + +DESCRIPTION="Bruce Guenters Libraries Collection" +HOMEPAGE="http://untroubled.org/bglibs/" +SRC_URI="http://untroubled.org/bglibs/archive/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="alpha amd64 ~arm hppa ~mips ppc sparc x86 ~ppc64" +IUSE="" +DEPEND="" + +src_unpack() { + unpack ${A} + # disable tests as we want them manually + sed -e '/^all:/s|selftests||' -i.orig "${S}"/Makefile + sed -e '/selftests/d' -i.orig "${S}"/TARGETS +} + +src_compile() { + echo "${D}/usr/bin" > conf-bin + echo "${D}/usr/$(get_libdir)/bglibs" > conf-lib + echo "${D}/usr/include/bglibs" > conf-include + echo "${D}/usr/share/man" > conf-man + echo "$(tc-getCC) ${CFLAGS}" > conf-cc + echo "$(tc-getCC) ${LDFLAGS}" > conf-ld + emake || die +} + +src_test() { + einfo "Running selftests" + emake selftests +} + +src_install () { + einstall || die "install failed" + + #make backwards compatible symlinks + dosym /usr/lib/bglibs /usr/lib/bglibs/lib + dosym /usr/include/bglibs /usr/lib/bglibs/include + + dodoc ANNOUNCEMENT NEWS README ChangeLog TODO VERSION + dohtml doc/html/* + docinto latex + dodoc doc/latex/* +} diff --git a/dev-libs/bglibs/bglibs-1.104.ebuild b/dev-libs/bglibs/bglibs-1.104.ebuild new file mode 100644 index 000000000000..5eceed12db1d --- /dev/null +++ b/dev-libs/bglibs/bglibs-1.104.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +inherit toolchain-funcs eutils multilib + +DESCRIPTION="Bruce Guenters Libraries Collection" +HOMEPAGE="http://untroubled.org/bglibs/" +SRC_URI="http://untroubled.org/bglibs/archive/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="" +DEPEND="" + +src_unpack() { + unpack ${A} + epatch "${FILESDIR}"/bglibs-1.104-parallel-fix.patch + # disable tests as we want them manually + sed -i \ + -e '/^all:/s|selftests||' \ + "${S}"/Makefile + sed -i \ + -e '/selftests/d' \ + "${S}"/TARGETS + #sed -i \ + # -e 's,^libraries:,LIBS = ,g' \ + # -e '/^LIBS =/alibs-static: $(filter %.a,$(LIBS))' \ + # -e '/^LIBS =/alibs-shared: $(filter %.la,$(LIBS))' \ + # -e '/^LIBS =/alibraries: libs-static libs-shared' \ + # "${S}"/Makefile +} + +src_compile() { + echo "${D}/usr/bin" > conf-bin + echo "${D}/usr/$(get_libdir)/bglibs" > conf-lib + echo "${D}/usr/include/bglibs" > conf-include + echo "${D}/usr/share/man" > conf-man + echo "$(tc-getCC) ${CFLAGS}" > conf-cc + echo "$(tc-getCC) ${LDFLAGS}" > conf-ld + # Fails if we do parallel build of shared+static at the same time + emake libs-shared || die + emake libs-static || die + emake || die +} + +src_test() { + einfo "Running selftests" + emake selftests +} + +src_install () { + einstall || die "install failed" + + #make backwards compatible symlinks + dosym /usr/lib/bglibs /usr/lib/bglibs/lib + dosym /usr/include/bglibs /usr/lib/bglibs/include + + dodoc ANNOUNCEMENT NEWS README ChangeLog TODO VERSION + dohtml doc/html/* + docinto latex + dodoc doc/latex/* +} diff --git a/dev-libs/bglibs/bglibs-1.106-r1.ebuild b/dev-libs/bglibs/bglibs-1.106-r1.ebuild new file mode 100644 index 000000000000..622f5caf23ab --- /dev/null +++ b/dev-libs/bglibs/bglibs-1.106-r1.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="2" + +inherit toolchain-funcs eutils multilib + +DESCRIPTION="Bruce Guenters Libraries Collection" +HOMEPAGE="http://untroubled.org/bglibs/" +SRC_URI="http://untroubled.org/bglibs/archive/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc x86" +IUSE="" +DEPEND="" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-1.106-parallel-fix.patch + # disable tests as we want them manually + sed -i \ + -e '/^all:/s|selftests||' \ + "${S}"/Makefile + sed -i \ + -e '/selftests/d' \ + "${S}"/TARGETS + #sed -i \ + # -e 's,^libraries:,LIBS = ,g' \ + # -e '/^LIBS =/alibs-static: $(filter %.a,$(LIBS))' \ + # -e '/^LIBS =/alibs-shared: $(filter %.la,$(LIBS))' \ + # -e '/^LIBS =/alibraries: libs-static libs-shared' \ + # "${S}"/Makefile +} + +src_compile() { + echo "${D}/usr/bin" > conf-bin + echo "${D}/usr/$(get_libdir)/bglibs" > conf-lib + echo "${D}/usr/include/bglibs" > conf-include + echo "${D}/usr/share/man" > conf-man + echo "$(tc-getCC) ${CFLAGS}" > conf-cc + echo "$(tc-getCC) ${LDFLAGS}" > conf-ld + emake || die +} + +src_test() { + einfo "Running selftests" + emake selftests +} + +src_install () { + einstall || die "install failed" + + #make backwards compatible symlinks + dosym /usr/$(get_libdir)/bglibs /usr/$(get_libdir)/bglibs/lib + [ "$(get_libdir)" != "lib" ] && dosym /usr/$(get_libdir)/bglibs /usr/$(get_libdir)/bglibs/$(get_libdir) + dosym /usr/include/bglibs /usr/$(get_libdir)/bglibs/include + + #install .so in LDPATH + mv "${D}"/usr/$(get_libdir)/bglibs/libbg.so.1.1.1 "${D}"/usr/$(get_libdir)/ + mv "${D}"/usr/$(get_libdir)/bglibs/libbg-sysdeps.so.1.1.1 "${D}"/usr/$(get_libdir)/ + dosym libbg.so.1.1.1 /usr/$(get_libdir)/libbg.so.1 + dosym libbg.so.1.1.1 /usr/$(get_libdir)/libbg.so + dosym libbg-sysdeps.so.1.1.1 /usr/$(get_libdir)/libbg-sysdeps.so.1 + dosym libbg-sysdeps.so.1.1.1 /usr/$(get_libdir)/libbg-sysdeps.so + + dosym ../libbg.so.1.1.1 /usr/$(get_libdir)/bglibs/libbg.so.1.1.1 + dosym ../libbg-sysdeps.so.1.1.1 /usr/$(get_libdir)/bglibs/libbg-sysdeps.so.1.1.1 + + rm "${D}"/usr/$(get_libdir)/bglibs/libbg.la + rm "${D}"/usr/$(get_libdir)/bglibs/libbg-sysdeps.la + + dodoc ANNOUNCEMENT NEWS README ChangeLog TODO VERSION + dohtml doc/html/* + docinto latex + dodoc doc/latex/* +} diff --git a/dev-libs/bglibs/bglibs-1.106.ebuild b/dev-libs/bglibs/bglibs-1.106.ebuild new file mode 100644 index 000000000000..8f5279ffb2d8 --- /dev/null +++ b/dev-libs/bglibs/bglibs-1.106.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="2" + +inherit toolchain-funcs eutils multilib + +DESCRIPTION="Bruce Guenters Libraries Collection" +HOMEPAGE="http://untroubled.org/bglibs/" +SRC_URI="http://untroubled.org/bglibs/archive/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="" +DEPEND="" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-1.106-parallel-fix.patch + # disable tests as we want them manually + sed -i \ + -e '/^all:/s|selftests||' \ + "${S}"/Makefile + sed -i \ + -e '/selftests/d' \ + "${S}"/TARGETS + #sed -i \ + # -e 's,^libraries:,LIBS = ,g' \ + # -e '/^LIBS =/alibs-static: $(filter %.a,$(LIBS))' \ + # -e '/^LIBS =/alibs-shared: $(filter %.la,$(LIBS))' \ + # -e '/^LIBS =/alibraries: libs-static libs-shared' \ + # "${S}"/Makefile +} + +src_compile() { + echo "${D}/usr/bin" > conf-bin + echo "${D}/usr/$(get_libdir)/bglibs" > conf-lib + echo "${D}/usr/include/bglibs" > conf-include + echo "${D}/usr/share/man" > conf-man + echo "$(tc-getCC) ${CFLAGS}" > conf-cc + echo "$(tc-getCC) ${LDFLAGS}" > conf-ld + emake || die +} + +src_test() { + einfo "Running selftests" + emake selftests +} + +src_install () { + einstall || die "install failed" + + #make backwards compatible symlinks + dosym /usr/lib/bglibs /usr/lib/bglibs/lib + dosym /usr/include/bglibs /usr/lib/bglibs/include + + #install .so in LDPATH + mv "${D}"/usr/$(get_libdir)/bglibs/libbg.so.1.1.1 "${D}"/usr/$(get_libdir)/ + mv "${D}"/usr/$(get_libdir)/bglibs/libbg-sysdeps.so.1.1.1 "${D}"/usr/$(get_libdir)/ + dosym libbg.so.1.1.1 /usr/$(get_libdir)/libbg.so.1 + dosym libbg.so.1.1.1 /usr/$(get_libdir)/libbg.so + dosym libbg-sysdeps.so.1.1.1 /usr/$(get_libdir)/libbg-sysdeps.so.1 + dosym libbg-sysdeps.so.1.1.1 /usr/$(get_libdir)/libbg-sysdeps.so + + dosym ../libbg.so.1.1.1 /usr/$(get_libdir)/bglibs/libbg.so.1.1.1 + dosym ../libbg-sysdeps.so.1.1.1 /usr/$(get_libdir)/bglibs/libbg-sysdeps.so.1.1.1 + + rm "${D}"/usr/$(get_libdir)/bglibs/libbg.la + rm "${D}"/usr/$(get_libdir)/bglibs/libbg-sysdeps.la + + dodoc ANNOUNCEMENT NEWS README ChangeLog TODO VERSION + dohtml doc/html/* + docinto latex + dodoc doc/latex/* +} diff --git a/dev-libs/bglibs/files/bglibs-1.104-parallel-fix.patch b/dev-libs/bglibs/files/bglibs-1.104-parallel-fix.patch new file mode 100644 index 000000000000..d0717c2dd0f3 --- /dev/null +++ b/dev-libs/bglibs/files/bglibs-1.104-parallel-fix.patch @@ -0,0 +1,87 @@ +Fixes for parallel compile. + +- Redirection straight to an output target that is later used for dependancies + is not safe. The output file must be come into existence atomically. +- libtool-2.x writes to .o AND .lo, regardless of the -o parameter. Because of + this, if you get a run order of compile then libcompile and makelib + simultaneously, there is a chance that the .o file from the original compile + can vanish and cause the makelib to fail. To deal with this, we split the + libraries target into shared and non-shared, and deliberately call the build + process as 3 phases: libs-shared, libs-static, all + +Signed-off-by: Robin H. Johnson + +--- bglibs-1.104/Makefile.orig 2008-04-09 08:24:31.000000000 -0700 ++++ bglibs-1.104/Makefile 2008-11-05 19:05:16.304710791 -0800 +@@ -254,7 +254,8 @@ + ./compile crc-gentab.c + + crc/crc16_arc_table.c: crc-gentab +- ./crc-gentab crc16_arc 16 0x8005 reflected >$@ ++ ./crc-gentab crc16_arc 16 0x8005 reflected >$@.tmp ++ mv $@.tmp $@ + + crc/crc16_arc_table.lo: libcompile crc/crc16_arc_table.c + ./libcompile crc/crc16_arc_table.c +@@ -263,7 +264,8 @@ + ./compile crc/crc16_arc_table.c + + crc/crc16_ccitt_table.c: crc-gentab +- ./crc-gentab crc16_ccitt 16 0x1021 normal >$@ ++ ./crc-gentab crc16_ccitt 16 0x1021 normal >$@.tmp ++ mv $@.tmp $@ + + crc/crc16_ccitt_table.lo: libcompile crc/crc16_ccitt_table.c + ./libcompile crc/crc16_ccitt_table.c +@@ -272,7 +274,8 @@ + ./compile crc/crc16_ccitt_table.c + + crc/crc16_xmodem_table.c: crc-gentab +- ./crc-gentab crc16_xmodem 16 0x8408 reflected >$@ ++ ./crc-gentab crc16_xmodem 16 0x8408 reflected >$@.tmp ++ mv $@.tmp $@ + + crc/crc16_xmodem_table.lo: libcompile crc/crc16_xmodem_table.c + ./libcompile crc/crc16_xmodem_table.c +@@ -281,7 +284,8 @@ + ./compile crc/crc16_xmodem_table.c + + crc/crc32_table.c: crc-gentab +- ./crc-gentab crc32 32 0x04C11DB7 reflected >$@ ++ ./crc-gentab crc32 32 0x04C11DB7 reflected >$@.tmp ++ mv $@.tmp $@ + + crc/crc32_table.lo: libcompile crc/crc32_table.c + ./libcompile crc/crc32_table.c +@@ -290,7 +294,8 @@ + ./compile crc/crc32_table.c + + crc/crc32c_table.c: crc-gentab +- ./crc-gentab crc32c 32 0x1EDC6F41 reflected >$@ ++ ./crc-gentab crc32c 32 0x1EDC6F41 reflected >$@.tmp ++ mv $@.tmp $@ + + crc/crc32c_table.lo: libcompile crc/crc32c_table.c + ./libcompile crc/crc32c_table.c +@@ -299,7 +304,8 @@ + ./compile crc/crc32c_table.c + + crc/crc64_table.c: crc-gentab +- ./crc-gentab crc64 64 0x42F0E1EBA9EA3693 normal >$@ ++ ./crc-gentab crc64 64 0x42F0E1EBA9EA3693 normal >$@.tmp ++ mv $@.tmp $@ + + crc/crc64_table.lo: libcompile crc/crc64_table.c + ./libcompile crc/crc64_table.c +@@ -1025,7 +1025,10 @@ + libpwcmp.a: makelib pwcmp/client.o pwcmp/hex_encode.o + ./makelib libpwcmp.a pwcmp/client.o pwcmp/hex_encode.o + +-libraries: libbg.la libbg-sysdeps.la libbg-crc.a libpwcmp.a libbg-path.a libbg-instcheck.a libbg-base64.a libbg-adt.a libbg-installer.a libvmailmgr.a libbg-sysdeps.a libbg-str.a libbg-fmt.a libpwcmp-module.a libbg-misc.a libbg-instshow.a libbg-dict.a libbg-crypto.a libbg-cli.a libbg-cdb.a libbg-msg.a libbg-iobuf.a libbg-net.a libbg-unix.a ++LIBS = libbg.la libbg-sysdeps.la libbg-crc.a libpwcmp.a libbg-path.a libbg-instcheck.a libbg-base64.a libbg-adt.a libbg-installer.a libvmailmgr.a libbg-sysdeps.a libbg-str.a libbg-fmt.a libpwcmp-module.a libbg-misc.a libbg-instshow.a libbg-dict.a libbg-crypto.a libbg-cli.a libbg-cdb.a libbg-msg.a libbg-iobuf.a libbg-net.a libbg-unix.a ++libs-shared: $(filter %.la,$(LIBS)) ++libs-static: $(filter %.a,$(LIBS)) ++libraries: libs-shared libs-static + + libvmailmgr.a: makelib vmailmgr/req_arg.o vmailmgr/req_init.o vmailmgr/req_write.o vmailmgr/resp_read.o vmailmgr/vpwentry_export.o vmailmgr/vpwentry_free.o vmailmgr/vpwentry_import.o + ./makelib libvmailmgr.a vmailmgr/req_arg.o vmailmgr/req_init.o vmailmgr/req_write.o vmailmgr/resp_read.o vmailmgr/vpwentry_export.o vmailmgr/vpwentry_free.o vmailmgr/vpwentry_import.o diff --git a/dev-libs/bglibs/files/bglibs-1.106-parallel-fix.patch b/dev-libs/bglibs/files/bglibs-1.106-parallel-fix.patch new file mode 100644 index 000000000000..30c13e8c75fa --- /dev/null +++ b/dev-libs/bglibs/files/bglibs-1.106-parallel-fix.patch @@ -0,0 +1,61 @@ +Forward port to 1.106 by Thilo Bangert +Fixes for parallel compile. + +- Redirection straight to an output target that is later used for dependancies + is not safe. The output file must be come into existence atomically. + +Signed-off-by: Robin H. Johnson + +diff -Naur bglibs-1.106.orig/Makefile bglibs-1.106/Makefile +--- bglibs-1.106.orig/Makefile 2009-11-20 11:52:29.000000000 +0100 ++++ bglibs-1.106/Makefile 2009-11-20 11:56:01.000000000 +0100 +@@ -152,37 +152,43 @@ + ./compile crc-gentab.c + + crc/crc16_arc_table.c: crc-gentab +- ./crc-gentab crc16_arc 16 0x8005 reflected >$@ ++ ./crc-gentab crc16_arc 16 0x8005 reflected >$@.tmp ++ mv $@.tmp $@ + + crc/crc16_arc_table.lo crc/crc16_arc_table.o: ltcompile crc/crc16_arc_table.c + ./ltcompile crc/crc16_arc_table.c + + crc/crc16_ccitt_table.c: crc-gentab +- ./crc-gentab crc16_ccitt 16 0x1021 normal >$@ ++ ./crc-gentab crc16_ccitt 16 0x1021 normal >$@.tmp ++ mv $@.tmp $@ + + crc/crc16_ccitt_table.lo crc/crc16_ccitt_table.o: ltcompile crc/crc16_ccitt_table.c + ./ltcompile crc/crc16_ccitt_table.c + + crc/crc16_xmodem_table.c: crc-gentab +- ./crc-gentab crc16_xmodem 16 0x8408 reflected >$@ ++ ./crc-gentab crc16_xmodem 16 0x8408 reflected >$@.tmp ++ mv $@.tmp $@ + + crc/crc16_xmodem_table.lo crc/crc16_xmodem_table.o: ltcompile crc/crc16_xmodem_table.c + ./ltcompile crc/crc16_xmodem_table.c + + crc/crc32_table.c: crc-gentab +- ./crc-gentab crc32 32 0x04C11DB7 reflected >$@ ++ ./crc-gentab crc32 32 0x04C11DB7 reflected >$@.tmp ++ mv $@.tmp $@ + + crc/crc32_table.lo crc/crc32_table.o: ltcompile crc/crc32_table.c + ./ltcompile crc/crc32_table.c + + crc/crc32c_table.c: crc-gentab +- ./crc-gentab crc32c 32 0x1EDC6F41 reflected >$@ ++ ./crc-gentab crc32c 32 0x1EDC6F41 reflected >$@.tmp ++ mv $@.tmp $@ + + crc/crc32c_table.lo crc/crc32c_table.o: ltcompile crc/crc32c_table.c + ./ltcompile crc/crc32c_table.c + + crc/crc64_table.c: crc-gentab +- ./crc-gentab crc64 64 0x42F0E1EBA9EA3693 normal >$@ ++ ./crc-gentab crc64 64 0x42F0E1EBA9EA3693 normal >$@.tmp ++ mv $@.tmp $@ + + crc/crc64_table.lo crc/crc64_table.o: ltcompile crc/crc64_table.c + ./ltcompile crc/crc64_table.c diff --git a/dev-libs/bglibs/metadata.xml b/dev-libs/bglibs/metadata.xml new file mode 100644 index 000000000000..a4e0d354f696 --- /dev/null +++ b/dev-libs/bglibs/metadata.xml @@ -0,0 +1,8 @@ + + + + + robbat2@gentoo.org + Robin H. Johnson + + diff --git a/dev-libs/bitset/Manifest b/dev-libs/bitset/Manifest new file mode 100644 index 000000000000..ac5675772d36 --- /dev/null +++ b/dev-libs/bitset/Manifest @@ -0,0 +1,7 @@ +DIST bitset-2.8.3.tar.gz 36787 SHA256 87d9cb74405c4b496ba1bcb334afd60e15be0a17102b0e722337a6604f2e8469 SHA512 7b451139ee9db0b581e552d09f03809185e64f3b1190d887ba58478c4dc10a1ecc687d69cb42045e3c01ad9d065e12aa4f31d14068d7df9f6a8f284344d5b51c WHIRLPOOL d814d155c700817c636047d437c219d436fbcb2492294ee347f48368740866113318b278bf63094f84067f62dab6334b9f2a9607162f106815e013d96240b6e6 +DIST bitset-2.8.4.tar.gz 37040 SHA256 7e3a8d7e550ed24f646a3264c7efeb0b267f5f2d0f3177952b2ce5f6866e57b7 SHA512 709c4f064416b22ae37fc9659a9eb74007fff5ce12eb998c386a268427a012238258bbd0f019682a5172a98b7b2a476fd60017bf34e199159e838b254b48ffe7 WHIRLPOOL 2ed96fb305a8e88bff695b419dc73ecb64ebbdf5944d869a4bd3216ac77a88ede4dd646a6a5f64dc7e6bb77903acfc46e64d67359cc58151df288b86043e812c +EBUILD bitset-2.8.3.ebuild 761 SHA256 309bc39e62ad49c2e504030bf04c866df7544d26afff1ce38db4ae457f3b78fd SHA512 42058787f4f08bb3f59f96d2e90efbabf98a7eef008e2914979fc572e8a6e74ebee842e54bcbcfa24a78262137631ad4b2cb6eabf3d5e6f9052d336292dce2b1 WHIRLPOOL 1fa7d6a67f0625adbf4faabebf9332cd60c6b46334c6b3a86e014ab938443ec2f02fb8fc7b2c879ed559d6b38063d3b20c05b8d981865cbfcf23d624f3518600 +EBUILD bitset-2.8.4-r1.ebuild 943 SHA256 710c2d1aa649f3400d8322a96ac9151df141387f3f309cb6026d6c232f6ec366 SHA512 7179d196b836ff6e601f62d85e5ccfaf008d0eff5ae4f817301bac92b73f2dc38310389e0c8f501089f93b922279d85bf1e3edb91b08ef2cb0199813f2c18119 WHIRLPOOL 4ede7f06c172930b157991a54ff1a14d04cdf83280239d06942dc2b97e92a7b29f5dcd468cfd10361e50a9e032efc11b0b73db92f0b2b1699e19f793e5bc02fe +MISC ChangeLog 2796 SHA256 a30f5f2c064f74d300ec9d1f6420257cdfcaa8fa1910b445d1719854edf8b0c4 SHA512 c76f5a927a4600c1f8b0ebeadcbf0518004712bb0cc17fa31c059fcc6061b8ab3e4f2d486ac08e0633467e6b5ff78c69e975c5ec5e8f86652b2a3cc1216f7cbb WHIRLPOOL 1ecf70a908d59a94f25d8bdaec8dbde1a275c839d974478fdd41224cce0da1a8d4c1678dbaeceb3f820b3f5041752dc2130881ef35ddd7e3bc7e460d564c5392 +MISC ChangeLog-2015 1883 SHA256 912fac454a9cdcbeee0cb75ec37d99d119ad774db603d3188a057d7bc9fe1c0e SHA512 0ebe3edfb8fbad97fd6fc4bf7c228ebb99ae2cb5d40eba9e267a538e56aa3a4aa14c299e1b57b12ec567b5ca5ace7f5558c729b7d0979b5fc07e7e4e368de514 WHIRLPOOL 5a15826606f8ba78c726ae4c7fb09ba9bad4565fc767a3871b92ff949b5a33ba68700290267f36628ac306120f9a1e3f76d5e4e54279a578c7f6d06d69070706 +MISC metadata.xml 522 SHA256 ecb1bd6564d0d9c975c5b7a14253429160a4ca0347618484d69861c4a8138feb SHA512 5c0fb4abffcc6da6ed48fec3e52e19b6526a526909463da6f9e4b8c0094f5701548d782c65a5b4c9787eb1143429ec4d0cdf71a7677e99331a9891a4acd3b537 WHIRLPOOL 62b8aea38911dce3353ee343d0cbfdee8c5d13ad085e66235ad49304c04b7be0ef6d6a599e1d87c8b92225b9cd9832f4fc544305811aad79a91e16673039bdec diff --git a/dev-libs/bitset/bitset-2.8.3.ebuild b/dev-libs/bitset/bitset-2.8.3.ebuild new file mode 100644 index 000000000000..0f9c70752602 --- /dev/null +++ b/dev-libs/bitset/bitset-2.8.3.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +AUTOTOOLS_AUTORECONF=1 +inherit autotools-utils + +DESCRIPTION="A compressed bitset with supporting data structures and algorithms" +HOMEPAGE="https://github.com/chriso/bitset" +SRC_URI="https://github.com/chriso/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +IUSE="jemalloc static-libs tcmalloc" +KEYWORDS="amd64 x86" + +RDEPEND="tcmalloc? ( dev-util/google-perftools[-minimal] ) + jemalloc? ( >=dev-libs/jemalloc-3.2 )" +DEPEND="${RDEPEND}" + +REQUIRED_USE="?? ( jemalloc tcmalloc )" + +DOCS=( README.md ) + +src_configure() { + local myeconfargs=( + $(use_with jemalloc) \ + $(use_with tcmalloc) + ) + autotools-utils_src_configure +} diff --git a/dev-libs/bitset/bitset-2.8.4-r1.ebuild b/dev-libs/bitset/bitset-2.8.4-r1.ebuild new file mode 100644 index 000000000000..420af9b499c2 --- /dev/null +++ b/dev-libs/bitset/bitset-2.8.4-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +AUTOTOOLS_AUTORECONF=1 +inherit autotools-utils + +DESCRIPTION="A compressed bitset with supporting data structures and algorithms" +HOMEPAGE="https://github.com/chriso/bitset" +SRC_URI="https://github.com/chriso/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +IUSE="jemalloc static-libs tcmalloc" +KEYWORDS="amd64 ~arm x86" + +RDEPEND="tcmalloc? ( dev-util/google-perftools:= ) + jemalloc? ( >=dev-libs/jemalloc-3.2 )" +DEPEND="${RDEPEND}" + +REQUIRED_USE="?? ( jemalloc tcmalloc )" + +DOCS=( README.md ) + +src_configure() { + local tcmalloc_lib_name='tcmalloc' + has_version dev-util/google-perftools[minimal] && tcmalloc_lib_name='tcmalloc_minimal' + local myeconfargs=( + $(use_with jemalloc) \ + $(use_with tcmalloc) \ + $(use_with tcmalloc tcmalloc-lib "${tcmalloc_lib_name}") + ) + autotools-utils_src_configure +} diff --git a/dev-libs/bitset/metadata.xml b/dev-libs/bitset/metadata.xml new file mode 100644 index 000000000000..d1af046aa04c --- /dev/null +++ b/dev-libs/bitset/metadata.xml @@ -0,0 +1,15 @@ + + + + + pinkbyte@gentoo.org + Sergey Popov + + + Use dev-libs/jemalloc for allocations + Use tcmalloc from dev-util/google-perftools for allocations + + + chriso/bitset + + diff --git a/dev-libs/blitz/Manifest b/dev-libs/blitz/Manifest new file mode 100644 index 000000000000..7392f50e228d --- /dev/null +++ b/dev-libs/blitz/Manifest @@ -0,0 +1,9 @@ +AUX blitz-0.10-docs.patch 2824 SHA256 aa1dd23e6d38bf6a4540e4b0b49503e5a851aebeb0315ee7e3a8fba7aba02a60 SHA512 c20fe575a5466c11ec386a3e826622035826b0fea133c3f212809d5b39f0ea058418b347e425daded48141b5ef1446af655f221a60e1919f3867442673ff9707 WHIRLPOOL 0fd569f2705adc4614ca5b4b98df875461deba4ce71ea5cbe75bfe3dbf82cb99b2a60ef28f2d0615e16b311e027e27464aa15a9e7aadc61aa2840108024b16c6 +AUX blitz-0.10-gcc47.patch 1534 SHA256 b455d0b68b1c992ac58f546c7b3ec51e754cfceacf85f3c5e7d5c7c077018f29 SHA512 1cc37eba48e7e486dd53f9441b375be2f8140fe634e2fbf3a1bfb0225a7eb0810f95b3f02c66c674d88a97a13f598677867ad77472dc0cd7a3b936a5e3c185de WHIRLPOOL 0ec3824febc62abe6b039b6f49e52123ad21dcb92ed5b29ec22b378982fe4a92a3ecbfd19a76a0187615572476caa0ab2386b6abd53a700bc72d6e74c7ef9076 +AUX blitz-0.10-set-default-arg-value.patch 4809 SHA256 b7df9a999234bece33d8f293f97917d64f12a3268a16d9cc9c83214fcfac7888 SHA512 8181b3740b561f126ce503cc74ed09f9cd1f54cadd29634b2a2771c00cdf6ecc51f82441d30c55703e5576d929dc555a6c52def65b542ffea66a86eca4d6c1f1 WHIRLPOOL a40042b1a43da05fed202cd3f89003910f3c66f7f89475bb3e446afdb29e5b7e1bc5a7ca41fc770270d8a5ba9e81f930d6dc4c64cb6a86884328ad2e4613a0d6 +DIST blitz-0.10.tar.gz 3777276 SHA256 804ef0e6911d43642a2ea1894e47c6007e4c185c866a7d68bad1e4c8ac4e6f94 SHA512 04fb0c8735d8ae173e6e907bd04fd739c482b7816c25b7dfe58c8641b90c17321e9a6849ced73a04ca9cc55439070de1a1e395497887317b553b0550fa0a2462 WHIRLPOOL ab091832e5dd34f0d2a0f6584c000962946b42f32175fb589fc5c329807e6f75cc81c921c4da3d9e60bc211de0746af1a5f30dc5776761993434a0b8e32ebf6e +EBUILD blitz-0.10-r1.ebuild 1620 SHA256 af5f89f7ea86014700be5abd514baa1fd6e7091f93dd9ed8d4681cb9da3d1633 SHA512 2979767087474edf5cd565c29a3889341a2693fc6731593e09df23babd9beedd93a1d8e31918fa2fbfa40752cbb1d7295edc8d95fa8b7868db6bd3bd4fce3692 WHIRLPOOL 28d1987512b2237a2e63b5382bc6ce3d0c91a63ac8823950174d3ef9fde57532805d072e1d929f5b16f8e27ffb731eab03bf3f026fe4183afe63fa2a11b04136 +EBUILD blitz-0.10.ebuild 1556 SHA256 2e3c4b8600145c2a7c3036f9641a4bd75d341c288a6b7778271eb700669f7216 SHA512 94358c22d0aa0cb652a5372e962ddd35932f7e8cd6d52e86e397c8e8a3663b678aca4875580aea19f66092f454740e193bacc64e18b580dfa640d5dc786e7e84 WHIRLPOOL ba2b3281df608a160c0b7036d67e0c6c038afffbd2fad1a511ebdd7ac9eb0c76f7fdc305d42a5ab0b1409c54f7235d987e4e5dba0c46439812d9f87c5a163882 +MISC ChangeLog 2583 SHA256 3fc912d4261909ef8beeac6bb2bf901c1464f9f8cfd52b5334e37ee76cd20808 SHA512 f1aae719e9c08f51812aa1b0a941ecdebc71e50cbf45d4ae8b24633349cfb860960d54c855ae0412873874b258b4ac99ee89335e3e9beb45cb34f86a329210fb WHIRLPOOL 84569a2e17457a7c882e7a903a66f6845a616305ae3313da621736d6a891a214703fb05acf26fb698d52206a6bac86bb43a74a93547f65265d664eff33a510ce +MISC ChangeLog-2015 7202 SHA256 237322b2a429a75f2ff1bcd992b5e4d81b93fae2f7f653f4f2a6c4f6bb449cd9 SHA512 c86e0f2cc94357299c7a15da6100ddfec980b0662d5f7a2d2d09f3819fc6600c98078dfc8885637e99f8841ca4fe6e35cba264d562f57ad11ec2de254d260d87 WHIRLPOOL d50da3deda59ab190f76fd41cfc19775bacb65513de2ad33d756efc68024c2cadecd6d2f66bf3c59d1915b312efe421c16e24a517a5ab8d03271f66163588b52 +MISC metadata.xml 1082 SHA256 5e4891b38e9a2f2b45eefbfec4ed8041b8f95abdeefa840e16227e7051e57a70 SHA512 3e11653a23ff4a4119756b3742054a57cea529b67b916348710a979d78dfabab98faa268a2ca914773ab264e7489938c690e1365a4a217389be4c7d3d9d5b96f WHIRLPOOL 440321023d5b96dd2d8e18cabd4ccd1880a5e2b2d0967f7c3cb78e8dbb91748caeb5745ce3b10179b43b70b90b181ba36dcc0f80ccc2decd4c5a0faf007ec9ff diff --git a/dev-libs/blitz/blitz-0.10-r1.ebuild b/dev-libs/blitz/blitz-0.10-r1.ebuild new file mode 100644 index 000000000000..212bf8408092 --- /dev/null +++ b/dev-libs/blitz/blitz-0.10-r1.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +AUTOTOOLS_AUTORECONF=1 +inherit autotools-utils + +DESCRIPTION="High-performance C++ numeric library" +HOMEPAGE="http://blitz.sourceforge.net" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="|| ( LGPL-3 Artistic-2 BSD )" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~ppc-macos ~x86-linux ~x86-macos" + +IUSE="boost debug doc examples static-libs" + +RDEPEND="boost? ( >=dev-libs/boost-1.40 )" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen[dot] )" + +PATCHES=( + "${FILESDIR}/${P}-docs.patch" + "${FILESDIR}/${P}-gcc47.patch" + "${FILESDIR}/${P}-set-default-arg-value.patch" +) + +src_configure() { + # blas / fortran only needed for benchmarks + use doc && doxygen -u doc/doxygen/Doxyfile.in + local myeconfargs=( + --htmldir="${EPREFIX}/usr/share/doc/${PF}/html" + --enable-shared + --disable-cxx-flags-preset + --disable-fortran + --without-blas + $(use_enable boost serialization) + $(use_enable debug) + $(use_enable doc doxygen) + $(use_enable doc html-docs) + $(use_with boost boost "${EPREFIX}/usr") + $(use_with boost boost-serialization) + ) + autotools-utils_src_configure +} + +src_compile() { + autotools-utils_src_compile LDFLAGS="${LDFLAGS}" lib + use doc && autotools-utils_src_compile info html pdf +} + +src_test() { + pushd ${AUTOTOOLS_BUILD_DIR} > /dev/null + emake check-testsuite check-examples + popd > /dev/null +} + +src_install () { + autotools-utils_src_install $(use doc && echo install-html install-pdf) + if use examples; then + insinto /usr/share/doc/${PF}/examples + doins examples/*.{cpp,f} + fi +} diff --git a/dev-libs/blitz/blitz-0.10.ebuild b/dev-libs/blitz/blitz-0.10.ebuild new file mode 100644 index 000000000000..02744f2ceeb7 --- /dev/null +++ b/dev-libs/blitz/blitz-0.10.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +AUTOTOOLS_AUTORECONF=1 + +inherit autotools-utils multilib + +DESCRIPTION="High-performance C++ numeric library" +HOMEPAGE="http://blitz.sourceforge.net" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +SLOT="0" +LICENSE="|| ( LGPL-3 Artistic-2 BSD )" +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~ppc-macos ~x86-linux ~x86-macos" +IUSE="boost debug doc examples static-libs" + +RDEPEND="boost? ( >=dev-libs/boost-1.40 )" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen[dot] )" + +PATCHES=( "${FILESDIR}"/${P}-{docs,gcc47,set-default-arg-value}.patch ) + +src_configure() { + # blas / fortran only needed for benchmarks + use doc && doxygen -u doc/doxygen/Doxyfile.in + local myeconfargs=( + --htmldir="${EPREFIX}/usr/share/doc/${PF}/html" + --enable-shared + --disable-cxx-flags-preset + --disable-fortran + --without-blas + $(use_enable boost serialization) + $(use_enable debug) + $(use_enable doc doxygen) + $(use_enable doc html-docs) + $(use_with boost boost "${EPREFIX}/usr") + $(use_with boost boost-serialization) + ) + autotools-utils_src_configure +} + +src_compile() { + autotools-utils_src_compile lib + use doc && autotools-utils_src_compile info html pdf +} + +src_test() { + pushd ${AUTOTOOLS_BUILD_DIR} > /dev/null + emake check-testsuite check-examples + popd > /dev/null +} + +src_install () { + autotools-utils_src_install $(use doc&& echo install-html install-pdf) + if use examples; then + insinto /usr/share/doc/${PF}/examples + doins examples/*.{cpp,f} + fi +} diff --git a/dev-libs/blitz/files/blitz-0.10-docs.patch b/dev-libs/blitz/files/blitz-0.10-docs.patch new file mode 100644 index 000000000000..dd0dca77af36 --- /dev/null +++ b/dev-libs/blitz/files/blitz-0.10-docs.patch @@ -0,0 +1,88 @@ +* respect user's docdir,htmldir,pdfdir at configuration time +* install recursive for doxygen generated +* works for out-of-source directory installation + +bicatali@gentoo.org Aug 2012 + +diff -Nur doc.orig/doxygen/Makefile.am doc/doxygen/Makefile.am +--- doc.orig/doxygen/Makefile.am 2012-05-11 13:11:13.000000000 -0700 ++++ doc/doxygen/Makefile.am 2012-08-13 13:44:27.616583722 -0700 +@@ -2,7 +2,6 @@ + + # Support doxygen documentation ? + +-docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)/doxygen + + DISTCLEANFILES = Doxyfile doxygen-warning + +@@ -84,29 +83,27 @@ + $(RM) -rf latex; \ + fi + +-# Install hooks +-make-install-dirs: +- @if test '!' -d $(DESTDIR)$(docdir) ; \ +- then mkdir -p $(DESTDIR)$(docdir) ; \ +- fi + +-install-data-hook: make-install-dirs ++install-data-hook: + @if test -d html; then \ +- echo Installing HTML documentation into $(DESTDIR)$(docdir) ; \ +- $(INSTALL_DATA) html/* $(DESTDIR)$(docdir) ; \ ++ echo Installing HTML documentation into $(DESTDIR)$(htmldir) ; \ ++ $(MKDIR_P) $(DESTDIR)$(htmldir) ; \ ++ cp -r html/* $(DESTDIR)$(htmldir) ; \ + fi + @if test -f $(PACKAGE).pdf; then \ +- echo Installing PDF manual into $(DESTDIR)$(docdir) ; \ +- $(INSTALL_DATA) $(PACKAGE).pdf $(DESTDIR)$(docdir) ; \ ++ echo Installing PDF manual into $(DESTDIR)$(pdfdir) ; \ ++ $(MKDIR_P) $(DESTDIR)$(pdfdir) ; \ ++ $(INSTALL_DATA) $(PACKAGE).pdf $(DESTDIR)$(pdfdir) ; \ + fi + @if test -f $(PACKAGE).ps; then \ +- echo Installing PS manual into $(DESTDIR)$(docdir) ; \ +- $(INSTALL_DATA) $(PACKAGE).ps $(DESTDIR)$(docdir) ; \ ++ echo Installing PS manual into $(DESTDIR)$(psdir) ; \ ++ $(MKDIR_P) $(DESTDIR)$(psdir) ; \ ++ $(INSTALL_DATA) $(PACKAGE).ps $(DESTDIR)$(psdir) ; \ + fi + + uninstall-hook: + @echo Uninstalling doxygen documentation directory ; \ +- rm -rf "$(DESTDIR)$(docdir)"; ++ rm -rf "$(DESTDIR)$(htmldir)" "$(DESTDIR)$(psdir)" "$(DESTDIR)$(pdfdir)" ; + + + +diff -Nur doc.orig/Makefile.am doc/Makefile.am +--- doc.orig/Makefile.am 2012-05-11 13:11:13.000000000 -0700 ++++ doc/Makefile.am 2012-08-13 13:54:04.490647132 -0700 +@@ -4,8 +4,6 @@ + + SUBDIRS = examples stencils doxygen + +-# docdir directory to install the doc (pdf ps html) +-docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION) + + DVIPS=export TEXPICTS=$(srcdir); dvips + AM_MAKEINFOFLAGS = --no-split -I$(srcdir) +@@ -78,7 +76,7 @@ + # Install also the images into the directory html + install-html-local: + test -z "$(htmldir)" || $(MKDIR_P) "$(DESTDIR)$(htmldir)" +- $(INSTALL_DATA) *.gif *.jpg $(DESTDIR)$(htmldir) ++ $(INSTALL_DATA) $(srcdir)/*.gif $(srcdir)/*.jpg $(DESTDIR)$(htmldir) + + .PHONY: html + +@@ -86,7 +84,7 @@ + + # Install also the images into the directory containing the html files + install-html-local: +- $(INSTALL_DATA) *.gif *.jpg blitz.html ++ $(INSTALL_DATA) $(srcdir)/*.gif $(srcdir)/*.jpg $(top_builddir)/doc/blitz.html + + endif + diff --git a/dev-libs/blitz/files/blitz-0.10-gcc47.patch b/dev-libs/blitz/files/blitz-0.10-gcc47.patch new file mode 100644 index 000000000000..d0b35665567b --- /dev/null +++ b/dev-libs/blitz/files/blitz-0.10-gcc47.patch @@ -0,0 +1,33 @@ +diff -ur blitz-0.10/blitz/bzdebug.h blitz-0.10.new/blitz/bzdebug.h +--- blitz-0.10/blitz/bzdebug.h 2012-05-11 22:11:13.000000000 +0200 ++++ blitz-0.10.new/blitz/bzdebug.h 2012-06-28 15:42:38.060656045 +0200 +@@ -117,15 +117,15 @@ + } + } + +- #define BZASSERT(X) checkAssert(X, __FILE__, __LINE__) +- #define BZPRECONDITION(X) checkAssert(X, __FILE__, __LINE__) +- #define BZPOSTCONDITION(X) checkAssert(X, __FILE__, __LINE__) +- #define BZSTATECHECK(X,Y) checkAssert(X == Y, __FILE__, __LINE__) ++ #define BZASSERT(X) blitz::checkAssert(X, __FILE__, __LINE__) ++ #define BZPRECONDITION(X) blitz::checkAssert(X, __FILE__, __LINE__) ++ #define BZPOSTCONDITION(X) blitz::checkAssert(X, __FILE__, __LINE__) ++ #define BZSTATECHECK(X,Y) blitz::checkAssert(X == Y, __FILE__, __LINE__) + #define BZPRECHECK(X,Y) \ + { \ + if ((assertFailMode == false) && (!(X))) \ + BZ_STD_SCOPE(cerr) << Y << BZ_STD_SCOPE(endl); \ +- checkAssert(X, __FILE__, __LINE__); \ ++ blitz::checkAssert(X, __FILE__, __LINE__); \ + } + + #define BZ_DEBUG_MESSAGE(X) \ +@@ -138,7 +138,7 @@ + } + + #define BZ_DEBUG_PARAM(X) X +- #define BZ_PRE_FAIL checkAssert(0) ++ #define BZ_PRE_FAIL blitz::checkAssert(0) + #define BZ_ASM_DEBUG_MARKER + + #elif defined(BZ_DEBUG) diff --git a/dev-libs/blitz/files/blitz-0.10-set-default-arg-value.patch b/dev-libs/blitz/files/blitz-0.10-set-default-arg-value.patch new file mode 100644 index 000000000000..6d10b399a1af --- /dev/null +++ b/dev-libs/blitz/files/blitz-0.10-set-default-arg-value.patch @@ -0,0 +1,107 @@ +Set default variable to allow both --enable-x/--disable-x and + --with-x/--without-x to work as expected. + +bicatali@gentoo.org 08/2012 + +--- configure.ac.orig 2012-08-20 17:46:41.000000000 +0100 ++++ configure.ac 2012-08-20 17:56:23.000000000 +0100 +@@ -37,7 +37,7 @@ + # Option to disable Fortran (benchmarks will not compile) + AC_MSG_CHECKING([whether to enable Fortran compilation for benchmark codes]) + AC_ARG_ENABLE(fortran, +- AS_HELP_STRING([--enable-fortran],[Enable Fortran compilation]),,[ ++ AS_HELP_STRING([--enable-fortran],[Enable Fortran compilation]),enable_fortran=$enableval,[ + enable_fortran="yes"]) + AC_MSG_RESULT([$enable_fortran]) + AM_CONDITIONAL(FORTRAN_ENABLED, [test $enable_fortran = yes]) +@@ -96,7 +96,7 @@ + # Option to enable thread-safety (requires thread support or OpenMP) + AC_MSG_CHECKING([whether to enable Blitz thread-safety features]) + AC_ARG_ENABLE(threadsafe, +- AS_HELP_STRING([--enable-threadsafe],[Enable thread-safety features]),,[ ++ AS_HELP_STRING([--enable-threadsafe],[Enable thread-safety features]),enable_threadsafe=$enableval,[ + enable_threadsafe="no"]) + AC_MSG_RESULT([$enable_threadsafe]) + if test "$enable_threadsafe" = yes; then +@@ -106,17 +106,22 @@ + AC_MSG_CHECKING([if we are using Intel Threading Building Blocks]) + AC_ARG_WITH([tbb], + AS_HELP_STRING([--with-tbb],[Use Intel Threading Building Blocks atomic types]), +- [ ++ [if test x$withval != xno; then + AC_MSG_RESULT([yes]) + AC_CHECK_HEADERS([tbb/atomic.h],,AC_MSG_ERROR([tbb/atomic.h not found])) + AC_DEFINE([THREADSAFE_USE_TBB],[1],[Use TBB atomic types]) ++ else ++ AC_MSG_RESULT([no]) ++ fi + ],AC_MSG_RESULT([no])) + + AC_MSG_CHECKING([for SIMD instruction width]) + AC_ARG_ENABLE([simd-width], + AS_HELP_STRING([--enable-simd-width=n],[Facilitate compiler vectorization optimizations for SIMD instruction width of n bytes.]), +- [ AC_ALIGNMENT_DIRECTIVE +- AC_DEFINE([USE_ALIGNMENT_PRAGMAS],[1],[Specifies whether compiler alignment pragmas should be used]) ], ++ [if test x$enableval != xno; then ++ AC_ALIGNMENT_DIRECTIVE ++ AC_DEFINE([USE_ALIGNMENT_PRAGMAS],[1],[Specifies whether compiler alignment pragmas should be used]) ++ fi ], + [enable_simd_width=no] + ) + AC_MSG_RESULT([$enable_simd_width]) +@@ -130,12 +135,15 @@ + AC_MSG_CHECKING([whether to pad array lengths to SIMD instruction width]) + AC_ARG_ENABLE([array-length-padding], + AS_HELP_STRING([--enable-array-length-padding],[Sets the default array padding policy to pad all lowest-rank lengths to nearest larger SIMD width. Caution: This means that arrays will in general be non-contiguous.]), +- [ ++ [if test x$enableval != xno; then + AC_MSG_RESULT([yes]) + if test "$enable_simd_width" == [1] ; then + AC_MSG_WARN([This option is useless without a SIMD width >1.]) + fi + AC_DEFINE([PAD_ARRAYS],1,[Pad array lengths to SIMD width.]) ++ else ++ AC_MSG_RESULT([no]) ++ fi + ],AC_MSG_RESULT([no])) + + AC_MSG_CHECKING([whether to enable Blitz 64-bit dimensions]) +@@ -147,10 +155,14 @@ + AC_MSG_CHECKING([whether to enable serialization support]) + AC_ARG_ENABLE([serialization], + AS_HELP_STRING([--enable-serialization],[Enable serialization support using Boost::Serialization]), [ ++ if test x$enableval != xno; then + AC_MSG_RESULT([yes]) + AX_BOOST_BASE([1.40.0]) + AX_BOOST_SERIALIZATION + AC_CHECK_HEADERS([boost/mpi.hpp]) ++ else ++ AC_MSG_RESULT([no]) ++ fi + ], AC_MSG_RESULT([no])) + + # check for PAPI library +diff -Nur m4.orig/ac_prog_doxygen.m4 m4/ac_prog_doxygen.m4 +--- m4.orig/ac_prog_doxygen.m4 2012-08-20 18:03:12.000000000 +0100 ++++ m4/ac_prog_doxygen.m4 2012-08-20 18:00:46.000000000 +0100 +@@ -3,16 +3,16 @@ + AC_DEFUN([AC_PROG_DOXYGEN], + [ + AC_ARG_ENABLE(doxygen, +-AS_HELP_STRING([--enable-doxygen],[enable documentation generation with doxygen (no)]),[],[enable_doxygen=no]) ++AS_HELP_STRING([--enable-doxygen],[enable documentation generation with doxygen (no)]),[enable_doxygen=$enableval],[enable_doxygen=no]) + + AC_ARG_ENABLE(dot, +-AS_HELP_STRING([--enable-dot],[use 'dot' to generate graphs in doxygen (no)]),[],[enable_dot=no]) ++AS_HELP_STRING([--enable-dot],[use 'dot' to generate graphs in doxygen (no)]),[enable_dot=$enableval],[enable_dot=no]) + AC_ARG_ENABLE(html-docs, + AS_HELP_STRING([--enable-html-docs],[enable HTML generation with doxygen (no)]), +-[],[ enable_html_docs=no]) ++[enable_html_docs=$enableval],[ enable_html_docs=no]) + AC_ARG_ENABLE(latex-docs, + AS_HELP_STRING([--enable-latex-docs], +-[enable LaTeX documentation generation with doxygen (no)]),[],[enable_latex_docs=no]) ++[enable LaTeX documentation generation with doxygen (no)]),[enable_latex_docs=$enableval],[enable_latex_docs=no]) + + if test "x$enable_doxygen" = xno; then + enable_doc=no diff --git a/dev-libs/blitz/metadata.xml b/dev-libs/blitz/metadata.xml new file mode 100644 index 000000000000..d5e41172adad --- /dev/null +++ b/dev-libs/blitz/metadata.xml @@ -0,0 +1,28 @@ + + + + + bicatali@gentoo.org + feel free to fix/update + + + cpp@gentoo.org + Gentoo C++ Project + + + Blitz++ is a meta-template library for array + manipulation in C++ with a speed comparable to Fortran + implementations, while preserving an object-oriented + interface. These results are being obtained not through better + optimizing compilers, preprocessors, or language extensions, but + through the use of template techniques. By using templates cleverly, + optimizations such as loop fusion, unrolling, tiling, and algorithm + specialization can be performed automatically at compile time. + + + Enable usage of boost::serialization + + + blitz + + diff --git a/dev-libs/boehm-gc/Manifest b/dev-libs/boehm-gc/Manifest new file mode 100644 index 000000000000..08b0c542c3dd --- /dev/null +++ b/dev-libs/boehm-gc/Manifest @@ -0,0 +1,23 @@ +AUX boehm-gc-6.5-gentoo.patch 2815 SHA256 04b7655024ec9e1fad2946b619c0cd7d56e0fb5ea4804ce29469b909853509e0 SHA512 ba006dda2d3ab295cb14e80f8b7e0908acbde89dbdae46b12b91b111ee1ebc1340ac0b91db8eec18a130a59fe27eda2f7d48f9ea35280c1e9ce3513d3a72779b WHIRLPOOL 706a626e7194ae7ed2e538202aaba8fdd32f765d55845e265643ce2ba11fd2f1d01e281940dd4fc8e740ec369d2915c2e39c1b9b8a507ca76593b8e8b0034178 +AUX boehm-gc-7.2d-automake-1.13.patch 372 SHA256 efa9b39464a8ed36f5356370095b3cdf6370a003c3a707a7fe38743123c97f52 SHA512 19efd52b91b985b31e190b77e5370fb510ad582a54868bb1a7fe54ae57e0625df113ad059a6d636a10f314624137704af8e193460b55c8ba422b9255aadae020 WHIRLPOOL ea4d66c521ea43b17ef40c76dbc3eb661cf5cd52a9c1716a7e9c4b2d766ff3e890902880973486efc9ec130e534d74082f606d89a6cfb6304e271e1e95df76ca +AUX boehm-gc-7.2d-configure.patch 1183 SHA256 ef62d424289cd74230f8b76358147b1b2ccc02c56a537f4a5b04692888e2957d SHA512 e30299d23bb5f88b140dd1fa987eb55c159caef341730871f443e41fc9a9525e0133d0be997f9e81fdae656faa7e31815fff7680ac71ffc946eff403e3e1d3ff WHIRLPOOL 0dad2e414fd7d22fe7aae4e411ad4c15dead6a38d9da0e608c80312884c216866765a006538aee8397fdc1f29e0ad039ae27c8a9446b755f931609d5a200ddd2 +AUX boehm-gc-7.2e-automake-1.13.patch 372 SHA256 efa9b39464a8ed36f5356370095b3cdf6370a003c3a707a7fe38743123c97f52 SHA512 19efd52b91b985b31e190b77e5370fb510ad582a54868bb1a7fe54ae57e0625df113ad059a6d636a10f314624137704af8e193460b55c8ba422b9255aadae020 WHIRLPOOL ea4d66c521ea43b17ef40c76dbc3eb661cf5cd52a9c1716a7e9c4b2d766ff3e890902880973486efc9ec130e534d74082f606d89a6cfb6304e271e1e95df76ca +AUX gc6.6-builtin-backtrace-uclibc.patch 425 SHA256 46c13de853b171b94bb4f998b796f170aa8f53070827ebe8bc2ec84e1bb72f24 SHA512 614dbce788a8e559c25966f9c82343d7ff2b26069f6f77bfa6d91abb755a8d4a46958e9b95f14d1e7e20349dc4df5b32a9e5bdd3eee9e5009a30003214e5f87f WHIRLPOOL ecacc19a412b806fc6e36913e2f92c3dba9c0d19fb485d991953c65099567ac4bd991c364546c27b76225866e4237b08c14195abfb7462f020aeb9047d30bf3f +DIST gc-7.1.tar.gz 1077714 SHA256 e3cef6028fe3efe7de3bcf4107c880eae50b3ee79841450d885467c09bcebf30 SHA512 10faa0062c7df2ac7e2e29ac369167daad526c9de477e9af2298e6e5ad0bb1de5d32203e048892b16c34b398657a1a338e2e122c3137eeb8143b184f9b5e7ea0 WHIRLPOOL e099bd824601d53d94207f5a9c255fad30e55396eae2e6a01a55e98a7b8441e7e1bdfb698b2f77ee75b3c13f60a4f8e26b82b9fdf783b10dd40a49bf7f4fcdf6 +DIST gc-7.2d.tar.gz 1263064 SHA256 d9fe0ae8650d43746a48bfb394cab01a319f3809cee19f8ebd16aa985b511c5e SHA512 5b342754a1efeef0cf78983b7a0e48a36495beac04fc881ab356b26dc153b343e940ec7af070f4fc875be44adc559f7be995919fe9229f68d2e0237cdbeaabcc WHIRLPOOL 441507f8d8a9ee6d19a25ef0a1b11068a60b15b40a5c484cc3133e48e7ed1c498ce7cc05924d34b0bb6a63f8cb437a696d66f45dca1e256e792f5180081b6051 +DIST gc-7.2e.tar.gz 1291186 SHA256 09315b48a82d600371207691126ad058c04677281ac318d86fa84c98c3c9af4b SHA512 80d1d50e38714b4f198743cd8cd5ab80a35cfbb7f5f9d66c89f40319604e989125870f010d4499876978594a5823d7b61213224a68da8664b9e4f8e14076c999 WHIRLPOOL bac6bac3dde1ed136403450d335a33e7ffc692575871d19edaa322a523046a7f6dc75331ffec02a8e36a2f056e6422331c6a40fb5bfb5cfc23c70819a9e03447 +DIST gc-7.4.0.tar.gz 1060884 SHA256 61f8fc6991f8cb003a0d3c7d251c5b9a76093615ef793e0c588a4661e0b5e283 SHA512 7421dddd963a4eeb3d0c2efd486dcf842793e81385c9a87c38265137626822566c98920d9d6a9423c1dbeb067fd7fe8aeeead2d7bb7083f6056b6288410e1032 WHIRLPOOL 5506bb8503b646daede64580a8302e3515bf14aa19b2a2f768ad0b1ef23e70bb983f3c6d10ab5746f977e4a27b217187147188ecc38056614a9a2f74c73179c8 +DIST gc-7.4.2.tar.gz 1082597 SHA256 63320ad7c45460e4a40e03f5aa4c6893783f21a16416c3282b994f933312afa2 SHA512 2e21516addf268780641ee55c0cb3ecc2d96fa963faffee5beadcade9c6bf1ee49ee1a75b076b5d49ddde7c839fb94f4c3623ca8412d14c2a5bf6ca30d424a72 WHIRLPOOL 139fb9fbaef30f30f54940d99832b2eb936015620f59ee51b58a45e12d03cb9b05d75d8f91a6d706bafad9498894e77a7205d64f422bf2a4b64be2e9a8a13d90 +DIST gc-7.6.0.tar.gz 1111751 SHA256 a14a28b1129be90e55cd6f71127ffc5594e1091d5d54131528c24cd0c03b7d90 SHA512 511e8c01287b1ee9dbec87f0573377de77038b7af053a3f33afed9b3ffa30e2402d6a9bb0ca4f4b81cd808209b47b5718d498cff3de6632a057fe03fad51fc43 WHIRLPOOL add6a8bf6fa2b9c0c1c14ff28dd6db67fe4a78b0de0598da14ededcea06f9d8dbaac6428fc7f0204a8919cd1c62ff5d7f81569684b3b895293713741ae4309ab +DIST gc6.8.tar.gz 756879 SHA256 448f8e4c6ee8c80eac059cf1c9379d20c388bcb900fc0796cd2a44d1dcbbae69 SHA512 69a9554d2d213392512d4ce41ec8c4993557e65c2b3dc4f568ac18695421cc08b7677c25f9a0ce03e94fb5e68a298fcac7ed09fb90007a2c998ff6ef78d3c651 WHIRLPOOL 970b4453895053e8bafc0b1b5b4f9c221f83cf20e5c9e305cacf47bf67f9a04bf9a3c684b0288c2cb8217cf10ed61ac7eeabcecafeaa64becb16d17ec3456909 +EBUILD boehm-gc-6.8.ebuild 1090 SHA256 7d87ded966b5e304a077e9ffef14f1258e2eaf2e5fc93c99368d1bebc2f2f571 SHA512 912df525bfaaa5b767e5774e68f059058d50a060a02a99605d5a204153c22610ba872334e93eee64281c68582aa1fa54e2da1d72d6a82c0d83d89e61062939f3 WHIRLPOOL aed93840ea032dbaae7a5062fe108bd46817dd104ad04a016adb6bb612c464f8b8881b9db8cd4806f6cf68f901b91303e25777e95589136f460bbd1062ec795b +EBUILD boehm-gc-7.1-r1.ebuild 1148 SHA256 6cc34d51b7ca8388af9556f54546d5fd2833c6aaf6113cec29a13153d3d0c830 SHA512 0f9e1d20c7de2df47ccbe487fd94ce674ea34b41edb089bb6d746e5de2c3e4ae16efb5900f02b1b477380917f274d946c3d1f7e70150bbf803b1e69bf615cd04 WHIRLPOOL a5dde8a9829b6931fbae634631f2237061438e667dacfdb0526068471f36056b305bde56d936dab5d5ee90af77b1909b09eff5eb6e37286122f99b93a20d5a9e +EBUILD boehm-gc-7.2d-r1.ebuild 1349 SHA256 f2af6f561f087dc5aee9dc155715560f28b8fed1b06b1ecd99196cbc5fb70ae8 SHA512 c1c894f4d19d231fda3317cb6cdc8d9abc131f4d91c4a642c866e5330a0f7d4ec1bc8dead617038ae06894a66e285877ae050e45d64320f1d5b133843e15b855 WHIRLPOOL fd0bf8dbd8ce38d184286d4fd25bda95ca0604fee4fe037c19ffb4a9d366ffdb474290453e1647520965a1a33b246974270ea809c777fd40b32d8a35d75c728e +EBUILD boehm-gc-7.2d.ebuild 1486 SHA256 1fea854d49e05194541b399aa10abe44a47818fba8695b7a9783cf91675ef495 SHA512 1cb254b75abe1073626affc0e7360e0d2e68295feba697286540cc832cf8ef4ef6a989237ee77a7d378c342ad1c8be36a1f55c774c625a139662d3d5404fd564 WHIRLPOOL c0920ef42941a33cff4b8f7c725cbc1c9a172236d7fbc9c8c40d45b7543094c87a22a7b2f8a916ca603d3ad2f985e50ff81db07dba01eb3ca2d665a96806add5 +EBUILD boehm-gc-7.2e.ebuild 1333 SHA256 d167cdd99301eaf56210ff766dab812f5d58548a7ccbbcfeac3bf681a86bae01 SHA512 e0fee4afc7b0f8b00df366d2856c3355e4832ebd1952f3ad3e23231dc7f34dc5471ced41624593690edc39b47a06274ca82c5dc90efc6181b50fa6a2e94b11b3 WHIRLPOOL 107ede6a7abfe78e0ad9beb6b2b3d4f118a8bff0f20e94042bf45618051a5d7e7441d5a879b42abe3a92aab4acb4575ef37a184b7af6019b447b4e7aa6d076ed +EBUILD boehm-gc-7.4.0.ebuild 1226 SHA256 3c1fb13e1f487d4bf491419e407675b0b08ca4c1dba70a99d532856e3faec9bf SHA512 346a736512c86d9d07aa35aeca5a56e5958dd6af7614b6f3fa475bc4db51cf2dda42e5ba7b392e61d0f89b12d8ca1048e71da5e4b4047390be15682f34e720a3 WHIRLPOOL 04d8c4e1becc5c18e1517e17c1af21f42f2950a8f7322d961d790d64e505822e6028ba87eb37059d3e6076a66f9a2337568a206d8213bec39820597537df0331 +EBUILD boehm-gc-7.4.2.ebuild 1200 SHA256 39d24c5eecbc7fb12eb513fe54e12c0745eb57569997534a7901929da053f7e8 SHA512 d90be5a47509d83927c355c44f79e301f1fc62b198e984d132ca385519f33ab2aa5e8cb1b0e6964d3312ad0e27d49b9b8c68cec639d0a231b092461f0f85112b WHIRLPOOL 27d60c777c3c569dbcd8b4a064eb4027d7db89ba5e6e8755a08006dbffc77f4b58e11f116883e9a135260edeb649a1bfc77adf6606ae26103790ca21b8b6b2d8 +EBUILD boehm-gc-7.6.0.ebuild 1245 SHA256 394edcbe48d6dedc8fbd3cf28b913e5a57c940ee62762a6cb5652d775c8c5864 SHA512 ec4606af16ad4332a5260506c773dcdf8384580cf9aaab4b59758fb9886164fed65f763d527b54f6b23b331b86952ab0f153a7705348c6b46264007dd410d53e WHIRLPOOL a6ca69e0057e8ab39acd1c296018c975549f9e68fbdc393dbf86752bd5c3aefc8daa7874716cc5b1d08e0af6195d4b47ed81d44b299e9ccc9b9278f4f57291d9 +MISC ChangeLog 3267 SHA256 a9396f1575b62c15f95e500d838ad2aea6e1d9d7c4f814b8082086186f17f263 SHA512 fe0ed8fa758057355ee057a572a883c19487fad03c02858eae7aefdf35a7ec439992b33a70f9e26494ed846feaf08a30413e69c5c84dc5f556f322e9e50a7926 WHIRLPOOL d9d4396088d45d287254c7df373df5e68d442af480596ab73b52001c4e18377d14f8ba806d19167155a9c05fb45d70d7e5d6024f8da26876e6ad305908e2d26d +MISC ChangeLog-2015 14997 SHA256 4d9159d4dd3552fc7618c44611c52839b5420c604d9cdcb4f1f5be2ae37fe475 SHA512 e4ae80b7cc04750ccfe5a5e14dfb010e2bee3a01e14f8545fc1855716767f7ea27ce238668085930f0a1d4547af5bd5ad1e5096d52ae3781efa4a76e58ff0a38 WHIRLPOOL e72dd51e9a1b6450f078153ec49e4c2f93437dd3296eb6ee313328f14d9ee0afd372a28d1784526a532cc1ce2d4542e89c52d1fb012f70ea3f3a4966c5558ea4 +MISC metadata.xml 361 SHA256 c7f871819ccce6fe86a06572c0398ffaf2ce371c4102f4e6ee3abc94af82acc9 SHA512 90f2837ff1c7ad2fc38cddadbac5e3c18ab17ee99bf30ce491d9581493a52b73463cdb4db86becb4b6b1123e3871c157431330e400931f85eb7e1f96231915e8 WHIRLPOOL 5193e0f97ceda7bb4fd338757886c115d2d7ced8d9e7185d915b442bbffa3b54464c11a1327d17d5ee9fdcf37bca61cdf732930815169a5a904e274f62796ef9 diff --git a/dev-libs/boehm-gc/boehm-gc-6.8.ebuild b/dev-libs/boehm-gc/boehm-gc-6.8.ebuild new file mode 100644 index 000000000000..dc47e2325d2f --- /dev/null +++ b/dev-libs/boehm-gc/boehm-gc-6.8.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +inherit eutils + +MY_P="gc${PV/_/}" +S="${WORKDIR}/${MY_P}" + +DESCRIPTION="The Boehm-Demers-Weiser conservative garbage collector" +HOMEPAGE="http://www.hboehm.info/gc/" +SRC_URI="http://www.hboehm.info/gc/gc_source/${MY_P}.tar.gz" + +LICENSE="boehm-gc" +SLOT="0" +KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86" +IUSE="cxx threads" + +src_unpack() { + unpack ${A} + cd "${S}" + sed -i -e '/^SUBDIRS/s/doc//' Makefile.in || die + epatch "${FILESDIR}"/${PN}-6.5-gentoo.patch + epatch "${FILESDIR}"/gc6.6-builtin-backtrace-uclibc.patch +} + +src_compile() { + econf \ + $(use_enable cxx cplusplus) \ + $(use threads || echo --disable-threads) + emake || die +} + +src_install() { + make DESTDIR="${D}" install || die + + rm -rf "${D}"/usr/share/gc || die + + # dist_noinst_HEADERS + insinto /usr/include/gc + doins include/{cord.h,ec.h,javaxfc.h} + insinto /usr/include/gc/private + doins include/private/*.h + + dodoc README.QUICK doc/README* doc/barrett_diagram + dohtml doc/*.html + newman doc/gc.man GC_malloc.1 +} diff --git a/dev-libs/boehm-gc/boehm-gc-7.1-r1.ebuild b/dev-libs/boehm-gc/boehm-gc-7.1-r1.ebuild new file mode 100644 index 000000000000..d0853b7a5336 --- /dev/null +++ b/dev-libs/boehm-gc/boehm-gc-7.1-r1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +inherit eutils + +MY_P="gc-${PV/_/}" +S="${WORKDIR}/${MY_P}" + +DESCRIPTION="The Boehm-Demers-Weiser conservative garbage collector" +HOMEPAGE="http://www.hboehm.info/gc/" +SRC_URI="http://www.hboehm.info/gc/gc_source/${MY_P}.tar.gz" + +LICENSE="boehm-gc" +SLOT="0" +KEYWORDS="alpha amd64 ~arm ~hppa ~ia64 ppc ppc64 ~sparc x86" +IUSE="cxx threads" + +src_unpack() { + unpack ${A} + cd "${S}" + sed -i -e '/^SUBDIRS/s/doc//' Makefile.in || die + epatch "${FILESDIR}"/${PN}-6.5-gentoo.patch + epatch "${FILESDIR}"/gc6.6-builtin-backtrace-uclibc.patch + sed '/Cflags/s:$:/gc:g' -i bdw-gc.pc.in || die +} + +src_compile() { + econf \ + $(use_enable cxx cplusplus) \ + $(use threads || echo --disable-threads) + emake || die +} + +src_install() { + emake DESTDIR="${D}" install || die + + rm -rf "${D}"/usr/share/gc || die + + # dist_noinst_HEADERS + insinto /usr/include/gc + doins include/{cord.h,ec.h,javaxfc.h} + insinto /usr/include/gc/private + doins include/private/*.h + + dodoc README.QUICK doc/README* doc/barrett_diagram + dohtml doc/*.html + newman doc/gc.man GC_malloc.1 +} diff --git a/dev-libs/boehm-gc/boehm-gc-7.2d-r1.ebuild b/dev-libs/boehm-gc/boehm-gc-7.2d-r1.ebuild new file mode 100644 index 000000000000..521c7db9964f --- /dev/null +++ b/dev-libs/boehm-gc/boehm-gc-7.2d-r1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit autotools eutils + +MY_P="gc-${PV/_/}" + +DESCRIPTION="The Boehm-Demers-Weiser conservative garbage collector" +HOMEPAGE="http://www.hboehm.info/gc/" +SRC_URI="http://www.hboehm.info/gc/gc_source/${MY_P}.tar.gz" + +LICENSE="boehm-gc" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="cxx static-libs threads" + +DEPEND=">=dev-libs/libatomic_ops-7.2 + virtual/pkgconfig" + +S="${WORKDIR}/${MY_P/d}" + +src_prepare() { + rm -r libatomic_ops || die + + epatch "${FILESDIR}"/${P}-configure.patch + epatch "${FILESDIR}"/${P}-automake-1.13.patch + eautoreconf +} + +src_configure() { + local config=( + --with-libatomic-ops + $(use_enable cxx cplusplus) + $(use_enable static-libs static) + $(use threads || echo --disable-threads) + ) + econf "${config[@]}" +} + +src_install() { + default + + rm -rf "${ED}"/usr/share/gc || die + + # dist_noinst_HEADERS + insinto /usr/include/gc + doins include/{cord.h,ec.h,javaxfc.h} + insinto /usr/include/gc/private + doins include/private/*.h + + dodoc README.QUICK doc/README{.environment,.linux,.macros} doc/barrett_diagram + dohtml doc/*.html + newman doc/gc.man GC_malloc.1 + + prune_libtool_files +} diff --git a/dev-libs/boehm-gc/boehm-gc-7.2d.ebuild b/dev-libs/boehm-gc/boehm-gc-7.2d.ebuild new file mode 100644 index 000000000000..49714110be22 --- /dev/null +++ b/dev-libs/boehm-gc/boehm-gc-7.2d.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +AUTOTOOLS_AUTORECONF=yes + +inherit autotools-utils + +MY_P="gc-${PV/_/}" + +DESCRIPTION="The Boehm-Demers-Weiser conservative garbage collector" +HOMEPAGE="http://www.hboehm.info/gc/" +SRC_URI="http://www.hboehm.info/gc/gc_source/${MY_P}.tar.gz" + +LICENSE="boehm-gc" +SLOT="0" +KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="cxx static-libs threads" + +RDEPEND=">=dev-libs/libatomic_ops-7.2" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +S="${WORKDIR}/${MY_P/d}" + +DOCS=( README.QUICK doc/README{,.environment,.linux,.macros} doc/barrett_diagram ) + +PATCHES=( "${FILESDIR}"/${P}-configure.patch ) + +AUTOTOOLS_AUTORECONF=1 + +src_prepare() { + sed '/Cflags/s:$:/gc:g' -i bdw-gc.pc.in || die + sed \ + -e '/gc_allocator.h/d' \ + -i Makefile.am || die + rm -rf libatomic_ops || die + autotools-utils_src_prepare +} + +src_configure() { + local myeconfargs=( + --with-libatomic-ops=yes + $(use_enable cxx cplusplus) + $(use threads || echo --disable-threads) + ) + autotools-utils_src_configure +} + +src_install() { + autotools-utils_src_install + + rm -rf "${ED}"/usr/share/gc || die + + # dist_noinst_HEADERS + insinto /usr/include/gc + doins include/{cord.h,ec.h,javaxfc.h} + insinto /usr/include/gc/private + doins include/private/*.h + + dohtml doc/*.html + newman doc/gc.man GC_malloc.1 +} diff --git a/dev-libs/boehm-gc/boehm-gc-7.2e.ebuild b/dev-libs/boehm-gc/boehm-gc-7.2e.ebuild new file mode 100644 index 000000000000..02c94d5ed7c8 --- /dev/null +++ b/dev-libs/boehm-gc/boehm-gc-7.2e.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit autotools eutils + +MY_P="gc-${PV/_/}" + +DESCRIPTION="The Boehm-Demers-Weiser conservative garbage collector" +HOMEPAGE="http://www.hboehm.info/gc/" +SRC_URI="http://www.hboehm.info/gc/gc_source/${MY_P}.tar.gz" + +LICENSE="boehm-gc" +SLOT="0" +KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="cxx static-libs threads" + +DEPEND=">=dev-libs/libatomic_ops-7.2 + virtual/pkgconfig" + +S="${WORKDIR}/${MY_P/e}" + +src_prepare() { + rm -r libatomic_ops || die + + epatch "${FILESDIR}"/${P}-automake-1.13.patch + eautoreconf +} + +src_configure() { + local config=( + --with-libatomic-ops + $(use_enable cxx cplusplus) + $(use_enable static-libs static) + $(use threads || echo --disable-threads) + ) + econf "${config[@]}" +} + +src_install() { + default + + rm -r "${ED}"/usr/share/gc || die + + # dist_noinst_HEADERS + insinto /usr/include/gc + doins include/{cord.h,ec.h,javaxfc.h} + insinto /usr/include/gc/private + doins include/private/*.h + + dodoc README.QUICK doc/README{.environment,.linux,.macros} doc/barrett_diagram + dohtml doc/*.html + newman doc/gc.man GC_malloc.1 + + use static-libs || prune_libtool_files #457872 +} diff --git a/dev-libs/boehm-gc/boehm-gc-7.4.0.ebuild b/dev-libs/boehm-gc/boehm-gc-7.4.0.ebuild new file mode 100644 index 000000000000..49e885406659 --- /dev/null +++ b/dev-libs/boehm-gc/boehm-gc-7.4.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils + +MY_P="gc-${PV}" + +DESCRIPTION="The Boehm-Demers-Weiser conservative garbage collector" +HOMEPAGE="http://www.hboehm.info/gc/" +SRC_URI="http://www.hboehm.info/gc/gc_source/${MY_P}.tar.gz" + +LICENSE="boehm-gc" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="cxx static-libs threads" + +DEPEND=">=dev-libs/libatomic_ops-7.4 + virtual/pkgconfig" + +S="${WORKDIR}/${MY_P}" + +src_configure() { + local config=( + --with-libatomic-ops + $(use_enable cxx cplusplus) + $(use_enable static-libs static) + $(use threads || echo --disable-threads) + ) + econf "${config[@]}" +} + +src_compile() { + # Workaround build errors. #574566 + use ia64 && emake src/ia64_save_regs_in_stack.lo + use sparc && emake src/sparc_mach_dep.lo + default +} + +src_install() { + default + use static-libs || prune_libtool_files + + rm -r "${ED}"/usr/share/gc || die + dodoc README.QUICK doc/README{.environment,.linux,.macros} \ + doc/barrett_diagram + dohtml doc/*.html + newman doc/gc.man GC_malloc.1 +} diff --git a/dev-libs/boehm-gc/boehm-gc-7.4.2.ebuild b/dev-libs/boehm-gc/boehm-gc-7.4.2.ebuild new file mode 100644 index 000000000000..ce85bb396f05 --- /dev/null +++ b/dev-libs/boehm-gc/boehm-gc-7.4.2.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils + +MY_P="gc-${PV}" + +DESCRIPTION="The Boehm-Demers-Weiser conservative garbage collector" +HOMEPAGE="http://www.hboehm.info/gc/" +SRC_URI="http://www.hboehm.info/gc/gc_source/${MY_P}.tar.gz" + +LICENSE="boehm-gc" +SLOT="0" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="cxx static-libs threads" + +DEPEND=">=dev-libs/libatomic_ops-7.4 + virtual/pkgconfig" + +S="${WORKDIR}/${MY_P}" + +src_configure() { + local config=( + --with-libatomic-ops + $(use_enable cxx cplusplus) + $(use_enable static-libs static) + $(use threads || echo --disable-threads) + ) + econf "${config[@]}" +} + +src_compile() { + # Workaround build errors. #574566 + use ia64 && emake src/ia64_save_regs_in_stack.lo + use sparc && emake src/sparc_mach_dep.lo + default +} + +src_install() { + default + use static-libs || prune_libtool_files + + rm -r "${ED}"/usr/share/gc || die + dodoc README.QUICK doc/README{.environment,.linux,.macros} + dohtml doc/*.html + newman doc/gc.man GC_malloc.1 +} diff --git a/dev-libs/boehm-gc/boehm-gc-7.6.0.ebuild b/dev-libs/boehm-gc/boehm-gc-7.6.0.ebuild new file mode 100644 index 000000000000..7fc4ca03479f --- /dev/null +++ b/dev-libs/boehm-gc/boehm-gc-7.6.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit multilib-minimal + +MY_P="gc-${PV}" + +DESCRIPTION="The Boehm-Demers-Weiser conservative garbage collector" +HOMEPAGE="http://www.hboehm.info/gc/" +SRC_URI="http://www.hboehm.info/gc/gc_source/${MY_P}.tar.gz" + +LICENSE="boehm-gc" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="cxx static-libs threads" + +DEPEND=" + >=dev-libs/libatomic_ops-7.4[${MULTILIB_USEDEP}] + virtual/pkgconfig" + +S="${WORKDIR}/${MY_P}" + +multilib_src_configure() { + local config=( + --with-libatomic-ops + $(use_enable cxx cplusplus) + $(use_enable static-libs static) + $(use threads || echo --disable-threads) + ) + + ECONF_SOURCE=${S} econf "${config[@]}" +} + +multilib_src_compile() { + use sparc && emake src/sparc_mach_dep.lo + default +} + +multilib_src_install_all() { + local HTML_DOCS=( doc/*.html ) + einstalldocs + dodoc doc/README{.environment,.linux,.macros} + + rm -r "${ED%/}"/usr/share/gc || die + + # package provides .pc files + find "${D}" -name '*.la' -delete || die + + newman doc/gc.man GC_malloc.1 +} diff --git a/dev-libs/boehm-gc/files/boehm-gc-6.5-gentoo.patch b/dev-libs/boehm-gc/files/boehm-gc-6.5-gentoo.patch new file mode 100644 index 000000000000..72eb881eef7d --- /dev/null +++ b/dev-libs/boehm-gc/files/boehm-gc-6.5-gentoo.patch @@ -0,0 +1,83 @@ +diff -ur gc6.5.orig/include/private/gcconfig.h gc6.5/include/private/gcconfig.h +--- gc6.5.orig/include/private/gcconfig.h 2005-08-05 00:03:00.000000000 +0200 ++++ gc6.5/include/private/gcconfig.h 2005-08-05 00:08:42.000000000 +0200 +@@ -1100,6 +1100,9 @@ + # endif + # define OS_TYPE "LINUX" + # define LINUX_STACKBOTTOM ++ /* On I386 Linux, enable HEURISTIC2 as a backup to /proc data */ ++ /* for the case where /proc is missing or nobbled (grsec) */ ++# define HEURISTIC2 + # if 0 + # define HEURISTIC1 + # undef STACK_GRAN +@@ -1901,6 +1904,9 @@ + # ifdef LINUX + # define OS_TYPE "LINUX" + # define LINUX_STACKBOTTOM ++ /* On x86_64 Linux, enable HEURISTIC2 as a backup to /proc data */ ++ /* for the case where /proc is missing or nobbled (grsec) */ ++# define HEURISTIC2 + # if !defined(GC_LINUX_THREADS) || !defined(REDIRECT_MALLOC) + # define MPROTECT_VDB + # else +diff -ur gc6.5.orig/os_dep.c gc6.5/os_dep.c +--- gc6.5.orig/os_dep.c 2005-08-05 00:03:00.000000000 +0200 ++++ gc6.5/os_dep.c 2005-08-05 00:07:56.000000000 +0200 +@@ -967,7 +967,13 @@ + # endif + f = open("/proc/self/stat", O_RDONLY); + if (f < 0 || STAT_READ(f, stat_buf, STAT_BUF_SIZE) < 2 * STAT_SKIP) { ++ /* if /proc/self/stat isn't available, and HEURISTIC2 is possible, */ ++ /* return NULL so that HEURISTIC2 will be tried. Otherwise bail. */ ++# ifdef HEURISTIC2 ++ return (ptr_t)NULL; ++# else + ABORT("Couldn't read /proc/self/stat"); ++# endif + } + c = stat_buf[buf_offset++]; + /* Skip the required number of fields. This number is hopefully */ +@@ -983,7 +989,16 @@ + c = stat_buf[buf_offset++]; + } + close(f); +- if (result < 0x10000000) ABORT("Absurd stack bottom value"); ++ if (result < 0x10000000) { ++ /* if stack base result is silly (e.g. is 0 due to grsec), and */ ++ /* HEURISTIC2 is enabled, return NULL so that HEURISTIC2 will be */ ++ /* tried. Otherwise bail. */ ++# ifdef HEURISTIC2 ++ return (ptr_t)NULL; ++# else ++ ABORT("Absurd stack bottom value"); ++# endif ++ } + return (ptr_t)result; + } + +@@ -1045,6 +1060,12 @@ + result = GC_freebsd_stack_base(); + # endif + # ifdef HEURISTIC2 ++/* if both LINUX_STACKBOTTOM and HEURISTIC2 are enabled, try HEURISTIC2 */ ++/* when the LINUX_STACKBOTTOM returns NULL (indicating failure to get */ ++/* a sensible result from /proc/self/stat) */ ++# ifdef LINUX_STACKBOTTOM ++ if (result == (ptr_t)NULL) { ++# endif + # ifdef STACK_GROWS_DOWN + result = GC_find_limit((ptr_t)(&dummy), TRUE); + # ifdef HEURISTIC2_LIMIT +@@ -1062,6 +1083,11 @@ + } + # endif + # endif ++/* tail of extra 'if' condition when both LINUX_STACKBOTTOM and */ ++/* HEURISTIC are configured. */ ++# ifdef LINUX_STACKBOTTOM ++ } ++# endif + + # endif /* HEURISTIC2 */ + # ifdef STACK_GROWS_DOWN diff --git a/dev-libs/boehm-gc/files/boehm-gc-7.2d-automake-1.13.patch b/dev-libs/boehm-gc/files/boehm-gc-7.2d-automake-1.13.patch new file mode 100644 index 000000000000..e987c42a5852 --- /dev/null +++ b/dev-libs/boehm-gc/files/boehm-gc-7.2d-automake-1.13.patch @@ -0,0 +1,13 @@ +diff --git a/configure.ac b/configure.ac +index ee6693d..d258252 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -26,7 +26,7 @@ AC_PREREQ(2.64) + AC_REVISION($Revision: 1.1 $) + GC_SET_VERSION + AM_INIT_AUTOMAKE([foreign dist-bzip2 nostdinc]) +-AM_CONFIG_HEADER([include/private/config.h]) ++AC_CONFIG_HEADER([include/private/config.h]) + AM_MAINTAINER_MODE + + AC_SUBST(PACKAGE) diff --git a/dev-libs/boehm-gc/files/boehm-gc-7.2d-configure.patch b/dev-libs/boehm-gc/files/boehm-gc-7.2d-configure.patch new file mode 100644 index 000000000000..fdada4394cc4 --- /dev/null +++ b/dev-libs/boehm-gc/files/boehm-gc-7.2d-configure.patch @@ -0,0 +1,33 @@ +diff --git a/configure.ac b/configure.ac +index ee6693d..45300c0 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -337,7 +337,7 @@ if test $compiler_xlc = yes -a "$powerpc_darwin" = true; then + AC_DEFINE([DARWIN_DONT_PARSE_STACK], 1, [See doc/README.macros.]) + fi + +-if test "$GCC" == yes; then ++if test "$GCC" = yes; then + # Disable aliasing optimization unless forced to. + AC_MSG_CHECKING([whether gcc supports -fno-strict-aliasing]) + ac_cv_fno_strict_aliasing=no +@@ -442,8 +442,8 @@ esac + AC_MSG_RESULT($enable_shared) + + # Compile with GC_DLL defined unless building static libraries. +-if test "${enable_shared}" == yes; then +- if test "${enable_static}" == no; then ++if test "${enable_shared}" = yes; then ++ if test "${enable_static}" = no; then + AC_DEFINE(GC_DLL) + # FIXME: Also pass -fvisibility=hidden option if GCC v4+ and not Win32. + fi +@@ -707,7 +707,7 @@ if test -n "${with_cross_host}"; then + [Define to tune the collector for small heap sizes.]) + fi + +-if test "$enable_gc_debug" == "no"; then ++if test "$enable_gc_debug" = "no"; then + AC_DEFINE([NO_DEBUGGING], 1, + [Disable debugging, like GC_dump and its callees.]) + fi diff --git a/dev-libs/boehm-gc/files/boehm-gc-7.2e-automake-1.13.patch b/dev-libs/boehm-gc/files/boehm-gc-7.2e-automake-1.13.patch new file mode 100644 index 000000000000..e987c42a5852 --- /dev/null +++ b/dev-libs/boehm-gc/files/boehm-gc-7.2e-automake-1.13.patch @@ -0,0 +1,13 @@ +diff --git a/configure.ac b/configure.ac +index ee6693d..d258252 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -26,7 +26,7 @@ AC_PREREQ(2.64) + AC_REVISION($Revision: 1.1 $) + GC_SET_VERSION + AM_INIT_AUTOMAKE([foreign dist-bzip2 nostdinc]) +-AM_CONFIG_HEADER([include/private/config.h]) ++AC_CONFIG_HEADER([include/private/config.h]) + AM_MAINTAINER_MODE + + AC_SUBST(PACKAGE) diff --git a/dev-libs/boehm-gc/files/gc6.6-builtin-backtrace-uclibc.patch b/dev-libs/boehm-gc/files/gc6.6-builtin-backtrace-uclibc.patch new file mode 100644 index 000000000000..1d3e5780e74d --- /dev/null +++ b/dev-libs/boehm-gc/files/gc6.6-builtin-backtrace-uclibc.patch @@ -0,0 +1,13 @@ +--- include/gc.h 2006-02-25 15:49:52 +0000 ++++ include/gc.h 2006-02-25 15:50:00 +0000 +@@ -473,7 +473,9 @@ + # if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1 || __GLIBC__ > 2) \ + && !defined(__ia64__) + # ifndef GC_HAVE_BUILTIN_BACKTRACE +-# define GC_HAVE_BUILTIN_BACKTRACE ++# ifndef __UCLIBC__ ++# define GC_HAVE_BUILTIN_BACKTRACE ++# endif + # endif + # endif + # if defined(__i386__) || defined(__x86_64__) diff --git a/dev-libs/boehm-gc/metadata.xml b/dev-libs/boehm-gc/metadata.xml new file mode 100644 index 000000000000..3c4cdfb0b599 --- /dev/null +++ b/dev-libs/boehm-gc/metadata.xml @@ -0,0 +1,12 @@ + + + + + patrick@gentoo.org + Patrick Lauer + + + toolchain@gentoo.org + Gentoo Toolchain Project + + diff --git a/dev-libs/boost-mpl-cartesian_product/Manifest b/dev-libs/boost-mpl-cartesian_product/Manifest new file mode 100644 index 000000000000..8859768604af --- /dev/null +++ b/dev-libs/boost-mpl-cartesian_product/Manifest @@ -0,0 +1,4 @@ +DIST boost-mpl-cartesian_product-20161205.tar.gz 4391 SHA256 0a9d76fd85b0a90126f9a640d1e8b314c29677cee0a1a55210f099a21c1d0886 SHA512 cbe1f10b45bbb3db84bba7aa935698d7d79a59ae8b40c786df31da2936500feffe5589755ea53f31e3fc869ca4e87a880f013967d2829ce55412900b244252e7 WHIRLPOOL af5e035f035960ecc0f233fa0516367594783e6dd8da7d3b9528edc033fc90ebb9bd9ee3701ce3c3a3fde1f9c39e6f349a0bc437024df23760ae61a8c5d72ea7 +EBUILD boost-mpl-cartesian_product-20161205.ebuild 1052 SHA256 7b7a4d8268d989fdbe0503d8b5d421db898049e5ea8940a8d1930c03a4e8a9ab SHA512 47e8ef7c9a3f777fe82737fcd2f67d8bf5201d3490932276f89c8bffccf623f86f89b698db32583bc4d987d0587aed4d48c9609c6723184a295d3269406dcb86 WHIRLPOOL 2af115df18c90f51b92d28937ca742208915312e9d8fbed0d7357f15ce9f5eefa73a06775e5ff40f12b7aa33c83ed6528f6059500bc4e4781a551478a8a30220 +MISC ChangeLog 535 SHA256 64d1727fe06e8e32eebc6dde8f56972bf19e1e37ccdbd7f9c85466213443cdbc SHA512 578571b2c3eebe8ae2b9dc9ea36b9a18c682cae1187c8714e8119edd8154a75dc3aa6047157510bf0a98d13550997a2273fae2a377eaa5aa1c70b3c96bb8fa6d WHIRLPOOL 15cd2f5916d8ac27fb01e5a293283e4c0b60828b58582aa99b13d248d70a8bfe9a3bbea504b5ec0e499e91e16d72778ffae98bbc2e9307aa21b64c11eefb2fc9 +MISC metadata.xml 472 SHA256 7411e39f4e0363fc33605cb69379245bf4caf011c93df5c9a2fc2b7c2353c5f7 SHA512 9ebb1a50e9e3924a4fc5237741f017a0963ddb60e4a39ec0b118c09937772bb1934acf5e80549f4204437ba2803981b12776e795a3b1918b0700b1e9717b8aac WHIRLPOOL de9d0cbd2e650d3a9a73126d7954ff47d71f2ba1c673fff31919c7bf9dcfd5672bbd441ad886855c7670c79ff0285ede405c75d5d13263eb901c11f480f31373 diff --git a/dev-libs/boost-mpl-cartesian_product/boost-mpl-cartesian_product-20161205.ebuild b/dev-libs/boost-mpl-cartesian_product/boost-mpl-cartesian_product-20161205.ebuild new file mode 100644 index 000000000000..29f9dfb72665 --- /dev/null +++ b/dev-libs/boost-mpl-cartesian_product/boost-mpl-cartesian_product-20161205.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit vcs-snapshot toolchain-funcs + +COMMIT="aeb0266b3a89f32c390dff51cb73a454d5d7a745" +DESCRIPTION="an extension to the Boost.MPL library" +HOMEPAGE="http://www.organicvectory.com/index.php?option=com_content&view=article&id=75:boostmplcartesianproduct&catid=42:boost&Itemid=78" +SRC_URI="https://github.com/quinoacomputing/BoostMPLCartesianProduct/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="Boost-1.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +DEPEND="dev-libs/boost" +RDEPEND="${DEPEND}" + +src_compile() { + use test || return + local i + for i in $(find libs/mpl -name "*.cpp"); do + echo $(tc-getCXX) ${CXXFLAGS} -I. "$i" -o "${i%.cpp}" + $(tc-getCXX) ${CXXFLAGS} -I. "$i" -o "${i%.cpp}" || die + done +} + +src_test() { + local i + for i in $(find libs/mpl -name "*.cpp"); do + echo "${i%.cpp}" + "${i%.cpp}" || die + done +} + +src_install() { + dodoc readme.txt + insinto /usr/include/boost/mpl + doins boost/mpl/cartesian_product.hpp +} diff --git a/dev-libs/boost-mpl-cartesian_product/metadata.xml b/dev-libs/boost-mpl-cartesian_product/metadata.xml new file mode 100644 index 000000000000..a9b49496236b --- /dev/null +++ b/dev-libs/boost-mpl-cartesian_product/metadata.xml @@ -0,0 +1,15 @@ + + + + + junghans@gentoo.org + Christoph Junghans + + + sci@gentoo.org + Gentoo Science Project + + + quinoacomputing/BoostMPLCartesianProduct + + diff --git a/dev-libs/boost-numpy/Manifest b/dev-libs/boost-numpy/Manifest new file mode 100644 index 000000000000..05c386ef69a1 --- /dev/null +++ b/dev-libs/boost-numpy/Manifest @@ -0,0 +1,4 @@ +EBUILD boost-numpy-9999.ebuild 1011 SHA256 b87ffa74047bedc2b32437ddea212964baff865581aed70869b8d67ff9d3ef14 SHA512 2a13be5f2586f2df6458cf4edee0b972d84c548cd0fedbbfcfe95d00327da0b54b3272b7be843dce898185469888e859cb42db121128027360a0e65d175121de WHIRLPOOL 2f6bb6ecdf36d3e5d39855c702eaae71c91e2d7e11dfc6622015ac0914cc5934fd1f6dbb5ccef0ac9281d50737128eee482ad9302442a7db28b8cfcabe058713 +MISC ChangeLog 2840 SHA256 a7b4ad699145b85739799ca9afe20109f22e650e988fd9da960b749a3c3bca42 SHA512 c1fbf36db375f03fb0ba7845ad816f94ef9502b19cde04f9ebdb05690eaecd4abd87cd3a1b4e3d8b4c49bcc47a76eff9f9e67ab0e50e735b1093e2a4db103775 WHIRLPOOL caca9497560f167ae0064c6baefa09d508297c834c6b6d0bb308df584dcf3ed22ce96e62bb7948fdd06f8dd6605652c45a257005dcf3075c0aebba7d27bb43f3 +MISC ChangeLog-2015 879 SHA256 392e71b8c83e73fa0d3325cd4df0b1753ec347fe60281e4bf856adeba51bf40e SHA512 1743ec718abadb1bf6ba7ed76939a227521d74e89185b4ddd3bba8f7bc95711fbab5d0a699c9cd628c8cd1d89d6523da96b1aaa0bbc9d09904c07fccc8e69c1c WHIRLPOOL d18a1056bfed897cd342b619d4d5e5733e8e9151894a5b32c50e2e4ec7c8fc2b1e1727235c561071d989ec70e2d99bcae5b39facdc96496b23520e91ca6e6415 +MISC metadata.xml 622 SHA256 b31bf6a5efc4220db9a3299f6387fa68c89cb7cb24b857663f76bc58408d78bf SHA512 861356b9dc2576b7979b9c0489ef6b91e42047cd5c74fd7323e79be752511d1a79b396687fed0d51353e0a52cb68181609addd5af940158acf7ffbdbc3cec901 WHIRLPOOL 50c3bab33e1f8bcb656216234b95e89c3dd48dd86078283c05277abd9c322b0cf7238733e8a0f91fdf766edb19d76edb0ca730fa4043817d8ad579e9bfaad143 diff --git a/dev-libs/boost-numpy/boost-numpy-9999.ebuild b/dev-libs/boost-numpy/boost-numpy-9999.ebuild new file mode 100644 index 000000000000..e6dd4141386a --- /dev/null +++ b/dev-libs/boost-numpy/boost-numpy-9999.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_4,3_5} ) + +inherit cmake-utils python-single-r1 + +DESCRIPTION="Boost.Python interface for NumPy" +HOMEPAGE="https://github.com/ndarray/Boost.NumPy" + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/ndarray/Boost.NumPy.git" +else + SRC_URI="https://dev.gentoo.org/~heroxbd/${P}.tar.xz" +fi + +LICENSE="Boost-1.0" +SLOT=0 +KEYWORDS="" + +IUSE="doc examples" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + ${PYTHON_DEPS} + dev-python/numpy[${PYTHON_USEDEP}] + dev-libs/boost[python,${PYTHON_USEDEP}]" +DEPEND="${RDEPEND}" + +src_prepare() { + # Make sure that new Python ABI names are searched too + sed -i \ + -e 's/PythonLibsNew/PythonLibs/' \ + -e 's/python3/python/' \ + CMakeLists.txt || die + + cmake-utils_src_prepare +} + +src_install() { + cmake-utils_src_install + + use doc && dodoc -r libs/numpy/doc/* + use examples && dodoc -r libs/numpy/example +} diff --git a/dev-libs/boost-numpy/metadata.xml b/dev-libs/boost-numpy/metadata.xml new file mode 100644 index 000000000000..6b714f91d43b --- /dev/null +++ b/dev-libs/boost-numpy/metadata.xml @@ -0,0 +1,13 @@ + + + + + heroxbd@gentoo.org + Benda Xu + an extension for Boost.Python that adds NumPy support + + It is intended as a replacement for the old numeric support in Boost.Python proper, which is now out-of-date and does not support C/C++ pointer access to the data. + + ndarray/Boost.NumPy + + diff --git a/dev-libs/boost/Manifest b/dev-libs/boost/Manifest new file mode 100644 index 000000000000..03535f3e04ef --- /dev/null +++ b/dev-libs/boost/Manifest @@ -0,0 +1,19 @@ +AUX boost-1.48.0-disable_icu_rpath.patch 1077 SHA256 26aba4b06789cff12b3f96ae3c269db9aae3eabe1acb62035e3217c3b27a89aa SHA512 013503fd16bcb609c624c9952a5448e612b81150db9ce60b5a51acbb57b62ce1cf0e7c5dd4a58c110ca7895c86effef24d8fe55ea3f316c9e47d5c549a33180c WHIRLPOOL ae630623f7f3cf6bec63c63b01b2e58cce5e3aecfebcf54144a9f0130dae0c10a94f7f11cd29734e52df2741fb62ed72983a35e4c1b854cf7c939fed5477c616 +AUX boost-1.48.0-disable_libboost_python3.patch 1513 SHA256 3e0d634e7a9c03c02986abc6fdb39532aa22e4cf5236a25946251e29e769b405 SHA512 9a2b189530af9fa149203f0621b171461f11212306aeb4d94075a2896ed97abb12d47e6bc0429814405829244604044c2101ad34686a10b12ebe3536b2289ed7 WHIRLPOOL d4ad2e099ea443600b493d4f97047002c5f6d1be6607b03de22bfbf3abcccb8abd452403714811aede72be6462154d324a31c7189de627998f432d96750d56cd +AUX boost-1.48.0-no_strict_aliasing_python2.patch 745 SHA256 f355100a66059afc1c50b243e800a31c1c876c112f5ec7b6efb3c3480aca492b SHA512 ad4c7b8ec59154e2e9588b72a23453f4dc915eecc87a065b10eccc6f713e4a55270f0766bad7766c53dfb934e4d94a25d006567c9e18d0e7dc32649f5a601296 WHIRLPOOL c19224ecf056cfe82762b37a901458def62497a6c555a7236eea04746739ace0c5a6b4835956cab909f9f2f72e346ce6084cfb8ab0e9ad3b9510935db1737308 +AUX boost-1.48.0-python_linking.patch 1282 SHA256 11d283d41767253a9cae3ff2526ed829f6333158e9460ba42f1215746d3c240c SHA512 9aff888908476107bde818f306fafd855408d214dd13abd3406339b911ba3c56a7a76ac2a549c63be16ba73a86275860fc1bf78c2fd976c872772b4199ecedb6 WHIRLPOOL aa89c864b800ba29c77e0ef82d1dd50ed007b36c02c4e6a005ccdae0ddafaf0491cce37801f5e574fb2830669f57b28d82c19edb719dc847eab4fd53043ac999 +AUX boost-1.51.0-respect_python-buildid.patch 1577 SHA256 8a029d597a233eb7efff3fc1fa8c622f6d616f35185cd7e531669b9915247de8 SHA512 bbe7e586a95c615d51612bf0404c07179b07c33a33e67957af5056ff80f44c620f81244d7fe30519f08f2d19e1d87f8fa09fa32c7f5d37f6f13de4590c050731 WHIRLPOOL 8aa6115b15c4402cadfc42b825a145a2b61892211031431def5452ca73ce441adba197690ff7a85cf13a831f8ae8b016b97611b1e164351eb0707597d99d2fd8 +AUX boost-1.51.0-support_dots_in_python-buildid.patch 617 SHA256 7c4e5dd3e0e148fde5f3b008d08160ebd71250aaa01c5e685d667e0cc296a054 SHA512 667452299f96ac3008340f901c6a5355956676b10f82134e650f8c8e06e7c6f8814c2b92d07e958c31b11e013601c0b3ad4020cdc35bbd558761fcd33bb68b3c WHIRLPOOL 26ddfe5c9473ce704b6ca11b9380148028e6a05f5ec62fbf4363d4ced0533d68190d000e975e1151acce67eef3a8430f2dba35a31605a97ff500752d367fb0e9 +AUX boost-1.55.0-context-x32.patch 1077 SHA256 1da4ff48b98416cac601c52594d4c4da3fb89d0a3e8908f119f05cc8ae76f9c7 SHA512 0e2e45abe5833396508666355e26bafe114fa4ada628b24d8d9953268edddcb2f8e3dcfe8bc7f27d6c1794418990dc9ef914c936dfa64ed6e5e647a40e3f8a73 WHIRLPOOL 0b7a3521a8ec513b833d0292fa3e3bcafc8232fa96d2e41afd25da8dc30bdb49ee4319c7c8555d95e7d3de55fc704d83e443ba49bf89d6961a3f5af73c024a71 +AUX boost-1.56.0-build-auto_index-tool.patch 412 SHA256 02cbad68d52513860ffbdc2e56be1087dd0bd73423b9b51b122bdc015dbd4a4c SHA512 9fe245adddf76375d0ee8066952c46d229c9e37fdce83ff608fcc1fb5942b1c226a0fba6e28f859bbcd58863dc49a356f32c7fcc3b90baca4069c6bdc9c0f203 WHIRLPOOL 4a55212ce969b389c1288496448114b131c70c92f6a4e26c8667c0d24138cdd813026b3a19698667e5aa0418cca9f690820017de06a19376fd63e00898a1d555 +AUX boost-1.63.0-fix-python.patch 4210 SHA256 7291f343d66c0493da130811e720d2e56b33b321b5b583d9aec1af79651e8c6b SHA512 0f390cae5a53f48f548e65149aaca4b1191ca6610863e7e471686556107c8ac398eb4bcad71a92849e941cad031cec9cbd543c646ee122238579ca881c420aad WHIRLPOOL 6bbf8a8cb0d3e431f3655b95d5262b9103c6da3259c7a884f45641b6401df06de81978433f9f5ea0411a445bdd1439dc72ed1f275ff21885cc74276e771643e8 +AUX boost-1.65.0-fix-python.patch 9210 SHA256 f5c96e7400a17f2da98fcb714f5539521159d238ce2edb973f98598b350728d6 SHA512 df2e8841b3415724b2920230da36e3e3aa610a5d7ee7dcada847cb4d6c921405ef4f0c034f96d1ac078d33bb3f32408b748cf7835f173b6e7692c76c6135e2f2 WHIRLPOOL cd35921375bd189034f2064fe50ce9fa2ce9a3ddcf12629c72e95df969f9d245e45c356f0cc4feedc7d60b061e8fa0c83b82c1b8da24522a527fd8d1b1cf483f +DIST boost_1_62_0.tar.bz2 84513338 SHA256 36c96b0f6155c98404091d8ceb48319a28279ca0333fba1ad8611eb90afb2ca0 SHA512 5385ae3d5255a433a704169ad454d8dc2b0b5bcae3fb23defd6570df4ff7d845cf9fcbeebccdc1c5db0eec9f82ee3d90040de9507c8167467c635d3b215463be WHIRLPOOL 49c4558d5e6d72084f083a76217e3d97b504f112d7e4d228eded72dc49fa7e675ba943a9fc52a3c27d296ee689aee27d4566796c6eae71cf647430285777c0fb +DIST boost_1_63_0.tar.bz2 81984414 SHA256 beae2529f759f6b3bf3f4969a19c2e9d6f0c503edcb2de4a61d1428519fcb3b0 SHA512 c915c5f5778dee49b8e9d0a40f37f90f56fb1fdb1d8ce92d97bf48bc7bc462212487badfe4bbe30b06196d1149cfb221da12ac54e97499b0d4cb6466813bb4ad WHIRLPOOL 28c241785097272a1e0952e529eef082444e4ef35a8d738161e4a491a986d75359d3afe888b2ea91a4a81b6ec7a5772ebea337c9d09377b43f6eed66cac90378 +DIST boost_1_65_0.tar.bz2 82597718 SHA256 ea26712742e2fb079c2a566a31f3266973b76e38222b9f88b387e3c8b2f9902c SHA512 7142650fb8d61e3ef16ba066fc918e087f19e9bc2ad1d6a11fb10bf0d6b1b5ad05ab032f076a5233a1624b3669e952b2cc38b7dc074bbf53018e2970ee90fcdd WHIRLPOOL ca389eff2ffc4836b88688504c187e57f236a5967654e40377792d59dd2e4fc3d6ccb079174eae095ad610ccd683e795964c5011429845b27ab67166f8a82c19 +EBUILD boost-1.62.0-r1.ebuild 12708 SHA256 c6a95b6d650ece1ac0cb2173e41cb1334160a192ed1d81b423bf80fa8593bd30 SHA512 184f3410137d876afaf09a7090a35911c2e87884469c0c5ddc02627b4f88fc6188813a9c085127d745846b1355254553a2dc311373fbadd4f00c265913d4f946 WHIRLPOOL 33e9304cfe65ebe8bcebea796dbac41bf7e140b547ec9d5786648cb45a225ed46ef0256e27b200b666be864affe958caba16a5635d58ea51bf31d042cdb9b8a6 +EBUILD boost-1.63.0.ebuild 12471 SHA256 42f6e8a4fd695f84899ad12e6d57a40e4550e0c274c5cd2eff56087905e6ccc1 SHA512 649bdaf165b03057871a0f927cb730dd57aebe8843cf2942c1c4eed83ad6e977d2fbdb30c24222221a17c6519dba5e5b1cb027f27e25a09b923b5eaf95aef431 WHIRLPOOL c3e81d284ba111808d375e9ffa7e79c494aa4093a5207706cb1ddb9aee87d9a6f189dc133099cad238e77767a5b2e8e10755279fc47ef042152dba8f9d96c97b +EBUILD boost-1.65.0.ebuild 12450 SHA256 923fe1e5b6cd957bad0122f9ccaca81e6851ddffbff77641a366f6e939c34961 SHA512 2a7d731578afad051602c25ce8d6d7c14f3dab3c1619f91e83c5edb22ebcca601d2652ff90662945e55f289ab96210e1452a4ffac6473b471d3a4d0618dae0a8 WHIRLPOOL 51360f79c8c5c35ef7e9319231cb9ab621b66e490d6225a2f21c26e23f39eba11f93c10d43686b62c841e7a0441750d890901a45327e46288973aecec40f46cc +MISC ChangeLog 9975 SHA256 642cfd545560930656783f915297a280e467394d4d2c53a5f81485893701b6ed SHA512 36a87862bce59e58f7af6d02c6eca9fd9169ac7f4736417f64aa941141c800d80c8979c0ed4cd62e55a22f2bcd1a6803bc5daa8393c2f3e9f23060aefafa0c1b WHIRLPOOL e76c059fba7246adcb3e48d0b7f8b58f61ec4e1f95d82d7af4ba021e29fd1a34b9a95b415f7f98d6f03a0e86f549e22f2178ee36e14ace177d73e78d5c6c9697 +MISC ChangeLog-2015 60992 SHA256 f3b1d8b8c4ad6bd080f9b3d18ccb1cc360d47864f4afc95992e171d475d682a1 SHA512 6f29b95e625e1a8a8a7ea2578f07b543329e007443f3b4926e07c913ab21336e1b1332084b090354dcd9899b6f0aa9012b92e0cb5e0457733da4a47da86a818f WHIRLPOOL e11113ea0a8eda558457c7018283f274d10df473c116da67126640d56b49107e05326e0a8a3ef4f9043a22e2fc91f151c1cbed71bfe41cac52f5467e12a7e1d8 +MISC metadata.xml 1526 SHA256 f5787558fba8e3619029fd1b86b62171767b6eb817cd004732e8ac35fc3bb9fd SHA512 4ba131f2492ae41f642a28dd69e5bd1d5d79c013e42a6c18ba135b36d470990ea20c8aa7cec6e3cb1d6ea8d7f6b6a5b45efb4b3dcba198bcf43809eff0f65ae6 WHIRLPOOL 11ade1e1b81bfc061f45a2ad723e4d8e2fbac090eaff04f9b837fe68f2d891ab95d555068754a323ebfde253186deef79d18713be85e12c816d12c7773776903 diff --git a/dev-libs/boost/boost-1.62.0-r1.ebuild b/dev-libs/boost/boost-1.62.0-r1.ebuild new file mode 100644 index 000000000000..a4478570f256 --- /dev/null +++ b/dev-libs/boost/boost-1.62.0-r1.ebuild @@ -0,0 +1,444 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python{2_7,3_4,3_5} ) + +inherit eutils flag-o-matic multiprocessing python-r1 toolchain-funcs versionator multilib-minimal + +MY_P="${PN}_$(replace_all_version_separators _)" +MAJOR_V="$(get_version_component_range 1-2)" + +DESCRIPTION="Boost Libraries for C++" +HOMEPAGE="http://www.boost.org/" +SRC_URI="https://downloads.sourceforge.net/project/boost/${PN}/${PV}/${MY_P}.tar.bz2" + +LICENSE="Boost-1.0" +SLOT="0/${PV}" # ${PV} instead ${MAJOR_V} due to bug 486122 +KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris ~x86-winnt" + +IUSE="context debug doc icu +nls mpi python static-libs +threads tools" + +RDEPEND="icu? ( >=dev-libs/icu-3.6:=[${MULTILIB_USEDEP}] ) + !icu? ( virtual/libiconv[${MULTILIB_USEDEP}] ) + mpi? ( >=virtual/mpi-2.0-r4[${MULTILIB_USEDEP},cxx,threads] ) + python? ( ${PYTHON_DEPS} ) + app-arch/bzip2[${MULTILIB_USEDEP}] + sys-libs/zlib[${MULTILIB_USEDEP}] + !app-admin/eselect-boost" +DEPEND="${RDEPEND} + =dev-util/boost-build-${MAJOR_V}*" +REQUIRED_USE=" + mpi? ( threads ) + python? ( ${PYTHON_REQUIRED_USE} )" + +S="${WORKDIR}/${MY_P}" + +# the tests will never fail because these are not intended as sanity +# tests at all. They are more a way for upstream to check their own code +# on new compilers. Since they would either be completely unreliable +# (failing for no good reason) or completely useless (never failing) +# there is no point in having them in the ebuild to begin with. +RESTRICT="test" + +PATCHES=( + "${FILESDIR}/${PN}-1.51.0-respect_python-buildid.patch" + "${FILESDIR}/${PN}-1.51.0-support_dots_in_python-buildid.patch" + "${FILESDIR}/${PN}-1.48.0-no_strict_aliasing_python2.patch" + "${FILESDIR}/${PN}-1.48.0-disable_libboost_python3.patch" + "${FILESDIR}/${PN}-1.48.0-python_linking.patch" + "${FILESDIR}/${PN}-1.48.0-disable_icu_rpath.patch" + "${FILESDIR}/${PN}-1.55.0-context-x32.patch" + "${FILESDIR}/${PN}-1.56.0-build-auto_index-tool.patch" +) + +python_bindings_needed() { + multilib_is_native_abi && use python +} + +tools_needed() { + multilib_is_native_abi && use tools +} + +create_user-config.jam() { + local compiler compiler_version compiler_executable + + if [[ ${CHOST} == *-darwin* ]]; then + compiler="darwin" + compiler_version="$(gcc-fullversion)" + compiler_executable="$(tc-getCXX)" + else + compiler="gcc" + compiler_version="$(gcc-version)" + compiler_executable="$(tc-getCXX)" + fi + local mpi_configuration python_configuration + + if use mpi; then + mpi_configuration="using mpi ;" + fi + + if python_bindings_needed; then + # boost expects libpython$(pyver) and doesn't allow overrides + # and the build system is so creepy that it's easier just to + # provide a symlink (linker's going to use SONAME anyway) + # TODO: replace it with proper override one day + ln -f -s "$(python_get_library_path)" "${T}/lib${EPYTHON}$(get_libname)" || die + + if tc-is-cross-compiler; then + python_configuration="using python : ${EPYTHON#python} : : ${SYSROOT:-${EROOT}}/usr/include/${EPYTHON} : ${SYSROOT:-${EROOT}}/usr/$(get_libdir) ;" + else + # note: we need to provide version explicitly because of + # a bug in the build system: + # https://github.com/boostorg/build/pull/104 + python_configuration="using python : ${EPYTHON#python} : ${PYTHON} : $(python_get_includedir) : ${T} ;" + fi + fi + + cat > "${BOOST_ROOT}/user-config.jam" << __EOF__ || die +using ${compiler} : ${compiler_version} : ${compiler_executable} : "${CFLAGS}" "${CXXFLAGS}" "${LDFLAGS}" ; +${mpi_configuration} +${python_configuration} +__EOF__ +} + +pkg_setup() { + # Bail out on unsupported build configuration, bug #456792 + if [[ -f "${EROOT%/}/etc/site-config.jam" ]]; then + grep -q gentoorelease "${EROOT%/}/etc/site-config.jam" && grep -q gentoodebug "${EROOT%/}/etc/site-config.jam" || + ( + eerror "You are using custom ${EROOT%/}/etc/site-config.jam without defined gentoorelease/gentoodebug targets." + eerror "Boost can not be built in such configuration." + eerror "Please, either remove this file or add targets from ${EROOT%/}/usr/share/boost-build/site-config.jam to it." + die + ) + fi +} + +src_prepare() { + default + + # Do not try to build missing 'wave' tool, bug #522682 + # Upstream bugreport - https://svn.boost.org/trac/boost/ticket/10507 + sed -i -e 's:wave/build//wave::' tools/Jamfile.v2 || die + + multilib_copy_sources +} + +ejam() { + local b2_opts=( + "--user-config=${BOOST_ROOT}/user-config.jam" + "$@" + ) + echo b2 "${b2_opts[@]}" + b2 "${b2_opts[@]}" +} + +src_configure() { + # Workaround for too many parallel processes requested, bug #506064 + [[ "$(makeopts_jobs)" -gt 64 ]] && MAKEOPTS="${MAKEOPTS} -j64" + + OPTIONS=( + $(usex debug gentoodebug gentoorelease) + "-j$(makeopts_jobs)" + -q + -d+2 + ) + + if [[ ${CHOST} == *-darwin* ]]; then + # We need to add the prefix, and in two cases this exceeds, so prepare + # for the largest possible space allocation. + append-ldflags -Wl,-headerpad_max_install_names + elif [[ ${CHOST} == *-winnt* ]]; then + compiler=parity + if [[ $($(tc-getCXX) -v) == *trunk* ]]; then + compilerVersion=trunk + else + compilerVersion=$($(tc-getCXX) -v | sed '1q' \ + | sed -e 's,\([a-z]*\) \([0-9]\.[0-9]\.[0-9][^ \t]*\) .*,\2,') + fi + compilerExecutable=$(tc-getCXX) + fi + + # bug 298489 + if use ppc || use ppc64; then + [[ $(gcc-version) > 4.3 ]] && append-flags -mno-altivec + fi + + # Use C++14 globally as of 1.62 + append-cxxflags -std=c++14 + + use icu && OPTIONS+=( + "-sICU_PATH=${EPREFIX}/usr" + ) + use icu || OPTIONS+=( + --disable-icu + boost.locale.icu=off + ) + use mpi || OPTIONS+=( + --without-mpi + ) + use nls || OPTIONS+=( + --without-locale + ) + use context || OPTIONS+=( + --without-context + --without-coroutine + --without-coroutine2 + --without-fiber + ) + use threads || OPTIONS+=( + --without-thread + ) + + OPTIONS+=( + pch=off + --boost-build="${EPREFIX}"/usr/share/boost-build + --prefix="${ED%/}/usr" + --layout=system + # building with threading=single is currently not possible + # https://svn.boost.org/trac/boost/ticket/7105 + threading=multi + link=$(usex static-libs shared,static shared) + ) + + [[ ${CHOST} == *-winnt* ]] && OPTIONS+=( + -sNO_BZIP2=1 + ) +} + +multilib_src_compile() { + local -x BOOST_ROOT="${BUILD_DIR}" + PYTHON_DIRS="" + MPI_PYTHON_MODULE="" + + building() { + create_user-config.jam + + local PYTHON_OPTIONS + if python_bindings_needed; then + PYTHON_OPTIONS=" --python-buildid=${EPYTHON#python}" + else + PYTHON_OPTIONS=" --without-python" + fi + + ejam \ + "${OPTIONS[@]}" \ + ${PYTHON_OPTIONS} \ + || die "Building of Boost libraries failed" + + if python_bindings_needed; then + if [[ -z "${PYTHON_DIRS}" ]]; then + PYTHON_DIRS="$(find bin.v2/libs -name python | sort)" + else + if [[ "${PYTHON_DIRS}" != "$(find bin.v2/libs -name python | sort)" ]]; then + die "Inconsistent structure of build directories" + fi + fi + + local dir + for dir in ${PYTHON_DIRS}; do + mv ${dir} ${dir}-${EPYTHON} \ + || die "Renaming of '${dir}' to '${dir}-${EPYTHON}' failed" + done + + if use mpi; then + if [[ -z "${MPI_PYTHON_MODULE}" ]]; then + MPI_PYTHON_MODULE="$(find bin.v2/libs/mpi/build/*/gentoo* -name mpi.so)" + if [[ "$(echo "${MPI_PYTHON_MODULE}" | wc -l)" -ne 1 ]]; then + die "Multiple mpi.so files found" + fi + else + if [[ "${MPI_PYTHON_MODULE}" != "$(find bin.v2/libs/mpi/build/*/gentoo* -name mpi.so)" ]]; then + die "Inconsistent structure of build directories" + fi + fi + + mv stage/lib/mpi.so stage/lib/mpi.so-${EPYTHON} \ + || die "Renaming of 'stage/lib/mpi.so' to 'stage/lib/mpi.so-${EPYTHON}' failed" + fi + fi + } + if python_bindings_needed; then + python_foreach_impl building + else + building + fi + + if tools_needed; then + pushd tools >/dev/null || die + + ejam \ + "${OPTIONS[@]}" \ + ${PYTHON_OPTIONS} \ + || die "Building of Boost tools failed" + popd >/dev/null || die + fi +} + +multilib_src_install_all() { + if ! use python; then + rm -r "${ED%/}"/usr/include/boost/python* || die + fi + + if ! use nls; then + rm -r "${ED%/}"/usr/include/boost/locale || die + fi + + if ! use context; then + rm -r "${ED%/}"/usr/include/boost/context || die + rm -r "${ED%/}"/usr/include/boost/coroutine{,2} || die + rm "${ED%/}"/usr/include/boost/asio/spawn.hpp || die + fi + + if use doc; then + # find extraneous files that shouldn't be installed + # as part of the documentation and remove them. + find libs/*/* \( -iname 'test' -o -iname 'src' \) -exec rm -rf '{}' + || die + find doc \( -name 'Jamfile.v2' -o -name 'build' -o -name '*.manifest' \) -exec rm -rf '{}' + || die + find tools \( -name 'Jamfile.v2' -o -name 'src' -o -name '*.cpp' -o -name '*.hpp' \) -exec rm -rf '{}' + || die + + docinto html + dodoc *.{htm,html,png,css} + dodoc -r doc libs more tools + + # To avoid broken links + dodoc LICENSE_1_0.txt + + dosym /usr/include/boost /usr/share/doc/${PF}/html/boost + fi +} + +multilib_src_install() { + local -x BOOST_ROOT="${BUILD_DIR}" + installation() { + create_user-config.jam + + local PYTHON_OPTIONS + if python_bindings_needed; then + local dir + for dir in ${PYTHON_DIRS}; do + cp -pr ${dir}-${EPYTHON} ${dir} \ + || die "Copying of '${dir}-${EPYTHON}' to '${dir}' failed" + done + + if use mpi; then + cp -p stage/lib/mpi.so-${EPYTHON} "${MPI_PYTHON_MODULE}" \ + || die "Copying of 'stage/lib/mpi.so-${EPYTHON}' to '${MPI_PYTHON_MODULE}' failed" + cp -p stage/lib/mpi.so-${EPYTHON} stage/lib/mpi.so \ + || die "Copying of 'stage/lib/mpi.so-${EPYTHON}' to 'stage/lib/mpi.so' failed" + fi + PYTHON_OPTIONS=" --python-buildid=${EPYTHON#python}" + else + PYTHON_OPTIONS=" --without-python" + fi + + ejam \ + "${OPTIONS[@]}" \ + ${PYTHON_OPTIONS} \ + --includedir="${ED%/}/usr/include" \ + --libdir="${ED%/}/usr/$(get_libdir)" \ + install || die "Installation of Boost libraries failed" + + if python_bindings_needed; then + rm -r ${PYTHON_DIRS} || die + + # Move mpi.so Python module to Python site-packages directory. + # https://svn.boost.org/trac/boost/ticket/2838 + if use mpi; then + local moddir=$(python_get_sitedir)/boost + # moddir already includes eprefix + mkdir -p "${D}${moddir}" || die + mv "${ED%/}/usr/$(get_libdir)/mpi.so" "${D}${moddir}" || die + cat << EOF > "${D}${moddir}/__init__.py" || die +import sys +if sys.platform.startswith('linux'): + import DLFCN + flags = sys.getdlopenflags() + sys.setdlopenflags(DLFCN.RTLD_NOW | DLFCN.RTLD_GLOBAL) + from . import mpi + sys.setdlopenflags(flags) + del DLFCN, flags +else: + from . import mpi +del sys +EOF + fi + + python_optimize + fi + } + if python_bindings_needed; then + python_foreach_impl installation + else + installation + fi + + pushd "${ED%/}/usr/$(get_libdir)" >/dev/null || die + + local ext=$(get_libname) + if use threads; then + local f + for f in *${ext}; do + dosym ${f} /usr/$(get_libdir)/${f/${ext}/-mt${ext}} + done + fi + + popd >/dev/null || die + + if tools_needed; then + dobin dist/bin/* + + insinto /usr/share + doins -r dist/share/boostbook + fi + + # boost's build system truely sucks for not having a destdir. Because for + # this reason we are forced to build with a prefix that includes the + # DESTROOT, dynamic libraries on Darwin end messed up, referencing the + # DESTROOT instread of the actual EPREFIX. There is no way out of here + # but to do it the dirty way of manually setting the right install_names. + if [[ ${CHOST} == *-darwin* ]]; then + einfo "Working around completely broken build-system(tm)" + local d + for d in "${ED%/}"/usr/lib/*.dylib; do + if [[ -f ${d} ]]; then + # fix the "soname" + ebegin " correcting install_name of ${d#${ED}}" + install_name_tool -id "/${d#${D}}" "${d}" + eend $? + # fix references to other libs + refs=$(otool -XL "${d}" | \ + sed -e '1d' -e 's/^\t//' | \ + grep "^libboost_" | \ + cut -f1 -d' ') + local r + for r in ${refs}; do + ebegin " correcting reference to ${r}" + install_name_tool -change \ + "${r}" \ + "${EPREFIX}/usr/lib/${r}" \ + "${d}" + eend $? + done + fi + done + fi +} + +pkg_preinst() { + # Yai for having symlinks that are nigh-impossible to remove without + # resorting to dirty hacks like these. Removes lingering symlinks + # from the slotted versions. + local symlink + for symlink in "${EROOT%/}/usr/include/boost" "${EROOT%/}/usr/share/boostbook"; do + if [[ -L ${symlink} ]]; then + rm -f "${symlink}" || die + fi + done + + # some ancient installs still have boost cruft lying around + # for unknown reasons, causing havoc for reverse dependencies + # Bug: 607734 + rm -rf "${EROOT%/}"/usr/include/boost-1_[3-5]? || die +} diff --git a/dev-libs/boost/boost-1.63.0.ebuild b/dev-libs/boost/boost-1.63.0.ebuild new file mode 100644 index 000000000000..edade292d53c --- /dev/null +++ b/dev-libs/boost/boost-1.63.0.ebuild @@ -0,0 +1,440 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python{2_7,3_{4,5,6}} ) + +inherit eutils flag-o-matic multiprocessing python-r1 toolchain-funcs versionator multilib-minimal + +MY_P="${PN}_$(replace_all_version_separators _)" +MAJOR_V="$(get_version_component_range 1-2)" + +DESCRIPTION="Boost Libraries for C++" +HOMEPAGE="http://www.boost.org/" +SRC_URI="https://downloads.sourceforge.net/project/boost/${PN}/${PV}/${MY_P}.tar.bz2" + +LICENSE="Boost-1.0" +SLOT="0/${PV}" # ${PV} instead ${MAJOR_V} due to bug 486122 +KEYWORDS="alpha ~amd64 arm ~arm64 ~hppa ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris ~x86-winnt" + +IUSE="context debug doc icu +nls mpi python static-libs +threads tools" + +RDEPEND="icu? ( >=dev-libs/icu-3.6:=[${MULTILIB_USEDEP}] ) + !icu? ( virtual/libiconv[${MULTILIB_USEDEP}] ) + mpi? ( >=virtual/mpi-2.0-r4[${MULTILIB_USEDEP},cxx,threads] ) + python? ( ${PYTHON_DEPS} ) + app-arch/bzip2[${MULTILIB_USEDEP}] + sys-libs/zlib[${MULTILIB_USEDEP}] + !app-admin/eselect-boost" +DEPEND="${RDEPEND} + =dev-util/boost-build-${MAJOR_V}*" +REQUIRED_USE=" + mpi? ( threads ) + python? ( ${PYTHON_REQUIRED_USE} )" + +S="${WORKDIR}/${MY_P}" + +# the tests will never fail because these are not intended as sanity +# tests at all. They are more a way for upstream to check their own code +# on new compilers. Since they would either be completely unreliable +# (failing for no good reason) or completely useless (never failing) +# there is no point in having them in the ebuild to begin with. +RESTRICT="test" + +PATCHES=( + "${FILESDIR}/${PN}-1.48.0-disable_icu_rpath.patch" + "${FILESDIR}/${PN}-1.55.0-context-x32.patch" + "${FILESDIR}/${PN}-1.56.0-build-auto_index-tool.patch" + "${FILESDIR}/${PN}-1.63.0-fix-python.patch" +) + +python_bindings_needed() { + multilib_is_native_abi && use python +} + +tools_needed() { + multilib_is_native_abi && use tools +} + +create_user-config.jam() { + local compiler compiler_version compiler_executable + + if [[ ${CHOST} == *-darwin* ]]; then + compiler="darwin" + compiler_version="$(gcc-fullversion)" + compiler_executable="$(tc-getCXX)" + else + compiler="gcc" + compiler_version="$(gcc-version)" + compiler_executable="$(tc-getCXX)" + fi + local mpi_configuration python_configuration + + if use mpi; then + mpi_configuration="using mpi ;" + fi + + if python_bindings_needed; then + # boost expects libpython$(pyver) and doesn't allow overrides + # and the build system is so creepy that it's easier just to + # provide a symlink (linker's going to use SONAME anyway) + # TODO: replace it with proper override one day + ln -f -s "$(python_get_library_path)" "${T}/lib${EPYTHON}$(get_libname)" || die + + if tc-is-cross-compiler; then + python_configuration="using python : ${EPYTHON#python} : : ${SYSROOT:-${EROOT}}/usr/include/${EPYTHON} : ${SYSROOT:-${EROOT}}/usr/$(get_libdir) ;" + else + # note: we need to provide version explicitly because of + # a bug in the build system: + # https://github.com/boostorg/build/pull/104 + python_configuration="using python : ${EPYTHON#python} : ${PYTHON} : $(python_get_includedir) : ${T} ;" + fi + fi + + cat > "${BOOST_ROOT}/user-config.jam" << __EOF__ || die +using ${compiler} : ${compiler_version} : ${compiler_executable} : "${CFLAGS}" "${CXXFLAGS}" "${LDFLAGS}" ; +${mpi_configuration} +${python_configuration} +__EOF__ +} + +pkg_setup() { + # Bail out on unsupported build configuration, bug #456792 + if [[ -f "${EROOT%/}/etc/site-config.jam" ]]; then + grep -q gentoorelease "${EROOT%/}/etc/site-config.jam" && grep -q gentoodebug "${EROOT%/}/etc/site-config.jam" || + ( + eerror "You are using custom ${EROOT%/}/etc/site-config.jam without defined gentoorelease/gentoodebug targets." + eerror "Boost can not be built in such configuration." + eerror "Please, either remove this file or add targets from ${EROOT%/}/usr/share/boost-build/site-config.jam to it." + die + ) + fi +} + +src_prepare() { + default + + # Do not try to build missing 'wave' tool, bug #522682 + # Upstream bugreport - https://svn.boost.org/trac/boost/ticket/10507 + sed -i -e 's:wave/build//wave::' tools/Jamfile.v2 || die + + multilib_copy_sources +} + +ejam() { + local b2_opts=( + "--user-config=${BOOST_ROOT}/user-config.jam" + "$@" + ) + echo b2 "${b2_opts[@]}" + b2 "${b2_opts[@]}" +} + +src_configure() { + # Workaround for too many parallel processes requested, bug #506064 + [[ "$(makeopts_jobs)" -gt 64 ]] && MAKEOPTS="${MAKEOPTS} -j64" + + OPTIONS=( + $(usex debug gentoodebug gentoorelease) + "-j$(makeopts_jobs)" + -q + -d+2 + ) + + if [[ ${CHOST} == *-darwin* ]]; then + # We need to add the prefix, and in two cases this exceeds, so prepare + # for the largest possible space allocation. + append-ldflags -Wl,-headerpad_max_install_names + elif [[ ${CHOST} == *-winnt* ]]; then + compiler=parity + if [[ $($(tc-getCXX) -v) == *trunk* ]]; then + compilerVersion=trunk + else + compilerVersion=$($(tc-getCXX) -v | sed '1q' \ + | sed -e 's,\([a-z]*\) \([0-9]\.[0-9]\.[0-9][^ \t]*\) .*,\2,') + fi + compilerExecutable=$(tc-getCXX) + fi + + # bug 298489 + if use ppc || use ppc64; then + [[ $(gcc-version) > 4.3 ]] && append-flags -mno-altivec + fi + + # Use C++14 globally as of 1.62 + append-cxxflags -std=c++14 + + use icu && OPTIONS+=( + "-sICU_PATH=${EPREFIX}/usr" + ) + use icu || OPTIONS+=( + --disable-icu + boost.locale.icu=off + ) + use mpi || OPTIONS+=( + --without-mpi + ) + use nls || OPTIONS+=( + --without-locale + ) + use context || OPTIONS+=( + --without-context + --without-coroutine + --without-coroutine2 + --without-fiber + ) + use threads || OPTIONS+=( + --without-thread + ) + + OPTIONS+=( + pch=off + --boost-build="${EPREFIX}"/usr/share/boost-build + --prefix="${ED%/}/usr" + --layout=system + # building with threading=single is currently not possible + # https://svn.boost.org/trac/boost/ticket/7105 + threading=multi + link=$(usex static-libs shared,static shared) + ) + + [[ ${CHOST} == *-winnt* ]] && OPTIONS+=( + -sNO_BZIP2=1 + ) +} + +multilib_src_compile() { + local -x BOOST_ROOT="${BUILD_DIR}" + PYTHON_DIRS="" + MPI_PYTHON_MODULE="" + + building() { + create_user-config.jam + + local PYTHON_OPTIONS + if python_bindings_needed; then + PYTHON_OPTIONS=" --python-buildid=${EPYTHON#python}" + else + PYTHON_OPTIONS=" --without-python" + fi + + ejam \ + "${OPTIONS[@]}" \ + ${PYTHON_OPTIONS} \ + || die "Building of Boost libraries failed" + + if python_bindings_needed; then + if [[ -z "${PYTHON_DIRS}" ]]; then + PYTHON_DIRS="$(find bin.v2/libs -name python | sort)" + else + if [[ "${PYTHON_DIRS}" != "$(find bin.v2/libs -name python | sort)" ]]; then + die "Inconsistent structure of build directories" + fi + fi + + local dir + for dir in ${PYTHON_DIRS}; do + mv ${dir} ${dir}-${EPYTHON} \ + || die "Renaming of '${dir}' to '${dir}-${EPYTHON}' failed" + done + + if use mpi; then + if [[ -z "${MPI_PYTHON_MODULE}" ]]; then + MPI_PYTHON_MODULE="$(find bin.v2/libs/mpi/build/*/gentoo* -name mpi.so)" + if [[ "$(echo "${MPI_PYTHON_MODULE}" | wc -l)" -ne 1 ]]; then + die "Multiple mpi.so files found" + fi + else + if [[ "${MPI_PYTHON_MODULE}" != "$(find bin.v2/libs/mpi/build/*/gentoo* -name mpi.so)" ]]; then + die "Inconsistent structure of build directories" + fi + fi + + mv stage/lib/mpi.so stage/lib/mpi.so-${EPYTHON} \ + || die "Renaming of 'stage/lib/mpi.so' to 'stage/lib/mpi.so-${EPYTHON}' failed" + fi + fi + } + if python_bindings_needed; then + python_foreach_impl building + else + building + fi + + if tools_needed; then + pushd tools >/dev/null || die + + ejam \ + "${OPTIONS[@]}" \ + ${PYTHON_OPTIONS} \ + || die "Building of Boost tools failed" + popd >/dev/null || die + fi +} + +multilib_src_install_all() { + if ! use python; then + rm -r "${ED%/}"/usr/include/boost/python* || die + fi + + if ! use nls; then + rm -r "${ED%/}"/usr/include/boost/locale || die + fi + + if ! use context; then + rm -r "${ED%/}"/usr/include/boost/context || die + rm -r "${ED%/}"/usr/include/boost/coroutine{,2} || die + rm "${ED%/}"/usr/include/boost/asio/spawn.hpp || die + fi + + if use doc; then + # find extraneous files that shouldn't be installed + # as part of the documentation and remove them. + find libs/*/* \( -iname 'test' -o -iname 'src' \) -exec rm -rf '{}' + || die + find doc \( -name 'Jamfile.v2' -o -name 'build' -o -name '*.manifest' \) -exec rm -rf '{}' + || die + find tools \( -name 'Jamfile.v2' -o -name 'src' -o -name '*.cpp' -o -name '*.hpp' \) -exec rm -rf '{}' + || die + + docinto html + dodoc *.{htm,html,png,css} + dodoc -r doc libs more tools + + # To avoid broken links + dodoc LICENSE_1_0.txt + + dosym /usr/include/boost /usr/share/doc/${PF}/html/boost + fi +} + +multilib_src_install() { + local -x BOOST_ROOT="${BUILD_DIR}" + installation() { + create_user-config.jam + + local PYTHON_OPTIONS + if python_bindings_needed; then + local dir + for dir in ${PYTHON_DIRS}; do + cp -pr ${dir}-${EPYTHON} ${dir} \ + || die "Copying of '${dir}-${EPYTHON}' to '${dir}' failed" + done + + if use mpi; then + cp -p stage/lib/mpi.so-${EPYTHON} "${MPI_PYTHON_MODULE}" \ + || die "Copying of 'stage/lib/mpi.so-${EPYTHON}' to '${MPI_PYTHON_MODULE}' failed" + cp -p stage/lib/mpi.so-${EPYTHON} stage/lib/mpi.so \ + || die "Copying of 'stage/lib/mpi.so-${EPYTHON}' to 'stage/lib/mpi.so' failed" + fi + PYTHON_OPTIONS=" --python-buildid=${EPYTHON#python}" + else + PYTHON_OPTIONS=" --without-python" + fi + + ejam \ + "${OPTIONS[@]}" \ + ${PYTHON_OPTIONS} \ + --includedir="${ED%/}/usr/include" \ + --libdir="${ED%/}/usr/$(get_libdir)" \ + install || die "Installation of Boost libraries failed" + + if python_bindings_needed; then + rm -r ${PYTHON_DIRS} || die + + # Move mpi.so Python module to Python site-packages directory. + # https://svn.boost.org/trac/boost/ticket/2838 + if use mpi; then + local moddir=$(python_get_sitedir)/boost + # moddir already includes eprefix + mkdir -p "${D}${moddir}" || die + mv "${ED%/}/usr/$(get_libdir)/mpi.so" "${D}${moddir}" || die + cat << EOF > "${D}${moddir}/__init__.py" || die +import sys +if sys.platform.startswith('linux'): + import DLFCN + flags = sys.getdlopenflags() + sys.setdlopenflags(DLFCN.RTLD_NOW | DLFCN.RTLD_GLOBAL) + from . import mpi + sys.setdlopenflags(flags) + del DLFCN, flags +else: + from . import mpi +del sys +EOF + fi + + python_optimize + fi + } + if python_bindings_needed; then + python_foreach_impl installation + else + installation + fi + + pushd "${ED%/}/usr/$(get_libdir)" >/dev/null || die + + local ext=$(get_libname) + if use threads; then + local f + for f in *${ext}; do + dosym ${f} /usr/$(get_libdir)/${f/${ext}/-mt${ext}} + done + fi + + popd >/dev/null || die + + if tools_needed; then + dobin dist/bin/* + + insinto /usr/share + doins -r dist/share/boostbook + fi + + # boost's build system truely sucks for not having a destdir. Because for + # this reason we are forced to build with a prefix that includes the + # DESTROOT, dynamic libraries on Darwin end messed up, referencing the + # DESTROOT instread of the actual EPREFIX. There is no way out of here + # but to do it the dirty way of manually setting the right install_names. + if [[ ${CHOST} == *-darwin* ]]; then + einfo "Working around completely broken build-system(tm)" + local d + for d in "${ED%/}"/usr/lib/*.dylib; do + if [[ -f ${d} ]]; then + # fix the "soname" + ebegin " correcting install_name of ${d#${ED}}" + install_name_tool -id "/${d#${D}}" "${d}" + eend $? + # fix references to other libs + refs=$(otool -XL "${d}" | \ + sed -e '1d' -e 's/^\t//' | \ + grep "^libboost_" | \ + cut -f1 -d' ') + local r + for r in ${refs}; do + ebegin " correcting reference to ${r}" + install_name_tool -change \ + "${r}" \ + "${EPREFIX}/usr/lib/${r}" \ + "${d}" + eend $? + done + fi + done + fi +} + +pkg_preinst() { + # Yai for having symlinks that are nigh-impossible to remove without + # resorting to dirty hacks like these. Removes lingering symlinks + # from the slotted versions. + local symlink + for symlink in "${EROOT%/}/usr/include/boost" "${EROOT%/}/usr/share/boostbook"; do + if [[ -L ${symlink} ]]; then + rm -f "${symlink}" || die + fi + done + + # some ancient installs still have boost cruft lying around + # for unknown reasons, causing havoc for reverse dependencies + # Bug: 607734 + rm -rf "${EROOT%/}"/usr/include/boost-1_[3-5]? || die +} diff --git a/dev-libs/boost/boost-1.65.0.ebuild b/dev-libs/boost/boost-1.65.0.ebuild new file mode 100644 index 000000000000..031429c5de87 --- /dev/null +++ b/dev-libs/boost/boost-1.65.0.ebuild @@ -0,0 +1,439 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python{2_7,3_{4,5,6}} ) + +inherit eutils flag-o-matic multiprocessing python-r1 toolchain-funcs versionator multilib-minimal + +MY_P="${PN}_$(replace_all_version_separators _)" +MAJOR_V="$(get_version_component_range 1-2)" + +DESCRIPTION="Boost Libraries for C++" +HOMEPAGE="http://www.boost.org/" +SRC_URI="https://downloads.sourceforge.net/project/boost/${PN}/${PV}/${MY_P}.tar.bz2" + +LICENSE="Boost-1.0" +SLOT="0/${PV}" # ${PV} instead ${MAJOR_V} due to bug 486122 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris ~x86-winnt" + +IUSE="context debug doc icu +nls mpi python static-libs +threads tools" + +RDEPEND="icu? ( >=dev-libs/icu-3.6:=[${MULTILIB_USEDEP}] ) + !icu? ( virtual/libiconv[${MULTILIB_USEDEP}] ) + mpi? ( >=virtual/mpi-2.0-r4[${MULTILIB_USEDEP},cxx,threads] ) + python? ( ${PYTHON_DEPS} ) + app-arch/bzip2[${MULTILIB_USEDEP}] + sys-libs/zlib[${MULTILIB_USEDEP}] + !app-admin/eselect-boost" +DEPEND="${RDEPEND} + =dev-util/boost-build-${MAJOR_V}*" +REQUIRED_USE=" + mpi? ( threads ) + python? ( ${PYTHON_REQUIRED_USE} )" + +S="${WORKDIR}/${MY_P}" + +# the tests will never fail because these are not intended as sanity +# tests at all. They are more a way for upstream to check their own code +# on new compilers. Since they would either be completely unreliable +# (failing for no good reason) or completely useless (never failing) +# there is no point in having them in the ebuild to begin with. +RESTRICT="test" + +PATCHES=( + "${FILESDIR}/${PN}-1.48.0-disable_icu_rpath.patch" + "${FILESDIR}/${PN}-1.55.0-context-x32.patch" + "${FILESDIR}/${PN}-1.56.0-build-auto_index-tool.patch" + "${FILESDIR}/${PN}-1.65.0-fix-python.patch" +) + +python_bindings_needed() { + multilib_is_native_abi && use python +} + +tools_needed() { + multilib_is_native_abi && use tools +} + +create_user-config.jam() { + local compiler compiler_version compiler_executable + + if [[ ${CHOST} == *-darwin* ]]; then + compiler="darwin" + compiler_version="$(gcc-fullversion)" + compiler_executable="$(tc-getCXX)" + else + compiler="gcc" + compiler_version="$(gcc-version)" + compiler_executable="$(tc-getCXX)" + fi + local mpi_configuration python_configuration + + if use mpi; then + mpi_configuration="using mpi ;" + fi + + if python_bindings_needed; then + # boost expects libpython$(pyver) and doesn't allow overrides + # and the build system is so creepy that it's easier just to + # provide a symlink (linker's going to use SONAME anyway) + # TODO: replace it with proper override one day + ln -f -s "$(python_get_library_path)" "${T}/lib${EPYTHON}$(get_libname)" || die + + if tc-is-cross-compiler; then + python_configuration="using python : ${EPYTHON#python} : : ${SYSROOT:-${EROOT}}/usr/include/${EPYTHON} : ${SYSROOT:-${EROOT}}/usr/$(get_libdir) ;" + else + # note: we need to provide version explicitly because of + # a bug in the build system: + # https://github.com/boostorg/build/pull/104 + python_configuration="using python : ${EPYTHON#python} : ${PYTHON} : $(python_get_includedir) : ${T} ;" + fi + fi + + cat > "${BOOST_ROOT}/user-config.jam" << __EOF__ || die +using ${compiler} : ${compiler_version} : ${compiler_executable} : "${CFLAGS}" "${CXXFLAGS}" "${LDFLAGS}" ; +${mpi_configuration} +${python_configuration} +__EOF__ +} + +pkg_setup() { + # Bail out on unsupported build configuration, bug #456792 + if [[ -f "${EROOT%/}/etc/site-config.jam" ]]; then + grep -q gentoorelease "${EROOT%/}/etc/site-config.jam" && grep -q gentoodebug "${EROOT%/}/etc/site-config.jam" || + ( + eerror "You are using custom ${EROOT%/}/etc/site-config.jam without defined gentoorelease/gentoodebug targets." + eerror "Boost can not be built in such configuration." + eerror "Please, either remove this file or add targets from ${EROOT%/}/usr/share/boost-build/site-config.jam to it." + die + ) + fi +} + +src_prepare() { + default + + # Do not try to build missing 'wave' tool, bug #522682 + # Upstream bugreport - https://svn.boost.org/trac/boost/ticket/10507 + sed -i -e 's:wave/build//wave::' tools/Jamfile.v2 || die + + multilib_copy_sources +} + +ejam() { + local b2_opts=( + "--user-config=${BOOST_ROOT}/user-config.jam" + "$@" + ) + echo b2 "${b2_opts[@]}" + b2 "${b2_opts[@]}" +} + +src_configure() { + # Workaround for too many parallel processes requested, bug #506064 + [[ "$(makeopts_jobs)" -gt 64 ]] && MAKEOPTS="${MAKEOPTS} -j64" + + OPTIONS=( + $(usex debug gentoodebug gentoorelease) + "-j$(makeopts_jobs)" + -q + -d+2 + ) + + if [[ ${CHOST} == *-darwin* ]]; then + # We need to add the prefix, and in two cases this exceeds, so prepare + # for the largest possible space allocation. + append-ldflags -Wl,-headerpad_max_install_names + elif [[ ${CHOST} == *-winnt* ]]; then + compiler=parity + if [[ $($(tc-getCXX) -v) == *trunk* ]]; then + compilerVersion=trunk + else + compilerVersion=$($(tc-getCXX) -v | sed '1q' \ + | sed -e 's,\([a-z]*\) \([0-9]\.[0-9]\.[0-9][^ \t]*\) .*,\2,') + fi + compilerExecutable=$(tc-getCXX) + fi + + # bug 298489 + if use ppc || use ppc64; then + [[ $(gcc-version) > 4.3 ]] && append-flags -mno-altivec + fi + + # Use C++14 globally as of 1.62 + append-cxxflags -std=c++14 + + use icu && OPTIONS+=( + "-sICU_PATH=${EPREFIX}/usr" + ) + use icu || OPTIONS+=( + --disable-icu + boost.locale.icu=off + ) + use mpi || OPTIONS+=( + --without-mpi + ) + use nls || OPTIONS+=( + --without-locale + ) + use context || OPTIONS+=( + --without-context + --without-coroutine + --without-fiber + ) + use threads || OPTIONS+=( + --without-thread + ) + + OPTIONS+=( + pch=off + --boost-build="${EPREFIX}"/usr/share/boost-build + --prefix="${ED%/}/usr" + --layout=system + # building with threading=single is currently not possible + # https://svn.boost.org/trac/boost/ticket/7105 + threading=multi + link=$(usex static-libs shared,static shared) + ) + + [[ ${CHOST} == *-winnt* ]] && OPTIONS+=( + -sNO_BZIP2=1 + ) +} + +multilib_src_compile() { + local -x BOOST_ROOT="${BUILD_DIR}" + PYTHON_DIRS="" + MPI_PYTHON_MODULE="" + + building() { + create_user-config.jam + + local PYTHON_OPTIONS + if python_bindings_needed; then + PYTHON_OPTIONS=" --python-buildid=${EPYTHON#python}" + else + PYTHON_OPTIONS=" --without-python" + fi + + ejam \ + "${OPTIONS[@]}" \ + ${PYTHON_OPTIONS} \ + || die "Building of Boost libraries failed" + + if python_bindings_needed; then + if [[ -z "${PYTHON_DIRS}" ]]; then + PYTHON_DIRS="$(find bin.v2/libs -name python | sort)" + else + if [[ "${PYTHON_DIRS}" != "$(find bin.v2/libs -name python | sort)" ]]; then + die "Inconsistent structure of build directories" + fi + fi + + local dir + for dir in ${PYTHON_DIRS}; do + mv ${dir} ${dir}-${EPYTHON} \ + || die "Renaming of '${dir}' to '${dir}-${EPYTHON}' failed" + done + + if use mpi; then + if [[ -z "${MPI_PYTHON_MODULE}" ]]; then + MPI_PYTHON_MODULE="$(find bin.v2/libs/mpi/build/*/gentoo* -name mpi.so)" + if [[ "$(echo "${MPI_PYTHON_MODULE}" | wc -l)" -ne 1 ]]; then + die "Multiple mpi.so files found" + fi + else + if [[ "${MPI_PYTHON_MODULE}" != "$(find bin.v2/libs/mpi/build/*/gentoo* -name mpi.so)" ]]; then + die "Inconsistent structure of build directories" + fi + fi + + mv stage/lib/mpi.so stage/lib/mpi.so-${EPYTHON} \ + || die "Renaming of 'stage/lib/mpi.so' to 'stage/lib/mpi.so-${EPYTHON}' failed" + fi + fi + } + if python_bindings_needed; then + python_foreach_impl building + else + building + fi + + if tools_needed; then + pushd tools >/dev/null || die + + ejam \ + "${OPTIONS[@]}" \ + ${PYTHON_OPTIONS} \ + || die "Building of Boost tools failed" + popd >/dev/null || die + fi +} + +multilib_src_install_all() { + if ! use python; then + rm -r "${ED%/}"/usr/include/boost/python* || die + fi + + if ! use nls; then + rm -r "${ED%/}"/usr/include/boost/locale || die + fi + + if ! use context; then + rm -r "${ED%/}"/usr/include/boost/context || die + rm -r "${ED%/}"/usr/include/boost/coroutine{,2} || die + rm "${ED%/}"/usr/include/boost/asio/spawn.hpp || die + fi + + if use doc; then + # find extraneous files that shouldn't be installed + # as part of the documentation and remove them. + find libs/*/* \( -iname 'test' -o -iname 'src' \) -exec rm -rf '{}' + || die + find doc \( -name 'Jamfile.v2' -o -name 'build' -o -name '*.manifest' \) -exec rm -rf '{}' + || die + find tools \( -name 'Jamfile.v2' -o -name 'src' -o -name '*.cpp' -o -name '*.hpp' \) -exec rm -rf '{}' + || die + + docinto html + dodoc *.{htm,html,png,css} + dodoc -r doc libs more tools + + # To avoid broken links + dodoc LICENSE_1_0.txt + + dosym /usr/include/boost /usr/share/doc/${PF}/html/boost + fi +} + +multilib_src_install() { + local -x BOOST_ROOT="${BUILD_DIR}" + installation() { + create_user-config.jam + + local PYTHON_OPTIONS + if python_bindings_needed; then + local dir + for dir in ${PYTHON_DIRS}; do + cp -pr ${dir}-${EPYTHON} ${dir} \ + || die "Copying of '${dir}-${EPYTHON}' to '${dir}' failed" + done + + if use mpi; then + cp -p stage/lib/mpi.so-${EPYTHON} "${MPI_PYTHON_MODULE}" \ + || die "Copying of 'stage/lib/mpi.so-${EPYTHON}' to '${MPI_PYTHON_MODULE}' failed" + cp -p stage/lib/mpi.so-${EPYTHON} stage/lib/mpi.so \ + || die "Copying of 'stage/lib/mpi.so-${EPYTHON}' to 'stage/lib/mpi.so' failed" + fi + PYTHON_OPTIONS=" --python-buildid=${EPYTHON#python}" + else + PYTHON_OPTIONS=" --without-python" + fi + + ejam \ + "${OPTIONS[@]}" \ + ${PYTHON_OPTIONS} \ + --includedir="${ED%/}/usr/include" \ + --libdir="${ED%/}/usr/$(get_libdir)" \ + install || die "Installation of Boost libraries failed" + + if python_bindings_needed; then + rm -r ${PYTHON_DIRS} || die + + # Move mpi.so Python module to Python site-packages directory. + # https://svn.boost.org/trac/boost/ticket/2838 + if use mpi; then + local moddir=$(python_get_sitedir)/boost + # moddir already includes eprefix + mkdir -p "${D}${moddir}" || die + mv "${ED%/}/usr/$(get_libdir)/mpi.so" "${D}${moddir}" || die + cat << EOF > "${D}${moddir}/__init__.py" || die +import sys +if sys.platform.startswith('linux'): + import DLFCN + flags = sys.getdlopenflags() + sys.setdlopenflags(DLFCN.RTLD_NOW | DLFCN.RTLD_GLOBAL) + from . import mpi + sys.setdlopenflags(flags) + del DLFCN, flags +else: + from . import mpi +del sys +EOF + fi + + python_optimize + fi + } + if python_bindings_needed; then + python_foreach_impl installation + else + installation + fi + + pushd "${ED%/}/usr/$(get_libdir)" >/dev/null || die + + local ext=$(get_libname) + if use threads; then + local f + for f in *${ext}; do + dosym ${f} /usr/$(get_libdir)/${f/${ext}/-mt${ext}} + done + fi + + popd >/dev/null || die + + if tools_needed; then + dobin dist/bin/* + + insinto /usr/share + doins -r dist/share/boostbook + fi + + # boost's build system truely sucks for not having a destdir. Because for + # this reason we are forced to build with a prefix that includes the + # DESTROOT, dynamic libraries on Darwin end messed up, referencing the + # DESTROOT instread of the actual EPREFIX. There is no way out of here + # but to do it the dirty way of manually setting the right install_names. + if [[ ${CHOST} == *-darwin* ]]; then + einfo "Working around completely broken build-system(tm)" + local d + for d in "${ED%/}"/usr/lib/*.dylib; do + if [[ -f ${d} ]]; then + # fix the "soname" + ebegin " correcting install_name of ${d#${ED}}" + install_name_tool -id "/${d#${D}}" "${d}" + eend $? + # fix references to other libs + refs=$(otool -XL "${d}" | \ + sed -e '1d' -e 's/^\t//' | \ + grep "^libboost_" | \ + cut -f1 -d' ') + local r + for r in ${refs}; do + ebegin " correcting reference to ${r}" + install_name_tool -change \ + "${r}" \ + "${EPREFIX}/usr/lib/${r}" \ + "${d}" + eend $? + done + fi + done + fi +} + +pkg_preinst() { + # Yai for having symlinks that are nigh-impossible to remove without + # resorting to dirty hacks like these. Removes lingering symlinks + # from the slotted versions. + local symlink + for symlink in "${EROOT%/}/usr/include/boost" "${EROOT%/}/usr/share/boostbook"; do + if [[ -L ${symlink} ]]; then + rm -f "${symlink}" || die + fi + done + + # some ancient installs still have boost cruft lying around + # for unknown reasons, causing havoc for reverse dependencies + # Bug: 607734 + rm -rf "${EROOT%/}"/usr/include/boost-1_[3-5]? || die +} diff --git a/dev-libs/boost/files/boost-1.48.0-disable_icu_rpath.patch b/dev-libs/boost/files/boost-1.48.0-disable_icu_rpath.patch new file mode 100644 index 000000000000..23a87830d109 --- /dev/null +++ b/dev-libs/boost/files/boost-1.48.0-disable_icu_rpath.patch @@ -0,0 +1,29 @@ +--- a/libs/locale/build/Jamfile.v2 ++++ b/libs/locale/build/Jamfile.v2 +@@ -58,8 +58,8 @@ + + if $(ICU_LINK) + { +- ICU_OPTS = $(ICU_PATH)/include $(ICU_LINK) $(ICU_PATH)/bin shared ; +- ICU64_OPTS = $(ICU_PATH)/include $(ICU_LINK) $(ICU_PATH)/bin64 shared ; ++ ICU_OPTS = $(ICU_PATH)/include $(ICU_LINK) shared ; ++ ICU64_OPTS = $(ICU_PATH)/include $(ICU_LINK) shared ; + } + else + { +@@ -117,7 +117,6 @@ + icuuc/shared/shared + icudt/shared/shared + icuin/shared/shared +- $(ICU_PATH)/bin + shared ; + + +@@ -176,7 +175,6 @@ + icuuc_64/shared/shared + icudt_64/shared/shared + icuin_64/shared/shared +- $(ICU_PATH)/bin64 + shared ; + + diff --git a/dev-libs/boost/files/boost-1.48.0-disable_libboost_python3.patch b/dev-libs/boost/files/boost-1.48.0-disable_libboost_python3.patch new file mode 100644 index 000000000000..d4560400d7d5 --- /dev/null +++ b/dev-libs/boost/files/boost-1.48.0-disable_libboost_python3.patch @@ -0,0 +1,62 @@ +--- a/libs/python/build/Jamfile.v2 ++++ b/libs/python/build/Jamfile.v2 +@@ -39,23 +39,6 @@ + PYTHON_ID = [ regex.replace $(python-id) "[*\\/:\"\']" "_" ] ; + } + +- +-rule find-py3-version +-{ +- local versions = [ feature.values python ] ; +- local py3ver ; +- for local v in $(versions) +- { +- if $(v) >= 3.0 +- { +- py3ver = $(v) ; +- } +- } +- return $(py3ver) ; +-} +- +-py3-version = [ find-py3-version ] ; +- + project boost/python + : source-location ../src + : requirements +@@ -82,7 +65,7 @@ + rule cond ( test ? : yes * : no * ) { if $(test) { return $(yes) ; } else { return $(no) ; } } + rule unless ( test ? : yes * : no * ) { if ! $(test) { return $(yes) ; } else { return $(no) ; } } + +-rule lib_boost_python ( is-py3 ? ) ++rule lib_boost_python + { + + local python_major_version = [ MATCH "^([^.]+)" : [ feature.values python ] ] ; +@@ -91,7 +74,7 @@ + { + python2 = true ; + } +- lib [ cond $(is-py3) : boost_python3 : boost_python ] ++ lib boost_python + : # sources + numeric.cpp + list.cpp +@@ -148,7 +131,6 @@ + config-warning + + on:BOOST_DEBUG_PYTHON +- [ cond $(is-py3) : $(py3-version) ] + : # default build + shared + : # usage requirements +@@ -160,9 +142,3 @@ + + lib_boost_python ; + boost-install boost_python ; +- +-if $(py3-version) +-{ +- lib_boost_python yes ; +- boost-install boost_python3 ; +-} diff --git a/dev-libs/boost/files/boost-1.48.0-no_strict_aliasing_python2.patch b/dev-libs/boost/files/boost-1.48.0-no_strict_aliasing_python2.patch new file mode 100644 index 000000000000..cb26792f99c9 --- /dev/null +++ b/dev-libs/boost/files/boost-1.48.0-no_strict_aliasing_python2.patch @@ -0,0 +1,23 @@ +--- a/libs/python/build/Jamfile.v2 ++++ b/libs/python/build/Jamfile.v2 +@@ -85,6 +85,12 @@ + rule lib_boost_python ( is-py3 ? ) + { + ++ local python_major_version = [ MATCH "^([^.]+)" : [ feature.values python ] ] ; ++ local python2 ; ++ if $(python_major_version) = 2 ++ { ++ python2 = true ; ++ } + lib [ cond $(is-py3) : boost_python3 : boost_python ] + : # sources + numeric.cpp +@@ -119,6 +125,7 @@ + : # requirements + static:BOOST_PYTHON_STATIC_LIB + BOOST_PYTHON_SOURCE ++ [ cond $(python2) : -fno-strict-aliasing ] + + # On Windows, all code using Python has to link to the Python + # import library. diff --git a/dev-libs/boost/files/boost-1.48.0-python_linking.patch b/dev-libs/boost/files/boost-1.48.0-python_linking.patch new file mode 100644 index 000000000000..330cbb11e885 --- /dev/null +++ b/dev-libs/boost/files/boost-1.48.0-python_linking.patch @@ -0,0 +1,24 @@ +--- a/libs/python/build/Jamfile.v2 ++++ b/libs/python/build/Jamfile.v2 +@@ -109,20 +109,7 @@ + static:BOOST_PYTHON_STATIC_LIB + BOOST_PYTHON_SOURCE + [ cond $(python2) : -fno-strict-aliasing ] +- +- # On Windows, all code using Python has to link to the Python +- # import library. +- # +- # On *nix we never link libboost_python to libpython. When +- # extending Python, all Python symbols are provided by the +- # Python interpreter executable. When embedding Python, the +- # client executable is expected to explicitly link to +- # /python//python (the target representing libpython) itself. +- # +- # python_for_extensions is a target defined by Boost.Build to +- # provide the Python include paths, and on Windows, the Python +- # import library, as usage requirements. +- [ cond [ python.configured ] : /python//python_for_extensions ] ++ [ cond [ python.configured ] : /python//python ] + + # we prevent building when there is no python available + # as it's not possible anyway, and to cause dependents to diff --git a/dev-libs/boost/files/boost-1.51.0-respect_python-buildid.patch b/dev-libs/boost/files/boost-1.51.0-respect_python-buildid.patch new file mode 100644 index 000000000000..17a681611b6f --- /dev/null +++ b/dev-libs/boost/files/boost-1.51.0-respect_python-buildid.patch @@ -0,0 +1,69 @@ +https://svn.boost.org/trac/boost/ticket/6286 + +--- a/boostcpp.jam ++++ b/boostcpp.jam +@@ -99,13 +99,6 @@ + BUILD_ID = [ regex.replace $(build-id) "[*\\/:.\"\' ]" _ ] ; + } + +-# Python build id (for Python libraries only). +-python-id = [ option.get "python-buildid" ] ; +-if $(python-id) +-{ +- PYTHON_ID = [ regex.replace $(python-id) [*\\/:.\"\'] _ ] ; +-} +- + + ################################################################################ + # +--- a/libs/mpi/build/Jamfile.v2 ++++ b/libs/mpi/build/Jamfile.v2 +@@ -8,6 +8,8 @@ + # Authors: Douglas Gregor + # Andrew Lumsdaine + ++import option ; ++import regex ; + import mpi ; + import indirect ; + import python ; +@@ -24,6 +26,13 @@ + @$(__name__).tag + ; + ++# Python build id (for Python libraries only). ++python-id = [ option.get "python-buildid" ] ; ++if $(python-id) ++{ ++ PYTHON_ID = [ regex.replace $(python-id) [*\\/:.\"\'] _ ] ; ++} ++ + rule tag ( name : type ? : property-set ) + { + local result = $(name) ; +--- a/libs/python/build/Jamfile.v2 ++++ b/libs/python/build/Jamfile.v2 +@@ -2,6 +2,8 @@ + # Software License, Version 1.0. (See accompanying + # file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + ++import option ; ++import regex ; + import os ; + import indirect ; + import modules ; +@@ -30,6 +32,14 @@ + ; + } + ++# Python build id (for Python libraries only). ++python-id = [ option.get "python-buildid" ] ; ++if $(python-id) ++{ ++ PYTHON_ID = [ regex.replace $(python-id) [*\\/:.\"\'] _ ] ; ++} ++ ++ + rule find-py3-version + { + local versions = [ feature.values python ] ; diff --git a/dev-libs/boost/files/boost-1.51.0-support_dots_in_python-buildid.patch b/dev-libs/boost/files/boost-1.51.0-support_dots_in_python-buildid.patch new file mode 100644 index 000000000000..a8912eb5e048 --- /dev/null +++ b/dev-libs/boost/files/boost-1.51.0-support_dots_in_python-buildid.patch @@ -0,0 +1,22 @@ +--- a/libs/mpi/build/Jamfile.v2 ++++ b/libs/mpi/build/Jamfile.v2 +@@ -30,7 +30,7 @@ + python-id = [ option.get "python-buildid" ] ; + if $(python-id) + { +- PYTHON_ID = [ regex.replace $(python-id) [*\\/:.\"\'] _ ] ; ++ PYTHON_ID = [ regex.replace $(python-id) [*\\/:\"\'] _ ] ; + } + + rule tag ( name : type ? : property-set ) +--- a/libs/python/build/Jamfile.v2 ++++ b/libs/python/build/Jamfile.v2 +@@ -36,7 +36,7 @@ + python-id = [ option.get "python-buildid" ] ; + if $(python-id) + { +- PYTHON_ID = [ regex.replace $(python-id) [*\\/:.\"\'] _ ] ; ++ PYTHON_ID = [ regex.replace $(python-id) [*\\/:\"\'] _ ] ; + } + + diff --git a/dev-libs/boost/files/boost-1.55.0-context-x32.patch b/dev-libs/boost/files/boost-1.55.0-context-x32.patch new file mode 100644 index 000000000000..5bf740625381 --- /dev/null +++ b/dev-libs/boost/files/boost-1.55.0-context-x32.patch @@ -0,0 +1,42 @@ +https://svn.boost.org/trac/boost/ticket/9445 + +hack to fix x32 builds + +--- a/libs/context/src/asm/jump_i386_sysv_elf_gas.S ++++ b/libs/context/src/asm/jump_i386_sysv_elf_gas.S +@@ -31,6 +31,10 @@ + * * + * *****************************************************************/ + ++#ifdef __x86_64__ ++#include "jump_x86_64_sysv_elf_gas.S" ++#else ++ + .text + .globl jump_fcontext + .align 2 +@@ -73,3 +77,5 @@ jump_fcontext: + + /* Mark that we don't need executable stack. */ + .section .note.GNU-stack,"",%progbits ++ ++#endif +--- a/libs/context/src/asm/make_i386_sysv_elf_gas.S ++++ b/libs/context/src/asm/make_i386_sysv_elf_gas.S +@@ -31,6 +31,10 @@ + * * + * *****************************************************************/ + ++#ifdef __x86_64__ ++#include "make_x86_64_sysv_elf_gas.S" ++#else ++ + .text + .globl make_fcontext + .align 2 +@@ -78,3 +82,5 @@ finish: + + /* Mark that we don't need executable stack. */ + .section .note.GNU-stack,"",%progbits ++ ++#endif diff --git a/dev-libs/boost/files/boost-1.56.0-build-auto_index-tool.patch b/dev-libs/boost/files/boost-1.56.0-build-auto_index-tool.patch new file mode 100644 index 000000000000..48ca51388713 --- /dev/null +++ b/dev-libs/boost/files/boost-1.56.0-build-auto_index-tool.patch @@ -0,0 +1,13 @@ +Build auto_index tool with USE="tools" +Gentoo bug report: https://bugs.gentoo.org/show_bug.cgi?id=529066 + +--- a/tools/Jamfile.v2.orig 2014-12-24 12:57:32.290880067 +0300 ++++ b/tools/Jamfile.v2 2014-12-24 12:58:38.403883250 +0300 +@@ -20,6 +20,7 @@ + use-project /boost/regression : regression/build ; + + TOOLS = ++ auto_index/build//auto_index + bcp//bcp + inspect/build//inspect + quickbook//quickbook diff --git a/dev-libs/boost/files/boost-1.63.0-fix-python.patch b/dev-libs/boost/files/boost-1.63.0-fix-python.patch new file mode 100644 index 000000000000..18ca2f566711 --- /dev/null +++ b/dev-libs/boost/files/boost-1.63.0-fix-python.patch @@ -0,0 +1,138 @@ +--- a/boostcpp.jam ++++ b/boostcpp.jam +@@ -104,7 +104,7 @@ + python-id = [ option.get "python-buildid" ] ; + if $(python-id) + { +- PYTHON_ID = [ regex.replace $(python-id) [*\\/:.\"\'] _ ] ; ++ PYTHON_ID = [ regex.replace $(python-id) [*\\/:\"\'] _ ] ; + } + + +--- a/libs/python/build/Jamfile ++++ b/libs/python/build/Jamfile +@@ -30,22 +30,6 @@ + ; + } + +-rule find-py3-version +-{ +- local versions = [ feature.values python ] ; +- local py3ver ; +- for local v in $(versions) +- { +- if $(v) >= 3.0 +- { +- py3ver = $(v) ; +- } +- } +- return $(py3ver) ; +-} +- +-py3-version = [ find-py3-version ] ; +- + project boost/python + : source-location ../src + ; +@@ -53,10 +37,16 @@ + rule cond ( test ? : yes * : no * ) { if $(test) { return $(yes) ; } else { return $(no) ; } } + rule unless ( test ? : yes * : no * ) { if ! $(test) { return $(yes) ; } else { return $(no) ; } } + +-rule lib_boost_python ( is-py3 ? ) ++rule lib_boost_python + { ++ local python_major_version = [ MATCH "^([^.]+)" : [ feature.values python ] ] ; ++ local python2 ; ++ if $(python_major_version) = 2 ++ { ++ python2 = true ; ++ } + +- lib [ cond $(is-py3) : boost_python3 : boost_python ] ++ lib boost_python + : # sources + numeric.cpp + list.cpp +@@ -90,20 +80,9 @@ + : # requirements + static:BOOST_PYTHON_STATIC_LIB + BOOST_PYTHON_SOURCE ++ [ cond $(python2) : -fno-strict-aliasing ] + +- # On Windows, all code using Python has to link to the Python +- # import library. +- # +- # On *nix we never link libboost_python to libpython. When +- # extending Python, all Python symbols are provided by the +- # Python interpreter executable. When embedding Python, the +- # client executable is expected to explicitly link to +- # /python//python (the target representing libpython) itself. +- # +- # python_for_extensions is a target defined by Boost.Build to +- # provide the Python include paths, and on Windows, the Python +- # import library, as usage requirements. +- [ cond [ python.configured ] : /python//python_for_extensions ] ++ [ cond [ python.configured ] : /python//python ] + + # we prevent building when there is no python available + # as it's not possible anyway, and to cause dependents to +@@ -112,7 +91,6 @@ + config-warning + + on:BOOST_DEBUG_PYTHON +- [ cond $(is-py3) : $(py3-version) ] + + -@$(BOOST_JAMROOT_MODULE)%$(BOOST_JAMROOT_MODULE).tag + @$(BOOST_JAMROOT_MODULE)%$(BOOST_JAMROOT_MODULE).python-tag +@@ -125,51 +103,8 @@ + ; + } + +-rule lib_boost_numpy ( is-py3 ? ) +-{ +- numpy-include = [ python.numpy-include ] ; +- lib [ cond $(is-py3) : boost_numpy3 : boost_numpy ] +- : # sources +- numpy/dtype.cpp +- numpy/matrix.cpp +- numpy/ndarray.cpp +- numpy/numpy.cpp +- numpy/scalars.cpp +- numpy/ufunc.cpp +- : # requirements +- [ cond [ python.numpy ] : /python//python_for_extensions ] +- [ unless [ python.numpy ] : no ] +- $(numpy-include) +- boost_python +- on:BOOST_DEBUG_PYTHON +- [ cond $(is-py3) : $(py3-version) ] +- +- -@$(BOOST_JAMROOT_MODULE)%$(BOOST_JAMROOT_MODULE).tag +- @$(BOOST_JAMROOT_MODULE)%$(BOOST_JAMROOT_MODULE).python-tag +- +- : # default build +- shared +- : # usage requirements +- on:BOOST_DEBUG_PYTHON +- ; +-} +- + libraries = boost_python ; +-libraries3 = boost_python3 ; +-if [ python.numpy ] +-{ +- libraries += boost_numpy ; +- libraries3 += boost_numpy3 ; +-} + + lib_boost_python ; +-lib_boost_numpy ; +- +-if $(py3-version) +-{ +- lib_boost_python yes ; +- lib_boost_numpy yes ; +- libraries += $(libraries3) ; +-} + + boost-install $(libraries) ; diff --git a/dev-libs/boost/files/boost-1.65.0-fix-python.patch b/dev-libs/boost/files/boost-1.65.0-fix-python.patch new file mode 100644 index 000000000000..079160218ea2 --- /dev/null +++ b/dev-libs/boost/files/boost-1.65.0-fix-python.patch @@ -0,0 +1,272 @@ +--- a/boostcpp.jam ++++ b/boostcpp.jam +@@ -104,7 +104,7 @@ + python-id = [ option.get "python-buildid" ] ; + if $(python-id) + { +- PYTHON_ID = [ regex.replace $(python-id) [*\\/:.\"\'] _ ] ; ++ PYTHON_ID = [ regex.replace $(python-id) [*\\/:\"\'] _ ] ; + } + + +--- a/libs/mpi/build/Jamfile.v2 ++++ b/libs/mpi/build/Jamfile.v2 +@@ -58,81 +58,50 @@ + + if [ python.configured ] + { +- py2-version = [ py-version 2 ] ; +- py3-version = [ py-version 3 ] ; +- +- # These library names are synchronized with those defined by Boost.Python, see libs/python/build/Jamfile. +- lib_boost_python(2) = boost_python ; +- lib_boost_python(3) = boost_python3 ; +- +- lib_boost_python($(py2-version)) = $(lib_boost_python(2)) ; +- lib_boost_python($(py3-version)) = $(lib_boost_python(3)) ; +- +- lib_boost_mpi_python(2) = boost_mpi_python ; +- lib_boost_mpi_python(3) = boost_mpi_python3 ; +- +- lib_boost_mpi_python($(py2-version)) = $(lib_boost_mpi_python(2)) ; +- lib_boost_mpi_python($(py3-version)) = $(lib_boost_mpi_python(3)) ; +- +- for local N in 2 3 +- { +- if $(py$(N)-version) +- { +- lib $(lib_boost_mpi_python($(py$(N)-version))) +- : # Sources +- python/serialize.cpp +- : # Requirements +- boost_mpi +- /mpi//mpi [ mpi.extra-requirements ] +- /boost/python//$(lib_boost_python($(py$(N)-version))) +- shared:BOOST_MPI_DYN_LINK=1 +- shared:BOOST_MPI_PYTHON_DYN_LINK=1 +- shared:BOOST_PYTHON_DYN_LINK=1 +- BOOST_MPI_PYTHON_SOURCE=1 +- -@$(BOOST_JAMROOT_MODULE)%$(BOOST_JAMROOT_MODULE).tag +- @$(BOOST_JAMROOT_MODULE)%$(BOOST_JAMROOT_MODULE).python-tag +- on:BOOST_DEBUG_PYTHON +- $(py$(N)-version) +- : # Default build +- shared +- : # Usage requirements +- /mpi//mpi [ mpi.extra-requirements ] +- ; +- +- python-extension mpi +- : # Sources +- python/collectives.cpp +- python/py_communicator.cpp +- python/datatypes.cpp +- python/documentation.cpp +- python/py_environment.cpp +- python/py_nonblocking.cpp +- python/py_exception.cpp +- python/module.cpp +- python/py_request.cpp +- python/skeleton_and_content.cpp +- python/status.cpp +- python/py_timer.cpp +- : # Requirements +- /boost/python//$(lib_boost_python($(py$(N)-version))) +- $(lib_boost_mpi_python($(py$(N)-version))) +- boost_mpi +- /mpi//mpi [ mpi.extra-requirements ] +- shared:BOOST_MPI_DYN_LINK=1 +- shared:BOOST_MPI_PYTHON_DYN_LINK=1 +- shared:BOOST_PYTHON_DYN_LINK=1 +- shared shared +- on:BOOST_DEBUG_PYTHON +- $(py$(N)-version) +- ; +- +- libraries += $(lib_boost_mpi_python($(py$(N)-version))) ; +- } +- else +- { +- alias $(lib_boost_mpi_python($(N))) ; +- } +- } ++ lib boost_mpi_python ++ : # Sources ++ python/serialize.cpp ++ : # Requirements ++ boost_mpi ++ /mpi//mpi [ mpi.extra-requirements ] ++ /boost/python//boost_python ++ shared:BOOST_MPI_DYN_LINK=1 ++ shared:BOOST_MPI_PYTHON_DYN_LINK=1 ++ shared:BOOST_PYTHON_DYN_LINK=1 ++ BOOST_MPI_PYTHON_SOURCE=1 ++ -@$(BOOST_JAMROOT_MODULE)%$(BOOST_JAMROOT_MODULE).tag ++ @$(BOOST_JAMROOT_MODULE)%$(BOOST_JAMROOT_MODULE).python-tag ++ : # Default build ++ shared ++ : # Usage requirements ++ /mpi//mpi [ mpi.extra-requirements ] ++ ; ++ libraries += boost_mpi_python ; ++ ++ python-extension mpi ++ : # Sources ++ python/collectives.cpp ++ python/py_communicator.cpp ++ python/datatypes.cpp ++ python/documentation.cpp ++ python/py_environment.cpp ++ python/py_nonblocking.cpp ++ python/py_exception.cpp ++ python/module.cpp ++ python/py_request.cpp ++ python/skeleton_and_content.cpp ++ python/status.cpp ++ python/py_timer.cpp ++ : # Requirements ++ /boost/python//boost_python ++ boost_mpi_python ++ boost_mpi ++ /mpi//mpi [ mpi.extra-requirements ] ++ shared:BOOST_MPI_DYN_LINK=1 ++ shared:BOOST_MPI_PYTHON_DYN_LINK=1 ++ shared:BOOST_PYTHON_DYN_LINK=1 ++ shared shared ++ ; + } + } + else if ! ( --without-mpi in [ modules.peek : ARGV ] ) +--- a/libs/python/build/Jamfile ++++ b/libs/python/build/Jamfile +@@ -31,26 +31,23 @@ + ; + } + +-py2-version = [ py-version 2 ] ; +-py3-version = [ py-version 3 ] ; +- + project boost/python + : source-location ../src + ; + + rule cond ( test ? : yes * : no * ) { if $(test) { return $(yes) ; } else { return $(no) ; } } + rule unless ( test ? : yes * : no * ) { if ! $(test) { return $(yes) ; } else { return $(no) ; } } +-local rule eq ( a : b ) { if $(a) = $(b) { return 1 ; } } +- +-lib_boost_python(2) = boost_python ; +-lib_boost_python(3) = boost_python3 ; +- +-lib_boost_python($(py2-version)) = $(lib_boost_python(2)) ; +-lib_boost_python($(py3-version)) = $(lib_boost_python(3)) ; + +-rule lib_boost_python ( version ) ++rule lib_boost_python + { +- lib $(lib_boost_python($(version))) ++ local python_major_version = [ MATCH "^([^.]+)" : [ feature.values python ] ] ; ++ local python2 ; ++ if $(python_major_version) = 2 ++ { ++ python2 = true ; ++ } ++ ++ lib boost_python + : # sources + list.cpp + long.cpp +@@ -96,7 +93,8 @@ + # python_for_extensions is a target defined by Boost.Build to + # provide the Python include paths, and on Windows, the Python + # import library, as usage requirements. +- [ cond [ python.configured ] : /python//python_for_extensions ] ++ [ cond $(python2) : -fno-strict-aliasing ] ++ [ cond [ python.configured ] : /python//python ] + + # we prevent building when there is no python available + # as it's not possible anyway, and to cause dependents to +@@ -105,13 +103,10 @@ + config-warning + + on:BOOST_DEBUG_PYTHON +- $(version) + + -@$(BOOST_JAMROOT_MODULE)%$(BOOST_JAMROOT_MODULE).tag + @$(BOOST_JAMROOT_MODULE)%$(BOOST_JAMROOT_MODULE).python-tag + +- @python.require-py +- + : # default build + shared + : # usage requirements +@@ -120,68 +115,8 @@ + ; + } + +-lib_boost_numpy(2) = boost_numpy ; +-lib_boost_numpy(3) = boost_numpy3 ; +- +-lib_boost_numpy($(py2-version)) = $(lib_boost_numpy(2)) ; +-lib_boost_numpy($(py3-version)) = $(lib_boost_numpy(3)) ; +- +-rule lib_boost_numpy ( version ) +-{ +- numpy-include = [ python.numpy-include ] ; +- lib $(lib_boost_numpy($(version))) +- : # sources +- numpy/dtype.cpp +- numpy/matrix.cpp +- numpy/ndarray.cpp +- numpy/numpy.cpp +- numpy/scalars.cpp +- numpy/ufunc.cpp +- : # requirements +- static:BOOST_NUMPY_STATIC_LIB +- BOOST_NUMPY_SOURCE +- [ cond [ python.numpy ] : /python//python_for_extensions ] +- [ unless [ python.numpy ] : no ] +- $(numpy-include) +- $(lib_boost_python($(version))) +- on:BOOST_DEBUG_PYTHON +- $(version) ++libraries = boost_python ; + +- -@$(BOOST_JAMROOT_MODULE)%$(BOOST_JAMROOT_MODULE).tag +- @$(BOOST_JAMROOT_MODULE)%$(BOOST_JAMROOT_MODULE).python-tag +- +- @python.require-py +- +- : # default build +- shared +- : # usage requirements +- static:BOOST_NUMPY_STATIC_LIB +- on:BOOST_DEBUG_PYTHON +- ; +-} +- +-libraries = ; +- +-for local N in 2 3 +-{ +- if $(py$(N)-version) +- { +- lib_boost_python $(py$(N)-version) ; +- libraries += $(lib_boost_python($(py$(N)-version))) ; +- } +- else +- { +- alias $(lib_boost_python($(N))) ; +- } +- if $(py$(N)-version) && [ python.numpy ] +- { +- lib_boost_numpy $(py$(N)-version) ; +- libraries += $(lib_boost_numpy($(py$(N)-version))) ; +- } +- else +- { +- alias $(lib_boost_numpy($(N))) ; +- } +-} ++lib_boost_python ; + + boost-install $(libraries) ; diff --git a/dev-libs/boost/metadata.xml b/dev-libs/boost/metadata.xml new file mode 100644 index 000000000000..4f85afb6e3f1 --- /dev/null +++ b/dev-libs/boost/metadata.xml @@ -0,0 +1,24 @@ + + + + + cpp@gentoo.org + Gentoo C++ Project + + + office@gentoo.org + Please CC on stabilisation bugs + + + Build and install the Boost.Context (and Boost.Fiber) library and all other Boost libraries that depend on it + Build and install the boost tools (bcp, quickbook, inspect, wave) + Build and install debug versions of the Boost libraries. These libraries are not used by default, and should not be used unless you're developing against Boost. + Build and install only the debug version of the Boost libraries. Only enable this flag if you're developing against boost. + Build multi-thread-compatible libraries instead of single-threaded only. + Build libboost_locale. This library requires compatible C library interfaces, which might not be provided by uClibc or other embedded libraries. + Install the full API documentation documentation. This takes over 200MB of extra disk space. + + + boost + + diff --git a/dev-libs/botan/Manifest b/dev-libs/botan/Manifest new file mode 100644 index 000000000000..0e10bfd7ddf2 --- /dev/null +++ b/dev-libs/botan/Manifest @@ -0,0 +1,15 @@ +AUX botan-1.10.15-c++11.patch 1265 SHA256 242e3d14d39b59a00a50a5a849f11287ca1af3c2ea96f636bdb9ed3b658a16ea SHA512 8d32ee575ad78d0c4182bfbac878fefde43af5180c9d8dc61e8d927682c6dc4d5d321517c1628abc8b2f74d04b9d5bb44756310d9074fffc6b2080ef00911779 WHIRLPOOL ca2a264cf22e3ba5422942fa516289d3d01d895729b1113b096c7dfc5dee55161b2054746d7453d6ec50d6248ca896594d0466721e41ce4eb30fbc2ecb5d4ba1 +AUX botan-1.10.17-build.patch 874 SHA256 cdd8c2d7ce8208a318efb7a7c34e6ecc742dedabe427d99a97d87c43898cfdf4 SHA512 bccb615e832ef31381afd0996a06cfb4c37f29bd8d7691435d592f2ec88f525f3e9e19adf84c78ebd6f24f60e407e29ef99bdff11103ef1344250fe5251fca0a WHIRLPOOL 4e648feefc39c7c22c526dc406dbed70d054979328f1c7926c8dc8fedecc09604797db570cb1686fa7c09808e23ca5869c0e583281e0493eae4351e38f4a4ff4 +AUX botan-1.10.17-libressl.patch 1344 SHA256 a35ae28f74476a9e13a308eedf88aeb875dbb1b19d44378739bd38ea54bf22b9 SHA512 dee61a141a10572c4d4c111527bbca3bd77808a2642ddb9cb105785badc10babd0406b1634c62c355e5361b9281c989666851d0fb81b3e000b62570e429fd642 WHIRLPOOL da49b3f304752d1e4bedd819028b4abb799ed3364dd8e0487c6a2adb181589b5b7fd337fd41bbf502ea45a12c415ac9bd0b06f19124981a00841e0a6e0240532 +AUX botan-2.3.0-build.patch 696 SHA256 e772c61aa125e49d64aa5ae16d7fe6177ce3846656329b430922e74158b30d23 SHA512 1df49a92a4b2e32265db00f09bc7113a5a928d7514f3af40a7e20aadb88188783cc1c2f79b955252bfe05fded51e36b8eaccd26b4b2ddc0caa1108d24edebaf3 WHIRLPOOL 3db9957d5f677dfbb4eb28eecdc6c3c1b5d0b6cc797de00900ccd403bf935fa54d7e15d245cf7a4abf89a6f7d6d208f396af67dcb57d65af64c180e61f4feb7a +DIST Botan-1.10.15.tgz 2711022 SHA256 c0cc8ffd470fda4b257c3ef9faf5cf93751f4c283dfba878148acafedfab70fe SHA512 c3b93f44ad0de9758af11557833ee570aa0724c8b57c9a576b56ab439a7819e0f71a10857ad367b486716164dd4ff551cab2036ecbbbedd75db4b8dc93416bc8 WHIRLPOOL 834cad8b38787581d8d967b2fa6ffb6164e2bf8a124d993733a7d55202439ec543c18cb6cb03721c0e8eb67cbe2a486b8199b3b8784645e0033be298f36640b9 +DIST Botan-1.10.16.tgz 2711177 SHA256 6c5472401d06527e87adcb53dd270f3c9b1fb688703b04dd7a7cfb86289efe52 SHA512 967137c89484630806e828c3902fe27c28dae17e6a3aeae7c542093de356545be4fcbe4325afd9fb40093a10ac409244e4e6503364858facb59057a5dfd61c03 WHIRLPOOL 86ec99dbadcdf1ff27d1b11a133a15be8385f32cf7f456afa9ca0756e3e0c8e640fff3e5d2753d508cf1136268ae5912b3c610a75d30cf07f206896fb8b5e6a8 +DIST Botan-1.10.17.tgz 2706678 SHA256 6847ffb64b8d2f939dccfecc17bd2c80385d08f7621e2c56d3a335118e823613 SHA512 a47cab3af113652247c8efc8b0f043eb62175eaa8554833d5fc3016ea94dbdd8aa722ab9b5226cc5f133afbcc088d54362111630eaa4594812c39925cc3c8649 WHIRLPOOL b2d82fb18ad7f69e26325c797cee939f65211e3b09c7058881633d410acd88e1839960c4be65637b00714b19d06a1c181704a5d184c1890cd7ee75b0e90a301b +DIST Botan-2.3.0.tgz 5947072 SHA256 39f970fee5986a4c3e425030aef50ac284da18596c004d1a9cce7688c4e6d47c SHA512 a8575bdb2eaa01fb45d8565bea0b54ddf47a21d2fb761fc0a286373b09d51e5a00e84d5cefc51040c5720db66f5625c6bc73ab09cffa9cd42472545610f9892a WHIRLPOOL 295965db5d6d0f21511a6a49f79a80cc7adffb8c67e05c6c09081eae233e2bb5abe506147a7e84ded9ddd1e29faba3276527449da3484e0b07e8bdc03018e211 +EBUILD botan-1.10.15-r1.ebuild 4167 SHA256 8415e0ac517d9ca554cad8c79ad7943c164440e6d503e8b580bb6e11d57ee5e3 SHA512 10d45dab21e759e203167e34fb008c2cb99cc5e2ac8cadd234184c6336538e3c7f4a345edeb949b53479dfae95e151f75b683b45ae56915c39c3a597b6cc6135 WHIRLPOOL 8e1b552f0099ba2a1757487f372382bb32d34524fb4b24e35423ecaec8644db6da93941a899914d5db289c371b50f84aaedd6cc30f945a41f37f0baf442372c4 +EBUILD botan-1.10.16.ebuild 4176 SHA256 ce46692d9b44a2a5b09bfab5dea4ca530cf1fff19c13560b85b31f460d36f4e6 SHA512 0b81973ff69dc5c46a57f98091af521a5cbd3dba43ce7d7264352c3d3a3bf8df61038096c60b028486b9d0cdccc9d3b2d9cf1b724419a439e13f03cae0003389 WHIRLPOOL 23f8d3df49680fe9cd4dbc1c8bb6ecb3917a0448f4370c9ca4409f1d1e63aa4a733f609d6f435a732c9825125aef57bad3aeb784df2a0a642d1d51d112cd7030 +EBUILD botan-1.10.17.ebuild 4217 SHA256 5b53794f8ff42967224e6b35da1f8fb350110938aef5ff009d35a8be0616b9c3 SHA512 1e46a63244df0439619e50ed30ca2cba3e9cd25f741f0732beff4e538c4845e2cd8929f6b37c8ca147496d7eb146f6a4c86c929e4701c7e5c8cd9702fbf955ee WHIRLPOOL 4b966152dacfd9757ebf8d3b36a949a8a7f6161ff1d17ee944f2b619e39f9d52012779ea72f43fa3e37690ec296795600bdae8356aa545c93b1084d68c104b13 +EBUILD botan-2.3.0.ebuild 2785 SHA256 b124c8615b58a04ea31ab6f6d09e86ee6044e3d3ae4e0e018eb5b596c3070153 SHA512 f222c6c03ea2bd0d6c3e2eb1f692379533992d217e7e2a277b0af293d72b0a4689bc784def9c02b58138ea683e97df9ac8f7ee7c63815e010ccfde1244891466 WHIRLPOOL 9f100014fc46860ee502069d5cecd5dd8779181b8d2cfc75a4154a0f7e1b51ae30f0bf7ad9c997d656c35cee518c440060384bc4119b7e41478784419cac2efc +MISC ChangeLog 6990 SHA256 f7855ce06f452ae297417cfd5f5db8b33910da4bfd5d82615df64c73c82b07bf SHA512 55758698c3013d9a58546846d5fcb05bd0ec3552a027a7f398c35074b4ab06194f19282b59bccff11610f5fcf044a96ea5d96d32ea4bc19f4b12e4739cca61a5 WHIRLPOOL 83a724604833f2521a1eec7cfa512a952a020313e0d8492babe0a18a8108dd43b5869315433092fcb34ea3cea2fc50cd77000c689969e9d3c988086ef81f25f5 +MISC ChangeLog-2015 14001 SHA256 3965f2c6b8727a5d23738c6a204c1786dedff49d5c4ed7a0d5e310993a10dee4 SHA512 89e3c0d3264354d2b926f971a3a86df4eba9961b680e55e951d2fcb17a1c9b02dedb3d098e90502be6c1b4152e0adbd5cf55d2e56ee5904403c1d6d8b2ee1603 WHIRLPOOL 66370d148c79167a19afe2af5061ce9f7d59b36e9d490adf0ed2d6d871c24cba770a3ce077c8f3b5fe9fc8b95fae66966fce151c41f2b5db5b7df2c9361df031 +MISC metadata.xml 683 SHA256 b7e03ba1e71b686705d8e94a7245cdd5d0fb48c96d7a2a792b012ad84650bcc4 SHA512 792021073ffb70c832f90e572949a89c8c0c0b310dc564def23018024ec38c9d23ec932378e124ca5aa4331d509abce73df53e2a9f44a9eea3a2def55cf72f95 WHIRLPOOL 303d50a9a55ab25fb61326f3443a0cfb105285ee292597c8138c4d1db26d167e35115d5b70ae317a72840c426275a7bd32489bbbcf8d3feac593b403a036efba diff --git a/dev-libs/botan/botan-1.10.15-r1.ebuild b/dev-libs/botan/botan-1.10.15-r1.ebuild new file mode 100644 index 000000000000..6d62a12760ff --- /dev/null +++ b/dev-libs/botan/botan-1.10.15-r1.ebuild @@ -0,0 +1,157 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" +PYTHON_COMPAT=( python{2_7,3_4,3_5} ) + +inherit multilib python-r1 toolchain-funcs + +MY_PN="Botan" +MY_P="${MY_PN}-${PV}" +DESCRIPTION="A C++ crypto library" +HOMEPAGE="http://botan.randombit.net/" +SRC_URI="http://botan.randombit.net/releases/${MY_P}.tgz" + +KEYWORDS="amd64 ~arm hppa ~ia64 ppc ppc64 sparc x86 ~ppc-macos" +SLOT="0" +LICENSE="BSD" +IUSE="bindist doc python bzip2 gmp libressl ssl static-libs threads zlib" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +S="${WORKDIR}/${MY_P}" + +RDEPEND="bzip2? ( >=app-arch/bzip2-1.0.5 ) + zlib? ( >=sys-libs/zlib-1.2.3 ) + python? ( ${PYTHON_DEPS} >=dev-libs/boost-1.48[python,${PYTHON_USEDEP}] ) + gmp? ( >=dev-libs/gmp-4.2.2:* ) + ssl? ( + !libressl? ( dev-libs/openssl:0=[bindist=] ) + libressl? ( dev-libs/libressl:0= ) + )" +DEPEND="${RDEPEND} + doc? ( dev-python/sphinx )" + +PATCHES=( + "${FILESDIR}/${P}-c++11.patch" +) + +src_prepare() { + default + + sed -e "s/-Wl,-soname,\$@ //" -i src/build-data/makefile/python.in || die "sed failed" + sed \ + -e "/DOCDIR/d" \ + -e "/^install:/s/ docs//" \ + -i src/build-data/makefile/unix_shr.in || die "sed failed" + + # Fix ImportError with Python 3. + sed -e "s/_botan/.&/" -i src/wrap/python/__init__.py || die "sed failed" + + use python && python_copy_sources +} + +src_configure() { + local disable_modules="proc_walk,unix_procs" + use threads || disable_modules+=",pthreads" + use bindist && disable_modules+=",ecdsa" + elog "Disabling modules: ${disable_modules}" + + # Enable v9 instructions for sparc64 + if [[ "${PROFILE_ARCH}" = "sparc64" ]]; then + CHOSTARCH="sparc32-v9" + else + CHOSTARCH="${CHOST%%-*}" + fi + + local myos= + case ${CHOST} in + *-darwin*) myos=darwin ;; + *) myos=linux ;; + esac + + # foobared buildsystem, --prefix translates into DESTDIR, see also make + # install in src_install, we need the correct live-system prefix here on + # Darwin for a shared lib with correct install_name + ./configure.py \ + --prefix="${EPREFIX}/usr" \ + --libdir=$(get_libdir) \ + --docdir=share/doc \ + --cc=gcc \ + --os=${myos} \ + --cpu=${CHOSTARCH} \ + --with-endian="$(tc-endian)" \ + --without-sphinx \ + --with-tr1=system \ + $(use_with bzip2) \ + $(use_with gmp gnump) \ + $(use_with python boost-python) \ + $(use_with ssl openssl) \ + $(use_with zlib) \ + --disable-modules=${disable_modules} \ + || die "configure.py failed" +} + +src_compile() { + emake CXX="$(tc-getCXX)" AR="$(tc-getAR) crs" LIB_OPT="${CXXFLAGS}" MACH_OPT="" + + if use python; then + building() { + rm -fr build/python + ln -s "${BUILD_DIR}" build/python + cp Makefile.python build/python + sed -i \ + -e "s/-lboost_python/-lboost_python-$(echo ${EPYTHON} | sed 's/python//')/" \ + build/python/Makefile.python + emake -f build/python/Makefile.python \ + CXX="$(tc-getCXX)" \ + CFLAGS="${CXXFLAGS}" \ + LDFLAGS="${LDFLAGS}" \ + PYTHON_ROOT="/usr/$(get_libdir)" \ + PYTHON_INC="-I$(python_get_includedir)" + } + python_foreach_impl building + fi + + if use doc; then + einfo "Generation of documentation" + sphinx-build doc doc_output + fi +} + +src_test() { + chmod -R ugo+rX "${S}" + emake CXX="$(tc-getCXX)" CHECK_OPT="${CXXFLAGS}" check + LD_LIBRARY_PATH="${S}" ./check --validate || die "Validation tests failed" +} + +src_install() { + emake DESTDIR="${ED}usr" install + + if ! use static-libs; then + rm "${ED}usr/$(get_libdir)/libbotan"*.a || die 'remove of static libs failed' + fi + + # Add compatibility symlinks. + [[ -e "${ED}usr/bin/botan-config" ]] && die "Compatibility code no longer needed" + [[ -e "${ED}usr/$(get_libdir)/pkgconfig/botan.pc" ]] && die "Compatibility code no longer needed" + dosym botan-config-1.10 /usr/bin/botan-config + dosym botan-1.10.pc /usr/$(get_libdir)/pkgconfig/botan.pc + + if use python; then + installation() { + rm -fr build/python + ln -s "${BUILD_DIR}" build/python + emake -f Makefile.python \ + PYTHON_SITE_PACKAGE_DIR="${ED}$(python_get_sitedir)" \ + install + } + python_foreach_impl installation + fi + + if use doc; then + pushd doc_output > /dev/null + insinto /usr/share/doc/${PF}/html + doins -r [a-z]* _static + popd > /dev/null + fi +} diff --git a/dev-libs/botan/botan-1.10.16.ebuild b/dev-libs/botan/botan-1.10.16.ebuild new file mode 100644 index 000000000000..5cbafc9aab1f --- /dev/null +++ b/dev-libs/botan/botan-1.10.16.ebuild @@ -0,0 +1,157 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" +PYTHON_COMPAT=( python{2_7,3_4,3_5} ) + +inherit multilib python-r1 toolchain-funcs + +MY_PN="Botan" +MY_P="${MY_PN}-${PV}" +DESCRIPTION="A C++ crypto library" +HOMEPAGE="http://botan.randombit.net/" +SRC_URI="http://botan.randombit.net/releases/${MY_P}.tgz" + +KEYWORDS="amd64 ~arm hppa ~ia64 ppc ppc64 sparc x86 ~ppc-macos" +SLOT="0" +LICENSE="BSD" +IUSE="bindist doc python bzip2 gmp libressl ssl static-libs threads zlib" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +S="${WORKDIR}/${MY_P}" + +RDEPEND="bzip2? ( >=app-arch/bzip2-1.0.5 ) + zlib? ( >=sys-libs/zlib-1.2.3 ) + python? ( ${PYTHON_DEPS} >=dev-libs/boost-1.48[python,${PYTHON_USEDEP}] ) + gmp? ( >=dev-libs/gmp-4.2.2:* ) + ssl? ( + !libressl? ( dev-libs/openssl:0=[bindist=] ) + libressl? ( dev-libs/libressl:0= ) + )" +DEPEND="${RDEPEND} + doc? ( dev-python/sphinx )" + +PATCHES=( + "${FILESDIR}/${PN}-1.10.15-c++11.patch" +) + +src_prepare() { + default + + sed -e "s/-Wl,-soname,\$@ //" -i src/build-data/makefile/python.in || die "sed failed" + sed \ + -e "/DOCDIR/d" \ + -e "/^install:/s/ docs//" \ + -i src/build-data/makefile/unix_shr.in || die "sed failed" + + # Fix ImportError with Python 3. + sed -e "s/_botan/.&/" -i src/wrap/python/__init__.py || die "sed failed" + + use python && python_copy_sources +} + +src_configure() { + local disable_modules="proc_walk,unix_procs" + use threads || disable_modules+=",pthreads" + use bindist && disable_modules+=",ecdsa" + elog "Disabling modules: ${disable_modules}" + + # Enable v9 instructions for sparc64 + if [[ "${PROFILE_ARCH}" = "sparc64" ]]; then + CHOSTARCH="sparc32-v9" + else + CHOSTARCH="${CHOST%%-*}" + fi + + local myos= + case ${CHOST} in + *-darwin*) myos=darwin ;; + *) myos=linux ;; + esac + + # foobared buildsystem, --prefix translates into DESTDIR, see also make + # install in src_install, we need the correct live-system prefix here on + # Darwin for a shared lib with correct install_name + ./configure.py \ + --prefix="${EPREFIX}/usr" \ + --libdir=$(get_libdir) \ + --docdir=share/doc \ + --cc=gcc \ + --os=${myos} \ + --cpu=${CHOSTARCH} \ + --with-endian="$(tc-endian)" \ + --without-sphinx \ + --with-tr1=system \ + $(use_with bzip2) \ + $(use_with gmp gnump) \ + $(use_with python boost-python) \ + $(use_with ssl openssl) \ + $(use_with zlib) \ + --disable-modules=${disable_modules} \ + || die "configure.py failed" +} + +src_compile() { + emake CXX="$(tc-getCXX)" AR="$(tc-getAR) crs" LIB_OPT="${CXXFLAGS}" MACH_OPT="" + + if use python; then + building() { + rm -fr build/python + ln -s "${BUILD_DIR}" build/python + cp Makefile.python build/python + sed -i \ + -e "s/-lboost_python/-lboost_python-$(echo ${EPYTHON} | sed 's/python//')/" \ + build/python/Makefile.python + emake -f build/python/Makefile.python \ + CXX="$(tc-getCXX)" \ + CFLAGS="${CXXFLAGS}" \ + LDFLAGS="${LDFLAGS}" \ + PYTHON_ROOT="/usr/$(get_libdir)" \ + PYTHON_INC="-I$(python_get_includedir)" + } + python_foreach_impl building + fi + + if use doc; then + einfo "Generation of documentation" + sphinx-build doc doc_output + fi +} + +src_test() { + chmod -R ugo+rX "${S}" + emake CXX="$(tc-getCXX)" CHECK_OPT="${CXXFLAGS}" check + LD_LIBRARY_PATH="${S}" ./check --validate || die "Validation tests failed" +} + +src_install() { + emake DESTDIR="${ED}usr" install + + if ! use static-libs; then + rm "${ED}usr/$(get_libdir)/libbotan"*.a || die 'remove of static libs failed' + fi + + # Add compatibility symlinks. + [[ -e "${ED}usr/bin/botan-config" ]] && die "Compatibility code no longer needed" + [[ -e "${ED}usr/$(get_libdir)/pkgconfig/botan.pc" ]] && die "Compatibility code no longer needed" + dosym botan-config-1.10 /usr/bin/botan-config + dosym botan-1.10.pc /usr/$(get_libdir)/pkgconfig/botan.pc + + if use python; then + installation() { + rm -fr build/python + ln -s "${BUILD_DIR}" build/python + emake -f Makefile.python \ + PYTHON_SITE_PACKAGE_DIR="${ED}$(python_get_sitedir)" \ + install + } + python_foreach_impl installation + fi + + if use doc; then + pushd doc_output > /dev/null + insinto /usr/share/doc/${PF}/html + doins -r [a-z]* _static + popd > /dev/null + fi +} diff --git a/dev-libs/botan/botan-1.10.17.ebuild b/dev-libs/botan/botan-1.10.17.ebuild new file mode 100644 index 000000000000..6736b8cefc1d --- /dev/null +++ b/dev-libs/botan/botan-1.10.17.ebuild @@ -0,0 +1,158 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" +PYTHON_COMPAT=( python{2_7,3_4,3_5} ) + +inherit multilib python-r1 toolchain-funcs + +MY_PN="Botan" +MY_P="${MY_PN}-${PV}" +DESCRIPTION="A C++ crypto library" +HOMEPAGE="http://botan.randombit.net/" +SRC_URI="http://botan.randombit.net/releases/${MY_P}.tgz" + +KEYWORDS="~amd64 ~arm ~hppa ~ia64 ppc ppc64 ~sparc x86 ~ppc-macos" +SLOT="0" +LICENSE="BSD" +IUSE="bindist doc python bzip2 gmp libressl ssl static-libs threads zlib" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +S="${WORKDIR}/${MY_P}" + +RDEPEND="bzip2? ( >=app-arch/bzip2-1.0.5 ) + zlib? ( >=sys-libs/zlib-1.2.3 ) + python? ( ${PYTHON_DEPS} >=dev-libs/boost-1.48[python,${PYTHON_USEDEP}] ) + gmp? ( >=dev-libs/gmp-4.2.2:* ) + ssl? ( + !libressl? ( /dev/null + insinto /usr/share/doc/${PF}/html + doins -r [a-z]* _static + popd > /dev/null + fi +} diff --git a/dev-libs/botan/botan-2.3.0.ebuild b/dev-libs/botan/botan-2.3.0.ebuild new file mode 100644 index 000000000000..0891fa18dafe --- /dev/null +++ b/dev-libs/botan/botan-2.3.0.ebuild @@ -0,0 +1,113 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) + +inherit multilib python-r1 toolchain-funcs + +MY_PN="Botan" +MY_P="${MY_PN}-${PV}" +DESCRIPTION="A C++ crypto library" +HOMEPAGE="http://botan.randombit.net/" +SRC_URI="http://botan.randombit.net/releases/${MY_P}.tgz" + +KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos" +SLOT="2/3" # soname version +LICENSE="BSD" +IUSE="bindist doc boost python bzip2 libressl lzma sqlite ssl static-libs zlib" +REQUIRED_USE="python? ( boost ) boost? ( ${PYTHON_REQUIRED_USE} )" + +S="${WORKDIR}/${MY_P}" + +RDEPEND="bzip2? ( >=app-arch/bzip2-1.0.5 ) + zlib? ( >=sys-libs/zlib-1.2.3 ) + boost? ( ${PYTHON_DEPS} >=dev-libs/boost-1.48[python?,${PYTHON_USEDEP}] ) + lzma? ( app-arch/xz-utils ) + sqlite? ( dev-db/sqlite:3 ) + ssl? ( + !libressl? ( dev-libs/openssl:0=[bindist=] ) + libressl? ( dev-libs/libressl:0= ) + )" +DEPEND="${RDEPEND} + dev-lang/python:* + doc? ( dev-python/sphinx )" + +PATCHES=( + "${FILESDIR}/${P}-build.patch" +) + +src_prepare() { + default + use doc || sed \ + -e "/^install:/s/ docs//" \ + -i src/build-data/makefile/gmake.in + use python && python_copy_sources +} + +src_configure() { + local disable_modules=( proc_walk unix_procs ) + use boost || disable_modules+=( "boost" ) + use bindist && disable_modules+=( "ecdsa" ) + use python || disable_modules+=( "ffi" ) + elog "Disabling modules: ${disable_modules[@]}" + + # Enable v9 instructions for sparc64 + if [[ "${PROFILE_ARCH}" = "sparc64" ]]; then + CHOSTARCH="sparc32-v9" + else + CHOSTARCH="${CHOST%%-*}" + fi + + local myos= + case ${CHOST} in + *-darwin*) myos=darwin ;; + *) myos=linux ;; + esac + + local pythonvers=() + if use python; then + append() { + pythonvers+=( ${EPYTHON/python/} ) + } + python_foreach_impl append + fi + + ./configure.py \ + --prefix="${EPREFIX}/usr" \ + --libdir=$(get_libdir) \ + --docdir=share/doc \ + --cc=gcc \ + --os=${myos} \ + --cpu=${CHOSTARCH} \ + --with-endian="$(tc-endian)" \ + --without-doxygen \ + $(use_with doc sphinx) \ + $(use_with bzip2) \ + $(use_with lzma) \ + $(use_with sqlite sqlite3) \ + $(use_with ssl openssl) \ + $(use_with zlib) \ + $(use_with boost) \ + --with-python-version=$(IFS=","; echo "${pythonvers[*]}" ) \ + --disable-modules=$(IFS=","; echo "${disable_modules[*]}" ) \ + || die "configure.py failed" +} + +src_compile() { + emake CXX="$(tc-getCXX) -pthread" AR="$(tc-getAR) crs" CXXFLAGS="-std=c++11 -D_REENTRANT ${CXXFLAGS}" +} + +src_test() { + LD_LIBRARY_PATH="${S}" ./botan-test || die "Validation tests failed" +} + +src_install() { + default + + if ! use static-libs; then + rm "${ED}usr/$(get_libdir)/libbotan"*.a || die 'remove of static libs failed' + fi + + use python && python_foreach_impl python_optimize +} diff --git a/dev-libs/botan/files/botan-1.10.15-c++11.patch b/dev-libs/botan/files/botan-1.10.15-c++11.patch new file mode 100644 index 000000000000..e47b56600fe1 --- /dev/null +++ b/dev-libs/botan/files/botan-1.10.15-c++11.patch @@ -0,0 +1,36 @@ +From dc2834f708a6d857b1a7f9587d5a28af271103e5 Mon Sep 17 00:00:00 2001 +From: Peter-Levine +Date: Mon, 20 Mar 2017 22:13:21 -0400 +Subject: [PATCH] Allow destructor to throw when building with >=C++11 + +After C++11, destructors default to `noexcept(true)`. Thus, any throw statements in destructors become calls to `std::terminate()`. To enable the intended throw statement, the destructor must be explicitly marked `noexcept(false)`. +--- + src/alloc/alloc_mmap/mmap_mem.cpp | 8 +++++++- + 1 file changed, 7 insertions(+), 1 deletion(-) + +diff --git a/src/alloc/alloc_mmap/mmap_mem.cpp b/src/alloc/alloc_mmap/mmap_mem.cpp +index 17c189e..2637533 100644 +--- a/src/alloc/alloc_mmap/mmap_mem.cpp ++++ b/src/alloc/alloc_mmap/mmap_mem.cpp +@@ -21,6 +21,12 @@ + #define MAP_FAILED -1 + #endif + ++#if __cplusplus >= 201103L ++#define NOEXCEPT noexcept(false) ++#else ++#define NOEXCEPT ++#endif ++ + namespace Botan { + + namespace { +@@ -66,7 +72,7 @@ void* MemoryMapping_Allocator::alloc_block(size_t n) + throw MemoryMapping_Failed("Could not unlink temporary file"); + } + +- ~TemporaryFile() ++ ~TemporaryFile() NOEXCEPT + { + /* + * We can safely close here, because post-mmap the file diff --git a/dev-libs/botan/files/botan-1.10.17-build.patch b/dev-libs/botan/files/botan-1.10.17-build.patch new file mode 100644 index 000000000000..43877972211a --- /dev/null +++ b/dev-libs/botan/files/botan-1.10.17-build.patch @@ -0,0 +1,25 @@ +From c7963d28d03e5f65f4021a5b764dc4bff9417eda Mon Sep 17 00:00:00 2001 +From: Alon Bar-Lev +Date: Wed, 4 Oct 2017 01:50:33 +0300 +Subject: [PATCH] gost_3411: use correct type for build to pass + +--- + src/hash/gost_3411/gost_3411.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/hash/gost_3411/gost_3411.cpp b/src/hash/gost_3411/gost_3411.cpp +index 97aa399..7ca22dc 100644 +--- a/src/hash/gost_3411/gost_3411.cpp ++++ b/src/hash/gost_3411/gost_3411.cpp +@@ -91,7 +91,7 @@ void GOST_34_11::compress_n(const byte input[], size_t blocks) + // P transformation + for(size_t k = 0; k != 4; ++k) + { +- const uint64_t UVk = U[k] ^ V[k]; ++ const u64bit UVk = U[k] ^ V[k]; + for(size_t l = 0; l != 8; ++l) + key[4*l+k] = get_byte(l, UVk); + } +-- +2.13.6 + diff --git a/dev-libs/botan/files/botan-1.10.17-libressl.patch b/dev-libs/botan/files/botan-1.10.17-libressl.patch new file mode 100644 index 000000000000..5913bfd30494 --- /dev/null +++ b/dev-libs/botan/files/botan-1.10.17-libressl.patch @@ -0,0 +1,40 @@ +From e61a5f56fb404db3655909be4ce23c3a816cbb60 Mon Sep 17 00:00:00 2001 +From: Alon Bar-Lev +Date: Wed, 4 Oct 2017 22:16:31 +0300 +Subject: [PATCH] openssl: support libressl + +Signed-off-by: Alon Bar-Lev +--- + src/engine/openssl/ossl_bc.cpp | 2 +- + src/engine/openssl/ossl_md.cpp | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/engine/openssl/ossl_bc.cpp b/src/engine/openssl/ossl_bc.cpp +index 74660c7b5..cb184c202 100644 +--- a/src/engine/openssl/ossl_bc.cpp ++++ b/src/engine/openssl/ossl_bc.cpp +@@ -8,7 +8,7 @@ + #include + #include + +-#if OPENSSL_VERSION_NUMBER >= 0x10100000 ++#if OPENSSL_VERSION_NUMBER >= 0x10100000 && !defined(LIBRESSL_VERSION_NUMBER) + #error "OpenSSL 1.1 API not supported in Botan 1.10, upgrade to 2.x" + #endif + +diff --git a/src/engine/openssl/ossl_md.cpp b/src/engine/openssl/ossl_md.cpp +index 2fcb2b0e5..9c43d616e 100644 +--- a/src/engine/openssl/ossl_md.cpp ++++ b/src/engine/openssl/ossl_md.cpp +@@ -8,7 +8,7 @@ + #include + #include + +-#if OPENSSL_VERSION_NUMBER >= 0x10100000 ++#if OPENSSL_VERSION_NUMBER >= 0x10100000 && !defined(LIBRESSL_VERSION_NUMBER) + #error "OpenSSL 1.1 API not supported in Botan 1.10, upgrade to 2.x" + #endif + +-- +2.13.6 + diff --git a/dev-libs/botan/files/botan-2.3.0-build.patch b/dev-libs/botan/files/botan-2.3.0-build.patch new file mode 100644 index 000000000000..b4d4ca6e694f --- /dev/null +++ b/dev-libs/botan/files/botan-2.3.0-build.patch @@ -0,0 +1,22 @@ +From 9e28eac720176ecb9b784510d352aa0ac38d0b56 Mon Sep 17 00:00:00 2001 +From: Jack Lloyd +Date: Wed, 4 Oct 2017 13:59:21 -0400 +Subject: [PATCH] Add limits.h header for INT_MAX + +Gentoo bug https://bugs.gentoo.org/633468 +--- + src/lib/prov/openssl/openssl_mode.cpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/lib/prov/openssl/openssl_mode.cpp b/src/lib/prov/openssl/openssl_mode.cpp +index 9580bc9c5..fabaccb18 100644 +--- a/src/lib/prov/openssl/openssl_mode.cpp ++++ b/src/lib/prov/openssl/openssl_mode.cpp +@@ -10,6 +10,7 @@ + #include + #include + #include ++#include + + namespace Botan { + diff --git a/dev-libs/botan/metadata.xml b/dev-libs/botan/metadata.xml new file mode 100644 index 000000000000..2ca55344e897 --- /dev/null +++ b/dev-libs/botan/metadata.xml @@ -0,0 +1,23 @@ + + + + + lloyd@randombit.net + Jack Lloyd + Ebuild contributor and botan author + + + crypto@gentoo.org + Crypto + + + proxy-maint@gentoo.org + Proxy Maintainers Project + + + use dev-libs/boost + + + botan soname version + + diff --git a/dev-libs/btparser/Manifest b/dev-libs/btparser/Manifest new file mode 100644 index 000000000000..12bf0a694eb6 --- /dev/null +++ b/dev-libs/btparser/Manifest @@ -0,0 +1,9 @@ +DIST btparser-0.24.tar.xz 353700 SHA256 9cc1e172c864afb6dec45850ed7b2fa605d39013918027df81800899ea654e32 SHA512 3aee4a8cbc8cda7017cc7203b670ba30443b5f302d728ecb7ce06a9569367543669c9c02d10a71b2bbf0bbc65cb927c0e25a53a422fc3be5e4a2ee51e5495198 WHIRLPOOL a5feb168f9ab2d4442c37ba388c0ed4708781ab2e6becc89ea20ac2601a698600e47721c0818aad8e4df93888cfadfdec68aace0f659985d95cecb31cdb01b8f +DIST btparser-0.25.tar.xz 355736 SHA256 afaad61a52d90c7dcc65f53485ced298e9cd9dab6a9ff611c4eb40bfcc2a786e SHA512 fc3f1f440fdf19eba8d698bdde9b1f197cbf663b7f8a53dea98c9fa6ffe4cd23a12b8d46d211fcff30dd4adbd3998723f7a2afb19c6c5d73da34156bc7877b56 WHIRLPOOL 5ed0fa3b7c97243d120c11d5870c4a682033501151df22bbf9a7b12832cecc888b3fad3ab6e0269c43835108af8bbd1b4ad3c81bb983b9bcd2ff55f2919257e1 +DIST btparser-0.26.tar.gz 564940 SHA256 4e6868ae52b836e0d3ce8d41f4fbc87626f476c1924133e13ce4075f50caaf31 SHA512 c5520f0aae3217482b97eac7c9cc5ae9be596df936ce958d84cb8e46a67c4b97a9184f9cd4bcab185d35c64f5ea98acd6cfb6f98512b9fa492a3aa9931d6668c WHIRLPOOL 6d29b40c1d2a46847af283922b585a8f5f16b2f6312df51ff6f62a8861e72922f477bdf636f8d228a02b60b1a9effe34413a68bee0e537874e91830a89329dc1 +EBUILD btparser-0.24.ebuild 785 SHA256 0393c884385701839d7952acf48c132df40d1d4a1307ad9690f951e7bb3299ab SHA512 271623847a24be05c1fe2bb45e7104257fafda5277f75ad173cd6672fc2ebaa992f437b725db802ef216e2ab3803702b759e488bc7f04a5655debe72b6dab586 WHIRLPOOL 81c4c2eac7e4c966e0244703d50ef2a723bc88437870a7aa98c1383931e590f9a73c6cbaf5df7e7ebc3b29bc8389197b793b2510c01e41c10ba5b9561bd80b64 +EBUILD btparser-0.25.ebuild 870 SHA256 b4d39cb46e62bc44ba84fb2a85dba3e3117d66f967e12975e1385841a45115ad SHA512 dd9a140de0a5c165cdab2030798e602c02532b40f2fc003163c6504c3df5f6e8ebcbb39b04f38b558afeaeec43bae5bf8f5a97cd50c1aae8e0df41b2d8f6f343 WHIRLPOOL 1c2c71177f9af9db41fc929efa7ee85ac21e6b42df61215bfc9edf0c1cad47e393f0ac624e716946244bbe2f21fdc257fd6e9b0235f08f16c441ea63d6ae8e00 +EBUILD btparser-0.26.ebuild 885 SHA256 376a8932b7764aaf1186bc44e41f6479ec7f760fed628cde4d44979c72a543fe SHA512 70402eee95a1ef0da66e1b7c8963645351690b073acba904e6bc2c85f0c63c06ce0454f71684e8f280787eb4d06f3ae8f7be5ba22425576caf1f9bbeae9eb577 WHIRLPOOL 1c4e39dca02740e17106a88922d71694366fdf88416fd536dd20e6d43f82fde708c68a4ef43f1e8293752478b13fcbe862483bf8b5cbc85055122d47d787fdae +MISC ChangeLog 3195 SHA256 f81126e82aaf9ec25f4c41b1a33c8423f30beadfd0d35af027549470473abb8c SHA512 d4d074c22f450e86f0780eec43c099cd3ec5ac16a46f93255f9d99064353aae4cb1c616bae621f8a0a0f57c2890bbc4efcd396200021434bcee837226ab48f2c WHIRLPOOL e481f94bb578a6f6354781cf0c78eb142e6238b85be4aa6e0dcd3c49019bb977a7d989675b59748549eb171c5ac1200c5bacc3f9636bc0e36210803b24dc921d +MISC ChangeLog-2015 2761 SHA256 bd91eccae652e07e0de2e5368dda4c5cbe3132882c64bd4fa0ee5f2891642714 SHA512 65ef8a9833cff1432b67ef22b16be46bc192aa6aca4516390ba74cfa20c819bc316e458ac49b2fcf02764b52602b2f971ece076ecbbfaca9a008335b03855233 WHIRLPOOL 627ae0bcdf75ea716dab947f5c84be40b1ee66ad8d26972861d3cabbea8b815ef9b59d9d9077fb6cc42ad2c3b91bf2e6d056d0345d4e1b07e2163ebc6dd8d814 +MISC metadata.xml 341 SHA256 8ab42c18429ebf702b379c43965ff37408280d5f9e5ed820636f0ef1db0fb4a2 SHA512 ba348a6b7ada0d823316f48c43d8a94e081c099a18ea2488905ee2b27c8a8106639ce15ce83749a5534259c9245c118e19aa32a9fc6177e8012bf9e21f9124a3 WHIRLPOOL 1c01fbc79eef89e7cf937ddf681a5a28f9af0e21ddadff50af2e3ad47cbe5ec8731d05b90e4fe66eb55e908bd4ca184e7053169f87c0ec566c7789cf6df42d15 diff --git a/dev-libs/btparser/btparser-0.24.ebuild b/dev-libs/btparser/btparser-0.24.ebuild new file mode 100644 index 000000000000..0a4b57a12dea --- /dev/null +++ b/dev-libs/btparser/btparser-0.24.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" +PYTHON_COMPAT=( python2_7 ) + +inherit eutils python-single-r1 + +DESCRIPTION="Parser and analyzer for backtraces produced by gdb" +HOMEPAGE="https://fedorahosted.org/btparser/" +SRC_URI="https://fedorahosted.org/released/${PN}/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0/2" +KEYWORDS="amd64 x86" +IUSE="static-libs" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + >=dev-libs/glib-2.21:2" +DEPEND="${RDEPEND} + app-arch/xz-utils" + +src_configure() { + export PYTHON_CFLAGS=$(python_get_CFLAGS) + export PYTHON_LIBS=$(python_get_LIBS) + + econf \ + $(use_enable static-libs static) \ + --disable-maintainer-mode +} + +src_install() { + default + prune_libtool_files --modules +} diff --git a/dev-libs/btparser/btparser-0.25.ebuild b/dev-libs/btparser/btparser-0.25.ebuild new file mode 100644 index 000000000000..63dba67842c2 --- /dev/null +++ b/dev-libs/btparser/btparser-0.25.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" +GCONF_DEBUG="no" +GNOME2_LA_PUNT="yes" +PYTHON_COMPAT=( python2_7 ) + +inherit autotools gnome2 python-single-r1 + +DESCRIPTION="Parser and analyzer for backtraces produced by gdb" +HOMEPAGE="https://fedorahosted.org/btparser/" +SRC_URI="https://fedorahosted.org/released/${PN}/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0/2" +KEYWORDS="amd64 x86" + +IUSE="static-libs" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + >=dev-libs/glib-2.21:2 +" +DEPEND="${RDEPEND}" + +# Incomplete tarball for tests +RESTRICT="test" + +src_prepare() { + eautoreconf # to prevent maintainer mode + gnome2_src_prepare +} + +src_configure() { + export PYTHON_CFLAGS=$(python_get_CFLAGS) + export PYTHON_LIBS=$(python_get_LIBS) + + gnome2_src_configure \ + $(use_enable static-libs static) +} diff --git a/dev-libs/btparser/btparser-0.26.ebuild b/dev-libs/btparser/btparser-0.26.ebuild new file mode 100644 index 000000000000..73a04ca15ff5 --- /dev/null +++ b/dev-libs/btparser/btparser-0.26.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" +GCONF_DEBUG="no" +GNOME2_LA_PUNT="yes" +PYTHON_COMPAT=( python2_7 ) + +inherit autotools gnome2 python-single-r1 + +DESCRIPTION="Parser and analyzer for backtraces produced by GDB" +HOMEPAGE="https://fedorahosted.org/btparser/" +SRC_URI="https://github.com/abrt/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0/2" +KEYWORDS="amd64 x86" + +IUSE="static-libs" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + >=dev-libs/glib-2.21:2 +" +DEPEND="${RDEPEND}" + +# Incomplete tarball for tests +RESTRICT="test" + +src_prepare() { + eautoreconf # to prevent maintainer mode + gnome2_src_prepare +} + +src_configure() { + export PYTHON_CFLAGS=$(python_get_CFLAGS) + export PYTHON_LIBS=$(python_get_LIBS) + + gnome2_src_configure \ + $(use_enable static-libs static) +} diff --git a/dev-libs/btparser/metadata.xml b/dev-libs/btparser/metadata.xml new file mode 100644 index 000000000000..f7b718373ec3 --- /dev/null +++ b/dev-libs/btparser/metadata.xml @@ -0,0 +1,11 @@ + + + + + gnome@gentoo.org + Gentoo GNOME Desktop + + + abrt/btparser + + diff --git a/dev-libs/busybee/Manifest b/dev-libs/busybee/Manifest new file mode 100644 index 000000000000..b3f1aec10038 --- /dev/null +++ b/dev-libs/busybee/Manifest @@ -0,0 +1,9 @@ +DIST busybee-0.5.2.tar.gz 359617 SHA256 e7e5ab9faa0848d51a4bdece2951648ea9ee4667c61646e5c7ece118846f5e0f SHA512 f6eba1e6d9f78dbb048214766105829eae53d060d247ac316e931ac887454f4fcf2217c01b4b6d61108de8d837d0a6861951aeda5f8a6a93de6b145247aaeac8 WHIRLPOOL b738390055c4a3e5fe7cbfd41e73a6d3612e8ede13e12c593efdcb1f43222029fb31e6ccc46d8cdefdccccf738273fdc45947f090102ccfba53d641096ee5bc6 +DIST busybee-0.6.0.tar.gz 364241 SHA256 87ee2cdab877a5cb7641fd7e074605d2c1a42b8189b43762adcb16c8a56e01bf SHA512 3c4376d008ae5028773e43bfc9dcf651ed0ed0134370ae763799af0a91e693ab13384915d655a342009520ce346615b0b006b1cbc0cd30b898137bb2567c87af WHIRLPOOL bd80c51f82585a329834a794b2fcf4e92ff7ca84d84e1cd9d9af52aa1f12fc3f82d664fe13f2435889eaf3a725e923b108327cb077eef711959547beb053fce7 +DIST busybee-0.7.0.tar.gz 367175 SHA256 244bcf8face6be9b7df12c8dbd5401f7d4d78a9fa3c3f701177725526a18e121 SHA512 9bf868b6d02b0286d89ff371964e7d32dd373049c1437459b79f0789741421ebb2810d9d58c51d86225cc190d6e23d57c816d079298b0bcfa1e4da815bda2474 WHIRLPOOL 53dee44232d8ab337b069ccb657dc928a36a79b87190e6755884aad84b75d67b36fa4ee7a7e6222a1cee2ed56c52769ea783826e81efbfce3b3437ff5d18e0d6 +EBUILD busybee-0.5.2.ebuild 397 SHA256 f455d3e5d99d1b002bc4dda5b6385bf158bfc149cfd6f507b44d8e6866a32cf4 SHA512 70805cbd618f2fdc0f49c2172f349125e3b4a19d30e98bbbc0818b1feef4c538b2acb92d9040b56c80adf66da38ebbf81e8c049f80bc43f032b3d4c547a7acbf WHIRLPOOL 4fa4af9797edee6797dcc684c8727ade85f94e7515a6a28bc2dfc217a47bdd8f9d52a22b38885816407d6ca984c2f3a921ef58fdf21d79ab727ce2dc91e7842d +EBUILD busybee-0.6.0.ebuild 397 SHA256 f9ddcbc01ec77588a905b6248448c9d818271bc0a7542713a0ebf1888ec8d5e6 SHA512 25055c1aa746203fbe2f670f56232b5eddeecb47fdeeca66d8e72ca1eec9bec4a3b1d5e85b9266f798ac0394b0d247d3c661287bb39c34e42a8424b28116ef44 WHIRLPOOL 0c050c62bfaf461fda02c59665949ab0d0b7de663d4c69ef777b43bbcd00faa4e77b41e0f85a09fd161e5cee4a0bda5f47e3058df58d506897a1d98df61ff072 +EBUILD busybee-0.7.0.ebuild 394 SHA256 713b59a939e8fc8274360c882de1739a14762f48777da52690d204b9a507f530 SHA512 f62e0db6358bd8c618eedab11d643246f7fe30536b79a86afc09deee1f678612b2e1feeb2aa4f858f94c6763cbec5c1a67da3380731741cf40bd118123e97318 WHIRLPOOL 21d69bf7f1a423b1d09fa301a0f8f1c3c69124d07d3a731b85b277d017394de491d1dccd3323c47ddb594e6d3b7975cc9d1f1c2dadf3d0a16d4a5aa0dbe3c8d8 +MISC ChangeLog 2280 SHA256 a5de40c2299c1efe02c6447e2c7b7e6161a69706d20d1af1e03407738ddfd548 SHA512 b5b8f3435fdda54f3515f437fa6074d85484cebcca70e3f68acf0990e78344ad9b3797e2357a3558308673fe1d0efc91ae3b623e8757a2b9ac2001e7aa37cc10 WHIRLPOOL 111d013d1ca21196c2a9c1918490e54aa36e8685a5b6cb334043f39f35516a5d34f39accda81f7c8461eb2a982a57d7150a8f534f792bc4eac41fcf20974b61a +MISC ChangeLog-2015 1930 SHA256 5eefc0f9ce251a13cdf508b2eaeba8eea1336388c296a8668f4e5f60fba910e8 SHA512 de3d34722cab0e699859a2b3cb2f5c01cb76d641a8c685c3021192cb314cf3e0d17b21d3a14bda4c26087c47472826c9c637804c2fbf12f6a1843be7b4409049 WHIRLPOOL 80677744f8d99cdf68fced05cbacf2ab7ac4af30af4deffebf716d0f8ee5f9f0bc42426ddfc6b21e0102b24d1a6b25c0ad31b984db7035f2cacd23b29e27c20e +MISC metadata.xml 247 SHA256 0deec0776f26fb762fdf7711f4589b14f52a2456436ef557eec62a2cf2fb2bb7 SHA512 29cf52c16b0cce69899d9c2da8acd9144b7d760442aa323b854dceadb42459e009545193b1df7911ac2241b59f4819b4a6bb1d206d6f57953f770031433bb6b7 WHIRLPOOL a135fa622e99d3dcdb432bc6b3c366076b3d86b4bfd9a76c852d781b8e9152541c7e7a2c7c6d6a3c4d2200dce792847a08166aaf7c17c22b6299dfe868234dec diff --git a/dev-libs/busybee/busybee-0.5.2.ebuild b/dev-libs/busybee/busybee-0.5.2.ebuild new file mode 100644 index 000000000000..3767c0d8c02c --- /dev/null +++ b/dev-libs/busybee/busybee-0.5.2.ebuild @@ -0,0 +1,17 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +EAPI=4 + +DESCRIPTION="A messaging abstraction on top of TCP sockets used in HyperDex" + +HOMEPAGE="http://hyperdex.org" +SRC_URI="http://hyperdex.org/src/${P}.tar.gz" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +IUSE="" + +DEPEND=">=dev-libs/libpo6-${PV} + >=dev-libs/libe-${PV}" +RDEPEND="${DEPEND}" diff --git a/dev-libs/busybee/busybee-0.6.0.ebuild b/dev-libs/busybee/busybee-0.6.0.ebuild new file mode 100644 index 000000000000..d1144a3bc0f2 --- /dev/null +++ b/dev-libs/busybee/busybee-0.6.0.ebuild @@ -0,0 +1,17 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +EAPI=4 + +DESCRIPTION="A messaging abstraction on top of TCP sockets used in HyperDex" + +HOMEPAGE="http://hyperdex.org" +SRC_URI="http://hyperdex.org/src/${P}.tar.gz" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +IUSE="" + +DEPEND=">=dev-libs/libpo6-${PV} + >=dev-libs/libe-${PV}" +RDEPEND="${DEPEND}" diff --git a/dev-libs/busybee/busybee-0.7.0.ebuild b/dev-libs/busybee/busybee-0.7.0.ebuild new file mode 100644 index 000000000000..78c293e400d3 --- /dev/null +++ b/dev-libs/busybee/busybee-0.7.0.ebuild @@ -0,0 +1,17 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +EAPI=4 + +DESCRIPTION="A messaging abstraction on top of TCP sockets used in HyperDex" + +HOMEPAGE="http://hyperdex.org" +SRC_URI="http://hyperdex.org/src/${P}.tar.gz" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +IUSE="" + +DEPEND=">=dev-libs/libpo6-0.8 + >=dev-libs/libe-0.11" +RDEPEND="${DEPEND}" diff --git a/dev-libs/busybee/metadata.xml b/dev-libs/busybee/metadata.xml new file mode 100644 index 000000000000..40aa45df2b01 --- /dev/null +++ b/dev-libs/busybee/metadata.xml @@ -0,0 +1,8 @@ + + + + + patrick@gentoo.org + Patrick Lauer + + diff --git a/dev-libs/c-blosc/Manifest b/dev-libs/c-blosc/Manifest new file mode 100644 index 000000000000..34d0bcfa71cb --- /dev/null +++ b/dev-libs/c-blosc/Manifest @@ -0,0 +1,17 @@ +AUX c-blosc-1.11.1-fix-build-system.patch 1241 SHA256 d4e352ad319d4a18f947fdba2560b90ed525bcd09989896230401f30fbce9efd SHA512 48fd5af901b8fbd444fac0aefd404c91e70cb49d7d3f0247a8aca6b9ff2238760456df8670d87fae291753657f3cce3058883c0a53c584f712fb099b3d3dd987 WHIRLPOOL 29c82baef84815ac5814e10ee571df08a286f0b0647d30bac518e3e607db5762dfaa1dc4b747fd37ee8eaac74e72407d25e454389845be05fd1664aefd97fdb5 +AUX c-blosc-1.11.2-fix-build-system.patch 803 SHA256 5cb87604668b63887c13b01e03335a54b2ba6f4edfa27eaf1a804025dd93de78 SHA512 3064040af07acc445e4c7a9e962939eafa02d75366e6eee2ce12f15cc5846fbb4214a17d27f9366e8c08b69a3565cb04910008b1e4bd62d6ded3087e1a27124b WHIRLPOOL 4912a54f3a17b44dc234b3bd58cb81fc5950e6cd4aae437b2b5b6be79ab02d90e0a2d0569eae1d346955b14e0f06b4525c8fc5a432af6cdbbc097ce2ce3e28bf +AUX c-blosc-1.3.2-shared-libs.patch 902 SHA256 148db1ff23b2d112997d6d64157fabab6409abe2e86048799a55a440c027d0a0 SHA512 d5e21dcd0086f44bb9b9823437f7f46c362543a84a947c2f85a2b0e0486324bc2e8726adfafda5e86e2650e778dcdebf5c00364a2dc094e8dd738850a1c44ed8 WHIRLPOOL 2cb9c78b898fa293d72077323410c5caf4e608aa4943b6e75abae1b60e02bf40eeb62f021114e70f3982a7111fb4b101d6bb210e4aea247a2de4791e51a75f4e +AUX c-blosc-1.5.3-shared-libs.patch 1008 SHA256 139c4cc20a832cc2f5a06a8f9740fc3891d6e2c2a8a6d47c2fb7c15378992d2c SHA512 009d4cce6d904d8fe65d63dca95850e5a460c01e20ab3ff1b9943f18f145abda3a3d765d3a7af79b3a1a6cf7ac740ec65ac8e8889e6a43359d2d3d1696614d9b WHIRLPOOL fc4247aae98e5ab9a07df84dcb02c969d3fc53d5229128a8fa8ea92de99b0514e68a1f73c4f26193c1e51d1346238ad84781417ffbe195962f8e7a125262b9e4 +DIST c-blosc-1.11.1.tar.gz 622500 SHA256 d15937961d37b0780b8fb0641483eb9f6d4c379f88ac7ee84ff5dd06c2b72360 SHA512 75100cd8447c78c97b02ed8242d966c37c4050f216805d927b3d41367cb7899adfa13a9b61bc3bf3306be976f99f1a668c95f5a83f61929ccdf48f4edf630cb7 WHIRLPOOL db9226096078519002cfd3c93db92fa9ed71f2d6c3a9bca3cf267e63ea6c7d2f34ace6947af652a208e1b715e1aed53674733e67428381c04ff6c31f3a455b11 +DIST c-blosc-1.11.2.tar.gz 633280 SHA256 f000bba88d17534fc18a10e11261127a9ab011557bed5fd0659624a3f3c03c5f SHA512 c1282f60f4ef9d24844be225587e7f46c43ba8a5071f5ee49a7326bce9e84b65312c4f9606e78fd3d1209a4ca50f1c31312a7c377caf9522c9915177c92a4d7b WHIRLPOOL b90564425993843e00ba5a92c2174b8c14646f9dc4adb3844d31876e715a7efb8ed3cfbe75a5b3ff8f6cde0e6d3e5f485b53c021cd85d77268d0b501b7a6387c +DIST c-blosc-1.3.2.tar.gz 229790 SHA256 7c21c4484c1ad7d6beddd73f35379e0d980530466cd6d87402e035c931983697 SHA512 0488042628b8b3d02e8e7b58d3d942751a43567e99e1e89f452765ad1aeba395248322df6a37daf828571b3c262ebaa54d3ca49cfed78ab499994454faf6bbdb WHIRLPOOL 195232123fbbd4f76f3a209069e7895c3ba900e98c49ca8334e1975634770463d993ae36f99fefb680d7c78a28ca979c27cd4af4412e83c804315f6cf52420fe +DIST c-blosc-1.3.5.tar.gz 231653 SHA256 60efbbd2ef613480d135dbb245260e7cd904cfd785cc2504458615d7b397675a SHA512 4c11309a3f5dd0e2ecb35f62480cf86a9ad8d8d84b0d744c0597a51d8f51010a2ed0ad868cc3aef1f674efc1c35ee3312ad727cb308b348026f08db0ac9ab04a WHIRLPOOL 58742b85bf1d9637492871cab0f0c0b87c96162b2dfbf196e91f62569f6a06077b901a202fab43f39472ccf728550340a85bd60f3fee1d6e0e76d655659db3f0 +DIST c-blosc-1.5.3.tar.gz 240821 SHA256 d6d7c72d8e49311618f5f1609df1a9b2ca070655b563b9f7b80d5dc92fceaf4f SHA512 92f0a47ff6af2b776795315fce52e49c12e947e9007f97d05182a8369831e0ba80ff7b2b116fdedc4ef2b984106b014c90f82e233d5aed85cd91e3256f4a7313 WHIRLPOOL 9178c1a4e8e476b2a0556106ecbf58eb10bd076e3c731048d988f1e3dcaefa593cea176c6f5ec391c54a651421cce40858f1eae4ba9fc91d60a0fc158fe9fbc7 +EBUILD c-blosc-1.11.1.ebuild 1301 SHA256 39277fa038e5d152d0bf84449421a12d64187da8ef1364dc0417399084c72863 SHA512 761b3c5c4339988868e73530d24833f3625e70bbc6a94a29c5aa733f21828c1cf260783f58f9ac4ee6e4e5ad6d39d6ca2f1cd23e325f9e18f8269742645de000 WHIRLPOOL 08dc7a24eae9ea5a1cddf80f233abd2799600ccb4813dc0068c1c456c6a9c14328c01368fbfb60e2f3a60627992df5510265ea6dc879faa0ad8fae91a790fc31 +EBUILD c-blosc-1.11.2.ebuild 1295 SHA256 44fad4527bc14843bc44fc97f7b3134269a435d6fb4039301365778dea9143fe SHA512 cc150fa9fc5f1d0529f09e2e015dde5914a45e5a4e00a6b726ac7b56810b50a8c143e3e2715144ecf58ed82ed21bb738a7fa94ed77d59faa381b3e2413648d37 WHIRLPOOL 0eb69534c32c9b64fc939e7084a3cb4cac656804bed9f9ed6a9d5bb477983de90b65744d79aedb2d423acd0a6d5c60d0608e480ff982a077bfa634c115d88bfa +EBUILD c-blosc-1.3.2.ebuild 1029 SHA256 653c8452face3cb78210776e2f80e7559f5ae249c663e8d570c508dd8256540d SHA512 15f9ad0c23b97f9592d44f72de845c4fc0e290b5d9e35770e59d02622b02140b32dfa5de8ce4a9c8e998640c2246766d4b9697c617454d699a60cf1857a0197d WHIRLPOOL 5c9cb2585c776c5d4dd16f269893aa8764bad342cf4b78538d4a6c5fae6939dc1ca62e652067ed6a441e90d3d55f5130cab39e056db5549c745ed682a44dd82c +EBUILD c-blosc-1.3.5.ebuild 1048 SHA256 3556dac0e19e4c8331ee7000878329a046c4013159fd6934fd9a83fff2cc16a4 SHA512 139515d15918a869358bed7f8a4bcd24f89218fb0be747a00602e8a522974edb536a18b8d3dc1d2781f11a74adb0d6196266af6d395db28ef3b57584eecc2de1 WHIRLPOOL 6cd08c7a8d75de1e0b69d95c9b849d629a5067200a106a7b5e68713e2afa338bc3e623ad5573be57631a94e09de3cfe9ae26849bc30b5f05e2d702814e2768a0 +EBUILD c-blosc-1.5.3.ebuild 1101 SHA256 e11ff848ba732a274de5dcbc9c4d9e493634fac6916ee1c965ac37d24bb94c6a SHA512 880f8667f2aa9e858cb383b7fa95d6b42425145631a5e10bbfa30c685e398adfebde4e12a234bd5bb95822a8b2e14d32d0e1b64a28f29603b163fdf77840a8c7 WHIRLPOOL 8f6232532c7acadbe88c9026db9e2b0f0b749445d94ea4ead20a22abb8548ff20be069d38882d63878ed274f862ff4982fee1abaa893c9290aa0847874fb86f4 +MISC ChangeLog 2851 SHA256 f0568420641dceaefc76f1f63bc2a371f0adf99914ad66a383b502eca1640afc SHA512 a2af53e8cd8e1b34810ec6dd2f437d61bf396d8cea0090dd415c2013f33c7bce627ad6fd3b3e85b8a2f8608c0e3147866195e05d396c3b977c5aad34a098cdf7 WHIRLPOOL aa2657469a720fa099166563f770ccf92d180a9f6ca6a74254a5738ab1625640c5c96d993ace93b5e87e0507b8d81088544b7a6da927f999aeb7e2b1723ba14d +MISC ChangeLog-2015 1733 SHA256 d8757d964fa1946fdb1f751c72a7fb6fb4eefea77dbe6c3f5379af84f0ec70d4 SHA512 8c31718ef698e98e8d1664a0487b06ed0f8cd752e8d749f8c37c7d68f770e5e8b64edf6d32fd0450a5bd225dd320a35f55f28c95a0cd6e1533ef5ecdf1965248 WHIRLPOOL 70cd877a06ac4c1ce1a85eabb8e7040da56ec9b8c791ebc8444efb96f8ec550cbd639fcd60ce10f225d31c9d9598e7c463a8a27350ea53b792aae84025136de5 +MISC metadata.xml 900 SHA256 bd86f0b1a8dd8542aec0617c5257f0ce8df5bca37e58c85f31919b5701fc276b SHA512 6d6221a4cc1c0f347158f0b2fa729ffb6e87dc720c0a7866529a7120a2b6534daf630f8812b2c5525d7c00646dbe3cfa953257f89330107621c9be08d2c5db0d WHIRLPOOL 5ba5182ce80e418da8cf8126a97f60d399d08ff55af43b9073f25ea7e41d30ca9b2f7aae3022fe9e07799b0d4888d55af340d3181beaa26c18a07ef4d3ac993f diff --git a/dev-libs/c-blosc/c-blosc-1.11.1.ebuild b/dev-libs/c-blosc/c-blosc-1.11.1.ebuild new file mode 100644 index 000000000000..3403bc18c331 --- /dev/null +++ b/dev-libs/c-blosc/c-blosc-1.11.1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils + +DESCRIPTION="Blocking, shuffling and lossless compression library" +HOMEPAGE="http://www.blosc.org/" +SRC_URI="https://github.com/Blosc/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" + +SLOT="0/1" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" + +IUSE="cpu_flags_x86_avx2 +lz4 +snappy static-libs test zlib zstd" + +RDEPEND=" + lz4? ( >=app-arch/lz4-0_p120:= ) + snappy? ( app-arch/snappy ) + zlib? ( sys-libs/zlib ) + zstd? ( app-arch/zstd )" +DEPEND="${RDEPEND}" + +DOCS=( README.rst RELEASE_NOTES.rst THOUGHTS_FOR_2.0.txt ANNOUNCE.rst ) +PATCHES=( "${FILESDIR}/${PN}-1.11.1-fix-build-system.patch" ) + +src_prepare() { + cmake-utils_src_prepare + + # remove bundled libs + rm -rf internal-complibs || die +} + +src_configure() { + local mycmakeargs=( + -DBUILD_STATIC=$(usex static-libs) + -DBUILD_TESTS=$(usex test) + -DBUILD_BENCHMARKS=OFF + + -DDEACTIVATE_AVX2=$(usex !cpu_flags_x86_avx2) + -DDEACTIVATE_LZ4=$(usex !lz4) + -DDEACTIVATE_SNAPPY=$(usex !snappy) + -DDEACTIVATE_ZLIB=$(usex !zlib) + -DDEACTIVATE_ZSTD=$(usex !zstd) + + -DPREFER_EXTERNAL_LZ4=ON + -DPREFER_EXTERNAL_SNAPPY=ON + -DPREFER_EXTERNAL_ZLIB=ON + -DPREFER_EXTERNAL_ZSTD=ON + ) + cmake-utils_src_configure +} diff --git a/dev-libs/c-blosc/c-blosc-1.11.2.ebuild b/dev-libs/c-blosc/c-blosc-1.11.2.ebuild new file mode 100644 index 000000000000..c06bbca39377 --- /dev/null +++ b/dev-libs/c-blosc/c-blosc-1.11.2.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils + +DESCRIPTION="Blocking, shuffling and lossless compression library" +HOMEPAGE="http://www.blosc.org/" +SRC_URI="https://github.com/Blosc/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" + +SLOT="0/1" +KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" + +IUSE="cpu_flags_x86_avx2 +lz4 +snappy static-libs test zlib zstd" + +RDEPEND=" + lz4? ( >=app-arch/lz4-1.7.5:= ) + snappy? ( app-arch/snappy ) + zlib? ( sys-libs/zlib ) + zstd? ( app-arch/zstd )" +DEPEND="${RDEPEND}" + +DOCS=( README.rst RELEASE_NOTES.rst THOUGHTS_FOR_2.0.txt ANNOUNCE.rst ) +PATCHES=( "${FILESDIR}/${PN}-1.11.2-fix-build-system.patch" ) + +src_prepare() { + cmake-utils_src_prepare + # remove bundled libs + rm -rf internal-complibs || die +} + +src_configure() { + local mycmakeargs=( + -DBUILD_STATIC=$(usex static-libs) + -DBUILD_TESTS=$(usex test) + -DBUILD_BENCHMARKS=OFF + -DDEACTIVATE_AVX2=$(usex !cpu_flags_x86_avx2) + -DDEACTIVATE_LZ4=$(usex !lz4) + -DDEACTIVATE_SNAPPY=$(usex !snappy) + -DDEACTIVATE_ZLIB=$(usex !zlib) + -DDEACTIVATE_ZSTD=$(usex !zstd) + -DPREFER_EXTERNAL_LZ4=ON + -DPREFER_EXTERNAL_SNAPPY=ON + -DPREFER_EXTERNAL_ZLIB=ON + -DPREFER_EXTERNAL_ZSTD=ON + ) + cmake-utils_src_configure +} diff --git a/dev-libs/c-blosc/c-blosc-1.3.2.ebuild b/dev-libs/c-blosc/c-blosc-1.3.2.ebuild new file mode 100644 index 000000000000..ade8c684c907 --- /dev/null +++ b/dev-libs/c-blosc/c-blosc-1.3.2.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit cmake-utils + +DESCRIPTION="Blocking, shuffling and lossless compression library" +HOMEPAGE="http://www.blosc.org/" +SRC_URI="https://github.com/Blosc/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" + +SLOT="0" +KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" + +IUSE="hdf5 +lz4 +snappy static-libs test zlib" + +RDEPEND=" + hdf5? ( sci-libs/hdf5 ) + lz4? ( >=app-arch/lz4-0_p120 ) + snappy? ( app-arch/snappy ) + zlib? ( sys-libs/zlib )" +DEPEND="${RDEPEND}" + +PATCHES=( "${FILESDIR}"/${P}-shared-libs.patch ) +DOCS="RE* AN*" + +src_configure() { + local mycmakeargs=( + -DBUILD_BENCHMARKS=OFF + -DPREFER_EXTERNAL_COMPLIBS=ON + $(cmake-utils_use hdf5 BUILD_HDF5_FILTER) + $(cmake-utils_use !lz4 DEACTIVATE_LZ4) + $(cmake-utils_use !snappy DEACTIVATE_SNAPPY) + $(cmake-utils_use static-libs BUILD_STATIC) + $(cmake-utils_use test BUILD_TESTS) + $(cmake-utils_use !zlib DEACTIVATE_ZLIB) + ) + cmake-utils_src_configure +} diff --git a/dev-libs/c-blosc/c-blosc-1.3.5.ebuild b/dev-libs/c-blosc/c-blosc-1.3.5.ebuild new file mode 100644 index 000000000000..1223d9761149 --- /dev/null +++ b/dev-libs/c-blosc/c-blosc-1.3.5.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit cmake-utils + +DESCRIPTION="Blocking, shuffling and lossless compression library" +HOMEPAGE="http://www.blosc.org/" +SRC_URI="https://github.com/Blosc/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" + +SLOT="0" +KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" + +IUSE="hdf5 +lz4 +snappy static-libs test zlib" + +RDEPEND=" + hdf5? ( sci-libs/hdf5:0= ) + lz4? ( >=app-arch/lz4-0_p120:0= ) + snappy? ( app-arch/snappy:0= ) + zlib? ( sys-libs/zlib:0= )" +DEPEND="${RDEPEND}" + +PATCHES=( "${FILESDIR}"/${PN}-1.3.2-shared-libs.patch ) +DOCS="RE* AN*" + +src_configure() { + local mycmakeargs=( + -DBUILD_BENCHMARKS=OFF + -DPREFER_EXTERNAL_COMPLIBS=ON + $(cmake-utils_use hdf5 BUILD_HDF5_FILTER) + $(cmake-utils_use !lz4 DEACTIVATE_LZ4) + $(cmake-utils_use !snappy DEACTIVATE_SNAPPY) + $(cmake-utils_use static-libs BUILD_STATIC) + $(cmake-utils_use test BUILD_TESTS) + $(cmake-utils_use !zlib DEACTIVATE_ZLIB) + ) + cmake-utils_src_configure +} diff --git a/dev-libs/c-blosc/c-blosc-1.5.3.ebuild b/dev-libs/c-blosc/c-blosc-1.5.3.ebuild new file mode 100644 index 000000000000..80c7837bc729 --- /dev/null +++ b/dev-libs/c-blosc/c-blosc-1.5.3.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit cmake-utils + +DESCRIPTION="Blocking, shuffling and lossless compression library" +HOMEPAGE="http://www.blosc.org/" +SRC_URI="https://github.com/Blosc/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" + +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" + +IUSE="hdf5 +lz4 +snappy static-libs test zlib" + +RDEPEND=" + hdf5? ( sci-libs/hdf5:0= ) + lz4? ( >=app-arch/lz4-0_p120:0= ) + snappy? ( app-arch/snappy:0= ) + zlib? ( sys-libs/zlib:0= )" +DEPEND="${RDEPEND}" + +PATCHES=( "${FILESDIR}"/${P}-shared-libs.patch ) + +DOCS=( README.rst RELEASE_NOTES.rst THOUGHTS_FOR_2.0.txt ANNOUNCE.rst ) + +src_configure() { + local mycmakeargs=( + -DBUILD_BENCHMARKS=OFF + -DPREFER_EXTERNAL_COMPLIBS=ON + $(cmake-utils_use hdf5 BUILD_HDF5_FILTER) + $(cmake-utils_use !lz4 DEACTIVATE_LZ4) + $(cmake-utils_use !snappy DEACTIVATE_SNAPPY) + $(cmake-utils_use static-libs BUILD_STATIC) + $(cmake-utils_use test BUILD_TESTS) + $(cmake-utils_use !zlib DEACTIVATE_ZLIB) + ) + cmake-utils_src_configure +} diff --git a/dev-libs/c-blosc/files/c-blosc-1.11.1-fix-build-system.patch b/dev-libs/c-blosc/files/c-blosc-1.11.1-fix-build-system.patch new file mode 100644 index 000000000000..02c5fc2d8ab3 --- /dev/null +++ b/dev-libs/c-blosc/files/c-blosc-1.11.1-fix-build-system.patch @@ -0,0 +1,30 @@ +Make the build system respect CFLAGS + +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -195,7 +195,7 @@ + CMAKE_SYSTEM_PROCESSOR STREQUAL AMD64) + if(CMAKE_C_COMPILER_ID STREQUAL GNU) + # We need C99 (GNU99 more exactly) +- SET(CMAKE_C_FLAGS "-std=gnu99") ++ SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu99") + set(COMPILER_SUPPORT_SSE2 TRUE) + if(CMAKE_C_COMPILER_VERSION VERSION_GREATER 4.7 OR CMAKE_C_COMPILER_VERSION VERSION_EQUAL 4.7) + set(COMPILER_SUPPORT_AVX2 TRUE) +@@ -244,16 +244,6 @@ + endif() + + # flags +-# @TODO: set -Wall +-# @NOTE: -O3 is enabled in Release mode (CMAKE_BUILD_TYPE="Release") +- +-# Set the "-msse2" build flag only if the CMAKE_C_FLAGS is not already set. +-# Probably "-msse2" should be appended to CMAKE_C_FLAGS_RELEASE. +-if(CMAKE_C_COMPILER_ID STREQUAL GNU OR CMAKE_C_COMPILER_ID STREQUAL Clang OR CMAKE_C_COMPILER_ID STREQUAL Intel) +- if(NOT CMAKE_C_FLAGS AND COMPILER_SUPPORT_SSE2) +- set(CMAKE_C_FLAGS -msse2 CACHE STRING "C flags." FORCE) +- endif(NOT CMAKE_C_FLAGS AND COMPILER_SUPPORT_SSE2) +-endif(CMAKE_C_COMPILER_ID STREQUAL GNU OR CMAKE_C_COMPILER_ID STREQUAL Clang OR CMAKE_C_COMPILER_ID STREQUAL Intel) + + if(MSVC) + if(NOT CMAKE_C_FLAGS) diff --git a/dev-libs/c-blosc/files/c-blosc-1.11.2-fix-build-system.patch b/dev-libs/c-blosc/files/c-blosc-1.11.2-fix-build-system.patch new file mode 100644 index 000000000000..d385d5263710 --- /dev/null +++ b/dev-libs/c-blosc/files/c-blosc-1.11.2-fix-build-system.patch @@ -0,0 +1,21 @@ +Make the build system respect CFLAGS + +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -244,16 +244,6 @@ + endif() + + # flags +-# @TODO: set -Wall +-# @NOTE: -O3 is enabled in Release mode (CMAKE_BUILD_TYPE="Release") +- +-# Set the "-msse2" build flag only if the CMAKE_C_FLAGS is not already set. +-# Probably "-msse2" should be appended to CMAKE_C_FLAGS_RELEASE. +-if(CMAKE_C_COMPILER_ID STREQUAL GNU OR CMAKE_C_COMPILER_ID STREQUAL Clang OR CMAKE_C_COMPILER_ID STREQUAL Intel) +- if(NOT CMAKE_C_FLAGS AND COMPILER_SUPPORT_SSE2) +- set(CMAKE_C_FLAGS -msse2 CACHE STRING "C flags." FORCE) +- endif(NOT CMAKE_C_FLAGS AND COMPILER_SUPPORT_SSE2) +-endif(CMAKE_C_COMPILER_ID STREQUAL GNU OR CMAKE_C_COMPILER_ID STREQUAL Clang OR CMAKE_C_COMPILER_ID STREQUAL Intel) + + if(MSVC) + if(NOT CMAKE_C_FLAGS) diff --git a/dev-libs/c-blosc/files/c-blosc-1.3.2-shared-libs.patch b/dev-libs/c-blosc/files/c-blosc-1.3.2-shared-libs.patch new file mode 100644 index 000000000000..484db1f6dd3c --- /dev/null +++ b/dev-libs/c-blosc/files/c-blosc-1.3.2-shared-libs.patch @@ -0,0 +1,22 @@ +--- hdf5/CMakeLists.txt.orig 2014-02-05 16:55:55.001344161 -0800 ++++ hdf5/CMakeLists.txt 2014-02-05 16:57:03.767739650 -0800 +@@ -23,16 +23,16 @@ + + # install + install(FILES blosc_filter.h DESTINATION include COMPONENT HDF5_FILTER_DEV) +-install(TARGETS blosc_filter_static DESTINATION lib COMPONENT HDF5_FILTER) ++install(TARGETS blosc_filter_shared DESTINATION lib${LIB_SUFFIX} COMPONENT HDF5_FILTER) + if(BUILD_STATIC) + install( +- TARGETS blosc_filter_shared DESTINATION lib COMPONENT HDF5_FILTER_DEV) ++ TARGETS blosc_filter_static DESTINATION lib${LIB_SUFFIX} COMPONENT HDF5_FILTER_DEV) + endif(BUILD_STATIC) + + + # test + if(BUILD_TESTS) + add_executable(example example.c) +- target_link_libraries(example blosc_filter_static ${HDF5_LIBRARIES}) ++ target_link_libraries(example blosc_filter_shared ${HDF5_LIBRARIES}) + add_test(test_hdf5_filter example) + endif(BUILD_TESTS) diff --git a/dev-libs/c-blosc/files/c-blosc-1.5.3-shared-libs.patch b/dev-libs/c-blosc/files/c-blosc-1.5.3-shared-libs.patch new file mode 100644 index 000000000000..c46f66987445 --- /dev/null +++ b/dev-libs/c-blosc/files/c-blosc-1.5.3-shared-libs.patch @@ -0,0 +1,27 @@ + hdf5/CMakeLists.txt | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/hdf5/CMakeLists.txt b/hdf5/CMakeLists.txt +index d91194f..032a292 100644 +--- a/hdf5/CMakeLists.txt ++++ b/hdf5/CMakeLists.txt +@@ -44,16 +44,16 @@ endif(MSVC) + + # install + install(FILES blosc_filter.h DESTINATION include COMPONENT HDF5_FILTER_DEV) +-install(TARGETS blosc_filter_shared DESTINATION lib COMPONENT HDF5_FILTER) ++install(TARGETS blosc_filter_shared DESTINATION lib${LIB_SUFFIX} COMPONENT HDF5_FILTER) + if(BUILD_STATIC) + install( +- TARGETS blosc_filter_static DESTINATION lib COMPONENT HDF5_FILTER_DEV) ++ TARGETS blosc_filter_static DESTINATION lib${LIB_SUFFIX} COMPONENT HDF5_FILTER_DEV) + endif(BUILD_STATIC) + + + # test + if(BUILD_TESTS) + add_executable(example example.c) +- target_link_libraries(example blosc_filter_static ${HDF5_LIBRARIES}) ++ target_link_libraries(example blosc_filter_shared ${HDF5_LIBRARIES}) + add_test(test_hdf5_filter example) + endif(BUILD_TESTS) diff --git a/dev-libs/c-blosc/metadata.xml b/dev-libs/c-blosc/metadata.xml new file mode 100644 index 000000000000..646211224e11 --- /dev/null +++ b/dev-libs/c-blosc/metadata.xml @@ -0,0 +1,23 @@ + + + + + sci@gentoo.org + Gentoo Science Project + + + Blosc is a compression library designed to transmit data to the + processor cache faster than the traditional non-compressed memory fetch. + Compression ratios are not very high, but the decompression is very + fast. Blosc is meant not only to reduce the size of large datasets on-disk + or in-memory, but also to accelerate memory-bound computations. + + + Enable lz4 compression + Enable snappy compression + Enable zstd compression + + + Blosc/c-blosc + + diff --git a/dev-libs/c-capnproto/Manifest b/dev-libs/c-capnproto/Manifest new file mode 100644 index 000000000000..851a8f8c0cd3 --- /dev/null +++ b/dev-libs/c-capnproto/Manifest @@ -0,0 +1,4 @@ +DIST c-capnproto-0.3.tar.xz 620560 SHA256 215bc921b5196d0e52a2a8a65d99b80f6a3c0c4413300736fd961c174cf79937 SHA512 188167a7e1e50e099135dfdcd2e739585074e0c63fe891ef173a5070cd4f019195823eb8f30389c82228b8981fd595c25fe03c3ac35a158f593c1fbaab87691f WHIRLPOOL e5ab0ecec73c7f17b01e61494d6892641f0fae4dc2880fd020e9de2120d8eada52e930d068bb88f4216bff82cd236c37bc3a11579c58f6be6424af93fbf8106e +EBUILD c-capnproto-0.3.ebuild 489 SHA256 dbc152aae6b834c94e2bf5bd957154a64777d3318a94ca5368428b874bc50802 SHA512 a2a9378e2d274ed01f7b2f5ebe6fc7619d5c4af070a61fc1861d0a6630976dbf3a6d05ee8a77b1c7a6161c5490d8e79e2ba0d44ad1b95c5db5791735d8dbbae4 WHIRLPOOL 7fa5911508f1227e7b8cd76f65be9d078029b7f50bdf417837b02e05963e98cadf9673e4847a23e64c010a376e4520782d022fbf98dc89a85c289efee723c6c2 +MISC ChangeLog 514 SHA256 169f607dfb6d58a4d9bd93f9d84422b8fcfab4c89c2427666f173d6434c3551d SHA512 c20737777e700f472f1604517dd3edaf75be344f552f71473b4413d073a88e31f353cbe2caf84ae88af9a8f3518408d7c1381189a5d23bc1afc8391fed571000 WHIRLPOOL 4e989513b62a8c36ad4d37ac216e9ed8480a285ca6df825195f1ae42c6929a5f7cd2e63a8d1f43a2f8265a2aded7eec50e434d25e4eb159262fbff60946d63d8 +MISC metadata.xml 353 SHA256 7b20379046eec26e6a8056b6c4ba69fee16da2028fde00454db6a0c0f50b8bd4 SHA512 09695711d2274fd74f3bd14caaff7cfbe51054e608038c3d392e5f56498ef91ec7bac4530763fe569e62d30f714af87c8bbaf71051efefc5cb7ef105491af33b WHIRLPOOL f15f10775e9bf4743d785595819f4899c6d117f499f9f0d8ac13bc81cf4616c886570d860482eeee560e3627a7af6a4dc068207a34738e5eca99caeea0fa11a4 diff --git a/dev-libs/c-capnproto/c-capnproto-0.3.ebuild b/dev-libs/c-capnproto/c-capnproto-0.3.ebuild new file mode 100644 index 000000000000..a51bc796601b --- /dev/null +++ b/dev-libs/c-capnproto/c-capnproto-0.3.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit autotools-utils + +DESCRIPTION="C library/compiler for the Cap'n Proto serialization/RPC protocol" +HOMEPAGE="https://github.com/opensourcerouting/c-capnproto" +SRC_URI="https://github.com/opensourcerouting/c-capnproto/releases/download/${P}/${P}.tar.xz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64" +IUSE="" + +RDEPEND="" +DEPEND="${RDEPEND} + app-arch/xz-utils +" diff --git a/dev-libs/c-capnproto/metadata.xml b/dev-libs/c-capnproto/metadata.xml new file mode 100644 index 000000000000..6fc9163438cc --- /dev/null +++ b/dev-libs/c-capnproto/metadata.xml @@ -0,0 +1,11 @@ + + + + + aballier@gentoo.org + Alexis Ballier + + + opensourcerouting/c-capnproto + + diff --git a/dev-libs/caliper/Manifest b/dev-libs/caliper/Manifest new file mode 100644 index 000000000000..e8fc40f82ed2 --- /dev/null +++ b/dev-libs/caliper/Manifest @@ -0,0 +1,7 @@ +AUX caliper-1.5.0-cmake.patch 1084 SHA256 ad010aadc82051e0dcdb34e189903df3773ad55a95b8d9614d31ef182feef125 SHA512 668499dd540cafdb6c8a3c7c08c4973ad3181f7c16f2c62db765e05cff7b82c1a59d849f669f7c9e9e48e9acb46437e76942e7e5fcd448eb386c14872d5fdb4c WHIRLPOOL dd6a6f6756cf0dbff66fe3de447b2202164b79ed470ef83cd9aa55fd60b31a3c821b088740308c47c1f53925b9531abe164e62513627a9ad9b1ed1f98f48e5d9 +AUX caliper-1.5.0-multilib.patch 10636 SHA256 542cac36e6edfd4a734e915af6f085e264bb54fc336188b0c0d740c43b5d38f7 SHA512 96c83c3cc67d6a3cb71b077ce7d18e664582670894b19cfbe6e097fe446865cbaaa5e55b6f61ea315a4ab18bcc43270c0e137246e7659f66ebc5b3c0c8695ccc WHIRLPOOL fe8a2d1ef5a265bbd1c26bd750d0f0d10d7e5d5a6736e391f3926adb72c03f05b743c7ad108e549d0a6d3e8c2190d3bf3f8bb44c838fe51b1cc3ccdc545f565c +AUX caliper-1.5.0-python2.patch 765 SHA256 ca6c700c62f6e51cef9b36ed51d005b4511848e0efa569e93c2c68ae2f8b0c22 SHA512 58b6117e62f78e86fe95610b2e3fa3b7469790d1d635df3d7d8e861abbd875ccc6e8dc04eff2b3b2eae8d88e431b19aef49411b05758d3ea0ea73ae53dfce1d8 WHIRLPOOL c365ba8d8711e73f6d7566436c1e74b568d09e4f60e86b303f3d9cab2c32bb9de549d3041797ca734ed91891cb97600dd7b8cd747a1a63fdd7ccb2008729daea +DIST caliper-1.5.0.tar.gz 167184 SHA256 f6580f88a2bc500590a3412ecc3e8fe245a03f111aef129cd1ac9d55a31fca93 SHA512 8f54d453efc4a1d3b6ef5cfd9c07726813850942c694378ebcf03dd9dfb390c67473ff621627cc78209b811e9591e6c8542697dbc23ee05ceef3a1fb8af2bb4e WHIRLPOOL 8a8d92cf1c4ff66a2b4181939ff9519227c3f8c4f92cc9ee395ff7d61bb224144efb94c2f3c88b74af495773dece3771e5b1295321ba48435721f545903c984c +EBUILD caliper-1.5.0.ebuild 718 SHA256 1c6cbd40d7bc6d1fc991defe76cb1ccc96a894cbd23eb7c932e019f54babe390 SHA512 85d34f549b5c16880a9a4c237c89b5af9c038fe457d876b9f5a40fb1dea220fb99f624a2bb17870479c181ce34faa7cd27eeb520480335117c1d5286a7ea3c07 WHIRLPOOL 875ffe6e11da3e00af6327da721a30f5dbfb74becbe659ff484edb7270b9b3c7b74722c9b63f21c5f1251ad639a8a6ac479589c9285569e80eca8de408d080ff +MISC ChangeLog 508 SHA256 fa5fbfa5fb7cd36aedaf003f261ff34e472ad669ff1c747c9bf79f135b27e2eb SHA512 c1f9844861c57af76013092e46de6c62b65ab4cf7c336e10d95ab334b20fac3784718a3f95489f776485a5241c959690f60524e43d580cc538b6ed13cb65b47c WHIRLPOOL 22129d7affbe370cd8322b26b879c9674e51b34122441284535cb6ae22eab3f713c719918438fa41ed856984b4fb405b7ff265afd0f209af8cc6f0150243f1c3 +MISC metadata.xml 330 SHA256 c259c21f7feab8f9bfc0a6472350bb6a99ce646aaf5a97ba0fb38a05cd2bbdab SHA512 c57e35d5483149031fe76ca273160e1912ad840b019ab2ea06bc5c9efa4c33c7d72c251af6a0b85b0f937a98f664b4400304b81d454ce9b9b58a026cfcbac9ee WHIRLPOOL 8d5c740069ab6cf7d8d5825344f6c834ce446c943f480dee6f91ea244166504405c6922deab1c4fbe0ecc8c196db78e1374c8765b1c85125fed2fbb931da0d7f diff --git a/dev-libs/caliper/caliper-1.5.0.ebuild b/dev-libs/caliper/caliper-1.5.0.ebuild new file mode 100644 index 000000000000..8ecd92169088 --- /dev/null +++ b/dev-libs/caliper/caliper-1.5.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils + +DESCRIPTION="Application Introspection System" +HOMEPAGE="http://computation.llnl.gov/projects/caliper" +SRC_URI="https://github.com/LLNL/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=" + net-misc/curl + sys-libs/libunwind + dev-libs/papi + " +RDEPEND="${DEPEND}" + +#thttps://github.com/LLNL/Caliper/pull/23 +#thttps://github.com/LLNL/Caliper/pull/24 +#thttps://github.com/LLNL/Caliper/pull/25 +PATCHES=( "${FILESDIR}/${P}-cmake.patch" + "${FILESDIR}/${P}-python2.patch" + "${FILESDIR}/${P}-multilib.patch" + ) + +S="${WORKDIR}/${P^c}" diff --git a/dev-libs/caliper/files/caliper-1.5.0-cmake.patch b/dev-libs/caliper/files/caliper-1.5.0-cmake.patch new file mode 100644 index 000000000000..88a142738ced --- /dev/null +++ b/dev-libs/caliper/files/caliper-1.5.0-cmake.patch @@ -0,0 +1,33 @@ +From f3f634a7e3eb76c8206739a362d3926e8a5ff1d7 Mon Sep 17 00:00:00 2001 +From: Christoph Junghans +Date: Wed, 30 Nov 2016 10:12:31 -0700 +Subject: [PATCH] FindLibcurl.cmake: add path suffix + +Most linux distros put curl.h in a subdir curl +--- + cmake/FindLibcurl.cmake | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/cmake/FindLibcurl.cmake b/cmake/FindLibcurl.cmake +index c3dcce1..ad0ac5b 100644 +--- a/cmake/FindLibcurl.cmake ++++ b/cmake/FindLibcurl.cmake +@@ -1,7 +1,7 @@ + # + # - Find libcurl + # +-# LIBCURL_INCLUDE_DIR - Path to libcurl.h ++# LIBCURL_INCLUDE_DIR - Path to curl.h + # LIBCURL_LIBRARY - List of libraries for using libcurl + # LIBCURL_FOUND - True if libcurl was found + +@@ -9,8 +9,8 @@ if(LIBCURL_INCLUDE_DIR) + set(LIBCURL_FIND_QUIETLY true) + endif() + +-find_path(LIBCURL_INCLUDE_DIR curl.h) + find_library(LIBCURL_LIBRARY curl) ++find_path(LIBCURL_INCLUDE_DIR curl.h PATH_SUFFIXES curl) + + include(FindPackageHandleStandardArgs) + find_package_handle_standard_args(Libcurl DEFAULT_MSG LIBCURL_LIBRARY LIBCURL_INCLUDE_DIR) diff --git a/dev-libs/caliper/files/caliper-1.5.0-multilib.patch b/dev-libs/caliper/files/caliper-1.5.0-multilib.patch new file mode 100644 index 000000000000..4df5d841ef6c --- /dev/null +++ b/dev-libs/caliper/files/caliper-1.5.0-multilib.patch @@ -0,0 +1,271 @@ +From b296fb1d9db532a14c815d6e90ec606a32f570be Mon Sep 17 00:00:00 2001 +From: Christoph Junghans +Date: Wed, 30 Nov 2016 11:01:58 -0700 +Subject: [PATCH] cmake: add multilib support + +--- + CMakeLists.txt | 13 ++++++++----- + src/caliper-stub/CMakeLists.txt | 8 ++++---- + src/caliper/CMakeLists.txt | 6 +++--- + src/common/CMakeLists.txt | 8 ++++---- + src/common/csv/CMakeLists.txt | 2 +- + src/fortran/CMakeLists.txt | 2 +- + src/reader/CMakeLists.txt | 6 +++--- + src/services/callpath/CMakeLists.txt | 2 +- + src/services/mpiwrap/CMakeLists.txt | 4 ++-- + src/services/ompt/CMakeLists.txt | 2 +- + src/services/papi/CMakeLists.txt | 2 +- + src/services/recorder/CMakeLists.txt | 2 +- + src/tools/cali-graph/CMakeLists.txt | 2 +- + src/tools/cali-query/CMakeLists.txt | 2 +- + src/tools/cali-stat/CMakeLists.txt | 2 +- + src/tools/util/CMakeLists.txt | 6 +++--- + 16 files changed, 36 insertions(+), 33 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 3088112..e3e2384 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -16,6 +16,9 @@ set(CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake;${CMAKE_MODULE_PATH}") + include(FindLibunwind) + include(FindPAPI) + include(FindLibcurl) ++ ++include(GNUInstallDirs) ++ + # Optional Fortran + option(WITH_FORTRAN "Install Fortran interface and build test programs") + +@@ -131,15 +134,15 @@ configure_file( + @ONLY) + + install(FILES ${PROJECT_BINARY_DIR}/caliper-config.cmake +- DESTINATION share/cmake/caliper) ++ DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/cmake/caliper) + install(EXPORT caliper +- DESTINATION share/cmake/caliper) ++ DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/cmake/caliper) + + install(FILES ${PROJECT_BINARY_DIR}/caliper-config.h +- DESTINATION include/caliper) ++ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/caliper) + + install(FILES ${PROJECT_BINARY_DIR}/caliper.pc +- DESTINATION share/pkgconfig) ++ DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig) + + add_subdirectory(src) + if (WITH_TESTS) +@@ -149,4 +152,4 @@ endif() + add_subdirectory(doc) + + # Install exports +-#install(EXPORT caliper DESTINATION lib/cmake) ++#install(EXPORT caliper DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake) +diff --git a/src/caliper-stub/CMakeLists.txt b/src/caliper-stub/CMakeLists.txt +index b796f47..d168875 100644 +--- a/src/caliper-stub/CMakeLists.txt ++++ b/src/caliper-stub/CMakeLists.txt +@@ -12,9 +12,9 @@ add_library(caliper-stub ${CALIPER_STUB_CXX_SOURCES}) + + install(TARGETS caliper-stub-c + EXPORT caliper-stub-c +- ARCHIVE DESTINATION lib +- LIBRARY DESTINATION lib) ++ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} ++ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}) + install(TARGETS caliper-stub + EXPORT caliper-stub +- ARCHIVE DESTINATION lib +- LIBRARY DESTINATION lib) ++ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} ++ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}) +diff --git a/src/caliper/CMakeLists.txt b/src/caliper/CMakeLists.txt +index 4c25990..38b58ac 100644 +--- a/src/caliper/CMakeLists.txt ++++ b/src/caliper/CMakeLists.txt +@@ -26,9 +26,9 @@ foreach (_extlib ${CALIPER_EXTERNAL_LIBS}) + target_link_libraries(caliper ${_extlib}) + endforeach() + +-install(FILES ${CALIPER_HEADERS} DESTINATION include/caliper) ++install(FILES ${CALIPER_HEADERS} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/caliper) + + install(TARGETS caliper + EXPORT caliper +- ARCHIVE DESTINATION lib +- LIBRARY DESTINATION lib) ++ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} ++ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}) +diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt +index 73666fb..0c0b441 100644 +--- a/src/common/CMakeLists.txt ++++ b/src/common/CMakeLists.txt +@@ -36,10 +36,10 @@ add_library(caliper-common + $ + ${CALIPER_COMMON_SOURCES}) + +-install(FILES ${CALIPER_COMMON_HEADERS} DESTINATION include/caliper) +-install(FILES ${CALIPER_UTIL_HEADERS} DESTINATION include/caliper/util) ++install(FILES ${CALIPER_COMMON_HEADERS} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/caliper) ++install(FILES ${CALIPER_UTIL_HEADERS} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/caliper/util) + + install(TARGETS caliper-common + EXPORT caliper +- ARCHIVE DESTINATION lib +- LIBRARY DESTINATION lib) ++ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} ++ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}) +diff --git a/src/common/csv/CMakeLists.txt b/src/common/csv/CMakeLists.txt +index ef4357a..1f6f506 100644 +--- a/src/common/csv/CMakeLists.txt ++++ b/src/common/csv/CMakeLists.txt +@@ -13,5 +13,5 @@ if (${BUILD_SHARED_LIBS}) + set_property(TARGET caliper-csv PROPERTY POSITION_INDEPENDENT_CODE TRUE) + endif() + +-install(FILES ${CALIPER_CSV_HEADERS} DESTINATION include/caliper/csv) ++install(FILES ${CALIPER_CSV_HEADERS} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/caliper/csv) + +diff --git a/src/fortran/CMakeLists.txt b/src/fortran/CMakeLists.txt +index c81323c..9c57f47 100644 +--- a/src/fortran/CMakeLists.txt ++++ b/src/fortran/CMakeLists.txt +@@ -6,4 +6,4 @@ set_target_properties(testf03 PROPERTIES LINKER_LANGUAGE CXX) + + target_link_libraries(testf03 caliper) + +-install(FILES caliper.f90 DESTINATION share/fortran) ++install(FILES caliper.f90 DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/fortran) +diff --git a/src/reader/CMakeLists.txt b/src/reader/CMakeLists.txt +index 5d23d24..3ca79b9 100644 +--- a/src/reader/CMakeLists.txt ++++ b/src/reader/CMakeLists.txt +@@ -21,9 +21,9 @@ add_library(caliper-reader ${CALIPER_READER_SOURCES}) + + target_link_libraries(caliper-reader caliper-common) + +-install(FILES ${CALIPER_READER_HEADERS} DESTINATION include/caliper) ++install(FILES ${CALIPER_READER_HEADERS} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/caliper) + + install(TARGETS caliper-reader + EXPORT caliper +- ARCHIVE DESTINATION lib +- LIBRARY DESTINATION lib) ++ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} ++ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}) +diff --git a/src/services/callpath/CMakeLists.txt b/src/services/callpath/CMakeLists.txt +index dd47570..1f49f36 100644 +--- a/src/services/callpath/CMakeLists.txt ++++ b/src/services/callpath/CMakeLists.txt +@@ -3,7 +3,7 @@ include_directories(${LIBUNWIND_INCLUDE_DIR}) + set(CALIPER_CALLPATH_SOURCES + Callpath.cpp) + +-# install(TARGETS caliper-callpath DESTINATION lib) ++# install(TARGETS caliper-callpath DESTINATION ${CMAKE_INSTALL_LIBDIR}) + + add_library(caliper-callpath OBJECT ${CALIPER_CALLPATH_SOURCES}) + +diff --git a/src/services/mpiwrap/CMakeLists.txt b/src/services/mpiwrap/CMakeLists.txt +index 53a8377..c381347 100644 +--- a/src/services/mpiwrap/CMakeLists.txt ++++ b/src/services/mpiwrap/CMakeLists.txt +@@ -27,6 +27,6 @@ target_link_libraries(caliper-mpiwrap ${MPI_C_LIBRARIES}) + + install(TARGETS caliper-mpiwrap + EXPORT caliper +- ARCHIVE DESTINATION lib +- LIBRARY DESTINATION lib) ++ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} ++ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}) + add_caliper_service("mpi CALIPER_HAVE_MPI") +diff --git a/src/services/ompt/CMakeLists.txt b/src/services/ompt/CMakeLists.txt +index f0e4085..8563eb2 100644 +--- a/src/services/ompt/CMakeLists.txt ++++ b/src/services/ompt/CMakeLists.txt +@@ -8,7 +8,7 @@ set(CALIPER_OMPT_SOURCES + # target_link_libraries(caliper-ompt caliper-common) + # target_link_libraries(caliper-ompt caliper) + +-# install(TARGETS caliper-ompt DESTINATION lib) ++# install(TARGETS caliper-ompt DESTINATION ${CMAKE_INSTALL_LIBDIR}) + + add_library(caliper-ompt OBJECT ${CALIPER_OMPT_SOURCES}) + +diff --git a/src/services/papi/CMakeLists.txt b/src/services/papi/CMakeLists.txt +index 70dab41..fa971cc 100644 +--- a/src/services/papi/CMakeLists.txt ++++ b/src/services/papi/CMakeLists.txt +@@ -9,7 +9,7 @@ set(CALIPER_PAPI_SOURCES + # target_link_libraries(caliper-papi caliper) + # target_link_libraries(caliper-papi ${PAPI_LIBRARIES}) + +-# install(TARGETS caliper-papi DESTINATION lib) ++# install(TARGETS caliper-papi DESTINATION ${CMAKE_INSTALL_LIBDIR}) + + add_library(caliper-papi OBJECT ${CALIPER_PAPI_SOURCES}) + +diff --git a/src/services/recorder/CMakeLists.txt b/src/services/recorder/CMakeLists.txt +index c0543d4..c5c6ea8 100644 +--- a/src/services/recorder/CMakeLists.txt ++++ b/src/services/recorder/CMakeLists.txt +@@ -7,7 +7,7 @@ set(CALIPER_RECORDER_SOURCES + # target_link_libraries(caliper-recorder caliper-common) + # target_link_libraries(caliper-recorder caliper) + +-# install(TARGETS caliper-recorder DESTINATION lib) ++# install(TARGETS caliper-recorder DESTINATION ${CMAKE_INSTALL_LIBDIR}) + + add_service_sources(${CALIPER_RECORDER_SOURCES}) + add_caliper_service("recorder") +diff --git a/src/tools/cali-graph/CMakeLists.txt b/src/tools/cali-graph/CMakeLists.txt +index 2b90f51..e3aa7c1 100644 +--- a/src/tools/cali-graph/CMakeLists.txt ++++ b/src/tools/cali-graph/CMakeLists.txt +@@ -13,4 +13,4 @@ target_link_libraries(cali-graph caliper-common) + target_link_libraries(cali-graph caliper-tools-util) + target_link_libraries(cali-graph caliper) + +-install(TARGETS cali-graph DESTINATION bin) ++install(TARGETS cali-graph DESTINATION ${CMAKE_INSTALL_BINDIR}) +diff --git a/src/tools/cali-query/CMakeLists.txt b/src/tools/cali-query/CMakeLists.txt +index e013e96..72202be 100644 +--- a/src/tools/cali-query/CMakeLists.txt ++++ b/src/tools/cali-query/CMakeLists.txt +@@ -13,4 +13,4 @@ target_link_libraries(cali-query caliper-common) + target_link_libraries(cali-query caliper-tools-util) + target_link_libraries(cali-query caliper) + +-install(TARGETS cali-query DESTINATION bin) ++install(TARGETS cali-query DESTINATION ${CMAKE_INSTALL_BINDIR}) +diff --git a/src/tools/cali-stat/CMakeLists.txt b/src/tools/cali-stat/CMakeLists.txt +index 35395d9..d337abb 100644 +--- a/src/tools/cali-stat/CMakeLists.txt ++++ b/src/tools/cali-stat/CMakeLists.txt +@@ -13,4 +13,4 @@ target_link_libraries(cali-stat caliper-common) + target_link_libraries(cali-stat caliper-tools-util) + target_link_libraries(cali-stat caliper) + +-install(TARGETS cali-stat DESTINATION bin) ++install(TARGETS cali-stat DESTINATION ${CMAKE_INSTALL_BINDIR}) +diff --git a/src/tools/util/CMakeLists.txt b/src/tools/util/CMakeLists.txt +index be4e393..652194c 100644 +--- a/src/tools/util/CMakeLists.txt ++++ b/src/tools/util/CMakeLists.txt +@@ -5,9 +5,9 @@ set(CALIPER_TOOLS_UTIL_HEADERS + + add_library(caliper-tools-util ${CALIPER_TOOLS_UTIL_SOURCES}) + +-install(FILES ${CALIPER_TOOLS_UTIL_HEADERS} DESTINATION include/caliper) ++install(FILES ${CALIPER_TOOLS_UTIL_HEADERS} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/caliper) + + install(TARGETS caliper-tools-util + EXPORT caliper +- ARCHIVE DESTINATION lib +- LIBRARY DESTINATION lib) ++ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} ++ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}) +-- +2.7.3 + diff --git a/dev-libs/caliper/files/caliper-1.5.0-python2.patch b/dev-libs/caliper/files/caliper-1.5.0-python2.patch new file mode 100644 index 000000000000..0fabbe213d92 --- /dev/null +++ b/dev-libs/caliper/files/caliper-1.5.0-python2.patch @@ -0,0 +1,22 @@ +From 916e2cc2d326575894c651947035afe06a6d936f Mon Sep 17 00:00:00 2001 +From: Christoph Junghans +Date: Wed, 30 Nov 2016 10:53:58 -0700 +Subject: [PATCH] wrap.py: is not python3 compliant + +--- + src/services/mpiwrap/wrap.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/services/mpiwrap/wrap.py b/src/services/mpiwrap/wrap.py +index 7a3122f..86bb2f3 100755 +--- a/src/services/mpiwrap/wrap.py ++++ b/src/services/mpiwrap/wrap.py +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python2 + ################################################################################################# + # Copyright (c) 2010, Lawrence Livermore National Security, LLC. + # Produced at the Lawrence Livermore National Laboratory +-- +2.7.3 + diff --git a/dev-libs/caliper/metadata.xml b/dev-libs/caliper/metadata.xml new file mode 100644 index 000000000000..c7fb0232d8fb --- /dev/null +++ b/dev-libs/caliper/metadata.xml @@ -0,0 +1,11 @@ + + + + + junghans@gentoo.org + Christoph Junghans + + + LLNL/Caliper + + diff --git a/dev-libs/capnproto/Manifest b/dev-libs/capnproto/Manifest new file mode 100644 index 000000000000..6b7ccc6242a8 --- /dev/null +++ b/dev-libs/capnproto/Manifest @@ -0,0 +1,6 @@ +DIST capnproto-0.6.0.tar.gz 1199198 SHA256 3b73a3dc39592a30b1bb6d00dff930e5fb277c774a1d40bf6a1aa7758c5fec74 SHA512 4882b2e5d1544517348e436600705d18b41fc82e6fc141a934ad960556ed73781c974d4a45f8c949a297edd5c95fb156fd75f1d7179666dc7ab881f98ac9e69d WHIRLPOOL 466a664f90778c28114eed94bac488c7e104b17225c9b18bd2c1835d23f3bf8ac92f6cbc2d9c123b469c786341d45eb97d881607ba2ffb590ec2fc2776fe5a7b +DIST capnproto-0.6.1.tar.gz 1720489 SHA256 85210424c09693d8fe158c1970a2bca37af3a0424f02b263f566a1b8a5451a2d SHA512 baea7f867bb789d3bf8cdc9c1a4a0d31cdce3beb7ae1fd9464690a006a86eca841aaac5d86599c2a84a39d62c4d01213b29789c2b7385ad6636fef95fc867dd6 WHIRLPOOL 5c66738f54c7beb68130debc4feaea844575f480b551ebc34b2220a73a2e98e4fd3b9d3c8ca5c146be37629e7b60ad45900d8830b46c9900e51927536f93a5b0 +EBUILD capnproto-0.6.0.ebuild 785 SHA256 48f439c52372a4ca02055ad06e33a75c56f4b5ffca5d16b71c4f1f4a31398946 SHA512 689f7349847e1c0c7fd1719688ca4aaaea5e4ac65966afc9ceca60b024505b779f9134f4c5b5b799e304e2a00034161a9ac8197196a90007b86d0e88991cdd3f WHIRLPOOL 9aa9f0a84efb90c4b7b0ef4a5cae9e78d211adddc5290cb31f5f91cf574ab175ee18f1e1edfeb0d5da783bed6996d41e0e8bcb5d3007a0991a54171a322a37f3 +EBUILD capnproto-0.6.1.ebuild 785 SHA256 0c58e71dfccb0e1041433c4b9343257af6cf6ed2d04f2c85e8b5220ebce13cc5 SHA512 51f8fd78cc10c2b553f2ea438ba18c98a77d8408c9d8725eb37bdd1b58df7169155729f99b5d43c51b37bd578c805908c3b2dd6ac64feb4549fa659916242de0 WHIRLPOOL bb3eb895e68c94bbab1594d537e14992a799bdd3850c45c8deed45b4cc98f019c46c26ba1487e373eac2747f066092343395923277751c19578f6d5e4eed80d3 +MISC ChangeLog 1185 SHA256 0cca4b5a463da8c64671601ba60d4a3ce6a3027f186514053a91fe54219c2b30 SHA512 9be6a41c580b7add0bb5597add9ecfecacd0367d4c7c40205b5ab9cf3129c67fff6b9cb97f32717bf9956cfccb61ffda3ed3900490028ccc6f83754f7aa59718 WHIRLPOOL 1ad60b9af209fc3aff5bc584b0247bda76233a8d17927e58698850adc71b639e42e808173ad63f78cf122eeaa2696e3327e513ee45c19e27998461a413b0edf5 +MISC metadata.xml 346 SHA256 d3a36c217306f46efbca6b1dcb89a49c71896a52fe78c7214d4a20801187bd15 SHA512 c3c8f965d691c76d1f31fd9d8edcb1c623eac59b81caf4bbd51a184a6b7f8c74b1c1459c15957341700fe443c18946fbaac0a28b46976fa23cd55c9e57a03879 WHIRLPOOL 054db2dbc744f0632527edc65f80fc13d402a1530cec69cded7699a805ed5336e589ffe7868299ca0632a11034579c44c2557c1ccea2fc9fe34ef70f893ad581 diff --git a/dev-libs/capnproto/capnproto-0.6.0.ebuild b/dev-libs/capnproto/capnproto-0.6.0.ebuild new file mode 100644 index 000000000000..c0c951cad31c --- /dev/null +++ b/dev-libs/capnproto/capnproto-0.6.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit autotools + +DESCRIPTION="RPC/Serialization system with capabilities support" +HOMEPAGE="http://capnproto.org" +SRC_URI="https://github.com/sandstorm-io/capnproto/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0/060" +KEYWORDS="~amd64 ~arm ~arm64" +IUSE="static-libs test" + +RDEPEND="" +DEPEND="test? ( dev-cpp/gtest )" + +S=${WORKDIR}/${P}/c++ + +src_prepare() { + sed -e 's/ldconfig/true/' -i Makefile.am || die + sed -e 's#gtest/lib/libgtest.la gtest/lib/libgtest_main.la#-lgtest -lgtest_main#' -i Makefile.am || die + eautoreconf +} + +src_configure() { + econf \ + $(use_enable static-libs static) +} + +src_install() { + default + find "${ED}" -name '*.la' -delete +} diff --git a/dev-libs/capnproto/capnproto-0.6.1.ebuild b/dev-libs/capnproto/capnproto-0.6.1.ebuild new file mode 100644 index 000000000000..483f105f07e0 --- /dev/null +++ b/dev-libs/capnproto/capnproto-0.6.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit autotools + +DESCRIPTION="RPC/Serialization system with capabilities support" +HOMEPAGE="http://capnproto.org" +SRC_URI="https://github.com/sandstorm-io/capnproto/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0/061" +KEYWORDS="~amd64 ~arm ~arm64" +IUSE="static-libs test" + +RDEPEND="" +DEPEND="test? ( dev-cpp/gtest )" + +S=${WORKDIR}/${P}/c++ + +src_prepare() { + sed -e 's/ldconfig/true/' -i Makefile.am || die + sed -e 's#gtest/lib/libgtest.la gtest/lib/libgtest_main.la#-lgtest -lgtest_main#' -i Makefile.am || die + eautoreconf +} + +src_configure() { + econf \ + $(use_enable static-libs static) +} + +src_install() { + default + find "${ED}" -name '*.la' -delete +} diff --git a/dev-libs/capnproto/metadata.xml b/dev-libs/capnproto/metadata.xml new file mode 100644 index 000000000000..1b4b67541d16 --- /dev/null +++ b/dev-libs/capnproto/metadata.xml @@ -0,0 +1,11 @@ + + + + + aballier@gentoo.org + Alexis Ballier + + + sandstorm-io/capnproto + + diff --git a/dev-libs/capstone/Manifest b/dev-libs/capstone/Manifest new file mode 100644 index 000000000000..0fdafef40c56 --- /dev/null +++ b/dev-libs/capstone/Manifest @@ -0,0 +1,7 @@ +AUX capstone-3.0.5_rc2-CVE-2017-6952.patch 1565 SHA256 857f8f769e276d67c06a3e2f530a8607dd797d9c09b80948908ea1ded468db2c SHA512 1f4f24bdede4439811b077502b227474827a455921eb183455c31e7de142d3f3f7e9f19869aac87b92a768be34a7e5ad040f0d68e8125b590d14dfec7af5b407 WHIRLPOOL bad51c09236966ec888b046a8069295d260218be1f8314136f8f727cc3c771d6a95933c92f52ad88fdaa45d1590e31e33399754abda05bbd53491b24e781ddce +AUX capstone-3.0.5_rc2-FLAGS.patch 398 SHA256 13125a28e199a0fff035ff1a89d2439ade32fe313293f31fbf9a7203b1c12539 SHA512 95fb22a680e20f5b19936bd65ceadb9e29a8ed1f3de831379cfc0e650bfd4af7214b97efa97ed894a10d83541e0e49c60ff1a0cb501cd63a9af8f40460909975 WHIRLPOOL 6299beba3f0a0115365ed8f100519354ea35579f295691251a88568709135af7699e65df6336dd94c770b644f974aabb0d2fbc653b8dbeb361167a1798fca9dd +DIST capstone-3.0.5_rc2.tar.gz 2829338 SHA256 587c092454ad59137686529f3c008c265cc6d427a85d5d2e8f6a902b72d215b3 SHA512 31bafdb0b3183d0c054a4244cc135db9a3c3dc5cb2e2af706bfede0d53cca8cba81d74b74ef9a4adbfd6c79cc408864dd80b8203791e17bd6c98bb69ea4f6894 WHIRLPOOL 11a84f178cae68507d2686a81ca6cbc84b6402cb02e7278c03ec598887a0aa02d28a9ecbf388e09c8c3ae8d8ecf323dd4eaa211f79969089c4c7d6fbbe022349 +EBUILD capstone-3.0.5_rc2-r1.ebuild 1383 SHA256 6b60a364b165fc9d8a2836b1958e185312b0d48580e9e05f1cc3871682e2ed90 SHA512 e0e61ad4af2fe6fa2b91e759dc9a9937fa75af99ebf7bc60e41750412b9e49c37677eb057b6bd7091abb00fb3b9ef06f3d2c172605b615226a68c4d050e4c48d WHIRLPOOL f53abcd4775836277756bb3166318c3f3891c026143d32ac7268fdd8ebe266ee993ae945d8f27aa26ec8ee3f795c71b3a953a7e5791116187c940c5ca2331407 +EBUILD capstone-3.0.5_rc2.ebuild 849 SHA256 1adc0231921a6bdce8271a15ca664bdc5f60a43e23beef7eeaee7ee6b67cf7ce SHA512 7896e5759c146a82b47239bf0fede1c67f49ec9970d3ca82ff1db6d4c53c7c8f3a3a657491ed12a8ca5de585ffcdaf032f3c3d1b9db6db0d4c75e613ef4dfc70 WHIRLPOOL edffd12e6c8d4a180077b2866e0ae2f07c95e95eeb896908f2df09afe44192ec619e3da8f0aebd4e167ee64168f7a01a3ba04aea76626b033d016e222d504d66 +MISC ChangeLog 1153 SHA256 cac5408060ed6c38b37e90e102acb658708e9182f44a5206c79a095dd68bf370 SHA512 b241ba998e241446be58968bb157b9bc99ff34241e7554133415c02fd6439c3044c8b93ab00ba98d485818ce4f5c0d6ff050992e581b0ca8d07a4c6502f45a01 WHIRLPOOL 6591c4bb70d7e7ae2b4ed215dde6d833e407c4d3b36d2df4590f7dcf1e596e2de8a3be5f4edcfd3bfc1503a35ec88d1ed515af3bd136befd24440c107b050c75 +MISC metadata.xml 332 SHA256 ac09aabe02ed08000f9071abb8a88ecc8d1b6160b574f6c65ff3aae4bb76dc4b SHA512 a4952a89d043c4c8aec5a7a307d37d895880d49b381e5b881ffecf74b61c9c22cd854a68a1d1de3926431cdfad4f8ba70812be36bb7cac2df5dee8efe96dc269 WHIRLPOOL 4dbc6b0ab82a7251be3b0e123238ab45684a041d47abb0899bcd0cbc2295c54a792e64dee5d8868826046a2eb02a906981a36804f7283cace56d9cb7fd9e3492 diff --git a/dev-libs/capstone/capstone-3.0.5_rc2-r1.ebuild b/dev-libs/capstone/capstone-3.0.5_rc2-r1.ebuild new file mode 100644 index 000000000000..02b42dcd4eae --- /dev/null +++ b/dev-libs/capstone/capstone-3.0.5_rc2-r1.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DISTUTILS_OPTIONAL=1 +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) + +inherit distutils-r1 toolchain-funcs + +DESCRIPTION="disassembly/disassembler framework + bindings" +HOMEPAGE="http://www.capstone-engine.org/" +SRC_URI="https://github.com/aquynh/${PN}/archive/${PV/_rc/-rc}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/3" # libcapstone.so.3 +KEYWORDS="~amd64 ~arm ~x86" + +IUSE="python" +RDEPEND="python? ( ${PYTHON_DEPS} )" +DEPEND="${RDEPEND}" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +PATCHES=( + "${FILESDIR}"/${P}-CVE-2017-6952.patch + "${FILESDIR}"/${P}-FLAGS.patch +) + +S=${WORKDIR}/${P/_rc/-rc} + +wrap_python() { + if use python; then + pushd bindings/python >/dev/null || die + distutils-r1_${1} "$@" + popd >/dev/null + fi +} + +src_prepare() { + default + + wrap_python ${FUNCNAME} +} + +src_configure() { + { + cat <<-EOF + # Gentoo overrides: + # verbose build + V = 1 + # toolchain + AR = $(tc-getAR) + CC = $(tc-getCC) + RANLIB = $(tc-getRANLIB) + # toolchain flags + CFLAGS = ${CFLAGS} + LDFLAGS = ${LDFLAGS} + # libs + LIBDIRARCH = $(get_libdir) + EOF + } >> config.mk || die + + wrap_python ${FUNCNAME} +} + +src_compile() { + default + + wrap_python ${FUNCNAME} +} + +src_test() { + default + + wrap_python ${FUNCNAME} +} + +src_install() { + default + + wrap_python ${FUNCNAME} +} diff --git a/dev-libs/capstone/capstone-3.0.5_rc2.ebuild b/dev-libs/capstone/capstone-3.0.5_rc2.ebuild new file mode 100644 index 000000000000..80fb03207d64 --- /dev/null +++ b/dev-libs/capstone/capstone-3.0.5_rc2.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit toolchain-funcs + +DESCRIPTION="disassembly/disassembler framework + bindings" +HOMEPAGE="http://www.capstone-engine.org/" +SRC_URI="https://github.com/aquynh/${PN}/archive/${PV/_rc/-rc}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/3" # libcapstone.so.3 +KEYWORDS="~amd64 ~arm ~x86" + +RDEPEND="" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}"/${P}-CVE-2017-6952.patch + "${FILESDIR}"/${P}-FLAGS.patch +) + +S=${WORKDIR}/${P/_rc/-rc} + +src_configure() { + { + cat <<-EOF + # Gentoo overrides: + # verbose build + V = 1 + # toolchain + AR = $(tc-getAR) + CC = $(tc-getCC) + RANLIB = $(tc-getRANLIB) + # toolchain flags + CFLAGS = ${CFLAGS} + LDFLAGS = ${LDFLAGS} + # libs + LIBDIRARCH = $(get_libdir) + EOF + } >> config.mk || die + +} diff --git a/dev-libs/capstone/files/capstone-3.0.5_rc2-CVE-2017-6952.patch b/dev-libs/capstone/files/capstone-3.0.5_rc2-CVE-2017-6952.patch new file mode 100644 index 000000000000..ba16126f7411 --- /dev/null +++ b/dev-libs/capstone/files/capstone-3.0.5_rc2-CVE-2017-6952.patch @@ -0,0 +1,41 @@ +commit 6fe86eef621b9849f51a5e1e5d73258a93440403 +Author: Quang Nguyễn +Date: Mon Mar 13 22:34:48 2017 +0700 + + provide a validity check to prevent against Integer overflow conditions (#870) + + * provide a validity check to prevent against Integer overflow conditions + + * fix some style issues. + +diff --git a/windows/winkernel_mm.c b/windows/winkernel_mm.c +index c127da3a..ecdc1ca2 100644 +--- a/windows/winkernel_mm.c ++++ b/windows/winkernel_mm.c +@@ -3,6 +3,7 @@ + + #include "winkernel_mm.h" + #include ++#include + + // A pool tag for memory allocation + static const ULONG CS_WINKERNEL_POOL_TAG = 'kwsC'; +@@ -33,8 +34,16 @@ void * CAPSTONE_API cs_winkernel_malloc(size_t size) + + // FP; a use of NonPagedPool is required for Windows 7 support + #pragma prefast(suppress : 30030) // Allocating executable POOL_TYPE memory +- CS_WINKERNEL_MEMBLOCK *block = (CS_WINKERNEL_MEMBLOCK *)ExAllocatePoolWithTag( +- NonPagedPool, size + sizeof(CS_WINKERNEL_MEMBLOCK), CS_WINKERNEL_POOL_TAG); ++ size_t number_of_bytes = 0; ++ CS_WINKERNEL_MEMBLOCK *block = NULL; ++ // A specially crafted size value can trigger the overflow. ++ // If the sum in a value that overflows or underflows the capacity of the type, ++ // the function returns NULL. ++ if (!NT_SUCCESS(RtlSizeTAdd(size, sizeof(CS_WINKERNEL_MEMBLOCK), &number_of_bytes))) { ++ return NULL; ++ } ++ block = (CS_WINKERNEL_MEMBLOCK *)ExAllocatePoolWithTag( ++ NonPagedPool, number_of_bytes, CS_WINKERNEL_POOL_TAG); + if (!block) { + return NULL; + } diff --git a/dev-libs/capstone/files/capstone-3.0.5_rc2-FLAGS.patch b/dev-libs/capstone/files/capstone-3.0.5_rc2-FLAGS.patch new file mode 100644 index 000000000000..4be2ed4ba0e6 --- /dev/null +++ b/dev-libs/capstone/files/capstone-3.0.5_rc2-FLAGS.patch @@ -0,0 +1,16 @@ +Add support for user overridden CFLAGS and LDFLAGS +diff --git a/cstool/Makefile b/cstool/Makefile +index 450ac1b..3cf2a81 100644 +--- a/cstool/Makefile ++++ b/cstool/Makefile +@@ -3,2 +3,3 @@ + include ../functions.mk ++include ../config.mk + +@@ -8,4 +9,4 @@ LIBNAME = capstone + +-CFLAGS = -I../include +-LDFLAGS = -O3 -Wall -L.. -l$(LIBNAME) ++CFLAGS += -I../include ++LDFLAGS += -Wall -L.. -l$(LIBNAME) + diff --git a/dev-libs/capstone/metadata.xml b/dev-libs/capstone/metadata.xml new file mode 100644 index 000000000000..506ec45bd2c7 --- /dev/null +++ b/dev-libs/capstone/metadata.xml @@ -0,0 +1,12 @@ + + + + + + slyfox@gentoo.org + Sergei Trofimovich + + + aquynh/capstone + + diff --git a/dev-libs/cdk/Manifest b/dev-libs/cdk/Manifest new file mode 100644 index 000000000000..5ba2b4300dde --- /dev/null +++ b/dev-libs/cdk/Manifest @@ -0,0 +1,12 @@ +AUX cdk-5.0.20120323-parallel-make.patch 181 SHA256 c95bdf58913580df2a99bbc509be45ed0e1c21f0d423f4cbbe4b13678aa6f1b6 SHA512 632f272cb5e5e9f927d7cd608ac7a001bfe560a035cde68e0243d80bda5cb1ddce2263fd8823455c96044676ab36067306572e6ed0347b83d4b630956b611c3b WHIRLPOOL e1d1d26c363cfdead57a53f4a1ec0fe52ef7343f827e6d5af9f9ffdd7bdce3a21203b19917dfe8df22ecb1e1dca55852a521125b31eecdd25b9882472b9312ee +DIST cdk-5.0-20131107.tgz 495455 SHA256 2b3670b95d330cce34ddd929f985c423cf86b05ba8a33bf5f217c4702131f565 SHA512 93e0c78bfd12fb9c554b9b6996b9c93542201afb67ddd63ecea7330171ca079da73d81b3f3b2f27a28ecd3527ed6c7333203a9438ecd196a66d3bad78233f439 WHIRLPOOL bedf5a441175436fb0eb54b216a61acd296d97dbbb2be1eb817b024778f58383f0ea00f6159c67c05f116f21ad6e0030a2d979aa8db2798a4f103f36f3e3198b +DIST cdk-5.0-20141106.tgz 509310 SHA256 d7ce8d9698b4998fa49a63b6e19309d3eb61cc3a019bfc95101d845ef03c4803 SHA512 8a92363c8036acb61fe8dcfcf3690653f2573407123b8c684c0bf165d5b99b6a4c7e8bcded8773304ebc13108e90ae3488f0e74ed026f3bc69f6a5b007e651e4 WHIRLPOOL d497624acb49bec7a1f18afe13c1279f5e8c06b71d4f904b88b9f639e01fae0b4d959ae90df169c477292e0f56f787944e5cffddb4416d30d85784155bde2dee +DIST cdk-5.0-20150928.tgz 515214 SHA256 028da75d5f777a1c4184f88e34918bd273bd83bbe3c959bc11710c4f0ea2e448 SHA512 5774e28d91edd477854e30eb456b7725987e82ec27f5cf055c1d1e46581e11d2958bafbac408124f274bf7454be68476d18643a265df7c74b8f43eb1895bf19d WHIRLPOOL 637cf7405139dedb82a21b3481f8673fd3c27289813e74da44afe739c258d6674fd4288f202166b9a624357ea686971010c06250f7770c2c37d538f0e7fbb12b +DIST cdk-5.0-20160131.tgz 516298 SHA256 c32d075806c231b96ca3778bd24132c7aa0ba9a126f3cebb8a16c59a8b132c22 SHA512 f8f7fc5fec3c040cdbfc2a0d886e9d9d9d231e56ed69adae0b91e03243b5edd550c5435f973a93d4cf7ab723bd27b55712af75162c4bfd3ae28b3c16cd68f755 WHIRLPOOL f9d7440394dc10ea04f4a8bb67abc3f63ab5349544601d401ceb2acd093e1d6b524e556f8e7eb3e53a49afddb7d3eabb727b30a64d283c10644f61f6fed37626 +EBUILD cdk-5.0.20131107.ebuild 1204 SHA256 ae0cb5feb2b8e9f9cd9f3bbb924a145e1144787b66dd11690942fc4cac82fa58 SHA512 d803eca2a215253e1e2ae6aa152fcdf6254597e8d1e53a0b0c0aabf978db17f46061442a77b424f61d38a331f59c0ac64b3b355a05e9cb3544881ff5041667e3 WHIRLPOOL aec988b9d5522e42cc5b3508f43570ad44ab345c120ba46f3b93294e44fcbecd04a3ad0040cc8eeff871b2ce2fdc04873b2d6551c4bc97675ad0e4e0ccc00056 +EBUILD cdk-5.0.20141106.ebuild 1204 SHA256 f8d85985df243d7d6ab38dbec77e05ebbba6a2f67d3ba74ba41e74aa5f640f47 SHA512 0afbc74e48e0633b4c6aabbc44db5a3988319cbb83572de58d0df78350ee43fdd3fcfa21879175891da2d6a3ff6bfb522aa4db27256fdea6a9df652bd896e0fc WHIRLPOOL a630bd4a551adfbbdae8e5e482406a3bc7a913b42577eb9cd23b95e6fe9b7c1e12ee6570d574711d2fe5dfec99cb5a81f7ed2ac39102fa60a04326748744c207 +EBUILD cdk-5.0.20150928.ebuild 1194 SHA256 0a99335682401f5f07fc429ef3148688611dc8af0b67eaa17595e6a0e120e6c6 SHA512 8f44f1589a0e001a27e72d35592ea16479b54cfe800398ab77aed3e4338998fee08214dadd88e7d6f3e5528f57c12066cd42f4245b10fe01fb7acfe6231d3b33 WHIRLPOOL 2850054be346aa29b025d99195bb26f45b2f9938c69462aad12ff845779767998778bccba29bfbcbce3e3236fa30a2d3bc1d7e5af971d635a8631a2700c247d9 +EBUILD cdk-5.0.20160131.ebuild 1189 SHA256 fe81697f2804f2d8a3ddcec97da2a2ec2c13622e12a1cddaa1e28b723dd9ce8b SHA512 c627b3f9e947afdaaeda01f5a71476c4782e3825031093dda466bce27349ba3fd25263bb8e4d8252ebcda1922983c2a0e356d415097c0d9a1099be2aa17c8b08 WHIRLPOOL 31f1a621d2cb1d3b860a7293bc1d1586f23efe211f3fb02c87ae75c72a661476e85df90e7b3d9336ca662cefd99e0b0e8c8c976f43f38b8b9cb15d4d64c1e5d6 +MISC ChangeLog 4667 SHA256 4077de73189b4ba23ee58df2f6121ac8a826f7ff5cecbf801202359feba53367 SHA512 fa7f0c520ee2159c181a162450931625366b9b31d2f74a9030145a78962df60df799b1f672445575e2b6fb2995ce2d33eec6210a6a0cd1e4678418ea3d5d2266 WHIRLPOOL a0b9ca531dd81df393e7d01cb13940d7b85daff3c753ba226fbd0768173b8b29c6478b943390fd97a72e1e3324cbb8377027914d858a2b27c45e4ebfa858faa6 +MISC ChangeLog-2015 12172 SHA256 8eb1fcd86a74b925cfd3f142925d3bc9007476d96a126857836896425dd70e54 SHA512 4137a42889f59d761180b412fb0402acdd54fca833e1ce7df75e4a9e3819b7f9b53c2c6b6895611476a2179237d51c465c136e6a4d19651054d3c5d5b9d8bc62 WHIRLPOOL 8aff58e014dbc9df113dd67d480cdab88030e5ad355a894ad7b3d3c9b569ce82f19bfc72d53f8d5098c02606d4ba07f4f93e29841bd293be8ebcf4e22dc6aad2 +MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968 diff --git a/dev-libs/cdk/cdk-5.0.20131107.ebuild b/dev-libs/cdk/cdk-5.0.20131107.ebuild new file mode 100644 index 000000000000..5c675054db0f --- /dev/null +++ b/dev-libs/cdk/cdk-5.0.20131107.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils versionator + +MY_P="${PN}-$(replace_version_separator 2 -)" +DESCRIPTION="A library of curses widgets" +HOMEPAGE="http://dickey.his.com/cdk/cdk.html" +SRC_URI="ftp://invisible-island.net/cdk/${MY_P}.tgz" + +LICENSE="BSD" +SLOT="0/5" # subslot = soname version +KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 ~s390 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris" +IUSE="examples static-libs unicode" + +DEPEND=">=sys-libs/ncurses-5.2[unicode?]" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + epatch "${FILESDIR}"/${PN}-5.0.20120323-parallel-make.patch +} + +src_configure() { + econf \ + --with-libtool \ + --with-shared \ + --with-ncurses$(usex unicode "w" "") +} + +src_install() { + # parallel make installs duplicate libs + emake -j1 \ + DESTDIR="${ED}" \ + DOCUMENT_DIR="${ED}/usr/share/doc/${PF}" install + + if use examples ; then + for x in include c++ demos examples cli cli/utils cli/samples; do + docinto $x + find $x -maxdepth 1 -mindepth 1 -type f -print0 | xargs -0 dodoc + done + fi + + use static-libs || find "${ED}" \( -name '*.a' -or -name '*.la' \) -delete +} diff --git a/dev-libs/cdk/cdk-5.0.20141106.ebuild b/dev-libs/cdk/cdk-5.0.20141106.ebuild new file mode 100644 index 000000000000..b1cc6ecfcfda --- /dev/null +++ b/dev-libs/cdk/cdk-5.0.20141106.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils versionator + +MY_P="${PN}-$(replace_version_separator 2 -)" +DESCRIPTION="A library of curses widgets" +HOMEPAGE="http://dickey.his.com/cdk/cdk.html" +SRC_URI="ftp://invisible-island.net/cdk/${MY_P}.tgz" + +LICENSE="BSD" +SLOT="0/6" # subslot = soname version +KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 ~s390 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris" +IUSE="examples static-libs unicode" + +DEPEND=">=sys-libs/ncurses-5.2[unicode?]" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + epatch "${FILESDIR}"/${PN}-5.0.20120323-parallel-make.patch +} + +src_configure() { + econf \ + --with-libtool \ + --with-shared \ + --with-ncurses$(usex unicode "w" "") +} + +src_install() { + # parallel make installs duplicate libs + emake -j1 \ + DESTDIR="${ED}" \ + DOCUMENT_DIR="${ED}/usr/share/doc/${PF}" install + + if use examples ; then + for x in include c++ demos examples cli cli/utils cli/samples; do + docinto $x + find $x -maxdepth 1 -mindepth 1 -type f -print0 | xargs -0 dodoc + done + fi + + use static-libs || find "${ED}" \( -name '*.a' -or -name '*.la' \) -delete +} diff --git a/dev-libs/cdk/cdk-5.0.20150928.ebuild b/dev-libs/cdk/cdk-5.0.20150928.ebuild new file mode 100644 index 000000000000..4b8a3c2fb2ab --- /dev/null +++ b/dev-libs/cdk/cdk-5.0.20150928.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit versionator + +MY_P="${PN}-$(replace_version_separator 2 -)" +DESCRIPTION="A library of curses widgets" +HOMEPAGE="http://dickey.his.com/cdk/cdk.html" +SRC_URI="ftp://invisible-island.net/cdk/${MY_P}.tgz" + +LICENSE="BSD" +SLOT="0/6" # subslot = soname version +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris" +IUSE="examples static-libs unicode" + +DEPEND=">=sys-libs/ncurses-5.2:0=[unicode?]" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/${MY_P} + +PATCHES=( "${FILESDIR}"/${PN}-5.0.20120323-parallel-make.patch ) + +src_configure() { + econf \ + --with-libtool \ + --with-shared \ + --with-ncurses$(usex unicode "w" "") +} + +src_install() { + # parallel make installs duplicate libs + emake -j1 \ + DESTDIR="${ED}" \ + DOCUMENT_DIR="${ED}/usr/share/doc/${PF}" install + + if use examples ; then + for x in include c++ demos examples cli cli/utils cli/samples; do + docinto $x + find $x -maxdepth 1 -mindepth 1 -type f -print0 | xargs -0 dodoc + done + fi + + use static-libs || find "${ED}" \( -name '*.a' -or -name '*.la' \) -delete +} diff --git a/dev-libs/cdk/cdk-5.0.20160131.ebuild b/dev-libs/cdk/cdk-5.0.20160131.ebuild new file mode 100644 index 000000000000..9701ca42ddd8 --- /dev/null +++ b/dev-libs/cdk/cdk-5.0.20160131.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit versionator + +MY_P="${PN}-$(replace_version_separator 2 -)" +DESCRIPTION="A library of curses widgets" +HOMEPAGE="http://dickey.his.com/cdk/cdk.html" +SRC_URI="ftp://invisible-island.net/cdk/${MY_P}.tgz" + +LICENSE="BSD" +SLOT="0/6" # subslot = soname version +KEYWORDS="alpha ~amd64 hppa ia64 ppc ppc64 ~s390 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris" +IUSE="examples static-libs unicode" + +DEPEND=">=sys-libs/ncurses-5.2:0=[unicode?]" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/${MY_P} + +PATCHES=( "${FILESDIR}"/${PN}-5.0.20120323-parallel-make.patch ) + +src_configure() { + econf \ + --with-libtool \ + --with-shared \ + --with-ncurses$(usex unicode "w" "") +} + +src_install() { + # parallel make installs duplicate libs + emake -j1 \ + DESTDIR="${ED}" \ + DOCUMENT_DIR="${ED}/usr/share/doc/${PF}" install + + if use examples ; then + for x in include c++ demos examples cli cli/utils cli/samples; do + docinto $x + find $x -maxdepth 1 -mindepth 1 -type f -print0 | xargs -0 dodoc + done + fi + + use static-libs || find "${ED}" \( -name '*.a' -or -name '*.la' \) -delete +} diff --git a/dev-libs/cdk/files/cdk-5.0.20120323-parallel-make.patch b/dev-libs/cdk/files/cdk-5.0.20120323-parallel-make.patch new file mode 100644 index 000000000000..aa5a1dce04e7 --- /dev/null +++ b/dev-libs/cdk/files/cdk-5.0.20120323-parallel-make.patch @@ -0,0 +1,12 @@ +--- a/Makefile.in ++++ b/Makefile.in +@@ -269,7 +269,7 @@ + + all sources :: $(AUTO_SRC) + +-$(OBJECTS) : include/cdk_config.h ++$(OBJECTS) : $(MY_HDR) + + # + # Standard library directive. + diff --git a/dev-libs/cdk/metadata.xml b/dev-libs/cdk/metadata.xml new file mode 100644 index 000000000000..6f49eba8f496 --- /dev/null +++ b/dev-libs/cdk/metadata.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/dev-libs/cereal/Manifest b/dev-libs/cereal/Manifest new file mode 100644 index 000000000000..df37c9193a5e --- /dev/null +++ b/dev-libs/cereal/Manifest @@ -0,0 +1,6 @@ +DIST cereal-1.2.1.tar.gz 301994 SHA256 7d321c22ea1280b47ddb06f3e9702fcdbb2910ff2f3df0a2554804210714434e SHA512 f0050f27433a4b544e7785aa94fc7b14a57eed6d542e25d3d0fda4d27cf55ea55e796be2138bf80809c96c392436513fe42764b3a456938395bf7f7177dd1c73 WHIRLPOOL d17573dc44b4cf610b4dd0d295f414a58bea39729537f2cabb2ebbba4ba6e899df1f5a43f8959b9afa55a0b1123ec53cf61eabe8c6dcd534619caaf567f6b1b8 +DIST cereal-1.2.2.tar.gz 335759 SHA256 1921f26d2e1daf9132da3c432e2fd02093ecaedf846e65d7679ddf868c7289c4 SHA512 9567b2e19add9446b24f8afd122eea09ba6ecd1a090335cf0ab31fdc8f64c6c97daa3d9eaf0801c36a770737488e0eebf81d96d7b7a65deed30da6130f2d47eb WHIRLPOOL da86bf4cb03f0f7eaf682e651c1e39a382dff1a160d21b7a2e946df2bbdd6a8234bd751ca71ae6f2f64e6ddbdca44effaff0e8d4e8f611fbab862744c15677ff +EBUILD cereal-1.2.1.ebuild 585 SHA256 ea801ef7c97a54eceb6ad0ae46c1f1b9d6bbc4dfb35e1d7d2dd1814eb3cdf6f2 SHA512 8be4219a1f3e2f9a74e4920f3786a2843238db2029a0c248f60f532dc859b2331567a7b60121f31fd6a144b10cf1f2e355a37dc71eb769407cc50b20e234ca76 WHIRLPOOL 5a05186dc99370b2950c5685285604a9806a3cd7f36398163062b8136331ef90d606d8229d99be406dea2260faf778cd70c20233d8a5bc0be1d2fe4df2706743 +EBUILD cereal-1.2.2.ebuild 533 SHA256 2d867b7557b6ccd7c05d5334bd713e87d47e45368abf1a2db8957d63cb8c9ce1 SHA512 e3ef43ef0951d82a241be5fa3484b0a253029eca7a4a354123b93a95e918310f683d73cf4d05f5393c0ada4fa8ab748e82c632cd067fe26943605a802f9e1c51 WHIRLPOOL 211085c3db2ac01b387eb106529d129f78556da84adc0a000a61b728ec91d6c3d1cab01f97c38d571b95876d78458202423e5546a4d44648d63cae630db6d14f +MISC ChangeLog 433 SHA256 026a14d3fe5178f178b367b6c8f0cc1d19a74fa5fb9667558e243d73f279d62a SHA512 abc610ca3672d3307c85b52333032a463ea3456f1c0555298a160373a1cf2393723fa6430015a012705e66d7d02957a9c733267a69abf5d118cc1655a114a0f1 WHIRLPOOL 394b815bbb1c18b4e480552646f5274e565e45c30acabcea29d256e763b51cb6447b058915766114144cf847c5e049275ddd3275f3324285859a94a4c114fe77 +MISC metadata.xml 332 SHA256 d92b4b95ae4d72f5c2545278bbacc642fcd158ffa0c78ec9066e5ce1f098ed37 SHA512 efca0ade811924778a8cf3694bb6615636e8dcb9ae131b48659671293b49c8970be2e66dad7d413877246c8b0178656216c361364c02834e1eef8784e772191c WHIRLPOOL 60dc19d2837f73edb5afedd38fe854f010ca3964570da3c383b6c1488c480d2744a360743ee80d5afa133ec406ce497126d23dad0b0d90d5435618de4ce2da72 diff --git a/dev-libs/cereal/cereal-1.2.1.ebuild b/dev-libs/cereal/cereal-1.2.1.ebuild new file mode 100644 index 000000000000..038a8c4469b5 --- /dev/null +++ b/dev-libs/cereal/cereal-1.2.1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils + +DESCRIPTION="header-only C++11 serialization library" +HOMEPAGE="http://uscilab.github.io/cereal/" +SRC_URI="https://github.com/USCiLab/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +DEPEND="test? ( dev-libs/boost )" + +src_prepare() { + sed -i 's/-Werror//' CMakeLists.txt || die + default +} + +src_configure() { + mycmakeargs=( + -DJUST_INSTALL_CEREAL=$(usex !test) + ) + cmake-utils_src_configure +} diff --git a/dev-libs/cereal/cereal-1.2.2.ebuild b/dev-libs/cereal/cereal-1.2.2.ebuild new file mode 100644 index 000000000000..a873eb5bdfc5 --- /dev/null +++ b/dev-libs/cereal/cereal-1.2.2.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils + +DESCRIPTION="header-only C++11 serialization library" +HOMEPAGE="http://uscilab.github.io/cereal/" +SRC_URI="https://github.com/USCiLab/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +DEPEND="test? ( dev-libs/boost )" + +src_configure() { + mycmakeargs=( + -DJUST_INSTALL_CEREAL=$(usex !test) + -DWITH_WERROR=OFF + ) + cmake-utils_src_configure +} diff --git a/dev-libs/cereal/metadata.xml b/dev-libs/cereal/metadata.xml new file mode 100644 index 000000000000..121a5e6a9585 --- /dev/null +++ b/dev-libs/cereal/metadata.xml @@ -0,0 +1,11 @@ + + + + + junghans@gentoo.org + Christoph Junghans + + + USCiLab/cereal + + diff --git a/dev-libs/cgicc/Manifest b/dev-libs/cgicc/Manifest new file mode 100644 index 000000000000..5092c7fa2f32 --- /dev/null +++ b/dev-libs/cgicc/Manifest @@ -0,0 +1,9 @@ +AUX 3.2.10-fix-pkgconfig.patch 419 SHA256 825559a99380f35e634cd634b6549cc6f65fbf23c4f5baa5d72cc042da5a8941 SHA512 f2b688795317f11f67070b94227ef75afed02353cba5d0d98918a6107fc3a1ec107ab1b33ec29b32047098ca0d2acfda087016eef7de16be58af72ea7dd53977 WHIRLPOOL ce71afd094255aecac9fed490fdeb5edbbdea6d6859b0d60a069d806fa4a18fbf3cc26c13314f3bcd7f333af198255eecc9dd35b35c87d79d8bc6b5258afd052 +AUX cgicc-3.2.16-fix-doc-building.patch 812 SHA256 c23165b1d5936787fad76988c700239980df5bd325198a3ba6330bc9f3b88aed SHA512 c31d72d32dc0df5ec5b5d2286865e969d4ec432b3551c533d2b23c1acae8c4a821ea7891980f2af22da16c71f0561a19a38070a4394f43b4cfc4ec9ec5ed51e1 WHIRLPOOL 33df4d299c1bee3359e2e651066be908864391d1722f7b6b06deb1f82719badebe3e7627c4598ed31fcd3fde9c616ff7f64a100d1956e4e30c957f931202027b +DIST cgicc-3.2.16.tar.gz 1409037 SHA256 9dceb36d2da52791ee11f2fb5bb6435c22e69ef50f38073c4329386b883d5aaa SHA512 3334777204f3de57e80f759503db08076fe8e7a12cf779bb50345e7d06c6be4cc612b473bd74eded5debd79684b49c5bb79bcfff1b631a815c7fe9d14960d537 WHIRLPOOL d55900ff650c5f42ec385eb4b20d41b8ee131ecd1ba3e1a27dc21326633281651e5ea4e0e7bde71f11ed2440282e7f1d52bbe9e1cae754f5afa2de358a38bdc5 +DIST cgicc-3.2.9.tar.gz 2087796 SHA256 7bf392da75787e848ddf04395a5ed08fc472411deaa07cbae2c3edbea8fbeed4 SHA512 bd02750a0ad81a64c017e8ccf6cee0c6801506bdc00ea4b0a5e4ea28e35e453122e3e25b3578cb1cb7b22011d5147b99ed79bf7c4702d4c7ab404096aabca623 WHIRLPOOL 01f0da6ca0c28415ed44ab37f3ea56892d18c1dd57a9724bbc0c86bac20e6954bb29b826c96a72cbe8ea99bddcba12b18f9d21c17e5216a20406d931224b6a07 +EBUILD cgicc-3.2.16.ebuild 939 SHA256 6c9e229a2a3a755ee2ac7528c9d785fcf3e6b7e7391286a7af5637d6c531ba8d SHA512 9b0197404e270b1c92d468c0caaa376071e654ff0661598d5d1c7eab337ac2f5a8988ec54b6e17c610df1034b23a52d20d18ebb0657f47ace2c1bda64cf742d5 WHIRLPOOL 3aeee50b3e2091ab9c1ba9545e4c2074ee244c30e559010f95aab46965f80434e8f4b2eef7f5829680eeb02c4a5eeb5a3dbf089d8bea4503904b6e3cdf465bb0 +EBUILD cgicc-3.2.9.ebuild 898 SHA256 0fc0b90e8c383f1d279aa36031b9580e3779265bb8a4a8ab5a9ae06395c68798 SHA512 429e72a2428969da7d93ef99f6be25148cc25f980305bb929957ff8775a2dc1308f31d972e48dd653fe74bba83a09b23749e663a2d83a427f3c58ef42c97f77f WHIRLPOOL c070514cf4ec0fc30ecc26c85b5f6095db638000a2d14769cff967b2c6fe8261eb4407e8a192570a4e16990b36037499350da622729247c5b65ce674ab6c4f35 +MISC ChangeLog 3490 SHA256 633a3e0f0c67454df9b9e75306508a55593aa20a248464250f01c175be382d7d SHA512 dd71691a348ac3965609000a3032f13dbb3d1c91ae58d3c3e75136ec6a9333d41f1ac13cc616d82990333f9caa99cd4d293b4e835d0a25a82cfbf69ed2795f93 WHIRLPOOL 761f8143a875d934e3221bf79da01c591ca29882281a3e7189a83c1e62a9b5ca88ebb4305e3cecfff2c653c26e9aa1a4089282e7582cd284635970699ce1ba06 +MISC ChangeLog-2015 2149 SHA256 bfda7a38489326eea7e10ae6ac11e5927c8aaaa001b0824f9b92ed2dcfb403ed SHA512 267c08eb4168621f5c5ba2691d98782e6c283929ed3f0c91f6df6497ee31c254a77780f1e372f38e4e3d803eca256150c999fec7a4dddd35bedd60281bcf842e WHIRLPOOL de34cf8137754f365de270af7bfde5da490a93884712b684e26b7a88f0974ca612a9f8517027ecf5a02807cec49aeb0b39273f7a9e006392aeafd1c9cc434d3f +MISC metadata.xml 875 SHA256 39138a7def5dc86258fe2512e304616db27220c76a03e790a8a968d4e9f04d07 SHA512 4ed7b605ecb6b1af7d962fdb524e40723fa65b207e23c08da8c78dd17588ac2c4373ff105e9cbb2552ee09908c671d8ff8fb3d32ad8d8e69447f21b2884ec5dd WHIRLPOOL 5a71c124370e39d65f42531b3b33c2c0a7a3f6f4b832c98b7c72010301652b66c1a390773493ab6ab4817aca8047c47b5a7795277700efd49f08b1e6209597ed diff --git a/dev-libs/cgicc/cgicc-3.2.16.ebuild b/dev-libs/cgicc/cgicc-3.2.16.ebuild new file mode 100644 index 000000000000..84c5498b2c95 --- /dev/null +++ b/dev-libs/cgicc/cgicc-3.2.16.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools + +DESCRIPTION="A C++ class library for writing CGI applications" +HOMEPAGE="https://www.gnu.org/software/cgicc/" +SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" + +LICENSE="LGPL-3 doc? ( FDL-1.2 )" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc examples static-libs" + +RDEPEND="" +DEPEND="doc? ( app-doc/doxygen )" + +PATCHES=( + "${FILESDIR}/3.2.10-fix-pkgconfig.patch" + "${FILESDIR}/${PN}-3.2.16-fix-doc-building.patch" +) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf \ + $(use_enable examples demos) \ + $(use_enable doc) \ + $(use_enable static-libs static) +} + +src_install() { + default + + # package provides .pc files + find "${D}" -name '*.la' -delete || die + + if use examples; then + docinto examples + dodoc {contrib,demo}/{*.{cpp,h},*.cgi,README} + docompress -x /usr/share/doc/${PF}/examples + fi +} diff --git a/dev-libs/cgicc/cgicc-3.2.9.ebuild b/dev-libs/cgicc/cgicc-3.2.9.ebuild new file mode 100644 index 000000000000..393b55599081 --- /dev/null +++ b/dev-libs/cgicc/cgicc-3.2.9.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +DESCRIPTION="A C++ class library for writing CGI applications" +HOMEPAGE="https://www.gnu.org/software/cgicc/" +SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" + +LICENSE="LGPL-3 doc? ( FDL-1.2 )" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="doc" + +RDEPEND="" +DEPEND="doc? ( app-doc/doxygen )" + +src_configure() { + if ! use doc; then + sed -i \ + -e 's/^\(SUBDIRS = .*\) doc \(.*\)/\1 \2/' \ + Makefile.in || die + fi + + econf \ + --htmldir="${EPREFIX}/usr/share/doc/${PF}/html" \ + --disable-dependency-tracking \ + --disable-demos +} + +src_install() { + default + + dodoc AUTHORS BUGS ChangeLog NEWS README* THANKS + + if use doc; then + insinto /usr/share/doc/${PF}/contrib + doins contrib/*.{cpp,h} contrib/README + + insinto /usr/share/doc/${PF}/demo + doins -r demo/*.{cpp,h} demo/images demo/README + fi +} diff --git a/dev-libs/cgicc/files/3.2.10-fix-pkgconfig.patch b/dev-libs/cgicc/files/3.2.10-fix-pkgconfig.patch new file mode 100644 index 000000000000..af1c069334e9 --- /dev/null +++ b/dev-libs/cgicc/files/3.2.10-fix-pkgconfig.patch @@ -0,0 +1,13 @@ +diff --git a/cgicc.pc.in b/cgicc.pc.in +index 2006be8..e42c9bf 100644 +--- a/cgicc.pc.in ++++ b/cgicc.pc.in +@@ -7,5 +7,5 @@ Name: cgicc + Description: GNU cgicc is an ANSI C++ compliant class library that greatly simplifies the creation of CGI applications for the World Wide Web. + Requires: + Version: @VERSION@ +-Libs: -L${libdir} +-Cflags: +\ No newline at end of file ++Libs: -L${libdir} -lcgicc ++Cflags: -I${includedir} diff --git a/dev-libs/cgicc/files/cgicc-3.2.16-fix-doc-building.patch b/dev-libs/cgicc/files/cgicc-3.2.16-fix-doc-building.patch new file mode 100644 index 000000000000..4430ffafaf95 --- /dev/null +++ b/dev-libs/cgicc/files/cgicc-3.2.16-fix-doc-building.patch @@ -0,0 +1,34 @@ +Fix build system properly, such that hacking the Makefile.in's +is not required anymore. + +--- a/configure.ac ++++ b/configure.ac +@@ -77,6 +77,13 @@ + AC_MSG_RESULT($cgicc_demos) + AM_CONDITIONAL(DEMOS, test "$cgicc_demos" = yes) + ++dnl enable/disable the docs, if specified ++AC_ARG_ENABLE([doc], ++ AS_HELP_STRING([--disable-doc], [Disable building documentation])) ++AC_MSG_CHECKING([whether to build the cgicc docs]) ++AC_MSG_RESULT([$enable_doc]) ++AM_CONDITIONAL([DOCS], [test "x$enable_doc" != "xno"]) ++ + if test "$cgicc_demos" = yes; then + AC_CONFIG_FILES(demo/Makefile) + AC_CHECK_FUNCS([gethostbyaddr]) +--- a/Makefile.am ++++ b/Makefile.am +@@ -10,7 +10,11 @@ + + ACLOCAL_AMFLAGS= + +-SUBDIRS = cgicc doc support $(DEMO) ++SUBDIRS = cgicc support $(DEMO) ++ ++if DOCS ++SUBDIRS += doc ++endif + + CLEANFILES = *~ + diff --git a/dev-libs/cgicc/metadata.xml b/dev-libs/cgicc/metadata.xml new file mode 100644 index 000000000000..644b8d29d3a6 --- /dev/null +++ b/dev-libs/cgicc/metadata.xml @@ -0,0 +1,23 @@ + + + + + cpp@gentoo.org + Gentoo C++ Project + + +GNU cgicc is an ANSI C++ compliant class library that greatly +simplifies the creation of CGI applications for the World Wide +Web. cgicc performs the following functions: + + - Parses both GET and POST form data transparently + - Provides string, integer, floating-point and single- and + multiple-choice retrieval methods for form data + - Provides methods for saving and restoring CGI environments to aid + in application debugging + - Provides full on-the-fly HTML 4.0 generation capabilities, with support + for cookies + - Supports HTTP file upload + - Compatible with FastCGI + + diff --git a/dev-libs/cgilib/Manifest b/dev-libs/cgilib/Manifest new file mode 100644 index 000000000000..d899765bff28 --- /dev/null +++ b/dev-libs/cgilib/Manifest @@ -0,0 +1,5 @@ +DIST cgilib-0.7.tar.gz 268783 SHA256 09b7d71bd1eea10bb404cd665fd5abe69282144ce01d96f2863c85fd42d5d692 SHA512 9feaa6c18e0c8ebbffa2682c07e584ab4970e0b98b61507ba67b83c920d9ba9012244fa96c95ab71121728b9945269683a2eef274cd56660576ae9b055861c83 WHIRLPOOL 50d9d1677e5f5e756d4ebe4e6a038e5689609926ec035b9d2f1e0aad56216d535b33c65e7db1ef1e2bcc47a70c96ecec9b03c5d7d60755abc7fbcb04544fb9f1 +EBUILD cgilib-0.7.ebuild 582 SHA256 be6d44fbc4ba3e00486f4980fb2139ef176aef4d38ef27a997faf9f9ac9e8cdb SHA512 c056ce8d29e102cabaabb07c4c9a03aee93583d7be137250c2013c4c34b350d06f9081bcaa826881eb3e342c2c962b1e42ea33cb7f98a384189661098e4b8955 WHIRLPOOL 1f80307f0dae6f05da840ae23fc751b6eede72b029dc886d42653961b8c9ed8ee85d12f20d5a0934844d91c17fb0b402e7dc37b89ba540287303c938706277d5 +MISC ChangeLog 2420 SHA256 1f93de8613abc596df5ccbdeee50abd881e4576e8a2efb866b3349e941711099 SHA512 29a21c205c12164a08d2ed3f54cbbbe6ae212f4a3b87f222e1ae41d1143699bf363882aeef67df1e5cb36ceba9b959182837fec49c70a062e6b0865376a7b270 WHIRLPOOL 7e7f25aba87f525ea662756fd502de47f2937bc114cd093b0c2c4650600e7c9b41ec3b502a74e49263db8fb3499f6cf7ec742f88fb3520f4a4afc7c8a76e87a7 +MISC ChangeLog-2015 4132 SHA256 9f31177cc1204efb5420cd0ccd0996b2141d5468ca59a4c54477cc3e4279b960 SHA512 5f9cd70917a40e2c3733d31341289618a1fa51ed8dfcb63a09eb01d324d3d9bd57c98087ccaf5aaee82985f69072ca74b483c98131c3b6ffb95e4831ffc0abfe WHIRLPOOL c0eab50d6ee7ca3be33bb784af0e992e6528fa7549655fc1ec8a362794f35fd3bff543d934a3e9afe07a8505aedb97745a129e96ca31cbbbae439816c2d9926b +MISC metadata.xml 280 SHA256 b04c5b9d91f6c4d6e36583488fd032751034d1e035085609c9bdf7677cf1e83f SHA512 8b56802e5524808b11ab857779ce04fb2d07cae87376f67490178601a9aecf7ad9f95743709b46048a425598d4cf8dcf01ef78cc97009d78e26a7728453150ef WHIRLPOOL 6f3756b9ac748acccb6ac5a4de133cf93988e8c904f606376fecbb6a21ce038e86437fecca43b2521538da2570d33ff1a6a1e0cab290a3d71a9b4f2734f16328 diff --git a/dev-libs/cgilib/cgilib-0.7.ebuild b/dev-libs/cgilib/cgilib-0.7.ebuild new file mode 100644 index 000000000000..12578b4f1442 --- /dev/null +++ b/dev-libs/cgilib/cgilib-0.7.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="4" + +inherit autotools autotools-utils + +DESCRIPTION="A simple and lightweight interface to the CGI for C and C++ programs" +HOMEPAGE="http://www.infodrom.org/projects/cgilib/" +SRC_URI="http://www.infodrom.org/projects/${PN}/download/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86" +IUSE="static-libs" + +DOCS=( AUTHORS ChangeLog README cookies.txt ) + +src_prepare() { + autotools-utils_src_prepare + eautoreconf +} diff --git a/dev-libs/cgilib/metadata.xml b/dev-libs/cgilib/metadata.xml new file mode 100644 index 000000000000..2c2a7923cfc8 --- /dev/null +++ b/dev-libs/cgilib/metadata.xml @@ -0,0 +1,8 @@ + + + + + netmon@gentoo.org + Gentoo network monitoring and analysis project + + diff --git a/dev-libs/check/Manifest b/dev-libs/check/Manifest new file mode 100644 index 000000000000..335fa66589b1 --- /dev/null +++ b/dev-libs/check/Manifest @@ -0,0 +1,12 @@ +AUX check-0.9.10-AM_PATH_CHECK.patch 1287 SHA256 7da055a54dfdb5cb7f3d413d05e1561163422f72191ad52b6a5f84c1833a9177 SHA512 c8c4d667032b62ddc49dee04034a9f6007a13795540b55088df49037d0aa238e0685eaf2b57cd16e6df3ef1e3fc3714a90cf3e40a6972f8c6b164b775aa53c73 WHIRLPOOL 1b6f02cb93139f3c43bf7e61542834e71c3ef7eacb8b52945d4203591a0c43e597686c90feacc4250f734817a3f87cd50fde96b0041d321a02a90b940acb6052 +DIST check-0.10.0-github.tar.gz 257887 SHA256 38daf46cc8bf9081d63970b6ea371e8462beb5e77c03443f275cf4b10ac3a0c2 SHA512 d4a5881e07c9285a5ca4eff6f63172b19c968bab3cd5cfc06c2be54fd25ef71d63b0bd6b425c7af5cfe89d7bc3fae17e56b8648cad1db58a9972e6de1b6fd96f WHIRLPOOL f254b3cd77db9735388f482aaf0d93be24a6bbea08558632d28eeb9d0573ea73ef4d9c36b2e0571fa7c938e288d8261a51dede5bb0ccd8a2671f5788512a230a +DIST check-0.10.0.tar.gz 769119 SHA256 f5f50766aa6f8fe5a2df752666ca01a950add45079aa06416b83765b1cf71052 SHA512 82103a98382c41cf16f172ded66c0399d3da6eceb6728aab11120c028e8796f6d545a98dc4aa5f76ee68c0bfd1f842a4dd371f5d670c8ba84ce4209812bf1ac5 WHIRLPOOL d3399a2500a4a1f6fa8865fe75af67e98a22587edd2525d144f4f403dd313cc59b7622cd77cfd885b9e3dfd737e2bef5366d28062b2975c882ffac6253b02b29 +DIST check-0.11.0-github.tar.gz 275579 SHA256 df18bb72ba31eed2e06c21dd97402174500a211645e4b3748e9e277551acc97d SHA512 829adee2a5793dda6ac88162e355268019dd82e7a8ad95f1287bd262c3a7764425fba6a8347f1aeebdad642a972043b70aa59d54c87b3c46e1b5b569290dc359 WHIRLPOOL a37225f70a27bf78e6d6d1eb27596f9778ef809aaee834d0a75de407daa160d8c98ab6aaebc98fa18dddf332a0d110faff073c62dc37f037ed7923ea6507b563 +DIST check-0.9.11.tar.gz 691146 SHA256 ea4e8c7ffb00bb4ffb3f59f11744a71f1cc4212c79f3083c7d9a4b0953976936 SHA512 10883709463b76f6650197db989c348d9d07ccaa2cacc0bd6bd177bbcc1e9e0d88746c2e110e620ab18c23cb5f41b95797d60d77de279af1a810a42b355b742e WHIRLPOOL 9559104a68b2f1215e9b00affb4711a69bf3e4e94e0ec894de66f0f77b5637187bb183560e29d0a889ff04d0e07f2785fc407128dee1ba74d584ce9a0ff9a3b1 +EBUILD check-0.10.0-r1.ebuild 1798 SHA256 5bc1f705487f976c74d5f867e176770969079fa58caa08ae9bdf9efce0d3e8ed SHA512 ab0c17c8cebc36734e0fc59a1fc9c8683bb383bedafe1891beb6cb38d5ff816143c1ef2ecc7b5308ba516e23b416982eea880780eae7028a24e16a7790e16017 WHIRLPOOL f2d748a489c69098a51e1b7916a03e92c52ea22e49de3d8d52580d3bf5ade6704b7a9a0cc4701955fc449edc30f33a86ece7eef6153bd6a02617c252b9d7b271 +EBUILD check-0.10.0-r2.ebuild 1683 SHA256 c850cb06502e7475295bd63e11912b46ec5c753dc3b745900d8aaa1c7bf1e584 SHA512 6e4671a3ad2a6ea6367b61ed0b935771007d12c09d1d47f95f2aaebfcf984f4823c252f8751a64df05093f87df4bbba29e0654a44e5dbd64f80a447acaa8e59b WHIRLPOOL 9ebb12d84a1500c6473fe71b2ba973d87be94dc866b8214b071c910e88a48fa47c524862670b44e7e2423062d2cc6e1692d01f6a2832c33a0dae8624c437c089 +EBUILD check-0.11.0.ebuild 1693 SHA256 0c84723c0be1ef56f334f6e7e5b10bd96b67d09a3fa3bd4e7ab983f3e6715fd1 SHA512 cbb7df0b56cb70d2f50333419fec040d49aebf08c2ed60e247d26305e66b6bae15f969faa848da0cd5c428bcb7cd68d0ee84182ddbb3424e445d71cb7ef74414 WHIRLPOOL 418b8dc03cc128d0923a3ffea1796e9b9450478c98d1c91992d6bcf63405bb59b721e3eaf3ef12a2b0b299459c8dc1ddbf51d98908cc6c7fe5c79f089b5f6ee4 +EBUILD check-0.9.11.ebuild 1392 SHA256 f8298ab896666739b2ddd2139ffd2ee05e7d04007f94ecb8b6d389052fdb8d38 SHA512 22f33ad3999c3ce2d9279f214e15c711ec0ce01f50005d6beb5bb6662d04f114a2faa8d295ba31c173755262e10251e6b064fc3815abf299f5153fa0e84304d8 WHIRLPOOL 1bdd6565f3dc0bb7e3e9cffee025c90d155a84e466011e8205ccdc548e25c204e3bb76376397648d1fd9832b62e7440d921ca7affb7123ec8c52593556d748d3 +MISC ChangeLog 3979 SHA256 1202da3ac2cb2736da6f82a36d0b9fee00a8ee7f96879056d446d901c841465b SHA512 514910be30832ddfb3f43f0cd562093a560a2a7d883d6e7c4ae20f51ba875728eb3f75d5cbd3ebfdbd525037b7a3769574f80b4bee046218e2fe63656f036864 WHIRLPOOL 7a362d4bf332c192aa1aa7198c9b8530f65db727a77cc8c872b9ebbb0bf3de8a41b7601e9aceaea2ff358c391cd5047a3e1af8476100949a228a7d7b8a918199 +MISC ChangeLog-2015 11960 SHA256 b3e62fc21ea12728d11cad15cbba7ee0365015c94fbdbdc161929f0dfbe31069 SHA512 42263c3cd16cdee1bf65d09691d1c9b300f5c921cf184ee58d7b2313df5dd03d9070b0d84951e8d66d52b789b1d0b1755cd188694918f2ae99a4e165912fd190 WHIRLPOOL 2a8386fd20378b4acc2a5ac79bbcc479dfcbbf1286983617c1a17a0ad07824eb404058bd5c307a0447b9a100757eb73278f4843bd637b531a3db48978854241f +MISC metadata.xml 363 SHA256 1077af075555b764c1bc2116d1256aafae1fa80ceb948e720f381aa41bddd75f SHA512 b025f88785c7d2f4eb01ccc5f9730c2ef81171fc94a01802f7832088eb20aae42aff7cf4ecd89c3de6e87cf583f873fe5ed9dc4c7fab9f124ce3ebc8441ccfaa WHIRLPOOL ec41a0b44c37ed506bb68751a370efaf4f5df0272b2cb59cf8d6f4e4eca02a7b0e6722be55e5a56b0cc5cabfdb8cee7351e18f75294c06b575d4c0552d91a68c diff --git a/dev-libs/check/check-0.10.0-r1.ebuild b/dev-libs/check/check-0.10.0-r1.ebuild new file mode 100644 index 000000000000..33798f356d28 --- /dev/null +++ b/dev-libs/check/check-0.10.0-r1.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +AUTOTOOLS_PRUNE_LIBTOOL_FILES="all" + +inherit autotools autotools-multilib + +DESCRIPTION="A unit test framework for C" +HOMEPAGE="https://sourceforge.net/projects/check/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="static-libs subunit" + +RDEPEND="subunit? ( >=dev-python/subunit-0.0.10-r1[${MULTILIB_USEDEP}] )" +DEPEND="${RDEPEND} + sys-apps/texinfo + virtual/pkgconfig" + +pkg_setup() { + # See multilib_src_test(), disable sleep()-based tests because they + # just take a long time doing pretty much nothing. + export CPPFLAGS="-DTIMEOUT_TESTS_ENABLED=0 ${CPPFLAGS}" +} + +src_prepare() { + sed -i -e '/^docdir =/d' {.,doc}/Makefile.am \ + || die 'failed to unset docdir in Makefile.am' + + # fix out-of-sourcedir build having inconsistent check.h files, for + # example breaks USE=subunit. + rm src/check.h || die 'failed to remove src/check.h' + + eautoreconf +} + +src_configure() { + local myeconfargs=( + --disable-dependency-tracking + $(use_enable subunit) + --docdir="${EPREFIX}/usr/share/doc/${PF}" + ) + autotools-multilib_src_configure +} + +multilib_src_test() { + elog "-DTIMEOUT_TESTS_ENABLED=0 has been prepended to CPPFLAGS. To run the" + elog "entire testsuite for dev-libs/check, ensure that" + elog "-DTIMEOUT_TESTS_ENABLED=1 is in your CPPFLAGS." + default_src_test +} + +src_install() { + autotools-multilib_src_install + dodoc AUTHORS *ChangeLog* NEWS README THANKS TODO + + rm -f "${ED}/usr/share/doc/${PF}"/COPYING* || \ + die 'failed to remove COPYING files' +} diff --git a/dev-libs/check/check-0.10.0-r2.ebuild b/dev-libs/check/check-0.10.0-r2.ebuild new file mode 100644 index 000000000000..7bd022c8e059 --- /dev/null +++ b/dev-libs/check/check-0.10.0-r2.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +AUTOTOOLS_PRUNE_LIBTOOL_FILES="all" + +inherit autotools autotools-multilib + +DESCRIPTION="A unit test framework for C" +HOMEPAGE="https://libcheck.github.io/check/" +SRC_URI="https://github.com/lib${PN}/${PN}/archive/${PV}.tar.gz -> ${P}-github.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="static-libs subunit" + +RDEPEND="subunit? ( >=dev-python/subunit-0.0.10-r1[${MULTILIB_USEDEP}] )" +DEPEND="${RDEPEND} + sys-apps/texinfo + virtual/pkgconfig" + +pkg_setup() { + # See multilib_src_test(), disable sleep()-based tests because they + # just take a long time doing pretty much nothing. + export CPPFLAGS="-DTIMEOUT_TESTS_ENABLED=0 ${CPPFLAGS}" +} + +src_prepare() { + sed -i -e '/^docdir =/d' {.,doc}/Makefile.am \ + || die 'failed to unset docdir in Makefile.am' + + eautoreconf +} + +src_configure() { + local myeconfargs=( + --disable-dependency-tracking + $(use_enable subunit) + --docdir="${EPREFIX}/usr/share/doc/${PF}" + ) + autotools-multilib_src_configure +} + +multilib_src_test() { + elog "-DTIMEOUT_TESTS_ENABLED=0 has been prepended to CPPFLAGS. To run the" + elog "entire testsuite for dev-libs/check, ensure that" + elog "-DTIMEOUT_TESTS_ENABLED=1 is in your CPPFLAGS." + default_src_test +} + +src_install() { + autotools-multilib_src_install + dodoc AUTHORS *ChangeLog* NEWS README THANKS TODO + + rm -f "${ED}/usr/share/doc/${PF}"/COPYING* || \ + die 'failed to remove COPYING files' +} diff --git a/dev-libs/check/check-0.11.0.ebuild b/dev-libs/check/check-0.11.0.ebuild new file mode 100644 index 000000000000..4a1f73cca3a6 --- /dev/null +++ b/dev-libs/check/check-0.11.0.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools multilib-minimal + +DESCRIPTION="A unit test framework for C" +HOMEPAGE="https://libcheck.github.io/check/" +SRC_URI="https://github.com/lib${PN}/${PN}/archive/${PV}.tar.gz -> ${P}-github.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="static-libs subunit" + +RDEPEND="subunit? ( >=dev-python/subunit-0.0.10-r1[${MULTILIB_USEDEP}] )" +DEPEND="${RDEPEND} + sys-apps/texinfo + virtual/pkgconfig" + +DOCS=( AUTHORS ChangeLog NEWS README.md THANKS TODO ) + +pkg_setup() { + # See multilib_src_test(), disable sleep()-based tests because they + # just take a long time doing pretty much nothing. + export CPPFLAGS="-DTIMEOUT_TESTS_ENABLED=0 ${CPPFLAGS}" +} + +src_prepare() { + default + + sed -i -e '/^docdir =/d' {.,doc}/Makefile.am \ + || die 'failed to unset docdir in Makefile.am' + + eautoreconf +} + +multilib_src_configure() { + local myeconfargs=( + --disable-dependency-tracking + $(use_enable subunit) + ) + ECONF_SOURCE="${S}" \ + econf "${myeconfargs[@]}" +} + +multilib_src_install_all() { + default + + rm -f "${ED}/usr/share/doc/${PF}"/COPYING* || \ + die 'failed to remove COPYING files' + + find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die +} + +multilib_src_test() { + elog "-DTIMEOUT_TESTS_ENABLED=0 has been prepended to CPPFLAGS. To run the" + elog "entire testsuite for dev-libs/check, ensure that" + elog "-DTIMEOUT_TESTS_ENABLED=1 is in your CPPFLAGS." + default_src_test +} diff --git a/dev-libs/check/check-0.9.11.ebuild b/dev-libs/check/check-0.9.11.ebuild new file mode 100644 index 000000000000..b1e035273875 --- /dev/null +++ b/dev-libs/check/check-0.9.11.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +AUTOTOOLS_PRUNE_LIBTOOL_FILES="all" + +inherit autotools autotools-multilib eutils + +DESCRIPTION="A unit test framework for C" +HOMEPAGE="https://sourceforge.net/projects/check/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="static-libs subunit" + +DEPEND="subunit? ( dev-python/subunit ) + sys-apps/texinfo +" +RDEPEND="${DEPEND}" + +src_prepare() { + epatch \ + "${FILESDIR}"/${PN}-0.9.10-AM_PATH_CHECK.patch + + sed -i -e '/^docdir =/d' {.,doc}/Makefile.am || die + + # fix out-of-sourcedir build having inconsistent check.h files, for + # example breaks USE=subunit. + rm src/check.h || die + + # Fix automake warnings being treated as errors, bug #420373 + sed -i -e s/-Werror// configure.ac || die + + eautoreconf +} + +src_configure() { + local myeconfargs=( + --disable-dependency-tracking + $(use_enable subunit) + --docdir="${EPREFIX}"/usr/share/doc/${PF} + ) + autotools-multilib_src_configure +} + +src_install() { + autotools-multilib_src_install + dodoc AUTHORS *ChangeLog* NEWS README THANKS TODO + + rm -f "${ED}"/usr/share/doc/${PF}/COPYING* || die +} diff --git a/dev-libs/check/files/check-0.9.10-AM_PATH_CHECK.patch b/dev-libs/check/files/check-0.9.10-AM_PATH_CHECK.patch new file mode 100644 index 000000000000..a433549a3639 --- /dev/null +++ b/dev-libs/check/files/check-0.9.10-AM_PATH_CHECK.patch @@ -0,0 +1,33 @@ +Index: doc/example/tests/Makefile.am +=================================================================== +--- doc/example/tests/Makefile.am (revision 747) ++++ doc/example/tests/Makefile.am (working copy) +@@ -3,5 +3,5 @@ + TESTS = check_money + check_PROGRAMS = check_money + check_money_SOURCES = check_money.c $(top_builddir)/src/money.h +-check_money_CFLAGS = @CHECK_CFLAGS@ +-check_money_LDADD = $(top_builddir)/src/libmoney.la @CHECK_LIBS@ ++check_money_CFLAGS = $(CHECK_CFLAGS) ++check_money_LDADD = $(top_builddir)/src/libmoney.la $(CHECK_LIBS) +Index: doc/example/configure.ac +=================================================================== +--- doc/example/configure.ac (revision 747) ++++ doc/example/configure.ac (working copy) +@@ -20,12 +20,10 @@ + + # Checks for libraries. + +-# This macro is defined in check.m4 and tests if check.h and +-# libcheck.a are installed in your system. It sets CHECK_CFLAGS and +-# CHECK_LIBS accordingly. +-# AM_PATH_CHECK([MINIMUM-VERSION, +-# [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]]) +-AM_PATH_CHECK() ++# Use pkg-config instead of upstream-provided and possibly-broken ++# AM_PATH_CHECK. This command sets CHECK_CFLAGS and CHECK_LIBS ++# appropriately. ++PKG_CHECK_MODULES([CHECK], [check]) + + # Checks for header files. + AC_HEADER_STDC diff --git a/dev-libs/check/metadata.xml b/dev-libs/check/metadata.xml new file mode 100644 index 000000000000..47e04f841c0d --- /dev/null +++ b/dev-libs/check/metadata.xml @@ -0,0 +1,11 @@ + + + + + Enable support for the subunit unit test protocol + + + check + libcheck/check + + diff --git a/dev-libs/chmlib/Manifest b/dev-libs/chmlib/Manifest new file mode 100644 index 000000000000..c796257aa537 --- /dev/null +++ b/dev-libs/chmlib/Manifest @@ -0,0 +1,7 @@ +AUX chmlib-0.39-stdtypes.patch 620 SHA256 1d1124f81c955dcf856013d37095c212a8ad858a1dce52bd07fecc736a0eb82e SHA512 afd879f78d4d532be3f3253a645b54588b0faff7445bc856b461ceba4ad0fb8d4d1fd9d1497675894cfb40c2174e21a8a2842a35e66deb6ab8adab6cbb996319 WHIRLPOOL 9f0a8e801d69cca8eb7a0fac086f994fc20a5c032831a91f225c1b18fb7be55e86aaa8485345c657ea77b7453b057aef12283ce58a3a3032f239f224bef685d9 +AUX chmlib-0.40-headers.patch 357 SHA256 60b67803466def393789c10daef789e0a54176aa1493d2e1e285730c60185683 SHA512 940d6b766ada58cbdad31a4748de1f5bcad83170d2b233397dee80f4bd92e13c0f3fa2a027b5834c8547018f67e12726cbd6a8de7540ca9b3d12fda45db02d1d WHIRLPOOL c8764206a0331cbdbd4f56a2f3f341063c1f86608a6acf7338a90ab8d32d669797db4e8809d0c2aed7f191ce5520866a159af7baa90a9200f5783ec066641eb8 +DIST chmlib-0.40.tar.bz2 252036 SHA256 3449d64b0cf71578b2c7e3ddc048d4af3661f44a83941ea074a7813f3a59ffa3 SHA512 3a3e151cf455b19e9e7c163a1d1e5ac52e8196f0b98f77932c72af58f3517824b9244667a18279ae754ccea784f6d6ab0c47465e74e3768ce98bb7dca0ca16e3 WHIRLPOOL db83f3e72e7e87d4d0502482e22fef2652f9f3b9b3878217a8f8f51201f2968badd7e5d92af7da3ecb504f0e71923cae7d84a1637039d22db138fd050762d6cf +EBUILD chmlib-0.40-r1.ebuild 614 SHA256 869473983a7a09cda3b355ab62016772d61055dcdec3eac5fdf815373220e80e SHA512 15ea961cc15635e2aa208a3930b9b170e5f107645ee45ff56ccebaf2673ab2e8fdda40dcc8f861aaaa76bbbb1eb1892167cc23cbf937eec9be2f687a5f2142ae WHIRLPOOL b0d0e8cf625d7bcb874ade595a74af7c294fd89b19d6282c832898c0621528d96ebc67fa6320c7d6ebdf25a51c130de649986fa916cc43fc1b938653f8afa62a +MISC ChangeLog 2248 SHA256 c230df6107de6d4e894012d52e64bf211ac709be1faac7ba80fe5aaf244e3d38 SHA512 b8f7e7b2ee3a3121b9b7527461cc20c758aaa8b753d37512e43635e95f1c47d918d884a70592cb4cfd639f2c302fd98f4f8cfe7d2face0c77edd643bd4ce68b5 WHIRLPOOL 1d02c69b822ffc9453329cd086a8953e294237c1fb36ed3e918dfc3a7d2ea7c333a80f1dfbd69cb90c91000980fe70a0b1baad6691e2e6c569be1afc175e2bfe +MISC ChangeLog-2015 6274 SHA256 835c5416f925acaadaea98035db17de3122e258347b3fd6e1112f565d978eafa SHA512 45610a7c2118f68de920400901c893a56eebc119889372207037eed4d19406c0c1bdd31e0caaec17568e94bef6fbc4d90fae0843216bf7e724a1c3df65e4bce4 WHIRLPOOL 58c68876efa80a57333e57e68bb59c442481a2245f0fe9921c4081607af9dd1ee44d8204cefc4e084306765b92edc2a8b5becfdaab5041c6121a98ae97d6d518 +MISC metadata.xml 241 SHA256 67efc44b47d920c007b80545b0fb134270071e5ac61b7ed61b87c414d1b11154 SHA512 61925ba4f992d28d12c1c3168059072f1b826d4a54a061e3aeb8311143db068492b15136a730eb8f83249b2cce5a37ea72de187b510297bcab5092143fb6aa4a WHIRLPOOL d2b9e02f38d968f3be010e5816ab222e31385eab9ffad8d5dcb89106b5987deafabc22a8eb112fbcf0879e2dd7dc8b6678270d7249344d29c0a7e4cf558ecfc2 diff --git a/dev-libs/chmlib/chmlib-0.40-r1.ebuild b/dev-libs/chmlib/chmlib-0.40-r1.ebuild new file mode 100644 index 000000000000..88496bdb5c54 --- /dev/null +++ b/dev-libs/chmlib/chmlib-0.40-r1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="3" + +inherit autotools-utils + +DESCRIPTION="Library for MS CHM (compressed html) file format" +HOMEPAGE="http://www.jedrea.com/chmlib/" +SRC_URI="http://www.jedrea.com/${PN}/${P}.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="alpha amd64 ~arm hppa ~ia64 ppc ppc64 x86" +IUSE="+examples static-libs" + +DOCS=(AUTHORS NEWS README) +PATCHES=( + "${FILESDIR}"/${PN}-0.39-stdtypes.patch + "${FILESDIR}"/${P}-headers.patch +) + +src_configure() { + myeconfargs=($(use_enable examples)) + autotools-utils_src_configure +} diff --git a/dev-libs/chmlib/files/chmlib-0.39-stdtypes.patch b/dev-libs/chmlib/files/chmlib-0.39-stdtypes.patch new file mode 100644 index 000000000000..0f9232017689 --- /dev/null +++ b/dev-libs/chmlib/files/chmlib-0.39-stdtypes.patch @@ -0,0 +1,20 @@ +--- src/chm_lib.c ++++ src/chm_lib.c +@@ -149,6 +149,17 @@ typedef unsigned __int32 UInt32; + typedef __int64 Int64; + typedef unsigned __int64 UInt64; + ++/* Linux: use C standard types */ ++#elif defined(__linux__) ++#include ++typedef unsigned char UChar; ++typedef int16_t Int16; ++typedef uint16_t UInt16; ++typedef int32_t Int32; ++typedef uint32_t UInt32; ++typedef int64_t Int64; ++typedef uint64_t UInt64; ++ + /* I386, 32-bit, non-Windows */ + /* Sparc */ + /* MIPS */ diff --git a/dev-libs/chmlib/files/chmlib-0.40-headers.patch b/dev-libs/chmlib/files/chmlib-0.40-headers.patch new file mode 100644 index 000000000000..d60af28639fd --- /dev/null +++ b/dev-libs/chmlib/files/chmlib-0.40-headers.patch @@ -0,0 +1,18 @@ +--- src/chm_http.c ++++ src/chm_http.c +@@ -34,6 +34,7 @@ + #include + #include + #include ++#include + #if __sun || __sgi + #include + #endif +@@ -42,6 +43,7 @@ + #include + #include + #include ++#include + + /* threading includes */ + #include diff --git a/dev-libs/chmlib/metadata.xml b/dev-libs/chmlib/metadata.xml new file mode 100644 index 000000000000..33cffc12a83c --- /dev/null +++ b/dev-libs/chmlib/metadata.xml @@ -0,0 +1,8 @@ + + + + + rhill@gentoo.org + Ryan Hill + + diff --git a/dev-libs/cityhash/Manifest b/dev-libs/cityhash/Manifest new file mode 100644 index 000000000000..49ca383c958a --- /dev/null +++ b/dev-libs/cityhash/Manifest @@ -0,0 +1,9 @@ +DIST cityhash-1.0.3.tar.gz 352237 SHA256 a03178d7c73a2d40d9e9e6ab036e607bc97cf3ea0c0eda9e5736ed07608aaaab SHA512 1d284755af4adcbb9d235d19a00ea0ab3e20676eec3e455da24a855e254996139d3c123f8d074bcaf7d53de04d34949ace799181d428fc322091c93c39702de0 WHIRLPOOL 94b9ead07bb8c693d7062ab1d13291a05d92c9c4f168b400dc0ce180ec3f674ff58a64f8addc101f8806774e83268ba0df0f28be8c10e656a2141dfeca3ea071 +DIST cityhash-1.1.0.tar.gz 355571 SHA256 0d07c13c6caf7c798856efa76df7dd2a8d24539240449538316ba4c3bd084679 SHA512 aff5a513fd23c9ec11a02a62151d95e36959ef54fd75a9ae4b94ee72fe93a38295c343c03ed0b0c667c79191ca1119cf2362d7bb8b2f6d6dfa50e5134c9a2654 WHIRLPOOL b7989a7bce7ba8a46787cef690387d2a788fe5027a78fb3d41064d444b23651b920c9348727bf79612ed797a8f793bd8beabcc88e3006ea5bef054933701115d +DIST cityhash-1.1.1.tar.gz 376456 SHA256 76a41e149f6de87156b9a9790c595ef7ad081c321f60780886b520aecb7e3db4 SHA512 f5476a608fad87770aa6622f3c9ac441db1a0b1731e5235bf8599499943184a1fe5b91329cb9153b363a3e34605f7641b233114440e8895791df7d13452bb4f6 WHIRLPOOL 81a6598fa2e6d8460bc8168f97b78946f56fd032407d5589af6ba653f48a34eed4f2188632498575038c5ad39600dc764b752240cf3197625d02676244e870d6 +EBUILD cityhash-1.0.3.ebuild 416 SHA256 4147630adca07f7b6d6055dc90b7c6cd727d9b523ca2823fd907ae36012526cf SHA512 43e94d5ce8a71a492a8d6a0a19a6ff20b312b2bb9b08c3bdd06fe81ff028350a417a791ac24f0368317350b94ae7ba45a2e664a400e79b8a5531e95466422a86 WHIRLPOOL dad2c647a0dbf0f83dc200f211ee51033270028c2b83e5ce2821f42c31eebc0684a03fe3f8fcb77841967484f81dd8684e593a867f5ad522d817b56ecd3c0099 +EBUILD cityhash-1.1.0.ebuild 416 SHA256 4147630adca07f7b6d6055dc90b7c6cd727d9b523ca2823fd907ae36012526cf SHA512 43e94d5ce8a71a492a8d6a0a19a6ff20b312b2bb9b08c3bdd06fe81ff028350a417a791ac24f0368317350b94ae7ba45a2e664a400e79b8a5531e95466422a86 WHIRLPOOL dad2c647a0dbf0f83dc200f211ee51033270028c2b83e5ce2821f42c31eebc0684a03fe3f8fcb77841967484f81dd8684e593a867f5ad522d817b56ecd3c0099 +EBUILD cityhash-1.1.1.ebuild 416 SHA256 cea1c3684cccf9418336dd682e1fc6d40501eee52eb4294d5f59b85cc21c0a24 SHA512 b06e8d929c659b22b4f03d205fecff87cbac26b859972d1731f2624088e11873d88e68ddc8641b8232379e7098f5b0c8edad7522b243b55dc627c837cb878543 WHIRLPOOL aaf60e02553adc98f4451cf481672b43e830c0f01934ac8234062d3d8500626db83217a0d426ee9119e53d95aa0d14379063799797741be741fa252d08ed9810 +MISC ChangeLog 3065 SHA256 bfd77debdd68eeeffbb48d42b39e5c55b90f23b409ebb8544c0d3e93bbbefa80 SHA512 9dff7212f30f5e022e138690abbbf2e12de54317b5fecb477fb17d7bd8c2f9ebe85003e2d642a7c8ff0cd13c2e5561d5c7f76373100b503d10e9f3bcdbd6f47a WHIRLPOOL 8e3dd276b09dce0a51289b4bd6e0e2576012d69f00e21dc3806fa958e3d44d842a3df9d9a85775159d68726a11270e0d00e219048125e4b4f19e50a8c1f74ba1 +MISC ChangeLog-2015 597 SHA256 f6e7113a615a26527b8c0836dbfaa9b8f5036c336b2f40ed6d2ee97f7d4ecc6f SHA512 e691a1aa2de5cede0daef412c80a76a344e1d338896649f33f51f63c66e3d9695dc2df56ae0993c068d61e9e3f9fac3b2fd3c05451e670c6dbc8765a2450fa40 WHIRLPOOL ca2528b6ff8714f18dde120cf287a3ed4a07aaa51a6030000ffefd736f732df858c61584ac86bfc67786b6a08e4a6da1e62def68392d8247ee623c37cf995fd4 +MISC metadata.xml 327 SHA256 9ccba7185ddd21eef4170d505ad323c087a5855cb63b98d7c3fa7f0182e6a071 SHA512 1eed425a6df4d772ff3afd7f336331fc4cdabcf60c30ebd8095b223c38b0ea53e3167578ef6a01a7692b5ce91dbaa381f62a9e567d48cfdc0f3f793857becaa3 WHIRLPOOL 52bc69cad75f47d65eb5817cabf66919ff306d25cdbe42d0a6420eb9257358efff37e18107b9c0d196ace680866a7d3b15d1672b74cedbd55920a8b5b5b89c86 diff --git a/dev-libs/cityhash/cityhash-1.0.3.ebuild b/dev-libs/cityhash/cityhash-1.0.3.ebuild new file mode 100644 index 000000000000..f8d28176715d --- /dev/null +++ b/dev-libs/cityhash/cityhash-1.0.3.ebuild @@ -0,0 +1,17 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +EAPI=4 + +DESCRIPTION="Google's CityHash family of hash functions" + +HOMEPAGE="https://github.com/google/cityhash" +SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.gz" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +IUSE="" +#IUSE="sse42" should be added by someone with a modern CPU + +DEPEND="" +RDEPEND="${DEPEND}" diff --git a/dev-libs/cityhash/cityhash-1.1.0.ebuild b/dev-libs/cityhash/cityhash-1.1.0.ebuild new file mode 100644 index 000000000000..f8d28176715d --- /dev/null +++ b/dev-libs/cityhash/cityhash-1.1.0.ebuild @@ -0,0 +1,17 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +EAPI=4 + +DESCRIPTION="Google's CityHash family of hash functions" + +HOMEPAGE="https://github.com/google/cityhash" +SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.gz" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +IUSE="" +#IUSE="sse42" should be added by someone with a modern CPU + +DEPEND="" +RDEPEND="${DEPEND}" diff --git a/dev-libs/cityhash/cityhash-1.1.1.ebuild b/dev-libs/cityhash/cityhash-1.1.1.ebuild new file mode 100644 index 000000000000..d7f63a9d55db --- /dev/null +++ b/dev-libs/cityhash/cityhash-1.1.1.ebuild @@ -0,0 +1,17 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +EAPI=4 + +DESCRIPTION="Google's CityHash family of hash functions" + +HOMEPAGE="https://github.com/google/cityhash" +SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.gz" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +IUSE="" +#IUSE="sse42" should be added by someone with a modern CPU + +DEPEND="" +RDEPEND="${DEPEND}" diff --git a/dev-libs/cityhash/metadata.xml b/dev-libs/cityhash/metadata.xml new file mode 100644 index 000000000000..fd584fe3d964 --- /dev/null +++ b/dev-libs/cityhash/metadata.xml @@ -0,0 +1,11 @@ + + + + + patrick@gentoo.org + Patrick Lauer + + + google/cityhash + + diff --git a/dev-libs/cl/Manifest b/dev-libs/cl/Manifest new file mode 100644 index 000000000000..f0be2f859c21 --- /dev/null +++ b/dev-libs/cl/Manifest @@ -0,0 +1,5 @@ +DIST cl-1.2.3.tar.gz 137921 SHA256 a9731825ee9b8057006ebb6b472466d51278d1a0e1fa496cf132b5456c54f15b SHA512 aaa19700b1b54921ea8194e1b7fcb2dbb11f22c32108fd99d0cd9796c7524a49653dcc97c8c8b34f7739d0b972cbbc3cf61b929e342429b524b11df93e434863 WHIRLPOOL b2eed33f453551619fa55484448f7a858a4394186d96a784b6a008aebb61ddd1f4a9b18d5660f4a5c6225408e93a0458f3cfb22a92f3c8bd75003ac028cb58fa +EBUILD cl-1.2.3.ebuild 617 SHA256 4b67488c7b14d8f598a6aaa6104d3cb3260265a13b4717a75c0a8fced75f1bb4 SHA512 b73796dd9347e79f2bd908c90a7527a2f8c119c96ef248751136b1e60df240f4fe1fb43955569045450470745502ad36b0296127ca665f86d4f76c9c5de4ea17 WHIRLPOOL 9a575548ab531b3d144dfcd727fcb39b47c5d5ad165c20c80d72833e024d04043095709dddbb96a5eacfc647bac0f13341ca014abc014961ade1572119e5e0e5 +EBUILD cl-9999.ebuild 598 SHA256 c5bdf066f03f3473c9708c0e5ed5ffe021e12a1e3650d975134998aa641e1c03 SHA512 9c19c9546d93683432aff81fe2bccc305b663c832fb85514879884dc76c6b52f149173ed0e05e5a0851e66bcc839bb1b5a4b9368e8a91d6057094e3b04d09c21 WHIRLPOOL 514675eb3c343c9780388da3cf587d4aa5741d1f38a53cc261248762fb20095ce48d6212c131785079035f541109229f0f825e9c3300ba0cd7df484f98d5d6a3 +MISC ChangeLog 999 SHA256 837ff7b98f10ffa1aa14c8ce29c9776cf23311e9c3ad4625fc06c9ef7222d93c SHA512 22e0ad8c9cd86b100cad14a725c47baa10caa9830c717eaa28e50fd492a51c99ecc0b4c2a5f0ebf9026da7392ca5d1cf05763717fa190098c787ee1097edf0d6 WHIRLPOOL caf6377b740218be3d5275aab307eeb451b8faf77d4f54a84989e43ba46f475e638e05bbf189830c80680fec62e87ce418aa34473d52848c74ef21eb78a45ff6 +MISC metadata.xml 319 SHA256 1913ad418b69519c6fb9fb333c0e5b07ec451839e4b411ab0a49693cb1801716 SHA512 b3bcd712352fb18ec4125fc66e6d5c6bae148afc1530742a834b6026c911c9b2848d51c133366a18d59dc7bd30c7943b506211f1fb905e7ca224239ba5d09bea WHIRLPOOL 75734d3121def71a6d728c81e8b07a368bf99dd9fa69cd870789e3adf63ec6ec0e308fdca62f5172ee10583bf11080cdfc42891cf4e1ef6e8dab6426e751cf39 diff --git a/dev-libs/cl/cl-1.2.3.ebuild b/dev-libs/cl/cl-1.2.3.ebuild new file mode 100644 index 000000000000..04a7a2574ca8 --- /dev/null +++ b/dev-libs/cl/cl-1.2.3.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit eutils multilib + +DESCRIPTION="OpenCL bindings for Erlang" +HOMEPAGE="https://github.com/tonyrog/cl" +SRC_URI="${HOMEPAGE}/archive/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 x86" + +RDEPEND=" + >=dev-lang/erlang-16 + virtual/opencl + dev-util/rebar +" +DEPEND="${RDEPEND}" + +S=${WORKDIR}/${PN}-${P} + +src_compile() { + rebar compile || die +} + +src_install() { + ERLANG_DIR="/usr/$(get_libdir)/erlang/lib" + CL_DIR="${ERLANG_DIR}/${P}" + insinto "${CL_DIR}" + doins -r ebin src include c_src examples +} diff --git a/dev-libs/cl/cl-9999.ebuild b/dev-libs/cl/cl-9999.ebuild new file mode 100644 index 000000000000..da4f1445d486 --- /dev/null +++ b/dev-libs/cl/cl-9999.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit eutils git-r3 multilib + +DESCRIPTION="OpenCL bindings for Erlang" +HOMEPAGE="https://github.com/tonyrog/cl" +EGIT_REPO_URI="https://github.com/tonyrog/cl.git" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="" + +RDEPEND=" + >=dev-lang/erlang-16 + virtual/opencl + dev-util/rebar +" +DEPEND="${RDEPEND}" + +src_compile() { + rebar compile || die +} + +src_install() { + ERLANG_DIR="/usr/$(get_libdir)/erlang/lib" + CL_DIR="${ERLANG_DIR}/${P}" + insinto "${CL_DIR}" + doins -r ebin src include c_src examples +} diff --git a/dev-libs/cl/metadata.xml b/dev-libs/cl/metadata.xml new file mode 100644 index 000000000000..b2f11e650c2a --- /dev/null +++ b/dev-libs/cl/metadata.xml @@ -0,0 +1,11 @@ + + + + + jer@gentoo.org + Jeroen Roovers + + + tonyrog/cl + + diff --git a/dev-libs/cloog/Manifest b/dev-libs/cloog/Manifest new file mode 100644 index 000000000000..f828d5ac473e --- /dev/null +++ b/dev-libs/cloog/Manifest @@ -0,0 +1,13 @@ +AUX cloog-0.18.3-isl-0.15.patch 2621 SHA256 ac4cddf2cc35384a62083e963fddfe594b51718f760c0157639f15001834d252 SHA512 bace93aa2ae345f4b7a0261cf3b195e070c99f08494dad66b15576c35a0269893fc4f250a941be4af9505d13d5c9cb7b9b157afb0af6c83016c4e868add83735 WHIRLPOOL 7bf6fc28619e8f7d5dd7c164c11f506893c2d2eecdabb2823cb6fba272fca7c62f1d904e9ffdacc1d8b3125b77ef94200263957f91459483a13ef9530afbeaaf +DIST cloog-0.18.0.tar.gz 3776262 SHA256 1c4aa8dde7886be9cbe0f9069c334843b21028f61d344a2d685f88cb1dcf2228 SHA512 34404984c4269dfc19673712271b08f220b6b49e451e7479cefbc5d2f27ab8e780f5d51fbbc7cecb974dab655673d8348f2a1ece3a60feaeeb9413fccf16eb1d WHIRLPOOL e079de53e876448f1e9b783c864b820ebae39fca4f51d59e2528b1b68530910c48b23719e3fd760bf105e03838651e15f367709a2c8dde022627fe3f158134ea +DIST cloog-0.18.1.tar.gz 3857324 SHA256 02500a4edd14875f94fe84cbeda4290425cb0c1c2474c6f75d75a303d64b4196 SHA512 0b12d9f3c39a2425e28e1d7c0a2b3787287fe3e6e3052f094d2ab6cffeb205ce19044100cbfd805659b3e6b3d21ac2f5a3c92848f476de54edfe6b1cbd2172e9 WHIRLPOOL 7e5497cdc6d3df14305f848f0222ab41890c9a1a4668e1ccb8afc2b9f14b8c8b65f80a2fec6d6a94d1b91cf83b741d0108815707eb29aa59a439ed2c07f27378 +DIST cloog-0.18.3.tar.gz 4577597 SHA256 460c6c740acb8cdfbfbb387156b627cf731b3837605f2ec0001d079d89c69734 SHA512 14fc2af0da62cd17b1a9f5a7a1704da6bfe5dc78639928637588203e61847795a652ff788c313c34b6e7dd85fb329678eb4f72e0e1c9c149be6619ebf046cff8 WHIRLPOOL b35a16151c209500af836cb8ad32ec6479a01d2994860a379599e7a2183eab452dcffa757bad8c2af867cb71716c588415924b8c91db895372de88131b650490 +DIST cloog-0.18.4.tar.gz 4796456 SHA256 325adf3710ce2229b7eeb9e84d3b539556d093ae860027185e7af8a8b00a750e SHA512 d35d67b08ffe13c1a010b65bfe4dd02b0ae013d5b489e330dc950bd3514defca8f734bd37781856dcedf0491ff6122c34eecb4b0fe32a22d7e6bdadea98c8c23 WHIRLPOOL 0b82eec2d91bcdf839c71fd58e14562aabd837236303ffd95ee105d9c59bc728ad795deab3fb78855dc34abdf08a62b61f0587e85c1b84c6fa7f23fed35d7850 +EBUILD cloog-0.18.0.ebuild 862 SHA256 db20b50ed25d34348fb5f8f74bbf3405fd99b2fcf500df7908bf65144f673ad9 SHA512 f0d9140ac09082aa481163f47ec368fa1be4cbf032a5d7cbaf1eb7759ef503a2bbe7d175f3efe52e160c9ea6a7d941be094cce7781003f5fedbbcc4af32e4ba0 WHIRLPOOL 0874bf86f7eae7103f323151a7889c45c63e4bb0366b64adca92ea809f243bf9e311c5f775cd3c69c2db7706418f894c918f1bd479cc97e4db52d89c2ef8c9b2 +EBUILD cloog-0.18.1.ebuild 1001 SHA256 e38e43c280242b19336ed50ec4367b53088f94a1d0e34bd51e2ef9fe51eba90d SHA512 2ed2b561eb6acd33db2b55d54e15f01c95d9554f31ebe8af703fbbb26e81bb30c4775d3545f8e67e68db815294a6c994cc67bd0084b89dc6406e749388a4c1e3 WHIRLPOOL b450fefe6005f132c6bcf8a18cd7bc0d603cb6120ec4908d301e4af0664108ec958c877561283bbf3ea4e8864be16a4269c04bee11be8ba0f4073906b219a3f8 +EBUILD cloog-0.18.3.ebuild 1481 SHA256 83bdf0add7785fd247214045f9682c2fe58f08449dd77e2b908fd77242009fc8 SHA512 9fbbb121b3f08f862fc078591b28617eb52f1bfab24ba6434e815b42ac3c6aa802ece00746fa483655d1d036c1f895b50ba429bbd047692516f3f09994120afa WHIRLPOOL 4c11fa7d77586f37602cd07ceaa69263ae85e9908d4d08914ab598f8d1abb1d8884af206b68d73971a76209166da7f929632874aec3cf36a0ea5d120c849532a +EBUILD cloog-0.18.4.ebuild 1426 SHA256 876f4ed8ddcffb6ba96a9534b09ba3089772e9e1645381886af6b20de458e335 SHA512 04037adc21eb71f87d4cb3e8daeeb4525780f6e0252367d33fcee80ab9435cd8053a7b2a6660e4b211feee50b00f26b042078ad546fd8e221c4e75c412a0ef30 WHIRLPOOL 8e828e646ad82d9939041148f11811c6aca4e24494434e38acda1927f1e29ef07e1bc089dff6922d0352bc1e50b1a0b269a054e0c9762e903e7875b9ede722c4 +EBUILD cloog-9999.ebuild 1435 SHA256 2276ff81424f5d9854850ad7dc107805cf765afdc21ac550e18323537fcba419 SHA512 91d34eaaccec4d1e3cb72d67b5e51fdd63faf3aee08a473c389afdbc4cc95d321e714015426594cbb7a48020fa6cef9f64044887eb2c462982942d0e3c596365 WHIRLPOOL 8965855ec71b36d2af7fb7dd6317cc51c5f9682f01967b2ab9cc924867d223787b55126e1d19ab34aa32914e8fc6e2340e61aea10e296ebbfc883363567b19fa +MISC ChangeLog 4428 SHA256 3bf4f3bc8cd1b47125cc73b76ccec9df85003630f8b9f21e77ab42d78d8cf472 SHA512 f47346d3faee87381bcae50d01fe6c85c25cef594fa2a755e02b406a79c2067826b56a6941160b998f5c97726b4e2e374041cd970f57a2667cec4172c129ac1b WHIRLPOOL e8e560981a5ee97a1a556a7d182940bd9ae5a38813ec1e921000fcf9795d5a517899e994e3f2a8e2e265a36cd917db3844d2a7b55b369c08b9ae1341a0af1ab4 +MISC ChangeLog-2015 4930 SHA256 f743b0f04c5a9b90a32f3500029d2b09e7734d978a51d1e82ad8f780883412d5 SHA512 a63a880e3b45fcf4cf475352cd4214a68059ea3818cb61a7861f632f17d43f740b82427ff9865901b7e7027e28a7f49a55253b841f6019a6dd16b2de3da498ee WHIRLPOOL 292d0add607d11ca0e916b65ec7ba335f6fe07bda600c4441bc67e03d4024b00b8764daa116f7239bbce509c9a6f3eb2ba3ade9e46d9fdae8dcc0e0d32deb9f9 +MISC metadata.xml 221 SHA256 5f1067fecbad0f03b8f0bda76aa6aeb2334bd0194f44f741df6eb94065fcc34a SHA512 edb14bd2dae6ad57f77c07fc601cf2782589165c7e48e1e123eff7e47044febfdb1e19d18cd0b240fd2ca494e3401b5aa1f1243480769e0faf5dbfa377d20a3b WHIRLPOOL 8d9477151de9fa0453a07cbba0f7e48d800a6a59c62ceb663d89869d0e94c8e92fe8148425d3fe4281fd12a5de40355f2e33ec357efdc4daf282664907370846 diff --git a/dev-libs/cloog/cloog-0.18.0.ebuild b/dev-libs/cloog/cloog-0.18.0.ebuild new file mode 100644 index 000000000000..b8484bae5fd1 --- /dev/null +++ b/dev-libs/cloog/cloog-0.18.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="4" + +inherit eutils + +DESCRIPTION="A loop generator for scanning polyhedra" +HOMEPAGE="http://www.bastoul.net/cloog/" +SRC_URI="http://www.bastoul.net/cloog/pages/download/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" +IUSE="static-libs" + +DEPEND="dev-libs/gmp + >> Test phase [check]: ${CATEGORY}/${PF}" + emake -j1 check +} + +multilib_src_install_all() { + einstalldocs + prune_libtool_files +} diff --git a/dev-libs/cloog/cloog-0.18.4.ebuild b/dev-libs/cloog/cloog-0.18.4.ebuild new file mode 100644 index 000000000000..755aa3decf73 --- /dev/null +++ b/dev-libs/cloog/cloog-0.18.4.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit eutils multilib-minimal + +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="git://repo.or.cz/cloog.git" + inherit autotools git-2 +else + KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd" + SRC_URI="http://www.bastoul.net/cloog/pages/download/${P}.tar.gz" +fi + +DESCRIPTION="A loop generator for scanning polyhedra" +HOMEPAGE="http://www.bastoul.net/cloog/" + +LICENSE="LGPL-2.1" +SLOT="0/4" +IUSE="static-libs" + +RDEPEND=">=dev-libs/gmp-6.0.0[${MULTILIB_USEDEP}] + >=dev-libs/isl-0.15:0=[${MULTILIB_USEDEP}] + !dev-libs/cloog-ppl" +DEPEND="${DEPEND} + virtual/pkgconfig" + +DOCS=( README ) + +src_prepare() { + if [[ ${PV} == "9999" ]] ; then + ./get_submodules.sh + eautoreconf -i + else + # m4/ax_create_pkgconfig_info.m4 includes LDFLAGS + # sed to avoid eautoreconf + sed -i -e '/Libs:/s:@LDFLAGS@ ::' configure || die + fi + + # Make sure we always use the system isl. + rm -rf isl +} + +multilib_src_configure() { + ECONF_SOURCE="${S}" econf \ + --with-gmp=system \ + --with-isl=system \ + --with-osl=no \ + $(use_enable static-libs static) +} + +# The default src_test() fails, so we'll just run these directly +multilib_src_test () { + echo ">>> Test phase [check]: ${CATEGORY}/${PF}" + emake -j1 check +} + +multilib_src_install_all() { + einstalldocs + prune_libtool_files +} diff --git a/dev-libs/cloog/cloog-9999.ebuild b/dev-libs/cloog/cloog-9999.ebuild new file mode 100644 index 000000000000..43209f571e5c --- /dev/null +++ b/dev-libs/cloog/cloog-9999.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit eutils multilib-minimal + +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="git://repo.or.cz/cloog.git" + inherit autotools git-2 +else + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" + SRC_URI="http://www.bastoul.net/cloog/pages/download/${P}.tar.gz" +fi + +DESCRIPTION="A loop generator for scanning polyhedra" +HOMEPAGE="http://www.bastoul.net/cloog/" + +LICENSE="LGPL-2.1" +SLOT="0/4" +IUSE="static-libs" + +RDEPEND=">=dev-libs/gmp-6.0.0[${MULTILIB_USEDEP}] + >=dev-libs/isl-0.15:0=[${MULTILIB_USEDEP}] + !dev-libs/cloog-ppl" +DEPEND="${DEPEND} + virtual/pkgconfig" + +DOCS=( README ) + +src_prepare() { + if [[ ${PV} == "9999" ]] ; then + ./get_submodules.sh + eautoreconf -i + else + # m4/ax_create_pkgconfig_info.m4 includes LDFLAGS + # sed to avoid eautoreconf + sed -i -e '/Libs:/s:@LDFLAGS@ ::' configure || die + fi + + # Make sure we always use the system isl. + rm -rf isl +} + +multilib_src_configure() { + ECONF_SOURCE="${S}" econf \ + --with-gmp=system \ + --with-isl=system \ + --with-osl=no \ + $(use_enable static-libs static) +} + +# The default src_test() fails, so we'll just run these directly +multilib_src_test () { + echo ">>> Test phase [check]: ${CATEGORY}/${PF}" + emake -j1 check +} + +multilib_src_install_all() { + einstalldocs + prune_libtool_files +} diff --git a/dev-libs/cloog/files/cloog-0.18.3-isl-0.15.patch b/dev-libs/cloog/files/cloog-0.18.3-isl-0.15.patch new file mode 100644 index 000000000000..70ce3b86ec02 --- /dev/null +++ b/dev-libs/cloog/files/cloog-0.18.3-isl-0.15.patch @@ -0,0 +1,82 @@ +add support for isl-0.15+ + +--- a/source/isl/domain.c ++++ b/source/isl/domain.c +@@ -68,25 +68,39 @@ + void cloog_domain_print_constraints(FILE *foo, CloogDomain *domain, + int print_number) + { ++ isl_printer *printer; + isl_basic_set *bset; + isl_set *set = isl_set_from_cloog_domain(domain); + +- if (print_number) +- isl_set_print(set, foo, 0, ISL_FORMAT_EXT_POLYLIB); +- else { ++ printer = isl_printer_to_file(isl_set_get_ctx(set), foo); ++ printer = isl_printer_set_indent(printer, 0); ++ printer = isl_printer_set_prefix(printer, NULL); ++ printer = isl_printer_set_suffix(printer, NULL); ++ ++ if (print_number) { ++ printer = isl_printer_set_output_format(printer, ISL_FORMAT_EXT_POLYLIB); ++ printer = isl_printer_print_set(printer, set); ++ } else { + assert(isl_set_n_basic_set(set) == 1); + bset = isl_set_copy_basic_set(set); +- isl_basic_set_print(bset, foo, +- 0, NULL, NULL, ISL_FORMAT_POLYLIB); ++ printer = isl_printer_set_output_format(printer, ISL_FORMAT_POLYLIB); ++ isl_printer_print_basic_set(printer, bset); + isl_basic_set_free(bset); + } ++ ++ isl_printer_free(printer); + } + + + void cloog_scattering_print_constraints(FILE *foo, CloogScattering *scattering) + { ++ isl_printer *printer; + isl_map *map = isl_map_from_cloog_scattering(scattering); +- isl_map_print(map, foo, 0, ISL_FORMAT_EXT_POLYLIB); ++ printer = isl_printer_to_file(isl_map_get_ctx(map), foo); ++ printer = isl_printer_set_indent(printer, 0); ++ printer = isl_printer_set_output_format(printer, ISL_FORMAT_EXT_POLYLIB); ++ printer = isl_printer_print_map(printer, map); ++ isl_printer_free(printer); + } + + +@@ -343,6 +357,7 @@ + void cloog_domain_print_structure(FILE *file, CloogDomain *domain, int level, + const char *name) + { ++ isl_printer *printer; + int i ; + isl_set *set = isl_set_from_cloog_domain(domain); + +@@ -358,7 +373,11 @@ + for (i = 0; i < level+1; ++i) + fprintf(file, "|\t"); + +- isl_set_print(set, file, 0, ISL_FORMAT_ISL); ++ printer = isl_printer_to_file(isl_set_get_ctx(set), file); ++ printer = isl_printer_set_indent(printer, 0); ++ printer = isl_printer_set_output_format(printer, ISL_FORMAT_EXT_POLYLIB); ++ printer = isl_printer_print_set(printer, set); ++ isl_printer_free(printer); + + fprintf(file, "\n"); + } +--- a/source/isl/constraints.c ++++ b/source/isl/constraints.c +@@ -450,7 +450,7 @@ CloogConstraintSet *cloog_constraint_set_copy(CloogConstraintSet *constraints) + { + isl_basic_set *bset; + bset = cloog_constraints_set_to_isl(constraints); +- return cloog_constraint_set_from_isl_basic_set(isl_basic_set_dup(bset)); ++ return cloog_constraint_set_from_isl_basic_set(isl_basic_set_copy(bset)); + } + + diff --git a/dev-libs/cloog/metadata.xml b/dev-libs/cloog/metadata.xml new file mode 100644 index 000000000000..fa331094dd33 --- /dev/null +++ b/dev-libs/cloog/metadata.xml @@ -0,0 +1,7 @@ + + + + + toolchain@gentoo.org + + diff --git a/dev-libs/collada-dom/Manifest b/dev-libs/collada-dom/Manifest new file mode 100644 index 000000000000..85da6908906b --- /dev/null +++ b/dev-libs/collada-dom/Manifest @@ -0,0 +1,12 @@ +AUX collada-dom-2.4.4-gcc6.patch 589 SHA256 ee32c02072fe7cfc26099cc121e836c12f99b0789c2f47b928f693c2fd811f57 SHA512 cb9c948ee5fc36b20852d4afc487aae3cba849e03f0f0e72a86891d7c4a5a132ae9b1b7f35f093b84781e123c07c682268dc8c2d1e1e6685908326ad33302d05 WHIRLPOOL 3027e1b5c6184fc9d8b222006825f63947c173c0d97737c49988602b4be734ec3860476fadfaad01572004602099d2f40c739b2eb04a0d74b7cfdebc0b9a33bb +AUX take_snapshot.sh 330 SHA256 7e53a67fd8cab9b3dd5221a851fbca4a6aaaaaceb552e4b2943e60067efd2d5d SHA512 c8bbf4c5eac8d3d67f4017d8b5097925806864d54914ba3472f0c589bcb72b4d8d4330845170f8aa6051296285abbf8e404dd19103a3e4552fe41bc615ca0487 WHIRLPOOL cefd0ad7a9c9aa55a0805d49b04062836326d209f7ef207e45dc85e75f36a8ea80876aeaa45de93a3424e58162097dabf881972f80be6bf75fb995d1c7f027ed +DIST collada-dom-2.4.0.tgz 42517651 SHA256 5ca2d12f744bdceff0066ed3067b3b23d6859581fb0d657f98ba4487d8fa3896 SHA512 6de67dc0e631cd02c4bc5567667e7bcee4a41a137310326d5b8290e088a757f7313454028473df3e198f73b3c2db7572a437f7256e666b44ed34fe81d44229c1 WHIRLPOOL fedb8e8d8adeafdd8b4b6bf7860a005153d05fdcaed99949b8913ce51582f2bc5d4e4ff223ea012c2bba84eb889a7e5fb3c8752ad1ae0884fd0127a2a1e1b44f +DIST collada-dom-2.4.3_pre20150112.tar.xz 2272092 SHA256 be928859dc71491420433aa86df03b14576bf97b0fa6982cde201b7dac120d98 SHA512 46c237c123a9d1b9cc8e07bf992b4386c064a3382b44be1347ab4bc6dce85f75ad59da0a5740f97c879c982e5a1119dcec5ced82d4dd725efd789021b0ead7f1 WHIRLPOOL a7e6266895ba6528ef680f5dbcecc8dd3a3c0d9227f9e53fdc31729dc5538b6aebbc110b9a9b6ba2aa77cf7ed863e0301c55db72a0b4766b780e900b8125a860 +DIST collada-dom-2.4.4.tar.gz 4507681 SHA256 0dfa494827faa971310c871535b319cadbd0c2d6958ee11b303c61a55a5a437a SHA512 3a89357cca0e219d1af3830f85fe1e09928e469e90b5c124be9e0cc5acfa3ab897b484b225f572cf26435c9b4671c97eb5ea5d156b99b03e13f120d3ba1f1dcb WHIRLPOOL 2ee0b2430a16254dfb0d111896ee9c057f139b09bc82fe57c2f0e8abb34b7f12d9614b16f6e2a93ceaa7a28e3572a65cddc6a9c960cf53ab2f92932f5b2e972b +EBUILD collada-dom-2.4.0.ebuild 490 SHA256 9ec3e91deccb13e8bf4856a38014cf5f91149c732c836976e5e4c43313546585 SHA512 172680175df2c855767e51664ed37c3bdac37b73c0bd26aa8b40ce2b956995091520b02c98d86e105184c2b32777717b1fb4b0ccec0f21454c941c2464132ce5 WHIRLPOOL b22710555c581649373e145a0fd7da7a10a69d211f088464e9b0c6a42e0b0959c3a3915203ddb0f0d4be2a2b646caea479a564f0aa068769f2642ca8406e8fe6 +EBUILD collada-dom-2.4.3_pre20150112.ebuild 845 SHA256 c47c15359281ba7b24404651dea480ec6efd99d9f90e897d11e3081455d54bb1 SHA512 7559773cef187902ddc80eb6189e60323de517c5ec6bb4acb2761b93f769f508f7cf7e2982d414fe2c2df95e6844fb69fa8b60f4e33109da9750fa67b4082e1d WHIRLPOOL 3d131fc0a39deefb404089166a4830e4c030440628314f95c7c4d352a3be7e803fb48537d9eefc97c3b7d7ef03357fd78f07564f606cea10dd9096afece50c24 +EBUILD collada-dom-2.4.4.ebuild 888 SHA256 fba70878c7941b87e631ed0bae8bb9f8d15761f7b8c79c2d45da9419ee0513cf SHA512 561bdcf5c01267268a9252bdcda385a85f0430f0ee468ec63228f24443503eb23bc82fb51f6474ffe24e8d33af66d6e7c395f148179a048f17aef337b60b6582 WHIRLPOOL 683ca1323027132b35d6e715d7da55e0ec6e287848a4b83a726586f540d0c2b3c5b46793d9b219c6c9dde8009e8e7456c4fd0bb408d2284a22f9ee95b6952053 +EBUILD collada-dom-9999.ebuild 845 SHA256 bf5fea491598cfab04c609955373e486c168f096d31aa6660bc71d9bb4af650c SHA512 eab966f777bc89031f2c1e79625607e1247f69a0b5ce99136296bc23fb03dbc28a923c66ce598424734764b1eadbdf8dd53506f45f2dc8ab1ffe9ef1ae5d0213 WHIRLPOOL 7e44e7b0cea81a12acdf41defae5514b1d01ca8b3aa09e6e38fdddc2fe8df05718cd537d6aecb07c0eb9826c4a9a548d8c634a3116e7f7f2ae535cff51ae1b30 +MISC ChangeLog 2903 SHA256 58a4509e5f75bf6a386976e4e95c202cf4b7e5c0ce3357c3b94a4e071008e079 SHA512 63a305af81e1ddc67e82ced97b4f8b7da1ecbd3e32a90e9f690d687c0a9edeffbf101cdd2a78e2a280ee7be08c7ae8ca57f774c2004fa53bc8813b9f273e63d0 WHIRLPOOL 3b62f15c0659b07372d93434173c6a04fb8b1baf2e8d3b58c897cf4af4a18fff5ea47d139b7de43b4bf340134786a67f176f16268b2acc25b72ce0bd5519734a +MISC ChangeLog-2015 1087 SHA256 b5746906de090d913f2c6f5278ef1c2b0358b2e758f00a9a96e808acc22fae01 SHA512 407d6476ebc4c40f13f85179ab97fa7cc9f3bb8210465b009068d5e22808dca77e6cb7bc92885b29c52e9acc2228795e0ef4d0e3fffaeb0fff9cc3d9979472ef WHIRLPOOL 00b23352c2e3e7b26050eace0c8f70c0d06906a1e528b77d4234477dce78caba64dc0988dfcfd62b3a9d6a284efc10bad8f321a4f5181e236bd3e02263a66291 +MISC metadata.xml 402 SHA256 e53920455b22ae9a51b9ca9bd905cbdb5a9dab18ac7476ba7057499f5fc4c043 SHA512 7798cc43db032d2cee13b739812802e530b3ea9ba6c4ef5439a439bb77884d68ddae6d0c6e11d491b44e7598fad936e5ac455ca5d7bd39ce5e1689ad2c2555e4 WHIRLPOOL f1731d55068cae51d7c93e171accfc8e5058d624bb301531f13859f9f26f7f26973d7690b1caca2d558789de457472aa5165b74a38b1050d059552822a2eb8fc diff --git a/dev-libs/collada-dom/collada-dom-2.4.0.ebuild b/dev-libs/collada-dom/collada-dom-2.4.0.ebuild new file mode 100644 index 000000000000..7d1012ee9354 --- /dev/null +++ b/dev-libs/collada-dom/collada-dom-2.4.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit cmake-utils + +DESCRIPTION="COLLADA Document Object Model (DOM) C++ Library" +HOMEPAGE="http://collada-dom.sourceforge.net/" +SRC_URI="mirror://sourceforge/collada-dom/${P}.tgz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm" +IUSE="" + +RDEPEND=" + dev-libs/boost:= + sys-libs/zlib:=[minizip] + dev-libs/libxml2 + dev-libs/libpcre[cxx] +" +DEPEND="${RDEPEND} + virtual/pkgconfig" diff --git a/dev-libs/collada-dom/collada-dom-2.4.3_pre20150112.ebuild b/dev-libs/collada-dom/collada-dom-2.4.3_pre20150112.ebuild new file mode 100644 index 000000000000..a06ea26cc2df --- /dev/null +++ b/dev-libs/collada-dom/collada-dom-2.4.3_pre20150112.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +SCM="" +if [ "${PV#9999}" != "${PV}" ] ; then + SCM="git-r3" + EGIT_REPO_URI="https://github.com/rdiankov/collada-dom" +fi + +inherit ${SCM} cmake-utils + +if [ "${PV#9999}" != "${PV}" ] ; then + KEYWORDS="" + SRC_URI="" +elif [ "${PV%_pre*}" != "${PV}" ]; then + # snapshot + KEYWORDS="~amd64 ~arm" + SRC_URI="mirror://gentoo/${P}.tar.xz" +else + KEYWORDS="~amd64 ~arm" + SRC_URI="https://github.com/rdiankov/collada-dom/archive/v${PV}.tar.gz -> ${P}.tar.gz" +fi + +DESCRIPTION="COLLADA Document Object Model (DOM) C++ Library" +HOMEPAGE="https://github.com/rdiankov/collada-dom" + +LICENSE="MIT" +SLOT="0" +IUSE="" + +RDEPEND=" + dev-libs/boost:= + sys-libs/zlib:=[minizip] + dev-libs/libxml2 + dev-libs/libpcre[cxx] +" +DEPEND="${RDEPEND} + virtual/pkgconfig" diff --git a/dev-libs/collada-dom/collada-dom-2.4.4.ebuild b/dev-libs/collada-dom/collada-dom-2.4.4.ebuild new file mode 100644 index 000000000000..a783fc2ae1e8 --- /dev/null +++ b/dev-libs/collada-dom/collada-dom-2.4.4.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +SCM="" +if [ "${PV#9999}" != "${PV}" ] ; then + SCM="git-r3" + EGIT_REPO_URI="https://github.com/rdiankov/collada-dom" +fi + +inherit ${SCM} cmake-utils + +if [ "${PV#9999}" != "${PV}" ] ; then + KEYWORDS="" + SRC_URI="" +elif [ "${PV%_pre*}" != "${PV}" ]; then + # snapshot + KEYWORDS="~amd64 ~arm" + SRC_URI="mirror://gentoo/${P}.tar.xz" +else + KEYWORDS="~amd64 ~arm" + SRC_URI="https://github.com/rdiankov/collada-dom/archive/v${PV}.tar.gz -> ${P}.tar.gz" +fi + +DESCRIPTION="COLLADA Document Object Model (DOM) C++ Library" +HOMEPAGE="https://github.com/rdiankov/collada-dom" + +LICENSE="MIT" +SLOT="0" +IUSE="" + +RDEPEND=" + dev-libs/boost:= + sys-libs/zlib:=[minizip] + dev-libs/libxml2 + dev-libs/libpcre[cxx] +" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +PATCHES=( "${FILESDIR}/${P}-gcc6.patch" ) diff --git a/dev-libs/collada-dom/collada-dom-9999.ebuild b/dev-libs/collada-dom/collada-dom-9999.ebuild new file mode 100644 index 000000000000..83ffeacb1b62 --- /dev/null +++ b/dev-libs/collada-dom/collada-dom-9999.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +SCM="" +if [ "${PV#9999}" != "${PV}" ] ; then + SCM="git-r3" + EGIT_REPO_URI="https://github.com/rdiankov/collada-dom" +fi + +inherit ${SCM} cmake-utils + +if [ "${PV#9999}" != "${PV}" ] ; then + KEYWORDS="" + SRC_URI="" +elif [ "${PV%_pre*}" != "${PV}" ]; then + # snapshot + KEYWORDS="~amd64 ~arm" + SRC_URI="mirror://gentoo/${P}.tar.xz" +else + KEYWORDS="~amd64 ~arm" + SRC_URI="https://github.com/rdiankov/collada-dom/archive/v${PV}.tar.gz -> ${P}.tar.gz" +fi + +DESCRIPTION="COLLADA Document Object Model (DOM) C++ Library" +HOMEPAGE="https://github.com/rdiankov/collada-dom" + +LICENSE="MIT" +SLOT="0" +IUSE="" + +RDEPEND=" + dev-libs/boost:= + sys-libs/zlib:=[minizip] + dev-libs/libxml2 + dev-libs/libpcre[cxx] +" +DEPEND="${RDEPEND} + virtual/pkgconfig" diff --git a/dev-libs/collada-dom/files/collada-dom-2.4.4-gcc6.patch b/dev-libs/collada-dom/files/collada-dom-2.4.4-gcc6.patch new file mode 100644 index 000000000000..48cdcd20c1e9 --- /dev/null +++ b/dev-libs/collada-dom/files/collada-dom-2.4.4-gcc6.patch @@ -0,0 +1,19 @@ +commit 8e65676c1cbecde1c0c4d8c2e1cfb20fc49c410b +Author: rosen +Date: Wed Feb 24 12:49:14 2016 +0900 + + fix return type thanks to #22 + +diff --git a/dom/src/dae/daeMetaGroup.cpp b/dom/src/dae/daeMetaGroup.cpp +index 25fd9cc..c34ac4c 100644 +--- a/dom/src/dae/daeMetaGroup.cpp ++++ b/dom/src/dae/daeMetaGroup.cpp +@@ -26,7 +26,7 @@ daeElement *daeMetaGroup::placeElement( daeElement *parent, daeElement *child, d + (void)offset; + daeString nm = child->getElementName(); + if ( findChild( nm ) == NULL ) { +- return false; ++ return NULL; + } + daeElementRef el; + diff --git a/dev-libs/collada-dom/files/take_snapshot.sh b/dev-libs/collada-dom/files/take_snapshot.sh new file mode 100755 index 000000000000..fcf9c75e3423 --- /dev/null +++ b/dev-libs/collada-dom/files/take_snapshot.sh @@ -0,0 +1,14 @@ +#!/bin/sh +VERSION=$(date +%Y%m%d) +PACKAGE="collada-dom-2.4.3_pre${VERSION}" + +git clone https://github.com/rdiankov/collada-dom ${PACKAGE} + +find "${PACKAGE}" -type d -name '.git' -prune -print0 | xargs -0 rm -rf + +tar cJf ${PACKAGE}.tar.xz ${PACKAGE} +rm -rf ${PACKAGE}/ + +echo "Tarball: \"${PACKAGE}.tar.xz\"" + +echo "** all done **" diff --git a/dev-libs/collada-dom/metadata.xml b/dev-libs/collada-dom/metadata.xml new file mode 100644 index 000000000000..af5fc1f79217 --- /dev/null +++ b/dev-libs/collada-dom/metadata.xml @@ -0,0 +1,12 @@ + + + + + aballier@gentoo.org + Alexis Ballier + + + rdiankov/collada-dom + collada-dom + + diff --git a/dev-libs/concurrencykit/Manifest b/dev-libs/concurrencykit/Manifest new file mode 100644 index 000000000000..15ed87b02ce7 --- /dev/null +++ b/dev-libs/concurrencykit/Manifest @@ -0,0 +1,5 @@ +DIST concurrencykit-0.5.2.tar.gz 212783 SHA256 5cf44b33f9279c653ec9b2b085d628c86336e4da18897be449f074283e5c5b3a SHA512 69b4f8618a52e53f2b7c2e47a9d52773370ae74c89ca1de70c6dc7567b5a46b3f57dafa82d61a89525807672697e1cd75b83c3be56cd5a80c10b819e9d9d07b0 WHIRLPOOL f133a127867332961aa737980120014105d5dd290f10154378654be26ade8c6eb33c3865cb71c61c363b6215d79260c96f18eba1384e36e025edf2bbb1844fed +DIST concurrencykit-0.6.0.tar.gz 217198 SHA256 d7e27dd0a679e45632951e672f8288228f32310dfed2d5855e9573a9cf0d62df SHA512 4c75f1194a6ad9d3e51a4bad4802cc522df70870135e6e2db1e303d0df89d57e5dc7a73e924de49fe9641b3dcdc81b1a74a26aa7297cd06b7acb5cbf46c402f0 WHIRLPOOL ed6457b52a5cf90b219119d555e6fc12b86241c17f3688694904ae264eeb3bc9fb19470848f31b395ea55f4d5e584ee743fa3d911a93603f300550e7aa2e04cf +EBUILD concurrencykit-0.5.2.ebuild 533 SHA256 85832cf35d31ed5d3ec27984c401f0f3e27d35e63c21999bb7f6bb83dda17e5b SHA512 d44cd4c7f56403ce6e142f8b054b2593335527691bbdab1466feccffc8e0aa317ae2f4cd62d3d975a781b557f7289956f4da350299407dadf33e880bc38c520d WHIRLPOOL bc15972782ffcc33e25c3dbe02b5df2f768b883e33a601ba50fead48486ab65ae122bd28dc6143809d49c90ba55e3fef0b5279e5bcddeabfe34d2233b01850c8 +EBUILD concurrencykit-0.6.0.ebuild 533 SHA256 85832cf35d31ed5d3ec27984c401f0f3e27d35e63c21999bb7f6bb83dda17e5b SHA512 d44cd4c7f56403ce6e142f8b054b2593335527691bbdab1466feccffc8e0aa317ae2f4cd62d3d975a781b557f7289956f4da350299407dadf33e880bc38c520d WHIRLPOOL bc15972782ffcc33e25c3dbe02b5df2f768b883e33a601ba50fead48486ab65ae122bd28dc6143809d49c90ba55e3fef0b5279e5bcddeabfe34d2233b01850c8 +MISC metadata.xml 449 SHA256 1e2b2fe8fd965f03194c0e4d5a672999fc5c9def5401c5df12c8719f1c215d5e SHA512 402d971b138335d751d645cd8face4addcda8f351e95bf8a0826b7fdd946c9cf6a22bb0ae274e51f39ee4d56389887856f84a83451040adc12e29d9740982d33 WHIRLPOOL 140d9fc1423f4fe05ab6b688f8cf095fdbc289d8a6ca7cc7d7cead32967e84e0429c59555bbb5b0b1a7551a25902fd53418da7aaf1216792aebd617eb945c519 diff --git a/dev-libs/concurrencykit/concurrencykit-0.5.2.ebuild b/dev-libs/concurrencykit/concurrencykit-0.5.2.ebuild new file mode 100644 index 000000000000..75b0b9bf0c78 --- /dev/null +++ b/dev-libs/concurrencykit/concurrencykit-0.5.2.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PN="ck" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="A library with concurrency related algorithms and data structures in C" +HOMEPAGE="http://concurrencykit.org" +SRC_URI="http://concurrencykit.org/releases/${MY_P}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0 BSD-2" +SLOT="0" +KEYWORDS="amd64 x86" + +# libck.so name collision #616762 +# these packages have nothing in common +RDEPEND="!sys-cluster/charm" + +S="${WORKDIR}/${MY_P}" diff --git a/dev-libs/concurrencykit/concurrencykit-0.6.0.ebuild b/dev-libs/concurrencykit/concurrencykit-0.6.0.ebuild new file mode 100644 index 000000000000..75b0b9bf0c78 --- /dev/null +++ b/dev-libs/concurrencykit/concurrencykit-0.6.0.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PN="ck" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="A library with concurrency related algorithms and data structures in C" +HOMEPAGE="http://concurrencykit.org" +SRC_URI="http://concurrencykit.org/releases/${MY_P}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0 BSD-2" +SLOT="0" +KEYWORDS="amd64 x86" + +# libck.so name collision #616762 +# these packages have nothing in common +RDEPEND="!sys-cluster/charm" + +S="${WORKDIR}/${MY_P}" diff --git a/dev-libs/concurrencykit/metadata.xml b/dev-libs/concurrencykit/metadata.xml new file mode 100644 index 000000000000..5acb2fa5df31 --- /dev/null +++ b/dev-libs/concurrencykit/metadata.xml @@ -0,0 +1,15 @@ + + + + + hydrapolic@gmail.com + Tomáš Mózes + + + proxy-maint@gentoo.org + Proxy Maintainers + + + concurrencykit/ck + + diff --git a/dev-libs/confuse/Manifest b/dev-libs/confuse/Manifest new file mode 100644 index 000000000000..0540d9e499b5 --- /dev/null +++ b/dev-libs/confuse/Manifest @@ -0,0 +1,7 @@ +DIST confuse-3.0.tar.xz 449144 SHA256 bb75174e02aa8b44fa1a872a47beeea1f5fe715ab669694c97803eb6127cc861 SHA512 12279045b772e94d2e29201ab1d7aef1ef8e698780a22d6a282d12f51ccd9a437e7817a4dd5e39bdfc8dae79700b72aa0783b4b983a935d751403d2cffd1161e WHIRLPOOL fe9f792b9f0858029393a811da93746fb91dc6cc3c99bfcc3a183d7bc0f3600818b96df8d169c63e64a59cb0f3857a86298f0bfd4053c8360bcd2b6bd1e71156 +DIST confuse-3.2.tar.xz 470108 SHA256 a46abb8696026d314197b6a70ae1a1c296342a9a68aa69b1935709c1477a4e48 SHA512 4c81b52bca951ab46961ed91bf9e887f7940dedfb69eaf2f6905cb2d88275e635c80d2570797e4276b5cd970b805ab902da6cd6f89dc64216b0b02445c912acd WHIRLPOOL 5edf49bb58215b5694b66679c6638a16e0f9b3080f4b89b660d43329a622b9771f1403424a7eac1fccc6eaf7ffd80b1994629a09ebab3e29abda31bb902ba935 +EBUILD confuse-3.0.ebuild 1159 SHA256 8fc7f07e40b750f6ca8c399f0c27f49cae515cb044e8ad27eb236f4fed3d406b SHA512 909e03efaaeff4009f95a772087368d2775fe89077ecefe9fe927b9668b79ab0b09e1f0e92463af7e1e01b7cbed465412f39b2df6bb4dda34626eb338e6f21f8 WHIRLPOOL 311b6499c003036f3bac2be509b6e46455fa0606011a6cfd537bb7c99ae75b743da567cbd7f56ede7905a344f4f019e0d79da146c67f47fdf08b46141c8bb458 +EBUILD confuse-3.2.ebuild 1169 SHA256 ae83b893818932b6b7aa00c7ab3a76b67aeccdc6f2ee99fd779d5c53b400f009 SHA512 116a74c91e19e3137911c91fe34dad66db3d6a87535f415d650853704544424fb52de0edf37e75211c508c51164569aecf0d089878a8fba72ae361f87f7e487a WHIRLPOOL 100ecec3e6e2f04a3314d11890bebd11d4398ff9bad2a6d97378f1fa93b46da6940f03a314ec967dddd755bdd57aaa9a9d5296cdbfd8d9a0c76522f4148a6db3 +MISC ChangeLog 3238 SHA256 7d05dc104c7f19d6c4c9f563594d424a78fe9d7cea3d87db10606010eb42e7a7 SHA512 1e54e90656e60daf0b721272e69c405a21e82a0f735d5f24af407afb5484948bbd2eba50d31232dc5785cab2eb12af0e3c32a02cc965d02a663e34ea63b890c8 WHIRLPOOL 6a9083788ce970508ba86998286745f7f95d5fcc4e4f8a95d9a64d0099fef2efa706c7007fda64e501668c0d922f9d9cc5e45766b8edf80276e9a5cfd35680e4 +MISC ChangeLog-2015 6775 SHA256 941579df4145ee3db54980905eba6087cb6f34b929c37f36e91fdf498a92e445 SHA512 c8936a44771fbd0a425257a4bc0b579b630fa870cbd4633dc74d5f532e6ad20b56a7dc94f49810407df14ae0ac26f6c92debce0be02adab75a76416ae733b45a WHIRLPOOL 1675feddf111bef96a1c4abd35e4c570fe14fbf1341f1f00db5cf0cc0eaaa80b15e75df6a00702420918b6f2bf7921b2976c6b4931f77d2c35bbf2d075754e63 +MISC metadata.xml 330 SHA256 5ceb57a510666bdeb265acd3454a8c525dd61976d6e1a28fb188bb5d03da970c SHA512 240e353d9f2dc60b40eab3def6e661a9a40e22bf9cdb3e3d0bdc351cc26f45a8104dd5ab487d0248087b6be702640bafc8851c6dddaa315a6260fb61858d790c WHIRLPOOL 517540e55e4fa357248cd1d996627b0f8c167bd0c720070559c205afefcf585e2b7c3134ab3c84b9af5ab7fb599293337b13c166537450c67401c8f2c49a14df diff --git a/dev-libs/confuse/confuse-3.0.ebuild b/dev-libs/confuse/confuse-3.0.ebuild new file mode 100644 index 000000000000..646fb29613d5 --- /dev/null +++ b/dev-libs/confuse/confuse-3.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils multilib-minimal + +DESCRIPTION="a configuration file parser library" +HOMEPAGE="http://www.nongnu.org/confuse/" +SRC_URI="https://github.com/martinh/libconfuse/releases/download/v${PV}/${P}.tar.xz" + +LICENSE="ISC" +SLOT="0/1.0.0" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 sparc x86 ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" + +IUSE="nls static-libs" + +DEPEND="sys-devel/flex + sys-devel/libtool + virtual/pkgconfig + nls? ( sys-devel/gettext )" +RDEPEND="nls? ( virtual/libintl[${MULTILIB_USEDEP}] )" + +DOCS=( AUTHORS ) + +src_prepare() { + eapply_user + multilib_copy_sources +} + +multilib_src_configure() { + # examples are normally compiled but not installed. They + # fail during a mingw crosscompile. + local ECONF_SOURCE=${BUILD_DIR} + econf \ + --enable-shared \ + --disable-examples \ + $(use_enable nls) \ + $(use_enable static-libs static) +} + +multilib_src_install_all() { + prune_libtool_files + + doman doc/man/man3/*.3 + dodoc -r doc/html + + docinto examples + dodoc examples/*.{c,conf} +} diff --git a/dev-libs/confuse/confuse-3.2.ebuild b/dev-libs/confuse/confuse-3.2.ebuild new file mode 100644 index 000000000000..163dcf76dc40 --- /dev/null +++ b/dev-libs/confuse/confuse-3.2.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils multilib-minimal + +DESCRIPTION="a configuration file parser library" +HOMEPAGE="http://www.nongnu.org/confuse/" +SRC_URI="https://github.com/martinh/libconfuse/releases/download/v${PV}/${P}.tar.xz" + +LICENSE="ISC" +SLOT="0/1.1.0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" + +IUSE="nls static-libs" + +DEPEND="sys-devel/flex + sys-devel/libtool + virtual/pkgconfig + nls? ( sys-devel/gettext )" +RDEPEND="nls? ( virtual/libintl[${MULTILIB_USEDEP}] )" + +DOCS=( AUTHORS ) + +src_prepare() { + eapply_user + multilib_copy_sources +} + +multilib_src_configure() { + # examples are normally compiled but not installed. They + # fail during a mingw crosscompile. + local ECONF_SOURCE=${BUILD_DIR} + econf \ + --enable-shared \ + --disable-examples \ + $(use_enable nls) \ + $(use_enable static-libs static) +} + +multilib_src_install_all() { + prune_libtool_files + + doman doc/man/man3/*.3 + dodoc -r doc/html + + docinto examples + dodoc examples/*.{c,conf} +} diff --git a/dev-libs/confuse/metadata.xml b/dev-libs/confuse/metadata.xml new file mode 100644 index 000000000000..d7752ca1cd39 --- /dev/null +++ b/dev-libs/confuse/metadata.xml @@ -0,0 +1,11 @@ + + + + + pinkbyte@gentoo.org + Sergey Popov + + + martinh/libconfuse + + diff --git a/dev-libs/console_bridge/Manifest b/dev-libs/console_bridge/Manifest new file mode 100644 index 000000000000..ac79291d1809 --- /dev/null +++ b/dev-libs/console_bridge/Manifest @@ -0,0 +1,10 @@ +DIST console_bridge-0.2.7.tar.gz 5493 SHA256 9145f0f97337fc87b4c062a4bab6874e383dad3a303486b635d31af69ee0d536 SHA512 86e8ccfc9c48f6a73630b9871f2b7a4c2a6cd975e5890a61e622cbc9bdc01af942a5ad4c8666c85ada584d3e3b57c9064b55c4942977b275248a91d3492ed492 WHIRLPOOL 4ba146ac9a8f57bf37e994b74e50d66c7a82cad9aa080b8eb2f067c3837b2f65c0b5aab1490892a2b89897af70a53d46d93c62decbd8cdc1952517a1e6b8d286 +DIST console_bridge-0.3.1.tar.gz 231119 SHA256 753b154bb6838941d7782b07931868fab5e3dd40335cbda7cef4521c1cc5c597 SHA512 c38779cb564a033fd0c232e49a58fd16d0d6c82fd548bd991b7ed9b8604b54dee639763b864c2be35267486ab01629f1e3d7f5fb7011bf50c040572ad862d820 WHIRLPOOL a35343522999d9da169ad02161e16aaebfeec60d25e729588d9c176aa4ca65de8476dc1d9f693b05b9f2d30962e922f97115abe2add4cdd7e277484722b857c4 +DIST console_bridge-0.3.2.tar.gz 231243 SHA256 fd12e48c672cb9c5d516d90429c4a7ad605859583fc23d98258c3fa7a12d89f4 SHA512 41fa5340d7ba79c887ef73eb4fda7b438ed91febd224934ae4658697e4c9e43357207e1b3e191ecce3c97cb9a87b0556372832735a268261bc798cc7683aa207 WHIRLPOOL 796ff04398dc4aba8b0fa34d37e94a610d44c5624423eaf94d2160aab39aa3364f903a361409cacd4378f37befb5078d4d28f10991e1d1d92cd2bca6f4fa4097 +EBUILD console_bridge-0.2.7.ebuild 785 SHA256 45813e339ce25839af0219ad2691ff8559fc42ab40de26b939ba015373dd1359 SHA512 45d72fabcd1161132d8b87d3d37152733939ada0152c198698d6a09185b4590c21a58cd2a77f8fc8d6a9028a6bb9b14f7a0ec3c686ef1cdf535a58848ebee630 WHIRLPOOL af16f538c7e164066976e2dd07ed71418a68e18d6bc67dc42bc421989a536f78674325db8a241e133b264394ce1b67dcbb91c9384e7a747b4319a624963026e0 +EBUILD console_bridge-0.3.1.ebuild 661 SHA256 bec8714b26edbf82e540ee0174fb7329d2573ff11cd3b705acfb99f8213d7d08 SHA512 c0480ede139b256c0c1937133bfaeb5679a336d3ad32d0ee15f9e312bf59f89c9417eb0d7fa2f00ae094431d16fe3fbc64361b93d64141a3311ed18a726bf9c0 WHIRLPOOL 9e073dea6a7bd4cb416bfa45d112c191d6e6567d884eddd53b0f84abbae0b6fb1eb373e4ada62b27b5d56ddbe6c85def1df7aaad8c37066a0b8ee0b08f608275 +EBUILD console_bridge-0.3.2.ebuild 661 SHA256 bec8714b26edbf82e540ee0174fb7329d2573ff11cd3b705acfb99f8213d7d08 SHA512 c0480ede139b256c0c1937133bfaeb5679a336d3ad32d0ee15f9e312bf59f89c9417eb0d7fa2f00ae094431d16fe3fbc64361b93d64141a3311ed18a726bf9c0 WHIRLPOOL 9e073dea6a7bd4cb416bfa45d112c191d6e6567d884eddd53b0f84abbae0b6fb1eb373e4ada62b27b5d56ddbe6c85def1df7aaad8c37066a0b8ee0b08f608275 +EBUILD console_bridge-9999.ebuild 661 SHA256 bec8714b26edbf82e540ee0174fb7329d2573ff11cd3b705acfb99f8213d7d08 SHA512 c0480ede139b256c0c1937133bfaeb5679a336d3ad32d0ee15f9e312bf59f89c9417eb0d7fa2f00ae094431d16fe3fbc64361b93d64141a3311ed18a726bf9c0 WHIRLPOOL 9e073dea6a7bd4cb416bfa45d112c191d6e6567d884eddd53b0f84abbae0b6fb1eb373e4ada62b27b5d56ddbe6c85def1df7aaad8c37066a0b8ee0b08f608275 +MISC ChangeLog 3594 SHA256 7a3ed16d669b2f48b2c00d1e8281e32ffd48bfda5f446447aa5388423b6730e4 SHA512 788f1d1ba2b33b2ad744e68b057b0549a627689091aadd5c7925f576759020ba21163cf01c459abe5f283130ad5822f288b2b2b73f90e790a7771805a7c4769c WHIRLPOOL ac5db5c73d61a1aff1fccb86ac8ca4e6fcc22b88d6e8c1c4b0213f05e47440a4df7f3de75ec3c274359c9d3ef99205cb3621d26e28e4a04f87e5cfeddbd03a9d +MISC ChangeLog-2015 552 SHA256 5d60f48a542abd4e4dae35c83da224028c47d63253b39ff5aff8ad57315c2a76 SHA512 7e55e97431eb2af8d990d5e5bbdb5a303dd9d38836fb48b7081d19d9211d05dc1739af052fcb1d137eca55ee282d1c2afbe5ea299698104ac0253bd86bf172af WHIRLPOOL df4475eada9901910d88cfc1590dc2463b37a1f1856d5cf582abdadd597e5072d1b01090e14464b7bcb0e5635527af39b002159b9a2d8ea8554e9f31d144bcdc +MISC metadata.xml 342 SHA256 2bcebcaf544811ef482c7de2273e133edc0a7b3409e436b65bb5726861e97001 SHA512 a438639c10d92d4ae5b4b54b7dff6dcdecfe829544dc7480dd830f38803efe0207f142d5b6177aafb1b170979d11dea590d85d75ac7814dead2edce720367aaf WHIRLPOOL d0d353504489d311ac8967e16e7cf787d1d76567d4d2a99eaa30599c521630b186455a0b4c1263a42498ac475926d8ba6507df149b3a7212d5cc119654603b88 diff --git a/dev-libs/console_bridge/console_bridge-0.2.7.ebuild b/dev-libs/console_bridge/console_bridge-0.2.7.ebuild new file mode 100644 index 000000000000..b598bee4c197 --- /dev/null +++ b/dev-libs/console_bridge/console_bridge-0.2.7.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +SCM="" +if [ "${PV#9999}" != "${PV}" ] ; then + SCM="git-r3" + EGIT_REPO_URI="https://github.com/ros/console_bridge" +fi + +inherit ${SCM} cmake-utils multilib + +if [ "${PV#9999}" != "${PV}" ] ; then + KEYWORDS="" + SRC_URI="" +else + KEYWORDS="~amd64 ~arm" + SRC_URI="https://github.com/ros/console_bridge/archive/${PV}.tar.gz -> ${P}.tar.gz" +fi + +DESCRIPTION="A ROS-independent package for logging into rosconsole/rosout" +HOMEPAGE="http://wiki.ros.org/console_bridge" +LICENSE="BSD" +SLOT="0" +IUSE="" + +RDEPEND="dev-libs/boost:=[threads]" +DEPEND="${RDEPEND}" + +src_prepare() { + sed -i -e "s/DESTINATION lib/DESTINATION $(get_libdir)/" CMakeLists.txt || die + cmake-utils_src_prepare +} diff --git a/dev-libs/console_bridge/console_bridge-0.3.1.ebuild b/dev-libs/console_bridge/console_bridge-0.3.1.ebuild new file mode 100644 index 000000000000..505bea12ffe1 --- /dev/null +++ b/dev-libs/console_bridge/console_bridge-0.3.1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +SCM="" +if [ "${PV#9999}" != "${PV}" ] ; then + SCM="git-r3" + EGIT_REPO_URI="https://github.com/ros/console_bridge" +fi + +inherit ${SCM} cmake-utils multilib + +if [ "${PV#9999}" != "${PV}" ] ; then + KEYWORDS="" + SRC_URI="" +else + KEYWORDS="~amd64 ~arm" + SRC_URI="https://github.com/ros/console_bridge/archive/${PV}.tar.gz -> ${P}.tar.gz" +fi + +DESCRIPTION="A ROS-independent package for logging into rosconsole/rosout" +HOMEPAGE="http://wiki.ros.org/console_bridge" +LICENSE="BSD" +SLOT="0" +IUSE="" + +RDEPEND="dev-libs/boost:=[threads]" +DEPEND="${RDEPEND}" diff --git a/dev-libs/console_bridge/console_bridge-0.3.2.ebuild b/dev-libs/console_bridge/console_bridge-0.3.2.ebuild new file mode 100644 index 000000000000..505bea12ffe1 --- /dev/null +++ b/dev-libs/console_bridge/console_bridge-0.3.2.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +SCM="" +if [ "${PV#9999}" != "${PV}" ] ; then + SCM="git-r3" + EGIT_REPO_URI="https://github.com/ros/console_bridge" +fi + +inherit ${SCM} cmake-utils multilib + +if [ "${PV#9999}" != "${PV}" ] ; then + KEYWORDS="" + SRC_URI="" +else + KEYWORDS="~amd64 ~arm" + SRC_URI="https://github.com/ros/console_bridge/archive/${PV}.tar.gz -> ${P}.tar.gz" +fi + +DESCRIPTION="A ROS-independent package for logging into rosconsole/rosout" +HOMEPAGE="http://wiki.ros.org/console_bridge" +LICENSE="BSD" +SLOT="0" +IUSE="" + +RDEPEND="dev-libs/boost:=[threads]" +DEPEND="${RDEPEND}" diff --git a/dev-libs/console_bridge/console_bridge-9999.ebuild b/dev-libs/console_bridge/console_bridge-9999.ebuild new file mode 100644 index 000000000000..505bea12ffe1 --- /dev/null +++ b/dev-libs/console_bridge/console_bridge-9999.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +SCM="" +if [ "${PV#9999}" != "${PV}" ] ; then + SCM="git-r3" + EGIT_REPO_URI="https://github.com/ros/console_bridge" +fi + +inherit ${SCM} cmake-utils multilib + +if [ "${PV#9999}" != "${PV}" ] ; then + KEYWORDS="" + SRC_URI="" +else + KEYWORDS="~amd64 ~arm" + SRC_URI="https://github.com/ros/console_bridge/archive/${PV}.tar.gz -> ${P}.tar.gz" +fi + +DESCRIPTION="A ROS-independent package for logging into rosconsole/rosout" +HOMEPAGE="http://wiki.ros.org/console_bridge" +LICENSE="BSD" +SLOT="0" +IUSE="" + +RDEPEND="dev-libs/boost:=[threads]" +DEPEND="${RDEPEND}" diff --git a/dev-libs/console_bridge/metadata.xml b/dev-libs/console_bridge/metadata.xml new file mode 100644 index 000000000000..bffc275210b9 --- /dev/null +++ b/dev-libs/console_bridge/metadata.xml @@ -0,0 +1,11 @@ + + + + + ros@gentoo.org + Gentoo ROS Project + + + ros/console_bridge + + diff --git a/dev-libs/cpl-stratego/Manifest b/dev-libs/cpl-stratego/Manifest new file mode 100644 index 000000000000..097341285f0c --- /dev/null +++ b/dev-libs/cpl-stratego/Manifest @@ -0,0 +1,5 @@ +DIST cpl-stratego-0.4.tar.gz 146956 SHA256 9f41825d5667b241dcf1719ead59512dc1d5b41eec65baf4f4b73b34ecd0d3ee SHA512 05253a10b7359bedb99d9c8150018808d3961545f0b3e83a19acb8be94fca12a45503b14f96d02605b6a3453ffbfff542017e1e35e9c5ff48e719640a601f675 WHIRLPOOL 631d4420cfa310bc748847bd83980976911c562b569a61a795f251ddb0c45a4318293b6560d0862f3bb230d34d6ca723d83e99fac7f32d4274338f99ad445fdc +EBUILD cpl-stratego-0.4.ebuild 645 SHA256 145852be388527c309de6243166e347089f151cd34735b8e61eb8a6865b3217e SHA512 b92a951915fa40e75b56d4fdaa2559a073fb7d97f1eea836cd6cdd298412ec236ec34d481f9d209da588073c3a27c760813e327080a2a13bf182c0122abe8ebf WHIRLPOOL 6e5ba356a656c1a13c91d43686cee21c9026ade19c61f01e506bbec545f993b9c6b296cdc69ae7ce3e98a3970e1e31f8ba682c4b4e888d108dbe256412b10ecd +MISC ChangeLog 2533 SHA256 d0412371cd1af56d87d7688eb15a5adc5c4ecd314eaf9b3ca6173a42dfefe3d1 SHA512 bf93a8eab352c3fd54b236fc6654ee729fa56660d0704a0520ee526a3c1679246db48df5ce4fa485084f923bb0b18693bd59da0c6f075e7dc227f93b840646b2 WHIRLPOOL fdc7ca40343077eb1417b51f112b965052cb8b7e4dcb9f8c6adc960dcceb65743034d8c3d2eca5e69d21fa5642c1ca6afbe436fc098cb58775b750306defe9b5 +MISC ChangeLog-2015 1660 SHA256 a549de6aad52f4590d45a8bc7ca953968c5a7f2b29155b2f02314e73ef8632c2 SHA512 13f5d8f7e6bca44fbf22abfbe94a89a5ea79810d2c79790769463303481a87185deff80c94354477697c991dabbb7c0b702961f16f11c2f8f4964e14e9f714c3 WHIRLPOOL b412bec367acf6c2799ee7e8771348176a1960867c778632c5a0787bc4776392b9add008437bc04c32fd190e92700d129801c198b3b85540bb3989d94b477abb +MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968 diff --git a/dev-libs/cpl-stratego/cpl-stratego-0.4.ebuild b/dev-libs/cpl-stratego/cpl-stratego-0.4.ebuild new file mode 100644 index 000000000000..965f349662b2 --- /dev/null +++ b/dev-libs/cpl-stratego/cpl-stratego-0.4.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +inherit toolchain-funcs + +DESCRIPTION="Choice library mostly used by Stratego" +SRC_URI="ftp://ftp.stratego-language.org/pub/stratego/stratego/${P}.tar.gz" +HOMEPAGE="http://www.stratego-language.org" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="x86 sparc ppc alpha ia64" +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND}" + +src_compile() { + econf || die "./configure failed" + emake CC=$(tc-getCC) CC_DBG=$(tc-getCC) CC_GCC=$(tc-getCC) + CC_PROF=$(tc-getCC) || die +} + +src_install () { + make DESTDIR="${D}" install || die + + dodoc AUTHORS ChangeLog NEWS README* +} diff --git a/dev-libs/cpl-stratego/metadata.xml b/dev-libs/cpl-stratego/metadata.xml new file mode 100644 index 000000000000..6f49eba8f496 --- /dev/null +++ b/dev-libs/cpl-stratego/metadata.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/dev-libs/crossguid/Manifest b/dev-libs/crossguid/Manifest new file mode 100644 index 000000000000..d3b91a63333f --- /dev/null +++ b/dev-libs/crossguid/Manifest @@ -0,0 +1,4 @@ +DIST crossguid-0_pre20150817.tar.gz 46569 SHA256 022c9f02cc36e865cd8fd0111a597ff2bd91988deeb348dbe2aba64aed1abd99 SHA512 823ca301f1d3b78a778649cd9169194d98dd33c65cadd5bfb9f86429e82049c99c17e09f093b92675981d2aac2aac25b60cbb157fad57a3e1bada826edd8ba0a WHIRLPOOL 16cb99af3d52a71c63bab1c266623dfd02a65e9d2a94851878358a822bd6a456fb41703c3268ea4393e0068589a7894c96a2ce1ee69135da947e206e2c43f8ce +EBUILD crossguid-0_pre20150817.ebuild 1032 SHA256 55c01fffd6d1a3c60bc9a503d1295aa26a8bcf0409abb56279ddcab96dd62447 SHA512 ecda745d797e6ea79d8aefc5d6edb5f1d956ec3db12a9e8a8ca3ae616e23d611af2c4e2cf9217c6da956c051ef48035f2a3a4a06f5b40d0e872db37ef53085eb WHIRLPOOL 47493e557cf4a3200fc99e3fa97c54b4767ec8fe54dbfdffb1e9f1b09274bfd033c56157bdcc48be8129617e0e2e8ed2c1c43d4b0b502bf83813cbb4025d4f13 +MISC ChangeLog 2001 SHA256 7af22e1c9d5229734e72b9f2639e368531e5922274f2b43e539d7bd5cbe736e1 SHA512 ca282b07bdd35632e22ed655a9dabb2f1ecbb38c87fbca25caeb59b00c25c57f18e4f0fd7445f074276deb4cb91a4a4febb8e282fe82b3e9b76eb659f2c85ec8 WHIRLPOOL 47b98e93cd99731057d6a26d9181ca74b54bb82afa2fd0d8aa346bd56f48d62065999584bd341d92e47cf460de67e537fc8b98c391e555990f3721adffe6320d +MISC metadata.xml 297 SHA256 18a6c983e404ca7e505869a986335680529d8ba7802f04edee079d74af8570ad SHA512 a654c8d75077dd393b4dd879c46239764ac4fdcc31d06427afd4eeaa3c9d08bfa3c8bc62d722c4d7ccaa3775a2dc2e547d1608b222b060dc0dbef8488f128396 WHIRLPOOL 674b164b791f364db63fb429f002b25205bd450fdcb557b3009084ae399e0653a4ca3d97577671f637e8e670fc597f105fa4ec84ef61208b5a91323d4b56b04f diff --git a/dev-libs/crossguid/crossguid-0_pre20150817.ebuild b/dev-libs/crossguid/crossguid-0_pre20150817.ebuild new file mode 100644 index 000000000000..f2987df8d078 --- /dev/null +++ b/dev-libs/crossguid/crossguid-0_pre20150817.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit toolchain-funcs + +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="https://github.com/graeme-hill/crossguid.git" + inherit git-r3 +else + EGIT_COMMIT="8f399e8bd4252be9952f3dfa8199924cc8487ca4" + SRC_URI="https://github.com/graeme-hill/crossguid/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${PN}-${EGIT_COMMIT}" +fi + +DESCRIPTION="Lightweight cross platform C++ GUID/UUID library" +HOMEPAGE="https://github.com/graeme-hill/crossguid" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~arm x86" +IUSE="" + +# We use libuuid from util-linux. +DEPEND="sys-apps/util-linux" +RDEPEND="${DEPEND}" + +RESTRICT="test" #575544 + +e() { echo "$@"; "$@"; } + +src_compile() { + e $(tc-getCXX) \ + ${CXXFLAGS} ${CPPFLAGS} ${LDFLAGS} \ + -std=c++11 \ + -c guid.cpp -o guid.o \ + -DGUID_LIBUUID \ + || die + + e $(tc-getAR) rs libcrossguid.a guid.o || die +} + +src_install() { + insinto /usr/include + doins guid.h + dolib.a libcrossguid.a +} diff --git a/dev-libs/crossguid/metadata.xml b/dev-libs/crossguid/metadata.xml new file mode 100644 index 000000000000..4b7fa3d88e43 --- /dev/null +++ b/dev-libs/crossguid/metadata.xml @@ -0,0 +1,10 @@ + + + + + vapier@gentoo.org + + + graeme-hill/crossguid + + diff --git a/dev-libs/crypto++/Manifest b/dev-libs/crypto++/Manifest new file mode 100644 index 000000000000..ae38c8a5bdaf --- /dev/null +++ b/dev-libs/crypto++/Manifest @@ -0,0 +1,7 @@ +AUX crypto++-5.6.4-nonative.patch 1011 SHA256 2c49e8b84654e2e0c23b6229db4ecab4fb7c6bd5f48a2c9867d36478362cf1bb SHA512 fd9973d5fcb8182f89388276c54e8698c9b0ec82be1e93a575b4a00ad5f8b2966cd2cf699258dbf8b681423b31cb3d926a694d36d0eb07bf583811d55e845837 WHIRLPOOL 9427b6953d0f6c904c9ab7cadd70ee385277109c77f4060e45e506e3e4aa7319209393b3b45f275d3c416f8b11fc7940258b31f56a0a35cbd4ca4b8b5d06471d +AUX crypto++-5.6.5-CVE-2017-9434.patch 1728 SHA256 52e436bcb9e81ce9cbdfbbb62129c0082cf09524699f29669950f3d71f9a1cdc SHA512 42566d3e67c6b253b65587877652112691ba91e554db47843256a9c2af8a29d7950266a508358356f008462ec51cc1dadf4d0e9dbbd33a33a5a94d029eebc1f9 WHIRLPOOL 713b873a9eea20f3b73f02be762d952227d27b01cf1b5ffcccb952d9f24156dc39b4653f282a2febc70d021b50fba9d16e7f4d762279ab22fb8caa4e577369a2 +DIST cryptopp565.zip 4220843 SHA256 a75ef486fe3128008bbb201efee3dcdcffbe791120952910883b26337ec32c34 SHA512 f13718d02ca69b0129aaf9e767c9d2e0333aa7538355f9c63d9eaf1ff369062084a18dc01489439ebf37797b3ea81b01beb072057d47ec962bfb824ddc72abc7 WHIRLPOOL 376e8d7ad497d03f19542fd183181f26c83f38dfef800529cb5d5ce7238978f005d36e3e7cce63322af9b7dfc3a69fdb615c435bcf092bbd6abf6781dfd6d8a3 +EBUILD crypto++-5.6.5-r1.ebuild 1528 SHA256 00d296c25997c4a5b4bd827b0c2d766ac7a50a4f5eb5c8ba64a21523f7bc5f81 SHA512 88ac82a306dad13fa2f9704e4c30c71c5f04d02ba4ec8c6c6babefd84953dd3ebab08c154f2004d3a7ad065f7234c8f5cbc57f9ec5524e0b7d843cc7cae89f64 WHIRLPOOL 006cab35fc8d490f32b049853305dd0f459c0c46d76dee86e6a3746f9d4082752fce83fadb2789b7ae8453931b3468c01b358da75f2d35c440cef8e06878ccbc +MISC ChangeLog 6151 SHA256 cf7f34c1f0304ff08962a37b6f179a0d8524943102351fe5fcb55c4495cdff16 SHA512 38bcd1542c6cd8c0d84b8cadcf2d15d9afaa88e498f7cbc0545815c03ce0665bc5fe796d80471bcf85ebe284073da755e7ff237510c27b5e3c69d8cc15741858 WHIRLPOOL 0ed558f97e285c297f9dd5f5a1520bade72183a17adbdb3e7fe1167c170597af6689422b4f9d61c0bc3532b6d7b35340a6862f4b6594cc93a696b92ee8b8f631 +MISC ChangeLog-2015 15460 SHA256 8b39aeffd060e218250defe9b6ab1f66b55b44855e82d92cd0710e4fda8553c1 SHA512 faac08f8115e8a89d170e76ddeaa2474f6dece7151f2105412e656576642828b09f6b153f2628fcceee83a8eda4794ab3d594170e9abcda58849988e8f7ae5ff WHIRLPOOL 1bbccb5eb8a94f711b23cedd282f9aa7336f8432eefcfdeb3dfb4a4748fa83522a1d353d05704078100066ce1979fb8a7911f90c0f6a9576389bb60c577929a9 +MISC metadata.xml 431 SHA256 1b760fe4c8e8ea0d684c1ef814eae243e5ff20d6485bbbd190ab2d9d0549d1ea SHA512 3a704d3baef368c74a022508d055f440c75ad07655c983f3ef73197374a2e1a7a9470905f827a6cae0e93e5381ee97061242e8170f30756bfc453f0275a9ae6c WHIRLPOOL 07f24034277327d0b28a108e916d0f2dc501639b03d5641408a543eb31e47ef8047d8dc96a008e7548962adde705dfe265d3e8905a4397f36f139c871483c093 diff --git a/dev-libs/crypto++/crypto++-5.6.5-r1.ebuild b/dev-libs/crypto++/crypto++-5.6.5-r1.ebuild new file mode 100644 index 000000000000..db4b181856d0 --- /dev/null +++ b/dev-libs/crypto++/crypto++-5.6.5-r1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit flag-o-matic toolchain-funcs + +DESCRIPTION="C++ class library of cryptographic schemes" +HOMEPAGE="http://cryptopp.com" +SRC_URI="https://www.cryptopp.com/cryptopp${PV//.}.zip" + +LICENSE="Boost-1.0" +SLOT="0/5.6" # subslot is so version +KEYWORDS="alpha amd64 ~arm arm64 hppa ppc ppc64 sparc x86 ~x64-macos" +IUSE="static-libs" + +DEPEND="app-arch/unzip" + +S="${WORKDIR}" + +PATCHES=( + "${FILESDIR}/${PN}-5.6.4-nonative.patch" + "${FILESDIR}/${P}-CVE-2017-9434.patch" +) + +pkg_setup() { + export CXX="$(tc-getCXX)" + export LIBDIR="${EPREFIX}/usr/$(get_libdir)" + export PREFIX="${EPREFIX}/usr" +} + +src_compile() { + # higher optimizations cause problems + replace-flags -O3 -O2 + # ASM isn't Darwin/Mach-O ready, #479554, buildsys doesn't grok CPPFLAGS + [[ ${CHOST} == *-darwin* ]] && append-cxxflags -DCRYPTOPP_DISABLE_ASM + + emake -f GNUmakefile all shared +} + +src_install() { + default + + # remove leftovers as build system sucks + rm -fr "${ED}"/usr/bin "${ED}"/usr/share/cryptopp + use static-libs || rm -f "${ED}${EPREFIX}"/usr/$(get_libdir)/*.a + + # compatibility + dosym cryptopp "${EPREFIX}"/usr/include/crypto++ + for f in "${ED}${EPREFIX}"/usr/$(get_libdir)/*; do + ln -s "$(basename "${f}")" "$(echo "${f}" | sed 's/cryptopp/crypto++/')" || die + done +} + +pkg_preinst() { + # we switched directory to symlink + # make sure portage digests that + rm -fr "${EROOT}/usr/include/crypto++" + rm -fr "${EROOT}/usr/include/cryptopp" +} diff --git a/dev-libs/crypto++/files/crypto++-5.6.4-nonative.patch b/dev-libs/crypto++/files/crypto++-5.6.4-nonative.patch new file mode 100644 index 000000000000..77d74ee729e9 --- /dev/null +++ b/dev-libs/crypto++/files/crypto++-5.6.4-nonative.patch @@ -0,0 +1,28 @@ +Index: work/GNUmakefile +=================================================================== +--- work.orig/GNUmakefile ++++ work/GNUmakefile +@@ -125,23 +125,6 @@ ifeq ($(IS_X86)$(IS_X32)$(IS_CYGWIN)$(IS + endif + endif + +-# Guard use of -march=native +-ifeq ($(GCC42_OR_LATER)$(IS_NETBSD),10) +- CXXFLAGS += -march=native +-else ifneq ($(CLANG_COMPILER)$(INTEL_COMPILER),00) +- CXXFLAGS += -march=native +-else +- # GCC 3.3 and "unknown option -march=" +- # Ubuntu GCC 4.1 compiler crash with -march=native +- # NetBSD GCC 4.8 compiler and "bad value (native) for -march= switch" +- # Sun compiler is handled below +- ifeq ($(SUN_COMPILER)$(IS_X64),01) +- CXXFLAGS += -m64 +- else ifeq ($(SUN_COMPILER)$(IS_X86),01) +- CXXFLAGS += -m32 +- endif # X86/X32/X64 +-endif +- + # Aligned access required for -O3 and above due to vectorization + UNALIGNED_ACCESS := $(shell $(EGREP) -c "^[[:space:]]*//[[:space:]]*\#[[:space:]]*define[[:space:]]*CRYPTOPP_NO_UNALIGNED_DATA_ACCESS" config.h) + ifneq ($(UNALIGNED_ACCESS),0) diff --git a/dev-libs/crypto++/files/crypto++-5.6.5-CVE-2017-9434.patch b/dev-libs/crypto++/files/crypto++-5.6.5-CVE-2017-9434.patch new file mode 100644 index 000000000000..428f48901a31 --- /dev/null +++ b/dev-libs/crypto++/files/crypto++-5.6.5-CVE-2017-9434.patch @@ -0,0 +1,45 @@ +From 07dbcc3d9644b18e05c1776db2a57fe04d780965 Mon Sep 17 00:00:00 2001 +From: Jeffrey Walton +Date: Wed, 10 May 2017 18:17:12 -0400 +Subject: [PATCH] Add Inflator::BadDistanceErr exception (Issue 414) The + improved validation and excpetion clears the Address Sanitizer and Undefined + Behavior Sanitizer findings + +--- + zinflate.cpp | 8 +++++++- + zinflate.h | 4 ++++ + 3 files changed, 14 insertions(+), 4 deletions(-) + +diff --git a/zinflate.cpp b/zinflate.cpp +index 664efe6..fbd7505 100644 +--- a/zinflate.cpp ++++ b/zinflate.cpp +@@ -550,12 +550,16 @@ bool Inflator::DecodeBody() + break; + } + case DISTANCE_BITS: ++ if (m_distance >= COUNTOF(distanceExtraBits)) ++ throw BadDistanceErr(); + bits = distanceExtraBits[m_distance]; + if (!m_reader.FillBuffer(bits)) + { + m_nextDecode = DISTANCE_BITS; + break; + } ++ if (m_distance >= COUNTOF(distanceStarts)) ++ throw BadDistanceErr(); + m_distance = m_reader.GetBits(bits) + distanceStarts[m_distance]; + OutputPast(m_literal, m_distance); + } +diff --git a/zinflate.h b/zinflate.h +index e2fd237..c47d2f6 100644 +--- a/zinflate.h ++++ b/zinflate.h +@@ -96,6 +96,7 @@ public: + }; + class UnexpectedEndErr : public Err {public: UnexpectedEndErr() : Err(INVALID_DATA_FORMAT, "Inflator: unexpected end of compressed block") {}}; + class BadBlockErr : public Err {public: BadBlockErr() : Err(INVALID_DATA_FORMAT, "Inflator: error in compressed block") {}}; ++ class BadDistanceErr : public Err {public: BadDistanceErr() : Err(INVALID_DATA_FORMAT, "Inflator: error in bit distance") {}}; + + //! \brief RFC 1951 Decompressor + //! \param attachment the filter's attached transformation diff --git a/dev-libs/crypto++/metadata.xml b/dev-libs/crypto++/metadata.xml new file mode 100644 index 000000000000..da25a4da7d7d --- /dev/null +++ b/dev-libs/crypto++/metadata.xml @@ -0,0 +1,15 @@ + + + + + crypto@gentoo.org + Crypto + + + noloader@gmail.com + Jeffrey Walton + + + weidai11/cryptopp + + diff --git a/dev-libs/cudnn/Manifest b/dev-libs/cudnn/Manifest new file mode 100644 index 000000000000..c85e47ba858f --- /dev/null +++ b/dev-libs/cudnn/Manifest @@ -0,0 +1,3 @@ +DIST cudnn-8.0-linux-x64-v6.0.tgz 201134139 SHA256 9b09110af48c9a4d7b6344eb4b3e344daa84987ed6177d5c44319732f3bb7f9c SHA512 ddeeacb5b449920d942a26b98c353d78fd6f7d7fb3b3ce42a078626473efdda25c7ae641232702d62eb5749e39ecfd03e88346119c920c19348ac3ee82d3ff47 WHIRLPOOL 363679f192130201e3140ec5e15ab01ce0ef1f6c4cbefca0ab8a4ebe1676489184c4d36adcc282c31cca8791ef452965d0ae87bff16859c0fee9d01de38b8d1e +EBUILD cudnn-6.0.ebuild 504 SHA256 1c4dce492fa6c0f0c1363e7793b6b9c594198932283350c0c16b3b9e381d36a6 SHA512 ea1658e2dd8344203f767010b35a0b4a84d313498da7d37075b669f77cd22f80a8d111f7ffb18b9ed216aa4e87727275cf398e87c34790e27f2525dae5c9acd4 WHIRLPOOL 80c58b1ac9e318ac32187d4929b0c6bf3b8ed4f49674dee81347e3a4a1399b90d771b27183fd56216cf8aa91851d42cc43368de3b8ce9283ebcb14c29e2da979 +MISC metadata.xml 259 SHA256 bbfbeb80ffccffa8e7f837d2c93e994bbe024d565ae3a31d30c6646e80a684c8 SHA512 19fb78cf4029c154954a40df40e28fc8d98a8b7e6b42f97259f664d44c29b284feffb9d073cadc7f90b5654a64b2466e186cb677d3a11830206f173eb9057706 WHIRLPOOL 75b8dd1a97dde63f9cc9f73b5951eaf54579460763ef7cbe6f3a9a0739070601d762152ea00df8b476b80e92e5c29b611a494bac5ab747298942530cabe0ee84 diff --git a/dev-libs/cudnn/cudnn-6.0.ebuild b/dev-libs/cudnn/cudnn-6.0.ebuild new file mode 100644 index 000000000000..233215c6c587 --- /dev/null +++ b/dev-libs/cudnn/cudnn-6.0.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +CUDA_PV=8.0 + +DESCRIPTION="NVIDIA Accelerated Deep Learning on GPU library" +HOMEPAGE="https://developer.nvidia.com/cuDNN" +SRC_URI="cudnn-${CUDA_PV}-linux-x64-v${PV}.tgz" + +SLOT="0/6" +KEYWORDS="~amd64 ~amd64-linux" +RESTRICT="fetch" +LICENSE="NVIDIA-cuDNN" + +S="${WORKDIR}" + +DEPENDS="=dev-util/nvidia-cuda-toolkit-${CUDA_PV}*" +RDEPENDS="${DEPENDS}" + +src_install() { + insinto /opt + doins -r * +} diff --git a/dev-libs/cudnn/metadata.xml b/dev-libs/cudnn/metadata.xml new file mode 100644 index 000000000000..8425c0d53cb0 --- /dev/null +++ b/dev-libs/cudnn/metadata.xml @@ -0,0 +1,8 @@ + + + + + sci@gentoo.org + Gentoo Science Project + + diff --git a/dev-libs/cvector/Manifest b/dev-libs/cvector/Manifest new file mode 100644 index 000000000000..53e4cc9d8307 --- /dev/null +++ b/dev-libs/cvector/Manifest @@ -0,0 +1,10 @@ +AUX 1.0.3-LDFLAGS.patch 1152 SHA256 b3091eaa065eaea9420fe6b297f8cc2e1f9f82dcd2b9e0be3acebcc12b8e9b2c SHA512 f53243764a7c0b93244fb7a4ec969b560886c3f6f87827d8984e7d81a4b103c50868cf1b8f401d079a019f9cf1c4df73403eb07fb5ef03e7e3680d17b9ed2a0b WHIRLPOOL 3dbd9fc33b5bf2012bce8707f9c4d158ffc1d32879a096af0400f4006420fae7886e5dce30d7bdb2311c1933315dfee46cbf4cdf990645d50be2332a3be30f42 +AUX 1.0.3-dynlib.patch 1341 SHA256 cf17453d70e745d61ed60c045e91193629cc64c8d68f63a09982052292abc4d6 SHA512 3901169267fdd3ccd6999f1fb64a2f2929636d47969950a59297254ab9122e7e9e1ded33a5804ed989e96a0ab7c3368b7812a46c7e4898e1095b76bdeed65405 WHIRLPOOL 9c4910da876740ef1a1eb68770280b6a5f06dd2f00f836196f57d11af69d5f6b43c106477d27fce8d8918039486ef719163427c39b76dd12821bf269cb2e14a9 +AUX cvector-1.0.3.1-LDFLAGS.patch 1153 SHA256 da8191acf59b6935a14d3904bce91b261a0f080d9654ecf65aa77b04d97a565c SHA512 be79a156fb138c71af9d630133769d8f37d8ff5357d97212fd9082964c93d8fe0d09ebc4e393378eba73aee4c0435362e6930d6b5c18a1b6f3d6af0d6f42cfcd WHIRLPOOL d831e6b050b3dd15dfe24026f1c7b482fe5e41a066e476a827653c9918f77f45a41a2a03e244fab2026a30e3692b49eac82f26303678c178885c84b793cad5e4 +DIST CVector-1.0.3.1.tar.gz 19761 SHA256 6492b2beb26c3179cdd19abc90dc47a685be471c594d5ab664283e1d3586acdc SHA512 41300e46873efa8a2cfc44c76788025385fa7b7a108cf9dd95e4e28d515d825d4a44786a7ffb130d727a42907d56e4f62e6f75a02c96333b6afdc06c336d538e WHIRLPOOL 507a2bf047bf84e7f5dab06fc6e715384bf013944331b1f8356cbb6e5fa2997442bfe1c3b95b426154e13cd9253a0330f0abb58b93f13b957836ba80fc49f9d6 +DIST CVector-1.0.3.tar.gz 41642 SHA256 d3fa92de3cd5ba8697abdbb52080248b2c252a81cf40a8ec639be301518d0ce3 SHA512 f43030d95aeb6ef230dada13903ad56049acd15379a0c04e08b6ce8d7df7baffa3bac166af0c3c93f018e00058e07680af655e71bc0d542a6da2ad1f18e95788 WHIRLPOOL 67c3a9c043388c05a418973f687eb5aee9e09a297b127deb93c1166eda5159f0b0fc63015ec68b5097551966ffe4229c60bdda671362b0e5470fd8891bd37413 +EBUILD cvector-1.0.3-r1.ebuild 1067 SHA256 c5c3d5e63b918990bed928d35e3ef0be2f08fbedc726ce64a8d68e22302644a1 SHA512 14b4a97cc7f8cc9b52cd50c152a25851d7003913f636476591f4f8ab2478352a09bf25dcd1b056bab8a58f23e43eefb5ebba5a823c22698366bf621946e621bd WHIRLPOOL 2fb4cfe0e568a6e7333d8f2a436b6f784790435579c758274cdb9566c951f8c99bc6625688d279564ee93bd932f740ee34f5e82fbb81de29fe9b4cf5bf5e94d6 +EBUILD cvector-1.0.3.1.ebuild 990 SHA256 74a7c5b4ccfc44e4f12c5951e40503dc5040e08f27e37e0b74d2177564545232 SHA512 3775af6355682df815b68adf75c6db3242db85e05fe1a9c902557a9a0e087fa126a3b8d6e6dd30d45b703e35cc1ce0cfcda8238c1985a224647bb0a9ed91f399 WHIRLPOOL 8c8b7f9f77e4a3d21adcb0602ecdb3c80498562e71229f30151c00b9b0fe9bf12d7f97782ebd196e271593cf14e4bc9c3a2326c4e3cd071c6b90e213d12938df +MISC ChangeLog 2586 SHA256 f9b923e444a04fe38a25b2d581788087ae370ad793cf61900e91786d9b245941 SHA512 64bf0f30bd19d7de6d8a5097648c66bb2fb65fcba49ee06972f83d97bda5a57ae51b7448626338bd93b5abfac2236f425c8d4560b898d980d267594e523e8605 WHIRLPOOL d1ef3a69d320f9a3b04a28d42e4343fcdb0aa5ae5a88a3f038c7697ceb6a3357ac320f96da09918f065145e0faa713e3e45c13f03ab230ade42628934baba6d3 +MISC ChangeLog-2015 1707 SHA256 12d5920eb951683db6f8bbe36b872cd69a275285fab62856ef0f12e8f7f392f3 SHA512 4882904680e00106dd7a7889b64aabe02dcda48a00bba5455c5d539cf275842ce726fe8993d86ab6512c297f6f90a0b572d2af7791160eeebcbb17a55a46570a WHIRLPOOL 7614c44597ae7b9c3e6802b8f05c6c06e1fc673b683cfe0e4f3cb00c9169b621e477961cfdc8b5dad396e94945ceed5fff3614634db6cb226296d111588cfa54 +MISC metadata.xml 292 SHA256 06140d2c8eecbedd1e6ab1de10ce4c6d42ed4ac859053f426104dc4b8bab328e SHA512 bb912139330ed5ceef2570a6c08b0b76f908005ce2c8fdb060e4b52aa63c0854c2e534bd5eff1257ef70e96b0b4137186dbb95f1dce0edc0da50304ccacfb480 WHIRLPOOL 78003b0cbd2c347ef60ada1ae35fb28e9f146cccfb9c25c6b3dcbf8608642a2582b455ffd0ce0ae5d226c8a34e5cc930e0dd76f7dca88835859b1bac4aa640da diff --git a/dev-libs/cvector/cvector-1.0.3-r1.ebuild b/dev-libs/cvector/cvector-1.0.3-r1.ebuild new file mode 100644 index 000000000000..dd0a12b28efe --- /dev/null +++ b/dev-libs/cvector/cvector-1.0.3-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +inherit base eutils toolchain-funcs versionator + +MY_PN=CVector +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="An ANSI C implementation of dynamic arrays (Approximation of C++ vectors)" +HOMEPAGE="http://cvector.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${PN}/${MY_P}/${MY_P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux" +IUSE="" + +S="${WORKDIR}"/${MY_P} + +PATCHES=( + "${FILESDIR}"/${PV}-LDFLAGS.patch + "${FILESDIR}"/${PV}-dynlib.patch + ) + +src_compile() { + emake \ + CC=$(tc-getCC) \ + CXX=$(tc-getCXX) \ + CFLAGS="${CFLAGS}" \ + all || die +} + +src_install() { + dolib.so *.so.${PV} || die + dosym libCVector.so.${PV} /usr/$(get_libdir)/libCVector.so.$(get_version_component_range 1-2) || die + dosym libCVector.so.${PV} /usr/$(get_libdir)/libCVector.so.$(get_major_version) || die + dosym libCVector.so.${PV} /usr/$(get_libdir)/libCVector.so || die + + insinto /usr/include + doins *.h || die + + dodoc README_CVector.txt || die +} diff --git a/dev-libs/cvector/cvector-1.0.3.1.ebuild b/dev-libs/cvector/cvector-1.0.3.1.ebuild new file mode 100644 index 000000000000..8ed823a39a98 --- /dev/null +++ b/dev-libs/cvector/cvector-1.0.3.1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit base eutils toolchain-funcs versionator + +MY_PN=CVector +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="An ANSI C implementation of dynamic arrays (approximation of C++ vectors)" +HOMEPAGE="http://cvector.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${PN}/${MY_PN}-$(get_version_component_range 1-3)/${MY_P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux" +IUSE="" + +S="${WORKDIR}"/${MY_P} + +PATCHES=( + "${FILESDIR}"/${P}-LDFLAGS.patch + "${FILESDIR}"/1.0.3-dynlib.patch + ) + +src_compile() { + emake \ + CC=$(tc-getCC) \ + CXX=$(tc-getCXX) \ + CFLAGS="${CFLAGS}" \ + all +} + +src_install() { + ln -sf libCVector.so.$(get_version_component_range 1-3) libCVector.so.$(get_major_version) || die + ln -sf libCVector.so.$(get_version_component_range 1-3) libCVector.so || die + dolib.so libCVector.so* + + doheader *.h + + dodoc README_CVector.txt +} diff --git a/dev-libs/cvector/files/1.0.3-LDFLAGS.patch b/dev-libs/cvector/files/1.0.3-LDFLAGS.patch new file mode 100644 index 000000000000..7e54e8120245 --- /dev/null +++ b/dev-libs/cvector/files/1.0.3-LDFLAGS.patch @@ -0,0 +1,17 @@ +--- Makefile 2009-07-08 04:02:56.000000000 +0200 ++++ Makefile.new 2009-07-25 11:59:27.000000000 +0200 +@@ -89,10 +89,10 @@ + endif + + COMPILE_COMMAND = $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) $(INCLUDES) $(WARNINGS) -c +-LIBRARY_LINK_COMMAND = $(LIBTOOL) --mode=link $(CC) -version-info $(VERSION) -release $(RELEASE) -no-undefined -rpath $(INSTALL_PREFIX)/lib +-BUILD_COMMAND_LOCAL = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(INCLUDES) +-BUILD_COMMAND_DYNAMIC = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -shared -I $(INSTALL_PREFIX)/include +-BUILD_COMMAND_STATIC = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -static -I $(INSTALL_PREFIX)/include ++LIBRARY_LINK_COMMAND = $(LIBTOOL) --mode=link $(CC) -version-info $(VERSION) -release $(RELEASE) -no-undefined $(LDFLAGS) ++BUILD_COMMAND_LOCAL = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(INCLUDES) $(LDFLAGS) ++BUILD_COMMAND_DYNAMIC = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -shared ++BUILD_COMMAND_STATIC = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -static + INSTALL_COMMAND = $(LIBTOOL) --mode=install cp + INSTALL_FINISH_COMMAND = $(LIBTOOL) --mode=finish + diff --git a/dev-libs/cvector/files/1.0.3-dynlib.patch b/dev-libs/cvector/files/1.0.3-dynlib.patch new file mode 100644 index 000000000000..219f258136ed --- /dev/null +++ b/dev-libs/cvector/files/1.0.3-dynlib.patch @@ -0,0 +1,36 @@ +diff --git a/Makefile b/Makefile +index 865db81..2691108 100644 +--- a/Makefile ++++ b/Makefile +@@ -96,8 +96,8 @@ BUILD_COMMAND_STATIC = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -static -I $(IN + INSTALL_COMMAND = $(LIBTOOL) --mode=install cp + INSTALL_FINISH_COMMAND = $(LIBTOOL) --mode=finish + +-OBJ_EXT = lo +-LIB_EXT = la ++OBJ_EXT = o ++LIB_EXT = so + + ###################################################################### + # You should not need to make modifications below this line # +@@ -181,8 +181,7 @@ default: + # Compile the library and examples + # + all: $(LIB) $(BIN) $(SOURCE) $(HEADERS) \ +- $(LIB)/libCVector.$(LIB_EXT) \ +- $(BIN)/CVectorBasicTest ++ $(LIB)/libCVector.$(LIB_EXT) + + install: all $(INSTALL_PREFIX) $(INSTALL_PREFIX)/lib $(INSTALL_PREFIX)/include \ + $(INC) $(LIB)/libCVector.$(LIB_EXT) $(INC)/CVector.h +@@ -232,8 +231,8 @@ $(BIN): + # CVector library + # + $(LIB)/libCVector.$(LIB_EXT): $(SOURCE) $(HEADERS) $(COMMONDEP) +- $(COMPILE_COMMAND) -c $(SOURCE) +- $(LIBRARY_LINK_COMMAND) -o $(LIB)/libCVector.$(LIB_EXT) *.$(OBJ_EXT) ++ $(CC) $(CFLAGS) -fPIC -c $(SOURCE) -o CVector.o -I. ++ $(CC) $(LDFLAGS) -Wl,--soname,libCVector.so.1 -shared -o libCVector.so.$(RELEASE) *.$(OBJ_EXT) -lm + + # + # CVectorBasicTest example program diff --git a/dev-libs/cvector/files/cvector-1.0.3.1-LDFLAGS.patch b/dev-libs/cvector/files/cvector-1.0.3.1-LDFLAGS.patch new file mode 100644 index 000000000000..8bed3ab01546 --- /dev/null +++ b/dev-libs/cvector/files/cvector-1.0.3.1-LDFLAGS.patch @@ -0,0 +1,17 @@ +--- Makefile 2009-07-08 04:02:56.000000000 +0200 ++++ Makefile.new 2009-07-25 11:59:27.000000000 +0200 +@@ -89,10 +89,10 @@ + endif + + COMPILE_COMMAND = $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) $(INCLUDES) $(WARNINGS) -c +-LIBRARY_LINK_COMMAND = $(LIBTOOL) --mode=link $(CC) -version-info $(VERSION) -release $(RELEASE) -no-undefined -rpath $(INSTALL_PREFIX)/lib +-BUILD_COMMAND_LOCAL = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(INCLUDES) +-BUILD_COMMAND_DYNAMIC = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -dynamic -I $(INSTALL_PREFIX)/include +-BUILD_COMMAND_STATIC = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -static -I $(INSTALL_PREFIX)/include ++LIBRARY_LINK_COMMAND = $(LIBTOOL) --mode=link $(CC) -version-info $(VERSION) -release $(RELEASE) -no-undefined $(LDFLAGS) ++BUILD_COMMAND_LOCAL = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(INCLUDES) $(LDFLAGS) ++BUILD_COMMAND_DYNAMIC = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -shared ++BUILD_COMMAND_STATIC = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -static + INSTALL_COMMAND = $(LIBTOOL) --mode=install cp + INSTALL_FINISH_COMMAND = $(LIBTOOL) --mode=finish + diff --git a/dev-libs/cvector/metadata.xml b/dev-libs/cvector/metadata.xml new file mode 100644 index 000000000000..2c5e6c6b7449 --- /dev/null +++ b/dev-libs/cvector/metadata.xml @@ -0,0 +1,10 @@ + + + + + sci@gentoo.org + + + cvector + + diff --git a/dev-libs/cxxtools/Manifest b/dev-libs/cxxtools/Manifest new file mode 100644 index 000000000000..1244e412876e --- /dev/null +++ b/dev-libs/cxxtools/Manifest @@ -0,0 +1,5 @@ +DIST cxxtools-2.2.1.tar.gz 821324 SHA256 8cebb6d6cda7c93cc4f7c0d552a68d50dd5530b699cf87916bb3b708fdc4e342 SHA512 b6dc3f63c39fbbc35af973eea668a44d30673140c72bfa7efbdc21a71816be2983e85312b9213264d4f5162c3e420eedb41974bacb7fe8176f2a069b6f8f6f7b WHIRLPOOL fe9a23d2bf585065a46d71081af921267853043a575df7e072812843bbe9b6cb9ad790086c9d7bb2916fb9af7e229874a476b5a0b499e9c5b0dee06afe1bf48f +EBUILD cxxtools-2.2.1.ebuild 561 SHA256 e2c0c828460543e8bc7e3f1ca43637208d2d46d55fbf1f6094c243a3aa64b75d SHA512 5007acbed710465e99cb65b52745150b491e20efd27ab5dfa48a82f1a41bb49e42ce4b2956f3401f6c43e07e940bd3a68ef39f1b9d98bbcb7e1226c85e5a5119 WHIRLPOOL 9216a6f74919a91449bf13bdd7ed1459d6d37ca6a98f56af9fe902d3a785437ac77be89e6a33efad19e48eeddfe3113646094af679de797ea1be5d2cf893ed80 +MISC ChangeLog 3273 SHA256 ac6495d32f6a04e97fa0f69c86e1f04cd800a7c6a1ba3d474447361875256b38 SHA512 f0aa9e994b9592f543a4006f54d0609972bc692a9d8a5e8eb1bfb27f7ac1984592100dbe1404346f859a54e868acb59d91c5340b56b6933bda18bff156f5abc8 WHIRLPOOL 6c0608b2870a755c2aca3c6f224c7ef68ef11c631161f0bece39a0d93422d2eddafd6e21117fd1fc913e1d80f502326f97c71a28bbd20f52f5e53f03a31cd27c +MISC ChangeLog-2015 2092 SHA256 07334b312e5768b7cc6c9d7d63a3cf5856a90f3b0cbc7ee16e2a140e809115bd SHA512 178dc8c213a7b9d6e9533d9dc8c2d35dfd698fcfac9fea006587ab860052a3793f067883125d788f74da23e98c4b1fa6a4e5fb916012280be8aaef09c0782da7 WHIRLPOOL 789223c39c0bde46bd43d45038541a7ba9e3b987ca98814c047c8173ac8f11b48c55a83b8a45501ce7f351807ce19c02fcd74083ebbdd31cd919b67341400b65 +MISC metadata.xml 243 SHA256 161359b6e9eddec137a431eea66785e070bbc25fab3ae1b57f900e411fc37fe7 SHA512 f7d6e467a5a96c0afdd42df3c0f3866240defc5bbea5ccddf4c0b1a3c004225af5d46dab67d45a5ac34535391584f3b3727fe79ef6cef1a11413636bbc35cf06 WHIRLPOOL ebf59815181c251040396bb44206b875f6d996abcff030fdbf8355b47d6ea8c4f2669847ea1af194112de469258d7ca09ed77b682924ca495958a65f957dbf39 diff --git a/dev-libs/cxxtools/cxxtools-2.2.1.ebuild b/dev-libs/cxxtools/cxxtools-2.2.1.ebuild new file mode 100644 index 000000000000..d839e3a06acd --- /dev/null +++ b/dev-libs/cxxtools/cxxtools-2.2.1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +DESCRIPTION="Collection of general purpose C++-classes" +HOMEPAGE="http://www.tntnet.org/cxxtools.html" +SRC_URI="http://www.tntnet.org/download/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~sparc x86" +IUSE="" + +RDEPEND="virtual/libiconv" +DEPEND="${RDEPEND}" + +src_configure() { + econf \ + --disable-dependency-tracking \ + --disable-demos \ + --disable-unittest +} + +src_install() { + emake DESTDIR="${D}" install + dodoc AUTHORS ChangeLog +} diff --git a/dev-libs/cxxtools/metadata.xml b/dev-libs/cxxtools/metadata.xml new file mode 100644 index 000000000000..27f419c289c3 --- /dev/null +++ b/dev-libs/cxxtools/metadata.xml @@ -0,0 +1,8 @@ + + + + +vdr@gentoo.org +Gentoo VDR Project + + diff --git a/dev-libs/cyberjack/Manifest b/dev-libs/cyberjack/Manifest new file mode 100644 index 000000000000..5e34e9c3b99a --- /dev/null +++ b/dev-libs/cyberjack/Manifest @@ -0,0 +1,14 @@ +AUX cyberjack-3.99.5_p03-gcc47.patch 705 SHA256 f3a19a32fec0ed9b17a4c6e97d08f196a5596d12e5926b5e66d67d6f1a1085a9 SHA512 d05d4af0178003f722c49e06a1fc5027261f36c71f4ca3c9cadef627b6dd5719fed3d65358a6917711b1a5772498b8420e5645e8a51ff5c2f0616c1de361d088 WHIRLPOOL 093d35207833117d5c4b309c12cedebbc03345caa3e666d7929d0091c0763c118716b38e060c5f7201262e83a3631ede96e12786ee05b8920786db9883eef995 +AUX cyberjack-manpages.patch 812 SHA256 316204a6aba79eb4b5c6c14090135fe6be179f56017b6a1b0c68c43c9e6367b1 SHA512 f92c59197e9b32f304ee18405c9d718715a3088a4d95a39e695e5733490ec941340086479f2e15caac5ce5158f6814f757abfd91f06ce904e95a9a90f6761b04 WHIRLPOOL 76dee1617f8540de23713f81f0dcfca082e24bf3fea4ab929378d833bbfa76f9a008c64215fbb119ed301a375e1686b2728af3c3535058cc7f55df16dd2883c2 +AUX cyberjack-r1.rules 895 SHA256 a9495e404083061398dd5805a20cee099be00f46a2e66b6b7d0e363f24f328b2 SHA512 baeae4d96ffe6d965d123f54969595bc52f57b6f5c0418adad76b3f69ee2365c9840956ca37eb8ac8478f5a90971b4101bef95aba40711b1a4feb4be49f99a8c WHIRLPOOL cb24bfe998d391074c4aef865256f685c6182f5021d61793c6cdfecba39b7017ddde01c5e572f16f03f9aa26ed95111602931a487765983bcd94aca73db556d6 +AUX cyberjack-returnvalue.patch 930 SHA256 d797ffbe5c08d3b45c576d8696896057a9bdcc887f641a844d046696d117396e SHA512 437e4515bf3a2809ad69ad89c00b7b4c09f54bcc983a45449127135d5202ef166f6d1962f898329860d76ef487f02b2d1a366de9759e63e89c2fc8f6e8759d2b WHIRLPOOL d46d6dc2673d3372fa298b40bc0b221b90b644f88d0730b32c83fc576e7773e175bd07f421f3b7c2bad6c03e337c562574598bcf80dceead8e1fdb95c53f5562 +AUX cyberjack.rules 321 SHA256 294d043daeb3b1c321cda80fd2b3b51ce1d29e754e9fadb5a042e08c7781980d SHA512 ca7ece7d34b21055e7a38efa04914dd07dab423041142eef309352924207c4ae25bfde3b1cc171eb6aec32539589006900669e38d5d699f1f942cd344c7a0cda WHIRLPOOL 7e6d4e7adaa99e1e2be96103e1caf60b6a481458a96782ba760855e18f3dd7cc8fdc150d0d20d5e4fab3a3eb3f3e3a4898b72afa51b44a59985cbf2514dcbe74 +DIST pcsc-cyberjack-3.99.5final.SP10.tar.bz2 958494 SHA256 910ac025b504a0407cee3d9f8a77655f3007871591113054bedede5f1aeae958 SHA512 d4094b531ab523db29856ea0cf784db925bece51a5c4b5c7fec259ff319d58a50443cabdfebc0a1f6818b678a1284500429274478bf1db780ff594612e307d56 WHIRLPOOL 8a80cbd2dc8e3597f169a0a16c963c4b02faba2909639c2a5affe85098cf4c63e244ed5076477b7b5032e446097c24da07dfc88fc1a68a9f48a64624d3a6cbc0 +DIST pcsc-cyberjack-3.99.5final.SP11.tar.bz2 965662 SHA256 5cd78f527596f2905500b210d066ece62a8ab36a0d4d3677463805f8f4d3aa0c SHA512 4d63ef0442c7e919456e8b6ab1d571ab621eb45fc34fc9b61a7a024f1ae2115f7474b4aa538ee7fb8bf4ce016067c876d9970b52e6b4e8b531e2d736677ab794 WHIRLPOOL 541e0cf4dc24848d1f2bd66f0fab2745b955610dc4d9f31dfac080341df2b2ea4362b4da4020d1a9b813437b3a6b3e835ae04e70923cf6b3a14b172aa01340ff +DIST pcsc-cyberjack_3.99.5final.SP03.tar.gz 1485952 SHA256 fa5324d8a270d50aec20345cb57362f684ddadd3a50dbd0773ee13d2d87bc0a9 SHA512 a091a09b501d7a7c757f0a458007f44ac281cbeaaf5bc3c2aa89915ee7a39478e6f80b6f24fec77be753c8d77deeda2858b7a806e3c982f54c199bd797288e05 WHIRLPOOL 51429512a9037e6ec4a98cc33576176cafda5fe3a3b33c56b2d928c7a7bc06135ac93e92a713836e4dc20e90f6106f9ca3643de5baed7c25672c26f6fc4a6368 +EBUILD cyberjack-3.99.5_p03-r1.ebuild 1564 SHA256 6010fce7424f2cbfef7c60aab33843cc0cae251fb0012b94e23e4119dd93e9e5 SHA512 e0ead9d16cb78ae488b72554523c2ad82ede4b06e7fba215fbed9ed2723174fd56f904826d860f7c5e611e1a293c940f51a539d3db222377fa30207c6df881d6 WHIRLPOOL a7bb8d4eeb8331d8c57dc5dc1ce536e06d20e3a92791ec84c493547f1b5ac68b7dcda0de0cd9a6662d522f43a5feda5e7d5614e9a9bfc863f433f2d6ac1c440a +EBUILD cyberjack-3.99.5_p10.ebuild 1802 SHA256 5cc560f47f8fb9d79676048c1f84001b5e802a733f6304ae271bf3917f4f9e2e SHA512 4022da1cdf0a2772c64138d0760d40272a1fa53f1650fc40c4e9eef42cf3ef4c4bcdb8675f4499240f06a210681f34121c3921423a5b93e5b280c69785ceeb80 WHIRLPOOL ee20b1dd914e719a7265c7a103a66f9baf8cb14ccf0ca100e2e1fc073bda51580c0b5714cbab370cc56d0df960f413cf30e4e03369d2ae01a70e12fd413f3f41 +EBUILD cyberjack-3.99.5_p11.ebuild 1802 SHA256 5cc560f47f8fb9d79676048c1f84001b5e802a733f6304ae271bf3917f4f9e2e SHA512 4022da1cdf0a2772c64138d0760d40272a1fa53f1650fc40c4e9eef42cf3ef4c4bcdb8675f4499240f06a210681f34121c3921423a5b93e5b280c69785ceeb80 WHIRLPOOL ee20b1dd914e719a7265c7a103a66f9baf8cb14ccf0ca100e2e1fc073bda51580c0b5714cbab370cc56d0df960f413cf30e4e03369d2ae01a70e12fd413f3f41 +MISC ChangeLog 3484 SHA256 a489dda4b7c5ee25f4150180552bb97a82366d027f34817ade0cd21b76932eda SHA512 8afd862b9b453b1b65132bbbcbd08bbbd1ca184fd9e9490ea34dae167abf27e6efddce1bf4d6d55b46bc24399bf6d36e4074b2b7876a6b98dfabf8aa07b0d966 WHIRLPOOL f956e8eec95b3fa99b7e08110770841336ab8a3927d356a9373cb25cb735434688f0db13df2b15816569343c957df13bed76979b43cde7d9da60335d98230615 +MISC ChangeLog-2015 6776 SHA256 a4ec001c710e28e41e54a3182a386cbcebf29778e4aa5efcd3045e748e3fdd41 SHA512 bdb2c9c14754dde936d10f89f59f9417e188a3df09f1cc9d8afaf74f00b379858b7f52ee3f2010b22400d708defee639710f8403216227e012001ab86067520d WHIRLPOOL 996d061d2ad250043a6afbe886f65ec7fa6e278e359ab1aade6945396eba1e0a8207b9676ca6b001befbed82e64ec422f071fb07a5a3f54b3259cab31a1223ef +MISC metadata.xml 364 SHA256 3a6668471296e199143800e86d63d5fc173d7ec067b06378dbbd40f88e619a57 SHA512 b1388581284b41463cf68bd461e61ab9595526cb65a780565556ceec34b21c8442452879f228d4f602acb146c642628831092e83596303d5c230daf53a360ae0 WHIRLPOOL 307d4452af3794213db394ac80a748f33cb9255bf147bd824c91ec6de62fd7338675b5cbec97995317e4df1f4e9a95cc6d65f9dfed5dc8ca091163dcc7456260 diff --git a/dev-libs/cyberjack/cyberjack-3.99.5_p03-r1.ebuild b/dev-libs/cyberjack/cyberjack-3.99.5_p03-r1.ebuild new file mode 100644 index 000000000000..d4afe12cb1a6 --- /dev/null +++ b/dev-libs/cyberjack/cyberjack-3.99.5_p03-r1.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils linux-info toolchain-funcs udev + +MY_P=pcsc-${PN}_${PV/_p/final.SP} + +DESCRIPTION="REINER SCT cyberJack pinpad/e-com USB user space driver library" +HOMEPAGE="http://www.reiner-sct.de/ http://www.libchipcard.de/" +SRC_URI="http://support.reiner-sct.de/downloads/LINUX/V${PV/_p/_SP}/${MY_P}.tar.gz" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="fox udev xml" + +COMMON_DEPEND="sys-apps/pcsc-lite + virtual/libusb:1 + fox? ( >=x11-libs/fox-1.6 ) + xml? ( dev-libs/libxml2 )" +RDEPEND="${COMMON_DEPEND} + udev? ( virtual/udev )" +DEPEND="${COMMON_DEPEND} + virtual/pkgconfig" + +S=${WORKDIR}/${MY_P/_/-} + +DOCS="ChangeLog NEWS doc/*.txt" + +pkg_setup() { + CONFIG_CHECK="~USB_SERIAL_CYBERJACK" + linux-info_pkg_setup +} + +src_prepare() { + epatch "${FILESDIR}"/${P}-gcc47.patch +} + +src_configure() { + econf \ + --mandir=/usr/share/man/man8 \ + --sysconfdir=/etc/${PN} \ + --disable-hal \ + --enable-pcsc \ + $(use_enable xml xml2) \ + $(use_enable fox) \ + --with-usbdropdir="$($(tc-getPKG_CONFIG) libpcsclite --variable=usbdropdir)" +} + +src_install() { + default + + rm -f "${ED}"/usr/lib*/${PN}/pcscd_init.diff + prune_libtool_files --all + + use udev && udev_newrules "${FILESDIR}"/${PN}.rules 92-${PN}.rules #388329 +} + +pkg_postinst() { + local conf="${EROOT}etc/${PN}/${PN}.conf" + elog + elog "To configure logging, key beep behaviour etc. you need to" + elog "copy ${conf}.default" + elog "to ${conf}" + elog "and modify the latter as needed." + elog +} diff --git a/dev-libs/cyberjack/cyberjack-3.99.5_p10.ebuild b/dev-libs/cyberjack/cyberjack-3.99.5_p10.ebuild new file mode 100644 index 000000000000..23447ead9e43 --- /dev/null +++ b/dev-libs/cyberjack/cyberjack-3.99.5_p10.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit autotools versionator eutils linux-info toolchain-funcs udev + +MY_PV="${PV/_p/_SP}" +MY_PV2="${PV/_p/final.SP}" +MY_P="pcsc-${PN}-${MY_PV2}" +#MY_P2="${PN}-$(get_version_component_range 4 $MY_PV)" + +DESCRIPTION="REINER SCT cyberJack pinpad/e-com USB user space driver library" +HOMEPAGE="http://www.reiner-sct.de/" +SRC_URI="http://support.reiner-sct.de/downloads/LINUX/V${MY_PV}/${MY_P}.tar.bz2" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="static-libs threads +udev +usb" + +# FIXME: +# xml is actually optional but the code is still used anyway. We'll have to wait +# until upstream fixed it. +COMMON_DEPEND="sys-apps/pcsc-lite + usb? ( virtual/libusb:1 )" +RDEPEND="${COMMON_DEPEND} + udev? ( virtual/udev )" +DEPEND="${COMMON_DEPEND} + virtual/pkgconfig" + +#S=${WORKDIR}/${MY_P2} +S=${WORKDIR}/${MY_P} + +DOCS="debian/changelog doc/README.txt" + +pkg_setup() { + CONFIG_CHECK="~USB_SERIAL_CYBERJACK" + linux-info_pkg_setup +} + +src_prepare() { + epatch "${FILESDIR}/${PN}-manpages.patch" + epatch "${FILESDIR}/${PN}-returnvalue.patch" + eautoreconf +} + +src_configure() { + econf \ + --sysconfdir=/etc/${PN} \ + --disable-hal \ + --enable-pcsc \ + $(use_enable static-libs static) \ + $(use_enable usb nonserial) \ + $(use_enable threads) \ + --with-usbdropdir="$($(tc-getPKG_CONFIG) libpcsclite --variable=usbdropdir)" +} + +src_install() { + default + + prune_libtool_files --all + + use udev && udev_newrules "${FILESDIR}"/${PN}-r1.rules 92-${PN}.rules #388329 +} + +pkg_postinst() { + local conf="${EROOT}etc/${PN}/${PN}.conf" + elog + elog "To configure logging, key beep behaviour etc. you need to" + elog "copy ${conf}.default" + elog "to ${conf}" + elog "and modify the latter as needed." + elog +} diff --git a/dev-libs/cyberjack/cyberjack-3.99.5_p11.ebuild b/dev-libs/cyberjack/cyberjack-3.99.5_p11.ebuild new file mode 100644 index 000000000000..23447ead9e43 --- /dev/null +++ b/dev-libs/cyberjack/cyberjack-3.99.5_p11.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit autotools versionator eutils linux-info toolchain-funcs udev + +MY_PV="${PV/_p/_SP}" +MY_PV2="${PV/_p/final.SP}" +MY_P="pcsc-${PN}-${MY_PV2}" +#MY_P2="${PN}-$(get_version_component_range 4 $MY_PV)" + +DESCRIPTION="REINER SCT cyberJack pinpad/e-com USB user space driver library" +HOMEPAGE="http://www.reiner-sct.de/" +SRC_URI="http://support.reiner-sct.de/downloads/LINUX/V${MY_PV}/${MY_P}.tar.bz2" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="static-libs threads +udev +usb" + +# FIXME: +# xml is actually optional but the code is still used anyway. We'll have to wait +# until upstream fixed it. +COMMON_DEPEND="sys-apps/pcsc-lite + usb? ( virtual/libusb:1 )" +RDEPEND="${COMMON_DEPEND} + udev? ( virtual/udev )" +DEPEND="${COMMON_DEPEND} + virtual/pkgconfig" + +#S=${WORKDIR}/${MY_P2} +S=${WORKDIR}/${MY_P} + +DOCS="debian/changelog doc/README.txt" + +pkg_setup() { + CONFIG_CHECK="~USB_SERIAL_CYBERJACK" + linux-info_pkg_setup +} + +src_prepare() { + epatch "${FILESDIR}/${PN}-manpages.patch" + epatch "${FILESDIR}/${PN}-returnvalue.patch" + eautoreconf +} + +src_configure() { + econf \ + --sysconfdir=/etc/${PN} \ + --disable-hal \ + --enable-pcsc \ + $(use_enable static-libs static) \ + $(use_enable usb nonserial) \ + $(use_enable threads) \ + --with-usbdropdir="$($(tc-getPKG_CONFIG) libpcsclite --variable=usbdropdir)" +} + +src_install() { + default + + prune_libtool_files --all + + use udev && udev_newrules "${FILESDIR}"/${PN}-r1.rules 92-${PN}.rules #388329 +} + +pkg_postinst() { + local conf="${EROOT}etc/${PN}/${PN}.conf" + elog + elog "To configure logging, key beep behaviour etc. you need to" + elog "copy ${conf}.default" + elog "to ${conf}" + elog "and modify the latter as needed." + elog +} diff --git a/dev-libs/cyberjack/files/cyberjack-3.99.5_p03-gcc47.patch b/dev-libs/cyberjack/files/cyberjack-3.99.5_p03-gcc47.patch new file mode 100644 index 000000000000..035d414a09d9 --- /dev/null +++ b/dev-libs/cyberjack/files/cyberjack-3.99.5_p03-gcc47.patch @@ -0,0 +1,34 @@ +http://bugs.gentoo.org/423757 + +--- libcyberjack/checksuite/cm_distri.cpp ++++ libcyberjack/checksuite/cm_distri.cpp +@@ -15,6 +15,7 @@ + #include "cm_distri.h" + #include "checksuite.h" + ++#include /* unlink */ + #include + #include + #include +--- tools/fox-dialog/main.cpp ++++ tools/fox-dialog/main.cpp +@@ -9,6 +9,8 @@ + + #include + ++#include /* unlink */ ++ + #include + #include + #include +--- tools/mac-ui-helper/main.m ++++ tools/mac-ui-helper/main.m +@@ -31,6 +31,8 @@ + #import "PinDialog.h" + #import "Delegate.h" + ++#include /* unlink */ ++ + #include + #include + #include diff --git a/dev-libs/cyberjack/files/cyberjack-manpages.patch b/dev-libs/cyberjack/files/cyberjack-manpages.patch new file mode 100644 index 000000000000..98568f34910d --- /dev/null +++ b/dev-libs/cyberjack/files/cyberjack-manpages.patch @@ -0,0 +1,34 @@ +From e5d3ac2ab70cb773671a63dfed45816d6e24d36d Mon Sep 17 00:00:00 2001 +From: Christian Ruppert +Date: Thu, 13 Feb 2014 21:40:48 +0100 +Subject: [PATCH 1/3] Fix installation of man pages + +Signed-off-by: Christian Ruppert +--- + doc/Makefile.am | 6 ++---- + 1 file changed, 2 insertions(+), 4 deletions(-) + +diff --git a/doc/Makefile.am b/doc/Makefile.am +index a0a68f4..cba2e30 100644 +--- a/doc/Makefile.am ++++ b/doc/Makefile.am +@@ -6,14 +6,12 @@ DOCFILES=\ + #docfiledir=$(datarootdir)/doc/$(PACKAGE) + #docfile_DATA=$(DOCFILES) + +-manpagedir=$(mandir) +-manpage_DATA= \ +- cyberjack.8 ++man8_MANS=cyberjack.8 + + EXTRA_DIST=\ + README.xml LIESMICH.xml \ + verifypin_ascii.c verifypin_fpin2.c \ +- $(DOCFILES) $(manpage_DATA) ++ $(DOCFILES) $(man8_MANS) + + + %.ps: %.xml +-- +1.8.3.2 + diff --git a/dev-libs/cyberjack/files/cyberjack-r1.rules b/dev-libs/cyberjack/files/cyberjack-r1.rules new file mode 100644 index 000000000000..775ed4cb592d --- /dev/null +++ b/dev-libs/cyberjack/files/cyberjack-r1.rules @@ -0,0 +1,18 @@ +# If not adding the device, go away +ACTION!="add", GOTO="cyberjack_rules_end" +SUBSYSTEM!="usb", GOTO="cyberjack_rules_end" +ENV{DEVTYPE}!="usb_device", GOTO="cyberjack_rules_end" + + +ATTR{idVendor}=="0c4b", ATTR{idProduct}=="0100", MODE="660", GROUP="pcscd" +ATTR{idVendor}=="0c4b", ATTR{idProduct}=="0300", MODE="660", GROUP="pcscd" +ATTR{idVendor}=="0c4b", ATTR{idProduct}=="0400", MODE="660", GROUP="pcscd" +ATTR{idVendor}=="0c4b", ATTR{idProduct}=="0401", MODE="660", GROUP="pcscd" +ATTR{idVendor}=="0c4b", ATTR{idProduct}=="0500", MODE="660", GROUP="pcscd" +ATTR{idVendor}=="0c4b", ATTR{idProduct}=="0501", MODE="660", GROUP="pcscd" +ATTR{idVendor}=="0c4b", ATTR{idProduct}=="0502", MODE="660", GROUP="pcscd" +ATTR{idVendor}=="0c4b", ATTR{idProduct}=="0504", MODE="660", GROUP="pcscd" +ATTR{idVendor}=="0c4b", ATTR{idProduct}=="0505", MODE="660", GROUP="pcscd" + +# All done +LABEL="cyberjack_rules_end" diff --git a/dev-libs/cyberjack/files/cyberjack-returnvalue.patch b/dev-libs/cyberjack/files/cyberjack-returnvalue.patch new file mode 100644 index 000000000000..0bdf275ff0c8 --- /dev/null +++ b/dev-libs/cyberjack/files/cyberjack-returnvalue.patch @@ -0,0 +1,29 @@ +From b6d3ab6d0324f8b462f57aaa551bd1d4aa1465f3 Mon Sep 17 00:00:00 2001 +From: Christian Ruppert +Date: Thu, 13 Feb 2014 22:19:40 +0100 +Subject: [PATCH 2/3] Fix return value of rsct_platform_create_com if + --disable-nonserial + +Return NULL instead of CJ_ERR_OPENING_DEVICE (int). + +Signed-off-by: Christian Ruppert +--- + cjeca32/Platform_unix.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/cjeca32/Platform_unix.cpp b/cjeca32/Platform_unix.cpp +index e3f4997..cbe6876 100644 +--- a/cjeca32/Platform_unix.cpp ++++ b/cjeca32/Platform_unix.cpp +@@ -54,7 +54,7 @@ CBaseCommunication *rsct_platform_create_com(const char *deviceName, CReader *re + com=new CUSBUnix(deviceName, reader); + # else + /* libusb and libhal not supported for serial devices */ +- return CJ_ERR_OPENING_DEVICE; ++ return NULL; + # endif + else + com=new CSerialUnix(deviceName, reader); +-- +1.8.3.2 + diff --git a/dev-libs/cyberjack/files/cyberjack.rules b/dev-libs/cyberjack/files/cyberjack.rules new file mode 100644 index 000000000000..ac94b1b663f5 --- /dev/null +++ b/dev-libs/cyberjack/files/cyberjack.rules @@ -0,0 +1,10 @@ +# If not adding the device, go away +ACTION!="add", GOTO="cyberjack_rules_end" +SUBSYSTEM!="usb", GOTO="cyberjack_rules_end" +ENV{DEVTYPE}!="usb_device", GOTO="cyberjack_rules_end" + +# Tested on cyberJack RFID standard +ATTRS{idVendor}=="0c4b", ATTRS{idProduct}=="0500", ENV{PCSCD}="1" + +# All done +LABEL="cyberjack_rules_end" diff --git a/dev-libs/cyberjack/metadata.xml b/dev-libs/cyberjack/metadata.xml new file mode 100644 index 000000000000..aa532862a6ff --- /dev/null +++ b/dev-libs/cyberjack/metadata.xml @@ -0,0 +1,11 @@ + + + + + wschlich@gentoo.org + Wolfram Schlich + + + Enable installation of x11-libs/fox based fxcyberjack program + + diff --git a/dev-libs/cygwin/Manifest b/dev-libs/cygwin/Manifest new file mode 100644 index 000000000000..2b9a3d5a182a --- /dev/null +++ b/dev-libs/cygwin/Manifest @@ -0,0 +1,7 @@ +DIST cygwin-1.5.25-15-src.tar.bz2 11486150 SHA256 d10b2b08ad1fccfbf220855f5df673f972581c76408b85f07e4a2b72ae8ecafc SHA512 464553b06f74ffad464361b0bddb2eacc581abfb68f2154bba8f70334274ec63901b1f46f73cf930b05256467196e1b1ab8003215bb12ea6a42ad73fd9ac229a WHIRLPOOL 36e43e1bb0db72601ed0f3835c29f52fb95cec85c4e06bba43b088b9d077e6de13c1d0b5b743e2123243d75fe32dd6ff0b0ab95a855b03c3dadc181b5d377d1f +DIST cygwin-1.5.25-15.tar.bz2 1427096 SHA256 f21bc33798038f97c47f0d1962eb032707985146d98197257b963ffaf4a92bfc SHA512 72f677cd9140d4f61808203a56234e47b8e3a6e18438ff2c8d47d45472d6cc671e4dc42603967e62a1b2293d4bd9d4e1d95652746f939a6d5e1f1ec2f6c96105 WHIRLPOOL 2189e74137d8c40444212528c1215d92c99d51bd6cad5c7de8bb38b7aab05c6db4972f2936c241739f2b6933f93cf2b2df35d75500c2f56ada2be5411753ec7d +DIST w32api-3.12-1.tar.bz2 1229076 SHA256 dc7ae451b6dac6e52a9a4b28123fa099602f35172fd5920770ea8957929d2bf4 SHA512 739f1f71163cac83ed892dda157f25bb30e70f2c1b134df069a6ece5fb5784e4394d597b078a8a913b8b66fb0f617495aeb94ceab2f1e5a25dab712a010f3f29 WHIRLPOOL 7f220a1ba2bccf78261020e8e5e497888725d7193517dbec0805ea636176d95ea7341a6ab208ee452f76c9839dce6f892d1f43c0b159d3019f85904ecb0ce3b6 +EBUILD cygwin-1.5.25.15.ebuild 2264 SHA256 dfd8b2f798c84ab426bf2d78d27babf489ea1c6a53643f260830b8bff4626c37 SHA512 c275caa96013b67cf3788fb8f2e364be3d36eba60fabb88ae3c13a8651e3967880e87aae02d657973eea4d473a0e00f96f3f17ed869d69dee9502ee453ea3454 WHIRLPOOL b4989a1d8e9a0c3e91283f52e38d3de3c3034d4526d344a172ba88e698dc1f67c7021bb9074b19ff3d8287aeab2330fe3d1c90335652506d7f8fcd4d54e8cf22 +MISC ChangeLog 2432 SHA256 c6d123d1f8f0cd52790a61f265775410cb7ed0f48c95352f5cc11cd1b5371adc SHA512 74a695795c293454d763f8b29c4f19a39aa5802ceb6a0d469e918489c1f4fd9bd97c8b8d217cb1d215a34a0dc45705c5975d0d14dd553647c3247d7997b0c932 WHIRLPOOL 6eaae210e1309b2a71195c6041c3b37b775abfcfb0e0363a855476a2cf6892d2afb4900f2c8810026445d221cef01cb3c7c94ed19f8ff7c615cbcc3f11e991e4 +MISC ChangeLog-2015 479 SHA256 96e46bd5acf5100c5442846e5f8d439f5d7438ccbf44094fe24bb7ae90e2d70a SHA512 3239aa63d4ea1b11e02dcf3713c294b6c6fc591e954d9505f41e10c381c721eb6f0415d96601498871a6699c3369776573e1b142848245c8b64aad2dbfb41b46 WHIRLPOOL e7b5bd9bac0bb99ec5bc8d5974febcc5c9fc08541406d58d58bbcd71505c6a09081170d4d8057122fbce7f317b54e7e62590990aa71f9348b08d83e6c50c0ad4 +MISC metadata.xml 257 SHA256 fcb691c3299a07a5fe4f936baa5aa146b8aa3cb9491ba88fd12547cb540b02c2 SHA512 fd85d9cf15f6b7db96e4d184e32ae6f1503a5b70cb4cb1ce930ba13a1d5d4c4b24971781e95b7f3f9ead58b31760f84c368bc6fa2a793b4b5baf78259b047ff1 WHIRLPOOL 62b62e3e5489b8983ddd7bfc6017411d5e02f9710763206baa84b826388c8685fe7bdc0bb6a76c029e73ae4c160e9af6c8544406dc70a203c7c3d65d4aa15400 diff --git a/dev-libs/cygwin/cygwin-1.5.25.15.ebuild b/dev-libs/cygwin/cygwin-1.5.25.15.ebuild new file mode 100644 index 000000000000..bc05e39d191e --- /dev/null +++ b/dev-libs/cygwin/cygwin-1.5.25.15.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +inherit flag-o-matic toolchain-funcs + +export CBUILD=${CBUILD:-${CHOST}} +export CTARGET=${CTARGET:-${CHOST}} +if [[ ${CTARGET} == ${CHOST} ]] ; then + if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then + export CTARGET=${CATEGORY/cross-} + fi +fi + +W32API_BIN="3.12-1" +MY_P="${PN}-${PV%.*}-${PV##*.}" +DESCRIPTION="Linux-like environment for Windows" +HOMEPAGE="http://cygwin.com/" +SRC_URI="!crosscompile_opts_headers-only? ( ftp://sourceware.org/pub/cygwin/release/cygwin/${MY_P}-src.tar.bz2 ) + crosscompile_opts_headers-only? ( + ftp://sourceware.org/pub/cygwin/release/w32api/w32api-${W32API_BIN}.tar.bz2 + ftp://sourceware.org/pub/cygwin/release/cygwin/${MY_P}.tar.bz2 + )" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="crosscompile_opts_headers-only" +RESTRICT="strip" + +DEPEND="" + +S=${WORKDIR} + +just_headers() { + use crosscompile_opts_headers-only && [[ ${CHOST} != ${CTARGET} ]] +} + +pkg_setup() { + if [[ ${CBUILD} == ${CHOST} ]] && [[ ${CHOST} == ${CTARGET} ]] ; then + die "Invalid configuration; do not emerge this directly" + fi +} + +src_unpack() { + unpack ${A} + if just_headers ; then + mv usr/lib/w32api/* usr/lib/ || die + else + rm -rf ${MY_P}/etc # scrub garbage + fi +} + +src_compile() { + if just_headers ; then + return 0 + + # steps to install via src pkg + cd winsup/cygwin + econf || die + else + CHOST=${CTARGET} strip-unsupported-flags + mkdir "${WORKDIR}"/build + cd "${WORKDIR}"/build + ECONF_SOURCE=${S} \ + econf --prefix=/usr/${CTARGET}/usr || die + emake || die + fi +} + +src_install() { + if just_headers ; then + # cygwin guys do not support bootstrapping. thus the cygwin src pkg + # blows and cannot be bootstrapped. use the binaries -- the only + # thing upstream supports. + insinto /usr/${CTARGET} + doins -r * || die + return 0 + + # steps to install via src pkg + insinto /usr/${CTARGET}/usr/include + doins -r winsup/w32api/include/* || die + doins -r newlib/libc/include/* || die + dosym usr/include /usr/${CTARGET}/sys-include + cd winsup/cygwin + emake install-headers tooldir="${D}"/usr/${CTARGET}/usr || die + else + cd "${WORKDIR}"/build + emake install DESTDIR="${D}" || die + env -uRESTRICT CHOST=${CTARGET} prepallstrip + fi +} diff --git a/dev-libs/cygwin/metadata.xml b/dev-libs/cygwin/metadata.xml new file mode 100644 index 000000000000..e396f3755977 --- /dev/null +++ b/dev-libs/cygwin/metadata.xml @@ -0,0 +1,8 @@ + + + + + toolchain@gentoo.org + Gentoo Toolchain Project + + diff --git a/dev-libs/cyrus-sasl/Manifest b/dev-libs/cyrus-sasl/Manifest new file mode 100644 index 000000000000..d488dff7de94 --- /dev/null +++ b/dev-libs/cyrus-sasl/Manifest @@ -0,0 +1,30 @@ +AUX cyrus-sasl-2.1.23-gss_c_nt_hostbased_service.patch 782 SHA256 672fce3a1b0a45f7e91e8ed8aaad953b70118f74cf10bfb966aa65d052017b0f SHA512 524b199559b5f8f363f12bd1dd677f3354eacb68e88fa43ab8dd227465121c00841ce48ce01ba7e9e64629d5871418ed424d0c9bdda6895914c07ae7f1035595 WHIRLPOOL bd9aca1b285698ef1dff06df7c3d72f7f09dd1621a81a764ace80bb94977e394f4b3e6dadebaff34bb64e5d031d4f30aef5e7400186a29a3707f3c984e3d0bcb +AUX cyrus-sasl-2.1.25-as_needed.patch 1083 SHA256 5143036f20fdc1ff0b44b73b6d245392edc2f786d74730fc0f8f75d7b40ea5c6 SHA512 8fdc7039fda79e95ec310cd63d72871d7b5b35b5a1b6cf30b9693f6a02e265d924e375ddc65158f38de129b5da058ecd26038f988153ff0aacf2665d66f40abb WHIRLPOOL cb83b15e434c4127279a7c51f44d3a592466cbcb1591a390614b170d516be556a779e366d83ca51029626e3de706fe5c187d86491ac1b0728f2d0031ff0b5a25 +AUX cyrus-sasl-2.1.25-autotools_fixes.patch 3926 SHA256 390aef512c359ae3eee9d1c781ab9586b71b98e4b8961594de0872b09acfbea2 SHA512 d1e39d856addf6b53a278669df6e87f0fddd9a1ceadc0fadf2bdac239fcec8540c797118be642a58e65e2ec667d3c2a4b604f68f659433e64dbcd5bfe35b9a82 WHIRLPOOL b501636d42de380041acf7edcb4f571fe3f4b9642ce309c78a20fa2617990dd4bede18ed368fd3ebc194c86e2b3614ccf4b1b3cb2912451cdb24d010ebab14bb +AUX cyrus-sasl-2.1.25-auxprop.patch 552 SHA256 d9f63e60aa664f064755151fb5aa442ed52a3053057b5a63f2d88c937906dc7c SHA512 73ae914e684ae698eb56a1579ba9a477a946625a3b079e2b400d88583074f1701d8a6926ed17dea36b923050f21c04fbf746d54284568bd21c14be3d10283b6f WHIRLPOOL 899e41790b71a55983fa99c09e3b9b28667e2e7f457bdc39028ad705883676f4363bbd968c04b35fe2ce84fd08c1b5daad73b988f6e2299f1c129e59bc65f93f +AUX cyrus-sasl-2.1.25-avoid_pic_overwrite.patch 1076 SHA256 80cb9cf22b0507b503ff0cf6c5946a44eb5c3808e0a77e66d56d5a53e5e76fa7 SHA512 033e3634116e1d3b316052dbe0b671cca0fcfb6063fca1a97d990c422c2ce05109a1e424e84ed9928dc0312a325a7248f2d2e3f9547f84453b36331c01f63be5 WHIRLPOOL c5d502cf80f298771331660fd3806685cee47c128be4cdffd603c44b5cc04adccf4f459b354cb30f1e05acf8be76cb1e3b76a22c09f1b3b873cc13b683608607 +AUX cyrus-sasl-2.1.25-fix_heimdal.patch 601 SHA256 6285b2a9c0b9ab2590a4225ac1eb8d01678e6b0559141c274d4451def65b5283 SHA512 80a5181a3c324551ae64ead2d6199691ac9994653e4b86de21852d2caf201b5fccde6464af4189351edcad4b87dc60cab5f1c03148db77f90c6c52a16465045a WHIRLPOOL cc1adba84e09ef37ac4102b2da7c45eff9c496ca2cdb680e76b287a104e5ad039bca0b1bf319a6c5bfaa2e57cb6e5c8c4b93a8682ebac01bcb18a3b82cecac16 +AUX cyrus-sasl-2.1.25-missing_header.patch 292 SHA256 a83296e782a6137b0f687491314af7a82a37296729af42ca11d1f3667f7320b3 SHA512 b1dc1fa2663c5bd9b051353e6c18ece48460c2de4aff3b6f13672e0aa08e651462af4dae38a2821367728e503ade577218d2645f8c0a96c85e77226ee77ac1a6 WHIRLPOOL 859f6c1f8a864083b163f1c95431c633b9ca6d75a72bae14ce526cca0525ef2c4f0bb2760792baeb228fcb2b64126685d918012574f6a23ebc6b4a580245f77f +AUX cyrus-sasl-2.1.25-saslauthd_libtool.patch 280 SHA256 76ba2532083630a05ed0e3a5f2976eef6ec62e0fc1782bfee6147aee749e2ce8 SHA512 1e79230a3891f1492c7d6f5969f6a4890aaae2f488e9f3942cafeda574bf8810c4fb3e004836f769244db02bae663fa3ac1eeca19658e6fd3c94f2a891ed2653 WHIRLPOOL 0ac53b59da7a22e93c489e3bc62b0db83f14953cacf6c79c806feaeb33186e4b8f747c58faf49c514df2daba2580326db2c59c576bca3ae192fc210915d93aad +AUX cyrus-sasl-2.1.25-sasldb_al.patch 555 SHA256 3885246eda016e7a6d273305b2a011770465e8324d1774ef0d021e3def3008d5 SHA512 2da553298b482ca3115294de7264428925911f8d1b6a15ae1af38ee7e0a3191a0f4ad90bcbaeef599c994842a86eea5157b663cb6944f035d9a377dba91dbbf0 WHIRLPOOL d248eae3c8e0e313c0047d0bfbf6e4dd1341afdd4b525138827148517e8cc3847f4c134cd1639be1734c60c5fde922e8bd759895de55b268c2bc9fd54994bda9 +AUX cyrus-sasl-2.1.25-service_keytabs.patch 932 SHA256 6b60574c65fffd802d19b409fe9a4b043614261e59051b7b9cf51380e08cd8f3 SHA512 bd5ceebfe1b8f72d275db487a6f11bbb8e6f20f3b44c05040fd9d0bb5c72e656f2c8f22924fecaa9c268e50d54d272f25f4a5a3b72ca49d1c23ef9f178d00733 WHIRLPOOL 7b3ab47b4af7425ed619c4c6336feb74d45ab9e52d102995d13c6b013cab4c1bf2804ace0b9714066eeec8b105d09e1c267405581ae10361afd7d8762f702a3f +AUX cyrus-sasl-2.1.26-CVE-2013-4122.patch 3838 SHA256 39c3c404d6fc0da79c51157c6a3c05aeb9117cf5df87615d6a8f8086056bf94e SHA512 3df09f16dc2f4efc601339743eb6e66087977fae4e174aa82c4abb7f85a77aa9eb98629837079236446ef3b494fb48931c9dc8850362a49615749e162b4699c8 WHIRLPOOL 68a61bd075006bdde0fc7982694f8a413c4f21522b6a3a38af345c0d94e96294eb31d2f8ce05eb30ca8d228327f69bfc55f91be43f9eb1484989de4ee7aedc53 +AUX cyrus-sasl-2.1.26-canonuser-ldapdb-garbage-in-out-buffer.patch 284 SHA256 334c3a2c7f409707026136ef595845f61e971e369035c3b5e3bf284f1e7e6e1d SHA512 f3b789b7dea3f6a51fca6fd1877c81b5f5a3be342fa5c90ddae98a822e0c2a71e8fa582c6cb60c696363aa5cb99db8609cd6b3a91c5d402a0ad1e6124c726f5f WHIRLPOOL 70fb8cbddf81c3dc631c0b9df72d3255590d20ae5d7d1d0ed6ca70548aaef3c48444703821c2a5ccc3b7fec5592584bc843fe5284fa1b0ef40a3446727e0f6eb +AUX cyrus-sasl-2.1.26-fix_dovecot_authentication.patch 2603 SHA256 3edf79a6b1a03c87bef8b41f858ffe32c778288cd22ffc05460c3b8ad2f6393c SHA512 4244015451dfd41443a0cf8b56ae19a1dfb550e374fcdc37dc091a54f73ab36818c25fe96f7837e3ddfe5c7952d309a5b51bedfe0b7c7f1dec8ecf15f067acda WHIRLPOOL da1a5afb7a17e0eb3e7ca7586769a766b994794d3c24a21a88c895b17b0685a06287186b3bba6cce2daf0216ee91c89f79770f205eaa6b7ba844ade263ea134b +AUX cyrus-sasl-2.1.26-missing-size_t.patch 348 SHA256 1821e0f511a3eab2cbefba36b6538a997afad2a4892d1fcbf22847d34e06711e SHA512 026183880caa504af9dda5fb93a6f47a159c7ab6af79463bc512709681dd260489411b8b8da78a9f8cd260b77ae5d1977854a39de80bc48f3a03e3ffa1b09fb2 WHIRLPOOL c71d5e4919577b6c23b1610c3fa695ad035befa9cc1de43867c9e9c17016f681854e734275241dab60271d3bc7198fd633b079ab6f53e6b8bc8ce4c513eff6bd +AUX cyrus-sasl-2.1.26-send-imap-logout.patch 1897 SHA256 021289615c690937dacf7bd0d1f23823255d141ea0c7f81a9f98d4d2b42260d4 SHA512 b30a4faea9fb66d8fab95a27b8ec87371d3650c5d2d4475449b8cebb223631d1afe9cdebd8c9b076e77bc3d2e2f5c32b24fe9292db26523212a72754cbff9995 WHIRLPOOL b7348e5300c7584d9bf18421a703a66c348bbb926c569da618876c500c78385b5580cab98c261fb051684ed45f2fb682ca837a0d4beff789f94134801898f0fa +AUX cyrus-sasl.conf 34 SHA256 1d246914153ca86390e7c39aaa9494ce1175d783d3292a8cc5a2d867b816fb7b SHA512 67b9bb97191d091ffc2b8f450ad88a558df304a29651a9a49407c50df0a316666a96e7d1a2ca3ac8ee5e60a58a5d5b618ce963661f4f45049dc6b3ef2cf8099e WHIRLPOOL 671625830fc9df9b44fff4d7fe16a7d7e76c42e8c1cf75cc7a725586aad3f80b98aa5a07ae5dea848833aed6aa02294c2a7b9969f1e708dd6854370a62c5cd23 +AUX java.README.gentoo 934 SHA256 aeb733ab6371c1fe50e413e8469dcd11f0750b5afff489408c45f118857fc3fe SHA512 afcecb94e8e8c427b9491fc21312f4bed2a7d4ecedbbec8fec895cf8ca1e747073979f4415e12d8499eadbc29e8d74c6029f7cdfd7a2cb732454faaa19d52dd4 WHIRLPOOL d32cd2cfc9ffab9f791f48e0450c7eeff1b2203e29af8df8b96c4091ca7195cd579e41f38b857ef646eec28a11ea9e7c80aa6cee3f41a58d354b732a6ea15a92 +AUX pwcheck.rc6 409 SHA256 64f6eb6c0e1dfab8a03de9e951b710bbacac0bd806ea5d2a6d3d10f6c6ab499a SHA512 797317f0361d6d849ca35c5189ba0cb562e58d62022ce7c29229aab71e8ce4c1e3e6409cd3b092b666724a00b0b3b6071e527cc49050fc34590ef3b1a7648f8a WHIRLPOOL d930022d08bafbd17634b1f66ada0d8625ba0a35d69a154328bbc1875e2943064739bc9d884e9dacb584f3ccc6073be19d17a2441d6a1bb4c8d13ff456900827 +AUX pwcheck.service 129 SHA256 6b4dd0f703dfb4d61f24f3ba42884d83eba4a8cd06eb794cc7cd8bebc6c93da5 SHA512 73e01063bf308cbdc45400d4d0b61f81eade8453acec71b2ac0c0acf1ee458881aab2876cbd47208f87c6a9f298846eb509e14eb01b985c4f9e0ad4db1d8b751 WHIRLPOOL 04ba7e1e7ddf7f5cccfc6ffa0d2bc6b7c47eb0d933409dc85eb1176e374a8a1dc1844221c6fe30a0341487226f1f42ea0473a5cc1c3455a06d071ed7ff625b46 +AUX saslauthd-2.1.26.conf 687 SHA256 b29db7875abe6d2bff694b065a895f1a3d8c2647dff1a871282c0cb471e69455 SHA512 4859a9659f580c93bfd47cdbd997ec3c75fa829721532061bee0f1736be897b9e59478ab33e216a588d072b866e4b61f7893a16b36ceadf016bda083eee26e0f WHIRLPOOL ee3b9d822f59755cee41ed2c6bdc0fd697d90909ae2485cabae783ce73bd1d94f9ef3b0b127587bef42e0b290b93562651eb3d21623c90f404a4979776d78d13 +AUX saslauthd.pam-include 160 SHA256 97166de49d227cf5ff305168ea75ca584feda9ab87d1eb1437638861986e70ba SHA512 14fcfc0f69dacd25ac9b298cf44b0b44146d418424ef16e66edf8893353e418ef53beebb7199bd516b828c40954e4875ab5659f50a09af12ef2a371b944b45b1 WHIRLPOOL cc1c48bb92cf89ed9f29df2469823bd7bfa96b97fa8d6d33c7cfedef1e1a2ee12e66a0c34b7a992a631d4f446dfa4e9769d5b2c08dae5039115c00514f8a40e9 +AUX saslauthd.service 277 SHA256 a8157a0748269d3534ac6f01bbf61f0215c665b50dbbf94fc2399b6d3287a677 SHA512 fa318aefec6f802badd72a4baf33875bc0021fc4889578877880971470d84bf645ad3c34dd10c582d8cc06ea512e3d56984902efaf09e2806a27feade5fc971c WHIRLPOOL 18f74f1caac60b7bbf58edf41b78c5d670a6892c8c763e05b026c930565dfb2c3ac7b6763e518824fe93c560c5f1f7e42306e950c1a942b38e0ec23824b74e89 +AUX saslauthd2.rc7 411 SHA256 dea35c48fdc94e475b427cb47ff47b914a66311afbd2d8397a833a60e4c1a7a4 SHA512 1d5942a94ffbc15774443d60a88d4c89c7c3c6ea68b041d304f0110f6ec3aa2a812f59021cddc78de6f51a25bb00955e4e56d769e766a9d856f13774dd37ce83 WHIRLPOOL 30c85e257b7592fa69adcbb3e6671045c7420a6079d2db175a40a9e2ea7c8cb3c0110d1be9fb101a2da17ca2823e82dc125656a0174dfb5cb2b7b21fd7904ae8 +DIST cyrus-sasl-2.1.26.tar.gz 5220231 SHA256 8fbc5136512b59bb793657f36fadda6359cae3b08f01fd16b3d406f1345b7bc3 SHA512 78819cb9bb38bea4537d6770d309deeeef09ff44a67526177609d3e1257ff4334d2b5e5131d5a1e4dea7430d8db1918ea9d171f0dee38b5e8337f4b72ed068f0 WHIRLPOOL bcba17705d5d7ef9a03802d6a0c3a887bba0473605a3a48d2672aeac187193f2488f28ab01bdf659d7a68b94b4c74e36428ca4b5be840fbed2968f1592534b33 +EBUILD cyrus-sasl-2.1.26-r10.ebuild 7761 SHA256 ad8e0207f30d7acf60a9733a7fbc28fdf0db1298655b16a2569ce61c3ceb24e4 SHA512 4c04c188ff2eb00f700a195776be6a142b1408d74cebb111ba628f7aafd11a848b8a172d32b20ec2eb719842c490a2ecbbf018a9c8bc70f602750fd609b60818 WHIRLPOOL 301b03690ed555f8bde9d91651696f69df5eccf18769fc13d689728cf0f6b42c3be073db954fc8019a1d19694ccb142b22e3c2cf6da324a139b63f455ed53044 +EBUILD cyrus-sasl-2.1.26-r11.ebuild 8376 SHA256 607cbd13bdc75c32768071a746fb6a7e915fc4885dc2ac70250fd9c029b501e6 SHA512 d86a53e882f3e0f3e53a7e51e8f5a7f8ba92f12bf7c85e7d3f821a6861ef4c539c74ca24e17fbff28e3840f2aae16654a841812a7dca2c0505aa1da06e038ebc WHIRLPOOL 15bd7b64e2e7b44057b5a9cc8dae55e19dcc9ec78d5cf8ccad2383533dd391f43d2b01a62ee28aec569ea976172bf05a0ddbde51f7c70f60ad3b174d2f7645d2 +EBUILD cyrus-sasl-2.1.26-r9.ebuild 7667 SHA256 24fba1fc3c7cda386537dc9a2fd8ed501fac3e442135a1918ea14c460a0b0277 SHA512 4c794d4309adb644c81e9945b1f7f95d805c9ddb43f8abf369f7d2442ed88e479c37c49a17a1448e461759091ff0bd1d576691185c5835040c9ccc930df89d3d WHIRLPOOL 24c602ba06d1e463926df36d708419455bf810d05ecca43dd8a699aa969da5e74f8e84f7da4145e264d4a173d17f9e3d85d513166773d36d1957e3cb4874ff40 +MISC ChangeLog 6649 SHA256 37da725536a863c52a927b96a72e90eddc8214a9f7964b70ce7e6851e867b781 SHA512 5cc3ee958a732a45415296a4702b786ef68820e5c3e5d38de944aac70cc34b3d52284f1f4863af7dc1d5075404b5a49888be5a950e500235739b346c4cdfc3cb WHIRLPOOL 2867a0bbe17f526a8d414b11615dc424438e6598c9ab10b77580abe60b4ef9295ad88896c633647149db77811c9fbe1ed34c401bf9cc50ca0fd3d985adacbc7d +MISC ChangeLog-2015 52727 SHA256 cad5e2e4ba64d58e11617abd00f0fb1ef6c7f2edccc3b0c4df31bbd9c53d0d20 SHA512 7ace87d5f7be6e6d50367d79143688b3f0d363444b65a7440d9a5075c8d98c95bc882cd396dde521836cd05d233161727b4281db2184a00854c652e0a2be019f WHIRLPOOL e620fdbfe466b59edbba60af62089dcc9ce6a407917aedb5be3df3acacf0a963628c70cadb1684c908d7ebfc278006906f5d0abb76504ec4bf03ccb07960784f +MISC metadata.xml 706 SHA256 a20b99c5a9e2b9f98988c79cf520b26aeb4dc4fcc5ce64df4dbdf7edda1bae58 SHA512 1e7495deff4727296d29b25b7af535c0b36054b9172763ca8634b40f324dbc33697424a7e5565791c3131def3708c9ffb7e3e2362cbd8b334d650921fc2291ce WHIRLPOOL aa1f700aa5595aa60f2ad7befa95a055ca19aeeb059a3b5bd403f04e6da71d12de38d0dee7b3c4c8eb85cb454149bdbb408b7902fa38348ca0338d2396d21bfb diff --git a/dev-libs/cyrus-sasl/cyrus-sasl-2.1.26-r10.ebuild b/dev-libs/cyrus-sasl/cyrus-sasl-2.1.26-r10.ebuild new file mode 100644 index 000000000000..95c9d5337c8c --- /dev/null +++ b/dev-libs/cyrus-sasl/cyrus-sasl-2.1.26-r10.ebuild @@ -0,0 +1,245 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils flag-o-matic multilib multilib-minimal autotools pam java-pkg-opt-2 db-use systemd + +SASLAUTHD_CONF_VER="2.1.26" + +DESCRIPTION="The Cyrus SASL (Simple Authentication and Security Layer)" +HOMEPAGE="http://cyrusimap.web.cmu.edu/" +SRC_URI="ftp://ftp.cyrusimap.org/cyrus-sasl/${P}.tar.gz" + +LICENSE="BSD-with-attribution" +SLOT="2" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd" +IUSE="authdaemond berkdb gdbm kerberos ldapdb libressl openldap mysql pam postgres sample selinux sqlite +srp ssl static-libs urandom" + +DEPEND="net-mail/mailbase + authdaemond? ( || ( net-mail/courier-imap mail-mta/courier ) ) + berkdb? ( >=sys-libs/db-4.8.30-r1:=[${MULTILIB_USEDEP}] ) + gdbm? ( >=sys-libs/gdbm-1.10-r1[${MULTILIB_USEDEP}] ) + kerberos? ( >=virtual/krb5-0-r1[${MULTILIB_USEDEP}] ) + openldap? ( >=net-nds/openldap-2.4.38-r1[${MULTILIB_USEDEP}] ) + mysql? ( virtual/mysql ) + pam? ( >=virtual/pam-0-r1[${MULTILIB_USEDEP}] ) + postgres? ( dev-db/postgresql:= ) + sqlite? ( >=dev-db/sqlite-3.8.2:3[${MULTILIB_USEDEP}] ) + ssl? ( + !libressl? ( >=dev-libs/openssl-1.0.1h-r2:0[${MULTILIB_USEDEP}] ) + libressl? ( dev-libs/libressl[${MULTILIB_USEDEP}] ) + ) + java? ( >=virtual/jdk-1.4:= )" +RDEPEND="${DEPEND} + selinux? ( sec-policy/selinux-sasl )" + +MULTILIB_WRAPPED_HEADERS=( + /usr/include/sasl/md5global.h +) + +pkg_setup() { + java-pkg-opt-2_pkg_setup +} + +src_prepare() { + epatch "${FILESDIR}"/${PN}-2.1.25-sasldb_al.patch + epatch "${FILESDIR}"/${PN}-2.1.25-saslauthd_libtool.patch + epatch "${FILESDIR}"/${PN}-2.1.25-avoid_pic_overwrite.patch + epatch "${FILESDIR}"/${PN}-2.1.25-autotools_fixes.patch + epatch "${FILESDIR}"/${PN}-2.1.25-as_needed.patch + epatch "${FILESDIR}"/${PN}-2.1.25-missing_header.patch + epatch "${FILESDIR}"/${PN}-2.1.25-fix_heimdal.patch + epatch "${FILESDIR}"/${PN}-2.1.25-auxprop.patch + epatch "${FILESDIR}"/${PN}-2.1.23-gss_c_nt_hostbased_service.patch + epatch "${FILESDIR}"/${PN}-2.1.25-service_keytabs.patch + epatch "${FILESDIR}"/${PN}-2.1.26-missing-size_t.patch + epatch "${FILESDIR}"/${PN}-2.1.26-CVE-2013-4122.patch + epatch "${FILESDIR}"/${PN}-2.1.26-send-imap-logout.patch + epatch "${FILESDIR}"/${PN}-2.1.26-canonuser-ldapdb-garbage-in-out-buffer.patch + epatch "${FILESDIR}"/${PN}-2.1.26-fix_dovecot_authentication.patch + + # Get rid of the -R switch (runpath_switch for Sun) + # >=gcc-4.6 errors out with unknown option + sed -i -e '/LIB_SQLITE.*-R/s/ -R[^"]*//' \ + configure.in || die + + # Use plugindir for sasldir + sed -i '/^sasldir =/s:=.*:= $(plugindir):' \ + "${S}"/plugins/Makefile.{am,in} || die "sed failed" + + # #486740 #468556 + sed -i -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:g' \ + -e 's:AC_CONFIG_MACRO_DIR:AC_CONFIG_MACRO_DIRS:g' \ + configure.in || die + sed -i -e 's:AC_CONFIG_MACRO_DIR:AC_CONFIG_MACRO_DIRS:g' \ + saslauthd/configure.in || die + + eautoreconf +} + +src_configure() { + append-flags -fno-strict-aliasing + append-cppflags -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -D_BSD_SOURCE -DLDAP_DEPRECATED + + multilib-minimal_src_configure +} + +multilib_src_configure() { + # Java support. + multilib_is_native_abi && use java && export JAVAC="${JAVAC} ${JAVACFLAGS}" + + local myconf=() + + # Add authdaemond support (bug #56523). + if use authdaemond ; then + myconf+=( --with-authdaemond=/var/lib/courier/authdaemon/socket ) + fi + + # Fix for bug #59634. + if ! use ssl ; then + myconf+=( --without-des ) + fi + + if use sqlite || { multilib_is_native_abi && { use mysql || use postgres; }; } ; then + myconf+=( --enable-sql ) + else + myconf+=( --disable-sql ) + fi + + # Default to GDBM if both 'gdbm' and 'berkdb' are present. + if use gdbm ; then + einfo "Building with GNU DB as database backend for your SASLdb" + myconf+=( --with-dblib=gdbm ) + elif use berkdb ; then + einfo "Building with BerkeleyDB as database backend for your SASLdb" + myconf+=( + --with-dblib=berkeley + --with-bdb-incdir="$(db_includedir)" + ) + else + einfo "Building without SASLdb support" + myconf+=( --with-dblib=none ) + fi + + # Use /dev/urandom instead of /dev/random (bug #46038). + if use urandom ; then + myconf+=( --with-devrandom=/dev/urandom ) + fi + + ECONF_SOURCE=${S} \ + econf \ + --enable-login \ + --enable-ntlm \ + --enable-auth-sasldb \ + --disable-cmulocal \ + --disable-krb4 \ + --enable-otp \ + --without-sqlite \ + --with-saslauthd=/run/saslauthd \ + --with-pwcheck=/run/saslauthd \ + --with-configdir=/etc/sasl2 \ + --with-plugindir=/usr/$(get_libdir)/sasl2 \ + --with-dbpath=/etc/sasl2/sasldb2 \ + $(use_with ssl openssl) \ + $(use_with pam) \ + $(use_with openldap ldap) \ + $(use_enable ldapdb) \ + $(multilib_native_use_enable sample) \ + $(use_enable kerberos gssapi) \ + $(multilib_native_use_enable java) \ + $(multilib_native_use_with java javahome ${JAVA_HOME}) \ + $(multilib_native_use_with mysql mysql /usr) \ + $(multilib_native_use_with postgres pgsql) \ + $(use_with sqlite sqlite3 /usr/$(get_libdir)) \ + $(use_enable srp) \ + $(use_enable static-libs static) \ + "${myconf[@]}" +} + +multilib_src_compile() { + emake + + # Default location for java classes breaks OpenOffice (bug #60769). + # Thanks to axxo@gentoo.org for the solution. + if multilib_is_native_abi && use java ; then + jar -cvf ${PN}.jar -C java $(find java -name "*.class") + fi +} + +multilib_src_install() { + default + + if multilib_is_native_abi; then + if use sample ; then + docinto sample + dodoc "${S}"/sample/*.c + exeinto /usr/share/doc/${P}/sample + doexe sample/client sample/server + fi + + # Default location for java classes breaks OpenOffice (bug #60769). + if use java ; then + java-pkg_dojar ${PN}.jar + java-pkg_regso "${D}/usr/$(get_libdir)/libjavasasl.so" + # hackish, don't wanna dig through makefile + rm -Rf "${D}/usr/$(get_libdir)/java" + docinto "java" + dodoc "${S}/java/README" "${FILESDIR}/java.README.gentoo" "${S}"/java/doc/* + dodir "/usr/share/doc/${PF}/java/Test" + insinto "/usr/share/doc/${PF}/java/Test" + doins "${S}"/java/Test/*.java + fi + + dosbin saslauthd/testsaslauthd + fi +} + +multilib_src_install_all() { + keepdir /etc/sasl2 + + dodoc AUTHORS ChangeLog NEWS README doc/TODO doc/*.txt + newdoc pwcheck/README README.pwcheck + dohtml doc/*.html + + docinto "saslauthd" + dodoc saslauthd/{AUTHORS,ChangeLog,LDAP_SASLAUTHD,NEWS,README} + + newpamd "${FILESDIR}/saslauthd.pam-include" saslauthd + + newinitd "${FILESDIR}/pwcheck.rc6" pwcheck + systemd_dounit "${FILESDIR}/pwcheck.service" + + newinitd "${FILESDIR}/saslauthd2.rc7" saslauthd + newconfd "${FILESDIR}/saslauthd-${SASLAUTHD_CONF_VER}.conf" saslauthd + systemd_dounit "${FILESDIR}/saslauthd.service" + systemd_dotmpfilesd "${FILESDIR}/${PN}.conf" + + prune_libtool_files --modules +} + +pkg_postinst () { + # Generate an empty sasldb2 with correct permissions. + if ( use berkdb || use gdbm ) && [[ ! -f "${ROOT}/etc/sasl2/sasldb2" ]] ; then + einfo "Generating an empty sasldb2 with correct permissions ..." + echo "p" | "${ROOT}/usr/sbin/saslpasswd2" -f "${ROOT}/etc/sasl2/sasldb2" -p login \ + || die "Failed to generate sasldb2" + "${ROOT}/usr/sbin/saslpasswd2" -f "${ROOT}/etc/sasl2/sasldb2" -d login \ + || die "Failed to delete temp user" + chown root:mail "${ROOT}/etc/sasl2/sasldb2" \ + || die "Failed to chown ${ROOT}/etc/sasl2/sasldb2" + chmod 0640 "${ROOT}/etc/sasl2/sasldb2" \ + || die "Failed to chmod ${ROOT}/etc/sasl2/sasldb2" + fi + + if use authdaemond ; then + elog "You need to add a user running a service using Courier's" + elog "authdaemon to the 'mail' group. For example, do:" + elog " gpasswd -a postfix mail" + elog "to add the 'postfix' user to the 'mail' group." + fi + + elog "pwcheck and saslauthd home directories have moved to:" + elog " /run/saslauthd, using tmpfiles.d" +} diff --git a/dev-libs/cyrus-sasl/cyrus-sasl-2.1.26-r11.ebuild b/dev-libs/cyrus-sasl/cyrus-sasl-2.1.26-r11.ebuild new file mode 100644 index 000000000000..7c2b358104db --- /dev/null +++ b/dev-libs/cyrus-sasl/cyrus-sasl-2.1.26-r11.ebuild @@ -0,0 +1,263 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils flag-o-matic multilib multilib-minimal autotools pam java-pkg-opt-2 db-use systemd + +SASLAUTHD_CONF_VER="2.1.26" + +DESCRIPTION="The Cyrus SASL (Simple Authentication and Security Layer)" +HOMEPAGE="http://cyrusimap.web.cmu.edu/" +SRC_URI="ftp://ftp.cyrusimap.org/cyrus-sasl/${P}.tar.gz" + +LICENSE="BSD-with-attribution" +SLOT="2" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +IUSE="authdaemond berkdb gdbm kerberos ldapdb libressl openldap mysql pam postgres sample selinux sqlite +srp ssl static-libs urandom" + +DEPEND=" + net-mail/mailbase + authdaemond? ( || ( net-mail/courier-imap mail-mta/courier ) ) + berkdb? ( >=sys-libs/db-4.8.30-r1:=[${MULTILIB_USEDEP}] ) + gdbm? ( >=sys-libs/gdbm-1.10-r1[${MULTILIB_USEDEP}] ) + kerberos? ( >=virtual/krb5-0-r1[${MULTILIB_USEDEP}] ) + openldap? ( >=net-nds/openldap-2.4.38-r1[${MULTILIB_USEDEP}] ) + mysql? ( virtual/mysql ) + pam? ( >=virtual/pam-0-r1[${MULTILIB_USEDEP}] ) + postgres? ( dev-db/postgresql:= ) + sqlite? ( >=dev-db/sqlite-3.8.2:3[${MULTILIB_USEDEP}] ) + ssl? ( + !libressl? ( >=dev-libs/openssl-1.0.1h-r2:0[${MULTILIB_USEDEP}] ) + libressl? ( dev-libs/libressl[${MULTILIB_USEDEP}] ) + ) + java? ( >=virtual/jdk-1.6:= )" + +RDEPEND=" + ${DEPEND} + selinux? ( sec-policy/selinux-sasl )" + +MULTILIB_WRAPPED_HEADERS=( + /usr/include/sasl/md5global.h +) + +PATCHES=( + "${FILESDIR}/${PN}-2.1.25-sasldb_al.patch" + "${FILESDIR}/${PN}-2.1.25-saslauthd_libtool.patch" + "${FILESDIR}/${PN}-2.1.25-avoid_pic_overwrite.patch" + "${FILESDIR}/${PN}-2.1.25-autotools_fixes.patch" + "${FILESDIR}/${PN}-2.1.25-as_needed.patch" + "${FILESDIR}/${PN}-2.1.25-missing_header.patch" + "${FILESDIR}/${PN}-2.1.25-fix_heimdal.patch" + "${FILESDIR}/${PN}-2.1.25-auxprop.patch" + "${FILESDIR}/${PN}-2.1.23-gss_c_nt_hostbased_service.patch" + "${FILESDIR}/${PN}-2.1.25-service_keytabs.patch" + "${FILESDIR}/${PN}-2.1.26-missing-size_t.patch" + "${FILESDIR}/${PN}-2.1.26-CVE-2013-4122.patch" + "${FILESDIR}/${PN}-2.1.26-send-imap-logout.patch" + "${FILESDIR}/${PN}-2.1.26-canonuser-ldapdb-garbage-in-out-buffer.patch" + "${FILESDIR}/${PN}-2.1.26-fix_dovecot_authentication.patch" +) + +pkg_setup() { + java-pkg-opt-2_pkg_setup +} + +src_prepare() { + epatch "${PATCHES[@]}" + + # Get rid of the -R switch (runpath_switch for Sun) + # >=gcc-4.6 errors out with unknown option + sed -i -e '/LIB_SQLITE.*-R/s/ -R[^"]*//' \ + configure.in || die + + # Use plugindir for sasldir + sed -i '/^sasldir =/s:=.*:= $(plugindir):' \ + "${S}"/plugins/Makefile.{am,in} || die "sed failed" + + # #486740 #468556 + sed -i -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:g' \ + -e 's:AC_CONFIG_MACRO_DIR:AC_CONFIG_MACRO_DIRS:g' \ + configure.in || die + sed -i -e 's:AC_CONFIG_MACRO_DIR:AC_CONFIG_MACRO_DIRS:g' \ + saslauthd/configure.in || die + + eautoreconf +} + +src_configure() { + append-flags -fno-strict-aliasing + if [[ ${CHOST} == *-solaris* ]] ; then + # getpassphrase is defined in /usr/include/stdlib.h + append-cppflags -DHAVE_GETPASSPHRASE + else + # this horrendously breaks things on Solaris + append-cppflags -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -D_BSD_SOURCE -DLDAP_DEPRECATED + fi + + multilib-minimal_src_configure +} + +multilib_src_configure() { + # Java support. + multilib_is_native_abi && use java && export JAVAC="${JAVAC} ${JAVACFLAGS}" + + local myconf=() + + # Add authdaemond support (bug #56523). + if use authdaemond ; then + myconf+=( --with-authdaemond="${EPREFIX}"/var/lib/courier/authdaemon/socket ) + fi + + # Fix for bug #59634. + if ! use ssl ; then + myconf+=( --without-des ) + fi + + if use sqlite || { multilib_is_native_abi && { use mysql || use postgres; }; } ; then + myconf+=( --enable-sql ) + else + myconf+=( --disable-sql ) + fi + + # Default to GDBM if both 'gdbm' and 'berkdb' are present. + if use gdbm ; then + einfo "Building with GNU DB as database backend for your SASLdb" + myconf+=( --with-dblib=gdbm ) + elif use berkdb ; then + einfo "Building with BerkeleyDB as database backend for your SASLdb" + myconf+=( + --with-dblib=berkeley + --with-bdb-incdir="$(db_includedir)" + ) + else + einfo "Building without SASLdb support" + myconf+=( --with-dblib=none ) + fi + + # Use /dev/urandom instead of /dev/random (bug #46038). + if use urandom ; then + myconf+=( --with-devrandom=/dev/urandom ) + fi + + ECONF_SOURCE=${S} \ + econf \ + --enable-login \ + --enable-ntlm \ + --enable-auth-sasldb \ + --disable-cmulocal \ + --disable-krb4 \ + --disable-macos-framework \ + --enable-otp \ + --without-sqlite \ + --with-saslauthd="${EPREFIX}"/run/saslauthd \ + --with-pwcheck="${EPREFIX}"/run/saslauthd \ + --with-configdir="${EPREFIX}"/etc/sasl2 \ + --with-plugindir="${EPREFIX}"/usr/$(get_libdir)/sasl2 \ + --with-dbpath="${EPREFIX}"/etc/sasl2/sasldb2 \ + $(use_with ssl openssl) \ + $(use_with pam) \ + $(use_with openldap ldap) \ + $(use_enable ldapdb) \ + $(multilib_native_use_enable sample) \ + $(use_enable kerberos gssapi) \ + $(multilib_native_use_enable java) \ + $(multilib_native_use_with java javahome ${JAVA_HOME}) \ + $(multilib_native_use_with mysql mysql "${EPREFIX}"/usr) \ + $(multilib_native_use_with postgres pgsql) \ + $(use_with sqlite sqlite3 "${EPREFIX}"/usr/$(get_libdir)) \ + $(use_enable srp) \ + $(use_enable static-libs static) \ + "${myconf[@]}" +} + +multilib_src_compile() { + emake + + # Default location for java classes breaks OpenOffice (bug #60769). + # Thanks to axxo@gentoo.org for the solution. + if multilib_is_native_abi && use java ; then + jar -cvf ${PN}.jar -C java $(find java -name "*.class") + fi +} + +multilib_src_install() { + default + + if multilib_is_native_abi; then + if use sample ; then + docinto sample + dodoc "${S}"/sample/*.c + exeinto /usr/share/doc/${P}/sample + doexe sample/client sample/server + fi + + # Default location for java classes breaks OpenOffice (bug #60769). + if use java; then + java-pkg_dojar ${PN}.jar + java-pkg_regso "${ED}/usr/$(get_libdir)/libjavasasl$(get_libname)" + # hackish, don't wanna dig through makefile + rm -rf "${ED}/usr/$(get_libdir)/java" || die + docinto "java" + dodoc "${S}/java/README" "${FILESDIR}/java.README.gentoo" "${S}"/java/doc/* + dodir "/usr/share/doc/${PF}/java/Test" + insinto "/usr/share/doc/${PF}/java/Test" + doins "${S}"/java/Test/*.java + fi + + dosbin saslauthd/testsaslauthd + fi +} + +multilib_src_install_all() { + keepdir /etc/sasl2 + + dodoc AUTHORS ChangeLog NEWS README doc/TODO doc/*.txt + newdoc pwcheck/README README.pwcheck + dohtml doc/*.html + + docinto "saslauthd" + dodoc saslauthd/{AUTHORS,ChangeLog,LDAP_SASLAUTHD,NEWS,README} + + newpamd "${FILESDIR}/saslauthd.pam-include" saslauthd + + newinitd "${FILESDIR}/pwcheck.rc6" pwcheck + systemd_dounit "${FILESDIR}/pwcheck.service" + + newinitd "${FILESDIR}/saslauthd2.rc7" saslauthd + newconfd "${FILESDIR}/saslauthd-${SASLAUTHD_CONF_VER}.conf" saslauthd + systemd_dounit "${FILESDIR}/saslauthd.service" + systemd_dotmpfilesd "${FILESDIR}/${PN}.conf" + + # The get_modname bit is important: do not remove the .la files on + # platforms where the lib isn't called .so for cyrus searches the .la to + # figure out what the name is supposed to be instead + use static-libs || [[ $(get_modname) != .so ]] || \ + prune_libtool_files --modules +} + +pkg_postinst () { + # Generate an empty sasldb2 with correct permissions. + if ( use berkdb || use gdbm ) && [[ ! -f "${EROOT}/etc/sasl2/sasldb2" ]] ; then + einfo "Generating an empty sasldb2 with correct permissions ..." + echo "p" | "${EROOT}/usr/sbin/saslpasswd2" -f "${EROOT}/etc/sasl2/sasldb2" -p login \ + || die "Failed to generate sasldb2" + "${EROOT}/usr/sbin/saslpasswd2" -f "${EROOT}/etc/sasl2/sasldb2" -d login \ + || die "Failed to delete temp user" + chown root:mail "${EROOT}/etc/sasl2/sasldb2" \ + || die "Failed to chown ${EROOT}/etc/sasl2/sasldb2" + chmod 0640 "${EROOT}/etc/sasl2/sasldb2" \ + || die "Failed to chmod ${EROOT}/etc/sasl2/sasldb2" + fi + + if use authdaemond ; then + elog "You need to add a user running a service using Courier's" + elog "authdaemon to the 'mail' group. For example, do:" + elog " gpasswd -a postfix mail" + elog "to add the 'postfix' user to the 'mail' group." + fi + + elog "pwcheck and saslauthd home directories have moved to:" + elog " /run/saslauthd, using tmpfiles.d" +} diff --git a/dev-libs/cyrus-sasl/cyrus-sasl-2.1.26-r9.ebuild b/dev-libs/cyrus-sasl/cyrus-sasl-2.1.26-r9.ebuild new file mode 100644 index 000000000000..7b7f169635bf --- /dev/null +++ b/dev-libs/cyrus-sasl/cyrus-sasl-2.1.26-r9.ebuild @@ -0,0 +1,242 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils flag-o-matic multilib multilib-minimal autotools pam java-pkg-opt-2 db-use systemd + +SASLAUTHD_CONF_VER="2.1.26" + +DESCRIPTION="The Cyrus SASL (Simple Authentication and Security Layer)" +HOMEPAGE="http://cyrusimap.web.cmu.edu/" +SRC_URI="ftp://ftp.cyrusimap.org/cyrus-sasl/${P}.tar.gz" + +LICENSE="BSD-with-attribution" +SLOT="2" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd" +IUSE="authdaemond berkdb gdbm kerberos ldapdb openldap mysql pam postgres sample selinux sqlite +srp ssl static-libs urandom" + +DEPEND="net-mail/mailbase + authdaemond? ( || ( net-mail/courier-imap mail-mta/courier ) ) + berkdb? ( >=sys-libs/db-4.8.30-r1:=[${MULTILIB_USEDEP}] ) + gdbm? ( >=sys-libs/gdbm-1.10-r1[${MULTILIB_USEDEP}] ) + kerberos? ( >=virtual/krb5-0-r1[${MULTILIB_USEDEP}] ) + openldap? ( >=net-nds/openldap-2.4.38-r1[${MULTILIB_USEDEP}] ) + mysql? ( virtual/mysql ) + pam? ( >=virtual/pam-0-r1[${MULTILIB_USEDEP}] ) + postgres? ( dev-db/postgresql:= ) + sqlite? ( >=dev-db/sqlite-3.8.2:3[${MULTILIB_USEDEP}] ) + ssl? ( >=dev-libs/openssl-1.0.1h-r2[${MULTILIB_USEDEP}] ) + java? ( >=virtual/jdk-1.4:= )" +RDEPEND="${DEPEND} + selinux? ( sec-policy/selinux-sasl )" + +MULTILIB_WRAPPED_HEADERS=( + /usr/include/sasl/md5global.h +) + +pkg_setup() { + java-pkg-opt-2_pkg_setup +} + +src_prepare() { + epatch "${FILESDIR}"/${PN}-2.1.25-sasldb_al.patch + epatch "${FILESDIR}"/${PN}-2.1.25-saslauthd_libtool.patch + epatch "${FILESDIR}"/${PN}-2.1.25-avoid_pic_overwrite.patch + epatch "${FILESDIR}"/${PN}-2.1.25-autotools_fixes.patch + epatch "${FILESDIR}"/${PN}-2.1.25-as_needed.patch + epatch "${FILESDIR}"/${PN}-2.1.25-missing_header.patch + epatch "${FILESDIR}"/${PN}-2.1.25-fix_heimdal.patch + epatch "${FILESDIR}"/${PN}-2.1.25-auxprop.patch + epatch "${FILESDIR}"/${PN}-2.1.23-gss_c_nt_hostbased_service.patch + epatch "${FILESDIR}"/${PN}-2.1.25-service_keytabs.patch + epatch "${FILESDIR}"/${PN}-2.1.26-missing-size_t.patch + epatch "${FILESDIR}"/${PN}-2.1.26-CVE-2013-4122.patch + epatch "${FILESDIR}"/${PN}-2.1.26-send-imap-logout.patch + epatch "${FILESDIR}"/${PN}-2.1.26-canonuser-ldapdb-garbage-in-out-buffer.patch + epatch "${FILESDIR}"/${PN}-2.1.26-fix_dovecot_authentication.patch + + # Get rid of the -R switch (runpath_switch for Sun) + # >=gcc-4.6 errors out with unknown option + sed -i -e '/LIB_SQLITE.*-R/s/ -R[^"]*//' \ + configure.in || die + + # Use plugindir for sasldir + sed -i '/^sasldir =/s:=.*:= $(plugindir):' \ + "${S}"/plugins/Makefile.{am,in} || die "sed failed" + + # #486740 #468556 + sed -i -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:g' \ + -e 's:AC_CONFIG_MACRO_DIR:AC_CONFIG_MACRO_DIRS:g' \ + configure.in || die + sed -i -e 's:AC_CONFIG_MACRO_DIR:AC_CONFIG_MACRO_DIRS:g' \ + saslauthd/configure.in || die + + eautoreconf +} + +src_configure() { + append-flags -fno-strict-aliasing + append-cppflags -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -D_BSD_SOURCE -DLDAP_DEPRECATED + + multilib-minimal_src_configure +} + +multilib_src_configure() { + # Java support. + multilib_is_native_abi && use java && export JAVAC="${JAVAC} ${JAVACFLAGS}" + + local myconf=() + + # Add authdaemond support (bug #56523). + if use authdaemond ; then + myconf+=( --with-authdaemond=/var/lib/courier/authdaemon/socket ) + fi + + # Fix for bug #59634. + if ! use ssl ; then + myconf+=( --without-des ) + fi + + if use sqlite || { multilib_is_native_abi && { use mysql || use postgres; }; } ; then + myconf+=( --enable-sql ) + else + myconf+=( --disable-sql ) + fi + + # Default to GDBM if both 'gdbm' and 'berkdb' are present. + if use gdbm ; then + einfo "Building with GNU DB as database backend for your SASLdb" + myconf+=( --with-dblib=gdbm ) + elif use berkdb ; then + einfo "Building with BerkeleyDB as database backend for your SASLdb" + myconf+=( + --with-dblib=berkeley + --with-bdb-incdir="$(db_includedir)" + ) + else + einfo "Building without SASLdb support" + myconf+=( --with-dblib=none ) + fi + + # Use /dev/urandom instead of /dev/random (bug #46038). + if use urandom ; then + myconf+=( --with-devrandom=/dev/urandom ) + fi + + ECONF_SOURCE=${S} \ + econf \ + --enable-login \ + --enable-ntlm \ + --enable-auth-sasldb \ + --disable-cmulocal \ + --disable-krb4 \ + --enable-otp \ + --without-sqlite \ + --with-saslauthd=/run/saslauthd \ + --with-pwcheck=/run/saslauthd \ + --with-configdir=/etc/sasl2 \ + --with-plugindir=/usr/$(get_libdir)/sasl2 \ + --with-dbpath=/etc/sasl2/sasldb2 \ + $(use_with ssl openssl) \ + $(use_with pam) \ + $(use_with openldap ldap) \ + $(use_enable ldapdb) \ + $(multilib_native_use_enable sample) \ + $(use_enable kerberos gssapi) \ + $(multilib_native_use_enable java) \ + $(multilib_native_use_with java javahome ${JAVA_HOME}) \ + $(multilib_native_use_with mysql mysql /usr) \ + $(multilib_native_use_with postgres pgsql) \ + $(use_with sqlite sqlite3 /usr/$(get_libdir)) \ + $(use_enable srp) \ + $(use_enable static-libs static) \ + "${myconf[@]}" +} + +multilib_src_compile() { + emake + + # Default location for java classes breaks OpenOffice (bug #60769). + # Thanks to axxo@gentoo.org for the solution. + if multilib_is_native_abi && use java ; then + jar -cvf ${PN}.jar -C java $(find java -name "*.class") + fi +} + +multilib_src_install() { + default + + if multilib_is_native_abi; then + if use sample ; then + docinto sample + dodoc "${S}"/sample/*.c + exeinto /usr/share/doc/${P}/sample + doexe sample/client sample/server + fi + + # Default location for java classes breaks OpenOffice (bug #60769). + if use java ; then + java-pkg_dojar ${PN}.jar + java-pkg_regso "${D}/usr/$(get_libdir)/libjavasasl.so" + # hackish, don't wanna dig through makefile + rm -Rf "${D}/usr/$(get_libdir)/java" + docinto "java" + dodoc "${S}/java/README" "${FILESDIR}/java.README.gentoo" "${S}"/java/doc/* + dodir "/usr/share/doc/${PF}/java/Test" + insinto "/usr/share/doc/${PF}/java/Test" + doins "${S}"/java/Test/*.java + fi + + dosbin saslauthd/testsaslauthd + fi +} + +multilib_src_install_all() { + keepdir /etc/sasl2 + + dodoc AUTHORS ChangeLog NEWS README doc/TODO doc/*.txt + newdoc pwcheck/README README.pwcheck + dohtml doc/*.html + + docinto "saslauthd" + dodoc saslauthd/{AUTHORS,ChangeLog,LDAP_SASLAUTHD,NEWS,README} + + newpamd "${FILESDIR}/saslauthd.pam-include" saslauthd + + newinitd "${FILESDIR}/pwcheck.rc6" pwcheck + systemd_dounit "${FILESDIR}/pwcheck.service" + + newinitd "${FILESDIR}/saslauthd2.rc7" saslauthd + newconfd "${FILESDIR}/saslauthd-${SASLAUTHD_CONF_VER}.conf" saslauthd + systemd_dounit "${FILESDIR}/saslauthd.service" + systemd_dotmpfilesd "${FILESDIR}/${PN}.conf" + + prune_libtool_files --modules +} + +pkg_postinst () { + # Generate an empty sasldb2 with correct permissions. + if ( use berkdb || use gdbm ) && [[ ! -f "${ROOT}/etc/sasl2/sasldb2" ]] ; then + einfo "Generating an empty sasldb2 with correct permissions ..." + echo "p" | "${ROOT}/usr/sbin/saslpasswd2" -f "${ROOT}/etc/sasl2/sasldb2" -p login \ + || die "Failed to generate sasldb2" + "${ROOT}/usr/sbin/saslpasswd2" -f "${ROOT}/etc/sasl2/sasldb2" -d login \ + || die "Failed to delete temp user" + chown root:mail "${ROOT}/etc/sasl2/sasldb2" \ + || die "Failed to chown ${ROOT}/etc/sasl2/sasldb2" + chmod 0640 "${ROOT}/etc/sasl2/sasldb2" \ + || die "Failed to chmod ${ROOT}/etc/sasl2/sasldb2" + fi + + if use authdaemond ; then + elog "You need to add a user running a service using Courier's" + elog "authdaemon to the 'mail' group. For example, do:" + elog " gpasswd -a postfix mail" + elog "to add the 'postfix' user to the 'mail' group." + fi + + elog "pwcheck and saslauthd home directories have moved to:" + elog " /run/saslauthd, using tmpfiles.d" +} diff --git a/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.23-gss_c_nt_hostbased_service.patch b/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.23-gss_c_nt_hostbased_service.patch new file mode 100644 index 000000000000..9eeab1b42ff9 --- /dev/null +++ b/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.23-gss_c_nt_hostbased_service.patch @@ -0,0 +1,16 @@ +Gentoo bug #389349 +--- cmulocal/sasl2.m4 2009-04-28 17:09:13.000000000 +0200 ++++ cmulocal/sasl2.m4 2011-11-02 17:55:24.000000000 +0100 +@@ -217,7 +217,11 @@ + [AC_WARN([Cybersafe define not found])]) + + elif test "$ac_cv_header_gssapi_h" = "yes"; then +- AC_EGREP_HEADER(GSS_C_NT_HOSTBASED_SERVICE, gssapi.h, ++ AC_EGREP_CPP(hostbased_service_gss_nt_yes, gssapi.h, ++ [#include ++ #ifdef GSS_C_NT_HOSTBASED_SERVICE ++ hostbased_service_gss_nt_yes ++ #endif], + [AC_DEFINE(HAVE_GSS_C_NT_HOSTBASED_SERVICE,, + [Define if your GSSAPI implimentation defines GSS_C_NT_HOSTBASED_SERVICE])]) + elif test "$ac_cv_header_gssapi_gssapi_h"; then diff --git a/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.25-as_needed.patch b/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.25-as_needed.patch new file mode 100644 index 000000000000..67b48b4a4993 --- /dev/null +++ b/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.25-as_needed.patch @@ -0,0 +1,27 @@ +Author: Matthias Klose +Desription: Fix FTBFS, add $(SASL_DB_LIB) as dependency to libsasldb, and use +it. +--- a/saslauthd/Makefile.am ++++ b/saslauthd/Makefile.am +@@ -16,7 +16,7 @@ EXTRA_saslauthd_sources = getaddrinfo.c + saslauthd_DEPENDENCIES = saslauthd-main.o @LTLIBOBJS@ + saslauthd_LDADD = @SASL_KRB_LIB@ \ + @GSSAPIBASE_LIBS@ @GSSAPI_LIBS@ @LIB_CRYPT@ @LIB_SIA@ \ +- @LIB_SOCKET@ @SASL_DB_LIB@ @LIB_PAM@ @LDAP_LIBS@ @LTLIBOBJS@ ++ @LIB_SOCKET@ ../sasldb/libsasldb.la @LIB_PAM@ @LDAP_LIBS@ @LTLIBOBJS@ + + testsaslauthd_SOURCES = testsaslauthd.c utils.c + testsaslauthd_LDADD = @LIB_SOCKET@ +--- a/sasldb/Makefile.am ++++ b/sasldb/Makefile.am +@@ -55,8 +55,8 @@ noinst_LIBRARIES = libsasldb.a + + libsasldb_la_SOURCES = allockey.c sasldb.h + EXTRA_libsasldb_la_SOURCES = $(extra_common_sources) +-libsasldb_la_DEPENDENCIES = $(SASL_DB_BACKEND) +-libsasldb_la_LIBADD = $(SASL_DB_BACKEND) ++libsasldb_la_DEPENDENCIES = $(SASL_DB_BACKEND) $(SASL_DB_LIB) ++libsasldb_la_LIBADD = $(SASL_DB_BACKEND) $(SASL_DB_LIB) + + # Prevent make dist stupidity + libsasldb_a_SOURCES = diff --git a/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.25-autotools_fixes.patch b/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.25-autotools_fixes.patch new file mode 100644 index 000000000000..5837921d4f7f --- /dev/null +++ b/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.25-autotools_fixes.patch @@ -0,0 +1,114 @@ +--- a/configure.in ++++ b/configure.in +@@ -44,6 +44,8 @@ dnl + AC_INIT(lib/saslint.h) + AC_PREREQ([2.54]) + ++AC_CONFIG_MACRO_DIR([cmulocal] [config]) ++ + dnl use ./config.cache as the default cache file. + dnl we require a cache file to successfully configure our build. + if test $cache_file = "/dev/null"; then +--- a/Makefile.am ++++ b/Makefile.am +@@ -43,6 +43,8 @@ AUTOMAKE_OPTIONS = 1.7 + # + ################################################################ + ++ACLOCAL_AMFLAGS = -I cmulocal -I config ++ + if SASLAUTHD + SAD = saslauthd + else +--- a/saslauthd/configure.in ++++ b/saslauthd/configure.in +@@ -1,7 +1,8 @@ + AC_INIT(mechanisms.h) + AC_PREREQ([2.54]) + +-AC_CONFIG_AUX_DIR(config) ++AC_CONFIG_MACRO_DIR([../cmulocal] [../config]) ++AC_CONFIG_AUX_DIR([config]) + AC_CANONICAL_HOST + + dnl Should we enable SASLAUTHd at all? +@@ -164,30 +165,30 @@ AC_SUBST(LTLIBOBJS) + + dnl Checks for which function macros exist + AC_MSG_CHECKING(whether $CC implements __func__) +-AC_CACHE_VAL(have_func, ++AC_CACHE_VAL(_cv_have_func, + [AC_TRY_LINK([#include ],[printf("%s", __func__);], +-have_func=yes, +-have_func=no)]) +-AC_MSG_RESULT($have_func) +-if test "$have_func" = yes; then ++_cv_have_func=yes, ++_cv_have_func=no)]) ++AC_MSG_RESULT($_cv_have_func) ++if test "$_cv_have_func" = yes; then + AC_DEFINE(HAVE_FUNC,[],[Does the compiler understand __func__]) + else + AC_MSG_CHECKING(whether $CC implements __PRETTY_FUNCTION__) +- AC_CACHE_VAL(have_pretty_function, ++ AC_CACHE_VAL(_cv_have_pretty_function, + [AC_TRY_LINK([#include ],[printf("%s", __PRETTY_FUNCTION__);], +- have_pretty_function=yes, +- have_pretty_function=no)]) +- AC_MSG_RESULT($have_pretty_function) +- if test "$have_pretty_function" = yes; then ++ _cv_have_pretty_function=yes, ++ _cv_have_pretty_function=no)]) ++ AC_MSG_RESULT($_cv_have_pretty_function) ++ if test "$_cv_have_pretty_function" = yes; then + AC_DEFINE(HAVE_PRETTY_FUNCTION,[],[Does compiler understand __PRETTY_FUNCTION__]) + else + AC_MSG_CHECKING(whether $CC implements __FUNCTION__) +- AC_CACHE_VAL(have_function, ++ AC_CACHE_VAL(_cv_have_function, + [AC_TRY_LINK([#include ],[printf("%s", __FUNCTION__);], +- have_function=yes, +- have_function=no)]) +- AC_MSG_RESULT($have_function) +- if test "$have_function" = yes; then ++ _cv_have_function=yes, ++ _cv_have_function=no)]) ++ AC_MSG_RESULT($_cv_have_function) ++ if test "$_cv_have_function" = yes; then + AC_DEFINE(HAVE_FUNCTION,[],[Does compiler understand __FUNCTION__]) + fi + fi +--- a/saslauthd/Makefile.am ++++ b/saslauthd/Makefile.am +@@ -1,4 +1,6 @@ + AUTOMAKE_OPTIONS = 1.7 ++ACLOCAL_AMFLAGS = -I ../cmulocal -I ../config ++ + sbin_PROGRAMS = saslauthd testsaslauthd + EXTRA_PROGRAMS = saslcache + +--- a/config/kerberos_v4.m4 ++++ b/config/kerberos_v4.m4 +@@ -89,18 +89,18 @@ AC_DEFUN([SASL_KERBEROS_V4_CHK], [ + dnl if we were ambitious, we would look more aggressively for the + dnl krb4 install + if test -d ${krb4}; then +- AC_CACHE_CHECK(for Kerberos includes, cyrus_krbinclude, [ ++ AC_CACHE_CHECK(for Kerberos includes, cyrus_cv_krbinclude, [ + for krbhloc in include/kerberosIV include/kerberos include + do + if test -f ${krb4}/${krbhloc}/krb.h ; then +- cyrus_krbinclude=${krb4}/${krbhloc} ++ cyrus_cv_krbinclude=${krb4}/${krbhloc} + break + fi + done + ]) + +- if test -n "${cyrus_krbinclude}"; then +- CPPFLAGS="$CPPFLAGS -I${cyrus_krbinclude}" ++ if test -n "${cyrus_cv_krbinclude}"; then ++ CPPFLAGS="$CPPFLAGS -I${cyrus_cv_krbinclude}" + fi + LDFLAGS="$LDFLAGS -L$krb4/lib" + fi diff --git a/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.25-auxprop.patch b/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.25-auxprop.patch new file mode 100644 index 000000000000..a9dd1476d2e6 --- /dev/null +++ b/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.25-auxprop.patch @@ -0,0 +1,16 @@ +https://bugzilla.cyrusimap.org/show_bug.cgi?id=3590 +https://bugs.gentoo.org/show_bug.cgi?id=392761 + +--- cyrus-sasl-2.1.25/lib/auxprop.c~ 2011-10-20 17:33:46.423015318 +0200 ++++ cyrus-sasl-2.1.25/lib/auxprop.c 2011-10-20 17:48:49.336348654 +0200 +@@ -971,6 +971,10 @@ + } + + if(!found) { ++ /* compatibility with <= 2.1.23, ignore the lack of auxrop plugin */ ++ if (!plist) ++ result = SASL_OK; ++ else + _sasl_log(sparams->utils->conn, SASL_LOG_DEBUG, + "could not find auxprop plugin, was searching for '%s'", + plist ? plist : "[all]"); diff --git a/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.25-avoid_pic_overwrite.patch b/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.25-avoid_pic_overwrite.patch new file mode 100644 index 000000000000..2e5b1750d00d --- /dev/null +++ b/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.25-avoid_pic_overwrite.patch @@ -0,0 +1,27 @@ +Author: Fabian Fagerholm +Description: This patch makes sure the non-PIC version of libsasldb.a, which +is created out of non-PIC objects, is not going to overwrite the PIC version, +which is created out of PIC objects. The PIC version is placed in .libs, and +the non-PIC version in the current directory. This ensures that both non-PIC +and PIC versions are available in the correct locations. +--- a/lib/Makefile.am ++++ b/lib/Makefile.am +@@ -78,7 +78,7 @@ endif + + libsasl2.a: libsasl2.la $(SASL_STATIC_OBJS) + @echo adding static plugins and dependencies +- $(AR) cru .libs/$@ $(SASL_STATIC_OBJS) ++ $(AR) cru $@ $(SASL_STATIC_OBJS) + @for i in ./libsasl2.la ../sasldb/libsasldb.la ../plugins/lib*.la; do \ + if test ! -f $$i; then continue; fi; . $$i; \ + for j in $$dependency_libs foo; do \ +--- a/sasldb/Makefile.am ++++ b/sasldb/Makefile.am +@@ -63,6 +63,6 @@ libsasldb_a_SOURCES = + EXTRA_libsasldb_a_SOURCES = + + libsasldb.a: libsasldb.la $(SASL_DB_BACKEND_STATIC) +- $(AR) cru .libs/$@ $(SASL_DB_BACKEND_STATIC) ++ $(AR) cru $@ $(SASL_DB_BACKEND_STATIC) + + diff --git a/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.25-fix_heimdal.patch b/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.25-fix_heimdal.patch new file mode 100644 index 000000000000..abf0df2568c6 --- /dev/null +++ b/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.25-fix_heimdal.patch @@ -0,0 +1,27 @@ +Fix compiling against heimdal + +--- sample/server.c 2010-12-01 14:52:55.000000000 +0000 ++++ sample/server.c 2011-11-30 14:54:42.000000000 +0000 +@@ -85,8 +85,10 @@ + + #ifdef HAVE_GSS_GET_NAME_ATTRIBUTE + #include ++#ifndef KRB5_HEIMDAL + #include + #endif ++#endif + + #include "common.h" + +--- plugins/gssapi.c 2011-05-11 19:25:55.000000000 +0000 ++++ plugins/gssapi.c 2011-11-30 14:54:33.000000000 +0000 +@@ -50,6 +50,9 @@ + #else + #include + #endif ++#ifdef KRB5_HEIMDAL ++#include ++#endif + + #ifdef WIN32 + # include diff --git a/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.25-missing_header.patch b/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.25-missing_header.patch new file mode 100644 index 000000000000..597d45a76795 --- /dev/null +++ b/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.25-missing_header.patch @@ -0,0 +1,10 @@ +--- pwcheck/pwcheck_getspnam.c 1999-08-26 19:22:44.000000000 +0300 ++++ pwcheck/pwcheck_getspnam.c 2011-11-30 13:22:24.601023316 +0200 +@@ -24,6 +24,7 @@ + ******************************************************************/ + + #include ++#include + + extern char *crypt(); + diff --git a/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.25-saslauthd_libtool.patch b/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.25-saslauthd_libtool.patch new file mode 100644 index 000000000000..da1a49f1dd66 --- /dev/null +++ b/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.25-saslauthd_libtool.patch @@ -0,0 +1,12 @@ +Author: Fabian Fagerholm +Description: Enable libtool use. +--- a/saslauthd/configure.in ++++ b/saslauthd/configure.in +@@ -25,6 +25,7 @@ AC_PROG_AWK + AC_PROG_MAKE_SET + AC_PROG_LN_S + AC_PROG_INSTALL ++AC_PROG_LIBTOOL + + dnl Checks for build foo + CMU_C___ATTRIBUTE__ diff --git a/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.25-sasldb_al.patch b/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.25-sasldb_al.patch new file mode 100644 index 000000000000..8eff5a8bdd12 --- /dev/null +++ b/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.25-sasldb_al.patch @@ -0,0 +1,14 @@ +Author: Fabian Fagerholm +Description: Fix linking with libsasldb.a when saslauthd is built with sasldb +support. +--- a/saslauthd/configure.in ++++ b/saslauthd/configure.in +@@ -77,7 +77,7 @@ if test "$authsasldb" != no; then + AC_DEFINE(AUTH_SASLDB,[],[Include SASLdb Support]) + SASL_DB_PATH_CHECK() + SASL_DB_CHECK() +- SASL_DB_LIB="$SASL_DB_LIB ../sasldb/.libs/libsasldb.al" ++ SASL_DB_LIB="$SASL_DB_LIB ../sasldb/.libs/libsasldb.a" + fi + + AC_ARG_ENABLE(httpform, [ --enable-httpform enable HTTP form authentication [[no]] ], diff --git a/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.25-service_keytabs.patch b/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.25-service_keytabs.patch new file mode 100644 index 000000000000..117e8eb88802 --- /dev/null +++ b/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.25-service_keytabs.patch @@ -0,0 +1,27 @@ +Bug #445932 +--- cmulocal/sasl2.m4 2011-09-02 12:58:00.000000000 +0000 ++++ cmulocal/sasl2.m4 2012-12-05 08:37:16.425811319 +0000 +@@ -268,7 +268,11 @@ + + cmu_save_LIBS="$LIBS" + LIBS="$LIBS $GSSAPIBASE_LIBS" +- AC_CHECK_FUNCS(gsskrb5_register_acceptor_identity) ++ AC_CHECK_FUNCS([gsskrb5_register_acceptor_identity], [], ++ [AC_CHECK_FUNCS([krb5_gss_register_acceptor_identity], ++ [AC_CHECK_HEADERS([gssapi/gssapi_krb5.h], ++ [AC_DEFINE([HAVE_GSSKRB5_REGISTER_ACCEPTOR_IDENTITY], [1])] ++ )])]) + AC_CHECK_FUNCS(gss_decapsulate_token) + AC_CHECK_FUNCS(gss_encapsulate_token) + AC_CHECK_FUNCS(gss_oid_equal) +--- plugins/gssapi.c 2012-12-05 09:03:31.000220161 +0000 ++++ plugins/gssapi.c 2012-12-05 09:01:55.043380204 +0000 +@@ -50,7 +50,7 @@ + #else + #include + #endif +-#ifdef KRB5_HEIMDAL ++#if defined (KRB5_HEIMDAL) || defined (HAVE_GSSAPI_GSSAPI_KRB5_H) + #include + #endif + diff --git a/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.26-CVE-2013-4122.patch b/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.26-CVE-2013-4122.patch new file mode 100644 index 000000000000..09c9ce86c9ac --- /dev/null +++ b/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.26-CVE-2013-4122.patch @@ -0,0 +1,116 @@ +From dedad73e5e7a75d01a5f3d5a6702ab8ccd2ff40d Mon Sep 17 00:00:00 2001 +From: mancha +Date: Thu, 11 Jul 2013 09:08:07 +0000 +Subject: Handle NULL returns from glibc 2.17+ crypt() + +Starting with glibc 2.17 (eglibc 2.17), crypt() fails with EINVAL +(w/ NULL return) if the salt violates specifications. Additionally, +on FIPS-140 enabled Linux systems, DES/MD5-encrypted passwords +passed to crypt() fail with EPERM (w/ NULL return). + +When using glibc's crypt(), check return value to avoid a possible +NULL pointer dereference. + +Patch by mancha1@hush.com. +--- +diff --git a/pwcheck/pwcheck_getpwnam.c b/pwcheck/pwcheck_getpwnam.c +index 4b34222..400289c 100644 +--- a/pwcheck/pwcheck_getpwnam.c ++++ b/pwcheck/pwcheck_getpwnam.c +@@ -32,6 +32,7 @@ char *userid; + char *password; + { + char* r; ++ char* crpt_passwd; + struct passwd *pwd; + + pwd = getpwnam(userid); +@@ -41,7 +42,7 @@ char *password; + else if (pwd->pw_passwd[0] == '*') { + r = "Account disabled"; + } +- else if (strcmp(pwd->pw_passwd, crypt(password, pwd->pw_passwd)) != 0) { ++ else if (!(crpt_passwd = crypt(password, pwd->pw_passwd)) || strcmp(pwd->pw_passwd, (const char *)crpt_passwd) != 0) { + r = "Incorrect password"; + } + else { +diff --git a/pwcheck/pwcheck_getspnam.c b/pwcheck/pwcheck_getspnam.c +index 2b11286..6d607bb 100644 +--- a/pwcheck/pwcheck_getspnam.c ++++ b/pwcheck/pwcheck_getspnam.c +@@ -32,13 +32,15 @@ char *userid; + char *password; + { + struct spwd *pwd; ++ char *crpt_passwd; + + pwd = getspnam(userid); + if (!pwd) { + return "Userid not found"; + } + +- if (strcmp(pwd->sp_pwdp, crypt(password, pwd->sp_pwdp)) != 0) { ++ crpt_passwd = crypt(password, pwd->sp_pwdp); ++ if (!crpt_passwd || strcmp(pwd->sp_pwdp, (const char *)crpt_passwd) != 0) { + return "Incorrect password"; + } + else { +diff --git a/saslauthd/auth_getpwent.c b/saslauthd/auth_getpwent.c +index fc8029d..d4ebe54 100644 +--- a/saslauthd/auth_getpwent.c ++++ b/saslauthd/auth_getpwent.c +@@ -77,6 +77,7 @@ auth_getpwent ( + { + /* VARIABLES */ + struct passwd *pw; /* pointer to passwd file entry */ ++ char *crpt_passwd; /* encrypted password */ + int errnum; + /* END VARIABLES */ + +@@ -105,7 +106,8 @@ auth_getpwent ( + } + } + +- if (strcmp(pw->pw_passwd, (const char *)crypt(password, pw->pw_passwd))) { ++ crpt_passwd = crypt(password, pw->pw_passwd); ++ if (!crpt_passwd || strcmp(pw->pw_passwd, (const char *)crpt_passwd)) { + if (flags & VERBOSE) { + syslog(LOG_DEBUG, "DEBUG: auth_getpwent: %s: invalid password", login); + } +diff --git a/saslauthd/auth_shadow.c b/saslauthd/auth_shadow.c +index 677131b..1988afd 100644 +--- a/saslauthd/auth_shadow.c ++++ b/saslauthd/auth_shadow.c +@@ -210,8 +210,8 @@ auth_shadow ( + RETURN("NO Insufficient permission to access NIS authentication database (saslauthd)"); + } + +- cpw = strdup((const char *)crypt(password, sp->sp_pwdp)); +- if (strcmp(sp->sp_pwdp, cpw)) { ++ cpw = crypt(password, sp->sp_pwdp); ++ if (!cpw || strcmp(sp->sp_pwdp, (const char *)cpw)) { + if (flags & VERBOSE) { + /* + * This _should_ reveal the SHADOW_PW_LOCKED prefix to an +@@ -221,10 +221,8 @@ auth_shadow ( + syslog(LOG_DEBUG, "DEBUG: auth_shadow: pw mismatch: '%s' != '%s'", + sp->sp_pwdp, cpw); + } +- free(cpw); + RETURN("NO Incorrect password"); + } +- free(cpw); + + /* + * The following fields will be set to -1 if: +@@ -286,7 +284,7 @@ auth_shadow ( + RETURN("NO Invalid username"); + } + +- if (strcmp(upw->upw_passwd, crypt(password, upw->upw_passwd)) != 0) { ++ if (!(cpw = crypt(password, upw->upw_passwd)) || (strcmp(upw->upw_passwd, (const char *)cpw) != 0)) { + if (flags & VERBOSE) { + syslog(LOG_DEBUG, "auth_shadow: pw mismatch: %s != %s", + password, upw->upw_passwd); +-- +cgit v0.9.0.2 diff --git a/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.26-canonuser-ldapdb-garbage-in-out-buffer.patch b/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.26-canonuser-ldapdb-garbage-in-out-buffer.patch new file mode 100644 index 000000000000..af382181e046 --- /dev/null +++ b/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.26-canonuser-ldapdb-garbage-in-out-buffer.patch @@ -0,0 +1,10 @@ +--- cyrus-sasl2.orig/plugins/ldapdb.c ++++ cyrus-sasl2/plugins/ldapdb.c +@@ -406,6 +406,7 @@ ldapdb_canon_server(void *glob_context, + if ( len > out_max ) + len = out_max; + memcpy(out, bvals[0]->bv_val, len); ++ out[len] = '\0'; + *out_ulen = len; + ber_bvecfree(bvals); + } diff --git a/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.26-fix_dovecot_authentication.patch b/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.26-fix_dovecot_authentication.patch new file mode 100644 index 000000000000..46bbdd1ca1a0 --- /dev/null +++ b/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.26-fix_dovecot_authentication.patch @@ -0,0 +1,90 @@ +Bug #510320 +--- saslauthd/auth_rimap.c 2012-10-12 14:05:48.000000000 +0000 ++++ saslauthd/auth_rimap.c 2014-05-15 05:23:02.000000000 +0000 +@@ -371,7 +371,7 @@ + if ( rc>0 ) { + /* check if there is more to read */ + fd_set perm; +- int fds, ret; ++ int fds, ret, loopc; + struct timeval timeout; + + FD_ZERO(&perm); +@@ -380,6 +380,7 @@ + + timeout.tv_sec = 1; + timeout.tv_usec = 0; ++ loopc = 0; + while( select (fds, &perm, NULL, NULL, &timeout ) >0 ) { + if ( FD_ISSET(s, &perm) ) { + ret = read(s, rbuf+rc, sizeof(rbuf)-rc); +@@ -387,6 +388,14 @@ + rc = ret; + break; + } else { ++ if (ret == 0) { ++ loopc += 1; ++ } else { ++ loopc = 0; ++ } ++ if (loopc > sizeof(rbuf)) { // arbitrary chosen value ++ break; ++ } + rc += ret; + } + } +@@ -484,7 +493,7 @@ + if ( rc>0 ) { + /* check if there is more to read */ + fd_set perm; +- int fds, ret; ++ int fds, ret, loopc; + struct timeval timeout; + + FD_ZERO(&perm); +@@ -493,6 +502,7 @@ + + timeout.tv_sec = 1; + timeout.tv_usec = 0; ++ loopc = 0; + while( select (fds, &perm, NULL, NULL, &timeout ) >0 ) { + if ( FD_ISSET(s, &perm) ) { + ret = read(s, rbuf+rc, sizeof(rbuf)-rc); +@@ -500,6 +510,14 @@ + rc = ret; + break; + } else { ++ if (ret == 0) { ++ loopc += 1; ++ } else { ++ loopc = 0; ++ } ++ if (loopc > sizeof(rbuf)) { // arbitrary chosen value ++ break; ++ } + rc += ret; + } + } +--- lib/checkpw.c 2012-01-27 23:31:36.000000000 +0000 ++++ lib/checkpw.c 2014-05-15 05:19:35.000000000 +0000 +@@ -587,16 +587,14 @@ + /* Timeout. */ + errno = ETIMEDOUT; + return -1; +- case +1: +- if (FD_ISSET(fd, &rfds)) { +- /* Success, file descriptor is readable. */ +- return 0; +- } +- return -1; + case -1: + if (errno == EINTR || errno == EAGAIN) + continue; + default: ++ if (FD_ISSET(fd, &rfds)) { ++ /* Success, file descriptor is readable. */ ++ return 0; ++ } + /* Error catch-all. */ + return -1; + } diff --git a/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.26-missing-size_t.patch b/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.26-missing-size_t.patch new file mode 100644 index 000000000000..42f20fb8096b --- /dev/null +++ b/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.26-missing-size_t.patch @@ -0,0 +1,13 @@ +Gentoo bug #458790 +--- include/sasl.h 2012-10-12 17:05:48.000000000 +0300 ++++ include/sasl.h 2013-02-23 16:56:44.648786268 +0200 +@@ -121,6 +121,9 @@ + #ifndef SASL_H + #define SASL_H 1 + ++/* stddef.h to get size_t defined */ ++#include ++ + /* Keep in sync with win32/common.mak */ + #define SASL_VERSION_MAJOR 2 + #define SASL_VERSION_MINOR 1 diff --git a/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.26-send-imap-logout.patch b/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.26-send-imap-logout.patch new file mode 100644 index 000000000000..d8b4b6efc3f8 --- /dev/null +++ b/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.26-send-imap-logout.patch @@ -0,0 +1,48 @@ +--- cyrus-sasl2.orig/saslauthd/auth_rimap.c ++++ cyrus-sasl2/saslauthd/auth_rimap.c +@@ -90,6 +90,7 @@ static struct addrinfo *ai = NULL; /* re + service we connect to. */ + #define TAG "saslauthd" /* IMAP command tag */ + #define LOGIN_CMD (TAG " LOGIN ") /* IMAP login command (with tag) */ ++#define LOGOUT_CMD (TAG " LOGOUT ") /* IMAP logout command (with tag)*/ + #define NETWORK_IO_TIMEOUT 30 /* network I/O timeout (seconds) */ + #define RESP_LEN 1000 /* size of read response buffer */ + +@@ -307,10 +308,12 @@ auth_rimap ( + int s=-1; /* socket to remote auth host */ + struct addrinfo *r; /* remote socket address info */ + struct iovec iov[5]; /* for sending LOGIN command */ ++ struct iovec iov2[2]; /* for sending LOGOUT command */ + char *qlogin; /* pointer to "quoted" login */ + char *qpass; /* pointer to "quoted" password */ + char *c; /* scratch pointer */ + int rc; /* return code scratch area */ ++ int rcl; /* return code scratch area */ + char rbuf[RESP_LEN]; /* response read buffer */ + char hbuf[NI_MAXHOST], pbuf[NI_MAXSERV]; + int saved_errno; +@@ -505,6 +508,24 @@ auth_rimap ( + } + } + } ++ ++ /* close remote imap */ ++ iov2[0].iov_base = LOGOUT_CMD; ++ iov2[0].iov_len = sizeof(LOGOUT_CMD) - 1; ++ iov2[1].iov_base = "\r\n"; ++ iov2[1].iov_len = sizeof("\r\n") - 1; ++ ++ if (flags & VERBOSE) { ++ syslog(LOG_DEBUG, "auth_rimap: sending %s%s %s", ++ LOGOUT_CMD, qlogin, qpass); ++ } ++ alarm(NETWORK_IO_TIMEOUT); ++ rcl = retry_writev(s, iov2, 2); ++ alarm(0); ++ if (rcl == -1) { ++ syslog(LOG_WARNING, "auth_rimap: writev logout: %m"); ++ } ++ + (void) close(s); /* we're done with the remote */ + if (rc == -1) { + syslog(LOG_WARNING, "auth_rimap: read (response): %m"); diff --git a/dev-libs/cyrus-sasl/files/cyrus-sasl.conf b/dev-libs/cyrus-sasl/files/cyrus-sasl.conf new file mode 100644 index 000000000000..d4809f73c8e9 --- /dev/null +++ b/dev-libs/cyrus-sasl/files/cyrus-sasl.conf @@ -0,0 +1 @@ +d /run/saslauthd 0755 root root - diff --git a/dev-libs/cyrus-sasl/files/java.README.gentoo b/dev-libs/cyrus-sasl/files/java.README.gentoo new file mode 100644 index 000000000000..fb73204ecab1 --- /dev/null +++ b/dev-libs/cyrus-sasl/files/java.README.gentoo @@ -0,0 +1,39 @@ +4-Nov-2000 + +Note: this file has been modified to adapt to Gentoo specific. + +class files are installed in + +`java-config -p cyrus-sasl-2` + +to compile programs using it, do: + +javac -classpath $JAVA_HOME/lib/tools.jar:`java-config -p cyrus-sasl-2` .java + +(make sure to substitute your JDK for $JAVA_HOME/lib/tools.jar) + +to run, do + +java -classpath + +---------------------------- +This is a java version of the SASL libraries. It supports all the +mechanisms in the C version and conforms to the internet draft in the +doc/ directory. JNI is used. + +Sample applications exist in the Test/ directory. + +They generally can be run with something like: + +java -debug -classpath +../:$JAVA_HOME/lib/tools.jar:`java-config -p cyrus-sasl-2`:. jimtest -p 2143 -m +KERBEROS_V4 cyrus-dev + +and + +java -debug -classpath +../:$JAVA_HOME/lib/tools.jar:`java-config -p cyrus-sasl-2`:. testserver + + +Any feedback is welcome. + diff --git a/dev-libs/cyrus-sasl/files/pwcheck.rc6 b/dev-libs/cyrus-sasl/files/pwcheck.rc6 new file mode 100644 index 000000000000..7b43c4ea154b --- /dev/null +++ b/dev-libs/cyrus-sasl/files/pwcheck.rc6 @@ -0,0 +1,20 @@ +#!/sbin/openrc-run +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +depend() { + need localmount + use logger +} + +start() { + ebegin "Starting sasl pwcheck daemon" + start-stop-daemon --start --quiet --exec /usr/sbin/pwcheck + eend $? +} + +stop() { + ebegin "Stopping sasl pwcheck daemon" + start-stop-daemon --stop --quiet --exec /usr/sbin/pwcheck + eend $? +} diff --git a/dev-libs/cyrus-sasl/files/pwcheck.service b/dev-libs/cyrus-sasl/files/pwcheck.service new file mode 100644 index 000000000000..74ff4859abf7 --- /dev/null +++ b/dev-libs/cyrus-sasl/files/pwcheck.service @@ -0,0 +1,9 @@ +[Unit] +Description=SASL pwcheck daemon + +[Service] +Type=forking +ExecStart=/usr/sbin/pwcheck + +[Install] +WantedBy=multi-user.target diff --git a/dev-libs/cyrus-sasl/files/saslauthd-2.1.26.conf b/dev-libs/cyrus-sasl/files/saslauthd-2.1.26.conf new file mode 100644 index 000000000000..dd487b0edaf1 --- /dev/null +++ b/dev-libs/cyrus-sasl/files/saslauthd-2.1.26.conf @@ -0,0 +1,19 @@ +# Config file for /etc/init.d/saslauthd and systemd unit + +# PLEASE READ THIS IF YOU ARE USING SYSTEMD +# Please note that systemd does not expand shell variables +# thus, something like FOO="${FOO} bar" won't work. + +# Specify the authentications mechanism. +# **NOTE** For a list see: saslauthd -v +# Since 2.1.19, add "-r" to options for old behavior, +# ie. reassemble user and realm to user@realm form. +# +# Specify the hostname for remote IMAP server using: +# "-O localhost". +# Specify the number of worker processes to create using: +# "-n ". +# Enable credential cache, set cache size and timeout using: +# "-c -s -t ". +# +SASLAUTHD_OPTS="-a pam" diff --git a/dev-libs/cyrus-sasl/files/saslauthd.pam-include b/dev-libs/cyrus-sasl/files/saslauthd.pam-include new file mode 100644 index 000000000000..d50a84946a78 --- /dev/null +++ b/dev-libs/cyrus-sasl/files/saslauthd.pam-include @@ -0,0 +1,8 @@ +#%PAM-1.0 + +auth required pam_nologin.so +auth include system-auth + +account include system-auth + +session include system-auth diff --git a/dev-libs/cyrus-sasl/files/saslauthd.service b/dev-libs/cyrus-sasl/files/saslauthd.service new file mode 100644 index 000000000000..1609a651e4e0 --- /dev/null +++ b/dev-libs/cyrus-sasl/files/saslauthd.service @@ -0,0 +1,13 @@ +[Unit] +Description=SASL Authentication Daemon + +[Service] +Type=forking +PIDFile=/run/saslauthd/saslauthd.pid +EnvironmentFile=/etc/conf.d/saslauthd +ExecStart=/usr/sbin/saslauthd $SASLAUTHD_OPTS +ExecStop=/bin/kill -15 $MAINPID +PrivateTmp=true + +[Install] +WantedBy=multi-user.target diff --git a/dev-libs/cyrus-sasl/files/saslauthd2.rc7 b/dev-libs/cyrus-sasl/files/saslauthd2.rc7 new file mode 100644 index 000000000000..0abeaf6f5702 --- /dev/null +++ b/dev-libs/cyrus-sasl/files/saslauthd2.rc7 @@ -0,0 +1,20 @@ +#!/sbin/openrc-run +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +depend() { + need net +} + +start() { + ebegin "Starting saslauthd" + start-stop-daemon --start --quiet --exec /usr/sbin/saslauthd \ + -- ${SASLAUTHD_OPTS} + eend $? +} + +stop() { + ebegin "Stopping saslauthd" + start-stop-daemon --stop --quiet --pidfile /run/saslauthd/saslauthd.pid + eend $? +} diff --git a/dev-libs/cyrus-sasl/metadata.xml b/dev-libs/cyrus-sasl/metadata.xml new file mode 100644 index 000000000000..d50ec8da4624 --- /dev/null +++ b/dev-libs/cyrus-sasl/metadata.xml @@ -0,0 +1,18 @@ + + + + + net-mail@gentoo.org + Net-Mail + + + Add Courier-IMAP authdaemond unix socket + support (net-mail/courier-imap, mail-mta/courier) + + Add ldap support for saslauthd + Enable ldapdb plugin + Enable sample client and server + Enable SRP authentication + Use /dev/urandom instead of /dev/random + + diff --git a/dev-libs/d0_blind_id/Manifest b/dev-libs/d0_blind_id/Manifest new file mode 100644 index 000000000000..ca3f9e4464d4 --- /dev/null +++ b/dev-libs/d0_blind_id/Manifest @@ -0,0 +1,7 @@ +DIST d0_blind_id-0.5.tar.gz 344460 SHA256 9a223609df9c5d92c63047fc320ae64034ccd8815624da84806e0916c9f4ac75 SHA512 0a7735269a41108f191c4143b52eff2179889d94239be5be0c2406c6ed789b68e2d545250f9964e97f8c86a0653296bacdbe9b8d9db89a79ca6922d7c1a90162 WHIRLPOOL f87a624283df549d852c2a859f60e9cfd51ef85fa6233d254dd3f6c4bef95ffb9e2aff95584791ff4bad01fb3b557903aa223654607e61ab742d5fb1ae217594 +DIST d0_blind_id-1.0.tar.gz 49110 SHA256 e9edcc55af1b322a5e51832f4a95b456a368d527b34ff31ebe88340728eca5a1 SHA512 dbee0bec44a008a6843ec367211e4cdfa25f6c4577b48d942d19301d5ff885d4fde8d40ea304a114d349d8e90283a50854afb2fb322bf19640842ded025849f2 WHIRLPOOL 15e10c6dae4982f16f20c97e541a012947232d1a6881ea7151d20759510d7ed9fa1f38a94469f90e736d375532a3781700eb25f0617d315fc4d94f6d6d21d57e +EBUILD d0_blind_id-0.5.ebuild 827 SHA256 d6b6edaa6522de6e03b9136fe05b8fbb966dacf9228eca7c31da4d8040904364 SHA512 08831d2d55d3210fb8b9bf8477a593887d52976dd0c9fc4fa07ff9ae63d67e7ef372e788746d16939148bf25fd72ced95b2cc86b0f30ced3edc3b94d7f66892f WHIRLPOOL 3cfd7db6e197b5dada5873df9ae922b4ef1363131d898f9687fe5f57bdf6e059786409c7a2163e8eff55083f6bcd8e72a9d91cb221f5b64a0c005e3910f76594 +EBUILD d0_blind_id-1.0.ebuild 990 SHA256 3b73d73351b85d500ba15020b79f94749c1a8346bf69d1c4c0cba6d79a5f0765 SHA512 5c18e7be28c6508659dcc42d879195cf61f1a9b4d72fb990daef12e50a35847a3307cf8c8ce168d4bd4234c0ae5ba59628bfd62a644ecf1d35f98347719fedad WHIRLPOOL 2b610813bd8a99707069c68c68f266cc1ad8d6b9fb4ba613ee40e0338223356888acb2bb27efc3a8d4d079437b5c1a1485d96ef29d76af6bb3e189843292b40e +MISC ChangeLog 2435 SHA256 d14fa009e2416d1252f125bf6dfafcd49cdf3ba779536ea8de08fb843ad6438b SHA512 81ff568fbc964b533b10c829e4ac2329cbbc83323f0a274fbc0d5295d5eb19cb27ce43031290c1fdcebd87d42e527f225e69f670181d93fa843f35a2fcdc2c94 WHIRLPOOL aee20ee97f71809e49d598ef08783340931ba0bbfa3b7f4f6ee59f5c1d223c165780c7c2532b31320fd5635ba74466fc2575446ade103f004e7093ee014c4ab1 +MISC ChangeLog-2015 1877 SHA256 d94f8ce92ab7c4a0a15c72bc2837ff943a1d196f2144aaf6ebeb359619d78dd9 SHA512 bf6ef9af58129e6e5072674bb55ae967aa790a841774c22c50cd774299efcecc5272a9ea7305f7218d45452fd3d7163e83e853edbd2709d5ec3be167845857d8 WHIRLPOOL b79bb1ffb3a5941812b91b432988ac9e855f0706d321efc6b97337dc38ba9d54ed1994230a1f225207e1498308e97e23aab2fa8f21b74ff7491f8e6a874995bc +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/dev-libs/d0_blind_id/d0_blind_id-0.5.ebuild b/dev-libs/d0_blind_id/d0_blind_id-0.5.ebuild new file mode 100644 index 000000000000..ad72b64cda06 --- /dev/null +++ b/dev-libs/d0_blind_id/d0_blind_id-0.5.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +AUTOTOOLS_AUTORECONF=1 +inherit autotools-utils + +DESCRIPTION="Blind-ID library for user identification using RSA blind signatures" +HOMEPAGE="http://git.xonotic.org/?p=xonotic/d0_blind_id.git;a=summary" +SRC_URI="mirror://github/divVerent/d0_blind_id/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="static-libs" + +RDEPEND="dev-libs/gmp:0" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +DOCS=( d0_blind_id.txt ) + +src_prepare() { + # fix out-of-source build + sed -i \ + -e 's, d0_rijndael.c, "$srcdir/d0_rijndael.c",' \ + configure.ac || die + + autotools-utils_src_prepare +} + +src_configure() { + local myeconfargs=( + --enable-rijndael + --without-openssl + --without-tommath + ) + autotools-utils_src_configure +} diff --git a/dev-libs/d0_blind_id/d0_blind_id-1.0.ebuild b/dev-libs/d0_blind_id/d0_blind_id-1.0.ebuild new file mode 100644 index 000000000000..e6a95402a2c0 --- /dev/null +++ b/dev-libs/d0_blind_id/d0_blind_id-1.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools + +DESCRIPTION="Blind-ID library for user identification using RSA blind signatures" +HOMEPAGE="http://git.xonotic.org/?p=xonotic/d0_blind_id.git;a=summary" +SRC_URI="https://github.com/divVerent/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="static-libs" + +RDEPEND="dev-libs/gmp:0" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +DOCS=( d0_blind_id.txt ) + +src_prepare() { + default + + # fix out-of-source build + sed -i \ + -e 's, d0_rijndael.c, "$srcdir/d0_rijndael.c",' \ + configure.ac || die + + eautoreconf +} + +src_configure() { + local myeconfargs=( + --enable-rijndael + --without-openssl + --without-tfm + --without-tommath + $(use_enable static-libs static) + ) + econf "${myeconfargs[@]}" +} + +src_install() { + default + + if ! use static-libs ; then + find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die + fi +} diff --git a/dev-libs/d0_blind_id/metadata.xml b/dev-libs/d0_blind_id/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/dev-libs/d0_blind_id/metadata.xml @@ -0,0 +1,8 @@ + + + + + games@gentoo.org + Gentoo Games Project + + diff --git a/dev-libs/darts/Manifest b/dev-libs/darts/Manifest new file mode 100644 index 000000000000..482db5740c71 --- /dev/null +++ b/dev-libs/darts/Manifest @@ -0,0 +1,5 @@ +DIST darts-0.32.tar.gz 234001 SHA256 0dfc0b82f0a05d93b92acf849368e54bf93f1de8ffb31ba0a21e45ab9e269285 SHA512 b9af8ce60688f5858dac2cac35a8666848dba6729f9f4364786123a1c0484e56c8b981ec04e59653afbcf20cce3b326a49243095213efb525b5669472ac7358e WHIRLPOOL 7fa9f2bf4186d1dd2e759206f2d58bc4bee672c7c0f68683a06e7afadf5d342a8578f5fc02aa0d813ef70731a2ad7ccf02e7d6d4264983de0b27521529ed257d +EBUILD darts-0.32.ebuild 708 SHA256 a0844c24050401c4ec2e71c41c6bd84a48edac89586aa384884ee8f4098b0c97 SHA512 7f19c15498e7be87ee1822c6346628bea2aeabfe4c0710f39305ca242b4eb52d99e41266971c6964fcbc89a74b52e6b8c872e2e9234f2c10d017213f6609903e WHIRLPOOL b4a48224bd83a164193d3b9c8747e40dfa4079863b6db2e170fe3404f0145903d9b839077b4faebf3f1a7afbed863f1d6df4618a3fe544bde1097c77917b98b1 +MISC ChangeLog 2419 SHA256 c89c74f10285fcc7116c02bf6f714ebf771666f3059cf8a26e7d05881b98bd0a SHA512 9a54aeefbf395a5caa259fef5053a0d665c70f72ee3dbba6eb6946f6ca6dd5b19170844b4c72d61500881bb409aa653b48b93a03c509090c856380cd3bf7770e WHIRLPOOL a33f35faa3f3009f99197e19ad75790e90e5560d739a5ef34d71a37e5591e1574ea85fbc9ca8e437dfe65c6cc9e76c9c0905c22720becad3528e02db5cfa9bea +MISC ChangeLog-2015 3533 SHA256 d2708ab6fb04cbfecaa6c7d778c63c983f9e9814d9c7c18219a892b354732826 SHA512 c9c9b41597f6bfe538c4f5f53de5e2cc2543af7aff662a472caf05c70713b9aab63676a9cdb246aa5a86776f0376bcf1b6e7f25d3741de98366b99aa67e0574c WHIRLPOOL 14ca391391258dd78af6415799bc651d0e943060e4b27917c384b60dea918009e7e692881a232adbe99a2bfc938ef0be117f76d45fec23900bac6103dc2cb601 +MISC metadata.xml 336 SHA256 442e88352a15a8016f288e1f7081635465ac735333fdcd319eeb5140f0ced711 SHA512 a9123f4e8d27bc921cf8164d42c485d05f1d3f447d8de7d5d719bf5862472d3d866eb334c6319473b9abc06e0dba96676a7b70431da4c1eda26ee6c8e8626446 WHIRLPOOL 575516134233528e29daf59938e2c160932d562a8a4b949a21c5dce87c15e05b50e9d5d5e3b28412ed9ab9d882921119eb5fa81ca2ca349f3cfe80cc66c96287 diff --git a/dev-libs/darts/darts-0.32.ebuild b/dev-libs/darts/darts-0.32.ebuild new file mode 100644 index 000000000000..d70a3fa4c48b --- /dev/null +++ b/dev-libs/darts/darts-0.32.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +DESCRIPTION="A C++ template library that implements Double-Array" +HOMEPAGE="http://chasen.org/~taku/software/darts/" +SRC_URI="http://chasen.org/~taku/software/darts/src/${P}.tar.gz" + +LICENSE="|| ( BSD LGPL-2.1 )" +SLOT="0" +KEYWORDS="amd64 ~ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris" +IUSE="zlib" +DEPEND="zlib? ( sys-libs/zlib )" + +src_compile() { + econf `use_with zlib` || die + emake CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" || die +} + +src_install() { + emake DESTDIR="${D}" install || die + + dodoc AUTHORS ChangeLog NEWS README || die + dohtml doc/* || die +} diff --git a/dev-libs/darts/metadata.xml b/dev-libs/darts/metadata.xml new file mode 100644 index 000000000000..c1d3ea90071b --- /dev/null +++ b/dev-libs/darts/metadata.xml @@ -0,0 +1,12 @@ + + + + + cjk@gentoo.org + Cjk + + + cpp@gentoo.org + Gentoo C++ Project + + diff --git a/dev-libs/dbus-c++/Manifest b/dev-libs/dbus-c++/Manifest new file mode 100644 index 000000000000..514ae2935762 --- /dev/null +++ b/dev-libs/dbus-c++/Manifest @@ -0,0 +1,7 @@ +AUX dbus-c++-0.9.0-gcc-4.7.patch 1073 SHA256 4f1c7633d224da33dcfb0b10f19ac1656df09d757152909d1f6b04b66ffa8c67 SHA512 3625f7473db8ee069009655f5c8b68bd7290d622be56ace8e1472bd93b0a946a000bf0d728839cd6309414cbcb925247bfee888bb58fda8316e906fe5a8e25b2 WHIRLPOOL cde935b6c7eb148e1221f1a3137fe24dd53543d27f81694a240f565d205dd1999cb99aaa4c99a8d1202648282e002300ab6b9e69796dd0d1c4266acb7ba011ef +AUX dbus-c++-gcc7.patch 891 SHA256 1d053fbe3375bdebf322812f5cb3a526aea54ab86f54b667771049c48c92fd3a SHA512 b8c67af11620c2414d482cb3d77784f7c9831e64e0bc9cb9b946e13b0ad13135f06cfb894667fb9b184e6fc7e750df0769a2d4c09df4f430c2189c2c3804fbae WHIRLPOOL e371338790ed33d050db238bdfc9a67d71733c539a135fc0e50c3b4c73077d622a0fa979d411fedf2b45b8ef616982d43bf7ff04b38da2ce0489d9365f6b783c +DIST libdbus-c++-0.9.0.tar.gz 466362 SHA256 bc11ac297b3cb010be904c72789695543ee3fdf3d75cdc8225fd371385af4e61 SHA512 7acebbb4254b2886cc0f05c5ddeeeac0b5863c5552d32249463b89380b0b95b8225c80bd98b8c7fcaada42ab770b5eff41b15390cd0d78bf1ee322ac6c2de319 WHIRLPOOL 71df5476368591aa289ee35e5b5eacf6f9322bc5fb6c0180f18ff4deac28700d4903b54ac8a0208600062e147f7ae50c0865f7c1cb71a0b2219377120f73ffab +EBUILD dbus-c++-0.9.0-r3.ebuild 1680 SHA256 3314d5db608f343163cb269f8fa0da95eef0f00ee06d9f40fe96694f13d4f5d9 SHA512 b3c97f3d9463c13da7ff57b0fda1253020eaff2ecaf764a69fbdb0bed1af9f2cb0241664c35f39e2c00ae6c36fecc1810cda0e5ad66460d5f74a4031959d8105 WHIRLPOOL fcb138781d2d7584ace6042135f189e871adbeedc5316ed78de9d1e2884887897c7f99ce4ff352771d7a437c295ba4c3176a6baa00f04ff64cea1e93cfa46c71 +MISC ChangeLog 2866 SHA256 2a24e3103667712574925b34ec4659e849d78ea578276e45d4e655e6dc7b649d SHA512 9acfafc79975c4c0b243eaca992640cde72548c5634cd9ae1edaac2d0038132b4ebbb89e7f5e1986177a634ef5ef8de4a808d847dcf715a9fbf90e66885f552f WHIRLPOOL 70c5e0586083ee04f6c9e85128268d1a54bfc28b00a98c572cfac0761eea214acffe859abaaca29f1980bfa9c41e001a20b3a583707c3b8ad27fceb902e5e0a1 +MISC ChangeLog-2015 1921 SHA256 9e46eca61f79209c8d8009de25f9b1a3eb8e1d1a99b13194a59c65134f0353ed SHA512 b2441012f79753c3247c4d7ebbb7934078ca45e3e30cd28009c296abcc977006ac0934f9b95197313f0d9b451708b8014c0d376c1544e0b6778f5cfd362b094f WHIRLPOOL aea8b6931c6e59e9a05c9cbca340a969dcf8dbc7fed8a31ce1add9cacfa4b7bf80197b3cbfab421b5eaf01b219af6272142aaf11f21d3a0c3c12de52213003cd +MISC metadata.xml 455 SHA256 66249ad9c6c6bd00201670c13b08e407bab6da95e9d45994685844bbf96a3580 SHA512 8c3a3e516a5401174cc93ae457b7fe8fc20fd6e7b68f24e05576c04c9dfde90055262af435b0032b82e57644a20f117aed1eea37f71b08b9cfe90b0689e14646 WHIRLPOOL 8eb59e5c8ef77bea3a085bdecfeeffa4ec82ba4a2536967c018ea367b18d7f695868781580ebcb2f55c9b0f273414f7ca4680f65de42089d9fb2e59ab1230f21 diff --git a/dev-libs/dbus-c++/dbus-c++-0.9.0-r3.ebuild b/dev-libs/dbus-c++/dbus-c++-0.9.0-r3.ebuild new file mode 100644 index 000000000000..ede8f2768850 --- /dev/null +++ b/dev-libs/dbus-c++/dbus-c++-0.9.0-r3.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +AUTOTOOLS_PRUNE_LIBTOOL_FILES="modules" + +inherit autotools-multilib + +DESCRIPTION="Provides a C++ API for D-BUS" +HOMEPAGE="https://sourceforge.net/projects/dbus-cplusplus/ https://sourceforge.net/apps/mediawiki/dbus-cplusplus/index.php?title=Main_Page" +SRC_URI="mirror://sourceforge/dbus-cplusplus/lib${P}.tar.gz" + +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86" +IUSE="doc ecore glib static-libs test" + +RDEPEND="sys-apps/dbus[${MULTILIB_USEDEP}] + ecore? ( dev-libs/efl ) + glib? ( dev-libs/glib:2[${MULTILIB_USEDEP}] )" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen ) + dev-util/cppunit[${MULTILIB_USEDEP}] + virtual/pkgconfig" + +S=${WORKDIR}/lib${P} + +PATCHES=( + "${FILESDIR}"/${P}-gcc-4.7.patch #424707 + "${FILESDIR}"/${PN}-gcc7.patch #622790 +) + +multilib_src_configure() { + # not just using autotools-multilib_src_configure because of multilib_native... logic + + # TODO : add ecore multilib support if/when it is multilibified + ECONF_SOURCE="${S}" econf \ + --disable-examples \ + $(multilib_native_use_enable doc doxygen-docs) \ + $(multilib_native_use_enable ecore) \ + $(use_enable glib) \ + $(use_enable static-libs static) \ + $(use_enable test tests) \ + PTHREAD_LIBS=-lpthread + # ACX_PTHREAD sets PTHREAD_CFLAGS but not PTHREAD_LIBS for some reason... + + if multilib_is_native_abi; then + # docs don't like out-of-source builds + local d + for d in img html; do + ln -s "${S}"/doc/${d} "${BUILD_DIR}"/doc/${d} || die + done + fi +} + +multilib_src_install_all() { + einstalldocs + + if use doc; then + dohtml -r "${S}"/doc/html/* + fi +} diff --git a/dev-libs/dbus-c++/files/dbus-c++-0.9.0-gcc-4.7.patch b/dev-libs/dbus-c++/files/dbus-c++-0.9.0-gcc-4.7.patch new file mode 100644 index 000000000000..2d5771717248 --- /dev/null +++ b/dev-libs/dbus-c++/files/dbus-c++-0.9.0-gcc-4.7.patch @@ -0,0 +1,38 @@ +sniped from ChromiumOS + +https://bugs.gentoo.org/424707 + +From 154f7861d19a2bd5c79c488f9989610971db451b Mon Sep 17 00:00:00 2001 +From: Han Shen +Date: Thu, 31 May 2012 16:49:35 -0700 +Subject: [PATCH] Fixed dbus-c++ gcc 4.7 building problem. + +Just add "unistd.h" inclusion to eventloop-integration.h. + +BUG=None +TEST=Manually built using gcc 4.7. + +Change-Id: I87bd1f90db6a4c974a5ed8134044e8be2034aff2 +Reviewed-on: https://gerrit.chromium.org/gerrit/24260 +Tested-by: Han Shen +Reviewed-by: Yunlian Jiang +Commit-Ready: Han Shen +--- + include/dbus-c++/eventloop-integration.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/include/dbus-c++/eventloop-integration.h b/include/dbus-c++/eventloop-integration.h +index 5108340..1b56ab5 100644 +--- a/include/dbus-c++/eventloop-integration.h ++++ b/include/dbus-c++/eventloop-integration.h +@@ -27,6 +27,7 @@ + + #include + #include ++#include + #include "api.h" + #include "dispatcher.h" + #include "util.h" +-- +1.7.9.7 + diff --git a/dev-libs/dbus-c++/files/dbus-c++-gcc7.patch b/dev-libs/dbus-c++/files/dbus-c++-gcc7.patch new file mode 100644 index 000000000000..90809ea5838b --- /dev/null +++ b/dev-libs/dbus-c++/files/dbus-c++-gcc7.patch @@ -0,0 +1,25 @@ +--- ./include/dbus-c++/dispatcher.h.old 2017-06-27 07:03:52.159413535 +0900 ++++ ./include/dbus-c++/dispatcher.h 2017-06-27 07:04:04.974399195 +0900 +@@ -229,13 +229,8 @@ + typedef Mutex *(*MutexNewFn)(); + typedef void (*MutexUnlockFn)(Mutex *mx); + +-#ifndef DBUS_HAS_RECURSIVE_MUTEX +-typedef bool (*MutexFreeFn)(Mutex *mx); +-typedef bool (*MutexLockFn)(Mutex *mx); +-#else + typedef void (*MutexFreeFn)(Mutex *mx); + typedef void (*MutexLockFn)(Mutex *mx); +-#endif//DBUS_HAS_RECURSIVE_MUTEX + + typedef CondVar *(*CondVarNewFn)(); + typedef void (*CondVarFreeFn)(CondVar *cv); +--- ./src/pipe.cpp.old 2017-06-27 07:00:17.275653653 +0900 ++++ ./src/pipe.cpp 2017-06-27 07:00:23.537646665 +0900 +@@ -83,5 +83,5 @@ + void Pipe::signal() + { + // TODO: ignoring return of read/write generates warning; maybe relevant for eventloop work... +- ::write(_fd_write, '\0', 1); ++ ::write(_fd_write, "\0", 1); + } diff --git a/dev-libs/dbus-c++/metadata.xml b/dev-libs/dbus-c++/metadata.xml new file mode 100644 index 000000000000..f0a0dc194aa2 --- /dev/null +++ b/dev-libs/dbus-c++/metadata.xml @@ -0,0 +1,15 @@ + + + + + + dbus-c++ attempts to provide a C++ API for D-BUS. + + + Use Ecore integration + Use glib integration + + + dbus-cplusplus + + diff --git a/dev-libs/dbus-glib/Manifest b/dev-libs/dbus-glib/Manifest new file mode 100644 index 000000000000..4e9037f82ff7 --- /dev/null +++ b/dev-libs/dbus-glib/Manifest @@ -0,0 +1,11 @@ +DIST dbus-glib-0.102.tar.gz 783792 SHA256 6964ed585bb8149a14ab744b5ded5e77cf71ec5446e6dcc5fcf5eebcc52df29c SHA512 9bf4b33dd264eaed9ade0e35f0ad47986c31bd5e3de4d3e2fcee66a9be87000b6121bc810b9a5a24eca53190d98323b871dc78f341df8e05bd0247b096cf778f WHIRLPOOL b83f12877118dca1797c935f57a6ae664fbfc70c4d2fb2d95d2cf11abb7c326a098f336225ffb9030fac00a33d988a30038e2734721fc1ddbb5297f864e01bcf +DIST dbus-glib-0.104.tar.gz 793417 SHA256 bfc1f1a82bfc3ec3ecafe04d0e87bab7e999f50dce4f4a34d0b89caf6bd821f6 SHA512 eff599f169976055545b51459d77845002d8bc7e8dcd056cec2bf83836d07c66b03baed2023bc87a6d7c021d35c744987830f8ed6f9c3391a49ee199db85134b WHIRLPOOL 6e757dee52ea11a7e43cc22a090243cd77ae0b38439fead755c78a6e8b7d6e7e2b1bb1218e23396513e33ef555e35b556f3b333a190077fd9472288e3e96ce91 +DIST dbus-glib-0.106.tar.gz 793343 SHA256 b38952706dcf68bad9c302999ef0f420b8cf1a2428227123f0ac4764b689c046 SHA512 13a1d4600add29d29dbb8d1271570e6c04f70ddff0862d28fcb7df774bfa76a961f90303f897f3b970070eb959e909d5d02a94941e2edd8ba315b9aaa3a602cb WHIRLPOOL 059cb497af2fe957fe3234db62c629eba3581a119211d05e21acac6b0ce9b15614c57f8d7ea63264a688498691deee0fa3035c7413a48c9f3679a196c159d867 +DIST dbus-glib-0.108.tar.gz 812488 SHA256 9f340c7e2352e9cdf113893ca77ca9075d9f8d5e81476bf2bf361099383c602c SHA512 9fa7cd1c22bf6ee1e345dd6fe48aa725abc01b3b180ba430efea9996403ad99636b2c40f682956978ae5049c110c3298fa199470a4cc05907e11773d034ea5b1 WHIRLPOOL 260f600e188f1201f08c742f505f34a2288a077d7d4f9727d430b6cb5da52ea6ed0edd7ad21ee993e8f17f87d7f24b6a2561a96702a5d29541ff19904efd35b2 +EBUILD dbus-glib-0.102.ebuild 2144 SHA256 5998364ce429ce8e43d560af36ee01f75fb948de14a72cce5967463f72284020 SHA512 2464a7f101b40806dce95827c693263d6ac533f97fd18473a5262c3a98ca92d8a8b08b2ecf4aeef1110798b36348255ea963a90818a35cf8121d789a2b5cbb3f WHIRLPOOL 660c953adf8160bee0fed77af897e4680749409494ab7fd52fe6a7baae89f5568682cbfb63ad0b88cfcca8bfa7bc813bf6218db85961e1f503526f376a552e5d +EBUILD dbus-glib-0.104.ebuild 2108 SHA256 3ec78370b0fadfbac219100756a7cea4ebde1871449359b03911d878281bf055 SHA512 a047380aac56e192915e21938e65c29d8ee73d9e2feaf36747c9a28af8d7456e7ab9c9a8289240ec271cad508f1cc483122ee2c69fe124fed5f30b092bea2104 WHIRLPOOL c59efe9a2874de1c6f57b90440b94b9877667cda7435debd22c64e8dbbaee5a549646e2b3cd9b50801af758769588e1cdf4185443a22f1ee02d11b646e94087b +EBUILD dbus-glib-0.106.ebuild 2108 SHA256 3ec78370b0fadfbac219100756a7cea4ebde1871449359b03911d878281bf055 SHA512 a047380aac56e192915e21938e65c29d8ee73d9e2feaf36747c9a28af8d7456e7ab9c9a8289240ec271cad508f1cc483122ee2c69fe124fed5f30b092bea2104 WHIRLPOOL c59efe9a2874de1c6f57b90440b94b9877667cda7435debd22c64e8dbbaee5a549646e2b3cd9b50801af758769588e1cdf4185443a22f1ee02d11b646e94087b +EBUILD dbus-glib-0.108.ebuild 2100 SHA256 92da577e2a88968be36ec6d08bed5694067a19528b46c6f24f6d8dad6e8f55ad SHA512 5f259f54a4b8d06e329b2ffd6d0e650a8af0bc1274e34d009f3c5488be75f91b6522a8d758a20eb8ead9e0bc94037ffb9a42abcb6a26580ca7997fa0469152e2 WHIRLPOOL 489a3571327f511994786d45ff0d249841353bde15b908b4aca9f8442d42d6ba099e5ec9d25b2ac3ae2cd9fe519ea532cbb526b4c548080d7973a6910a885026 +MISC ChangeLog 3650 SHA256 4415e3e1f30daf046b753e2c067daaa5614fc2693063e018cf6203482976358b SHA512 97ef88dfccdbc401ef6ae2736981d7b2ceadece84be1fe53c298f878b89a960b91f6c7b611f972baf60d77b3903a4647c772bf51a355014b777ad05210b8bcce WHIRLPOOL 80c87765a3b484c75e87fa4506b41378bda2a92c743d00e426a7309552159b9aa077ea2c0abdc72f9777ac16aa85f1fc49b4079d1bb209b5289f112d7b72da88 +MISC ChangeLog-2015 22048 SHA256 56f09f045f2b0dd989995046c00e7b013b6efebcc2ec8c7b023f270d2913bdcd SHA512 b5970cda4c3decd137c6df8262c801f231be692c7edc49f4a0f8e48c041cda463c9b33864b738922c1d7d1222c418ec717f8067daed3efc2ab6356b923d7e694 WHIRLPOOL 8f2b7fc1a3b9fc7f33f1e6b2f57c97855c51cb651c637c318b2eaab033da8ac995fef0f3f9cf59fbcb09aa88c63472e9ca130e1c6e182e42d15d49cac521e781 +MISC metadata.xml 326 SHA256 aea2e61cb56aac8ebb8bb9e09cc05fac6a48ce9efbfa78fc1c403466358ecb34 SHA512 65080e75b6d877c594f4f4a1e931d26885b3059f43d567ccd640f089cfc5d7969963cd5d8fa51200dbbafcaf93eddf6faa5cf7d548b60809b808543dcb3c2af6 WHIRLPOOL 5c00383056b75ac6eb20869334f0b9718dd3f5f1eecac4ba318ffb5b9b331a7a96aa72811a01908d176563ffa7e9d792f76e9b6b011ca2d06c481045b96ae1d2 diff --git a/dev-libs/dbus-glib/dbus-glib-0.102.ebuild b/dev-libs/dbus-glib/dbus-glib-0.102.ebuild new file mode 100644 index 000000000000..b740e392602f --- /dev/null +++ b/dev-libs/dbus-glib/dbus-glib-0.102.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit bash-completion-r1 eutils multilib-minimal + +DESCRIPTION="D-Bus bindings for glib" +HOMEPAGE="https://dbus.freedesktop.org/" +SRC_URI="https://dbus.freedesktop.org/releases/${PN}/${P}.tar.gz" + +LICENSE="|| ( GPL-2 AFL-2.1 )" +SLOT="0" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x86-macos ~m68k-mint ~sparc-solaris ~x86-solaris" +IUSE="debug doc static-libs test" + +CDEPEND=">=dev-libs/expat-2.1.0-r3[${MULTILIB_USEDEP}] + >=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}] + >=sys-apps/dbus-1.6.18-r1[${MULTILIB_USEDEP}]" +DEPEND="${CDEPEND} + virtual/pkgconfig + doc? ( >=dev-util/gtk-doc-1.4 )" +RDEPEND="${CDEPEND} + abi_x86_32? ( + ! + + + + freedesktop-bugs@gentoo.org + + + cpe:/a:freedesktop:dbus-glib + + diff --git a/dev-libs/dclog/Manifest b/dev-libs/dclog/Manifest new file mode 100644 index 000000000000..6b073bd879a7 --- /dev/null +++ b/dev-libs/dclog/Manifest @@ -0,0 +1,5 @@ +DIST dclog-1.1.1.tar.bz2 34470 SHA256 052ea50db2d6bbbf4924a96b4643c69adc3d561cec3bc4f8bf382285cb725a0a SHA512 87d2801262ee9abd994178910607729df9d082f7d562b5affa2cc34d567705aa0bacf8a6f24660d4411892856a3042fb192913e32ab57caab4b927647c296703 WHIRLPOOL 8d31b395f0f8718e688cab9303ee98229c941be96bb23c6407328646f9e35d2065cf297eb6749a5c26dceac4d09d3ba9a890b353c2a6f7af225949495aa89b17 +EBUILD dclog-1.1.1-r2.ebuild 593 SHA256 bf183f2b41063c1520a63ad4362818792c9c050fdd1b7b248c5a3e3d82c70cae SHA512 28f7f1d4db58c755b00459d08d7b866e309e48a9ac5d6cc5babba1c56ac0895019f4de8e8bc5483fadfa7328083d1eed6179653c33a2fef6f8aed3d5398914ca WHIRLPOOL 11ad4c665bb3cdf8056b92365617d9b37adb610feb3b000b6862447e3f1c9d3d747d43c6945fe5e87f8461989fe48090a98b87151185dfa02ab394356a916407 +MISC ChangeLog 2635 SHA256 88be1164954d9826156fa4bc5e232533f140a3db4234fec0629685908df16369 SHA512 2767c1c26c29c77486ee5a15f26612c6bd53810578ff5f1512a48bf3c281c5239b404c17a80c3907b6d71df3fc238438228c762bcafece4b5fb1ccccf4cbf80b WHIRLPOOL 2f95c90e8575c2a70719b3dc044945966ca8c6a97e09defec8155034c0e3dab8a19824d32f267efd9d4ffdf589ce3c0592dc644aa0ae3c577c572e229990ab3d +MISC ChangeLog-2015 1363 SHA256 07ab7166652afb575cea4e3e9d7376b66639025e8f550450d24687fc1bd97f3d SHA512 16a4a6dd39b06b22493edef14373c6f146da227b4e303b5f22ab01bc68f8b8cf1a714a57aaddaad70f903f36704451821231611b671ca7a65787b30c93bdc5a0 WHIRLPOOL aa2e90b611d4c31ba993fac20e9b41c309e7842688446bbd862ea5aad753a265d7d274693addd3af143cb27e4b93c2a27b5ea283801f077a47c9017e379fb787 +MISC metadata.xml 432 SHA256 c594fc252566ef938072b76559d4c0d2dfc580d7c0a5382235bb3b840480d325 SHA512 9f88e001634cb66c9fc98421e3f8a8deb43dfa86c9e129d72fcab06ffffc73f0bc84bab7474d1208ded58e17fac3fb7688e27d8ddff1b9fb37b86a3c049450b7 WHIRLPOOL bf437d2d61345574cdb7b65b91c2475a5f1497b947fd875bcbab7c25525b9a42fbb3c61f04330e6fa5dd8dc3a478bc6042e7ef113aabae1bad9b8deadcdce71b diff --git a/dev-libs/dclog/dclog-1.1.1-r2.ebuild b/dev-libs/dclog/dclog-1.1.1-r2.ebuild new file mode 100644 index 000000000000..13c5550fb15b --- /dev/null +++ b/dev-libs/dclog/dclog-1.1.1-r2.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit toolchain-funcs + +DESCRIPTION="A logging library for C/C++ programs" +HOMEPAGE="https://sourceforge.net/projects/dclog/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +src_prepare() { + sed -i Makefile -e '/ -o /s|${CFLAGS}|& ${LDFLAGS}|g' || die "sed Makefile" + default +} + +src_compile() { + emake CC=$(tc-getCC) all +} + +src_install() { + emake DESTDIR="${D}" PREFIX=/usr install + dodoc VERSION + dodoc docs/html/* +} diff --git a/dev-libs/dclog/metadata.xml b/dev-libs/dclog/metadata.xml new file mode 100644 index 000000000000..cffcf42ae2f1 --- /dev/null +++ b/dev-libs/dclog/metadata.xml @@ -0,0 +1,13 @@ + + + + + + dclog is a C logging library. It supports the concept of log levels, + configurable logfile timestamps, and a configurable prefix to log + messages. + + + dclog + + diff --git a/dev-libs/device-atlas-api-c/Manifest b/dev-libs/device-atlas-api-c/Manifest new file mode 100644 index 000000000000..28efb43c8d80 --- /dev/null +++ b/dev-libs/device-atlas-api-c/Manifest @@ -0,0 +1,9 @@ +AUX 2.1-cmake-install.patch 556 SHA256 cd6077c9be2a62f14f792a4efe1489838cc61ec7605618b3bd7dac31e476a1a7 SHA512 79909d2f50143082e3b04d63ea51364f9f5edea5802087f07d7857d0756bf04328d4d827d6d9cf228319cf48b3dcb2d0166b36598a3d1654a88323dbac895c76 WHIRLPOOL 554364f817b960246e700143a6b77fbfbd86b4ba2d61f17dd37247b835b0424c3f77a5c784ecb545200185e9e17ded93df5d0bbefb33eb7ccc5e1b69df208e74 +AUX 2.1.2-src-cmakelists.patch 657 SHA256 605a802dea22683d7bfa674417d1cb63a594922886ecada07cb1ccb629137c6c SHA512 d9f67fc26df12532a5c636d24f1373addb853fa51b45f734a3803f1fc19a3d1d88cdf2b501bb38c2dedf03f256b158cc31c8ada72559eae584348c6afee1d8f3 WHIRLPOOL 42d783f118f1fc40afe0ed36e365847eeb338ee38731583b0d85c3832f1cffcb98d8da7a91ecb7feb10cd8fdb8e5e816b8e035d1bb473a50dbac527f0aa920a4 +DIST deviceatlas-enterprise-c-2.1.2_1.tgz 184432 SHA256 984e1ae3147459a4ed0a8d5053d83dd05ce8c5127cd3cb055be35a74e9217372 SHA512 4ff269c55e74688dc1c954a1d9b0fc28aa135eccd20089f4da390522644bd1c08e2bc38e4ad15a64308a0e91b007a820dcdc3998c262fa5a7cfe1038e9f0e969 WHIRLPOOL 73c1c7eec0daed7632e8a5a7ceda956ec91cc603fe45df2fdbf2b54ecc950bd72ff59fdd85ff6a0ee70d54b2099ecc3219ef55f4aecb308f254851f93fe57738 +DIST deviceatlas-enterprise-c-2.1.2_2.tgz 184368 SHA256 feaa9198a5d6bed125b34742bd626ad0a0fcb862803916cd7d974413f8bdfdce SHA512 46c021b3430c6900f9172c13cdeb26931634345485c2fe0fe7b6911f7c6f6bee46ab3551e4fe11ef5b5caabe66c786c72b51db6875aa9d44aab673056b9debee WHIRLPOOL d85161010cf195eab5ef9c4e83404ad08cc10d607ace5bc6424ffb170ca09a26d5410534279eab1d721615db943f3a447ff908f62f76311ec80c3d95abbb49d4 +DIST deviceatlas-enterprise-c-2.1.zip 504286 SHA256 a02fc29486d245b1c8d946c663b71ba981e88fee8d037f5bc1bf255deb287974 SHA512 99a8e89f3d1c084a93b184685108ea65d1fd925e0c8b52599a42dbe70af3126103da0a9fd284b14ddf59b996204334d360a12651025413bc4d7f76054779275b WHIRLPOOL 939733a58f352cbeee852ccfea3f2f022310ceb7363a15889d9a6366532102ee700271b6008e0a57ae4d86cafe6354409f9520105e46eaabb5c41f1a7827f1b4 +EBUILD device-atlas-api-c-2.1.2_p1.ebuild 1071 SHA256 2b404bebe5eb7f2a6b9b811224966e15ffcfbdf20c95ffed8511555291e226ee SHA512 45764ebfe8274a94c08bdcf277caf7b8247c0507492dd193f32491f21a23a0caafb5a0944d97feaa2e5501d100ae64163893ed4347780becebb782e14b08cfdc WHIRLPOOL 0ef4ccc35be7326c9a43de977fd00d074c89dd0b25bf8d8b524b81bc4bfb9ac2d36212ccb01de154c22b8fc8be3d1e6fd0dbcd880da7c622729bdf4f47b751b9 +EBUILD device-atlas-api-c-2.1.2_p2.ebuild 1072 SHA256 33bda8d7ffa047a5f547fc0216d672622e983555a6102874796622e6b0afd4ec SHA512 201fff3cfffa7c1491b29f86f46a9cbb06de65f01f1241e8474cab7e063311fe41346b8263ea1d03a4d7a2ececbbb677f4d129fcd3ca4836f3450de56581a2be WHIRLPOOL 7e3395f8a66e0712050a5a690659fe990496adf45008afbe402bca1b57935c054b702abb40473384c5f5cb5857b1fc2eda95805b8441dd7c874679b1edf7e5ce +EBUILD device-atlas-api-c-2.1.ebuild 1087 SHA256 b805d8bc26cd354775751c2d04bb6602e42b6b25d00549c4203459de72395cc3 SHA512 be97dbacbf2fcffd7338c12e3355aa28e0ac2c1d58bc26a6ccd7cc5189c12d337081cb0957f695c2c376928eaf0b6940a3ae3e804825ec5f599139dbaf585f69 WHIRLPOOL 841f96aa6e8175b366171185ba24eb463b0cc7eb387ff1d132493a9cea4d379dede500fa5fad0665b388d3015bc9f0f527884bbcacc54cfe3251a94422359829 +MISC metadata.xml 794 SHA256 b98503ddc4674e7e03cba11834bde5d7b78c8f8c3a7aa2e2dac7a49375b2a9ec SHA512 2da64d528f2e49d368ba7b8684d818f0d8bb979dd0c64d613f25bdca97a9c5a3af2eb85f4955e03ed52dc5eb43b3ba7bad21eb94bdd67d370e1ddfa6545b26a1 WHIRLPOOL f118b2e8bc0044e1d8fbf2cdcfd2b26b0092d7f9eda8db754fa8df6bdea22d03350c4903e8125cc0591912e5be0b8caa2bc600a2524fdfeddbb7177dde5694c2 diff --git a/dev-libs/device-atlas-api-c/device-atlas-api-c-2.1.2_p1.ebuild b/dev-libs/device-atlas-api-c/device-atlas-api-c-2.1.2_p1.ebuild new file mode 100644 index 000000000000..bc28a136dd90 --- /dev/null +++ b/dev-libs/device-atlas-api-c/device-atlas-api-c-2.1.2_p1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit cmake-multilib + +MY_P="deviceatlas-enterprise-c-${PV/_p/_}" + +DESCRIPTION="API to detect devices based on the User-Agent HTTP header" +HOMEPAGE="https://deviceatlas.com" +SRC_URI="${MY_P}.tgz" + +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="amd64 ~arm ppc x86" +IUSE="doc examples" + +RDEPEND="dev-libs/libpcre[${MULTILIB_USEDEP}]" +DEPEND=" + ${RDEPEND}" + +RESTRICT="fetch mirror bindist" + +S="${WORKDIR}/${MY_P}" + +PATCHES=( + "${FILESDIR}/${PV}-src-cmakelists.patch" +) + +pkg_nofetch() { + eerror "Please go to https://deviceatlas.com/deviceatlas-haproxy-module" + eerror "And download DeviceAtlas C API" + eerror "Then place the file in ${DISTDIR}/${MY_P}.zip" +} + +multilib_src_install_all() { + if use doc ; then + local -a HTML_DOCS=( Documentation ) + fi + + if use examples ; then + insinto /usr/share/doc/${P}/examples + doins examples/daexutil.h + doins examples/example{0,1,2,3}.c + doins examples/util.c + doins examples/EXAMPLES.USAGE + fi + + einstalldocs +} diff --git a/dev-libs/device-atlas-api-c/device-atlas-api-c-2.1.2_p2.ebuild b/dev-libs/device-atlas-api-c/device-atlas-api-c-2.1.2_p2.ebuild new file mode 100644 index 000000000000..2923dead8a25 --- /dev/null +++ b/dev-libs/device-atlas-api-c/device-atlas-api-c-2.1.2_p2.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit cmake-multilib + +MY_P="deviceatlas-enterprise-c-${PV/_p/_}" + +DESCRIPTION="API to detect devices based on the User-Agent HTTP header" +HOMEPAGE="https://deviceatlas.com" +SRC_URI="${MY_P}.tgz" + +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~x86" +IUSE="doc examples" + +RDEPEND="dev-libs/libpcre[${MULTILIB_USEDEP}]" +DEPEND=" + ${RDEPEND}" + +RESTRICT="fetch mirror bindist" + +S="${WORKDIR}/${MY_P}" + +PATCHES=( + "${FILESDIR}/${PV}-src-cmakelists.patch" +) + +pkg_nofetch() { + eerror "Please go to https://deviceatlas.com/deviceatlas-haproxy-module" + eerror "And download DeviceAtlas C API" + eerror "Then place the file in ${DISTDIR}/${MY_P}.tgz" +} + +multilib_src_install_all() { + if use doc; then + local -a HTML_DOCS=( Documentation ) + fi + + if use examples; then + insinto /usr/share/doc/${P}/examples + doins examples/daexutil.h + doins examples/example{0,1,2,3}.c + doins examples/util.c + doins examples/EXAMPLES.USAGE + fi + + einstalldocs +} diff --git a/dev-libs/device-atlas-api-c/device-atlas-api-c-2.1.ebuild b/dev-libs/device-atlas-api-c/device-atlas-api-c-2.1.ebuild new file mode 100644 index 000000000000..c08e69401d96 --- /dev/null +++ b/dev-libs/device-atlas-api-c/device-atlas-api-c-2.1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit unpacker cmake-multilib + +MY_P="deviceatlas-enterprise-c-${PV}" + +DESCRIPTION="API to detect devices based on the User-Agent HTTP header" +HOMEPAGE="https://deviceatlas.com" +SRC_URI="${MY_P}.zip" + +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="amd64 arm ppc x86" +IUSE="doc examples" + +RDEPEND="dev-libs/libpcre[${MULTILIB_USEDEP}]" +DEPEND="app-arch/unzip + ${RDEPEND}" + +RESTRICT="fetch mirror bindist" + +S="${WORKDIR}/${MY_P}" + +PATCHES=( + "${FILESDIR}/${PV}-cmake-install.patch" +) + +pkg_nofetch() { + eerror "Please go to https://deviceatlas.com/deviceatlas-haproxy-module" + eerror "And download DeviceAtlas C API" + eerror "Then place the file in ${DISTDIR}/${MY_P}.zip" +} + +multilib_src_install_all() { + if use doc ; then + local -a HTML_DOCS=( Documentation ) + fi + + if use examples ; then + insinto /usr/share/doc/${P}/examples + doins examples/daexutil.h + doins examples/example{0,1,2,3}.c + doins examples/util.c + doins examples/EXAMPLES.USAGE + fi + + einstalldocs +} diff --git a/dev-libs/device-atlas-api-c/files/2.1-cmake-install.patch b/dev-libs/device-atlas-api-c/files/2.1-cmake-install.patch new file mode 100644 index 000000000000..9f518629e5a1 --- /dev/null +++ b/dev-libs/device-atlas-api-c/files/2.1-cmake-install.patch @@ -0,0 +1,20 @@ +--- ./CMakeLists.txt 2016-11-08 22:54:33.351677837 +0000 ++++ ./CMakeLists.txt 2016-11-08 23:04:26.737184360 +0000 +@@ -16,6 +16,7 @@ + set(MODEL 64) + endif() + ++include(GNUInstallDirs) + message(STATUS "${CMAKE_BUILD_TYPE} version") + + include_directories(${PCRE_INCLUDE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}) +@@ -31,6 +32,9 @@ + + add_subdirectory(examples) + ++install(TARGETS da DESTINATION ${CMAKE_INSTALL_LIBDIR}) ++install(FILES dac.h dac_json.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) ++ + if (EXISTS "${PROJECT_SOURCE_DIR}/tests") + subdirs(tests) + endif() diff --git a/dev-libs/device-atlas-api-c/files/2.1.2-src-cmakelists.patch b/dev-libs/device-atlas-api-c/files/2.1.2-src-cmakelists.patch new file mode 100644 index 000000000000..b81768aba648 --- /dev/null +++ b/dev-libs/device-atlas-api-c/files/2.1.2-src-cmakelists.patch @@ -0,0 +1,18 @@ +--- a/Src/CMakeLists.txt.orig 2017-05-20 22:56:14.138401705 +0100 ++++ b/Src/CMakeLists.txt 2017-05-20 22:58:11.376354697 +0100 +@@ -18,6 +18,7 @@ + set(MODEL 64) + endif() + ++include(GNUInstallDirs) + message(STATUS "${CMAKE_BUILD_TYPE} version") + + include_directories(${PCRE_INCLUDE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}) +@@ -37,5 +38,5 @@ + set (CMAKE_SHARED_LINKER_FLAGS -m32) + endif() + +-install(FILES libda.so libda.so.${API_VERSION} DESTINATION /usr/local/lib) +-install(FILES dac.h dac_json.h DESTINATION /usr/local/include) ++install(TARGETS da DESTINATION ${CMAKE_INSTALL_LIBDIR}) ++install(FILES dac.h dac_json.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) diff --git a/dev-libs/device-atlas-api-c/metadata.xml b/dev-libs/device-atlas-api-c/metadata.xml new file mode 100644 index 000000000000..a1a8f31a03a3 --- /dev/null +++ b/dev-libs/device-atlas-api-c/metadata.xml @@ -0,0 +1,15 @@ + + + + + bertrand@jacquin.bzh + Bertrand Jacquin + + + proxy-maint@gentoo.org + Proxy Maintainers + + + DeviceAtlas is the de facto standard for device data across the web, telco, advertising and digital marketing sectors. As the only solution that is indexed for both web and mobile operator environments, DeviceAtlas' patented technology provides a common device identifier to understand device traffic across all connected environments. + + diff --git a/dev-libs/dietlibc/Manifest b/dev-libs/dietlibc/Manifest new file mode 100644 index 000000000000..dc1570a24381 --- /dev/null +++ b/dev-libs/dietlibc/Manifest @@ -0,0 +1,7 @@ +DIST dietlibc-0.33_pre20110403.tar.gz 743758 SHA256 6505ed424a5b53850ae1dcbc75fbf92f3b7e4038dd1104d114b366221cc48eea SHA512 32f9d752a77bcca5703a388ba64dcb53de75999043c1b2fabe973eba05fce4e9f48a6bdb71e061939eee339ca723234d33d2acb3677a8030accaccba31a5932e WHIRLPOOL 5756b1e42637d89fd17f1a79fe602f9e009b9d5dcca0fbe3540ad2af21ad96b32d0b4773f882cccfd97d6308cd3c9ad79d06cc7ca79e28a4d60fd00379eaef70 +DIST dietlibc-0.34_pre20140729.tar.bz2 670195 SHA256 d6693610c756dbfc070c0ffed5a75e1ddab8d119394962ca1ed4d42f34b57318 SHA512 a0bb5465f7fc985fd074dfcc4039003ec26b6b5fde5f2ccc53322067bd1a6459e742c9debeffda0b5146e287baa8e49f74f4a8ffafdf1daacacec4768d13db36 WHIRLPOOL 566e505a65e3f81c5507fc494324b4f48e5af27683d69c443cf7d2380599a24bbc984d7d430acb25bc0d28baa924565ee513c8217dd2eb6a960c70d6d2a7e1b7 +EBUILD dietlibc-0.33_pre20110403.ebuild 1688 SHA256 9dff8f62e00edd3a21bab463053203f5f095224af8c812121cc4fff0e6863104 SHA512 96382993aeb9d91f4512f354691988a6683957a5bfb4a4009fee48b9d0ec1205a13bb574bab953839b20a4b278f41e94fce31c811bd125d5d138609fa90487ec WHIRLPOOL 6547127fa25592560974ea67579a7c011f520043dbab564d31842097ee513866a888863fd6ff35ecc6f94c0c3e3615efd23c2eed153273b02bc6e495c4270119 +EBUILD dietlibc-0.34_pre20140729.ebuild 1577 SHA256 ff4b03dc45b7a04f7dc150dbc782dd040b2c9b14a92fefeac68aeef63010366e SHA512 fb72a140962341c26031080959a5da32f156e92e97b53c72e46256d86c9c325577ea868643d4474dd15e93c279fc6ec636493ce0c4e0f83d32a3cd966c140143 WHIRLPOOL 1321a8dadd8b7a31af080ab8b7a3f854a8614173743e9fe8b3f28bca10c62d79e07bb3544fae0ea55434012da43678167d952e2f9dbb72be9ed3bf1466026c4a +MISC ChangeLog 3833 SHA256 8551a681ab4ce1c5c2c5a9f7609f216b01d52ea0907dad856210e95584223e87 SHA512 f25fbc689948bef0c3e8ac5df97f4ffb339db38b189135cdf24e86817299390d5de53b7528f763761b95d943b15f3c5ea914db1c1c3b1730192844ae6ee5fad7 WHIRLPOOL c01eee2554b14a2be46d2ed90d65b69fac56a9742a38788dd2b510ca8c0b0699ce2b3f2ac5781155ac301399c591fc3b9eb4c5489a68198aa65027bd2407ef44 +MISC ChangeLog-2015 15223 SHA256 d0e385816a2652fdf0ebf9bf47a9cc98a7c173b4a485aee54281af56af927ea3 SHA512 53624a4c6d2dc7554cee10ccf2ab3639c3091c145b0e481830ee0f5338766dafb4e25d0c6c60178ef1f72c4899b37f591d6f2eceef1bf2793cc99017930b7453 WHIRLPOOL 7edf37968150c49184a20d6fda175d850e903ce109c6aa54ee1e2979d9a44c425b52530637ad65fe33cab9d5c6e4ce6a6ad824b781937f92f1ce34cf4e9e1621 +MISC metadata.xml 416 SHA256 d95b607d6ec29573cd92ab2edf016985e1bb9894b5e619870e63fa2c77056b16 SHA512 7d39c127ffecbfc46fc6987189f2d28e92b35effbd71d4aadc465ac5fe1e47d088574700b26bb0bc27f1fd17b3487de85317f34a87393597f99b38a9be3c0c0d WHIRLPOOL da62dae0ece9c8392b2756c64e474b568e65aa8924d0178cd7ea166c31bdd84b7595296029a0bb526762a5d23e9302730f88368f2bec3019f82615c4720c3ca7 diff --git a/dev-libs/dietlibc/dietlibc-0.33_pre20110403.ebuild b/dev-libs/dietlibc/dietlibc-0.33_pre20110403.ebuild new file mode 100644 index 000000000000..62b7fabdd9c0 --- /dev/null +++ b/dev-libs/dietlibc/dietlibc-0.33_pre20110403.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="3" + +inherit eutils flag-o-matic toolchain-funcs + +GITHUB_AUTHOR="hollow" +GITHUB_PROJECT="dietlibc" +GITHUB_COMMIT="4e86d5e" + +DESCRIPTION="A libc optimized for small size" +HOMEPAGE="http://www.fefe.de/dietlibc/" +SRC_URI="https://nodeload.github.com/${GITHUB_AUTHOR}/${GITHUB_PROJECT}/tarball/v${PV} -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 ~arm ia64 ~mips sparc x86 ~amd64-linux ~x86-linux" +IUSE="debug" + +DEPEND="" +RDEPEND="" + +S="${WORKDIR}"/${GITHUB_AUTHOR}-${GITHUB_PROJECT}-${GITHUB_COMMIT} + +DIETHOME=/usr/diet + +pkg_setup() { + # Replace sparc64 related C[XX]FLAGS (see bug #45716) + use sparc && replace-sparc64-flags + + # gcc-hppa suffers support for SSP, compilation will fail + use hppa && strip-unsupported-flags + + # debug flags + use debug && append-flags -g + + # Makefile does not append CFLAGS + append-flags -nostdinc -W -Wall -Wextra -Wchar-subscripts \ + -Wmissing-prototypes -Wmissing-declarations -Wno-switch \ + -Wno-unused -Wredundant-decls -fno-strict-aliasing + + # only use -nopie on archs that support it + tc-enables-pie && append-flags -nopie +} + +src_compile() { + emake prefix="${EPREFIX}"${DIETHOME} \ + CC="$(tc-getCC)" \ + CFLAGS="${CFLAGS}" \ + STRIP=":" \ + || die "make failed" +} + +src_install() { + emake prefix="${EPREFIX}"${DIETHOME} \ + DESTDIR="${D}" \ + install-bin \ + install-headers \ + || die "make install failed" + + dobin "${ED}"${DIETHOME}/bin/* || die "dobin failed" + doman "${ED}"${DIETHOME}/man/*/* || die "doman failed" + rm -r "${ED}"${DIETHOME}/{man,bin} + + dodoc AUTHOR BUGS CAVEAT CHANGES README THANKS TODO PORTING +} diff --git a/dev-libs/dietlibc/dietlibc-0.34_pre20140729.ebuild b/dev-libs/dietlibc/dietlibc-0.34_pre20140729.ebuild new file mode 100644 index 000000000000..c35bb403afe4 --- /dev/null +++ b/dev-libs/dietlibc/dietlibc-0.34_pre20140729.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils flag-o-matic toolchain-funcs + +DESCRIPTION="A libc optimized for small size" +HOMEPAGE="http://www.fefe.de/dietlibc/" +SRC_URI="https://dev.gentoo.org/~patrick/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 ~arm ~ia64 ~mips sparc x86 ~amd64-linux ~x86-linux" +IUSE="" + +DEPEND="" +RDEPEND="" + +DIETHOME=/usr/diet + +S=${WORKDIR}/dietlibc + +src_prepare() { + # Replace sparc64 related C[XX]FLAGS (see bug #45716) + use sparc && replace-sparc64-flags + + # gcc-hppa suffers support for SSP, compilation will fail + use hppa && strip-unsupported-flags + + # Makefile does not append CFLAGS + append-flags -nostdinc -W -Wall -Wextra -Wchar-subscripts \ + -Wmissing-prototypes -Wmissing-declarations -Wno-switch \ + -Wno-unused -Wredundant-decls -fno-strict-aliasing + + # Disable ssp for we default to it on >=gcc-4.8.3 + append-flags $(test-flags -fno-stack-protector) + + # only use -nopie on archs that support it + tc-enables-pie && append-flags -nopie + + sed -i -e 's:strip::' Makefile || die + append-flags -Wa,--noexecstack +} + +src_compile() { + emake -j1 prefix="${EPREFIX}"${DIETHOME} \ + CC="$(tc-getCC)" \ + CFLAGS="${CFLAGS}" \ + STRIP=":" +} + +src_install() { + emake -j1 prefix="${EPREFIX}"${DIETHOME} \ + DESTDIR="${D}" \ + install-bin \ + install-headers \ + install-profiling + + dobin "${ED}"${DIETHOME}/bin/* + doman "${ED}"${DIETHOME}/man/*/* + rm -r "${ED}"${DIETHOME}/{man,bin} || die + + dodoc AUTHOR BUGS CAVEAT CHANGES README THANKS TODO PORTING +} diff --git a/dev-libs/dietlibc/metadata.xml b/dev-libs/dietlibc/metadata.xml new file mode 100644 index 000000000000..e82600904d53 --- /dev/null +++ b/dev-libs/dietlibc/metadata.xml @@ -0,0 +1,10 @@ + + + + + + The diet libc is a libc that is optimized for small size. It can be + used to create small statically linked binaries for Linux on alpha, arm, + hppa, ia64, i386, mips, s390, sparc, sparc64, ppc and x86_64. + + diff --git a/dev-libs/ding-libs/Manifest b/dev-libs/ding-libs/Manifest new file mode 100644 index 000000000000..b6dc145443bd --- /dev/null +++ b/dev-libs/ding-libs/Manifest @@ -0,0 +1,9 @@ +DIST ding-libs-0.4.0.tar.gz 827058 SHA256 bdeb90b07ceaa9145e6784ce40a71b69a37fffc7373c51fee258ffffd5390457 SHA512 e062e104f4ad75eea0b59bb113b7a6a4044a42230d96b9b9dda611535835cd0809635b1da1408ae58e97f9ff9a9f4fd48f751365901f9b066b465df3523730a0 WHIRLPOOL 41733ac92c3c7fcaa19f19843a2464a0644632cc345b77fc033910974fa449f91780725302fafadd233c6ef4379174261bbab45e49830e8673a46d9ee3d6f652 +DIST ding-libs-0.5.0.tar.gz 868840 SHA256 dab937537a05d7a7cbe605fdb9b3809080d67b124ac97eb321255b35f5b172fd SHA512 d79db6794dbb59b518db15c51c3f981e8873e478a156ca8ae766a61107796968eeed36cf21bd20f5e6f04c5b460d3a40ab114a482754e2f3976c53bb82fe1fcb WHIRLPOOL de3df36795c9a60a1d1fad06653e724dd1384b81cb056be62fd59699b3ae7fd2ad60135ea6092435797aa4910024aad03ded703fc09c731fcc7594761e3b9384 +DIST ding-libs-0.6.0.tar.gz 880038 SHA256 764a211f40cbcf2c9a613fc7ce0d77799d5ee469221b8b6739972e76f09e9fad SHA512 7218b6825bc078bdc35f149bd17944f427af0e32fa4d94026c00ecd14037598959ad7e1dee46af6fd3736424cdb499720fd8e1a0d1dfd173a5bc0085f8f986b2 WHIRLPOOL 313d132fa91c2768213fc8b7ff00f0c664f703ea0b4879f5e6240ea6202a0810dc3adf4d562d999c1612eaf742b1232739e112b71a2426e44bfd6d6480b945df +EBUILD ding-libs-0.4.0.ebuild 490 SHA256 90ebcd89b733edde01a3ac78c391139a6747ccd8fa716b92e547b3d37d2c06bb SHA512 26b70f0a10519e7bbf8da6f2fc73c6aef3f2c3dd544bd0c8330834cfb2d0946c33f266eeefa0a55c6552c4ca297934ede3f66d0784a21a175ac6496f05c76f59 WHIRLPOOL 80c784dec23e194e496812b25869ad3d05193a31520e89d4e4d1beff114ea5cb8dc147604fd8c0968777a9a11832d8ae1bccdd7b438805263c748f6cb1350c17 +EBUILD ding-libs-0.5.0.ebuild 546 SHA256 b1e0640afa64f47fa22fdc4ba17255af94da3946ac8f3b2b23784cb224cb2ae4 SHA512 919631adedd25a89e1f0004524f53ccb50a450c3c165de0354e823a4557a1a4d010e55d6d20e703dedb769a3205910c164dbc3d73fefb7e7e85888ea0304705d WHIRLPOOL 8cdebc80f784c9b6abd20d2e9daecf1b1ced9a3e7cbad64fbc2a75e754563a9a053c49039ab157340f5d0e2e6e5f8674f4e88b44d55ea07ba9ca1fb5c8c2f2d3 +EBUILD ding-libs-0.6.0.ebuild 601 SHA256 4c97f2bc5cc3741d1fedf0af11563721aa167ed5c3fe8a27e58e3221a60082c4 SHA512 c6ac818fba81dd647281d5d68b661d3e6384fed778114b71b9d4bba872d99df1a70a7bc05f381c7c260b692b2463212f668c3c2975332ce10cfd873ba3843a7c WHIRLPOOL c13083976c3f690db891a9295d61390231d61e1fd69ff64db19bb972f0234b35581c898082aa816dde0a0cc90858ccf1044e19aebbbb50c97432b48228bfde0f +MISC ChangeLog 2866 SHA256 40b08b111630a41d5457625b26c0273975972b9b92ff69360ed429f32f739a92 SHA512 aafcde82b29ccdc0cc5fc14995f1cb03cd9ae51b80b7a2600352affece09a3046b8781bf8b674ebbb6666b0d7ccd6a5d5338a799b45bd3804e38415b83e40f8c WHIRLPOOL 82b3fbe0f5c486a8850b2f5d670506bfd5e130e87d4f5e3c66e8011f2e9f293c0eef0e490e422180dc7389ed31c44b422c28a1f9e6e276cdf731cf94fea79871 +MISC ChangeLog-2015 3038 SHA256 b5834d36691c6cadabbf1f7c5a15387696afd8b7d2e328c840f77fdf3a7ef0b5 SHA512 3070f202ae9432ee0437e79cc7b555951a2a6a7a7fe892103be3ce2fcfe3d94f1cb33d3fa94dca4c65de33dbfac5349da511215f84d555e5f58456b394dffb64 WHIRLPOOL 349f303f87209cf88f9507e7dcddd5f5daab8d9818611e7c0a05b6d8e523dba0951471b108ef54bddb916e6b07fd7faaf6e4999803e26107a4315e935665c7e1 +MISC metadata.xml 245 SHA256 d8a2d603183590c960989695dbe8e1b40b18c4405314cc754b4a609ef266be7c SHA512 1c6cdb75d4cbbd8d3a5f2cc24950924c030db330e135cf2cacecdaaa99ee65117efd7abd9f8652bf5dfa8169d427f51ff84123aab11fa8ef82498a6834b0805a WHIRLPOOL 8d19cc9bf7a59c51d8a9e346f23576705184758bc5a732bafa587d4d51ce3ec01b77a6a1c06d6121b72342fe401a02f03935acf5d386cb48f7e5b14b197810d5 diff --git a/dev-libs/ding-libs/ding-libs-0.4.0.ebuild b/dev-libs/ding-libs/ding-libs-0.4.0.ebuild new file mode 100644 index 000000000000..64656250a69d --- /dev/null +++ b/dev-libs/ding-libs/ding-libs-0.4.0.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit autotools-multilib + +DESCRIPTION="Library set needed for build sssd" +HOMEPAGE="https://fedorahosted.org/sssd" +SRC_URI="https://fedorahosted.org/released/${PN}/${P}.tar.gz" + +LICENSE="LGPL-3 GPL-3" +SLOT="0" + +KEYWORDS="amd64 ~arm ~hppa ~ppc ~ppc64 x86 ~amd64-linux" +IUSE="test static-libs" + +RDEPEND="" + +DEPEND="${RDEPEND} + virtual/pkgconfig + test? ( dev-libs/check ) + " diff --git a/dev-libs/ding-libs/ding-libs-0.5.0.ebuild b/dev-libs/ding-libs/ding-libs-0.5.0.ebuild new file mode 100644 index 000000000000..d252ab3bea6c --- /dev/null +++ b/dev-libs/ding-libs/ding-libs-0.5.0.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit autotools-multilib + +DESCRIPTION="set of utility libraries (mostly used by sssd)" +HOMEPAGE="https://fedorahosted.org/sssd" +SRC_URI="https://fedorahosted.org/released/${PN}/${P}.tar.gz" + +LICENSE="LGPL-3 GPL-3" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux" +IUSE="test static-libs" + +RDEPEND="" +DEPEND="${RDEPEND} + virtual/pkgconfig + test? ( dev-libs/check )" diff --git a/dev-libs/ding-libs/ding-libs-0.6.0.ebuild b/dev-libs/ding-libs/ding-libs-0.6.0.ebuild new file mode 100644 index 000000000000..9a784cd3dd40 --- /dev/null +++ b/dev-libs/ding-libs/ding-libs-0.6.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit multilib-minimal + +DESCRIPTION="set of utility libraries (mostly used by sssd)" +HOMEPAGE="https://fedorahosted.org/sssd" +SRC_URI="https://fedorahosted.org/released/${PN}/${P}.tar.gz" + +LICENSE="LGPL-3 GPL-3" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux" +IUSE="test static-libs" + +RDEPEND="" +DEPEND="${RDEPEND} + virtual/pkgconfig + test? ( dev-libs/check )" + +multilib_src_configure() { + ECONF_SOURCE="${S}" econf +} diff --git a/dev-libs/ding-libs/metadata.xml b/dev-libs/ding-libs/metadata.xml new file mode 100644 index 000000000000..c5adddd4b3e6 --- /dev/null +++ b/dev-libs/ding-libs/metadata.xml @@ -0,0 +1,8 @@ + + + + + maksbotan@gentoo.org + Maxim Koltsov + + diff --git a/dev-libs/distorm64/Manifest b/dev-libs/distorm64/Manifest new file mode 100644 index 000000000000..ead24adfe52b --- /dev/null +++ b/dev-libs/distorm64/Manifest @@ -0,0 +1,7 @@ +DIST distorm-3.3.3.tar.gz 220254 SHA256 a99d49f111c1ae889c4368eaa11feed9d3d2cfd451081f8f3ddc90138eb045ab SHA512 abc37d050efcb7fd7c6e0f1ef055537f06059528fb48a07d159621adca8d905ee3a44b394d75e10aa69f2429fb1023e9282b349281acb3a9474148f195306fbf WHIRLPOOL d58924e2a7626d122abdff1823c25080cd98b7bedffc14865e84314d5f035fa24ff48dc7f3d5318bfc183ba22999453c79a4b76bc6a3b26d8e35ffbc52da8f7d +DIST distorm-3.3.4.tar.gz 220334 SHA256 28e766b116a9b8294ff5ceb1dcfd83a9b0e2ffba1dfbbb6ef84ab18f9b138aee SHA512 172bb1a9a3f92089daf140fd019c94cf3b63f646b78e7aa527640819f418b1e3df2e2d727a76863a7800e6e3735c404054aeb48fceeec7a94f95480b89883b90 WHIRLPOOL 58b87fbaac9ab527816cb4ce2ae08f4ce1f621e822b8c46bec77e4fd62b27d226e9fb719b7ed3293c03a8f931752dc9b4ecb070551703a77b6769eb84d65f0bc +EBUILD distorm64-3.3.3.ebuild 537 SHA256 200f85041a003d827199907863572b68d8a09920cb113cfba39297d119f3871f SHA512 19067c36461cf72c0b2823b36d1cfd1c698f99a8fd40c6e9bb32dabb481c9d99b14555e36587a9101ea800b81557e72b21aa5ab86046fae203b36e5ff3e5bf25 WHIRLPOOL c3246861ab60dc8e306667b480a5dd34efea8c35ee2461656357c12bc7aa564dc46258e761899aa55e3892943689898826d841b03e1861ea2a436268eb154075 +EBUILD distorm64-3.3.4.ebuild 553 SHA256 0901f9ef497c0bc125c090036c2eec8b98a7a51bc535daf2cf5f19479228f032 SHA512 f1d673ea1f60797879d6680129833658865a02b5f87a536fe3298a8e147bfbd1fbdf97a80c72909f8b3cfd4bbc97b77a537edb517d79da4975daa81eab632d51 WHIRLPOOL 4b69c96eaa981662e7a2a80fca995eda02afc2dcfe2fb9b7919a16d15bec681bba0ff9a543131b9cf513410402db2f443a1e61af1a97c70aec9b2f45af0c9777 +MISC ChangeLog 3321 SHA256 8d9c546f6f5d05f27b8ea38047bea888d906b4ef815b31d533b2491afadae009 SHA512 6e2f1d08278808510d1b6161b12ccea2fda38ac584ce368eb5ac30c1549778807cef5a696b30199ae834a313725071d6cf5ac01c3ab42d0aee5050378e4d3345 WHIRLPOOL 44416074cc695f4f4f097757950a8da0cf7e1a49cebfdc78515c5f5729df7a0f49e91622c407d14eab206ef82f80abb38a06b4e8333adae01c9666a32a52f9aa +MISC ChangeLog-2015 1747 SHA256 984ad2e5ec5697d5957bc30437e0ae1ea53543f8cbd38bb4e3a68a521a4ee7bb SHA512 f233641a6e918b2d372528b7c1c657d89917fd6efce5ceb0fc754f5f72fa850af573280c9f9084c2c09a752dabb5fd64ae0b6baa38bc994ca1bbe12f8f9904b5 WHIRLPOOL 7785f155f169abe357521dbd6b14e2e81fa34032f1c7d3c3217e5953d9f9cc415d30da4270b85fc9274c42f9ee91560ffd7447aa96312066b1f5cdcd4f616322 +MISC metadata.xml 621 SHA256 da1e6f0275f7688bfa52b1df2b4c0a512325cc327afae7fab17916ab03e88590 SHA512 388d5a9606c152779cf1d4e7b80f0e38894766332109270fb5afc1d8370ab9700f2a7caa2d310a79d2d00bfcd6b7ef6f3c4e12910fab9381bb1dead2a988ff28 WHIRLPOOL 77ef467117f2e7b259ab9e29c6a13c5cd7fe42d45a70176fb090cfb068da5e842e740aaf75de3c56206c3a87beb071f6350a648bc18e6efcb4f2da2877a0eb93 diff --git a/dev-libs/distorm64/distorm64-3.3.3.ebuild b/dev-libs/distorm64/distorm64-3.3.3.ebuild new file mode 100644 index 000000000000..74d0bdc5ef7f --- /dev/null +++ b/dev-libs/distorm64/distorm64-3.3.3.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +# does not work with python3_4 as-is +PYTHON_COMPAT=( python2_7 ) + +inherit distutils-r1 + +DESCRIPTION="The ultimate disassembler library (X86-32, X86-64)" +HOMEPAGE="http://www.ragestorm.net/distorm/" + +MY_PN=distorm +MY_P=${MY_PN}-${PV} + +SRC_URI="https://github.com/gdabah/${MY_PN}/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +DEPEND="" +RDEPEND="" + +LICENSE="BSD-4" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" diff --git a/dev-libs/distorm64/distorm64-3.3.4.ebuild b/dev-libs/distorm64/distorm64-3.3.4.ebuild new file mode 100644 index 000000000000..bdb8f39dca4b --- /dev/null +++ b/dev-libs/distorm64/distorm64-3.3.4.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +# does not work with python3_4 as-is +PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) + +inherit distutils-r1 + +DESCRIPTION="The ultimate disassembler library (X86-32, X86-64)" +HOMEPAGE="http://www.ragestorm.net/distorm/" + +MY_PN=distorm +MY_P=${MY_PN}-${PV} + +SRC_URI="https://github.com/gdabah/${MY_PN}/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +DEPEND="" +RDEPEND="" + +LICENSE="BSD-4" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" diff --git a/dev-libs/distorm64/metadata.xml b/dev-libs/distorm64/metadata.xml new file mode 100644 index 000000000000..a0f34a880428 --- /dev/null +++ b/dev-libs/distorm64/metadata.xml @@ -0,0 +1,21 @@ + + + + + patrick@gentoo.org + Patrick Lauer + Maintainer + + + ikelos@gentoo.org + Mike Auty + Maintainer + + + slyfox@gentoo.org + Sergei Trofimovich + + + gdabah/distorm + + diff --git a/dev-libs/dmalloc/Manifest b/dev-libs/dmalloc/Manifest new file mode 100644 index 000000000000..3db3d47c417c --- /dev/null +++ b/dev-libs/dmalloc/Manifest @@ -0,0 +1,11 @@ +AUX dmalloc-5.5.2-Makefile.in.patch 13855 SHA256 2f7c44a1f8e48b90c255a6d72748d629a30aebcdf7adfedc50f1067a65dfa7fc SHA512 6a8bc9fabafc22b390696df5573d94a71080215627a1c67e45b5b8805fb240165c0961bd9175d6f7b2e5914aecf9dd680de14f744b099a750699f1ca391d86d7 WHIRLPOOL e7f5ae37c2b55088aa1eb1affd660a55958e1fd260043f38750eca9a8045a5822b0eb3a83ead5ce554a478b885f8ac3bc1336926a6d72b34c341b9a3dcbfa63e +AUX dmalloc-5.5.2-ar.patch 390 SHA256 151f5402ac69f688b93c921c09218f2da14e9e012092efc73addddcf69b0c3d7 SHA512 79c1a2b4a0ffa43da2e3e49bb10ce0defe58a33f881bcb356ac72c386ad870903bb12c37ddb0e3fcd30ee60d74e8ddae69eb4f5eec1d080008cba3a1a40f9626 WHIRLPOOL d97c6df359c345a33b0d01a51e3b4eade62d39a901a70f86226e9ffe663b607dbb37c79beb7ac618fcf75d6e55e1b2a1553f33e7c05d9bb0124875a56d5a5ba3 +AUX dmalloc-5.5.2-cxx.patch 546 SHA256 f9aaa8905f4961667f19dcd429993ae2712004e1bc8413cd284f5edc76c7a13a SHA512 370ff73c4af16d7b4cb5e15a88f3cafcc16494df7df50c4494b1e34ed687f1385b774431cc94a9ba75ef96f2828f75501ee2d0addc9d3e34d4f718ac94ae5f6d WHIRLPOOL c04ae4f9896554422419b27f07408378d531a135120b18376f6f69bb3798d2c88753681ce6190f30c91c8f7b875502e53ece056dcbb3b83de03472690b7ccb5d +AUX dmalloc-5.5.2-string-macros.patch 367 SHA256 b249ff54dc11c22667d006b3f36bd757f07826641cbfb87efba9036c27e3b169 SHA512 61d0015e7997ecad97e722a1b308ec90e996e9d53b9f475c911f1d9eb929d8007881e52699e9f3427c5cecb9f0b2d202d12a7d607d23434913afbef455f08617 WHIRLPOOL adfe6df6d75a7667f6746fad8b62669c40da8fe4e35a5c089de45947e6663411d5ce6c77023774c4f01c8418d8e1f1796bbaff69165f18ffad934e6c1e704508 +AUX dmalloc-5.5.2-threads.patch 165 SHA256 07db111964d4ad6ffd6d05764ebfd887023128098fa0946be61292a0070c2237 SHA512 b561c715c19604128c046b36bfe09794922176ce1cd12947da277631a410bbc19c5a1f7e998f0b61d7564e3b7516bee0fb4deddb13e036bb9e667f3502e56d0e WHIRLPOOL 5499a29d7b7b0cb6711418d14db843c8a085d5779041633d480bdc8694340e52c9b0377bfd588aa808dda6b13e99b4da6e461b635a4a8eb29664db24470a2d76 +DIST dmalloc-5.5.2.tgz 666608 SHA256 d3be5c6eec24950cb3bd67dbfbcdf036f1278fae5fd78655ef8cdf9e911e428a SHA512 96bb94aeb2bc3220f652b5294bdf8592b984cb2a53e5f02b2b8d52450c3396d18651f334644cdfff9c85a8c0d0cedc7f6a18b9d70497b2c6b5f85dbd1e827b93 WHIRLPOOL 4427dfb595b82bf4b7a3edd6a0a61da54fd7b7abf84a238dee3cef6ab3e0b9a27a34c7219ae938155da9908762c217cca52e9ac6710543bb37ca8dcf72749a73 +EBUILD dmalloc-5.5.2-r4.ebuild 1772 SHA256 c4a5713697e29259d906209c8ca083824f0597b605cd4a3cbba6a2435878c6da SHA512 fd498387c1f74667570d46ffa7dfd8cbb59ef004054c9296b889cad0a273e5d76825ec6ee5cf087015f1f6ca95edf62c44c65739225da425778d85325e4a4ac6 WHIRLPOOL 3bfdccf804ba4f1fa4edb4059762e59d48c2a89b644f00dc2f3cc0a149562aab5af6ff1c27e59e376c78a676d8b7869008ead6bb2ebe5e7952cc2c4bdb6073bc +EBUILD dmalloc-5.5.2-r6.ebuild 1928 SHA256 2a02d3e4a5172cf095e1e855d83e8b4213352bc1f6637f4d9bba9583f284d6e2 SHA512 d9a5f066f82d21eae915fc33b2aa44edf559d4f2559e8ef7f46f882ed9f9cb75855f77196fa578248ed9456c0ae57771274c60899ff2a9f3947b428cbb4c9a70 WHIRLPOOL 7f22a84c509a7d0e9ca0bfe2b42bb2ce81a0df09b9125fa055487092e2b20d281a7a333da6926a8fcefc9f54e425aab7059ec81fde10c4d991cc0237062912f3 +MISC ChangeLog 2427 SHA256 fe2eebea90b5c22608cf25ad780a188c8f6d54d203d2354e8bebc1954eb9684b SHA512 73f33fddfe3996bddf367694ba278c71d058ed3e4f2199a0e88252345e18112902c9655bee0d5d9673e3eee98fdda3db3747a9fb1448e840c5edbbe04e4509ca WHIRLPOOL 9d35af4904d6e779914a526007398e0a1f83cbfc9d3512c2b8ffa10d61b3d8660f83a38a91fed0c19a437ab69a9887002cd97288af9cb743dff1efce9993b3b3 +MISC ChangeLog-2015 10492 SHA256 7062ddbd5c0901c306f892f45c3d9b210656689a1a9f88e9458f1426ec1d1579 SHA512 d407116ee3654fe01893529b9548db0859dc0f56f5b06422a60dadb9f63b0c656f6fcea000bf0b19fbb0fb8ffbdcf256d490eb6b684a04bebc1a1903b4920da0 WHIRLPOOL 78174b793ee7f44b9d52d9bbcdbcfe1c742e46b6bbab78c8d0c9a980f0148ec09da4146ce9f8607f020e52cf852d1716e6dc903853aeab22fab4b6ffc3088bef +MISC metadata.xml 244 SHA256 a65bfec176330796e1eeb3bb589b78ff60a123b947537decd4705ea71ca4e906 SHA512 1da71f4fae0251c97a8fcfa1e13b0a3f8b95a856fa919ebd30bf4f2f1b8fa900841db09ebc2a0ae9fe0d91f786ac40b63290382668412fcb05bca15b0746f1db WHIRLPOOL 1164de6a99d8931ca3ae60cbb397be80b802eb473943ef777dbe8473d8d665a5f93d8b99175709bf09d8af856b3ea7aaf7c95a87aad37e48b85c06e618431a1f diff --git a/dev-libs/dmalloc/dmalloc-5.5.2-r4.ebuild b/dev-libs/dmalloc/dmalloc-5.5.2-r4.ebuild new file mode 100644 index 000000000000..cfc84a7048d0 --- /dev/null +++ b/dev-libs/dmalloc/dmalloc-5.5.2-r4.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +inherit autotools eutils multilib + +DESCRIPTION="A Debug Malloc Library" +HOMEPAGE="http://dmalloc.com" +SRC_URI="http://dmalloc.com/releases/${P}.tgz" + +LICENSE="CC-BY-SA-3.0" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd" +IUSE="static-libs threads" + +DEPEND="sys-apps/texinfo" +RDEPEND="" + +DOCS=( NEWS README docs/NOTES docs/TODO ) + +src_prepare() { + # - Build objects twice, once -fPIC for shared. + # - Use DESTDIR. + # - Fix SONAME and NEEDED. + epatch "${FILESDIR}"/${P}-Makefile.in.patch + # - Broken test, always returns false. + epatch "${FILESDIR}"/${P}-cxx.patch + # - Add threads support. + use threads && epatch "${FILESDIR}"/${P}-threads.patch + # Respect CFLAGS/LDFLAGS. #337429 + sed -i Makefile.in \ + -e '/libdmalloc/ s:$(CC):& $(CFLAGS) $(LDFLAGS):g' \ + || die "sed Makefile.in" + # - Run autoconf for -cxx.patch. + eautoconf +} + +src_configure() { + econf --enable-cxx --enable-shlib $(use_enable threads) +} + +src_compile() { + default + + cd docs + makeinfo dmalloc.texi || die +} + +src_test() { + emake heavy +} + +src_install() { + default + + newdoc ChangeLog.1 ChangeLog + insinto /usr/share/doc/${PF} + doins docs/dmalloc.pdf + dohtml RELEASE.html docs/dmalloc.html + doinfo docs/dmalloc.info + + # add missing symlinks, lazy + dosym lib${PN}.so.${PV} /usr/$(get_libdir)/lib${PN}.so + dosym lib${PN}.so.${PV} /usr/$(get_libdir)/lib${PN}.so.${PV%%.*} + + for lib in cxx th thcxx; do + dosym lib${PN}${lib}.so.${PV} /usr/$(get_libdir)/lib${PN}${lib}.so + dosym lib${PN}${lib}.so.${PV} \ + /usr/$(get_libdir)/lib${PN}${lib}.so.${PV%%.*} + done + + if ! use static-libs; then + rm "${D}"/usr/$(get_libdir)/lib${PN}*.a || die + fi +} diff --git a/dev-libs/dmalloc/dmalloc-5.5.2-r6.ebuild b/dev-libs/dmalloc/dmalloc-5.5.2-r6.ebuild new file mode 100644 index 000000000000..36f7026dcf31 --- /dev/null +++ b/dev-libs/dmalloc/dmalloc-5.5.2-r6.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit autotools eutils multilib toolchain-funcs + +DESCRIPTION="A Debug Malloc Library" +HOMEPAGE="http://dmalloc.com" +SRC_URI="http://dmalloc.com/releases/${P}.tgz" + +LICENSE="CC-BY-SA-3.0" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd" +IUSE="static-libs threads" + +DEPEND="sys-apps/texinfo" +RDEPEND="" + +DOCS=( NEWS README docs/NOTES docs/TODO ) + +src_prepare() { + # - Build objects twice, once -fPIC for shared. + # - Use DESTDIR. + # - Fix SONAME and NEEDED. + epatch "${FILESDIR}"/${P}-Makefile.in.patch + + # - Broken test, always returns false. + epatch "${FILESDIR}"/${P}-cxx.patch + epatch "${FILESDIR}"/${P}-ar.patch + + # - Add threads support. + use threads && epatch "${FILESDIR}"/${P}-threads.patch + + # strdup() strndup() macros + epatch "${FILESDIR}"/${P}-string-macros.patch + + # Respect CFLAGS/LDFLAGS. #337429 + sed -i \ + -e '/libdmalloc/ s:$(CC):& $(CFLAGS) $(LDFLAGS):g' \ + -e 's|ar cr|$(AR) cr|g' \ + Makefile.in || die + + # Run autoconf for -cxx.patch. + eautoconf +} + +src_configure() { + tc-export AR + econf --enable-cxx --enable-shlib $(use_enable threads) +} + +src_compile() { + default + + cd docs + makeinfo dmalloc.texi || die +} + +src_test() { + emake heavy +} + +src_install() { + default + + newdoc ChangeLog.1 ChangeLog + insinto /usr/share/doc/${PF} + doins docs/dmalloc.pdf + dohtml RELEASE.html docs/dmalloc.html + doinfo docs/dmalloc.info + + # add missing symlinks, lazy + dosym lib${PN}.so.${PV} /usr/$(get_libdir)/lib${PN}.so + dosym lib${PN}.so.${PV} /usr/$(get_libdir)/lib${PN}.so.${PV%%.*} + + for lib in cxx th thcxx; do + dosym lib${PN}${lib}.so.${PV} /usr/$(get_libdir)/lib${PN}${lib}.so + dosym lib${PN}${lib}.so.${PV} \ + /usr/$(get_libdir)/lib${PN}${lib}.so.${PV%%.*} + done + + if ! use static-libs; then + rm "${D}"/usr/$(get_libdir)/lib${PN}*.a || die + fi +} diff --git a/dev-libs/dmalloc/files/dmalloc-5.5.2-Makefile.in.patch b/dev-libs/dmalloc/files/dmalloc-5.5.2-Makefile.in.patch new file mode 100644 index 000000000000..92b232eb58e9 --- /dev/null +++ b/dev-libs/dmalloc/files/dmalloc-5.5.2-Makefile.in.patch @@ -0,0 +1,343 @@ +--- a/Makefile.in ++++ b/Makefile.in +@@ -41,7 +41,7 @@ + + # thread version of the library + LIB_TH = lib$(MODULE)th.a +-LIB_TH_SL = lib$(MODULE)th.@shlibext@ ++LIB_TH_SL = lib$(MODULE)th.@shlibext@.5.5.2 + @TH_ON@BUILD_ALL_1 = threads + @TH_ON@INSTALL_LIB_1 = installth + @SL_ON@BUILD_THREADS_1 = $(LIB_TH_SL) +@@ -50,8 +50,8 @@ + @TH_ON@@SL_ON@INSTALL_LIB_2 = installthsl + + # C++ version of the library +-LIB_CXX = lib$(MODULE)xx.a +-LIB_CXX_SL = lib$(MODULE)xx.@shlibext@ ++LIB_CXX = lib$(MODULE)cxx.a ++LIB_CXX_SL = lib$(MODULE)cxx.@shlibext@.5.5.2 + @CXX_ON@BUILD_ALL_3 = $(LIB_CXX) + @CXX_ON@INSTALL_LIB_3 = installcxx + @SL_ON@BUILD_CXX_3 = $(LIB_CXX_SL) +@@ -61,7 +61,7 @@ + + # threads + C++ + LIB_TH_CXX = lib$(MODULE)thcxx.a +-LIB_TH_CXX_SL = lib$(MODULE)thcxx.@shlibext@ ++LIB_TH_CXX_SL = lib$(MODULE)thcxx.@shlibext@.5.5.2 + @TH_ON@@CXX_ON@BUILD_ALL_5 = $(LIB_TH_CXX) + @TH_ON@@CXX_ON@INSTALL_LIB_5 = installthcxx + @TH_ON@BUILD_CXX_5 = $(LIB_TH_CXX) +@@ -76,7 +76,7 @@ + @CXX_ON@@SL_ON@INSTALL_THREADS_6 = installthcxxsl + + # shared versions of the libraries +-LIB_SL = lib$(MODULE).@shlibext@ ++LIB_SL = lib$(MODULE).@shlibext@.5.5.2 + @SL_ON@BUILD_ALL_7 = $(LIB_SL) + @SL_ON@INSTALL_LIB_7 = installsl + @SL_ON@BUILD_TH_CXX_7 = $(LIB_TH_CXX_SL) +@@ -145,9 +145,13 @@ + + HFLS = dmalloc.h + OBJS = arg_check.o compat.o dmalloc_rand.o dmalloc_tab.o env.o heap.o ++OBJS_SL = arg_check_sl.o compat_sl.o dmalloc_rand_sl.o dmalloc_tab_sl.o env_sl.o heap_sl.o + NORMAL_OBJS = chunk.o error.o malloc.o ++NORMAL_OBJS_SL = chunk_sl.o error_sl.o malloc_sl.o + THREAD_OBJS = chunk_th.o error_th.o malloc_th.o ++THREAD_OBJS_SL = chunk_th_sl.o error_th_sl.o malloc_th_sl.o + CXX_OBJS = dmallocc.o ++CXX_OBJS_SL = dmallocc_sl.o + + CFLAGS = $(CCFLAGS) + TEST = $(MODULE)_t +@@ -160,9 +164,9 @@ + + clean : + rm -f $(A_OUT) core *.o *.t +- rm -f $(LIBRARY) $(LIB_TH) $(LIB_CXX) $(LIB_TH_CXX) $(TEST) $(TEST_FC) +- rm -f $(LIB_TH_SL) $(LIB_CXX_SL) $(LIB_TH_CXX_SL) $(LIB_SL) ++ rm -f $(TEST) $(TEST_FC) + rm -f $(UTIL) dmalloc.h ++ rm -f lib$(MODULE)*.* + + realclean : clean + +@@ -174,65 +178,65 @@ + # rm -f configure + + installdirs : +- $(srcdir)/mkinstalldirs $(includedir) $(libdir) $(bindir) ++ $(srcdir)/mkinstalldirs $(DESTDIR)$(includedir) $(DESTDIR)$(libdir) $(DESTDIR)$(bindir) + + installincs : $(HFLS) +- $(srcdir)/mkinstalldirs $(includedir) +- $(INSTALL_DATA) $(HFLS) $(includedir) ++ $(srcdir)/mkinstalldirs $(DESTDIR)$(includedir) ++ $(INSTALL_DATA) $(HFLS) $(DESTDIR)$(includedir) + + installthsl : $(LIB_TH_SL) +- $(srcdir)/mkinstalldirs $(libdir) +- $(INSTALL_PROGRAM) $(LIB_TH_SL) $(libdir) ++ $(srcdir)/mkinstalldirs $(DESTDIR)$(shlibdir) ++ $(INSTALL) $(LIB_TH_SL) $(DESTDIR)$(shlibdir) + + installth : $(INSTALL_THREADS) +- $(srcdir)/mkinstalldirs $(libdir) +- $(INSTALL_PROGRAM) $(LIB_TH) $(libdir) ++ $(srcdir)/mkinstalldirs $(DESTDIR)$(libdir) ++ $(INSTALL) $(LIB_TH) $(DESTDIR)$(libdir) + @CXX_OFF@ @echo "Enter 'make installthcxx' to install the threaded C++ library" + @SL_OFF@ @echo "Enter 'make installthsl' to install the threaded shared-library" + + installthcxxsl : $(LIB_TH_CXX_SL) +- $(srcdir)/mkinstalldirs $(shlibdir) +- $(INSTALL_PROGRAM) $(LIB_TH_CXX_SL) $(shlibdir) ++ $(srcdir)/mkinstalldirs $(DESTDIR)$(shlibdir) ++ $(INSTALL) $(LIB_TH_CXX_SL) $(DESTDIR)$(libdir) + + installthcxx : $(INSTALL_TH_CXX) +- $(srcdir)/mkinstalldirs $(libdir) +- $(INSTALL_PROGRAM) $(LIB_TH_CXX) $(libdir) ++ $(srcdir)/mkinstalldirs $(DESTDIR)$(libdir) ++ $(INSTALL) $(LIB_TH_CXX) $(DESTDIR)$(libdir) + @SL_OFF@ @echo "Enter 'make installthcxxsl' to install the threaded C++ shared-library" + + installcxxsl : $(LIB_CXX_SL) +- $(srcdir)/mkinstalldirs $(libdir) +- $(INSTALL_PROGRAM) $(LIB_CXX_SL) $(libdir) ++ $(srcdir)/mkinstalldirs $(DESTDIR)$(shlibdir) ++ $(INSTALL) $(LIB_CXX_SL) $(DESTDIR)$(shlibdir) + + installcxx : $(INSTALL_CXX) +- $(srcdir)/mkinstalldirs $(libdir) +- $(INSTALL_PROGRAM) $(LIB_CXX) $(libdir) ++ $(srcdir)/mkinstalldirs $(DESTDIR)$(libdir) ++ $(INSTALL) $(LIB_CXX) $(DESTDIR)$(libdir) + @TH_OFF@ @echo "Enter 'make installthcxx' to install the threaded C++ library" + @SL_OFF@ @echo "Enter 'make installcxxsl' to install the C++ shared-library" + + installsl : $(LIB_SL) +- $(srcdir)/mkinstalldirs $(shlibdir) +- $(INSTALL_PROGRAM) $(LIB_SL) $(shlibdir) ++ $(srcdir)/mkinstalldirs $(DESTDIR)$(shlibdir) ++ $(INSTALL) $(LIB_SL) $(DESTDIR)$(shlibdir) + @CXX_OFF@ @echo "Enter 'make installcxxsl' to install the C++ shared-library" + @TH_OFF@ @echo "Enter 'make installthsl' to install thread shared-library" + + installlib : $(INSTALL_LIB) +- $(srcdir)/mkinstalldirs $(libdir) +- $(INSTALL_PROGRAM) $(LIBRARY) $(libdir) +- @RANLIB@ $(libdir)/$(LIBRARY) ++ $(srcdir)/mkinstalldirs $(DESTDIR)$(libdir) ++ $(INSTALL) $(LIBRARY) $(DESTDIR)$(libdir) ++ @RANLIB@ $(DESTDIR)$(libdir)/$(LIBRARY) + @SL_OFF@ @echo "Enter 'make installsl' to install $(LIB_SL) in $(shlibdir)" + @CXX_OFF@ @echo "Enter 'make installcxx' to install the C++ library" + @TH_OFF@ @echo "Enter 'make installth' to install thread library" + + installdocs : $(srcdir)/docs/$(HTMLFILE) $(srcdir)/docs/$(TEXIFILE) \ + $(srcdir)/docs/$(PDFFILE) +- $(srcdir)/mkinstalldirs $(docdir) +- $(INSTALL_DATA) $(srcdir)/docs/$(HTMLFILE) $(docdir) +- $(INSTALL_DATA) $(srcdir)/docs/$(TEXIFILE) $(docdir) +- $(INSTALL_DATA) $(srcdir)/docs/$(PDFFILE) $(docdir) ++ $(srcdir)/mkinstalldirs $(DESTDIR)$(docdir) ++ $(INSTALL_DATA) $(srcdir)/docs/$(HTMLFILE) $(DESTDIR)$(docdir) ++ $(INSTALL_DATA) $(srcdir)/docs/$(TEXIFILE) $(DESTDIR)$(docdir) ++ $(INSTALL_DATA) $(srcdir)/docs/$(PDFFILE) $(DESTDIR)$(docdir) + + install : installincs installlib $(UTIL) +- $(srcdir)/mkinstalldirs $(bindir) +- $(INSTALL_PROGRAM) $(UTIL) $(bindir) ++ $(srcdir)/mkinstalldirs $(DESTDIR)$(bindir) ++ $(INSTALL_PROGRAM) $(UTIL) $(DESTDIR)$(bindir) + @echo "Enter 'make installdocs' to install $(DOCFILES) in $(docdir)" + + dmalloc.h.2 : $(srcdir)/configure +@@ -255,10 +259,8 @@ + # NOTE: you may have to edit the configure.ac script to get this to + # work on your operating system. Please send feedback to the author + # via: http://256.com/gray/email.html +-$(LIB_SL) : $(LIBRARY) +- rm -f $@ $@.t +- @shlinkargs@ $(LIBRARY) $(OBJS) $(NORMAL_OBJS) +- mv $@.t $@ ++$(LIB_SL) : $(OBJS_SL) $(NORMAL_OBJS_SL) ++ $(CC) -shared -Wl,-soname,libdmalloc.so.5 -o $@ $(OBJS_SL) $(NORMAL_OBJS_SL) + + $(LIBRARY) : $(OBJS) $(NORMAL_OBJS) + ar cr $@ $? +@@ -268,32 +270,26 @@ + ar cr $@ $? + @RANLIB@ $@ + +-$(LIB_TH_SL) : $(LIB_TH) +- rm -f $@ $@.t +- @shlinkargs@ $(LIB_TH) $(OBJS) $(THREAD_OBJS) +- mv $@.t $@ ++$(LIB_TH_SL) : $(OBJS_SL) $(THREAD_OBJS_SL) ++ $(CC) -shared -Wl,-soname,libdmallocth.so.5 -o $@ $(OBJS_SL) $(THREAD_OBJS_SL) + + $(LIB_CXX) : $(OBJS) $(NORMAL_OBJS) $(CXX_OBJS) + ar cr $@ $? + @RANLIB@ $@ + +-$(LIB_CXX_SL) : $(LIB_CXX) +- rm -f $@ $@.t +- @shlinkargs@ $(LIB_CXX) $(OBJS) $(NORMAL_OBJS) $(CXX_OBJS) +- mv $@.t $@ ++$(LIB_CXX_SL) : $(OBJS_SL) $(NORMAL_OBJS_SL) $(CXX_OBJS_SL) ++ $(CC) -shared -Wl,-soname,libdmalloccxx.so.5 -o $@ $(OBJS_SL) $(NORMAL_OBJS_SL) $(CXX_OBJS_SL) + + $(LIB_TH_CXX) : $(OBJS) $(THREAD_OBJS) $(CXX_OBJS) + ar cr $@ $? + @RANLIB@ $@ + +-$(LIB_TH_CXX_SL) : $(LIB_TH_CXX) +- rm -f $@ $@.t +- @shlinkargs@ $(LIB_TH_CXX) $(OBJS) $(THREAD_OBJS) $(CXX_OBJS) +- mv $@.t $@ ++$(LIB_TH_CXX_SL) : $(OBJS_SL) $(THREAD_OBJS_SL) $(CXX_OBJS_SL) ++ $(CC) -shared -Wl,-soname,libdmallocthcxx.so.5 -o $@ $(OBJS_SL) $(THREAD_OBJS_SL) $(CXX_OBJS_SL) + +-threadssl : $(LIB_TH_SL) ++threadssl : $(LIB_TH_SL)$(ver) + +-threadscxxsl : $(LIB_TH_CXX_SL) ++threadscxxsl : $(LIB_TH_CXX_SL)$(ver) + + threadscxx : $(BUILD_TH_CXX) + @SL_OFF@ @echo "Enter 'make threadscxxsl' to build the threaded C++ shared-library" +@@ -302,7 +298,7 @@ + @CXX_OFF@ @echo "Enter 'make threadscxx' to build the threaded C++ library" + @SL_OFF@ @echo "Enter 'make threadssl' to build the threaded shared library" + +-cxxsl : $(LIB_CXX_SL) ++cxxsl : $(LIB_CXX_SL)$(ver) + + cxx : $(BUILD_CXX) + @SL_OFF@ @echo "Enter 'make cxxsl' to build the cxx shared library" +@@ -371,6 +367,11 @@ + $(CXX) $(CFLAGS) $(CPPFLAGS) $(DEFS) $(INCS) -c $(srcdir)/dmallocc.cc \ + -o ./$@ + ++dmallocc_sl.o : $(srcdir)/dmallocc.cc ++ rm -f $@ ++ $(CXX) $(CFLAGS) -fPIC $(CPPFLAGS) $(DEFS) $(INCS) -c $(srcdir)/dmallocc.cc \ ++ -o ./$@ ++ + # + # auto configure settings - uncomment if you are doing configure + # development on the library +@@ -395,38 +396,109 @@ + + arg_check.o: arg_check.c conf.h settings.h dmalloc.h chunk.h debug_tok.h \ + dmalloc_loc.h error.h arg_check.h ++arg_check_sl.o: arg_check.c conf.h settings.h dmalloc.h chunk.h debug_tok.h \ ++ dmalloc_loc.h error.h arg_check.h ++ rm -f $@ ++ $(CC) $(CFLAGS) -fPIC $(CPPFLAGS) $(DEFS) $(INCS) -c $< -o ./$@ + chunk.o: chunk.c conf.h settings.h dmalloc.h chunk.h chunk_loc.h \ + dmalloc_loc.h compat.h debug_tok.h dmalloc_rand.h dmalloc_tab.h error.h \ + error_val.h heap.h ++chunk_sl.o: chunk.c conf.h settings.h dmalloc.h chunk.h chunk_loc.h \ ++ dmalloc_loc.h compat.h debug_tok.h dmalloc_rand.h dmalloc_tab.h error.h \ ++ error_val.h heap.h ++ rm -f $@ ++ $(CC) $(CFLAGS) -fPIC $(CPPFLAGS) $(DEFS) $(INCS) -c $< -o ./$@ + compat.o: compat.c conf.h settings.h dmalloc.h compat.h dmalloc_loc.h ++compat_sl.o: compat.c conf.h settings.h dmalloc.h compat.h dmalloc_loc.h ++ rm -f $@ ++ $(CC) $(CFLAGS) -fPIC $(CPPFLAGS) $(DEFS) $(INCS) -c $< -o ./$@ + dmalloc.o: dmalloc.c conf.h settings.h dmalloc_argv.h dmalloc.h compat.h \ + debug_tok.h dmalloc_loc.h env.h error_val.h version.h ++dmalloc_sl.o: dmalloc.c conf.h settings.h dmalloc_argv.h dmalloc.h compat.h \ ++ debug_tok.h dmalloc_loc.h env.h error_val.h version.h ++ rm -f $@ ++ $(CC) $(CFLAGS) -fPIC $(CPPFLAGS) $(DEFS) $(INCS) -c $< -o ./$@ + dmalloc_argv.o: dmalloc_argv.c conf.h settings.h dmalloc_argv.h \ + dmalloc_argv_loc.h compat.h ++dmalloc_argv_sl.o: dmalloc_argv.c conf.h settings.h dmalloc_argv.h \ ++ dmalloc_argv_loc.h compat.h ++ rm -f $@ ++ $(CC) $(CFLAGS) -fPIC $(CPPFLAGS) $(DEFS) $(INCS) -c $< -o ./$@ + dmalloc_fc_t.o: dmalloc_fc_t.c conf.h settings.h dmalloc.h dmalloc_argv.h \ + dmalloc_rand.h debug_tok.h dmalloc_loc.h error_val.h ++dmalloc_fc_t_sl.o: dmalloc_fc_t.c conf.h settings.h dmalloc.h dmalloc_argv.h \ ++ dmalloc_rand.h debug_tok.h dmalloc_loc.h error_val.h ++ rm -f $@ ++ $(CC) $(CFLAGS) -fPIC $(CPPFLAGS) $(DEFS) $(INCS) -c $< -o ./$@ + dmalloc_rand.o: dmalloc_rand.c dmalloc_rand.h ++dmalloc_rand_sl.o: dmalloc_rand.c dmalloc_rand.h ++ rm -f $@ ++ $(CC) $(CFLAGS) -fPIC $(CPPFLAGS) $(DEFS) $(INCS) -c $< -o ./$@ + dmalloc_t.o: dmalloc_t.c conf.h settings.h compat.h dmalloc.h \ + dmalloc_argv.h dmalloc_rand.h arg_check.h debug_tok.h dmalloc_loc.h \ + error_val.h heap.h ++dmalloc_t_sl.o: dmalloc_t.c conf.h settings.h compat.h dmalloc.h \ ++ dmalloc_argv.h dmalloc_rand.h arg_check.h debug_tok.h dmalloc_loc.h \ ++ error_val.h heap.h ++ rm -f $@ ++ $(CC) $(CFLAGS) -fPIC $(CPPFLAGS) $(DEFS) $(INCS) -c $< -o ./$@ + dmalloc_tab.o: dmalloc_tab.c conf.h settings.h chunk.h compat.h dmalloc.h \ + dmalloc_loc.h error.h error_val.h dmalloc_tab.h dmalloc_tab_loc.h ++dmalloc_tab_sl.o: dmalloc_tab.c conf.h settings.h chunk.h compat.h dmalloc.h \ ++ dmalloc_loc.h error.h error_val.h dmalloc_tab.h dmalloc_tab_loc.h ++ rm -f $@ ++ $(CC) $(CFLAGS) -fPIC $(CPPFLAGS) $(DEFS) $(INCS) -c $< -o ./$@ + env.o: env.c conf.h settings.h dmalloc.h compat.h dmalloc_loc.h \ + debug_tok.h env.h error.h ++env_sl.o: env.c conf.h settings.h dmalloc.h compat.h dmalloc_loc.h \ ++ debug_tok.h env.h error.h ++ rm -f $@ ++ $(CC) $(CFLAGS) -fPIC $(CPPFLAGS) $(DEFS) $(INCS) -c $< -o ./$@ + error.o: error.c conf.h settings.h dmalloc.h chunk.h compat.h debug_tok.h \ + dmalloc_loc.h env.h error.h error_val.h version.h ++error_sl.o: error.c conf.h settings.h dmalloc.h chunk.h compat.h debug_tok.h \ ++ dmalloc_loc.h env.h error.h error_val.h version.h ++ rm -f $@ ++ $(CC) $(CFLAGS) -fPIC $(CPPFLAGS) $(DEFS) $(INCS) -c $< -o ./$@ + heap.o: heap.c conf.h settings.h dmalloc.h chunk.h compat.h debug_tok.h \ + dmalloc_loc.h error.h error_val.h heap.h ++heap_sl.o: heap.c conf.h settings.h dmalloc.h chunk.h compat.h debug_tok.h \ ++ dmalloc_loc.h error.h error_val.h heap.h ++ rm -f $@ ++ $(CC) $(CFLAGS) -fPIC $(CPPFLAGS) $(DEFS) $(INCS) -c $< -o ./$@ + malloc.o: malloc.c conf.h settings.h dmalloc.h chunk.h compat.h \ + debug_tok.h dmalloc_loc.h env.h error.h error_val.h heap.h \ + malloc_funcs.h return.h ++malloc_sl.o: malloc.c conf.h settings.h dmalloc.h chunk.h compat.h \ ++ debug_tok.h dmalloc_loc.h env.h error.h error_val.h heap.h \ ++ malloc_funcs.h return.h ++ rm -f $@ ++ $(CC) $(CFLAGS) -fPIC $(CPPFLAGS) $(DEFS) $(INCS) -c $< -o ./$@ + protect.o: protect.c conf.h settings.h dmalloc.h dmalloc_loc.h error.h \ + heap.h protect.h ++protect_sl.o: protect.c conf.h settings.h dmalloc.h dmalloc_loc.h error.h \ ++ heap.h protect.h ++ rm -f $@ ++ $(CC) $(CFLAGS) -fPIC $(CPPFLAGS) $(DEFS) $(INCS) -c $< -o ./$@ + chunk_th.o: chunk.c conf.h settings.h dmalloc.h chunk.h chunk_loc.h \ + dmalloc_loc.h compat.h debug_tok.h dmalloc_rand.h dmalloc_tab.h error.h \ + error_val.h heap.h ++chunk_th_sl.o: chunk.c conf.h settings.h dmalloc.h chunk.h chunk_loc.h \ ++ dmalloc_loc.h compat.h debug_tok.h dmalloc_rand.h dmalloc_tab.h error.h \ ++ error_val.h heap.h ++ rm -f $@ ++ $(CC) $(CFLAGS) -fPIC $(CPPFLAGS) $(DEFS) $(INCS) -c $< -o ./$@ + error_th.o: error.c conf.h settings.h dmalloc.h chunk.h compat.h debug_tok.h \ + dmalloc_loc.h env.h error.h error_val.h version.h ++error_th_sl.o: error.c conf.h settings.h dmalloc.h chunk.h compat.h debug_tok.h \ ++ dmalloc_loc.h env.h error.h error_val.h version.h ++ rm -f $@ ++ $(CC) $(CFLAGS) -fPIC $(CPPFLAGS) $(DEFS) $(INCS) -c $< -o ./$@ + malloc_th.o: malloc.c conf.h settings.h dmalloc.h chunk.h compat.h \ + debug_tok.h dmalloc_loc.h env.h error.h error_val.h heap.h \ + malloc_funcs.h return.h ++malloc_th_sl.o: malloc.c conf.h settings.h dmalloc.h chunk.h compat.h \ ++ debug_tok.h dmalloc_loc.h env.h error.h error_val.h heap.h \ ++ malloc_funcs.h return.h ++ rm -f $@ ++ $(CC) $(CFLAGS) -fPIC $(CPPFLAGS) $(DEFS) $(INCS) -c $< -o ./$@ diff --git a/dev-libs/dmalloc/files/dmalloc-5.5.2-ar.patch b/dev-libs/dmalloc/files/dmalloc-5.5.2-ar.patch new file mode 100644 index 000000000000..56be2fa3ef4e --- /dev/null +++ b/dev-libs/dmalloc/files/dmalloc-5.5.2-ar.patch @@ -0,0 +1,11 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -131,7 +132,7 @@ + AC_MSG_CHECKING([shared library link args]) + AC_COMPILE_IFELSE([ int foo(int val) { return val + 1; } ],[ + # so now we try to create an archive from the compiled .o file +- (ar cr conftest.a conftest.o) 2>&5 ++ ($AR cr conftest.a conftest.o) 2>&5 + # see which shared-library ld commands work + # + # Darwin/Mac OS X - Terry Teague diff --git a/dev-libs/dmalloc/files/dmalloc-5.5.2-cxx.patch b/dev-libs/dmalloc/files/dmalloc-5.5.2-cxx.patch new file mode 100644 index 000000000000..0fa01e105c53 --- /dev/null +++ b/dev-libs/dmalloc/files/dmalloc-5.5.2-cxx.patch @@ -0,0 +1,19 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -55,11 +55,12 @@ + AC_PROG_CC + AC_PROG_CXX + ++# fixme. always returns false. + # see if we actually have a CXX program +-if test "$ac_cv_prog_CXX" = "" -o ! -x "$ac_cv_prog_CXX"; then +- AC_MSG_WARN(could not find C++ compiler $ac_cv_prog_CXX) +- enable_cxx=no +-fi ++#if test "$ac_cv_prog_CXX" = "" -o ! -x "$ac_cv_prog_CXX"; then ++# AC_MSG_WARN(could not find C++ compiler $ac_cv_prog_CXX) ++# enable_cxx=no ++#fi + + # hopefully we have a stdc c-compiler + if test "$ac_cv_prog_cc_stdc" = "no" ; then diff --git a/dev-libs/dmalloc/files/dmalloc-5.5.2-string-macros.patch b/dev-libs/dmalloc/files/dmalloc-5.5.2-string-macros.patch new file mode 100644 index 000000000000..e3d4eb78fe52 --- /dev/null +++ b/dev-libs/dmalloc/files/dmalloc-5.5.2-string-macros.patch @@ -0,0 +1,18 @@ +--- a/dmalloc.h.3 ++++ b/dmalloc.h.3 +@@ -405,6 +405,7 @@ + * + * string -> String we are duplicating. + */ ++#undef strdup + extern + char *strdup(const char *string); + #endif /* ifndef DMALLOC_STRDUP_MACRO */ +@@ -429,6 +430,7 @@ + * + * len -> Length of the string to duplicate. + */ ++#undef strndup + extern + char *strndup(const char *string, const DMALLOC_SIZE len); + diff --git a/dev-libs/dmalloc/files/dmalloc-5.5.2-threads.patch b/dev-libs/dmalloc/files/dmalloc-5.5.2-threads.patch new file mode 100644 index 000000000000..c3cbd90aa9f5 --- /dev/null +++ b/dev-libs/dmalloc/files/dmalloc-5.5.2-threads.patch @@ -0,0 +1,11 @@ +--- a/settings.dist ++++ b/settings.dist +@@ -409,7 +409,7 @@ + */ + + #ifndef LOCK_THREADS +-#define LOCK_THREADS 0 ++#define LOCK_THREADS 1 + #endif + + #if LOCK_THREADS diff --git a/dev-libs/dmalloc/metadata.xml b/dev-libs/dmalloc/metadata.xml new file mode 100644 index 000000000000..f8bd6f3f34f9 --- /dev/null +++ b/dev-libs/dmalloc/metadata.xml @@ -0,0 +1,8 @@ + + + + + jer@gentoo.org + Jeroen Roovers + + diff --git a/dev-libs/dotconf/Manifest b/dev-libs/dotconf/Manifest new file mode 100644 index 000000000000..7f5183355628 --- /dev/null +++ b/dev-libs/dotconf/Manifest @@ -0,0 +1,5 @@ +DIST dotconf-1.3.tar.gz 333301 SHA256 b0bccd7251df50b68b82888c5f9fa7932bd68ee3b9e880bce9456e692bf13e8e SHA512 ced0e66f70d11a309e77add1bfac1da8e85dcbe193633bd4bd1ae4bfd043b66880406e93ec18327b8c5d3de8d4bfc5278db6e5cb39b030ee1dabfa1ce267a98e WHIRLPOOL 431a55f3efd786d448597c8cdb0498092420050cf51c4ea278b02505645807fca7951c85710f51c7b5ccbbe9e891fde318a143499e3b74eef2864da7b4490475 +EBUILD dotconf-1.3.ebuild 650 SHA256 ebc683aab5f99fb448b1b602fe12926eacad31d586d889500175dc50c2483bdf SHA512 81c1595f0382bbd0f90648b02fd030c9aeacfd1b146786f0f3fa3aefa5901114311ada7de8f692dd696021d77095acc58108de6788254dfe44f08c48efc819b2 WHIRLPOOL ac5e908b14e3bc5aa06a28d0f44512123962b3768ad1a672a3977d0f73e1ab4ec050d430c6a8e57aa7a559acfb57052cb20b891d122ca883d428f9039cba76e8 +MISC ChangeLog 3841 SHA256 3a92e7f9b69f46523a27e16c0cb3a0d930863f5913929470b636b7d8f789d599 SHA512 1b947405ee6b8e0d13e0961e8a445e057713e88e0399e269f03b7af6b8b048faeb8275ca914bb75887e708eff0c80c3ea1aa60cee3a6afbd471609f7f98e8b6f WHIRLPOOL 92185c9c3f7c3f4ee685b539fd1d6c01eaf64a5bcc106ce2dd057d5da5f39fa48653846e821ba16b5a8322f619f6e39979bc0767160242c85899240b006ae4aa +MISC ChangeLog-2015 3046 SHA256 0fd5ef488ddedada679d41a00f82f9822f887637d480dd045c8aab429d9ee895 SHA512 9822cf839984ebb2dd05e71f1b17e2dcab602b24ffe56e8fd93d427fe2e339ff3945c828601d2f1d6a7de5d7ed35e144107b81440b0703fcc1f652c16d01ab09 WHIRLPOOL c688c8fb505de8bc1e9d9bcc0f2dc7b39228d6d88fbcc1d20ef2372754382214a74050a13ec1d4529e56067597e29e160b82aa242db3c29f3a4a66490b3fc44f +MISC metadata.xml 444 SHA256 6a1d2e4b1885ffb406badfad30b1c90f1cf6aa9921e8d73cc9337a3a7277fcb1 SHA512 cf7e9367f5c1184b089375d0922a60e01bf985b215c59b2272dae535c948d5d1044de614013cd38978a28a59b28d86cc6d60085d5c39f59ea6b714309c8fba86 WHIRLPOOL d2cf7bb32b5b6989cc435f5f57402396b92342e11652f3477906eb80b89847c9a851c35cd16ee0e71005e7f6c46ff6b7c5272865e684d1795847005bb789424d diff --git a/dev-libs/dotconf/dotconf-1.3.ebuild b/dev-libs/dotconf/dotconf-1.3.ebuild new file mode 100644 index 000000000000..d425ce627c05 --- /dev/null +++ b/dev-libs/dotconf/dotconf-1.3.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="3" + +inherit eutils + +DESCRIPTION="dot.conf configuration file parser" +HOMEPAGE="https://github.com/williamh/dotconf" +SRC_URI="mirror://gentoo/${P}.tar.gz" +LICENSE="LGPL-2.1" + +SLOT="0" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux" +IUSE="" +DEPEND=">=sys-devel/autoconf-2.58" +RDEPEND="" + +src_compile() { + emake CC=$(tc-getCC) || die +} + +src_install() { + emake DESTDIR="${D}" install || die +} + +pkg_postinst() { + ewarn 'This version requires that you run revdep-rebuild after' + ewarn 'the upgrade.' +} diff --git a/dev-libs/dotconf/metadata.xml b/dev-libs/dotconf/metadata.xml new file mode 100644 index 000000000000..681f451b51b2 --- /dev/null +++ b/dev-libs/dotconf/metadata.xml @@ -0,0 +1,14 @@ + + + + + williamh@gentoo.org + + + accessibility@gentoo.org + Gentoo Accessibility Project + + + williamh/dotconf + + diff --git a/dev-libs/double-conversion/Manifest b/dev-libs/double-conversion/Manifest new file mode 100644 index 000000000000..aae03e828c28 --- /dev/null +++ b/dev-libs/double-conversion/Manifest @@ -0,0 +1,6 @@ +AUX double-conversion-2.0.1-scons.patch 350 SHA256 c5d287adb6adf4d3b6fa811d78e5a62d452378bbfe0626d1ed438291dbc0d595 SHA512 d0f89b18e870f384c729faa993eb72cdd449fe293c2a9a3885dcba0e93884d4e9fc2fad38828798e9ff999f1519f31f9569ae1de1deeae0dff740df7ac16b6f7 WHIRLPOOL 0d53569668fc0f680095ccaed34a7ab3c322ca8f746089b5a708951417666ecfc744b8027f89d36a9c9de9833a6281e760f457103d2c0b3ddb8109ffdce42358 +DIST double-conversion-2.0.1.tar.gz 7014148 SHA256 ca9ec6974eaaa29827b916c90666fba3b0b6641030fe2ab34a81e280187acdef SHA512 a4773dc95e9267d8426dda976586aa1ba968ead28b118caae9b1b7c123d1eea4aba5b588fde9a109a99a068a79a3a2426f12d6caadea8c548d4250e56eff33a4 WHIRLPOOL d17e55f54e1f3beb07e2657959c2f9e751a2732105b5a228d6b96ef5d69f2ab5722fe196ea9f2a9af1567f0d90bd6daad3c1fc30ac93ba66b4fc4879adb9aae7 +EBUILD double-conversion-2.0.1.ebuild 1047 SHA256 a764385be4826b2e4b02b7a9cc1c4422df8260893a94f38afe11e65906ede5c8 SHA512 99815743ba483bf99a53ecf1999c3ddd1efd3c0c10b67e3b891c610f9d9a4239e44082dd8bde564199e1b041c802d00d38cf0f15a4e250f245445a5df31abbbb WHIRLPOOL 0c48ac5d3aa93627b2b14eca54ebe4854d30b492720b0ae21e994eadf68bcf561b6f98e4b5dad520f563d34dac8e3f16d99cb1bb0ba251ee90d7d6b6214c8365 +MISC ChangeLog 3825 SHA256 bd32cf1a0ad83c61be9e52f8847717da4bd889d6fefe566ae2b1e95e57cb1630 SHA512 a6a9c80c821b8c8dfc317262b0fd65e663ca86120b32978fb9ad45d847043d01d77ab0ab154a13e7e2a9bd8c1a6f252fbbbb231d6cb49baddaee821d04a14ee3 WHIRLPOOL 193513b8a38ab00f3a6750920fc6ed51fc3806a9a0e93753ea95a90063cc38abea66e95c30e4617840e3e35f6b0be59f80e33f240bf828c7be38a2f6bc68d9ff +MISC ChangeLog-2015 877 SHA256 196deba8ac46b2a485b74fe1d5851c43a07f59be7119f157c93f26d92d908940 SHA512 4f2833545d185c964af0df602bfb8a3110489f9de7b76c514fd28ce8a71aedd03638e39d0772813f77c57e832ebf9c88415d64a47ad3dedf9668667489094b68 WHIRLPOOL a47cdd3e1507375a0e498fe7b4863e09c4869079fe0ac4eab21c1c55707f8abd89feb2f2f99142a8f6849dbc486591b1a8d68cc7f4922cdd7da089b9f0f2cb93 +MISC metadata.xml 616 SHA256 d1a2404e897381214e77cc015d98684d169033d22c197db29b3f479344339eee SHA512 2db23d04b37aa16bb289fad25de09b25fe33a9003c4471ad5f55d24bd34d9f6239f03cc74d5141f250ebe7cf52c02a13d27e0be02a3ecfab1e7cc450ac80d548 WHIRLPOOL ef913a979e073b0aa39e25694ef13288e3eac2ebec335c5542caf46069b8ce97569c839a5855cce6ab65ef7aeef5dd1c2882c7eeab56ae15bc63d91556e7a347 diff --git a/dev-libs/double-conversion/double-conversion-2.0.1.ebuild b/dev-libs/double-conversion/double-conversion-2.0.1.ebuild new file mode 100644 index 000000000000..e1941ba0e84f --- /dev/null +++ b/dev-libs/double-conversion/double-conversion-2.0.1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit scons-utils eutils toolchain-funcs + +DESCRIPTION="Binary-decimal and decimal-binary conversion routines for IEEE doubles" +HOMEPAGE="https://github.com/google/double-conversion" +SRC_URI="https://github.com/google/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/1" +KEYWORDS="amd64 arm ~arm64 hppa ~mips ppc ppc64 x86 ~amd64-linux ~x86-linux" +IUSE="static-libs" + +LIBNAME=lib${PN} + +src_prepare() { + epatch "${FILESDIR}"/${P}-scons.patch +} + +src_compile() { + sed -i -e "s/g++/$(tc-getCXX)/" SConstruct || die + escons ${LIBNAME}.so.1 + use static-libs && escons ${LIBNAME}.a +} + +src_test() { + escons run_tests + export LD_LIBRARY_PATH=".:${LD_LIBRARY_PATH}" + ./run_tests --list | tr -d '<' | xargs ./run_tests || die +} + +src_install() { + dolib.so ${LIBNAME}.so* + use static-libs && dolib.a ${LIBNAME}.a + insinto /usr/include/double-conversion + doins src/{double-conversion,utils}.h + dodoc README Changelog AUTHORS +} diff --git a/dev-libs/double-conversion/files/double-conversion-2.0.1-scons.patch b/dev-libs/double-conversion/files/double-conversion-2.0.1-scons.patch new file mode 100644 index 000000000000..da7f2f9cb3a6 --- /dev/null +++ b/dev-libs/double-conversion/files/double-conversion-2.0.1-scons.patch @@ -0,0 +1,12 @@ +--- SConstruct.orig 2014-03-31 12:40:22.186757814 -0700 ++++ SConstruct 2014-03-31 12:46:21.726024868 -0700 +@@ -18,7 +18,8 @@ + # for shared lib, requires scons 2.3.0 + env['SHLIBVERSION'] = '1.0.0' + +-CCFLAGS = [] ++CCFLAGS = [os.environ['CXXFLAGS']] ++ + if int(debug): + CCFLAGS.append(ARGUMENTS.get('CXXFLAGS', '-g -Wall -Werror')) + if int(optimize): diff --git a/dev-libs/double-conversion/metadata.xml b/dev-libs/double-conversion/metadata.xml new file mode 100644 index 000000000000..c44940fd0d77 --- /dev/null +++ b/dev-libs/double-conversion/metadata.xml @@ -0,0 +1,17 @@ + + + + + sci@gentoo.org + Gentoo Science Project + + + This library consists of efficient conversion routines that have + been extracted from the V8 JavaScript engine. The code has been + refactored and improved so that it can be used more easily in other + projects. + + + google/double-conversion + + diff --git a/dev-libs/eb/Manifest b/dev-libs/eb/Manifest new file mode 100644 index 000000000000..e84863a73e1a --- /dev/null +++ b/dev-libs/eb/Manifest @@ -0,0 +1,5 @@ +DIST eb-4.4.1.tar.lzma 438852 SHA256 e6c11f6809026158f2ff765d46513bf00ee69fa545f7b4d110f0a54c07416d39 SHA512 c65ffae78d4f3beb9b6bdffde2b265fdb3a7c9b4c7626ddb0ca279e4193d48cad5e9748793f3ead3786e8c7d340134edf4ff1b9d835542ff12639581793b80c6 WHIRLPOOL eab59b14d28c368ee0310a198ff6776fb2635f47fdf063257f143c11be972c74a1f026f19701d492102413ac130f7d100c8712276bf24323bff8190025e1f572 +EBUILD eb-4.4.1-r1.ebuild 713 SHA256 c0f8490ff68aaeb5d12190ec210f77fe4be84668f3feb0326b5dc682feae5baf SHA512 807f7d0bb739a6384b443389092c34ee9652bbf0d004c4c0dba88ce79a1b68209b7d840a7ca5266c47a81ef6900d3b795f665974e562679ad9b1b44f0feaa87f WHIRLPOOL 2e5f5158ef792880c037aeadac64a2fa786e4dc8a68186056b10c71fb915870ba553550ebf18e85ac56dffc9c450a5aeedcc0b4ea0d0b9f4c5de1f2206ba0337 +MISC ChangeLog 2909 SHA256 9e054fc99a79bc278e75e237b1aa99f443a17cfd94852136f9c75fd093be5535 SHA512 0d9989d7163968d4f6251e0fcefde9e475fddfb240023135506fefebc36d7de416f7529c82470e8afc81bb774969fcca64f8650bc227af12c38c5a0e9f9600db WHIRLPOOL 35dc5cf78bf240cae378d5637f76210d60deba24ddcc8f174c43a81905e0da24640f2ec665c0cdb2e678d52d98cf39d95f93034a785da5e7e97e82000c5b14d0 +MISC ChangeLog-2015 6303 SHA256 3c15498c4f0356124bd3721d7dc644e437102fe5428efe9bc59afcf98b43f669 SHA512 f4dafe898157c83d63d44008bbeafc51e8a666f796d2781f86ec923e3ee845091fca1bbe197fa785e2010676a9ecd1e243a34d3f4e38b6ea74e69349fd40b061 WHIRLPOOL 72dc9781b66707b370dd9e6ff844bb8713c1a0af6be91b1c4b13a1fc7503f740c59349d63021297eb9de7fef11263bf0cb6b3ef084c1a5aa4c07bf3cba787f0c +MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968 diff --git a/dev-libs/eb/eb-4.4.1-r1.ebuild b/dev-libs/eb/eb-4.4.1-r1.ebuild new file mode 100644 index 000000000000..0942eb7c1545 --- /dev/null +++ b/dev-libs/eb/eb-4.4.1-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +DESCRIPTION="EB is a C library and utilities for accessing CD-ROM books" +HOMEPAGE="http://www.sra.co.jp/people/m-kasahr/eb/" +SRC_URI="ftp://ftp.sra.co.jp/pub/misc/eb/${P}.tar.lzma" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 sparc x86" +IUSE="ipv6 nls threads" + +RDEPEND=" + sys-libs/zlib + nls? ( virtual/libintl ) +" +DEPEND=" + ${RDEPEND} + nls? ( sys-devel/gettext ) +" + +DOCS=( AUTHORS ChangeLog{,.0,.1,.2} NEWS README ) + +src_configure() { + econf \ + $(use_enable ipv6) \ + $(use_enable nls) \ + $(use_enable threads pthread) \ + --with-pkgdocdir=/usr/share/doc/${PF}/html +} diff --git a/dev-libs/eb/metadata.xml b/dev-libs/eb/metadata.xml new file mode 100644 index 000000000000..6f49eba8f496 --- /dev/null +++ b/dev-libs/eb/metadata.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/dev-libs/eekboard/Manifest b/dev-libs/eekboard/Manifest new file mode 100644 index 000000000000..10526e32ec9c --- /dev/null +++ b/dev-libs/eekboard/Manifest @@ -0,0 +1,4 @@ +AUX eekboard-vala.patch 971 SHA256 ed3e0daf0c67a09ac1c48abd4162167b7106865d580750f34090bb652d0293a1 SHA512 0e33141e6e8bbdee661b12083e5e261b013a1c83603dd06ef93b5b9360d89153ff53225e1c8068ebccd5d92c3dfd1c439f7b0fb27ed5e8f21d9ca201c7db01fc WHIRLPOOL 390e5094d275d14f65bdbb4ab5bb6a9c9e31aee6839473c3f4812ad0fbda25e263b2c5c59dc88c6472143cb7c3c91ad76685a834bff54626d90ac658a4c5defd +DIST eekboard-1.0.8_p20121001.tar.gz 330923 SHA256 b15c81a982bd8fbbf72946dd01ec33105b973cd8cd7b96f8a1dd0e46ed3113cd SHA512 3c6ccbaac55a4680ba4d2bd5d214b1738b7fb17f83b66b11621149b6f8a945eb6b39c47be51dfcf53f84317d860ae28b8f83e3071d5d4474fbcfbdc72f6e4c87 WHIRLPOOL 02be33b3aef4351c5794a90483123925d8a6740ff5a5fcda720a77a8179af5beaa2ad35a8a4b4d1eb899df284d607ad1d971a4dda8cfdecc268a46e123d1ad4d +EBUILD eekboard-1.0.8_p20121001.ebuild 1702 SHA256 80166d0c6159cae04424b24e1c1d61e236ed6b705a4c544e7a8a7bdf24c7a021 SHA512 3614c5a5791c6bd9ec7d059678da944e7640ed84d4922be159fd37d7343c62e67136fdec4d88f4a24493899c004fca42fc7fb1bf5af09fcad3cfaef705d683a2 WHIRLPOOL 26985b241d0edc96223de7eb9601fa2e184bd27c6e62e68318739b36e918ef86096dcbb8419796efa5d260483c3adb8d4cc5f6eb901fbe763d654514e31f5a5f +MISC metadata.xml 678 SHA256 9e8618a3443da1b1c1d0de5e033c34f6ccf825b73a481c36e1ab2647f9eca3ea SHA512 6ae8cfdff8c6df95729329152c2d853301b2d795c1aa22fe0a45fe0d37c1e3b60339523e35fb58fcf90ca7ab82aea8061baf816f694f8fde25afa53ddc98f0e5 WHIRLPOOL ee1e65292ff6b34f41a18e785feee48ca861188250836718496dc50f2ea72ef576ced096f184720e21a55db2c5646679a800c2d1c04c7cedbc7ea3a714e4928e diff --git a/dev-libs/eekboard/eekboard-1.0.8_p20121001.ebuild b/dev-libs/eekboard/eekboard-1.0.8_p20121001.ebuild new file mode 100644 index 000000000000..ca6e8505a0ab --- /dev/null +++ b/dev-libs/eekboard/eekboard-1.0.8_p20121001.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" +PYTHON_COMPAT=( python2_7 ) +VALA_USE_DEPEND="vapigen" + +inherit autotools gnome2-utils ltprune python-any-r1 vala vcs-snapshot virtualx xdg-utils + +DESCRIPTION="An easy to use virtual keyboard toolkit" +HOMEPAGE="https://github.com/ueno/eekboard" +SRC_URI="https://github.com/ueno/${PN}/archive/e212262f29e022bdf7047861263ceea0c373e916.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc +introspection libcanberra static-libs +vala +xtest" +REQUIRED_USE="vala? ( introspection )" + +RDEPEND="app-accessibility/at-spi2-core + dev-libs/glib:2 + dev-libs/libcroco + virtual/libintl + x11-libs/gtk+:3 + x11-libs/libX11 + x11-libs/libxklavier + x11-libs/pango + introspection? ( dev-libs/gobject-introspection ) + libcanberra? ( media-libs/libcanberra[gtk3(+)] ) + vala? ( $(vala_depend) ) + xtest? ( x11-libs/libXtst )" +DEPEND="${RDEPEND} + ${PYTHON_DEPS} + dev-util/gtk-doc + dev-util/gtk-doc-am + dev-util/intltool + sys-devel/gettext + virtual/pkgconfig" + +PATCHES=( "${FILESDIR}"/${PN}-vala.patch ) + +src_prepare() { + use vala && vala_src_prepare + default + eautoreconf + xdg_environment_reset +} + +src_configure() { + econf \ + $(use_enable doc gtk-doc) \ + $(use_enable introspection) \ + $(use_enable libcanberra) \ + $(use_enable static-libs static) \ + $(use_enable vala) \ + $(use_enable xtest) +} + +src_install() { + default + prune_libtool_files +} + +src_test() { + virtx default +} + +pkg_preinst() { + gnome2_icon_savelist + gnome2_schemas_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update + gnome2_schemas_update +} + +pkg_postrm() { + gnome2_icon_cache_update + gnome2_schemas_update +} diff --git a/dev-libs/eekboard/files/eekboard-vala.patch b/dev-libs/eekboard/files/eekboard-vala.patch new file mode 100644 index 000000000000..0b95c7849874 --- /dev/null +++ b/dev-libs/eekboard/files/eekboard-vala.patch @@ -0,0 +1,33 @@ +--- a/bindings/vala/Makefile.am ++++ b/bindings/vala/Makefile.am +@@ -59,12 +59,14 @@ + + eek_gtk_vapi_deps = \ ++ eek-$(EEK_API_VERSION).vapi \ + $(srcdir)/EekGtk-$(EEK_API_VERSION).metadata \ + | \ + $(top_builddir)/eek/EekGtk-$(EEK_API_VERSION).gir \ + $(NULL) + + eek-gtk-$(EEK_API_VERSION).vapi: $(eek_gtk_vapi_deps) + $(VAPIGEN_V)$(VAPIGEN) --vapidir=$(builddir) \ ++ --girdir=$(top_builddir)/eek \ + --library eek-gtk-$(EEK_API_VERSION) \ + --pkg eek-$(EEK_API_VERSION) \ + --pkg gio-2.0 \ +@@ -74,6 +76,7 @@ + + eek_xkl_vapi_deps = \ ++ eek-$(EEK_API_VERSION).vapi \ + $(srcdir)/EekXkl-$(EEK_API_VERSION).metadata \ + | \ + $(top_builddir)/eek/EekXkl-$(EEK_API_VERSION).gir \ + $(NULL) +@@ -81,6 +84,7 @@ + eek-xkl-$(EEK_API_VERSION).vapi: $(eek_xkl_vapi_deps) + $(VAPIGEN_V)$(VAPIGEN) \ + --vapidir=$(builddir) \ ++ --girdir=$(top_builddir)/eek \ + --library eek-xkl-$(EEK_API_VERSION) \ + --pkg eek-$(EEK_API_VERSION) \ + --pkg gio-2.0 \ diff --git a/dev-libs/eekboard/metadata.xml b/dev-libs/eekboard/metadata.xml new file mode 100644 index 000000000000..8b3df112eeb3 --- /dev/null +++ b/dev-libs/eekboard/metadata.xml @@ -0,0 +1,19 @@ + + + + + cjk@gentoo.org + Cjk + + + eekboard is a virtual keyboard software package, including a set of tools + to implement desktop virtual keyboards. + + + Enable support for media-libs/libcanberra + Enable support for x11-libs/libXtst + + + ueno/eekboard + + diff --git a/dev-libs/efl/Manifest b/dev-libs/efl/Manifest new file mode 100644 index 000000000000..faeebe7b534b --- /dev/null +++ b/dev-libs/efl/Manifest @@ -0,0 +1,9 @@ +AUX efl-1.17.0-gnutls-3.4.patch 1303 SHA256 1f9206b2c42e1769f7fedbbe3a2b4cf1df54c6a1240b4d2edfb12514c3f30e4c SHA512 3bff2855849031b35fa68f70b3c59136f404793564a3fe2b15cc9e15ef211b0a41cb628330d84832fc4e9b1b331c161e6731816d2efe68aa7a1a5146bd87196a WHIRLPOOL 482fe94700a9b0a6c0dc958d13c283dccc0c96435dc5bca878872a7f50951d707cf827e0dcf7dc3f81d26654444946aae9c1dbcf0c52e50085d3c88b5fb03c0b +DIST efl-1.17.0.tar.xz 43485360 SHA256 c13540bad764d014fea2c079fad8fcca62e5c229994d43aa4eb692d2c9b73afe SHA512 e4f28f938daf4ec1cb3d761407a443e401b59c6bb0f9fa6cd771dbd256b95f4a32a5f9e6bd8ad8328708a382f732e67abd1a23c7be2ff222f08bc8135a2435da WHIRLPOOL a9687320a5a61a727dd1ad8d757b260f72165ed54fb311cb0ff0c33590b8fc083aae1850cd8bdc5ae5c7506df119a445457cda9e076193692130c92e01e2d5bf +DIST efl-1.18.4.tar.xz 64609944 SHA256 39ebc07e37437d6ecdeb0f645783484e28a882b38f7e619ad12c2bf9b5548025 SHA512 2cfdcde8b5adb93310e75e4923e3845392bed97563ca1a68f4537e346b51f59acefaa85a425bdbb5619e5bfd6c9ff92b4bd1888b5d4ddd8db94c8a555e3934c9 WHIRLPOOL 06fa47d6aaa3ee7a4bf3d0e9f40ac4d1bc8211621f749f66b8a48fc13513ca91d2a68d92bf281d0073f73b93cd6d19214f28bb36205bd158363c552e55ef7bce +EBUILD efl-1.17.0-r1.ebuild 7107 SHA256 f5e5050b86983c9733fce227ad81246c312e4532a22bb61cc395d1528eefa52d SHA512 36e3d53c1bdec68a0d75aa17ddcd4116117c1908349d5c297f983db9a78ac3bc277f20b79e99e27b1116b48f0fc5e4baa2828e5bbb59e41874fa828feded443d WHIRLPOOL b6725f48d66fde10a4cc807f2f6495a909d0b077edca695e42025c5640bf70332a68a76557c49d29ed25a79ed389df447eae074ff2b324c12184bbc9139dcd41 +EBUILD efl-1.18.4.ebuild 7275 SHA256 e8cdf79fdd3661a266d0999175fef165c9f5d8bb81af6c66de485adb8c5fca03 SHA512 9015dc587e6d52e3aa3803010f1e1e1922abccbd7f8a4f67a7e607ebaf4b75246322cac38336af862854ca63c8d05eb2111b254d1784b0dc3340af0377c3d34c WHIRLPOOL 45b4729d02b920d973926af6e2803057b1bd45caddc9be081028decefc7886ad2ef5ffbfab5693b7d79a52a66ab81ac51f57dfcbb59a57763fc55cbc3978ce76 +EBUILD efl-9999.ebuild 7275 SHA256 e8cdf79fdd3661a266d0999175fef165c9f5d8bb81af6c66de485adb8c5fca03 SHA512 9015dc587e6d52e3aa3803010f1e1e1922abccbd7f8a4f67a7e607ebaf4b75246322cac38336af862854ca63c8d05eb2111b254d1784b0dc3340af0377c3d34c WHIRLPOOL 45b4729d02b920d973926af6e2803057b1bd45caddc9be081028decefc7886ad2ef5ffbfab5693b7d79a52a66ab81ac51f57dfcbb59a57763fc55cbc3978ce76 +MISC ChangeLog 6589 SHA256 09b05664ae0a86d27f9d34ab8d240725592f46859c7967d57a512e5425111680 SHA512 3761409eff752252b880cb8be2d3ff6d6258766f450ff9b9dc2564add0250fbfd7b7b221dd550ec5e6a105ec2144942b8a7614dce6052343a298434d29542734 WHIRLPOOL 4b16634096e36608396c63941ec9d716362801227b213c4557293bf67b106f9d4e55db8144a9fadc6e505228983cf5ca21aa94e2d38ecdbdfc90e0ab3b7e7e88 +MISC ChangeLog-2015 5842 SHA256 808ed90081783eea1258ce48426a970241ac8d91eac97c06c58d71b91292b1b0 SHA512 0552b4c3be80b8d8eec49d14779cf8ad067271385fe96890dcc93b8326a8fe23c2524967e9eadb9151d5756e19f5084172ea03a0c093735139abffe7965ece43 WHIRLPOOL f80b5859233b04586eb092766f18bfaa32edddbff7b487da32535a92d11b6f6df3b1618c65fbbdf7de44cafb9c9393a014867690d22e8115b41b62d1a9f8636e +MISC metadata.xml 1620 SHA256 723ad1f1b1202a30b9cc70da3217b8473011f342c85b87708b8d24390abfd6ba SHA512 a70e6aac0200b85a927cc0c0bc58a6f41c18b1155f239ba2a97dfe50e24f54632a05f4387204439093e4fa71ae01632b984fe0fc454c5b711470020fa42f928b WHIRLPOOL 37f71e3da6bd1511e50b1d9c2136177e7fa08d2b186324b64035e4bc9e9b33b3f3c9d9988cd0cf1ec1b6f3efe531e0d0ab718110a6be4c4a4a111283c1cb5255 diff --git a/dev-libs/efl/efl-1.17.0-r1.ebuild b/dev-libs/efl/efl-1.17.0-r1.ebuild new file mode 100644 index 000000000000..9d3d409157cc --- /dev/null +++ b/dev-libs/efl/efl-1.17.0-r1.ebuild @@ -0,0 +1,286 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +MY_P=${P/_/-} + +if [[ "${PV}" == "9999" ]] ; then + EGIT_SUB_PROJECT="core" + EGIT_URI_APPEND="${PN}" +elif [[ *"${PV}" == *"_pre"* ]] ; then + MY_P=${P%%_*} + SRC_URI="https://download.enlightenment.org/pre-releases/${MY_P}.tar.xz" + EKEY_STATE="snap" +else + SRC_URI="https://download.enlightenment.org/rel/libs/${PN}/${MY_P}.tar.xz" + EKEY_STATE="release" +fi + +inherit enlightenment pax-utils + +DESCRIPTION="Enlightenment Foundation Libraries all-in-one package" + +LICENSE="BSD-2 GPL-2 LGPL-2.1 ZLIB" +IUSE="+bmp debug drm +eet egl fbcon +fontconfig fribidi gif gles glib gnutls gstreamer harfbuzz +ico ibus jpeg2k libressl neon oldlua opengl ssl physics pixman +png +ppm +psd pulseaudio scim sdl sound systemd tga tiff tslib unwind v4l valgrind wayland webp X xim xine xpm" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris" + +REQUIRED_USE=" + pulseaudio? ( sound ) + opengl? ( || ( X sdl wayland ) ) + gles? ( || ( X wayland ) ) + gles? ( !sdl ) + gles? ( egl ) + sdl? ( opengl ) + wayland? ( egl !opengl gles ) + xim? ( X ) +" + +RDEPEND=" + drm? ( + >=dev-libs/libinput-0.8 + media-libs/mesa[gbm] + >=x11-libs/libdrm-2.4 + >=x11-libs/libxkbcommon-0.3.0 + ) + fontconfig? ( media-libs/fontconfig ) + fribidi? ( dev-libs/fribidi ) + gif? ( media-libs/giflib ) + glib? ( dev-libs/glib:2 ) + gnutls? ( net-libs/gnutls ) + !gnutls? ( + ssl? ( + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl ) + ) + ) + gstreamer? ( + media-libs/gstreamer:1.0 + media-libs/gst-plugins-base:1.0 + ) + harfbuzz? ( media-libs/harfbuzz ) + ibus? ( app-i18n/ibus ) + jpeg2k? ( media-libs/openjpeg:0 ) + !oldlua? ( >=dev-lang/luajit-2.0.0 ) + oldlua? ( dev-lang/lua:* ) + physics? ( >=sci-physics/bullet-2.80 ) + pixman? ( x11-libs/pixman ) + png? ( media-libs/libpng:0= ) + pulseaudio? ( media-sound/pulseaudio ) + scim? ( app-i18n/scim ) + sdl? ( + media-libs/libsdl2 + virtual/opengl + ) + sound? ( media-libs/libsndfile ) + systemd? ( sys-apps/systemd ) + tiff? ( media-libs/tiff:0= ) + tslib? ( x11-libs/tslib ) + unwind? ( sys-libs/libunwind ) + valgrind? ( dev-util/valgrind ) + wayland? ( + >=dev-libs/wayland-1.8.0 + >=x11-libs/libxkbcommon-0.3.1 + media-libs/mesa[gles2,wayland] + ) + webp? ( media-libs/libwebp ) + X? ( + x11-libs/libXcursor + x11-libs/libX11 + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXinerama + x11-libs/libXp + x11-libs/libXrandr + x11-libs/libXrender + x11-libs/libXtst + x11-libs/libXScrnSaver + + opengl? ( + x11-libs/libX11 + x11-libs/libXrender + virtual/opengl + ) + + gles? ( + x11-libs/libX11 + x11-libs/libXrender + virtual/opengl + ) + ) + xine? ( >=media-libs/xine-lib-1.1.1 ) + xpm? ( x11-libs/libXpm ) + + sys-apps/dbus + >=sys-apps/util-linux-2.20.0 + sys-libs/zlib + virtual/jpeg:0= + + !dev-libs/ecore + !dev-libs/edbus + !dev-libs/eet + !dev-libs/eeze + !dev-libs/efreet + !dev-libs/eina + !dev-libs/eio + !dev-libs/embryo + !dev-libs/eobj + !dev-libs/ephysics + !media-libs/edje + !media-libs/emotion + !media-libs/ethumb + !media-libs/evas +" +#external lz4 support currently broken because of unstable ABI/API +# app-arch/lz4 + +#soft blockers added above for binpkg users +#hard blocks are needed for building +CORE_EFL_CONFLICTS=" + !!dev-libs/ecore + !!dev-libs/edbus + !!dev-libs/eet + !!dev-libs/eeze + !!dev-libs/efreet + !!dev-libs/eina + !!dev-libs/eio + !!dev-libs/embryo + !!dev-libs/eobj + !!dev-libs/ephysics + !!media-libs/edje + !!media-libs/emotion + !!media-libs/ethumb + !!media-libs/evas +" + +DEPEND=" + ${CORE_EFL_CONFLICTS} + + ${RDEPEND} + doc? ( app-doc/doxygen ) +" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + enlightenment_src_prepare + + epatch "${FILESDIR}/${P}-gnutls-3.4.patch" + + # Remove stupid sleep command. + # Also back out gnu make hack that causes regen of Makefiles. + # Delete var setting that causes the build to abort. + sed -i \ + -e '/sleep 10/d' \ + -e '/^#### Work around bug in automake check macro$/,/^#### Info$/d' \ + -e '/BARF_OK=/s:=.*:=:' \ + configure || die + + # Upstream doesn't offer a configure flag. #611108 + if ! use unwind ; then + sed -i \ + -e 's:libunwind libunwind-generic:xxxxxxxxxxxxxxxx:' \ + configure || die + fi +} + +src_configure() { + if use ssl && use gnutls ; then + einfo "You enabled both USE=ssl and USE=gnutls, but only one can be used;" + einfo "gnutls has been selected for you." + fi + if use opengl && use gles ; then + einfo "You enabled both USE=opengl and USE=gles, but only one can be used;" + einfo "opengl has been selected for you." + fi + + E_ECONF=( + --with-profile=$(usex debug debug release) + --with-crypto=$(usex gnutls gnutls $(usex ssl openssl none)) + --with-x11=$(usex X xlib none) + $(use_with X x) + --with-opengl=$(usex opengl full $(usex gles es none)) + --with-glib=$(usex glib) + --enable-i-really-know-what-i-am-doing-and-that-this-will-probably-break-things-and-i-will-fix-them-myself-and-send-patches-abb + + $(use_enable bmp image-loader-bmp) + $(use_enable bmp image-loader-wbmp) + $(use_enable drm) + $(use_enable doc) + $(use_enable eet image-loader-eet) + $(use_enable egl) + $(use_enable fbcon fb) + $(use_enable fontconfig) + $(use_enable fribidi) + $(use_enable gif image-loader-gif) + $(use_enable gstreamer gstreamer1) + $(use_enable harfbuzz) + $(use_enable ico image-loader-ico) + $(use_enable ibus) + $(use_enable jpeg2k image-loader-jp2k) + $(use_enable neon) + $(use_enable nls) + $(use_enable oldlua lua-old) + $(use_enable physics) + $(use_enable pixman) + $(use_enable pixman pixman-font) + $(use_enable pixman pixman-rect) + $(use_enable pixman pixman-line) + $(use_enable pixman pixman-poly) + $(use_enable pixman pixman-image) + $(use_enable pixman pixman-image-scale-sample) + $(use_enable png image-loader-png) + $(use_enable ppm image-loader-pmaps) + $(use_enable psd image-loader-psd) + $(use_enable pulseaudio) + $(use_enable scim) + $(use_enable sdl) + $(use_enable sound audio) + $(use_enable systemd) + $(use_enable tga image-loader-tga) + $(use_enable tiff image-loader-tiff) + $(use_enable tslib) + $(use_enable v4l v4l2) + $(use_enable valgrind) + $(use_enable wayland) + $(use_enable webp image-loader-webp) + $(use_enable xim) + $(use_enable xine) + $(use_enable xpm image-loader-xpm) + --enable-cserve + --enable-image-loader-generic + --enable-image-loader-jpeg + + --disable-tizen + --disable-gesture + --disable-gstreamer + --enable-xinput2 + --disable-xinput22 + --enable-libmount + + # external lz4 support currently broken because of unstable ABI/API + #--enable-liblz4 + ) + + enlightenment_src_configure +} + +src_compile() { + if host-is-pax && ! use oldlua ; then + # We need to build the lua code first so we can pax-mark it. #547076 + local target='_e_built_sources_target_gogogo_' + printf '%s: $(BUILT_SOURCES)\n' "${target}" >> src/Makefile || die + emake -C src "${target}" + emake -C src bin/elua/elua + pax-mark m src/bin/elua/.libs/elua + fi + enlightenment_src_compile +} + +src_install() { + MAKEOPTS+=" -j1" + + enlightenment_src_install +} diff --git a/dev-libs/efl/efl-1.18.4.ebuild b/dev-libs/efl/efl-1.18.4.ebuild new file mode 100644 index 000000000000..609840b2c5b1 --- /dev/null +++ b/dev-libs/efl/efl-1.18.4.ebuild @@ -0,0 +1,289 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +MY_P=${P/_/-} + +if [[ "${PV}" == "9999" ]] ; then + EGIT_SUB_PROJECT="core" + EGIT_URI_APPEND="${PN}" +elif [[ *"${PV}" == *"_pre"* ]] ; then + MY_P=${P%%_*} + SRC_URI="https://download.enlightenment.org/pre-releases/${MY_P}.tar.xz" +else + SRC_URI="https://download.enlightenment.org/rel/libs/${PN}/${MY_P}.tar.xz" + KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris" +fi + +inherit enlightenment pax-utils + +DESCRIPTION="Enlightenment Foundation Libraries all-in-one package" + +LICENSE="BSD-2 GPL-2 LGPL-2.1 ZLIB" +IUSE="+bmp debug drm +eet egl fbcon +fontconfig fribidi gif gles glib gnutls gstreamer harfbuzz +ico ibus jpeg2k libressl neon oldlua opengl ssl physics pixman +png postscript +ppm +psd pulseaudio raw scim sdl sound systemd tga tiff tslib unwind v4l valgrind wayland webp X xim xine xpm" + +REQUIRED_USE=" + pulseaudio? ( sound ) + opengl? ( || ( X sdl wayland ) ) + gles? ( || ( X wayland ) ) + gles? ( !sdl ) + gles? ( egl ) + sdl? ( opengl ) + wayland? ( egl !opengl gles ) + xim? ( X ) +" + +RDEPEND=" + drm? ( + >=dev-libs/libinput-0.8 + media-libs/mesa[gbm] + >=x11-libs/libdrm-2.4 + >=x11-libs/libxkbcommon-0.3.0 + ) + fontconfig? ( media-libs/fontconfig ) + fribidi? ( dev-libs/fribidi ) + gif? ( media-libs/giflib ) + glib? ( dev-libs/glib:2 ) + gnutls? ( net-libs/gnutls ) + !gnutls? ( + ssl? ( + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl ) + ) + ) + gstreamer? ( + media-libs/gstreamer:1.0 + media-libs/gst-plugins-base:1.0 + ) + harfbuzz? ( media-libs/harfbuzz ) + ibus? ( app-i18n/ibus ) + jpeg2k? ( media-libs/openjpeg:0 ) + !oldlua? ( >=dev-lang/luajit-2.0.0 ) + oldlua? ( dev-lang/lua:* ) + physics? ( >=sci-physics/bullet-2.80 ) + pixman? ( x11-libs/pixman ) + postscript? ( app-text/libspectre ) + png? ( media-libs/libpng:0= ) + pulseaudio? ( media-sound/pulseaudio ) + raw? ( media-libs/libraw ) + scim? ( app-i18n/scim ) + sdl? ( + media-libs/libsdl2 + virtual/opengl + ) + sound? ( media-libs/libsndfile ) + systemd? ( sys-apps/systemd ) + tiff? ( media-libs/tiff:0= ) + tslib? ( x11-libs/tslib ) + unwind? ( sys-libs/libunwind ) + valgrind? ( dev-util/valgrind ) + wayland? ( + >=dev-libs/wayland-1.8.0 + >=x11-libs/libxkbcommon-0.3.1 + media-libs/mesa[gles2,wayland] + ) + webp? ( media-libs/libwebp ) + X? ( + x11-libs/libXcursor + x11-libs/libX11 + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXinerama + x11-libs/libXp + x11-libs/libXrandr + x11-libs/libXrender + x11-libs/libXtst + x11-libs/libXScrnSaver + + opengl? ( + x11-libs/libX11 + x11-libs/libXrender + virtual/opengl + ) + + gles? ( + x11-libs/libX11 + x11-libs/libXrender + virtual/opengl + ) + ) + xine? ( >=media-libs/xine-lib-1.1.1 ) + xpm? ( x11-libs/libXpm ) + + sys-apps/dbus + >=sys-apps/util-linux-2.20.0 + sys-libs/zlib + virtual/jpeg:0= + + !dev-libs/ecore + !dev-libs/edbus + !dev-libs/eet + !dev-libs/eeze + !dev-libs/efreet + !dev-libs/eina + !dev-libs/eio + !dev-libs/embryo + !dev-libs/eobj + !dev-libs/ephysics + !media-libs/edje + !media-libs/elementary + !media-libs/emotion + !media-libs/ethumb + !media-libs/evas + !media-plugins/emotion_generic_players + !media-plugins/evas_generic_loaders +" +#external lz4 support currently broken because of unstable ABI/API +# app-arch/lz4 + +#soft blockers added above for binpkg users +#hard blocks are needed for building +CORE_EFL_CONFLICTS=" + !!dev-libs/ecore + !!dev-libs/edbus + !!dev-libs/eet + !!dev-libs/eeze + !!dev-libs/efreet + !!dev-libs/eina + !!dev-libs/eio + !!dev-libs/embryo + !!dev-libs/eobj + !!dev-libs/ephysics + !!media-libs/edje + !!media-libs/emotion + !!media-libs/ethumb + !!media-libs/evas +" + +DEPEND=" + ${CORE_EFL_CONFLICTS} + + ${RDEPEND} + doc? ( app-doc/doxygen ) +" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + enlightenment_src_prepare + + # Remove stupid sleep command. + # Also back out gnu make hack that causes regen of Makefiles. + # Delete var setting that causes the build to abort. + sed -i \ + -e '/sleep 10/d' \ + -e '/^#### Work around bug in automake check macro$/,/^#### Info$/d' \ + -e '/BARF_OK=/s:=.*:=:' \ + configure || die + + # Upstream doesn't offer a configure flag. #611108 + if ! use unwind ; then + sed -i \ + -e 's:libunwind libunwind-generic:xxxxxxxxxxxxxxxx:' \ + configure || die + fi +} + +src_configure() { + if use ssl && use gnutls ; then + einfo "You enabled both USE=ssl and USE=gnutls, but only one can be used;" + einfo "gnutls has been selected for you." + fi + if use opengl && use gles ; then + einfo "You enabled both USE=opengl and USE=gles, but only one can be used;" + einfo "opengl has been selected for you." + fi + + E_ECONF=( + --with-profile=$(usex debug debug release) + --with-crypto=$(usex gnutls gnutls $(usex ssl openssl none)) + --with-x11=$(usex X xlib none) + $(use_with X x) + --with-opengl=$(usex opengl full $(usex gles es none)) + --with-glib=$(usex glib) + --enable-i-really-know-what-i-am-doing-and-that-this-will-probably-break-things-and-i-will-fix-them-myself-and-send-patches-abb + + $(use_enable bmp image-loader-bmp) + $(use_enable bmp image-loader-wbmp) + $(use_enable drm) + $(use_enable doc) + $(use_enable eet image-loader-eet) + $(use_enable egl) + $(use_enable fbcon fb) + $(use_enable fontconfig) + $(use_enable fribidi) + $(use_enable gif image-loader-gif) + $(use_enable gstreamer gstreamer1) + $(use_enable harfbuzz) + $(use_enable ico image-loader-ico) + $(use_enable ibus) + $(use_enable jpeg2k image-loader-jp2k) + $(use_enable neon) + $(use_enable nls) + $(use_enable oldlua lua-old) + $(use_enable physics) + $(use_enable pixman) + $(use_enable pixman pixman-font) + $(use_enable pixman pixman-rect) + $(use_enable pixman pixman-line) + $(use_enable pixman pixman-poly) + $(use_enable pixman pixman-image) + $(use_enable pixman pixman-image-scale-sample) + $(use_enable png image-loader-png) + $(use_enable postscript spectre) + $(use_enable ppm image-loader-pmaps) + $(use_enable psd image-loader-psd) + $(use_enable pulseaudio) + $(use_enable raw libraw) + $(use_enable scim) + $(use_enable sdl) + $(use_enable sound audio) + $(use_enable systemd) + $(use_enable tga image-loader-tga) + $(use_enable tiff image-loader-tiff) + $(use_enable tslib) + $(use_enable v4l v4l2) + $(use_enable valgrind) + $(use_enable wayland) + $(use_enable webp image-loader-webp) + $(use_enable xim) + $(use_enable xine) + $(use_enable xpm image-loader-xpm) + --enable-cserve + --enable-image-loader-generic + --enable-image-loader-jpeg + + --disable-tizen + --disable-gesture + --disable-gstreamer + --enable-xinput2 + --disable-xinput22 + --enable-libmount + + # external lz4 support currently broken because of unstable ABI/API + #--enable-liblz4 + ) + + enlightenment_src_configure +} + +src_compile() { + if host-is-pax && ! use oldlua ; then + # We need to build the lua code first so we can pax-mark it. #547076 + local target='_e_built_sources_target_gogogo_' + printf '%s: $(BUILT_SOURCES)\n' "${target}" >> src/Makefile || die + emake -C src "${target}" + emake -C src bin/elua/elua + pax-mark m src/bin/elua/.libs/elua + fi + enlightenment_src_compile +} + +src_install() { + MAKEOPTS+=" -j1" + + enlightenment_src_install +} diff --git a/dev-libs/efl/efl-9999.ebuild b/dev-libs/efl/efl-9999.ebuild new file mode 100644 index 000000000000..609840b2c5b1 --- /dev/null +++ b/dev-libs/efl/efl-9999.ebuild @@ -0,0 +1,289 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +MY_P=${P/_/-} + +if [[ "${PV}" == "9999" ]] ; then + EGIT_SUB_PROJECT="core" + EGIT_URI_APPEND="${PN}" +elif [[ *"${PV}" == *"_pre"* ]] ; then + MY_P=${P%%_*} + SRC_URI="https://download.enlightenment.org/pre-releases/${MY_P}.tar.xz" +else + SRC_URI="https://download.enlightenment.org/rel/libs/${PN}/${MY_P}.tar.xz" + KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris" +fi + +inherit enlightenment pax-utils + +DESCRIPTION="Enlightenment Foundation Libraries all-in-one package" + +LICENSE="BSD-2 GPL-2 LGPL-2.1 ZLIB" +IUSE="+bmp debug drm +eet egl fbcon +fontconfig fribidi gif gles glib gnutls gstreamer harfbuzz +ico ibus jpeg2k libressl neon oldlua opengl ssl physics pixman +png postscript +ppm +psd pulseaudio raw scim sdl sound systemd tga tiff tslib unwind v4l valgrind wayland webp X xim xine xpm" + +REQUIRED_USE=" + pulseaudio? ( sound ) + opengl? ( || ( X sdl wayland ) ) + gles? ( || ( X wayland ) ) + gles? ( !sdl ) + gles? ( egl ) + sdl? ( opengl ) + wayland? ( egl !opengl gles ) + xim? ( X ) +" + +RDEPEND=" + drm? ( + >=dev-libs/libinput-0.8 + media-libs/mesa[gbm] + >=x11-libs/libdrm-2.4 + >=x11-libs/libxkbcommon-0.3.0 + ) + fontconfig? ( media-libs/fontconfig ) + fribidi? ( dev-libs/fribidi ) + gif? ( media-libs/giflib ) + glib? ( dev-libs/glib:2 ) + gnutls? ( net-libs/gnutls ) + !gnutls? ( + ssl? ( + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl ) + ) + ) + gstreamer? ( + media-libs/gstreamer:1.0 + media-libs/gst-plugins-base:1.0 + ) + harfbuzz? ( media-libs/harfbuzz ) + ibus? ( app-i18n/ibus ) + jpeg2k? ( media-libs/openjpeg:0 ) + !oldlua? ( >=dev-lang/luajit-2.0.0 ) + oldlua? ( dev-lang/lua:* ) + physics? ( >=sci-physics/bullet-2.80 ) + pixman? ( x11-libs/pixman ) + postscript? ( app-text/libspectre ) + png? ( media-libs/libpng:0= ) + pulseaudio? ( media-sound/pulseaudio ) + raw? ( media-libs/libraw ) + scim? ( app-i18n/scim ) + sdl? ( + media-libs/libsdl2 + virtual/opengl + ) + sound? ( media-libs/libsndfile ) + systemd? ( sys-apps/systemd ) + tiff? ( media-libs/tiff:0= ) + tslib? ( x11-libs/tslib ) + unwind? ( sys-libs/libunwind ) + valgrind? ( dev-util/valgrind ) + wayland? ( + >=dev-libs/wayland-1.8.0 + >=x11-libs/libxkbcommon-0.3.1 + media-libs/mesa[gles2,wayland] + ) + webp? ( media-libs/libwebp ) + X? ( + x11-libs/libXcursor + x11-libs/libX11 + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXinerama + x11-libs/libXp + x11-libs/libXrandr + x11-libs/libXrender + x11-libs/libXtst + x11-libs/libXScrnSaver + + opengl? ( + x11-libs/libX11 + x11-libs/libXrender + virtual/opengl + ) + + gles? ( + x11-libs/libX11 + x11-libs/libXrender + virtual/opengl + ) + ) + xine? ( >=media-libs/xine-lib-1.1.1 ) + xpm? ( x11-libs/libXpm ) + + sys-apps/dbus + >=sys-apps/util-linux-2.20.0 + sys-libs/zlib + virtual/jpeg:0= + + !dev-libs/ecore + !dev-libs/edbus + !dev-libs/eet + !dev-libs/eeze + !dev-libs/efreet + !dev-libs/eina + !dev-libs/eio + !dev-libs/embryo + !dev-libs/eobj + !dev-libs/ephysics + !media-libs/edje + !media-libs/elementary + !media-libs/emotion + !media-libs/ethumb + !media-libs/evas + !media-plugins/emotion_generic_players + !media-plugins/evas_generic_loaders +" +#external lz4 support currently broken because of unstable ABI/API +# app-arch/lz4 + +#soft blockers added above for binpkg users +#hard blocks are needed for building +CORE_EFL_CONFLICTS=" + !!dev-libs/ecore + !!dev-libs/edbus + !!dev-libs/eet + !!dev-libs/eeze + !!dev-libs/efreet + !!dev-libs/eina + !!dev-libs/eio + !!dev-libs/embryo + !!dev-libs/eobj + !!dev-libs/ephysics + !!media-libs/edje + !!media-libs/emotion + !!media-libs/ethumb + !!media-libs/evas +" + +DEPEND=" + ${CORE_EFL_CONFLICTS} + + ${RDEPEND} + doc? ( app-doc/doxygen ) +" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + enlightenment_src_prepare + + # Remove stupid sleep command. + # Also back out gnu make hack that causes regen of Makefiles. + # Delete var setting that causes the build to abort. + sed -i \ + -e '/sleep 10/d' \ + -e '/^#### Work around bug in automake check macro$/,/^#### Info$/d' \ + -e '/BARF_OK=/s:=.*:=:' \ + configure || die + + # Upstream doesn't offer a configure flag. #611108 + if ! use unwind ; then + sed -i \ + -e 's:libunwind libunwind-generic:xxxxxxxxxxxxxxxx:' \ + configure || die + fi +} + +src_configure() { + if use ssl && use gnutls ; then + einfo "You enabled both USE=ssl and USE=gnutls, but only one can be used;" + einfo "gnutls has been selected for you." + fi + if use opengl && use gles ; then + einfo "You enabled both USE=opengl and USE=gles, but only one can be used;" + einfo "opengl has been selected for you." + fi + + E_ECONF=( + --with-profile=$(usex debug debug release) + --with-crypto=$(usex gnutls gnutls $(usex ssl openssl none)) + --with-x11=$(usex X xlib none) + $(use_with X x) + --with-opengl=$(usex opengl full $(usex gles es none)) + --with-glib=$(usex glib) + --enable-i-really-know-what-i-am-doing-and-that-this-will-probably-break-things-and-i-will-fix-them-myself-and-send-patches-abb + + $(use_enable bmp image-loader-bmp) + $(use_enable bmp image-loader-wbmp) + $(use_enable drm) + $(use_enable doc) + $(use_enable eet image-loader-eet) + $(use_enable egl) + $(use_enable fbcon fb) + $(use_enable fontconfig) + $(use_enable fribidi) + $(use_enable gif image-loader-gif) + $(use_enable gstreamer gstreamer1) + $(use_enable harfbuzz) + $(use_enable ico image-loader-ico) + $(use_enable ibus) + $(use_enable jpeg2k image-loader-jp2k) + $(use_enable neon) + $(use_enable nls) + $(use_enable oldlua lua-old) + $(use_enable physics) + $(use_enable pixman) + $(use_enable pixman pixman-font) + $(use_enable pixman pixman-rect) + $(use_enable pixman pixman-line) + $(use_enable pixman pixman-poly) + $(use_enable pixman pixman-image) + $(use_enable pixman pixman-image-scale-sample) + $(use_enable png image-loader-png) + $(use_enable postscript spectre) + $(use_enable ppm image-loader-pmaps) + $(use_enable psd image-loader-psd) + $(use_enable pulseaudio) + $(use_enable raw libraw) + $(use_enable scim) + $(use_enable sdl) + $(use_enable sound audio) + $(use_enable systemd) + $(use_enable tga image-loader-tga) + $(use_enable tiff image-loader-tiff) + $(use_enable tslib) + $(use_enable v4l v4l2) + $(use_enable valgrind) + $(use_enable wayland) + $(use_enable webp image-loader-webp) + $(use_enable xim) + $(use_enable xine) + $(use_enable xpm image-loader-xpm) + --enable-cserve + --enable-image-loader-generic + --enable-image-loader-jpeg + + --disable-tizen + --disable-gesture + --disable-gstreamer + --enable-xinput2 + --disable-xinput22 + --enable-libmount + + # external lz4 support currently broken because of unstable ABI/API + #--enable-liblz4 + ) + + enlightenment_src_configure +} + +src_compile() { + if host-is-pax && ! use oldlua ; then + # We need to build the lua code first so we can pax-mark it. #547076 + local target='_e_built_sources_target_gogogo_' + printf '%s: $(BUILT_SOURCES)\n' "${target}" >> src/Makefile || die + emake -C src "${target}" + emake -C src bin/elua/elua + pax-mark m src/bin/elua/.libs/elua + fi + enlightenment_src_compile +} + +src_install() { + MAKEOPTS+=" -j1" + + enlightenment_src_install +} diff --git a/dev-libs/efl/files/efl-1.17.0-gnutls-3.4.patch b/dev-libs/efl/files/efl-1.17.0-gnutls-3.4.patch new file mode 100644 index 000000000000..6c5f8eb757c5 --- /dev/null +++ b/dev-libs/efl/files/efl-1.17.0-gnutls-3.4.patch @@ -0,0 +1,39 @@ +From 6f42992b4f1110f44d2db57cd6fe42559cfffdc2 Mon Sep 17 00:00:00 2001 +From: Cedric BAIL +Date: Wed, 21 Sep 2016 10:33:44 -0700 +Subject: [PATCH] eet: fix gnutls support with newer version. + +--- + src/lib/eet/eet_cipher.c | 9 ++++----- + 1 file changed, 4 insertions(+), 5 deletions(-) + +diff --git a/src/lib/eet/eet_cipher.c b/src/lib/eet/eet_cipher.c +index a34fdff..cf9ef71 100644 +--- a/src/lib/eet/eet_cipher.c ++++ b/src/lib/eet/eet_cipher.c +@@ -679,7 +679,6 @@ eet_identity_check(const void *data_base, + gnutls_datum_t datum; + gnutls_datum_t signature; + gnutls_pubkey_t pubkey; +- gnutls_digest_algorithm_t hash_algo; + unsigned char *hash; + gcry_md_hd_t md; + int err; +@@ -717,10 +716,10 @@ eet_identity_check(const void *data_base, + if (gnutls_pubkey_import_x509(pubkey, cert, 0) < 0) + goto on_error; + +- if (gnutls_pubkey_get_verify_algorithm(pubkey, &signature, &hash_algo) < 0) +- goto on_error; +- +- if (gnutls_pubkey_verify_hash(pubkey, 0, &datum, &signature) < 0) ++ if (gnutls_pubkey_verify_hash2(pubkey, ++ gnutls_x509_crt_get_signature_algorithm(cert), ++ 0, ++ &datum, &signature) < 0) + goto on_error; + + if (sha1) +-- +2.10.2 + diff --git a/dev-libs/efl/metadata.xml b/dev-libs/efl/metadata.xml new file mode 100644 index 000000000000..24801d968fbe --- /dev/null +++ b/dev-libs/efl/metadata.xml @@ -0,0 +1,32 @@ + + + + + enlightenment@gentoo.org + Project Enlightenment + + + Enable WBMP image loader + Enable DRM engine + Enable Eet image loader + Enable EGL rendering + Enable bidirectional text support + Enable the OpenGL ES GL implementation + Enable dev-libs/glib support + Enable complex text shaping and layout support + Enable Intelligent Input Bus + Enable Ico image loader + USE dev-lang/lua instead of dev-lang/luajit + Enable Bullet physics effects and support + Enable PixMan for software rendering + Enable PMAPS image loader + Enable PSD image loader + Enable Smart Common Input Method + Enable Tga image loader + Enable x11-libs/tslib for touchscreen events + Enable debug support via sys-libs/libunwind + Enable usage of dev-util/valgrind in debug + Enable WebP image loader + Enable X Input Method + + diff --git a/dev-libs/elfio/Manifest b/dev-libs/elfio/Manifest new file mode 100644 index 000000000000..0fc6182ac563 --- /dev/null +++ b/dev-libs/elfio/Manifest @@ -0,0 +1,6 @@ +AUX elfio-1.0.3-shared.patch 3539 SHA256 e2f88de3b60054d550cdab72da51b5c8a285b004809069d79277c42735411f4a SHA512 2561eef0223b62a0e0d0a81ec5a84d34e1a0434dab32665ab837584110c5888e38c61c0807d578622f3244dca5c7a8a0397dd09555553320ed5cf162f00835cb WHIRLPOOL f315bbf2b1e0a1f17e8b3c40f9f80fc7062916292c4486c1d190a5905acf361b86c73b823a39369c4de1e53c38b46c1836a12692d5e5b82b90263bb0893b8061 +DIST ELFIO-1.0.3.tar.gz 308560 SHA256 e8cdd3895c4f6e5ed2422a2151e7940f9085a1c10d1f0508ed03b1c4860bcada SHA512 eb0194ccc9e5194b7ac4ee7dfed06269e5235e72dd72631b63dcc3b0b44c76d44aa30df1332e7424e08ab905d2b243af6e2c183be87766536d588fa6ff719f19 WHIRLPOOL 2c57c0e945daa980324e9d30d67944f4a954e006a6db39a813bf3420fcb9e2d904feea98bbaee1f32c73ebcfdca1e25f569c9c5cfc470eda656752181e4d6d25 +EBUILD elfio-1.0.3-r1.ebuild 570 SHA256 175f9211bdcb16986b7c1b30fa2a136115d4e1fd629a6e17767efa9da392c6b6 SHA512 6fe80ad301b0ee19463267f5fd55d0b0d452e44734b32706757f626ba3be0c80235b17a6d590e663ba598018103dcd7e05344cbbeae062b285acf3dbbad9b6c7 WHIRLPOOL 45317ad8536b637ecbead53cf8d393253a504343accea2b6e503832bb1cc5ec98999c5f34753241af328b76904503eee841901d14482a516368821603da68522 +MISC ChangeLog 2549 SHA256 052a865028c95f4c62aefd1d435126c84055cdcd4b6c479d1d8bac9d44e0d531 SHA512 354a8adb3e7047b92ef8345fb6ae24c0b81d5c67775b31a773082bb417c1dee1781646f377cb164b13dfd49caad876140780f5fea85ed5503e1e567f3fd770e4 WHIRLPOOL 4865687b786bc444f10eeac88ef27aaa9c2033e2d9339fe4880f8b813ac7137b7423bd29badba292dc3e611c6942109ae2b2ca861e86915502c603a29f33828e +MISC ChangeLog-2015 823 SHA256 914d5160ecdcb9eccf6ac8c54feea8f27a3a6cf30c59d28faadb1c2830ed75e5 SHA512 b7d25d5c25a50cf7b2ad93804993e67df758cce6723e662ec7a6b0a658261dc480520c739b9d991acb0684f418bfda42196f7e97a494357e6ddab9135773e58e WHIRLPOOL fa7184175350a7638c6d69af006f7b815b065605ab5f420572b510c240db9cada274739fb3f399e89f3f6aee5717d07185d51e651b5aa482bd128f74b32ddbe4 +MISC metadata.xml 242 SHA256 99595f8f4d914746a6b7555258087dbdbb675f900dd67dceaa484df80f245767 SHA512 3ae3a235c582a48c9bc5add7b6bab9417a7ad97cb65afb814c4c94d5bb937b4957ec656d71983bed7b8fcdd91d7e648ce72c181eeca5b4e1cb9522f00246941a WHIRLPOOL eefb41f1aaa39f37398c923d3e5bdee496bfadde4e90513739715b92b98d729d2ac307bb5ef31c92ffde46cfe5ffa4b5252bcd8e1ea9aa2a09586c99ac68e065 diff --git a/dev-libs/elfio/elfio-1.0.3-r1.ebuild b/dev-libs/elfio/elfio-1.0.3-r1.ebuild new file mode 100644 index 000000000000..8deb15fb6f8d --- /dev/null +++ b/dev-libs/elfio/elfio-1.0.3-r1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools + +MY_P="ELFIO-${PV}" +DESCRIPTION="ELF reader and producer implemented as a C++ library" +HOMEPAGE="http://elfio.sourceforge.net/" +SRC_URI="mirror://sourceforge/elfio/${MY_P}.tar.gz" + +S="${WORKDIR}/${MY_P}" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~x86-fbsd" +IUSE="" + +PATCHES=( "${FILESDIR}/${P}-shared.patch" ) + +src_prepare() { + default + eautoreconf +} + +src_install() { + emake DESTDIR="${D}" install + dodoc AUTHORS NEWS README +} diff --git a/dev-libs/elfio/files/elfio-1.0.3-shared.patch b/dev-libs/elfio/files/elfio-1.0.3-shared.patch new file mode 100644 index 000000000000..01e67dfe98bc --- /dev/null +++ b/dev-libs/elfio/files/elfio-1.0.3-shared.patch @@ -0,0 +1,83 @@ +diff -ur ELFIO-1.0.3.orig/configure.in ELFIO-1.0.3/configure.in +--- ELFIO-1.0.3.orig/configure.in 2007-03-06 16:36:26.000000000 +0100 ++++ ELFIO-1.0.3/configure.in 2007-03-06 16:37:08.000000000 +0100 +@@ -7,6 +7,7 @@ + AC_PROG_CXX + AC_PROG_RANLIB + AC_PROG_INSTALL ++AC_PROG_LIBTOOL + + dnl Checks for libraries. + +diff -ur ELFIO-1.0.3.orig/ELFIO/Makefile.am ELFIO-1.0.3/ELFIO/Makefile.am +--- ELFIO-1.0.3.orig/ELFIO/Makefile.am 2007-03-06 16:36:26.000000000 +0100 ++++ ELFIO-1.0.3/ELFIO/Makefile.am 2007-03-06 16:36:45.000000000 +0100 +@@ -1,6 +1,6 @@ +-lib_LIBRARIES = libELFIO.a ++lib_LTLIBRARIES = libELFIO.la + +-libELFIO_a_SOURCES = ELFIDynamic.cpp ELFIImpl.cpp ELFINote.cpp ELFIO.cpp \ ++libELFIO_la_SOURCES = ELFIDynamic.cpp ELFIImpl.cpp ELFINote.cpp ELFIO.cpp \ + ELFIOUtils.cpp ELFIRelocation.cpp ELFISection.cpp \ + ELFISegment.cpp ELFIStrings.cpp ELFISymbols.cpp \ + ELFODynamic.cpp ELFOImpl.cpp ELFONote.cpp \ +@@ -10,4 +10,4 @@ + include_HEADERS = ELFI.h ELFIO.h ELFO.h ELFTypes.h + noinst_HEADERS = ELFIImpl.h ELFOImpl.h ELFIOUtils.h + +-EXTRA_DIST = ELFIO.dsp ELFIO.dsw ELFIO.mcp +\ No newline at end of file ++EXTRA_DIST = ELFIO.dsp ELFIO.dsw ELFIO.mcp +diff -ur ELFIO-1.0.3.orig/Examples/ELFDump/Makefile.am ELFIO-1.0.3/Examples/ELFDump/Makefile.am +--- ELFIO-1.0.3.orig/Examples/ELFDump/Makefile.am 2007-03-06 16:36:26.000000000 +0100 ++++ ELFIO-1.0.3/Examples/ELFDump/Makefile.am 2007-03-06 16:37:51.000000000 +0100 +@@ -3,6 +3,6 @@ + bin_PROGRAMS = ELFDump + + ELFDump_SOURCES = ELFDump.cpp +-ELFDump_LDADD = ../../ELFIO/libELFIO.a ++ELFDump_LDADD = ../../ELFIO/libELFIO.la + + EXTRA_DIST = ELFDump.dsp ELFDump.dsw ELFDump.mcp +diff -ur ELFIO-1.0.3.orig/Examples/RelocationTable/Makefile.am ELFIO-1.0.3/Examples/RelocationTable/Makefile.am +--- ELFIO-1.0.3.orig/Examples/RelocationTable/Makefile.am 2007-03-06 16:36:26.000000000 +0100 ++++ ELFIO-1.0.3/Examples/RelocationTable/Makefile.am 2007-03-06 16:38:53.000000000 +0100 +@@ -3,6 +3,6 @@ + noinst_PROGRAMS = RelocationTable + + RelocationTable_SOURCES = RelocationTable.cpp +-RelocationTable_LDADD = ../../ELFIO/libELFIO.a ++RelocationTable_LDADD = ../../ELFIO/libELFIO.la + + EXTRA_DIST = RelocationTable.mcp +diff -ur ELFIO-1.0.3.orig/Examples/WriteObj/Makefile.am ELFIO-1.0.3/Examples/WriteObj/Makefile.am +--- ELFIO-1.0.3.orig/Examples/WriteObj/Makefile.am 2007-03-06 16:36:26.000000000 +0100 ++++ ELFIO-1.0.3/Examples/WriteObj/Makefile.am 2007-03-06 16:39:28.000000000 +0100 +@@ -3,6 +3,6 @@ + noinst_PROGRAMS = WriteObj + + WriteObj_SOURCES = WriteObj.cpp +-WriteObj_LDADD = ../../ELFIO/libELFIO.a ++WriteObj_LDADD = ../../ELFIO/libELFIO.la + + EXTRA_DIST = WriteObj.dsp WriteObj.dsw WriteObj.mcp +diff -ur ELFIO-1.0.3.orig/Examples/WriteObj2/Makefile.am ELFIO-1.0.3/Examples/WriteObj2/Makefile.am +--- ELFIO-1.0.3.orig/Examples/WriteObj2/Makefile.am 2007-03-06 16:36:26.000000000 +0100 ++++ ELFIO-1.0.3/Examples/WriteObj2/Makefile.am 2007-03-06 16:39:40.000000000 +0100 +@@ -3,4 +3,4 @@ + noinst_PROGRAMS = WriteObj2 + + WriteObj2_SOURCES = WriteObj2.cpp +-WriteObj2_LDADD = ../../ELFIO/libELFIO.a ++WriteObj2_LDADD = ../../ELFIO/libELFIO.la +diff -ur ELFIO-1.0.3.orig/Examples/Writer/Makefile.am ELFIO-1.0.3/Examples/Writer/Makefile.am +--- ELFIO-1.0.3.orig/Examples/Writer/Makefile.am 2007-03-06 16:36:26.000000000 +0100 ++++ ELFIO-1.0.3/Examples/Writer/Makefile.am 2007-03-06 16:39:10.000000000 +0100 +@@ -3,6 +3,6 @@ + noinst_PROGRAMS = Writer + + Writer_SOURCES = Write.cpp +-Writer_LDADD = ../../ELFIO/libELFIO.a ++Writer_LDADD = ../../ELFIO/libELFIO.la + + EXTRA_DIST = Writer.dsp Writer.dsw Writer.mcp diff --git a/dev-libs/elfio/metadata.xml b/dev-libs/elfio/metadata.xml new file mode 100644 index 000000000000..a797d0ae27c5 --- /dev/null +++ b/dev-libs/elfio/metadata.xml @@ -0,0 +1,8 @@ + + + + + + elfio + + diff --git a/dev-libs/elfutils/Manifest b/dev-libs/elfutils/Manifest new file mode 100644 index 000000000000..76ff192d9000 --- /dev/null +++ b/dev-libs/elfutils/Manifest @@ -0,0 +1,9 @@ +AUX elfutils-0.118-PaX-support.patch 962 SHA256 b9cad21c52abb390f370d59e7ff6c9a1289ca6895e3744c47def59a58a95899a SHA512 ce542011f6ea4398455e418a8eae06508407e975e179306ffca5e3e9702583ff9f5e6010ee2e25d098b7f396c361029c932cd0c40ba3d910d9fb60c97f07f50c WHIRLPOOL 37880de537c5814e9b0962e84ac29c4c73b90779428d717f06f911b5fa4bd58d9488c8987d4232bd49e7ead5de1fceca212711c6ebced5b922c5d0be99a33de3 +DIST elfutils-0.169.tar.bz2 8067758 SHA256 9412fac7b30872b738bc1ed1ebcaed54493c26ef9a67887913498c17b10f3bc2 SHA512 0a81a20bb2aff533d035d6b76f1403437b2e11bce390db57e34b8c26e4b9b3150346d83dddcbfbbdc58063f046ca3223508dba35c6ce88e375d201e7a777a8b9 WHIRLPOOL dc4f689b403160272dccb1e306ee3584f6d06156d3318d745bba46f9b4a31a477795223233ffb420b096b1c196aba09492e4ab5803f6150326b48e1045f92e06 +DIST elfutils-0.170.tar.bz2 8358001 SHA256 1f844775576b79bdc9f9c717a50058d08620323c1e935458223a12f249c9e066 SHA512 aca0b5e271138eaf86e36505ffb101181207b151e833e6cd7c18986ac50678542a5ecd2250f8dd6923ca497142f197c8b08fd225e4130b16b6203c24013d6d28 WHIRLPOOL ebb3069aa52e49b7e137c722ac490b12393e0c54656d6d7476193eaa4253b48209e62e4babd4819a52cf5a9f3a1a6f56945eb776f014df9cbd841aa392e94823 +EBUILD elfutils-0.169-r1.ebuild 1807 SHA256 0fd84862c8addb5a992fc57877fc9d44b8be6ebc291c41dcd811bd9b5d015143 SHA512 5ae2adb8d3263555993d269e015985e40a1d979bd65ee3731168455babc0c16169a3c32cbc1ef237db92edca74cb45d50b327721fd11cb5c1ad0a028cc5d1538 WHIRLPOOL fc1b89245f06fe7f8f2edc87cd1b6f776966a37ed2dee7c73d5a118ce004cf3e465fbf5b20149741acb59719d91d31efaf7aeb2457f878caf501daffca7b94d5 +EBUILD elfutils-0.170-r1.ebuild 1814 SHA256 5c144459a9fd201c21327c6fde170dda5f552d300903a97bcc51edb0e3813135 SHA512 f654eeb9082cbfac320a793db6901b1f841c4704986533c3ee676682edba301637cad4ad4a6aba9fc6495d26cf068442c6560d7335222bd4c592fc9b855e5f8a WHIRLPOOL e3b65d323362577785cd5eeec9b8cbe202d3efd12a0383219c522416103f13bcea72d27aa3151abdc7b7d465b5db4fe790b7cadffd9cf0dcf4e53ed57398e066 +EBUILD elfutils-0.170.ebuild 1811 SHA256 a474ad8f68916c754297895e877722211c67db9f817adc508d5b5e41d4b16708 SHA512 c86b7cf333da96fb7704aacf2bb836a42dabfb30d3aec60fcfa524b96ce549607b4ad25aee69f1fde9753cf7b8b82bb4590ed15a2980fc0329be7629476a37d8 WHIRLPOOL 5849559260550b8c2c6e8bb3bc67a0a1584542878da3b37dea3e0e66ec20687ab037ec67f1bc39c37b3c3506ac96b4d2307d103486dc0eeb84bc276e66346571 +MISC ChangeLog 7419 SHA256 ff7c10991450fcb447e0298a86f3904ec9c7cd319d3fda3462147e8ab04401da SHA512 128a43b08a06c627db6b93bd9a06406e019d8f8bc4dc5d72ab90fa7ba2cb72bcb657d4e8ad75036ac86f1cb4f3f6c3aca1272a32ed77ac4ec199f8daa092c449 WHIRLPOOL 82059a04e6b34a90a3df4bf6a2e70a50d80e4b159bfcbbbba404adc96c4cc8e49f2d857558534b4b6ec400c9fe57b7021377a1969b6839b3a64739abdc8b01c5 +MISC ChangeLog-2015 26517 SHA256 61907666b709962af3b2eaf57d8f4d826b63acd7dbf8900bd252a6705d2694e0 SHA512 78e8c72dedef41246c681629f263abcccfee692f6435c07593a979c83842a6fa9561bc4b39029bb557c23769decf154248ca957b99e54f1fbf0e2f79aba6979a WHIRLPOOL f20236de60045698116307ca83f42ff35eb6fe1fd5c956b9962f4fda07aea53e8352a9cdfb810914fbab626135ac94e24d98496132f8c7b9327d933c32a93323 +MISC metadata.xml 536 SHA256 c3a1800d65f3a779757015fa973588785610daa943a0f5781faf854792ef6993 SHA512 ad625d13a4e5411db4423030760ac51dd44e8da599409bff3e5607c02ed158421e90d7cec8c0b4c0228049b975d3c65a7dbebef78eedd7aca700d38612873cac WHIRLPOOL 4f06288344e8654c048b3ed2aaee8353e0f76a1623eb6936564f65954d52247db57903bdc70f50cd7465681887279024bad5ddd6c9d9c4297a17ef758bd1cf43 diff --git a/dev-libs/elfutils/elfutils-0.169-r1.ebuild b/dev-libs/elfutils/elfutils-0.169-r1.ebuild new file mode 100644 index 000000000000..44003a04d5d4 --- /dev/null +++ b/dev-libs/elfutils/elfutils-0.169-r1.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils flag-o-matic multilib-minimal + +DESCRIPTION="Libraries/utilities to handle ELF objects (drop in replacement for libelf)" +HOMEPAGE="http://elfutils.org/" +SRC_URI="https://sourceware.org/elfutils/ftp/${PV}/${P}.tar.bz2" + +LICENSE="|| ( GPL-2+ LGPL-3+ ) utils? ( GPL-3+ )" +SLOT="0" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~amd64-linux ~arm-linux ~x86-linux" +IUSE="bzip2 lzma nls static-libs test +threads +utils" + +RDEPEND=">=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] + bzip2? ( >=app-arch/bzip2-1.0.6-r4[${MULTILIB_USEDEP}] ) + lzma? ( >=app-arch/xz-utils-5.0.5-r1[${MULTILIB_USEDEP}] ) + !dev-libs/libelf" +DEPEND="${RDEPEND} + nls? ( sys-devel/gettext ) + >=sys-devel/flex-2.5.4a + sys-devel/m4" + +src_prepare() { + default + epatch "${FILESDIR}"/${PN}-0.118-PaX-support.patch + if use static-libs; then + sed -i -e '/^lib_LIBRARIES/s:=.*:=:' -e '/^%.os/s:%.o$::' lib{asm,dw,elf}/Makefile.in || die + fi + sed -i 's:-Werror::' */Makefile.in || die +} + +src_configure() { + use test && append-flags -g #407135 + multilib-minimal_src_configure +} + +multilib_src_configure() { + ECONF_SOURCE="${S}" econf \ + $(use_enable nls) \ + $(use_enable threads thread-safety) \ + --program-prefix="eu-" \ + --with-zlib \ + $(use_with bzip2 bzlib) \ + $(use_with lzma) +} + +multilib_src_test() { + env LD_LIBRARY_PATH="${BUILD_DIR}/libelf:${BUILD_DIR}/libebl:${BUILD_DIR}/libdw:${BUILD_DIR}/libasm" \ + LC_ALL="C" \ + emake check +} + +multilib_src_install_all() { + einstalldocs + dodoc NOTES + # These build quick, and are needed for most tests, so don't + # disable their building when the USE flag is disabled. + if ! use utils; then + rm -rf "${ED}"/usr/bin || die + fi +} diff --git a/dev-libs/elfutils/elfutils-0.170-r1.ebuild b/dev-libs/elfutils/elfutils-0.170-r1.ebuild new file mode 100644 index 000000000000..f0c1ce90462d --- /dev/null +++ b/dev-libs/elfutils/elfutils-0.170-r1.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit flag-o-matic multilib-minimal + +DESCRIPTION="Libraries/utilities to handle ELF objects (drop in replacement for libelf)" +HOMEPAGE="http://elfutils.org/" +SRC_URI="https://sourceware.org/elfutils/ftp/${PV}/${P}.tar.bz2" + +LICENSE="|| ( GPL-2+ LGPL-3+ ) utils? ( GPL-3+ )" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux" +IUSE="bzip2 lzma nls static-libs test +threads +utils" + +RDEPEND=">=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] + bzip2? ( >=app-arch/bzip2-1.0.6-r4[${MULTILIB_USEDEP}] ) + lzma? ( >=app-arch/xz-utils-5.0.5-r1[${MULTILIB_USEDEP}] ) + !dev-libs/libelf" +DEPEND="${RDEPEND} + nls? ( sys-devel/gettext ) + >=sys-devel/flex-2.5.4a + sys-devel/m4" + +PATCHES=("${FILESDIR}"/${PN}-0.118-PaX-support.patch) + +src_prepare() { + default + + if ! use static-libs; then + sed -i -e '/^lib_LIBRARIES/s:=.*:=:' -e '/^%.os/s:%.o$::' lib{asm,dw,elf}/Makefile.in || die + fi + sed -i 's:-Werror::' */Makefile.in || die +} + +src_configure() { + use test && append-flags -g #407135 + multilib-minimal_src_configure +} + +multilib_src_configure() { + ECONF_SOURCE="${S}" econf \ + $(use_enable nls) \ + $(use_enable threads thread-safety) \ + --program-prefix="eu-" \ + --with-zlib \ + $(use_with bzip2 bzlib) \ + $(use_with lzma) +} + +multilib_src_test() { + env LD_LIBRARY_PATH="${BUILD_DIR}/libelf:${BUILD_DIR}/libebl:${BUILD_DIR}/libdw:${BUILD_DIR}/libasm" \ + LC_ALL="C" \ + emake check +} + +multilib_src_install_all() { + einstalldocs + dodoc NOTES + # These build quick, and are needed for most tests, so don't + # disable their building when the USE flag is disabled. + if ! use utils; then + rm -rf "${ED}"/usr/bin || die + fi +} diff --git a/dev-libs/elfutils/elfutils-0.170.ebuild b/dev-libs/elfutils/elfutils-0.170.ebuild new file mode 100644 index 000000000000..5172c44eb917 --- /dev/null +++ b/dev-libs/elfutils/elfutils-0.170.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit flag-o-matic multilib-minimal + +DESCRIPTION="Libraries/utilities to handle ELF objects (drop in replacement for libelf)" +HOMEPAGE="http://elfutils.org/" +SRC_URI="https://sourceware.org/elfutils/ftp/${PV}/${P}.tar.bz2" + +LICENSE="|| ( GPL-2+ LGPL-3+ ) utils? ( GPL-3+ )" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux" +IUSE="bzip2 lzma nls static-libs test +threads +utils" + +RDEPEND=">=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] + bzip2? ( >=app-arch/bzip2-1.0.6-r4[${MULTILIB_USEDEP}] ) + lzma? ( >=app-arch/xz-utils-5.0.5-r1[${MULTILIB_USEDEP}] ) + !dev-libs/libelf" +DEPEND="${RDEPEND} + nls? ( sys-devel/gettext ) + >=sys-devel/flex-2.5.4a + sys-devel/m4" + +PATCHES=("${FILESDIR}"/${PN}-0.118-PaX-support.patch) + +src_prepare() { + default + + if use static-libs; then + sed -i -e '/^lib_LIBRARIES/s:=.*:=:' -e '/^%.os/s:%.o$::' lib{asm,dw,elf}/Makefile.in || die + fi + sed -i 's:-Werror::' */Makefile.in || die +} + +src_configure() { + use test && append-flags -g #407135 + multilib-minimal_src_configure +} + +multilib_src_configure() { + ECONF_SOURCE="${S}" econf \ + $(use_enable nls) \ + $(use_enable threads thread-safety) \ + --program-prefix="eu-" \ + --with-zlib \ + $(use_with bzip2 bzlib) \ + $(use_with lzma) +} + +multilib_src_test() { + env LD_LIBRARY_PATH="${BUILD_DIR}/libelf:${BUILD_DIR}/libebl:${BUILD_DIR}/libdw:${BUILD_DIR}/libasm" \ + LC_ALL="C" \ + emake check +} + +multilib_src_install_all() { + einstalldocs + dodoc NOTES + # These build quick, and are needed for most tests, so don't + # disable their building when the USE flag is disabled. + if ! use utils; then + rm -rf "${ED}"/usr/bin || die + fi +} diff --git a/dev-libs/elfutils/files/elfutils-0.118-PaX-support.patch b/dev-libs/elfutils/files/elfutils-0.118-PaX-support.patch new file mode 100644 index 000000000000..0ae359fe7dbb --- /dev/null +++ b/dev-libs/elfutils/files/elfutils-0.118-PaX-support.patch @@ -0,0 +1,26 @@ +Add support for PaX ELF markings + +Patch by Kevin F. Quinn + +http://bugs.gentoo.org/115100 + +--- a/libelf/elf.h ++++ b/libelf/elf.h +@@ -568,6 +568,7 @@ + #define PT_GNU_EH_FRAME 0x6474e550 /* GCC .eh_frame_hdr segment */ + #define PT_GNU_STACK 0x6474e551 /* Indicates stack executability */ + #define PT_GNU_RELRO 0x6474e552 /* Read-only after relocation */ ++#define PT_PAX_FLAGS 0x65041580 /* Indicates PaX flag markings */ + #define PT_LOSUNW 0x6ffffffa + #define PT_SUNWBSS 0x6ffffffa /* Sun Specific segment */ + #define PT_SUNWSTACK 0x6ffffffb /* Stack segment */ +--- a/src/elflint.c ++++ b/src/elflint.c +@@ -3187,6 +3187,7 @@ + + if (phdr->p_type >= PT_NUM && phdr->p_type != PT_GNU_EH_FRAME + && phdr->p_type != PT_GNU_STACK && phdr->p_type != PT_GNU_RELRO ++ && phdr->p_type != PT_PAX_FLAGS + /* Check for a known machine-specific type. */ + && ebl_segment_type_name (ebl, phdr->p_type, NULL, 0) == NULL) + ERROR (gettext ("\ diff --git a/dev-libs/elfutils/metadata.xml b/dev-libs/elfutils/metadata.xml new file mode 100644 index 000000000000..14c09d810f33 --- /dev/null +++ b/dev-libs/elfutils/metadata.xml @@ -0,0 +1,13 @@ + + + + + toolchain@gentoo.org + Gentoo Toolchain Project + + + Support automatic decompression of LZMA-compressed files and kernel images + Build the libraries with thread safe support + Install command-line utilities (all the eu-* programs) + + diff --git a/dev-libs/eventlog/Manifest b/dev-libs/eventlog/Manifest new file mode 100644 index 000000000000..3a67b25b25bc --- /dev/null +++ b/dev-libs/eventlog/Manifest @@ -0,0 +1,5 @@ +DIST eventlog_0.2.12.tar.gz 303925 SHA256 494dac8e01dc5ce323df2ad554d94874938dab51aa025987677b2bc6906a9c66 SHA512 a681ab2961f5bf38e106a5b0b4492e74098808e2bf1a100f545736902649c705db124c0847796a47485faa8b0befe691a789d752f313c5b65ad50ed2763d2cce WHIRLPOOL eb064beb7ec0e2c1dc48470aa74e9982d8b413c4382dfd636bfae206af77478dc8f4dd5614e5e8415a171cd465b18e696162a445a35489e46256650dcc1ca989 +EBUILD eventlog-0.2.12.ebuild 676 SHA256 7bfe613d230c20a9987b3cc18d7967ff4f2ba8dbf7f7dbd20b2678e665023761 SHA512 d0085e0fcb8d2e682b9999608badc326a54ec6dc6ebd2e55f047cbe681f44d9f0aabe12407f752cd3b37bceccdb33432e6a3835ac1ccece63d8cae7bb6108446 WHIRLPOOL e96579008b016e1171c0381d94b2904ec8e64886c361886695211f67abce10fb5857603c27342394eb936bfe997b55862b0a4e73bd34ef7d9bb09634d6bb6a22 +MISC ChangeLog 2181 SHA256 30849e70ba0957cb258eeb0b1c3f666b6eaae7898a10b37dd62d8b5ac079644f SHA512 76bcf144935157d40625f7bc901483e69924c82324c6ab9f68f66fa678a82a063b8ba920a30872cf243e8d757861b874523f3764cad05313b55357754816ff3f WHIRLPOOL 027dad1973ec5bb0d7fbaf9d87209560a05b348f06cdef37af1be8bdb8c36ee4ce5e9476847e7218700406c37165ce66290f4e67ae29ace336df7d9abd7c5904 +MISC ChangeLog-2015 6123 SHA256 f790ed9ba58db48f64345f9b70e23d54544596d5fae9fb5de1bbe983fca10941 SHA512 5332d6944a75af21deef1468721cda74db92726a0c83556563377340bf2ebe17e4c2099bc61e0da93f77d6017afcae16d0945da351b2b71d078d7157c72d9b3e WHIRLPOOL f0f4e51c281172603375c10ef6265c4d781589ffbb136b8307e3e139f80eab9de40efa83f9a2ac06b6956304231043a962b2c59e25e5df017e03330c419fa7ce +MISC metadata.xml 250 SHA256 330593b7301a7ca7544565eb8afc55f987da35d67b47277636e8a5df6d5db8cb SHA512 557d17c3ccb474a7fc5f8a3becba76a3e98a5b17ee00d1fa639713c12cfaed2e88800f726d289a2c4156f806c9b0e938e2256a3544c63fecc8484aa764d1ed79 WHIRLPOOL 394eeaa2e9f5d86ef1e498b1f775976c05c5748d7065addb3c384830e92ce812c5d2ede3141434ddc4d2fb3cebe7b14bf9be0cd0dc5259966e1256d66546206b diff --git a/dev-libs/eventlog/eventlog-0.2.12.ebuild b/dev-libs/eventlog/eventlog-0.2.12.ebuild new file mode 100644 index 000000000000..303e1a09d93f --- /dev/null +++ b/dev-libs/eventlog/eventlog-0.2.12.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit libtool eutils + +DESCRIPTION="Support library for syslog-ng" +HOMEPAGE="http://www.balabit.com/products/syslog_ng/" +SRC_URI="http://www.balabit.com/downloads/files/eventlog/0.2//eventlog_${PV}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~m68k-mint" +IUSE="static-libs" + +DEPEND="" + +src_prepare() { + elibtoolize +} + +src_configure() { + econf $(use_enable static-libs static) +} + +src_install() { + DOCS="AUTHORS CREDITS ChangeLog NEWS PORTS README" \ + default + prune_libtool_files +} diff --git a/dev-libs/eventlog/metadata.xml b/dev-libs/eventlog/metadata.xml new file mode 100644 index 000000000000..507265b7974d --- /dev/null +++ b/dev-libs/eventlog/metadata.xml @@ -0,0 +1,8 @@ + + + + + mr_bones_@gentoo.org + Michael Sterrett + + diff --git a/dev-libs/expat/Manifest b/dev-libs/expat/Manifest new file mode 100644 index 000000000000..f278c9de3e72 --- /dev/null +++ b/dev-libs/expat/Manifest @@ -0,0 +1,10 @@ +AUX expat-2.2.1-gentoo-dash.patch 1346 SHA256 9450d877ec75345a2ce09f9119ac732421dc16310346d3c94858aefa7fb315cd SHA512 692fe6f8c99bce93d883c8764c904561a32114c8e4908658b32b04911467d9b1348b99c6d3ada7cbc6f9c72f15732bd9617c114a8b6994c3dc300d970e0b5d81 WHIRLPOOL 9792916ba8b28034fc833b37dade489d19dc92d912685c907e6586577c8ac17ff55bc051efb9ba6519e244c7395d831c461d56c622ea4730338a687beb4cba51 +AUX expat-2.2.1-getrandom-detection.patch 807 SHA256 6b52907317b8495bd06c538bb2609e8fc0423604a13cfb03478626be49705a1a SHA512 3399e097b66d9afc009fdc9f5fcdf8326f4b69dd72edf352b920e1ac1172e784aeb534ca4da256b2e30a276c6e4990820d5e48563fcac580f7a335ac80a8250b WHIRLPOOL 44b4e2460e0a2e52fa32634946647c9374a3301f794d5f6483f623279e4537f1fffb4ac2d950f8a615577d618b9c9846920c96701f46861b812832fe54123829 +AUX expat-2.2.1-posix-shell.patch 1039 SHA256 30f05e3193299d4481e6996131dc03607ba9b0c189c20b26eba2def2cdb334df SHA512 7d8d293c90548ed6e622bdf7eff6ff3beda97ec9d7b0fea67fbf7c2b185575195325e26662e05886c9fcf4067aaa93533d05d48951c46e803a5215ca6c34b0c1 WHIRLPOOL 1c277239b78971fc25b46961f5361b5e88bf5a2f3f823508e3ecd17b981ec7c530e050f0aa05292abdd347dfa815d2a3c7670a616e9294eeeb37718be85cf1ed +DIST expat-2.2.1.tar.bz2 405441 SHA256 1868cadae4c82a018e361e2b2091de103cd820aaacb0d6cfa49bd2cd83978885 SHA512 74089b55872df16f214a4baba0143e6353736dfa34063391293bb2760aa3e5118d9ccb3592e07c74c9d52a2a5b91496e15153f28214c4c01242d95b3019b67ea WHIRLPOOL f571ee00d43813c20d81d02d5d25f3fd4fdec3ec5a6aa331a965b4373ca681053e4e66d22fed4523f9a207333b80eb5e63c78d2e36e0c2b5a64ad1c38b0fe38a +DIST expat-2.2.4.tar.bz2 505038 SHA256 03ad85db965f8ab2d27328abcf0bc5571af6ec0a414874b2066ee3fdd372019e SHA512 788249e2c6edf8521c4a99830fd5e51a55c062b834516f6775759cd71accf6375f12d3bd38f8b069777d081a4380b9549049921386ca0cb4b9b9daa4861d6592 WHIRLPOOL 77e62bca8da807e3175b05d121fd59b22b0018e57a3a82863794a220db49dfd2ff08f9463c2d319633e3aa4bb183347d1d43ed0d8baf0a65c97e893147123984 +EBUILD expat-2.2.1.ebuild 2361 SHA256 ab687a53f68ebd56d8b812690f614f61cb4b58440450f9cd5cac0db4a9d738ad SHA512 413b086b98f14b370ac4234d7e55d631c17d1a8191f53067d89626e9b85f1187019d70581aa45912cdb518fa93b4fe82768ab7109c9e9c9083c81c62a004416f WHIRLPOOL 0f334fde26d6a7aa31584d4646e90d66ed9825436fb09e156f2109d615ae713445354a1aa3efd4d1f47609e6d39da04666894d122cab1fec5b539555dcfb1bce +EBUILD expat-2.2.4.ebuild 2550 SHA256 9bee4fa99dae7f74c123a3541aeef1a4cd491dafdc228e1fbdc336f1af67cc71 SHA512 4cf005511f819146e0276b9f0df9b6c7d3261d38010a369c4b56b005c02115dff894d6c86ff2fb2e66bb1c4cbefed40e6ab862f5f17c3c0a60e5b6ed30735d4d WHIRLPOOL 8f09452359571218e8dce89888853d1dbb6c2b895b06138441fc4b4b21c39d0a47e70b6b4a87abb93fe7dbe4289576f18d02406ee20b33ff803f2dbea001e80c +MISC ChangeLog 8649 SHA256 59edba0a9eb652e75e3d6cdc1777d0fda8596358059bfd800278d2d05182943c SHA512 04b3b043f2c0ee716bb38950f106d54c17d3c6e77edfabd48432c7b8bc53fa32f306b411a82c090587a0f97e28452eb225de9dca0a885f3364f16db4470cbf4e WHIRLPOOL 7a463e3cab59777b18ac8bf9fcf24dd644a4d8654e90aa3dd4edda84339ff059216eb7b935fced84be73729f41540500c8bf74b0fb1675ea8e345cc27a77b523 +MISC ChangeLog-2015 23846 SHA256 b3def05f3722d69bced3909610d042a4014f2ea76ec73e754b8d0d47911fe595 SHA512 a7ec156a1bba3a2dd68c3b27838ce67f1a6dbeb1b928d788f18c23d169af0129a68c1e42cac4aeeef323a0e12869e6fd9209f96c1865e2624d84a06af4f0455c WHIRLPOOL 31fec33870b640ab06e9c8556c3fed405f29c3a6907319e18665a9f7ac751fdc4c980f23192a86da602bba39ac9a83a696e500fd36d301c712c0d49fa02d4018 +MISC metadata.xml 513 SHA256 1fa2d32af3480d18801983f2dd4b6bd82f1339b2109dbc9e4d99d117c6b2eaa5 SHA512 8683789b6958547b10ac2d225eb59314feb942e5762308ec17704d9ade28b25b528e8df697892b0e090ecd6830c0ef8d64b1da05337b7878731e6df82abcc2a3 WHIRLPOOL 915ee8c1312962dddd6915985bb1e745adaa2a27b614fd7883cede092d5d9893afed2c17a03fb7618326db1b7e9cacde62c02c0506e16c8cf619476b0302797c diff --git a/dev-libs/expat/expat-2.2.1.ebuild b/dev-libs/expat/expat-2.2.1.ebuild new file mode 100644 index 000000000000..d5f190aaaa5b --- /dev/null +++ b/dev-libs/expat/expat-2.2.1.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit autotools eutils libtool multilib toolchain-funcs multilib-minimal + +DESCRIPTION="Stream-oriented XML parser library" +HOMEPAGE="https://libexpat.github.io/" +SRC_URI="mirror://sourceforge/expat/${P}.tar.bz2" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" +IUSE="elibc_FreeBSD examples static-libs unicode" +RDEPEND="abi_x86_32? ( !<=app-emulation/emul-linux-x86-baselibs-20130224-r6 + !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] )" + +DOCS=( AUTHORS Changes README ) + +src_prepare() { + epatch "${FILESDIR}"/${P}-getrandom-detection.patch + epatch "${FILESDIR}"/${P}-posix-shell.patch + epatch "${FILESDIR}"/${P}-gentoo-dash.patch # bug 622360 + eapply_user + eautoreconf +} + +multilib_src_configure() { + local myconf="$(use_enable static-libs static)" + + mkdir -p "${BUILD_DIR}"{u,w} || die + + ECONF_SOURCE="${S}" econf ${myconf} + + if use unicode; then + pushd "${BUILD_DIR}"w >/dev/null + CPPFLAGS="${CPPFLAGS} -DXML_UNICODE" ECONF_SOURCE="${S}" econf ${myconf} + popd >/dev/null + fi +} + +multilib_src_compile() { + emake + + if use unicode; then + pushd "${BUILD_DIR}"w >/dev/null + emake buildlib LIBRARY=libexpatw.la + popd >/dev/null + fi +} + +multilib_src_install() { + emake install DESTDIR="${D}" + + if use unicode; then + pushd "${BUILD_DIR}"w >/dev/null + emake installlib DESTDIR="${D}" LIBRARY=libexpatw.la + popd >/dev/null + + pushd "${ED}"/usr/$(get_libdir)/pkgconfig >/dev/null + cp expat.pc expatw.pc + sed -i -e '/^Libs/s:-lexpat:&w:' expatw.pc || die + popd >/dev/null + fi + + if multilib_is_native_abi ; then + # libgeom in /lib and ifconfig in /sbin require libexpat on FreeBSD since + # we stripped the libbsdxml copy starting from freebsd-lib-8.2-r1 + use elibc_FreeBSD && gen_usr_ldscript -a expat + fi +} + +multilib_src_install_all() { + einstalldocs + + # Note: Use of HTML_DOCS would add unwanted "doc" subfolder + docinto html + dodoc doc/*.{css,html,png} + + if use examples; then + insinto /usr/share/doc/${PF}/examples + doins examples/*.c + fi + + prune_libtool_files +} diff --git a/dev-libs/expat/expat-2.2.4.ebuild b/dev-libs/expat/expat-2.2.4.ebuild new file mode 100644 index 000000000000..54b4485b3fc8 --- /dev/null +++ b/dev-libs/expat/expat-2.2.4.ebuild @@ -0,0 +1,97 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit autotools eutils libtool multilib toolchain-funcs multilib-minimal + +DESCRIPTION="Stream-oriented XML parser library" +HOMEPAGE="https://libexpat.github.io/" +SRC_URI="mirror://sourceforge/expat/${P}.tar.bz2" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" +IUSE="elibc_FreeBSD examples static-libs unicode" +DEPEND="unicode? ( ${AUTOTOOLS_DEPEND} )" +RDEPEND="abi_x86_32? ( !<=app-emulation/emul-linux-x86-baselibs-20130224-r6 + !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] )" + +DOCS=( README.md ) + +src_prepare() { + eapply_user + + # fix interpreter to be a recent/good shell + sed -i -e "1s:/bin/sh:${BASH}:" conftools/get-version.sh || die + if use unicode; then + cp -R "${S}" "${S}"w || die + pushd "${S}"w >/dev/null + find -name Makefile.am \ + -exec sed \ + -e 's,libexpat\.la,libexpatw.la,' \ + -e 's,libexpat_la,libexpatw_la,' \ + -i {} + || die + eautoreconf + popd >/dev/null + fi +} + +multilib_src_configure() { + local myconf="$(use_enable static-libs static)" + + mkdir -p "${BUILD_DIR}"w || die + + if use unicode; then + pushd "${BUILD_DIR}"w >/dev/null + CPPFLAGS="${CPPFLAGS} -DXML_UNICODE" ECONF_SOURCE="${S}"w econf ${myconf} + popd >/dev/null + fi + + ECONF_SOURCE="${S}" econf ${myconf} +} + +multilib_src_compile() { + emake + + if use unicode; then + pushd "${BUILD_DIR}"w >/dev/null + emake -C lib + popd >/dev/null + fi +} + +multilib_src_install() { + emake install DESTDIR="${D}" + + if use unicode; then + pushd "${BUILD_DIR}"w >/dev/null + emake -C lib install DESTDIR="${D}" + popd >/dev/null + + pushd "${ED}"/usr/$(get_libdir)/pkgconfig >/dev/null + cp expat.pc expatw.pc + sed -i -e '/^Libs/s:-lexpat:&w:' expatw.pc || die + popd >/dev/null + fi + + if multilib_is_native_abi ; then + # libgeom in /lib and ifconfig in /sbin require libexpat on FreeBSD since + # we stripped the libbsdxml copy starting from freebsd-lib-8.2-r1 + use elibc_FreeBSD && gen_usr_ldscript -a expat + fi +} + +multilib_src_install_all() { + einstalldocs + + # Note: Use of HTML_DOCS would add unwanted "doc" subfolder + docinto html + dodoc doc/*.{css,html,png} + + if use examples; then + insinto /usr/share/doc/${PF}/examples + doins examples/*.c + fi + + prune_libtool_files +} diff --git a/dev-libs/expat/files/expat-2.2.1-gentoo-dash.patch b/dev-libs/expat/files/expat-2.2.1-gentoo-dash.patch new file mode 100644 index 000000000000..a0eb60ce6cc0 --- /dev/null +++ b/dev-libs/expat/files/expat-2.2.1-gentoo-dash.patch @@ -0,0 +1,31 @@ +From 9502963fd2e84ac529950f3a6f4173d86b93b5d2 Mon Sep 17 00:00:00 2001 +From: Kerin Millar +Date: Thu, 29 Jun 2017 16:51:18 +0100 +Subject: [PATCH] conftools/get-version.sh: Use printf rather than try to infer + non-portable echo options + +--- + expat/conftools/get-version.sh | 13 +------------ + 1 file changed, 1 insertion(+), 12 deletions(-) + +diff --git a/expat/conftools/get-version.sh b/expat/conftools/get-version.sh +index a70e0fb..91e5c64 100755 +--- a/expat/conftools/get-version.sh ++++ b/expat/conftools/get-version.sh +@@ -32,15 +32,4 @@ MAJOR_VERSION="`sed -n -e '/MAJOR_VERSION/s/[^0-9]*//gp' $hdr`" + MINOR_VERSION="`sed -n -e '/MINOR_VERSION/s/[^0-9]*//gp' $hdr`" + MICRO_VERSION="`sed -n -e '/MICRO_VERSION/s/[^0-9]*//gp' $hdr`" + +-# Determine how to tell echo not to print the trailing \n. This is +-# similar to Autoconf's @ECHO_C@ and @ECHO_N@; however, we don't +-# generate this file via autoconf (in fact, get-version.sh is used +-# to *create* ./configure), so we just do something similar inline. +-case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in +- *c*,-n*) ECHO_N= ECHO_C=' +-' ;; +- *c*,* ) ECHO_N=-n ECHO_C= ;; +- *) ECHO_N= ECHO_C='\c' ;; +-esac +- +-echo $ECHO_N "$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$ECHO_C" ++printf '%s.%s.%s' "$MAJOR_VERSION" "$MINOR_VERSION" "$MICRO_VERSION" diff --git a/dev-libs/expat/files/expat-2.2.1-getrandom-detection.patch b/dev-libs/expat/files/expat-2.2.1-getrandom-detection.patch new file mode 100644 index 000000000000..eba004843db6 --- /dev/null +++ b/dev-libs/expat/files/expat-2.2.1-getrandom-detection.patch @@ -0,0 +1,24 @@ +From 602e6c78ca750c082b72f8cdf4a38839b312959f Mon Sep 17 00:00:00 2001 +From: Sebastian Pipping +Date: Sun, 18 Jun 2017 18:55:10 +0200 +Subject: [PATCH] configure.ac: Fix mis-detection of getrandom on Debian + GNU/kFreeBSD (#50) + +There is no such thing but we need to link (not just compile) to realize. +--- + expat/configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/expat/configure.ac b/expat/configure.ac +index 1357c9a..444c002 100644 +--- a/expat/configure.ac ++++ b/expat/configure.ac +@@ -130,7 +130,7 @@ AC_LINK_IFELSE([AC_LANG_SOURCE([ + + + AC_MSG_CHECKING([for getrandom (Linux 3.17+, glibc 2.25+)]) +-AC_COMPILE_IFELSE([AC_LANG_SOURCE([ ++AC_LINK_IFELSE([AC_LANG_SOURCE([ + #include /* for NULL */ + #include + int main() { diff --git a/dev-libs/expat/files/expat-2.2.1-posix-shell.patch b/dev-libs/expat/files/expat-2.2.1-posix-shell.patch new file mode 100644 index 000000000000..3f34d0d9853b --- /dev/null +++ b/dev-libs/expat/files/expat-2.2.1-posix-shell.patch @@ -0,0 +1,26 @@ +From e5e25fac1698d9ea8dbb2e51c18d1072254b5f4b Mon Sep 17 00:00:00 2001 +From: spzeidler +Date: Sun, 18 Jun 2017 14:30:22 +0200 +Subject: [PATCH] Fix sh syntax in configure.ac (#49) + +The old '==' sh-is-not-C issue +It doesn't matter in bash, but some other sh don't like it, so it's a portability issue +--- + expat/configure.ac | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/expat/configure.ac b/expat/configure.ac +index e48c32e..1357c9a 100644 +--- a/expat/configure.ac ++++ b/expat/configure.ac +@@ -220,8 +220,8 @@ AS_HELP_STRING([--disable-xml-context], + [Do not retain context around the current parse point]), + [enable_xml_context=${enableval}]) + AS_IF([test "x${enable_xml_context}" != "xno"], [ +- AS_IF([test "x${enable_xml_context}" == "xyes" \ +- -o "x${enable_xml_context}" == "x"], [ ++ AS_IF([test "x${enable_xml_context}" = "xyes" \ ++ -o "x${enable_xml_context}" = "x"], [ + enable_xml_context=1024 + ]) + AC_DEFINE_UNQUOTED([XML_CONTEXT_BYTES], [${enable_xml_context}], diff --git a/dev-libs/expat/metadata.xml b/dev-libs/expat/metadata.xml new file mode 100644 index 000000000000..173bc1d11186 --- /dev/null +++ b/dev-libs/expat/metadata.xml @@ -0,0 +1,16 @@ + + + + + freedesktop-bugs@gentoo.org + Gentoo Freedesktop Project + + + sping@gentoo.org + Sebastian Pipping + + + cpe:/a:libexpat:expat + expat + + diff --git a/dev-libs/fampp2/Manifest b/dev-libs/fampp2/Manifest new file mode 100644 index 000000000000..99199b446697 --- /dev/null +++ b/dev-libs/fampp2/Manifest @@ -0,0 +1,8 @@ +AUX fampp2-7.0.1-fix-buildsystem.patch 1882 SHA256 ada43a1061aabfee9568103ca07b8b580f04d7a0716a2f75870cde96fe3027fd SHA512 00241839c238d772803dc095e1eaa81eadf9451f2c8a783d4d5acbcaa82b755d00e6ec6bdb2a6e621427e10a0f0674d92186b58bb28a708c3f714200b626caa4 WHIRLPOOL 7ea7e85917793da967449c2a4d5fd87a141fdc379f84ac6263ddc3d142f6b4bb9329f54f9fc41552689d4fb6857c9aa0717ca9be1aba66d44a3edbf792ea6325 +AUX fampp2-7.0.1-fix-gcc6.patch 1514 SHA256 49c63d66280f80d565b374ef9dd9ad0305800a2f6cce0862c6e6bd250cbc750c SHA512 2c41ecae31cb6bb5df861cd56f0898e9dcf4f5d71f1b25462989548847e4bf7b0f96dc1b53a139dc6b72a251e283e2e7f540dd751f045bc06061193f4b4787cb WHIRLPOOL baaf816084e32243c9b515a426da9c986ac9cb26519e00c040814e5394af5ad3e5d525974816a40b09630d9c329d2f878207236069ef7ab8078f02a131d1ff07 +AUX fampp2-7.0.1-libsigc++-2.6.patch 1041 SHA256 9476c03c01309569874e7e8e4b6b564d76e49e27cd4599561556b86b165515b1 SHA512 6139c238551b4dd8396ed7df23353245b7668a27c109da3f720acc582d6b08d0b6f3227924ea8ca4c101706eae9036aa84f7f5ecd91c41f0f54d700a73a49b55 WHIRLPOOL d2b48a3d118f73231531ccfde3d079a847a38c5d2fbfd8c3c0ad0b832c67718a5d6c1266b05e83a7abc8704354de8ca0b7cd5da16b9201e7678820b4818462d0 +DIST fampp2-7.0.1.tar.bz2 288073 SHA256 2bfcc28755dbec832b395bad63b8cf40896b0d4bfbca02c57477a164ca2f0244 SHA512 317a5cfd383418265cafea0840af8b7c714a04b34265ebfba73230ff2492df8f7884797529916693ab489bdbc94799ca83e015cf0bcfffaea6b28b3a7f9ccbd0 WHIRLPOOL 513b6c9f42f9fdacb089079420212d5f79394aec339061d5edd0e7faa34e0b20f33ae98258771a9d60f958683f8bdb6cedae4cd1067f76266f7ee79053b0d9a7 +EBUILD fampp2-7.0.1-r3.ebuild 1234 SHA256 c5cee9fbac36a31abafe16965b03f0cb57698d1aa526ff28bb696597fda5a5f7 SHA512 51f1696cf3eb0e5efde0bfa586e0f6e99afb2b06ec1beaa4f9d222ffc92655dcea14e1a5e3feaa6a4cd4097d6f764e06a155dac739971ff3debf66b2daefc789 WHIRLPOOL 93fea74dd1e83164d9e1021ecba302bfa9ff31f54fba6331bfa382b5a38bd4c1e80c95f6e988c720e62370c6c339d362ed62d4ae6e1fa464b6e534fbd313c275 +MISC ChangeLog 3759 SHA256 c168490a0c0b9c99f9c517e070ca70cc6b7e3a1b35751b5bf8416d44687f8d14 SHA512 bf1a987c530ddf98c095d02e0b0394f85ab1a74ed869865eee4678651770075452845f4809f22f657ab6f2d0dbbf4cbb3d88f9d3a11de71212881f60107214a9 WHIRLPOOL 85c056f702f81fa73ba20a4821202c7aecdf69eadd7b8082592c5f25969daac476c36a7309afeefb3f34838881d26e17aca641dfffe166c48bb017766c46d0de +MISC ChangeLog-2015 1476 SHA256 13b5de15344dbff68824b25ab33785cb3673556469f58eeafe8c80a65921fe71 SHA512 38f22ff6d498407777e13850458007e2ca508ac0fa1f4e9a6a2bf13ad97a636ad5115effff56f7f997bcdad2c01277086e791686d9a4098af7f86e4a9b042a5f WHIRLPOOL 9fd08c6f2dc4580a9af71b7d750d90d7b02801bb21e06c2bf6f27951b8fb10b78e4ad8906a12aec927646c27f4919469c6b41664cc1323968af0e02d58a33b0b +MISC metadata.xml 324 SHA256 0000da52b593821a16fec8c69b259c8fcef706ca184ad905f702de0943a3485e SHA512 c87cbdc39f88103e6ebb534a0c65a3ea4ae784a198a5286c7d43d935386588a7900e27894b9f6d552fd199b4c4fc2fa7daad7624145976cc8c82f61ddd327fc0 WHIRLPOOL 56abfba3521a70e43caa7743790956cdbe2d1d68f62bf8546d32ba82f119a0eddc1cf41e4f5f214a5fc5dd0372ef122362406aa2a79094d8ee741bf0b6ff05c8 diff --git a/dev-libs/fampp2/fampp2-7.0.1-r3.ebuild b/dev-libs/fampp2/fampp2-7.0.1-r3.ebuild new file mode 100644 index 000000000000..7854cb30ecee --- /dev/null +++ b/dev-libs/fampp2/fampp2-7.0.1-r3.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools flag-o-matic + +DESCRIPTION="C++ wrapper for fam" +HOMEPAGE="https://sourceforge.net/projects/fampp/" +SRC_URI="mirror://sourceforge/fampp/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples" + +RDEPEND=" + >=dev-libs/ferrisloki-2.0.3 + dev-libs/glib:2 + >=dev-libs/libsigc++-2.6:2 + virtual/fam + x11-libs/gtk+:2" +DEPEND="${DEPEND} + virtual/pkgconfig" + +PATCHES=( + # Fix compat with libsigc++-2.6, #569700 + "${FILESDIR}/${PN}-7.0.1-libsigc++-2.6.patch" + # Fix completely broken buildsystem + "${FILESDIR}/${PN}-7.0.1-fix-buildsystem.patch" + # Fix noexcept(true) for dtors in >=C++11 with GCC 6, #595308 + "${FILESDIR}/${PN}-7.0.1-fix-gcc6.patch" +) + +src_prepare() { + default + mv configure.{in,ac} || die + eautoreconf +} + +src_configure() { + # libsigc++-2.6 requires building with C++11 + append-cxxflags -std=c++11 + + # glib and gtk+ are only required for some examples + econf \ + --disable-static \ + --disable-glibtest \ + --disable-gtktest \ + --disable-stlport \ + $(use_with examples) +} + +src_install() { + default + + # package provides .pc files + find "${D}" -name '*.la' -delete || die +} diff --git a/dev-libs/fampp2/files/fampp2-7.0.1-fix-buildsystem.patch b/dev-libs/fampp2/files/fampp2-7.0.1-fix-buildsystem.patch new file mode 100644 index 000000000000..34067ff1f539 --- /dev/null +++ b/dev-libs/fampp2/files/fampp2-7.0.1-fix-buildsystem.patch @@ -0,0 +1,78 @@ +Fix buildsystem, to avoid ugly and extremely brittle patching +of the configure script and Makefile.in in the main ebuild. + +--- a/configure.in ++++ b/configure.in +@@ -1,8 +1,8 @@ ++AC_PREREQ([2.69]) ++AC_INIT([fampp2],[7.0.1]) + +-# require autoconf 2.13 +-AC_PREREQ(2.13) +- +-AC_INIT(src/Fampp2.hh) ++AC_CONFIG_MACRO_DIR([macros]) ++AC_CONFIG_SRCDIR([src/Fampp2.hh]) + + FAMPPTWO_MAJOR=7 + FAMPPTWO_MINOR=0 +@@ -22,9 +22,8 @@ + VERSION=$FAMPP_VERSION + PACKAGE=fampp2 + +-AM_CONFIG_HEADER(config.h) +-AM_INIT_AUTOMAKE($PACKAGE, $VERSION) +-AM_MAINTAINER_MODE ++AC_CONFIG_HEADERS([config.h]) ++AM_INIT_AUTOMAKE + + AC_CANONICAL_HOST + AC_ISC_POSIX +@@ -33,11 +32,7 @@ + AC_PROG_CPP + AC_PROG_CXX + +-AC_STDC_HEADERS +-#AC_ARG_PROGRAM +-AC_DISABLE_FAST_INSTALL +-AC_DISABLE_STATIC +-AM_PROG_LIBTOOL ++LT_INIT + + + dnl Checks for libraries. +@@ -58,15 +53,12 @@ + ############################################################################### + + +-CFLAGS=" $STLPORT_CFLAGS $LOKI_CFLAGS $SIGC_CFLAGS $CFLAGS -O0 -g " +-CXXFLAGS=" $STLPORT_CFLAGS $CXXFLAGS -O0 -g $LOKI_LIBS $SIGC_CFLAGS " +-LDFLAGS=" $STLPORT_LIBS $SIGC_LIBS $LDFLAGS -Wl,-O1 -Wl,--hash-style=both" +-AC_SUBST(CFLAGS) +-AC_SUBST(CPPFLAGS) +-AC_SUBST(LDFLAGS) +-AC_SUBST(CXXFLAGS) +-AC_SUBST(CXXCPPFLAGS) ++CFLAGS="${CFLAGS} ${STLPORT_CFLAGS} ${LOKI_CFLAGS} ${SIGC_CFLAGS}" ++CXXFLAGS="${CXXFLAGS} ${STLPORT_CFLAGS} ${LOKI_CFLAGS} ${SIGC_CFLAGS}" ++LIBS="${LIBS} ${STLPORT_LIBS} ${LOKI_LIBS} ${SIGC_LIBS}" + ++AC_ARG_WITH([examples], [install examples]) ++AM_CONDITIONAL([EXAMPLES], [test "x$with_examples" = "xyes"]) + + dnl if test "x${prefix}" = 'xNONE'; then + dnl prefix=${ac_default_prefix}; +--- a/Makefile.am ++++ b/Makefile.am +@@ -1,7 +1,10 @@ + AUTOMAKE_OPTIONS = dist-bzip2 subdir-objects + + NULL= +-SUBDIRS = src examples ++SUBDIRS = src ++if EXAMPLES ++SUBDIRS += examples ++endif + + EXTRA_DIST = fampp.spec fampp.spec.in fampp2.pc.in fampp2.pc + diff --git a/dev-libs/fampp2/files/fampp2-7.0.1-fix-gcc6.patch b/dev-libs/fampp2/files/fampp2-7.0.1-fix-gcc6.patch new file mode 100644 index 000000000000..659ecd51bf4c --- /dev/null +++ b/dev-libs/fampp2/files/fampp2-7.0.1-fix-gcc6.patch @@ -0,0 +1,67 @@ +C++11 changed destructor semantics to be noexcept(true) +by default, leading to potentially changed semantics. +See also: https://bugs.gentoo.org/show_bug.cgi?id=595308 + +--- a/src/Fampp2.cpp ++++ b/src/Fampp2.cpp +@@ -105,6 +105,9 @@ + // #include + + FamppRequest::~FamppRequest() ++#if __cplusplus >= 201103L ++ noexcept(false) ++#endif + { + // cerr << "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" << endl; + // cerr << "FamppRequest::~FamppRequest() this:" << (void*)this << endl; +@@ -245,6 +248,9 @@ + + + FamppImplMethods::~FamppImplMethods() ++#if __cplusplus >= 201103L ++ noexcept(false) ++#endif + { + if(0 != FAMClose( &theFAMConnection )) { + throw FamppCloseFailedException(); +--- a/src/Fampp2.hh ++++ b/src/Fampp2.hh +@@ -168,7 +168,11 @@ + public: + + +- ~FamppRequest(); ++ ~FamppRequest() ++#if __cplusplus >= 201103L ++ noexcept(false) ++#endif ++ ; + + + void suspend(); +@@ -216,7 +220,11 @@ + protected: + + FamppImplMethods(); +- virtual ~FamppImplMethods(); ++ virtual ~FamppImplMethods() ++#if __cplusplus >= 201103L ++ noexcept(false) ++#endif ++ ; + + + public: +@@ -251,7 +259,11 @@ + public: + FamppSingletonClass(); + FamppSingletonClass(const std::string appName); +- ~FamppSingletonClass(); ++ ~FamppSingletonClass() ++#if __cplusplus >= 201103L ++ noexcept(false) ++#endif ++ ; + + + void NextEvent(); diff --git a/dev-libs/fampp2/files/fampp2-7.0.1-libsigc++-2.6.patch b/dev-libs/fampp2/files/fampp2-7.0.1-libsigc++-2.6.patch new file mode 100644 index 000000000000..6b76a1532cbb --- /dev/null +++ b/dev-libs/fampp2/files/fampp2-7.0.1-libsigc++-2.6.patch @@ -0,0 +1,46 @@ +Remove inclusion of libsigc++ headers obsoleted with version 2.6 +See also: https://bugs.gentoo.org/show_bug.cgi?id=569700 + +--- a/examples/console_test/famppct.cpp ++++ b/examples/console_test/famppct.cpp +@@ -30,8 +30,6 @@ + + #include + #include +-#include +-#include + + #include + #include +--- a/examples/gtk/famppgtk.cpp ++++ b/examples/gtk/famppgtk.cpp +@@ -31,8 +31,6 @@ + + #include + #include +-#include +-#include + + #include + #include +--- a/src/Fampp2.cpp ++++ b/src/Fampp2.cpp +@@ -34,8 +34,6 @@ + + #include + #include +-#include +-#include + + + using namespace std; +--- a/src/FamppEvents.hh ++++ b/src/FamppEvents.hh +@@ -36,7 +36,6 @@ + + #include + #include +-#include + #include + #include + #include diff --git a/dev-libs/fampp2/metadata.xml b/dev-libs/fampp2/metadata.xml new file mode 100644 index 000000000000..37d3ef415f8a --- /dev/null +++ b/dev-libs/fampp2/metadata.xml @@ -0,0 +1,11 @@ + + + + + cpp@gentoo.org + Gentoo C++ Project + + + fampp + + diff --git a/dev-libs/faxpp/Manifest b/dev-libs/faxpp/Manifest new file mode 100644 index 000000000000..2666bab84231 --- /dev/null +++ b/dev-libs/faxpp/Manifest @@ -0,0 +1,5 @@ +DIST faxpp-0.4.tar.gz 512740 SHA256 21767548e74442529d5761c71f5fe5dfbd98730e73a739ef47c5b60098b0906a SHA512 25b871a6419b70d9ee85817cda267dfff7ed8aa99a031493a6ccaf1faed80e113ceb7407df1629958d7841c73ba3bee760af9f595dd71648d853561e8c8f33d8 WHIRLPOOL acb9c601945bd5ab23f74ed1e6497211aa8f80d44d812d236e1acd88b6a9f9ef5bbc9aaa2c0a5b34f4d68780555ce4f7e4935cea5e18297841ee8a448670b324 +EBUILD faxpp-0.4.ebuild 575 SHA256 bf516065bfcab696ce48a14327cbcd38fd8e740bee5347985e88d6734952a0b1 SHA512 52db2447eae1a389c9a5338d688ca8973635d3df64e8cd193aa92c8f480997e0abfed00460f636ae3b5217d2a5d782de48025e0869c3093c7ed7dac52ec7f9da WHIRLPOOL 3d104aafebe8385ed30a17b320d7049df62d734187e1b944f3c427edd68c787adbe3ad50c75da017b204803e394b8856496fcfe4a3aa252acbc7b4032603a805 +MISC ChangeLog 2166 SHA256 6fdddfa72b1bad5783e4ba3e6f201dc32e0a66a1006fad9de6f71f5cc84f0a80 SHA512 6c8eda1bebb47f7f6da9680799291ed1be55e408a30706e52d9eaea2a725303a141a2ce14ce1148fda135ca315eb5ddf9c1fcce685bd4ac370b56e41806a686a WHIRLPOOL a6bba2eb232be18be7198fdf34b82562586c4e93e93d0b9f0336196dc94b6117a6dfb43446c9531218e527c87be0c8b5ad0ce091de202b6f9343fc92d3bcf7c6 +MISC ChangeLog-2015 866 SHA256 8d4b976eba7a0f908bb98ea996af0a25a4d5294a3a6b3ad2f867bfe889fb2558 SHA512 e5fce90e7f649f2d6514510483896054d43b6db959e6fd3c99b6d11eefae86409b8a7baa9952f627c24456ae088992ede6e0b278be980d8c047a4e2387c60473 WHIRLPOOL d81540368c51eba949b26154dc755e801ef78b187f794940aeef80a87505c51bf6505931523f8518f7a0fa2985324154d28fb1ad5507ca3631275a01d76a7562 +MISC metadata.xml 325 SHA256 34f78094f3b647056d23680517926b17f72c2acff7b35653762d908fb2f4a333 SHA512 9dc47c5ac852f0e4c49f8a909b3b4647a01bdb99b10bdf29ac7e588bba8bfb7d70b9ce273e0067a1382fffba239590c15b601d7d5d5ec8362dca35d27bbf7cb1 WHIRLPOOL 0c363a05519f7726219b5508157b88edfbf1db17c6f4588294a10fde1ee0e3f27712d91d521dd0e032fda5ba09f42c83b41f1413a0759f27d86df56b9c464ae9 diff --git a/dev-libs/faxpp/faxpp-0.4.ebuild b/dev-libs/faxpp/faxpp-0.4.ebuild new file mode 100644 index 000000000000..97b477f3efc8 --- /dev/null +++ b/dev-libs/faxpp/faxpp-0.4.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +DESCRIPTION="Small, fast and conformant XML pull parser written in C" +HOMEPAGE="http://faxpp.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc examples" + +DEPEND="" +RDEPEND="" + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + + dodoc ChangeLog TODO + + use doc && dohtml docs/api/* + if use examples ; then + insinto /usr/share/doc/${PF} + doins -r examples + fi +} diff --git a/dev-libs/faxpp/metadata.xml b/dev-libs/faxpp/metadata.xml new file mode 100644 index 000000000000..9b9d39869aae --- /dev/null +++ b/dev-libs/faxpp/metadata.xml @@ -0,0 +1,11 @@ + + + + + dev-zero@gentoo.org + Tiziano Müller + + + faxpp + + diff --git a/dev-libs/fcgi/Manifest b/dev-libs/fcgi/Manifest new file mode 100644 index 000000000000..7cb09e45ac03 --- /dev/null +++ b/dev-libs/fcgi/Manifest @@ -0,0 +1,11 @@ +AUX fcgi-2.4.0-Makefile.patch 846 SHA256 3d01cc53a4eb63d416ee6cdcd29e099d759947ae200c4062fcc3cfd823849f62 SHA512 70e4d34717afc55a76e7057dc439875387ecc0e475976a4fe4f79e61b771231c0a195e03f8e7d02558ba3525382b01e51e1e4d937a6bf25778666bba651d8337 WHIRLPOOL 620f6b20f16e1836e906c1beb5f5f409c08e7f4f2e8dcbfa1253463d44f1d24a59232884cbbabb5d91fb90b68562f2cf65fa998de4e458d0da3f8354d8aa14ef +AUX fcgi-2.4.0-clientdata-pointer.patch 3203 SHA256 27936406b5fcb13096bbdd80ee7eb0cf262e5c2b983e79e41d17a3cd17387683 SHA512 c5339ae940994daeec4cf8030933ca2ab5a00651b91eb5d2ff3b871673b5a62646bfb8e81c190ad6d83015fcf59df4076bc745f097ddcada220ca0dc4a05db6a WHIRLPOOL d3007b048703481e4a49807046e5acb34ef244531a7230e5550070e7efd3a1a0420e4f3704087298f605b5daf50b9406e7bc7b8e1a6da09efff8b2e80a02206b +AUX fcgi-2.4.0-html-updates.patch 2527 SHA256 df8b2eb4c017fedf6f27a5650e2f4f5636e66ec7d02d20a50282edbc8d636c69 SHA512 79abe9f43150b3163e92030cc9afbee90f69f04bd487254d187abda6fa3484623f605394c96eeb6fd4203d2b06f7e771c9b46f9c21b03cde1aa043da9b3e8d5e WHIRLPOOL 101c77ec045cfa8096b4a6391a12daec9a114dacb594e97c9a66dcca3067d3f67b004dce2cd1246d528ae4b704c880785149418ece7ddf0b71a28f220201afa5 +AUX fcgi-2.4.1_pre0311112127-gcc44.patch 202 SHA256 0c15ebe26a69939694e7ed3d9b408ef782688646fc3dc64235f63215c4ac860f SHA512 bb69535695c21151edc538e64dfae095bc61abd5d612d79f73ab3be1a6ecca9d8c2d44f4590e539934820607c5d01ae81e8e71b3b4252aa9270fa638d7776ebf WHIRLPOOL 095b8b4cd5ceb4222e6926ccf93e483190e46cd5c61afd0ab7d30b70e937f65a4a66c3b95156acd9546cfde5928027a497ac06fa7b2387875762e393883c246c +AUX fcgi-2.4.1_pre0910052249-link.patch 850 SHA256 4b1c6d626c4d4c142f1e2c8451a719c6287f0a9d436fa9dd6aee9be304d19c67 SHA512 6180201e3ac7e9fe659b281cc612ed7d6d58acc17f670feba843931c5b038a7d08e75a9f24b098413bc309cb1cdbc6b96ba77f6f1fb43e47066815937d622b52 WHIRLPOOL 044859de666d9de26acc0e63015987de4f5418be2dcf8826b39a7de8aa9ca564baae1d2477b9f353e66b87da476e78cb159e2ad1198e40c97ad4e974e0e31be7 +AUX fcgi-2.4.1_pre0910052249-poll.patch 2469 SHA256 4fe785d772b91185338b93af1f3eb8ec68e21a4a71d09e81f41a645e82c71e10 SHA512 3c00be90012bb7b9aabcce0eb014b2b0a8ec0bb8d4a44389237ae1c88fd46129e7686b035a427177545762275c30151c8a1037258b409486706a7f3a64db70b1 WHIRLPOOL e1dd7bf9464d838723d8ad450150f953e5dc8010f3341d9633652ef97eb450493ca01988099bf507adba3f31ec6fdcbc24ad79331c6c27c1dd50a51d65da949e +DIST fcgi-2.4.1-SNAP-0910052249.tar.gz 614929 SHA256 829dc89a0a372c7b0b172303ec9b42e9d20615d6d0e9fc81570fdac6c41a0f30 SHA512 7ae7542ef0934f44d8c7a120366a5cd92639d0bc283a16be320c9218a73a0302c961cc004074e3915209690f1e2b67fc234c9ba55d35af11e31566d79f081c87 WHIRLPOOL ce454ec8bc549cc4b9e1c86fe145f1cc863160415cab0a7e2fc6b88e8aadb996a612e358789e8a15a898cdfcf79e34e77686160a26f84e052f4e5826dbef2f5d +EBUILD fcgi-2.4.1_pre0910052249-r2.ebuild 1293 SHA256 50dd7cedd551a5032bc4c9b38128f7d0cdc02809788deef64ff561773837fa96 SHA512 f836361ffcbf97004ef7f534e81f9fe79d2ff0d5831ed4cd91c6a2ffa6b6d596e51eeb51c4ecd08a943170cd23039ae4545fb65dd3d8e686fe5d20a49589d8e6 WHIRLPOOL 97ccf17710c3c6f948db50fae362ae524fe53c3b0e7174b439de708c2b5ee16ff6fca49dde219c133530fdefb8222dc5956422a93462e41aa2511d97850efbc7 +MISC ChangeLog 2853 SHA256 c5a1af75ca9eaf44c155460b74a094413c83f8fd24e91ca7d38e2e7b25b961ea SHA512 58ff252b0ed224aeca848fa265b07fe1869a77a2e7e489f4414f139e0ed1d62065b9ea2a03575c0b7c2061c481ca5775570268b70b83c706a62f1415b739eeb9 WHIRLPOOL 0bc006fd4a97b76ab5d1a7fd9222fe814fb005f24e12d6d4ba83a9f17caa0511cdb1c0b3cc03b9b9b99bf036c0df701feec680a7fb4b92940399c279304ad683 +MISC ChangeLog-2015 8935 SHA256 e6f744bc93df467e26c52df78298e9ce70220a0f1239205f699748f8a7151a23 SHA512 72ac0ea4825f7908f3abc54e5a859c591cf3b79c35998da108f160a71d84e005c58b4f4f5ff97aafc4b8e0d962cb25773f19558d4d71ddf61e85871f10d8696d WHIRLPOOL 5d7eaf4cdd7e07c4e46c872e86ac5f21a5b2f4f1ab486dcb6c9136c8246a2ae9eeb202eeaba313e539b9ecffc55b547af6b2b9d291b4ace15764d95b6ad2a970 +MISC metadata.xml 322 SHA256 86eacfa80c38fccbbd688f77c53b4df3213973e4c7eb9385bea4ecc2861a427e SHA512 d4d683173a6acb775871efc762823f186867e446c931714e8b04475a7982845e2d8152d871f123a1c8b08e7af307c7d1453c0309c26f7e6da131f120e1c29c7b WHIRLPOOL 7412083c84c8e4f79a9ecf2ee10809833d69ed945a1c0b2603eabbc60e634f5cea0f3bd06d6820e56030e725b750657c05b942e20bb3009a84ad93c4c7348733 diff --git a/dev-libs/fcgi/fcgi-2.4.1_pre0910052249-r2.ebuild b/dev-libs/fcgi/fcgi-2.4.1_pre0910052249-r2.ebuild new file mode 100644 index 000000000000..088ad6e3c474 --- /dev/null +++ b/dev-libs/fcgi/fcgi-2.4.1_pre0910052249-r2.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="4" + +inherit eutils autotools multilib + +DESCRIPTION="FastCGI Developer's Kit" +HOMEPAGE="http://www.fastcgi.com/" +SRC_URI="http://www.fastcgi.com/dist/fcgi-2.4.1-SNAP-0910052249.tar.gz" + +LICENSE="FastCGI" +SLOT="0" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="html" + +DEPEND="" +RDEPEND="" + +S="${WORKDIR}/fcgi-2.4.1-SNAP-0910052249" + +src_prepare() { + epatch "${FILESDIR}/fcgi-2.4.0-Makefile.patch" + epatch "${FILESDIR}/fcgi-2.4.0-clientdata-pointer.patch" + epatch "${FILESDIR}/fcgi-2.4.0-html-updates.patch" + epatch "${FILESDIR}"/fcgi-2.4.1_pre0311112127-gcc44.patch + epatch "${FILESDIR}"/${P}-link.patch + epatch "${FILESDIR}"/${P}-poll.patch + + eautoreconf +} + +src_install() { + emake DESTDIR="${D}" install LIBRARY_PATH="${ED}/usr/$(get_libdir)" + + dodoc README + + # install the manpages into the right place + doman doc/*.[13] + + # Only install the html documentation if USE=html + if use html ; then + dohtml "${S}"/doc/*/* + insinto /usr/share/doc/${PF}/html + doins -r "${S}/images" + fi + + # install examples in the right place + insinto /usr/share/doc/${PF}/examples + doins "${S}/examples/"*.c +} diff --git a/dev-libs/fcgi/files/fcgi-2.4.0-Makefile.patch b/dev-libs/fcgi/files/fcgi-2.4.0-Makefile.patch new file mode 100644 index 000000000000..dad4cd6e02dd --- /dev/null +++ b/dev-libs/fcgi/files/fcgi-2.4.0-Makefile.patch @@ -0,0 +1,24 @@ +Index: fcgi-2.4.0/cgi-fcgi/Makefile.am +=================================================================== +--- fcgi-2.4.0.orig/cgi-fcgi/Makefile.am ++++ fcgi-2.4.0/cgi-fcgi/Makefile.am +@@ -11,5 +11,5 @@ INCLUDE_FILES = $(INCLUDEDIR)/fastcgi. + LIBDIR = ../libfcgi + LIBFCGI = $(LIBDIR)/libfcgi.la + +-LDADD = $(LIBFCGI) ++LDADD = $(LIBFCGI) -lm + cgi_fcgi_SOURCES = $(INCLUDE_FILES) cgi-fcgi.c +Index: fcgi-2.4.0/examples/Makefile.am +=================================================================== +--- fcgi-2.4.0.orig/examples/Makefile.am ++++ fcgi-2.4.0/examples/Makefile.am +@@ -21,7 +21,7 @@ INCLUDE_FILES = $(INCLUDEDIR)/fastcgi. + LIBDIR = ../libfcgi + LIBFCGI = $(LIBDIR)/libfcgi.la + +-LDADD = $(LIBFCGI) ++LDADD = $(LIBFCGI) -lm + + echo_SOURCES = $(INCLUDE_FILES) echo.c + echo_x_SOURCES = $(INCLUDE_FILES) echo-x.c diff --git a/dev-libs/fcgi/files/fcgi-2.4.0-clientdata-pointer.patch b/dev-libs/fcgi/files/fcgi-2.4.0-clientdata-pointer.patch new file mode 100644 index 000000000000..ba4793765d5e --- /dev/null +++ b/dev-libs/fcgi/files/fcgi-2.4.0-clientdata-pointer.patch @@ -0,0 +1,96 @@ +Index: fcgi-2.4.0/cgi-fcgi/cgi-fcgi.c +=================================================================== +--- fcgi-2.4.0.orig/cgi-fcgi/cgi-fcgi.c ++++ fcgi-2.4.0/cgi-fcgi/cgi-fcgi.c +@@ -21,6 +21,7 @@ static const char rcsid[] = "$Id: cgi-fc + #include + #include + #include ++#include + + #include "fcgi_config.h" + +@@ -145,7 +146,7 @@ static FCGI_BeginRequestBody MakeBeginRe + + + static int bytesToRead; /* number of bytes to read from Web Server */ +-static int appServerSock = -1; /* Socket connected to FastCGI application, ++static size_t appServerSock = -1; /* Socket connected to FastCGI application, + * used by AppServerReadHandler and + * AppServerWriteHandler. */ + static Buffer fromAS; /* Bytes read from the FCGI application server. */ +@@ -640,7 +641,7 @@ static int ParseArgs(int argc, char *arg + } + if((av[ac] = (char *)malloc(strlen(tp1)+1)) == NULL) { + fprintf(stderr, "Cannot allocate %d bytes\n", +- strlen(tp1)+1); ++ (int)strlen(tp1)+1); + exit(-1); + } + strcpy(av[ac++], tp1); +Index: fcgi-2.4.0/examples/threaded.c +=================================================================== +--- fcgi-2.4.0.orig/examples/threaded.c ++++ fcgi-2.4.0/examples/threaded.c +@@ -24,7 +24,7 @@ static int counts[THREAD_COUNT]; + + static void *doit(void *a) + { +- int rc, i, thread_id = (int)a; ++ size_t rc, i, thread_id = (size_t)a; + pid_t pid = getpid(); + FCGX_Request request; + char *server_name; +@@ -53,7 +53,7 @@ static void *doit(void *a) + "

FastCGI Hello! (multi-threaded C, fcgiapp library)

" + "Thread %d, Process %ld

" + "Request counts for %d threads running on host %s

", +- thread_id, pid, THREAD_COUNT, server_name ? server_name : "?"); ++ (int)thread_id, pid, THREAD_COUNT, server_name ? server_name : "?"); + + sleep(2); + +@@ -71,7 +71,7 @@ static void *doit(void *a) + + int main(void) + { +- int i; ++ size_t i; + pthread_t id[THREAD_COUNT]; + + FCGX_Init(); +Index: fcgi-2.4.0/include/fcgios.h +=================================================================== +--- fcgi-2.4.0.orig/include/fcgios.h ++++ fcgi-2.4.0/include/fcgios.h +@@ -93,7 +93,7 @@ extern "C" { + # if defined(__STDC__) || defined(__cplusplus) + typedef void *ClientData; + # else +- typedef int *ClientData; ++ typedef size_t *ClientData; + # endif /* __STDC__ */ + #define _CLIENTDATA + #endif +Index: fcgi-2.4.0/libfcgi/os_unix.c +=================================================================== +--- fcgi-2.4.0.orig/libfcgi/os_unix.c ++++ fcgi-2.4.0/libfcgi/os_unix.c +@@ -1155,7 +1155,7 @@ int OS_Accept(int listen_sock, int fail_ + + for (;;) { + do { +-#ifdef HAVE_SOCKLEN ++#ifdef HAVE_SYS_SOCKET_H + socklen_t len = sizeof(sa); + #else + int len = sizeof(sa); +@@ -1255,7 +1255,7 @@ int OS_IsFcgi(int sock) + struct sockaddr_in in; + struct sockaddr_un un; + } sa; +-#ifdef HAVE_SOCKLEN ++#ifdef HAVE_SYS_SOCKET_H + socklen_t len = sizeof(sa); + #else + int len = sizeof(sa); diff --git a/dev-libs/fcgi/files/fcgi-2.4.0-html-updates.patch b/dev-libs/fcgi/files/fcgi-2.4.0-html-updates.patch new file mode 100644 index 000000000000..ca10a6a6039b --- /dev/null +++ b/dev-libs/fcgi/files/fcgi-2.4.0-html-updates.patch @@ -0,0 +1,65 @@ +Index: fcgi-2.4.0/doc/fcgi-devel-kit.htm +=================================================================== +--- fcgi-2.4.0.orig/doc/fcgi-devel-kit.htm ++++ fcgi-2.4.0/doc/fcgi-devel-kit.htm +@@ -19,7 +19,7 @@ + + +

+- [[FastCGI]]
++ [[FastCGI]]
+

+

+ FastCGI Developer's Kit +Index: fcgi-2.4.0/doc/fcgi-java.htm +=================================================================== +--- fcgi-2.4.0.orig/doc/fcgi-java.htm ++++ fcgi-2.4.0/doc/fcgi-java.htm +@@ -20,7 +20,7 @@ + + +
+- [[FastCGI]] ++ [[FastCGI]] +
+
+
+Index: fcgi-2.4.0/doc/fcgi-perf.htm +=================================================================== +--- fcgi-2.4.0.orig/doc/fcgi-perf.htm ++++ fcgi-2.4.0/doc/fcgi-perf.htm +@@ -19,7 +19,7 @@ + + +
+- [[FastCGI]] ++ [[FastCGI]] +
+
+
+Index: fcgi-2.4.0/doc/fcgi-perl.htm +=================================================================== +--- fcgi-2.4.0.orig/doc/fcgi-perl.htm ++++ fcgi-2.4.0/doc/fcgi-perl.htm +@@ -19,7 +19,7 @@ + + +
+- [[FastCGI]] ++ [[FastCGI]] +
+
+ +Index: fcgi-2.4.0/doc/fcgi-tcl.htm +=================================================================== +--- fcgi-2.4.0.orig/doc/fcgi-tcl.htm ++++ fcgi-2.4.0/doc/fcgi-tcl.htm +@@ -19,7 +19,7 @@ + + +
+- [[FastCGI]] ++ [[FastCGI]] +
+
+
diff --git a/dev-libs/fcgi/files/fcgi-2.4.1_pre0311112127-gcc44.patch b/dev-libs/fcgi/files/fcgi-2.4.1_pre0311112127-gcc44.patch new file mode 100644 index 000000000000..a0b59f766a89 --- /dev/null +++ b/dev-libs/fcgi/files/fcgi-2.4.1_pre0311112127-gcc44.patch @@ -0,0 +1,10 @@ +--- fcgi-2.4.1-SNAP-0311112127-orig/include/fcgio.h ++++ fcgi-2.4.1-SNAP-0311112127/include/fcgio.h +@@ -31,6 +31,7 @@ + #define FCGIO_H + + #include ++#include + + #include "fcgiapp.h" + diff --git a/dev-libs/fcgi/files/fcgi-2.4.1_pre0910052249-link.patch b/dev-libs/fcgi/files/fcgi-2.4.1_pre0910052249-link.patch new file mode 100644 index 000000000000..e53c7e9d550b --- /dev/null +++ b/dev-libs/fcgi/files/fcgi-2.4.1_pre0910052249-link.patch @@ -0,0 +1,21 @@ +Index: fcgi-2.4.1-SNAP-0910052249/libfcgi/Makefile.am +=================================================================== +--- fcgi-2.4.1-SNAP-0910052249.orig/libfcgi/Makefile.am ++++ fcgi-2.4.1-SNAP-0910052249/libfcgi/Makefile.am +@@ -9,8 +9,7 @@ INCLUDE_FILES = $(INCLUDEDIR)/fastcgi.h + $(INCLUDEDIR)/fcgi_stdio.h \ + $(INCLUDEDIR)/fcgios.h + +-lib_LTLIBRARIES = libfcgi.la @LIBFCGIXX@ +-EXTRA_LTLIBRARIES = libfcgi++.la ++lib_LTLIBRARIES = libfcgi.la libfcgi++.la + + libfcgi_la_SOURCES = $(INCLUDE_FILES) \ + fcgiapp.c \ +@@ -23,5 +22,5 @@ libfcgi___la_SOURCES = $(INCLUDE_FILES) + $(INCLUDEDIR)/fcgio.h \ + fcgio.cpp + libfcgi___la_CFLAGS = @PTHREAD_CFLAGS@ +-libfcgi___la_LDFLAGS = -lfcgi -rpath @libdir@ ++libfcgi___la_LIBADD = libfcgi.la + diff --git a/dev-libs/fcgi/files/fcgi-2.4.1_pre0910052249-poll.patch b/dev-libs/fcgi/files/fcgi-2.4.1_pre0910052249-poll.patch new file mode 100644 index 000000000000..82b9f15a846c --- /dev/null +++ b/dev-libs/fcgi/files/fcgi-2.4.1_pre0910052249-poll.patch @@ -0,0 +1,80 @@ +diff -uNr fcgi-2.4.1-SNAP-0910052249.orig/libfcgi/os_unix.c fcgi-2.4.1-SNAP-0910052249/libfcgi/os_unix.c +--- fcgi-2.4.1-SNAP-0910052249.orig/libfcgi/os_unix.c 2015-02-06 21:49:40.677082591 -0200 ++++ fcgi-2.4.1-SNAP-0910052249/libfcgi/os_unix.c 2015-02-06 21:54:23.147097903 -0200 +@@ -42,6 +42,7 @@ + #include + #include + #include ++#include + + #ifdef HAVE_NETDB_H + #include +@@ -103,6 +104,9 @@ + static int shutdownPending = FALSE; + static int shutdownNow = FALSE; + ++static int libfcgiOsClosePollTimeout = 2000; ++static int libfcgiIsAfUnixKeeperPollTimeout = 2000; ++ + void OS_ShutdownPending() + { + shutdownPending = TRUE; +@@ -169,6 +173,16 @@ + if(libInitialized) + return 0; + ++ char *libfcgiOsClosePollTimeoutStr = getenv( "LIBFCGI_OS_CLOSE_POLL_TIMEOUT" ); ++ if(libfcgiOsClosePollTimeoutStr) { ++ libfcgiOsClosePollTimeout = atoi(libfcgiOsClosePollTimeoutStr); ++ } ++ ++ char *libfcgiIsAfUnixKeeperPollTimeoutStr = getenv( "LIBFCGI_IS_AF_UNIX_KEEPER_POLL_TIMEOUT" ); ++ if(libfcgiIsAfUnixKeeperPollTimeoutStr) { ++ libfcgiIsAfUnixKeeperPollTimeout = atoi(libfcgiIsAfUnixKeeperPollTimeoutStr); ++ } ++ + asyncIoTable = (AioInfo *)malloc(asyncIoTableSize * sizeof(AioInfo)); + if(asyncIoTable == NULL) { + errno = ENOMEM; +@@ -780,19 +794,16 @@ + { + if (shutdown(fd, 1) == 0) + { +- struct timeval tv; +- fd_set rfds; ++ struct pollfd pfd; + int rv; + char trash[1024]; + +- FD_ZERO(&rfds); ++ pfd.fd = fd; ++ pfd.events = POLLIN; + + do + { +- FD_SET(fd, &rfds); +- tv.tv_sec = 2; +- tv.tv_usec = 0; +- rv = select(fd + 1, &rfds, NULL, NULL, &tv); ++ rv = poll(&pfd, 1, libfcgiOsClosePollTimeout); + } + while (rv > 0 && read(fd, trash, sizeof(trash)) > 0); + } +@@ -1142,13 +1153,11 @@ + */ + static int is_af_unix_keeper(const int fd) + { +- struct timeval tval = { READABLE_UNIX_FD_DROP_DEAD_TIMEVAL }; +- fd_set read_fds; +- +- FD_ZERO(&read_fds); +- FD_SET(fd, &read_fds); ++ struct pollfd pfd; ++ pfd.fd = fd; ++ pfd.events = POLLIN; + +- return select(fd + 1, &read_fds, NULL, NULL, &tval) >= 0 && FD_ISSET(fd, &read_fds); ++ return poll(&pfd, 1, libfcgiIsAfUnixKeeperPollTimeout) >= 0 && (pfd.revents & POLLIN); + } + + /* diff --git a/dev-libs/fcgi/metadata.xml b/dev-libs/fcgi/metadata.xml new file mode 100644 index 000000000000..40684197763e --- /dev/null +++ b/dev-libs/fcgi/metadata.xml @@ -0,0 +1,11 @@ + + + + + rafaelmartins@gentoo.org + Rafael G. Martins + + + Install HTML documentation + + diff --git a/dev-libs/fddl/Manifest b/dev-libs/fddl/Manifest new file mode 100644 index 000000000000..8e69ba38462e --- /dev/null +++ b/dev-libs/fddl/Manifest @@ -0,0 +1,5 @@ +DIST fddl-20111124.tar.gz 29608 SHA256 14e0493b1be6bf7381e20eb8c727d7f75ca3c04c68784a54450f438876f2d06a SHA512 d9c4f3f4e10b92ffc158a8cd24726ac6f95050256178a17b6d11aefd4b5786452b17ee96e4d4f4762d07c372c248aba1f22cbe2c03cd6b0f709aeeb4d15a0266 WHIRLPOOL ad8ef11313a0613ba012684412abd0e20a3bb40dd20078d6dd592df3e1449d532d816413a08e66e6e13c925d100697c6cc730a91718d580fdc1805afb4f63fae +EBUILD fddl-20111124-r1.ebuild 1045 SHA256 2a6b3d6ff9352053fabbfb9d5f0a7e7658ba4f221999f07dc558701d9e6a6438 SHA512 457232f89f5aea21c796c777a432c343b8a785b7bbeb54d30ead9f96cd997dd27a66f9bfcaf4cfc7b395d2e22ae0c495d0f6cbf5c7cd88024e0296d145c2dc2c WHIRLPOOL 114360b5edad3c23a5ced79d46ab8727615ee20d94f7d6cb71f91d677620be505567351b3c83aac0779c974314207029d13d4ebda14950c0debfba9a6064ffb6 +MISC ChangeLog 2743 SHA256 d6cb815275ed8b1f9c727d985e9950e8da307420fccb8422d46976619331fadc SHA512 f45d990547d61f7f47bb7fdb2321b52a3958d5bb90d2311deaf2531749e49078634b5e89f3deb598c5086c76d0b2adf78d632f1f896d08d9bd8aede24adc9637 WHIRLPOOL 3faa5e35dabaf466f43e8738350ab8b441008c4d11b197d79f7bdda1adb3d69136845243e29db028f15a61de72807d88ea66d4d51e2a3f0cc7ac970158e4610e +MISC ChangeLog-2015 988 SHA256 79c222b9012636da5387deb697a1aa7cf4db94bf0db1ee84f281371f023dcf66 SHA512 06c49cb311a08afcc67b761c8c516d0f251a47769b6a6bb14f313e8984f45e1f9bc18f6b9233ec1ad7752f1030af66d8e81e08bf43159d33c0076d3a373741b3 WHIRLPOOL 077c59e17510d978e06b30f26a2b1a17e56c9eb819df1d030823f2d305f2ec8f906ea9203657a9e1733b5cc1ee3a387bf150788a83e61652e1779d54fab234e7 +MISC metadata.xml 502 SHA256 5aef96be1dd79139b69ea3f3e8de3312bc124a2066845cc6d8b394b9a298cf19 SHA512 ce5ed3d3399e29f100bd0007ca60235678870b5acd0350a7801084e80b98c0b151853f48b740b21936a1e1c688a375dd3695b3646e9c964abd9c523e1aa84805 WHIRLPOOL a5a7f889d0e780f02ec55093630818b545ea2f9d8377d872b0acff1b9125342a4fb4fe761a9b45623ce6a1bc28c4cb89a14b8e42bb6d6ce1d5e2b829c64d513d diff --git a/dev-libs/fddl/fddl-20111124-r1.ebuild b/dev-libs/fddl/fddl-20111124-r1.ebuild new file mode 100644 index 000000000000..0e56e742f1f4 --- /dev/null +++ b/dev-libs/fddl/fddl-20111124-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils multilib vcs-snapshot + +DESCRIPTION="Free Decision Diagram Library" +HOMEPAGE="http://itval.sourceforge.net/ https://github.com/atomopawn/FDDL" +SRC_URI="https://dev.gentoo.org/~pinkbyte/distfiles/snapshots/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DOCS=( AUTHORS ChangeLog INSTALL RELEASE ) + +src_prepare() { + cmake-utils_src_prepare + + # Remove references to files that were not shipped, + # prefer dynamic linking + sed -i \ + -e 's|unaryoperation.cpp||g' \ + -e 's|unaryoperation.h||g' \ + -e 's|binaryoperation.cpp||g' \ + -e 's|binaryoperation.h||g' \ + -e '/add_library/s/FDDL /FDDL SHARED /' \ + -e '/add_library/s/FDDL /FDDL SHARED /' \ + -e "/^install/s:DESTINATION lib:DESTINATION $(get_libdir):" \ + src/CMakeLists.txt || die + # Do not build tests that depend on above files + sed -i \ + {,tests/}CMakeLists.txt \ + -e '/test_unaryop/d' \ + -e '/test_binaryop/d' \ + || die +} diff --git a/dev-libs/fddl/metadata.xml b/dev-libs/fddl/metadata.xml new file mode 100644 index 000000000000..202a7f4cc6b0 --- /dev/null +++ b/dev-libs/fddl/metadata.xml @@ -0,0 +1,16 @@ + + + + + zlogene@gentoo.org + Mikle Kolyada + + + pinkbyte@gentoo.org + Sergey Popov + + + atomopawn/FDDL + itval + + diff --git a/dev-libs/ferrisloki/Manifest b/dev-libs/ferrisloki/Manifest new file mode 100644 index 000000000000..40c37016fb57 --- /dev/null +++ b/dev-libs/ferrisloki/Manifest @@ -0,0 +1,5 @@ +DIST ferrisloki-3.0.13.tar.bz2 350509 SHA256 a39f8e93882e802563fa724cc1b392c31f25aec7c71beb0a60c20670b93be38a SHA512 1ccf8118c05babd8e4856dd40d60a1340d5db40b27aa8527343dabfeec74e8cbf99a713a19028f68e6a36369670a69f769b20a80f7aad27d2ccbbda32b393d40 WHIRLPOOL f4bdc97a177f45c092ce0f494c627c3a4016b4f2257479788fc8037f23f24b6cc388fa462a562c3c221427363593190cc4724dbd44d3f6679454135bddd941a3 +EBUILD ferrisloki-3.0.13-r2.ebuild 1034 SHA256 b2d0550a91f48c37d8fd821817f74b25bb4a582c877ee22c5e32a980cc973241 SHA512 2653b98a0c94d206c6457f48595dfbe73c2956e9253643f19fce5bd2a5d482fedc45a632438f8135f15c9744bce58ac25f9924f2d205ef7bd67b21a0d7490769 WHIRLPOOL c1d9f3069a67f9058a219bc768759ccb1acafe91bcae5ca20d620405ab934b4883dde64b74f0af7c5a742935817bb5f4c18bca17a0cf5fae5acb1a6f24ec3c33 +MISC ChangeLog 3350 SHA256 383f070048a80255bd33b4fd24f4121d5532273f51393e77ede99c7759feb40e SHA512 e58ed9cbd121d4cadc711fa3b6478150ce6b87a2127c1eab4262350188728bb03a572410b440b15fd0c13de18aef69bb4da2d225bf2319daf0ebfde562c7d96b WHIRLPOOL 956f25ae4e30e52b90580e7c8566706bdabccba5031d2a75bac15c9a11a84b585aac086d92a602ee07be8acb363dbc78b617013b13971c69b0b099ebe4718940 +MISC ChangeLog-2015 3736 SHA256 5905746ce2a6bac0b65c8dc73700059ce742aaad351a98d9641e57e2ec18b876 SHA512 e2d6b2da5beb26c1245b93a13ad6b91f3cd9d4902a950bb87c516430278325ad2955fb7f110b886d00601a5aa5959d4530f02db59771c3ebe8e2a14e9289e025 WHIRLPOOL 7500fb47760a84981787d9bb79cdea71989ae80d2ebcf5ce85258fd389d4407ebb41f6d315b7227df798703bd3e16b40a4a86db4352233bab2881b6db906e264 +MISC metadata.xml 324 SHA256 45493d205d6bef5098fad209c61dc4067d675f22155ba4ae1ec1ca38156a0d34 SHA512 ab505f6158ad3a071a47609be7833bda33168b023c98f0b8614d3d70aab5b5cdbc148910d3d078f190d5e69cbd998df27a2b94f11364a92cae00468d6d7516c3 WHIRLPOOL 7de7bcb0a249ade11066622942ff4f9486306f809d8a00259b6ec91e43ce7909622ed66508660b22de2195d8f43a4c773ae430df1e228949bf4d581b6edcd70f diff --git a/dev-libs/ferrisloki/ferrisloki-3.0.13-r2.ebuild b/dev-libs/ferrisloki/ferrisloki-3.0.13-r2.ebuild new file mode 100644 index 000000000000..3fdf609652cb --- /dev/null +++ b/dev-libs/ferrisloki/ferrisloki-3.0.13-r2.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit flag-o-matic + +DESCRIPTION="Loki C++ library from Modern C++ Design" +HOMEPAGE="http://www.libferris.com/" +SRC_URI="mirror://sourceforge/witme/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux" +IUSE="static-libs" + +RDEPEND=" + >=dev-libs/libsigc++-2.6:2" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + default + + # derice this damn configure script + sed -i \ + -e '/^CFLAGS/{s: -O3 : :g;s:-Wl,-O1 -Wl,--hash-style=both::;}' \ + -e 's:-lstlport_gcc:-lstlport:' \ + configure || die + + # Fix building with libsigc++-2.6 + find -name '*.h' -exec sed -i '/sigc++\/object.h/d' {} + || die + find -name '*.hh' -exec sed -i '/sigc++\/object.h/d' {} + || die +} + +src_configure() { + append-cxxflags -std=c++11 + + econf \ + --disable-stlport \ + $(use_enable static-libs static) +} + +src_install() { + default + + # package provides .pc files + find "${D}" -name '*.la' -delete || die +} diff --git a/dev-libs/ferrisloki/metadata.xml b/dev-libs/ferrisloki/metadata.xml new file mode 100644 index 000000000000..505d1020ffcc --- /dev/null +++ b/dev-libs/ferrisloki/metadata.xml @@ -0,0 +1,11 @@ + + + + + cpp@gentoo.org + Gentoo C++ Project + + + witme + + diff --git a/dev-libs/ffcall/Manifest b/dev-libs/ffcall/Manifest new file mode 100644 index 000000000000..a5064599bdfa --- /dev/null +++ b/dev-libs/ffcall/Manifest @@ -0,0 +1,13 @@ +AUX ffcall-make-jN.patch 374 SHA256 041cbdd322c16e4292448fe9e721441ec663abe8b380737005b7ad533d6ed02b SHA512 2b5407bdfccb5395b499f725fd0c538ecb89572189bcdfa9dc196e3329cd6c2490b5b51f0c591fde86b8cd8d55cfbdbf916a3c61112a5d8a3888f2a345501123 WHIRLPOOL 74c6e530e66ebe7db7551dbd993209d5df1f04cb051a54e583c91174abba32be5ea687b7b452416ef31166bd6814af75f9dc744e656ccb2ea69b5f708732210f +DIST clisp-2.41.tar.bz2 8319471 SHA256 1e5f8d9b04024ae072536ae3271075c1a422c02d3997a729a6b00912ed2ae323 SHA512 638417834cc8b81a893ea98801d8ec3f6e591062bf799a1462fc36ceb3fa0107eb1c55e335cd32e1f9d931692e806d0c59c7557cfaf3af9cb00349b715111489 WHIRLPOOL aaa8a42627621ffc19e527634f0a0f769ffb804132ab29cbe4ca592db03cc10621b968f279f5ba2a92018e16c617f34ddf2ddfbb9993e30b54c8bce643af307a +DIST ffcall-1.10.tar.gz 914870 SHA256 6f1b5b8fc84b2c0051637fb1e4e4f8b975f5f98bff8fe053c1992347baa4983d SHA512 dceb620907adae5bbbb52cf2d0b0c829242ad22adceb3186b7a887b7ba49e28b607c30179de6b5a0c46a90bd52f9963ce503ca0c69bc3ecf41e3556df094ddca WHIRLPOOL 8f90c8415197ff6d0176b3e95fe8455c0f242264666749ca8228c83df5275fb8c2404a218d0b5170386ad022bc729014cb81b11570e29855305a9efdbfb769d3 +DIST libffcall-1.13.tar.gz 985185 SHA256 1707ce707dbbf57f1bbe9aa56929c0da866046b0d5a26eb0d96d9f0bb29bbce7 SHA512 c059fa89eb3e85bad22d045de074bfc88fae42454821e10905ffd67209b6e6ea44eeab120b869696f77b816aacb9a5af3e4b51c640512e876df1b6da6f296bd4 WHIRLPOOL e79a5eaa0a6d15f81ecac2848dbd57cfc7f05551fbeaacd57b532c07d00778c48834377d3f04a2fedf6009b947786bada1d85ac95e0b7f6a5865981f22fd73a3 +DIST libffcall-2.0.tar.gz 938605 SHA256 41aad2b449d90a5308e72267829db006dc9f9cc8736807082e1f2daef680196c SHA512 d75aa1df97b14692a9137745bae5b24c4d8f739cb1c7f854e7ed47e4a77a49759122abd6b0e445efa56381f47932c13cd21a154b2783649afb9c7a39e73fea04 WHIRLPOOL 62830968e55747ed6a8499b35aa7ab045de4b0b10ea971a6463ea0ff1811b4983ecced817fa2d0b12aac5de750caaf9c0c1603b9b3a33cb7f2e96429637bb39b +EBUILD ffcall-1.10-r2.ebuild 1260 SHA256 3e26e8f50b34f0915cc1e045a4f5441c581cd38af1487342289d71ab2f1fbf3b SHA512 8a43396689364c05fd1111a2e6ae8ce5c16dcbde640420ab5c1f8b43e21e4446a7c325935370b44d5cb645b555277e927ff701a6c9cd7dbdaa083272202465ba WHIRLPOOL 6708f6c26d0afb05aa92c7cd5bf7f65fa9c92318f096827f21449e14583782523601758ab0fc84e1225f31118f6f9639135173a7ed57179954b4ef6eec1e6203 +EBUILD ffcall-1.10-r5.ebuild 2007 SHA256 8f4b4650322c6724197c57c811e1674324c4f16bcbe91e6ea9091ff3b9d7e87f SHA512 f71390ff4d83dc72139c53b998316bf614ac6587c182e3ea51d7fbed26f8a468d00e0211623c68a9b0e636bcbf5321e0e1c02b46bda8a1f7a684133f5e357ba3 WHIRLPOOL 7dc9416aa1618b2f3f55c8ac475ab3c1db132d1e6ae36b4bfd50655a5a3eb6872e08da9cba9b7aedaa5b83a1953e4f6f2d6472c0cfd6d88dd06b2aac36b6ec10 +EBUILD ffcall-1.10.ebuild 1622 SHA256 5d50fd5fbbccbf05a90bf710eb73bfa8acf3f32af586ec0e96ddf81ce52f2fe1 SHA512 2ef41a0ec232346b4ebb118f953da2f8de54cbf0d8495e2897261cc56450aaf366e806707c95649429bb9e575c697e3b3c55c6c63746c27abbaeddfc77ec1a8b WHIRLPOOL dcc1822f32f779b90e7914bfd6a8c6f8bd6c42d317b50529cd3e5fb882e0a165633f386d1472c2a9add4eb3a2090c3c650c24445c00d3e87d2a5bc27168ddc90 +EBUILD ffcall-1.13.ebuild 1485 SHA256 38067cc39a4488cb70431b874c0aa448e3555e756504f7721b36d766a129729b SHA512 cd06188825a8ceaa04adca8bb532b429faf7d2c25a66c09e51a1ebbe5f9b204bbb9fa470363044e795fb9aed9c135b31e05456fe613da181b41618dfa828c69d WHIRLPOOL cd66bb1d64078ad1db8f2945f007026756fe03b00a5c64fe34025ce2313b995834678acbc713de8e8fc146ed203129e9b6158bff9913d540457b4c45fff4328b +EBUILD ffcall-2.0.ebuild 1492 SHA256 8bcd875fe04c34f540b20a24bc324dac959c1417dee267ae8003842a379e06ed SHA512 3e39c946ebde355450fcb121296cc2bb513a6a4bac44121ddcb9eac80fdffd60cf583e48e5ed3512a7cdbcd85b47c011e9a08e20dcff6dd6d78432d247781f41 WHIRLPOOL cc6220295c97a85911ad1b44f7d3b3d19da5b9c727c8f6520535c37a6529d2838bff158e95509994343ee442cab627c6233be20454078c2505f4fb1d8c36d26d +MISC ChangeLog 2656 SHA256 5add85d025118d2a7fdad19b45ae0e0f3f52622f74780d7b83aa1069291a4388 SHA512 25e7fd119335582f426e31b67a892e031730f944d6848faa7967bfa9ba1dab6296418893819c420df226ade32f32832154e4326fe8ff5b3b31d82279a52b8c44 WHIRLPOOL 60b83d1e7b058b700eda9f99c36d56c233035aa99724be09b72bd403498317c552783519cdee8d3b1c9385b74ff94a2edf2cf269b7bc88c18df196ed6d52549c +MISC ChangeLog-2015 5393 SHA256 ebd69c93d3f0ac7e75b68cfb3ae079cddb3bc43fb96f4a61cdf58d1c3c5b37b9 SHA512 9a45eb0c33d64e6dcc51672bcdd2416b077b1cf1b78a146d8dd8f66f55bfbfeee1abace360ab06df70083c41f95c5d3b107ad69e51179587cd18103bad347ae0 WHIRLPOOL b50648963d06c1466f4bf892e285068044cbd70d86e15835c239c884c99d7f73e536f42f4a85a220ff7f43a9e0ea9040d0c572b9c9683f672427b90a429a2f44 +MISC metadata.xml 858 SHA256 1c048c75ac311016b9c59909a71a48571e31371284007ad4244802c59e36f001 SHA512 e64e471f2fdcc289c678bfc4fe3d2f652062907f9ff18d0350c0907b3d9bfa4e92c76bf04d1b2f0fb3f820f917ec4e3bd7d997a0d5e2eb270ac10516cb58f971 WHIRLPOOL 910dcd051c99f33a78d8b981c6989b340e582df4df6661b575c9c29ab2303ca96037b7e192ad6563f5ab793ad4212d300bc60c25f0cb5b039052acf51ef6a171 diff --git a/dev-libs/ffcall/ffcall-1.10-r2.ebuild b/dev-libs/ffcall/ffcall-1.10-r2.ebuild new file mode 100644 index 000000000000..36b6607fb891 --- /dev/null +++ b/dev-libs/ffcall/ffcall-1.10-r2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +inherit eutils flag-o-matic + +# CLISP maintains ffcall now +CLISP_PACKAGE="clisp-2.41" + +DESCRIPTION="foreign function call libraries" +HOMEPAGE="https://www.haible.de/bruno/packages-ffcall.html" +SRC_URI="mirror://sourceforge/clisp/${CLISP_PACKAGE}.tar.bz2" + +# "Ffcall is under GNU GPL. As a special exception, if used in GNUstep +# or in derivate works of GNUstep, the included parts of ffcall are +# under GNU LGPL." -ffcall author +LICENSE="|| ( GPL-2 LGPL-2 )" +SLOT="0" +KEYWORDS="alpha amd64 ~hppa ia64 ~ppc ~ppc64 sparc x86 ~x86-fbsd" +IUSE="" + +S=${WORKDIR}/${CLISP_PACKAGE}/${PN} + +DEPEND="" +RDEPEND="" + +src_compile() { + # Because CHOST is set to (for example) + # alphaev67-unknown-linux-gnu, CPU gets set to alphaev67 which + # doesn't work in the Makefile (29 Jan 2004 agriffis) + local cpu_setting + [[ "${ARCH}" == "alpha" ]] && cpu_setting='CPU=alpha' + + append-flags -fPIC + + # Doc goes in datadir + econf \ + --datadir=/usr/share/doc/${PF} \ + --enable-shared \ + || die "./configure failed" + # bug #298348 + emake -j1 ${cpu_setting} || die +} + +src_install() { + dodoc NEWS README + dodir /usr/share/man + emake DESTDIR=${D} install || die "Install failed" +} diff --git a/dev-libs/ffcall/ffcall-1.10-r5.ebuild b/dev-libs/ffcall/ffcall-1.10-r5.ebuild new file mode 100644 index 000000000000..19bcd6a89fb3 --- /dev/null +++ b/dev-libs/ffcall/ffcall-1.10-r5.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils flag-o-matic toolchain-funcs + +# CLISP maintains ffcall now +CLISP_PACKAGE="clisp-2.41" + +DESCRIPTION="foreign function call libraries" +HOMEPAGE="https://www.haible.de/bruno/packages-ffcall.html" +SRC_URI="mirror://sourceforge/clisp/${CLISP_PACKAGE}.tar.bz2" + +# "Ffcall is under GNU GPL. As a special exception, if used in GNUstep +# or in derivate works of GNUstep, the included parts of ffcall are +# under GNU LGPL." -ffcall author +LICENSE="|| ( GPL-2 LGPL-2 )" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris" +IUSE="" + +S=${WORKDIR}/${CLISP_PACKAGE}/${PN} + +DEPEND="" +RDEPEND="" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-make-jN.patch + + # The build system is a strange mix of autogenerated + # files and manual tweaks on top. Uses $CFLAGS / $LDFLAGS randomly. + # We are adding them consistently here and a bit over the top: + # bugs: #334581 + + for mfi in {,*/,*/*/,}Makefile.in + do + elog "Patching '${mfi}'" + # usually uses only assembler here, but -march= + # and -Wa, are a must to pass here. + sed -e 's/$(CC) /&$(CFLAGS) /g' \ + -i "${mfi}" || die + + # usually uses '$(CC) ... -o something' for linking + sed -e 's/\($(CC) .* \)-o /\1 $(LDFLAGS) -o /g' \ + -i "${mfi}" || die + done +} + +src_configure() { + append-flags -fPIC + append-flags $(test-flags-CC -Wa,--noexecstack) #253963 + + # Doc goes in datadir + econf \ + --datadir="${EPREFIX}"/usr/share/doc/${PF} \ + --enable-shared \ + --disable-static +} + +src_compile() { + # Because CHOST is set to (for example) + # alphaev67-unknown-linux-gnu, CPU gets set to alphaev67 which + # doesn't work in the Makefile (29 Jan 2004 agriffis) + local cpu_setting + [[ "${ARCH}" == "alpha" ]] && cpu_setting='CPU=alpha' + + emake ${cpu_setting} +} + +src_install() { + dodoc NEWS README + dodir /usr/share/man + default + prune_libtool_files +} diff --git a/dev-libs/ffcall/ffcall-1.10.ebuild b/dev-libs/ffcall/ffcall-1.10.ebuild new file mode 100644 index 000000000000..14a5a44b4581 --- /dev/null +++ b/dev-libs/ffcall/ffcall-1.10.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +inherit eutils flag-o-matic + +DESCRIPTION="foreign function call libraries" +HOMEPAGE="https://www.haible.de/bruno/packages-ffcall.html" +SRC_URI="ftp://ftp.santafe.edu/pub/gnu/${P}.tar.gz" + +# "Ffcall is under GNU GPL. As a special exception, if used in GNUstep +# or in derivate works of GNUstep, the included parts of ffcall are +# under GNU LGPL." -ffcall author +LICENSE="|| ( GPL-2 LGPL-2 )" +SLOT="0" +KEYWORDS="alpha amd64 ~hppa ppc sparc x86 ~x86-fbsd" +IUSE="" + +DEPEND="" +RDEPEND="" + +src_compile() { + # Because CHOST is set to (for example) + # alphaev67-unknown-linux-gnu, CPU gets set to alphaev67 which + # doesn't work in the Makefile (29 Jan 2004 agriffis) + local cpu_setting + [[ "${ARCH}" == "alpha" ]] && cpu_setting='CPU=alpha' + + append-flags -fPIC + + econf || die "./configure failed" + make ${cpu_setting} || die +} + +src_install() { + dodoc NEWS README + dohtml avcall/avcall.html \ + callback/callback.html \ + callback/trampoline_r/trampoline_r.html \ + trampoline/trampoline.html \ + vacall/vacall.html + doman avcall/avcall.3 \ + callback/callback.3 \ + callback/trampoline_r/trampoline_r.3 \ + trampoline/trampoline.3 \ + vacall/vacall.3 + dolib.a avcall/.libs/libavcall.a \ + avcall/.libs/libavcall.la \ + vacall/libvacall.a \ + callback/.libs/libcallback.a \ + callback/.libs/libcallback.la \ + trampoline/libtrampoline.a + insinto /usr/include + doins avcall/avcall.h \ + callback/callback.h \ + trampoline/trampoline.h \ + callback/trampoline_r/trampoline_r.h \ + vacall/vacall.h \ + callback/vacall_r.h +} diff --git a/dev-libs/ffcall/ffcall-1.13.ebuild b/dev-libs/ffcall/ffcall-1.13.ebuild new file mode 100644 index 000000000000..127ea9cd215e --- /dev/null +++ b/dev-libs/ffcall/ffcall-1.13.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils flag-o-matic toolchain-funcs + +MY_PV="libffcall-${PV}" + +DESCRIPTION="foreign function call libraries" +HOMEPAGE="https://www.gnu.org/software/libffcall/" +SRC_URI="mirror://gnu/libffcall/${MY_PV}.tar.gz" + +# "Ffcall is under GNU GPL. As a special exception, if used in GNUstep +# or in derivate works of GNUstep, the included parts of ffcall are +# under GNU LGPL." -ffcall author +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris" +IUSE="" + +S=${WORKDIR}/${MY_PV} + +DEPEND="" +RDEPEND="" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-make-jN.patch + + # The build system is a strange mix of autogenerated + # files and manual tweaks on top. Uses $CFLAGS / $LDFLAGS randomly. + # We are adding them consistently here and a bit over the top: + # bugs: #334581 + + for mfi in {,*/,*/*/,}Makefile.in + do + elog "Patching '${mfi}'" + # usually uses only assembler here, but -march= + # and -Wa, are a must to pass here. + sed -e 's/$(CC) /&$(CFLAGS) /g' \ + -i "${mfi}" || die + done + eapply_user +} + +src_configure() { + append-flags -fPIC + + # Doc goes in datadir + econf \ + --datadir="${EPREFIX}"/usr/share/doc/${PF} \ + --enable-shared \ + --disable-static +} + +src_install() { + dodoc NEWS README + dodir /usr/share/man + default + prune_libtool_files +} diff --git a/dev-libs/ffcall/ffcall-2.0.ebuild b/dev-libs/ffcall/ffcall-2.0.ebuild new file mode 100644 index 000000000000..a56e594a0582 --- /dev/null +++ b/dev-libs/ffcall/ffcall-2.0.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils flag-o-matic toolchain-funcs + +MY_PV="libffcall-${PV}" + +DESCRIPTION="foreign function call libraries" +HOMEPAGE="https://www.gnu.org/software/libffcall/" +SRC_URI="mirror://gnu/libffcall/${MY_PV}.tar.gz" + +# "Ffcall is under GNU GPL. As a special exception, if used in GNUstep +# or in derivate works of GNUstep, the included parts of ffcall are +# under GNU LGPL." -ffcall author +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris" +IUSE="" + +S=${WORKDIR}/${MY_PV} + +DEPEND="" +RDEPEND="" + +src_prepare() { + # The build system is a strange mix of autogenerated + # files and manual tweaks on top. Uses $CFLAGS / $LDFLAGS randomly. + # We are adding them consistently here and a bit over the top: + # bugs: #334581 + + for mfi in {,*/,*/*/,}Makefile.in + do + elog "Patching '${mfi}'" + # usually uses only assembler here, but -march= + # and -Wa, are a must to pass here. + sed -e 's/$(CC) /&$(CFLAGS) /g' \ + -i "${mfi}" || die + done + eapply_user +} + +src_configure() { + append-flags -fPIC + + # Doc goes in datadir + econf \ + --datadir="${EPREFIX}"/usr/share/doc/${PF} \ + --enable-shared \ + --disable-static +} + +src_compile() { + # TODO. Remove -j1 + emake -j1 +} + +src_install() { + dodoc NEWS README + dodir /usr/share/man + default + prune_libtool_files +} diff --git a/dev-libs/ffcall/files/ffcall-make-jN.patch b/dev-libs/ffcall/files/ffcall-make-jN.patch new file mode 100644 index 000000000000..98f4c497504e --- /dev/null +++ b/dev-libs/ffcall/files/ffcall-make-jN.patch @@ -0,0 +1,13 @@ +--- ffcall-1.10/callback/Makefile.in~ 2003-10-01 21:46:19.000000000 +0200 ++++ ffcall-1.10/callback/Makefile.in 2007-12-18 21:10:51.302118000 +0100 +@@ -51,6 +51,10 @@ + all-subdirs : force + cd @subdir@; $(MAKE) all + ++vacall_r/libvacall.la: all-subdirs ++ ++trampoline_r/libtrampoline.la: all-subdirs ++ + callback.h : + $(LN_S) $(srcdir)/callback.h.in callback.h + diff --git a/dev-libs/ffcall/metadata.xml b/dev-libs/ffcall/metadata.xml new file mode 100644 index 000000000000..5b705d074820 --- /dev/null +++ b/dev-libs/ffcall/metadata.xml @@ -0,0 +1,30 @@ + + + + + common-lisp@gentoo.org + Gentoo Common Lisp Project + + +ffcall - foreign function call libraries +This is a collection of four libraries which can be used to build foreign +function call interfaces in embedded interpreters. + +The four packages are: + +avcall +- calling C functions with variable arguments + +vacall +- C functions accepting variable argument prototypes + +trampoline +- closures as first-class C functions + +callback +- closures with variable arguments as first-class C functions (a reentrant combination of vacall and trampoline) + + + clisp + + diff --git a/dev-libs/flatbuffers/Manifest b/dev-libs/flatbuffers/Manifest new file mode 100644 index 000000000000..ff505cfafda7 --- /dev/null +++ b/dev-libs/flatbuffers/Manifest @@ -0,0 +1,3 @@ +DIST flatbuffers-1.7.1.tar.gz 475449 SHA256 0f8dcdcfbbaba034756f97e4f9946a3784399b578f1b60c8deee3c85fafa3089 SHA512 57732fc352c216c4be6d3237f93b872abf9dd2b62361d7d2856f99804a178760e4665ead2e33d5acdd00984ad03a746f581c9784ece583e1b2df1a10776f967a WHIRLPOOL 8a86ca1a5d0af6b0a637e1716cf32e8a7784b45d22ddaaf76fce5189c8a67dcbac74eb9d7e852c79d3f4c47543a95bb1765e5a297c5025b0a1ac0e3fae9a76da +EBUILD flatbuffers-1.7.1.ebuild 757 SHA256 b7bad080732169d0ab0ddb078e8314b3fade25a6e3a17ea29f0fc6086a335b46 SHA512 a501a99c56475eba20f9d726ce4215ae61f1165b5185fde26461757ae0a77c6fafd73e51b6e59db2a3746f972a8a81ff3cc8256384d50f52d3825198b72869c2 WHIRLPOOL 782ad7898251a24a377c7ca91e032656d6067daa04d3336de212746147e2f22c7bebc6b802e41180caf81ae41e53fdde3d17131d6ef099dd76d4d954bb19312e +MISC metadata.xml 332 SHA256 27c45db61683d64b4d351f4ead48d884819c8e2b5d77d025175c1cefdd66a008 SHA512 c30e9735c09dc9df55b25e8943fb2bf4b9b780b396bd82ccdc9ae45c22940599ea38d4bf7a000721e3a0d9b84955fee047a545ce23f3c4c919b349f437182719 WHIRLPOOL 8142be459f42d36f7866d77efaa231400043416ceecf099855c3262592df1353247b37803ca0b664550a6e8a7d013a4496207c650f671f77ae7134a5cf0d4bca diff --git a/dev-libs/flatbuffers/flatbuffers-1.7.1.ebuild b/dev-libs/flatbuffers/flatbuffers-1.7.1.ebuild new file mode 100644 index 000000000000..80004da23625 --- /dev/null +++ b/dev-libs/flatbuffers/flatbuffers-1.7.1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils flag-o-matic + +DESCRIPTION="Memory efficient serialization library" +HOMEPAGE="https://google.github.io/flatbuffers/" +SRC_URI="https://github.com/google/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="static-libs test" + +src_prepare() { + sed -i -e "s/DESTINATION lib/DESTINATION $(get_libdir)/" CMakeLists.txt || die + + cmake-utils_src_prepare +} + +src_configure() { + append-cppflags -std=c++11 + + local mycmakeargs=( + -DFLATBUFFERS_BUILD_FLATLIB=$(usex static-libs) + -DFLATBUFFERS_BUILD_SHAREDLIB=ON + -DFLATBUFFERS_BUILD_TESTS=$(usex test) + ) + + cmake-utils_src_configure +} diff --git a/dev-libs/flatbuffers/metadata.xml b/dev-libs/flatbuffers/metadata.xml new file mode 100644 index 000000000000..69ce66602487 --- /dev/null +++ b/dev-libs/flatbuffers/metadata.xml @@ -0,0 +1,11 @@ + + + + + kde@gentoo.org + Gentoo KDE Project + + + google/flatbuffers + + diff --git a/dev-libs/folks/Manifest b/dev-libs/folks/Manifest new file mode 100644 index 000000000000..50837248abaa --- /dev/null +++ b/dev-libs/folks/Manifest @@ -0,0 +1,7 @@ +DIST folks-0.11.3.tar.xz 1950448 SHA256 2a2828a7c87fd39e5786f8f2cf0ebe47576a74974f1355c478a6dc747d7bcb64 SHA512 ff7061e07545d3c66045dd6fda1045023778b5cf6a4beb15ebd494076d9133564ec06eda22fe9c61bc91545900a0f0cb0bfa17e29046ef376c12e6b6043faa85 WHIRLPOOL a2f5447cc2aeae37939a5abe0ba4f009ba1155288ef6c8d6ffb47f97f5f2c397ab4887300f8c0e7e1c0f53654a26d79561c55d460184ef8d6adf4f03b7b8a4a4 +DIST folks-0.11.4.tar.xz 1972272 SHA256 a7b03ed30373e29f62fc3e6f498adce2d4909b852608fc2058a02fda9f80189a SHA512 bd4088322c34b5d6e633d7d5d83dfb61eb3499014adf6fecad27231ec63509401b2867186d019a2f7c92cc3b3f2e6cfbc80e0d4700d84ce7a08d8153af3d2392 WHIRLPOOL 07792b570e9acb8aa56d56038ab909d869dfb6d4ac8e5e0ffeff33492791ae167e2dd5ae7e34c10459832c70761e3a1d277ceaf70b7ec908e920e7d0c67f8b4f +EBUILD folks-0.11.3.ebuild 2372 SHA256 252f41131a57f527239a5a1363ab96d9cbc7926854a1e3cef4700ced957d9b0f SHA512 a5be614430d74322199855c05a5d3270592717336aa8e23026fef966139326c4c60d4ea4f652b38be1e93c4585ff8a7a1542994d069b56bc2e47d7b826e0dcd5 WHIRLPOOL 6aae8984bdac37a10ae97d9f3a3d2e9cd94528045ad958605a5b6b30b29653e9c94852837bb53b9c95e56a8fdf7a2f7bc6a97880a9ee8733220af0b775e9cbab +EBUILD folks-0.11.4.ebuild 2374 SHA256 161621db149fb41ac96dd16864bd4003ee690ee1007ed92c3ff684ae0daa8328 SHA512 4d19d150aceefe73bc39c08ccc921f50bf2b2d6baa777cf5f1293a54bf5d401fc4ba9e975d5a92d4ae376cae7f53efe1712ffb1b7ecd222bf84322e2ab876ec5 WHIRLPOOL 015eb739b1c726f540886f26406d84feba11d7c45a758ac3d5247f190df4288af9332b2f091adc72ce3de7eb954412f619838609760c59bfa30085a06b46859f +MISC ChangeLog 3980 SHA256 9e44eac479c73f8486bb42288d34829c38a0ebe914797caf18aa5d7577c64c69 SHA512 b3a8e7b0ac9624915ccda36fff3815c1ecd198e59241550f24cad02e3af1ed5311c8fb10c40cb7dadf38c3f4b6149643fc1b57c1749495260d05327a1892c528 WHIRLPOOL d8e178546307800c8125590667031257f893b10329c81041f6d30fb725346017269a1b317773e3c4e9efb1769397ce351c22a7a0380d8c1e8acff74f636c36fa +MISC ChangeLog-2015 7870 SHA256 5bb7197dc32f37db6cff021205ec63ee66ae666234271ceaf90bc0332a94a697 SHA512 33b4a8435d7fb88adb306546ed2bd48d5b72bb34d6f773db26f1ea70e48b2df8cbf0794c474dc7b2a06db4dd21f7d610276348a44d6b7b00fbee056e7848ee61 WHIRLPOOL 46129bab797528d9a18edcc1515df79f56a0184dc9f02caeaa46ed4e6ef49884fe245b11b930345516806654b7a477a1bce307a5cd10e999b7099b73357aabb0 +MISC metadata.xml 556 SHA256 f2f07db5cf76963e3ae38f2efcd0e8d1e7a4170b3a2a56e4c2217761a8563ef5 SHA512 d984c087dabcd82d2ea2ac288594c7a3fa46dde36b863eaaa2c5a49fa6e02b087d819b5b3bcc7d896fe850de593bc185c164ab0124d89cea0340c569d1ecec7b WHIRLPOOL d9b099fcfdc9ad37f78b5dfb2e0b7b0588be9127daf061ca696bd4e10d51b566c796b8fad45ea74507934a4444c0a1aece9e060a91f9897df006e55b76ac40a7 diff --git a/dev-libs/folks/folks-0.11.3.ebuild b/dev-libs/folks/folks-0.11.3.ebuild new file mode 100644 index 000000000000..18f44feee159 --- /dev/null +++ b/dev-libs/folks/folks-0.11.3.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +GNOME2_LA_PUNT="yes" +VALA_USE_DEPEND="vapigen" + +inherit gnome2 vala virtualx + +DESCRIPTION="Library for aggregating people from multiple sources" +HOMEPAGE="https://wiki.gnome.org/Projects/Folks" + +LICENSE="LGPL-2.1+" +SLOT="0/25" # subslot = libfolks soname version +KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86 ~x86-linux" + +# TODO: --enable-profiling +# Vala isn't really optional, https://bugzilla.gnome.org/show_bug.cgi?id=701099 +IUSE="bluetooth debug eds +telepathy test tracker utils zeitgeist" +REQUIRED_USE="bluetooth? ( eds )" + +COMMON_DEPEND=" + $(vala_depend) + >=dev-libs/glib-2.40:2 + dev-libs/dbus-glib + >=dev-libs/gobject-introspection-1.30:= + >=dev-libs/libgee-0.10:0.8[introspection] + dev-libs/libxml2 + sys-libs/ncurses:0= + sys-libs/readline:0= + + bluetooth? ( >=net-wireless/bluez-5 ) + eds? ( >=gnome-extra/evolution-data-server-3.13.90:=[vala] ) + telepathy? ( >=net-libs/telepathy-glib-0.19.9[vala] ) + tracker? ( >=app-misc/tracker-1:0= ) + zeitgeist? ( >=gnome-extra/zeitgeist-0.9.14 ) +" +# telepathy-mission-control needed at runtime; it is used by the telepathy +# backend via telepathy-glib's AccountManager binding. +RDEPEND="${COMMON_DEPEND} + net-im/telepathy-mission-control +" +# folks socialweb backend requires that libsocialweb be built with USE=vala, +# even when building folks with --disable-vala. +# +# FIXME: +# test? ( bluetooth? ( dbusmock is missing in the tree ) ) +DEPEND="${COMMON_DEPEND} + >=dev-util/intltool-0.50.0 + sys-devel/gettext + virtual/pkgconfig + + test? ( + sys-apps/dbus + bluetooth? ( + >=gnome-extra/evolution-data-server-3.9.1 + >=dev-libs/glib-2.40:2 ) ) +" + +src_prepare() { + vala_src_prepare + gnome2_src_prepare +} + +src_configure() { + # Rebuilding docs needs valadoc, which has no release + gnome2_src_configure \ + $(use_enable bluetooth bluez-backend) \ + $(use_enable debug) \ + $(use_enable eds eds-backend) \ + $(use_enable eds ofono-backend) \ + $(use_enable telepathy telepathy-backend) \ + $(use_enable tracker tracker-backend) \ + $(use_enable utils inspect-tool) \ + $(use_enable test modular-tests) \ + $(use_enable zeitgeist) \ + --enable-vala \ + --enable-import-tool \ + --disable-docs \ + --disable-fatal-warnings \ + --disable-libsocialweb-backend +} + +src_test() { + dbus-launch virtx emake check +} diff --git a/dev-libs/folks/folks-0.11.4.ebuild b/dev-libs/folks/folks-0.11.4.ebuild new file mode 100644 index 000000000000..0bb16a8854e2 --- /dev/null +++ b/dev-libs/folks/folks-0.11.4.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +GNOME2_LA_PUNT="yes" +VALA_USE_DEPEND="vapigen" + +inherit gnome2 vala virtualx + +DESCRIPTION="Library for aggregating people from multiple sources" +HOMEPAGE="https://wiki.gnome.org/Projects/Folks" + +LICENSE="LGPL-2.1+" +SLOT="0/25" # subslot = libfolks soname version +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-linux" + +# TODO: --enable-profiling +# Vala isn't really optional, https://bugzilla.gnome.org/show_bug.cgi?id=701099 +IUSE="bluetooth debug eds +telepathy test tracker utils zeitgeist" +REQUIRED_USE="bluetooth? ( eds )" + +COMMON_DEPEND=" + $(vala_depend) + >=dev-libs/glib-2.40:2 + dev-libs/dbus-glib + >=dev-libs/gobject-introspection-1.30:= + >=dev-libs/libgee-0.10:0.8[introspection] + dev-libs/libxml2 + sys-libs/ncurses:0= + sys-libs/readline:0= + + bluetooth? ( >=net-wireless/bluez-5 ) + eds? ( >=gnome-extra/evolution-data-server-3.13.90:=[vala] ) + telepathy? ( >=net-libs/telepathy-glib-0.19.9[vala] ) + tracker? ( >=app-misc/tracker-1:0= ) + zeitgeist? ( >=gnome-extra/zeitgeist-0.9.14 ) +" +# telepathy-mission-control needed at runtime; it is used by the telepathy +# backend via telepathy-glib's AccountManager binding. +RDEPEND="${COMMON_DEPEND} + net-im/telepathy-mission-control +" +# folks socialweb backend requires that libsocialweb be built with USE=vala, +# even when building folks with --disable-vala. +# +# FIXME: +# test? ( bluetooth? ( dbusmock is missing in the tree ) ) +DEPEND="${COMMON_DEPEND} + >=dev-util/intltool-0.50.0 + sys-devel/gettext + virtual/pkgconfig + + test? ( + sys-apps/dbus + bluetooth? ( + >=gnome-extra/evolution-data-server-3.9.1 + >=dev-libs/glib-2.40:2 ) ) +" + +src_prepare() { + vala_src_prepare + gnome2_src_prepare +} + +src_configure() { + # Rebuilding docs needs valadoc, which has no release + gnome2_src_configure \ + $(use_enable bluetooth bluez-backend) \ + $(use_enable debug) \ + $(use_enable eds eds-backend) \ + $(use_enable eds ofono-backend) \ + $(use_enable telepathy telepathy-backend) \ + $(use_enable tracker tracker-backend) \ + $(use_enable utils inspect-tool) \ + $(use_enable test modular-tests) \ + $(use_enable zeitgeist) \ + --enable-vala \ + --enable-import-tool \ + --disable-docs \ + --disable-fatal-warnings \ + --disable-libsocialweb-backend +} + +src_test() { + dbus-launch virtx emake check +} diff --git a/dev-libs/folks/metadata.xml b/dev-libs/folks/metadata.xml new file mode 100644 index 000000000000..b7d687336697 --- /dev/null +++ b/dev-libs/folks/metadata.xml @@ -0,0 +1,14 @@ + + + + + gnome@gentoo.org + Gentoo GNOME Desktop + + + Load contacts from app-misc/tracker index + Load contacts from the Telepathy framework + Build the folks-inspect utility + Add support for Zeitgeist event tracking system + + diff --git a/dev-libs/freexl/Manifest b/dev-libs/freexl/Manifest new file mode 100644 index 000000000000..bd9a0f281e13 --- /dev/null +++ b/dev-libs/freexl/Manifest @@ -0,0 +1,7 @@ +DIST freexl-1.0.1.tar.gz 933371 SHA256 df0127e1e23e9ac9a189c27880fb71207837e8cba93d21084356491c9934b89b SHA512 a945d642a7ae9bc7c9dfc48a5bfd61da71290558bbcc73124bc09f08e8eae3bc96ab5e478a5b5205a897ad5d7783269a8232992d5068121436013c51524801c5 WHIRLPOOL 3d5277d3797784cd561867c95bdd80104088acc0b8b5b92268e540c313621421b1b065bafcef59b43fd4311d7cebeddcdb0f1cb22005a80b717719b1c524a597 +DIST freexl-1.0.2.tar.gz 939064 SHA256 b39a4814a0f53f5e09a9192c41e3e51bd658843f770399023a963eb064f6409d SHA512 554ad06905cbac3f88694e798369c1e1c4c64709eb4086b80eb3370dfd3bdc31d1b58441bcbf40b72700f177606ae900f2ab48ead873ac331c82edd718318354 WHIRLPOOL c77d18eeca8bfe2197295a69d52bfde858b07975e2b971e41a70fb5912cca167b8ff1c1ce8040520a26aade434e94aa4d6c33666634792c6cd6640ae65263e73 +EBUILD freexl-1.0.1.ebuild 546 SHA256 91fcd4964e0d8d5ba3fae56e2a76ef6e856d67ae16ece37d62b3f01d45c3df09 SHA512 b849d5e844b1eaad5b5419a3398d71bd217fa0aa8cc330f5a3e2e0dfe69d773c32265f74dff8492ec0948403acdcf8420f582a11c758c6541229ef991dc006b9 WHIRLPOOL cbf53f60e0747e609c3bc48d7ca65d35b457a1e9470a37c901d9aa73ede0c16fb3b4c3ea48236c4af0dcbff87cce1de456a019f7921516e74ae795e8ccba848f +EBUILD freexl-1.0.2.ebuild 563 SHA256 934e062844e690bb0d177401f1c352d3ad8efc2f6651c54f94e211131abe0c49 SHA512 5f6abeb32bd54ba6c4e9c918e1a2bea3ccb0986dc1a8c4a4cbc763a5cb48dacf2017013c5018f2710c4206810ad3352a38e4e50126d1d78311c213680723eeac WHIRLPOOL 05d5eb2f5aabe11c36e60b67484fad6d0c918fa7bd302da988787bbc71d25109eae0131abec4c67c68832ca8a3a5d82156d3e518ee8665c824f031f8ad0bba82 +MISC ChangeLog 3755 SHA256 822ef018720a0c75f88ee2c0e34e5b0dd3dd672597f746c25e51ce85b5536d1c SHA512 db98dce75bd6f7c9ddcd2cbebde837e7fe33c0e1df10bbfe94acb0e06d34d4bba33f94ef3e42bd259933170c3aa16cf2d25118e85e7bb6f39ffcc314f43fdc54 WHIRLPOOL 3d35e7c267f9ece88c062985cf70171fb0c3c6a990e75dc1dff97783328564ed3d7e72a0ccaed14f211076f9b14b5b6300adf08e340f4e4b98106837982189f3 +MISC ChangeLog-2015 1965 SHA256 d2c8a82e77273385130902ad2c24344ae2142a3ac6ac6e073497803faf1d11b4 SHA512 fb303bac5735da3800401fe7b52134d90ae481ade7d7e129937cc04abea961de420707fa2572fe689578d03d0710218e74737edad2d446904210aff1b61223f3 WHIRLPOOL 5ff84519ab7e166d653480d19f4a98eb2414348eb2b2adf6973c6a393a67f248bd66e5a5c2cace993d8027a9a6a8e4e2851d559dcacc2d474309f232505ce506 +MISC metadata.xml 269 SHA256 40cab114263d43c3b93b822066d1871574ffb54eb88971fe3ba2f978de6683df SHA512 9877d09d42c801d752617b41c7fb790db8e10c033c02ee9fe9a04fa1c6a8ea06d3baeb4f81d041b57e883d5d9dadb429289faae90d0293c62334ba35549e0276 WHIRLPOOL 4ab6badc6e62443d13b8f13341e48263abd3f6907a32dfa263470528c1eb445fb4ec79ad7f9979177846c0a3a39dcafa27dff466fd283946da5c8bc1872b9218 diff --git a/dev-libs/freexl/freexl-1.0.1.ebuild b/dev-libs/freexl/freexl-1.0.1.ebuild new file mode 100644 index 000000000000..6c03d0340b7a --- /dev/null +++ b/dev-libs/freexl/freexl-1.0.1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils + +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 ~arm ppc ppc64 x86" +IUSE="static-libs" + +DEPEND="virtual/libiconv" +RDEPEND="${DEPEND}" + +src_configure() { + econf \ + $(use_enable static-libs static) +} + +src_install() { + default + + prune_libtool_files --all +} diff --git a/dev-libs/freexl/freexl-1.0.2.ebuild b/dev-libs/freexl/freexl-1.0.2.ebuild new file mode 100644 index 000000000000..a8cf5d9235cb --- /dev/null +++ b/dev-libs/freexl/freexl-1.0.2.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils + +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 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86" +IUSE="static-libs" + +DEPEND="virtual/libiconv" +RDEPEND="${DEPEND}" + +src_configure() { + econf \ + $(use_enable static-libs static) +} + +src_install() { + default + + prune_libtool_files --all +} diff --git a/dev-libs/freexl/metadata.xml b/dev-libs/freexl/metadata.xml new file mode 100644 index 000000000000..2761b1b9e5c0 --- /dev/null +++ b/dev-libs/freexl/metadata.xml @@ -0,0 +1,8 @@ + + + + + sci-geosciences@gentoo.org + Gentoo Geosciences Project + + diff --git a/dev-libs/fribidi/Manifest b/dev-libs/fribidi/Manifest new file mode 100644 index 000000000000..51a55970a7e4 --- /dev/null +++ b/dev-libs/fribidi/Manifest @@ -0,0 +1,12 @@ +AUX fribidi-0.19.2-nodoc.patch 326 SHA256 e72ede72adab960ed4b1f436a77511c52ce9c9529cef5880527c6c7f4adf6a65 SHA512 cebfda88ee8a073ea270f18c43e00aa3c15e4646511b161930d9afbafd67a6535423a78025e415031d7a5582243c326940cc8ce418f74a60424505a43614b674 WHIRLPOOL 6e0e35a0541991133c722f377a57ba06fdbf5a6856d5f56b9be4c263a9b024feb91701de9c4901fe41488af216f9df5bbb14075b425598ddca5e9c6b83574908 +AUX fribidi-0.19.5-signedwarning.patch 617 SHA256 920f334e80b6831bfce797b0b95b7a9bc4861ea66997756293412f70447a257d SHA512 3fa29f77adb19d2da52ff46d39d3da7662edf80d4cde98d87d3827a8b844c2e272408a611d7ef1364f72b78e801ce585a5ff89fe2a85729fa95982c3aecaedd5 WHIRLPOOL 95023548003833e46c4fe02a65900c9a175edd6acf7ffd642b6e87d32c7937b5acb017c85380024b4f253fa1c9d24074790ec2d425a0eb67a7e6c90b8a86911a +AUX fribidi-0.19.6-page-size-header.patch 852 SHA256 ea023043f13c4cfc40126f234444c39df9d3c23c7b9a0e4cc438f8e2c5385f48 SHA512 3d8fb438832b9de217c8468ecdd61101d9fa8f5e8ee5c9e4af9b4e01e6b04e6ba35351c586767ab794dfbb8d2e05e30c2f947bf97163839f4d46aff98e9be74c WHIRLPOOL 07829e2e23fd175eaf0c487f46fa0fabadf0da1bda9889e041ec126214433a52d2eea00b4deea323002f5416ea08598ab6456b3a0ec7604a4f6f744dd52c3c8f +DIST fribidi-0.19.5.tar.bz2 625034 SHA256 501231e4260f83fccedae1cafe983a7de87082e3f5387e0b283d016f7f4cb428 SHA512 0a1216d3ff23f76dd90a1fa5b1eadd1276cfedc07bd636e345df23911d2e23bc3780a5ba2e32f2025b517f7137135fb3de6d337f872932466efe480ece364e43 WHIRLPOOL 5241696a5477f9cd1931213b14a27a21647ccabbaaaa0d2f8112a51efeeb7557b3b614bbb30500cd1ebf17fd4332007c22c42c1667e738dc2a2e94e1c182211a +DIST fribidi-0.19.6.tar.bz2 639022 SHA256 cba8b7423c817e5adf50d28ec9079d14eafcec9127b9e8c8f1960c5ad585e17d SHA512 0661cf8e0985edfd5bf02c8de32432bf2faacadcaf35aef4e039a28f802a0468288e76b60231ebe7b54f909bd4d3ecc31a1fc94e83d434ae16dd21de6089629e WHIRLPOOL 71a1d1b44a4d58e6e4567f21a7e9f72a925f648a817d1c59d3815c8070e48656889c91afe2c842ca56e2bd8f33c783a4bbf16864514106614a12b8394c03e674 +DIST fribidi-0.19.7.tar.bz2 648299 SHA256 08222a6212bbc2276a2d55c3bf370109ae4a35b689acbc66571ad2a670595a8e SHA512 4bfdda43d961030a8a2ae2c98d2ca5d43c1b59633fa0987920c5537ec69f3f624204ceacc4c474d878cbb417ee2d9e708dfe169cfce6ad584d2f2d5122678b63 WHIRLPOOL 3f101ad3b2ebe6299a61e849a0f46f3393e12a6ade6239db7428772d1389222b76b2d1ad9c1d7c0bb75fc100e7f83859c3ef8b98be6f3e5178555be1920fcf52 +EBUILD fribidi-0.19.5-r1.ebuild 1230 SHA256 e405ffec7c4f56c00b26b8f64f7976ab90fe876c92c650e845624b4a13b05160 SHA512 15eca6f872310d9696b0e0cb8e79db49a8da5cc85bba9e091e2f9df177a46b3426097f5b4053fe350a9ebd76061cb1050dc159787ef6ea29f29e59ecdf619b6f WHIRLPOOL 8d8a95c439d6dce82f66c00918ef53bc96c66393b7a20070a2c80b60d9a82e44bf448691a8391d52e480c4b483de821747d41d18e5f44fc0775e5fc62856d176 +EBUILD fribidi-0.19.6.ebuild 1423 SHA256 57cdc63a3cc22afb10b17e2e3e2aa35e9419779f8b9792dcec5fa50e1fc24de5 SHA512 840b726ab6ae5eb7bc0bd018318871e0a4e59ad3429e699173e2552b43f59299ea47cb3035f92597d7b1ed2c3c7fde6baddd78c96f8829fc41e74286d7415399 WHIRLPOOL 57f8048ef59af3971f495e134c2cc8d2be39860de84a8dcf96000a04fbc34e3ab8b351b54e26877d65615bbeb7b9a9f836ebef463b4d76e8217fa33460d52ad7 +EBUILD fribidi-0.19.7.ebuild 1172 SHA256 6f5dc3f809a5e931f423be0687b35a54b344f26853e1c093b3a9b356430f6275 SHA512 52397ce3078775a13fdf8571995de383c88495468c32ce82ee28ba242f0acea9e6cc3d76c324d058e4fd9faff5a695feea874f2a5b22fddbe926c4928d26f9b7 WHIRLPOOL 8375569d1d3e796b3cf093fb426732003a3a38c634e87744b9533e5d0f7174406b1472b35e004cf23b8e2dd0b95aad44ed6946c0b158329c5e688ca332eb64ea +MISC ChangeLog 2929 SHA256 216ea0ac9fd32603fde4847cc45c259771de9bb85307cd1d425089a36207aa89 SHA512 2fbf0b460a93e9aefea18229f19d4452cbb66dc50bdec488af39f9752d076ca591fbeafa1eda882a70b5ab0edacad417a4cf4c05ee82d3568b69c7f48ac2972a WHIRLPOOL 42c474f6412908ae5f2c1a1ba5eccb0e276067c10f22760b4161bd77dac2fcae018a52351395271fdee5b4f00fa9867f75cec7cfcd32aca769a0e3478711e3d0 +MISC ChangeLog-2015 12190 SHA256 e32c65a0e5b05fae6cab12cb69c61e81adc2cfdc668b7f7c5c75ed1c7ac6dd18 SHA512 b289a600f0c3e72efb6547b97107ce87ab50d8741de5690da7b93bec75c4667b018a6f6995b622987c9680f831a81130f8b9def1d38177f32e04af72b769096c WHIRLPOOL 7d0b864df4ec9b645637149416b21cacbc46fea01cb7ab7fb1a5c11caae7b5105b44c24daf43cfb078e0863ed922658d16eb4e1614045f3fe9094a3ec8f34ab4 +MISC metadata.xml 213 SHA256 92283c921a4a568843a86acdc11c0c7747dba81dc07a8d1f5b5cec050f70005d SHA512 3071eec004199ae5b87fea47cba66f64e043f414a005b3f00645381c3a00452ce2216ff694d46626105868de8ca93ef72841ac852fa23bba0c56d724cb666eba WHIRLPOOL f0b9123f6e0c5f238bec2f40cef270cee18bdc7f48adb1dbe04e59ff0e6f85ccc305a5c6f5f4b653bb3c5893acbbe0986ae845f1c2b5257f8d37f56008b9781f diff --git a/dev-libs/fribidi/files/fribidi-0.19.2-nodoc.patch b/dev-libs/fribidi/files/fribidi-0.19.2-nodoc.patch new file mode 100644 index 000000000000..8649db285528 --- /dev/null +++ b/dev-libs/fribidi/files/fribidi-0.19.2-nodoc.patch @@ -0,0 +1,11 @@ +--- Makefile.am ++++ Makefile.am +@@ -9,7 +9,7 @@ + ############################################################################## + + ## The order of subdirs is important, don't change without a reason. +-SUBDIRS = gen.tab charset lib bin doc test ++SUBDIRS = gen.tab charset lib bin test + + EXTRA_DIST = bootstrap ChangeLog.old + diff --git a/dev-libs/fribidi/files/fribidi-0.19.5-signedwarning.patch b/dev-libs/fribidi/files/fribidi-0.19.5-signedwarning.patch new file mode 100644 index 000000000000..2619bf375510 --- /dev/null +++ b/dev-libs/fribidi/files/fribidi-0.19.5-signedwarning.patch @@ -0,0 +1,22 @@ +From 78dc3af68ed0e1aafe54c176b28dadee66eb306c Mon Sep 17 00:00:00 2001 +From: Behdad Esfahbod +Date: Thu, 06 Dec 2012 17:17:53 +0000 +Subject: Fix theoretically possible overflow + +https://bugzilla.redhat.com/show_bug.cgi?id=884000 +--- +diff --git a/bin/fribidi-main.c b/bin/fribidi-main.c +index ac9e2ff..dd27f0d 100644 +--- a/bin/fribidi-main.c ++++ b/bin/fribidi-main.c +@@ -519,7 +519,7 @@ main ( + idx++; + } + #endif /* !FRIBIDI_MAIN_USE_ICONV_H */ +- if (wid < 0 && idx > st + 1) ++ if (wid < 0 && idx - st > 1) + idx--; + inlen = idx - st; + +-- +cgit v0.9.0.2-2-gbebe diff --git a/dev-libs/fribidi/files/fribidi-0.19.6-page-size-header.patch b/dev-libs/fribidi/files/fribidi-0.19.6-page-size-header.patch new file mode 100644 index 000000000000..c2b39155eea2 --- /dev/null +++ b/dev-libs/fribidi/files/fribidi-0.19.6-page-size-header.patch @@ -0,0 +1,20 @@ +diff -ur fribidi-0.19.6.old/lib/common.h fribidi-0.19.6/lib/common.h +--- fribidi-0.19.6.old/lib/common.h 2012-12-30 00:12:59.000000000 +0000 ++++ fribidi-0.19.6/lib/common.h 2014-05-03 11:04:19.969727962 +0100 +@@ -130,14 +130,8 @@ + /* FRIBIDI_CHUNK_SIZE is the number of bytes in each chunk of memory being + * allocated for data structure pools. */ + #ifndef FRIBIDI_CHUNK_SIZE +-# if HAVE_ASM_PAGE_H +-# ifndef __FRIBIDI_DOC +-# include +-# endif /* __FRIBIDI_DOC */ +-# define FRIBIDI_CHUNK_SIZE (PAGE_SIZE - 16) +-# else /* !HAVE_ASM_PAGE_H */ +-# define FRIBIDI_CHUNK_SIZE (4096 - 16) +-# endif /* !HAVE_ASM_PAGE_H */ ++# include ++# define FRIBIDI_CHUNK_SIZE (sysconf(_SC_PAGESIZE) - 16) + #else /* FRIBIDI_CHUNK_SIZE */ + # if FRIBIDI_CHUNK_SIZE < 256 + # error FRIBIDI_CHUNK_SIZE now should define the size of a chunk in bytes. diff --git a/dev-libs/fribidi/fribidi-0.19.5-r1.ebuild b/dev-libs/fribidi/fribidi-0.19.5-r1.ebuild new file mode 100644 index 000000000000..5566b38636bd --- /dev/null +++ b/dev-libs/fribidi/fribidi-0.19.5-r1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit autotools eutils + +DESCRIPTION="A free implementation of the unicode bidirectional algorithm" +HOMEPAGE="https://fribidi.org/" +SRC_URI="https://fribidi.org/download/${P}.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris" +IUSE="static-libs" + +RESTRICT="test" #397347 + +RDEPEND=">=dev-libs/glib-2" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +DOCS="AUTHORS NEWS README ChangeLog THANKS TODO" + +src_prepare() { + epatch \ + "${FILESDIR}"/${PN}-0.19.2-nodoc.patch \ + "${FILESDIR}"/${P}-signedwarning.patch + + # Fix compability with dev-libs/glib >= 2.31 + sed -i \ + -e '/include/s:::' \ + -e '/include/s:::' \ + charset/fribidi-char-sets.c lib/mem.h || die + + eautoreconf +} + +src_configure() { + # --with-glib=yes is required for #345621 to ensure "Requires: glib-2.0" is + # present in /usr/lib/pkgconfig/fribidi.pc + econf \ + $(use_enable static-libs static) \ + --with-glib=yes +} + +src_install() { + default + prune_libtool_files +} diff --git a/dev-libs/fribidi/fribidi-0.19.6.ebuild b/dev-libs/fribidi/fribidi-0.19.6.ebuild new file mode 100644 index 000000000000..f84e757e93f3 --- /dev/null +++ b/dev-libs/fribidi/fribidi-0.19.6.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +AUTOTOOLS_AUTORECONF=1 + +inherit autotools eutils autotools-multilib + +DESCRIPTION="A free implementation of the unicode bidirectional algorithm" +HOMEPAGE="https://fribidi.org/" +SRC_URI="https://fribidi.org/download/${P}.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris" +IUSE="static-libs" + +RESTRICT="test" #397347 + +RDEPEND=">=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}] + abi_x86_32? ( !<=app-emulation/emul-linux-x86-medialibs-20130224-r10 + !app-emulation/emul-linux-x86-medialibs[-abi_x86_32(-)] )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +DOCS=( AUTHORS NEWS README ChangeLog THANKS TODO ) + +src_prepare() { + epatch \ + "${FILESDIR}"/${PN}-0.19.2-nodoc.patch \ + "${FILESDIR}"/${P}-page-size-header.patch + + # Fix compability with dev-libs/glib >= 2.31 + sed -i \ + -e '/include/s:::' \ + -e '/include/s:::' \ + charset/fribidi-char-sets.c lib/mem.h || die + + autotools-multilib_src_prepare +} + +src_configure() { + # --with-glib=yes is required for #345621 to ensure "Requires: glib-2.0" is + # present in /usr/lib/pkgconfig/fribidi.pc + local myeconfargs=( --with-glib=yes ) + autotools-multilib_src_configure +} diff --git a/dev-libs/fribidi/fribidi-0.19.7.ebuild b/dev-libs/fribidi/fribidi-0.19.7.ebuild new file mode 100644 index 000000000000..d412461bead8 --- /dev/null +++ b/dev-libs/fribidi/fribidi-0.19.7.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +AUTOTOOLS_AUTORECONF=1 + +inherit autotools autotools-multilib + +DESCRIPTION="A free implementation of the unicode bidirectional algorithm" +HOMEPAGE="https://fribidi.org/" +SRC_URI="https://fribidi.org/download/${P}.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris" +IUSE="static-libs" + +RDEPEND=">=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +DOCS=( AUTHORS NEWS README ChangeLog THANKS TODO ) + +src_prepare() { + # Fix compability with dev-libs/glib >= 2.31 + sed -i \ + -e '/include/s:::' \ + -e '/include/s:::' \ + charset/fribidi-char-sets.c lib/mem.h || die + + autotools-multilib_src_prepare +} + +src_configure() { + # --with-glib=yes is required for #345621 to ensure "Requires: glib-2.0" is + # present in /usr/lib/pkgconfig/fribidi.pc + local myeconfargs=( --with-glib=yes ) + autotools-multilib_src_configure +} diff --git a/dev-libs/fribidi/metadata.xml b/dev-libs/fribidi/metadata.xml new file mode 100644 index 000000000000..a2028936e2f7 --- /dev/null +++ b/dev-libs/fribidi/metadata.xml @@ -0,0 +1,7 @@ + + + + +amynka@gentoo.org + + diff --git a/dev-libs/fstrm/Manifest b/dev-libs/fstrm/Manifest new file mode 100644 index 000000000000..3040f3c7f376 --- /dev/null +++ b/dev-libs/fstrm/Manifest @@ -0,0 +1,7 @@ +DIST fstrm-0.2.0.tar.gz 434627 SHA256 ad5d39957a4b334a6c7fcc94f308dc7ac75e1997cc642e9bb91a18fc0f42a98a SHA512 4425c3aa57f7c87dfa2a5cc6e3c9b7f8e293086c2092b57b5d227b13dba3ec23cb8460abbfaf153b2f3a27c6a613e31e7a805948cbc5d567707880f353453f42 WHIRLPOOL 25360591002a366bff79a626f6f1514155445eca9608163378e4be1278652c7581f9b893465e0f7bf1653ac140215104174c16e24ebbfeff033e9b0e079192b9 +DIST fstrm-0.3.0.tar.gz 185153 SHA256 531ef29ed2a15dfe4993448eb4e8463c5ed8eebf1472a5608c6ac0a6f62b3a12 SHA512 4134da0ed8579cb6784a419bba76b3be7487ec67b6fad65e0e662b40e668389010381176794d15da9c96339292f0faedc143f87b7ef3815b69bbc8b165af5c4d WHIRLPOOL 5ff46b41a25c581b525b42db6e2926546768318f602c55ec0ccbd5fe0de055803629786ea14e465045d93459ad3ff3a3a07e10e1b598113b0348284610dddee3 +EBUILD fstrm-0.2.0-r1.ebuild 660 SHA256 50730088eb5eee25bf0ff0dc64672ac7bf1146329cff234da95240121da11c64 SHA512 240ef2fe6a8c900bdf5f9cd8d6e157b62ee2f37e186d1349f5f5773d2ec1c964993ace19b05466914fd39f250c9c0c26936e82342a406dfcd2f27d39630d6dde WHIRLPOOL ef40411273379acfc8b260d38c3a8f791be5ea204deb99900919cdfe8e6ee8e2a4599de80c32bce70a2832de7e2f9106459ebb8b38e24ab667c309e59818ee0a +EBUILD fstrm-0.3.0.ebuild 812 SHA256 b81ea4fe24afb73ddd768113e2309cf91eaf057ca8f10a4fda8a41f1caab0df5 SHA512 7e4774c45ec6b52da161a8fef32e0456b5322aae95f1925df10159638594d4f8cb598e93a010ee2a05ce8f2bc5eb00863c6cb1bedc549cd2b9b5e001b1d71696 WHIRLPOOL ec69512916f37c5bff8074607e57b04896b260d0924ccf124acf727887fdc370a388606bf00d86e398d62ee711872f6ede2f4f83f33e69846ee781152257fdcd +MISC ChangeLog 2873 SHA256 dfa8a3ca41adbcc55bad13610be2f455fcab309a97d418ecaa5e88c6947839ea SHA512 baf66534d4de686736b79588ae9d654f30bea08dce2018fc467985294c9999260bdbaf5ef7f650714b8ebec169a888139806f4f5f1548cbfd7f6eeed08489d49 WHIRLPOOL 571b4ca505777af3953cf1e582a95bff638b92b9d8c327b6a933f11168566c20f8991f9e4eb272658a3cf66d6f335620db25a876a46b16e457c4c44686d95369 +MISC ChangeLog-2015 1225 SHA256 2a6fefc95cb193309a20add36085168169d8478addb5880e4605893347394050 SHA512 f8a6fafdc1befe51b1d55878424129020560a90544752fb1fc47124101a43f0cb19b99fb259ef158ea373cc8a339f0fca56eb8d80618aa7321e26fcd40a24a70 WHIRLPOOL 8a27663901c85a1c246cbcad919889b829e56a6de3a4bf11e715b9ef46feb3ac9aece650283ef4a8a0fa6d3c11587e6e49f41b6cf93ceb178f6085d25d7dddb5 +MISC metadata.xml 321 SHA256 391e1d7891c9b4a95050504403bf601571c73452ab1911594ca109c8beeb7dfa SHA512 a2bd9cbe2b311f26fa6bb62aa783fa8577f0e07d6e284370c787386e08b6aaf98d4f5bf655f69283d864b0e7a7fe847c75142ac67ff12dd93596f9ddddcbb065 WHIRLPOOL 941510ef1792937023f97230999ebd969d47ceead65da5f4a4e256da8170c9355df53215a4037a864e76a97fb56ac3bfd3672c57c9d8f433d68e8184ed0fb667 diff --git a/dev-libs/fstrm/fstrm-0.2.0-r1.ebuild b/dev-libs/fstrm/fstrm-0.2.0-r1.ebuild new file mode 100644 index 000000000000..1dbd918d64a6 --- /dev/null +++ b/dev-libs/fstrm/fstrm-0.2.0-r1.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit autotools-multilib + +DESCRIPTION="Frame Streams implementation in C" +HOMEPAGE="https://github.com/farsightsec/fstrm" +SRC_URI="https://github.com/farsightsec/${PN}/releases/download/v${PV}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ~mips ppc ppc64 x86" +IUSE="static-libs utils" + +RDEPEND="utils? ( dev-libs/libevent[${MULTILIB_USEDEP}] )" +DEPEND="${RDEPEND} + virtual/pkgconfig[${MULTILIB_USEDEP}]" + +src_configure() { + local myeconfargs=( + $(use_enable utils programs) + ) + autotools-multilib_src_configure +} diff --git a/dev-libs/fstrm/fstrm-0.3.0.ebuild b/dev-libs/fstrm/fstrm-0.3.0.ebuild new file mode 100644 index 000000000000..99407fecc239 --- /dev/null +++ b/dev-libs/fstrm/fstrm-0.3.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit autotools multilib-minimal + +DESCRIPTION="Frame Streams implementation in C" +HOMEPAGE="https://github.com/farsightsec/fstrm" +SRC_URI="https://github.com/farsightsec/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~x86" +IUSE="static-libs utils" + +RDEPEND="utils? ( dev-libs/libevent[${MULTILIB_USEDEP}] )" +DEPEND="${RDEPEND} + virtual/pkgconfig[${MULTILIB_USEDEP}]" + +src_prepare() { + default + eautoreconf + multilib_copy_sources +} + +multilib_src_configure() { + econf \ + $(use_enable static-libs static) \ + $(use_enable utils programs) +} + +multilib_src_install_all() { + default + find "${ED}" -name '*.la' -delete +} diff --git a/dev-libs/fstrm/metadata.xml b/dev-libs/fstrm/metadata.xml new file mode 100644 index 000000000000..a654cee996a0 --- /dev/null +++ b/dev-libs/fstrm/metadata.xml @@ -0,0 +1,11 @@ + + + + + + farsightsec/fstrm + + + Build fstrm utility programs + + diff --git a/dev-libs/g-wrap/Manifest b/dev-libs/g-wrap/Manifest new file mode 100644 index 000000000000..81ec4ebfe87b --- /dev/null +++ b/dev-libs/g-wrap/Manifest @@ -0,0 +1,9 @@ +DIST g-wrap-1.9.11.tar.gz 625359 SHA256 b6a9442692f29a9bd353cb5bc4e46824fbde47275f05917dfc0d644d23641fc9 SHA512 3574658d4c5b52ddf350e499fdf009baa48a8cefaccb20c705eb7b2bda556db8f662fe75c78d76e927b0a0dc5757eec2af8b72f315d3655a35f7f7766ff89e65 WHIRLPOOL 7c3fd806cb7745d0dbfe62dafdf84bf19b095d1a27d75b0e262b0c6c14e96987dee88dc4b4d58ee7a971e0e0c3b7edc02a2e1fd2fb9530824793bf46b471e15b +DIST g-wrap-1.9.13.tar.gz 613577 SHA256 3b69adeb1c4dd82423641cbacd48a79081addd0f6a5b1ca9874a7e4e3f398839 SHA512 56001aa877f706eda5f40ac2d06f7214b52aa3d46a1c5cc64c1d195d3e3d619a0d8dac50dabc5b73453784351512e1e35ed53bc44151a61c4b8a9f6e851f6264 WHIRLPOOL a49e87be15e3b5e31e203b5efdef05bc1a3afdd995747e4a2651eba955ba091ad919c6880e667adf419d06c960fc88950e1304daa635d7f8b8dc8ec0edfcf5a1 +DIST g-wrap-1.9.14.tar.gz 655812 SHA256 06abe8f8d2758f4d8e51f39b5cee3917ea70ec84410d4294214e43f843348d27 SHA512 681d85caf24335db9f266e8350488d36c2b20a5ec02346189c866c7c1de9bcd4a942f092827cbf5fc30474dff70064abe8139069752a6d82657e51542000194b WHIRLPOOL e1623d2b6b2f55ba1e9e5cbe36c44b040f65bb8b34ca3e339e81f0b4c81a3d4b10d01e80e56133a9deb47cfd5e1771ecbce523aeabb2d1f40d4c46e7309e69da +EBUILD g-wrap-1.9.11.ebuild 956 SHA256 23b6f32a08672143eb1abcdec16180c08d035e4937daf1bd055c2416572a0384 SHA512 9258d804db3393ecc863fbf1519986984e42f981d9a2fe10e2a9069c9452e2122030a01ff78d2fce6d36e635ad6354b8ad017548afe50d0783150958f3f97fb6 WHIRLPOOL 9a3b287bdf05aa5c24366111d63dea4bda5bf93e36b8792659ff7dd455de763900d47cc9c319a0cb1bd90090b1fddf55447f579fffd298bf98311ad17c2a5146 +EBUILD g-wrap-1.9.13.ebuild 633 SHA256 4a16063f583776fd678ce5685bd3fa7c9a021d43e5cb66f51e4580e865954e16 SHA512 c13422113125473f34851ca88127d4971b3e1aa31d03bbb9266ef6011508ae571ae4373b530f216ceccf2b90df6e019a932893e15df3a52cce857e20b131adaa WHIRLPOOL f39d8c61e04776c40583509365c4eb7c809b18665b94ea1247a990fa523e7a2652aeb5b38f0f876de42a201b3ea86173a4dc0725ee734ac484dd13170a81ed90 +EBUILD g-wrap-1.9.14.ebuild 706 SHA256 5be8fd7682179420c27c51ca53ef70a473e2a858429cc421e32cb61d5d6bb602 SHA512 d44c7b908de5ef2e5b2304b14b546e4cce537a691d893b484643931affb15e779a6edf150757d394789ecac45fc7aa050d4a21f6b4324bc902b369ccb303fbf5 WHIRLPOOL 59b6554b567b27657938b284735d789ac736df5ac94448b3a77e19d229d9d34296c0f1222d4e7f90db7166e84da168d35fcb8c93e5db162ebb44d4f3fdd60756 +MISC ChangeLog 3342 SHA256 13d831872d37728dbea59df780cc5c9c979a46a9a15bd0e437a0b77cc8bd2315 SHA512 794389a9e856b0291673d5ae2be05827bb998317a7f347bf5ab1621b4ed6e3e395569d65406cf0c644d376d53579117174eec43bcea63a46093a167e0950d2ad WHIRLPOOL c16320ce1fce8f29b95068bb4a59ed5c1881bac6b2fbfe5f492f5c9b81c4e32fea90057e75ef9199b29db42edf39f5517f603b02785243ff9b08b74e33177e0e +MISC ChangeLog-2015 11996 SHA256 7313628a6a45bed44139937019bde239984d422843e4eea653ec03d73797bc95 SHA512 d601ecdb46277f712882136117d92eee27d91fb8246e7e57c7f0a59d18d73ea88e88b027845619ed5ece8d8f1a6acae3f238bdd35eb0e81b4981a5aee031b158 WHIRLPOOL 61e92fd637139f9209e8635af9d7cd9e5031770b5402eaf443b1d699f0d3a3d097110b3c3a933f4f0d0bca25e0a0022f2c7a75311c7a4773b92539ccebfce305 +MISC metadata.xml 470 SHA256 f3f418b8dc308bfe07ef8dfef1db217085787808f957d88095074461c89af4f8 SHA512 1a0ed70c7e3de5204dfbc75a6c470e0b833973b8b0922ce679ee4b4d5cd5c208f6e48f815d66b2d086e3ae9c9258c306c2480afe00c227b27e6f892362cc1c48 WHIRLPOOL 4c97ca9c353e562d40cd193bffc41685e43ad715ce77e1beb5f482b0793736301433431377b7cf55612dcf1e683b5813a8ef69ca0f6a7b64a6f99370debb06cb diff --git a/dev-libs/g-wrap/g-wrap-1.9.11.ebuild b/dev-libs/g-wrap/g-wrap-1.9.11.ebuild new file mode 100644 index 000000000000..e14bd4cad68a --- /dev/null +++ b/dev-libs/g-wrap/g-wrap-1.9.11.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +inherit eutils + +DESCRIPTION="A tool for exporting C libraries into Scheme" +HOMEPAGE="http://www.nongnu.org/g-wrap/" +SRC_URI="http://download.savannah.gnu.org/releases/g-wrap/${P}.tar.gz" +KEYWORDS="amd64 hppa ppc ppc64 x86" +SLOT="0" +LICENSE="GPL-2" +IUSE="" + +# guile-lib for srfi-34, srfi-35 +RDEPEND=" + dev-libs/glib:2 + dev-scheme/guile-lib + dev-scheme/guile[deprecated] + virtual/libffi" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +MAKEOPTS+=" -j1" + +src_prepare() { +# cp guile/g-wrap-2.0-guile.pc.in guile/g-wrap-2.0-guile.pc.in.old + + sed "s:@LIBFFI_CFLAGS_INSTALLED@:@LIBFFI_CFLAGS@:g" -i guile/g-wrap-2.0-guile.pc.in || die + sed "s:@LIBFFI_LIBS_INSTALLED@:@LIBFFI_LIBS@:g" -i guile/g-wrap-2.0-guile.pc.in || die + +# diff -u guile/g-wrap-2.0-guile.pc.in.old guile/g-wrap-2.0-guile.pc.in +} + +src_configure() { + econf --with-glib --disable-Werror +} diff --git a/dev-libs/g-wrap/g-wrap-1.9.13.ebuild b/dev-libs/g-wrap/g-wrap-1.9.13.ebuild new file mode 100644 index 000000000000..6f052b20b626 --- /dev/null +++ b/dev-libs/g-wrap/g-wrap-1.9.13.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +inherit eutils + +DESCRIPTION="A tool for exporting C libraries into Scheme" +HOMEPAGE="http://www.nongnu.org/g-wrap/" +SRC_URI="http://download.savannah.gnu.org/releases/g-wrap/${P}.tar.gz" +KEYWORDS="amd64 hppa ppc ppc64 x86" +SLOT="0" +LICENSE="GPL-2" +IUSE="" + +# guile-lib for srfi-34, srfi-35 +RDEPEND=" + dev-libs/glib:2 + dev-scheme/guile-lib + dev-scheme/guile[deprecated] + virtual/libffi" +DEPEND="${RDEPEND} + virtual/pkgconfig + dev-util/indent" + +MAKEOPTS+=" -j1" + +src_configure() { + econf --disable-Werror --with-glib +} diff --git a/dev-libs/g-wrap/g-wrap-1.9.14.ebuild b/dev-libs/g-wrap/g-wrap-1.9.14.ebuild new file mode 100644 index 000000000000..e88c1e1f4334 --- /dev/null +++ b/dev-libs/g-wrap/g-wrap-1.9.14.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +inherit autotools-utils + +DESCRIPTION="A tool for exporting C libraries into Scheme" +HOMEPAGE="http://www.nongnu.org/g-wrap/" +SRC_URI="http://download.savannah.gnu.org/releases/g-wrap/${P}.tar.gz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86" +IUSE="static-libs" + +# guile-lib for srfi-34, srfi-35 +RDEPEND=" + dev-libs/glib:2 + dev-scheme/guile-lib + dev-scheme/guile[deprecated] + virtual/libffi" +DEPEND="${RDEPEND} + virtual/pkgconfig + dev-util/indent" + +MAKEOPTS+=" -j1" + +src_configure() { + local myeconfargs=( --disable-Werror --with-glib ) + autotools-utils_src_configure +} diff --git a/dev-libs/g-wrap/metadata.xml b/dev-libs/g-wrap/metadata.xml new file mode 100644 index 000000000000..c240a63719b1 --- /dev/null +++ b/dev-libs/g-wrap/metadata.xml @@ -0,0 +1,11 @@ + + + + + scheme@gentoo.org + Gentoo Scheme Project + + +G-Wrap is a tool (and Guile library) for generating function wrappers for inter-language calls. It currently only supports generating Guile wrappers for C functions. + + diff --git a/dev-libs/gdl/Manifest b/dev-libs/gdl/Manifest new file mode 100644 index 000000000000..9cba725356c7 --- /dev/null +++ b/dev-libs/gdl/Manifest @@ -0,0 +1,5 @@ +DIST gdl-3.22.0.tar.xz 529072 SHA256 cc5b360e1392292186924f0f9a8efc0f4db7e6e56dc7042037466b5cc839660c SHA512 408fd75627497c658b65e9cd39b8779ad0db2fdc1f780e369237fbdd3f0ccc035cd86456ff72e1581c524f1d35673d3b31ebb074290babf025596d08d823833d WHIRLPOOL 3b31c124e331f82fa9dc8e513f1ae014e62001cbbd51ed17d4677f932b865c38da5e57827be6126c224acf8bcda8f336a4c75396cc54c7b23e96d354159dd382 +EBUILD gdl-3.22.0.ebuild 699 SHA256 f09a9f40eb9e02f79ff995439d79a333c745a90df578a3439a7caa00dd2356a2 SHA512 68e75de4dc853f09c7cb43f4533592c64ff6fbbcdf9bb4fb77e40fdf48958b78029b57edadd90f65e1194b08d3a7003e5e5a5dada30543a68f7b59b0b805c8d6 WHIRLPOOL 3775dd4e73db46b8894e5125c3ae33099fd02d3be9609dcafda3e91f12e18dff0fcbb398cf3c7da49e3ab44fc49561aa391373732175438d41bb93469df55b82 +MISC ChangeLog 4657 SHA256 d4c16f119cc7c8b2f74baa0a56c20c4dbd3b0bdaf3a75e00feed45e512951f7c SHA512 7e8dc11446366b07cf362ca6634936f735f6c48db7ff3d0fa5100a637ae02946c02d8e8db4ef106bc007d63c856077c51cb62aef4f90c3b65b7d1a3ffc8f3fbe WHIRLPOOL c4945ec823af062083eeb4592ca0d5045118644543adb68124c4888acf65c3d11d874592062e08bd101f28adc046eb40ff0cfe8b45de349ad11f54d44066bb23 +MISC ChangeLog-2015 13906 SHA256 3e283718e20aad0e11c6fecafd1209b90b6546d1669444506518629433f75668 SHA512 80008fcc41c77210c272628b4b7d20a7e5d985a014be4bf7d02fc888baaedefe5f8807f5e8db04a3e43237a6cab2e0261b3abe0265acbc873e57a339a0e80c9b WHIRLPOOL 1ed541459298642e0d0c0b941bb6715e66243635ec16b78b6087bc131fc945855d33be5225c89956a28b88959b649bb95159af3167aa71893a28820054603e21 +MISC metadata.xml 249 SHA256 4505b0bfeadff287958620b7dc7b7209699065a8f17139a237a5dd409a726a97 SHA512 c40662134899a5c9f0369a1017806f35adf3280a0b3c91726f7a8ca6012a073a8b471583f5bfb6fe95faac1dcf607e8e2e43f8c91d48ec46f4a8824e2f551506 WHIRLPOOL 333a938ee1d2124595596c572697bf5ebad523a92ba12005cfb12e6bb6270881a94a911f0cc9c1cf2bb571559e8271e07dfd307dabe50058236dbe7103562b92 diff --git a/dev-libs/gdl/gdl-3.22.0.ebuild b/dev-libs/gdl/gdl-3.22.0.ebuild new file mode 100644 index 000000000000..9659716660ac --- /dev/null +++ b/dev-libs/gdl/gdl-3.22.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit gnome2 + +DESCRIPTION="GNOME docking library" +HOMEPAGE="https://git.gnome.org/browse/gdl" + +LICENSE="LGPL-2.1+" +SLOT="3/5" # subslot = libgdl-3 soname version +IUSE="+introspection" +KEYWORDS="~alpha amd64 hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc x86 ~x86-fbsd" + +RDEPEND=" + dev-libs/glib:2 + >=x11-libs/gtk+-3.0.0:3[introspection?] + >=dev-libs/libxml2-2.4:2 + introspection? ( >=dev-libs/gobject-introspection-0.6.7:= ) +" +DEPEND="${RDEPEND} + >=dev-util/gtk-doc-am-1.4 + >=dev-util/intltool-0.40.4 + virtual/pkgconfig +" + +src_configure() { + gnome2_src_configure $(use_enable introspection) +} diff --git a/dev-libs/gdl/metadata.xml b/dev-libs/gdl/metadata.xml new file mode 100644 index 000000000000..39980802b1da --- /dev/null +++ b/dev-libs/gdl/metadata.xml @@ -0,0 +1,8 @@ + + + + + gnome@gentoo.org + Gentoo GNOME Desktop + + diff --git a/dev-libs/gecode/Manifest b/dev-libs/gecode/Manifest new file mode 100644 index 000000000000..06a26e2c0363 --- /dev/null +++ b/dev-libs/gecode/Manifest @@ -0,0 +1,8 @@ +AUX gecode-4.4.0-no-examples.patch 463 SHA256 f5ebd139c1b6f1c63cb13e65f75088c443ab579c3f17eb0848c9bb74c13ac044 SHA512 bf9b4fb44338ffdb6be6bc6bf601697bbf8a7d7f2518c753dff8306f58af1d4c03024785d1d47446518364eb485791c2b245f7ec6e8ff63aa0a37e9f8656d61b WHIRLPOOL d63962e7d4ead52f1869b55ba1aa6c4a28e3e1d0f22800014a5dc461ac701ebf088fa97fd61e9d1c0069e21ceee151c099d6e1489e5c685fac89561bd0f45def +DIST gecode-3.7.3.tar.gz 1643336 SHA256 e7cc8bcc18b49195fef0544061bdd2e484a1240923e4e85fa39e8d6bb492854c SHA512 292bafeaca3911b8af40d7c0f425cf0263f4408afad47f4f229a821ce89d06dc69ad1feeeef72531a1e711d797d249581b67c2d9cfdc9e544240012c838d2a5b WHIRLPOOL 5aad39285c73e2d918fca98b694b33e00b11fcc21d542a37e23424acc381696f20826d6c28a33a5cde8fbfdfd4254d05791f2db903903306887e4c4fdecb7104 +DIST gecode-4.4.0.tar.gz 2889186 SHA256 b45783cc8d0d5dbbd3385a263a2199e6ad7f9a286e92607de81aa0c1105769cb SHA512 5189a3c5f9f34371a0bc94528e8ca65efb0a3078ec158887f47a816d6fe3c879a7e908ee421414bc317754333ecb73806c8fc46b0b6b7d8419cdf6f13a4f8aef WHIRLPOOL a01541d86883eadfcbb45eb7df486ac8d9fa4f656dede937625b00c8f47d1898e42d1fc6004b073392a179b895bc5181585b71693d47e88317a658eb3ecf3252 +EBUILD gecode-3.7.3-r1.ebuild 841 SHA256 bd91a0abda306168418f21d6bc2df9d0b7bc4df6ea6cbac7e83fd784c8de33ab SHA512 245eb4bc7175f03dd0bea46ba39a3ba2939dbe376120504de4ce51dd54565dbe2efff7d66f609b742520d16f3e80cfb038fba32590d4d7f22e4bac0e66867028 WHIRLPOOL 2c71883c97ef7913a180f00bfd296acafd666920a2b67d915c5ff3b7bb0d2aeb2af79d6bc9630c1260713b0621f06d365687e50fd044b6066d607439fc367a9b +EBUILD gecode-4.4.0-r1.ebuild 1516 SHA256 cbe8aecda5cfe63981b2025d3185cb3421281b4e3ee92622ee6359e0360a812e SHA512 d516a56f01885ff293df777811ade1f0c0f9bed380abb8b05ec0bc5a082d6d26da233d49ecf11fd237df4cdbae88e4a7d0b904d3549054526308f7039fb779ee WHIRLPOOL d84df20523b600711059497600e6e918ce012ea0107af365c0ea00effdae8c0bde3a474dc5f8360774622eac75fd8949b56457e687c8e109ea2f233b5bc2e808 +MISC ChangeLog 5809 SHA256 5c487c65663a437b2e95a7213e4d25f6743a0a3c0fae6def735c057f4a167c3a SHA512 2ae6707e2d5b67c6e26c6fb0221a6af2c24e4f808a396148700286e0e38911da42e15eb38d25facd2cb7d2615891aa16502904c4a3c9901f4deeb845c2f3b6ee WHIRLPOOL 4e072a1ae502301f28aa628f7da7e963275e11de5537126b953b7e4e0662c79ed106a2cf71eb2998a2bc2db56cafd848ff80b27027798a963601515e474111f6 +MISC ChangeLog-2015 979 SHA256 3b9aa4cb2db269aa3e74c4f3215a94dedf82a02d483e986c15a323ae88fd2b4c SHA512 04dd73605988de14c44ca1e4359ebcd58dc881acd9eb050b87b581ddb6ee6e01bd6b760beaaf21038a189c4d41d6fea6be1ddb3fdc4b9364d4ce144e608d65d7 WHIRLPOOL 3867eda42d56f2905ca58b533857f20c9528b90e93da7c022edc2d1cd4e90cb365fa56bd6d86e0b420bb7d55ece0bbf869267fd27ce148ebde8c6ed152c8583f +MISC metadata.xml 358 SHA256 2fc8f98e5d1f5a8f4efa50ccfecf22a684205d1a0e140cfd67d137ca89ce7070 SHA512 dfa79307fe5693ac03c56589907f414074c21d584c652a542e1ff409fedfe8b43a130e842cf4fe949d30d483d047c73d14906094b7656118b0e31461eb03dc06 WHIRLPOOL d87c776b154a916c4db107336770645decf71fe8564f0908ea96fc05d7827819e3f2814def90b3cf7c4c0cf7f517062c6d1cde372034aaa549babd47b1d9743a diff --git a/dev-libs/gecode/files/gecode-4.4.0-no-examples.patch b/dev-libs/gecode/files/gecode-4.4.0-no-examples.patch new file mode 100644 index 000000000000..26535667fa65 --- /dev/null +++ b/dev-libs/gecode/files/gecode-4.4.0-no-examples.patch @@ -0,0 +1,18 @@ +Avoid installing examples to system root. + +Patch from Fedora. + +Gentoo-bug: 488150 + +--- a/Makefile.in ++++ b/Makefile.in +@@ -953,8 +953,7 @@ + ALLGECODEHDR = \ + $(SUPPORTHDR) $(KERNELHDR) $(SEARCHHDR) \ + $(INTHDR) $(FLOATHDR) $(SETHDR) $(MMHDR) \ +- $(DRIVERHDR) $(ITERHDR) $(GISTHDR) $(FLATZINCHDR) \ +- $(INTEXAMPLEHDR) ++ $(DRIVERHDR) $(ITERHDR) $(GISTHDR) $(FLATZINCHDR) + ALLHDR = \ + $(ALLGECODEHDR) $(THIRDHDR) + ALLOBJ0 = $(ALLSRC:%.cpp=%$(OBJSUFFIX)) \ diff --git a/dev-libs/gecode/gecode-3.7.3-r1.ebuild b/dev-libs/gecode/gecode-3.7.3-r1.ebuild new file mode 100644 index 000000000000..644e93c9e264 --- /dev/null +++ b/dev-libs/gecode/gecode-3.7.3-r1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="4" + +DESCRIPTION="An environment for developing constraint-based applications" +SRC_URI="http://www.gecode.org/download/${P}.tar.gz" +HOMEPAGE="http://www.gecode.org/" + +SLOT="0" +LICENSE="MIT" +KEYWORDS="~amd64 ~x86" +IUSE="doc examples gist" + +DEPEND="gist? ( + dev-qt/qtcore:4 + dev-qt/qtgui:4 + media-libs/freetype + media-libs/libpng + >=dev-libs/glib-2 +)" +RDEPEND="${DEPEND}" + +src_configure() { + econf \ + --disable-examples \ + $(use_enable gist qt) \ + $(use_enable gist) +} + +src_compile() { + default + use doc && emake doc +} + +src_install() { + default + + if use doc; then + dohtml -r doc/html/ + einfo "HTML documentation has been installed into " \ + "/usr/share/doc/${PF}/html" + fi + + if use examples; then + dodoc -r examples + fi +} diff --git a/dev-libs/gecode/gecode-4.4.0-r1.ebuild b/dev-libs/gecode/gecode-4.4.0-r1.ebuild new file mode 100644 index 000000000000..3a38dc91e039 --- /dev/null +++ b/dev-libs/gecode/gecode-4.4.0-r1.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools qmake-utils + +DESCRIPTION="An environment for developing constraint-based applications" +HOMEPAGE="http://www.gecode.org/" +SRC_URI="http://www.gecode.org/download/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc examples gist gmp" + +RDEPEND=" + gist? ( + dev-qt/qtcore:4 + dev-qt/qtgui:4 + ) + gmp? ( + dev-libs/gmp:0 + dev-libs/mpfr:0 + )" +DEPEND="${RDEPEND} + sys-devel/bison + sys-devel/flex + doc? ( + app-doc/doxygen + media-gfx/graphviz + )" + +PATCHES=( "${FILESDIR}/${PN}-4.4.0-no-examples.patch" ) + +src_prepare() { + default + + sed -i gecode.m4 \ + -e "s/-ggdb//" -e "s/-O3//" -e "s/-pipe//" \ + -e "/AC_CHECK_PROGS(QMAKE/a AC_SUBST(QMAKE,$(qt4_get_bindir)/qmake)" \ + -e "/AC_CHECK_PROGS(MOC/a AC_SUBST(MOC,$(qt4_get_bindir)/moc)" \ + || die + + eautoreconf +} + +src_configure() { + # --disable-examples prevents COMPILING the examples. + econf \ + --disable-examples \ + $(use_enable doc doc-dot) \ + $(use_enable doc doc-tagfile) \ + $(use_enable gist qt) \ + $(use_enable gist) \ + $(use_enable gmp mpfr) +} + +src_compile() { + default + use doc && emake doc +} + +src_test() { + LD_LIBRARY_PATH="${S}" emake test + LD_LIBRARY_PATH="${S}" ./test/test || die "test suite failed" +} + +src_install() { + default + + # The --docdir and --htmldir that we pass to configure don't seem to + # be respected... + use doc && dodoc -r doc/html/ + + if use examples; then + dodoc -r examples + fi +} diff --git a/dev-libs/gecode/metadata.xml b/dev-libs/gecode/metadata.xml new file mode 100644 index 000000000000..234da92a34cc --- /dev/null +++ b/dev-libs/gecode/metadata.xml @@ -0,0 +1,14 @@ + + + + + + + Enable Gist, the Gecode Interactive Search Tool + + + Enable trigonometric and transcendental float + constraints + + + diff --git a/dev-libs/geoip/Manifest b/dev-libs/geoip/Manifest new file mode 100644 index 000000000000..f8a9c97fce99 --- /dev/null +++ b/dev-libs/geoip/Manifest @@ -0,0 +1,10 @@ +AUX geoipupdate-r6.sh 1085 SHA256 daebeb831f1a70e0f926525cc755fc97296dded7d63dd7b267dd7556f12a3f28 SHA512 97cdeadaf42510b88e00b3187e51089f62838c87d11500f572ed19232aedde1cb51a4183a84d7421773d8248072c2ef7197a28b0fe9a06cc10624b0f5d00a21e WHIRLPOOL 16b6e061b9695195a70d622b10d2b201d21ea7c0165774f8f88ee0030f3aa7c65a501b9d8c4d965fadcb9c2593b63bad8dcfe82c298ea16214be86d651ea396e +DIST geoip-1.6.10.tar.gz 161506 SHA256 de0d6d037d5e0ad9f7110e7f3b82eb20a24616712d29be0019e28ba7364cdc3e SHA512 5cd527da9d9a921bcc3020e636b410310e6462832804ac2d594b9cb4ceaacac0c31eb64f97e23e77d468da7b63a704084e140c8b69b838e362a188309756a2bf WHIRLPOOL 0b2cfc3ce8b901e731c1f6fbbf36f8ee5487179df3e22ae2bae9c616c9215d93a4c1cb8e975de8e978caa8b4f7e18914cc13bdffdfccfe81a6df5706fe6bb82a +DIST geoip-1.6.11.tar.gz 161934 SHA256 8859cb7c9cb63e77f4aedb40a4622024359b956b251aba46b255acbe190c34e0 SHA512 9c017a95c7903898b9a2bc10c34e51b390326c181c46e6f99daf3bc4d8f84cfcf640c5cc92d527e4c7428e2b5bfa835cc57040507eb836062139a795726349b9 WHIRLPOOL 8ccd4dd86491e63a3d56958b7410255fb6f16e6bab957dd04f82fb525540799a5f99e6759bd2bdf02615360ffe310661d2bcf1dcf6ec98c2c23746cb93eb3461 +DIST geoip-1.6.9.tar.gz 158576 SHA256 05468adbb6bdbddc588ee6f0df990f47b1b24d278519c35d59f7a8058a2a9825 SHA512 a3a34511ba32e6c7d0b46b0e608c5be54411cf5b095c867c3225941b55e5714ec7c68de64e0aefcf4ee2081fbd626480067d6bc9822d775decef1f8e26d7e976 WHIRLPOOL 4b4a4e4dff60f3b9db456d54b5529c24c93b3e18c4aff0d67d35165e9092fcd7e163ce868f729140f9ee5e3a8f49c19ff8a7324f1b106fd9a81a7896d92288ae +EBUILD geoip-1.6.10.ebuild 1300 SHA256 cb60d7fb7051e62a9d0323267e574d37cdb2e13701ce036c343625cb758927bd SHA512 54f39ffdc1a66e657ef82641495f8ae735c3e8d5da7eb54e21aeca19af4943350227d3f02a7af6139234bc209b7cf7bae9b0a21369c4d68fcbfbb94e57681e8f WHIRLPOOL fbbf32e14320820b9174d818878e00b3d6fc9c60525a507f4807ced42c72212a226674f30596743df14bef90ef755c274d17dd83ccfafda96b0612638c0ec445 +EBUILD geoip-1.6.11.ebuild 1307 SHA256 f091bab789ca9938afdab519f067262d6e918704e39b964cd22fa4ea8eaa2f12 SHA512 c204420951256782aead397071b203cf80a20352a96dd225240820c462b40ccbc81fcb062a393f70df89d699569348250ef89ffbc5a93ed2ed704cdda4b38369 WHIRLPOOL c904bfe6cdc2cfa11be80d1e5162dcfeb2f988eaccdebdcf2828b42581943bdab319c94e6f116731ba6e5af088c95a3a3151087b1c8daa4352288bd63cca9b2a +EBUILD geoip-1.6.9-r1.ebuild 1297 SHA256 41e12ef054418ad24186736011d2ebf97a3de095c8c746a7ae9bb571a36c09b3 SHA512 47e87b89e2477917040b777f8f6d7490984cb4c2124b5d0707b44a41eae80e4e16a4b55eb3264fd280229c06401bed25273edd3599576424b0e96955cb6b19cf WHIRLPOOL bbfd3ccd91d28ff8460b1b0c96f3a66d865e6ad81949ed466a6bff680cbdbea7f72bbdb1545b45367ea8b9e6cc4dd9d7d52a16f95ba4ab315aa69d88c93cef1b +MISC ChangeLog 6374 SHA256 4e51d95e17cb741fab15807fef6f0c8b144667c76d97a30ecad2577d229cb27d SHA512 6b82ab45ea4f30b7922bdef6dfa8769c782d0f6a0468c7aab98f225f4f566bfcb63a82d6cb60346aa30c9cbad6acebda03f1d500c0ccab8b7475ebbcb83346e4 WHIRLPOOL 5e30b8bc9fe302f6d16861eca7418280fae26f799e4cef90ecde4c7b4696f52611b3f91ea957d0d16f8e6766abc50b62c3a0a479be583d595d9ed37dbc50d3f7 +MISC ChangeLog-2015 31373 SHA256 fc958a7f09b2f55795ca8fb01f27a16cee6882b17ec50ebe849ba6fd7be00ca9 SHA512 c2b029b3b1d9a306594270f01d1806e8f728785b36778fe209ae697e6d0ff4101d325cdca60cf2d38a74b702f7e591f02799d0a01418d476675d4cc10cc3a8ab WHIRLPOOL f3115a0dbc43353d0632fec30f94e213e74a95f0617b678ac00aaefbeb5a326a9d2068bc49c29683b64d0852f04dfc9289ada264070588f3ae9845c19f8251aa +MISC metadata.xml 374 SHA256 6b7bc968891d9856ee13bc577df5f39ac7051748f70f87ffab80fd5c72223481 SHA512 1637e770cb8d68a11ec8c9b9e902d026c557efcce48221edc02dd9c0841ce14b8558402283c81b5babf133a5d84c148e7df8a5e864970fdbb0e256b9d8340762 WHIRLPOOL 819db811dbefc0b0de080f262089e2d2eef4b103712fde4141eecd86e9e154558899e0140df48350b3a1600e67e8384caf0633a3cb21ebebee28dffe293fb592 diff --git a/dev-libs/geoip/files/geoipupdate-r6.sh b/dev-libs/geoip/files/geoipupdate-r6.sh new file mode 100644 index 000000000000..83b58101663b --- /dev/null +++ b/dev-libs/geoip/files/geoipupdate-r6.sh @@ -0,0 +1,46 @@ +#!/bin/sh + +GEOIP_MIRROR="https://download.maxmind.com/download/geoip/database" +GEOIPDIR=@PREFIX@/usr/share/GeoIP +TMPDIR= + +DATABASES=" + GeoIPv6 + GeoLiteCity + GeoLiteCityv6-beta/GeoLiteCityv6 + GeoLiteCountry/GeoIP + asnum/GeoIPASNum + asnum/GeoIPASNumv6 +" + +if [ "${1}" = -f ] || [ "${1}" = --force ]; then + force=true +fi + +if [ -d "${GEOIPDIR}" ]; then + cd $GEOIPDIR + if [ -n "${DATABASES}" ]; then + TMPDIR=$(mktemp -d geoipupdate.XXXXXXXXXX) + + echo "Updating GeoIP databases..." + + for db in $DATABASES; do + fname=$(basename $db) + + if [ -f "${GEOIPDIR}/${fname}.dat" ] || [ ${force} ]; then + wget --no-verbose -t 3 -T 60 \ + "${GEOIP_MIRROR}/${db}.dat.gz" \ + -O "${TMPDIR}/${fname}.dat.gz" + if [ $? -eq 0 ]; then + gunzip -fdc "${TMPDIR}/${fname}.dat.gz" > "${TMPDIR}/${fname}.dat" + mv "${TMPDIR}/${fname}.dat" "${GEOIPDIR}/${fname}.dat" + chmod 0644 "${GEOIPDIR}/${fname}.dat" + case ${fname} in + GeoLite*) ln -sf ${fname}.dat `echo ${fname} | sed 's/GeoLite/GeoIP/'`.dat ;; + esac + fi + fi + done + [ -d "${TMPDIR}" ] && rm -rf $TMPDIR + fi +fi diff --git a/dev-libs/geoip/geoip-1.6.10.ebuild b/dev-libs/geoip/geoip-1.6.10.ebuild new file mode 100644 index 000000000000..1749ade5b07d --- /dev/null +++ b/dev-libs/geoip/geoip-1.6.10.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit autotools eutils + +DESCRIPTION="GeoIP Legacy C API" +HOMEPAGE="https://github.com/maxmind/geoip-api-c" +SRC_URI=" + https://github.com/maxmind/${PN}-api-c/archive/v${PV}.tar.gz -> ${P}.tar.gz +" + +# GPL-2 for md5.c - part of libGeoIPUpdate, MaxMind for GeoLite Country db +LICENSE="LGPL-2.1 GPL-2 MaxMind2" +SLOT="0" +KEYWORDS="alpha amd64 ~arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos" +IUSE="static-libs" +RESTRICT="test" + +DEPEND=" + net-misc/wget +" +RDEPEND=" + ${DEPEND} +" + +S="${WORKDIR}/${PN}-api-c-${PV}" + +src_prepare() { + default + + eautoreconf +} + +src_configure() { + econf $(use_enable static-libs static) + sed -e "s|@PREFIX@|${ROOT}|g" "${FILESDIR}"/geoipupdate-r6.sh > geoipupdate.sh || die +} + +src_install() { + default + + dodoc AUTHORS ChangeLog NEWS.md README* + + prune_libtool_files + + keepdir /usr/share/GeoIP + + dosbin geoipupdate.sh +} + +pkg_postinst() { + ewarn "WARNING: Databases are no longer installed by this ebuild." + elog "Don't forget to run 'geoipupdate.sh -f' (or geoipupdate from" + elog "net-misc/geoipupdate) to populate ${ROOT}/usr/share/GeoIP/" + elog "with geo-located IP address databases." +} diff --git a/dev-libs/geoip/geoip-1.6.11.ebuild b/dev-libs/geoip/geoip-1.6.11.ebuild new file mode 100644 index 000000000000..5ecf50082bde --- /dev/null +++ b/dev-libs/geoip/geoip-1.6.11.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit autotools eutils + +DESCRIPTION="GeoIP Legacy C API" +HOMEPAGE="https://github.com/maxmind/geoip-api-c" +SRC_URI=" + https://github.com/maxmind/${PN}-api-c/archive/v${PV}.tar.gz -> ${P}.tar.gz +" + +# GPL-2 for md5.c - part of libGeoIPUpdate, MaxMind for GeoLite Country db +LICENSE="LGPL-2.1 GPL-2 MaxMind2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos" +IUSE="static-libs" +RESTRICT="test" + +DEPEND=" + net-misc/wget +" +RDEPEND=" + ${DEPEND} +" + +S="${WORKDIR}/${PN}-api-c-${PV}" + +src_prepare() { + default + + eautoreconf +} + +src_configure() { + econf $(use_enable static-libs static) + sed -e "s|@PREFIX@|${ROOT}|g" "${FILESDIR}"/geoipupdate-r6.sh > geoipupdate.sh || die +} + +src_install() { + default + + dodoc AUTHORS ChangeLog NEWS.md README* + + prune_libtool_files + + keepdir /usr/share/GeoIP + + dosbin geoipupdate.sh +} + +pkg_postinst() { + ewarn "WARNING: Databases are no longer installed by this ebuild." + elog "Don't forget to run 'geoipupdate.sh -f' (or geoipupdate from" + elog "net-misc/geoipupdate) to populate ${ROOT}/usr/share/GeoIP/" + elog "with geo-located IP address databases." +} diff --git a/dev-libs/geoip/geoip-1.6.9-r1.ebuild b/dev-libs/geoip/geoip-1.6.9-r1.ebuild new file mode 100644 index 000000000000..e995cafe4822 --- /dev/null +++ b/dev-libs/geoip/geoip-1.6.9-r1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit autotools eutils + +DESCRIPTION="GeoIP Legacy C API" +HOMEPAGE="https://github.com/maxmind/geoip-api-c" +SRC_URI=" + https://github.com/maxmind/${PN}-api-c/archive/v${PV}.tar.gz -> ${P}.tar.gz +" + +# GPL-2 for md5.c - part of libGeoIPUpdate, MaxMind for GeoLite Country db +LICENSE="LGPL-2.1 GPL-2 MaxMind2" +SLOT="0" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos" +IUSE="static-libs" +RESTRICT="test" + +DEPEND=" + net-misc/wget +" +RDEPEND=" + ${DEPEND} +" + +S="${WORKDIR}/${PN}-api-c-${PV}" + +src_prepare() { + default + + eautoreconf +} + +src_configure() { + econf $(use_enable static-libs static) + sed -e "s|@PREFIX@|${ROOT}|g" "${FILESDIR}"/geoipupdate-r6.sh > geoipupdate.sh || die +} + +src_install() { + default + + dodoc AUTHORS ChangeLog NEWS.md README* + + prune_libtool_files + + keepdir /usr/share/GeoIP + + dosbin geoipupdate.sh +} + +pkg_postinst() { + ewarn "WARNING: Databases are no longer installed by this ebuild." + elog "Don't forget to run 'geoipupdate.sh -f' (or geoipupdate from" + elog "net-misc/geoipupdate) to populate ${ROOT}/usr/share/GeoIP/" + elog "with geo-located IP address databases." +} diff --git a/dev-libs/geoip/metadata.xml b/dev-libs/geoip/metadata.xml new file mode 100644 index 000000000000..b535fed31a92 --- /dev/null +++ b/dev-libs/geoip/metadata.xml @@ -0,0 +1,11 @@ + + + + + netmon@gentoo.org + Gentoo network monitoring and analysis project + + + maxmind/geoip-api-c + + diff --git a/dev-libs/gf-complete/Manifest b/dev-libs/gf-complete/Manifest new file mode 100644 index 000000000000..c7e0bd5630ea --- /dev/null +++ b/dev-libs/gf-complete/Manifest @@ -0,0 +1,6 @@ +DIST gf-complete-0.0.0.tar.gz 596339 SHA256 7ec49204d0ce28f9158c65535183f55c0964fad02707234f4982917308ca521b SHA512 7942a29b80972fffab15dc86c560345911db5aa976d2c505804d0eff10c9135f674f3511b579e2bac26342ca53a81d323826a1ff1d790836a4650a07769851a2 WHIRLPOOL 5e8b27c3514300869c42f6af4084dc498b7ad8bc02a2a2b5120038d3598b364f2344f323ca2b2d55c231f1d2d842266305585bab20582fd1bbc752e27323338a +DIST gf-complete-2.0.0.tar.gz 122566 SHA256 0654202fe3b0d3f8a220158699bdea722e47e7f9cbc0fd52e4857aba6a069ea9 SHA512 3b0693bf374086417f04cee09dceeb694aafaf7fb3c829b89f303b65634ae509406c8a0de10f57c666b4c78b11043f355bb3c81f95eac061cb16de9db2b71b89 WHIRLPOOL fcf5fb5795a5b3e17967535c290e7a791b16433606192f927ef70af4cc402a7c3553f71650ef88954396ade54baec4abe1658fac24af1e1587ef6254128003a9 +EBUILD gf-complete-0.0.0.ebuild 623 SHA256 4e70ba20ba965f3470570269b44366919e8d45a3108cb013c089452d5c219109 SHA512 f0aaa0e904d58489674f7f3f0a56d2e12d8a159be662c77497c5de7c832381edceee18e93fb2eb562f15460b6a1c2b54a3850c12a02b3f53a7da1dde963cffff WHIRLPOOL 06a8f3bf944b410a0fb4d30dc647f3f2798116a95087912f988aeca288f138f857c5fcb369ec5399ca9ffeb29cdca62e0b5b40cab85dd9fe75dc560fcc5a03dd +EBUILD gf-complete-2.0.0.ebuild 649 SHA256 db320393dc52d385e41472cffde044f637476bb2ba0946e8f38d0375fed4e467 SHA512 fa48f95ec81b42eb2b67be928403e210d7414a74927f66056ddd7ccd9a33548f029a28bba018b8915d1835ef06a2d6484f71b4708373d94cdaad59cdb0bba95c WHIRLPOOL 4700fd9a306d22b328c8d883c7f1f4e976feb1650fbc2961d1663e83fe368335749f03d3fda445700e0a6e0332e748d005fa87b0861b53ecdbc32a80d9c3dfd4 +MISC ChangeLog 1776 SHA256 7b2a310f0fd4f12d9549146ce4235317a0b9011fa423fe39a6ed80c1008a111d SHA512 1c13c8c6a54304935519a007d0b874f365e3e9ea281b3f0c8d9840ccc879951b0620b0a6134a3b705dacebdb16f8d6b98f85fca46cbf52e2397d4a4b3c9e15c9 WHIRLPOOL 1653734fa2fce6e6baf4ae306a9abdf22a77147e1fd4518c916737651cb5d6243fc2b16c926a06626fa2e173cb4efb5ee27e5e8666d9ec586895bf4a471c7b46 +MISC metadata.xml 371 SHA256 e09b5824b5836a45da06fcf1e8b77db1cd5c7e96eb69832c6c90320c20912015 SHA512 6073568ff06bc2ee07189affd7dd44425d9e028a5dd558d3aa41b6813b123681f4e50cf7a911fed42f342d576088f0be61282748c5d0e067bd664aa5b7acd554 WHIRLPOOL 85ca9816a1ff4acd625d8cdb0963de945a7e21a59faa27588f5327316f34626bb2631cdb079dab98e29038ccb1ea9d9c90ebbc424499f8e48201d82d74fbc954 diff --git a/dev-libs/gf-complete/gf-complete-0.0.0.ebuild b/dev-libs/gf-complete/gf-complete-0.0.0.ebuild new file mode 100644 index 000000000000..473aba33e2fb --- /dev/null +++ b/dev-libs/gf-complete/gf-complete-0.0.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit autotools eutils + +DESCRIPTION="A Comprehensive Open Source Library for Galois Field Arithmetic" +HOMEPAGE="http://jerasure.org/" +SRC_URI="https://dev.gentoo.org/~prometheanfire/dist/${P}.tar.gz" +S="${WORKDIR}/${PN}.git" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND}" + +src_prepare() { + sed -i -e 's/ -O3 $(SIMD_FLAGS)//g' src/Makefile.am tools/Makefile.am test/Makefile.am examples/Makefile.am|| die + eautoreconf +} + +src_install() { + default + prune_libtool_files +} diff --git a/dev-libs/gf-complete/gf-complete-2.0.0.ebuild b/dev-libs/gf-complete/gf-complete-2.0.0.ebuild new file mode 100644 index 000000000000..35c33494f9d4 --- /dev/null +++ b/dev-libs/gf-complete/gf-complete-2.0.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit autotools eutils + +DESCRIPTION="A Comprehensive Open Source Library for Galois Field Arithmetic" +HOMEPAGE="http://jerasure.org/" +SRC_URI="https://dev.gentoo.org/~prometheanfire/dist/${P}.tar.gz" +S="${WORKDIR}/${PN}.git" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND}" + +src_prepare() { + sed -i -e 's/ -O3 $(SIMD_FLAGS)//g' src/Makefile.am tools/Makefile.am test/Makefile.am examples/Makefile.am|| die + eautoreconf +} + +src_install() { + default + prune_libtool_files +} diff --git a/dev-libs/gf-complete/metadata.xml b/dev-libs/gf-complete/metadata.xml new file mode 100644 index 000000000000..c934e64a9527 --- /dev/null +++ b/dev-libs/gf-complete/metadata.xml @@ -0,0 +1,12 @@ + + + + + prometheanfire@gentoo.org + Matthew Thode + + + openstack@gentoo.org + Openstack + + diff --git a/dev-libs/gf2x/Manifest b/dev-libs/gf2x/Manifest new file mode 100644 index 000000000000..9e0d98b58c2b --- /dev/null +++ b/dev-libs/gf2x/Manifest @@ -0,0 +1,9 @@ +DIST gf2x-1.0.tar.gz 460810 SHA256 b64ffa9275cc2e995d37bcecbcdce9ba1df1e17d3d31d8685128d00df305e753 SHA512 f4658698972e31428d8349b423762e9ef5aaeb52d8081c9831baa4eb066737ab3e9667a700d5df79e0f0df2626db39f2f994df17da14719506d44dbb9b33af40 WHIRLPOOL 1f4bc9deca4a0e08555800f327b4ad76e58564523271dac29b337fa757e4aebcedec0ed9bfb738e0a24892ac25d9d8d65315a12f462e91d680a908ab1b35b050 +DIST gf2x-1.1.tar.gz 496708 SHA256 0d3f01604680102a00ca34e079903cc4d5a3208afda223748979b724d358849f SHA512 052cb2152773dc114a2a80cc64cd0679c1f57eceabcdc7cc25987b8d2599fa6d4871b5bb6ff71319727411b9b5aca11e431e43eafa474a419cf306d42d22ac2c WHIRLPOOL 6336dd24f05b8f18713578b65d129e667029876b3d67ab13113140d73aa7b14f2afbd2f4f2ef15d25470589b15aad382c0efefd3f1d0e47ba5e2bada42ee0580 +DIST gf2x-1.2.tar.gz 706519 SHA256 61427ffa03b5006aa154def6dce8bcff0fdefb3bd72f43fb1a7b4fdd6b80db34 SHA512 efddad2b99fa103fa77caed4a62f4a763dbff67bc7cf4527bbbf33ca826829e4a4f94e97454ef1a6498bdc2cee8934ff43f9dabf41a4a4f256721527a1dffa30 WHIRLPOOL e6cc949799b9b2c42d67be57f9cc6a3426311ef829a40f90053a4c37542bf34d9f3e154d3f1dad82096ee37d35603059d6a189d245ad0909f7cb122c3b226c1a +EBUILD gf2x-1.0-r1.ebuild 712 SHA256 893df7bbeab48b0a37642df1639a1e43fab6a72fb9c9108f151f81224d5099de SHA512 cbc408834d81e0c6784e1f3ae6cecb61bb9ed70e250f12205e13218a9cf701440baf572977f05b836701457ee5b55068c9f9402bb577abee104b03a9d4e847e9 WHIRLPOOL e9542f10d9b3ab2c9c00bf1c438f2777b3452644a8dd87dd9c64403796f3f5fe65b51abb6ed7fe72ec06d99cabd00ce9c92045464a4cf407470b834d2511a561 +EBUILD gf2x-1.1.ebuild 715 SHA256 d55bbcdd6deb0e2fa79d59df3702bd7db17ed7cb67e135cabdcd3a7c1366814f SHA512 b9d4e006a53fa5641b7e342ce2860feb0029b10f82c0150f1b45d32c443ea5d029014f92a9dc87977c0aa0d34f2598916471cfb01f61f859bdb14fa9fb31728b WHIRLPOOL 84e566728a9357e9859e83f7c9b44ba5ad471ce181837ba7344a04c5b00eb4b2369bf0f5f5d2a69364d1add3395e75138fbeab2ad25a84945813b35808dacffc +EBUILD gf2x-1.2.ebuild 1372 SHA256 7d47fe3388665fd0fd422b3d8c8f0aafbc0e008b927e27876de2074a9382a3e5 SHA512 91f10a7ff2108c7eeee165bca24a41d917087c1ec6d126451a95a79da552b59486b5d143e844fb574108072b82be5c08bd7d1dd60c39abbc14eb18a635608b1c WHIRLPOOL 66eff964234e41690c74e5edc3395fff9f6cdbf39f9a15edb524185942eb71123a345a0cfbc3de5b4a88b304bde01cf2edef08c0d299a4e725b5d8ce1ab3cfd6 +MISC ChangeLog 2462 SHA256 61af2eb477ecaa62b63495a2a73e8914da6f6b934b96c816bbdd945224e7c379 SHA512 a3189130d4a901617a91b86edd21e5b9b30bc319ac73d21645d2fb4b4e24ff6f08a584ae51d83fd9778d0f555ddbdbfed5e165b262dfa0c3928de32c05e99404 WHIRLPOOL b57aee11aac7c0dfa33cb5fd9ce5c9a66f3d74e2ac627fea2e44c1389797229f1fb6c3d4daabf6e25a7fef844b15c08f096adde9ac5b41cc6823596c7f56cb63 +MISC ChangeLog-2015 2311 SHA256 41aa3b009382e8cd21dddc40c336519a76c0f204397416e491d5f6e43e5dfc14 SHA512 f28aa249dadaddc717f6fb883483c9b4046b71878f1fa86cb54d53d5e117c5b051313908ff096a613371335a334218ba48fac7c03b34b48bda4a885ce080ac6e WHIRLPOOL 34142da99b2b2d3f158b7775778237aecb69e8d8f3386ee03cd4793bfe5cbbd82c224a5fe6ceab79229ef31d266596ac9c301871da96110ed69b698bffbdf065 +MISC metadata.xml 835 SHA256 d6612e35813d3df79acbaf969b9213b79677804262b7f6b5ccaf00ffa035f93b SHA512 b939d980aa5f6ba39f4e4378cf677942b9f1d596cb87ddce2d7ffaf6d6a9f82422ebf59f5bc98907305c75bbd249ea66f3edd15cfd1195e2b9282ff637d93eaa WHIRLPOOL 8960d57ec5f61bec01754c985d19af4eeba85b5407eea9d519b457ef14d2a6ba3c081afbbac4a5c1b237868ab3a4ac45278fb8808e75b17fd7d952da397cd933 diff --git a/dev-libs/gf2x/gf2x-1.0-r1.ebuild b/dev-libs/gf2x/gf2x-1.0-r1.ebuild new file mode 100644 index 000000000000..98ee76b86153 --- /dev/null +++ b/dev-libs/gf2x/gf2x-1.0-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +inherit autotools-utils + +PACKAGEID=27999 # hack + +DESCRIPTION="C/C++ routines for fast arithmetic in GF(2)[x]" +HOMEPAGE="http://gf2x.gforge.inria.fr/" +SRC_URI="http://gforge.inria.fr/frs/download.php/${PACKAGEID}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="bindist static-libs" + +src_configure() { + local myeconfargs=( + ABI=default + ) + + if use bindist ; then + if use x86 ; then + myeconfargs+=( + --disable-sse2 + ) + fi + if use amd64 ; then + myeconfargs+=( + --disable-pclmul + ) + fi + fi + + autotools-utils_src_configure +} diff --git a/dev-libs/gf2x/gf2x-1.1.ebuild b/dev-libs/gf2x/gf2x-1.1.ebuild new file mode 100644 index 000000000000..779fbdb0f804 --- /dev/null +++ b/dev-libs/gf2x/gf2x-1.1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +inherit autotools-utils + +PACKAGEID=30873 # hack + +DESCRIPTION="C/C++ routines for fast arithmetic in GF(2)[x]" +HOMEPAGE="http://gf2x.gforge.inria.fr/" +SRC_URI="http://gforge.inria.fr/frs/download.php/${PACKAGEID}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="bindist static-libs" + +src_configure() { + local myeconfargs=( + ABI=default + ) + + if use bindist ; then + if use x86 ; then + myeconfargs+=( + --disable-sse2 + ) + fi + if use amd64 ; then + myeconfargs+=( + --disable-pclmul + ) + fi + fi + + autotools-utils_src_configure +} diff --git a/dev-libs/gf2x/gf2x-1.2.ebuild b/dev-libs/gf2x/gf2x-1.2.ebuild new file mode 100644 index 000000000000..69bc4312a405 --- /dev/null +++ b/dev-libs/gf2x/gf2x-1.2.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils autotools + +PACKAGEID=36934 # inriaforge hardcoded ID + +DESCRIPTION="C/C++ routines for fast arithmetic in GF(2)[x]" +HOMEPAGE="http://gf2x.gforge.inria.fr/" +SRC_URI="http://gforge.inria.fr/frs/download.php/${PACKAGEID}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0/1" +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="fft static-libs custom-tune" +IUSE_CPU_FLAGS=" pclmul sse2 sse3 sse4_1 ssse3" +IUSE+=" ${IUSE_CPU_FLAGS// / cpu_flags_x86_}" + +src_prepare() { + default + # fix for cross-compiling, avoid ABI detection + sed -e 's/VERIFY_WORDSIZE(\[$ABI\].*/echo "skipping ABI check"/' \ + -e 's/AC_MSG_ERROR(\[already_t.*/echo "skipping ABI check"/' \ + -i configure.ac || die + eautoreconf +} + +src_configure() { + econf \ + $(use_enable cpu_flags_x86_sse2 sse2) \ + $(use_enable cpu_flags_x86_sse3 sse3) \ + $(use_enable cpu_flags_x86_ssse3 ssse3) \ + $(use_enable cpu_flags_x86_sse4_1 sse41) \ + $(use_enable cpu_flags_x86_pclmul pclmul) \ + $(use_enable fft fft-interface) \ + $(use_enable static-libs static) +} + +src_compile() { + emake + if use custom-tune; then + einfo "Starting tuning" + emake tune-lowlevel + emake tune-toom + use fft && emake tune-fft + fi +} + +src_install() { + default + use static-libs || prune_libtool_files --all +} diff --git a/dev-libs/gf2x/metadata.xml b/dev-libs/gf2x/metadata.xml new file mode 100644 index 000000000000..3a09b3124827 --- /dev/null +++ b/dev-libs/gf2x/metadata.xml @@ -0,0 +1,18 @@ + + + + + sci-mathematics@gentoo.org + Gentoo Mathematics Project + + + gf2x is a C/C++ software package containing routines for fast + arithmetic in GF(2)[x] (multiplication, squaring, GCD) and searching + for irreducible/primitive trinomials. + + + Disable automatic fine-tuning to local processor features like pclmul or sse2. + Extra long compile time for tuning hardware specific low-level routines + Build an FFT API for multiplication of 2 polynomials over GF(2) + + diff --git a/dev-libs/girara/Manifest b/dev-libs/girara/Manifest new file mode 100644 index 000000000000..d51be91b9971 --- /dev/null +++ b/dev-libs/girara/Manifest @@ -0,0 +1,8 @@ +DIST girara-0.2.2.tar.gz 72553 SHA256 6382dfdf1cc7ddfedf3d1ece5a7f07590c49b4932184ee8dec6d2bd121e66653 SHA512 216f737843523542697f995c08792adfaa0961414b7002d9b2740cc54f6fc94e61cbf06d5a71fa3e56637ad7594fe8c7cf5abb96784ff492c8305c2a7848ec8d WHIRLPOOL 4301b58585a11df21de19ca01b5a2f6c894e607106113860b3b562da1e986cb558ee6a062e40ea3b4a20d9b224a9289683c4098c30619edfa8cce3f82a2b0221 +DIST girara-0.2.7.tar.gz 76723 SHA256 98e6a343298ae46869c990bc6e0732555e19af2e386cdc1a911f109b1c5c32e5 SHA512 4229565b8a5fad1ecbf42e4f3f852644964a7d5c90154dab9b7dcb5ccd5f25731911452472bbeb28927d1e30d4df6ed066926e11c6a73f0fd5740570493a036f WHIRLPOOL b29d050306ade58d68d112416448e14431d24dc9de46353910908083e71e2e8452e3c5854d5b6033ed122402e55f3d12dc99cf8f13fd5203cd7ccbe832dff98f +EBUILD girara-0.2.2.ebuild 1369 SHA256 886a4da478f2301d13a5c2f76db82f49d95d61733d52ae8da8f657ade351620f SHA512 168f2dbbf5029edd06d0293b5a779cf37a65c37099095e25fd3dcd57aa58dc9dc67e0733f8d60041d317abfc0840de348f79449b1308cbba4cac026fe9cbf572 WHIRLPOOL 55d4048a88a34e766c133a3c604f2264301dadb71e9b8d7313998cacfa598c7b00e1877bf700208ed323ad4a41211f104af48cee8ea529057555ab1f6f98c5a0 +EBUILD girara-0.2.7.ebuild 1412 SHA256 c0ee5ce4d713c0cda6589490db1fea791339b4c9a3dd0556ad6428a7f5acb3c0 SHA512 2aa6417cc01dd5805bda754847f4d7d37426daefe62175e36bb3f314bfd30a3cea55f70502c81d6e4c8aea69bbee11c48c79c7f3745fa0596b321fd8cddd5be7 WHIRLPOOL 98f7d0a98f2e7afbb0ee402610fb981e784459f28ffd96255ad12cf19b944b58b3094671ee8732b0f693b4c8f3125db2bd3838c3f3addbc6b0656e926f20bf82 +EBUILD girara-9999.ebuild 1372 SHA256 5bf21185822acb197b5ce1dc2e75b9cbd36eb8c750897c68701761cc88f54a65 SHA512 90d5fe8e9b14cc50e825937e6868ed30e8849298ce7773c11cbc4a0347cfe5d08a830c4143114bdc306f7fdf0675f3afaf16d9d80f16225940be5839f70dd9e9 WHIRLPOOL f7bb0d49c5167b4775fcdb1e078a15d618dc2c60eca4019360e444ac37baf98393f1957a7645245efbf37811b69d2443636ebb64bbe7b797cf93cf6e7b3c068a +MISC ChangeLog 2963 SHA256 b153254f923627b8347eafcf48e6dd57ac7400ca03ab9c9d495626a40a06fc04 SHA512 04bb3e1a131a7fff8ef2ed3909f55fe128ad5921974116f17f953c6ed2a371cace917aac73c80f6efd22620b335dc87c110f3fbfc95a575ecc0585f364aba7b1 WHIRLPOOL 76bc6236b23ce8fa72df5cc49cf486ff46b4adc2749e056bf42f8d5acfd1172c0c14a10f21b0f397e574dbdb2c1d5d990419165da06abd108e72e11f10c74c96 +MISC ChangeLog-2015 5272 SHA256 cdacf1ce4b816a87807e327c8a2282f2c3898820d87521f6099df9d3aa3f4ae2 SHA512 e8510f28506373908cc3ef921d8f7b6be528068ab659703e604c421f27b7fb3e99df454b6184f292500067e377bc7a094fa1df5ab4c1a0be71f5f2f5d9114c15 WHIRLPOOL e3ccc36249fbb56412e9d35d727b92d11a8e1107be063af3e8e711b88b581feb96656399dd42b04c882b71653109880fca9b4584bb3b7c5ce71b0e9362da1efa +MISC metadata.xml 700 SHA256 0e3cb1abeeef10832665d519c299a83459c99eb3aad87b283698c57a19ffd651 SHA512 96d4e1a4d9d59be1e2613ae45def5357af5a20d2f9511f1f56418bf2eb3e41198a062ff3af741cfca9b644201703a2e7979cb533c4e00fc9b85336844b10e5c2 WHIRLPOOL a952e71363c317a25f1828c01bd72efa5ffb419ef49faeab63953019b9712c2c0e8817ea17039fdb05090b37470be586023ac957a05261a01f5116015c8a3166 diff --git a/dev-libs/girara/girara-0.2.2.ebuild b/dev-libs/girara/girara-0.2.2.ebuild new file mode 100644 index 000000000000..2f5449d8fa92 --- /dev/null +++ b/dev-libs/girara/girara-0.2.2.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit multilib toolchain-funcs virtualx +[[ ${PV} == 9999* ]] && inherit git-2 + +DESCRIPTION="UI library that focuses on simplicity and minimalism" +HOMEPAGE="http://pwmt.org/projects/girara/" +if ! [[ ${PV} == 9999* ]]; then +SRC_URI="http://pwmt.org/projects/${PN}/download/${P}.tar.gz" +fi +EGIT_REPO_URI="https://git.pwmt.org/pwmt/${PN}.git" +EGIT_BRANCH="develop" + +LICENSE="ZLIB" +SLOT="3" +if ! [[ ${PV} == 9999* ]]; then +KEYWORDS="amd64 arm x86 ~amd64-linux ~x86-linux" +else +KEYWORDS="" +fi +IUSE="libnotify static-libs test" + +RDEPEND=">=dev-libs/glib-2.28 + >=x11-libs/gtk+-3.2:3 + !<${CATEGORY}/${PN}-0.1.6 + libnotify? ( >=x11-libs/libnotify-0.7 )" +DEPEND="${RDEPEND} + sys-devel/gettext + virtual/pkgconfig" + +pkg_setup() { + mygiraraconf=( + WITH_LIBNOTIFY=$(usex libnotify 1 0) + PREFIX="${EPREFIX}"/usr + LIBDIR='${PREFIX}'/$(get_libdir) + CC="$(tc-getCC)" + SFLAGS='' + VERBOSE=1 + DESTDIR="${D}" + ) +} + +src_prepare() { + # Remove 'static' and 'install-static' targets + if ! use static-libs; then + sed -i \ + -e '/^${PROJECT}:/s:static::' \ + -e '/^install:/s:install-static::' \ + Makefile || die + fi +} + +src_compile() { + emake "${mygiraraconf[@]}" +} + +src_test() { + virtx default +} + +src_install() { + emake "${mygiraraconf[@]}" install + dodoc AUTHORS +} diff --git a/dev-libs/girara/girara-0.2.7.ebuild b/dev-libs/girara/girara-0.2.7.ebuild new file mode 100644 index 000000000000..29a79a375e8a --- /dev/null +++ b/dev-libs/girara/girara-0.2.7.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit multilib toolchain-funcs virtualx +[[ ${PV} == 9999* ]] && inherit git-2 + +DESCRIPTION="UI library that focuses on simplicity and minimalism" +HOMEPAGE="http://pwmt.org/projects/girara/" +if ! [[ ${PV} == 9999* ]]; then +SRC_URI="http://pwmt.org/projects/${PN}/download/${P}.tar.gz" +fi +EGIT_REPO_URI="https://git.pwmt.org/pwmt/${PN}.git" +EGIT_BRANCH="develop" + +LICENSE="ZLIB" +SLOT="3" +if ! [[ ${PV} == 9999* ]]; then +KEYWORDS="amd64 arm x86 ~amd64-linux ~x86-linux" +fi +IUSE="libnotify static-libs test" + +RDEPEND=">=dev-libs/glib-2.28 + >=x11-libs/gtk+-3.4:3 + dev-libs/json-c + !<${CATEGORY}/${PN}-0.1.6 + libnotify? ( >=x11-libs/libnotify-0.7 )" +DEPEND="${RDEPEND} + sys-devel/gettext + virtual/pkgconfig + test? ( x11-apps/xhost + dev-libs/check )" + +pkg_setup() { + mygiraraconf=( + WITH_LIBNOTIFY=$(usex libnotify 1 0) + PREFIX="${EPREFIX}"/usr + LIBDIR='${PREFIX}'/$(get_libdir) + CC="$(tc-getCC)" + SFLAGS='' + VERBOSE=1 + DESTDIR="${D}" + ) +} + +src_prepare() { + # Remove 'static' and 'install-static' targets + if ! use static-libs; then + sed -i \ + -e '/^${PROJECT}:/s:static::' \ + -e '/^install:/s:install-static::' \ + Makefile || die + fi +} + +src_compile() { + emake "${mygiraraconf[@]}" +} + +src_test() { + virtx default +} + +src_install() { + emake "${mygiraraconf[@]}" install + dodoc AUTHORS +} diff --git a/dev-libs/girara/girara-9999.ebuild b/dev-libs/girara/girara-9999.ebuild new file mode 100644 index 000000000000..8bc52bdf74cd --- /dev/null +++ b/dev-libs/girara/girara-9999.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit multilib toolchain-funcs virtualx +[[ ${PV} == 9999* ]] && inherit git-2 + +DESCRIPTION="UI library that focuses on simplicity and minimalism" +HOMEPAGE="http://pwmt.org/projects/girara/" +if ! [[ ${PV} == 9999* ]]; then +SRC_URI="http://pwmt.org/projects/${PN}/download/${P}.tar.gz" +fi +EGIT_REPO_URI="https://git.pwmt.org/pwmt/${PN}.git" +EGIT_BRANCH="develop" + +LICENSE="ZLIB" +SLOT="3" +if ! [[ ${PV} == 9999* ]]; then +KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux" +else +KEYWORDS="" +fi +IUSE="libnotify static-libs test" + +RDEPEND=">=dev-libs/glib-2.28 + >=x11-libs/gtk+-3.4:3 + !<${CATEGORY}/${PN}-0.1.6 + libnotify? ( >=x11-libs/libnotify-0.7 )" +DEPEND="${RDEPEND} + sys-devel/gettext + virtual/pkgconfig" + +pkg_setup() { + mygiraraconf=( + WITH_LIBNOTIFY=$(usex libnotify 1 0) + PREFIX="${EPREFIX}"/usr + LIBDIR='${PREFIX}'/$(get_libdir) + CC="$(tc-getCC)" + SFLAGS='' + VERBOSE=1 + DESTDIR="${D}" + ) +} + +src_prepare() { + # Remove 'static' and 'install-static' targets + if ! use static-libs; then + sed -i \ + -e '/^${PROJECT}:/s:static::' \ + -e '/^install:/s:install-static::' \ + Makefile || die + fi +} + +src_compile() { + emake "${mygiraraconf[@]}" +} + +src_test() { + virtx default +} + +src_install() { + emake "${mygiraraconf[@]}" install + dodoc AUTHORS +} diff --git a/dev-libs/girara/metadata.xml b/dev-libs/girara/metadata.xml new file mode 100644 index 000000000000..6e22fb2f495e --- /dev/null +++ b/dev-libs/girara/metadata.xml @@ -0,0 +1,21 @@ + + + + + xmw@gentoo.org + Michael Weber + + + + mlq@pwmt.org + Moritz Lipp + + + sebastian+dev@ramacher.at + Sebastian Ramacher + + http://pwmt.org/projects/girara/download/ + http://pwmt.org/projects/girara/ + http://bugs.pwmt.org/ + + diff --git a/dev-libs/gjs/Manifest b/dev-libs/gjs/Manifest new file mode 100644 index 000000000000..519574252051 --- /dev/null +++ b/dev-libs/gjs/Manifest @@ -0,0 +1,12 @@ +AUX 1.48.6-disable-unittest.patch 854 SHA256 42381c5f8bd1d7ed46512c8611be404557bf927aa5e43ec2191354211c73a1b7 SHA512 d905f40bec47f6c643307dee88c95eb22e995b191caceb5c1faa0b6eecdb7b3d4c79c96ee54917aae26cba75d59880bd71a3728ce468c6caa824e677edaa36b0 WHIRLPOOL e81f5870bb7607bc88a80a8ffa2c4134634b4452a9be26d8e16c3656fa41b08b5e393236ddf013abedcce541399435b03eee5213fe9dc79e82a40f2a4930e077 +AUX gjs-1.43.3-disable-unittest-1.patch 2128 SHA256 30be307e5939ad2b313642224e08164d01e32adb4d164a9940a185bd18e17732 SHA512 6fd3134bb5c19c46ee2b1f0d87e8644bc5c7a92e32fd62963fe6051ca49f20affde5f6cfbc134aaea0b7b6a5b9833e946796c689e7ebec56951b805b96cc56f2 WHIRLPOOL 3490dc9618f6268d53f9fb3af29a257c84ebc19cd42f0095f1bcb47683dd2e12b9bbafad887491383bd155946c5a11eb76648820552586ae07f95ddae005bfff +AUX gjs-1.43.3-disable-unittest-2.patch 1119 SHA256 d64b41557f09f3860581b1a6a25284afddf7e68710337261c95b562935444e93 SHA512 a6f8df3c3454a635852b83ad1c3733182f2e7a28874476d1c28fb2edf8a8c0bcd7fece723c2baa43141c0ac252c2450a6b57e73821a991cb0ddd5a49aca62251 WHIRLPOOL 16825454922571202985ead62873067c2aefa729ea9cdcbfb1b5ff41eef43ca73c5073cf6f4e64b54cbb67a9a01f1ddcd407da8844608a67e6732af5b4f9a615 +DIST gjs-1.46.0.tar.xz 490812 SHA256 2283591fa70785443793e1d7db66071b36052d707075f229baeb468d8dd25ad4 SHA512 14af40668e95d269ac87556c75cf45680c41bc8246f04c46726d34bd80e9344045c0a510567f156c2c25c1f10dd474dc38bd50581d1b2e5abe0daa0cf570e2bc WHIRLPOOL 4aaf910c344d7df028a52e43b60b49e4fb0aefd92968e068d0effc4817b0f6b3d388c8287c6f7e3f85bc92c9e5605c03ff4743677ebc95dcd383d5a84d06f4fa +DIST gjs-1.48.6.tar.xz 596964 SHA256 e85f65ba4b38bf80b6174949dfe6fce89e88b8213bbdde4ac1fde473c08bd312 SHA512 29d70bbee722bbb58eb95acf1409d5e34930d11ebd9525f3b7d0050a13b72eb50e357df7c2bb9bc2ba147dcfdbc2dfb1f1f7b710347473d05cd484006b6ea256 WHIRLPOOL e18a79c04b2b49f250d378bbaf43aa461b8673a819ca1fb2ba02c5b0985fec4555e700c07213654eba57e390856b4951ad158ff669f12e24b6325f5ca7f681b6 +DIST gjs-1.48.7.tar.xz 595324 SHA256 09dbf6e1a7f821df7c50098acc4489cfb4e943ec12f10258bb42b1a71061c36e SHA512 b8c58e068eaecfca2fa40cebe209fa8058e603809be4307099a0f3dbd561752a540d587d546ffa74aef0268a111f2b2846a1e0febda1adcefdac8c02e716e2dd WHIRLPOOL 4b34be1fb60d46ecb57e5d990c0b863d24ff829d2240e5d032ad74669ff11bd59cfc7a43607ad68ff1de814b668e46b65cd64f55871cff8d90845f68167dc441 +EBUILD gjs-1.46.0.ebuild 1559 SHA256 bead9ee5deb1fb824b65c90040fd2a004acb1dd4f486da2e8299edf12f7af487 SHA512 083fd06684cd111f77b35f251c9d1418614550947366e838408daa2f214204d530273a2954304f6e3aba092c8160dec9ae581d7422f033cbf3aaaf72ec99ccae WHIRLPOOL c581f22d4cf152555d781940cffe1c34354ad726cc38e475cd4c3031f5c71031b98a56265106b074c9e129b3cd2243c8d8eee5dd86a3b05fa41a86af365eeee4 +EBUILD gjs-1.48.6.ebuild 1587 SHA256 64981b2ab768a26bfc52b46f0b4774830fb59321793804675896d2629077deb7 SHA512 1ebb3aa24c7164d00f0179f3ec361642ea2b58b080366e018b374eced5680af0b829be8d9d266677b3a8c32557cba8d9c8a97e933142a0933b54d5ff7a29810f WHIRLPOOL c8f063f534070626d23b5a67b70312ee6dada2ef6d2f8115ed48b3f6e9df310e740a0d6678ca6a4a62f3bdf00f636ce60e8104ae22b0e387219aa3d505459b00 +EBUILD gjs-1.48.7.ebuild 1556 SHA256 1c51de546f74840f53effbc7fa672674ab2ba58071655c4a21e5aa96f73ea217 SHA512 ed7eacb397017e527378e22efc7d6573baaadda4176a6e660f1715c2e9887686c9e9400bab29a5537e6f29487718ee6049aed1ea9fcd9174c8efb693a955aa18 WHIRLPOOL d5f3434f8d00cf4b71a61ee5de555e220708301728eb3b102d15ac21c972fd4537d4b352db02700e10ee74c87537821d8363ebacd1955334c14a80f93f0f6758 +MISC ChangeLog 6842 SHA256 2479b06773e23b863c1a0af896920b51ce5a449e32195630a2aeb79a1d605ffd SHA512 ddbe59282ba59b0928b32c072f0a5a60dd70d0b0bf8971733e05acae1b9720aec286ed1780fdbe57a9fdb4001321421b4a955d4ccee4295e7400b804fb0f3e20 WHIRLPOOL 0ebc85d65818e2a9a34ad67a5211aa109b1e672ca6a28030e4b0b70ddfa54f89460281af33d1b3151b7c1ae02850bfb740f1009abdffaff90b26692443a3163a +MISC ChangeLog-2015 9258 SHA256 857e7939a8f8063ba33349d442a456697b84a8e90a585653c3dabb7e40240b15 SHA512 480ef94cc3160f6f9b3a4fb2c109e45a1c5fc841caa070295811f0d8f6210ece139f9f81b5e048c84a9a29c7125794ff6c4ce843dd79e674b3de7131b6f4e3b3 WHIRLPOOL e0232e2b2d984272d4b7631bce3f522271635f3e761d17aaba1885e3cc483b0a6a2517059a4926046f16b5db7ffac07d33dd2e75166941bd58e2bb64ac391e83 +MISC metadata.xml 259 SHA256 6d16d32cce05219baff0d7aef9baf4f8f4622ba77a55e9bc5ae9b074ae8d4600 SHA512 fbef629394690b3a5608abc6344816f6acf1e8e2663f29949fd14a662c628f16fee77a1ec1641066806d143fb94c1571bc5b46b829dc53620af6956377fe15cc WHIRLPOOL dd2c856848fdc98df5a4ffca31b95078656373a87ccf2e44be410e7139f2980f3ebb0ae951e2e92fc46ce8e3a3ecefec169c3a15bbcceba69c1bd8224a8dd271 diff --git a/dev-libs/gjs/files/1.48.6-disable-unittest.patch b/dev-libs/gjs/files/1.48.6-disable-unittest.patch new file mode 100644 index 000000000000..3925fed0140d --- /dev/null +++ b/dev-libs/gjs/files/1.48.6-disable-unittest.patch @@ -0,0 +1,24 @@ +commit e9b7360c9a057c4a6718c9561e5cb6dcee279ec2 +Author: Timo Tambet +Date: Sat Apr 22 22:32:36 2017 +0300 + + Comment out broken JS unittest + +diff --git a/installed-tests/js/testLocale.js b/installed-tests/js/testLocale.js +index edd8a6e..0b0847a 100644 +--- a/installed-tests/js/testLocale.js ++++ b/installed-tests/js/testLocale.js +@@ -4,11 +4,12 @@ describe('JS_SetLocaleCallbacks', function () { + }); + + // Requesting the weekday name tests locale_to_unicode ++ /* + it('toLocaleDateString() works', function () { + let date = new Date('12/15/1981'); + let datestr = date.toLocaleDateString('pt-BR', { weekday: 'long' }); + expect(datestr).toEqual('terça-feira'); +- }); ++ });*/ + + it('toLocaleLowerCase() works', function () { + expect('AAA'.toLocaleLowerCase()).toEqual('aaa'); diff --git a/dev-libs/gjs/files/gjs-1.43.3-disable-unittest-1.patch b/dev-libs/gjs/files/gjs-1.43.3-disable-unittest-1.patch new file mode 100644 index 000000000000..c6d740ad5537 --- /dev/null +++ b/dev-libs/gjs/files/gjs-1.43.3-disable-unittest-1.patch @@ -0,0 +1,40 @@ +From 115c97bb07f71ac91e20b84f9da6389434d31999 Mon Sep 17 00:00:00 2001 +From: Gilles Dartiguelongue +Date: Sun, 12 Oct 2014 21:57:11 +0200 +Subject: [PATCH 1/2] Comment broken unittests + +--- + test/gjs-tests.cpp | 10 +++++----- + 1 file changed, 5 insertions(+), 5 deletions(-) + +diff --git a/test/gjs-tests.cpp b/test/gjs-tests.cpp +index 6cade7b..4d6c61e 100644 +--- a/test/gjs-tests.cpp ++++ b/test/gjs-tests.cpp +@@ -324,18 +324,18 @@ main(int argc, + + g_test_init(&argc, &argv, NULL); + +- g_test_add_func("/gjs/context/construct/destroy", gjstest_test_func_gjs_context_construct_destroy); ++ /* g_test_add_func("/gjs/context/construct/destroy", gjstest_test_func_gjs_context_construct_destroy); */ + g_test_add_func("/gjs/context/construct/eval", gjstest_test_func_gjs_context_construct_eval); +- g_test_add_func("/gjs/jsapi/util/array", gjstest_test_func_gjs_jsapi_util_array); +- g_test_add_func("/gjs/jsapi/util/error/throw", gjstest_test_func_gjs_jsapi_util_error_throw); +- g_test_add_func("/gjs/jsapi/util/string/js/string/utf8", gjstest_test_func_gjs_jsapi_util_string_js_string_utf8); ++ /* g_test_add_func("/gjs/jsapi/util/array", gjstest_test_func_gjs_jsapi_util_array); */ ++ /* g_test_add_func("/gjs/jsapi/util/error/throw", gjstest_test_func_gjs_jsapi_util_error_throw); */ ++ /* g_test_add_func("/gjs/jsapi/util/string/js/string/utf8", gjstest_test_func_gjs_jsapi_util_string_js_string_utf8); */ + g_test_add_func("/gjs/jsutil/strip_shebang/no_shebang", gjstest_test_strip_shebang_no_advance_for_no_shebang); + g_test_add_func("/gjs/jsutil/strip_shebang/have_shebang", gjstest_test_strip_shebang_advance_for_shebang); + g_test_add_func("/gjs/jsutil/strip_shebang/only_shebang", gjstest_test_strip_shebang_return_null_for_just_shebang); + g_test_add_func("/util/glib/strv/concat/null", gjstest_test_func_util_glib_strv_concat_null); + g_test_add_func("/util/glib/strv/concat/pointers", gjstest_test_func_util_glib_strv_concat_pointers); + +- gjs_test_add_tests_for_coverage (); ++ /* gjs_test_add_tests_for_coverage (); */ + + g_test_run(); + +-- +2.3.6 + diff --git a/dev-libs/gjs/files/gjs-1.43.3-disable-unittest-2.patch b/dev-libs/gjs/files/gjs-1.43.3-disable-unittest-2.patch new file mode 100644 index 000000000000..fe21f92dfc2b --- /dev/null +++ b/dev-libs/gjs/files/gjs-1.43.3-disable-unittest-2.patch @@ -0,0 +1,35 @@ +From c9d63c7531a29418c64dc44556519d7bd1664ce4 Mon Sep 17 00:00:00 2001 +From: Gilles Dartiguelongue +Date: Sun, 12 Oct 2014 21:57:45 +0200 +Subject: [PATCH 2/2] Comment broken JS unittest + +--- + installed-tests/js/testLocale.js | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +diff --git a/installed-tests/js/testLocale.js b/installed-tests/js/testLocale.js +index b086a66..0c5abb1 100644 +--- a/installed-tests/js/testLocale.js ++++ b/installed-tests/js/testLocale.js +@@ -1,14 +1,14 @@ + // tests for JS_SetLocaleCallbacks(). + const JSUnit = imports.jsUnit; + +-function testToLocaleDateString() { +- let date = new Date(); ++//function testToLocaleDateString() { ++ //let date = new Date(); + // %A is the weekday name, this tests locale_to_unicode + // we're basically just testing for a non-crash, since + // we'd have to run in a specific locale to have any + // idea about the result. +- date.toLocaleDateString("%A"); +-} ++ //date.toLocaleDateString("%A"); ++//} + + function testToLocaleLowerCase() { + JSUnit.assertEquals("aaa", "AAA".toLocaleLowerCase()); +-- +2.3.6 + diff --git a/dev-libs/gjs/gjs-1.46.0.ebuild b/dev-libs/gjs/gjs-1.46.0.ebuild new file mode 100644 index 000000000000..a93e55bea193 --- /dev/null +++ b/dev-libs/gjs/gjs-1.46.0.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit gnome2 pax-utils virtualx + +DESCRIPTION="Javascript bindings for GNOME" +HOMEPAGE="https://wiki.gnome.org/Projects/Gjs" + +LICENSE="MIT || ( MPL-1.1 LGPL-2+ GPL-2+ )" +SLOT="0" +IUSE="+cairo examples gtk test" +KEYWORDS="alpha amd64 arm ia64 ppc ppc64 sparc x86" + +RDEPEND=" + >=dev-libs/glib-2.36:2 + >=dev-libs/gobject-introspection-1.41.4:= + + sys-libs/readline:0 + dev-lang/spidermonkey:24 + virtual/libffi + cairo? ( x11-libs/cairo[X] ) + gtk? ( x11-libs/gtk+:3 ) +" +DEPEND="${RDEPEND} + gnome-base/gnome-common + sys-devel/gettext + virtual/pkgconfig + test? ( sys-apps/dbus ) +" + +PATCHES=( + # Disable broken unittests, upstream bug #???? + "${FILESDIR}"/${PN}-1.43.3-disable-unittest-{1,2}.patch +) + +src_configure() { + # FIXME: add systemtap/dtrace support, like in glib:2 + # FIXME: --enable-systemtap installs files in ${D}/${D} for some reason + # XXX: Do NOT enable coverage, completely useless for portage installs + gnome2_src_configure \ + --disable-systemtap \ + --disable-dtrace \ + --disable-coverage \ + $(use_with cairo cairo) \ + $(use_with gtk) \ + $(use_with test dbus-tests) \ + $(use_with test xvfb-tests) +} + +src_test() { + virtx emake check +} + +src_install() { + # installation sometimes fails in parallel, bug #??? + gnome2_src_install -j1 + + if use examples; then + insinto /usr/share/doc/"${PF}"/examples + doins "${S}"/examples/* + fi + + # Required for gjs-console to run correctly on PaX systems + pax-mark mr "${ED}/usr/bin/gjs-console" +} diff --git a/dev-libs/gjs/gjs-1.48.6.ebuild b/dev-libs/gjs/gjs-1.48.6.ebuild new file mode 100644 index 000000000000..782d4047a2a2 --- /dev/null +++ b/dev-libs/gjs/gjs-1.48.6.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit gnome2 pax-utils virtualx + +DESCRIPTION="Javascript bindings for GNOME" +HOMEPAGE="https://wiki.gnome.org/Projects/Gjs" + +LICENSE="MIT || ( MPL-1.1 LGPL-2+ GPL-2+ )" +SLOT="0" +IUSE="+cairo examples gtk test" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86" + +RDEPEND=" + >=dev-libs/glib-2.52.1 + >=dev-libs/gobject-introspection-1.52.1:= + + sys-libs/readline:0 + dev-lang/spidermonkey:38 + virtual/libffi + cairo? ( x11-libs/cairo[X] ) + gtk? ( >=x11-libs/gtk+-3.20:3 ) +" +DEPEND="${RDEPEND} + gnome-base/gnome-common + sys-devel/gettext + virtual/pkgconfig + test? ( sys-apps/dbus ) +" + +PATCHES=( + # Disable unittest failing without pt_BR locale, upstream bug #???? + "${FILESDIR}"/${PV}-disable-unittest.patch +) + +src_configure() { + # FIXME: add systemtap/dtrace support, like in glib:2 + # FIXME: --enable-systemtap installs files in ${D}/${D} for some reason + # XXX: Do NOT enable coverage, completely useless for portage installs + gnome2_src_configure \ + --disable-systemtap \ + --disable-dtrace \ + --disable-code-coverage \ + $(use_with cairo cairo) \ + $(use_with gtk) \ + $(use_with test dbus-tests) \ + $(use_with test xvfb-tests) +} + +src_test() { + virtx emake check +} + +src_install() { + # installation sometimes fails in parallel, bug #??? + gnome2_src_install -j1 + + if use examples; then + insinto /usr/share/doc/"${PF}"/examples + doins "${S}"/examples/* + fi + + # Required for gjs-console to run correctly on PaX systems + pax-mark mr "${ED}/usr/bin/gjs-console" +} diff --git a/dev-libs/gjs/gjs-1.48.7.ebuild b/dev-libs/gjs/gjs-1.48.7.ebuild new file mode 100644 index 000000000000..a1e72ae1d191 --- /dev/null +++ b/dev-libs/gjs/gjs-1.48.7.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit gnome2 pax-utils virtualx + +DESCRIPTION="Javascript bindings for GNOME" +HOMEPAGE="https://wiki.gnome.org/Projects/Gjs" + +LICENSE="MIT || ( MPL-1.1 LGPL-2+ GPL-2+ )" +SLOT="0" +IUSE="+cairo examples gtk test" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86" + +RDEPEND=" + >=dev-libs/glib-2.52.1 + >=dev-libs/gobject-introspection-1.52.1:= + + sys-libs/readline:0 + dev-lang/spidermonkey:38 + virtual/libffi + cairo? ( x11-libs/cairo[X] ) + gtk? ( >=x11-libs/gtk+-3.20:3 ) +" +DEPEND="${RDEPEND} + gnome-base/gnome-common + sys-devel/gettext + virtual/pkgconfig + test? ( sys-apps/dbus ) +" + +#PATCHES=( + # Disable unittest failing without pt_BR locale, upstream bug #???? +# "${FILESDIR}"/1.48.6-disable-unittest.patch +#) + +src_configure() { + # FIXME: add systemtap/dtrace support, like in glib:2 + # FIXME: --enable-systemtap installs files in ${D}/${D} for some reason + # XXX: Do NOT enable coverage, completely useless for portage installs + gnome2_src_configure \ + --disable-systemtap \ + --disable-dtrace \ + --disable-code-coverage \ + $(use_with cairo cairo) \ + $(use_with gtk) \ + $(use_with test dbus-tests) \ + $(use_with test xvfb-tests) +} + +src_install() { + # installation sometimes fails in parallel, bug #??? + gnome2_src_install -j1 + + if use examples; then + insinto /usr/share/doc/"${PF}"/examples + doins "${S}"/examples/* + fi + + # Required for gjs-console to run correctly on PaX systems + pax-mark mr "${ED}/usr/bin/gjs-console" +} diff --git a/dev-libs/gjs/metadata.xml b/dev-libs/gjs/metadata.xml new file mode 100644 index 000000000000..4cbddcaa19ad --- /dev/null +++ b/dev-libs/gjs/metadata.xml @@ -0,0 +1,8 @@ + + + + + gnome@gentoo.org + Gentoo GNOME Desktop + + diff --git a/dev-libs/glib/Manifest b/dev-libs/glib/Manifest new file mode 100644 index 000000000000..8af668dfeec6 --- /dev/null +++ b/dev-libs/glib/Manifest @@ -0,0 +1,10 @@ +AUX glib-2.50.0-external-gdbus-codegen.patch 3854 SHA256 c5c96e54a9dfb9b10e9083279ddb3961c324e1ea151772d047ec57e12893c15f SHA512 dd5fb2f7f82be85326c37851cbb5d41307f7efcdd214b523f8ab0adc4e30830234f69b08dfbaa50bf7ace78bb0f07e7d7a6c5f87a2d06d2c11e0ed6f2d1d2045 WHIRLPOOL 79270dd6139bf17e0149c30528ea18bdac6af913cb6733cb0a72b3c44bfd378c05433d3f7abaef088e271e34490c551f0214efbac45db6470e3d83e4ee2b6e6d +AUX glib-2.50.3-fix-gdatetime-tests.patch 2052 SHA256 182695950e34356f3d97005cd0120d3a0ed1e485ec97b86b0c121a72c418c7b5 SHA512 7701cd1116626ef2b5a79e0d31f4c445a609b8b4481745f443fbac290670c776fbf4196a33a80629bf13bd9e405579715758e6c7ffcee72b6129d444d1dfa724 WHIRLPOOL 19f0193c57d2a4de5b1429ee3171c554e43aaadbc53e2f1471803a8b3c32c8ac6cd0ff5d5ed4ff46bb2923b09f97a354b2a3ae0989a633f2757c250a5b80a2f7 +DIST glib-2.50.3.tar.xz 7589284 SHA256 82ee94bf4c01459b6b00cb9db0545c2237921e3060c0b74cff13fbc020cfd999 SHA512 ef35806c15170b6608445f255136c0bebd2d433adf903c2af2865f6a57b4f2fcfc1e4a7cea1a0dac48ff5fe26248fbf7886dba4a8d209506f0a94160df8fb7af WHIRLPOOL fc8effb457005a234ccb164d74026cec4af7f9a70eef0a8d58efebfacdcf0d7f7713042a9476e6a89e4effbdf4b0d59377811790557cc991cf6b397e5e984f93 +DIST glib-2.52.3.tar.xz 7679972 SHA256 25ee7635a7c0fcd4ec91cbc3ae07c7f8f5ce621d8183511f414ded09e7e4e128 SHA512 a068f2519cfb82de8d4b7f004e7c1f15e841cad4046430a83b02b359d011e0c4077cdff447a1687ed7c68f1a11b4cf66b9ed9fc23ab5f0c7c6be84eb0ddc3017 WHIRLPOOL 733ab64abbd60c633833d662d6b58e011478f85d1b0ab48a4af4cbe79e6c9973ccc86247dec2897a0c7663edeee516a3f034c14ac9b5e7a3dba97a04a88298f0 +DIST pkg-config-0.28.tar.gz 1931203 SHA256 6b6eb31c6ec4421174578652c7e141fdaae2dabad1021f420d8713206ac1f845 SHA512 6eafa5ca77c5d44cd15f48457a5e96fcea2555b66d8e35ada5ab59864a0aa03d441e15f54ab9c6343693867b3b490f392c75b7d9312f024c9b7ec6a0194d8320 WHIRLPOOL db4ddb4ce61724e629931c5ffccb4d7a551b4dc0f4efed5a966822307e4b5a786adee5705dd80ec0a9aa32cb1af9ad9615e307360e131fc34688207216161486 +EBUILD glib-2.50.3-r1.ebuild 9657 SHA256 cc114c2e158a69b453b79e9d4f3ab7a250d2551cfcf412c89958f124a28f4229 SHA512 9e53494a817602c1c23117b9dbbd9365436540b331a258a705414699434b168635f14ad8d9eb08144f7989c72789593d55958c430adaaa8a384c36e02bc812ee WHIRLPOOL 14831f3c9e84a1af88e4cd920e2523194714a26a057a92295a4cabc09be666a1e382c1a707e7388ec6b25c46b36554e0d3455510f99189a265f29bf94810191f +EBUILD glib-2.52.3.ebuild 9570 SHA256 1d78f73d99e3e92e320cf01673fa2831996e21a44612a50c3bb8d506ec2836a9 SHA512 c6d4c0c12811cde6a756898451b477786b7893464bdacc1e61680e442f017f7966e2e2c3a433bcdb7890eb0bef8f0ce2e76c48577aeb72e1fa5a72a655478f19 WHIRLPOOL f077590d2124b30454434171155a21665bcbf5087c25739eb8735b8db7a64748412ec997aacdb424cb50873d4e8f9e65720522d010870e9bc71e24b606babff4 +MISC ChangeLog 16617 SHA256 dbeb7718cb84574904c5e69f634e353b00fe39c30bdb47ed03ba9e53c88c8854 SHA512 2452b2aaabcdc031fc6bdb3df6f3cbc9f799b848bdbb55f30392c34706c0187efb234e4f7e812bb2350e16912bb04f091138f01d9d757400728daec957673a84 WHIRLPOOL af577ddb29cbaa37c321d03c9ae97890de6d0f86e6273a048480ef9c68e3b69060e61b5cbb1e33a750527dec1cb6bfceb5701c5d693ee08e24a13e0d332025db +MISC ChangeLog-2015 92374 SHA256 30a20f59548fd99c9a9ddb519d9ae68e9319cd71f98ba2c5c2c8b13f72157af5 SHA512 d5c234d42873ec089c5c8cb2b8a449921581eb5fbf15d99c0cdbc3225a351d5dbee9ca87ac247a288d8fae19e737abf7e25af3ada02c9652697d374a9d1604e0 WHIRLPOOL a8fe2063c847f3330b09ef231aa49566934ec69e7aa5c0f23d42446af537aeb53bf801743808dcb447062026d15c5f1ce54ae0c58278a398fae5990d6b1f997b +MISC metadata.xml 955 SHA256 424ffc685dcfdfa5dcb142046d937915d07945217db814ff759b9b736d67f9e4 SHA512 31b87bd850ffaa3f2263e6435d2929ef9f8f979e6fe6cff86433c8841dc383088bc6d672ac7daf94c1ef660767d0e91a03860267df9c750dcde3204dd6631cb1 WHIRLPOOL cf59bd50dcfcc466ad19a81f458875b7e62fc569cda4f730defdbed72f0112395b332b52574c5794539c8e0255f7abaa9e7f14a9c5bb5fd6048ad3c4c35991c8 diff --git a/dev-libs/glib/files/glib-2.50.0-external-gdbus-codegen.patch b/dev-libs/glib/files/glib-2.50.0-external-gdbus-codegen.patch new file mode 100644 index 000000000000..2c942d559f50 --- /dev/null +++ b/dev-libs/glib/files/glib-2.50.0-external-gdbus-codegen.patch @@ -0,0 +1,93 @@ +diff --git a/configure.ac b/configure.ac +index e8e7553..216e59d 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -385,14 +385,14 @@ AC_SUBST(PERL_PATH) + # option to specify python interpreter to use; this just sets $PYTHON, so that + # we will fallback to reading $PYTHON if --with-python is not given, and + # python.m4 will get the expected input +-AC_ARG_WITH(python, +- AS_HELP_STRING([--with-python=PATH], +- [Path to Python interpreter; searches $PATH if only a program name is given; if not given, searches for a few standard names such as "python3" or "python2"]), +- [PYTHON="$withval"], []) +-if test x"$PYTHON" = xyes; then +- AC_MSG_ERROR([--with-python option requires a path or program argument]) +-fi +-AM_PATH_PYTHON(2.5,,PYTHON="/usr/bin/env python2.5") ++# AC_ARG_WITH(python, ++# AS_HELP_STRING([--with-python=PATH], ++# [Path to Python interpreter; searches $PATH if only a program name is given; if not given, searches for a few standard names such as "python3" or "python2"]), ++# [PYTHON="$withval"], []) ++# if test x"$PYTHON" = xyes; then ++# AC_MSG_ERROR([--with-python option requires a path or program argument]) ++# fi ++# AM_PATH_PYTHON(2.5,,PYTHON="/usr/bin/env python2.5") + + + dnl *********************** +@@ -3453,7 +3453,6 @@ gobject/glib-mkenums + gobject/tests/Makefile + gthread/Makefile + gio/Makefile +-gio/gdbus-2.0/codegen/Makefile + gio/gdbus-2.0/codegen/config.py + gio/gnetworking.h + gio/xdgmime/Makefile +diff --git a/docs/reference/gio/Makefile.am b/docs/reference/gio/Makefile.am +index 5741a3e..d38e768 100644 +--- a/docs/reference/gio/Makefile.am ++++ b/docs/reference/gio/Makefile.am +@@ -177,7 +177,6 @@ man_MANS += \ + gsettings.1 \ + gresource.1 \ + gdbus.1 \ +- gdbus-codegen.1 \ + gio.1 \ + $(NULL) + +diff --git a/gio/Makefile.am b/gio/Makefile.am +index ffe5ee2..929d1b5 100644 +--- a/gio/Makefile.am ++++ b/gio/Makefile.am +@@ -1,6 +1,6 @@ + include $(top_srcdir)/glib.mk + +-SUBDIRS = gdbus-2.0/codegen ++SUBDIRS = + + if OS_UNIX + SUBDIRS += xdgmime +diff --git a/gio/tests/Makefile.am b/gio/tests/Makefile.am +index 749267b..f2a8c63 100644 +--- a/gio/tests/Makefile.am ++++ b/gio/tests/Makefile.am +@@ -449,10 +449,8 @@ gnotification_SOURCES = $(gdbus_sessionbus_sources) gnotifica + + BUILT_SOURCES += gdbus-test-codegen-generated.c gdbus-test-codegen-generated.h + gdbus-test-codegen.o: gdbus-test-codegen-generated.h +-gdbus-test-codegen-generated.h: test-codegen.xml Makefile $(top_builddir)/gio/gdbus-2.0/codegen/gdbus-codegen +- $(AM_V_GEN) UNINSTALLED_GLIB_SRCDIR=$(top_srcdir) \ +- UNINSTALLED_GLIB_BUILDDIR=$(top_builddir) \ +- $(PYTHON) $(top_builddir)/gio/gdbus-2.0/codegen/gdbus-codegen \ ++gdbus-test-codegen-generated.h: test-codegen.xml Makefile ++ $(AM_V_GEN) gdbus-codegen \ + --interface-prefix org.project. \ + --generate-c-code gdbus-test-codegen-generated \ + --c-generate-object-manager \ +diff --git a/gio/tests/gdbus-object-manager-example/Makefile.am b/gio/tests/gdbus-object-manager-example/Makefile.am +index 1d0464c..0603d9b 100644 +--- a/gio/tests/gdbus-object-manager-example/Makefile.am ++++ b/gio/tests/gdbus-object-manager-example/Makefile.am +@@ -11,10 +11,8 @@ GDBUS_GENERATED = \ + gdbus-example-objectmanager-generated-org.gtk.GDBus.Example.ObjectManager.Cat.xml \ + $(NULL) + +-$(GDBUS_GENERATED) : gdbus-example-objectmanager.xml Makefile $(top_builddir)/gio/gdbus-2.0/codegen/gdbus-codegen +- $(AM_V_GEN) UNINSTALLED_GLIB_SRCDIR=$(top_srcdir) \ +- UNINSTALLED_GLIB_BUILDDIR=$(top_builddir) \ +- $(PYTHON) $(top_builddir)/gio/gdbus-2.0/codegen/gdbus-codegen \ ++$(GDBUS_GENERATED) : gdbus-example-objectmanager.xml Makefile ++ $(AM_V_GEN) gdbus-codegen \ + --interface-prefix org.gtk.GDBus.Example.ObjectManager. \ + --c-namespace Example \ + --c-generate-object-manager \ diff --git a/dev-libs/glib/files/glib-2.50.3-fix-gdatetime-tests.patch b/dev-libs/glib/files/glib-2.50.3-fix-gdatetime-tests.patch new file mode 100644 index 000000000000..6c41c5cf7e53 --- /dev/null +++ b/dev-libs/glib/files/glib-2.50.3-fix-gdatetime-tests.patch @@ -0,0 +1,52 @@ +From ec02a1875f29ecb8e46c0d8c1403cd00a0b3a9e4 Mon Sep 17 00:00:00 2001 +From: Iain Lane +Date: Mon, 13 Mar 2017 16:52:11 +0000 +Subject: [PATCH] tests/gdatetime: Use a real rather than invented timezone + +The tzdata maintainers had previously invented abbreviations for +timezones. As of their 2017a release, the one we were testing ("BRT") +has been dropped. + +Switch to testing PST, which is a real timezone abbreviation. + +https://bugzilla.gnome.org/show_bug.cgi?id=779799 +--- + glib/tests/gdatetime.c | 12 ++++++------ + 1 file changed, 6 insertions(+), 6 deletions(-) + +diff --git a/glib/tests/gdatetime.c b/glib/tests/gdatetime.c +index dcb8a8f..c54031d 100644 +--- a/glib/tests/gdatetime.c ++++ b/glib/tests/gdatetime.c +@@ -635,22 +635,22 @@ test_GDateTime_new_full (void) + g_date_time_unref (dt); + + #ifdef G_OS_UNIX +- tz = g_time_zone_new ("America/Recife"); ++ tz = g_time_zone_new ("America/Tijuana"); + #elif defined G_OS_WIN32 +- tz = g_time_zone_new ("E. South America Standard Time"); ++ tz = g_time_zone_new ("Pacific Standard Time"); + #endif +- dt = g_date_time_new (tz, 2010, 5, 24, 8, 4, 0); ++ dt = g_date_time_new (tz, 2010, 11, 24, 8, 4, 0); + g_time_zone_unref (tz); + g_assert_cmpint (2010, ==, g_date_time_get_year (dt)); +- g_assert_cmpint (5, ==, g_date_time_get_month (dt)); ++ g_assert_cmpint (11, ==, g_date_time_get_month (dt)); + g_assert_cmpint (24, ==, g_date_time_get_day_of_month (dt)); + g_assert_cmpint (8, ==, g_date_time_get_hour (dt)); + g_assert_cmpint (4, ==, g_date_time_get_minute (dt)); + g_assert_cmpint (0, ==, g_date_time_get_second (dt)); + #ifdef G_OS_UNIX +- g_assert_cmpstr ("BRT", ==, g_date_time_get_timezone_abbreviation (dt)); ++ g_assert_cmpstr ("PST", ==, g_date_time_get_timezone_abbreviation (dt)); + #elif defined G_OS_WIN32 +- g_assert_cmpstr ("E. South America Standard Time", ==, ++ g_assert_cmpstr ("Pacific Standard Time", ==, + g_date_time_get_timezone_abbreviation (dt)); + #endif + g_assert (!g_date_time_is_daylight_savings (dt)); +-- +2.10.1 + diff --git a/dev-libs/glib/glib-2.50.3-r1.ebuild b/dev-libs/glib/glib-2.50.3-r1.ebuild new file mode 100644 index 000000000000..2d5918587b74 --- /dev/null +++ b/dev-libs/glib/glib-2.50.3-r1.ebuild @@ -0,0 +1,303 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +# Until bug #537330 glib is a reverse dependency of pkgconfig and, then +# adding new dependencies end up making stage3 to grow. Every addition needs +# then to be think very closely. + +EAPI=6 +PYTHON_COMPAT=( python2_7 ) +# Completely useless with or without USE static-libs, people need to use +# pkg-config +GNOME2_LA_PUNT="yes" + +inherit autotools bash-completion-r1 epunt-cxx flag-o-matic gnome2 libtool linux-info \ + multilib multilib-minimal pax-utils python-r1 toolchain-funcs versionator virtualx + +DESCRIPTION="The GLib library of C routines" +HOMEPAGE="https://www.gtk.org/" +SRC_URI="${SRC_URI} + https://pkgconfig.freedesktop.org/releases/pkg-config-0.28.tar.gz" # pkg.m4 for eautoreconf + +LICENSE="LGPL-2+" +SLOT="2" +IUSE="dbus debug fam kernel_linux +mime selinux static-libs systemtap test utils xattr" +REQUIRED_USE=" + utils? ( ${PYTHON_REQUIRED_USE} ) + test? ( ${PYTHON_REQUIRED_USE} ) +" + +KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux" + +# Added util-linux multilib dependency to have libmount support (which +# is always turned on on linux systems, unless explicitly disabled, but +# this ebuild does not do that anyway) (bug #599586) + +RDEPEND=" + !=dev-libs/libpcre-8.13:3[${MULTILIB_USEDEP},static-libs?] + >=virtual/libiconv-0-r1[${MULTILIB_USEDEP}] + >=virtual/libffi-3.0.13-r1[${MULTILIB_USEDEP}] + >=virtual/libintl-0-r2[${MULTILIB_USEDEP}] + >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] + kernel_linux? ( sys-apps/util-linux[${MULTILIB_USEDEP}] ) + selinux? ( >=sys-libs/libselinux-2.2.2-r5[${MULTILIB_USEDEP}] ) + xattr? ( >=sys-apps/attr-2.4.47-r1[${MULTILIB_USEDEP}] ) + fam? ( >=virtual/fam-0-r1[${MULTILIB_USEDEP}] ) + utils? ( + ${PYTHON_DEPS} + >=dev-util/gdbus-codegen-${PV}[${PYTHON_USEDEP}] + virtual/libelf:0= + ) +" +DEPEND="${RDEPEND} + app-text/docbook-xml-dtd:4.1.2 + >=dev-libs/libxslt-1.0 + >=sys-devel/gettext-0.11 + >=dev-util/gtk-doc-am-1.20 + systemtap? ( >=dev-util/systemtap-1.3 ) + test? ( + sys-devel/gdb + ${PYTHON_DEPS} + >=dev-util/gdbus-codegen-${PV}[${PYTHON_USEDEP}] + >=sys-apps/dbus-1.2.14 ) + !& /dev/null; then + if has_version sys-apps/dbus; then + export DBUS1_CFLAGS="-I/usr/include/dbus-1.0 -I/usr/$(get_libdir)/dbus-1.0/include" + export DBUS1_LIBS="-ldbus-1" + fi + export LIBFFI_CFLAGS="-I$(echo /usr/$(get_libdir)/libffi-*/include)" + export LIBFFI_LIBS="-lffi" + export PCRE_CFLAGS=" " # test -n "$PCRE_CFLAGS" needs to pass + export PCRE_LIBS="-lpcre" + fi + + # These configure tests don't work when cross-compiling. + if tc-is-cross-compiler ; then + # https://bugzilla.gnome.org/show_bug.cgi?id=756473 + case ${CHOST} in + hppa*|metag*) export glib_cv_stack_grows=yes ;; + *) export glib_cv_stack_grows=no ;; + esac + # https://bugzilla.gnome.org/show_bug.cgi?id=756474 + export glib_cv_uscore=no + # https://bugzilla.gnome.org/show_bug.cgi?id=756475 + export ac_cv_func_posix_get{pwuid,grgid}_r=yes + fi + + local myconf + + case "${CHOST}" in + *-mingw*) myconf="${myconf} --with-threads=win32" ;; + *) myconf="${myconf} --with-threads=posix" ;; + esac + + # libelf used only by the gresource bin + ECONF_SOURCE="${S}" gnome2_src_configure ${myconf} \ + $(usex debug --enable-debug=yes ' ') \ + $(use_enable xattr) \ + $(use_enable fam) \ + $(use_enable kernel_linux libmount) \ + $(use_enable selinux) \ + $(use_enable static-libs static) \ + $(use_enable systemtap dtrace) \ + $(use_enable systemtap systemtap) \ + $(multilib_native_use_enable utils libelf) \ + --disable-compile-warnings \ + --enable-man \ + --with-pcre=system \ + --with-xml-catalog="${EPREFIX}/etc/xml/catalog" + + if multilib_is_native_abi; then + local d + for d in glib gio gobject; do + ln -s "${S}"/docs/reference/${d}/html docs/reference/${d}/html || die + done + fi +} + +multilib_src_test() { + export XDG_CONFIG_DIRS=/etc/xdg + export XDG_DATA_DIRS=/usr/local/share:/usr/share + export G_DBUS_COOKIE_SHA1_KEYRING_DIR="${T}/temp" + export LC_TIME=C # bug #411967 + unset GSETTINGS_BACKEND # bug #596380 + python_setup + + # Related test is a bit nitpicking + mkdir "$G_DBUS_COOKIE_SHA1_KEYRING_DIR" + chmod 0700 "$G_DBUS_COOKIE_SHA1_KEYRING_DIR" + + # Hardened: gdb needs this, bug #338891 + if host-is-pax ; then + pax-mark -mr "${BUILD_DIR}"/tests/.libs/assert-msg-test \ + || die "Hardened adjustment failed" + fi + + # Need X for dbus-launch session X11 initialization + virtx emake check +} + +multilib_src_install() { + gnome2_src_install completiondir="$(get_bashcompdir)" + keepdir /usr/$(get_libdir)/gio/modules +} + +multilib_src_install_all() { + einstalldocs + + if use utils ; then + python_replicate_script "${ED}"/usr/bin/gtester-report + else + rm "${ED}usr/bin/gtester-report" + rm "${ED}usr/share/man/man1/gtester-report.1" + fi + + # Do not install charset.alias even if generated, leave it to libiconv + rm -f "${ED}/usr/lib/charset.alias" + + # Don't install gdb python macros, bug 291328 + rm -rf "${ED}/usr/share/gdb/" "${ED}/usr/share/glib-2.0/gdb/" +} + +pkg_preinst() { + gnome2_pkg_preinst + + # Make gschemas.compiled belong to glib alone + local cache="usr/share/glib-2.0/schemas/gschemas.compiled" + + if [[ -e ${EROOT}${cache} ]]; then + cp "${EROOT}"${cache} "${ED}"/${cache} || die + else + touch "${ED}"/${cache} || die + fi + + multilib_pkg_preinst() { + # Make giomodule.cache belong to glib alone + local cache="usr/$(get_libdir)/gio/modules/giomodule.cache" + + if [[ -e ${EROOT}${cache} ]]; then + cp "${EROOT}"${cache} "${ED}"/${cache} || die + else + touch "${ED}"/${cache} || die + fi + } + + # Don't run the cache ownership when cross-compiling, as it would end up with an empty cache + # file due to inability to create it and GIO might not look at any of the modules there + if ! tc-is-cross-compiler ; then + multilib_foreach_abi multilib_pkg_preinst + fi +} + +pkg_postinst() { + # force (re)generation of gschemas.compiled + GNOME2_ECLASS_GLIB_SCHEMAS="force" + + gnome2_pkg_postinst + + multilib_pkg_postinst() { + gnome2_giomodule_cache_update \ + || die "Update GIO modules cache failed (for ${ABI})" + } + if ! tc-is-cross-compiler ; then + multilib_foreach_abi multilib_pkg_postinst + else + ewarn "Updating of GIO modules cache skipped due to cross-compilation." + ewarn "You might want to run gio-querymodules manually on the target for" + ewarn "your final image for performance reasons and re-run it when packages" + ewarn "installing GIO modules get upgraded or added to the image." + fi +} + +pkg_postrm() { + gnome2_pkg_postrm + + if [[ -z ${REPLACED_BY_VERSION} ]]; then + multilib_pkg_postrm() { + rm -f "${EROOT}"usr/$(get_libdir)/gio/modules/giomodule.cache + } + multilib_foreach_abi multilib_pkg_postrm + rm -f "${EROOT}"usr/share/glib-2.0/schemas/gschemas.compiled + fi +} diff --git a/dev-libs/glib/glib-2.52.3.ebuild b/dev-libs/glib/glib-2.52.3.ebuild new file mode 100644 index 000000000000..9a6308e1e3b3 --- /dev/null +++ b/dev-libs/glib/glib-2.52.3.ebuild @@ -0,0 +1,300 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +# Until bug #537330 glib is a reverse dependency of pkgconfig and, then +# adding new dependencies end up making stage3 to grow. Every addition needs +# then to be think very closely. + +EAPI=6 +PYTHON_COMPAT=( python2_7 ) +# Completely useless with or without USE static-libs, people need to use +# pkg-config +GNOME2_LA_PUNT="yes" + +inherit autotools bash-completion-r1 epunt-cxx flag-o-matic gnome2 libtool linux-info \ + multilib multilib-minimal pax-utils python-r1 toolchain-funcs versionator virtualx + +DESCRIPTION="The GLib library of C routines" +HOMEPAGE="https://www.gtk.org/" +SRC_URI="${SRC_URI} + https://pkgconfig.freedesktop.org/releases/pkg-config-0.28.tar.gz" # pkg.m4 for eautoreconf + +LICENSE="LGPL-2.1+" +SLOT="2" +IUSE="dbus debug fam kernel_linux +mime selinux static-libs systemtap test utils xattr" +REQUIRED_USE=" + utils? ( ${PYTHON_REQUIRED_USE} ) + test? ( ${PYTHON_REQUIRED_USE} ) +" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux" + +# Added util-linux multilib dependency to have libmount support (which +# is always turned on on linux systems, unless explicitly disabled, but +# this ebuild does not do that anyway) (bug #599586) + +RDEPEND=" + !=dev-libs/libpcre-8.13:3[${MULTILIB_USEDEP},static-libs?] + >=virtual/libiconv-0-r1[${MULTILIB_USEDEP}] + >=virtual/libffi-3.0.13-r1[${MULTILIB_USEDEP}] + >=virtual/libintl-0-r2[${MULTILIB_USEDEP}] + >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] + kernel_linux? ( sys-apps/util-linux[${MULTILIB_USEDEP}] ) + selinux? ( >=sys-libs/libselinux-2.2.2-r5[${MULTILIB_USEDEP}] ) + xattr? ( >=sys-apps/attr-2.4.47-r1[${MULTILIB_USEDEP}] ) + fam? ( >=virtual/fam-0-r1[${MULTILIB_USEDEP}] ) + utils? ( + ${PYTHON_DEPS} + >=dev-util/gdbus-codegen-${PV}[${PYTHON_USEDEP}] + virtual/libelf:0= + ) +" +DEPEND="${RDEPEND} + app-text/docbook-xml-dtd:4.1.2 + >=dev-libs/libxslt-1.0 + >=sys-devel/gettext-0.11 + >=dev-util/gtk-doc-am-1.20 + systemtap? ( >=dev-util/systemtap-1.3 ) + test? ( + sys-devel/gdb + ${PYTHON_DEPS} + >=dev-util/gdbus-codegen-${PV}[${PYTHON_USEDEP}] + >=sys-apps/dbus-1.2.14 ) + !& /dev/null; then + if has_version sys-apps/dbus; then + export DBUS1_CFLAGS="-I/usr/include/dbus-1.0 -I/usr/$(get_libdir)/dbus-1.0/include" + export DBUS1_LIBS="-ldbus-1" + fi + export LIBFFI_CFLAGS="-I$(echo /usr/$(get_libdir)/libffi-*/include)" + export LIBFFI_LIBS="-lffi" + export PCRE_CFLAGS=" " # test -n "$PCRE_CFLAGS" needs to pass + export PCRE_LIBS="-lpcre" + fi + + # These configure tests don't work when cross-compiling. + if tc-is-cross-compiler ; then + # https://bugzilla.gnome.org/show_bug.cgi?id=756473 + case ${CHOST} in + hppa*|metag*) export glib_cv_stack_grows=yes ;; + *) export glib_cv_stack_grows=no ;; + esac + # https://bugzilla.gnome.org/show_bug.cgi?id=756474 + export glib_cv_uscore=no + # https://bugzilla.gnome.org/show_bug.cgi?id=756475 + export ac_cv_func_posix_get{pwuid,grgid}_r=yes + fi + + local myconf + + case "${CHOST}" in + *-mingw*) myconf="${myconf} --with-threads=win32" ;; + *) myconf="${myconf} --with-threads=posix" ;; + esac + + # libelf used only by the gresource bin + ECONF_SOURCE="${S}" gnome2_src_configure ${myconf} \ + $(usex debug --enable-debug=yes ' ') \ + $(use_enable xattr) \ + $(use_enable fam) \ + $(use_enable kernel_linux libmount) \ + $(use_enable selinux) \ + $(use_enable static-libs static) \ + $(use_enable systemtap dtrace) \ + $(use_enable systemtap systemtap) \ + $(multilib_native_use_enable utils libelf) \ + --disable-compile-warnings \ + --enable-man \ + --with-pcre=system \ + --with-xml-catalog="${EPREFIX}/etc/xml/catalog" + + if multilib_is_native_abi; then + local d + for d in glib gio gobject; do + ln -s "${S}"/docs/reference/${d}/html docs/reference/${d}/html || die + done + fi +} + +multilib_src_test() { + export XDG_CONFIG_DIRS=/etc/xdg + export XDG_DATA_DIRS=/usr/local/share:/usr/share + export G_DBUS_COOKIE_SHA1_KEYRING_DIR="${T}/temp" + export LC_TIME=C # bug #411967 + unset GSETTINGS_BACKEND # bug #596380 + python_setup + + # Related test is a bit nitpicking + mkdir "$G_DBUS_COOKIE_SHA1_KEYRING_DIR" + chmod 0700 "$G_DBUS_COOKIE_SHA1_KEYRING_DIR" + + # Hardened: gdb needs this, bug #338891 + if host-is-pax ; then + pax-mark -mr "${BUILD_DIR}"/tests/.libs/assert-msg-test \ + || die "Hardened adjustment failed" + fi + + # Need X for dbus-launch session X11 initialization + virtx emake check +} + +multilib_src_install() { + gnome2_src_install completiondir="$(get_bashcompdir)" + keepdir /usr/$(get_libdir)/gio/modules +} + +multilib_src_install_all() { + einstalldocs + + if use utils ; then + python_replicate_script "${ED}"/usr/bin/gtester-report + else + rm "${ED}usr/bin/gtester-report" + rm "${ED}usr/share/man/man1/gtester-report.1" + fi + + # Do not install charset.alias even if generated, leave it to libiconv + rm -f "${ED}/usr/lib/charset.alias" + + # Don't install gdb python macros, bug 291328 + rm -rf "${ED}/usr/share/gdb/" "${ED}/usr/share/glib-2.0/gdb/" +} + +pkg_preinst() { + gnome2_pkg_preinst + + # Make gschemas.compiled belong to glib alone + local cache="usr/share/glib-2.0/schemas/gschemas.compiled" + + if [[ -e ${EROOT}${cache} ]]; then + cp "${EROOT}"${cache} "${ED}"/${cache} || die + else + touch "${ED}"/${cache} || die + fi + + multilib_pkg_preinst() { + # Make giomodule.cache belong to glib alone + local cache="usr/$(get_libdir)/gio/modules/giomodule.cache" + + if [[ -e ${EROOT}${cache} ]]; then + cp "${EROOT}"${cache} "${ED}"/${cache} || die + else + touch "${ED}"/${cache} || die + fi + } + + # Don't run the cache ownership when cross-compiling, as it would end up with an empty cache + # file due to inability to create it and GIO might not look at any of the modules there + if ! tc-is-cross-compiler ; then + multilib_foreach_abi multilib_pkg_preinst + fi +} + +pkg_postinst() { + # force (re)generation of gschemas.compiled + GNOME2_ECLASS_GLIB_SCHEMAS="force" + + gnome2_pkg_postinst + + multilib_pkg_postinst() { + gnome2_giomodule_cache_update \ + || die "Update GIO modules cache failed (for ${ABI})" + } + if ! tc-is-cross-compiler ; then + multilib_foreach_abi multilib_pkg_postinst + else + ewarn "Updating of GIO modules cache skipped due to cross-compilation." + ewarn "You might want to run gio-querymodules manually on the target for" + ewarn "your final image for performance reasons and re-run it when packages" + ewarn "installing GIO modules get upgraded or added to the image." + fi +} + +pkg_postrm() { + gnome2_pkg_postrm + + if [[ -z ${REPLACED_BY_VERSION} ]]; then + multilib_pkg_postrm() { + rm -f "${EROOT}"usr/$(get_libdir)/gio/modules/giomodule.cache + } + multilib_foreach_abi multilib_pkg_postrm + rm -f "${EROOT}"usr/share/glib-2.0/schemas/gschemas.compiled + fi +} diff --git a/dev-libs/glib/metadata.xml b/dev-libs/glib/metadata.xml new file mode 100644 index 000000000000..b73f9ed91053 --- /dev/null +++ b/dev-libs/glib/metadata.xml @@ -0,0 +1,23 @@ + + + + + gnome@gentoo.org + Gentoo GNOME Desktop + + + Enable dependencies required by glib libraries + using dbus service to manage settings saving + Pull in shared MIME database that many glib-based + applications require at runtime to detect or open files. Warning: + do not disable this flag unless installing on a headless server. + Build support for profiling and tracing using + dev-util/systemtap + Install gtester-report utility to generate test + report files for your software; build gresource utility with + ELF support. + + + cpe:/a:gnome:glib + + diff --git a/dev-libs/gmime/Manifest b/dev-libs/gmime/Manifest new file mode 100644 index 000000000000..e898398b9a9a --- /dev/null +++ b/dev-libs/gmime/Manifest @@ -0,0 +1,7 @@ +DIST gmime-2.6.23.tar.xz 5216588 SHA256 7149686a71ca42a1390869b6074815106b061aaeaaa8f2ef8c12c191d9a79f6a SHA512 2ff6718b7a555cd5b34848399f29c7d0aa5a15e1f3cb46e9258c499e874191ee00f41b737386805d3000bad34367d174a25c45d38ba90cba7902400e733afa14 WHIRLPOOL fe6d32ad46b6743cb7d8ee781d87724dc3ba4519cb98b95bb49ef55d257b28864dbf2fac1ada309dac363761e18f7bb8456933147d9d093ccf52aae4af694044 +DIST gmime-3.0.2.tar.xz 751944 SHA256 0deb460111ffa2ec672677da339b82dedeb28b258ccdb216daa21c81a9472fb2 SHA512 246f489c168ce7e04fab664b7e9ae7772ae52f0063fb0eac9153460d84fa5d9712457d81fbd1bdcdadb7e03007cf71ed3bad5287f1639214f54167427c9209ca WHIRLPOOL ff3c9ee2cdcff33cd6d2406ff72e925915f0901c92d3ba37a8ef5ee82d715c825e8337ecc68071daf5de67463653d91dd7b7a265ac6b6a883d3343e2fe51ca09 +EBUILD gmime-2.6.23.ebuild 1735 SHA256 74928d4f3ffc472ff0a3ddcd8c358ed64683fcbde25891ae194c1f2a51e29dd5 SHA512 2fbc586acb1dea60334039199a75f796bdd222ac5451c47ab76b2f8453adb4a2850d52dabb0c9d30af9a31332d5804bcc7891ceff5c58b78a61b2b54d0dd0354 WHIRLPOOL cd607f509870ab2c3a32344fb73ed5b555d351ac26bee44cb38e79828227d828e12d8594e116fa8a3155f1a44f19f8d174bb55418fc69bb56731fa0da4101646 +EBUILD gmime-3.0.2.ebuild 1565 SHA256 bae17c487fdf0f7c240f6a39337f5b175eedb2aa44b10411870fcca159e5bc50 SHA512 5c887be7059c20a2166771651d5b221e0a228f9b12f0b0f38f1fdf83b00ad3c3d8e94f072c0d00bbff0ee0aef448922acb333b123b5e69f16de75d034eeb8ea3 WHIRLPOOL 8771258187df3a23b24138f730dcc7cf3002d4d4008cb516bcebf907d86e1d3fa8b42c125a9bac66d5bf7fbd67982c1b507c96e552196bf013b306125f43b76c +MISC ChangeLog 5143 SHA256 92d08f0ccaaad535011cea3a7f5765ca57890ff012ba27a156d53b588567b72a SHA512 df639236608fe530bf4ecb4c0d08d3989240d594070d4f5609fd70167613846ba2480ce1644e524546578ce2c077e9a378b153d6f41a9644e7455612150380a5 WHIRLPOOL 24f5eed00a19ce0fe20b9e6635571f8409fdcf59a6df5f21e8854d45e3d3d57fbdf2d2a783f862ae74310d7aecc376c37283cb125810aedc7f0ea2cbd858f1ae +MISC ChangeLog-2015 36714 SHA256 2555d210c6604fe119b1a8b111cae198ea96d1bf90f31b3734d76b905cadd4d6 SHA512 94e9f60066e282451eb767b4bbe4fbd82fd93b97471f040123281d7aab1f0a799f02532d440f0e83c42396b8ec9e680d714ac823a75b721249775fec855c1e4d WHIRLPOOL 0a17527277f5352c59fcee06b2888aff0474410b626044fc85f3dc0dd5fb05dd32b65dff8a0496143d7e26ef30d26a2a4536166fdad0598d33e0453a2a94ada5 +MISC metadata.xml 407 SHA256 55d8c2b63403ad24322bab1bd2c3508c5aa9f8ee9e0d327ff588754d283d0105 SHA512 0567710e8d8d0a61a0828325440aa243d8517d94767069d165c106fc5d1b96e5f952738874772ef9f28d1a391d3c47939a2ee32ecf3f8321ec00ee81d646d502 WHIRLPOOL b2f115f647865fac05039a0c2e9c08d314ac7074bab37afe08bcd21cdf0c29bb391ffe8a576b9e46d9a27aeb6dcab9f7b0218dbb5c6718cfc8965c96b72f466d diff --git a/dev-libs/gmime/gmime-2.6.23.ebuild b/dev-libs/gmime/gmime-2.6.23.ebuild new file mode 100644 index 000000000000..e9b4bef636fc --- /dev/null +++ b/dev-libs/gmime/gmime-2.6.23.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +VALA_USE_DEPEND="vapigen" + +inherit mono-env gnome2 vala flag-o-matic + +DESCRIPTION="Utilities for creating and parsing messages using MIME" +HOMEPAGE="http://spruce.sourceforge.net/gmime/ https://developer.gnome.org/gmime/stable/" + +SLOT="2.6" +LICENSE="LGPL-2.1" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris" +IUSE="doc mono smime static-libs test vala" + +RDEPEND=" + >=dev-libs/glib-2.32.0:2 + sys-libs/zlib + mono? ( + dev-lang/mono + >=dev-dotnet/gtk-sharp-2.12.21:2 ) + smime? ( >=app-crypt/gpgme-1.1.6:1= ) + vala? ( + $(vala_depend) + >=dev-libs/gobject-introspection-1.30.0:= ) +" +DEPEND="${RDEPEND} + >=dev-util/gtk-doc-am-1.8 + virtual/libiconv + virtual/pkgconfig + doc? ( app-text/docbook-sgml-utils ) + test? ( app-crypt/gnupg ) +" +# gnupg is needed for tests if --enable-cryptography is enabled, which we do unconditionally + +pkg_setup() { + use mono && mono-env_pkg_setup +} + +src_prepare() { + gnome2_src_prepare + use vala && vala_src_prepare +} + +src_configure() { + [[ ${CHOST} == *-solaris* ]] && append-libs iconv + gnome2_src_configure \ + --enable-cryptography \ + --disable-strict-parser \ + $(use_enable mono) \ + $(use_enable smime) \ + $(use_enable static-libs static) \ + $(use_enable vala) +} + +src_compile() { + MONO_PATH="${S}" gnome2_src_compile + if use doc; then + emake -C docs/tutorial html + fi +} + +src_install() { + GACUTIL_FLAGS="/root '${ED}/usr/$(get_libdir)' /gacdir '${EPREFIX}/usr/$(get_libdir)' /package ${PN}" \ + gnome2_src_install + + if use doc ; then + docinto tutorial + dodoc -r docs/tutorial/html/ + fi +} diff --git a/dev-libs/gmime/gmime-3.0.2.ebuild b/dev-libs/gmime/gmime-3.0.2.ebuild new file mode 100644 index 000000000000..8b16292c8a03 --- /dev/null +++ b/dev-libs/gmime/gmime-3.0.2.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +VALA_USE_DEPEND="vapigen" + +inherit flag-o-matic gnome2 vala + +DESCRIPTION="Utilities for creating and parsing messages using MIME" +HOMEPAGE="http://spruce.sourceforge.net/gmime/ https://developer.gnome.org/gmime/stable/" + +SLOT="3.0" +LICENSE="LGPL-2.1" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris" +IUSE="crypt doc idn static-libs test vala" + +RDEPEND=" + >=dev-libs/glib-2.32.0:2 + sys-libs/zlib + crypt? ( >=app-crypt/gpgme-1.8.0:1= ) + idn? ( net-dns/libidn ) + vala? ( + $(vala_depend) + >=dev-libs/gobject-introspection-1.30.0:= ) +" +DEPEND="${RDEPEND} + >=dev-util/gtk-doc-am-1.8 + virtual/libiconv + virtual/pkgconfig + doc? ( app-text/docbook-sgml-utils ) + test? ( app-crypt/gnupg ) +" +# gnupg is needed for tests if --enable-cryptography is enabled, which we do unconditionally + +src_prepare() { + gnome2_src_prepare + use vala && vala_src_prepare +} + +src_configure() { + if [[ ${CHOST} == *-solaris* ]]; then + # bug #???, why not use --with-libiconv + append-libs iconv + fi + + gnome2_src_configure \ + $(use_enable crypt crypto) \ + $(use_enable static-libs static) \ + $(use_enable vala) \ + $(use_with idn libidn) \ + $(usex doc "" DB2HTML=) +} + +src_compile() { + gnome2_src_compile + if use doc; then + emake -C docs/tutorial html + fi +} + +src_install() { + gnome2_src_install + + if use doc ; then + docinto tutorial + dodoc -r docs/tutorial/html/ + fi +} diff --git a/dev-libs/gmime/metadata.xml b/dev-libs/gmime/metadata.xml new file mode 100644 index 000000000000..3faea473b958 --- /dev/null +++ b/dev-libs/gmime/metadata.xml @@ -0,0 +1,14 @@ + + + + + gnome@gentoo.org + Gentoo GNOME Desktop + + + spruce + + + Enable experimental S/MIME support + + diff --git a/dev-libs/gmp/Manifest b/dev-libs/gmp/Manifest new file mode 100644 index 000000000000..59148824eae5 --- /dev/null +++ b/dev-libs/gmp/Manifest @@ -0,0 +1,24 @@ +AUX 6.0.0a/gmp-6.0.0a-arm-thumb.diff 829 SHA256 58a0b909565ce442074ec72214e74fcbee32262d2c96bd0a9293cb24ecce20d6 SHA512 17e4daff2ebfccf220fb147e7e9adac19ea427614b2195b51a46d6590941aa34d0c02769c72c410dda733c71cc8453174024fd11d5c9e86f598e3095214b09b1 WHIRLPOOL 08392f35d26cf55b8cc1401218a1b43641a900a396a35340bf83580a0823a919ebcc9a8472dd6559abb54633a5b5b919dc2adea245ae6e513e56034e53d0090d +AUX 6.0.0a/ppc64-build.diff 668 SHA256 1cef5211efa36956a263b81db2fd2a3af8016942512f76fb67b88328b80c7792 SHA512 ab37e9205da14479b852b932285d16cce02d4c266a3b431d1ad65feabd0e36bdd71da762ee15a783576c6551c080fc212ca27146fb8b8d9c7c77df6aacb7e85e WHIRLPOOL 2f3a3079fa4a7ce73a1ffdbabdc1495b02e6354296eda97b9a4a14045aa934233a62598a8de2d397f404b37252fab28a703a2e709a2c58a716e83e09e690401a +AUX gmp-4.1.4-noexecstack.patch 474 SHA256 68601777151a1628d7bc839eddd037685c5d2e76c9453166890a5eb3cf6000c3 SHA512 74b8b68061a1a5ac0f8b163974834465e86e930884e1a9cd15c4c948fdae95ffdcbb6e0210d56df6d0dcf1ccbe13dbdfe45552e645c3fdea6454747731b63bc8 WHIRLPOOL d8a0f81d4e97f6996bf68dd3d5488762e221f43a26e1cbff27adb372a40075d35fbb0e956ccd45c8b320a900d284f16d0649293cc907daab45d02cb30e74373b +AUX gmp-4.2.1-s390.diff 1848 SHA256 13c6b01e71534af2c353d79b7afd171f158b8fa6e3299e0f7c0335e516ce67ec SHA512 ab13186cfdb2a217edb5bd77379d68442685319ec3ca5b9ccadd67a68356f56881ea5feb7dbd40821d6587553d46b63b19ba454a9e3ede27baf72a6857169c44 WHIRLPOOL c2c4727cd1e9a18529ecd44e1d7b2eb758bf0b6f81706024fd271d368ec9f6c0c36ffef352191168d9511a104ab40f51df730c287e03f8acda2ba572079abdf8 +AUX gmp-6.1.0-noexecstack-detect.patch 970 SHA256 abc8b606f932713651c77c86eea960a75b38b2b2529afdf7930b75bc3a606f58 SHA512 29af921eed5dbd2d506bc1acdc0eacb8b7f5e7f575fd62038f00a910242bf622980a4197dae18daf5915963c3407ca7eb5bdcb9760f958794348b449fc54e042 WHIRLPOOL cac8273dc08619ef1e79c0a7256a965e24fdc7392a83dc02a9dd16816d9f7ea1a583c52df1a79b9faefc3778260bda6296296547c4f62280a3c4545cc31852c2 +AUX gmp-6.1.0-tune-printf.patch 1339 SHA256 927e5390baf4d656d9ce5c706410d0d7109c1e82acc2a5c7ad79f0df180f6339 SHA512 da9dc4f6c63d5cc4b80899acacb23d7060b6042aa26dd80f5d5d73768a129360cb75efd6d2695c22958800776ba336b4c4bedd0839d4621ac3cea7ce0047ea07 WHIRLPOOL 4e301524a551757ef6b2764e8d4fb0498e3736a6c92304266927aa6d810254c06a4e6c02de8d36bdc207850ebb995622159abe051d8608485aaf3c5d038e07c0 +AUX gmp-6.1.0-udiv.patch 1737 SHA256 81dbc4b3d93f726dca8c2bbed9157a540ddaede1967e654119b869a327a8233b SHA512 977966e5b3c21550c6bb148b3f0717e7a6cd86cfb0211a8ea1275c4b9368aa3275c9d71a5d4146da0ddd131570745e5037872c918f0b267c424e729227be432a WHIRLPOOL 78445f95bd6c03310dea43e5eab37c6c4aef3129fd29d692d716377bc5626fa07760e12ffb201ad345d69fcbc883705ab74fdb4a08bba9a1db2c0dc85dfaceb1 +DIST gmp-4.3.2.tar.bz2 1897483 SHA256 936162c0312886c21581002b79932829aa048cfaf9937c6265aeaa14f1cd1775 SHA512 2e0b0fd23e6f10742a5517981e5171c6e88b0a93c83da701b296f5c0861d72c19782daab589a7eac3f9032152a0fc7eff7f5362db8fccc4859564a9aa82329cf WHIRLPOOL ab3d9c95b436df3782830da0874307d5577b83c111c2fae4a9063d4083f97c5c12643b154c1bd9a588945e5a677fb8ab416c394ced3e9b0aa671b2238bcb9b40 +DIST gmp-6.0.0a.tar.xz 1904112 SHA256 9156d32edac6955bc53b0218f5f3763facb890b73a835d5e1b901dcf8eb8b764 SHA512 50368f4368b244b442438ce1768cf0f1166e490d1bafb8feda1ffc90fea3807e7328f30f3faa861799e4f5ff6e3113049ca3231b2f48571e4583fc3d60441816 WHIRLPOOL 81639a9d433ce9ccb26527af309c7c41437bb3463e5986cce3b35f81b527068a2304ec3287e660454f850dedab61463a077f49d4ea2b7ee87eec94b15730c394 +DIST gmp-6.1.0.tar.xz 1950316 SHA256 68dadacce515b0f8a54f510edf07c1b636492bcdb8e8d54c56eb216225d16989 SHA512 3647f07914e6c01b28d94f2d9783e50b0ca9f742a694f56d5759e79a057143ded578b71707ff909c6b0f5710862974606461608e73b33af3114b5338670d8630 WHIRLPOOL 54de621aa9d7c6896fe454e399b8716743d7ac41e312180f8211c961ec8eb358423e75992aa22ee6809ae57cb143783d271e5c0fca61714a556a12ee55882a05 +DIST gmp-6.1.1.tar.xz 1943164 SHA256 d36e9c05df488ad630fff17edb50051d6432357f9ce04e34a09b3d818825e831 SHA512 6ead5fdf15891e0c47b094351497a052cc691973f09c60a8322546418eb615bddb180a93fd7846b88b096b5644cb9d375eab2a4a07af64399f5159eccf3edee2 WHIRLPOOL 0a899c6d414e5d6e0b4d2e8fa45baa74adbcaee8960bbb6a8beb8a2e76baa85f07f8fc198e941ed386cffdf73bdf7ef44be7312c39b786a6584410e86bc887b5 +DIST gmp-6.1.2.tar.xz 1946336 SHA256 87b565e89a9a684fe4ebeeddb8399dce2599f9c9049854ca8c0dfbdea0e21912 SHA512 9f098281c0593b76ee174b722936952671fab1dae353ce3ed436a31fe2bc9d542eca752353f6645b7077c1f395ab4fdd355c58e08e2a801368f1375690eee2c6 WHIRLPOOL 1f4be0fcb5868cc5e3f5e699e51da0d52cdb131906468f5401a40ae145dad2d48935b87330b786fff2a2f593d6f39542c4d5fb7bef5922817ae61ff57870951d +DIST gmp-man-6.0.0a.pdf 1187496 SHA256 b38ed1d760b20c01b734b65380ab667373fa48d8203f762a434cd3f326c67a38 SHA512 528972502d65d23b58c47a594a628e648f11cc027bd0894a39b8f892bb421ceabb7f35640a9eede21cea791f5f597ed4661a1f73444c56a6fb31fa6e362d96c2 WHIRLPOOL e6c4eb3a9adc82496a1872223ceb153e05c3aabd2323aeb38064739a5200eb8fc24fa3bb96f5fb1e632cc90a2576bd3966bae3c7a7a0c750ca56faeb30837eea +DIST gmp-man-6.1.0.pdf 825716 SHA256 c3fea59f39497839b48010e612d0ef898c3efea9c0601a3b4d1597628c8ea40e SHA512 cec172766c6f5dce6b7306edbd542a63788df590391b8b2e6fb4e9d48947b2fbb47dd23acaf74eab6d35cb627bcb804e7ebb1d63aa5f043e4daa4558b698a5a0 WHIRLPOOL afe825c4dbbde11c2c013d6aa3e168d6e59743f647269487df2679d944b5aa748319e455211f2c20137f56e7177ea0543182a4f5bef8274b205b0a3c03254c81 +DIST gmp-man-6.1.1.pdf 825669 SHA256 f0c87df68a1d6f01c434253986541107a65f350b5388f2b1a1b405f7e06921f2 SHA512 18e6aca87f5ff8848f82456d86233f127328bfbe309e67902c8dd6f25228db344bd3e6cc3a55e48f2c3f19d0a57358bc4ada7cd623799b273030a5119fb1257b WHIRLPOOL ff3ce6f16ae7a1c7954c432d28a88f6abebae769be9a63ca85f481fb85dd3e0e5d691cb4d9b9aec1ad7e2387167eef8413277698dc2d7cbd3b941759979ef6d9 +DIST gmp-man-6.1.2.pdf 825720 SHA256 f78f18ac0b0e56920920af0209415a4b371b7b101ceaa03739a31bfe3c2888f8 SHA512 85de10b2c03f7381881c3e95aa7fc53d8e018115028496ffbb5a79ab4967106c69ed7e97a5e434e6bb39752498aade8c2caa7cf77a8942b7ffd9150368a0d9c3 WHIRLPOOL d952544d178c7d970ec3c1b080191603326a2c77523c27f03f80bc03b9a8910a0093c3f6990640aa596d45adb8fa34a7ef3c9c35abf60945c43c533499052ce0 +EBUILD gmp-4.3.2-r1.ebuild 1709 SHA256 4d052ce21ccb6de7fa14b49a72c9b80d346fc4ec72c2e85dd32e57dfbee317b7 SHA512 40364ab78077f0465fb261d84cad48d82ec88c632c8443aa53950862fa6aba0414202557745bbc49d4595db442704ac5f0879a42feeefd20ff7d9d20fc689a48 WHIRLPOOL b5ff958324d133c22a6af650a056290e8fe1e88919cec0ba0a00e16c809f78df47d42da6f2025b549c6de9da1d46f369016b059aa52a185f6a7818762ba29680 +EBUILD gmp-6.0.0a.ebuild 2898 SHA256 5d2cc23bea22963d24f9e51f6f781b52f021ec00801d2f16acb1fc13e31bcd15 SHA512 ed70ec49d63d4f8ac3af1d36c197eaa5022e368018dc1516d771a94e0248d81192e49bdf4f78c80f1571683b8a00b4be63c4cbb76f883e8aebac7f2d8bcc766f WHIRLPOOL 71d8171390e915cb9b73395d28aa4ce9dd0e866416d29462d16d6a77d0833c81e26b2fea1360f4681528eac7158b1850232d3d249d226b09835586a7f254dc41 +EBUILD gmp-6.1.0.ebuild 3024 SHA256 6f95983deae592f9f924a9c683a78579a9302933792339d8fe9fd54fc479dfd6 SHA512 6b2aee7149e8fb461d9477f13a7377f14130c63bd28205f05862926aaa8925b6b229fcdd4a1de83c48b09f4b54fb2afd760503e990aab4e217bd3b745b6d7943 WHIRLPOOL 1c2e360607a3bf15f7c5446359895138a3d26b2dce973f99bdaa04d51e2521f27270fdd6498ce8308daa2c592e0179d4a7e78132d2075e66ad060ad8df0f7845 +EBUILD gmp-6.1.1.ebuild 3037 SHA256 8af2c7c91b6976379a002d1a7c04de02b01f097a83d42779bc37d2bf0bea914c SHA512 6b5dc4ef6ca38c816274f104ce6a55e5bb938ab396ca9b98ce7d3263e51f78cad321a81ca7af166b0284c94d77c0b588ff75cad0f1e9a6d5069ded4971dd57e5 WHIRLPOOL da17fa291f4a7eca314d8c760c850dbcbc8787c543c99c87a6fd28b2c35497ceed82cb9b1a8334a081d477845bbfd64835218aee7c8243f64f92115958ea93e1 +EBUILD gmp-6.1.2.ebuild 3167 SHA256 6479d4c99fd2a5fb9a5d038a6080cb1165c77106191954b5b221e327a0ac0bea SHA512 5b7272ec88d145ef9549b4d4e13485176c740df97f3cb90ca2b58a139b7bbf09d725f518b698c098ffcb59d9106bd2836921dd9d7cc7d0d30f426174916bddfb WHIRLPOOL 0102eab3b982f5717b421acfc09ebf794a61d01c83a2c77f50e6ec1d0f1b00e58728f439442f6fb8c29e5189da74f6041648ce7519da9685bc7eae687f714fe2 +MISC ChangeLog 8757 SHA256 4bdb08a7eadb0f147762e6cac989af1d6a2da00a38896310c9dc700ba8c5605a SHA512 7b6f8fe39272bea621badd9627b2bc72c7073b3bf28c3fc2774615be804ce5da635a1b1996e8b24517358a9f8d8fbcbc1bc6c57243c84d7bdb799ae06ddd9fec WHIRLPOOL 8fcbdacaf4e1b18e30573aaf033f92f6a8c9b98e590ba4d27b91a2d904b98b44b65fc617f482cc6c2d8eefac9e06e8d556cf886887f5d5737de43e3fb059f078 +MISC ChangeLog-2015 27752 SHA256 bab962a6bab6161d82bafb491c5b3471f7c302cb6fa82a64ceb4cb87f8a66b34 SHA512 571b5736f1d573f8bbf2d565e59103e4877941657f6be3af60949d1a7cd9b7519978b72622f95878a109b0c14cf455d3230dac13cf8eb896cec416f10ca21adc WHIRLPOOL 3152703b5c28769c05fd1bceb496fb47a9c74211b99a1a1b12e2d7bdeed020509d6aab7632677cafc1c438363fea802223f6a5c5325adb61de091b9bf7b6c721 +MISC metadata.xml 501 SHA256 6752f2f74451d06c12eaa039d3397d5b254c98146ce61091108584b966a9c1e4 SHA512 bde33c241d1e7026e86e7a445bcd929f8a2f6d2dc7a0e71994f2130459910a0ac51d6d3d8cad0fd45baea0d0a38c818348d2427035ef393ac6343ee993c95dd7 WHIRLPOOL 465fe7efaefd1be496a5553f087a2aa27866e9ee71fc64f1b21be52bbf724f1ea996d82acbe9af28409e1667fdbda622d20042ec794a3d945bd05fb184bd53e9 diff --git a/dev-libs/gmp/files/6.0.0a/gmp-6.0.0a-arm-thumb.diff b/dev-libs/gmp/files/6.0.0a/gmp-6.0.0a-arm-thumb.diff new file mode 100644 index 000000000000..8b10d09395fd --- /dev/null +++ b/dev-libs/gmp/files/6.0.0a/gmp-6.0.0a-arm-thumb.diff @@ -0,0 +1,22 @@ +https://gmplib.org/list-archives/gmp-discuss/2014-March/005537.html + +# HG changeset patch +# User Torbjorn Granlund +# Date 1396602422 -7200 +# Node ID 676e2d0f0e4dd301a7066079d2c9326c25c34a40 +# Parent 0194a75b56b21a9196626430af86c5bd9110c42d +Conditionalise ARM asm on !__thumb__. + +diff -r 0194a75b56b2 -r 676e2d0f0e4d mpn/generic/div_qr_1n_pi1.c +--- a/mpn/generic/div_qr_1n_pi1.c Thu Apr 03 23:58:51 2014 +0200 ++++ b/mpn/generic/div_qr_1n_pi1.c Fri Apr 04 11:07:02 2014 +0200 +@@ -130,7 +130,7 @@ + "%2" ((UDItype)(a0)), "r" ((UDItype)(b0)) __CLOBBER_CC) + #endif + +-#if defined (__arm__) && W_TYPE_SIZE == 32 ++#if defined (__arm__) && !defined (__thumb__) && W_TYPE_SIZE == 32 + #define add_mssaaaa(m, sh, sl, ah, al, bh, bl) \ + __asm__ ( "adds %2, %5, %6\n\t" \ + "adcs %1, %3, %4\n\t" \ + diff --git a/dev-libs/gmp/files/6.0.0a/ppc64-build.diff b/dev-libs/gmp/files/6.0.0a/ppc64-build.diff new file mode 100644 index 000000000000..4d0ec5efcb83 --- /dev/null +++ b/dev-libs/gmp/files/6.0.0a/ppc64-build.diff @@ -0,0 +1,23 @@ +from upstream + +# HG changeset patch +# User Torbjorn Granlund +# Date 1395835068 -3600 +# Node ID 4a6d258b467f661da0894cc60ecd060f2e3c67c7 +# Parent 301ce2788826a2d4d2725bd5cf01e998638db37a +Provide default for BMOD_1_TO_MOD_1_THRESHOLD. + +diff -r 301ce2788826 -r 4a6d258b467f mpn/powerpc64/mode64/gcd_1.asm +--- a/mpn/powerpc64/mode64/gcd_1.asm Tue Mar 25 15:34:52 2014 +0100 ++++ b/mpn/powerpc64/mode64/gcd_1.asm Wed Mar 26 12:57:48 2014 +0100 +@@ -43,6 +43,9 @@ + define(`n', `r4') + define(`v0', `r5') + ++ifdef(`BMOD_1_TO_MOD_1_THRESHOLD',, ++ `define(`BMOD_1_TO_MOD_1_THRESHOLD',30)') ++ + EXTERN_FUNC(mpn_mod_1) + EXTERN_FUNC(mpn_modexact_1c_odd) + + diff --git a/dev-libs/gmp/files/gmp-4.1.4-noexecstack.patch b/dev-libs/gmp/files/gmp-4.1.4-noexecstack.patch new file mode 100644 index 000000000000..093bec1a5dca --- /dev/null +++ b/dev-libs/gmp/files/gmp-4.1.4-noexecstack.patch @@ -0,0 +1,20 @@ +fixed executable stack + +http://bugs.gentoo.org/115038 + +--- gmp-4.1.4/configure ++++ gmp-4.1.4/configure +@@ -21689,6 +21689,13 @@ + fi + echo "')" >> $gmp_configm4 + echo "define(\`__CONFIG_M4_INCLUDED__')" >> $gmp_configm4 ++# Gentoo hack ++case $host_os in ++ *linux*) ++ echo '.section .note.GNU-stack,"",%progbits' >> $gmp_configm4 ++ echo '.previous' >> $gmp_configm4 ++ ;; ++esac + + # Create Makefiles + # FIXME: Upcoming version of autoconf/automake may not like broken lines. diff --git a/dev-libs/gmp/files/gmp-4.2.1-s390.diff b/dev-libs/gmp/files/gmp-4.2.1-s390.diff new file mode 100644 index 000000000000..82dbb722eb14 --- /dev/null +++ b/dev-libs/gmp/files/gmp-4.2.1-s390.diff @@ -0,0 +1,68 @@ +stolen from SuSE + +--- configure.in ++++ configure.in +@@ -1050,6 +1050,9 @@ + ;; + + ++ s390x-*-*) ++ path="s390x" ;; ++ + # IBM s/370 and similar + [s3[6-9]0*-*-*]) + gcc_cflags="-O2 $fomit_frame_pointer" +--- configure ++++ configure +@@ -1050,6 +1050,9 @@ + ;; + + ++ s390x-*-*) ++ path="s390x" ;; ++ + # IBM s/370 and similar + s3[6-9]0*-*-*) + gcc_cflags="-O2 $fomit_frame_pointer" +--- mpn/s390/gmp-mparam.h ++++ mpn/s390/gmp-mparam.h +@@ -20,7 +20,8 @@ + MA 02110-1301, USA. */ + + +-/* BITS_PER_MP_LIMB etc generated by configure */ ++#define BITS_PER_MP_LIMB 32 ++#define BYTES_PER_MP_LIMB 4 + + + /* Generated by tuneup.c, 2001-12-03, gcc 2.95 */ +--- mpn/s390x/gmp-mparam.h ++++ mpn/s390x/gmp-mparam.h +@@ -0,0 +1,27 @@ ++/* gmp-mparam.h -- Compiler/machine parameter header file. ++ ++Copyright (C) 1991, 1993, 1994, 1995 Free Software Foundation, Inc. ++ ++This file is part of the GNU MP Library. ++ ++The GNU MP Library is free software; you can redistribute it and/or modify ++it under the terms of the GNU Library General Public License as published by ++the Free Software Foundation; either version 2 of the License, or (at your ++option) any later version. ++ ++The GNU MP Library is distributed in the hope that it will be useful, but ++WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY ++or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public ++License for more details. ++ ++You should have received a copy of the GNU Library General Public License ++along with the GNU MP Library; see the file COPYING.LIB. If not, write to ++the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, ++MA 02111-1307, USA. */ ++ ++#define BITS_PER_MP_LIMB 64 ++#define BYTES_PER_MP_LIMB 8 ++#define BITS_PER_LONGINT 64 ++#define BITS_PER_INT 32 ++#define BITS_PER_SHORTINT 16 ++#define BITS_PER_CHAR 8 diff --git a/dev-libs/gmp/files/gmp-6.1.0-noexecstack-detect.patch b/dev-libs/gmp/files/gmp-6.1.0-noexecstack-detect.patch new file mode 100644 index 000000000000..558ba60d080a --- /dev/null +++ b/dev-libs/gmp/files/gmp-6.1.0-noexecstack-detect.patch @@ -0,0 +1,23 @@ +gmp's -Wa,--noexecstack check is based on glibc's, so backport a change +that went into it there: +https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=215a87451d1fd623fd2699fa57f16f8ab6f6a2f3 +https://sourceware.org/bugzilla/show_bug.cgi?id=6428 + +this is to workaround broken clang assembler that fails w/CFLAGS=-g: +http://crbug.com/585930 +https://llvm.org/bugs/show_bug.cgi?id=11740 + +patch has been sent upstream too: +https://gmplib.org/list-archives/gmp-bugs/2016-February/003916.html + +--- a/configure ++++ b/configure +@@ -11339,7 +11339,7 @@ EOF + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; } \ + && grep .note.GNU-stack conftest.s >/dev/null \ +- && { ac_try='${CC} $CFLAGS $CPPFLAGS -Wa,--noexecstack ++ && { ac_try='${CC} $ASMFLAGS -Wa,--noexecstack + -c -o conftest.o conftest.s >/dev/null' + { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 + (eval $ac_try) 2>&5 diff --git a/dev-libs/gmp/files/gmp-6.1.0-tune-printf.patch b/dev-libs/gmp/files/gmp-6.1.0-tune-printf.patch new file mode 100644 index 000000000000..dd9d46ff1bd0 --- /dev/null +++ b/dev-libs/gmp/files/gmp-6.1.0-tune-printf.patch @@ -0,0 +1,43 @@ +https://gmplib.org/list-archives/gmp-bugs/2016-November/004032.html + +From f440c9134fb89cadf54daeb59c7a0feb7470562b Mon Sep 17 00:00:00 2001 +From: Mike Frysinger +Date: Sat, 26 Nov 2016 16:35:46 -0500 +Subject: [PATCH] tune: fix spurious clock_gettime reference + +When running the tune program, the generated gmp-mparam.h header might +include an invalid line leading to build failures like so: +In file included from .../gmp-impl.h:145:0, + from mp_bases.c:4: +../gmp-mparam.h:1:1: error: unknown type name 'clock_gettime' + clock_gettime is 1.000ns accurate + +This is because the tune source has one printf that is not protected +by the verbose flag leading it to be written to the output. + +Credit to Conrad Kostecki for analysis. + +URL: https://bugs.gentoo.org/568320 +--- + tune/time.c | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +diff --git a/tune/time.c b/tune/time.c +index e0d262096396..d1efb0a6d35d 100644 +--- a/tune/time.c ++++ b/tune/time.c +@@ -773,8 +773,9 @@ cgt_works_p (void) + } + + cgt_unittime = unit.tv_sec + unit.tv_nsec * 1e-9; +- printf ("clock_gettime is %s accurate\n", +- unittime_string (cgt_unittime)); ++ if (speed_option_verbose) ++ printf ("clock_gettime is %s accurate\n", ++ unittime_string (cgt_unittime)); + + if (cgt_unittime < 10e-9) + { +-- +2.11.0.rc2 + diff --git a/dev-libs/gmp/files/gmp-6.1.0-udiv.patch b/dev-libs/gmp/files/gmp-6.1.0-udiv.patch new file mode 100644 index 000000000000..3a6e8072b44a --- /dev/null +++ b/dev-libs/gmp/files/gmp-6.1.0-udiv.patch @@ -0,0 +1,61 @@ +https://gmplib.org/list-archives/gmp-bugs/2016-November/004031.html + +From dadb1954c8305ea7c7d61d30f7c6338024702280 Mon Sep 17 00:00:00 2001 +From: Torbjorn Granlund +Date: Sat, 26 Nov 2016 02:58:34 +0100 +Subject: [PATCH] Conditionalise udiv_w_sdiv inclusion on --enable-assembly. + +--- + configure.ac | 16 ++++++++++++---- + 1 file changed, 12 insertions(+), 4 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 689e137f24c2..66c8b057574f 100644 +--- a/configure ++++ b/configure +@@ -1269,7 +1269,9 @@ case $host in + AC_DEFINE(HAVE_HOST_CPU_FAMILY_power) + HAVE_HOST_CPU_FAMILY_power=1 + cclist="gcc" +- extra_functions="udiv_w_sdiv" ++ if test "$enable_assembly" = "yes" ; then ++ extra_functions="udiv_w_sdiv" ++ fi + path="power" + + # gcc 2.7.2 knows rios1, rios2, rsc +@@ -1306,7 +1308,9 @@ case $host in + gcc_cflags="$gcc_cflags $fomit_frame_pointer" + gcc_cflags_optlist="arch" + path="s390_32" +- extra_functions="udiv_w_sdiv" ++ if test "$enable_assembly" = "yes" ; then ++ extra_functions="udiv_w_sdiv" ++ fi + gcc_32_cflags_maybe="-m31" + + case $host_cpu in +@@ -1603,14 +1607,18 @@ case $host in + GMP_INCLUDE_MPN(vax/elf.m4) + gcc_cflags="$gcc_cflags $fomit_frame_pointer" + path="vax" +- extra_functions="udiv_w_sdiv" ++ if test "$enable_assembly" = "yes" ; then ++ extra_functions="udiv_w_sdiv" ++ fi + ;; + vax*-*-*) + # Default to aout conventions (i.e., no register prefix, '_' global prefix) + # + gcc_cflags="$gcc_cflags $fomit_frame_pointer" + path="vax" +- extra_functions="udiv_w_sdiv" ++ if test "$enable_assembly" = "yes" ; then ++ extra_functions="udiv_w_sdiv" ++ fi + ;; + + +-- +2.11.0.rc2 + diff --git a/dev-libs/gmp/gmp-4.3.2-r1.ebuild b/dev-libs/gmp/gmp-4.3.2-r1.ebuild new file mode 100644 index 000000000000..cc456682bf9e --- /dev/null +++ b/dev-libs/gmp/gmp-4.3.2-r1.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +# this ebuild is only for the libgmp.so.3 ABI SONAME + +EAPI="5" + +inherit eutils libtool toolchain-funcs multilib-minimal + +DESCRIPTION="Library for arbitrary-precision arithmetic on different type of numbers" +HOMEPAGE="http://gmplib.org/" +SRC_URI="mirror://gnu/${PN}/${P}.tar.bz2" + +LICENSE="LGPL-3" +SLOT="3" +KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd" +IUSE="" + +DEPEND="sys-devel/m4" +RDEPEND="" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-4.1.4-noexecstack.patch + epatch "${FILESDIR}"/${PN}-4.2.1-s390.diff + + # note: we cannot run autotools here as gcc depends on this package + elibtoolize + + # GMP uses the "ABI" env var during configure as does Gentoo (econf). + # So, to avoid patching the source constantly, wrap things up. + mv configure configure.wrapped || die + cat <<-\EOF > configure + #!/bin/sh + exec env ABI="${GMPABI}" "$0.wrapped" "$@" + EOF + chmod a+rx configure +} + +multilib_src_configure() { + # Because of our 32-bit userland, 1.0 is the only HPPA ABI that works + # http://gmplib.org/manual/ABI-and-ISA.html#ABI-and-ISA (bug #344613) + if [[ ${CHOST} == hppa2.0-* ]] ; then + GMPABI="1.0" + fi + + # ABI mappings (needs all architectures supported) + case ${ABI} in + 32|x86) GMPABI=32;; + 64|amd64|n64) GMPABI=64;; + [onx]32) GMPABI=${ABI};; + esac + export GMPABI + + tc-export CC + ECONF_SOURCE="${S}" econf \ + --localstatedir=/var/state/gmp \ + --disable-mpfr \ + --disable-mpbsd \ + --disable-static \ + --disable-cxx +} + +multilib_src_install() { + emake DESTDIR="${D}" install-libLTLIBRARIES + rm "${D}"/usr/*/libgmp.{la,so} || die +} diff --git a/dev-libs/gmp/gmp-6.0.0a.ebuild b/dev-libs/gmp/gmp-6.0.0a.ebuild new file mode 100644 index 000000000000..fc249da86609 --- /dev/null +++ b/dev-libs/gmp/gmp-6.0.0a.ebuild @@ -0,0 +1,114 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="4" + +inherit eutils libtool toolchain-funcs multilib-minimal + +MY_PV=${PV/_p*} +MY_P=${PN}-${MY_PV} +PLEVEL=${PV/*p} +DESCRIPTION="Library for arbitrary-precision arithmetic on different type of numbers" +HOMEPAGE="http://gmplib.org/" +SRC_URI="mirror://gnu/${PN}/${MY_P}.tar.xz + ftp://ftp.gmplib.org/pub/${MY_P}/${MY_P}.tar.xz + doc? ( http://gmplib.org/${PN}-man-${MY_PV}.pdf )" + +LICENSE="|| ( LGPL-3+ GPL-2+ )" +SLOT="0" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd" +IUSE="doc cxx pgo static-libs" + +DEPEND="sys-devel/m4 + app-arch/xz-utils" +RDEPEND="" + +S=${WORKDIR}/${MY_P%a} + +DOCS=( AUTHORS ChangeLog NEWS README doc/configuration doc/isa_abi_headache ) +HTML_DOCS=( doc ) +MULTILIB_WRAPPED_HEADERS=( /usr/include/gmp.h ) + +src_prepare() { + [[ -d ${FILESDIR}/${PV} ]] && EPATCH_SUFFIX="diff" EPATCH_FORCE="yes" epatch "${FILESDIR}"/${PV} + + # note: we cannot run autotools here as gcc depends on this package + elibtoolize + + # GMP uses the "ABI" env var during configure as does Gentoo (econf). + # So, to avoid patching the source constantly, wrap things up. + mv configure configure.wrapped || die + cat <<-\EOF > configure + #!/bin/sh + exec env ABI="${GMPABI}" "$0.wrapped" "$@" + EOF + # Patches to original configure might have lost the +x bit. + chmod a+rx configure{,.wrapped} +} + +multilib_src_configure() { + # Because of our 32-bit userland, 1.0 is the only HPPA ABI that works + # http://gmplib.org/manual/ABI-and-ISA.html#ABI-and-ISA (bug #344613) + if [[ ${CHOST} == hppa2.0-* ]] ; then + GMPABI="1.0" + fi + + # ABI mappings (needs all architectures supported) + case ${ABI} in + 32|x86) GMPABI=32;; + 64|amd64|n64) GMPABI=64;; + [onx]32) GMPABI=${ABI};; + esac + export GMPABI + + tc-export CC + ECONF_SOURCE="${S}" econf \ + --localstatedir=/var/state/gmp \ + --enable-shared \ + $(use_enable cxx) \ + $(use_enable static-libs static) +} + +multilib_src_compile() { + emake + + if use pgo ; then + emake -j1 -C tune tuneup + ebegin "Trying to generate tuned data" + ./tune/tuneup | tee gmp.mparam.h.new + if eend $(( 0 + ${PIPESTATUS[*]/#/+} )) ; then + mv gmp.mparam.h.new gmp-mparam.h || die + emake clean + emake + fi + fi +} + +multilib_src_test() { + emake check +} + +multilib_src_install() { + emake DESTDIR="${D}" install + + # should be a standalone lib + rm -f "${D}"/usr/$(get_libdir)/libgmp.la + # this requires libgmp + local la="${D}/usr/$(get_libdir)/libgmpxx.la" + use static-libs \ + && sed -i 's:/[^ ]*/libgmp.la:-lgmp:' "${la}" \ + || rm -f "${la}" +} + +multilib_src_install_all() { + einstalldocs + use doc && cp "${DISTDIR}"/gmp-man-${MY_PV}.pdf "${D}"/usr/share/doc/${PF}/ +} + +pkg_preinst() { + preserve_old_lib /usr/$(get_libdir)/libgmp.so.3 +} + +pkg_postinst() { + preserve_old_lib_notify /usr/$(get_libdir)/libgmp.so.3 +} diff --git a/dev-libs/gmp/gmp-6.1.0.ebuild b/dev-libs/gmp/gmp-6.1.0.ebuild new file mode 100644 index 000000000000..264cb648b1d3 --- /dev/null +++ b/dev-libs/gmp/gmp-6.1.0.ebuild @@ -0,0 +1,113 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit flag-o-matic eutils libtool multilib-minimal + +MY_PV=${PV/_p*} +MY_PV=${MY_PV/_/-} +MY_P=${PN}-${MY_PV} +PLEVEL=${PV/*p} +DESCRIPTION="Library for arbitrary-precision arithmetic on different type of numbers" +HOMEPAGE="http://gmplib.org/" +SRC_URI="ftp://ftp.gmplib.org/pub/${MY_P}/${MY_P}.tar.xz + mirror://gnu/${PN}/${MY_P}.tar.xz + doc? ( http://gmplib.org/${PN}-man-${MY_PV}.pdf )" + +LICENSE="|| ( LGPL-3+ GPL-2+ )" +# The subslot reflects the C & C++ SONAMEs. +SLOT="0/10.4" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd" +IUSE="+asm doc cxx pgo static-libs" + +DEPEND="sys-devel/m4 + app-arch/xz-utils" +RDEPEND="" + +S=${WORKDIR}/${MY_P%a} + +DOCS=( AUTHORS ChangeLog NEWS README doc/configuration doc/isa_abi_headache ) +HTML_DOCS=( doc ) +MULTILIB_WRAPPED_HEADERS=( /usr/include/gmp.h ) + +src_prepare() { + [[ -d ${FILESDIR}/${PV} ]] && EPATCH_SUFFIX="diff" EPATCH_FORCE="yes" epatch "${FILESDIR}"/${PV} + epatch "${FILESDIR}"/${PN}-6.1.0-udiv.patch + epatch "${FILESDIR}"/${PN}-6.1.0-tune-printf.patch + + # note: we cannot run autotools here as gcc depends on this package + elibtoolize + + epatch "${FILESDIR}"/${PN}-6.1.0-noexecstack-detect.patch + + # GMP uses the "ABI" env var during configure as does Gentoo (econf). + # So, to avoid patching the source constantly, wrap things up. + mv configure configure.wrapped || die + cat <<-\EOF > configure + #!/bin/sh + exec env ABI="${GMPABI}" "$0.wrapped" "$@" + EOF + # Patches to original configure might have lost the +x bit. + chmod a+rx configure{,.wrapped} +} + +multilib_src_configure() { + # Because of our 32-bit userland, 1.0 is the only HPPA ABI that works + # http://gmplib.org/manual/ABI-and-ISA.html#ABI-and-ISA (bug #344613) + if [[ ${CHOST} == hppa2.0-* ]] ; then + GMPABI="1.0" + fi + + # ABI mappings (needs all architectures supported) + case ${ABI} in + 32|x86) GMPABI=32;; + 64|amd64|n64) GMPABI=64;; + [onx]32) GMPABI=${ABI};; + esac + export GMPABI + + tc-export CC + ECONF_SOURCE="${S}" econf \ + --localstatedir="${EPREFIX}"/var/state/gmp \ + --enable-shared \ + $(use_enable asm assembly) \ + $(use_enable cxx) \ + $(use_enable static-libs static) +} + +multilib_src_compile() { + emake + + if use pgo ; then + emake -j1 -C tune tuneup + ebegin "Trying to generate tuned data" + ./tune/tuneup | tee gmp.mparam.h.new + if eend $(( 0 + ${PIPESTATUS[*]/#/+} )) ; then + mv gmp.mparam.h.new gmp-mparam.h || die + emake clean + emake + fi + fi +} + +multilib_src_test() { + emake check +} + +multilib_src_install() { + emake DESTDIR="${D}" install + + # should be a standalone lib + rm -f "${D}"/usr/$(get_libdir)/libgmp.la + # this requires libgmp + local la="${D}/usr/$(get_libdir)/libgmpxx.la" + use static-libs \ + && sed -i 's:/[^ ]*/libgmp.la:-lgmp:' "${la}" \ + || rm -f "${la}" +} + +multilib_src_install_all() { + einstalldocs + use doc && cp "${DISTDIR}"/gmp-man-${MY_PV}.pdf "${D}"/usr/share/doc/${PF}/ +} diff --git a/dev-libs/gmp/gmp-6.1.1.ebuild b/dev-libs/gmp/gmp-6.1.1.ebuild new file mode 100644 index 000000000000..f84f858f4425 --- /dev/null +++ b/dev-libs/gmp/gmp-6.1.1.ebuild @@ -0,0 +1,113 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit flag-o-matic eutils libtool multilib-minimal + +MY_PV=${PV/_p*} +MY_PV=${MY_PV/_/-} +MY_P=${PN}-${MY_PV} +PLEVEL=${PV/*p} +DESCRIPTION="Library for arbitrary-precision arithmetic on different type of numbers" +HOMEPAGE="http://gmplib.org/" +SRC_URI="ftp://ftp.gmplib.org/pub/${MY_P}/${MY_P}.tar.xz + mirror://gnu/${PN}/${MY_P}.tar.xz + doc? ( http://gmplib.org/${PN}-man-${MY_PV}.pdf )" + +LICENSE="|| ( LGPL-3+ GPL-2+ )" +# The subslot reflects the C & C++ SONAMEs. +SLOT="0/10.4" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd" +IUSE="+asm doc cxx pgo static-libs" + +DEPEND="sys-devel/m4 + app-arch/xz-utils" +RDEPEND="" + +S=${WORKDIR}/${MY_P%a} + +DOCS=( AUTHORS ChangeLog NEWS README doc/configuration doc/isa_abi_headache ) +HTML_DOCS=( doc ) +MULTILIB_WRAPPED_HEADERS=( /usr/include/gmp.h ) + +src_prepare() { + [[ -d ${FILESDIR}/${PV} ]] && EPATCH_SUFFIX="diff" EPATCH_FORCE="yes" epatch "${FILESDIR}"/${PV} + epatch "${FILESDIR}"/${PN}-6.1.0-udiv.patch + epatch "${FILESDIR}"/${PN}-6.1.0-tune-printf.patch + + # note: we cannot run autotools here as gcc depends on this package + elibtoolize + + epatch "${FILESDIR}"/${PN}-6.1.0-noexecstack-detect.patch + + # GMP uses the "ABI" env var during configure as does Gentoo (econf). + # So, to avoid patching the source constantly, wrap things up. + mv configure configure.wrapped || die + cat <<-\EOF > configure + #!/bin/sh + exec env ABI="${GMPABI}" "$0.wrapped" "$@" + EOF + # Patches to original configure might have lost the +x bit. + chmod a+rx configure{,.wrapped} +} + +multilib_src_configure() { + # Because of our 32-bit userland, 1.0 is the only HPPA ABI that works + # http://gmplib.org/manual/ABI-and-ISA.html#ABI-and-ISA (bug #344613) + if [[ ${CHOST} == hppa2.0-* ]] ; then + GMPABI="1.0" + fi + + # ABI mappings (needs all architectures supported) + case ${ABI} in + 32|x86) GMPABI=32;; + 64|amd64|n64) GMPABI=64;; + [onx]32) GMPABI=${ABI};; + esac + export GMPABI + + tc-export CC + ECONF_SOURCE="${S}" econf \ + --localstatedir="${EPREFIX}"/var/state/gmp \ + --enable-shared \ + $(use_enable asm assembly) \ + $(use_enable cxx) \ + $(use_enable static-libs static) +} + +multilib_src_compile() { + emake + + if use pgo ; then + emake -j1 -C tune tuneup + ebegin "Trying to generate tuned data" + ./tune/tuneup | tee gmp.mparam.h.new + if eend $(( 0 + ${PIPESTATUS[*]/#/+} )) ; then + mv gmp.mparam.h.new gmp-mparam.h || die + emake clean + emake + fi + fi +} + +multilib_src_test() { + emake check +} + +multilib_src_install() { + emake DESTDIR="${D}" install + + # should be a standalone lib + rm -f "${D}"/usr/$(get_libdir)/libgmp.la + # this requires libgmp + local la="${D}/usr/$(get_libdir)/libgmpxx.la" + use static-libs \ + && sed -i 's:/[^ ]*/libgmp.la:-lgmp:' "${la}" \ + || rm -f "${la}" +} + +multilib_src_install_all() { + einstalldocs + use doc && cp "${DISTDIR}"/gmp-man-${MY_PV}.pdf "${D}"/usr/share/doc/${PF}/ +} diff --git a/dev-libs/gmp/gmp-6.1.2.ebuild b/dev-libs/gmp/gmp-6.1.2.ebuild new file mode 100644 index 000000000000..dcc43be8f6c9 --- /dev/null +++ b/dev-libs/gmp/gmp-6.1.2.ebuild @@ -0,0 +1,116 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit flag-o-matic eutils libtool multilib-minimal + +MY_PV=${PV/_p*} +MY_PV=${MY_PV/_/-} +MY_P=${PN}-${MY_PV} +PLEVEL=${PV/*p} +DESCRIPTION="Library for arbitrary-precision arithmetic on different type of numbers" +HOMEPAGE="http://gmplib.org/" +SRC_URI="ftp://ftp.gmplib.org/pub/${MY_P}/${MY_P}.tar.xz + mirror://gnu/${PN}/${MY_P}.tar.xz + doc? ( http://gmplib.org/${PN}-man-${MY_PV}.pdf )" + +LICENSE="|| ( LGPL-3+ GPL-2+ )" +# The subslot reflects the C & C++ SONAMEs. +SLOT="0/10.4" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="+asm doc cxx pgo static-libs" + +DEPEND="sys-devel/m4 + app-arch/xz-utils" +RDEPEND="" + +S=${WORKDIR}/${MY_P%a} + +DOCS=( AUTHORS ChangeLog NEWS README doc/configuration doc/isa_abi_headache ) +HTML_DOCS=( doc ) +MULTILIB_WRAPPED_HEADERS=( /usr/include/gmp.h ) + +src_prepare() { + [[ -d ${FILESDIR}/${PV} ]] && EPATCH_SUFFIX="diff" EPATCH_FORCE="yes" epatch "${FILESDIR}"/${PV} + + # note: we cannot run autotools here as gcc depends on this package + elibtoolize + + epatch "${FILESDIR}"/${PN}-6.1.0-noexecstack-detect.patch + + # GMP uses the "ABI" env var during configure as does Gentoo (econf). + # So, to avoid patching the source constantly, wrap things up. + mv configure configure.wrapped || die + cat <<-\EOF > configure + #!/usr/bin/env sh + exec env ABI="${GMPABI}" "$0.wrapped" "$@" + EOF + # Patches to original configure might have lost the +x bit. + chmod a+rx configure{,.wrapped} +} + +multilib_src_configure() { + # Because of our 32-bit userland, 1.0 is the only HPPA ABI that works + # http://gmplib.org/manual/ABI-and-ISA.html#ABI-and-ISA (bug #344613) + if [[ ${CHOST} == hppa2.0-* ]] ; then + GMPABI="1.0" + fi + + # ABI mappings (needs all architectures supported) + case ${ABI} in + 32|x86) GMPABI=32;; + 64|amd64|n64) GMPABI=64;; + [onx]32) GMPABI=${ABI};; + esac + export GMPABI + + #367719 + if [[ ${CHOST} == *-mint* ]]; then + filter-flags -O? + fi + + tc-export CC + ECONF_SOURCE="${S}" econf \ + --localstatedir="${EPREFIX}"/var/state/gmp \ + --enable-shared \ + $(use_enable asm assembly) \ + $(use_enable cxx) \ + $(use_enable static-libs static) +} + +multilib_src_compile() { + emake + + if use pgo ; then + emake -j1 -C tune tuneup + ebegin "Trying to generate tuned data" + ./tune/tuneup | tee gmp.mparam.h.new + if eend $(( 0 + ${PIPESTATUS[*]/#/+} )) ; then + mv gmp.mparam.h.new gmp-mparam.h || die + emake clean + emake + fi + fi +} + +multilib_src_test() { + emake check +} + +multilib_src_install() { + emake DESTDIR="${D}" install + + # should be a standalone lib + rm -f "${ED}"/usr/$(get_libdir)/libgmp.la + # this requires libgmp + local la="${ED}/usr/$(get_libdir)/libgmpxx.la" + use static-libs \ + && sed -i 's:/[^ ]*/libgmp.la:-lgmp:' "${la}" \ + || rm -f "${la}" +} + +multilib_src_install_all() { + einstalldocs + use doc && cp "${DISTDIR}"/gmp-man-${MY_PV}.pdf "${ED}"/usr/share/doc/${PF}/ +} diff --git a/dev-libs/gmp/metadata.xml b/dev-libs/gmp/metadata.xml new file mode 100644 index 000000000000..02ee38fa71f9 --- /dev/null +++ b/dev-libs/gmp/metadata.xml @@ -0,0 +1,12 @@ + + + + + toolchain@gentoo.org + Gentoo Toolchain Project + + + Enable use of hand optimized assembly routines (faster execution) + After building gmp, run some tests against to produce faster libraries -- this option will double the compile time + + diff --git a/dev-libs/gnulib/Manifest b/dev-libs/gnulib/Manifest new file mode 100644 index 000000000000..c4f35ed0c647 --- /dev/null +++ b/dev-libs/gnulib/Manifest @@ -0,0 +1,6 @@ +DIST gnulib-3a0b7b74982f44c735f4cfc2dccf538c3c4ef9e2.tar.gz 6192393 SHA256 1ce07693189d8692a5c8f3e3e9cec23cf51f52f38ac2308a82b2f8011b27937f SHA512 9076d0476aef4a7425fb6db038c2a4657ae1a5619a0ddce07a68a97883924f07635edc59818b532564128fbe23b06b39c98b4c544d4fc670dfc4ebd34e2e52c5 WHIRLPOOL e4bce24d233a0eb0d18c502992c5dc453cfafc9b51553dbc32d0e72cfb9d575b19191f2aa2a7cc2fb906e2111a286bd12a830421b2a4ad2b7cf3a0a94027b4fa +EBUILD gnulib-2016.12.21.08.39.01.ebuild 965 SHA256 1fca4acf5010925dcf8b8069b05342bbf56d2c130cfdde0c8de7a7cce97eb271 SHA512 d4913f00572c7e9755d4c1b7f42ed3c0c63fbef77dbd7f7ecaa52c3100fa3759ec2201b93f2cd8b4d0b2255b781506977393b429ab524b042a1015a16001785c WHIRLPOOL 6111c663bd831d01107d2886110ba77dd7085acc069d2849fa45910f65d0827a5f59a3d1441664552a956d0144d50947051fe4fcb955957973e029ad211d6f4d +EBUILD gnulib-9999-r1.ebuild 790 SHA256 2030aa75814675bb0204275b850962a1088ac0fc5b71146aee06869559e6d791 SHA512 d27d9d5ce6c10ca63c5672ea4a77697691f675f40cfe90f2f5a2d12bf5af772b865d42ee051284870fde63862bbaac4de7ef56f315a10146c08a420896233b9b WHIRLPOOL 9c0a8f29115c31d615ae19d49409995a3c882c843d7a17ed64c2d879b6d4d20e4b252c157f68ae00a999b156767f8e91dc0c2284e8c215e67c0d584a47a67e32 +MISC ChangeLog 2960 SHA256 a075f2405e6fe32c86021546490e4746ef48c86796f8dc53173980c70a91af14 SHA512 31034572d6934f36d8d3a50f853afea3063faec83eeac69546962127e06ac54cc34082681b39b9c6a1cbafefc6db1ed829b154da6d6085594d905febb959f90c WHIRLPOOL a5df2b1624471adb014b3770f5d6bcb67c73d3c97bea0e77b555d14dc021a9d4d15e94b055bed8d86a6dccf985895d49d9917b6370c12689d79b6eb5d1629858 +MISC ChangeLog-2015 2380 SHA256 b199b560f063d576e934d4e0af2c7660cf403eabcd783060add4ac861dd6c302 SHA512 5c86ebaf993cfb7a1975d7912dd0439b0e721f9d4d0193c8560a5dccbd6efc931cbadddbaafb3c5f4604633e8379952436a028c244b8f50b89807c7c0325e85f WHIRLPOOL 1393baa84b9cb08243420f7d8ac9794e5d497b8cb4bff2c839b7b5e91fa11081d6d22d5acbdd1f756c0370b8b576a7c158372669b0bdf0933d0bd8c83d7d0465 +MISC metadata.xml 243 SHA256 acb891975882d2b75bb5a1a76063f1d61ad1d96c799548e7f141e1623a0cc57e SHA512 8489be9ea6eac385511b0d193b1b61fad9c8e0d4cb86fd711e6faf04e66b2c935ae64ce6ce0a044d036e76de6787e5d440d67f831e89261a71e74b645a0999d9 WHIRLPOOL e06d2acbfdb38aa17edb0da41bcafece9c9a5d0542c9192ee3b74ae0b6250d24fb096e3a153f6a215a29d3dd7c5794f2c67f0917db3aa3f1cc65e86ea27e228f diff --git a/dev-libs/gnulib/gnulib-2016.12.21.08.39.01.ebuild b/dev-libs/gnulib/gnulib-2016.12.21.08.39.01.ebuild new file mode 100644 index 000000000000..a17e77d26755 --- /dev/null +++ b/dev-libs/gnulib/gnulib-2016.12.21.08.39.01.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +GIT_TAG="3a0b7b74982f44c735f4cfc2dccf538c3c4ef9e2" + +DESCRIPTION="Gnulib is a library of common routines intended to be shared at the source level" +HOMEPAGE="https://www.gnu.org/software/gnulib" +SRC_URI="https://git.savannah.gnu.org/cgit/${PN}.git/snapshot/${PN}-${GIT_TAG}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~ppc-aix ~x86-fbsd ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="doc" + +S="${WORKDIR}/${PN}-${GIT_TAG}" + +src_compile() { + if use doc; then + emake -C doc info html + fi +} + +src_install() { + dodoc README ChangeLog + + insinto /usr/share/${PN} + doins -r build-aux + doins -r doc + doins -r lib + doins -r m4 + doins -r modules + doins -r tests + doins -r top + + # install the real script + exeinto /usr/share/${PN} + doexe gnulib-tool + + # create and install the wrapper + dosym /usr/share/${PN}/gnulib-tool /usr/bin/gnulib-tool +} diff --git a/dev-libs/gnulib/gnulib-9999-r1.ebuild b/dev-libs/gnulib/gnulib-9999-r1.ebuild new file mode 100644 index 000000000000..6615893ccf1b --- /dev/null +++ b/dev-libs/gnulib/gnulib-9999-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit git-r3 + +DESCRIPTION="Gnulib is a library of common routines intended to be shared at the source level" +HOMEPAGE="https://www.gnu.org/software/gnulib" + +EGIT_REPO_URI="https://git.savannah.gnu.org/r/${PN}.git" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="" +IUSE="doc" + +src_compile() { + if use doc; then + emake -C doc info html + fi +} + +src_install() { + dodoc README ChangeLog + + insinto /usr/share/${PN} + doins -r build-aux + doins -r doc + doins -r lib + doins -r m4 + doins -r modules + doins -r tests + doins -r top + + # install the real script + exeinto /usr/share/${PN} + doexe gnulib-tool + + # create and install the wrapper + dosym /usr/share/${PN}/gnulib-tool /usr/bin/gnulib-tool +} diff --git a/dev-libs/gnulib/metadata.xml b/dev-libs/gnulib/metadata.xml new file mode 100644 index 000000000000..d33cce94b0d4 --- /dev/null +++ b/dev-libs/gnulib/metadata.xml @@ -0,0 +1,8 @@ + + + + + prefix@gentoo.org + Gentoo Prefix + + diff --git a/dev-libs/go-fuse/Manifest b/dev-libs/go-fuse/Manifest new file mode 100644 index 000000000000..ebbfd09b5fb2 --- /dev/null +++ b/dev-libs/go-fuse/Manifest @@ -0,0 +1,8 @@ +DIST go-fuse-0_p20140812.tar.gz 111389 SHA256 183f477e02822528693ea824680a79f44b14a4491b10d1738658d71a32e6faf3 SHA512 d951094e290bc914b418c165106368d6b73634ffb177b770ce53baaca4cd6026967f11d602b3e687e59a49323c7af1af74913ec1a911093e4e32503025842cb3 WHIRLPOOL 067eb869634d52ade241113c2c4827ad2266c7d192bc1d89a052e8bbcea699a51c4d0917cea4d93d12185fe55381341a4363a9cc689ed8df90abcd79679c632e +DIST go-fuse-0_p20150422.tar.gz 110741 SHA256 825edaff6e65a9bc0e1fb52fe1791826f4f17a37e4373bcbde99d15dfb63723d SHA512 a0c9fa666ab39632db258baa5bf6ba1546aa847beb0d4a4b812a96e66d8573e3c0a0600ad24e16e314fbd8082b36027a3e1bc2092667766f611b1321aaea70c5 WHIRLPOOL ec33dfb773f5cff79e8f6c3acded538a68853035d197c689971f9b857244245039ced14a1ef970c1b14b5b6d2419fae7b6193b038d7245da119aee068677c0f6 +EBUILD go-fuse-0_p20140812-r1.ebuild 1379 SHA256 61ad34dc81b1892019c91b1925bfc7ab4114e15042b5001459c6cb008faf1688 SHA512 5605e07f718424b11adbd14907cb371b6c203565542731aedcaa647cc82fb6b706aed51c09766ae98cbf9a289f074d10b63392efb76783a0accc295b48afb72c WHIRLPOOL 4a2b65a81f31bf33ba26a6d9f65b3df294b30fe72288cb570765d67edcd7188d15b27a909f070d99daa574fba3ed9e866965925f45d55efbb4a48587ac8784a5 +EBUILD go-fuse-0_p20150422.ebuild 1175 SHA256 ce8d7b9ad2bcb91734688300f5a8097080d3b1b515dfcbbf39c12a2199963b06 SHA512 501d9403f7505622b1c6671db51d7c7ad2e417d30d3de68adfe9c6c2d04ddb67b6f3457fab94f4180f6b8d1794fbbc5ddd0d1e2b535ba73272ba9e9e53510a90 WHIRLPOOL 0ed2fd86f6882801eaaa9175150978d167ae307fe4c088901a8c30ff585ca9ab1d37beeca4dc2fa2cfed6b54a8b1fc9f9ac4865031b287d4d8494043bea88b8b +EBUILD go-fuse-9999.ebuild 1266 SHA256 def0e6356d3cbb3d205fe625947c9a9dfbb8a44233197d7ca7b1d9faf906fa38 SHA512 34ad9860ee72c0a8555be7c232eb3526923326ac1328536cbe1040ac42825a107a82dad06b32eec93dcfda15cc4db1868f5dee8964eca10a3d00fae9d8c9734e WHIRLPOOL bdf8061b2c12a408adb25bedd41b94b76fab437b4d1144d05727c92dc5f890ce4f918a6fdd8e74c891e0cbaace453ab360dd21c469e9d64e1167affeab667adf +MISC ChangeLog 2626 SHA256 ee6c88b4441d9a3bf996f6013638db13b65b89fa8aad3b215f3b7ba49b9b5a94 SHA512 ee21fc04b3c31c590e4f38b6a570d8c58cdf6896457e1034656184e96f65db4fc81823bce80ddadf66de94fbddefb819339b0ebf1c3c3ada999ba38f9cdc868d WHIRLPOOL 68ab78d7377a940b04dd7ace47a6a80555062961503036135f43fbfb40d1262ace9a313ad3215035dfd6c5fa5d264b8414fb1c63f45bb224cc34726a818a0c61 +MISC ChangeLog-2015 2286 SHA256 78c72ea19a2f3a259b20d46c3016bfae7afd139d50c4729944889dd504a131ea SHA512 cbec2078893b3f335871cbf43d77c5e72408b4732aac9cb83df530dd79627ed4903a55b3c7e54cb49586f4ad41c5840c9a85997fa9bfb1ba590474c60ac1073c WHIRLPOOL 36993f563f326aa80828e4fdf7cbad4b6c50cce7dd2b84ac781c84bf620a592d6154bb4ab1321ef113b63c063d039659675e7a493314d9b49f9f5c550c8cce50 +MISC metadata.xml 336 SHA256 76f18f1269cb3f17a315f8ef696ccf53fbef8c1f26f3cb2079ce9ad8db755f2f SHA512 d8919ea0b18f378d1dfcae8879976485da1fe27d700fbad0006a9e835a4e87ddae1e91703be9d6ec6d8232737049805f57adf93d9cebbe64c7ad82bf1fed7373 WHIRLPOOL cee2c181c52dfea998ff7f2d73a82ae8ece8f8e1551209667769d6e9ef28c36ad396ac4e4d49357a054ca23db6574f8b77cadd34d9862cbe2c0947dcae675075 diff --git a/dev-libs/go-fuse/go-fuse-0_p20140812-r1.ebuild b/dev-libs/go-fuse/go-fuse-0_p20140812-r1.ebuild new file mode 100644 index 000000000000..b697e9c46d3b --- /dev/null +++ b/dev-libs/go-fuse/go-fuse-0_p20140812-r1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils + +GO_PN=github.com/hanwen/${PN} +EGIT_COMMIT="8c85ded140ac1889372a0e22d8d21e3d10a303bd" + +HOMEPAGE="https://${GO_PN}" +DESCRIPTION="FUSE bindings for Go" +SRC_URI="https://${GO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" + +SLOT="0" +LICENSE="BSD" +KEYWORDS="~amd64" +IUSE="" + +DEPEND=">=dev-lang/go-1.3" +RDEPEND="" + +RESTRICT="strip" + +S=${WORKDIR} + +src_unpack() { + default_src_unpack + mkdir -p src/${GO_PN%/*} || die + mv ${PN}-${EGIT_COMMIT} src/${GO_PN} || die +} + +src_prepare() { + sed -e "s:\(go \${target}\)\(.*\)$:\\1 -x \\2:" \ + -e 's:^for target in "clean" "install" ; do$:for target in "install" ; do:' \ + -e '17,26d' \ + src/${GO_PN}/all.bash > src/${GO_PN}/all.bash.patched || die +} + +src_compile() { + # Create a filtered GOROOT tree out of symlinks, + # excluding go-fuse, for bug #503324. + cp -sR /usr/lib/go goroot || die + rm -rf goroot/src/${GO_PN} || die + rm -rf goroot/pkg/linux_${ARCH}/${GO_PN} || die + CGO_CFLAGS="${CFLAGS}" GOROOT="${WORKDIR}/goroot" GOPATH="${WORKDIR}" \ + bash src/${GO_PN}/all.bash.patched || die +} + +src_install() { + insopts -m0644 -p # preserve timestamps for bug 551486 + insinto /usr/lib/go + doins -r pkg + insinto /usr/lib/go/src + rm src/${GO_PN}/all.bash.patched || die + egit_clean src/${GO_PN} + doins -r src/* +} diff --git a/dev-libs/go-fuse/go-fuse-0_p20150422.ebuild b/dev-libs/go-fuse/go-fuse-0_p20150422.ebuild new file mode 100644 index 000000000000..894c8c631d8b --- /dev/null +++ b/dev-libs/go-fuse/go-fuse-0_p20150422.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils + +GO_PN=github.com/hanwen/${PN} +EGIT_COMMIT="ffed29ec8b88f61c1b8954134cc48ef03bb26ce1" + +HOMEPAGE="https://${GO_PN}" +DESCRIPTION="FUSE bindings for Go" +SRC_URI="https://${GO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" + +SLOT="0" +LICENSE="BSD" +KEYWORDS="~amd64" +IUSE="" + +DEPEND=">=dev-lang/go-1.3" +RDEPEND="" + +RESTRICT="strip" + +src_unpack() { + default_src_unpack + mkdir -p "${S}/src/${GO_PN%/*}" || die + mv ${PN}-${EGIT_COMMIT} "${S}/src/${GO_PN}" || die + egit_clean +} + +call_go() { + local d + for d in fuse fuse/pathfs zipfs unionfs; do + GOROOT="${GOROOT}" GOPATH="${S}" \ + go "${1}" -v -x -work ${GO_PN}/${d} || die + done +} + +src_compile() { + # Create a filtered GOROOT tree out of symlinks, + # excluding go-fuse, for bug #503324. + GOROOT="${WORKDIR}/goroot" + cp -sR /usr/lib/go "${GOROOT}" || die + rm -rf "${GOROOT}/src/${GO_PN}" || die + rm -rf "${GOROOT}/pkg/linux_${ARCH}/${GO_PN}" || die + call_go build +} + +src_install() { + call_go install + insopts -m0644 -p # preserve timestamps for bug 551486 + insinto /usr/lib/go + doins -r pkg src +} diff --git a/dev-libs/go-fuse/go-fuse-9999.ebuild b/dev-libs/go-fuse/go-fuse-9999.ebuild new file mode 100644 index 000000000000..2627a21a5a42 --- /dev/null +++ b/dev-libs/go-fuse/go-fuse-9999.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit git-r3 + +DESCRIPTION="native bindings for the FUSE kernel module" +HOMEPAGE="https://github.com/hanwen/go-fuse" +EGIT_REPO_URI="https://github.com/hanwen/go-fuse.git" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="" +IUSE="" + +DEPEND=">=dev-lang/go-1.3" +RDEPEND="" + +RESTRICT="strip" + +GO_PN="github.com/hanwen/${PN}" +EGIT_CHECKOUT_DIR="${S}/src/${GO_PN}" + +export GOPATH="${S}" + +src_compile() { + local d +#no examples right now +# example/hello example/loopback example/zipfs \ +# example/multizip example/unionfs example/memfs \ +# example/autounionfs ; \ +#or tests +#fuse/test + for d in fuse fuse/pathfs zipfs unionfs; do + go build -v -x -work ${GO_PN}/${d} || die + done +} + +src_install() { + local d + for d in fuse fuse/pathfs zipfs unionfs; do + go install -v -x -work ${GO_PN}/${d} || die + done + + insinto /usr/lib/go/ + doins -r "${S}/pkg" + insinto "/usr/lib/go/src/${GO_PN}/" + #for this ebuild, to fix bug #503324 I have limited what is installed + #another possible solution would have been using adddeny to the + #hide installed filed during build + egit_clean "${S}/src/${GO_PN}" + doins -r "${S}/src/${GO_PN}/fuse" + doins -r "${S}/src/${GO_PN}/splice" +} diff --git a/dev-libs/go-fuse/metadata.xml b/dev-libs/go-fuse/metadata.xml new file mode 100644 index 000000000000..90487b3d8399 --- /dev/null +++ b/dev-libs/go-fuse/metadata.xml @@ -0,0 +1,11 @@ + + + + + zerochaos@gentoo.org + Rick Farina + + + hanwen/go-fuse + + diff --git a/dev-libs/go-usb/Manifest b/dev-libs/go-usb/Manifest new file mode 100644 index 000000000000..5969dcf89773 --- /dev/null +++ b/dev-libs/go-usb/Manifest @@ -0,0 +1,4 @@ +EBUILD go-usb-9999.ebuild 612 SHA256 df206b480736ea632113aafbad24473354843e29944bdae864145bf8d1208a5e SHA512 9c2ded5561d14480f22953141a0612cfded41ca887f96ad4bb36575ca9a8cc6467c66a95afa0ae076fa1aaafac49b45b9e7ac5ff53aa697cafab0ec8495494ed WHIRLPOOL bb5f84954f021176c9e351620bc0fb16690ca798606429e029d7f33c85448101a3027053ff5da049cc087ce44c29f22a05a34770720697aeb7fda87f9393ee18 +MISC ChangeLog 2171 SHA256 c8c2fc4894567762b1ddf5a1e78e784e7d07bfb9076a519e54e5f0983d9357d2 SHA512 4e4ab077b1bcfbb97147d1dc2da30df4e80ae0dd66ecdadefc15f5582a9f6b80150a8c7efe983c2a75d70c8266f9fc717f4dcf529bfa01751e6f3b8120d5f461 WHIRLPOOL 5de7eb0bc57c6cb4960d1ea6d334e8d11bf33b60058ce402724a7287df020a4dae8d624b94f565ed8c268c719d16fcad7cc338c69caf6603b0fc52a97a808341 +MISC ChangeLog-2015 575 SHA256 822b56074c4244b63140505a5603a1e300ad1f69ff0d2204505b2ec801d83211 SHA512 bbb52fc1d555b887047aaa81803f3b0b2f04f23c92b6a4f9ed476637151ba088cd7b9c0cef09353dbb5eb0f62854c7b13be9181e23a59ec374a6f43ac82a37f7 WHIRLPOOL 026bb78250f22f6a9b5a7ef86d8c64f34f3b725079b8f90018213315b326ab9fb13c4b124ef6d8203b81eedd0190f5d9ce5f5a3ef9e73862d8d0493f3e523952 +MISC metadata.xml 332 SHA256 80030d8b467226c4eedbc39b658bf3b66e5de8edfad602d43bb32e0422f63b75 SHA512 72d224af53ac4c93a252eae5a518d76abf05052e9a268ee007cc7e03f96ec5e673b6c7e83e4de15ea9f6e1a2222f7fe687fd10834b45edb7e638d75f61bb9cb9 WHIRLPOOL 3000104a7f5db59ecd4ba76bfd9fc5a048a13721690e77f65fc153f1fde7da9bdb68be6a937c434eaed974e6dfe5faf282ece330d3e924ae3fbd96b64ec36d30 diff --git a/dev-libs/go-usb/go-usb-9999.ebuild b/dev-libs/go-usb/go-usb-9999.ebuild new file mode 100644 index 000000000000..e634c7ea3b82 --- /dev/null +++ b/dev-libs/go-usb/go-usb-9999.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit git-r3 multilib + +DESCRIPTION="CGO bindings for libusb" +HOMEPAGE="https://github.com/hanwen/usb" +EGIT_REPO_URI="https://github.com/hanwen/usb.git" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="" +IUSE="" + +DEPEND=">=dev-lang/go-1.4" +RDEPEND="" + +# Tests require a connected mtp device +RESTRICT="test" + +GO_PN="/usr/lib/go/src/github.com/hanwen/usb" + +src_install() { + insinto "${GO_PN}" + doins *.go LICENSE || die "Install failed" +} + +src_test() { + go test -ldflags '-extldflags=-fno-PIC' ${GO_PN} || die +} diff --git a/dev-libs/go-usb/metadata.xml b/dev-libs/go-usb/metadata.xml new file mode 100644 index 000000000000..ac4b8fcb74df --- /dev/null +++ b/dev-libs/go-usb/metadata.xml @@ -0,0 +1,11 @@ + + + + + zerochaos@gentoo.org + Rick Farina + + + hanwen/usb + + diff --git a/dev-libs/gobject-introspection-common/Manifest b/dev-libs/gobject-introspection-common/Manifest new file mode 100644 index 000000000000..e56bdd744025 --- /dev/null +++ b/dev-libs/gobject-introspection-common/Manifest @@ -0,0 +1,7 @@ +DIST gobject-introspection-1.50.0.tar.xz 1415700 SHA256 1c6597c666f543c70ef3d7c893ab052968afae620efdc080c36657f4226337c5 SHA512 cb108cf3d49743e1686fe4ae99f2360799bc8825ad97bf0b97e097b3f89e2771079593de0f497a9e5b9cff892f6fbf870834a6c4d13f11bcde99162e9388ecfa WHIRLPOOL 6147c2608c911020800471c30e6c754385efd61fe9f875bb7fad7d161e73cb857fa37c810e66bf0cf16a43aca1ecf6d2e46a6cde90800970f303c7721fdc5edb +DIST gobject-introspection-1.52.1.tar.xz 1384292 SHA256 2ed0c38d52fe1aa6fc4def0c868fe481cb87b532fc694756b26d6cfab29faff4 SHA512 878653ffa80c064c73453ea2878a977e52f0d6a0b2123bee8c3429379366f9da3e9fd991fad0dda170d74e4241314ea6c5120f5988e68fad4bfe9c333d11389f WHIRLPOOL 7489998d8ee9bcfbd576cf7d2e84e9bf9f531ef43bad5685c21433189dc93d815e0faff5ad8c01bc0475618eae92732ad8aadaca7f997f75b2144cb966dd1cc5 +EBUILD gobject-introspection-common-1.50.0.ebuild 1035 SHA256 4282506d885718cf0e07459c9e85c712864b0eb6eb6f4c22b1798f62adc2d849 SHA512 ed05d2eafdfcd439270c8a144a927c6fcdc6c578ab8a0c3406cedf75c543a173155a35638e371131fff37322393ec67d9c0d47cbf8c80ba02daef3bb82d6dc8b WHIRLPOOL 53763edae66771b4ae06ca1f7b5fca673ced85c01ec8b0432cf40fdffc003ece7c0c3cec2c99796c07db8c913c6a9bf7c68469f5da832958d49c00c25874e1b9 +EBUILD gobject-introspection-common-1.52.1.ebuild 1044 SHA256 4ee1373d106eb55d538613ec9b4707edc9dd4195d4a19e10095c92f6026a3f86 SHA512 fbecfc05887f313ab478cb1a69aede351e9defc80798596a745265a3f7ec6cc35279cd1ca5b3eb1f7bc0a3612a5a4d41fe7e2d2da9e2aee5c23d0c748456dad3 WHIRLPOOL 21464f50490cd753c3522caa6436232fb0fced2f8f02538f9bf6e963a9729668414fe75e79edf8b3810635887446625998b17267dabdbe9cf01b835860b416b7 +MISC ChangeLog 8297 SHA256 eb30f98d94ae25ef9c188e9eaa2c5854afe5754abf20ca3dfbcf52fafd7ce7d5 SHA512 11ab9f2fdf80407b9c20e4a496c8d4c406980bfb41d5ec45153202e72d61c8ed50665c83caf56fad4a9d69dd4c88efb2ebbe3279a3ccfd3655908928ef9736c8 WHIRLPOOL 612e0b5e0db2eba599340dfd06d6ccd9e2f05a480ba3fde1ef7edc9b97191b6a928de043f507686d79a70fe7a72f4533882fb19bc86bbb77615d08dfdfd9a80c +MISC ChangeLog-2015 9105 SHA256 ac24c257dfc624dee4f67b3fe92919a8bf51f8ea6a12d4cf216614b83f9a4241 SHA512 5b5d6b549e5e0c30d305ca78d6e4a283af341f8d693dcaeb568aed7ef58d2ef203cb7bd7e8b0a835252377391bfd12b1b4c6238b4355881651ce7a1589e8672c WHIRLPOOL a2444966eacd127bdb9b700a15668bde5f06bf69a68b5687bf361ced5376e66e0a269dd9f8ea306eeabc0471d6474ac4617e39b4f044b21b971c0d0087460f73 +MISC metadata.xml 249 SHA256 4505b0bfeadff287958620b7dc7b7209699065a8f17139a237a5dd409a726a97 SHA512 c40662134899a5c9f0369a1017806f35adf3280a0b3c91726f7a8ca6012a073a8b471583f5bfb6fe95faac1dcf607e8e2e43f8c91d48ec46f4a8824e2f551506 WHIRLPOOL 333a938ee1d2124595596c572697bf5ebad523a92ba12005cfb12e6bb6270881a94a911f0cc9c1cf2bb571559e8271e07dfd307dabe50058236dbe7103562b92 diff --git a/dev-libs/gobject-introspection-common/gobject-introspection-common-1.50.0.ebuild b/dev-libs/gobject-introspection-common/gobject-introspection-common-1.50.0.ebuild new file mode 100644 index 000000000000..122e7411d902 --- /dev/null +++ b/dev-libs/gobject-introspection-common/gobject-introspection-common-1.50.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +GNOME_ORG_MODULE="gobject-introspection" + +inherit gnome.org + +DESCRIPTION="Build infrastructure for GObject Introspection" +HOMEPAGE="https://wiki.gnome.org/Projects/GObjectIntrospection" + +LICENSE="HPND" +SLOT="0" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +RDEPEND="!<${CATEGORY}/${PN/-common}-${PV}" +# Use !<${PV} because mixing gobject-introspection with different version of -common can cause issues like: +# https://forums.gentoo.org/viewtopic-p-7421930.html + +src_configure() { :; } + +src_compile() { :; } + +src_install() { + dodir /usr/share/aclocal + insinto /usr/share/aclocal + doins m4/introspection.m4 + + dodir /usr/share/gobject-introspection-1.0 + insinto /usr/share/gobject-introspection-1.0 + doins Makefile.introspection +} diff --git a/dev-libs/gobject-introspection-common/gobject-introspection-common-1.52.1.ebuild b/dev-libs/gobject-introspection-common/gobject-introspection-common-1.52.1.ebuild new file mode 100644 index 000000000000..54ee9ab692e5 --- /dev/null +++ b/dev-libs/gobject-introspection-common/gobject-introspection-common-1.52.1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +GNOME_ORG_MODULE="gobject-introspection" + +inherit gnome.org + +DESCRIPTION="Build infrastructure for GObject Introspection" +HOMEPAGE="https://wiki.gnome.org/Projects/GObjectIntrospection" + +LICENSE="HPND" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +RDEPEND="!<${CATEGORY}/${PN/-common}-${PV}" +# Use !<${PV} because mixing gobject-introspection with different version of -common can cause issues like: +# https://forums.gentoo.org/viewtopic-p-7421930.html + +src_configure() { :; } + +src_compile() { :; } + +src_install() { + dodir /usr/share/aclocal + insinto /usr/share/aclocal + doins m4/introspection.m4 + + dodir /usr/share/gobject-introspection-1.0 + insinto /usr/share/gobject-introspection-1.0 + doins Makefile.introspection +} diff --git a/dev-libs/gobject-introspection-common/metadata.xml b/dev-libs/gobject-introspection-common/metadata.xml new file mode 100644 index 000000000000..39980802b1da --- /dev/null +++ b/dev-libs/gobject-introspection-common/metadata.xml @@ -0,0 +1,8 @@ + + + + + gnome@gentoo.org + Gentoo GNOME Desktop + + diff --git a/dev-libs/gobject-introspection/Manifest b/dev-libs/gobject-introspection/Manifest new file mode 100644 index 000000000000..9877b11bb0f4 --- /dev/null +++ b/dev-libs/gobject-introspection/Manifest @@ -0,0 +1,7 @@ +DIST gobject-introspection-1.50.0.tar.xz 1415700 SHA256 1c6597c666f543c70ef3d7c893ab052968afae620efdc080c36657f4226337c5 SHA512 cb108cf3d49743e1686fe4ae99f2360799bc8825ad97bf0b97e097b3f89e2771079593de0f497a9e5b9cff892f6fbf870834a6c4d13f11bcde99162e9388ecfa WHIRLPOOL 6147c2608c911020800471c30e6c754385efd61fe9f875bb7fad7d161e73cb857fa37c810e66bf0cf16a43aca1ecf6d2e46a6cde90800970f303c7721fdc5edb +DIST gobject-introspection-1.52.1.tar.xz 1384292 SHA256 2ed0c38d52fe1aa6fc4def0c868fe481cb87b532fc694756b26d6cfab29faff4 SHA512 878653ffa80c064c73453ea2878a977e52f0d6a0b2123bee8c3429379366f9da3e9fd991fad0dda170d74e4241314ea6c5120f5988e68fad4bfe9c333d11389f WHIRLPOOL 7489998d8ee9bcfbd576cf7d2e84e9bf9f531ef43bad5685c21433189dc93d815e0faff5ad8c01bc0475618eae92732ad8aadaca7f997f75b2144cb966dd1cc5 +EBUILD gobject-introspection-1.50.0.ebuild 2095 SHA256 14ae44df297c1852980dc11ee9fe956cc86cbf70b7d13cc2d4e5ec1d7ee36289 SHA512 c65cffdbae089ce2c106fbc3749271546d9ae963672097711119a06ec79544f0e1ec6ad26894dfdb53be30ff1802e775d6d27f4c6e3da647a0597c3cb0822ea2 WHIRLPOOL 001eba966bf4a0500231bc5f6152f89ed922691ab78f105a99f0db73b8d4e5998aad90e0268ea1b3c31a4362317b008f498fbe7318ad0bdb48fa0b2ed4a5a7ef +EBUILD gobject-introspection-1.52.1.ebuild 2108 SHA256 09c3e39b46bb525f4627bb04840d9a76b44404df7b3c940a0e079f359e31f090 SHA512 4b66bfac6b53ae55d8ab4561ebac77aab96366060bb8edcce80104e1fa1d16350f01164b945fd37e3e4b6235105b66ce49d214046f0499b39804fe67b369ea61 WHIRLPOOL 10146867fd44e9f83f4141cfde6b559fce61f88bffa1b84bedf8a02dc6dea7cb6b5e57f7dadf6cdd7941293665d57fa951d7cae5b02ddf8b42c9858c30afec3a +MISC ChangeLog 7797 SHA256 48ed34778c750860e306165cbaafe29e7bf92c18b51d48d2ecd807fadb0553c0 SHA512 e57b93d3b49da270dd4d231995c1884bdf857bd9c76e1f85ca42cbf94d49d5bc8f365a090cc6b9d56d37137191cdd2f3cfc0b677c76ab712e2d4cb9ece38e185 WHIRLPOOL d2983d6880fcfa56872aab3f7685597db743305b609f979afd57caadcea35030f7a70c0557a057cf4e424f0199f3c347f1c2dec4c04c10bfa1e80ab7b2d86c9c +MISC ChangeLog-2015 25637 SHA256 37dc33e6327fdeb51ffd4135a1bdb38eb86946b0b95cb18421c1d4fbf2b0b696 SHA512 76363c2f3c07aa65ab87e5a97e739e7c8145beb53f5e48c98ab1e6217c739ad9dccea7dcd443c808bc0da6898b5ebc42f8f41677ebf9b5c7b74887026a6d04c9 WHIRLPOOL 60c7e2d89106c0354d3443844f23511246ae8f0a81d7ede302482a32df4378d842c527dfb00a6ca96366d8b2b2c5ce2986452128f964587daa744983d6b52187 +MISC metadata.xml 367 SHA256 a2705912146f2e2b76ed88a715be46533f36dfb5e71cca94aba6dfa8eef5fec4 SHA512 1430924bf7430f4a409d6c3335a52b59567d5972440068e53e637d6c71486ef3e606ed9043184dfc168d731909e11c769042d2846e137312cd0ee0ce6f52e431 WHIRLPOOL 05d0effeddcc840007338bce27d2d9ff4639581a00bf60dd93c4ee6a8c75c3f3cfe281a0ccc0ccdd6ccf7185b17eb99b85f36f4e4ae66d9655df176a02cbaeea diff --git a/dev-libs/gobject-introspection/gobject-introspection-1.50.0.ebuild b/dev-libs/gobject-introspection/gobject-introspection-1.50.0.ebuild new file mode 100644 index 000000000000..a0d69d3fade5 --- /dev/null +++ b/dev-libs/gobject-introspection/gobject-introspection-1.50.0.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python{2_7,3_4,3_5} ) +PYTHON_REQ_USE="xml" + +inherit gnome2 python-single-r1 toolchain-funcs versionator + +DESCRIPTION="Introspection system for GObject-based libraries" +HOMEPAGE="https://wiki.gnome.org/Projects/GObjectIntrospection" + +LICENSE="LGPL-2+ GPL-2+" +SLOT="0" +IUSE="cairo doctool test" +REQUIRED_USE=" + ${PYTHON_REQUIRED_USE} + test? ( cairo ) +" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +# virtual/pkgconfig needed at runtime, bug #505408 +# We force glib and g-i to be in sync by this way as explained in bug #518424 +RDEPEND=" + >=dev-libs/gobject-introspection-common-${PV} + >=dev-libs/glib-2.$(get_version_component_range 2):2 + doctool? ( dev-python/mako[${PYTHON_USEDEP}] ) + virtual/libffi:= + virtual/pkgconfig + ! + + + + gnome@gentoo.org + Gentoo GNOME Desktop + + + Install g-ir-doc-tool for generating documentation + from introspected data + + diff --git a/dev-libs/gom/Manifest b/dev-libs/gom/Manifest new file mode 100644 index 000000000000..e789d26b9ade --- /dev/null +++ b/dev-libs/gom/Manifest @@ -0,0 +1,5 @@ +DIST gom-0.3.2.tar.xz 410300 SHA256 bce8f0f94af6ff7847b853580ba6baebbab8ae531cedb0c78a5c473f39c758fd SHA512 a7bfb263e5ff6f89768d8fcbdcc949d4ec9b82ecbb80952becd357a3d5781a60e52a327e865e39e46d542b2a2c5e5c861e5302d7ae3c3a2258d3c3f698263675 WHIRLPOOL b676f4117c66fbe47b4216b3f5e4259e0569bcf355ca2f474498c29218d42093ac66e3afb0eb1cd946837e813f4e7c3ff981e99a726458150c00c89653d06559 +EBUILD gom-0.3.2.ebuild 1545 SHA256 3d886328c11a1bb2b03a15331625eaa70bebc2d7599582aeb1f1fc96dfceac5b SHA512 e4807da82557e088039e8d9b890e9b65086843a08ef55574e4749099fb3937287696ac78c5d664be23e2c0ec5c1e13f6cbac8253874321611d83b7fdf111a284 WHIRLPOOL 47236ba098875642282b684705b54f5e916e90b7686aab58469c7ab5b2a66520baf9eb1100856b06ad0113bd820557dbc0116186e1a7e24b8045769e247afae8 +MISC ChangeLog 3631 SHA256 12a42f4a6c8d65d49f6670df9f057d9ec3d28c932dd72cc6dc33665254c89ec2 SHA512 95f9c3a165dd6be10b81f73a6c1a4ed970738296667f70e1c511201035a5595144939cff7558bd7382baad23b3dd0a55ae257948c8f7ec620b8e2d1974b97660 WHIRLPOOL 06568f6ae38c6893cbcc3110c61860fa34afd64e8e468c0ad172f482767cf9508d627548e37e9957d42134297d966ef756010d3cdd2b90c81e271c8c46fc20a8 +MISC ChangeLog-2015 1613 SHA256 2b1a5ebdc5bb0de219088d9b082b8294967157606a01711d8229298a7b998197 SHA512 d66733abff2471b7dfebe183c188350325cf85868397589b166c81b2a77f67c6b6c9a30bfc32dcbe167e13919a88ebf6b2626b76044cad58caa9d232379c8a0b WHIRLPOOL 7f75f131c75bb8706851c2a00605cd63b8c85897b8643d07e590704ec4853ebf6b6ba404acfc3652664d6ac43279e641a1cad89e23fc20a839761ddb94695815 +MISC metadata.xml 249 SHA256 4505b0bfeadff287958620b7dc7b7209699065a8f17139a237a5dd409a726a97 SHA512 c40662134899a5c9f0369a1017806f35adf3280a0b3c91726f7a8ca6012a073a8b471583f5bfb6fe95faac1dcf607e8e2e43f8c91d48ec46f4a8824e2f551506 WHIRLPOOL 333a938ee1d2124595596c572697bf5ebad523a92ba12005cfb12e6bb6270881a94a911f0cc9c1cf2bb571559e8271e07dfd307dabe50058236dbe7103562b92 diff --git a/dev-libs/gom/gom-0.3.2.ebuild b/dev-libs/gom/gom-0.3.2.ebuild new file mode 100644 index 000000000000..f79646f4bcac --- /dev/null +++ b/dev-libs/gom/gom-0.3.2.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" +GCONF_DEBUG="yes" +PYTHON_COMPAT=( python{3_4,3_5} ) + +inherit gnome2 python-r1 + +DESCRIPTION="GObject to SQLite object mapper library" +HOMEPAGE="https://wiki.gnome.org/Projects/Gom" + +LICENSE="LGPL-2+" +SLOT="0" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc x86" +IUSE="+introspection python" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} introspection )" + +RDEPEND=" + >=dev-db/sqlite-3.7:3 + >=dev-libs/glib-2.36:2 + introspection? ( >=dev-libs/gobject-introspection-1.30.0:= ) + python? ( + ${PYTHON_DEPS} + >=dev-python/pygobject-3.16:3[${PYTHON_USEDEP}] ) +" +DEPEND="${RDEPEND} + >=dev-util/gtk-doc-am-1.14 + >=dev-util/intltool-0.40.0 + sys-devel/gettext + virtual/pkgconfig + x11-libs/gdk-pixbuf:2 +" +# TODO: make gdk-pixbuf properly optional with USE=test + +pkg_setup() { + use python && python_setup +} + +src_prepare() { + gnome2_src_prepare + + use python && python_copy_sources +} + +src_configure() { + # glibtest is a relic from AM_PATH_GLIB macro + local myconf=( + --disable-static + --disable-glibtest + ) + + gnome2_src_configure \ + ${myconf[@]} \ + --disable-python \ + $(use_enable introspection) + + if use python ; then + python_foreach_impl run_in_build_dir \ + gnome2_src_configure \ + ${myconf[@]} \ + --enable-python + fi +} + +src_install() { + gnome2_src_install + + if use python ; then + docinto examples + dodoc examples/*.py + + python_foreach_impl run_in_build_dir \ + emake DESTDIR="${D}" install-overridesPYTHON + fi +} diff --git a/dev-libs/gom/metadata.xml b/dev-libs/gom/metadata.xml new file mode 100644 index 000000000000..39980802b1da --- /dev/null +++ b/dev-libs/gom/metadata.xml @@ -0,0 +1,8 @@ + + + + + gnome@gentoo.org + Gentoo GNOME Desktop + + diff --git a/dev-libs/granite/Manifest b/dev-libs/granite/Manifest new file mode 100644 index 000000000000..fc4221fe7c42 --- /dev/null +++ b/dev-libs/granite/Manifest @@ -0,0 +1,12 @@ +AUX granite-0.3.0-build-fix.patch 906 SHA256 48af9141720ea203c27d99e9e87b369295da1454d1bb876c49dff270f3e25e24 SHA512 dbbc67a006153d122f6b48759e7077e2deca73ef0d33b70243764141ccda89f5998d99e39fe6a05a9f527f43989b9ad66b191e65772fa5027365a333bf53e558 WHIRLPOOL 6c2e06ff2ad6e541fd568911005c1c8d5de21126b51ccfd336c872ad678e670dcbf6d0afb543e0cab619ae2062f62d9c7946f80ec40b37009628e36c4662ddb2 +AUX granite-0.3.0-build-fix2.patch 521 SHA256 a6821317eac03cf85956d6d88f94179e91c28c0f10f0bfd89200e74d5c83cb46 SHA512 7e9e7c39f63e845275b998f437648ea4c38c1043140b02b6474c215ba7ef78b258f9aabe1c83c5533d37c0dc8f502a1425a573578238f786c9903764644d4f19 WHIRLPOOL bb12c64dbb3b05c307e94942bb3e49012f25aaa01e23130a3f313af975127b05e5cff1f3f35385aa52968d6b976f7c2916334a2138a5145ec876891cba6bfe59 +AUX granite-0.3.0-build-fix3.patch 916 SHA256 607ca648cbd5afe799784f0be6587905b69fd095b732cd421d6d576c9630b69a SHA512 61e49768fbe13a88dfbbd5bbd5c481320fd90af65900d359d680502364795f0eb3cc94fc116dc0e720b94e994705a183d77c9e1243415ffcae6629b2b29937bc WHIRLPOOL 11843a9bb8d8cefdc80eb993bb0aaaa48c738b97a3424b578d193b587b4ea08613771e5e731325af32af1cf842dcb33cdeef2b4e64068946e63585e331a4de13 +DIST granite-0.2.1.tar.gz 146871 SHA256 4e9a97488c04b2c3eadcb4b8251c8938a9637820b1989449e55490f42a2ac92c SHA512 a9cbe43e836c1e5430260bb8643b63b6712c17a60c184ed7105a9e96eb68e8107c09de655f58262a1dcab85cfb59beb18352b49a5ddb0817f9aff7b86d1e2bb1 WHIRLPOOL 6d909976300fa32c16b127b0865f7c8b064230407c496653627aa63b1d24ff4197fa3894d93f9ea9d349a85c26ad0b94e7836bfe6fa15aa0deafa1e5b28d51df +DIST granite-0.2.3.1.tgz 152607 SHA256 56f05338bb7967f0b912d35bf780a3ddd68b517e1939371a14a5f79581a8f80d SHA512 c4db7d3a9e65178fa961761355fdf4d3795513a5a8d0ba5a448761336817a0de027382421a86213b434449f257f3c869b6275357acb732b6dd382cf5ea86eca8 WHIRLPOOL b7287c7f5ab0c1213b8ea3dc8512375c133244a3d838e612d42c59d3c9694164c03a40a464e210a3b5771399afff0b24f2b054e61fb76fd636443f7804833caa +DIST granite-0.3.0.tar.gz 285072 SHA256 df950dd79749213971d50316c68edadf1fb3c2151cb7d63f6a6b9edf12084ad1 SHA512 3ebbb7453b770f8b5b98cee0f96db8443d7583af0117b2d34c9daa82bf36d25418e0fcf61118e7551ced91e751d8b032998dc9cca2569e61c7227666c4383872 WHIRLPOOL ebf2130fc97b3d896b868ef2fb37ea3952b0e2630b872a05930ee52f8bc9fb656382cceb7cdbf201e91267b99ab6485777ea2880305ad9e32c79f4af7865f875 +EBUILD granite-0.2.1.ebuild 1127 SHA256 d55f9190732ed2f29abe129eb40fb88b404091d72b1953201f0018c88f7f799e SHA512 9ce2f40a076bd92979ab82801004d10ace1d6b808cf80aae983381a1bd17993fa4ed7ca571d6e7e01bddac34b65fb9b41ca9497933bf7c35cd7479a1ca07d2f2 WHIRLPOOL 0ee35d3513c33afd183dc00fa0b7715096088d4bac44a6294adaa90c9aa0eee146ae7e76fbd589926d3fe5d24cce43b1992f9502a1647746c2f27945ae780c8a +EBUILD granite-0.2.3.1.ebuild 1108 SHA256 d2f2d6d9ea9b290df9d16aa34203545bacae6f40c1831c5a64583ec0ee4f8d05 SHA512 734946b6d7233bdc2255df030171e1c8143e382aa800e2a635774374fb906f73a9148bbb913e0070e9508c651354f0f9a5bafe089171197ef91c4e26a02bb059 WHIRLPOOL c0a22f0beae4508be968f94915976833c95242707b5f3938a02cc996a9d97326141a459ced732cd62e3524135c828cfcc760ef5f81fc9da537651514725b0ece +EBUILD granite-0.3.0.ebuild 1256 SHA256 491f77d66b70f5dd8b23eb0954b1002e9513d6e39ceddc9e3ffd6533f3ab91d9 SHA512 f7d7c73328fa0ad6d90533b7d3fa2254cc69153ad21567f5876bb29fb13e870c3a83f6a2e9d58f2014f0f7c5b59fd8dfde3fe60c37bdf8308383d96b7729091a WHIRLPOOL c53bd38b1097b76ffc9667675740c74702f20e1caad7fd67bd7388bb7b1017ea3f2ff29b9e3d7ce6d485f171015075f8225b51634e89f4d665bd1a3765f80092 +MISC ChangeLog 2825 SHA256 f84d58960d8593a98f02f2a853bed02155d229265d18537ecf7e065681f0bb2d SHA512 ac0c7fb40786a5d344a5c865a4c0b6056fc4308b20afd1b1d7a73cdd9f9455aaf0b7b8f131d84d6e0b47cb56d8377df8c98bef2d6ac4b85a4c81f026538c9386 WHIRLPOOL df216ab23fa177056d80106b50c8ea92e5c12953b528bdf1e2cd6797c28d14caa7a29071720d80a9c7b67122f15d8a310af5604cffb97725b986d04975ae1fb0 +MISC ChangeLog-2015 1540 SHA256 3caa40cde9fa6d0e853e2dca80bd897500e4d0e12f09c3d5b16ef879d6a1e9a0 SHA512 6f3dc01ee9dcdfa8afa510ae936b00c019d9dfd66665c46f83cc5294f091183242395dbe2e6fe6fda6bc159b2bd1e8b59951788e88e471ecbae6da926de26062 WHIRLPOOL d150a19cba5e583250e702cc5e16b33bd28b0b7be207f7888ec98f6746e4f0bac55a550c2b61bb267a0e38fe5f6611d5e9c9d6c8bbc3b1f7fbaccb294029b62e +MISC metadata.xml 214 SHA256 922fd4048dade8049d8a795670d3528355af05c2caf6b808fddce9e569151059 SHA512 bec672c74ddfb91f6939258681767ad87123c2e9c750a2166a101e2a2326619625c92c53a6516e7b4af642194c3b59be1cbe6e952c814768912b9222fc2673a2 WHIRLPOOL 49a0feacecae5648b989013fd730f1b6d9c257d996ae09affa52a66c3a52b6690dd15764b58b88e44f6a2ff01e03b200cc8aad22de0e3ec8dbc694ade3bb7989 diff --git a/dev-libs/granite/files/granite-0.3.0-build-fix.patch b/dev-libs/granite/files/granite-0.3.0-build-fix.patch new file mode 100644 index 000000000000..f93a3c65df33 --- /dev/null +++ b/dev-libs/granite/files/granite-0.3.0-build-fix.patch @@ -0,0 +1,22 @@ +=== modified file 'lib/Widgets/ContractorView.vala' +--- lib/Widgets/ContractorView.vala 2014-09-04 12:39:00 +0000 ++++ lib/Widgets/ContractorView.vala 2015-03-23 05:21:46 +0000 +@@ -35,7 +35,7 @@ + public delegate void ContractCallback (); + private Gee.HashMap outsiders; + private int[] blacklisted_pos; +- private ListStore list; ++ private Gtk.ListStore list; + + private struct DelegateWrapper { unowned ContractCallback method; } + +@@ -73,7 +73,7 @@ + */ + public ContractorView (string filename, string mime, int icon_size = 32, bool show_contract_name = true) { + /* Setup the ListStore */ +- list = new ListStore (2, typeof (Gdk.Pixbuf), typeof (string)); ++ list = new Gtk.ListStore (2, typeof (Gdk.Pixbuf), typeof (string)); + outsiders = new Gee.HashMap (); + this.model = list; + + diff --git a/dev-libs/granite/files/granite-0.3.0-build-fix2.patch b/dev-libs/granite/files/granite-0.3.0-build-fix2.patch new file mode 100644 index 000000000000..7c6bcb9236e5 --- /dev/null +++ b/dev-libs/granite/files/granite-0.3.0-build-fix2.patch @@ -0,0 +1,13 @@ +=== modified file 'lib/Widgets/DynamicNotebook.vala' +--- lib/Widgets/DynamicNotebook.vala 2014-08-30 13:28:37 +0000 ++++ lib/Widgets/DynamicNotebook.vala 2014-09-23 13:43:11 +0000 +@@ -941,7 +941,7 @@ + notebook.create_window.connect (on_create_window); + } + +- ~Notebook () { ++ ~DynamicNotebook () { + notebook.switch_page.disconnect (on_switch_page); + notebook.page_added.disconnect (on_page_added); + notebook.page_removed.disconnect (on_page_removed); + diff --git a/dev-libs/granite/files/granite-0.3.0-build-fix3.patch b/dev-libs/granite/files/granite-0.3.0-build-fix3.patch new file mode 100644 index 000000000000..145d552c7a04 --- /dev/null +++ b/dev-libs/granite/files/granite-0.3.0-build-fix3.patch @@ -0,0 +1,24 @@ +=== modified file 'lib/Widgets/DynamicNotebook.vala' +--- lib/Widgets/DynamicNotebook.vala 2014-07-31 12:41:52 +0000 ++++ lib/Widgets/DynamicNotebook.vala 2014-08-30 13:28:37 +0000 +@@ -658,10 +658,19 @@ + /** + * The text shown in the add button tooltip + */ ++#if VALA_0_26 ++ public string add_button_tooltip { ++ get { _add_button_tooltip = add_button.tooltip_text; return _add_button_tooltip; } ++ set { add_button.tooltip_text = value; } ++ } ++ // Use temporary field to avoid breaking API this can be dropped while preparing for 0.4 ++ string _add_button_tooltip; ++#else + public string add_button_tooltip { + get { return add_button.tooltip_text; } + set { add_button.tooltip_text = value; } + } ++#endif + + public Tab current { + get { return tabs.nth_data (notebook.get_current_page ()); } + diff --git a/dev-libs/granite/granite-0.2.1.ebuild b/dev-libs/granite/granite-0.2.1.ebuild new file mode 100644 index 000000000000..5cde39d696ef --- /dev/null +++ b/dev-libs/granite/granite-0.2.1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +VALA_MIN_API_VERSION="0.14" + +inherit cmake-utils gnome2-utils multilib vala versionator + +DESCRIPTION="A development library for elementary development" +HOMEPAGE="https://launchpad.net/granite" +SRC_URI="https://launchpad.net/${PN}/$(get_version_component_range 1-2)/${PV}/+download/${P}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 x86" +IUSE="" + +RDEPEND=" + dev-libs/glib:2 + dev-libs/gobject-introspection + dev-libs/libgee:0[introspection] + x11-libs/gtk+:3" +DEPEND="${RDEPEND} + $(vala_depend) + virtual/pkgconfig + sys-devel/gettext" + +DOCS=( AUTHORS ) + +src_prepare() { + vala_src_prepare + sed -i -e "/NAMES/s:valac:${VALAC}:" cmake/FindVala.cmake || die + sed -i -e "/DESTINATION/s:lib:$(get_libdir):" lib/CMakeLists.txt || die + cmake-utils_src_prepare +} + +src_configure() { + mycmakeargs=( + -DLIB_INSTALL_DIR=$(get_libdir) + ) + cmake-utils_src_configure +} + +src_install() { + HTML_DOCS=( doc/. ) + cmake-utils_src_install +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} diff --git a/dev-libs/granite/granite-0.2.3.1.ebuild b/dev-libs/granite/granite-0.2.3.1.ebuild new file mode 100644 index 000000000000..70b6abf0e83d --- /dev/null +++ b/dev-libs/granite/granite-0.2.3.1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +VALA_MIN_API_VERSION=0.16 + +inherit cmake-utils gnome2-utils multilib vala versionator + +DESCRIPTION="A development library for elementary development" +HOMEPAGE="https://launchpad.net/granite" +SRC_URI="https://launchpad.net/${PN}/$(get_version_component_range 1-2)/${PV}/+download/${P}.tgz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" + +RDEPEND=">=dev-libs/glib-2.32 + dev-libs/gobject-introspection + dev-libs/libgee:0[introspection] + >=x11-libs/gtk+-3.3.14:3" +DEPEND="${RDEPEND} + $(vala_depend) + sys-devel/gettext + virtual/pkgconfig" + +DOCS=( AUTHORS ) + +src_prepare() { + vala_src_prepare + sed -i -e "/NAMES/s:valac:${VALAC}:" cmake/FindVala.cmake || die + cmake-utils_src_prepare +} + +src_configure() { + mycmakeargs=( + -DLIB_INSTALL_DIR=$(get_libdir) + ) + cmake-utils_src_configure +} + +src_install() { + HTML_DOCS=( doc/. ) + cmake-utils_src_install +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} diff --git a/dev-libs/granite/granite-0.3.0.ebuild b/dev-libs/granite/granite-0.3.0.ebuild new file mode 100644 index 000000000000..1c0f1295ae48 --- /dev/null +++ b/dev-libs/granite/granite-0.3.0.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +VALA_MIN_API_VERSION="0.24" + +inherit cmake-utils gnome2-utils multilib vala versionator + +DESCRIPTION="A development library for elementary development" +HOMEPAGE="https://launchpad.net/granite" +SRC_URI="https://launchpad.net/${PN}/$(get_version_component_range 1-2)/$(get_version_component_range 1-2)/+download/${P}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" + +RDEPEND=" + >=dev-libs/glib-2.32:2 + dev-libs/gobject-introspection:= + dev-libs/libgee:0.8[introspection] + >=x11-libs/gtk+-3.11.6:3 +" +DEPEND="${RDEPEND} + $(vala_depend) + sys-devel/gettext + virtual/pkgconfig +" + +DOCS=( AUTHORS ) +PATCHES=( + # https://bugs.launchpad.net/granite/+bug/1453526 + "${FILESDIR}"/${P}-build-fix{,2,3}.patch +) + +src_prepare() { + vala_src_prepare + sed -i -e "/NAMES/s:valac:${VALAC}:" cmake/FindVala.cmake || die + cmake-utils_src_prepare +} + +src_configure() { + mycmakeargs=( + -DLIB_INSTALL_DIR=$(get_libdir) + ) + cmake-utils_src_configure +} + +src_install() { + HTML_DOCS=( doc/. ) + cmake-utils_src_install +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} diff --git a/dev-libs/granite/metadata.xml b/dev-libs/granite/metadata.xml new file mode 100644 index 000000000000..87ed66a6e737 --- /dev/null +++ b/dev-libs/granite/metadata.xml @@ -0,0 +1,7 @@ + + + + + granite + + diff --git a/dev-libs/grantlee/Manifest b/dev-libs/grantlee/Manifest new file mode 100644 index 000000000000..78f864803999 --- /dev/null +++ b/dev-libs/grantlee/Manifest @@ -0,0 +1,7 @@ +AUX grantlee-0.3.0-nonfatal-warnings.patch 695 SHA256 d46ac901997fdbe82cf459711a937fa0eb12a064bff98bfa800098e670c78f89 SHA512 1a58a8bc28f4833f0a8562a06e6da4e9e150b3945077223ec4267bbaa5670cedc62d3356e1e61a93f9d60e9e887e99e28c35b13a50d42249a5694cd55c6242de WHIRLPOOL 2eb6533886010f2745ad5e526b55933a41a2e5c5ca90c83935bb5bafa07a20951bf04191c42d10138365da499138a3c2e1838dcee400df9fcb060094afd3abcc +AUX grantlee-5.1.0-slot.patch 1616 SHA256 807d21358756d93f61ff9b21498a444cf5832f57fa8e8faf211d070123e6754e SHA512 62ec0d0e510fc7aaecfb2eaf9e52b395070833732aa840ff8fc4b4bb94b6716fe59765a7413263c2a6edb073cc379141955a99860c0fcf592d6f5227493482e1 WHIRLPOOL 38c586469e36c9dd351734abeb7811979ece979b0e82de1be06fe212aad932abeb96a4eaad345d23933e537d316fbe88111558689314ccfc6d51d66d2e3f0b7a +DIST grantlee-5.1.0.tar.gz 1175380 SHA256 ea2e402466c74bb533eee2c7252209ec61cd93a5d236fecd625b4a0eb13a1478 SHA512 2b806a0770b9c6d02f207d5b4939ae8cae325de4fa01901320ffef5c8442ef0f1c10dd799966d0bf0d223e6541f93db8568aaf922ea1b334bcb2f85f6373a936 WHIRLPOOL bbe96918cc28e5ab0112f4d5b6bca33825110997d3b91f009f699620168bc7310fe72e3b04fc5dcb93681196d6f2a02df29163b0dfcb5ab8816cba2755afe3c5 +EBUILD grantlee-5.1.0.ebuild 1053 SHA256 5ea6164fc4f9ced7baf38e38e540e5e2ed86722d688c379262793aafdff03d33 SHA512 99c72fcb3721829b0a436a4fc478c6c92150cc906edc5c63b46aa1165e8fd678bfc7065566e5877f4c9a65cacf0161ac3fcffcc8efc367a02fb460e1c883c5c1 WHIRLPOOL 2e23ddcf960e09215aea2bd82a08c712d2efacd3cf1adbcd94d24bec680371979f692e30ffe09ae25fa398f022bf41a10952fdefd039d118a60db0356a6a5d73 +MISC ChangeLog 4171 SHA256 217915ee421b0e5428ba2a270c19bc5797d82dc2998031572a5810fe3abf21d1 SHA512 1c5aa13f885e217c675fd0bb380834b52ec098534210be21385d92e6f3e7c4f4dbdb767b9b7b8feb2daf50e00ac80efe12594ae81b5bf5fa474d187b636b04f7 WHIRLPOOL b020bc7fb7deb3175a5cea1a72edeb368b68224768e08fab06153ac190a3c0db205b712e49a87016b67f2b06f94f831924d63aea060da69f20b50c45dc482358 +MISC ChangeLog-2015 4622 SHA256 ee2d9067c7f3d593b37b12bb1b201b53e9f85462ac3ea7ed41b5edb8050ecf2b SHA512 e76422b2f73edfa66468d36bc583c3abdcebe68bf1ad8a0943ef3da3bc13e67cf0fc9ccf2c5eb81b9ceefd9119482863b60f825b2c37079094a408b247b167a0 WHIRLPOOL 0734598c2c77f15128f0ec166db304409cfd498a0f0665c4f2079982e290dfa6aaf92cd912cc0a8865f08dcd109ffd1ac054be7368fc15179eff4884182f9874 +MISC metadata.xml 331 SHA256 221fc8a766dc1a3f14a0ef792e2193d5db087e1fdcacb85a37177b34b49ae010 SHA512 073a759e22f25e29be31689015b96dd3c8ab4748d59c31fabfc6a7c43cea6ca2a0a0f48ae49b36cc2a835d97fc2ea5a2f2a790a3cf74fb4d16e1e0f5d771b1b6 WHIRLPOOL ef453e3641a18cc400007975277a2bef8f022bff4e049da6c7e10588473f6e0c28deebcf42ec3fec9efd377202953ea4ef7ca2a24b6a4e3e93e0efc14452a379 diff --git a/dev-libs/grantlee/files/grantlee-0.3.0-nonfatal-warnings.patch b/dev-libs/grantlee/files/grantlee-0.3.0-nonfatal-warnings.patch new file mode 100644 index 000000000000..a25f52b3c63d --- /dev/null +++ b/dev-libs/grantlee/files/grantlee-0.3.0-nonfatal-warnings.patch @@ -0,0 +1,14 @@ +diff -ruN grantlee-0.3.0.orig/CMakeLists.txt grantlee-0.3.0/CMakeLists.txt +--- grantlee-0.3.0.orig/CMakeLists.txt 2012-11-01 21:14:18.000000000 +0100 ++++ grantlee-0.3.0/CMakeLists.txt 2013-03-09 12:25:56.498096399 +0100 +@@ -62,8 +62,8 @@ + endif() + + if (NOT APPLE) +- set ( CMAKE_SHARED_LINKER_FLAGS "-Wl,--fatal-warnings -Wl,--no-undefined ${CMAKE_SHARED_LINKER_FLAGS}") +- set ( CMAKE_MODULE_LINKER_FLAGS "-Wl,--fatal-warnings -Wl,--no-undefined ${CMAKE_MODULE_LINKER_FLAGS}") ++ set ( CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined ${CMAKE_SHARED_LINKER_FLAGS}") ++ set ( CMAKE_MODULE_LINKER_FLAGS "-Wl,--no-undefined ${CMAKE_MODULE_LINKER_FLAGS}") + endif () + + if (NOT MINGW) diff --git a/dev-libs/grantlee/files/grantlee-5.1.0-slot.patch b/dev-libs/grantlee/files/grantlee-5.1.0-slot.patch new file mode 100644 index 000000000000..5b0d61d5c1eb --- /dev/null +++ b/dev-libs/grantlee/files/grantlee-5.1.0-slot.patch @@ -0,0 +1,39 @@ +Install headers to a custom location to permit slotting with Qt4 version. + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 1324566..f98d5da 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -100,7 +100,7 @@ set (LIB_SUFFIX "" CACHE STRING "Define suffix of library directory name (eg. '6 + set( LIB_INSTALL_DIR lib${LIB_SUFFIX} ) + set( PLUGIN_INSTALL_DIR ${LIB_INSTALL_DIR}/grantlee/${Grantlee5_MAJOR_MINOR_VERSION_STRING} ) + set( BIN_INSTALL_DIR bin ) +-set( INCLUDE_INSTALL_DIR include ) ++set( INCLUDE_INSTALL_DIR include/grantlee5 ) + set( DATA_INSTALL_DIR share/apps ) + + # set up RPATH/install_name_dir +diff --git a/templates/lib/CMakeLists.txt b/templates/lib/CMakeLists.txt +index dad2ef8..434d163 100644 +--- a/templates/lib/CMakeLists.txt ++++ b/templates/lib/CMakeLists.txt +@@ -107,6 +107,7 @@ if (Qt5Script_FOUND) + + target_sources(Grantlee_Templates PRIVATE ${scriptabletags_SRCS}) + target_include_directories(Grantlee_Templates PRIVATE ../scriptabletags) ++ target_include_directories(Grantlee_Templates INTERFACE "$") + target_link_libraries(Grantlee_Templates + LINK_PRIVATE Qt5::Script + ) +diff --git a/textdocument/lib/CMakeLists.txt b/textdocument/lib/CMakeLists.txt +index 557d262..d2dbaa1 100644 +--- a/textdocument/lib/CMakeLists.txt ++++ b/textdocument/lib/CMakeLists.txt +@@ -42,6 +42,7 @@ if (CMAKE_GENERATOR MATCHES "Visual Studio") + ) + endforeach() + endif() ++target_include_directories(Grantlee_TextDocument INTERFACE "$") + + target_link_libraries(Grantlee_TextDocument + LINK_PUBLIC Qt5::Gui diff --git a/dev-libs/grantlee/grantlee-5.1.0.ebuild b/dev-libs/grantlee/grantlee-5.1.0.ebuild new file mode 100644 index 000000000000..553658e457e5 --- /dev/null +++ b/dev-libs/grantlee/grantlee-5.1.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +VIRTUALX_REQUIRED="test" +inherit cmake-utils virtualx + +DESCRIPTION="C++ string template engine based on the Django template system" +HOMEPAGE="https://github.com/steveire/grantlee" +SRC_URI="http://downloads.grantlee.org/${P}.tar.gz" + +LICENSE="LGPL-2.1+" +SLOT="5" +KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 x86" +IUSE="debug doc test" + +RDEPEND=" + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtscript:5 +" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen[dot] ) + test? ( dev-qt/qttest:5 ) +" + +DOCS=( AUTHORS CHANGELOG README.md ) + +PATCHES=( + "${FILESDIR}/${PN}-0.3.0-nonfatal-warnings.patch" + "${FILESDIR}/${PN}-5.1.0-slot.patch" +) + +src_configure() { + local mycmakeargs=( + -DBUILD_TESTS=$(usex test) + ) + + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile + + use doc && cmake-utils_src_compile docs +} + +src_test() { + virtx cmake-utils_src_test +} + +src_install() { + use doc && HTML_DOCS=("${BUILD_DIR}/apidox/") + + cmake-utils_src_install +} diff --git a/dev-libs/grantlee/metadata.xml b/dev-libs/grantlee/metadata.xml new file mode 100644 index 000000000000..060fd39bc3e2 --- /dev/null +++ b/dev-libs/grantlee/metadata.xml @@ -0,0 +1,11 @@ + + + + + kde@gentoo.org + Gentoo KDE Project + + + steveire/grantlee + + diff --git a/dev-libs/grok/Manifest b/dev-libs/grok/Manifest new file mode 100644 index 000000000000..16bc61473720 --- /dev/null +++ b/dev-libs/grok/Manifest @@ -0,0 +1,10 @@ +AUX 0.9.2-Makefile.patch 2076 SHA256 6ce3d8e1337e75ace8215799e57a99475acacc7852398793e3525776ab7069cd SHA512 d1b56f1fe577f9dba9a5fa4b79589d8c51a47baaa80fafeaa3ec8b0660f0e329ec0d44e5b3f1cae4c2cacd877497c499d1400cc996635f82262898e06c1507bb WHIRLPOOL b9aa343c4a821a1b13a5999c0bbbcd5ef69fc6f55c560d8dd7992f338451d533b78f190694a3b0525ce618826616f4d8f4916fec2db9bb4135a4c8e2c070d9fd +AUX 0.9.2-build-with-pcre-lt-8.34.patch 391 SHA256 6bd6f1c4c33abaf4f5052edd624f4787e2c7a47e02594a81d1cd9d9d3c736c97 SHA512 67c5f3d66536946d09c2a7b3e34dcb6d68a2cff019acbf31cafc088864eb38537e5eb09cde4a57627601057123a7748f49a6d0f9563cfed5cddb505c236c93f4 WHIRLPOOL c0c3e0b09af8991c78494ae5445278877e0e2601003b67defeabc3b3072d5cd61338de6035b4bc9126a825d4ea58aa95e3088f863ef0c5cff30e36301d80c937 +AUX grok-0.9.2-Makefile.patch 1969 SHA256 c251e9f459afc2415dbbe42d7ff988413f210b660b82de4bff64db5956c1d10b SHA512 7ae93d4e7f4052c0f43581c9e2434985665398dbdf408a2dcd164b021f9abb54d35fae546f880debf80ae10e2620c3620423723c4489fc55ee9f6bca77ffa913 WHIRLPOOL 4132dc055a5af28cff6463ee5f95af3708bdbf0558d09942ca83d945b4d1865d0eac8d9bdfa00aa52dd91903b549e311f0c89b763004ec4db607aaf7c283ebc5 +AUX grok-0.9.2-build-with-gperf-3.1.patch 867 SHA256 956f10289edad78de197cc456c35321aa35a11d93a46bf23522f98601882cdf9 SHA512 6074c5ef9da13d874716b07d0796396c5974088ce2faf52835e9735378a4896ac21dbd8899b0eb2c221ab01cbc29ed9ca25c42814082aa5c6c98e515dc7cb8c2 WHIRLPOOL 9770a1ca5354d0e3fc2282e9612af5ac3902346789761414e70e35c93e44fc65a99c28512e8e5d2fe5badf1576b1bfb5ae082e26f0f82bec33044f93ecffa404 +DIST grok-0.9.2.tar.gz 243554 SHA256 40edbdba488ff9145832c7adb04b27630ca2617384fbef2af014d0e5a76ef636 SHA512 91d410259e89de6fbab011691cf56497158bc7a508194e6d17a2b32c8b70650be3b40c4792390589929b0f553a92b81cd3981e84ddcbe6a6ea80ab8fcdb38b2e WHIRLPOOL 90d0fb5418491435b57335792626d633edc50f348ba4a211a53f3c9acd46f5633b19b9d77642e787dd50e5feed57c2a5bbc78aeea1288c1b146a47e32c62317c +EBUILD grok-0.9.2-r1.ebuild 797 SHA256 6ee4893d8b356d4502fe2e85b965e0f689006deeb53d09582bce69b11ed2bd52 SHA512 4ec5c6a91ae7eefccf96fb686665bc19a64d3758bbcd63bd1b37bef7825458c9cd7a23c0bbb9b17e96bcb6137aa096b8ca09230de902b49b7f515c38ade25d2b WHIRLPOOL c510b8eae48e71230df20ee048a76d9ebe9e2f24e01c23581b57ab44bf5c17367ea93387ef90bd77c2c3cc2477325a27ae06268cc26116f2d5994c92149c2938 +EBUILD grok-0.9.2.ebuild 660 SHA256 3ba8ee6c8e490126ca8508d0ffcea0984bc03497bb02b2a7e9af41e3e1c95d41 SHA512 cd035ee0106ddbfa87bdd216dabeb1ae4e43e22720e266b1c8311ae9a152fec1b9944542e51b901c249930d59dbe8d8724a303e44410fae993afcb6918445ce3 WHIRLPOOL dd974fbd957f9b75e488df2110ede36dc808bfb5c9c0b8d05649a4b17ee41e2cbfd8c04a5ff5d40466b01b605dd461a612db843e48f85ac458128ee7567f782c +MISC ChangeLog 2994 SHA256 499627f469be21d4326b6620b869d53ab1070e7c8b26575589ea9b5fd38cfa57 SHA512 0ead2bf87f5456a69eae29ff57063257558b4155ece320c33f67f8bf54a815e70c86963b57b151ce65eb9cb7a901e91918aa45b8bf09ea0e022bf03131fee9d4 WHIRLPOOL 48ea4152aa0496e8c77af4aeba2151bfbd585c39ef8a32525861ce4bb2abc1156f3b3ffc27557e350b15f91d108e21e74c9c783d38ef16c803a7f61e56f3d05c +MISC ChangeLog-2015 698 SHA256 f9495392b5fe8ee09cf1bd605298da72e36fc892281d540275a80f83870a31d1 SHA512 13fb09a90e64e86178600579bbc597e5ce07c4dff61663acff197f10d244289b06541af8052f4217ba262d5955bf6651e33a1256d084be25f2d5c97ae8ec693a WHIRLPOOL 06af8fc2bcf629a1ec549bd1c7ec43d20bd38520afd35e5579c4cfe187e0a43c95343d0c63f90ab0bb812a298f72515838216a0b0258077da8b042718406bc1f +MISC metadata.xml 346 SHA256 7dd2f6f3e729bacb3bf243988aa70d840c20fc10b68565b704fe5e6900c006cc SHA512 3f812f7a83ed6efec014022afe74606b1ec14376b34ba35ee1c24a88c8e6f1e492eeb439182fdc847bbf3ec2071937ceaaca30760bae8a9e6b1b19a89b38def7 WHIRLPOOL 498d2746ee9cb85e8b0d77651fecc7e16ece7417aeec4c6057ec7cb3a7765afca884952b47cd49c106500d97a8f90ef78dcca1138a6c907afcd6af0073714fef diff --git a/dev-libs/grok/files/0.9.2-Makefile.patch b/dev-libs/grok/files/0.9.2-Makefile.patch new file mode 100644 index 000000000000..f10531646ad0 --- /dev/null +++ b/dev-libs/grok/files/0.9.2-Makefile.patch @@ -0,0 +1,65 @@ +diff --git a/grok-0.9.2/Makefile b/grok-0.9.2/Makefile +index adfe869..fdced25 100644 +--- a/grok-0.9.2/Makefile ++++ b/grok-0.9.2/Makefile +@@ -25,10 +25,12 @@ else + GPERF?=/usr/bin/gperf + endif + ++LIBS=-lpcre -levent -rdynamic -ltokyocabinet ++ + # For linux, we need libdl for dlopen() + # On FreeBSD, comment this line out. + ifeq ($(PLATFORM), GNULinux) +-LDFLAGS+=-ldl ++LIBS+=-ldl + endif + + # ############################################# +@@ -41,8 +43,7 @@ VERSION=$(shell sh $(BASE)/version.sh) + #CFLAGS+=-g + #LDFLAGS+=-g + +-CFLAGS+=-pipe -fPIC -I. -O2 +-LDFLAGS+=-lpcre -levent -rdynamic -ltokyocabinet ++CFLAGS+=-fPIC -I. + + LIBSUFFIX=$(shell sh $(BASE)/platform.sh libsuffix) + VERLIBSUFFIX=$(shell sh $(BASE)/platform.sh libsuffix $(MAJOR)) +@@ -50,8 +51,8 @@ DYNLIBFLAG=$(shell sh $(BASE)/platform.sh dynlibflag) + LIBNAMEFLAG=$(shell sh $(BASE)/platform.sh libnameflag $(MAJOR) $(INSTALLLIB)) + + # Sane includes +-CFLAGS+=-I/usr/local/include +-LDFLAGS+=-L/usr/local/lib ++#CFLAGS+=-I/usr/local/include ++#LDFLAGS+=-L/usr/local/lib + + # Platform so we know what to dlopen + CFLAGS+=-DPLATFORM_$(PLATFORM) +@@ -97,6 +98,7 @@ install: libgrok.$(LIBSUFFIX) grok discogrok $(GROKHEADER) + install -m 755 grok $(DESTDIR)$(PREFIX)/bin + install -m 755 discogrok $(DESTDIR)$(PREFIX)/bin + install -m 644 libgrok.$(LIBSUFFIX) $(DESTDIR)$(PREFIX)/lib ++ ln -s libgrok.$(LIBSUFFIX) $(DESTDIR)$(PREFIX)/lib/libgrok.$(LIBSUFFIX).1 + for header in $(GROKHEADER); do \ + install -m 644 $$header $(DESTDIR)$(PREFIX)/include; \ + done +@@ -162,14 +164,14 @@ cleanver: + # Binary creation + grok: LDFLAGS+=-levent + grok: $(GROKOBJ) conf.tab.o conf.yy.o main.o grok_config.o +- $(CC) $(LDFLAGS) $^ -o $@ ++ $(CC) $(LDFLAGS) $^ $(LIBS) -o $@ + + discogrok: $(GROKOBJ) discover_main.o +- $(CC) $(LDFLAGS) $^ -o $@ ++ $(CC) $(LDFLAGS) $^ $(LIBS) -o $@ + + libgrok.$(LIBSUFFIX): + libgrok.$(LIBSUFFIX): $(GROKOBJ) +- $(CC) $(LDFLAGS) -fPIC $(DYNLIBFLAG) $(LIBNAMEFLAG) $^ -o $@ ++ $(CC) $(LDFLAGS) -fPIC $(DYNLIBFLAG) $(LIBNAMEFLAG) $^ $(LIBS) -o $@ + + libgrok.$(VERLIBSUFFIX): libgrok.$(LIBSUFFIX); + ln -s $< $@ diff --git a/dev-libs/grok/files/0.9.2-build-with-pcre-lt-8.34.patch b/dev-libs/grok/files/0.9.2-build-with-pcre-lt-8.34.patch new file mode 100644 index 000000000000..1593ac309817 --- /dev/null +++ b/dev-libs/grok/files/0.9.2-build-with-pcre-lt-8.34.patch @@ -0,0 +1,15 @@ +https://github.com/jordansissel/grok/commit/44ce9372a29319c01d4ac7f24287fb36315e0e34 + +--- a/grokre.c ++++ b/grokre.c +@@ -12,8 +12,8 @@ + + /* global, static variables */ + +-#define CAPTURE_ID_LEN 4 +-#define CAPTURE_FORMAT "%04x" ++#define CAPTURE_ID_LEN 5 ++#define CAPTURE_FORMAT "_%04x" + + /* internal functions */ + static char *grok_pattern_expand(grok_t *grok); //, int offset, int length); diff --git a/dev-libs/grok/files/grok-0.9.2-Makefile.patch b/dev-libs/grok/files/grok-0.9.2-Makefile.patch new file mode 100644 index 000000000000..8d9351c8c0f8 --- /dev/null +++ b/dev-libs/grok/files/grok-0.9.2-Makefile.patch @@ -0,0 +1,63 @@ +--- a/Makefile ++++ b/Makefile +@@ -25,10 +25,12 @@ else + GPERF?=/usr/bin/gperf + endif + ++LIBS=-lpcre -levent -rdynamic -ltokyocabinet ++ + # For linux, we need libdl for dlopen() + # On FreeBSD, comment this line out. + ifeq ($(PLATFORM), GNULinux) +-LDFLAGS+=-ldl ++LIBS+=-ldl + endif + + # ############################################# +@@ -41,8 +43,7 @@ VERSION=$(shell sh $(BASE)/version.sh) + #CFLAGS+=-g + #LDFLAGS+=-g + +-CFLAGS+=-pipe -fPIC -I. -O2 +-LDFLAGS+=-lpcre -levent -rdynamic -ltokyocabinet ++CFLAGS+=-fPIC -I. + + LIBSUFFIX=$(shell sh $(BASE)/platform.sh libsuffix) + VERLIBSUFFIX=$(shell sh $(BASE)/platform.sh libsuffix $(MAJOR)) +@@ -50,8 +51,8 @@ DYNLIBFLAG=$(shell sh $(BASE)/platform.sh dynlibflag) + LIBNAMEFLAG=$(shell sh $(BASE)/platform.sh libnameflag $(MAJOR) $(INSTALLLIB)) + + # Sane includes +-CFLAGS+=-I/usr/local/include +-LDFLAGS+=-L/usr/local/lib ++#CFLAGS+=-I/usr/local/include ++#LDFLAGS+=-L/usr/local/lib + + # Platform so we know what to dlopen + CFLAGS+=-DPLATFORM_$(PLATFORM) +@@ -97,6 +98,7 @@ install: libgrok.$(LIBSUFFIX) grok discogrok $(GROKHEADER) + install -m 755 grok $(DESTDIR)$(PREFIX)/bin + install -m 755 discogrok $(DESTDIR)$(PREFIX)/bin + install -m 644 libgrok.$(LIBSUFFIX) $(DESTDIR)$(PREFIX)/lib ++ ln -s libgrok.$(LIBSUFFIX) $(DESTDIR)$(PREFIX)/lib/libgrok.$(LIBSUFFIX).1 + for header in $(GROKHEADER); do \ + install -m 644 $$header $(DESTDIR)$(PREFIX)/include; \ + done +@@ -162,14 +164,14 @@ cleanver: + # Binary creation + grok: LDFLAGS+=-levent + grok: $(GROKOBJ) conf.tab.o conf.yy.o main.o grok_config.o +- $(CC) $(LDFLAGS) $^ -o $@ ++ $(CC) $(LDFLAGS) $^ $(LIBS) -o $@ + + discogrok: $(GROKOBJ) discover_main.o +- $(CC) $(LDFLAGS) $^ -o $@ ++ $(CC) $(LDFLAGS) $^ $(LIBS) -o $@ + + libgrok.$(LIBSUFFIX): + libgrok.$(LIBSUFFIX): $(GROKOBJ) +- $(CC) $(LDFLAGS) -fPIC $(DYNLIBFLAG) $(LIBNAMEFLAG) $^ -o $@ ++ $(CC) $(LDFLAGS) -fPIC $(DYNLIBFLAG) $(LIBNAMEFLAG) $^ $(LIBS) -o $@ + + libgrok.$(VERLIBSUFFIX): libgrok.$(LIBSUFFIX); + ln -s $< $@ diff --git a/dev-libs/grok/files/grok-0.9.2-build-with-gperf-3.1.patch b/dev-libs/grok/files/grok-0.9.2-build-with-gperf-3.1.patch new file mode 100644 index 000000000000..89300eb5f6e9 --- /dev/null +++ b/dev-libs/grok/files/grok-0.9.2-build-with-gperf-3.1.patch @@ -0,0 +1,26 @@ +Closes: https://github.com/jordansissel/grok/issues/28 +Closes: https://github.com/jordansissel/grok/issues/29 + +--- a/Makefile ++++ b/Makefile +@@ -213,8 +213,8 @@ grok_capture_xdr.h: grok_capture.x + rpcgen -h $< -o $@ + + %.c: %.gperf +- @if $(GPERF) --version | head -1 | egrep -v '3\.[0-9]+\.[0-9]+' ; then \ +- echo "We require gperf version >= 3.0.3" ; \ ++ @if $(GPERF) --version | head -1 | grep --quiet -E '[0-2]\.[0-9]\.[0-9]+|3\.0\.[0-9]+' ; then \ ++ echo "We require gperf version >= 3.1.0" ; \ + exit 1; \ + fi + $(GPERF) $< > $@ +--- a/grok_matchconf_macro.h ++++ b/grok_matchconf_macro.h +@@ -19,6 +19,6 @@ struct strmacro { + #endif + + /* this function is generated by gperf */ +-const struct strmacro *patname2macro(const char *str, unsigned int len); ++const struct strmacro *patname2macro(const char *str, size_t len); + + #endif /* _GROK_MATCHCONF_MACRO_ */ diff --git a/dev-libs/grok/grok-0.9.2-r1.ebuild b/dev-libs/grok/grok-0.9.2-r1.ebuild new file mode 100644 index 000000000000..967671141eed --- /dev/null +++ b/dev-libs/grok/grok-0.9.2-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit toolchain-funcs + +DESCRIPTION="DRY and RAD for regular expressions" +HOMEPAGE="https://github.com/jordansissel/grok https://code.google.com/p/semicomplete/wiki/Grok" +SRC_URI="https://github.com/jordansissel/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~x86" + +IUSE="" + +CDEPEND="dev-db/tokyocabinet + >=dev-libs/libevent-1.3:= + >=dev-libs/libpcre-7.6" + +RDEPEND="${CDEPEND}" +DEPEND="${CDEPEND} + >=dev-util/gperf-3.1" + +PATCHES=( + "${FILESDIR}"/grok-0.9.2-Makefile.patch + "${FILESDIR}"/0.9.2-build-with-pcre-lt-8.34.patch + "${FILESDIR}"/grok-0.9.2-build-with-gperf-3.1.patch +) + +src_prepare() { + default + + tc-export CC +} diff --git a/dev-libs/grok/grok-0.9.2.ebuild b/dev-libs/grok/grok-0.9.2.ebuild new file mode 100644 index 000000000000..1981d7238fac --- /dev/null +++ b/dev-libs/grok/grok-0.9.2.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils toolchain-funcs + +DESCRIPTION="DRY and RAD for regular expressions" +HOMEPAGE="https://github.com/jordansissel/grok https://code.google.com/p/semicomplete/wiki/Grok" +SRC_URI="https://github.com/jordansissel/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 arm hppa x86" + +IUSE="" + +CDEPEND="dev-db/tokyocabinet + >=dev-libs/libevent-1.3:= + >=dev-libs/libpcre-7.6" + +RDEPEND="${CDEPEND}" +DEPEND="${CDEPEND} + + + + + ercpe@gentoo.org + Johann Schmitz (ercpe) + + + jordansissel/grok + + diff --git a/dev-libs/gtx/Manifest b/dev-libs/gtx/Manifest new file mode 100644 index 000000000000..88214d1e2003 --- /dev/null +++ b/dev-libs/gtx/Manifest @@ -0,0 +1,8 @@ +AUX gtx-0.2.2-debug.patch 824 SHA256 d70a3b4a7361cdf1f664499c5492dfcf448561385c82a46b829ea4e82707114e SHA512 26b5e54e3d0a08633896c6d825faf0c3599f4727d5285f89627dbc50c6459222e20079cd3fdeff7f084acce43f53d01ed00d205a7881663388841517e6ad2c37 WHIRLPOOL 42dfcdabe7bdb8362129bd2f3069f331fc8a32648578bae1245d55df7421cca22ffb1e73ac9ae79b80f784b5a956c14b87ec781a078d2b94162a3b7eac3b5143 +AUX gtx-0.2.2-docdir.patch 354 SHA256 860b361377f17b1cf6522291166f8892de947308f4934de5fc33723362790ab0 SHA512 3107bd3cc76fcdf008cf3a0f0a11c2d3761ba164158f7768f597d6f79a60c7cab8a420b6a7c41a7c5e2f0d42811531fb5be769ceceaba7e9fc2c0e4d70c5c522 WHIRLPOOL e8df47bcfdce62711a2a1fddd6286cbc05512179354d464b8bb2cc68ee2f39ae63722a201f014fb125913e220b5bc97cc469a7c8058c1bac078a09c45ad6d1c1 +AUX gtx-0.2.2-glib.h.patch 277 SHA256 f8ffd83d9277cac6af651aa2b03986bc8275c246288b97c4e7b838db0ec4bb06 SHA512 fb8581fee93122b2163472bb4c873ede049d42e00882633943c96e9aeb74fece1a1b8e2ef16d107eb765ecccf29aea250fc0948cd21cfe17b33e191c1699daba WHIRLPOOL d53210ecaaff046fd87e316dac3f9ca0d24be21af1532a07cdda88b186b639a3a533491106ede55e2d291660bb9827aafe99ef048901fbee63a9e38473910b27 +DIST gtx-0.2.2.tar.gz 306024 SHA256 760cab2c8017683f7b9388c7c6759eb4787f853493faee0667c065b28bdd9f44 SHA512 737e21c66388f520c9d6812f3478e583940e9558646b4f3281306e3a946d4fb87719a48c1ac5fb1e38e9e465dfd1f82dea90badb3b321c0ee6b1dd105a9329cb WHIRLPOOL ff44341af74a461a5d77a84620708d7c220f2f60b81ae219d59f8e9a70a21d5ff70f2823d5a17f27d8b86c1d1eefa7199395c595115ea95db4c34391ab9156dd +EBUILD gtx-0.2.2.ebuild 761 SHA256 a6cee0c8c67b3ee5ded47cdadb1185441ccd80295753f3f501930260674495ef SHA512 a5d181b46f89e4fd8ca76065ed1fa4fd5a3f0c0578af3fa201afc0aea9dea5f595f95b464ff5ab9bb035596dcdde2a1249e1d55b60ea3fd20bd3a503182a3f70 WHIRLPOOL d3bc8cdb70cde54450dbd60710dc6aef560f7ae6855ff399208708b9c03930284f3046e93e88c6f53ee018fcbeb563bc5ff14ed0d39b148464b5225226178ddc +MISC ChangeLog 2649 SHA256 c1cc3da1a9fa6e40a7be7e5fe20e82f99607c972af1c853b7224159f36481d49 SHA512 0ab2459f5a5c4e7dd01a5f7b5ae726cb5a9a21a29c00230fb5acbfdb39314c2ca8b56d1a7e4a77c6836f0a5ac6f07fcefa7f1a134716e4c65c511719bf95eb6c WHIRLPOOL f567b2177413b9468cefb3435d4bf9978e40c431315a3533eb256fc1c13db1fadf20acac2aa63b986f572c75e6f01e65b1066d8cd8b40016c1efa538a27648f9 +MISC ChangeLog-2015 1280 SHA256 ff44e67f1d185c3bd5d0b0a9bd8603f095dfb3ad926ceb4bbd7b194b86b2b524 SHA512 d8f6dfb1986b102f0e2406e608ec16530be389077fb68ae694f34c925801936c01f421e8f7dc1919d9aa0fcaefe980b05bbb1597553b1641a9f1963f75bf965b WHIRLPOOL a093697af3f948fbcbc3e37846270d1f87ffa6c46b60208e133e0cac70b2f73569fd34cc042fc0a16a08924251f3fc8e9f812e4ccf0351913f57585dc3288701 +MISC metadata.xml 556 SHA256 d5dafc69603e352cc4c92fc14e21c51cae5c57d1efa23d558d5cfb2c41f07edf SHA512 b57d6e9203c1833935e561c5479d7dddd88ac5514aee2d1c95304ec3b60ee85f743916b19f23f4a3633d64823151bd4dd256da73db12ad5a6bad670df16a6808 WHIRLPOOL f2a9f6b0d38d5c243d4f33da85a2684a09580167fb6b8284228c9ce65e8b5bc6d6a6d201ffa76f9f59b3d6573787472a5af3c169beb72865014ddadc048d2be8 diff --git a/dev-libs/gtx/files/gtx-0.2.2-debug.patch b/dev-libs/gtx/files/gtx-0.2.2-debug.patch new file mode 100644 index 000000000000..73f6dfaaad2e --- /dev/null +++ b/dev-libs/gtx/files/gtx-0.2.2-debug.patch @@ -0,0 +1,40 @@ + Makefile.am | 3 +-- + examples/Makefile.am | 5 ++--- + src/Makefile.am | 3 +-- + 3 files changed, 4 insertions(+), 7 deletions(-) + +diff --git a/examples/Makefile.am b/examples/Makefile.am +index e6bba05..67274c1 100644 +--- a/examples/Makefile.am ++++ b/examples/Makefile.am +@@ -8,8 +8,7 @@ noinst_PROGRAMS = \ + command + + AM_CFLAGS =\ +- -Wall \ +- -g ++ -Wall + + simple_SOURCES = \ + simple.c +@@ -30,4 +29,4 @@ command_SOURCES = \ + + command_LDADD = \ + $(GTX_LIBS) \ +- $(top_builddir)/src/libgtx.la +\ No newline at end of file ++ $(top_builddir)/src/libgtx.la +diff --git a/src/Makefile.am b/src/Makefile.am +index f5f873e..a40d772 100644 +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -4,8 +4,7 @@ INCLUDES = \ + $(GTX_CFLAGS) + + AM_CFLAGS =\ +- -Wall \ +- -g ++ -Wall + + # + # Headers to be installed diff --git a/dev-libs/gtx/files/gtx-0.2.2-docdir.patch b/dev-libs/gtx/files/gtx-0.2.2-docdir.patch new file mode 100644 index 000000000000..e6f9a196f9f5 --- /dev/null +++ b/dev-libs/gtx/files/gtx-0.2.2-docdir.patch @@ -0,0 +1,16 @@ + Makefile.am | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Makefile.am b/Makefile.am +index aa401dc..4d99442 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -5,7 +5,7 @@ SUBDIRS = \ + pkgconfigdir = $(libdir)/pkgconfig + pkgconfig_DATA = gtx.pc + +-gtxdocdir = ${prefix}/doc/gtx ++gtxdocdir = ${docdir} + + gtxdoc_DATA = \ + README \ diff --git a/dev-libs/gtx/files/gtx-0.2.2-glib.h.patch b/dev-libs/gtx/files/gtx-0.2.2-glib.h.patch new file mode 100644 index 000000000000..0efab61e9b1f --- /dev/null +++ b/dev-libs/gtx/files/gtx-0.2.2-glib.h.patch @@ -0,0 +1,15 @@ + src/gtx.h | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/src/gtx.h b/src/gtx.h +index 57bee60..ab128b0 100644 +--- a/src/gtx.h ++++ b/src/gtx.h +@@ -24,7 +24,6 @@ + #define __GTX_H__ + + #include +-#include + #include + + G_BEGIN_DECLS diff --git a/dev-libs/gtx/gtx-0.2.2.ebuild b/dev-libs/gtx/gtx-0.2.2.ebuild new file mode 100644 index 000000000000..cee2d664b5c9 --- /dev/null +++ b/dev-libs/gtx/gtx-0.2.2.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +AUTOTOOLS_AUTORECONF=yes + +inherit autotools-utils + +DESCRIPTION="Small collection of functions intended to enhance the GLib testing framework" +HOMEPAGE="https://launchpad.net/gtx" +SRC_URI="https://launchpad.net/gtx/trunk/${PV}/+download/${P}.tar.gz" + +SLOT="0" +LICENSE="LGPL-2.1" +KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux" +IUSE="debug doc static-libs" + +RDEPEND="dev-libs/glib:2" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}"/${P}-docdir.patch + "${FILESDIR}"/${P}-debug.patch + "${FILESDIR}"/${P}-glib.h.patch ) + +src_configure() { + local myeconfargs=( + $(use_enable debug) + ) + autotools-utils_src_configure +} diff --git a/dev-libs/gtx/metadata.xml b/dev-libs/gtx/metadata.xml new file mode 100644 index 000000000000..81f29a75bedc --- /dev/null +++ b/dev-libs/gtx/metadata.xml @@ -0,0 +1,16 @@ + + + + + gnome@gentoo.org + Gentoo GNOME Desktop + + +GTX is a small collection of convenience functions intended to enhance the GLib +testing framework. With specific emphasis on easing the pain of writing test +cases for asynchronous interactions. + + + gtx + + diff --git a/dev-libs/gumbo/Manifest b/dev-libs/gumbo/Manifest new file mode 100644 index 000000000000..c5cade7ed4fb --- /dev/null +++ b/dev-libs/gumbo/Manifest @@ -0,0 +1,5 @@ +DIST gumbo-0.10.1.tar.gz 2119285 SHA256 28463053d44a5dfbc4b77bcf49c8cee119338ffa636cc17fc3378421d714efad SHA512 bb1fb55cd07076ab6a9f38dc14db50397dbdca9a04ace4895dfba8b8cbc09038a96e26070c09c75fa929ada2e815affe233c1e2ecd8afe2aba6201647cf277d1 WHIRLPOOL 65e604194bf21373b5deada4fb32df7a64e6b78568955cd193e1399e6f74c0463290c1c6ea9a39f2df5b20713969f6651353a641bf9b98e0d2ab2d24f51a6911 +EBUILD gumbo-0.10.1.ebuild 862 SHA256 9bd955c7080f992a823024678436ec07049cb913c9645105457d76cc9426deb5 SHA512 f15dbd423665c396c9488f972c0f56ea335ab0e39417de7857c6ba2126f776527496bfa559c00b07fae55f98ee627384c7d202c864e95ddd6c25f229cf6f6020 WHIRLPOOL f9395afba71bd6e6680852cff46e044c339241e81a485e6396e7e450f53eb72d9c604ffdd9a39043e9083283f860fbbace85fce3c4248e7a2b4bf2e8c4a1acb3 +MISC ChangeLog 2318 SHA256 6db2d5c20ad07eb2410315369852ba124b90899f8d528c01d9491d9442ef56a2 SHA512 7cfa84c59932f92ed2e0e76c78e9b247a49b8d7a00e135c180556bed6861f732af2c8dbc4d59bad7e39e949c027c13a363d6ad2b31f0cbfe0972e0b95779998d WHIRLPOOL a044d718806ecd4120ca4eeb7624a44f0301b52266017a6bb93a3cf299e5c8822d9b208a02f16e7fc81665c1e00b669549406b8ed86874a0fd436cea9697860b +MISC ChangeLog-2015 1177 SHA256 3881aba6d7d8e7ccc91b999a0657be5f04a66c4f4ae059813ac8bfc6fe6bc028 SHA512 af84289b42be9cbac4d63ee5b35f2c492fe31272efc1a9880e0c5f45f9776266d6034cc09179908b68a9753929b43db7ad1e161c5a4d938aa1a140d73c5adafe WHIRLPOOL 4972198fb7f5daad25cb753e86d5f44243101898d3f0b32c397d0aff1e5ed36be6775cc97444d839fd3d6dcb6f4d999801d947593ccd97795dc4978887bb2cff +MISC metadata.xml 316 SHA256 23bc92b2b2c5a1c41b46a3e56c4bb6951cc3d3fdeb8243a4d339c59b4f7bf4ff SHA512 64d8505048d0a0eaae29a8078d340ae290f9bcd2971028e069fdca2f3dc503cec644109a9d695f7e63ce4cfdb6a1e6375e49292580aad1b4e61a46612cfc7c25 WHIRLPOOL 2a719c7bdb7955ba0cebfc4e97debef567e23822fd725bf0f5447fa3e1629b7cc4689a82d925f45a5c18ea919586c207085578d582b16d193184d07241d55993 diff --git a/dev-libs/gumbo/gumbo-0.10.1.ebuild b/dev-libs/gumbo/gumbo-0.10.1.ebuild new file mode 100644 index 000000000000..3587bf94f754 --- /dev/null +++ b/dev-libs/gumbo/gumbo-0.10.1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit autotools + +DESCRIPTION="The HTML5 parsing algorithm implemented as a pure C99 library" +HOMEPAGE="https://github.com/google/gumbo-parser#readme" +SRC_URI="https://github.com/google/gumbo-parser/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +IUSE="doc test" + +S="${WORKDIR}/gumbo-parser-${PV}" + +DEPEND="test? ( dev-cpp/gtest ) + doc? ( app-doc/doxygen )" + +src_prepare() { + eautoreconf +} + +src_compile() { + default + + if use doc; then + doxygen || die "doxygen failed" + fi +} + +src_install() { + default + + if use doc; then + dohtml -r docs/html/. + for page in docs/man/man3/* ; do + doman ${page} + done + fi +} diff --git a/dev-libs/gumbo/metadata.xml b/dev-libs/gumbo/metadata.xml new file mode 100644 index 000000000000..41768660a942 --- /dev/null +++ b/dev-libs/gumbo/metadata.xml @@ -0,0 +1,10 @@ + + + + + graaff@gentoo.org + + + google/gumbo-parser#readme + + diff --git a/dev-libs/handystats/Manifest b/dev-libs/handystats/Manifest new file mode 100644 index 000000000000..02426b5a1b9a --- /dev/null +++ b/dev-libs/handystats/Manifest @@ -0,0 +1,9 @@ +DIST handystats-1.11.0.zip 141871 SHA256 e4a875495fede9401b916418efc079d42cb028d85af33bc30b21540de32f3c29 SHA512 e6d5fa200c3ca006adc9601c6f200dd7fc4dd57cff45c530990781880536aefdad7eb2fa266df24802f44b9f838ea5ddfd8a60fbeaef4e3b83002fdbd556f4ec WHIRLPOOL 76d8a83373ce3a08b01a438660af7ae128be25d3f10a44caf07f4d9929d719dc6bdf388563a5d241227ff6bd443481adc18d9876946a12d4e89fdec2ced0dc6b +DIST handystats-1.11.1.zip 142005 SHA256 34ca57a183d101b027889ecac99d93575d69f03d446c3fa9f59572d2dc014723 SHA512 cfb8cdc7e528ef6bb92ef94099081f77f2407bf85477e7bcc8ef92abc69e8e14a8f1de3d2df26f1a7f8103247a133abb47c5a2771a60b9cf589c292d43ace712 WHIRLPOOL ec76b8cd6f89f55dcc1d3e3f753378afde777ea03da75c144504e8a70cf7f11861f496c95d3de987ad381f7f6f0085fac17d2d86df2fe7bb18d04eadac81941e +DIST handystats-1.11.3.zip 142270 SHA256 3aa549bd11645a4324283d8dec4896cb94e20ed7e3c6c4958c923ab257c6cd99 SHA512 0ece97c1cea48112514098f9481195ccfa7e5dcd1025c4f0dca5aa8266f783cd9f0c96af17f3942bcf13a7d89e51107a12c44f39ede0fa8d17412a25f89cc331 WHIRLPOOL 3953f1c29e64fdcff6602ad461d7e6c4c1a9279596e6bddb1cc6d520c3c334b85f92aa4f3b17b8f33b47260bfd393ec638939c8c4b3130196a7e87eb0552ef7e +EBUILD handystats-1.11.0.ebuild 474 SHA256 fe2b70001de311a3c2b5a3dc9186c7ac89bdb37929d4b296cdd67dc14e2cf2ac SHA512 0637af04692cd87b2f69d9537a3fecdb3cca34523ea97cf1a077ef518a3ef73e003d11133f53af82f28c518456fdd2b79b62fa601aaba1eb8ddb96972007bbfa WHIRLPOOL f789c50798692489a715b5cfe25918c439720c91b7c7502033d27e1b6c45ba1ca601640e1c1e435c281e62ee3db0f15f0dc18b18fd4dee96dbb6a75bee6563ee +EBUILD handystats-1.11.1.ebuild 474 SHA256 fe2b70001de311a3c2b5a3dc9186c7ac89bdb37929d4b296cdd67dc14e2cf2ac SHA512 0637af04692cd87b2f69d9537a3fecdb3cca34523ea97cf1a077ef518a3ef73e003d11133f53af82f28c518456fdd2b79b62fa601aaba1eb8ddb96972007bbfa WHIRLPOOL f789c50798692489a715b5cfe25918c439720c91b7c7502033d27e1b6c45ba1ca601640e1c1e435c281e62ee3db0f15f0dc18b18fd4dee96dbb6a75bee6563ee +EBUILD handystats-1.11.3.ebuild 474 SHA256 fe2b70001de311a3c2b5a3dc9186c7ac89bdb37929d4b296cdd67dc14e2cf2ac SHA512 0637af04692cd87b2f69d9537a3fecdb3cca34523ea97cf1a077ef518a3ef73e003d11133f53af82f28c518456fdd2b79b62fa601aaba1eb8ddb96972007bbfa WHIRLPOOL f789c50798692489a715b5cfe25918c439720c91b7c7502033d27e1b6c45ba1ca601640e1c1e435c281e62ee3db0f15f0dc18b18fd4dee96dbb6a75bee6563ee +MISC ChangeLog 2309 SHA256 97e660cea6ee80374c8462da89a8bcb572aecf34bba80fb90eaa73ae4173fe9f SHA512 6a345e795f6902809704e1c604231f6e631d84549c555f29efa1bf318beb2e539ffdf3e3de8464377e9be10e1fada6496311a9062d9916c22dc2d26360f3970b WHIRLPOOL ed09403371d58b7fb9c5f992037ba5714a0959b8b079935b1aa004e378a58c2633805afb6ce0084b37e87ff51918ae79fcad1a82999ad336a0b74afaf83ce0c1 +MISC ChangeLog-2015 807 SHA256 70ecb58209d8773c3a0f2360ed711b2bac8283563ec6f21c5111255a32b2031f SHA512 62147f812dff85e5d30888d53f6c437207836a9159c636881a075f7511bc215b4e9b4c193c3a7678434bdd7b375ed05e1d7641943bb72dba32bd9316787bc7e0 WHIRLPOOL 67887276eed9371efcb114575efdbee5e6b71e55d8b4b44f6eb834eb8c012bf7e580dd48729c31baf2f1ab7b8ade45cde7e5ae18e48aa7aee2363f5e7ff7323d +MISC metadata.xml 339 SHA256 1c80d3a271a099e7a99ebe9fb63b2f98c311be06b261bbe9487d7dd527c9f711 SHA512 b580c217727760303e40a58fcf9522b893f60707bf5ff36a968e99cbf4318d6fa0ae471021963e5948790afd3e7773da26e493b03a880e70c13697815deca09e WHIRLPOOL ba82b6da89a2dc16c0a534fb61d6956655c5196f7eaf0a6911c7ac313076398a52016b3a88a76b04f89e46e68307c27495d44105d9994fe234b6d0a71586037a diff --git a/dev-libs/handystats/handystats-1.11.0.ebuild b/dev-libs/handystats/handystats-1.11.0.ebuild new file mode 100644 index 000000000000..7e1c7fc9246c --- /dev/null +++ b/dev-libs/handystats/handystats-1.11.0.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +RESTRICT="test" +inherit cmake-utils + +DESCRIPTION="C++ library for collecting user-defined in-process runtime statistics" +HOMEPAGE="https://github.com/shindo/handystats" +SRC_URI="https://github.com/shindo/${PN}/archive/${PV}.zip -> ${P}.zip" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="" +DEPEND="${DEPEND} + dev-cpp/gtest + dev-libs/boost" diff --git a/dev-libs/handystats/handystats-1.11.1.ebuild b/dev-libs/handystats/handystats-1.11.1.ebuild new file mode 100644 index 000000000000..7e1c7fc9246c --- /dev/null +++ b/dev-libs/handystats/handystats-1.11.1.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +RESTRICT="test" +inherit cmake-utils + +DESCRIPTION="C++ library for collecting user-defined in-process runtime statistics" +HOMEPAGE="https://github.com/shindo/handystats" +SRC_URI="https://github.com/shindo/${PN}/archive/${PV}.zip -> ${P}.zip" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="" +DEPEND="${DEPEND} + dev-cpp/gtest + dev-libs/boost" diff --git a/dev-libs/handystats/handystats-1.11.3.ebuild b/dev-libs/handystats/handystats-1.11.3.ebuild new file mode 100644 index 000000000000..7e1c7fc9246c --- /dev/null +++ b/dev-libs/handystats/handystats-1.11.3.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +RESTRICT="test" +inherit cmake-utils + +DESCRIPTION="C++ library for collecting user-defined in-process runtime statistics" +HOMEPAGE="https://github.com/shindo/handystats" +SRC_URI="https://github.com/shindo/${PN}/archive/${PV}.zip -> ${P}.zip" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="" +DEPEND="${DEPEND} + dev-cpp/gtest + dev-libs/boost" diff --git a/dev-libs/handystats/metadata.xml b/dev-libs/handystats/metadata.xml new file mode 100644 index 000000000000..1851de575d74 --- /dev/null +++ b/dev-libs/handystats/metadata.xml @@ -0,0 +1,11 @@ + + + + + patrick@gentoo.org + Patrick Lauer + + + shindo/handystats + + diff --git a/dev-libs/hashit/Manifest b/dev-libs/hashit/Manifest new file mode 100644 index 000000000000..6a434e6fb096 --- /dev/null +++ b/dev-libs/hashit/Manifest @@ -0,0 +1,6 @@ +AUX hashit-0.9.7-pkgconfig.patch 782 SHA256 e29e7f3f73268ca6dd5091262487ae0f4d1362f0401a29fa741926b6efc89696 SHA512 dcafb388565779ae6a087b55dd31fc84879768c6a23edcf07ff0329a6a962edc83b67a3276bf8d4da853eddd132a500b094ac5ac8c950ef9bc2586925a19315d WHIRLPOOL cabae9dae68a0f480f62997011daa0028907c32182355536374133d9a55e41fdd78b908722ca0e315c03e3fa5548eb421b2b44168338dff2202492a92f016b46 +DIST hashit-0.9.7.tar.bz2 16368 SHA256 8d912ba9186ca23d4a1b22293cdaa4a907397bb02aa93c5e82c50752f505bf7c SHA512 ce692cc1dfec12f2173f39c32f24ab96223feae6fca5c5ea1bc9dc815be4113936741c620e08cba35feeea26288503d1a42e6a4fe14cf2f854915e5bebcf4eff WHIRLPOOL bf7216b82295f9ed4ebc5a6801a42decae3c74c0c8e53042f0688efe096410442af9e5a4fcb19577fbece7ec791eb8645841b32ff71ed33acdbaed8ad1c285ae +EBUILD hashit-0.9.7-r1.ebuild 463 SHA256 ef5993df78ef9527a6f122f66a0e8f88242903b564ca81e4ee096ea4a6f48ca2 SHA512 a496300ca75420704f6e3cb72b02d480223aa3339bf803da8d078c1e36588b8abb38e74165e6408f056905d4d2381edb3ced71afbc0939e72d449596e853aca6 WHIRLPOOL 5aa2e2edc7607cc177ad0424682cb12d1c889f8fbd9129d720556855e46b1c652126d69b92b3fd15554c4c26b535d67c033e34c067b95663f298faf256e4dbde +MISC ChangeLog 3475 SHA256 79bbc18a300ae2679b82a913b190ff5762dbf0b01716bcb690f1b89301b0b24f SHA512 aeff83d40883732ec3b9f7c485aeb326065db4bc75af1d1c798d76f1440da19178c706fdca2e52df24edc02ad51821bca92f0b28dc26ac19526a1b63fe003337 WHIRLPOOL 39ad04f5ec3f3eda3ed783836ad590b04a7e225d3ac3912b56c24ff4ed2ae3019fc498d732c778be0c3d4f766e1f71c5ec410f8e3a7848a48aada3ac41fa2a38 +MISC ChangeLog-2015 2451 SHA256 273844eb0528495253a5796a04d14cae9b55a03fa2c7acc28481fa8bdb08635f SHA512 7fa9e742206e01444090845c672160963a9eb4a5ed8e4da0be99396dcdce5be36a167ade55020eb4b5d104506631f6affeafdbc19e4ba69ed36af25e5c1589ea WHIRLPOOL c25a1af727f8ec0c2ed76a210624ae629b96d5dae201875cbaea8b455f2589aa7261e14e42bc803b01e42e0a8131faff4d7f44f5b7bbfb1440f9c9f9a3dda3ea +MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968 diff --git a/dev-libs/hashit/files/hashit-0.9.7-pkgconfig.patch b/dev-libs/hashit/files/hashit-0.9.7-pkgconfig.patch new file mode 100644 index 000000000000..e88a28dba5d3 --- /dev/null +++ b/dev-libs/hashit/files/hashit-0.9.7-pkgconfig.patch @@ -0,0 +1,20 @@ +--- a/hashit-0.9.7/CMakeLists.txt 2010-03-12 08:35:03.000000000 -0500 ++++ b/hashit-0.9.7/CMakeLists.txt 2010-05-28 19:24:52.000000000 -0400 +@@ -9,7 +9,7 @@ + INCLUDE (FindPkgConfig) + + IF (NOT PKG_CONFIG_FOUND) +- MESSAGE (FATAL_ERROR "pkg-config not found...") ++ MESSAGE (FATAL_ERROR "pkgconfig not found...") + ENDIF (NOT PKG_CONFIG_FOUND) + + ADD_DEFINITIONS (-DDATADIR=\\\"${CMAKE_INSTALL_PREFIX}/share\\\") +@@ -28,7 +28,7 @@ + + INSTALL (TARGETS hashit LIBRARY DESTINATION lib${LIB_SUFFIX}) + INSTALL (FILES src/hashit.h DESTINATION include) +-INSTALL (FILES libhashit.pc DESTINATION lib${LIB_SUFFIX}/pkg-config) ++INSTALL (FILES libhashit.pc DESTINATION lib${LIB_SUFFIX}/pkgconfig) + + SET_TARGET_PROPERTIES (hashit PROPERTIES VERSION 1.0 SOVERSION 1) + SET (LIBRARY_OUTPUT_PATH src) diff --git a/dev-libs/hashit/hashit-0.9.7-r1.ebuild b/dev-libs/hashit/hashit-0.9.7-r1.ebuild new file mode 100644 index 000000000000..74e133ba4f8f --- /dev/null +++ b/dev-libs/hashit/hashit-0.9.7-r1.ebuild @@ -0,0 +1,17 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit cmake-utils + +DESCRIPTION="Generic C hash library which supports multiple collision handling methods" +HOMEPAGE="http://www.pleyades.net/david/projects/hashit" +SRC_URI="http://www.pleyades.net/david/projects/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~ppc x86" +IUSE="debug" + +PATCHES=( "${FILESDIR}/${P}-pkgconfig.patch" ) diff --git a/dev-libs/hashit/metadata.xml b/dev-libs/hashit/metadata.xml new file mode 100644 index 000000000000..6f49eba8f496 --- /dev/null +++ b/dev-libs/hashit/metadata.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/dev-libs/hidapi/Manifest b/dev-libs/hidapi/Manifest new file mode 100644 index 000000000000..1fa0cb3a34f6 --- /dev/null +++ b/dev-libs/hidapi/Manifest @@ -0,0 +1,5 @@ +DIST hidapi-0.8.0_rc1_p20140719.tgz 103079 SHA256 33e206f5e145fc1bc6aeb55084d71b55d686533d23ad5bb762746ceba81e728b SHA512 204934a707da4e67b834823650b0cfd9be7b413972071129cc5aeeb93465834dde2f5ee23283c55d35b56e3aed8b7ad5fe947399839081f4d895fb65c8cd3e3d WHIRLPOOL 3c7d9cc4f39ebbe1f372a2e4f60990b1127e0c3025b85648d0f114ef652634e8e09d3ccd9e8f26ee6db191db1b2ccbb7afea3c3fa2018e8dfce034679c051f47 +EBUILD hidapi-0.8.0_rc1_p20140719.ebuild 1918 SHA256 094b5e10ef9adeea58e43cc63933c45ee2c3c3012634a40c758ad6edcd9f2d05 SHA512 e3a4c5bc1767491641b6249f2552790f6e27aeb8309c3435ee29fbcfdfef483c2b550c54fd2e6d1ee24ecff0e10f10813e78606fb11e9ea75367511bddeaec3b WHIRLPOOL cb0ddf78c4d759371d5e7280e9e1b32b38b777f9999ea9876ea8619b2657d117247894582088bcfeb2f6d4f863451ad7a91521799bc5f5c857d3e2ddde682d19 +MISC ChangeLog 3483 SHA256 d2e9bfc3d26794a9f5157c340c21054c92a649583652f32bc9989189a07b6e95 SHA512 ab37b80003501cfb8eb900320c05e997a0bfb65a05078c013cb0562463d7a38ae9bc245071be49df1c4071163ab45a376ae26711936b452c06687ba436762e98 WHIRLPOOL f98b046f0104360e58f8074040ef6c459c17d659bb2992cf393ad7cdd3957062ae8b2fcb3a2db0aabc5e7c3a8330af3c2ba79928cbaca8d108aa9d2e5db5da8a +MISC ChangeLog-2015 1833 SHA256 80cdc1e738e7bcaf29a8774fe60468fe701b041187b220df853f7c57a79704c7 SHA512 a33de9deaa6d1ead73416456d59eabc847a872d9113eef66ff3a39b0972afc97d2b410317367f841a60b99732f1bbebb4cf7717dd421fafd7931423d40a052ad WHIRLPOOL a6cc00c9a3e9d189f6c0a98a23ffa96c2fabac30792756138d0e1dd24225b4cf1280adc1c680af510cdc21f001306a8c3b4c9bc52fde10745df838883af4a3b4 +MISC metadata.xml 659 SHA256 d8b3ef2e7cf8853333494590690b6e2c7575101fb7e1a0e36042d17880dd22a6 SHA512 36bae2c3d3cb19327990c2df04a591d77ee8a8d5f0b269b636902156e2e8315e00fbad6f1f8fac9776598b42423f4ab626ee8b576b897ad5b92ef7d2f3081e58 WHIRLPOOL c354e5b9c1c1dd730a5fddfbf76f81d1506850e3bc38ec8cd235c2955dc0994decf7ecc9b86c10971769ec22b9f00cb7b15ab43d9cdf91f4528a786f3a031792 diff --git a/dev-libs/hidapi/hidapi-0.8.0_rc1_p20140719.ebuild b/dev-libs/hidapi/hidapi-0.8.0_rc1_p20140719.ebuild new file mode 100644 index 000000000000..9cefcad3a4c8 --- /dev/null +++ b/dev-libs/hidapi/hidapi-0.8.0_rc1_p20140719.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +AUTOTOOLS_AUTORECONF=yes + +inherit eutils versionator autotools-multilib #git-2 + +# If github is desired, the following may be used. +#EGIT_REPO_URI="https://github.com/signal11/hidapi.git" +#EGIT_BRANCH="master" +EGIT_COMMIT="d17db57b9d4354752e0af42f5f33007a42ef2906" + +# S is only needed for the debian_package +S=${WORKDIR}/${PN}-${DEBIAN_PV} + +DESCRIPTION="A multi-platform library for USB and Bluetooth HID-Class devices" +HOMEPAGE="http://www.signal11.us/oss/hidapi/" +SRC_URI="https://github.com/signal11/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tgz" +# When 0.8.0 is officially available the following link should be used. +#SRC_URI="mirror://github/signal11/${PN}/${P}.zip" + +LICENSE="|| ( BSD GPL-3 HIDAPI )" +SLOT="0" +KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86" +IUSE="doc fox static-libs" + +RDEPEND="virtual/libusb:1[${MULTILIB_USEDEP}] + virtual/libudev:0[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen ) + virtual/pkgconfig + fox? ( x11-libs/fox )" + +S="${WORKDIR}/${PN}-${EGIT_COMMIT}" + +src_prepare() { + if ! use fox; then + sed -i -e 's:PKG_CHECK_MODULES(\[fox\], .*):AC_SUBST(fox_CFLAGS,[ ])AC_SUBST(fox_LIBS,[ ]):' configure.ac || die + fi + + # Fix bashisms in the configure.ac file. + sed -i -e 's:\([A-Z_]\+\)+="\(.*\)":\1="${\1}\2":g' \ + -e 's:\([A-Z_]\+\)+=`\(.*\)`:\1="${\1}\2":g' configure.ac || die + + # Portage handles license texts itself, no need to install them + sed -i -e 's/LICENSE.*/ # blank/' Makefile.am || die + + autotools-multilib_src_prepare +} + +multilib_src_configure() { + local myeconfargs=( + $(multilib_native_use_enable fox testgui) + ) + + autotools-utils_src_configure +} + +src_compile() { + autotools-multilib_src_compile + + if use doc; then + doxygen doxygen/Doxyfile || die + fi +} + +src_install() { + autotools-multilib_src_install + + if use doc; then + dohtml -r html/. + fi +} diff --git a/dev-libs/hidapi/metadata.xml b/dev-libs/hidapi/metadata.xml new file mode 100644 index 000000000000..d5b410c9655d --- /dev/null +++ b/dev-libs/hidapi/metadata.xml @@ -0,0 +1,22 @@ + + + + + blueness@gentoo.org + Anthony G. Basile + + + luke-jr+gentoobugs@utopios.org + Luke Dashjr + + + proxy-maint@gentoo.org + Proxy Maintainers + + + Build a x11-libs/fox GUI + + + signal11/hidapi + + diff --git a/dev-libs/hiredis/Manifest b/dev-libs/hiredis/Manifest new file mode 100644 index 000000000000..03b07e3434b4 --- /dev/null +++ b/dev-libs/hiredis/Manifest @@ -0,0 +1,6 @@ +AUX hiredis-0.13.3-disable-network-tests.patch 1297 SHA256 fa5cfdc403384a0b1e230f49748c64357d98a2af594edc990e18061edf49a7b2 SHA512 bfbf4ee0a6780cbdcac4c8578aacac241d2b00c94dedd4f298ff06d65cab100f446072573ea0b57a513d3f7146070776fa08e949374e43272c2b05e601f250fc WHIRLPOOL d882076d8d9264e3c7e5efffc4914d2946de54c1ef141d230e7e5d273b73631c8f2ff2c2b745b94c9c562f33410edcbb3670f62cfa7c2d44a3b519bf116b5e6d +DIST hiredis-0.13.3.tar.gz 58291 SHA256 717e6fc8dc2819bef522deaca516de9e51b9dfa68fe393b7db5c3b6079196f78 SHA512 0d8b71d5ee4105e8aaeeee308795afc2c1f60a04b0bfe8ae873d800a0c157882ec307efa04a8d0e63b538fd3fc3f88eedf4d46cb87c8937e2403927aeb7e434c WHIRLPOOL 511f86f680a005bd1fa75494707bf5a16670c3f2b7ac0fd61684546368868a2545fa7aa74b63e3865be8ec7cb301417c5a945fe090de398066f098bef01d664b +EBUILD hiredis-0.13.3.ebuild 1852 SHA256 4036021a3c70d2a58bfbad1d936770d0a6e98c15d3762e8d77736b9270e30d4a SHA512 b7036423b9c68e5e76b9c3dc8a8e131c9ed2beff3ccf79cfd352346e561fa98511b029cc3440c49025e92fae51c237c180ba8fbaa96ecc50ab8863d97413cfb1 WHIRLPOOL 931f6913fba63b6f3afbeaddefd494bc685aa21ce87557b37dcaaea9ebbc62e9e39175c295d2277edfd91cf52de752624e880037663e0426ae7069d1d0261e7a +MISC ChangeLog 3663 SHA256 3f1a4552ea2b6600ec45a42e0fbc18c71b3206cf512e5be0bd1b0a4d60ec32bb SHA512 3274f031f4b684dc03b2fc0dc7984de5c7024e1eba9b01754c331eabc5b11e8707d853b7f54d9b4a2febd43414f1b399cc454ed6e01c0c696028cd1fa22f20a8 WHIRLPOOL ce152c7bf62b17407a6dbc9aee904d4d14de3bd6714840e7638ce11d4df5126ec6456d42225c199849751bdae2e2bc0626d6afbdfd2d715804301be3df7d3b51 +MISC ChangeLog-2015 3055 SHA256 d1875c093b00442aec43b0d899822f4ce0abb2a041c9632cb36e4e144649d234 SHA512 130d030e6b12e033f82898736a2b782d3fcfd3c741145613b6e9e80cfcaf04104df6c88ddab2347b41585847a1bebc7c6adc209677058a77535ec99baa9461a8 WHIRLPOOL d47799f9731eb0a398867f0bf4f7f5ec7f4fa4e879d4554378345dfb6c90cef5cc14d35dee32f4db7b6379024f0cc3ad9868174c758c05a4df09d006996171fe +MISC metadata.xml 297 SHA256 c638f8e333458bb63e04b1e5a80af900577a4d6bf58380ff269ad008c4e5bf1f SHA512 066533b525b755fc03d453dbec7c7af33a1f550d493e12fd96d773cb9b1b754ff02f689019277840bc29e3b1f9efc8226729637ed3c50b4b4cba1a64d3afaee9 WHIRLPOOL bf69a8366bcc9cfb577949c199f3ced115d66c06a175d231a089d97a4c072528a4294503254a96da9b10c0c0934c6a2ec5bf3a84bbde09bd97069cc209504f65 diff --git a/dev-libs/hiredis/files/hiredis-0.13.3-disable-network-tests.patch b/dev-libs/hiredis/files/hiredis-0.13.3-disable-network-tests.patch new file mode 100644 index 000000000000..000e2537b5a0 --- /dev/null +++ b/dev-libs/hiredis/files/hiredis-0.13.3-disable-network-tests.patch @@ -0,0 +1,36 @@ +diff --git test.c test.c +index 8fde554..89ed6a0 100644 +--- a/test.c ++++ b/test.c +@@ -343,6 +343,7 @@ static void test_free_null(void) { + static void test_blocking_connection_errors(void) { + redisContext *c; + ++#if 0 + test("Returns error when host cannot be resolved: "); + c = redisConnect((char*)"idontexist.test", 6379); + test_cond(c->err == REDIS_ERR_OTHER && +@@ -353,6 +354,7 @@ static void test_blocking_connection_errors(void) { + strcmp(c->errstr,"Temporary failure in name resolution") == 0 || + strcmp(c->errstr,"no address associated with name") == 0)); + redisFree(c); ++#endif + + test("Returns error when the port is not open: "); + c = redisConnect((char*)"localhost", 1); +@@ -773,6 +775,7 @@ int main(int argc, char **argv) { + test_blocking_connection_errors(); + test_free_null(); + ++#if 0 + printf("\nTesting against TCP connection (%s:%d):\n", cfg.tcp.host, cfg.tcp.port); + cfg.type = CONN_TCP; + test_blocking_connection(cfg); +@@ -781,6 +784,7 @@ int main(int argc, char **argv) { + test_invalid_timeout_errors(cfg); + test_append_formatted_commands(cfg); + if (throughput) test_throughput(cfg); ++#endif + + printf("\nTesting against Unix socket connection (%s):\n", cfg.unix.path); + cfg.type = CONN_UNIX; diff --git a/dev-libs/hiredis/hiredis-0.13.3.ebuild b/dev-libs/hiredis/hiredis-0.13.3.ebuild new file mode 100644 index 000000000000..5ba57f6d832b --- /dev/null +++ b/dev-libs/hiredis/hiredis-0.13.3.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit toolchain-funcs + +DESCRIPTION="Minimalistic C client library for the Redis database" +HOMEPAGE="https://github.com/redis/hiredis" +SRC_URI="https://github.com/redis/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/0.13" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~x64-solaris" +IUSE="examples static-libs test" + +DEPEND="test? ( dev-db/redis )" + +src_prepare() { + local PATCHES=( "${FILESDIR}/${PN}-0.13.3-disable-network-tests.patch" ) + default + + # use GNU ld syntax on Solaris + sed -i -e '/DYLIB_MAKE_CMD=.* -G/d' Makefile || die +} + +_build() { + emake \ + AR="$(tc-getAR)" \ + CC="$(tc-getCC)" \ + PREFIX="${EPREFIX%/}/usr" \ + LIBRARY_PATH="$(get_libdir)" \ + ARCH= \ + DEBUG= \ + OPTIMIZATION="${CPPFLAGS}" \ + "$@" +} + +src_compile() { + # The static lib re-uses the same objects as the shared lib, so + # overhead is low w/creating it all the time. It's also needed + # by the tests. + _build dynamic static hiredis.pc +} + +src_test() { + local REDIS_PID="${T}"/hiredis.pid + local REDIS_SOCK="${T}"/hiredis.sock + local REDIS_PORT=56379 + local REDIS_TEST_CONFIG="daemonize yes + pidfile ${REDIS_PID} + port ${REDIS_PORT} + bind 127.0.0.1 + unixsocket //${REDIS_SOCK}" + + _build hiredis-test + + /usr/sbin/redis-server - <<< "${REDIS_TEST_CONFIG}" || die + ./hiredis-test -h 127.0.0.1 -p ${REDIS_PID} -s ${REDIS_SOCK} + local ret=$? + + kill "$(<"${REDIS_PID}")" || die + [ ${ret} != "0" ] && die "tests failed" +} + +src_install() { + _build PREFIX="${ED%/}/usr" install + if use static-libs; then + rm "${ED%/}/usr/$(get_libdir)/libhiredis.a" || die + fi + + insinto /usr/$(get_libdir)/pkgconfig + doins ${PN}.pc + + local DOCS=( CHANGELOG.md README.md ) + use examples && DOCS+=( examples ) + einstalldocs +} diff --git a/dev-libs/hiredis/metadata.xml b/dev-libs/hiredis/metadata.xml new file mode 100644 index 000000000000..23f7b8b8f5bc --- /dev/null +++ b/dev-libs/hiredis/metadata.xml @@ -0,0 +1,10 @@ + + + + + Reflect ABI of libhiredis.so. + + + redis/hiredis + + diff --git a/dev-libs/http-fetcher/Manifest b/dev-libs/http-fetcher/Manifest new file mode 100644 index 000000000000..94052accdd75 --- /dev/null +++ b/dev-libs/http-fetcher/Manifest @@ -0,0 +1,6 @@ +DIST http_fetcher-1.1.0.tar.gz 382470 SHA256 79c8456b8fde48644662146d1b70bc5d247416c7298599e6721d0ce9e94bd675 SHA512 136eceabc317bc4bf9956272ebbdae735ff589012ed0b17210fdb70051389bb7b3c1b43cdfc322a340e5538e9fd60b7b5216d3d46c439ac9df6af29e621bb1fa WHIRLPOOL 0535083667d321a0c7744635925c7f75b28ef407edcb8a9279b3734479d5510fa46f1041813a36d0ae68a3b174ab488e84ae1346669f85b5b0b4afc8a0d14b6a +EBUILD http-fetcher-1.1.0-r1.ebuild 644 SHA256 b5c12ffb81c676e49425799d8a460f06e9e8f96c8984cc92c93dc05abb05c5a7 SHA512 e3175d50f24ba2f2bf2e62b4b5477a254fda1eef0d2c3ec4dbc9736a09eba484462868ff6d9fa5a32a484914362c970dedb2bc6b4c5cce6399de7bdc8598854a WHIRLPOOL dc58a9605398ef9fe2b4dae810c29a247d6de6b187a689a4562c66447d133071e59b33d2910218f6cae841184e38f7deb4de8c9869bed010a0cd929e2e814b9d +EBUILD http-fetcher-1.1.0.ebuild 772 SHA256 19829b180958503ab10640e644b47b60c627b54c27d914235568a39f2ad551d3 SHA512 8c0649790c8b0e67cb6148afe37a37d936de675e6d3df4bb2de5b7c04a8351855bbc7760d80a3721a7e526b3ccdba0902fe0b56cedd8cf93920434906d772f8c WHIRLPOOL babb54aec1e683a9eb4fb2b9bfe22c292de8b02ceedc839cd972990c50f593c733ec43413ad25c3603324c0a73fe50554d0023d3e4b7e446503891790621d607 +MISC ChangeLog 2537 SHA256 04873feaa7ad0ffed9cc87fd80190bd4857d9ffaf7e8641ef6a31e7d338b8042 SHA512 1d84f64cac7e93dc465d88eced218a90d58fd8bceaecdb26f6dca86f29da8180295e07a94a30aaff6674e430ac7caf60ca35f12c7e1408849e0a0df1e534b60c WHIRLPOOL 695f9f3de99adcfe215ffaaf6e5388cc78016e8e090099c3879b2601e023f2fafc159a6f1853568e8654ca36b762a44c48af0d3bfab840cd9f7e58b0a76f7869 +MISC ChangeLog-2015 3833 SHA256 a2452d2c42cac815d4a196676f153e6c306a153c673cf768bd57352d619ebe65 SHA512 b50ed7eb7086ccca9a1e725ecc289388c577f385d5d37eb5a68cb6447335dffa7ee249ac53874f0b89f0ede1c6e0e4805d95d7b08c6472c58254ccd41e828612 WHIRLPOOL b8367ad1456461d1bac9efee7493aba5a13064d4f1c6d29226ab82aa56ac489252b4be06bbf23ab8af8e0a4aba67b3b7c527dd3ccdd5acea25cadcc4c5d982fd +MISC metadata.xml 333 SHA256 976eabb6fd7d3ed1821a355040bc91ea78cb29d77779913c8fe68ccebc6acece SHA512 0be8b9414e23971abba7606c7332511588a0abadd68cf6f7026bd4a5b729e7bc9c7123af103c3dffa0c6cb04517a5302cbb015c4b6f20916eec87808bb8145f8 WHIRLPOOL bb9998f07429f1cceae7177d5384df44dd3cc806044d292903ee065758e802a0a75c1931d137fa76260340ebdbc21d07a0ae9dc0311fd7dff9a64fa9c9f954ea diff --git a/dev-libs/http-fetcher/http-fetcher-1.1.0-r1.ebuild b/dev-libs/http-fetcher/http-fetcher-1.1.0-r1.ebuild new file mode 100644 index 000000000000..82fa74245a70 --- /dev/null +++ b/dev-libs/http-fetcher/http-fetcher-1.1.0-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools + +MY_P="${P/-/_}" + +DESCRIPTION="Library for downloading files via HTTP using the GET method" +HOMEPAGE="http://http-fetcher.sourceforge.net" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" +LICENSE="LGPL-2.1" + +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~x86" +IUSE="debug" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf \ + --disable-strict \ + $(use_enable debug) +} + +src_install() { + default + dodoc -r docs/html/*.html docs/index.html README ChangeLog CREDITS INSTALL +} diff --git a/dev-libs/http-fetcher/http-fetcher-1.1.0.ebuild b/dev-libs/http-fetcher/http-fetcher-1.1.0.ebuild new file mode 100644 index 000000000000..9d13b8c338f6 --- /dev/null +++ b/dev-libs/http-fetcher/http-fetcher-1.1.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +MY_P="${P/-/_}" +S="${WORKDIR}/${MY_P}" +DESCRIPTION="Library for downloading files via HTTP using the GET method" +HOMEPAGE="http://http-fetcher.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="alpha amd64 ppc x86" +IUSE="debug" + +src_unpack() { + unpack ${A} + cd "${S}" + sed -r '/AC_DEFUN/s/(AC_PATH_HFETCHER)/[\1]/' -i \ + http-fetcher.m4 +} + +src_compile() { + econf \ + --disable-strict \ + $(use_enable debug) \ + || die + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "make install failed" + dohtml -r docs/index.html docs/html + dodoc README ChangeLog CREDITS INSTALL +} diff --git a/dev-libs/http-fetcher/metadata.xml b/dev-libs/http-fetcher/metadata.xml new file mode 100644 index 000000000000..a4818674ffd6 --- /dev/null +++ b/dev-libs/http-fetcher/metadata.xml @@ -0,0 +1,11 @@ + + + + + monsieurp@gentoo.org + Patrice Clement + + + http-fetcher + + diff --git a/dev-libs/hyperleveldb/Manifest b/dev-libs/hyperleveldb/Manifest new file mode 100644 index 000000000000..f4f272426a1d --- /dev/null +++ b/dev-libs/hyperleveldb/Manifest @@ -0,0 +1,6 @@ +AUX snappy.patch 1092 SHA256 e9b4f95e16cb1e4a890b0b2b0bdec07de930b4cc855acc4644d0057942e6eda0 SHA512 e6cb0bbfae14637a7ff084100c5347fafdf2c87ca5bc32457be9bc65c45cc79986ac70f2d23881cf5691e987853d6934dc2e929ad008e246809c7fbc3cf2c45d WHIRLPOOL a58476ab70b1d4ad703f11f614c3f499d01edd093a40076d0b6710189c05028e9ce1d8327f08562f80f5900230de42e189efa10cc566ffd0bf9b11e25f9e34fe +DIST hyperleveldb-1.2.2.tar.gz 584955 SHA256 1e03ac6ebe053128978cefe09ae3316f728ebbc186c22316d826ec185cffdf34 SHA512 6fb7a84ec237a5a1a3f5f7c90965a0b0661a6143722a159a189c4c54231d8c5746dcbb76713fbe9b8b2529467f287365d30dd7115fb5c1ef54f864686a709eb2 WHIRLPOOL a9ea63100b75a508b4cee590a6487231b20a85bfdae584d33375393e7f78e72120d6dd0fc0d96b5e22ad46a1461d5a1270c250b006187b035092ba6bad7801d5 +EBUILD hyperleveldb-1.2.2.ebuild 472 SHA256 fabfa877b3a85cc8d12a93ff91de3dbbdec03698de730045b9d7d460828c6b44 SHA512 bc30422e2e5a9e99c9ff14185af5b3b2d7e49eaf35dc8a8fe8825e9fed8e2344c184e580be9fa1b3d4bc5723f87eadeb6495d832a063a3e2a3690457f32dc6ef WHIRLPOOL ad7c56bc8bc4cf28b805850a077c3e607807f543cafedb4822fc23e7f27631ced206cf69e0fadda55e1dea79578a19a904db275791b4c3a724e536e4a60ac80f +MISC ChangeLog 2212 SHA256 6d956c177da916b2212954a294ae2225280266ad150f3ab01c3a092a4ba4c122 SHA512 9886108688f4b7948c033c3c3801e1fe7459de07a6a87c8d8c0ee0d9698a57f11d37f67e13f9b69d0c88bc8919fd60dd3626e4fd8c5c033f197325bcaf64b9d4 WHIRLPOOL 5de21aa4709782ce17e4cce4c42102c94a57c6b6ed482a27875f98caaf865a4ff2e66c793a3fa220be0d76d66c32575201a5dcf11a83c8e51282fd684943164e +MISC ChangeLog-2015 1449 SHA256 b6c6d8cde9e00991c353e760b402b92ee65f9b1d4d81cf57a9a9fa8d303252ba SHA512 ee7a5e2b5b7fba167d5525d5b8bb1ab690b31071a6ed0a644cbd1c6ad2d0ae0556bbc427c90cc9b61d9cc66dceab62e9e802cc51be8dbd1e2aab4033c45b6baf WHIRLPOOL 88816ace7659d78da0e8e7fc4742298b72dc0206d4d64f3abe5ac451f32f52af0f272b9fe92ad50696e48561294629cb83e9713dc9549031b2b0a991c1e0e1e9 +MISC metadata.xml 247 SHA256 0deec0776f26fb762fdf7711f4589b14f52a2456436ef557eec62a2cf2fb2bb7 SHA512 29cf52c16b0cce69899d9c2da8acd9144b7d760442aa323b854dceadb42459e009545193b1df7911ac2241b59f4819b4a6bb1d206d6f57953f770031433bb6b7 WHIRLPOOL a135fa622e99d3dcdb432bc6b3c366076b3d86b4bfd9a76c852d781b8e9152541c7e7a2c7c6d6a3c4d2200dce792847a08166aaf7c17c22b6299dfe868234dec diff --git a/dev-libs/hyperleveldb/files/snappy.patch b/dev-libs/hyperleveldb/files/snappy.patch new file mode 100644 index 000000000000..f926e3f6a38c --- /dev/null +++ b/dev-libs/hyperleveldb/files/snappy.patch @@ -0,0 +1,31 @@ +--- Makefile.am 2014-07-29 14:44:37.851568232 +0800 ++++ Makefile.am.new 2014-07-29 14:44:54.687855718 +0800 +@@ -196,7 +196,7 @@ + TESTS = $(check_PROGRAMS) + + benchmark_SOURCES = benchmark.cc +-benchmark_LDADD = libhyperleveldb.la -lpthread -le -lpopt -lygor ++benchmark_LDADD = libhyperleveldb.la -lpthread -le -lpopt -lygor -lsnappy + benchmark_LDFLAGS = -no-install + + db_bench_SOURCES = db/db_bench.cc $(TESTUTIL) + +@@ -200,7 +200,7 @@ + benchmark_LDFLAGS = -no-install + + db_bench_SOURCES = db/db_bench.cc $(TESTUTIL) +-db_bench_LDADD = libhyperleveldb.la -lpthread ++db_bench_LDADD = libhyperleveldb.la -lpthread -lsnappy + + db_bench_sqlite3_SOURCES = doc/bench/db_bench_sqlite3.cc $(TESTUTIL) + db_bench_sqlite3_LDADD = -lsqlite3 +@@ -215,7 +215,7 @@ + leveldb_dump_all_LDADD = libhyperleveldb.la -lpthread + + leveldb_verify_SOURCES = leveldb-verify.cc +-leveldb_verify_LDADD = libhyperleveldb.la -lpthread ++leveldb_verify_LDADD = libhyperleveldb.la -lpthread -lsnappy + + autocompact_test_SOURCES = db/autocompact_test.cc $(TESTHARNESS) + autocompact_test_LDADD = libhyperleveldb.la -lpthread + diff --git a/dev-libs/hyperleveldb/hyperleveldb-1.2.2.ebuild b/dev-libs/hyperleveldb/hyperleveldb-1.2.2.ebuild new file mode 100644 index 000000000000..8300c836bc2f --- /dev/null +++ b/dev-libs/hyperleveldb/hyperleveldb-1.2.2.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +WANT_AUTOMAKE="1.11" + +inherit eutils autotools + +DESCRIPTION="Hyperdex fork/extension of leveldb" +HOMEPAGE="http://hyperdex.org/" +SRC_URI="http://hyperdex.org/src/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=" + dev-libs/leveldb[snappy] + " +RDEPEND="${DEPEND}" + +src_prepare() { + epatch "${FILESDIR}/snappy.patch" + eautoreconf +} diff --git a/dev-libs/hyperleveldb/metadata.xml b/dev-libs/hyperleveldb/metadata.xml new file mode 100644 index 000000000000..40aa45df2b01 --- /dev/null +++ b/dev-libs/hyperleveldb/metadata.xml @@ -0,0 +1,8 @@ + + + + + patrick@gentoo.org + Patrick Lauer + + diff --git a/dev-libs/hyperscan/Manifest b/dev-libs/hyperscan/Manifest new file mode 100644 index 000000000000..f1517e0234d0 --- /dev/null +++ b/dev-libs/hyperscan/Manifest @@ -0,0 +1,6 @@ +DIST hyperscan-4.4.1.tar.gz 1515106 SHA256 3a082d92a3cb0cd724bc1190d24cc39752bd3db35d22115fda03d2e91ccd94cd SHA512 5e3463061110f81ad145dccf566f8308eed7bfd6711af59461b59903dd77b20963df3dd0f0ec8fc925837e76b658352b420b1ce210c4c91a4cb128a4d5f83056 WHIRLPOOL 1eff40644b4284615f8011e4fd516005381468d651a2675c0e4b46b2b34a9986a5c242590314ef04ebe8528e6ee9090c07830d868de6fed84a0c244ad5ebf28d +DIST hyperscan-4.5.2.tar.gz 1521484 SHA256 1f8fa44e94b642e54edc6a74cb8117d01984c0e661a15cad5a785e3ba28d18f5 SHA512 13bb6c11c8366f168f2ba1eaf5d67560a68668d699604a7884f7a3e7f54ad2dcdd41d562dc35d029b2ad715d562252eb6ef57e97be319e2aa9bdcd3437d8d926 WHIRLPOOL c232d710e122458eb2527dbaf8b1909b618138bd5fbe9ddf55b47cf970f20ac2b36ea8e071abd394792695b9aa6b68f405cfb0983fa80e9b8ae6a478c73306c9 +EBUILD hyperscan-4.4.1-r1.ebuild 700 SHA256 c5b6ffc999a0836e0e1db8a0f02780069909c7f38cf516b17bc928c65885f973 SHA512 c00b6074c6e1db2efae1eee08dea5b2ba9de355d8f6cff59fed34fcf9f4ee44862860a4a8390249ce8e5a36aa07aa89a053b03cc2db11bd216397a0e20f61f05 WHIRLPOOL 0986e2bb14a494a5f3f1fd7b9248577ac42b07d6f36e8391bea7d865f680e7f5d77d85555ffec775a53dcee86efb698615598eb0e7c088d9668caa0fe4e7abd6 +EBUILD hyperscan-4.4.1.ebuild 432 SHA256 caeb6294feadb0c4f1069e7d5233868c73c04822d0ac609e74df7a0972dd7a52 SHA512 abe28222101c3c26cdebb16cbc54b37927b32787f35348c1557e7bff3f9b8432194e167eb724df5ce8f9facd15857f57ace0679d95df6681733b9e23e9897c04 WHIRLPOOL 77f7ca94ccf9f9847bf943da838eefde1d020e17bc636bd94e5ecb0e5d6173c7f01008da5892527050963c150ce5d7aa7b198c772b82117289aa877019a676bc +EBUILD hyperscan-4.5.2.ebuild 700 SHA256 3b3a3cc247996c6b2a8adff2784618808bdd7164429f54423bd2cb3c23d161a2 SHA512 e5045e9f7811709c3011d833807338f24927c78982d4d8d8cd4c0c33d639664fd346b6290792db25407ad33dedd2d7d61e19776ff86e020a0146f44293699738 WHIRLPOOL 07881874aeba363ccadc98769e831f765ca3dfaf1cc2d1a54c906fc71146d577162cbb7baee3bb4fde81b44eeba38813ebd03994522219454bae88a593c03937 +MISC metadata.xml 444 SHA256 2b70c17a22d8c8077f5cbdec2f5d4a4cefb186941537400d7bfe27d5a8f1de7e SHA512 8b3dd40cc7b43125b2a7297c991143d74a5d3cbb70e0d5608ede859987cd27cae0a27b92c46419746d56a0f88252e6cb75ad6111ac25e920ba4e46acc8caa423 WHIRLPOOL 7f541657c156ff85e3b462d70f2f17c9ba8517dd868286f27530187596de099a2358b29764d37e04ef5b13f5fd0bf6154c33bf275f767376cd96da4a8720da11 diff --git a/dev-libs/hyperscan/hyperscan-4.4.1-r1.ebuild b/dev-libs/hyperscan/hyperscan-4.4.1-r1.ebuild new file mode 100644 index 000000000000..15909013de8a --- /dev/null +++ b/dev-libs/hyperscan/hyperscan-4.4.1-r1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit cmake-utils + +DESCRIPTION="High-performance regular expression matching library" +SRC_URI="https://github.com/01org/hyperscan/archive/v${PV}.tar.gz -> ${P}.tar.gz" +HOMEPAGE="https://01.org/hyperscan" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="cpu_flags_x86_ssse3 static-libs" + +DEPEND="dev-util/ragel + =dev-lang/python-2* + dev-libs/boost + net-libs/libpcap" + +REQUIRED_USE="cpu_flags_x86_ssse3" + +src_configure() { + local mycmakeargs=( + -DBUILD_SHARED_LIBS=$(usex static-libs OFF ON) + -DBUILD_STATIC_AND_SHARED=$(usex static-libs ON OFF) + ) + cmake-utils_src_configure +} diff --git a/dev-libs/hyperscan/hyperscan-4.4.1.ebuild b/dev-libs/hyperscan/hyperscan-4.4.1.ebuild new file mode 100644 index 000000000000..8978aa0cff5b --- /dev/null +++ b/dev-libs/hyperscan/hyperscan-4.4.1.ebuild @@ -0,0 +1,17 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit cmake-utils + +DESCRIPTION="High-performance regular expression matching library" +SRC_URI="https://github.com/01org/hyperscan/archive/v${PV}.tar.gz -> ${P}.tar.gz" +HOMEPAGE="https://01.org/hyperscan" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="cpu_flags_x86_ssse3" + +REQUIRED_USE="cpu_flags_x86_ssse3" diff --git a/dev-libs/hyperscan/hyperscan-4.5.2.ebuild b/dev-libs/hyperscan/hyperscan-4.5.2.ebuild new file mode 100644 index 000000000000..7de8f427c25b --- /dev/null +++ b/dev-libs/hyperscan/hyperscan-4.5.2.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils + +DESCRIPTION="High-performance regular expression matching library" +SRC_URI="https://github.com/01org/hyperscan/archive/v${PV}.tar.gz -> ${P}.tar.gz" +HOMEPAGE="https://01.org/hyperscan" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="cpu_flags_x86_ssse3 static-libs" + +DEPEND="dev-util/ragel + =dev-lang/python-2* + dev-libs/boost + net-libs/libpcap" + +REQUIRED_USE="cpu_flags_x86_ssse3" + +src_configure() { + local mycmakeargs=( + -DBUILD_SHARED_LIBS=$(usex static-libs OFF ON) + -DBUILD_STATIC_AND_SHARED=$(usex static-libs ON OFF) + ) + cmake-utils_src_configure +} diff --git a/dev-libs/hyperscan/metadata.xml b/dev-libs/hyperscan/metadata.xml new file mode 100644 index 000000000000..fa9f4a3de1e9 --- /dev/null +++ b/dev-libs/hyperscan/metadata.xml @@ -0,0 +1,15 @@ + + + + + c@roessner.co + Christian Roessner + + + proxy-maint@gentoo.org + Proxy Maintainers + + + 01org/hyperscan + + diff --git a/dev-libs/hyphen/Manifest b/dev-libs/hyphen/Manifest new file mode 100644 index 000000000000..7ab379a2c120 --- /dev/null +++ b/dev-libs/hyphen/Manifest @@ -0,0 +1,7 @@ +DIST hyphen-2.8.6.tar.gz 636800 SHA256 155cc1be5f406a4f3e55cd5154dd30353652f4da6cff0f600be4f1f67c127208 SHA512 37ca403af59b1e5b254dff69bdf46f933818385517bbd93c3f9b3c177a05408d971b14d2e4b98922a0c274e490a1e23fc468a12984a2802f42c5e67fc0f9ad34 WHIRLPOOL a4a2a40e94925a96af89b70ea980f399eab90dfb640a11aa04617ee5d3a41026c59f2120473fc69b72c0a678590f53979b2e3773474b4c4506a5f104609aa5bf +DIST hyphen-2.8.8.tar.gz 638369 SHA256 304636d4eccd81a14b6914d07b84c79ebb815288c76fe027b9ebff6ff24d5705 SHA512 ee514952be56869840b70fb74f60eba14dc4de246733ff8705492367e8cf00c485f8778a9d5a7ba374c988d4ac9fedbe75826dc559e1b62465dbfba21f6ce7de WHIRLPOOL a864236d9182e5c336a0d37f1740b698754900422bc034199cb9be628bdb141072edd24a220388c2e995e82e032709fdd5e61377c36322523e9d7591c656f0e1 +EBUILD hyphen-2.8.6.ebuild 656 SHA256 aa3d427386e3c2afe9a1f7e9c14889ec83ddc0ba46e4e693a6645277ebd0b8d2 SHA512 f9dd81e8316bbed3638ca2601fe0d7328e5895f3e57a5567541c39ba84c465daa2b69d2babafbdaa8de00f936fffb99b566fbd485ea064b48959cbe7aa2a0677 WHIRLPOOL 26f8dfa02b3c7de502d66f019eb4419a25e1c509d6fd0ffd1163f46b2817558737e5dd4620c9ff7e26adf5ceaea52e7ebb1a933f6ad4ceeebe3c8039d5517d14 +EBUILD hyphen-2.8.8.ebuild 726 SHA256 f787099d5a7aa33467b5fabea4847dc73a3891e0badab5440d692c39f334ff02 SHA512 b3a436937c43ea8526202c767fff2ecdf70f852ace08f412131f8291acf3ee1b5d78fbeaf86a8bd16b7009e55809cb741a35422717baf79cd6ebe95cd09dd1cf WHIRLPOOL a0fb75440afd664158f9673d3021b6a4c1d5561f10b405871b80f6fd10393490a91d8304c7c1670dacbb277998540b6867f6a985dd6664e99541dd8bce3bf0cb +MISC ChangeLog 3453 SHA256 05228c9e57fd6706248c4a85080be07dee08746c1c0d155b58a970ac023e2bf2 SHA512 69f6a253cee05ca5fe330c1bc4520e23a19e8344ace252d309739487d3be403e3166b67bffac9af43ddc1831b88436660cbd89cac9c530e3367de4e5c26f45d5 WHIRLPOOL e85f99a75519d06166cf806079dac2d140f7ff18c2b7f82f906781532af80ae1a10d9fcb78aeabebe6ba29b090fc2c624fc8aafb404c31edaf67da82c42f7ae6 +MISC ChangeLog-2015 4049 SHA256 927753f5d4ca66c0546f426fd12560aa014a9cd70d32a542a6162536b131d113 SHA512 c1816eaaa5a01860f2053a87e3d83aeeb771672d478a5bc3a887363c2ef0722a51ecf6c58d79a0736cbffdfebe2c685d132be35ee2b5207ce6df4c7b7c56d4e1 WHIRLPOOL bc27da16bfd796c07cf82bf27ab4991c79e89124e51df6cdcb7c77e81435c1d4b1b8b0c40c8b500fc9ccaf90d091db26561d3be67ba70a84eccfcc81fbcb0acf +MISC metadata.xml 333 SHA256 16027f52ddb7db209628de9bfcae72d9f34f530a8a4a43fad7bb74d7b2a135ec SHA512 1c2849146c40fcf9b1c352d57e9580ea7d9c2fbdc71c5cf601343e3beb9580876b6dc1d42d41abe01163d92c0eb7837fedf85fc3e7408801f0d966ccc8e78ba2 WHIRLPOOL 8d0ff5258f30359716c5d56f6e5c4dfd7c30b0fa6127b0778bb988164bdb51e9ae2cd1e72d3c4fc9da8e6d849d003ee73b198f82c004586fd60a060a4d4ad60c diff --git a/dev-libs/hyphen/hyphen-2.8.6.ebuild b/dev-libs/hyphen/hyphen-2.8.6.ebuild new file mode 100644 index 000000000000..6bbf62853a3b --- /dev/null +++ b/dev-libs/hyphen/hyphen-2.8.6.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +DESCRIPTION="ALTLinux hyphenation library" +HOMEPAGE="http://hunspell.github.io/" +SRC_URI="mirror://sourceforge/hunspell/${P}.tar.gz" + +LICENSE="GPL-2 LGPL-2.1 MPL-1.1" +SLOT="0" +KEYWORDS="amd64 ~arm hppa ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux" +IUSE="static-libs" + +RDEPEND="app-text/hunspell" +DEPEND="${RDEPEND} + dev-lang/perl +" + +DOCS="AUTHORS ChangeLog NEWS README* THANKS TODO" + +src_configure() { + econf $(use_enable static-libs static) +} + +src_install() { + default + + docinto pdf + dodoc doc/*.pdf + + rm -f "${ED}"usr/lib*/libhyphen.la +} diff --git a/dev-libs/hyphen/hyphen-2.8.8.ebuild b/dev-libs/hyphen/hyphen-2.8.8.ebuild new file mode 100644 index 000000000000..464620ed88d3 --- /dev/null +++ b/dev-libs/hyphen/hyphen-2.8.8.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="ALTLinux hyphenation library" +HOMEPAGE="http://hunspell.github.io/" +SRC_URI="mirror://sourceforge/hunspell/${P}.tar.gz" + +LICENSE="GPL-2 LGPL-2.1 MPL-1.1" +SLOT="0" +KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux" +IUSE="static-libs" + +RDEPEND="app-text/hunspell" +DEPEND="${RDEPEND} + dev-lang/perl +" + +DOCS=( AUTHORS ChangeLog NEWS README{,_hyph_en_US.txt,.nonstandard,.hyphen,.compound} THANKS TODO ) + +src_configure() { + econf $(use_enable static-libs static) +} + +src_install() { + default + + docinto pdf + dodoc doc/*.pdf + + rm -f "${ED}"usr/lib*/libhyphen.la +} diff --git a/dev-libs/hyphen/metadata.xml b/dev-libs/hyphen/metadata.xml new file mode 100644 index 000000000000..99d138c6b1a0 --- /dev/null +++ b/dev-libs/hyphen/metadata.xml @@ -0,0 +1,11 @@ + + + + + office@gentoo.org + Gentoo Office project + + + hunspell + + diff --git a/dev-libs/icu-layoutex/Manifest b/dev-libs/icu-layoutex/Manifest new file mode 100644 index 000000000000..684347efec05 --- /dev/null +++ b/dev-libs/icu-layoutex/Manifest @@ -0,0 +1,9 @@ +AUX icu-layoutex-58.1-remove-bashisms.patch 5888 SHA256 8a2177d5f549168d5680d6477381a9f6f5ca0bd8f6bd23cc30d7f953e10907bc SHA512 54835db4db5bca704aed015a911a1f5285fbd3f6d09493cdcf98493d87a03851c9ee79cc9cbcb45da409513ad5b3af38b302aa5d164992d94af1f80c6349aeb8 WHIRLPOOL 8f0d95fe666a3de52ebf4511b0792add819e4dbf3e5e259e2f80bd1fce28e21bd046084a18c3130dc16ad1bc3c73cb912c8bb1d0d8bb387b0587d8748c656824 +DIST icu4c-58_1-src.tgz 23366443 SHA256 0eb46ba3746a9c2092c8ad347a29b1a1b4941144772d13a88667a7b11ea30309 SHA512 59b2a76834192a35125fda326587e613ef4486152cf0278c6f22568d4ae02c4b2d897efcea2654ef2b11bd1c3154aecd38cb68a70f69430736f343689f94c155 WHIRLPOOL faf2624a83f0d6f874166b328522dc9c89088db2690433ab05e96371722b635b81fd5210c7e87fe8e5df6681e881cf10204832925b448552affe8c2f6c851e37 +DIST icu4c-58_2-src.tgz 23369902 SHA256 2b0a4410153a9b20de0e20c7d8b66049a72aef244b53683d0d7521371683da0c SHA512 5c21af748f48b392e6c0412bd0aee92162ea931820dcbfab4ec6e0299868504b303d88f7586cc95de55c777ac0dca3a29d6c8ca0892c646ebc864c8a5b5a162a WHIRLPOOL 25829f8ee870b703fd604ae5b9b584390a142f5011e2a5db18332453e2f1640d81270086f243318eeb93f187b04ea23dab14901ab81c8d924c8d47b1f77aee5a +DIST icu4c-59_1-src.tgz 22706578 SHA256 7132fdaf9379429d004005217f10e00b7d2319d0fea22bdfddef8991c45b75fe SHA512 9348aa68d72a74cd1f26588c30c80eee1b48800a26930d7eb0749390fd65f7930ee8843058b6a6dd5f265e79054fef661e807ded16a1ad691cbc5ebc5ab944c4 WHIRLPOOL f213951e98b7e1b59a3caf193f671fd9dff9a77c49aa3c4c118d6e3414688830ffb029d5c01495b369d4e666ab38669340a4c24a26f93742a99145972e20ede0 +EBUILD icu-layoutex-58.1.ebuild 2512 SHA256 68473b25dbfec80af5a8c02efdbc2c252c6ed40cd49f0f9288f79374ce0b9a74 SHA512 6c7bb82c9fa751b9382832952cbe66b253d339b5034c6144556f8a8d7433a9027ca734c5363cde4a60b0f2facc938bd0d4051d4843f5cbc8d0b23de24fb12310 WHIRLPOOL 29eae0615aee317c13c5dcd94c80ac9ca89bca918b0fb680b2671dab1094c6c1887b4b1bc9b32e7927dcff3559c488624e4ae00964d2bd270f7e5911d9284133 +EBUILD icu-layoutex-58.2.ebuild 2518 SHA256 cdbdc3d93fbe314f91ecc49f54fbad2e21c6f7fe96964ab0de9b341335c08532 SHA512 f2b385bc0bad96157f3d321dc9f1b418438b3d390729b372d6c47b28bb7acf3792ff071288d25ed6a78741feb2831dc3e0733109380d86eda2e0631dd75bd8d7 WHIRLPOOL 1ec7f14baa8513a1f2ffbe698b46f2949daa27ec62ee8edf8d9a0d45a08fa1be375f0414b55d8cc1ee26c0c9a466bc9c06fd30efad14ca413fd2bb612060c2bf +EBUILD icu-layoutex-59.1.ebuild 2518 SHA256 0b3c8bc1d839dbf1c8531f26a1dbc513f03a54de7fb94fe24c9bf4aefbbfccd7 SHA512 f2aec190980a1760d6412a4c5fe74c7a01708a60c3c80751201eb30d158147312394f7270cb1f2849c1716c314cadf8a3b90b6efdf9f101c7902852ffce19ede WHIRLPOOL 6a55513020184466cdb72219917e3dee33c0158a29e884c8e680d91eeaaa098201091ea6c4d5209210863c7a53ae80088ae396a0b2a3bf05e480a5a4bb150fe8 +MISC ChangeLog 958 SHA256 c42a9b36a26f97e98ae23adeb547d4d7bb90f8298df0fa4e34fa8cfa43881289 SHA512 5d6272cee3c03e1f15c6489d97bad4cd4c695b003282bd2f6ff17c367c97e67cbd1ef73ae51f9a153d1fd38960fad84a4db32df537f2c0bd043e43e8f8b35d4c WHIRLPOOL cc73b24c2424e23dd0ebb64ebc1c25a1b7314ce59d1e456f0024c16a83f61f51a8114e2fbd41875e9f0a6d8ca75fbdf926b678785443345e5efd9415821d2a96 +MISC metadata.xml 379 SHA256 37b71ba307774d8449cdde890a47780fe2e269b9ffe83b3b6786ad01519ea56e SHA512 45e7eab7e7d954331f7d64582eaef71c18316335fca7cbf6bbdf8e71555301e995ff7ab04e35977be8a82fc8360af00115567aeddd710b253c6a68fd893228aa WHIRLPOOL 82e2b74470e891c544d483f5bdd4977653a97a67542e4e6aed69450c9cc041636b52a455c59408018f9c6f5690d27f4d036ec60352c81bac90426a2e429298a4 diff --git a/dev-libs/icu-layoutex/files/icu-layoutex-58.1-remove-bashisms.patch b/dev-libs/icu-layoutex/files/icu-layoutex-58.1-remove-bashisms.patch new file mode 100644 index 000000000000..ef60ce4569b8 --- /dev/null +++ b/dev-libs/icu-layoutex/files/icu-layoutex-58.1-remove-bashisms.patch @@ -0,0 +1,224 @@ +diff -ruN a/config/Makefile.inc.in b/config/Makefile.inc.in +--- a/config/Makefile.inc.in 2016-09-09 23:28:18.000000000 +0200 ++++ b/config/Makefile.inc.in 2016-11-05 19:43:07.688466668 +0100 +@@ -124,12 +124,6 @@ + # with usually. Many applications will want to add $(ICULIBS_I18N) as well. + ICULIBS = $(ICULIBS_BASE) $(ICULIBS_I18N) $(ICULIBS_COMMON) $(ICULIBS_DATA) + +-# Proper echo newline handling is needed in icu-config +-ECHO_N=@ICU_ECHO_N@ +-ECHO_C=@ICU_ECHO_C@ +-# Not currently being used but good to have for proper tab handling +-ECHO_T=@ICU_ECHO_T@ +- + ################################################################## + ################################################################## + # +diff -ruN a/config/icu-config-bottom b/config/icu-config-bottom +--- a/config/icu-config-bottom 2016-09-09 23:28:18.000000000 +0200 ++++ b/config/icu-config-bottom 2016-11-05 19:49:00.854481361 +0100 +@@ -218,65 +218,65 @@ + ;; + + --cflags) +- echo $ECHO_N "${CFLAGS} ${ECHO_C}" ++ printf "%s" "${CFLAGS} " + ;; + + --cc) +- echo $ECHO_N "${CC} ${ECHO_C}" ++ printf "%s" "${CC} " + ;; + + --cxx) +- echo $ECHO_N "${CXX} ${ECHO_C}" ++ printf "%s" "${CXX} " + ;; + + --cxxflags) +- echo $ECHO_N "${CXXFLAGS} ${ECHO_C}" ++ printf "%s" "${CXXFLAGS} " + ;; + + --cppflags) + # Don't echo the -I. - it's unneeded. +- echo $ECHO_N "${CPPFLAGS} ${ECHO_C}" | sed -e 's/-I. //' ++ printf "%s" "${CPPFLAGS} " | sed -e 's/-I. //' + ;; + + --cppflags-searchpath) +- echo $ECHO_N "-I${prefix}/include ${ECHO_C}" ++ printf "%s" "-I${prefix}/include " + ;; + + --cppflags-dynamic) +- echo $ECHO_N "${SHAREDLIBCPPFLAGS} ${ECHO_C}" ++ printf "%s" "${SHAREDLIBCPPFLAGS} " + ;; + + --cxxflags-dynamic) +- echo $ECHO_N "${SHAREDLIBCXXFLAGS} ${ECHO_C}" ++ printf "%s" "${SHAREDLIBCXXFLAGS} " + ;; + + --cflags-dynamic) +- echo $ECHO_N "${SHAREDLIBCFLAGS} ${ECHO_C}" ++ printf "%s" "${SHAREDLIBCFLAGS} " + ;; + + --ldflags-system) +- echo $ECHO_N "${LIBS} ${ECHO_C}" ++ printf "%s" "${LIBS} " + ;; + + --ldflags) +- echo $ECHO_N "${LDFLAGS} ${ICULIBS} ${ECHO_C}" ++ printf "%s" "${LDFLAGS} ${ICULIBS} " + # $RPATH_LDFLAGS + ;; + + --ldflags-libsonly) +- echo $ECHO_N "${ICULIBS_I18N} ${ICULIBS_COMMON} ${ICULIBS_DATA} ${ECHO_C}" ++ printf "%s" "${ICULIBS_I18N} ${ICULIBS_COMMON} ${ICULIBS_DATA} " + ;; + + --ldflags-icuio) +- echo $ECHO_N " ${ICULIBS_ICUIO} ${ECHO_C}" ++ printf "%s" " ${ICULIBS_ICUIO} " + ;; + + --ldflags-obsolete) +- echo $ECHO_N "${ICULIBS_OBSOLETE} ${ECHO_C}" ++ printf "%s" "${ICULIBS_OBSOLETE} " + ;; + + --ldflags-toolutil) +- echo $ECHO_N " ${ICULIBS_TOOLUTIL} ${ECHO_C}" ++ printf "%s" " ${ICULIBS_TOOLUTIL} " + ;; + + --ldflags-layout) +@@ -285,7 +285,7 @@ + ;; + + --ldflags-searchpath) +- echo $ECHO_N "-L${libdir} ${ECHO_C}" ++ printf "%s" "-L${libdir} " + ;; + + --detect-prefix) +@@ -321,47 +321,47 @@ + ;; + + --shared-datadir) +- echo $ECHO_N "${datadir} ${ECHO_C}" ++ printf "%s" "${datadir} " + ;; + + --incfile) +- echo $ECHO_N "${pkglibdir}/Makefile.inc ${ECHO_C}" ++ printf "%s" "${pkglibdir}/Makefile.inc " + ;; + + --incpkgdatafile) +- echo $ECHO_N "${pkglibdir}/pkgdata.inc ${ECHO_C}" ++ printf "%s" "${pkglibdir}/pkgdata.inc " + ;; + + --icudata) +- echo $ECHO_N "${ICUDATA_NAME} ${ECHO_C}" ++ printf "%s" "${ICUDATA_NAME} " + ;; + + --icudata-mode) +- echo $ECHO_N "${PKGDATA_MODE} ${ECHO_C}" ++ printf "%s" "${PKGDATA_MODE} " + ;; + + --icudata-install-dir) +- echo $ECHO_N "${ICUPKGDATA_DIR} ${ECHO_C}" ++ printf "%s" "${ICUPKGDATA_DIR} " + ;; + + --icudatadir) +- echo $ECHO_N "${ICUDATA_DIR} ${ECHO_C}" ++ printf "%s" "${ICUDATA_DIR} " + ;; + + --shlib-c) +- echo $ECHO_N "${SHLIB_c} ${ECHO_C}" ++ printf "%s" "${SHLIB_c} " + ;; + + --shlib-cc) +- echo $ECHO_N "${SHLIB_cc} ${ECHO_C}" ++ printf "%s" "${SHLIB_cc} " + ;; + + --version) +- echo $ECHO_N $VERSION ++ printf "%s" "$VERSION" + ;; + + --unicode-version) +- echo $ECHO_N $UNICODE_VERSION ++ printf "%s" "$UNICODE_VERSION" + ;; + + --host) +diff -ruN a/configure.ac b/configure.ac +--- a/configure.ac 2016-10-04 21:30:20.000000000 +0200 ++++ b/configure.ac 2016-11-05 19:43:07.688466668 +0100 +@@ -22,24 +22,6 @@ + PACKAGE="icu" + AC_SUBST(PACKAGE) + +-# Use custom echo test for newline option +-# Current autoconf (2.65) gives incorrect echo newline option +-# for icu-config +-# This may be removed later - mow (June 17, 2010) +-ICU_ECHO_C= ICU_ECHO_N= ICU_ECHO_T= +-case `/bin/sh -c "echo -n x"` in +--n*) +- case `/bin/sh -c "echo 'x\c'"` in +- *c*) ICU_ECHO_T=' ';; # ECHO_T is single tab character. +- *) ICU_ECHO_C='\c';; +- esac;; +-*) +- ICU_ECHO_N='-n';; +-esac +-AC_SUBST(ICU_ECHO_N) +-AC_SUBST(ICU_ECHO_C) +-AC_SUBST(ICU_ECHO_T) +- + AC_MSG_CHECKING(for ICU version numbers) + + # Get the ICU version from uversion.h or other headers +diff -ruN a/icudefs.mk.in b/icudefs.mk.in +--- a/icudefs.mk.in 2016-09-09 23:28:18.000000000 +0200 ++++ b/icudefs.mk.in 2016-11-05 19:43:07.688466668 +0100 +@@ -157,11 +157,6 @@ + ENABLE_STATIC = @ENABLE_STATIC@ + ENABLE_SHARED = @ENABLE_SHARED@ + +-# Echo w/o newline +- +-#ECHO_N = @ICU_ECHO_N@ +-#ECHO_C = @ICU_ECHO_C@ +- + # Commands to compile + COMPILE.c= $(CC) $(CPPFLAGS) $(DEFS) $(CFLAGS) -c + COMPILE.cc= $(CXX) $(CPPFLAGS) $(DEFS) $(CXXFLAGS) -c +diff -ruN a/test/hdrtst/Makefile.in b/test/hdrtst/Makefile.in +--- a/test/hdrtst/Makefile.in 2016-09-28 06:17:24.000000000 +0200 ++++ b/test/hdrtst/Makefile.in 2016-11-05 19:43:07.688466668 +0100 +@@ -35,9 +35,6 @@ + include $(shell icu-config --incfile) + DIRS=$(prefix)/include/unicode + LDIRS=$(prefix)/include/layout +-ECHO_T=@ECHO_T@ +-ECHO_C=@ECHO_C@ +-ECHO_N=@ECHO_N@ + + all: + @echo Please read this Makefile for more information. diff --git a/dev-libs/icu-layoutex/icu-layoutex-58.1.ebuild b/dev-libs/icu-layoutex/icu-layoutex-58.1.ebuild new file mode 100644 index 000000000000..df417bcaecef --- /dev/null +++ b/dev-libs/icu-layoutex/icu-layoutex-58.1.ebuild @@ -0,0 +1,115 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils flag-o-matic toolchain-funcs autotools multilib-minimal + +DESCRIPTION="External layout part of International Components for Unicode" +HOMEPAGE="http://www.icu-project.org/" +SRC_URI="http://download.icu-project.org/files/icu4c/${PV/_/}/icu4c-${PV//./_}-src.tgz" + +LICENSE="BSD" + +SLOT="0/${PV}" + +KEYWORDS="amd64 hppa ia64 ppc ppc64 x86" +IUSE="debug static-libs" + +RDEPEND=" + ~dev-libs/icu-${PV}[${MULTILIB_USEDEP}] + dev-libs/icu-le-hb[${MULTILIB_USEDEP}] +" + +DEPEND=" + virtual/pkgconfig[${MULTILIB_USEDEP}] + ${RDEPEND} +" + +S="${WORKDIR}/${PN/-layoutex}/source" + +PATCHES=( + "${FILESDIR}/${PN}-58.1-remove-bashisms.patch" +) + +src_prepare() { + # apply patches + default + + local variable + + # Disable renaming as it is stupid thing to do + sed -i \ + -e "s/#define U_DISABLE_RENAMING 0/#define U_DISABLE_RENAMING 1/" \ + common/unicode/uconfig.h || die + + # Fix linking of icudata + sed -i \ + -e "s:LDFLAGSICUDT=-nodefaultlibs -nostdlib:LDFLAGSICUDT=:" \ + config/mh-linux || die + + eautoreconf +} + +src_configure() { + # Use C++14 + append-cxxflags -std=c++14 + + if tc-is-cross-compiler; then + mkdir "${WORKDIR}"/host || die + pushd "${WORKDIR}"/host >/dev/null || die + + CFLAGS="" CXXFLAGS="" ASFLAGS="" LDFLAGS="" \ + CC="$(tc-getBUILD_CC)" CXX="$(tc-getBUILD_CXX)" AR="$(tc-getBUILD_AR)" \ + RANLIB="$(tc-getBUILD_RANLIB)" LD="$(tc-getBUILD_LD)" \ + "${S}"/configure --disable-renaming --disable-debug \ + --disable-samples --enable-static || die + emake + + popd >/dev/null || die + fi + + multilib-minimal_src_configure +} + +multilib_src_configure() { + local myeconfargs=( + --disable-renaming + --disable-samples + --enable-layoutex + $(use_enable debug) + $(use_enable static-libs static) + ) + + tc-is-cross-compiler && myeconfargs+=( + --with-cross-build="${WORKDIR}"/host + ) + + # icu tries to use clang by default + tc-export CC CXX + + ECONF_SOURCE=${S} \ + econf "${myeconfargs[@]}" +} + +multilib_src_test() { + # INTLTEST_OPTS: intltest options + # -e: Exhaustive testing + # -l: Reporting of memory leaks + # -v: Increased verbosity + # IOTEST_OPTS: iotest options + # -e: Exhaustive testing + # -v: Increased verbosity + # CINTLTST_OPTS: cintltst options + # -e: Exhaustive testing + # -v: Increased verbosity + pushd layoutex &>/dev/null || die + emake -j1 VERBOSE="1" check + popd &>/dev/null || die +} + +multilib_src_install() { + pushd layoutex &>/dev/null || die + default + popd &>/dev/null || die +} diff --git a/dev-libs/icu-layoutex/icu-layoutex-58.2.ebuild b/dev-libs/icu-layoutex/icu-layoutex-58.2.ebuild new file mode 100644 index 000000000000..92aedc3ca2d9 --- /dev/null +++ b/dev-libs/icu-layoutex/icu-layoutex-58.2.ebuild @@ -0,0 +1,115 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils flag-o-matic toolchain-funcs autotools multilib-minimal + +DESCRIPTION="External layout part of International Components for Unicode" +HOMEPAGE="http://www.icu-project.org/" +SRC_URI="http://download.icu-project.org/files/icu4c/${PV/_/}/icu4c-${PV//./_}-src.tgz" + +LICENSE="BSD" + +SLOT="0/${PV}" + +KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 x86" +IUSE="debug static-libs" + +RDEPEND=" + ~dev-libs/icu-${PV}[${MULTILIB_USEDEP}] + dev-libs/icu-le-hb[${MULTILIB_USEDEP}] +" + +DEPEND=" + virtual/pkgconfig[${MULTILIB_USEDEP}] + ${RDEPEND} +" + +S="${WORKDIR}/${PN/-layoutex}/source" + +PATCHES=( + "${FILESDIR}/${PN}-58.1-remove-bashisms.patch" +) + +src_prepare() { + # apply patches + default + + local variable + + # Disable renaming as it is stupid thing to do + sed -i \ + -e "s/#define U_DISABLE_RENAMING 0/#define U_DISABLE_RENAMING 1/" \ + common/unicode/uconfig.h || die + + # Fix linking of icudata + sed -i \ + -e "s:LDFLAGSICUDT=-nodefaultlibs -nostdlib:LDFLAGSICUDT=:" \ + config/mh-linux || die + + eautoreconf +} + +src_configure() { + # Use C++14 + append-cxxflags -std=c++14 + + if tc-is-cross-compiler; then + mkdir "${WORKDIR}"/host || die + pushd "${WORKDIR}"/host >/dev/null || die + + CFLAGS="" CXXFLAGS="" ASFLAGS="" LDFLAGS="" \ + CC="$(tc-getBUILD_CC)" CXX="$(tc-getBUILD_CXX)" AR="$(tc-getBUILD_AR)" \ + RANLIB="$(tc-getBUILD_RANLIB)" LD="$(tc-getBUILD_LD)" \ + "${S}"/configure --disable-renaming --disable-debug \ + --disable-samples --enable-static || die + emake + + popd >/dev/null || die + fi + + multilib-minimal_src_configure +} + +multilib_src_configure() { + local myeconfargs=( + --disable-renaming + --disable-samples + --enable-layoutex + $(use_enable debug) + $(use_enable static-libs static) + ) + + tc-is-cross-compiler && myeconfargs+=( + --with-cross-build="${WORKDIR}"/host + ) + + # icu tries to use clang by default + tc-export CC CXX + + ECONF_SOURCE=${S} \ + econf "${myeconfargs[@]}" +} + +multilib_src_test() { + # INTLTEST_OPTS: intltest options + # -e: Exhaustive testing + # -l: Reporting of memory leaks + # -v: Increased verbosity + # IOTEST_OPTS: iotest options + # -e: Exhaustive testing + # -v: Increased verbosity + # CINTLTST_OPTS: cintltst options + # -e: Exhaustive testing + # -v: Increased verbosity + pushd layoutex &>/dev/null || die + emake -j1 VERBOSE="1" check + popd &>/dev/null || die +} + +multilib_src_install() { + pushd layoutex &>/dev/null || die + default + popd &>/dev/null || die +} diff --git a/dev-libs/icu-layoutex/icu-layoutex-59.1.ebuild b/dev-libs/icu-layoutex/icu-layoutex-59.1.ebuild new file mode 100644 index 000000000000..cb059aee76fc --- /dev/null +++ b/dev-libs/icu-layoutex/icu-layoutex-59.1.ebuild @@ -0,0 +1,115 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils flag-o-matic toolchain-funcs autotools multilib-minimal + +DESCRIPTION="External layout part of International Components for Unicode" +HOMEPAGE="http://www.icu-project.org/" +SRC_URI="http://download.icu-project.org/files/icu4c/${PV/_/}/icu4c-${PV//./_}-src.tgz" + +LICENSE="BSD" + +SLOT="0/${PV}" + +KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~x86" +IUSE="debug static-libs" + +RDEPEND=" + ~dev-libs/icu-${PV}[${MULTILIB_USEDEP}] + dev-libs/icu-le-hb[${MULTILIB_USEDEP}] +" + +DEPEND=" + virtual/pkgconfig[${MULTILIB_USEDEP}] + ${RDEPEND} +" + +S="${WORKDIR}/${PN/-layoutex}/source" + +PATCHES=( + "${FILESDIR}/${PN}-58.1-remove-bashisms.patch" +) + +src_prepare() { + # apply patches + default + + local variable + + # Disable renaming as it is stupid thing to do + sed -i \ + -e "s/#define U_DISABLE_RENAMING 0/#define U_DISABLE_RENAMING 1/" \ + common/unicode/uconfig.h || die + + # Fix linking of icudata + sed -i \ + -e "s:LDFLAGSICUDT=-nodefaultlibs -nostdlib:LDFLAGSICUDT=:" \ + config/mh-linux || die + + eautoreconf +} + +src_configure() { + # Use C++14 + append-cxxflags -std=c++14 + + if tc-is-cross-compiler; then + mkdir "${WORKDIR}"/host || die + pushd "${WORKDIR}"/host >/dev/null || die + + CFLAGS="" CXXFLAGS="" ASFLAGS="" LDFLAGS="" \ + CC="$(tc-getBUILD_CC)" CXX="$(tc-getBUILD_CXX)" AR="$(tc-getBUILD_AR)" \ + RANLIB="$(tc-getBUILD_RANLIB)" LD="$(tc-getBUILD_LD)" \ + "${S}"/configure --disable-renaming --disable-debug \ + --disable-samples --enable-static || die + emake + + popd >/dev/null || die + fi + + multilib-minimal_src_configure +} + +multilib_src_configure() { + local myeconfargs=( + --disable-renaming + --disable-samples + --enable-layoutex + $(use_enable debug) + $(use_enable static-libs static) + ) + + tc-is-cross-compiler && myeconfargs+=( + --with-cross-build="${WORKDIR}"/host + ) + + # icu tries to use clang by default + tc-export CC CXX + + ECONF_SOURCE=${S} \ + econf "${myeconfargs[@]}" +} + +multilib_src_test() { + # INTLTEST_OPTS: intltest options + # -e: Exhaustive testing + # -l: Reporting of memory leaks + # -v: Increased verbosity + # IOTEST_OPTS: iotest options + # -e: Exhaustive testing + # -v: Increased verbosity + # CINTLTST_OPTS: cintltst options + # -e: Exhaustive testing + # -v: Increased verbosity + pushd layoutex &>/dev/null || die + emake -j1 VERBOSE="1" check + popd &>/dev/null || die +} + +multilib_src_install() { + pushd layoutex &>/dev/null || die + default + popd &>/dev/null || die +} diff --git a/dev-libs/icu-layoutex/metadata.xml b/dev-libs/icu-layoutex/metadata.xml new file mode 100644 index 000000000000..1e2a3b43bac3 --- /dev/null +++ b/dev-libs/icu-layoutex/metadata.xml @@ -0,0 +1,12 @@ + + + + + polynomial-c@gentoo.org + Lars Wendler + + + office@gentoo.org + Gentoo Office project + + diff --git a/dev-libs/icu-le-hb/Manifest b/dev-libs/icu-le-hb/Manifest new file mode 100644 index 000000000000..0c134bca5cd9 --- /dev/null +++ b/dev-libs/icu-le-hb/Manifest @@ -0,0 +1,4 @@ +DIST icu-le-hb-1.0.3.tar.gz 39352 SHA256 1c759ec8ab979bcd2fdf13bf398aa255fa6b8dc002e4232f8187b4b288f91907 SHA512 06dff69bc17c39c13bd5bc801dbe09e2dc2f0cdf1acd774fa863e09f4a65820b2f330d4836da6748c077365f685fa74452ec1924785e3191cc2925036803cbb4 WHIRLPOOL 6cb6341126b1bdc38de6a3c66e9182c2c6cb0bef2bbfe294cbf3f785e942be02201c7afb13df5316fa40f6fbcda4edb845e6827e39942004c43a3a33eaebdbfb +EBUILD icu-le-hb-1.0.3.ebuild 849 SHA256 d139efade49c26a0dd4245f568373e56b1fa44628a900c6bb080cffebf7c4e4a SHA512 4a86ca7907b5b909a897aeb7ca3216e355ae56376e19bb9586e6934f68058d4ed842aece49ecc0a14ad6546ec89360a4acc2501d5a1387726b9e6eee58597248 WHIRLPOOL 69d2eaf1adf805dbb0ecfbcecc0d9b96dba0dd80e70b05550cc58caf4a2d99d243b16e03cb9b7966e2f1494f05bccafcdaba1dc889f1d1aebad474147fa5dbea +MISC ChangeLog 916 SHA256 5892daea1371bdf0436950de038c5bb6234700d49dfbed18330340474fd10d2d SHA512 9f5bdc106dfceed152b4cab0be0d545499486efe04a2e0b1f6975d6425743fb47442d6cf3a26d90359d01a027cf736fe5f43c1301dbd55ce8eed5e91e90d1d87 WHIRLPOOL 4ad8476cbef3a6b7986ca7820c4c6620128bea6e7a3477fc08db93d985c6a464c99b93ae13ac057c59e693990cce32ea7fb2f3751d308d827bda98fe00091832 +MISC metadata.xml 464 SHA256 cfc9a2d52c5c124ac1f8b20ed9404c9760dadc26a3b3ba446723ea0e6761630f SHA512 40aeb13c0ee32afb9b58e3412bf26806bbf724deebd6b966477412df1889cfc62c90755820381d3622a535ce83ec7bf4e051f85dea84138b84bf553ecc7b84fb WHIRLPOOL 703dd0238cafa458b022d5b572833a2d8246982ce2f8f87177d924656b2f7b43115aa300b6dc85e22190ee12ed24aebccedf2be539bdd2220bc405a56a23c324 diff --git a/dev-libs/icu-le-hb/icu-le-hb-1.0.3.ebuild b/dev-libs/icu-le-hb/icu-le-hb-1.0.3.ebuild new file mode 100644 index 000000000000..f6029e446bf0 --- /dev/null +++ b/dev-libs/icu-le-hb/icu-le-hb-1.0.3.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools multilib-minimal + +DESCRIPTION="ICU Layout Engine API on top of HarfBuzz shaping library" +HOMEPAGE="http://www.harfbuzz.org https://github.com/behdad/icu-le-hb" +SRC_URI="https://github.com/behdad/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="icu" +SLOT="0" + +KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86" +IUSE="" + +# dev-libs/icu is not linked into icu-le-hb but the latter still needs +# to be rebuilt on dev-libs/icu upgrades (see bug #621786). +RDEPEND=" + >=dev-libs/icu-58.1:=[${MULTILIB_USEDEP}] + media-libs/harfbuzz:=[${MULTILIB_USEDEP}] +" + +DEPEND=" + ${RDEPEND} + virtual/pkgconfig[${MULTILIB_USEDEP}] +" + +src_prepare() { + default + eautoreconf +} + +multilib_src_configure() { + ECONF_SOURCE="${S}" econf +} diff --git a/dev-libs/icu-le-hb/metadata.xml b/dev-libs/icu-le-hb/metadata.xml new file mode 100644 index 000000000000..29a8001dfe99 --- /dev/null +++ b/dev-libs/icu-le-hb/metadata.xml @@ -0,0 +1,15 @@ + + + + + polynomial-c@gentoo.org + Lars Wendler + + + office@gentoo.org + Gentoo Office project + + + behdad/icu-le-hb + + diff --git a/dev-libs/icu/Manifest b/dev-libs/icu/Manifest new file mode 100644 index 000000000000..a1868209dd1d --- /dev/null +++ b/dev-libs/icu/Manifest @@ -0,0 +1,13 @@ +AUX icu-58.1-iterator.patch 4097 SHA256 468bba2185584c30a5b096d7c85d0afa739067594f0883b6f8f448b1bf996801 SHA512 46c51629fb5ff14cdfcbc355bff6cceb7132fc79176ec7fcf76bd9ac8553fccbf6528508753b73a0a4301721260ad60a359bf56c66e3bd0151415a4a226ff21c WHIRLPOOL 4268216dad6ed8a2ce3e00cb1a9d7e7a8bcb2922ce1f02b5f50d07632a843d1bb8e1dea9710acff1cbc943a41940c22fc453faafe39fa3bb8bad068d0ca01588 +AUX icu-58.1-remove-bashisms.patch 5888 SHA256 8a2177d5f549168d5680d6477381a9f6f5ca0bd8f6bd23cc30d7f953e10907bc SHA512 54835db4db5bca704aed015a911a1f5285fbd3f6d09493cdcf98493d87a03851c9ee79cc9cbcb45da409513ad5b3af38b302aa5d164992d94af1f80c6349aeb8 WHIRLPOOL 8f0d95fe666a3de52ebf4511b0792add819e4dbf3e5e259e2f80bd1fce28e21bd046084a18c3130dc16ad1bc3c73cb912c8bb1d0d8bb387b0587d8748c656824 +AUX icu-58.2-CVE-2017-7867.patch 8934 SHA256 2dfef95f7f0ac9f769a8d221ba2572f30bbbb84c0566bfe5b0594287f8cfad87 SHA512 6e29326f378461ae07b253c59550447096352be1247e575d974839cea37ec326f7fa8dca58caab63544582ef9f4b3c71c9e3fa0eceb2e85fb7380ee71b138c5a WHIRLPOOL 43d1163e4e53db31929c380964b8ef1ad5dbdcf6d6f7d20cebf28b1959509783a4feaa42782af7fc3c3f555dbba4be6c4e18deaac096f0ea6ba031ac68891061 +AUX icu-58.2-glibc226.patch 463 SHA256 b3a7f74faddfaea0dd8f474093b3f8218b64f2757fb55188d9ec514d6fad5aed SHA512 20d8e76c43ef5549ca7f104b052661269c99d4af45b2a65bd9d72e28b01d0c3b70c066b51799e09d7117a4a39e44fd463fae2522a238a41972c0679c290c5da3 WHIRLPOOL 9f19a870de7ea6dcd02d9a4e9a767a17e03e8862121462204753e121550c5ebec1e0f13b7abe98447bf6d3d69a98ee8ae39c9a043665eb1fc4f65499a9c5de34 +DIST icu4c-58_1-src.tgz 23366443 SHA256 0eb46ba3746a9c2092c8ad347a29b1a1b4941144772d13a88667a7b11ea30309 SHA512 59b2a76834192a35125fda326587e613ef4486152cf0278c6f22568d4ae02c4b2d897efcea2654ef2b11bd1c3154aecd38cb68a70f69430736f343689f94c155 WHIRLPOOL faf2624a83f0d6f874166b328522dc9c89088db2690433ab05e96371722b635b81fd5210c7e87fe8e5df6681e881cf10204832925b448552affe8c2f6c851e37 +DIST icu4c-58_2-src.tgz 23369902 SHA256 2b0a4410153a9b20de0e20c7d8b66049a72aef244b53683d0d7521371683da0c SHA512 5c21af748f48b392e6c0412bd0aee92162ea931820dcbfab4ec6e0299868504b303d88f7586cc95de55c777ac0dca3a29d6c8ca0892c646ebc864c8a5b5a162a WHIRLPOOL 25829f8ee870b703fd604ae5b9b584390a142f5011e2a5db18332453e2f1640d81270086f243318eeb93f187b04ea23dab14901ab81c8d924c8d47b1f77aee5a +DIST icu4c-59_1-src.tgz 22706578 SHA256 7132fdaf9379429d004005217f10e00b7d2319d0fea22bdfddef8991c45b75fe SHA512 9348aa68d72a74cd1f26588c30c80eee1b48800a26930d7eb0749390fd65f7930ee8843058b6a6dd5f265e79054fef661e807ded16a1ad691cbc5ebc5ab944c4 WHIRLPOOL f213951e98b7e1b59a3caf193f671fd9dff9a77c49aa3c4c118d6e3414688830ffb029d5c01495b369d4e666ab38669340a4c24a26f93742a99145972e20ede0 +EBUILD icu-58.1-r1.ebuild 3332 SHA256 dc6106c4989b4f2659311dbb93bfbd8dae7c3d47909cf1b616910028e3e8618e SHA512 03883866e050b61cbeb8268247f8a59b6516df75a33be729b7a8c513a887d951d748af42950bdcb5484dff9d9734daad570943845aa75996297312ac0181a258 WHIRLPOOL 08a12d75f13a6683b2868def108208b6807b6fd1c529c62f60b17f75fca39aba98f9fc5db7d7eb8d4413ee793274109585edaa646bae9fc9337b0856f4e53917 +EBUILD icu-58.2-r1.ebuild 3420 SHA256 d007abe5c827d5101f50b8c35f7aa08b6f4a050e1c0e6cfaa57fb9da9ea46f18 SHA512 f1b4ac7b406f696b41434a321c2000454233aaf715002894e5c51f92f97b914a34c7d5d5c0287e0434d088d9b3864f2146f6b3917c5fda894d385a2ef24556b2 WHIRLPOOL 3a260e92a26f6bf40e11615884edac89c67991aeb724be7ed69f7a68c24b3e0072812c01281af7093ea8d7119a8026e9a11aaad78aa8884122d5bc25383f2706 +EBUILD icu-59.1.ebuild 3342 SHA256 4c342579f697b9f7a77b4e3b19b6e9c632d8aa1c1c306c287f09cfdb73d82ae1 SHA512 708ec7e483bb078b1d0f7067ba720197b37280de9a09ba1fb92a944aad3613fd1db93f94cc1d53ce457a2ec610afe88232a040a25128d873bc401b91f0bc5911 WHIRLPOOL 198d7808244b21964aeb76b58595a86d16fd4da4aa9278a8a4fd931bca2f19f59afed5d9e0c91dd863dd4f98e6b354e0d28bb748d8504b262ad0739c71497b9f +MISC ChangeLog 7015 SHA256 a409c7d4ade91a349b465124255aef89684f709ea747792e54d7793e515962a5 SHA512 dd4fcb6362b6fe14111487f5702820ba9acc8e006b5066cf325669aeb4def1f7d77e0074185bf4dc30b752c21cb3f1db6041bb56a3d51e7cd06f664097dee324 WHIRLPOOL 0b119392911cbd40e7474e668fed5c596e4915ac75fb86cc0dfa99480efa2ffa642659b7c102ba2bb887f81f4e1727f5a708f20cb73f19eeb56a3c75dcb32db9 +MISC ChangeLog-2015 40840 SHA256 a0753f110b13f5ed6f65cd0051e4b152e5dca9dedec14ee463ef16a7af9ba86e SHA512 4f2c4d74edbb747ba2c8e2111cd89e2b08d8bf1df16bf9db20b67969ce4f8422585b40eb42f9599c37cceb8f35424e74bfa50318d67ffdf35416995609042fc8 WHIRLPOOL 85f6ff953d6647f08988396c7d08805070fcf32b9111261f55dd4300bac54881086ef6bfb2831338fb9207cf042b54f43f098da3bd0ed33575ac7cc6fc164c27 +MISC metadata.xml 255 SHA256 34d028c790cfe86c47c5c3dcf8655fcefc3e23ff52fed38a400ce42d678c8c5e SHA512 ac646e8ac676faf0aac283e4be31c5f2b29e98ccf07327073ed05e688ce696caf639bdfea63e4aed141a90e84c0a86892bc717a52b95cdf1739aaa15240013c3 WHIRLPOOL 87f7199996948fe95e5417f8da0c4c90cd51a68f246ac8ae87a2e2a31c11c709f220d664eb893b34692577415e5f5eb351dd7e310dbc59f508fa40c7edb8ceeb diff --git a/dev-libs/icu/files/icu-58.1-iterator.patch b/dev-libs/icu/files/icu-58.1-iterator.patch new file mode 100644 index 000000000000..6f52375eb790 --- /dev/null +++ b/dev-libs/icu/files/icu-58.1-iterator.patch @@ -0,0 +1,127 @@ +source: http://bugs.icu-project.org/trac/changeset/39484/ + + +Index: icu/common/ulist.c +=================================================================== +--- icu/common/ulist.c (revision 39483) ++++ icu/common/ulist.c (revision 39484) +@@ -30,5 +30,4 @@ + + int32_t size; +- int32_t currentIndex; + }; + +@@ -52,5 +51,4 @@ + newList->tail = NULL; + newList->size = 0; +- newList->currentIndex = -1; + + return newList; +@@ -81,6 +79,7 @@ + p->next->previous = p->previous; + } +- list->curr = NULL; +- list->currentIndex = 0; ++ if (p == list->curr) { ++ list->curr = p->next; ++ } + --list->size; + if (p->forceDelete) { +@@ -151,5 +150,4 @@ + list->head->previous = newItem; + list->head = newItem; +- list->currentIndex++; + } + +@@ -194,5 +192,4 @@ + curr = list->curr; + list->curr = curr->next; +- list->currentIndex++; + + return curr->data; +@@ -210,5 +207,4 @@ + if (list != NULL) { + list->curr = list->head; +- list->currentIndex = 0; + } + } +@@ -273,3 +269,2 @@ + return (UList *)(en->context); + } +- +Index: icu/i18n/ucol_res.cpp +=================================================================== +--- icu/i18n/ucol_res.cpp (revision 39483) ++++ icu/i18n/ucol_res.cpp (revision 39484) +@@ -681,4 +681,5 @@ + } + memcpy(en, &defaultKeywordValues, sizeof(UEnumeration)); ++ ulist_resetList(sink.values); // Initialize the iterator. + en->context = sink.values; + sink.values = NULL; // Avoid deletion in the sink destructor. +Index: icu/test/intltest/apicoll.cpp +=================================================================== +--- icu/test/intltest/apicoll.cpp (revision 39483) ++++ icu/test/intltest/apicoll.cpp (revision 39484) +@@ -82,14 +82,7 @@ + col = Collator::createInstance(Locale::getEnglish(), success); + if (U_FAILURE(success)){ +- errcheckln(success, "Default Collator creation failed. - %s", u_errorName(success)); +- return; +- } +- +- StringEnumeration* kwEnum = col->getKeywordValuesForLocale("", Locale::getEnglish(),true,success); +- if (U_FAILURE(success)){ +- errcheckln(success, "Get Keyword Values for Locale failed. - %s", u_errorName(success)); +- return; +- } +- delete kwEnum; ++ errcheckln(success, "English Collator creation failed. - %s", u_errorName(success)); ++ return; ++ } + + col->getVersion(versionArray); +@@ -230,4 +223,27 @@ + delete aFrCol; + delete junk; ++} ++ ++void CollationAPITest::TestKeywordValues() { ++ IcuTestErrorCode errorCode(*this, "TestKeywordValues"); ++ LocalPointer col(Collator::createInstance(Locale::getEnglish(), errorCode)); ++ if (errorCode.logIfFailureAndReset("English Collator creation failed")) { ++ return; ++ } ++ ++ LocalPointer kwEnum( ++ col->getKeywordValuesForLocale("collation", Locale::getEnglish(), TRUE, errorCode)); ++ if (errorCode.logIfFailureAndReset("Get Keyword Values for English Collator failed")) { ++ return; ++ } ++ assertTrue("expect at least one collation tailoring for English", kwEnum->count(errorCode) > 0); ++ const char *kw; ++ UBool hasStandard = FALSE; ++ while ((kw = kwEnum->next(NULL, errorCode)) != NULL) { ++ if (strcmp(kw, "standard") == 0) { ++ hasStandard = TRUE; ++ } ++ } ++ assertTrue("expect at least the 'standard' collation tailoring for English", hasStandard); + } + +@@ -2467,4 +2483,5 @@ + TESTCASE_AUTO_BEGIN; + TESTCASE_AUTO(TestProperty); ++ TESTCASE_AUTO(TestKeywordValues); + TESTCASE_AUTO(TestOperators); + TESTCASE_AUTO(TestDuplicate); +Index: icu/test/intltest/apicoll.h +=================================================================== +--- icu/test/intltest/apicoll.h (revision 39483) ++++ icu/test/intltest/apicoll.h (revision 39484) +@@ -36,4 +36,5 @@ + */ + void TestProperty(/* char* par */); ++ void TestKeywordValues(); + + /** diff --git a/dev-libs/icu/files/icu-58.1-remove-bashisms.patch b/dev-libs/icu/files/icu-58.1-remove-bashisms.patch new file mode 100644 index 000000000000..ef60ce4569b8 --- /dev/null +++ b/dev-libs/icu/files/icu-58.1-remove-bashisms.patch @@ -0,0 +1,224 @@ +diff -ruN a/config/Makefile.inc.in b/config/Makefile.inc.in +--- a/config/Makefile.inc.in 2016-09-09 23:28:18.000000000 +0200 ++++ b/config/Makefile.inc.in 2016-11-05 19:43:07.688466668 +0100 +@@ -124,12 +124,6 @@ + # with usually. Many applications will want to add $(ICULIBS_I18N) as well. + ICULIBS = $(ICULIBS_BASE) $(ICULIBS_I18N) $(ICULIBS_COMMON) $(ICULIBS_DATA) + +-# Proper echo newline handling is needed in icu-config +-ECHO_N=@ICU_ECHO_N@ +-ECHO_C=@ICU_ECHO_C@ +-# Not currently being used but good to have for proper tab handling +-ECHO_T=@ICU_ECHO_T@ +- + ################################################################## + ################################################################## + # +diff -ruN a/config/icu-config-bottom b/config/icu-config-bottom +--- a/config/icu-config-bottom 2016-09-09 23:28:18.000000000 +0200 ++++ b/config/icu-config-bottom 2016-11-05 19:49:00.854481361 +0100 +@@ -218,65 +218,65 @@ + ;; + + --cflags) +- echo $ECHO_N "${CFLAGS} ${ECHO_C}" ++ printf "%s" "${CFLAGS} " + ;; + + --cc) +- echo $ECHO_N "${CC} ${ECHO_C}" ++ printf "%s" "${CC} " + ;; + + --cxx) +- echo $ECHO_N "${CXX} ${ECHO_C}" ++ printf "%s" "${CXX} " + ;; + + --cxxflags) +- echo $ECHO_N "${CXXFLAGS} ${ECHO_C}" ++ printf "%s" "${CXXFLAGS} " + ;; + + --cppflags) + # Don't echo the -I. - it's unneeded. +- echo $ECHO_N "${CPPFLAGS} ${ECHO_C}" | sed -e 's/-I. //' ++ printf "%s" "${CPPFLAGS} " | sed -e 's/-I. //' + ;; + + --cppflags-searchpath) +- echo $ECHO_N "-I${prefix}/include ${ECHO_C}" ++ printf "%s" "-I${prefix}/include " + ;; + + --cppflags-dynamic) +- echo $ECHO_N "${SHAREDLIBCPPFLAGS} ${ECHO_C}" ++ printf "%s" "${SHAREDLIBCPPFLAGS} " + ;; + + --cxxflags-dynamic) +- echo $ECHO_N "${SHAREDLIBCXXFLAGS} ${ECHO_C}" ++ printf "%s" "${SHAREDLIBCXXFLAGS} " + ;; + + --cflags-dynamic) +- echo $ECHO_N "${SHAREDLIBCFLAGS} ${ECHO_C}" ++ printf "%s" "${SHAREDLIBCFLAGS} " + ;; + + --ldflags-system) +- echo $ECHO_N "${LIBS} ${ECHO_C}" ++ printf "%s" "${LIBS} " + ;; + + --ldflags) +- echo $ECHO_N "${LDFLAGS} ${ICULIBS} ${ECHO_C}" ++ printf "%s" "${LDFLAGS} ${ICULIBS} " + # $RPATH_LDFLAGS + ;; + + --ldflags-libsonly) +- echo $ECHO_N "${ICULIBS_I18N} ${ICULIBS_COMMON} ${ICULIBS_DATA} ${ECHO_C}" ++ printf "%s" "${ICULIBS_I18N} ${ICULIBS_COMMON} ${ICULIBS_DATA} " + ;; + + --ldflags-icuio) +- echo $ECHO_N " ${ICULIBS_ICUIO} ${ECHO_C}" ++ printf "%s" " ${ICULIBS_ICUIO} " + ;; + + --ldflags-obsolete) +- echo $ECHO_N "${ICULIBS_OBSOLETE} ${ECHO_C}" ++ printf "%s" "${ICULIBS_OBSOLETE} " + ;; + + --ldflags-toolutil) +- echo $ECHO_N " ${ICULIBS_TOOLUTIL} ${ECHO_C}" ++ printf "%s" " ${ICULIBS_TOOLUTIL} " + ;; + + --ldflags-layout) +@@ -285,7 +285,7 @@ + ;; + + --ldflags-searchpath) +- echo $ECHO_N "-L${libdir} ${ECHO_C}" ++ printf "%s" "-L${libdir} " + ;; + + --detect-prefix) +@@ -321,47 +321,47 @@ + ;; + + --shared-datadir) +- echo $ECHO_N "${datadir} ${ECHO_C}" ++ printf "%s" "${datadir} " + ;; + + --incfile) +- echo $ECHO_N "${pkglibdir}/Makefile.inc ${ECHO_C}" ++ printf "%s" "${pkglibdir}/Makefile.inc " + ;; + + --incpkgdatafile) +- echo $ECHO_N "${pkglibdir}/pkgdata.inc ${ECHO_C}" ++ printf "%s" "${pkglibdir}/pkgdata.inc " + ;; + + --icudata) +- echo $ECHO_N "${ICUDATA_NAME} ${ECHO_C}" ++ printf "%s" "${ICUDATA_NAME} " + ;; + + --icudata-mode) +- echo $ECHO_N "${PKGDATA_MODE} ${ECHO_C}" ++ printf "%s" "${PKGDATA_MODE} " + ;; + + --icudata-install-dir) +- echo $ECHO_N "${ICUPKGDATA_DIR} ${ECHO_C}" ++ printf "%s" "${ICUPKGDATA_DIR} " + ;; + + --icudatadir) +- echo $ECHO_N "${ICUDATA_DIR} ${ECHO_C}" ++ printf "%s" "${ICUDATA_DIR} " + ;; + + --shlib-c) +- echo $ECHO_N "${SHLIB_c} ${ECHO_C}" ++ printf "%s" "${SHLIB_c} " + ;; + + --shlib-cc) +- echo $ECHO_N "${SHLIB_cc} ${ECHO_C}" ++ printf "%s" "${SHLIB_cc} " + ;; + + --version) +- echo $ECHO_N $VERSION ++ printf "%s" "$VERSION" + ;; + + --unicode-version) +- echo $ECHO_N $UNICODE_VERSION ++ printf "%s" "$UNICODE_VERSION" + ;; + + --host) +diff -ruN a/configure.ac b/configure.ac +--- a/configure.ac 2016-10-04 21:30:20.000000000 +0200 ++++ b/configure.ac 2016-11-05 19:43:07.688466668 +0100 +@@ -22,24 +22,6 @@ + PACKAGE="icu" + AC_SUBST(PACKAGE) + +-# Use custom echo test for newline option +-# Current autoconf (2.65) gives incorrect echo newline option +-# for icu-config +-# This may be removed later - mow (June 17, 2010) +-ICU_ECHO_C= ICU_ECHO_N= ICU_ECHO_T= +-case `/bin/sh -c "echo -n x"` in +--n*) +- case `/bin/sh -c "echo 'x\c'"` in +- *c*) ICU_ECHO_T=' ';; # ECHO_T is single tab character. +- *) ICU_ECHO_C='\c';; +- esac;; +-*) +- ICU_ECHO_N='-n';; +-esac +-AC_SUBST(ICU_ECHO_N) +-AC_SUBST(ICU_ECHO_C) +-AC_SUBST(ICU_ECHO_T) +- + AC_MSG_CHECKING(for ICU version numbers) + + # Get the ICU version from uversion.h or other headers +diff -ruN a/icudefs.mk.in b/icudefs.mk.in +--- a/icudefs.mk.in 2016-09-09 23:28:18.000000000 +0200 ++++ b/icudefs.mk.in 2016-11-05 19:43:07.688466668 +0100 +@@ -157,11 +157,6 @@ + ENABLE_STATIC = @ENABLE_STATIC@ + ENABLE_SHARED = @ENABLE_SHARED@ + +-# Echo w/o newline +- +-#ECHO_N = @ICU_ECHO_N@ +-#ECHO_C = @ICU_ECHO_C@ +- + # Commands to compile + COMPILE.c= $(CC) $(CPPFLAGS) $(DEFS) $(CFLAGS) -c + COMPILE.cc= $(CXX) $(CPPFLAGS) $(DEFS) $(CXXFLAGS) -c +diff -ruN a/test/hdrtst/Makefile.in b/test/hdrtst/Makefile.in +--- a/test/hdrtst/Makefile.in 2016-09-28 06:17:24.000000000 +0200 ++++ b/test/hdrtst/Makefile.in 2016-11-05 19:43:07.688466668 +0100 +@@ -35,9 +35,6 @@ + include $(shell icu-config --incfile) + DIRS=$(prefix)/include/unicode + LDIRS=$(prefix)/include/layout +-ECHO_T=@ECHO_T@ +-ECHO_C=@ECHO_C@ +-ECHO_N=@ECHO_N@ + + all: + @echo Please read this Makefile for more information. diff --git a/dev-libs/icu/files/icu-58.2-CVE-2017-7867.patch b/dev-libs/icu/files/icu-58.2-CVE-2017-7867.patch new file mode 100644 index 000000000000..a34537bb6cb7 --- /dev/null +++ b/dev-libs/icu/files/icu-58.2-CVE-2017-7867.patch @@ -0,0 +1,155 @@ +Index: /trunk/icu4c/source/common/utext.cpp +=================================================================== +--- a/common/utext.cpp (revision 39670) ++++ b/common/utext.cpp (revision 39671) +@@ -848,7 +848,13 @@ + + // Chunk size. +-// Must be less than 85, because of byte mapping from UChar indexes to native indexes. +-// Worst case is three native bytes to one UChar. (Supplemenaries are 4 native bytes +-// to two UChars.) ++// Must be less than 42 (256/6), because of byte mapping from UChar indexes to native indexes. ++// Worst case there are six UTF-8 bytes per UChar. ++// obsolete 6 byte form fd + 5 trails maps to fffd ++// obsolete 5 byte form fc + 4 trails maps to fffd ++// non-shortest 4 byte forms maps to fffd ++// normal supplementaries map to a pair of utf-16, two utf8 bytes per utf-16 unit ++// mapToUChars array size must allow for the worst case, 6. ++// This could be brought down to 4, by treating fd and fc as pure illegal, ++// rather than obsolete lead bytes. But that is not compatible with the utf-8 access macros. + // + enum { UTF8_TEXT_CHUNK_SIZE=32 }; +@@ -890,5 +896,5 @@ + // one for a supplementary starting in the last normal position, + // and one for an entry for the buffer limit position. +- uint8_t mapToUChars[UTF8_TEXT_CHUNK_SIZE*3+6]; // Map native offset from bufNativeStart to ++ uint8_t mapToUChars[UTF8_TEXT_CHUNK_SIZE*6+6]; // Map native offset from bufNativeStart to + // correspoding offset in filled part of buf. + int32_t align; +@@ -1033,4 +1039,5 @@ + u8b = (UTF8Buf *)ut->p; // the current buffer + mapIndex = ix - u8b->toUCharsMapStart; ++ U_ASSERT(mapIndex < (int32_t)sizeof(UTF8Buf::mapToUChars)); + ut->chunkOffset = u8b->mapToUChars[mapIndex] - u8b->bufStartIdx; + return TRUE; +@@ -1299,4 +1306,8 @@ + // If index is at the end, there is no character there to look at. + if (ix != ut->b) { ++ // Note: this function will only move the index back if it is on a trail byte ++ // and there is a preceding lead byte and the sequence from the lead ++ // through this trail could be part of a valid UTF-8 sequence ++ // Otherwise the index remains unchanged. + U8_SET_CP_START(s8, 0, ix); + } +@@ -1312,5 +1323,8 @@ + uint8_t *mapToNative = u8b->mapToNative; + uint8_t *mapToUChars = u8b->mapToUChars; +- int32_t toUCharsMapStart = ix - (UTF8_TEXT_CHUNK_SIZE*3 + 1); ++ int32_t toUCharsMapStart = ix - sizeof(UTF8Buf::mapToUChars) + 1; ++ // Note that toUCharsMapStart can be negative. Happens when the remaining ++ // text from current position to the beginning is less than the buffer size. ++ // + 1 because mapToUChars must have a slot at the end for the bufNativeLimit entry. + int32_t destIx = UTF8_TEXT_CHUNK_SIZE+2; // Start in the overflow region + // at end of buffer to leave room +@@ -1339,4 +1353,5 @@ + // Special case ASCII range for speed. + buf[destIx] = (UChar)c; ++ U_ASSERT(toUCharsMapStart <= srcIx); + mapToUChars[srcIx - toUCharsMapStart] = (uint8_t)destIx; + mapToNative[destIx] = (uint8_t)(srcIx - toUCharsMapStart); +@@ -1368,4 +1383,5 @@ + mapToUChars[sIx-- - toUCharsMapStart] = (uint8_t)destIx; + } while (sIx >= srcIx); ++ U_ASSERT(toUCharsMapStart <= (srcIx+1)); + + // Set native indexing limit to be the current position. +@@ -1542,4 +1558,5 @@ + U_ASSERT(index<=ut->chunkNativeLimit); + int32_t mapIndex = index - u8b->toUCharsMapStart; ++ U_ASSERT(mapIndex < (int32_t)sizeof(UTF8Buf::mapToUChars)); + int32_t offset = u8b->mapToUChars[mapIndex] - u8b->bufStartIdx; + U_ASSERT(offset>=0 && offset<=ut->chunkLength); +Index: /trunk/icu4c/source/test/intltest/utxttest.cpp +=================================================================== +--- a/test/intltest/utxttest.cpp (revision 39670) ++++ b/test/intltest/utxttest.cpp (revision 39671) +@@ -68,4 +68,6 @@ + case 7: name = "Ticket12130"; + if (exec) Ticket12130(); break; ++ case 8: name = "Ticket12888"; ++ if (exec) Ticket12888(); break; + default: name = ""; break; + } +@@ -1584,2 +1586,62 @@ + utext_close(&ut); + } ++ ++// Ticket 12888: bad handling of illegal utf-8 containing many instances of the archaic, now illegal, ++// six byte utf-8 forms. Original implementation had an assumption that ++// there would be at most three utf-8 bytes per UTF-16 code unit. ++// The five and six byte sequences map to a single replacement character. ++ ++void UTextTest::Ticket12888() { ++ const char *badString = ++ "\xfd\x80\x80\x80\x80\x80\xfd\x80\x80\x80\x80\x80\xfd\x80\x80\x80\x80\x80\xfd\x80\x80\x80\x80\x80" ++ "\xfd\x80\x80\x80\x80\x80\xfd\x80\x80\x80\x80\x80\xfd\x80\x80\x80\x80\x80\xfd\x80\x80\x80\x80\x80" ++ "\xfd\x80\x80\x80\x80\x80\xfd\x80\x80\x80\x80\x80\xfd\x80\x80\x80\x80\x80\xfd\x80\x80\x80\x80\x80" ++ "\xfd\x80\x80\x80\x80\x80\xfd\x80\x80\x80\x80\x80\xfd\x80\x80\x80\x80\x80\xfd\x80\x80\x80\x80\x80" ++ "\xfd\x80\x80\x80\x80\x80\xfd\x80\x80\x80\x80\x80\xfd\x80\x80\x80\x80\x80\xfd\x80\x80\x80\x80\x80" ++ "\xfd\x80\x80\x80\x80\x80\xfd\x80\x80\x80\x80\x80\xfd\x80\x80\x80\x80\x80\xfd\x80\x80\x80\x80\x80" ++ "\xfd\x80\x80\x80\x80\x80\xfd\x80\x80\x80\x80\x80\xfd\x80\x80\x80\x80\x80\xfd\x80\x80\x80\x80\x80" ++ "\xfd\x80\x80\x80\x80\x80\xfd\x80\x80\x80\x80\x80\xfd\x80\x80\x80\x80\x80\xfd\x80\x80\x80\x80\x80" ++ "\xfd\x80\x80\x80\x80\x80\xfd\x80\x80\x80\x80\x80\xfd\x80\x80\x80\x80\x80\xfd\x80\x80\x80\x80\x80" ++ "\xfd\x80\x80\x80\x80\x80\xfd\x80\x80\x80\x80\x80\xfd\x80\x80\x80\x80\x80\xfd\x80\x80\x80\x80\x80" ++ "\xfd\x80\x80\x80\x80\x80\xfd\x80\x80\x80\x80\x80\xfd\x80\x80\x80\x80\x80\xfd\x80\x80\x80\x80\x80" ++ "\xfd\x80\x80\x80\x80\x80\xfd\x80\x80\x80\x80\x80\xfd\x80\x80\x80\x80\x80\xfd\x80\x80\x80\x80\x80" ++ "\xfd\x80\x80\x80\x80\x80\xfd\x80\x80\x80\x80\x80\xfd\x80\x80\x80\x80\x80\xfd\x80\x80\x80\x80\x80" ++ "\xfd\x80\x80\x80\x80\x80\xfd\x80\x80\x80\x80\x80\xfd\x80\x80\x80\x80\x80\xfd\x80\x80\x80\x80\x80" ++ "\xfd\x80\x80\x80\x80\x80\xfd\x80\x80\x80\x80\x80\xfd\x80\x80\x80\x80\x80\xfd\x80\x80\x80\x80\x80" ++ "\xfd\x80\x80\x80\x80\x80\xfd\x80\x80\x80\x80\x80\xfd\x80\x80\x80\x80\x80\xfd\x80\x80\x80\x80\x80" ++ "\xfd\x80\x80\x80\x80\x80\xfd\x80\x80\x80\x80\x80\xfd\x80\x80\x80\x80\x80\xfd\x80\x80\x80\x80\x80" ++ "\xfd\x80\x80\x80\x80\x80\xfd\x80\x80\x80\x80\x80\xfd\x80\x80\x80\x80\x80\xfd\x80\x80\x80\x80\x80" ++ "\xfd\x80\x80\x80\x80\x80\xfd\x80\x80\x80\x80\x80\xfd\x80\x80\x80\x80\x80\xfd\x80\x80\x80\x80\x80" ++ "\xfd\x80\x80\x80\x80\x80\xfd\x80\x80\x80\x80\x80\xfd\x80\x80\x80\x80\x80\xfd\x80\x80\x80\x80\x80"; ++ ++ UErrorCode status = U_ZERO_ERROR; ++ LocalUTextPointer ut(utext_openUTF8(NULL, badString, -1, &status)); ++ TEST_SUCCESS(status); ++ for (;;) { ++ UChar32 c = utext_next32(ut.getAlias()); ++ if (c == U_SENTINEL) { ++ break; ++ } ++ } ++ int32_t endIdx = utext_getNativeIndex(ut.getAlias()); ++ if (endIdx != (int32_t)strlen(badString)) { ++ errln("%s:%d expected=%d, actual=%d", __FILE__, __LINE__, strlen(badString), endIdx); ++ return; ++ } ++ ++ for (int32_t prevIndex = endIdx; prevIndex>0;) { ++ UChar32 c = utext_previous32(ut.getAlias()); ++ int32_t currentIndex = utext_getNativeIndex(ut.getAlias()); ++ if (c != 0xfffd) { ++ errln("%s:%d (expected, actual, index) = (%d, %d, %d)\n", ++ __FILE__, __LINE__, 0xfffd, c, currentIndex); ++ break; ++ } ++ if (currentIndex != prevIndex - 6) { ++ errln("%s:%d: wrong index. Expected, actual = %d, %d", ++ __FILE__, __LINE__, prevIndex - 6, currentIndex); ++ break; ++ } ++ prevIndex = currentIndex; ++ } ++} +Index: /trunk/icu4c/source/test/intltest/utxttest.h +=================================================================== +--- a/test/intltest/utxttest.h (revision 39670) ++++ b/test/intltest/utxttest.h (revision 39671) +@@ -39,4 +39,5 @@ + void Ticket10983(); + void Ticket12130(); ++ void Ticket12888(); + + private: diff --git a/dev-libs/icu/files/icu-58.2-glibc226.patch b/dev-libs/icu/files/icu-58.2-glibc226.patch new file mode 100644 index 000000000000..7003173a13f9 --- /dev/null +++ b/dev-libs/icu/files/icu-58.2-glibc226.patch @@ -0,0 +1,16 @@ +diff -ruN a/i18n/digitlst.cpp b/i18n/digitlst.cpp +--- a/i18n/digitlst.cpp 2016-10-27 01:37:56.000000000 -0000 ++++ b/i18n/digitlst.cpp 2017-09-21 20:39:29.873030393 -0000 +@@ -61,11 +61,7 @@ + #endif + + #if U_USE_STRTOD_L +-# if U_PLATFORM_USES_ONLY_WIN32_API || U_PLATFORM == U_PF_CYGWIN +-# include +-# else +-# include +-# endif ++# include + #endif + + // *************************************************************************** diff --git a/dev-libs/icu/icu-58.1-r1.ebuild b/dev-libs/icu/icu-58.1-r1.ebuild new file mode 100644 index 000000000000..288af0e8b047 --- /dev/null +++ b/dev-libs/icu/icu-58.1-r1.ebuild @@ -0,0 +1,157 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils flag-o-matic toolchain-funcs autotools multilib-minimal + +DESCRIPTION="International Components for Unicode" +HOMEPAGE="http://www.icu-project.org/" +SRC_URI="http://download.icu-project.org/files/icu4c/${PV/_/}/icu4c-${PV//./_}-src.tgz" + +LICENSE="BSD" + +SLOT="0/${PV}" + +KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd" +IUSE="debug doc examples static-libs" + +DEPEND=" + virtual/pkgconfig + doc? ( + app-doc/doxygen[dot] + ) +" + +S="${WORKDIR}/${PN}/source" + +MULTILIB_CHOST_TOOLS=( + /usr/bin/icu-config +) + +PATCHES=( + "${FILESDIR}/${PN}-58.1-remove-bashisms.patch" + "${FILESDIR}/${PN}-58.1-iterator.patch" +) + +pkg_pretend() { + if tc-is-gcc ; then + if [[ $(gcc-major-version) == 4 && $(gcc-minor-version) -lt 9 \ + || $(gcc-major-version) -lt 4 ]] ; then + die "You need at least sys-devel/gcc-4.9" + fi + fi +} + +src_prepare() { + # apply patches + default + + local variable + + # Disable renaming as it is stupid thing to do + sed -i \ + -e "s/#define U_DISABLE_RENAMING 0/#define U_DISABLE_RENAMING 1/" \ + common/unicode/uconfig.h || die + + # Fix linking of icudata + sed -i \ + -e "s:LDFLAGSICUDT=-nodefaultlibs -nostdlib:LDFLAGSICUDT=:" \ + config/mh-linux || die + + # Append doxygen configuration to configure + sed -i \ + -e 's:icudefs.mk:icudefs.mk Doxyfile:' \ + configure.ac || die + + eautoreconf +} + +src_configure() { + # Use C++14 + append-cxxflags -std=c++14 + + if tc-is-gcc ; then + if [[ $(gcc-major-version) == 4 && $(gcc-minor-version) -lt 9 \ + || $(gcc-major-version) -lt 4 ]] ; then + die "You need at least sys-devel/gcc-4.9" + fi + fi + + if tc-is-cross-compiler; then + mkdir "${WORKDIR}"/host || die + pushd "${WORKDIR}"/host >/dev/null || die + + CFLAGS="" CXXFLAGS="" ASFLAGS="" LDFLAGS="" \ + CC="$(tc-getBUILD_CC)" CXX="$(tc-getBUILD_CXX)" AR="$(tc-getBUILD_AR)" \ + RANLIB="$(tc-getBUILD_RANLIB)" LD="$(tc-getBUILD_LD)" \ + "${S}"/configure --disable-renaming --disable-debug \ + --disable-samples --enable-static || die + emake + + popd >/dev/null || die + fi + + multilib-minimal_src_configure +} + +multilib_src_configure() { + local myeconfargs=( + --disable-renaming + --disable-samples + --disable-layoutex + $(use_enable debug) + $(use_enable static-libs static) + ) + + multilib_is_native_abi && myeconfargs+=( + $(use_enable examples samples) + ) + tc-is-cross-compiler && myeconfargs+=( + --with-cross-build="${WORKDIR}"/host + ) + + # icu tries to use clang by default + tc-export CC CXX + + ECONF_SOURCE=${S} \ + econf "${myeconfargs[@]}" +} + +multilib_src_compile() { + default + + if multilib_is_native_abi && use doc; then + doxygen -u Doxyfile || die + doxygen Doxyfile || die + fi +} + +multilib_src_test() { + # INTLTEST_OPTS: intltest options + # -e: Exhaustive testing + # -l: Reporting of memory leaks + # -v: Increased verbosity + # IOTEST_OPTS: iotest options + # -e: Exhaustive testing + # -v: Increased verbosity + # CINTLTST_OPTS: cintltst options + # -e: Exhaustive testing + # -v: Increased verbosity + emake -j1 VERBOSE="1" check +} + +multilib_src_install() { + default + + if multilib_is_native_abi && use doc; then + docinto html + dodoc -r doc/html/* + fi +} + +multilib_src_install_all() { + einstalldocs + docinto html + dodoc ../readme.html +} diff --git a/dev-libs/icu/icu-58.2-r1.ebuild b/dev-libs/icu/icu-58.2-r1.ebuild new file mode 100644 index 000000000000..1eaa578e41b3 --- /dev/null +++ b/dev-libs/icu/icu-58.2-r1.ebuild @@ -0,0 +1,159 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils flag-o-matic toolchain-funcs autotools multilib-minimal + +DESCRIPTION="International Components for Unicode" +HOMEPAGE="http://www.icu-project.org/" +SRC_URI="http://download.icu-project.org/files/icu4c/${PV/_/}/icu4c-${PV//./_}-src.tgz" + +LICENSE="BSD" + +SLOT="0/${PV}" + +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd" +IUSE="debug doc examples static-libs" + +DEPEND=" + virtual/pkgconfig + doc? ( + app-doc/doxygen[dot] + ) +" + +S="${WORKDIR}/${PN}/source" + +MULTILIB_CHOST_TOOLS=( + /usr/bin/icu-config +) + +PATCHES=( + "${FILESDIR}/${PN}-58.1-remove-bashisms.patch" + "${FILESDIR}/${PN}-58.1-iterator.patch" + "${FILESDIR}/${PN}-58.2-CVE-2017-7867.patch" + "${FILESDIR}/${PN}-58.2-glibc226.patch" +) + +pkg_pretend() { + if tc-is-gcc ; then + if [[ $(gcc-major-version) == 4 && $(gcc-minor-version) -lt 9 \ + || $(gcc-major-version) -lt 4 ]] ; then + die "You need at least sys-devel/gcc-4.9" + fi + fi +} + +src_prepare() { + # apply patches + default + + local variable + + # Disable renaming as it is stupid thing to do + sed -i \ + -e "s/#define U_DISABLE_RENAMING 0/#define U_DISABLE_RENAMING 1/" \ + common/unicode/uconfig.h || die + + # Fix linking of icudata + sed -i \ + -e "s:LDFLAGSICUDT=-nodefaultlibs -nostdlib:LDFLAGSICUDT=:" \ + config/mh-linux || die + + # Append doxygen configuration to configure + sed -i \ + -e 's:icudefs.mk:icudefs.mk Doxyfile:' \ + configure.ac || die + + eautoreconf +} + +src_configure() { + # Use C++14 + append-cxxflags -std=c++14 + + if tc-is-gcc ; then + if [[ $(gcc-major-version) == 4 && $(gcc-minor-version) -lt 9 \ + || $(gcc-major-version) -lt 4 ]] ; then + die "You need at least sys-devel/gcc-4.9" + fi + fi + + if tc-is-cross-compiler; then + mkdir "${WORKDIR}"/host || die + pushd "${WORKDIR}"/host >/dev/null || die + + CFLAGS="" CXXFLAGS="" ASFLAGS="" LDFLAGS="" \ + CC="$(tc-getBUILD_CC)" CXX="$(tc-getBUILD_CXX)" AR="$(tc-getBUILD_AR)" \ + RANLIB="$(tc-getBUILD_RANLIB)" LD="$(tc-getBUILD_LD)" \ + "${S}"/configure --disable-renaming --disable-debug \ + --disable-samples --enable-static || die + emake + + popd >/dev/null || die + fi + + multilib-minimal_src_configure +} + +multilib_src_configure() { + local myeconfargs=( + --disable-renaming + --disable-samples + --disable-layoutex + $(use_enable debug) + $(use_enable static-libs static) + ) + + multilib_is_native_abi && myeconfargs+=( + $(use_enable examples samples) + ) + tc-is-cross-compiler && myeconfargs+=( + --with-cross-build="${WORKDIR}"/host + ) + + # icu tries to use clang by default + tc-export CC CXX + + ECONF_SOURCE=${S} \ + econf "${myeconfargs[@]}" +} + +multilib_src_compile() { + default + + if multilib_is_native_abi && use doc; then + doxygen -u Doxyfile || die + doxygen Doxyfile || die + fi +} + +multilib_src_test() { + # INTLTEST_OPTS: intltest options + # -e: Exhaustive testing + # -l: Reporting of memory leaks + # -v: Increased verbosity + # IOTEST_OPTS: iotest options + # -e: Exhaustive testing + # -v: Increased verbosity + # CINTLTST_OPTS: cintltst options + # -e: Exhaustive testing + # -v: Increased verbosity + emake -j1 VERBOSE="1" check +} + +multilib_src_install() { + default + + if multilib_is_native_abi && use doc; then + docinto html + dodoc -r doc/html/* + fi +} + +multilib_src_install_all() { + einstalldocs + docinto html + dodoc ../readme.html +} diff --git a/dev-libs/icu/icu-59.1.ebuild b/dev-libs/icu/icu-59.1.ebuild new file mode 100644 index 000000000000..ed8bc1c9d952 --- /dev/null +++ b/dev-libs/icu/icu-59.1.ebuild @@ -0,0 +1,157 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils flag-o-matic toolchain-funcs autotools multilib-minimal + +DESCRIPTION="International Components for Unicode" +HOMEPAGE="http://www.icu-project.org/" +SRC_URI="http://download.icu-project.org/files/icu4c/${PV/_/}/icu4c-${PV//./_}-src.tgz" + +LICENSE="BSD" + +SLOT="0/${PV}" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" +IUSE="debug doc examples static-libs" + +DEPEND=" + virtual/pkgconfig + doc? ( + app-doc/doxygen[dot] + ) +" + +S="${WORKDIR}/${PN}/source" + +MULTILIB_CHOST_TOOLS=( + /usr/bin/icu-config +) + +PATCHES=( + "${FILESDIR}/${PN}-58.1-remove-bashisms.patch" + "${FILESDIR}/${PN}-58.2-glibc226.patch" +) + +pkg_pretend() { + if tc-is-gcc ; then + if [[ $(gcc-major-version) == 4 && $(gcc-minor-version) -lt 9 \ + || $(gcc-major-version) -lt 4 ]] ; then + die "You need at least sys-devel/gcc-4.9" + fi + fi +} + +src_prepare() { + # apply patches + default + + local variable + + # Disable renaming as it is stupid thing to do + sed -i \ + -e "s/#define U_DISABLE_RENAMING 0/#define U_DISABLE_RENAMING 1/" \ + common/unicode/uconfig.h || die + + # Fix linking of icudata + sed -i \ + -e "s:LDFLAGSICUDT=-nodefaultlibs -nostdlib:LDFLAGSICUDT=:" \ + config/mh-linux || die + + # Append doxygen configuration to configure + sed -i \ + -e 's:icudefs.mk:icudefs.mk Doxyfile:' \ + configure.ac || die + + eautoreconf +} + +src_configure() { + # Use C++14 + append-cxxflags -std=c++14 + + if tc-is-gcc ; then + if [[ $(gcc-major-version) == 4 && $(gcc-minor-version) -lt 9 \ + || $(gcc-major-version) -lt 4 ]] ; then + die "You need at least sys-devel/gcc-4.9" + fi + fi + + if tc-is-cross-compiler; then + mkdir "${WORKDIR}"/host || die + pushd "${WORKDIR}"/host >/dev/null || die + + CFLAGS="" CXXFLAGS="" ASFLAGS="" LDFLAGS="" \ + CC="$(tc-getBUILD_CC)" CXX="$(tc-getBUILD_CXX)" AR="$(tc-getBUILD_AR)" \ + RANLIB="$(tc-getBUILD_RANLIB)" LD="$(tc-getBUILD_LD)" \ + "${S}"/configure --disable-renaming --disable-debug \ + --disable-samples --enable-static || die + emake + + popd >/dev/null || die + fi + + multilib-minimal_src_configure +} + +multilib_src_configure() { + local myeconfargs=( + --disable-renaming + --disable-samples + --disable-layoutex + $(use_enable debug) + $(use_enable static-libs static) + ) + + multilib_is_native_abi && myeconfargs+=( + $(use_enable examples samples) + ) + tc-is-cross-compiler && myeconfargs+=( + --with-cross-build="${WORKDIR}"/host + ) + + # icu tries to use clang by default + tc-export CC CXX + + ECONF_SOURCE=${S} \ + econf "${myeconfargs[@]}" +} + +multilib_src_compile() { + default + + if multilib_is_native_abi && use doc; then + doxygen -u Doxyfile || die + doxygen Doxyfile || die + fi +} + +multilib_src_test() { + # INTLTEST_OPTS: intltest options + # -e: Exhaustive testing + # -l: Reporting of memory leaks + # -v: Increased verbosity + # IOTEST_OPTS: iotest options + # -e: Exhaustive testing + # -v: Increased verbosity + # CINTLTST_OPTS: cintltst options + # -e: Exhaustive testing + # -v: Increased verbosity + emake -j1 VERBOSE="1" check +} + +multilib_src_install() { + default + + if multilib_is_native_abi && use doc; then + docinto html + dodoc -r doc/html/* + fi +} + +multilib_src_install_all() { + einstalldocs + docinto html + dodoc ../readme.html +} diff --git a/dev-libs/icu/metadata.xml b/dev-libs/icu/metadata.xml new file mode 100644 index 000000000000..13ce236ee519 --- /dev/null +++ b/dev-libs/icu/metadata.xml @@ -0,0 +1,8 @@ + + + + + office@gentoo.org + Gentoo Office project + + diff --git a/dev-libs/igraph/Manifest b/dev-libs/igraph/Manifest new file mode 100644 index 000000000000..0b3799eb78d9 --- /dev/null +++ b/dev-libs/igraph/Manifest @@ -0,0 +1,6 @@ +AUX igraph-0.7.1-unbundle.patch 8525 SHA256 a7e2eb7c82cc6dfbcb93a2e4169287b898a0c4543990331a2e2394f461d096f3 SHA512 8b796f95044a231b2695532d158721cf48dfd266f5acfc2eec8a7f3706208190ee07eccaf83823ba9323edaef15afbca60ff7013cf0d9d7fda0ab5b0ee5e0eff WHIRLPOOL cc5581e8702cc8bb3302a73765123fcf8ad2d2f64fd876b65e7369999fa0acbf60b5c42241572c0f2ff1a42617b95e46e4ed93511724b992b6692032fa90ca0d +DIST igraph-0.7.1.tar.gz 2967134 SHA256 d978030e27369bf698f3816ab70aa9141e9baf81c56cc4f55efbe5489b46b0df SHA512 ac7d7e3fbc6d27ae69079224881ca03db2c7e0b50d016706f3e167c614e2c9332c675d2fcd3cde12874e13a8fc402d42222308c6195afadee15152cec93f94dd WHIRLPOOL bb860c90796b8706ffed708bc5ba1a1a83ab73b57f9fd49aa0d05548c6f2758f8305a09386dc6da7d86bd568261df35b207231facffc7045527c7ab0b0ec89ea +EBUILD igraph-0.7.1-r2.ebuild 902 SHA256 f92595fb1eaf5648d24104704d7b98f5e32695ea4e5b256b111654cebb900f97 SHA512 1542c66a97c5d070233d609a2ee08e797a8d9f178e4d6a4c34e8b1f9c1ebdbe01413cc5c87cd33c553449712e8472537f295178b2e89c610539d167035f98936 WHIRLPOOL eaa2959273ffc6416179a068f990999b6511ab96b729a9a77ddff1b7361b40f19a29d09ad073856074a73e612d0d62a176aa5f252d64225f7ac627ad5a4eecd8 +MISC ChangeLog 3012 SHA256 a17a2c2df6c7120f5fb3a92c3108f1ab6cbc91b9f3b41e51f9f868a7168e93fc SHA512 caf022fe5ef87284d8fb8548b13d37e667fea80cd42c2e7000ab499d05771ce53edd526bf83b10af20de661150551ab1f4f73ad62fc5c7c81aa1e40153c50070 WHIRLPOOL 0046bf3bf63b366705132cc02ee1f9ce5129bb74445cd39591305a20c761d8c19c59d0e89bf0ed1a1311181f4a8017f8059d70cd0b7f50c9cfd4b2682bf3086a +MISC ChangeLog-2015 2008 SHA256 157e945e4e8bea7109e3180fba5fcb2ee73632ac09b8a0167d4402d69608b890 SHA512 321ff9f3c21468543f9607e666543698ffeacf833f8611b6b65eda9fc8e85afdbf4966bd2032bd09c26a1cc6de9cb1ab9b49820fd23d01a4ee6ca9424838169a WHIRLPOOL 1298491833c06d9be3ea1407ee5ea2dac2bbdd2d67415d435420b4bced3658f0cfef3737c2b1bbf090e5c402c8d92d0951c2405612c13b14df03f387508a7532 +MISC metadata.xml 603 SHA256 54538de8c09428413abf60181e2a4b08a8752bb2b6cc7ee7b5510bd9873d6cc8 SHA512 31eb84c71fc2afb1fb804f2fe94eafa4c0e0a37eb933b6c89c530e32bdcfa684512e4aff9c36a58d363df0ce6321eaa298a5d48778f93e8c8ad8fe7e31b5b152 WHIRLPOOL c9d984870af08de3b52c5c32e5b60bc737a1373319c1f63d5d955a9ecd8c653ddc60380b9fb326b583412819f7f04940e26de52f454211de2aa9e5ddc11cbcfc diff --git a/dev-libs/igraph/files/igraph-0.7.1-unbundle.patch b/dev-libs/igraph/files/igraph-0.7.1-unbundle.patch new file mode 100644 index 000000000000..755e749c1868 --- /dev/null +++ b/dev-libs/igraph/files/igraph-0.7.1-unbundle.patch @@ -0,0 +1,269 @@ +diff --git a/configure.ac b/configure.ac +index acf76cd..a9db7bd 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -167,7 +167,8 @@ if test "x$enable_gmp" != "xno"; then + AC_CHECK_HEADER([gmp.h], [ + AC_DEFINE([HAVE_GMP], [1], [Define to 1 if you have the GMP library]) + gmp_support=yes +- LDFLAGS="${LDFLAGS} -lgmp" ++ GMP_LIBS="-lgmp" ++ AC_SUBST(GMP_LIBS) + PKGCONFIG_LIBS_PRIVATE="${PKGCONFIG_LIBS_PRIVATE} -lgmp" + ]) + ]) +@@ -231,24 +232,16 @@ else + fi + + if test "$internal_blas" = "no"; then +- AC_CHECK_LIB([blas], [daxpy_], [], +- AC_CHECK_LIB([blas], [daxpy], [], +- AC_CHECK_LIB([blas], [DAXPY_], [], +- AC_CHECK_LIB([blas], [DAXPY], [], +- [AC_MSG_RESULT(not found, trying to use -lblas anyway.)])))) +- LDFLAGS="${LDFLAGS} -lblas" ++ PKG_CHECK_MODULES([BLAS],[blas]) ++ CPPFLAGS="${CPPFLAGS} ${BLAS_CFLAGS}" + PKGCONFIG_LIBS_PRIVATE="${PKGCONFIG_LIBS_PRIVATE} -lblas" + else + AC_DEFINE([INTERNAL_BLAS], [1], [Define to 1 if you use the internal BLAS library]) + fi + + if test "$internal_lapack" = "no"; then +- AC_CHECK_LIB([lapack], [dlarnv_], [], +- AC_CHECK_LIB([lapack], [dlarnv], [], +- AC_CHECK_LIB([lapack], [DLARNV_], [], +- AC_CHECK_LIB([lapack], [DLARNV], [], +- [AC_MSG_RESULT(not found, trying to use -llapack anyway.)])))) +- LDFLAGS="${LDFLAGS} -llapack" ++ PKG_CHECK_MODULES([LAPACK],[lapack]) ++ CPPFLAGS="${CPPFLAGS} ${LAPACK_CFLAGS}" + PKGCONFIG_LIBS_PRIVATE="${PKGCONFIG_LIBS_PRIVATE} -llapack" + else + AC_DEFINE([INTERNAL_LAPACK], [1], [Define to 1 if you use the internal LAPACK library]) +@@ -258,17 +251,15 @@ if test "$internal_arpack" = "no"; then + if test "$tls_support" = "yes"; then + AC_MSG_ERROR([Thread-local storage only supported with internal ARPACK library]) + fi +- AC_CHECK_LIB([arpack], [dsaupd_], [], +- AC_CHECK_LIB([arpack], [dsaupd], [], +- AC_CHECK_LIB([arpack], [DSAUPD_], [], +- AC_CHECK_LIB([arpack], [DSAUPD], [], +- [AC_MSG_RESULT(not found, trying to use -larpack anyway.)])))) +- LDFLAGS="${LDFLAGS} -larpack" ++ PKG_CHECK_MODULES([ARPACK],[arpack]) ++ CPPFLAGS="${CPPFLAGS} ${ARPACK_CFLAGS}" + PKGCONFIG_LIBS_PRIVATE="${PKGCONFIG_LIBS_PRIVATE} -larpack" + else + AC_DEFINE([INTERNAL_ARPACK], [1], [Define to 1 if you use the internal ARPACK library]) + fi + ++PKG_CHECK_MODULES([CS],[cxsparse]) ++ + glpk_support=no + AC_ARG_ENABLE(glpk, AC_HELP_STRING([--disable-glpk], [Compile without the GLPK library])) + if test "x$enable_glpk" != "xno"; then +@@ -283,7 +274,8 @@ if test "x$enable_glpk" != "xno"; then + ], [ + AC_DEFINE([HAVE_GLPK], [1], [Define to 1 if you have the GLPK library]) + glpk_support=yes +- LDFLAGS="${LDFLAGS} -lglpk" ++ GLPK_LIBS="-lglpk" ++ AC_SUBST(GLPK_LIBS) + PKGCONFIG_LIBS_PRIVATE="${PKGCONFIG_LIBS_PRIVATE} -lglpk" + ]) + ]) +diff --git a/examples/simple/igraph_arpack_rnsolve.out b/examples/simple/igraph_arpack_rnsolve.out +index ec38497..6603034 100644 +--- a/examples/simple/igraph_arpack_rnsolve.out ++++ b/examples/simple/igraph_arpack_rnsolve.out +@@ -16,7 +16,7 @@ + --- + 22.0483 0 + -21.3281 0 +--3.00735 -19.2957 ++-3.00735 19.2957 + --- + 0.373224 0.226696 0.204213 0.0473383 + -0.289145 -0.296079 -0.0479785 0.156365 +@@ -31,7 +31,7 @@ + --- + -21.3281 0 + -12.4527 0 +--3.00735 -19.2957 ++-3.00735 19.2957 + --- + -0.226696 0.695866 -0.204213 -0.0473383 + 0.296079 0.120213 0.0479785 -0.156365 +@@ -46,7 +46,7 @@ + --- + -3.00735 19.2957 + -3.00735 -19.2957 +-12.1099 6.27293 ++12.1099 -6.27293 + --- + 0.0768616 -0.195028 -0.152389 0.21912 + 0.147607 0.0704569 0.346547 0.125122 +diff --git a/examples/simple/igraph_layout_merge2.out b/examples/simple/igraph_layout_merge2.out +index dfe2c22..9fe81bf 100644 +--- a/examples/simple/igraph_layout_merge2.out ++++ b/examples/simple/igraph_layout_merge2.out +@@ -1,13 +1,13 @@ +--2.73912 -2.95429 +--0.479512 -4.00008 +-1.96326 -3.51798 +-3.65613 -1.69214 +-3.95248 0.780051 +-2.73912 2.95429 +-0.479512 4.00008 +--1.96326 3.51798 +--3.65613 1.69214 +--3.95248 -0.780051 ++-2.55311 -3.13964 ++-0.22007 -4.0407 ++2.19703 -3.39835 ++3.77493 -1.45795 ++3.91094 1.03935 ++2.55311 3.13964 ++0.22007 4.0407 ++-2.19703 3.39835 ++-3.77493 1.45795 ++-3.91094 -1.03935 + -1.6061 6.30088 + -4.92661 5.80435 + -3.69637 8.92826 +diff --git a/examples/simple/igraph_sparsemat2.c b/examples/simple/igraph_sparsemat2.c +index c39d0e5..fdfd264 100644 +--- a/examples/simple/igraph_sparsemat2.c ++++ b/examples/simple/igraph_sparsemat2.c +@@ -21,7 +21,7 @@ + + */ + +-#include ++#include + #include + #include + #include +diff --git a/examples/simple/igraph_sparsemat3.c b/examples/simple/igraph_sparsemat3.c +index 630bf1a..b23cbe1 100644 +--- a/examples/simple/igraph_sparsemat3.c ++++ b/examples/simple/igraph_sparsemat3.c +@@ -21,7 +21,7 @@ + + */ + +-#include ++#include + #include + #include + +diff --git a/examples/simple/igraph_sparsemat4.c b/examples/simple/igraph_sparsemat4.c +index 4d85bde..7497faf 100644 +--- a/examples/simple/igraph_sparsemat4.c ++++ b/examples/simple/igraph_sparsemat4.c +@@ -21,7 +21,7 @@ + + */ + +-#include ++#include + #include + #include + +diff --git a/src/Makefile.am b/src/Makefile.am +index e7085c5..194f4a0 100644 +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -9,9 +9,6 @@ AM_YFLAGS = -d + + lib_LTLIBRARIES = libigraph.la + +-include lapack/blas.inc +-include lapack/lapack.inc +-include lapack/arpack.inc + include plfit/plfit.inc + + F2C = f2c/abort_.c f2c/dolio.c f2c/r_sin.c\ +@@ -99,8 +96,6 @@ if INTERNAL_ARPACK + ARPACK_LIB = libarpack.la + endif + +-include ../optional/glpk/glpk.inc +- + if INTERNAL_GLPK + libglpk_la_SOURCES = $(GLPK) + libglpk_la_CFLAGS = -I$(top_srcdir)/optional/glpk +@@ -255,7 +250,7 @@ SOURCES = basic_query.c games.c cocitation.c iterators.c \ + drl_layout_3d.cpp drl_graph_3d.cpp \ + DensityGrid_3d.cpp \ + foreign-dl-parser.y foreign-dl-lexer.l \ +- $(CS) sparsemat.c mixing.c bigint.c bignum.c \ ++ sparsemat.c mixing.c bigint.c bignum.c \ + version.c optimal_modularity.c \ + igraph_fixed_vectorlist.c separators.c \ + igraph_marked_queue.c igraph_estack.c st-cuts.c \ +@@ -274,8 +269,8 @@ libigraph_la_SOURCES = $(SOURCES) $(HEADERS_PRIVATE) + libigraph_la_CFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include $(WARNING_CFLAGS) + libigraph_la_CXXFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include $(WARNING_CFLAGS) + libigraph_la_LDFLAGS = -no-undefined +-libigraph_la_LIBADD = -lm $(XML2_LIBS) $(F2C_LIB) $(BLAS_LIB) \ +- $(LAPACK_LIB) $(ARPACK_LIB) $(GLPK_LIB) $(PRPACK_LIB) \ ++libigraph_la_LIBADD = -lm $(XML2_LIBS) $(F2C_LIB) $(BLAS_LIBS) $(GMP_LIBS) \ ++ $(LAPACK_LIBS) $(ARPACK_LIBS) $(GLPK_LIBS) $(PRPACK_LIB) $(CS_LIBS) \ + $(PLFIT_LIB) + + if INTERNAL_GLPK +diff --git a/src/sparsemat.c b/src/sparsemat.c +index f96d022..6990c91 100644 +--- a/src/sparsemat.c ++++ b/src/sparsemat.c +@@ -23,7 +23,7 @@ + + #include "config.h" + +-#include "cs/cs.h" ++#include "cs.h" + + #include "igraph_sparsemat.h" + #include "igraph_error.h" +diff --git a/tests/Makefile.am b/tests/Makefile.am +index 6da83b2..c0b82d6 100644 +--- a/tests/Makefile.am ++++ b/tests/Makefile.am +@@ -13,7 +13,7 @@ $(srcdir)/package.m4: $(top_srcdir)/configure.ac + echo 'm4_define([AT_PACKAGE_BUGREPORT], [@PACKAGE_BUGREPORT@])'; \ + } >$(srcdir)/package.m4 + +-EXTRA_DIST += package.m4 ++#EXTRA_DIST += package.m4 + + TESTSUITE_AT = \ + testsuite.at \ +diff --git a/tests/mt.at b/tests/mt.at +index 050974a..9558d6f 100644 +--- a/tests/mt.at ++++ b/tests/mt.at +@@ -29,5 +29,5 @@ AT_CLEANUP + AT_SETUP([Thread-safe ARPACK:]) + AT_KEYWORDS([thread-safe ARPACK]) + AT_COMPILE_CHECK([simple/tls2.c], [simple/tls2.out], [], [internal], +- [-lpthread]) ++ [-lpthread $(${PKG_CONFIG} --libs arpack)]) + AT_CLEANUP +diff --git a/tests/types.at b/tests/types.at +index f80a6a2..29ac739 100644 +--- a/tests/types.at ++++ b/tests/types.at +@@ -133,7 +133,7 @@ AT_CLEANUP + AT_SETUP([Sparse matrix, multiplications (igraph_sparsemat_t): ]) + AT_KEYWORDS([sparse matrix igraph_sparsemat_t]) + AT_COMPILE_CHECK([simple/igraph_sparsemat2.c], [simple/igraph_sparsemat2.out], +- [], [INTERNAL], [-lblas]) ++ [], [INTERNAL], [$(${PKG_CONFIG} --libs blas)]) + AT_CLEANUP + + AT_SETUP([Sparse matrix, indexing (igraph_sparsemat_t): ]) +-- +2.0.0 + diff --git a/dev-libs/igraph/igraph-0.7.1-r2.ebuild b/dev-libs/igraph/igraph-0.7.1-r2.ebuild new file mode 100644 index 000000000000..83c2185d5b3e --- /dev/null +++ b/dev-libs/igraph/igraph-0.7.1-r2.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools toolchain-funcs + +DESCRIPTION="Creating and manipulating undirected and directed graphs" +HOMEPAGE="http://www.igraph.org/" +SRC_URI="http://www.igraph.org/nightly/get/c/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0/0" +KEYWORDS="~amd64 ~x86" +IUSE="debug gmp" + +RDEPEND=" + dev-libs/libxml2 + >=sci-libs/arpack-3 + virtual/blas + virtual/lapack + >=sci-libs/cxsparse-3 + sci-mathematics/glpk + gmp? ( dev-libs/gmp:0 )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +PATCHES=( "${FILESDIR}"/${P}-unbundle.patch ) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + tc-export PKG_CONFIG + econf \ + $(use_enable gmp) \ + $(use_enable debug) \ + --disable-tls \ + --with-external-arpack \ + --with-external-blas \ + --with-external-lapack \ + --with-external-f2c \ + --with-external-glpk +} diff --git a/dev-libs/igraph/metadata.xml b/dev-libs/igraph/metadata.xml new file mode 100644 index 000000000000..6ba23eeb564f --- /dev/null +++ b/dev-libs/igraph/metadata.xml @@ -0,0 +1,14 @@ + + + + + +igraph is a free software package for creating and manipulating undirected and +directed graphs. It includes implementations for classic graph theory problems +like minimum spanning trees and network flow, and also implements algorithms for +some recent network analysis methods, like community structure search. + + + igraph + + diff --git a/dev-libs/iksemel/Manifest b/dev-libs/iksemel/Manifest new file mode 100644 index 000000000000..4a0b22a67d2b --- /dev/null +++ b/dev-libs/iksemel/Manifest @@ -0,0 +1,11 @@ +AUX iksemel-1.3-gnutls-2.8.patch 488 SHA256 db6d1fc6589311387827e427aaf7c4f1ebc3047aeda671ff8c5f07e0a4eadd81 SHA512 6b2d4f71f5da6da8dcdd9f6a8921129d2f2bc71e6eb0c331d74784ced1bc3a0fb974ff1e0342f93d8ba3b4217b72ade15b1bc4015d2f2486aa86ca75549a1a42 WHIRLPOOL e98770b6273fda805ec06a48f225720148a3facc4479fea81434b9d234c376accbe36034e9bfc83439d83573e9de039e49cc5f62ed8a45f1716f4d0d1f597056 +AUX iksemel-1.4-gnutls-3.4.patch 1656 SHA256 15f64407aebaa6d5d93465fa1a919d44ff6dc5331e0f7a43c5c4085d165b159f SHA512 305990e760218b1ce59e55aefb31126174f6a8066b9ef20ed3073332ad4e925871709e4c5b52d1e3fcde7b2fc9776dfd3f74a763e897cba4eb45657d3946d518 WHIRLPOOL e59c387b32c67c795d58ac738a9982b62c247b6b41cc00eaf10bd841557bc83d88ee9e3f9a80c0aa2357e651ec3968a0d6b3c9a3b57a6520b27b0bd4296cc9fe +AUX iksemel-1.4-ikstack.patch 955 SHA256 f88f66f5232f4afd0b927172439bc4a32e58d1ec86623541cc1562bc425612d8 SHA512 d97dc724c9b41983e91889e742d604ad9cf752536b012c13a5667c59baa1f5467dc02e7e390e4eba02475e5c994484428c26079351f8e9450b7de14e08eb0cbd WHIRLPOOL 534ff3de854612b20c0c2e86fa18c217f4418053747272e9aab9b67e4d3b7025337a99cee144e14fc9227c7ddb317b5b417dc97a99800b1e832a70b2a4ecbbd1 +DIST iksemel-1.3.tar.gz 485208 SHA256 ee021861be6bdb9a970ab3d5997dd14ffdbf33ad573691292176031f49aa4f45 SHA512 57a0f8d5c3e675419b8d4d04580c144ed20466d1b41ea23006bbb588eead595f189088b3fe559b62d527a2773cc4f92b6c09d19ed7a2b8f446d9ba13546a9d03 WHIRLPOOL 6f0a13306949ed1a3a65b92a9103e7feb35e395da27c3bf39c7bc200f65ed9fbeaa416debe5a8e235ef9974803a83258d5a05ca67a1e8d9a304d2071dfa43651 +DIST iksemel-1.4.tar.gz 515581 SHA256 458c1b8fb3349076a6cecf26c29db1d561315d84e16bfcfba419f327f502e244 SHA512 902e326647b63a5e58b1c396a401bdd136ad01ecabca81b543c0ed76ebd8d2110377015fec1be09551b92651ee093e480fa37aa2186f7791147f29e0933852cc WHIRLPOOL e2f558553c39f709b1b77edaae70a29f7c1c717f97f115094dc8dfe39b515a9d40242e631915f66b349aa66580116f9065556bdd20cf03608e5ffea4c9d3a200 +EBUILD iksemel-1.3.ebuild 821 SHA256 e713d0bd38c32274ae5b29b7639827deb59d24dde9e54343d27d28fd194d8338 SHA512 031f30ea70c8300882eea2c91aebcdb0bc46e1a584e70ec6ac6dd33a81fd56dc791e08b427287b7a7162e5b658887fe2cf6910a69ea90ff2bbba35fa30b1d09f WHIRLPOOL cfbe1c72ddd0e843cd18b4ca668af26a3546bc6ede0dd5a844278e90eab019931b785b31b6ab2c4fe5dc200c0b493680373cb072a528f67481c8019cdb876b2a +EBUILD iksemel-1.4-r1.ebuild 836 SHA256 c9a85e9ee207baf552a3b2968b960d7a488f0f91fd862b8f47db381c3e5aaa4b SHA512 0ef2940c397bb5570fdf906c7c90831441b76f931e968af17b5c5758e8f37750428231e70acc8fda13d5b9c3d2a46e328c0a22dc8248fd54c000d13db58a4667 WHIRLPOOL 554b04dc199d83ee596ae215b803ca42271fa778a87a0e3fd059a56500addc98b333b5bd3fd9afdb8af8f02beb4bf2cb88ca943e694edda70496923a4c4d9980 +EBUILD iksemel-1.4.ebuild 861 SHA256 3d2fbebfe67e4a90291d76567ea2050ef2938fc59c1323de0a5d761a19db6fbb SHA512 6704e457ee5422bf64a042dc6d4ff6a4e59e695c076269b75c86ecae9f04dfdf981ed0a83d711e925d89fc71a6222bdce0615f7539889b8876f685d73a08ec6c WHIRLPOOL 25a77ad0f37dd86c337f911255c665624ce94b1609990729f5697ee2556c08d90e69743f2c77655c250f920ad9829da4fa9d31dfa4b658a1cb03c419e8bc27ee +MISC ChangeLog 3581 SHA256 672e146c51fc1eacb5606e632239a3bcc01dd3f95544b6b471a77ad0ec817808 SHA512 333c3ffc93f96cac5d0fb5de3c024d4d6762abae8e826b949797298140ae36375b71c01089b86d119be862653cf3ddcd8826082ec5f4848ea1b32d1819a4a101 WHIRLPOOL 0ecab1c8a36d1fcabf67037a0b3250ec52a1ac0530d55e4e1ae151edd9ae5683531cfc1a7b6f960e168aff7d616059acc02afeef8b896cc295c9028a8026babc +MISC ChangeLog-2015 2345 SHA256 f6ab06ac928a2ff6f5a3e7e2be8f28314b722063b8c0b17f9a6701a2eac7e901 SHA512 4200a7af0ebdf2c121559859d558b30f8401149252ed1cef9af3aa30657bc900b3e89fdeec25a6c8d046d46b0ea62d8aef4a8e27d12fccaf99a5648167380221 WHIRLPOOL 3f74afa53f96f4f7a1d614f9c8636490a69e9f46658b49e6a127745d81868f9598f12e05b0351fca0ae0a13d575f9bcdb8576b3c6e09ad8372c951347ac0a338 +MISC metadata.xml 301 SHA256 ecf083d1f462765266be955edb21f26445b58576a89409040f6cb49ca951a752 SHA512 91ac21f435ad0c2943e17058fec736cb0371690f38427302eb360a284b48017841b807cf5f6f13c6c837af9d1c330dc9a7980ff77a5699e2efe399b01ca840c0 WHIRLPOOL 2850576c81158d68fcaedf3b5e59579c427a4fd51f72358629a086026f03487401c1be4529fc4f930ee36bb4a08b5cff1e3809f00b5884b76699292ac1026035 diff --git a/dev-libs/iksemel/files/iksemel-1.3-gnutls-2.8.patch b/dev-libs/iksemel/files/iksemel-1.3-gnutls-2.8.patch new file mode 100644 index 000000000000..48d19cf9ccfb --- /dev/null +++ b/dev-libs/iksemel/files/iksemel-1.3-gnutls-2.8.patch @@ -0,0 +1,16 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -45,7 +45,12 @@ + AC_CHECK_FUNCS(getopt_long) + AC_CHECK_FUNCS(getaddrinfo) + +-AM_PATH_LIBGNUTLS(,AC_DEFINE(HAVE_GNUTLS,,"Use libgnutls")) ++AC_ARG_WITH([gnutls], ++ [AS_HELP_STRING([--with-gnutls], ++ [Enable use of GnuTLS])]) ++if test "$with_gnutls" != "no"; then ++ PKG_CHECK_MODULES(LIBGNUTLS, gnutls, AC_DEFINE(HAVE_GNUTLS,,"Use libgnutls")) ++fi + + dnl Check -Wall flag of GCC + if test "x$GCC" = "xyes"; then diff --git a/dev-libs/iksemel/files/iksemel-1.4-gnutls-3.4.patch b/dev-libs/iksemel/files/iksemel-1.4-gnutls-3.4.patch new file mode 100644 index 000000000000..bf09e17a8ae7 --- /dev/null +++ b/dev-libs/iksemel/files/iksemel-1.4-gnutls-3.4.patch @@ -0,0 +1,38 @@ +Last-Update: 2015-10-28 +Bug-Upstream: https://github.com/meduketto/iksemel/issues/48 +Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=803204 +From: Marc Dequènes (duck) +Description: fix security problem (and compatibility problem with servers rejecting low grade ciphers). + +--- a/src/stream.c ++++ b/src/stream.c +@@ -62,13 +62,9 @@ + + static int + handshake (struct stream_data *data) + { +- const int protocol_priority[] = { GNUTLS_TLS1, GNUTLS_SSL3, 0 }; +- const int kx_priority[] = { GNUTLS_KX_RSA, 0 }; +- const int cipher_priority[] = { GNUTLS_CIPHER_3DES_CBC, GNUTLS_CIPHER_ARCFOUR, 0}; +- const int comp_priority[] = { GNUTLS_COMP_ZLIB, GNUTLS_COMP_NULL, 0 }; +- const int mac_priority[] = { GNUTLS_MAC_SHA, GNUTLS_MAC_MD5, 0 }; ++ const char *priority_string = "SECURE256:+SECURE192:-VERS-TLS-ALL:+VERS-TLS1.2"; + int ret; + + if (gnutls_global_init () != 0) + return IKS_NOMEM; +@@ -79,13 +75,9 @@ + if (gnutls_init (&data->sess, GNUTLS_CLIENT) != 0) { + gnutls_certificate_free_credentials (data->cred); + return IKS_NOMEM; + } +- gnutls_protocol_set_priority (data->sess, protocol_priority); +- gnutls_cipher_set_priority(data->sess, cipher_priority); +- gnutls_compression_set_priority(data->sess, comp_priority); +- gnutls_kx_set_priority(data->sess, kx_priority); +- gnutls_mac_set_priority(data->sess, mac_priority); ++ gnutls_priority_set_direct(data->sess, priority_string, NULL); + gnutls_credentials_set (data->sess, GNUTLS_CRD_CERTIFICATE, data->cred); + + gnutls_transport_set_push_function (data->sess, (gnutls_push_func) tls_push); + gnutls_transport_set_pull_function (data->sess, (gnutls_pull_func) tls_pull); diff --git a/dev-libs/iksemel/files/iksemel-1.4-ikstack.patch b/dev-libs/iksemel/files/iksemel-1.4-ikstack.patch new file mode 100644 index 000000000000..0dff76b409da --- /dev/null +++ b/dev-libs/iksemel/files/iksemel-1.4-ikstack.patch @@ -0,0 +1,35 @@ +From 3095fe8c9686de79509fd49db5e8f39fe6c52f43 Mon Sep 17 00:00:00 2001 +From: Alon Bar-Lev +Date: Wed, 22 Mar 2017 12:14:33 +0200 +Subject: [PATCH] fix alignment issue in ikstack + +tst-ikstack +================= + +ikstack bug, addr 0x100357b4 should be a multiply of 8 +FAIL tst-ikstack (exit status: 1) + +Signed-off-by: Alon Bar-Lev +--- + src/ikstack.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/ikstack.c b/src/ikstack.c +index bed4656..814a91c 100644 +--- a/src/ikstack.c ++++ b/src/ikstack.c +@@ -88,9 +88,11 @@ iks_stack_alloc (ikstack *s, size_t size) + if (size < MIN_ALLOC_SIZE) size = MIN_ALLOC_SIZE; + if (size & ALIGN_MASK) size = ALIGN (size); + ++ size += DEFAULT_ALIGNMENT; /* to enable alignment of space */ + c = find_space (s, s->meta, size); + if (!c) return NULL; + mem = c->data + c->used; ++ mem = (void *)ALIGN((char *)mem - (char *)0); + c->used += size; + return mem; + } +-- +2.10.2 + diff --git a/dev-libs/iksemel/iksemel-1.3.ebuild b/dev-libs/iksemel/iksemel-1.3.ebuild new file mode 100644 index 000000000000..1dc6fa062b8b --- /dev/null +++ b/dev-libs/iksemel/iksemel-1.3.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="2" + +inherit autotools eutils + +DESCRIPTION="eXtensible Markup Language parser library designed for Jabber applications" +HOMEPAGE="https://github.com/meduketto/iksemel" +SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="gnutls" + +RDEPEND="gnutls? ( net-libs/gnutls )" +DEPEND="${RDEPEND} + gnutls? ( virtual/pkgconfig )" + +# https://code.google.com/p/iksemel/issues/detail?id=4 +RESTRICT="test" + +src_prepare() { + epatch "${FILESDIR}/${P}-gnutls-2.8.patch" + eautoreconf +} + +src_configure() { + econf $(use_with gnutls) +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc AUTHORS ChangeLog HACKING NEWS README TODO +} diff --git a/dev-libs/iksemel/iksemel-1.4-r1.ebuild b/dev-libs/iksemel/iksemel-1.4-r1.ebuild new file mode 100644 index 000000000000..502052fabde1 --- /dev/null +++ b/dev-libs/iksemel/iksemel-1.4-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools eutils + +DESCRIPTION="eXtensible Markup Language parser library designed for Jabber applications" +HOMEPAGE="https://github.com/meduketto/iksemel" +SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd" +IUSE="ssl" + +RDEPEND="ssl? ( net-libs/gnutls )" +DEPEND="${RDEPEND} + ssl? ( virtual/pkgconfig )" + +PATCHES=( "${FILESDIR}/${PN}-1.3-gnutls-2.8.patch" + "${FILESDIR}/${PN}-1.4-gnutls-3.4.patch" + "${FILESDIR}/${PN}-1.4-ikstack.patch" ) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf $(use_with ssl gnutls) +} + +src_install() { + emake DESTDIR="${D}" install + dodoc AUTHORS ChangeLog HACKING NEWS README TODO +} diff --git a/dev-libs/iksemel/iksemel-1.4.ebuild b/dev-libs/iksemel/iksemel-1.4.ebuild new file mode 100644 index 000000000000..fb97bd0b62ba --- /dev/null +++ b/dev-libs/iksemel/iksemel-1.4.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="2" + +inherit autotools eutils + +DESCRIPTION="eXtensible Markup Language parser library designed for Jabber applications" +HOMEPAGE="https://github.com/meduketto/iksemel" +SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="amd64 ppc ~ppc64 x86 ~x86-fbsd" +IUSE="ssl" + +RDEPEND="ssl? ( net-libs/gnutls )" +DEPEND="${RDEPEND} + ssl? ( virtual/pkgconfig )" + +src_prepare() { + epatch "${FILESDIR}/${PN}-1.3-gnutls-2.8.patch" + epatch "${FILESDIR}/${PN}-1.4-gnutls-3.4.patch" + epatch "${FILESDIR}/${PN}-1.4-ikstack.patch" + eautoreconf +} + +src_configure() { + econf $(use_with ssl gnutls) +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc AUTHORS ChangeLog HACKING NEWS README TODO +} diff --git a/dev-libs/iksemel/metadata.xml b/dev-libs/iksemel/metadata.xml new file mode 100644 index 000000000000..0d3b06fcb7e5 --- /dev/null +++ b/dev-libs/iksemel/metadata.xml @@ -0,0 +1,9 @@ + + + + + + iksemel + meduketto/iksemel + + diff --git a/dev-libs/ilbc-rfc3951/Manifest b/dev-libs/ilbc-rfc3951/Manifest new file mode 100644 index 000000000000..094d7ed7acdf --- /dev/null +++ b/dev-libs/ilbc-rfc3951/Manifest @@ -0,0 +1,6 @@ +AUX ilbc-rfc3951-asneeded.patch 441 SHA256 5aea49bde7b68050c933330dbfda136f5bce4bf9c8390856bc8598447f2680b6 SHA512 bbb81eb3fe6a6004c5766299fd437247b3c4a8e11022a202943c332132026d8d2f3d74eeba4161533255e61dad5f26b60499012823c0928d740ac96e7bb188f9 WHIRLPOOL e1b55a72d04a6e78b6854341588aadb29c884eb86fc18b9d5f368c6e8a08f7bcad6a1807e6dc60ef53673e42f9adbbfb55c357ea28df0759f8428b600b2e59b6 +DIST ilbc-rfc3951.tar.gz 330306 SHA256 5aef41a94f1a752b07190b5d2880128af251d9559d28a004ebfff228695caa57 SHA512 7828a9c5a193ebdfcb383d1edad0868afdee0f71d1a8a878c7d9ea2078fd63f57d31b34ae2cf4890d5abc28c8f5f4ee940c665a126f0512d1e79c4f76a72fbcf WHIRLPOOL 90d09de8b2f7165f70cbd9c19418549e82e0a5e93c13e6ee7c4c808b2f50acb2a068908085d5d3004472a4e64b021eb18560915d434a34f578ace2fc4c9e4bdd +EBUILD ilbc-rfc3951-0-r1.ebuild 658 SHA256 34d7ad8c70ff7ed7c3e3f6e815f44c7ad7b8c821e2236a87cea27bea22abce72 SHA512 be6b76742c2632487eec3e1e79d78821f7c1d0ec6f9291380bce7e96e5aae9dc6a188b433c3e9500196b9b2da52e607061c53db2d361fc112128e6e5f1f957d7 WHIRLPOOL 12f510a0321b9c16aaa0b81cf4a9546e4bbe1a88fd34d47d9a5e03e1a303d099f5c95b5bfc1dd07b278af92a90efe22a1960b069469d3b8019c1511e9a6765ff +MISC ChangeLog 2227 SHA256 c9e7f7f085e63089c522f231136016f25e4147bceef3720975f28df21e0810e3 SHA512 ecb978e6dc76892e734a880d5808a677fa38579e8527a9aad8e3808bd402d170dd06b072ad3eb7415446bc58994e162ab9d228a7ec3d3f76ed1b9891a1ba6d43 WHIRLPOOL 1dd8404adae6738a27a91cdba9d5dcc974b2d77feeff48b6ec804a08d9fe40088b8b092d87b512f209b466457a2db6e0d46143bdb74b9cd43fdfcbf17f2e5cac +MISC ChangeLog-2015 2842 SHA256 867140313911a167b61f5a77bd2f357df3474c23969133c8b4544b2fb1808ce4 SHA512 d93184cf86d1af4d643925a6452a0fb6239c96ee1f0e2073da5eccd9ef7072aa28e532d9ccafed3d66ba47bf7e0f629c00c657a6fc9b2e5591e6a909a0fb67bf WHIRLPOOL 4710735861131dea0aa39dabe88e482012160498af4972730e2abb8b4345ae3d88737a95872410556f450d02fa4c584599daa00485470028015fb2df4c3d7f12 +MISC metadata.xml 239 SHA256 e24fa97cd35a6aa05d965c7acca413c6586f03d2bbaeee6063093084fc8826db SHA512 c9696a97f8ba113ea6badf5fcb179b749639703ddea443d6d8170f0982214e59bd0bbe58b5e99f847c953df2d772d0bac6b2dc72f89b146ba55ea69e177a7615 WHIRLPOOL 023e4cac9884b9fc416ff76d1e0d14fedd544dfbdabe6f748764f6c905093551ae61c2e8abea12a825e2b41f2e53b3359efd83c0a930dd63ab568823a515d042 diff --git a/dev-libs/ilbc-rfc3951/files/ilbc-rfc3951-asneeded.patch b/dev-libs/ilbc-rfc3951/files/ilbc-rfc3951-asneeded.patch new file mode 100644 index 000000000000..8cc197d20626 --- /dev/null +++ b/dev-libs/ilbc-rfc3951/files/ilbc-rfc3951-asneeded.patch @@ -0,0 +1,11 @@ +--- src/Makefile.am.orig 2006-07-11 01:18:20.000000000 +1000 ++++ src/Makefile.am 2006-07-11 01:21:20.000000000 +1000 +@@ -10,6 +10,8 @@ + doCPLC.c gainquant.c hpOutput.c iLBC_define.h lsf.c syntFilter.c \ + doCPLC.h gainquant.h hpOutput.h iLBC_encode.c lsf.h syntFilter.h + ++libilbc_la_LIBADD=-lm ++ + ilbc_includedir=$(includedir)/ilbc + ilbc_include_HEADERS=iLBC_decode.h iLBC_encode.h iLBC_define.h + diff --git a/dev-libs/ilbc-rfc3951/ilbc-rfc3951-0-r1.ebuild b/dev-libs/ilbc-rfc3951/ilbc-rfc3951-0-r1.ebuild new file mode 100644 index 000000000000..c07a48d2914a --- /dev/null +++ b/dev-libs/ilbc-rfc3951/ilbc-rfc3951-0-r1.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +inherit eutils autotools + +DESCRIPTION="iLBC is a speech codec suitable for robust voice communication over IP" +HOMEPAGE="http://www.ilbcfreeware.org/" +SRC_URI="http://simon.morlat.free.fr/download/1.1.x/source/ilbc-rfc3951.tar.gz" + +# relicensed under 3-clause BSD license, bug 390797 +LICENSE="BSD" +SLOT="0" +KEYWORDS="alpha amd64 ~arm ~hppa ia64 ppc ppc64 sparc x86" +IUSE="" + +S="${WORKDIR}/${PN}" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${PN}-asneeded.patch + eautoreconf +} + +src_install() { + emake DESTDIR="${D}" install || die +} diff --git a/dev-libs/ilbc-rfc3951/metadata.xml b/dev-libs/ilbc-rfc3951/metadata.xml new file mode 100644 index 000000000000..9e1628707c92 --- /dev/null +++ b/dev-libs/ilbc-rfc3951/metadata.xml @@ -0,0 +1,8 @@ + + + + +chainsaw@gentoo.org +Tony Vroon + + diff --git a/dev-libs/iniparser/Manifest b/dev-libs/iniparser/Manifest new file mode 100644 index 000000000000..1a3b0e865d1c --- /dev/null +++ b/dev-libs/iniparser/Manifest @@ -0,0 +1,12 @@ +AUX iniparser-3.0-autotools.patch 829 SHA256 81bebe208c0af83b9d285c33c2ef5130d1485ed4ac02ef34b5fe7ecfd09c9f85 SHA512 7cfdd1d5e2c604125ec33a4e0332b32b77452445b59244d4c13e4c1b635ebeafd5cb6dd345c22101951acd71aab7621c4a2f36b9596d449a74b469d9f812610a WHIRLPOOL 70e424827f3146d1cdcd78904d6f501cb5e9e846b5dec594dde2de5cac0b9aa7a8e7449cfb13f6ab13200208cf1b4a7e09f824442479b5bfd50d0b80d35431fc +AUX iniparser-3.0b-cpp.patch 1446 SHA256 219c40b19e61191ef64de77d02351326f058f5eaf3447a7f5b5594c58fa3b378 SHA512 8eb2058e332783ae11ef5cbebec153ee1938352f111e3efe332035aa013cf6d01a917aef9a7b8f46f7bd070986e5e686e584d46dedf30276baeb8da0954631a9 WHIRLPOOL d8a31bf5459174af39c49fe83577910a61250f1b2982dc96ab6644375d7f4b3044bb5fab51e6d5f9e3df0092a51ad5adfd361c5f6188e7d773318f7e70de69d8 +AUX iniparser-4.0-cflags.patch 551 SHA256 88de146c10a142611ab5f4fe7991f8bc7245eac12ca454f16e55dc47c0512fee SHA512 a0c756e8a17245c4e7f5a5f5b9537d14d9873c574bf02827b09d3af8431b76561b139dce208ed22b6bc77ec171050e8ab10e4b58abbd35476870eabd97235ca2 WHIRLPOOL 2bfe65da540eeff6b96d02545c0f5d5b1d5c57ed9a31dc592823bd2a604e281f3a25db75922603c43d85244d1539627d7f9a58ce6b2382be7deee6ad408d4524 +AUX iniparser-4.0-soname.patch 994 SHA256 fd5b433173fe930c9dcfa40656e9c44527ce4ab356ad1fac219002450912decd SHA512 87f6b543ee308c8dce5c3a2e464b0c69e61708780d65f51b9243ab2d458eab515bc975356d071187aa08e2a14b86c1f6556ebbbdb09be276a5df718f863df051 WHIRLPOOL 4b6346909a1ee36749369e2e5ebe4c3f1cced139d9b1fa8bc43570d8fede1c50166ae23709bba9d20ce54dbb0172024e59773185b00878a9c8fe9052eed6b440 +DIST iniparser-3.1.tar.gz 39097 SHA256 aedf23881b834519aea5e861b2400606d211da049cd59d3cfb4568e0d9eff5c5 SHA512 8fd8324c5629fdc3e3eff00afb5f0832402ccc760c5b92db82aa29b340ec891419ca2c4fee3a4d4d67cf9bc51c76b095bc0c458e087c2b8e72ac36867c47ae86 WHIRLPOOL 1b8e6d5c34918cf51db605a7bc81eed75b521a57b403bbf26b572506735d78f58bad250512d53cfc08959c827713c8477a877b66b900a553a9c8099757df6d89 +DIST iniparser-4.0.tar.gz 41188 SHA256 e0bbd664bb3f0d64c21ac2d67a843b1c7a3a9710e96393344d170ab8b33e92ba SHA512 86080d4e4cb85e252f9c75116d9a548a2f08f2131e269834a0d16597da4e4c5790dff8304be082f2a8dcc75d17585e9a8fad3f0f4766bff8914f6ef2b0d6fa05 WHIRLPOOL 614ddb56f0aefc69ef98cf9b7bbdfe6300d0eaee048315550a9f38cecef05aa47a198859b929a520296f4ebef03377b12c41f062c3e95d32cacca1ef1b3797af +EBUILD iniparser-3.1-r1.ebuild 1153 SHA256 d04cb8a366bb777845cfd7e5de98dd45782f6b99aa267dfb16306061568fb633 SHA512 4799ed1b8503f5d05d277bd57b192b86ebf500febc5e0af933bbb5851b582c2de0de58494a381fb029c06fbff74d6468d53f1f0b9c9c968bb56dc1e06adbcc7b WHIRLPOOL d01f8d2c033a228e627f62ef619e56ba0a227867319bc2ff08f35b41864814aaf79ea566fdc6ab00720d80cf3482d7e96a1a1d783618aa22d0be811dc6bb8e3d +EBUILD iniparser-3.1.ebuild 1009 SHA256 b3a0aa427443ff3930e1e465bdeb38344b835a908504a272f01a12964b6f2a12 SHA512 a92ef3174bda9702bf8e30fbddda1046fc31af55286080bb1583c5ea4d3734930241300da3912e0df6f1dee9b8acfd63b1e865568a61f1886e2bf1916fb0e3f1 WHIRLPOOL 272247994d50e8b3612600aac1e31a5ea7cebed5949aa4cde133a17fe3db1a01b9fb2ccc963617488c4d8d0a514c7a62cb354fe3a7d555388fd5a54d9a0bce27 +EBUILD iniparser-4.0.ebuild 1800 SHA256 3868b394c48acbe6aea1f8aacc2176359e07b02b07d859e86e9d63aad1d534c8 SHA512 0429b180d60a8cac74776bb58bd4261cf24d8fcb80b128784243f46b3374df75a1d7dd921f00dd95e28879ffa1e61c992af5518cc88fd69bb4bd3748159e1ae3 WHIRLPOOL e20432e2d69ac1b6c67b3c92be16a7f65fe07f68efcd385b309b15feed4ab8609bd12b0d3e2e6f5f13f4ceb6ccf02f30c19c338232eb06219ed5415ac33d0251 +MISC ChangeLog 3479 SHA256 95b8dd93375b0501b150abf157c31e0f120eae1b4118bdd3b35f66d456546e89 SHA512 e8f137f76747797764f87c996e7164dae3a5dfd39d4b24886c1512d35bf896c7fbf12cfd785b47b7ce04584825dededbe21aa04ab94891e4d83a0bd7950f1031 WHIRLPOOL 290fa41a842cba486409c37b6cada2ad64d9fa7e7183e13d17451e598bfe9abc277d15aab412fb762f538204c64424125a4fb4ca5628046f89e5a6dae1349d98 +MISC ChangeLog-2015 6444 SHA256 c35787d28d2294a89bb542e5c4ac39a51574b059603952f135ed95555a610cb1 SHA512 3bd0ee7e908cb39d7244ebd6365df205e5d1f762e3ad6ecc8109ee36958957167cf0de2f38921ad498cd13fb5a11f507402ab3b623fbd315060f972a742c1241 WHIRLPOOL 950cab21eda650c1348846f2ee9bcb88c567127e36969b7eb94de2b4f80ad09315188d231736c609897eddd5c8cc929fec094d1c2d6a9704f2b12e393b6ec484 +MISC metadata.xml 326 SHA256 343d163fcdcc634192f91c1b2cbc34036b4fa736f8fdd85f61c39d2e99518b83 SHA512 7b19035fb203e35182b45f83c863916a8555b54d87605d310c2499c234bad06a39a33403aeb4f8624f31a9ef3660e1a98710e2f234cf9cd0e983f1ca173521e5 WHIRLPOOL 44a8ee514d73e0dda65294d7aef0795506e57d27c298e06edf04f0e9cf07d3fd68a615bb14ae74e12b2966eedc6f7dca70379997866499d941a7b3b3b58531a0 diff --git a/dev-libs/iniparser/files/iniparser-3.0-autotools.patch b/dev-libs/iniparser/files/iniparser-3.0-autotools.patch new file mode 100644 index 000000000000..89c7f63d29af --- /dev/null +++ b/dev-libs/iniparser/files/iniparser-3.0-autotools.patch @@ -0,0 +1,38 @@ +--- /dev/null ++++ Makefile.am +@@ -0,0 +1,8 @@ ++ACLOCAL_AMFLAGS = -I config ++ ++lib_LTLIBRARIES = libiniparser.la ++ ++libiniparser_la_LDFLAGS = -no-undefined -version-info @SHARED_VERSION_INFO@ ++libiniparser_la_SOURCES = src/dictionary.c src/iniparser.c ++ ++include_HEADERS = src/dictionary.h src/iniparser.h +--- /dev/null ++++ configure.ac +@@ -0,0 +1,24 @@ ++AC_PREREQ([2.65]) ++AC_INIT([iniparser], [3.0], [ndevilla@free.fr]) ++ ++AC_CONFIG_AUX_DIR(config) ++AC_CONFIG_MACRO_DIR(config) ++ ++AM_INIT_AUTOMAKE([1.8 foreign]) ++ ++SHARED_VERSION_INFO="0" ++AC_SUBST(SHARED_VERSION_INFO) ++ ++# Checks for programs. ++AC_PROG_CC ++AC_SYS_LARGEFILE ++ ++LT_INIT ++# Checks for header files. ++AC_CHECK_HEADERS([ ctype.h stdio.h stdlib.h string.h ]) ++ ++# Checks for library functions. ++AC_CHECK_FUNCS([strcmp]) ++ ++AC_CONFIG_FILES([Makefile]) ++AC_OUTPUT diff --git a/dev-libs/iniparser/files/iniparser-3.0b-cpp.patch b/dev-libs/iniparser/files/iniparser-3.0b-cpp.patch new file mode 100644 index 000000000000..cb331b813093 --- /dev/null +++ b/dev-libs/iniparser/files/iniparser-3.0b-cpp.patch @@ -0,0 +1,47 @@ +diff -ur iniparser3.0b/src/dictionary.c iniparser3.0b-patched/src/dictionary.c +--- iniparser3.0b/src/dictionary.c 2007-11-24 05:39:18.000000000 +0800 ++++ iniparser3.0b-patched/src/dictionary.c 2009-04-01 21:38:09.000000000 +0800 +@@ -38,6 +38,9 @@ + /*--------------------------------------------------------------------------- + Private functions + ---------------------------------------------------------------------------*/ ++#ifdef __cplusplus ++extern "C" { ++#endif + + /* Doubles the allocated size associated to a pointer */ + /* 'size' is the current allocated size. */ +@@ -401,5 +404,10 @@ + dictionary_del(d); + return 0 ; + } ++ ++#ifdef __cplusplus ++} ++#endif ++ + #endif + /* vim: set ts=4 et sw=4 tw=75 */ +diff -ur iniparser3.0b/src/iniparser.h iniparser3.0b-patched/src/iniparser.h +--- iniparser3.0b/src/iniparser.h 2007-11-24 05:38:19.000000000 +0800 ++++ iniparser3.0b-patched/src/iniparser.h 2009-04-01 21:38:02.000000000 +0800 +@@ -41,6 +41,10 @@ + #define iniparser_getstr(d, k) iniparser_getstring(d, k, NULL) + #define iniparser_setstr iniparser_setstring + ++#ifdef __cplusplus ++extern "C" { ++#endif ++ + /*-------------------------------------------------------------------------*/ + /** + @brief Get number of sections in a dictionary +@@ -277,4 +281,8 @@ + /*--------------------------------------------------------------------------*/ + void iniparser_freedict(dictionary * d); + ++#ifdef __cplusplus ++} ++#endif ++ + #endif diff --git a/dev-libs/iniparser/files/iniparser-4.0-cflags.patch b/dev-libs/iniparser/files/iniparser-4.0-cflags.patch new file mode 100644 index 000000000000..817b087e6d20 --- /dev/null +++ b/dev-libs/iniparser/files/iniparser-4.0-cflags.patch @@ -0,0 +1,28 @@ +From 14370f5ce94cce077c798db6611ef65cd1822df2 Mon Sep 17 00:00:00 2001 +From: Sebastian Pipping +Date: Sat, 8 Aug 2015 19:04:08 +0200 +Subject: [PATCH 1/2] Respect user CFLAGS + +--- + Makefile | 5 ----- + 1 file changed, 5 deletions(-) + +diff --git a/Makefile b/Makefile +index 78708a5..744405a 100644 +--- a/Makefile ++++ b/Makefile +@@ -6,11 +6,6 @@ + CC ?= gcc + + CFLAGS += -fPIC -Wall -Wextra -ansi -pedantic +-ifndef DEBUG +-CFLAGS += -O2 +-else +-CFLAGS += -g +-endif + + # Ar settings to build the library + AR ?= ar +-- +2.5.0 + diff --git a/dev-libs/iniparser/files/iniparser-4.0-soname.patch b/dev-libs/iniparser/files/iniparser-4.0-soname.patch new file mode 100644 index 000000000000..0536b671a5c3 --- /dev/null +++ b/dev-libs/iniparser/files/iniparser-4.0-soname.patch @@ -0,0 +1,35 @@ +From c3a112a89d3cbbfe0edc4fbac366a47986d6c118 Mon Sep 17 00:00:00 2001 +From: Sebastian Pipping +Date: Sat, 8 Aug 2015 19:10:27 +0200 +Subject: [PATCH 2/2] Adjust soname and make target non-phony + +--- + Makefile | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +diff --git a/Makefile b/Makefile +index 744405a..323e579 100644 +--- a/Makefile ++++ b/Makefile +@@ -14,6 +14,7 @@ ARFLAGS = rcv + SHLD = ${CC} ${CFLAGS} + LDSHFLAGS = -shared -Wl,-Bsymbolic + LDFLAGS += -Wl,-rpath -Wl,/usr/lib -Wl,-rpath,/usr/lib ++SONAME_CURRENT = 1 + + # Set RANLIB to ranlib on systems that require it (Sun OS < 4, Mac OSX) + # RANLIB = ranlib +@@ -52,8 +53,8 @@ libiniparser.a: $(OBJS) + $(QUIET_RANLIB)$(RANLIB) $@ + + libiniparser.so: $(OBJS) +- $(QUIET_LINK)$(SHLD) $(LDSHFLAGS) $(LDFLAGS) -o $@.0 $(OBJS) \ +- -Wl,-soname=`basename $@`.0 ++ $(QUIET_LINK)$(SHLD) $(LDSHFLAGS) $(LDFLAGS) -o $@ $(OBJS) \ ++ -Wl,-soname=libiniparser4.so.$(SONAME_CURRENT) + + clean: + $(RM) $(OBJS) +-- +2.5.0 + diff --git a/dev-libs/iniparser/iniparser-3.1-r1.ebuild b/dev-libs/iniparser/iniparser-3.1-r1.ebuild new file mode 100644 index 000000000000..2537e1e7e290 --- /dev/null +++ b/dev-libs/iniparser/iniparser-3.1-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +AUTOTOOLS_AUTORECONF=1 +inherit autotools-utils autotools-multilib + +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 arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +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-multilib_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 +} diff --git a/dev-libs/iniparser/iniparser-3.1.ebuild b/dev-libs/iniparser/iniparser-3.1.ebuild new file mode 100644 index 000000000000..6cddcadb73c5 --- /dev/null +++ b/dev-libs/iniparser/iniparser-3.1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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 ~arm-linux ~x86-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 +} diff --git a/dev-libs/iniparser/iniparser-4.0.ebuild b/dev-libs/iniparser/iniparser-4.0.ebuild new file mode 100644 index 000000000000..b051667437ca --- /dev/null +++ b/dev-libs/iniparser/iniparser-4.0.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils multilib toolchain-funcs flag-o-matic + +DESCRIPTION="A free stand-alone ini file parsing library" +HOMEPAGE="https://github.com/ndevilla/iniparser" +SRC_URI="https://github.com/ndevilla/iniparser/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="4" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="doc examples static-libs" + +DEPEND="doc? ( app-doc/doxygen )" +RDEPEND="" + +DOCS=( AUTHORS README.md ) + +PATCHES=( + "${FILESDIR}"/${P}-cflags.patch + "${FILESDIR}"/${P}-soname.patch +) + +_newlib_so_with_symlinks() { + local source="${1}" base="${2}" current="${3}" revision="${4}" age="${5}" + local libdir="$(get_libdir)" + + newlib.so ${source} ${base}.so.${current}.${revision}.${age} + for i in ".${current}" '' ; do + dosym ${base}.so.${current}.${revision}.${age} /usr/${libdir}/${base}.so${i} + done +} + +src_prepare() { + epatch "${PATCHES[@]}" + rm -R html || die +} + +src_configure() { + append-lfs-flags +} + +_emake() { + emake CC="$(tc-getCC)" AR="$(tc-getAR)" V=1 "$@" +} + +src_compile() { + _emake +} + +src_test() { + _emake -C test +} + +src_install() { + use static-libs && newlib.a lib${PN}.a lib${PN}${SLOT}.a + _newlib_so_with_symlinks lib${PN}.so lib${PN}${SLOT} 1 0 0 + + insinto /usr/include/${PN}${SLOT} + doins src/*.h + + if use doc; then + emake -C doc + dohtml -r html/* + fi + + if use examples ; then + local examplesdir="/usr/share/doc/${PF}/examples" + insinto "${examplesdir}" + doins example/* + docompress -x "${examplesdir}" + fi + + dodoc "${DOCS[@]}" +} diff --git a/dev-libs/iniparser/metadata.xml b/dev-libs/iniparser/metadata.xml new file mode 100644 index 000000000000..4c5c1b89a443 --- /dev/null +++ b/dev-libs/iniparser/metadata.xml @@ -0,0 +1,11 @@ + + + + + samba@gentoo.org + Samba Team + + + ndevilla/iniparser + + diff --git a/dev-libs/injeqt/Manifest b/dev-libs/injeqt/Manifest new file mode 100644 index 000000000000..3972533d5fc7 --- /dev/null +++ b/dev-libs/injeqt/Manifest @@ -0,0 +1,10 @@ +AUX injeqt-cmake-preserve-cxxflags.patch 675 SHA256 40e4d6ee3757facef3f99e4454f974dae61f9f17ba0b6e30292f6114fc415ffe SHA512 facb47d28f74b441cafe38f5fd74de132713d0f5b746b32b582c180190499f0c2ccf7ca1f273f22108333af1f6835f03a546fbba301eb749c71384f130ee3ad7 WHIRLPOOL c97f79726d040b5d84dc26e6bceedf9c31b3a2e4ca277cc40e3ecf841ac2192798da7230caac5f7afbc5d9e83d4b6b7afb73ea0a98620130f31f8d4cd931172d +DIST injeqt-1.0.1.tar.gz 63748 SHA256 81aafaf990134486331bbb5c362be2b8520a3bec86e82869125c17ec652d686d SHA512 b090c8d5c9fc6091ca55d8b2abe408f10c0c93209755d7fc548723cb5c7fc49e913d4e1360c822b74886df885e08b4d634c53082ce2d8da649e1cc79f6207dc8 WHIRLPOOL 346a81c3866adcf2b466408c8f293d8fa15bd0874b8a07e4fa13d2e03e40bc6c24fb1cd6a077cb854692de9f4f6645c9210bbbf958c8fced3fda429b3592a2a3 +DIST injeqt-1.1.0.tar.gz 74112 SHA256 a5e125ab3e8c9f7139fccbce22d772b01c4e1af074dea3bbb1ddb4379a42cb16 SHA512 f14661c75fb875a9cba3de37252ef4048971a9f12e3482a2e3fe9df01aef842746d51a1cc19343f9b959b29f465c3ab15790608a04375d707073741448ee8443 WHIRLPOOL d0ad335f5122ef093477274c1e8d831b2720b9afeba86ebbb38d2c1914fc8042371c54a0c9234b20d6a84008ac51166a65261c7663cec8de4a87e10a32212786 +DIST injeqt-1.2.0.tar.gz 73787 SHA256 77540cedb0b26affe993dd18124d796059e34c80a51d9ae6433fdff1860db135 SHA512 4783f662af3b7711ef639695350bf136e84a218c8e2f0ddd8a44cb9790e1db5dcb69168fd46c21a82bd76eaebc01e5067e11be87823409d6ca032d2b95bfb880 WHIRLPOOL 518661f73801e11b8cb1f0f322ed00c5ef5fce8c9355a3addb88620be6e0fd4c63829116c6c11323dbf35459e2f65ca40eb15d46698a478b0879d036a27f06f7 +EBUILD injeqt-1.0.1.ebuild 667 SHA256 4c1fc022ba4553dbf46b712dc14c161e64d0d6c33660a4165e957e8f9cad55d8 SHA512 59e38fa2a8ba2f3bce52d7652ec2ca55aca09bd2714345b57dbc61a3bdd903346acc5752906a129e41d64983c3982c5ca9de9cd4c1f292d17df2613bba34c1b5 WHIRLPOOL 4ed8ea5631f2f571e32b103c6072db8e2069d7c2ab1083a75b75cf98a24b9e4beab60a21177a627d35dcc021d7e4843465f61a9d57177100362d507a13a84b38 +EBUILD injeqt-1.1.0.ebuild 656 SHA256 d07e9edf0ce393a7b47c532cb74352c0381258c08290316f89b0aedff654ca81 SHA512 46635b31b88ecde6be2d127ba94fee42a4725c146424e86bea433b752c31ca338973df9545ec3e3e60034197d7be00a6c9d4d838f36fd26dc63f36e48d67657e WHIRLPOOL 24e3995210c750630dbb4fe502928248082c95d5b895689567532cf28295ec54a290e3b6107553825a98ebbb9471dfc638830b71a9ab738844d237dce0d4fbaf +EBUILD injeqt-1.2.0.ebuild 656 SHA256 d07e9edf0ce393a7b47c532cb74352c0381258c08290316f89b0aedff654ca81 SHA512 46635b31b88ecde6be2d127ba94fee42a4725c146424e86bea433b752c31ca338973df9545ec3e3e60034197d7be00a6c9d4d838f36fd26dc63f36e48d67657e WHIRLPOOL 24e3995210c750630dbb4fe502928248082c95d5b895689567532cf28295ec54a290e3b6107553825a98ebbb9471dfc638830b71a9ab738844d237dce0d4fbaf +MISC ChangeLog 3029 SHA256 9c16b9399d45483aac5d1f10a72d71870aea3064fcc5065c1621d5542e0dda8f SHA512 c776fe437744e8aaf0a654964bc74f2cbf0d7a79c803baafb0bb3bead2c6f7b566e456355eb11da8c27f40650a65e2a6151c5beb8521eb1f1ca4648a963b4213 WHIRLPOOL 9cd4ffff191b1aafaed51a80baca2f32d447d2730f8c58318bfbe397798034d23f77c21453d76d4d828d26f4e62c0d8ee7fc8c4a3cbc68ae809c90ac99ecaf49 +MISC ChangeLog-2015 500 SHA256 c26443b7a98e5b156cd0394a28cdb725895838508db73694e12c40134691cb86 SHA512 08623f16c4b7891f1279c7cd43b68549087fe4feab8ef4b42bee6f771f2c89730ce91492429373edf4730d97f6bdbcf00b1a61a6ccd7e88c2192940f6970ac62 WHIRLPOOL 40114dc1442ffd5fb9edc8c49dfb63d240093183488400321dfa2a7cbc0ab83340b25a279f7bf2d758f71e12aafcb762a5fc65363dc62f5d9640af8b03af9be6 +MISC metadata.xml 328 SHA256 45dca023bd4bcc3268b76dc1d79cb27e2c325f57d9788a66cdf2e6f08bfa3b7b SHA512 b095ba0bbe9d89d1d7b18fc13b3c03c23a8c2ad38f9871f3814dc4595e88a93d7682d3f18c31fd810bffeae25cc04de9c2681e933a7de103b8d1bc1e1bf4c3b3 WHIRLPOOL 4b0f32e85b5949f003cd954d5d46416388b1cffa89b15206f27a018a8ee7993f13d5a1b7929f8058b54727ad713a863a95daa8d76f681113a48120c0f7b0427a diff --git a/dev-libs/injeqt/files/injeqt-cmake-preserve-cxxflags.patch b/dev-libs/injeqt/files/injeqt-cmake-preserve-cxxflags.patch new file mode 100644 index 000000000000..7428c5c673fc --- /dev/null +++ b/dev-libs/injeqt/files/injeqt-cmake-preserve-cxxflags.patch @@ -0,0 +1,12 @@ +diff -ruN injeqt-1.0.0/CMakeLists.txt injeqt-my/CMakeLists.txt +--- injeqt-1.0.0/CMakeLists.txt 2015-01-25 00:09:26.000000000 +0100 ++++ injeqt-my/CMakeLists.txt 2016-01-09 04:01:39.162295444 +0100 +@@ -39,7 +39,7 @@ + + set (WARNINGS "-Werror -W -Wall -Wextra -Wundef -Wunused -Wuninitialized -Wcast-align -Wpointer-arith -Woverloaded-virtual -Wnon-virtual-dtor -fno-common") + set (VISIBILITY "-fvisibility=hidden -fvisibility-inlines-hidden") +-set (CMAKE_CXX_FLAGS "-std=c++11 ${WARNINGS} ${VISIBILITY}") ++set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 ${WARNINGS} ${VISIBILITY}") + + if (CMAKE_BUILD_TYPE STREQUAL "Debug") + set (CMAKE_CXX_FLAGS "-O0 ${CMAKE_CXX_FLAGS}") diff --git a/dev-libs/injeqt/injeqt-1.0.1.ebuild b/dev-libs/injeqt/injeqt-1.0.1.ebuild new file mode 100644 index 000000000000..db06069a4c04 --- /dev/null +++ b/dev-libs/injeqt/injeqt-1.0.1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit cmake-utils + +DESCRIPTION="Dependency injection framework for Qt5" +HOMEPAGE="https://github.com/vogel/injeqt" +SRC_URI="https://github.com/vogel/injeqt/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="test" + +RDEPEND=" + >=dev-qt/qtcore-5.4.2:5 +" +DEPEND="${RDEPEND} + test? ( >=dev-qt/qttest-5.4.2:5 ) +" + +PATCHES=( + "${FILESDIR}/${PN}-cmake-preserve-cxxflags.patch" +) + +src_configure() { + local mycmakeargs=( + -DDISABLE_EXAMPLES=ON + $(cmake-utils_use_disable test TESTS) + ) + cmake-utils_src_configure +} diff --git a/dev-libs/injeqt/injeqt-1.1.0.ebuild b/dev-libs/injeqt/injeqt-1.1.0.ebuild new file mode 100644 index 000000000000..6b98e1bd2372 --- /dev/null +++ b/dev-libs/injeqt/injeqt-1.1.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils + +DESCRIPTION="Dependency injection framework for Qt5" +HOMEPAGE="https://github.com/vogel/injeqt" +SRC_URI="https://github.com/vogel/injeqt/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND=" + >=dev-qt/qtcore-5.4.2:5 +" +DEPEND="${RDEPEND} + test? ( >=dev-qt/qttest-5.4.2:5 ) +" + +# https://github.com/vogel/injeqt/issues/18 +RESTRICT=test + +src_configure() { + local mycmakeargs=( + -DDISABLE_EXAMPLES=ON + -DDISABLE_TESTS=$(usex !test) + ) + cmake-utils_src_configure +} diff --git a/dev-libs/injeqt/injeqt-1.2.0.ebuild b/dev-libs/injeqt/injeqt-1.2.0.ebuild new file mode 100644 index 000000000000..6b98e1bd2372 --- /dev/null +++ b/dev-libs/injeqt/injeqt-1.2.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils + +DESCRIPTION="Dependency injection framework for Qt5" +HOMEPAGE="https://github.com/vogel/injeqt" +SRC_URI="https://github.com/vogel/injeqt/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND=" + >=dev-qt/qtcore-5.4.2:5 +" +DEPEND="${RDEPEND} + test? ( >=dev-qt/qttest-5.4.2:5 ) +" + +# https://github.com/vogel/injeqt/issues/18 +RESTRICT=test + +src_configure() { + local mycmakeargs=( + -DDISABLE_EXAMPLES=ON + -DDISABLE_TESTS=$(usex !test) + ) + cmake-utils_src_configure +} diff --git a/dev-libs/injeqt/metadata.xml b/dev-libs/injeqt/metadata.xml new file mode 100644 index 000000000000..ccbbf94ee474 --- /dev/null +++ b/dev-libs/injeqt/metadata.xml @@ -0,0 +1,11 @@ + + + + + reavertm@gentoo.org + Maciej Mrozowski + + + vogel/injeqt + + diff --git a/dev-libs/input-pad/Manifest b/dev-libs/input-pad/Manifest new file mode 100644 index 000000000000..56d0d6098c30 --- /dev/null +++ b/dev-libs/input-pad/Manifest @@ -0,0 +1,3 @@ +DIST input-pad-1.0.99.20140916.tar.gz 621070 SHA256 e0769e5e6fe4d741d25189ebe98dbf0f9d7edc1a516025783c0574799684159c SHA512 a7dd7996f69dbb6cc200be3c181e82ef8d701f85f1b27a886a8910afb3e673c1d71878e70b79141570a28a31dd47565868a990a358058ae8b99c29c76a316261 WHIRLPOOL d6121617a31f864e622cc02007faa033a1e0357760543f3b30dee064fb9b16867a0d366a062df313677ede74831f39a386eada85dcd1a1f32f03599191f033da +EBUILD input-pad-1.0.99_pre20140916.ebuild 1098 SHA256 c63133298a6e50f44510ca309fe9848e4812e761e670a58e109b59af10526816 SHA512 18a9a03a3f626e2135096ebda56ae3303ab5d1efb2e4b653ff53f95efea421e8be9bcef80997124afd7c4323f58581d627d221b34b0da2efcb30c627edbd0097 WHIRLPOOL baa119b184dd7faebcaf57aea265cd5545d0ae2f85c464b2cd9945d06e744b268fb1430d659c06207e8cb2ce85d40739d03b678f56b3d6f9aca560b52369a95c +MISC metadata.xml 503 SHA256 7863eba495e11973788d89a793dbaa09315b26eb8109c933bdbbfef0433fef85 SHA512 da6ac24e8d5e575dadabe7e11c128203b8ee16b72297569cf5c3e8071ef85a297bad2b9c1ec634c27909cf88e051bc4f73dc1fb24070ed5789a05bcfd913ce35 WHIRLPOOL 9441bb1d6aae19bc876b8f79f889553dc4744625bc7ee66fd88d669bdcc5d11809a697e267d680149fadb61d4bf3b9a19676ba9833a8337be23944ebe1b3e269 diff --git a/dev-libs/input-pad/input-pad-1.0.99_pre20140916.ebuild b/dev-libs/input-pad/input-pad-1.0.99_pre20140916.ebuild new file mode 100644 index 000000000000..f884a5d7fb2b --- /dev/null +++ b/dev-libs/input-pad/input-pad-1.0.99_pre20140916.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit ltprune xdg-utils + +MY_P="${P/_pre/.}" +MY_PV="${PV/_pre/.}" + +DESCRIPTION="On-screen input pad to send characters with mouse" +HOMEPAGE="https://github.com/fujiwarat/input-pad/wiki" +SRC_URI="https://github.com/fujiwarat/${PN}/releases/download/${MY_PV}/${MY_P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="eekboard +introspection static-libs +xtest" + +RDEPEND="dev-libs/glib:2 + dev-libs/libxml2 + x11-libs/gtk+:3 + x11-libs/libX11 + x11-libs/libxkbfile + x11-libs/libxklavier + virtual/libintl + eekboard? ( dev-libs/eekboard ) + introspection? ( dev-libs/gobject-introspection ) + xtest? ( x11-libs/libXtst )" +DEPEND="${RDEPEND} + dev-util/intltool + sys-devel/gettext + virtual/pkgconfig" +S="${WORKDIR}/${MY_P}" + +src_prepare() { + default + xdg_environment_reset +} + +src_configure() { + econf \ + $(use_enable eekboard eek) \ + $(use_enable introspection) \ + $(use_enable static-libs static) \ + $(use_enable xtest) +} + +src_install() { + default + prune_libtool_files +} diff --git a/dev-libs/input-pad/metadata.xml b/dev-libs/input-pad/metadata.xml new file mode 100644 index 000000000000..fc144ccafd3d --- /dev/null +++ b/dev-libs/input-pad/metadata.xml @@ -0,0 +1,15 @@ + + + + + cjk@gentoo.org + Cjk + + + Enable support for dev-libs/eekboard + Enable support for x11-libs/libXtst + + + fujiwarat/input-pad + + diff --git a/dev-libs/intel-common/Manifest b/dev-libs/intel-common/Manifest new file mode 100644 index 000000000000..8cbebeda4b33 --- /dev/null +++ b/dev-libs/intel-common/Manifest @@ -0,0 +1,11 @@ +DIST parallel_studio_xe_2013_sp1_update3.tgz 3448198789 SHA256 cd332d1ab5241f7609ca6fefa905b50ec8d706e93870860af1ee9e9e5fd6cc1c SHA512 6308a812c3eb2bd4549b756aa16fdeeb9337131e56bd203876a6763298c776858629a6d17148cdd5275f6781471e826a00a0181b72abcdd7d991196eb4798025 WHIRLPOOL 5407f994b0b26323a4e6540e3eafedf05f4dd900af8ebf778911bf156656057ac0bc394f0a3791b8f4e9aedac681827c5432ddd070692e0fbedbd2f152eda04b +DIST parallel_studio_xe_2013_update4.tgz 2184817121 SHA256 55d549fc34f7a9eb96951c7be3216b68f9f960edfdc0997cf8dcffe5c78d66c8 SHA512 84ea227fdca2c427996b0c4d17a0bad6c289a6fbfc267c19f54ebee875e11e6e8d14bb3103599e3b89331c34a153b0a63a5ca8c12f4619420f78f8c4b0c2da96 WHIRLPOOL 6bedfdbcad7f0d7ad4681d51ad865db247d5f264f5fa33e7136fc64c5e83eee30bb2611f39bd7f31b790432e314a7dbea755297ae3fd2b90ccecb7beffb20d79 +DIST parallel_studio_xe_2013_update4_ia32.tgz 1220177902 SHA256 5bd75b2747f4b787b8128a83914b060d156ecdc41236f4100363b7ab4f9f6859 SHA512 968db307e08cd31450200abd41ade1f2b2855f4b5cb19911d03c1cd357cab11cbba814db354452496fcf66fc3fad1423b24f428bd4db07402f12bd63e4d34247 WHIRLPOOL f2b03ebb78960718a15fc69be814eeb7996fdd7575720f4b09cb915086cc757fea188ef5ceb7e37ed00c995e11ae544d8bd55aba8ab2d12530e26b3d23362f3e +DIST parallel_studio_xe_2013_update4_intel64.tgz 1520767493 SHA256 31383f357b9b7d9c76e727e63427387d9ee42358f5b5df75a0d8766cd318a11d SHA512 497ad8f3473e1d11cdd31dff340a8e6ec1f012e731def084b2072146b5d11db906f85ace53b2223c3fbef949222f73f36783fd697eb7809464f4403c0ac8744a WHIRLPOOL d08447f27aee0f088797968d541fe98e3813a1daf5b87024d37493663238594c3e4e75a8d9636a4059191782f5eae9065d45b7ad2c27e1f73fc74eb110ad399f +DIST parallel_studio_xe_2015_update6.tgz 4190044333 SHA256 e604ed2bb45d227b151dd2898f3edd93526d58d1db1cb9d6b6f614907864f392 SHA512 a9896289db8e820f02c330702ff1e954af11af5f9bbc0e5623a001b3a8c33a2bcb8660ac8b0e569994a3682bfd263bf119dbe6a43fb343139adbeaaaa13f8a81 WHIRLPOOL 997c96d0d9d6c603f8659a5ece91aa55b9a7bf5b428065ac55a0fa3d5577dab7fcc61157a983eb355832dc7c201fde4e5fcc9ff7bcb4d8b656847c2c1092b1dd +EBUILD intel-common-13.1.5.192.ebuild 1548 SHA256 817a376524654492977f0710e4a65749c336410975eaa6c02198582522e51e8f SHA512 ea1cf1a4a07f77628671c342d7d8f79881f44e1872c6d4144c878501f91a9e30e50f113185c15b366e115ad93b891c5f522c0e36ff61a0332ccc321c60234c13 WHIRLPOOL c765e8e80924b4b9a7aa706c3bdb533b54bcf068e7fc46ec512ec3d02402aa7eeec258dcbd0e62d9e1e94bb4d2c029270e662108e3232d9f34c68bbb23ff0497 +EBUILD intel-common-14.0.3.174.ebuild 1576 SHA256 0afcf6579402a7af323a100bc2bfedc72de38df2e657316e7e672c2895f7e053 SHA512 efb605479866e5bf27e9dab7af383fdedb32c53f3af34f451990410e6cc7d293f10dfb385b04435a06df15e267d0781c17af4d79758b02bdadee1c94fa66ac7d WHIRLPOOL 92e2db28a9e9fc858ed9eb3def69cfdf062358953fd5e426c8f1f76c8be5ba55cfb51c240c773cccb87d0b48d857c4854f350ab9af239ec54079316c1993c1a6 +EBUILD intel-common-15.0.6.233.ebuild 1619 SHA256 34701fbba128bd4f6d13a912acc1fc040cc3c52b2336147a6e3ed7d7b3223980 SHA512 78b9c70bab1e08984fe0e16404f0619af32015ec55ddf6f111501e5ef7164522063424dba5106c009b427942b4d7a4baabc0531d62ebc5ef841bf8a69a592c9b WHIRLPOOL 067f57674df31603fc53df7dc8b94a732b78e44a78bb19b4ec0762e0444005502bf5e5b7de3fac6b83a60e4558c9066b90a63f75cd06e27f6a98932e2fdaceef +MISC ChangeLog 4334 SHA256 c7f6517124cc349d69a3069b6e154242429c647c5e701a0760ccd834c17e59ce SHA512 2a0dc8af5c75936071d8d30cebbf0ac0d5f88ac0a4f42c83b090403722335ad2ae1911a439feebb9bd818f1778a892848638d02e63e7ba7606f41e7a7b43ac7b WHIRLPOOL d121583dc5e2ca6e11c6e1acb8ed83ea1fa792816e0ea40f4754d35f627ddf6706e8b6bd6b0e4af57519320b4d24bba2b5d5f0a9349e41a64d956197ac63913d +MISC ChangeLog-2015 3076 SHA256 7fb3920f3a835611e2455027456c6275f3a50723840ac34301af4f6e140077c9 SHA512 95fe5a9cb972f7ae67235ca9a49616f4e63697b31b1a3a9262656bb1aa835115b010ba37f17d73ec938371d2dce8009019f412b3b591c530ad9672b92e7bc4bd WHIRLPOOL 09385d01a1d1e0a1950ee06106cfd050fa784113de381a675f709335de04684134dfec60630ae3a27190b73b1b0274d683b66a0e25c766fc8a862dd220fb6eb2 +MISC metadata.xml 557 SHA256 6005838a98cc3fd1a60fafb2835537cf312069539fab8e1318787ddfe34608e8 SHA512 99c5310b8c8498a1424b31da79b1dd4245c0c630054a55f6f50e54c1e1dadbbb8b7ef5a8cf328f5402475292f529fd8226e4f4f18820a4494f149e36c1025b39 WHIRLPOOL 33e889da5ed6723a43f6eac865716870cf93e45296eb1884e35da16a64123367a15089b25f830cd3ca65913fb8fc39d327b0b6065fbb80c29d2776651531b23c diff --git a/dev-libs/intel-common/intel-common-13.1.5.192.ebuild b/dev-libs/intel-common/intel-common-13.1.5.192.ebuild new file mode 100644 index 000000000000..2a8e3fe6ccac --- /dev/null +++ b/dev-libs/intel-common/intel-common-13.1.5.192.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +INTEL_DPN=parallel_studio_xe +INTEL_DID=3266 +INTEL_DPV=2013_update4 +INTEL_SUBDIR=composerxe + +inherit intel-sdp + +DESCRIPTION="Common libraries and utilities needed for Intel compilers and libraries" +HOMEPAGE="http://software.intel.com/en-us/articles/intel-compilers/" + +IUSE="+compiler" +KEYWORDS="-* ~amd64 ~x86 ~amd64-linux ~x86-linux" + +CHECKREQS_DISK_BUILD=375M + +pkg_setup() { + einfo ${INTEL_SDP_EDIR} + INTEL_BIN_RPMS="openmp openmp-devel" + INTEL_DAT_RPMS="compilerpro-common" + if use compiler; then + INTEL_BIN_RPMS+=" compilerpro-devel sourcechecker-devel" + INTEL_DAT_RPMS+=" compilerpro-vars sourcechecker-common" + fi + intel-sdp_pkg_setup +} + +src_install() { + intel-sdp_src_install + local path rootpath ldpath arch fenv=35intelsdp + cat > ${fenv} <<-EOF + NLSPATH=${INTEL_SDP_EDIR}/lib/locale/en_US/%N + INTEL_LICENSE_FILE="${INTEL_SDP_EDIR}"/licenses:"${EPREFIX}/opt/intel/license" + EOF + for arch in ${INTEL_ARCH}; do + path=${path}:${INTEL_SDP_EDIR}/bin/${arch}:${INTEL_SDP_EDIR}/mpirt/bin/${arch} + rootpath=${rootpath}:${INTEL_SDP_EDIR}/bin/${arch}:${INTEL_SDP_EDIR}/mpirt/bin/${arch} + ldpath=${ldpath}:${INTEL_SDP_EDIR}/compiler/lib/${arch}:${INTEL_SDP_EDIR}/mpirt/lib/${arch} + done + cat >> ${fenv} <<-EOF + PATH=${path#:} + ROOTPATH=${rootpath#:} + LDPATH=${ldpath#:} + EOF + + doenvd ${fenv} + + cat >> "${T}"/40-${PN} <<- EOF + SEARCH_DIRS_MASK="${INTEL_SDP_EDIR}" + EOF + insinto /etc/revdep-rebuild/ + doins "${T}"/40-${PN} +} diff --git a/dev-libs/intel-common/intel-common-14.0.3.174.ebuild b/dev-libs/intel-common/intel-common-14.0.3.174.ebuild new file mode 100644 index 000000000000..ce1f6e19081a --- /dev/null +++ b/dev-libs/intel-common/intel-common-14.0.3.174.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +INTEL_DPN=parallel_studio_xe +INTEL_DID=4220 +INTEL_DPV=2013_sp1_update3 +INTEL_SUBDIR=composerxe +INTEL_SINGLE_ARCH=false + +inherit intel-sdp + +DESCRIPTION="Common libraries and utilities needed for Intel compilers and libraries" +HOMEPAGE="http://software.intel.com/en-us/articles/intel-compilers/" + +IUSE="+compiler" +KEYWORDS="-* ~amd64 ~x86 ~amd64-linux ~x86-linux" + +CHECKREQS_DISK_BUILD=375M + +pkg_setup() { + einfo ${INTEL_SDP_EDIR} + INTEL_BIN_RPMS="openmp openmp-devel" + INTEL_DAT_RPMS="compilerpro-common" + if use compiler; then + INTEL_BIN_RPMS+=" compilerpro-devel sourcechecker-devel" + INTEL_DAT_RPMS+=" compilerpro-vars sourcechecker-common" + fi + intel-sdp_pkg_setup +} + +src_install() { + intel-sdp_src_install + local path rootpath ldpath arch fenv=35intelsdp + cat > ${fenv} <<-EOF + NLSPATH=${INTEL_SDP_EDIR}/lib/locale/en_US/%N + INTEL_LICENSE_FILE="${INTEL_SDP_EDIR}"/licenses:"${EPREFIX}/opt/intel/license" + EOF + for arch in ${INTEL_ARCH}; do + path=${path}:${INTEL_SDP_EDIR}/bin/${arch}:${INTEL_SDP_EDIR}/mpirt/bin/${arch} + rootpath=${rootpath}:${INTEL_SDP_EDIR}/bin/${arch}:${INTEL_SDP_EDIR}/mpirt/bin/${arch} + ldpath=${ldpath}:${INTEL_SDP_EDIR}/compiler/lib/${arch}:${INTEL_SDP_EDIR}/mpirt/lib/${arch} + done + cat >> ${fenv} <<-EOF + PATH=${path#:} + ROOTPATH=${rootpath#:} + LDPATH=${ldpath#:} + EOF + + doenvd ${fenv} + + cat >> "${T}"/40-${PN} <<- EOF + SEARCH_DIRS_MASK="${INTEL_SDP_EDIR}" + EOF + insinto /etc/revdep-rebuild/ + doins "${T}"/40-${PN} +} diff --git a/dev-libs/intel-common/intel-common-15.0.6.233.ebuild b/dev-libs/intel-common/intel-common-15.0.6.233.ebuild new file mode 100644 index 000000000000..edbe4cd62b1d --- /dev/null +++ b/dev-libs/intel-common/intel-common-15.0.6.233.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +INTEL_DPN=parallel_studio_xe +INTEL_DID=8470 +INTEL_DPV=2015_update6 +INTEL_SUBDIR=composerxe +INTEL_SINGLE_ARCH=false + +inherit intel-sdp + +DESCRIPTION="Common libraries and utilities needed for Intel compilers and libraries" +HOMEPAGE="http://software.intel.com/en-us/articles/intel-compilers/" + +IUSE="+compiler" +KEYWORDS="-* ~amd64 ~x86 ~amd64-linux ~x86-linux" + +CHECKREQS_DISK_BUILD=375M + +pkg_setup() { + einfo ${INTEL_SDP_EDIR} + INTEL_BIN_RPMS="openmp openmp-devel" + INTEL_DAT_RPMS="compilerpro-common compilerpro-common-pset" + if use compiler; then + INTEL_BIN_RPMS+=" compilerpro-devel sourcechecker-devel" + INTEL_DAT_RPMS+=" compilerpro-vars sourcechecker-common ccompxe compxe fcompxe" + fi + intel-sdp_pkg_setup +} + +src_install() { + intel-sdp_src_install + local path rootpath ldpath arch fenv=35intelsdp + cat > ${fenv} <<-EOF + NLSPATH=${INTEL_SDP_EDIR}/lib/locale/en_US/%N + INTEL_LICENSE_FILE="${INTEL_SDP_EDIR}"/licenses:"${EPREFIX}/opt/intel/license" + EOF + for arch in ${INTEL_ARCH}; do + path=${path}:${INTEL_SDP_EDIR}/bin/${arch}:${INTEL_SDP_EDIR}/mpirt/bin/${arch} + rootpath=${rootpath}:${INTEL_SDP_EDIR}/bin/${arch}:${INTEL_SDP_EDIR}/mpirt/bin/${arch} + ldpath=${ldpath}:${INTEL_SDP_EDIR}/compiler/lib/${arch}:${INTEL_SDP_EDIR}/mpirt/lib/${arch} + done + cat >> ${fenv} <<-EOF + PATH=${path#:} + ROOTPATH=${rootpath#:} + LDPATH=${ldpath#:} + EOF + + doenvd ${fenv} + + cat >> "${T}"/40-${PN} <<- EOF + SEARCH_DIRS_MASK="${INTEL_SDP_EDIR}" + EOF + insinto /etc/revdep-rebuild/ + doins "${T}"/40-${PN} +} diff --git a/dev-libs/intel-common/metadata.xml b/dev-libs/intel-common/metadata.xml new file mode 100644 index 000000000000..b689904e09ec --- /dev/null +++ b/dev-libs/intel-common/metadata.xml @@ -0,0 +1,15 @@ + + + + + sci@gentoo.org + Gentoo Science Project + + + This package contains the core files to be installed for the Intel + compilers and libraries. Probably useless if installed standalone. + + + Install the libraries needed for the icc and ifort compilers + + diff --git a/dev-libs/isl/Manifest b/dev-libs/isl/Manifest new file mode 100644 index 000000000000..a9aa4ffe995f --- /dev/null +++ b/dev-libs/isl/Manifest @@ -0,0 +1,20 @@ +AUX isl-0.07-gdb-autoload-dir.patch 871 SHA256 6897bfc0a8036cd2bb6698e759d56be0bad9145590850688483b82556813270d SHA512 ffe4db1e1bc2199718667d7e3835d5d3fcabfa82402d39ec540fb86641ced3a46d43cd60682188883927c796925679142b4481b231d218bd776cb3c08ef8117e WHIRLPOOL 8564d5976cc6c7bf7cc4ab2364e25cd5ae2b16ce92f32d14cea45015896be0448ad1bf86b4b6b67a16fccdec655e663fad78dc9d78d22a07f429ab4e783f41a8 +DIST isl-0.12.2.tar.bz2 1319434 SHA256 f4b3dbee9712850006e44f0db2103441ab3d13b406f77996d1df19ee89d11fb4 SHA512 b5dea4d6b504fac22f2d8cd9c47d6896994d3966635a514d45010243db44cfbc009574b808f3587f35d91de629110bc11b52941d4075e21f8646c59656e62aea WHIRLPOOL 7138e0a6249a1245fa07cd072abbbcbda19f7f9d3cf31297e7e6e535e24b5cfd12ea7aee61b68c8e0586dc90ee9a86762e3723312e099ff5edfa3f791e2ca444 +DIST isl-0.13.tar.bz2 1351299 SHA256 7265fd897b7f9147fde76560f28ed18f2c20e5f5da7f4bd9d0e01f8a713401f1 SHA512 ac94cc6448ce8ed5ccf987fb29d86ddd5a63c904a83df3f24f66cde25e5657180a3f2b55b207635d43930e92c860d1043d3f14e9e715d593d53c956eb8346743 WHIRLPOOL 3d5f7343014c07e8e50d0b82db0d6f938c9e8c7cfb2c27cd312141c3f0fef50e0bf2a7421f4fce91d6247e9a027e88d47312c1e7c56fc8d34e2b7e77589dedcf +DIST isl-0.14.1.tar.xz 1248204 SHA256 8882c9e36549fc757efa267706a9af733bb8d7fe3905cbfde43e17a89eea4675 SHA512 ccae0464771db50c498fd1f9f1006c9bc183fd77a0716507daeb5da6d435fdcffffa0942efc4589464f205615f9e46242a066f61790c40206be02f6cf8506635 WHIRLPOOL e9c59808a84bd0b769698f129c0fdaf427d004afd6ee979c89f7d6bc7ce6d77f14f5389f2d0718fea6202a29d6da77a60357456117c4696735b14e6369f35985 +DIST isl-0.14.tar.xz 1247052 SHA256 b1044f02819da0708fc7071fa2a558ce5d3c29d6676c8cb113caaedd5903ff03 SHA512 cf43868d466d6ff08c5e15345d222ad153e8c4e86831f9854df716eb914c6c15f4c44b73aa6e0b16eb556d1a4d3c26af6f71e85421bf464cbbd053d5f3c515ee WHIRLPOOL 4fdaa2c05b647f0830afbc3385e5359285b3fa86afa4a117b76e6ced03772d3abe57466e9cbdfe0cf96f05ab8bcbfb4737a6921aeb72fb1bd213374bdb6a2ac3 +DIST isl-0.15.tar.xz 1406988 SHA256 104a608839771d809558f5fd7533ca1a3b8ee5a667c5dcd9dc3499bf0a1522d5 SHA512 5e72816da133714fb752ddd10fbe9e8f18deef496445672c0a77429679e50f1def22e05e5ebe9acb5534fc8939a6e6a452ffa3607d479671864a76b6789bdab4 WHIRLPOOL 79d763a423a95544f9b8bd6caef9e23341d8c1bab5ae3711a59ce9cc28f7f3923adb20894601ccd91c0093dbe3c656951b8246b8e947ad5ed32d1beefcde1519 +DIST isl-0.16.1.tar.xz 1449164 SHA256 45292f30b3cb8b9c03009804024df72a79e9b5ab89e41c94752d6ea58a1e4b02 SHA512 6faff2fe07267ba05c156158c36c25aa9beec6058f949b7bb9b8f042c5d01b7a3a17a6117c2c2a13ad6180308c8d03cfd469b237abf85290411599dde614788f WHIRLPOOL 1f3edf59bc6be956863eae436e62fb6adcc8cbe51e683b72cc986e9d5d30c6fb1c9cdea510652b78b6c448abf522edb1773dfd9cda6792012fcad9ac20fc5609 +DIST isl-0.17.1.tar.xz 1440564 SHA256 be152e5c816b477594f4c6194b5666d8129f3a27702756ae9ff60346a8731647 SHA512 03d73e81db2a01c5dd31bec12816975988bf731f29b95637bc15ea24abf0becad6e8d650ca0bad45eaad4197cb0a1f5ca189aec638db162c56092a001e35d86b WHIRLPOOL 3a1652773077226cc6dc436a8b9eafbd9a9576e91dce2a4de46e0972c24214a8f781b3a3c9e805d15b0dc1bb96fc7d0441eb194c45d5681f7e897dc1ff3bfd03 +DIST isl-0.18.tar.xz 1475708 SHA256 0f35051cc030b87c673ac1f187de40e386a1482a0cfdf2c552dd6031b307ddc4 SHA512 3606609765fc34740ab3014e2256d6bba7ff730463b014a0e4f5fcfb2e3dbef974503dff1f3702b307ef79ff86c5bc2c3ce3c3c8511533971fd5d53ab45f6eea WHIRLPOOL 090ec2725bd45c8c0b45918b5af38bef2d8634752de1224a5715db65e36b65ef43f5ab5b58be3acd5dc489aa0853953f99f04fc9271a10cb60562f58f17e6d17 +EBUILD isl-0.12.2.ebuild 1048 SHA256 f25b0b89f56c2e6aa8537e466b96c2baea73cd70354b3fa74cc5c83d2c0a0c3a SHA512 6834670244e7f4ec9a8238442ad472282db1fe313af11a2b17b9e7c3205b6e3b2efee00fb539cfc7c720d5fc8f0e39334e739fa22fea2fb8eee9152b77ad184c WHIRLPOOL e3d0823f2688d54637eb881cd0894e6fd7279554498671d36f9eaa43cf5bfbf214d0025270c2b4b9eab03ac47aa90b126fbf0da8c2d5d7df295a0dad0be708c6 +EBUILD isl-0.13.ebuild 1060 SHA256 be68a9bbb350135b6b6db805ce527bd9be666fcc9a5e72220f22f78ec980fcc8 SHA512 289ea8dfac458f4c79f63f15b65ca4c675ab23bf6d48ce149cbc1ae4c5640ddd0c1f37de6336d7271eb0411a6a1305f364bc3fb0d82294ad0aae7b2dc6b97b5d WHIRLPOOL 2fd3f51503d331e1f337a6c8d595ee6c5c030806f92438e89e138580ec6a3a3c51dc0b6ab12f752231a2fbfa37b933ddce0564d1f17cddbf3ddf79c3f23299c4 +EBUILD isl-0.14.1.ebuild 1078 SHA256 a5df08de3d2d2f7c69b306d7d1f11a0e5cc50026e6929abf1f1884a997bfb820 SHA512 0bccd7ddb31c98564515f1ef9436276c29249391a685f1022ddc7e78f415b25be3bc2acd63d888d18f99cc9b0aa311b90960a446656d02e973af507abbe57543 WHIRLPOOL 4d3323c0f696dea9d0f69bd464c08b8699405a1afdfe021cc7ac1541afb8f0b2e277b24072adb8810c700138cea00232b991ef960ce06eab8ce6480a3e5a9b30 +EBUILD isl-0.14.ebuild 1078 SHA256 a5df08de3d2d2f7c69b306d7d1f11a0e5cc50026e6929abf1f1884a997bfb820 SHA512 0bccd7ddb31c98564515f1ef9436276c29249391a685f1022ddc7e78f415b25be3bc2acd63d888d18f99cc9b0aa311b90960a446656d02e973af507abbe57543 WHIRLPOOL 4d3323c0f696dea9d0f69bd464c08b8699405a1afdfe021cc7ac1541afb8f0b2e277b24072adb8810c700138cea00232b991ef960ce06eab8ce6480a3e5a9b30 +EBUILD isl-0.15.ebuild 1068 SHA256 33f473b38082c69ed6924230d3215f73c5854c210e4f7532c0a877a8451c6fde SHA512 ab839c2da913fca42dc4e166b800aa41733cfb4a9c1651db056bc1cebb02edaa587b303fb0da0686092ddcd91a3f09c1417294b9149cb95261a5ca2c6b4aa9c3 WHIRLPOOL 9a45e09cc7f6c8828271d016077c296f425f18100463d45843473be50d6e38aa0c31e199635f598f7ba8461515dc480ca2e3a870a7c97a1bcfc219c31c7c12ee +EBUILD isl-0.16.1.ebuild 1078 SHA256 5a191b0c1aad8dc89f172c5414ba8dfc716ac7d115d519fe6fad55be4ccc6725 SHA512 74a306b624ecceeb45e7f92e5412746e804c366b76a477e0b6b5feb8e4328bc3e8a252d65ddfb59938504ebe99a99e0a7c34970d48bd3aea532bf073c1a36e5b WHIRLPOOL fcb944b8027bed23ec94551bfd1c0e504b61e61e5599ed543d52af5ed0d1a27959f2b3e2f3daabae218e6fedfb7ebc1f6efc476407b4206c0bbb1bb4ab52fd82 +EBUILD isl-0.17.1.ebuild 1078 SHA256 5a191b0c1aad8dc89f172c5414ba8dfc716ac7d115d519fe6fad55be4ccc6725 SHA512 74a306b624ecceeb45e7f92e5412746e804c366b76a477e0b6b5feb8e4328bc3e8a252d65ddfb59938504ebe99a99e0a7c34970d48bd3aea532bf073c1a36e5b WHIRLPOOL fcb944b8027bed23ec94551bfd1c0e504b61e61e5599ed543d52af5ed0d1a27959f2b3e2f3daabae218e6fedfb7ebc1f6efc476407b4206c0bbb1bb4ab52fd82 +EBUILD isl-0.18.ebuild 1078 SHA256 5a191b0c1aad8dc89f172c5414ba8dfc716ac7d115d519fe6fad55be4ccc6725 SHA512 74a306b624ecceeb45e7f92e5412746e804c366b76a477e0b6b5feb8e4328bc3e8a252d65ddfb59938504ebe99a99e0a7c34970d48bd3aea532bf073c1a36e5b WHIRLPOOL fcb944b8027bed23ec94551bfd1c0e504b61e61e5599ed543d52af5ed0d1a27959f2b3e2f3daabae218e6fedfb7ebc1f6efc476407b4206c0bbb1bb4ab52fd82 +MISC ChangeLog 5175 SHA256 6f245ef93f0eb07e6a3a2de12e9cebc83ff074cdc6f5235447539297be43ef2f SHA512 9f7ec3e8385f0fb982af584203c06ebf47c13bdc118b87bb4a2c3e0ec011c051a81e190fa5b0054c5e0c0f115a89d8994b5c93210e348952ba791843095a284d WHIRLPOOL 4c37896e190f90502656c0c93bcc31b5a04f5237c9017e83e34627ff6ceb22f72738ea84948ae4f8b92bb4f78f3722c49e3a3ce8c064966db5aec8e4f3f67133 +MISC ChangeLog-2015 4734 SHA256 9a6aef22c03c56ea3806f466cbcae7b249de1d3806fab284770261ef87c8ea74 SHA512 63e39fbca7e4ca967e0615e6f0abaf4647534843a2147e4f665c3e06f4f6fd0e7cbea07cb596f77886082cbeb3cc26bb197db35eda8a3f7041b6d312466df112 WHIRLPOOL 435ba7f1d645722192865c714fff449af636d3746563b82d1e7dc4da981940ff0a96f5b26656e6e7379803cc33fac977d5bdf33a4ffbfb7aff14397ce31d0b9b +MISC metadata.xml 225 SHA256 ea281e47988960a9906afba90992d90355964b87ec8a0ad3c7a5004c01ae496e SHA512 2997fa08fd2cfcf45753278a609cf2d75076f97848a83f09ff57b5cb71599495736a3a43f47ad24e1e3940bd937bf37592eff1d917e23f647995daf456e87d73 WHIRLPOOL 1c04e66256c309c3996fe9dabd646d43349d326ea03f669dcddfd4ff16b3a2fbeb76cd7f97e7692f08f1372f062a63e17ad9ae983b94f8f97fdc17ad40341403 diff --git a/dev-libs/isl/files/isl-0.07-gdb-autoload-dir.patch b/dev-libs/isl/files/isl-0.07-gdb-autoload-dir.patch new file mode 100644 index 000000000000..58e80b29687e --- /dev/null +++ b/dev-libs/isl/files/isl-0.07-gdb-autoload-dir.patch @@ -0,0 +1,17 @@ +Install python module into gdb auto-load directory. + +--- a/Makefile.in ++++ b/Makefile.in +@@ -2189,9 +2189,9 @@ install-data-local: $(srcdir)/isl.py + case $$libisl in \ + '') echo Cannot find isl library name. GDB bindings not installed.;; \ + *) echo $(INSTALL_DATA) $(srcdir)/isl.py \ +- $(DESTDIR)$(libdir)/$$libisl-gdb.py; \ +- test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"; \ +- $(INSTALL_DATA) $(srcdir)/isl.py $(DESTDIR)$(libdir)/$$libisl-gdb.py; esac ++ $(DESTDIR)$(prefix)/share/gdb/auto-load$(libdir)/$$libisl-gdb.py; \ ++ test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(prefix)/share/gdb/auto-load$(libdir)"; \ ++ $(INSTALL_DATA) $(srcdir)/isl.py $(DESTDIR)$(prefix)/share/gdb/auto-load$(libdir)/$$libisl-gdb.py; esac + + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. diff --git a/dev-libs/isl/isl-0.12.2.ebuild b/dev-libs/isl/isl-0.12.2.ebuild new file mode 100644 index 000000000000..ebc4308be9d0 --- /dev/null +++ b/dev-libs/isl/isl-0.12.2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit eutils multilib-minimal + +DESCRIPTION="A library for manipulating integer points bounded by linear constraints" +HOMEPAGE="http://isl.gforge.inria.fr/" +SRC_URI="http://isl.gforge.inria.fr/${P}.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0/10" +KEYWORDS="alpha amd64 arm arm64 ~hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd" +IUSE="static-libs" + +RDEPEND=">=dev-libs/gmp-5.1.3-r1[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +DOCS=( ChangeLog AUTHORS doc/manual.pdf ) + +src_prepare() { + epatch "${FILESDIR}"/${PN}-0.07-gdb-autoload-dir.patch + + # m4/ax_create_pkgconfig_info.m4 is broken but avoid eautoreconf + # https://groups.google.com/group/isl-development/t/37ad876557e50f2c + sed -i -e '/Libs:/s:@LDFLAGS@ ::' configure || die #382737 +} + +multilib_src_configure() { + ECONF_SOURCE="${S}" econf $(use_enable static-libs static) +} + +multilib_src_install_all() { + einstalldocs + prune_libtool_files +} diff --git a/dev-libs/isl/isl-0.13.ebuild b/dev-libs/isl/isl-0.13.ebuild new file mode 100644 index 000000000000..c023fa026d54 --- /dev/null +++ b/dev-libs/isl/isl-0.13.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit eutils multilib-minimal + +DESCRIPTION="A library for manipulating integer points bounded by linear constraints" +HOMEPAGE="http://isl.gforge.inria.fr/" +SRC_URI="http://isl.gforge.inria.fr/${P}.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0/13" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" +IUSE="static-libs" + +RDEPEND=">=dev-libs/gmp-5.1.3-r1[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +DOCS=( ChangeLog AUTHORS doc/manual.pdf ) + +src_prepare() { + epatch "${FILESDIR}"/${PN}-0.07-gdb-autoload-dir.patch + + # m4/ax_create_pkgconfig_info.m4 is broken but avoid eautoreconf + # https://groups.google.com/group/isl-development/t/37ad876557e50f2c + sed -i -e '/Libs:/s:@LDFLAGS@ ::' configure || die #382737 +} + +multilib_src_configure() { + ECONF_SOURCE="${S}" econf $(use_enable static-libs static) +} + +multilib_src_install_all() { + einstalldocs + prune_libtool_files +} diff --git a/dev-libs/isl/isl-0.14.1.ebuild b/dev-libs/isl/isl-0.14.1.ebuild new file mode 100644 index 000000000000..0378477e7605 --- /dev/null +++ b/dev-libs/isl/isl-0.14.1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit eutils multilib-minimal + +DESCRIPTION="A library for manipulating integer points bounded by linear constraints" +HOMEPAGE="http://isl.gforge.inria.fr/" +SRC_URI="http://isl.gforge.inria.fr/${P}.tar.xz" + +LICENSE="LGPL-2.1" +SLOT="0/14" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" +IUSE="static-libs" + +RDEPEND=">=dev-libs/gmp-5.1.3-r1[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND} + app-arch/xz-utils + virtual/pkgconfig" + +DOCS=( ChangeLog AUTHORS doc/manual.pdf ) + +src_prepare() { + epatch "${FILESDIR}"/${PN}-0.07-gdb-autoload-dir.patch + + # m4/ax_create_pkgconfig_info.m4 is broken but avoid eautoreconf + # https://groups.google.com/group/isl-development/t/37ad876557e50f2c + sed -i -e '/Libs:/s:@LDFLAGS@ ::' configure || die #382737 +} + +multilib_src_configure() { + ECONF_SOURCE="${S}" econf $(use_enable static-libs static) +} + +multilib_src_install_all() { + einstalldocs + prune_libtool_files +} diff --git a/dev-libs/isl/isl-0.14.ebuild b/dev-libs/isl/isl-0.14.ebuild new file mode 100644 index 000000000000..0378477e7605 --- /dev/null +++ b/dev-libs/isl/isl-0.14.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit eutils multilib-minimal + +DESCRIPTION="A library for manipulating integer points bounded by linear constraints" +HOMEPAGE="http://isl.gforge.inria.fr/" +SRC_URI="http://isl.gforge.inria.fr/${P}.tar.xz" + +LICENSE="LGPL-2.1" +SLOT="0/14" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" +IUSE="static-libs" + +RDEPEND=">=dev-libs/gmp-5.1.3-r1[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND} + app-arch/xz-utils + virtual/pkgconfig" + +DOCS=( ChangeLog AUTHORS doc/manual.pdf ) + +src_prepare() { + epatch "${FILESDIR}"/${PN}-0.07-gdb-autoload-dir.patch + + # m4/ax_create_pkgconfig_info.m4 is broken but avoid eautoreconf + # https://groups.google.com/group/isl-development/t/37ad876557e50f2c + sed -i -e '/Libs:/s:@LDFLAGS@ ::' configure || die #382737 +} + +multilib_src_configure() { + ECONF_SOURCE="${S}" econf $(use_enable static-libs static) +} + +multilib_src_install_all() { + einstalldocs + prune_libtool_files +} diff --git a/dev-libs/isl/isl-0.15.ebuild b/dev-libs/isl/isl-0.15.ebuild new file mode 100644 index 000000000000..a8cc1bfa4c72 --- /dev/null +++ b/dev-libs/isl/isl-0.15.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit eutils multilib-minimal + +DESCRIPTION="A library for manipulating integer points bounded by linear constraints" +HOMEPAGE="http://isl.gforge.inria.fr/" +SRC_URI="http://isl.gforge.inria.fr/${P}.tar.xz" + +LICENSE="LGPL-2.1" +SLOT="0/15" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd" +IUSE="static-libs" + +RDEPEND=">=dev-libs/gmp-5.1.3-r1[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND} + app-arch/xz-utils + virtual/pkgconfig" + +DOCS=( ChangeLog AUTHORS doc/manual.pdf ) + +src_prepare() { + epatch "${FILESDIR}"/${PN}-0.07-gdb-autoload-dir.patch + + # m4/ax_create_pkgconfig_info.m4 is broken but avoid eautoreconf + # https://groups.google.com/group/isl-development/t/37ad876557e50f2c + sed -i -e '/Libs:/s:@LDFLAGS@ ::' configure || die #382737 +} + +multilib_src_configure() { + ECONF_SOURCE="${S}" econf $(use_enable static-libs static) +} + +multilib_src_install_all() { + einstalldocs + prune_libtool_files +} diff --git a/dev-libs/isl/isl-0.16.1.ebuild b/dev-libs/isl/isl-0.16.1.ebuild new file mode 100644 index 000000000000..b2dd215071ee --- /dev/null +++ b/dev-libs/isl/isl-0.16.1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit eutils multilib-minimal + +DESCRIPTION="A library for manipulating integer points bounded by linear constraints" +HOMEPAGE="http://isl.gforge.inria.fr/" +SRC_URI="http://isl.gforge.inria.fr/${P}.tar.xz" + +LICENSE="LGPL-2.1" +SLOT="0/15" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" +IUSE="static-libs" + +RDEPEND=">=dev-libs/gmp-5.1.3-r1[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND} + app-arch/xz-utils + virtual/pkgconfig" + +DOCS=( ChangeLog AUTHORS doc/manual.pdf ) + +src_prepare() { + epatch "${FILESDIR}"/${PN}-0.07-gdb-autoload-dir.patch + + # m4/ax_create_pkgconfig_info.m4 is broken but avoid eautoreconf + # https://groups.google.com/group/isl-development/t/37ad876557e50f2c + sed -i -e '/Libs:/s:@LDFLAGS@ ::' configure || die #382737 +} + +multilib_src_configure() { + ECONF_SOURCE="${S}" econf $(use_enable static-libs static) +} + +multilib_src_install_all() { + einstalldocs + prune_libtool_files +} diff --git a/dev-libs/isl/isl-0.17.1.ebuild b/dev-libs/isl/isl-0.17.1.ebuild new file mode 100644 index 000000000000..b2dd215071ee --- /dev/null +++ b/dev-libs/isl/isl-0.17.1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit eutils multilib-minimal + +DESCRIPTION="A library for manipulating integer points bounded by linear constraints" +HOMEPAGE="http://isl.gforge.inria.fr/" +SRC_URI="http://isl.gforge.inria.fr/${P}.tar.xz" + +LICENSE="LGPL-2.1" +SLOT="0/15" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" +IUSE="static-libs" + +RDEPEND=">=dev-libs/gmp-5.1.3-r1[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND} + app-arch/xz-utils + virtual/pkgconfig" + +DOCS=( ChangeLog AUTHORS doc/manual.pdf ) + +src_prepare() { + epatch "${FILESDIR}"/${PN}-0.07-gdb-autoload-dir.patch + + # m4/ax_create_pkgconfig_info.m4 is broken but avoid eautoreconf + # https://groups.google.com/group/isl-development/t/37ad876557e50f2c + sed -i -e '/Libs:/s:@LDFLAGS@ ::' configure || die #382737 +} + +multilib_src_configure() { + ECONF_SOURCE="${S}" econf $(use_enable static-libs static) +} + +multilib_src_install_all() { + einstalldocs + prune_libtool_files +} diff --git a/dev-libs/isl/isl-0.18.ebuild b/dev-libs/isl/isl-0.18.ebuild new file mode 100644 index 000000000000..b2dd215071ee --- /dev/null +++ b/dev-libs/isl/isl-0.18.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit eutils multilib-minimal + +DESCRIPTION="A library for manipulating integer points bounded by linear constraints" +HOMEPAGE="http://isl.gforge.inria.fr/" +SRC_URI="http://isl.gforge.inria.fr/${P}.tar.xz" + +LICENSE="LGPL-2.1" +SLOT="0/15" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" +IUSE="static-libs" + +RDEPEND=">=dev-libs/gmp-5.1.3-r1[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND} + app-arch/xz-utils + virtual/pkgconfig" + +DOCS=( ChangeLog AUTHORS doc/manual.pdf ) + +src_prepare() { + epatch "${FILESDIR}"/${PN}-0.07-gdb-autoload-dir.patch + + # m4/ax_create_pkgconfig_info.m4 is broken but avoid eautoreconf + # https://groups.google.com/group/isl-development/t/37ad876557e50f2c + sed -i -e '/Libs:/s:@LDFLAGS@ ::' configure || die #382737 +} + +multilib_src_configure() { + ECONF_SOURCE="${S}" econf $(use_enable static-libs static) +} + +multilib_src_install_all() { + einstalldocs + prune_libtool_files +} diff --git a/dev-libs/isl/metadata.xml b/dev-libs/isl/metadata.xml new file mode 100644 index 000000000000..04fc72b6cec6 --- /dev/null +++ b/dev-libs/isl/metadata.xml @@ -0,0 +1,7 @@ + + + + + toolchain@gentoo.org + + diff --git a/dev-libs/jansson/Manifest b/dev-libs/jansson/Manifest new file mode 100644 index 000000000000..b097331f8861 --- /dev/null +++ b/dev-libs/jansson/Manifest @@ -0,0 +1,7 @@ +DIST jansson-2.10.tar.gz 487855 SHA256 78215ad1e277b42681404c1d66870097a50eb084be9d771b1d15576575cf6447 SHA512 e331d5c097b4acb0b1df7d90d1d3453c26bd34bfe2e06af0027665bee9efecc2bc61cc7ab5b70dab1262bf80a3315ffb53b4176874fe07e20eee4b9ea7071d44 WHIRLPOOL 07ccf532f0ff27ac5063fafe0f2a33f4117909365c2dc7dfea6331457712efc5b8b93d519ebfae56fc46fb98b2fc95d858e2efa407bd4dd61935b9cf4cbc00bc +DIST jansson-2.9.tar.gz 485095 SHA256 0ad0d074ca049a36637e7abef755d40849ad73e926b93914ce294927b97bd2a5 SHA512 ae239e1a825c252d7a3b0ee97004c129a0968f7e9da8679dc665a8e54a34c073b0c274bd5af004700b442f7b703bcc76f5e3360ab82172da7203b3458a5e9cb9 WHIRLPOOL 2b9103702680f0e03f5220530938dfcd8fb1b793383bf459200e0e05fffcfd5ec7cecd904ba7fc3c55f237d98f94b6a97c26c3f89b5b26ebcaa830e2eecd4b1f +EBUILD jansson-2.10.ebuild 858 SHA256 57184d4724e367b8cfd38723155358e823094f25cf440d8c42cb37e5272a4932 SHA512 61683153e6e0ef4cb6e1cb09be8e2f2b8abe55ea563004fdaa42fe93b648d8b98250e78527184b5b6812ec61ff99814ef5a9dc6bb0c34c2eb47d97ec51a968e2 WHIRLPOOL c4597db1c1e603b3ac8e539928060ed0dc70b829759caa23b48028bc76ab092d30ada7beb8d8c81792e770929034258d39af6cf3d969c0ad92badf2913efb569 +EBUILD jansson-2.9.ebuild 849 SHA256 008c290631f55f6019a9627c1fab8db129e7ba22d1f4d0e9cd999c2792023037 SHA512 1882a3cece74d76e1481d369fabf7091c9909cb2a460fbc7e08a47631f8dbd7c0f29e1ecd071339e911226cf25927e527d83910e1e0d95cd918d8667ae0cb156 WHIRLPOOL 6d9fc09638df5036eec9a8911f041be3586082597918086e75da7633ae1d4daaddb57b7fced8f19a9567477e103e7cac0d66011f5b4c56acf2a98f4fa04f9dce +MISC ChangeLog 5079 SHA256 16cec7fa836f33b3c4cee9dfbe305b6d38f1f6a464956f1388e7a15b1027b2c6 SHA512 b24bad11acb9cdba05900b24190afe8a481fca6a668b8dec8c555b0728b6ae692825b145d7df64ae816dfe403211e3e5fd453a0a732e67066f7cb5dca99ede5b WHIRLPOOL 9389659172f6bdc2a542a43920260772b103e1b1bd59229b8ad4ffc7b2897ae348810671f7c4e0da473aef13758b0d31613e79792404ccb30e5df0ca34ec449f +MISC ChangeLog-2015 2909 SHA256 578c66228c3f4dfb084552d5771d8ace5ae9bc27cbfd17882228cf3ebaf13fbe SHA512 8e54581c5be6012dcd81c371a96ba201616f9b14975c867515816823afc58b4e345f122ee36604e2c315e37f5c953db8be9dff96d6d054a006342fe5757ca4f4 WHIRLPOOL 99baac29b01e9647e0cfd16556ab4079238eefa58d2d1af889ccefbd94ddf7d6d24af0f4a4bca7cef3e66b674eec9e96a24785a81e9d96aa5626790b4f308d46 +MISC metadata.xml 366 SHA256 37aae9dad03346b94b5ae4eab5380fe479dbbcade5b871a93c32e7126f9f3134 SHA512 697a92b924ba9fe21f972eb6bd4c809adca660bbb5f47d4d2e37cc407cf0a27f51e2995e26223a51b125fbe592d3470cc1254a78c77eb59011c287bc0ce8b2b7 WHIRLPOOL 52d64ab1ff57f0a22e848dad1a656a658da7104dc6d0f6137c9779fe483a5121a4e328cdf933bb92f807dc640f76218bc5456fdf1dd62d54c42cc15cdf67205b diff --git a/dev-libs/jansson/jansson-2.10.ebuild b/dev-libs/jansson/jansson-2.10.ebuild new file mode 100644 index 000000000000..6b758c05a253 --- /dev/null +++ b/dev-libs/jansson/jansson-2.10.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools multilib-minimal + +DESCRIPTION="C library for encoding, decoding and manipulating JSON data" +HOMEPAGE="http://www.digip.org/jansson/" +SRC_URI="http://www.digip.org/jansson/releases/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="doc static-libs" + +DEPEND="doc? ( >=dev-python/sphinx-1.0.4 )" +RDEPEND="" + +src_prepare() { + default + sed -ie 's/-Werror//' src/Makefile.am || die + eautoreconf +} + +multilib_src_configure() { + ECONF_SOURCE="${S}" \ + econf \ + $(use_enable static-libs static) +} + +multilib_src_compile() { + default + + if multilib_is_native_abi && use doc ; then + emake html + HTML_DOCS=( "${BUILD_DIR}"/doc/_build/html/. ) + fi +} diff --git a/dev-libs/jansson/jansson-2.9.ebuild b/dev-libs/jansson/jansson-2.9.ebuild new file mode 100644 index 000000000000..f75e332859b9 --- /dev/null +++ b/dev-libs/jansson/jansson-2.9.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools multilib-minimal + +DESCRIPTION="C library for encoding, decoding and manipulating JSON data" +HOMEPAGE="http://www.digip.org/jansson/" +SRC_URI="http://www.digip.org/jansson/releases/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86" +IUSE="doc static-libs" + +DEPEND="doc? ( >=dev-python/sphinx-1.0.4 )" +RDEPEND="" + +src_prepare() { + default + sed -ie 's/-Werror//' src/Makefile.am || die + eautoreconf +} + +multilib_src_configure() { + ECONF_SOURCE="${S}" \ + econf \ + $(use_enable static-libs static) +} + +multilib_src_compile() { + default + + if multilib_is_native_abi && use doc ; then + emake html + HTML_DOCS=( "${BUILD_DIR}"/doc/_build/html/. ) + fi +} diff --git a/dev-libs/jansson/metadata.xml b/dev-libs/jansson/metadata.xml new file mode 100644 index 000000000000..149a60f516c3 --- /dev/null +++ b/dev-libs/jansson/metadata.xml @@ -0,0 +1,12 @@ + + + + + zero@zer0-one.net + David Zero + + + proxy-maint@gentoo.org + Proxy Maintainers + + diff --git a/dev-libs/jemalloc/Manifest b/dev-libs/jemalloc/Manifest new file mode 100644 index 000000000000..05e52a6829cd --- /dev/null +++ b/dev-libs/jemalloc/Manifest @@ -0,0 +1,30 @@ +AUX jemalloc-2.2.1-no-pprof.patch 702 SHA256 8e5a36505a90eab85bf746d4eb5a27d473ce25396104a0dd01d25368dd0c099d SHA512 bf06dc0f8a1f3106778425ba1ac817934a5473f77490e33dad5a2254ccb1de312f1712e1e71d1ddeeab0c2abc5bd99778c0b6b4f18656a9e32d67bee21476d89 WHIRLPOOL b7c8b9fda1e3e223e6be3b56fbd1922a5961a95753e6d62e2b2c37eb6d0d4b008421f4d894e55f13f5b668707d59ed5bb4926b1040968ce6dcbae4ab93b0c3a0 +AUX jemalloc-2.2.5_fix_html_install.patch 235 SHA256 900a9c546d56b9a52b4dae9678f62a621c1053357972ce986281da3f44b36d18 SHA512 007b42157afa6727465a939de6da5e579f91196d1491f77eceaebe8c5fd674c08f3b51a05ab7935f8bcf641f2e11a0764ccd9654de926bdde6bc854bd86f9e5c WHIRLPOOL 0d14abd8ee1e6e4dfe09b7a68097d81adde535adb4dcac48260e72c9b7050d59e28bc14184a69b56986c078944ebe75dfeddfe9b4ca4c82dcd27ee2c7a3c6e5a +AUX jemalloc-3.0.0-no-pprof.patch 823 SHA256 63ae4515df9291d8a9407ca91de687347868a0d283fe382397bb0369e34ec995 SHA512 c9d9b9d527ae8b25ec39bb5a562c8b94979d1fd7401dc6ada2c2daf552289b1914573cc7ea709644b8e01717bec3a0d071b4356c566947367c516ed92bf1a4f8 WHIRLPOOL 5ec7739061daf84bda2265f0d67bd333b8034671f79b53c0b55e8c2689604ad87dd17befb538ecd40521c14e6997543fe703989887cfb63d24a48fa894906bfc +AUX jemalloc-3.0.0-strip-optimization.patch 864 SHA256 8937eabe6c24a45decce015a67671ad3e94098a7e0b5be1ab1f27211c50b371c SHA512 d4a1feda1fdceca0a0b58b1719e36286730f35269ee188549055ec435ceabd52ad06c6096542ac9fc3ff38b91db113f1abf89c881481f2131453cd28131ce301 WHIRLPOOL 300f27dbb961c8c7dba8ad7fd1505455c3b2cb0fec69268f8b942bcdb8c8847ccb30efc504087945bac0bd1dfb4b5bcde87ea5dd0d1e29e77e08116a0ac6038c +AUX jemalloc-3.0.0_fix_html_install.patch 333 SHA256 859aa0ca3e04afc0f17a9d4c74e6ad61d0be8984a526be789ebd22637e4f51e8 SHA512 21d7df34ab45796c22ce3a9164dbaec5a6fca407295211d0403f2d4a163fbdeb1452e385ae844fd4c1e25cb20e055e848bfa0d51dd96f1af966d9761185f946f WHIRLPOOL 44f918888921b8eb15168ce8fb1ff38db4e96bd7583547efb2d502f8892808e52de6e6fc971fd653005a4b727a58c5457866a2678a7f150565836f0d3f973ca3 +AUX jemalloc-3.5.1-no-pprof.patch 822 SHA256 41858870b20554a2548482cff92a5daeac6a2f2ab940228f2a835e1fd12e642b SHA512 1560154337302c7a56d79af21822d27b5d5bfd64afa4af3753306ca0d0a307b5abb9b240be168c7591d858a9c4be15e8d6571fd52da2d6732c472755dffa545f WHIRLPOOL b4ed0dc44d70a97787767babc5f9e7ebd8d7b46ccb1d6174110236bd94c0da7b22d188555382ecfde7b95c7a2f1480b69279f9df21a0277a1cc0999b285c0ff0 +AUX jemalloc-3.5.1-strip-optimization.patch 886 SHA256 e92fe09b12766d8b3dddd9f26f6c581e43f4c71ba0ee2c1048752f2ef30e3443 SHA512 5835c534ccb04b47216d3678b08d663a09a93e60fb651e9c0b489fb747ca5f32060c89da3dc0f44b45964ffbffbd8da32b75a842198c180a79179266565b204a WHIRLPOOL 6e2a2caaf7c29d4fa9a797c6eabb5d930124cf96c8bd7ac36dc989d1b9488dbfb58e21ecfaf610ce559db9b001210c93f08b37196747fff8287fa17afc183f63 +AUX jemalloc-3.5.1_fix_html_install.patch 356 SHA256 e4b5f3d2cd085bc4584ef7cfbab05415be4d5b9953659e653c15975f1159fa1f SHA512 d5ad9e7c9b93f2b0311a43bdd963cea6f32f2e5a53a916ce52b89918d3d76e0306158239cf2a7b508f102607fa550374a9ec8463f2b3a064015cf7bb2ce852cd WHIRLPOOL a166c08abd0459f175fd366fd7c26cbdb2b026a6a72e4ff1b03a7de12317083a8cebca314826366807f19401c37e2be82eccc05bc3b688513c950fb8cff54c25 +AUX jemalloc-4.1-fix_stack_corruption.patch 2313 SHA256 8130ca02b70e89d84c9d278d3b81fc98b70803b7eb53d1915e749e1fcf2dedc2 SHA512 3c3f91c9906db1c562d6df5f43f4c24a2d842568875930a47f90a107bb6f71a2e6465c8ea9db07017a9268a39bcadf1c7c8f3317e1465a7be9ec41f53eadf909 WHIRLPOOL feedeac2118786b0247b9c55102eb8a13f6c0ccaaab852bbcdf900faaf9d61e3e6b1b3a3f7fa6e8ff3500010e683a1d084f75ebbfe0a4bb55a9d419f36129990 +AUX jemalloc-4.2-issue_399.patch 744 SHA256 9ac50a3e4e654fa61a9645aa8e1ab3c99962684a36a51da964c965780a8d7859 SHA512 a09fec3c779f25434d0824a892406aec7a1895515d33c36606a484a54bfc04aa35ef2610cf10bb0bf298eea3f89802e2e32dfbbb6c99bc50b8705523851c2468 WHIRLPOOL b6e355d49ad947101d3a88547eca52f78e44e2da18f715ee4abe71196b4e266b3164dd3f3c66c673be1630e3088a263fd151b438b4fe19db93693c4b3068cfb4 +AUX jemalloc-4.2-issue_443.patch 1595 SHA256 d98179f3f0d3544e5a2e51c311b97776fed0ef54fd43323152dfc7465bdd8248 SHA512 352086ddca04c321feab39212e6824a64a7f43bfbe3f9f4c34b2fc36b62dec1b84d2c6b6767e477be04b6e6c06a3083d01a15661b27fabab39b070a3f69ec159 WHIRLPOOL 1fc5f9136f1e6f7c825cb8af1386114b9b1f139b882899f663ca614e48b9c76149cfeac7a9841fd42bf6baeec1a421e019855b83cdc3017e46dfa31e69378f6e +AUX jemalloc-4.5.0-fix_html_install.patch 581 SHA256 6847526a2bf7c47bda7ac78f01c3aa5518918100b218278f6a501e48d51eecf2 SHA512 ce210e9c9394a9ba5a16b5524322f1e477a140e55c076543a1f4dcfb1c8491f7839cb49fba433088773b24d2656b821c3072e729c0c7e41cb90dc131ad6828ff WHIRLPOOL ccc503257220d8926b8feef095b2ad0bdcd7dad1cf78df97d5d6f04ceb0d1e8b24ec952f2bb91eb14be98b1b0e1fac136be7e3a72f77be6b4bc1ab829a535599 +AUX jemalloc-4.5.0-strip-optimization.patch 880 SHA256 7e5a7b0ec1a1142495becbdbaba9fb9e23adc1f3a8cbd3cfbd948bad72a99faf SHA512 6c6dd0a99fe58ad0f6cb6306e14e2724dcd39d372e91c01540aebb31e8228b33d17ba0819e6a5c9cb7a3009eedb8f3a58319f0cde322cdf31c2c1cb47f98ff41 WHIRLPOOL 4a00120df62c7604b696794edd55207add7d5922cac84925e2ebb89d0fdc7413f7c893bd48b88c3c2a4fa9b7c919a4fae86b42f57d5ed9f9d71f373af6b61144 +AUX jemalloc-5.0.1-strip-optimization.patch 685 SHA256 c07f2b9aba9548f5895f024e38bdf7bda3343968c8f0e8c0db86b18814214628 SHA512 dd4452feea0004b3f61d664a63da0751179a4be8095e76d94938034045114a68b32e0fe9872cb4810c2f3fc927963ef1b1886d210dc558b3c5a3f5eb9ef4240e WHIRLPOOL f4918e20eb81cbc3ece5f23e33ed0e6c197826fbfcc45f0346e2a65add78f1988a3e6afdf33146bb683d6ff8a26f199b1ce9c89516706c8577822b225a07b404 +AUX jemalloc-strip-optimization.patch 800 SHA256 a14ee193968e87d0d87a8146050dcad5a33042af119070dbfbac7d4eba9923ce SHA512 cff5130387c25bf1e047103eb6c371d96105acd962c62c58bb6bc72f1bfec071f05b7f2cf54170264f38ce7102004e97bc705a6b08f5f398bbc461b17e61e3c9 WHIRLPOOL 6d5d507a876b76a4b76a9e13a60636d7f042e4b0c4de2030d34195fc426f16794a561c09ce0c4d682f92c5fc798cf14abee3585c748538538eff5610fc7c5b95 +DIST jemalloc-2.2.5.tar.bz2 224118 SHA256 efcc9636757bd7f53a0fde084c2988bfe26f2868e435447f2d41ac42c0b3521e SHA512 56a29dc7dca66c41d2934731c4bc756de5b58bf707dc2ebcf8515be400ce25e372af6526035117cad5b1964b9ba040ab7178f4c28c1649e86dcb53c3ec884a9d WHIRLPOOL e88fc56ac9db024483196d62e870fe4981d1d02fbf5e3819da504568cc58c8f246df668bb3dfe70ad2d551671577c18d5e6432e60bb3107296e6faad7cd8595c +DIST jemalloc-3.3.1.tar.bz2 252997 SHA256 35c433cc1df5cdf9eb58b7980338552fc1d7aa64f89fe5643a972ccedb7cf20a SHA512 32814e8678af4954e26c0c0a0e5d06aba8f3844205fe212c5e41929dfab6a94ff11127a9238b5c18d72749827c467ecb874b8f3a9bc161cf1afdf4ea84c58690 WHIRLPOOL 35e8948e18ea7111ae830a8245be995b35f44ed2c2f687f706ee6941c78350c2cfaabefba223c4433069de47a9f92d621feaf176ec0c728e513e5f076e5fc874 +DIST jemalloc-3.6.0.tar.bz2 338964 SHA256 e16c2159dd3c81ca2dc3b5c9ef0d43e1f2f45b04548f42db12e7c12d7bdf84fe SHA512 ebe7c64558a87a735b5906d5cb7527c241664eeae7328538675a12eabe7a1004be0f8766a3bd2a78e61334b196ca7ffc0ee8b8ff59167922a35f126cd1e76e43 WHIRLPOOL d5452005951b10d9d529349481779d79361ec8d8ac1f36f4b54408b5e0184f35d79fee8378188d98f1b8e41ae13557a2cf41ab849b68856ba69f33870fe6e980 +DIST jemalloc-4.4.0.tar.bz2 440144 SHA256 a7aea63e9718d2f1adf81d87e3df3cb1b58deb86fc77bad5d702c4c59687b033 SHA512 2f88fb17ede3bf87e334e9c80949870e0dd85b5adcdd89a1750ccf6df5240f35293159ac0a360d3a29cf0b1d17edf86dcc7997c6bf3190ae7da7442d3a3cc14e WHIRLPOOL 1485ce6cf08ee2233117e281d1a61f376d2b6c73f28c68f2cc1956471bcb56a4eef045c0011de141b669d94d7339de5e79860f6b21bfbeffab821d5eb528759c +DIST jemalloc-4.5.0.tar.bz2 449992 SHA256 9409d85664b4f135b77518b0b118c549009dc10f6cba14557d170476611f6780 SHA512 76953363fe1007952232220afa1a91da4c1c33c02369b5ad239d8dd1d0792141197c15e8489a8f4cd301b08494e65cadd8ecd34d025cb0285700dd78d7248821 WHIRLPOOL 33dc51258d6d27942b656fc355cdde24becf0cd50a507375dd51b2fa6c55a6444ff21bcdae0ebe4fae8d2e95fa31989f5cf8bd435a7a59385ebb225a0a4441fe +DIST jemalloc-5.0.1.tar.bz2 499300 SHA256 4814781d395b0ef093b21a08e8e6e0bd3dab8762f9935bbfb71679b0dea7c3e9 SHA512 8cb5957a5724eb2bbad120cf0028ea8b2b14b4a416c1751b7c967351a7fd51135058ea0d3c4dc1d127c86f3aa7e9fd5ef101857110aabfdb7789427791c432c3 WHIRLPOOL 7bbaa407b1e403ef3bb5ecf6289dcf7f3cc9e31d8077d6e9b10e434e8f02e8e8c45ec890b67bcf39f8b7419ffcae893b4aa256f1a05750b196fcfbfadbd8696a +EBUILD jemalloc-2.2.5-r1.ebuild 908 SHA256 b8427cbeab2b57094f60772fa17eea51f50597b9061302db32017a5f12018756 SHA512 7d046cb6f169e188cbe432aede49f2b9c8973cfc13aa9d159debabb3cdddfbef8f98f91ba5fa649350639b86f737aaf0d4da0415e96a0c09dd3012e08e488a4a WHIRLPOOL f9b16226784e872ce27d1920c1091a005449e85f0f7523a6a482724a0459cc7ce88a627647bb276d6b2890709af684fbba3d51a4e7997adb2938bc917d17e5f9 +EBUILD jemalloc-3.3.1.ebuild 1049 SHA256 c67ca1f5ca9db036933f4dae95f58ac55a1a66d484657117b851bf727e2ec8be SHA512 a5a0bed33a86fe3783cdcadefe3cd0929bc1fbcffd24ef5ce5bd4cfc51b03d70f77c5161deabb80a36fef30c45c02d6683d49c266e354b9722d8919c6e3c275b WHIRLPOOL c8529f6078e2aded778404b11a8be90048eb7d0a9ce46034f870d870203154d7b10f6bf7bb0f07fdff3ec04b87ef0e9e4ad9e378101f87e7cafc83eac722e878 +EBUILD jemalloc-3.6.0.ebuild 1863 SHA256 7700b10381de3f747d38f208af1563bca27140c159f33005d0392ad63ca74b3c SHA512 fde66a60ee8b6e0a860c024c4b3475267dd42be2102cacf68b04df6e736d2747ff163589bbd615f5c3f8e58add090b3b20c6c1d91bb174ad8ff6b792eee7dc1d WHIRLPOOL f5f5b49597cd77ae201d438b61df920ae7e266c7cba52184702cb40ed10b106c40daee7a5a4da598ba01f91d181292d1e3ff9b758d3271a060a56629d74e75a5 +EBUILD jemalloc-4.4.0.ebuild 1728 SHA256 c45a2f2493637fcd4ccd82b81acab3d38f89ae44af7aa9170c353b08e63aea7e SHA512 f63bdca82f62dce58e17ada58816154cb7f0aa214b75b269eb082124de4e750d9721b2453da8e9cdadd8d7c3b75fdc6498538594f05b097c824288271317d988 WHIRLPOOL b8c35931ccefc643d57327cff1b715d641046fa8c348236550f3a399ce8668005dc200f4eb13e2c4e3fa1f7d0ddb4802ceb0c4befeff9e09e6d3b6ccc6fda413 +EBUILD jemalloc-4.5.0.ebuild 1764 SHA256 5b0af50240137e012fa1ded19425c465600c40568ff373c0e096429280084a35 SHA512 665b73e2e6bdadba26f772a58bf68a89844fa8a5afb1ff932e08d23c5e27b22c54bd9b3824b5023db45bff6fe2ea8899c19c0ab655b8e8762feef448e6798f4e WHIRLPOOL e83b6b1b86972f390c60e7ce25c1d33f63b2a414f0768e10918f406079fd6e7cfaf751277b7bc03b1384abaf6ee867b44ae4b10ae7eb44e357ab5e562ad257d2 +EBUILD jemalloc-5.0.1.ebuild 1879 SHA256 b50ada4d6f98517a3bce25f2ec947475c5ec27638e5447ceec225a6cdf331afa SHA512 4cf16943689b5e0b4f2926d591a67a16b757ccb5fc2bf3d4526238c34cce2dec64f6fb0f024e01eb4171f60334d31356098785c91a5d469015b37f1c1e50c8fe WHIRLPOOL 6be18904ebdb5e1ed565c8cd9784141533d4e411ad84299aac284a995346c3edb5ffdca4152757d28fe30a80e7d18a2d49619f238e10b37766c624ab41056595 +MISC ChangeLog 5765 SHA256 9832b908c23afea26cb42e87162df1227b3e4dbe56fadc6d758f6f0ecbc63fae SHA512 a4600bc9eeaf1da3d9d54ebaa2cee6f7ffa4e3878aa530fcd81477ce0595e922f19c1fe7c2a273ca5f7225a3399dd6ea26f139a61f317ea734751296c3766d7d WHIRLPOOL 6f3ab6729afea9b898f4f0567f68a0f6426138e7864dc49c98b74819425ae73841c2ceb9d9db645ace9772e27c719a4181da8ac38c457af4b906b0a79d9d9172 +MISC ChangeLog-2015 7351 SHA256 d8e84922329cdcfb66613daae03f8ac62c1912b488f58e3aabc9c7d91d83c4e2 SHA512 e07a7704f90e20b7c13f6003452760dee19ebfa5a347e3ae21aadeadf1f3891a0db07e96f0af332a393e12fcce14228a426f56c34f793e09e595fe2486ffe5a0 WHIRLPOOL 6f7b3af966dc886d94f594b0d5d649cf944e51bdfc9f9f39e6417c57929e0b569f2f1c676b3bcba9a447a039193fb420bd1fe8d17fc529f85de205b534bdf4a4 +MISC metadata.xml 762 SHA256 23624152c02e4f9ed59f69ebc2b6727f81ea02e6b50cec6074ef6aa965ab0786 SHA512 4fdae623c6f76fad566807e7a48c3cf11b5818bf2f93e32f6c0a53558732642f0011dabb7bd4d7f637c8df141cccdb1075c48177a83caac78f9f375b3e57278a WHIRLPOOL 765b36a43106515e95e1ae23ba3a2da08de732ea589f863f1a74f31489b5fea124533adcef60f7825ffbb50d08b228d46e9a4b557a3c5e9cfc2462154258c742 diff --git a/dev-libs/jemalloc/files/jemalloc-2.2.1-no-pprof.patch b/dev-libs/jemalloc/files/jemalloc-2.2.1-no-pprof.patch new file mode 100644 index 000000000000..e10aab4d4f38 --- /dev/null +++ b/dev-libs/jemalloc/files/jemalloc-2.2.1-no-pprof.patch @@ -0,0 +1,24 @@ +--- a/Makefile.in 2011-04-11 10:42:32.084403330 -0500 ++++ b/Makefile.in 2011-04-11 10:43:23.490760665 -0500 +@@ -42,7 +42,6 @@ + endif + + # Lists of files. +-BINS := @srcroot@bin/pprof + CHDRS := @objroot@include/jemalloc/jemalloc@install_suffix@.h \ + @objroot@include/jemalloc/jemalloc_defs@install_suffix@.h + CSRCS := @srcroot@src/jemalloc.c @srcroot@src/arena.c @srcroot@src/atomic.c \ +@@ -141,13 +140,6 @@ + $(CC) -o $@ $< -L@objroot@lib -ljemalloc@install_suffix@ + endif + +-install_bin: +- install -d $(BINDIR) +- @for b in $(BINS); do \ +- echo "install -m 755 $$b $(BINDIR)"; \ +- install -m 755 $$b $(BINDIR); \ +-done +- + install_include: + install -d $(INCLUDEDIR)/jemalloc + @for h in $(CHDRS); do \ diff --git a/dev-libs/jemalloc/files/jemalloc-2.2.5_fix_html_install.patch b/dev-libs/jemalloc/files/jemalloc-2.2.5_fix_html_install.patch new file mode 100644 index 000000000000..aff4add8b3fe --- /dev/null +++ b/dev-libs/jemalloc/files/jemalloc-2.2.5_fix_html_install.patch @@ -0,0 +1,12 @@ +--- a/Makefile.in ++++ b/Makefile.in +@@ -176,7 +176,7 @@ + install -m 644 $$d $(MANDIR)/man3; \ + done + +-install_doc: install_html install_man ++install_doc: install_man + + install: install_bin install_include install_lib install_doc + + diff --git a/dev-libs/jemalloc/files/jemalloc-3.0.0-no-pprof.patch b/dev-libs/jemalloc/files/jemalloc-3.0.0-no-pprof.patch new file mode 100644 index 000000000000..c2fa815ec529 --- /dev/null +++ b/dev-libs/jemalloc/files/jemalloc-3.0.0-no-pprof.patch @@ -0,0 +1,27 @@ +diff --git a/Makefile.in b/Makefile.in +index 6675b59..ce0782f 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -69,7 +69,6 @@ endif + LIBJEMALLOC := $(LIBPREFIX)jemalloc$(install_suffix) + + # Lists of files. +-BINS := $(srcroot)bin/pprof $(objroot)bin/jemalloc.sh + CHDRS := $(objroot)include/jemalloc/jemalloc$(install_suffix).h \ + $(objroot)include/jemalloc/jemalloc_defs$(install_suffix).h + CSRCS := $(srcroot)src/jemalloc.c $(srcroot)src/arena.c $(srcroot)src/atomic.c \ +@@ -196,13 +195,6 @@ build_lib_shared: $(DSOS) + build_lib_static: $(STATIC_LIBS) + build: build_lib_shared build_lib_static + +-install_bin: +- install -d $(BINDIR) +- @for b in $(BINS); do \ +- echo "install -m 755 $$b $(BINDIR)"; \ +- install -m 755 $$b $(BINDIR); \ +-done +- + install_include: + install -d $(INCLUDEDIR)/jemalloc + @for h in $(CHDRS); do \ + diff --git a/dev-libs/jemalloc/files/jemalloc-3.0.0-strip-optimization.patch b/dev-libs/jemalloc/files/jemalloc-3.0.0-strip-optimization.patch new file mode 100644 index 000000000000..98c09af6277f --- /dev/null +++ b/dev-libs/jemalloc/files/jemalloc-3.0.0-strip-optimization.patch @@ -0,0 +1,29 @@ +diff --git a/configure.ac b/configure.ac +index a72019e..e366e1c 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -556,23 +556,6 @@ if test "x$enable_debug" = "x1" ; then + fi + AC_SUBST([enable_debug]) + +-dnl Only optimize if not debugging. +-if test "x$enable_debug" = "x0" -a "x$no_CFLAGS" = "xyes" ; then +- dnl Make sure that an optimization flag was not specified in EXTRA_CFLAGS. +- optimize="no" +- echo "$EXTRA_CFLAGS" | grep "\-O" >/dev/null || optimize="yes" +- if test "x${optimize}" = "xyes" ; then +- if test "x$GCC" = "xyes" ; then +- JE_CFLAGS_APPEND([-O3]) +- JE_CFLAGS_APPEND([-funroll-loops]) +- elif test "x$je_cv_msvc" = "xyes" ; then +- JE_CFLAGS_APPEND([-O2]) +- else +- JE_CFLAGS_APPEND([-O]) +- fi +- fi +-fi +- + dnl Enable statistics calculation by default. + AC_ARG_ENABLE([stats], + [AS_HELP_STRING([--disable-stats], + diff --git a/dev-libs/jemalloc/files/jemalloc-3.0.0_fix_html_install.patch b/dev-libs/jemalloc/files/jemalloc-3.0.0_fix_html_install.patch new file mode 100644 index 000000000000..0f3026d44c2b --- /dev/null +++ b/dev-libs/jemalloc/files/jemalloc-3.0.0_fix_html_install.patch @@ -0,0 +1,14 @@ +diff --git a/Makefile.in b/Makefile.in +index 6675b59..3032c6d 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -240,7 +240,7 @@ install_doc_man: + install -m 644 $$d $(MANDIR)/man3; \ + done + +-install_doc: install_doc_html install_doc_man ++install_doc: install_doc_man + + install: install_bin install_include install_lib install_doc + + diff --git a/dev-libs/jemalloc/files/jemalloc-3.5.1-no-pprof.patch b/dev-libs/jemalloc/files/jemalloc-3.5.1-no-pprof.patch new file mode 100644 index 000000000000..30cbd501ec5d --- /dev/null +++ b/dev-libs/jemalloc/files/jemalloc-3.5.1-no-pprof.patch @@ -0,0 +1,25 @@ +diff -urN a/Makefile.in b/Makefile.in +--- a/Makefile.in 2014-02-25 18:49:15.000000000 -0600 ++++ b/Makefile.in 2014-03-07 18:24:10.978141932 -0600 +@@ -73,7 +73,6 @@ + LIBJEMALLOC := $(LIBPREFIX)jemalloc$(install_suffix) + + # Lists of files. +-BINS := $(srcroot)bin/pprof $(objroot)bin/jemalloc.sh + C_HDRS := $(objroot)include/jemalloc/jemalloc$(install_suffix).h + C_SRCS := $(srcroot)src/jemalloc.c $(srcroot)src/arena.c \ + $(srcroot)src/atomic.c $(srcroot)src/base.c $(srcroot)src/bitmap.c \ +@@ -273,13 +272,6 @@ + build_lib_static: $(STATIC_LIBS) + build_lib: build_lib_shared build_lib_static + +-install_bin: +- install -d $(BINDIR) +- @for b in $(BINS); do \ +- echo "install -m 755 $$b $(BINDIR)"; \ +- install -m 755 $$b $(BINDIR); \ +-done +- + install_include: + install -d $(INCLUDEDIR)/jemalloc + @for h in $(C_HDRS); do \ diff --git a/dev-libs/jemalloc/files/jemalloc-3.5.1-strip-optimization.patch b/dev-libs/jemalloc/files/jemalloc-3.5.1-strip-optimization.patch new file mode 100644 index 000000000000..cc8736b84123 --- /dev/null +++ b/dev-libs/jemalloc/files/jemalloc-3.5.1-strip-optimization.patch @@ -0,0 +1,27 @@ +diff -urN a/configure.ac b/configure.ac +--- a/configure.ac 2014-02-25 18:49:15.000000000 -0600 ++++ b/configure.ac 2014-03-07 18:19:53.718147847 -0600 +@@ -639,23 +639,6 @@ + AC_DEFINE([JEMALLOC_IVSALLOC], [ ]) + fi + +-dnl Only optimize if not debugging. +-if test "x$enable_debug" = "x0" -a "x$no_CFLAGS" = "xyes" ; then +- dnl Make sure that an optimization flag was not specified in EXTRA_CFLAGS. +- optimize="no" +- echo "$CFLAGS $EXTRA_CFLAGS" | grep '\-O' >/dev/null || optimize="yes" +- if test "x${optimize}" = "xyes" ; then +- if test "x$GCC" = "xyes" ; then +- JE_CFLAGS_APPEND([-O3]) +- JE_CFLAGS_APPEND([-funroll-loops]) +- elif test "x$je_cv_msvc" = "xyes" ; then +- JE_CFLAGS_APPEND([-O2]) +- else +- JE_CFLAGS_APPEND([-O]) +- fi +- fi +-fi +- + dnl Enable statistics calculation by default. + AC_ARG_ENABLE([stats], + [AS_HELP_STRING([--disable-stats], diff --git a/dev-libs/jemalloc/files/jemalloc-3.5.1_fix_html_install.patch b/dev-libs/jemalloc/files/jemalloc-3.5.1_fix_html_install.patch new file mode 100644 index 000000000000..1ce5ad2ede95 --- /dev/null +++ b/dev-libs/jemalloc/files/jemalloc-3.5.1_fix_html_install.patch @@ -0,0 +1,12 @@ +diff -urN a/Makefile.in b/Makefile.in +--- a/Makefile.in 2014-02-25 18:49:15.000000000 -0600 ++++ b/Makefile.in 2014-03-07 18:26:23.074138895 -0600 +@@ -317,7 +317,7 @@ + install -m 644 $$d $(MANDIR)/man3; \ + done + +-install_doc: install_doc_html install_doc_man ++install_doc: install_doc_man + + install: install_bin install_include install_lib install_doc + diff --git a/dev-libs/jemalloc/files/jemalloc-4.1-fix_stack_corruption.patch b/dev-libs/jemalloc/files/jemalloc-4.1-fix_stack_corruption.patch new file mode 100644 index 000000000000..f36c188616e8 --- /dev/null +++ b/dev-libs/jemalloc/files/jemalloc-4.1-fix_stack_corruption.patch @@ -0,0 +1,70 @@ +From 33184bf69813087bf1885b0993685f9d03320c69 Mon Sep 17 00:00:00 2001 +From: Dmitri Smirnov +Date: Mon, 29 Feb 2016 14:30:19 -0800 +Subject: [PATCH] Fix stack corruption and uninitialized var warning + +Stack corruption happens in x64 bit + +This resolves #347. +--- + src/arena.c | 2 +- + test/unit/hash.c | 13 +++++++------ + 2 files changed, 8 insertions(+), 7 deletions(-) + +diff --git a/src/arena.c b/src/arena.c +index 99e20fd..965c0fe 100644 +--- a/src/arena.c ++++ b/src/arena.c +@@ -2423,7 +2423,7 @@ arena_malloc_large(tsd_t *tsd, arena_t *arena, szind_t binind, bool zero) + uintptr_t random_offset; + arena_run_t *run; + arena_chunk_map_misc_t *miscelm; +- UNUSED bool idump; ++ UNUSED bool idump JEMALLOC_CC_SILENCE_INIT(false); + + /* Large allocation. */ + usize = index2size(binind); +diff --git a/test/unit/hash.c b/test/unit/hash.c +index f50ba81..010c9d7 100644 +--- a/test/unit/hash.c ++++ b/test/unit/hash.c +@@ -64,14 +64,15 @@ static void + hash_variant_verify_key(hash_variant_t variant, uint8_t *key) + { + const int hashbytes = hash_variant_bits(variant) / 8; +- VARIABLE_ARRAY(uint8_t, hashes, hashbytes * 256); ++ const int hashes_size = hashbytes * 256; ++ VARIABLE_ARRAY(uint8_t, hashes, hashes_size); + VARIABLE_ARRAY(uint8_t, final, hashbytes); + unsigned i; + uint32_t computed, expected; + + memset(key, 0, KEY_SIZE); +- memset(hashes, 0, sizeof(hashes)); +- memset(final, 0, sizeof(final)); ++ memset(hashes, 0, hashes_size); ++ memset(final, 0, hashbytes); + + /* + * Hash keys of the form {0}, {0,1}, {0,1,2}, ..., {0,1,...,255} as the +@@ -102,17 +103,17 @@ hash_variant_verify_key(hash_variant_t variant, uint8_t *key) + /* Hash the result array. */ + switch (variant) { + case hash_variant_x86_32: { +- uint32_t out = hash_x86_32(hashes, hashbytes*256, 0); ++ uint32_t out = hash_x86_32(hashes, hashes_size, 0); + memcpy(final, &out, sizeof(out)); + break; + } case hash_variant_x86_128: { + uint64_t out[2]; +- hash_x86_128(hashes, hashbytes*256, 0, out); ++ hash_x86_128(hashes, hashes_size, 0, out); + memcpy(final, out, sizeof(out)); + break; + } case hash_variant_x64_128: { + uint64_t out[2]; +- hash_x64_128(hashes, hashbytes*256, 0, out); ++ hash_x64_128(hashes, hashes_size, 0, out); + memcpy(final, out, sizeof(out)); + break; + } default: not_reached(); diff --git a/dev-libs/jemalloc/files/jemalloc-4.2-issue_399.patch b/dev-libs/jemalloc/files/jemalloc-4.2-issue_399.patch new file mode 100644 index 000000000000..da9f2d8ad771 --- /dev/null +++ b/dev-libs/jemalloc/files/jemalloc-4.2-issue_399.patch @@ -0,0 +1,26 @@ +From 3c8c3e9e9b59b6e34a222816a05f0a01a68919b3 Mon Sep 17 00:00:00 2001 +From: Jason Evans +Date: Mon, 26 Sep 2016 15:55:40 -0700 +Subject: [PATCH] Close file descriptor after reading + "/proc/sys/vm/overcommit_memory". + +This bug was introduced by c2f970c32b527660a33fa513a76d913c812dcf7c +(Modify pages_map() to support mapping uncommitted virtual memory.). + +This resolves #399. +--- + src/pages.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/pages.c b/src/pages.c +index 2a9b7e3..05b0d69 100644 +--- a/src/pages.c ++++ b/src/pages.c +@@ -219,6 +219,7 @@ os_overcommits_proc(void) + return (false); /* Error. */ + + nread = read(fd, &buf, sizeof(buf)); ++ close(fd); + if (nread < 1) + return (false); /* Error. */ + /* diff --git a/dev-libs/jemalloc/files/jemalloc-4.2-issue_443.patch b/dev-libs/jemalloc/files/jemalloc-4.2-issue_443.patch new file mode 100644 index 000000000000..d2b065a3b6e0 --- /dev/null +++ b/dev-libs/jemalloc/files/jemalloc-4.2-issue_443.patch @@ -0,0 +1,58 @@ +From c443b67561891ae68d688daf5f8ce37820cdba2b Mon Sep 17 00:00:00 2001 +From: Jason Evans +Date: Sat, 29 Oct 2016 22:41:04 -0700 +Subject: [PATCH] Use syscall(2) rather than {open,read,close}(2) during boot. + +Some applications wrap various system calls, and if they call the +allocator in their wrappers, unexpected reentry can result. This is not +a general solution (many other syscalls are spread throughout the code), +but this resolves a bootstrapping issue that is apparently common. + +This resolves #443. +--- + src/pages.c | 19 +++++++++++++++++++ + 1 file changed, 19 insertions(+) + +diff --git a/src/pages.c b/src/pages.c +index 05b0d69..84e2216 100644 +--- a/src/pages.c ++++ b/src/pages.c +@@ -207,6 +207,11 @@ os_overcommits_sysctl(void) + #endif + + #ifdef JEMALLOC_PROC_SYS_VM_OVERCOMMIT_MEMORY ++/* ++ * Use syscall(2) rather than {open,read,close}(2) when possible to avoid ++ * reentry during bootstrapping if another library has interposed system call ++ * wrappers. ++ */ + static bool + os_overcommits_proc(void) + { +@@ -214,12 +219,26 @@ os_overcommits_proc(void) + char buf[1]; + ssize_t nread; + ++#ifdef SYS_open ++ fd = (int)syscall(SYS_open, "/proc/sys/vm/overcommit_memory", O_RDONLY); ++#else + fd = open("/proc/sys/vm/overcommit_memory", O_RDONLY); ++#endif + if (fd == -1) + return (false); /* Error. */ + ++#ifdef SYS_read ++ nread = (ssize_t)syscall(SYS_read, fd, &buf, sizeof(buf)); ++#else + nread = read(fd, &buf, sizeof(buf)); ++#endif ++ ++#ifdef SYS_close ++ syscall(SYS_close, fd); ++#else + close(fd); ++#endif ++ + if (nread < 1) + return (false); /* Error. */ + /* diff --git a/dev-libs/jemalloc/files/jemalloc-4.5.0-fix_html_install.patch b/dev-libs/jemalloc/files/jemalloc-4.5.0-fix_html_install.patch new file mode 100644 index 000000000000..159702e6230c --- /dev/null +++ b/dev-libs/jemalloc/files/jemalloc-4.5.0-fix_html_install.patch @@ -0,0 +1,25 @@ +From c04d0b954adef2d3f1a30d91dc687f6a03b108eb Mon Sep 17 00:00:00 2001 +From: +Date: Mon, 29 May 2017 00:58:32 -0500 +Subject: [PATCH 2/2] Do not install html doc + +--- + Makefile.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Makefile.in b/Makefile.in +index e49a871..733932a 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -381,7 +381,7 @@ install_doc_man: + $(INSTALL) -m 644 $$d $(MANDIR)/man3; \ + done + +-install_doc: install_doc_html install_doc_man ++install_doc: install_doc_man + + install: install_bin install_include install_lib install_doc + +-- +2.13.0 + diff --git a/dev-libs/jemalloc/files/jemalloc-4.5.0-strip-optimization.patch b/dev-libs/jemalloc/files/jemalloc-4.5.0-strip-optimization.patch new file mode 100644 index 000000000000..8b346be86c06 --- /dev/null +++ b/dev-libs/jemalloc/files/jemalloc-4.5.0-strip-optimization.patch @@ -0,0 +1,35 @@ +From c568271163445e380679788388f1cb1edbdeaf88 Mon Sep 17 00:00:00 2001 +From: +Date: Mon, 29 May 2017 00:57:15 -0500 +Subject: [PATCH 1/2] Strip all optimization, let portage handle. + +--- + configure.ac | 12 ------------ + 1 file changed, 12 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 20a8a64..d8af618 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -851,18 +851,6 @@ if test "x$enable_ivsalloc" = "x1" ; then + AC_DEFINE([JEMALLOC_IVSALLOC], [ ]) + fi + +-dnl Only optimize if not debugging. +-if test "x$enable_debug" = "x0" ; then +- if test "x$GCC" = "xyes" ; then +- JE_CFLAGS_ADD([-O3]) +- JE_CFLAGS_ADD([-funroll-loops]) +- elif test "x$je_cv_msvc" = "xyes" ; then +- JE_CFLAGS_ADD([-O2]) +- else +- JE_CFLAGS_ADD([-O]) +- fi +-fi +- + dnl Enable statistics calculation by default. + AC_ARG_ENABLE([stats], + [AS_HELP_STRING([--disable-stats], +-- +2.13.0 + diff --git a/dev-libs/jemalloc/files/jemalloc-5.0.1-strip-optimization.patch b/dev-libs/jemalloc/files/jemalloc-5.0.1-strip-optimization.patch new file mode 100644 index 000000000000..523badf5775b --- /dev/null +++ b/dev-libs/jemalloc/files/jemalloc-5.0.1-strip-optimization.patch @@ -0,0 +1,26 @@ +diff --git a/configure.ac b/configure.ac +index 1551ded8..2f470672 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -976,21 +976,6 @@ if test "x$enable_debug" = "x1" ; then + fi + AC_SUBST([enable_debug]) + +-dnl Only optimize if not debugging. +-if test "x$enable_debug" = "x0" ; then +- if test "x$GCC" = "xyes" ; then +- JE_CFLAGS_ADD([-O3]) +- JE_CXXFLAGS_ADD([-O3]) +- JE_CFLAGS_ADD([-funroll-loops]) +- elif test "x$je_cv_msvc" = "xyes" ; then +- JE_CFLAGS_ADD([-O2]) +- JE_CXXFLAGS_ADD([-O2]) +- else +- JE_CFLAGS_ADD([-O]) +- JE_CXXFLAGS_ADD([-O]) +- fi +-fi +- + dnl Enable statistics calculation by default. + AC_ARG_ENABLE([stats], + [AS_HELP_STRING([--disable-stats], diff --git a/dev-libs/jemalloc/files/jemalloc-strip-optimization.patch b/dev-libs/jemalloc/files/jemalloc-strip-optimization.patch new file mode 100644 index 000000000000..60b7d6c22ff1 --- /dev/null +++ b/dev-libs/jemalloc/files/jemalloc-strip-optimization.patch @@ -0,0 +1,25 @@ +--- a/configure.ac 2010-02-22 12:07:05.000000000 +0100 ++++ b/configure.ac 2010-02-22 12:08:29.000000000 +0100 +@@ -296,21 +296,6 @@ + fi + AC_SUBST([enable_debug]) + +-dnl Only optimize if not debugging. +-if test "x$enable_debug" = "x0" -a "x$no_CFLAGS" = "xyes" ; then +- dnl Make sure that an optimization flag was not specified in EXTRA_CFLAGS. +- optimize="no" +- echo "$EXTRA_CFLAGS" | grep "\-O" >/dev/null || optimize="yes" +- if test "x${optimize}" = "xyes" ; then +- if test "x$GCC" = "xyes" ; then +- JE_CFLAGS_APPEND([-O3]) +- JE_CFLAGS_APPEND([-funroll-loops]) +- else +- JE_CFLAGS_APPEND([-O]) +- fi +- fi +-fi +- + dnl Do not enable statistics calculation by default. + AC_ARG_ENABLE([stats], + [AS_HELP_STRING([--enable-stats], [Enable statistics calculation/reporting])], + diff --git a/dev-libs/jemalloc/jemalloc-2.2.5-r1.ebuild b/dev-libs/jemalloc/jemalloc-2.2.5-r1.ebuild new file mode 100644 index 000000000000..34dd28ffc61f --- /dev/null +++ b/dev-libs/jemalloc/jemalloc-2.2.5-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +inherit autotools eutils + +DESCRIPTION="Jemalloc is a general-purpose scalable concurrent allocator" +HOMEPAGE="http://www.canonware.com/jemalloc/" +SRC_URI="http://www.canonware.com/download/${PN}/${P}.tar.bz2" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 ~arm ~mips ppc ppc64 x86" + +IUSE="debug static-libs stats" + +DEPEND="" +RDEPEND="" + +src_prepare() { + epatch \ + "${FILESDIR}/${PN}-strip-optimization.patch" \ + "${FILESDIR}/${PN}-2.2.1-no-pprof.patch" \ + "${FILESDIR}/${PN}-2.2.5_fix_html_install.patch" + + eautoreconf +} + +src_configure() { + econf \ + --with-jemalloc-prefix=j \ + $(use_enable debug) \ + $(use_enable stats) +} + +src_install() { + emake DESTDIR="${ED}" install || die + dodoc ChangeLog README + dohtml doc/jemalloc.html + + use static-libs || find "${ED}" -name '*.a' -exec rm -f {} + +} diff --git a/dev-libs/jemalloc/jemalloc-3.3.1.ebuild b/dev-libs/jemalloc/jemalloc-3.3.1.ebuild new file mode 100644 index 000000000000..ea41d7565f66 --- /dev/null +++ b/dev-libs/jemalloc/jemalloc-3.3.1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +inherit autotools eutils + +DESCRIPTION="Jemalloc is a general-purpose scalable concurrent allocator" +HOMEPAGE="http://www.canonware.com/jemalloc/" +SRC_URI="http://www.canonware.com/download/${PN}/${P}.tar.bz2" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 x86 ~x64-macos" +IUSE="debug static-libs stats" + +src_prepare() { + epatch \ + "${FILESDIR}/${PN}-3.0.0-strip-optimization.patch" \ + "${FILESDIR}/${PN}-3.0.0-no-pprof.patch" \ + "${FILESDIR}/${PN}-3.0.0_fix_html_install.patch" + + eautoreconf +} + +src_configure() { + econf \ + $(use_enable debug) \ + $(use_enable stats) +} + +src_install() { + default + dohtml doc/jemalloc.html + + if [[ ${CHOST} == *-darwin* ]] ; then + # fixup install_name, #437362 + install_name_tool \ + -id "${EPREFIX}"/usr/$(get_libdir)/libjemalloc.1.dylib \ + "${ED}"/usr/$(get_libdir)/libjemalloc.1.dylib || die + fi + + use static-libs || find "${D}" -name '*.a' -delete +} diff --git a/dev-libs/jemalloc/jemalloc-3.6.0.ebuild b/dev-libs/jemalloc/jemalloc-3.6.0.ebuild new file mode 100644 index 000000000000..3f63d189b746 --- /dev/null +++ b/dev-libs/jemalloc/jemalloc-3.6.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit autotools-multilib eutils flag-o-matic toolchain-funcs + +DESCRIPTION="Jemalloc is a general-purpose scalable concurrent allocator" +HOMEPAGE="http://www.canonware.com/jemalloc/" +SRC_URI="http://www.canonware.com/download/${PN}/${P}.tar.bz2" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos" +IUSE="debug static-libs stats" + +HTML_DOCS=( doc/jemalloc.html ) + +PATCHES=( "${FILESDIR}/${PN}-3.5.1-strip-optimization.patch" + "${FILESDIR}/${PN}-3.5.1-no-pprof.patch" + "${FILESDIR}/${PN}-3.5.1_fix_html_install.patch" +) + +MULTILIB_WRAPPED_HEADERS=( /usr/include/jemalloc/jemalloc.h ) + +# autotools-utils.eclass auto-adds configure options when static-libs is in IUSE +# but jemalloc doesn't implement them in its configure; need this here to +# supress the warnings until automagic is removed from the eclass +QA_CONFIGURE_OPTIONS="--enable-static --disable-static --enable-shared --disable-shared" +src_configure() { + myeconfargs=( + $(use_enable debug) + $(use_enable stats) + ) + use sparc && append-cppflags -DLG_QUANTUM=4 -mcpu=ultrasparc + # The configure test for page shift requires running code which fails + # when cross-compiling. Since it uses _SC_PAGESIZE, and the majority + # of systems use 4096 as the base page size, just hardcode 12 here. + tc-is-cross-compiler && export je_cv_static_page_shift=12 + autotools-multilib_src_configure +} + +src_install() { + autotools-multilib_src_install + + if [[ ${CHOST} == *-darwin* ]] ; then + # fixup install_name, #437362 + install_name_tool \ + -id "${EPREFIX}"/usr/$(get_libdir)/libjemalloc.1.dylib \ + "${ED}"/usr/$(get_libdir)/libjemalloc.1.dylib || die + fi + use static-libs || find "${ED}" -name '*.a' -delete +} diff --git a/dev-libs/jemalloc/jemalloc-4.4.0.ebuild b/dev-libs/jemalloc/jemalloc-4.4.0.ebuild new file mode 100644 index 000000000000..d34d914c14ef --- /dev/null +++ b/dev-libs/jemalloc/jemalloc-4.4.0.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit toolchain-funcs multilib-build multilib-minimal + +DESCRIPTION="Jemalloc is a general-purpose scalable concurrent allocator" +HOMEPAGE="http://www.canonware.com/jemalloc/" +SRC_URI="https://github.com/jemalloc/jemalloc/releases/download/${PV}/${P}.tar.bz2" + +LICENSE="BSD" +SLOT="0/2" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~x86 ~amd64-linux ~x86-linux ~x64-macos" +IUSE="debug hardened static-libs stats" +HTML_DOCS=( doc/jemalloc.html ) +PATCHES=( "${FILESDIR}/${PN}-3.5.1-strip-optimization.patch" + "${FILESDIR}/${PN}-3.5.1_fix_html_install.patch" +) +MULTILIB_WRAPPED_HEADERS=( /usr/include/jemalloc/jemalloc.h ) +# autotools-utils.eclass auto-adds configure options when static-libs is in IUSE +# but jemalloc doesn't implement them in its configure; need this here to +# supress the warnings until automagic is removed from the eclass +QA_CONFIGURE_OPTIONS="--enable-static --disable-static --enable-shared --disable-shared" + +multilib_src_configure() { + local myconf=() + + if use hardened ; then + myconf+=( --disable-syscall ) + fi + + ECONF_SOURCE="${S}" \ + econf \ + $(use_enable debug) \ + $(use_enable stats) \ + "${myconf[@]}" +} + +multilib_src_install() { + # Copy man file which the Makefile looks for + cp "${S}/doc/jemalloc.3" "${BUILD_DIR}/doc" || die + emake DESTDIR="${D}" install +} + +multilib_src_install_all() { + if [[ ${CHOST} == *-darwin* ]] ; then + # fixup install_name, #437362 + install_name_tool \ + -id "${EPREFIX}"/usr/$(get_libdir)/libjemalloc.1.dylib \ + "${ED}"/usr/$(get_libdir)/libjemalloc.1.dylib || die + fi + use static-libs || find "${ED}" -name '*.a' -delete +} diff --git a/dev-libs/jemalloc/jemalloc-4.5.0.ebuild b/dev-libs/jemalloc/jemalloc-4.5.0.ebuild new file mode 100644 index 000000000000..9b1c134e5a25 --- /dev/null +++ b/dev-libs/jemalloc/jemalloc-4.5.0.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools toolchain-funcs multilib-minimal + +DESCRIPTION="Jemalloc is a general-purpose scalable concurrent allocator" +HOMEPAGE="http://www.canonware.com/jemalloc/" +SRC_URI="https://github.com/jemalloc/jemalloc/releases/download/${PV}/${P}.tar.bz2" + +LICENSE="BSD" +SLOT="0/2" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~x86 ~amd64-linux ~x86-linux ~x64-macos" +IUSE="debug hardened static-libs stats" +HTML_DOCS=( doc/jemalloc.html ) +PATCHES=( "${FILESDIR}/${PN}-4.5.0-strip-optimization.patch" + "${FILESDIR}/${PN}-4.5.0-fix_html_install.patch" +) +MULTILIB_WRAPPED_HEADERS=( /usr/include/jemalloc/jemalloc.h ) +# autotools-utils.eclass auto-adds configure options when static-libs is in IUSE +# but jemalloc doesn't implement them in its configure; need this here to +# supress the warnings until automagic is removed from the eclass +QA_CONFIGURE_OPTIONS="--enable-static --disable-static --enable-shared --disable-shared" + +src_prepare() { + default + eautoreconf +} + +multilib_src_configure() { + local myconf=() + + if use hardened ; then + myconf+=( --disable-syscall ) + fi + + ECONF_SOURCE="${S}" \ + econf \ + $(use_enable debug) \ + $(use_enable stats) \ + "${myconf[@]}" +} + +multilib_src_install() { + # Copy man file which the Makefile looks for + cp "${S}/doc/jemalloc.3" "${BUILD_DIR}/doc" || die + emake DESTDIR="${D}" install +} + +multilib_src_install_all() { + if [[ ${CHOST} == *-darwin* ]] ; then + # fixup install_name, #437362 + install_name_tool \ + -id "${EPREFIX}"/usr/$(get_libdir)/libjemalloc.1.dylib \ + "${ED}"/usr/$(get_libdir)/libjemalloc.1.dylib || die + fi + use static-libs || find "${ED}" -name '*.a' -delete +} diff --git a/dev-libs/jemalloc/jemalloc-5.0.1.ebuild b/dev-libs/jemalloc/jemalloc-5.0.1.ebuild new file mode 100644 index 000000000000..62fde4876592 --- /dev/null +++ b/dev-libs/jemalloc/jemalloc-5.0.1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools toolchain-funcs multilib-minimal + +DESCRIPTION="Jemalloc is a general-purpose scalable concurrent allocator" +HOMEPAGE="http://www.canonware.com/jemalloc/" +SRC_URI="https://github.com/jemalloc/jemalloc/releases/download/${PV}/${P}.tar.bz2" + +LICENSE="BSD" +SLOT="0/2" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~x86 ~amd64-linux ~x86-linux ~x64-macos" +IUSE="debug hardened +hugepages lazy-lock static-libs stats xmalloc" +HTML_DOCS=( doc/jemalloc.html ) +PATCHES=( "${FILESDIR}/${PN}-5.0.1-strip-optimization.patch" + "${FILESDIR}/${PN}-4.5.0-fix_html_install.patch" +) +MULTILIB_WRAPPED_HEADERS=( /usr/include/jemalloc/jemalloc.h ) +# autotools-utils.eclass auto-adds configure options when static-libs is in IUSE +# but jemalloc doesn't implement them in its configure; need this here to +# supress the warnings until automagic is removed from the eclass +QA_CONFIGURE_OPTIONS="--enable-static --disable-static --enable-shared --disable-shared" + +src_prepare() { + default + eautoreconf +} + +multilib_src_configure() { + local myconf=() + + if use hardened ; then + myconf+=( --disable-syscall ) + fi + + ECONF_SOURCE="${S}" \ + econf \ + $(use_enable debug) \ + $(use_enable lazy-lock) \ + $(use_enable hugepages thp) \ + $(use_enable stats) \ + $(use_enable xmalloc) \ + "${myconf[@]}" +} + +multilib_src_install() { + # Copy man file which the Makefile looks for + cp "${S}/doc/jemalloc.3" "${BUILD_DIR}/doc" || die + emake DESTDIR="${D}" install +} + +multilib_src_install_all() { + if [[ ${CHOST} == *-darwin* ]] ; then + # fixup install_name, #437362 + install_name_tool \ + -id "${EPREFIX}"/usr/$(get_libdir)/libjemalloc.2.dylib \ + "${ED}"/usr/$(get_libdir)/libjemalloc.2.dylib || die + fi + use static-libs || find "${ED}" -name '*.a' -delete +} diff --git a/dev-libs/jemalloc/metadata.xml b/dev-libs/jemalloc/metadata.xml new file mode 100644 index 000000000000..848a0a7987dd --- /dev/null +++ b/dev-libs/jemalloc/metadata.xml @@ -0,0 +1,20 @@ + + + + + mozilla@gentoo.org + Gentoo Mozilla Team + + + Jemalloc is a general-purpose scalable concurrent allocator + + + Enable transparent huge page support + Enable lazy locking (only lock when multi-threaded) + Enable statistics calculation/reporting + Add support for xmalloc (abort-on-out-of-memory) + + + jemalloc/jemalloc + + diff --git a/dev-libs/jerasure/Manifest b/dev-libs/jerasure/Manifest new file mode 100644 index 000000000000..7b71e2afafba --- /dev/null +++ b/dev-libs/jerasure/Manifest @@ -0,0 +1,4 @@ +DIST jerasure-2.0.0.tar.gz 806283 SHA256 61b2fbb25affeddc2d94d6f67778098597b14ff5440f39d8fba3dbdbaa6739b6 SHA512 c14b227b4c4ae50d7e1add0f14a888894233228be8aadfc96e8788a14c51ff82fd48d9ca5fbd7d77bf5d17edf0deaef9ff61dffc65100f22f28d7cf32fa32e31 WHIRLPOOL 5167f17c33eaead870076696eda23b8ce5ffa5c3585f543b2a8d37f86986764c2d1c8416aa54b79c43067588d4432da0a91027ddb0143e42f2ca6f4660298477 +EBUILD jerasure-2.0.0-r1.ebuild 726 SHA256 1979d5a0e87baefa789824f07fb70fce995e1868912261f27b00a521041f6057 SHA512 d6b41a160044d5772af9969a291b0f5c414d17487a0c1fd7636ba61e4c6538c346ae0407caa55fbf45833ec0e3d5e44921e38e69b4581497ad9d05050b12eed7 WHIRLPOOL c1a02370d621b03382abce531c6f673088e6d6e1b9d15fa354ec3c0905c7a62e201dfaf8753c373094542984353cd59cd2fc01aeb9f51734a9c96219aa84854e +MISC ChangeLog 2082 SHA256 b479ee239ee35fca727e54c411c4dba902eeee09ad799ca193a271de31b35af8 SHA512 58025b716785f34399f0e414e44c35aa8e4d1b817a9766ab424a82787999a5e87d4d0610bc268609dc5b8b313932d37d8fca4f9febc18472783f98d9953180a9 WHIRLPOOL 2c10782b3648059a7fdfd79f69a77abd21709be144573a7757f56d6ef5d1d2c5ef79fd85f9be8da9df94288c447863ac974e890c603d91262652e985623aefa3 +MISC metadata.xml 371 SHA256 e09b5824b5836a45da06fcf1e8b77db1cd5c7e96eb69832c6c90320c20912015 SHA512 6073568ff06bc2ee07189affd7dd44425d9e028a5dd558d3aa41b6813b123681f4e50cf7a911fed42f342d576088f0be61282748c5d0e067bd664aa5b7acd554 WHIRLPOOL 85ca9816a1ff4acd625d8cdb0963de945a7e21a59faa27588f5327316f34626bb2631cdb079dab98e29038ccb1ea9d9c90ebbc424499f8e48201d82d74fbc954 diff --git a/dev-libs/jerasure/jerasure-2.0.0-r1.ebuild b/dev-libs/jerasure/jerasure-2.0.0-r1.ebuild new file mode 100644 index 000000000000..caf3b4bc365f --- /dev/null +++ b/dev-libs/jerasure/jerasure-2.0.0-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit autotools eutils + +DESCRIPTION="A Library in C Facilitating Erasure Coding for Storage Applications" +HOMEPAGE="http://jerasure.org/" +SRC_URI="https://dev.gentoo.org/~prometheanfire/dist/${P}.tar.gz" +S="${WORKDIR}/${PN}.git" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 x86" +IUSE="" + +DEPEND="dev-libs/gf-complete" +RDEPEND="${DEPEND}" + +src_prepare() { + sed -i -e 's/ $(SIMD_FLAGS)//g' src/Makefile.am Examples/Makefile.am || die + eautoreconf +} + +src_install() { + default + # because stupid + insinto /usr/include + doins include/{cauchy,galois,liberation,reed_sol}.h + prune_libtool_files +} diff --git a/dev-libs/jerasure/metadata.xml b/dev-libs/jerasure/metadata.xml new file mode 100644 index 000000000000..c934e64a9527 --- /dev/null +++ b/dev-libs/jerasure/metadata.xml @@ -0,0 +1,12 @@ + + + + + prometheanfire@gentoo.org + Matthew Thode + + + openstack@gentoo.org + Openstack + + diff --git a/dev-libs/json-c/Manifest b/dev-libs/json-c/Manifest new file mode 100644 index 000000000000..b84ce3415d67 --- /dev/null +++ b/dev-libs/json-c/Manifest @@ -0,0 +1,7 @@ +DIST json-c-0.12.1.tar.gz 535086 SHA256 2a136451a7932d80b7d197b10441e26e39428d67b1443ec43bbba824705e1123 SHA512 038676a0ce815e5174161fbd4339524feadc294d517f732fb408ad6aa7c4906423451c13386107569d9f24746a1a101564ca511e92e8276c5bf5b8c022ca42ed WHIRLPOOL ac558aa3cf661e8a943e2c85a684cbb7a46719de35360a23e9939cefaff32720a55ede5e5c05ea2f7b65aa3128082cc98da9ad5e6685b53ec40726857da7a53a +DIST json-c-0.12.tar.gz 501419 SHA256 000c01b2b3f82dcb4261751eb71f1b084404fb7d6a282f06074d3c17078b9f3f SHA512 c959804362386f6b77e9d04b5fedf6d6aff1fcd0ab50250edb25f759b510b402e7ad4b33d1cbadc3337b63a3145d19f310812a9ee351748348304b384dc2dc35 WHIRLPOOL b49f5c96b614302b39737306774b4346d8347afef6ced7067664ac0d68669a1496fe915f229e0d434a87b103ac9982d67c5785eb688b7026c257c7eae95c6eaf +EBUILD json-c-0.12.1.ebuild 1003 SHA256 222ebd92ff8848868ec9ae28c9414802f76545334b53c183fc1043fd5af8821a SHA512 c45aa16ccb1496fa57f8ad46a7b8be3eb5ef72993497a5a2da27eb659f36605910e78c23ef6c1e89894411dd075e295497ab1a1eb186bebf098375f1c58729d3 WHIRLPOOL 621c7398842037be90adbc9c03a2c6ef80938769fb5e9926dac3233f7bfe903a6f16c2f4383e8299c306330502fc35d34dbdb1f7f45d92838c2aa027fa3cf76f +EBUILD json-c-0.12.ebuild 1064 SHA256 9b773429f29dd153bdcd649146863f9495a4b885f7661bcd8c05bd3474399a30 SHA512 8bb8613d6c6de5ceb7b533689382951714f1fe8a0bc6078032a96551ee40bc9488c39e4a6b931c8b2efc411a505515a00454a22528a9874a3d0a71612e083040 WHIRLPOOL 0f56c0af6f40070145e042d15dc4e7ef480e4c6be6d08c35085923b59f8f2868c989163d3c6692c050d4187ca535ecfdf036dd9af28f406f4c813651dc7d0b02 +MISC ChangeLog 5220 SHA256 74806ecea06ad4ef940d9b2545dbd5c25b0ad591243d1c041b61120baa295a0a SHA512 97648930abf6ec6a442d1322c1929f4fb410a790907afc618b18ba9954c6e622f4293c6ee2dbc374e4d09b0007d1555c19355ce36d35c56d22f000666e6f6510 WHIRLPOOL 597ebabdd8a6cacba6a229750c2d79e2e57b43374228a926cdf51ea88a57105302027cb1c4f8e03822f35d09b0cd49e432b0e035f9a8a0710977a63a4166b2d2 +MISC ChangeLog-2015 6087 SHA256 66c43afb0be7f78e7d3f281f72fa9544c33603b58e5052ebe5e1c3c0d5a68350 SHA512 18bf771c4615715eab084b1459abc66302f0a8aa86c65df1e987f99fc741ac58778b256d0cdaa0fcb8b73794a98564e7df8056e74b57f39700c4ff8c7d987734 WHIRLPOOL afcc4da1c960d97ebee668e275b407f64ce1af41b914625a0e2a75119814a62b66eaf7d62f4633880eadf4dae6cae84331e8a99f38a7a0e10fea8781e48594b2 +MISC metadata.xml 693 SHA256 cc68f4ce28e2db6fa614b1b9f0dcd5661a753ca566c9e7b983103a9f0a4d787c SHA512 83445296602d14fed7857d99008c596d06a55ee4a1a9382afb5b2a2a80b0810861cd9a95e9ee5903cac082a338358bbbff7b936087875e407602496a50d3ebd5 WHIRLPOOL 32f505c992798d6531335cc7b3673f91813d149d262e89a0ae87c074b7517c2edd5f18b8a04fdc94252b2fb0a950cc8339810aac7396e2a3b95e97608f9f48d2 diff --git a/dev-libs/json-c/json-c-0.12.1.ebuild b/dev-libs/json-c/json-c-0.12.1.ebuild new file mode 100644 index 000000000000..28f5eeea3737 --- /dev/null +++ b/dev-libs/json-c/json-c-0.12.1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools multilib-minimal ltprune + +DESCRIPTION="A JSON implementation in C" +HOMEPAGE="https://github.com/json-c/json-c/wiki" +SRC_URI="https://s3.amazonaws.com/json-c_releases/releases/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0/0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="doc static-libs" + +src_prepare() { + default + sed -i -e "s:-Werror::" Makefile.am.inc || die + eautoreconf + + # tests break otherwise + multilib_copy_sources +} + +multilib_src_configure() { + ECONF_SOURCE=${S} econf $(use_enable static-libs static) +} + +multilib_src_test() { + export USE_VALGRIND=0 VERBOSE=1 + default +} + +multilib_src_install_all() { + use doc && HTML_DOCS=( "${S}"/doc/html/. ) + einstalldocs + + # add symlink for projects not using pkgconfig + dosym ../json-c /usr/include/json-c/json + + prune_libtool_files +} diff --git a/dev-libs/json-c/json-c-0.12.ebuild b/dev-libs/json-c/json-c-0.12.ebuild new file mode 100644 index 000000000000..226d41a3386f --- /dev/null +++ b/dev-libs/json-c/json-c-0.12.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +AUTOTOOLS_AUTORECONF=true + +inherit autotools-multilib + +DESCRIPTION="A JSON implementation in C" +HOMEPAGE="https://github.com/json-c/json-c/wiki" +SRC_URI="https://s3.amazonaws.com/json-c_releases/releases/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0/0" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="doc static-libs" + +RDEPEND=" + abi_x86_32? ( + !<=app-emulation/emul-linux-x86-baselibs-20140406-r3 + !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] + )" + +# tests break otherwise +AUTOTOOLS_IN_SOURCE_BUILD=1 + +src_prepare() { + sed -i -e "s:-Werror::" Makefile.am.inc || die + autotools-multilib_src_prepare +} + +src_test() { + export USE_VALGRIND=0 VERBOSE=1 + autotools-multilib_src_test +} + +src_install() { + use doc && HTML_DOCS=( "${S}"/doc/html ) + autotools-multilib_src_install + + # add symlink for projects not using pkgconfig + dosym ../json-c /usr/include/json-c/json +} diff --git a/dev-libs/json-c/metadata.xml b/dev-libs/json-c/metadata.xml new file mode 100644 index 000000000000..55f771562070 --- /dev/null +++ b/dev-libs/json-c/metadata.xml @@ -0,0 +1,18 @@ + + + + + hwoarang@gentoo.org + Markos Chandras + + +"A JSON implementation in C" is probably the better description, and then +"JSON-C implements a reference counting object model that allows you to +easily construct JSON objects in C, output them as JSON formatted +strings and parse JSON formatted strings back into the C +representation of JSON objects. + + + json-c/json-c + + diff --git a/dev-libs/json-glib/Manifest b/dev-libs/json-glib/Manifest new file mode 100644 index 000000000000..ddf435499b7d --- /dev/null +++ b/dev-libs/json-glib/Manifest @@ -0,0 +1,5 @@ +DIST json-glib-1.2.8.tar.xz 604336 SHA256 fd55a9037d39e7a10f0db64309f5f0265fa32ec962bf85066087b83a2807f40a SHA512 85d8ad431363b8698d71684927b8aa38749d99ea7236334ec09fd81482489f1ab9cb12dabcbe13f6b6ffd7e5d70ade47a36b511e275915d4aa858af647db90ba WHIRLPOOL 2c770d113e4b1911fe98ca127110c45443a5e992d442265c8e48a65f66d1429bff1099b4015f93d110b547734f4478febe1d27a81e7774cf3f23e0696c51fe18 +EBUILD json-glib-1.2.8.ebuild 1412 SHA256 988eaa1ee15fb119cd292f6a1129b1b44adcde045b650eb348e967a02fed175a SHA512 bef69e80ebe43f4e84d6e1a0a0da1285dbb2538d680bbe9c27e4b780ecbf99a9454309cd1c244ccf3736ac7f82ddf6e69c2bd1b27a1b590b8db7d31e71e2614a WHIRLPOOL 6f311eef8e3dfa21178a3995b46c076a6906ae52f4fdfa164bcd60afdfb1e599751c27bf105cbf529d34a4449907a9b4e3e18cec84d1268b7b69630f29ceac69 +MISC ChangeLog 5632 SHA256 c472f5fe8d6885a014a34705eb446af8afeb63e2de8b3e6c99966c78c8e73679 SHA512 fc22f45afdb591e6c606e6ca729375a7e0d65b4b909fe7cf3ddc87a8ab6902178b3575361dc127b4dc56544db464c0c8d3e1b5f34ca0af676ef700613e0adb9b WHIRLPOOL 662b2662f553f54d4ae872a3b12c82acb97d5b961536445a48044b7a3ea094d3f0b2f541159b787af36120d380251964c4906a3fc0eb6c0c26c97be1ffd8783e +MISC ChangeLog-2015 11745 SHA256 c22f16b5463b90ec1f89a0183e695f94f5e448f27983d0ba0b5d4b241b838de8 SHA512 344f6bf29b89549343eaab641306abcffe657556be7a42035a89510ff40edc7fd2092a18160632c498b9ed59bcb850487561db30b1fb74ed41bc98a6fa25f68c WHIRLPOOL f9597f09384556d3d5c49d197f74191de1dfebbba38d83a14def930b67a3b16c99bd58d21589b51bf57a4f413441324092f49e38f66e864ad8e0b955f282cd61 +MISC metadata.xml 1168 SHA256 22fe5e8c0646d110145f4f8859ee26030031ffa62d0f6fdb4169f39eb3e3ce16 SHA512 9af9dffd8e1d56c9dad5a0c53bdf16f5d54261c8c121cbc9644865340b84101a0bfcafc393bfe0d6b31024b16f1bbe9f9305286bc56a2df20a08984f55cb91e1 WHIRLPOOL 6181a5b0ae2d57c41f6ba06d7618a2b727995dfe48827b2d78af2b9a2b6eb4eda4e7245d0d8b0478eeddad0c5e8f0399f7524b4eea1681b55f2ab185cc33f90f diff --git a/dev-libs/json-glib/json-glib-1.2.8.ebuild b/dev-libs/json-glib/json-glib-1.2.8.ebuild new file mode 100644 index 000000000000..2181414d8a04 --- /dev/null +++ b/dev-libs/json-glib/json-glib-1.2.8.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit gnome2 multilib-minimal + +DESCRIPTION="Library providing GLib serialization and deserialization for the JSON format" +HOMEPAGE="https://wiki.gnome.org/Projects/JsonGlib" + +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-fbsd ~x86-fbsd" +IUSE="debug +introspection" + +RDEPEND=" + >=dev-libs/glib-2.37.6:2[${MULTILIB_USEDEP}] + introspection? ( >=dev-libs/gobject-introspection-0.9.5:= ) +" +DEPEND="${RDEPEND} + ~app-text/docbook-xml-dtd-4.1.2 + app-text/docbook-xsl-stylesheets + dev-libs/libxslt + >=dev-util/gtk-doc-am-1.20 + >=sys-devel/gettext-0.18 + virtual/pkgconfig[${MULTILIB_USEDEP}] +" + +src_prepare() { + # Do not touch CFLAGS with --enable-debug=yes + sed -e 's/CFLAGS -g/CFLAGS/' -i "${S}"/configure || die + gnome2_src_prepare +} + +multilib_src_configure() { + # Coverage support is useless, and causes runtime problems + ECONF_SOURCE=${S} \ + gnome2_src_configure \ + --enable-man \ + --disable-gcov \ + $(usex debug --enable-debug=yes --enable-debug=minimum) \ + $(multilib_native_use_enable introspection) \ + --with-xml-catalog="${EPREFIX}"/etc/xml/catalog + + if multilib_is_native_abi; then + ln -s "${S}"/doc/html doc/html || die + fi +} + +multilib_src_compile() { + gnome2_src_compile +} + +multilib_src_install() { + gnome2_src_install +} diff --git a/dev-libs/json-glib/metadata.xml b/dev-libs/json-glib/metadata.xml new file mode 100644 index 000000000000..0aa1782a946f --- /dev/null +++ b/dev-libs/json-glib/metadata.xml @@ -0,0 +1,15 @@ + + + + + voyageur@gentoo.org + Bernard Cafarelli + + + gnome@gentoo.org + Gentoo GNOME Desktop + + JSON-GLib is a library providing serialization and deserialization support for the JavaScript Object Notation (JSON) format described by RFC 4627. Many high-level languages already provide native modules for parsing, generating and manipulating JSON data streams. JSON-GLib is a C library based on GLib and released under the terms of the GNU Lesser General Public License version 2.1. It provides a parser and a generator GObject classes and various wrappers for the complex data types employed by JSON, such as arrays and objects. + +JSON-GLib uses GLib native data types and the generic value container GValue for ease of development. It also provides integration with the GObject classes for direct serialization into, and deserialization from, JSON data streams. + diff --git a/dev-libs/jsoncpp/Manifest b/dev-libs/jsoncpp/Manifest new file mode 100644 index 000000000000..14abbde06802 --- /dev/null +++ b/dev-libs/jsoncpp/Manifest @@ -0,0 +1,13 @@ +AUX jsoncpp-0.10.2-arm.patch 825 SHA256 21b4477d33c48c0ebfe58603ed6bc79752f7e3b46be66c011695fc12e7027e1f SHA512 2f30d2802c9018c93d30c84011fba2b2fadbb78c84e1b0a3a995c482f50caefb7a8fad12adc355fc4af0fce730a9557c1714f250fde130907b746288c664870c WHIRLPOOL edc8ad56ea0cb1629ae659eb82c756457a0b7c2c421c5024960172e6b66353696578d66dcebca3bf7fdbed0a33b2f488901030396ca9fa601f2370975ad9e2b7 +AUX jsoncpp-1.6.2-fix-pkgconfig.patch 2271 SHA256 b80141f80de0d5f777a8e45c629faf6be481b0ce66f78d21d0726cc340ec075f SHA512 5efa120a5da7695cd9b8d4420b6247479f639bdca35c0627aaca45167c4fb46a7c04243ebdec6468217aa171a8f2333912fe062eae355668d64d6a4cdffca1a5 WHIRLPOOL 62e86a67c09f94d0f8aba037da395709f4d615463de1977a8c37043c4017a8a963e2d9c9b318c9ad76a027d06073ab31832cf2f4b1943ef7d8f09f047f90ee1e +DIST jsoncpp-0.10.2.tar.gz 197188 SHA256 37bb72615018522bb78a5eb425b36dfc79e049c1d5471b724f7ccadeac0ed479 SHA512 8e451e3ba37094445ab098d5b9f7236ac84e2f15d98e2039c565e609b757c2383e91850bd86aca507ca5cd2f733fedc484bb7760eeeee7fe9bace71d97ae0d2e WHIRLPOOL 85f9861e77a7c3cecd5e859adde832b7f12a0c5eae04ecbee203e5d8c4b8b13ba034b4aa6b78a3b981aa392a4ea6a26c2e1d411ae97768d7ed422f71ec2e5d79 +DIST jsoncpp-0.10.6.tar.gz 200213 SHA256 7c285fc40ad0c113e436a1271c4e38b5017b5c7782c306e90be9d6b2ffa90212 SHA512 9fcf584d14c31fc135c9789b36c02c5985daecc7396eb21912d5ea3e757d1fd0d516d7a060e14b4955c73f6b4aa256529281da908726919236fa65310de9f1aa WHIRLPOOL f06b804045250b205f8ca1ed6fd5504cb5e18243df16c9c255310a631d6d88f78bfd8c59e31360c1e50ccabcf5b295a095a80cdbb4e0ca5a0da54a64ff8e7919 +DIST jsoncpp-1.8.1.tar.gz 210629 SHA256 858db2faf348f89fdf1062bd3e79256772e897e7f17df73e0624edf004f2f9ac SHA512 4203826fca4c366b51d28ffc928399c914ffaba8be1cada64ff118b5742e6b469d3fc3e59344587d851447857b479794c5697d4fd11a9a55b32a3a7a801b745b WHIRLPOOL fad9803f2fdc4aba2efc235b1e6a4edab3ca19b6f0ca6a275170afb477adfdad1b1bace48dfc2424d78b6f7a2ff080987298119b1797559159197a7c268a89bb +DIST jsoncpp-1.8.3.tar.gz 199061 SHA256 3671ba6051e0f30849942cc66d1798fdf0362d089343a83f704c09ee7156604f SHA512 a5170ccbc440c1bd2b365e34f7367a55731d4fa86b2d323d11431cead771127364bad9d8e2e59dcbe41bc111d11a5da94988dec5e40b9119f793f43e487d7429 WHIRLPOOL f32ce61c15a1bd03c1f5ce73305462374841fd30b99a683c82fe3babc93ddbd57e0cd5f5f5ca5ce7824a05a25c418ebf82f9058617cb2210795ad4b2c57b0c36 +EBUILD jsoncpp-0.10.2-r1.ebuild 1461 SHA256 7673e0743d6bf921c723947952513bda56e578f3d3a4aec138f24f50ea7b0cf7 SHA512 88b4652e85f8134d4633e143e07da5f0ff8b2515bc50ba937a985310b7651ae3695858d5b236fca73dd1fd95d0c7b8f2a50fb2545a81751f1b09e05befc986a4 WHIRLPOOL b8db11ff19cefc059d3d068176b8e7a690b04fb4c8f8a7e0dafbfdcd72cabc2576a7d82a0a4d20ac743c07a8508bbaf808b27680bead41d2d850af96b835f969 +EBUILD jsoncpp-0.10.6.ebuild 1385 SHA256 c2a817560f6ea1607d4f4cca72392605f21976c5fe9c708bbdb48ff5ca48d361 SHA512 2d00e37b0ae59303b3a0f12f099daf78a98f209b406aa8362e4bf8aaf9542a74968a76c8ef0ab625ec3a9065d492c791948517a7a4a6927e7d2ce0c33b81fbb3 WHIRLPOOL 41ff9cfc295dc5ff8c42b0bf3cbc1c3aedf13006005c6294905cd82fcd01f508a615c3ec2b7f105dbbddd0213ec7e469d54aee03d1864f89ffc79f8b7098735e +EBUILD jsoncpp-1.8.1.ebuild 1353 SHA256 a3267d4871c65e506c5f29f032fa8661f386402c0e8cf1123a266adf9add7ef2 SHA512 1479c2d2c5069ff392f158dc7f0e8320b1414d15ebb941a62a3e1359baf482e3e07093b828e38796180f5b08866e081fe3cd9f62efdca5104e9c583a1ec24a82 WHIRLPOOL 7bf2226aa29bbf890c36f01fe68ae085907599231a0233e2bf179073778dd7c5d6f8d5d24bb20a40d36a69aa0adca7365930acaa7d4940cba71f795b656b0108 +EBUILD jsoncpp-1.8.3.ebuild 1363 SHA256 f1dbedef23b2cf48fd67e49bcbbfa6e6a727bc2b73b788e7a8ebea9d445aca13 SHA512 b36102dfa33afb9ad6a209dc2c980b5ab6ee103a761fe1224b20f059ab5834f2b127da343180623d99e0ffbd43a46395785449839f09d061939580efdb1a961b WHIRLPOOL 971d87b3c895052062d0e841ef24ab1b54b87b334394fb75fb42d9cb0ffe374a7d401abf070825d4157c2cea3903b7c58567b961240a6e7d3b9e720819446bbb +MISC ChangeLog 5740 SHA256 6f15319508ccaf1a29f76e3f6d1548be36ee433559a368da8b6bbefcc05a5364 SHA512 6137d164053abe50f50454e87a33c0756fc687037959e80ee0ca126ada491956f631f9417c5fdb2d921fde9262b5c536790717d23c719907a70d9e4a09fa647d WHIRLPOOL 126b623823954dc5e50a41a70641e6f6c26fba26f60ab231baa65ad3c7a1c3133240d72607cbbbaec1bce6f90ea0abd3a4a8c201b8d9a03949a438c5404a57ee +MISC ChangeLog-2015 3833 SHA256 82d5eb80dcb50fb3c0f4dfbd2b82ac540ffb90405f70a2bc43829d0a98584630 SHA512 10f520404b7adc904297c6e89b265fe989445b3e62a9f422c6e2e19f9b3785575f9487a9cf189409e06891d096114f56889a327caa019639388aaa515c8597a1 WHIRLPOOL b89044589f1f0738bac5bea66d562ccee603001b7d97b263fb52696f4edb3824a6c26006b8bdfa5bf8f995d60a02f818cd8e39c4e3da10d2e2438f9ab6f1651d +MISC metadata.xml 522 SHA256 6ec2db74e3e66a2b60bd52a27322bb981efbc443d4df744b74157a531b54c9cb SHA512 95270a54162bd5940602765fc238d7f30fdd0f42b8523774464a3f2e124b586dc0b03913a7b2db4bbb90f83b6384b97d8b8af8bcfabe7ce50dc93e2c87058530 WHIRLPOOL 7a435d13f1ad7291274e13af08a9b564dc6d55cafed7abc9f67bf0675f390ea451061ca57f8c757c2f1fb8321dff7fb00aaa1d52bfd99ed76f70d476bed2149e diff --git a/dev-libs/jsoncpp/files/jsoncpp-0.10.2-arm.patch b/dev-libs/jsoncpp/files/jsoncpp-0.10.2-arm.patch new file mode 100644 index 000000000000..838ef8487946 --- /dev/null +++ b/dev-libs/jsoncpp/files/jsoncpp-0.10.2-arm.patch @@ -0,0 +1,25 @@ +From 96412d2964775fd6fb9bf359936743dd508af8ba Mon Sep 17 00:00:00 2001 +From: Christopher Dunn +Date: Wed, 10 Jun 2015 21:22:24 -0500 +Subject: [PATCH] fix #290 + +(cherry picked from commit 2760c7902a5cc7173aabe4e1f31dcf93e79377d5) +--- + src/test_lib_json/main.cpp | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/src/test_lib_json/main.cpp b/src/test_lib_json/main.cpp +index 85110ad..080ba6e 100644 +--- a/src/test_lib_json/main.cpp ++++ b/src/test_lib_json/main.cpp +@@ -296,7 +296,10 @@ JSONTEST_FIXTURE(ValueTest, null) { + JSONTEST_ASSERT_EQUAL(0.0, null_.asFloat()); + JSONTEST_ASSERT_STRING_EQUAL("", null_.asString()); + ++#if !defined(__ARMEL__) ++ // See line #165 of include/json/value.h + JSONTEST_ASSERT_EQUAL(Json::Value::null, null_); ++#endif + } + + JSONTEST_FIXTURE(ValueTest, strings) { diff --git a/dev-libs/jsoncpp/files/jsoncpp-1.6.2-fix-pkgconfig.patch b/dev-libs/jsoncpp/files/jsoncpp-1.6.2-fix-pkgconfig.patch new file mode 100644 index 000000000000..5c3420e45004 --- /dev/null +++ b/dev-libs/jsoncpp/files/jsoncpp-1.6.2-fix-pkgconfig.patch @@ -0,0 +1,55 @@ +From e6f1cffdd3fb04a0ed96319e6f8df6a7cbdd1557 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= +Date: Tue, 19 May 2015 17:32:31 +0200 +Subject: [PATCH] Fix custom includedir & libdir substitution in pkg-config +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Do not prepend ${prefix} to substituted includedir & libdir +in the pkg-config file -- if the paths are overriden by user, CMake puts +absolute paths there (even if user specifies a relative path). Instead, +use the absolute path provided by CMake and appropriately default +LIBRARY_INSTALL_DIR & INCLUDE_INSTALL_DIR to absolute paths with +${CMAKE_INSTALL_PREFIX} prepended. + +Fixes: https://github.com/open-source-parsers/jsoncpp/issues/279 +Signed-off-by: Michał Górny +--- + CMakeLists.txt | 6 +++--- + pkg-config/jsoncpp.pc.in | 4 ++-- + 2 files changed, 5 insertions(+), 5 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 30038d5..d31a6ad 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -25,11 +25,11 @@ SET(LIB_SUFFIX "" CACHE STRING "Optional arch-dependent suffix for the library i + + SET(RUNTIME_INSTALL_DIR bin + CACHE PATH "Install dir for executables and dlls") +-SET(ARCHIVE_INSTALL_DIR lib${LIB_SUFFIX} ++SET(ARCHIVE_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX} + CACHE PATH "Install dir for static libraries") +-SET(LIBRARY_INSTALL_DIR lib${LIB_SUFFIX} ++SET(LIBRARY_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX} + CACHE PATH "Install dir for shared libraries") +-SET(INCLUDE_INSTALL_DIR include ++SET(INCLUDE_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/include + CACHE PATH "Install dir for headers") + SET(PACKAGE_INSTALL_DIR lib${LIB_SUFFIX}/cmake + CACHE PATH "Install dir for cmake package config files") +diff --git a/pkg-config/jsoncpp.pc.in b/pkg-config/jsoncpp.pc.in +index 9613181..3ca4a84 100644 +--- a/pkg-config/jsoncpp.pc.in ++++ b/pkg-config/jsoncpp.pc.in +@@ -1,7 +1,7 @@ + prefix=@CMAKE_INSTALL_PREFIX@ + exec_prefix=${prefix} +-libdir=${exec_prefix}/@LIBRARY_INSTALL_DIR@ +-includedir=${prefix}/@INCLUDE_INSTALL_DIR@ ++libdir=@LIBRARY_INSTALL_DIR@ ++includedir=@INCLUDE_INSTALL_DIR@ + + Name: jsoncpp + Description: A C++ library for interacting with JSON diff --git a/dev-libs/jsoncpp/jsoncpp-0.10.2-r1.ebuild b/dev-libs/jsoncpp/jsoncpp-0.10.2-r1.ebuild new file mode 100644 index 000000000000..282e25c214ac --- /dev/null +++ b/dev-libs/jsoncpp/jsoncpp-0.10.2-r1.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +PYTHON_COMPAT=( python2_7 ) + +inherit cmake-utils python-any-r1 + +DESCRIPTION="C++ JSON reader and writer" +HOMEPAGE="https://github.com/open-source-parsers/jsoncpp" +SRC_URI="https://github.com/open-source-parsers/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="|| ( public-domain MIT )" +SLOT="0" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 sparc x86" +IUSE="doc test" + +DEPEND=" + doc? ( + app-doc/doxygen + ${PYTHON_DEPS} + ) + test? ( + ${PYTHON_DEPS} + )" +RDEPEND="" + +RESTRICT="!test? ( test )" + +PATCHES=( + # fix broken path subst in .pc file + "${FILESDIR}"/jsoncpp-1.6.2-fix-pkgconfig.patch + "${FILESDIR}/${P}-arm.patch" +) + +pkg_setup() { + if use doc || use test; then + python-any-r1_pkg_setup + fi +} + +src_configure() { + local mycmakeargs=( + -DJSONCPP_WITH_TESTS=$(usex test) + -DJSONCPP_WITH_POST_BUILD_UNITTEST=OFF + -DJSONCPP_WITH_CMAKE_PACKAGE=ON + + -DBUILD_SHARED_LIBS=ON + # Follow Debian, Ubuntu, Arch convention for headers location + # bug #452234 + -DINCLUDE_INSTALL_DIR="${EPREFIX}"/usr/include/jsoncpp + ) + + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile + + if use doc; then + "${EPYTHON}" doxybuild.py --doxygen=/usr/bin/doxygen || die + fi +} + +src_test() { + emake -C "${BUILD_DIR}" jsoncpp_check +} + +src_install() { + cmake-utils_src_install + + if use doc; then + dohtml dist/doxygen/jsoncpp*/* + fi +} diff --git a/dev-libs/jsoncpp/jsoncpp-0.10.6.ebuild b/dev-libs/jsoncpp/jsoncpp-0.10.6.ebuild new file mode 100644 index 000000000000..52631dc51550 --- /dev/null +++ b/dev-libs/jsoncpp/jsoncpp-0.10.6.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 ) + +inherit cmake-utils python-any-r1 + +DESCRIPTION="C++ JSON reader and writer" +HOMEPAGE="https://github.com/open-source-parsers/jsoncpp" +SRC_URI="https://github.com/open-source-parsers/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="|| ( public-domain MIT )" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="doc test" + +DEPEND=" + doc? ( + app-doc/doxygen + ${PYTHON_DEPS} + ) + test? ( + ${PYTHON_DEPS} + )" +RDEPEND="" + +RESTRICT="!test? ( test )" + +pkg_setup() { + if use doc || use test; then + python-any-r1_pkg_setup + fi +} + +src_configure() { + local mycmakeargs=( + -DJSONCPP_WITH_TESTS=$(usex test) + -DJSONCPP_WITH_POST_BUILD_UNITTEST=OFF + -DJSONCPP_WITH_CMAKE_PACKAGE=ON + + -DBUILD_SHARED_LIBS=ON + -DBUILD_STATIC_LIBS=OFF + # Follow Debian, Ubuntu, Arch convention for headers location + # bug #452234 + -DINCLUDE_INSTALL_DIR="${EPREFIX}"/usr/include/jsoncpp + ) + + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile + + if use doc; then + "${EPYTHON}" doxybuild.py --doxygen=/usr/bin/doxygen || die + fi +} + +src_test() { + emake -C "${BUILD_DIR}" jsoncpp_check +} + +src_install() { + cmake-utils_src_install + + if use doc; then + docinto html + dodoc -r dist/doxygen/jsoncpp*/. + fi +} diff --git a/dev-libs/jsoncpp/jsoncpp-1.8.1.ebuild b/dev-libs/jsoncpp/jsoncpp-1.8.1.ebuild new file mode 100644 index 000000000000..603c2d1926bf --- /dev/null +++ b/dev-libs/jsoncpp/jsoncpp-1.8.1.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) + +inherit cmake-utils python-any-r1 + +DESCRIPTION="C++ JSON reader and writer" +HOMEPAGE="https://github.com/open-source-parsers/jsoncpp" +SRC_URI="https://github.com/open-source-parsers/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="|| ( public-domain MIT )" +SLOT="0/11" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 sparc x86" +IUSE="doc test" + +DEPEND=" + doc? ( + app-doc/doxygen + ${PYTHON_DEPS} + ) + test? ( + ${PYTHON_DEPS} + )" +RDEPEND="" + +RESTRICT="!test? ( test )" + +pkg_setup() { + if use doc || use test; then + python-any-r1_pkg_setup + fi +} + +src_configure() { + local mycmakeargs=( + -DJSONCPP_WITH_TESTS=$(usex test) + -DJSONCPP_WITH_POST_BUILD_UNITTEST=OFF + -DJSONCPP_WITH_CMAKE_PACKAGE=ON + + -DBUILD_SHARED_LIBS=ON + -DBUILD_STATIC_LIBS=OFF + + # Follow Debian, Ubuntu, Arch convention for headers location + # bug #452234 + -DCMAKE_INSTALL_INCLUDEDIR=include/jsoncpp + + # Disable implicit ccache use + -DCCACHE_FOUND=OFF + ) + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile + + if use doc; then + "${EPYTHON}" doxybuild.py --doxygen="${EPREFIX}"/usr/bin/doxygen || die + HTML_DOCS=( dist/doxygen/jsoncpp*/. ) + fi +} + +src_test() { + cmake-utils_src_make jsoncpp_check +} diff --git a/dev-libs/jsoncpp/jsoncpp-1.8.3.ebuild b/dev-libs/jsoncpp/jsoncpp-1.8.3.ebuild new file mode 100644 index 000000000000..96aefaacbe70 --- /dev/null +++ b/dev-libs/jsoncpp/jsoncpp-1.8.3.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) + +inherit cmake-utils python-any-r1 + +DESCRIPTION="C++ JSON reader and writer" +HOMEPAGE="https://github.com/open-source-parsers/jsoncpp" +SRC_URI="https://github.com/open-source-parsers/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="|| ( public-domain MIT )" +SLOT="0/19" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="doc test" + +DEPEND=" + doc? ( + app-doc/doxygen + ${PYTHON_DEPS} + ) + test? ( + ${PYTHON_DEPS} + )" +RDEPEND="" + +RESTRICT="!test? ( test )" + +pkg_setup() { + if use doc || use test; then + python-any-r1_pkg_setup + fi +} + +src_configure() { + local mycmakeargs=( + -DJSONCPP_WITH_TESTS=$(usex test) + -DJSONCPP_WITH_POST_BUILD_UNITTEST=OFF + -DJSONCPP_WITH_CMAKE_PACKAGE=ON + + -DBUILD_SHARED_LIBS=ON + -DBUILD_STATIC_LIBS=OFF + + # Follow Debian, Ubuntu, Arch convention for headers location + # bug #452234 + -DCMAKE_INSTALL_INCLUDEDIR=include/jsoncpp + + # Disable implicit ccache use + -DCCACHE_FOUND=OFF + ) + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile + + if use doc; then + "${EPYTHON}" doxybuild.py --doxygen="${EPREFIX}"/usr/bin/doxygen || die + HTML_DOCS=( dist/doxygen/jsoncpp*/. ) + fi +} + +src_test() { + cmake-utils_src_make jsoncpp_check +} diff --git a/dev-libs/jsoncpp/metadata.xml b/dev-libs/jsoncpp/metadata.xml new file mode 100644 index 000000000000..71f2f2e06050 --- /dev/null +++ b/dev-libs/jsoncpp/metadata.xml @@ -0,0 +1,16 @@ + + + + + phajdan.jr@gentoo.org + Pawel Hajdan jr + + + mgorny@gentoo.org + Michał Górny + + + open-source-parsers/jsoncpp + jsoncpp + + diff --git a/dev-libs/jthread/Manifest b/dev-libs/jthread/Manifest new file mode 100644 index 000000000000..c97599999ee8 --- /dev/null +++ b/dev-libs/jthread/Manifest @@ -0,0 +1,7 @@ +DIST jthread-1.3.1.tar.bz2 8130 SHA256 e62ec3b6d11a83a6b50336c66e192fa97a677a5f627ea996ffa5f5ddb1752936 SHA512 ea369ed8028266d67d2a7aeadbc6dd4859191f563dc2f328ad3622af3cc010e366c446a9d325fd689dd35473e6547e552dd0715a4ab308207f46260382f1603f WHIRLPOOL 302828b1948d5f8827bd96b23f32d45bcf2df53f661daf6c1c718f15aa1dc8d35f0053a0aebaefc9a19ff32776c1efacaffd3890e01ed4c27d464c2e02b3117e +DIST jthread-1.3.3.tar.bz2 8514 SHA256 17560e8f63fa4df11c3712a304ded85870227b2710a2f39692133d354ea0b64f SHA512 87c57db51014cd1af87cb4a7f6ac1ccfdff699cf72ff91ecbdb30702c844aad360768261d7bf6391b96639cc17f2fae29f3f3506a333b4ce6ed8a9ba64239e6f WHIRLPOOL 97d56deb9c53bfd08c4fb4ebccfb30f8237890b2b30f5d6ca6f1e8b032eb4e776ed4808d0ac746853a468bab634c3cdaff472f27a4bac3d307169dff7d15f1b2 +EBUILD jthread-1.3.1.ebuild 689 SHA256 af3646a923a2793cfa65b46938dc041aff0c9210aeeea49d7e4ad3fbe12bfcb1 SHA512 44ac1c3e064896782da3fae3a522985adbfe6d6290608dbafe99cad4f0b9ec3180602ab5d5f79863201e83114b4e5970cd835329a785b732add6bf026d1acce2 WHIRLPOOL 9c39b27a339a3e5ce1a4633a8a641211480a73b320099267e134eb83a080716a35416102da060ec9b5e06cdbdb8a17478aeea293c1e8822c622698b7df78ca50 +EBUILD jthread-1.3.3.ebuild 712 SHA256 c157feda11ac5f3899d83c012e042dcc70d72f18e014e877869958a2113625b8 SHA512 802db41568a829fdd44fb43fa06def60736fdcfc520554c14febdd38fb505dad9ae0aab6888c21c48c6324b5f7276733015a76bd8c8ad56f369bb19899f54cfd WHIRLPOOL 56e60cca15fb9835ab0da306f4463789db3f28655b891bf9add228185ce25272559d755dde3eb59055f62346486608c90fbc0940a28a7e375725962a23594e9b +MISC ChangeLog 2176 SHA256 327f8fd39df491e983f48e2b1dd9bece58524ecd233237830371f46520675a67 SHA512 20b9b87b8461d15ae2dbf50e630328da526d0707b046f3e72c427c576d2f67b8cae246a7dfb8543328b1de6a2e593d84f393f392465850dc027975c48df63ddd WHIRLPOOL 15052303d41bf1a53bc03abeae5b2d223dd294c91a7b655064a71f989bb94c3992cd08824b8b3122f7c00df8672d6badf3ca6edc0595a106b8108753648699ad +MISC ChangeLog-2015 2415 SHA256 f4237110a767c75dae531853d23587b1767099ec359e855ff20735a0e05536b2 SHA512 d48408bb1bb2fce8b74b57dc7d118204770ee65e47c62efb176d4d6ee09ece0b2b0846699c8be37d3763ca867a3af8cca02fe2729790fcfe8ba8d47a1269a43f WHIRLPOOL 44fcc833c1e3386146f6abdf4f52f2303097650890f37c7bcc82545c5fc2e77ee6c2370717c122f06516728c259039c3788d86d81e5638744af242cf29a17e92 +MISC metadata.xml 247 SHA256 fb925313d1ae70feaa6db91150f34a2157b48e884e8f47d773640af149e3744b SHA512 96c55c2979dd6a4c4761fce9b5a0be387b11fcf197ef903d8680ae82f01a2caea93b1238bed1ac96d3eb250744e2149a507e0424ac017b4324f0806a54e72c4a WHIRLPOOL 142b4295733faec48b0ca9eb6d3561799ff743481aabf2b74ecf6d717d972b4961979c7b6bf32b9840cb34e47d22fe2befb9b0ef8ec0d3f28f6416069128d3c7 diff --git a/dev-libs/jthread/jthread-1.3.1.ebuild b/dev-libs/jthread/jthread-1.3.1.ebuild new file mode 100644 index 000000000000..c958d0b306c6 --- /dev/null +++ b/dev-libs/jthread/jthread-1.3.1.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit cmake-utils + +DESCRIPTION="JThread provides some classes to make use of threads easy on different platforms" +HOMEPAGE="http://research.edm.uhasselt.be/~jori/page/index.php?n=CS.Jthread" +SRC_URI="http://research.edm.uhasselt.be/jori/${PN}/${P}.tar.bz2" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="static-libs" + +DOCS=( ChangeLog README.TXT TODO doc/manual.tex ) + +src_prepare() { + # do not build static library, if it is not requested + if ! use static-libs; then + sed -i -e '/jthread-static/d' src/CMakeLists.txt || die 'sed on src/CMakeLists.txt failed' + fi +} diff --git a/dev-libs/jthread/jthread-1.3.3.ebuild b/dev-libs/jthread/jthread-1.3.3.ebuild new file mode 100644 index 000000000000..e854d07537d5 --- /dev/null +++ b/dev-libs/jthread/jthread-1.3.3.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-multilib + +DESCRIPTION="JThread provides some classes to make use of threads easy on different platforms" +HOMEPAGE="http://research.edm.uhasselt.be/jori/page/CS/Jthread.html" +SRC_URI="http://research.edm.uhasselt.be/jori/${PN}/${P}.tar.bz2" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" + +IUSE="static-libs" + +DOCS=( ChangeLog README.md doc/manual.tex ) + +src_prepare() { + # do not build static library, if it is not requested + if ! use static-libs; then + sed -i -e '/jthread-static/d' src/CMakeLists.txt || die 'sed on src/CMakeLists.txt failed' + fi + cmake-utils_src_prepare +} diff --git a/dev-libs/jthread/metadata.xml b/dev-libs/jthread/metadata.xml new file mode 100644 index 000000000000..5b159fbcadd1 --- /dev/null +++ b/dev-libs/jthread/metadata.xml @@ -0,0 +1,8 @@ + + + + + pinkbyte@gentoo.org + Sergey Popov + + diff --git a/dev-libs/judy/Manifest b/dev-libs/judy/Manifest new file mode 100644 index 000000000000..aea032883743 --- /dev/null +++ b/dev-libs/judy/Manifest @@ -0,0 +1,10 @@ +AUX judy-1.0.4-parallel-make.patch 6709 SHA256 5cca73627b3c87acdc631d123a0f4f4ac0c7ca5cc694df9bf015299458f6a7a8 SHA512 43ada8c164cd6f0b1e41eed0759062ec1888ee34f32dacfa5492edb7acf28095f1a6ebd4b21acf0e4d2ae3a4f0820b28e72998f604767bc16eaef875cf5cc0c3 WHIRLPOOL 82550c6b6c268c0c92d779a6edb3bfd0acd42179dafc65962e0e8e38c9ce7c7088d0464a1c23b3b895e8b053e69fd48397e77e811c5cee299a1aa7ccbba984e0 +AUX judy-1.0.5-parallel-make.patch 6736 SHA256 9918f284b3b7f31259b68f1500dbff3bf585a87ce71d394bc4a8c72d900b5383 SHA512 80f5f361f4cc9f8d5e433ac40f3f4371186025d4fd33b15ae5e80db9d80460c4db94bd6e24d83cfaeebb82328a762d5560464112c7d3f80c5601a7a98f6c5765 WHIRLPOOL 7d980a589e6c414d5e180cfc3c24610ed602d6372537dc45079077d208abf840850c2ecf18593e4dbc5cbf55574bf5053c61f326369b4862adfda73dbe845a94 +DIST Judy-1.0.4.tar.gz 1142724 SHA256 ac3e5c24ac48867543603e78238c7accad77cdd438846379091babfcb5d0c69b SHA512 3a2fcd14a4367910ced5d1da8b46551e2847e02c1faa19c3ecd0ee542bb89c683c8998feb79abee4999a753d26ed5e7bfd9a7e2ed343a7667c7ff0d624ee384f WHIRLPOOL 37f20e67806431d86f61b0b26f2e10d9b4e0de7caffb7c57376faecfa77255e57491d921df0ab29eb7cafc948697efef3422d857394fef5169977ff56ed9ddb6 +DIST Judy-1.0.5.tar.gz 1147847 SHA256 d2704089f85fdb6f2cd7e77be21170ced4b4375c03ef1ad4cf1075bd414a63eb SHA512 1a0d59b092c80d95270a3089cd25ee0ddad1d591101b03784e2e46dfc73bce445a7fb495b449043544a366c09b35b833556053bf3bf65dd00abbd786d26c6980 WHIRLPOOL 94ab23652fba48e8b5d23f5dfc1062e807f47130b12f25c829d82c203f90ca1ddac6c0382035080d613ef891fc419be2de67ef4e9bacba345b3ee49c81df3d58 +EBUILD judy-1.0.4.ebuild 678 SHA256 01d54c4df3815f576d63fad239a0c7c852bf2b6c1ba248d6799ffe51582e6683 SHA512 e5a0445240ec1eb4e1e0b654d7d4722b29224e718374404cbc9a4d452d2b3b73b80c777fab290e94548f6817c3fa1b75bfdca30126fe0cdf6bacd1085ad6e702 WHIRLPOOL 3cbfaf51b1eb20ee49178e0cc12bbe090d7b00eee00dabe9a9d5445ac1051711ce155155034c11a29d079f8da45143d4f845099103a463c200557f8172a8d44a +EBUILD judy-1.0.5-r1.ebuild 829 SHA256 366259031e70e60027a7215f1965606804ab1e571623c4815302186c63fd093d SHA512 b63781286fc52b49cc846643fc0b691d0e6c4e98b68d4ae6b2349455f1ea493502e12a5535113bfe4eefc42a1a8ff776f2a51c1d9ef1ba50964356da4e923ac8 WHIRLPOOL b603b22c726d6dcd99d4b86efc3b96f5e1778829acffdc8e85eca705d8e4ae6451a9dc158408f1768a78731682852a9f1456242cccbf12a00d15e80d72a36054 +EBUILD judy-1.0.5.ebuild 640 SHA256 f70ba4a77aee092655927a0c90bfff3c2a82d2d02efeea8766afda51e485764c SHA512 5adb0f29c2fa930f31942cb06e6598f071da915faf6a2ff3e0790ea958dbc9cb62eb32212a5cbba8b24fd52a8b9d021bc39bc03e6ef2b5e941615821de5870ab WHIRLPOOL 097ef456336b29eb8ecc0eaf0033e305743fed162a488438db1f6303bc6bcd0389f5a82eb23040536965673e11c445b1e60db677f3f60797cb197b71ed9dea7c +MISC ChangeLog 2694 SHA256 9a6282bbdcb97e241fea933a7a66d4cbe9f1208bdbf99f24c321027a02b24674 SHA512 cab6212e1286f5da454460fd374d92c446728a1bc29f63722e8fd0da47a10e687b9c15de3cad17001757581df6c6b4c31ea9594e54306574894b039b1f842f2c WHIRLPOOL c96f2d04811596b41f08cec384c56537de3c81cae78eab45f27d38b6105a87cc35eae65228c7370aea0332392e2b02b65d7dc10b63b3adefdb019212a5ef9aed +MISC ChangeLog-2015 4662 SHA256 a152d325119c732b31ebb5df1af2d772f2fe115567aa112762ced9f3b543f502 SHA512 12f65b997293f427066e26260037a2e14500c829900027f7d3f8c11ce4abb9f409c7fadbbce16468baa8e56a5b97513be00d35ee9293eaad04120ce6249262bd WHIRLPOOL 06b16f3b9f6936be6e2a3a88ba1d718f714c79f18525b0f688198c41a8fe4b50c628e7647b85c1c70162f557aca5d3ba547283fbe212c4c7b40e4c7da9969c66 +MISC metadata.xml 320 SHA256 eca688b6b33f134bb920665d36fcf739a5c67454a3bc04d379633c72a1b39181 SHA512 ab0598eef76bffcdce226c8d0c20e70c723771835f20505119ea1fba9484293a28e5862f9227738284ce7a53809e4fc68fea31e2335764934e8e36b983366a46 WHIRLPOOL c1343acc9df1f0d2c6b87a8e8dceb7c5ab8251ef9e21e1a1eada869091614bfa77eb05e06979ee3f605f7237ee789c856067269c01b8f226421da06d105e288e diff --git a/dev-libs/judy/files/judy-1.0.4-parallel-make.patch b/dev-libs/judy/files/judy-1.0.4-parallel-make.patch new file mode 100644 index 000000000000..6e3fcbe6b677 --- /dev/null +++ b/dev-libs/judy/files/judy-1.0.4-parallel-make.patch @@ -0,0 +1,184 @@ +https://sourceforge.net/tracker/index.php?func=detail&aid=2219175&group_id=55753&atid=478140 + +=== modified file 'doc/Makefile.am' +--- doc/Makefile.am 2008-11-03 15:14:54 +0000 ++++ doc/Makefile.am 2008-11-03 15:16:21 +0000 +@@ -94,114 +94,93 @@ + man/man3/JudyHSFreeArray + + ++dep_on_Judy = J1T J1S J1U J1F J1N J1L J1P J1FE J1NE J1LE J1PE J1C J1BC J1FA J1MU ++ ++$(patsubst %,man/man3/%,$(dep_on_Judy)): man/man3/Judy + + man/man3/Judy: + ../tool/jhton ext/Judy_3.htm | grep -v '^[ ]*$$' | sed -e 's/\.C//' > man/man3/Judy ++ cd man/man3 && \ ++ for man in $(dep_on_Judy); do \ ++ ln -s Judy $$man; \ ++ done + + man/man3/Judy1: + ../tool/jhton ext/Judy1_3.htm | grep -v '^[ ]*$$' | sed -e 's/\.C//' > man/man3/Judy1 +- cd man/man3; ln -s Judy J1T +- cd man/man3; ln -s Judy J1S +- cd man/man3; ln -s Judy J1U +- cd man/man3; ln -s Judy J1F +- cd man/man3; ln -s Judy J1N +- cd man/man3; ln -s Judy J1L +- cd man/man3; ln -s Judy J1P +- cd man/man3; ln -s Judy J1FE +- cd man/man3; ln -s Judy J1NE +- cd man/man3; ln -s Judy J1LE +- cd man/man3; ln -s Judy J1PE +- cd man/man3; ln -s Judy J1C +- cd man/man3; ln -s Judy J1BC +- cd man/man3; ln -s Judy J1FA +- cd man/man3; ln -s Judy J1MU ++ ++dep_on_Judy1_funcs = Judy1Test Judy1Set Judy1Unset Judy1First Judy1Next Judy1Last Judy1Prev Judy1FirstEmpty Judy1NextEmpty Judy1LastEmpty Judy1PrevEmpty Judy1Count Judy1ByCount Judy1FreeArray Judy1MemUsed ++ ++$(patsubst %,man/man3/%,$(dep_on_Judy1_funcs)): man/man3/Judy1_funcs + + man/man3/Judy1_funcs: + ../tool/jhton ext/Judy1_funcs_3.htm | grep -v '^[ ]*$$' | sed -e 's/\.C//' > man/man3/Judy1_funcs +- cd man/man3; ln -s Judy1_funcs Judy1Test +- cd man/man3; ln -s Judy1_funcs Judy1Set +- cd man/man3; ln -s Judy1_funcs Judy1Unset +- cd man/man3; ln -s Judy1_funcs Judy1First +- cd man/man3; ln -s Judy1_funcs Judy1Next +- cd man/man3; ln -s Judy1_funcs Judy1Last +- cd man/man3; ln -s Judy1_funcs Judy1Prev +- cd man/man3; ln -s Judy1_funcs Judy1FirstEmpty +- cd man/man3; ln -s Judy1_funcs Judy1NextEmpty +- cd man/man3; ln -s Judy1_funcs Judy1LastEmpty +- cd man/man3; ln -s Judy1_funcs Judy1PrevEmpty +- cd man/man3; ln -s Judy1_funcs Judy1Count +- cd man/man3; ln -s Judy1_funcs Judy1ByCount +- cd man/man3; ln -s Judy1_funcs Judy1FreeArray +- cd man/man3; ln -s Judy1_funcs Judy1MemUsed ++ cd man/man3 && \ ++ for man in $(dep_on_Judy1_funcs); do \ ++ ln -s Judy1_funcs $$man; \ ++ done ++ ++dep_on_JudyL= JLG JLI JLD JLF JLN JLL JLP JLFE JLNE JLLE JLPE JLC JLBC JLFA JLMU ++ ++$(patsubst %,man/man3/%,$(dep_on_JudyL)): man/man3/JudyL + + man/man3/JudyL: + ../tool/jhton ext/JudyL_3.htm | grep -v '^[ ]*$$' | sed -e 's/\.C//' > man/man3/JudyL +- cd man/man3; ln -s JudyL JLG +- cd man/man3; ln -s JudyL JLI +- cd man/man3; ln -s JudyL JLD +- cd man/man3; ln -s JudyL JLF +- cd man/man3; ln -s JudyL JLN +- cd man/man3; ln -s JudyL JLL +- cd man/man3; ln -s JudyL JLP +- cd man/man3; ln -s JudyL JLFE +- cd man/man3; ln -s JudyL JLNE +- cd man/man3; ln -s JudyL JLLE +- cd man/man3; ln -s JudyL JLPE +- cd man/man3; ln -s JudyL JLC +- cd man/man3; ln -s JudyL JLBC +- cd man/man3; ln -s JudyL JLFA +- cd man/man3; ln -s JudyL JLMU ++ cd man/man3 && \ ++ for man in $(dep_on_JudyL); do \ ++ ln -s JudyL $$man; \ ++ done ++ ++dep_on_JudyL_funcs = JudyLGet JudyLIns JudyLDel JudyLFirst JudyLNext JudyLLast JudyLPrev JudyLFirstEmpty JudyLNextEmpty JudyLLastEmpty JudyLPrevEmpty JudyLCount JudyLByCount JudyLFreeArray JudyLMemUsed ++ ++$(patsubst %,man/man3/%,$(dep_on_JudyL_funcs)): man/man3/JudyL_funcs + + man/man3/JudyL_funcs: + ../tool/jhton ext/JudyL_funcs_3.htm | grep -v '^[ ]*$$' | sed -e 's/\.C//' > man/man3/JudyL_funcs +- cd man/man3; ln -s JudyL_funcs JudyLGet +- cd man/man3; ln -s JudyL_funcs JudyLIns +- cd man/man3; ln -s JudyL_funcs JudyLDel +- cd man/man3; ln -s JudyL_funcs JudyLFirst +- cd man/man3; ln -s JudyL_funcs JudyLNext +- cd man/man3; ln -s JudyL_funcs JudyLLast +- cd man/man3; ln -s JudyL_funcs JudyLPrev +- cd man/man3; ln -s JudyL_funcs JudyLFirstEmpty +- cd man/man3; ln -s JudyL_funcs JudyLNextEmpty +- cd man/man3; ln -s JudyL_funcs JudyLLastEmpty +- cd man/man3; ln -s JudyL_funcs JudyLPrevEmpty +- cd man/man3; ln -s JudyL_funcs JudyLCount +- cd man/man3; ln -s JudyL_funcs JudyLByCount +- cd man/man3; ln -s JudyL_funcs JudyLFreeArray +- cd man/man3; ln -s JudyL_funcs JudyLMemUsed ++ cd man/man3 && \ ++ for man in $(dep_on_JudyL_funcs); do \ ++ ln -s JudyL_funcs $$man; \ ++ done ++ ++dep_on_JudySL = JSLG JSLI JSLD JSLF JSLN JSLL JSLP JSLFA ++ ++$(patsubst %,man/man3/%,$(dep_on_JudySL)): man/man3/JudySL + + man/man3/JudySL: + ../tool/jhton ext/JudySL_3.htm | grep -v '^[ ]*$$' | sed -e 's/\.C//' > man/man3/JudySL +- cd man/man3; ln -s JudySL JSLG +- cd man/man3; ln -s JudySL JSLI +- cd man/man3; ln -s JudySL JSLD +- cd man/man3; ln -s JudySL JSLF +- cd man/man3; ln -s JudySL JSLN +- cd man/man3; ln -s JudySL JSLL +- cd man/man3; ln -s JudySL JSLP +- cd man/man3; ln -s JudySL JSLFA ++ cd man/man3 && \ ++ for man in $(dep_on_JudySL); do \ ++ ln -s JudySL $$man; \ ++ done ++ ++dep_on_JudySL_funcs = JudySLGet JudySLIns JudySLDel JudySLFirst JudySLNext JudySLLast JudySLPrev JudySLFreeArray ++ ++$(patsubst %,man/man3/%,$(dep_on_JudySL_funcs)): man/man3/JudySL_funcs + + man/man3/JudySL_funcs: + ../tool/jhton ext/JudySL_funcs_3.htm | grep -v '^[ ]*$$' | sed -e 's/\.C//' > man/man3/JudySL_funcs +- cd man/man3; ln -s JudySL_funcs JudySLGet +- cd man/man3; ln -s JudySL_funcs JudySLIns +- cd man/man3; ln -s JudySL_funcs JudySLDel +- cd man/man3; ln -s JudySL_funcs JudySLFirst +- cd man/man3; ln -s JudySL_funcs JudySLNext +- cd man/man3; ln -s JudySL_funcs JudySLLast +- cd man/man3; ln -s JudySL_funcs JudySLPrev +- cd man/man3; ln -s JudySL_funcs JudySLFreeArray ++ cd man/man3 && \ ++ for man in $(dep_on_JudySL_funcs); do \ ++ ln -s JudySL_funcs $$man; \ ++ done ++ ++dep_on_JudyHS = JHSG JHSI JHSD JHSFA ++ ++$(patsubst %,man/man3/%,$(dep_on_JudyHS)): man/man3/JudyHS + + man/man3/JudyHS: + ../tool/jhton ext/JudyHS_3.htm | grep -v '^[ ]*$$' | sed -e 's/\.C//' > man/man3/JudyHS +- cd man/man3; ln -s JudyHS JHSG +- cd man/man3; ln -s JudyHS JHSI +- cd man/man3; ln -s JudyHS JHSD +- cd man/man3; ln -s JudyHS JHSFA ++ cd man/man3 && \ ++ for man in $(dep_on_JudyHS); do \ ++ ln -s JudyHS $$man; \ ++ done ++ ++dep_on_JudyHS_funcs = JudyHSGet JudyHSIns JudyHSDel JudyHSFreeArray ++ ++$(patsubst %,man/man3/%,$(dep_on_JudyHS_funcs)): man/man3/JudyHS_funcs + + man/man3/JudyHS_funcs: + ../tool/jhton ext/JudyHS_funcs_3.htm | grep -v '^[ ]*$$' | sed -e 's/\.C//' > man/man3/JudyHS_funcs +- cd man/man3; ln -s JudyHS_funcs JudyHSGet +- cd man/man3; ln -s JudyHS_funcs JudyHSIns +- cd man/man3; ln -s JudyHS_funcs JudyHSDel +- cd man/man3; ln -s JudyHS_funcs JudyHSFreeArray ++ cd man/man3 && \ ++ for man in $(dep_on_JudyHS_funcs); do \ ++ ln -s JudyHS_funcs $$man; \ ++ done + diff --git a/dev-libs/judy/files/judy-1.0.5-parallel-make.patch b/dev-libs/judy/files/judy-1.0.5-parallel-make.patch new file mode 100644 index 000000000000..b332e2038ff8 --- /dev/null +++ b/dev-libs/judy/files/judy-1.0.5-parallel-make.patch @@ -0,0 +1,186 @@ +https://sourceforge.net/tracker/index.php?func=detail&aid=2219175&group_id=55753&atid=478140 + +=== modified file 'doc/Makefile.am' +--- doc/Makefile.am 2009-12-27 10:41:45 +0000 ++++ doc/Makefile.am 2009-12-27 10:56:50 +0000 +@@ -94,116 +94,95 @@ + man/man3/JudyHSFreeArray + + ++dep_on_Judy = J1T J1S J1U J1F J1N J1L J1P J1FE J1NE J1LE J1PE J1C J1BC J1FA J1MU ++ ++$(patsubst %,man/man3/%,$(dep_on_Judy)): man/man3/Judy + + man/man3/Judy: + ../tool/jhton ext/Judy_3.htm | grep -v '^[ ]*$$' | sed -e 's/\.C//' > man/man3/Judy ++ cd man/man3 && \ ++ for man in $(dep_on_Judy); do \ ++ ln -s Judy $$man; \ ++ done + + man/man3/Judy1: + ../tool/jhton ext/Judy1_3.htm | grep -v '^[ ]*$$' | sed -e 's/\.C//' > man/man3/Judy1 +- cd man/man3; ln -s Judy J1T +- cd man/man3; ln -s Judy J1S +- cd man/man3; ln -s Judy J1U +- cd man/man3; ln -s Judy J1F +- cd man/man3; ln -s Judy J1N +- cd man/man3; ln -s Judy J1L +- cd man/man3; ln -s Judy J1P +- cd man/man3; ln -s Judy J1FE +- cd man/man3; ln -s Judy J1NE +- cd man/man3; ln -s Judy J1LE +- cd man/man3; ln -s Judy J1PE +- cd man/man3; ln -s Judy J1C +- cd man/man3; ln -s Judy J1BC +- cd man/man3; ln -s Judy J1FA +- cd man/man3; ln -s Judy J1MU ++ ++dep_on_Judy1_funcs = Judy1Test Judy1Set Judy1Unset Judy1First Judy1Next Judy1Last Judy1Prev Judy1FirstEmpty Judy1NextEmpty Judy1LastEmpty Judy1PrevEmpty Judy1Count Judy1ByCount Judy1FreeArray Judy1MemUsed ++ ++$(patsubst %,man/man3/%,$(dep_on_Judy1_funcs)): man/man3/Judy1_funcs + + man/man3/Judy1_funcs: + ../tool/jhton ext/Judy1_funcs_3.htm | grep -v '^[ ]*$$' | sed -e 's/\.C//' > man/man3/Judy1_funcs +- cd man/man3; ln -s Judy1_funcs Judy1Test +- cd man/man3; ln -s Judy1_funcs Judy1Set +- cd man/man3; ln -s Judy1_funcs Judy1Unset +- cd man/man3; ln -s Judy1_funcs Judy1First +- cd man/man3; ln -s Judy1_funcs Judy1Next +- cd man/man3; ln -s Judy1_funcs Judy1Last +- cd man/man3; ln -s Judy1_funcs Judy1Prev +- cd man/man3; ln -s Judy1_funcs Judy1FirstEmpty +- cd man/man3; ln -s Judy1_funcs Judy1NextEmpty +- cd man/man3; ln -s Judy1_funcs Judy1LastEmpty +- cd man/man3; ln -s Judy1_funcs Judy1PrevEmpty +- cd man/man3; ln -s Judy1_funcs Judy1Count +- cd man/man3; ln -s Judy1_funcs Judy1ByCount +- cd man/man3; ln -s Judy1_funcs Judy1FreeArray +- cd man/man3; ln -s Judy1_funcs Judy1MemUsed ++ cd man/man3 && \ ++ for man in $(dep_on_Judy1_funcs); do \ ++ ln -s Judy1_funcs $$man; \ ++ done ++ ++dep_on_JudyL= JLG JLI JLD JLF JLN JLL JLP JLFE JLNE JLLE JLPE JLC JLBC JLFA JLMU ++ ++$(patsubst %,man/man3/%,$(dep_on_JudyL)): man/man3/JudyL + + man/man3/JudyL: + ../tool/jhton ext/JudyL_3.htm | grep -v '^[ ]*$$' | sed -e 's/\.C//' > man/man3/JudyL +- cd man/man3; ln -s JudyL JLG +- cd man/man3; ln -s JudyL JLI +- cd man/man3; ln -s JudyL JLD +- cd man/man3; ln -s JudyL JLF +- cd man/man3; ln -s JudyL JLN +- cd man/man3; ln -s JudyL JLL +- cd man/man3; ln -s JudyL JLP +- cd man/man3; ln -s JudyL JLFE +- cd man/man3; ln -s JudyL JLNE +- cd man/man3; ln -s JudyL JLLE +- cd man/man3; ln -s JudyL JLPE +- cd man/man3; ln -s JudyL JLC +- cd man/man3; ln -s JudyL JLBC +- cd man/man3; ln -s JudyL JLFA +- cd man/man3; ln -s JudyL JLMU ++ cd man/man3 && \ ++ for man in $(dep_on_JudyL); do \ ++ ln -s JudyL $$man; \ ++ done ++ ++dep_on_JudyL_funcs = JudyLGet JudyLIns JudyLDel JudyLFirst JudyLNext JudyLLast JudyLPrev JudyLFirstEmpty JudyLNextEmpty JudyLLastEmpty JudyLPrevEmpty JudyLCount JudyLByCount JudyLFreeArray JudyLMemUsed ++ ++$(patsubst %,man/man3/%,$(dep_on_JudyL_funcs)): man/man3/JudyL_funcs + + man/man3/JudyL_funcs: + ../tool/jhton ext/JudyL_funcs_3.htm | grep -v '^[ ]*$$' | sed -e 's/\.C//' > man/man3/JudyL_funcs +- cd man/man3; ln -s JudyL_funcs JudyLGet +- cd man/man3; ln -s JudyL_funcs JudyLIns +- cd man/man3; ln -s JudyL_funcs JudyLDel +- cd man/man3; ln -s JudyL_funcs JudyLFirst +- cd man/man3; ln -s JudyL_funcs JudyLNext +- cd man/man3; ln -s JudyL_funcs JudyLLast +- cd man/man3; ln -s JudyL_funcs JudyLPrev +- cd man/man3; ln -s JudyL_funcs JudyLFirstEmpty +- cd man/man3; ln -s JudyL_funcs JudyLNextEmpty +- cd man/man3; ln -s JudyL_funcs JudyLLastEmpty +- cd man/man3; ln -s JudyL_funcs JudyLPrevEmpty +- cd man/man3; ln -s JudyL_funcs JudyLCount +- cd man/man3; ln -s JudyL_funcs JudyLByCount +- cd man/man3; ln -s JudyL_funcs JudyLFreeArray +- cd man/man3; ln -s JudyL_funcs JudyLMemUsed ++ cd man/man3 && \ ++ for man in $(dep_on_JudyL_funcs); do \ ++ ln -s JudyL_funcs $$man; \ ++ done ++ ++dep_on_JudySL = JSLG JSLI JSLD JSLF JSLN JSLL JSLP JSLFA ++ ++$(patsubst %,man/man3/%,$(dep_on_JudySL)): man/man3/JudySL + + man/man3/JudySL: + ../tool/jhton ext/JudySL_3.htm | grep -v '^[ ]*$$' | sed -e 's/\.C//' > man/man3/JudySL +- cd man/man3; ln -s JudySL JSLG +- cd man/man3; ln -s JudySL JSLI +- cd man/man3; ln -s JudySL JSLD +- cd man/man3; ln -s JudySL JSLF +- cd man/man3; ln -s JudySL JSLN +- cd man/man3; ln -s JudySL JSLL +- cd man/man3; ln -s JudySL JSLP +- cd man/man3; ln -s JudySL JSLFA ++ cd man/man3 && \ ++ for man in $(dep_on_JudySL); do \ ++ ln -s JudySL $$man; \ ++ done ++ ++dep_on_JudySL_funcs = JudySLGet JudySLIns JudySLDel JudySLFirst JudySLNext JudySLLast JudySLPrev JudySLFreeArray ++ ++$(patsubst %,man/man3/%,$(dep_on_JudySL_funcs)): man/man3/JudySL_funcs + + man/man3/JudySL_funcs: + ../tool/jhton ext/JudySL_funcs_3.htm | grep -v '^[ ]*$$' | sed -e 's/\.C//' > man/man3/JudySL_funcs +- cd man/man3; ln -s JudySL_funcs JudySLGet +- cd man/man3; ln -s JudySL_funcs JudySLIns +- cd man/man3; ln -s JudySL_funcs JudySLDel +- cd man/man3; ln -s JudySL_funcs JudySLFirst +- cd man/man3; ln -s JudySL_funcs JudySLNext +- cd man/man3; ln -s JudySL_funcs JudySLLast +- cd man/man3; ln -s JudySL_funcs JudySLPrev +- cd man/man3; ln -s JudySL_funcs JudySLFreeArray ++ cd man/man3 && \ ++ for man in $(dep_on_JudySL_funcs); do \ ++ ln -s JudySL_funcs $$man; \ ++ done ++ ++dep_on_JudyHS = JHSG JHSI JHSD JHSFA ++ ++$(patsubst %,man/man3/%,$(dep_on_JudyHS)): man/man3/JudyHS + + man/man3/JudyHS: + ../tool/jhton ext/JudyHS_3.htm | grep -v '^[ ]*$$' | sed -e 's/\.C//' > man/man3/JudyHS +- cd man/man3; ln -s JudyHS JHSG +- cd man/man3; ln -s JudyHS JHSI +- cd man/man3; ln -s JudyHS JHSD +- cd man/man3; ln -s JudyHS JHSFA ++ cd man/man3 && \ ++ for man in $(dep_on_JudyHS); do \ ++ ln -s JudyHS $$man; \ ++ done ++ ++dep_on_JudyHS_funcs = JudyHSGet JudyHSIns JudyHSDel JudyHSFreeArray ++ ++$(patsubst %,man/man3/%,$(dep_on_JudyHS_funcs)): man/man3/JudyHS_funcs + + man/man3/JudyHS_funcs: + ../tool/jhton ext/JudyHS_funcs_3.htm | grep -v '^[ ]*$$' | sed -e 's/\.C//' > man/man3/JudyHS_funcs +- cd man/man3; ln -s JudyHS_funcs JudyHSGet +- cd man/man3; ln -s JudyHS_funcs JudyHSIns +- cd man/man3; ln -s JudyHS_funcs JudyHSDel +- cd man/man3; ln -s JudyHS_funcs JudyHSFreeArray ++ cd man/man3 && \ ++ for man in $(dep_on_JudyHS_funcs); do \ ++ ln -s JudyHS_funcs $$man; \ ++ done + + CLEANFILES = man/man3/* + diff --git a/dev-libs/judy/judy-1.0.4.ebuild b/dev-libs/judy/judy-1.0.4.ebuild new file mode 100644 index 000000000000..4522ea6035e7 --- /dev/null +++ b/dev-libs/judy/judy-1.0.4.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +inherit eutils autotools + +MY_P=Judy-${PV} + +DESCRIPTION="A C library that implements a dynamic array" +HOMEPAGE="http://judy.sourceforge.net/" +SRC_URI="mirror://sourceforge/judy/${MY_P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="alpha amd64 ~hppa ia64 ~mips ppc ppc64 sparc x86" +IUSE="" + +S=${WORKDIR}/${MY_P} + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${P}-parallel-make.patch" + sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' configure.ac || die + eautoreconf +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc AUTHORS ChangeLog README +} diff --git a/dev-libs/judy/judy-1.0.5-r1.ebuild b/dev-libs/judy/judy-1.0.5-r1.ebuild new file mode 100644 index 000000000000..cddafade8c6a --- /dev/null +++ b/dev-libs/judy/judy-1.0.5-r1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools ltprune multilib-minimal + +DESCRIPTION="A C library that implements a dynamic array" +HOMEPAGE="http://judy.sourceforge.net/" +SRC_URI="mirror://sourceforge/judy/Judy-${PV}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="static-libs" +DOCS=( AUTHORS ChangeLog README ) + +src_prepare() { + eapply -p0 "${FILESDIR}/${P}-parallel-make.patch" + sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' configure.ac || die + eapply_user + eautoreconf + multilib_copy_sources +} + +multilib_src_configure() { + ECONF_SOURCE=${BUILD_DIR} econf $(use_enable static-libs static) +} + +multilib_src_install_all(){ + einstalldocs + prune_libtool_files +} diff --git a/dev-libs/judy/judy-1.0.5.ebuild b/dev-libs/judy/judy-1.0.5.ebuild new file mode 100644 index 000000000000..ed9582a2a898 --- /dev/null +++ b/dev-libs/judy/judy-1.0.5.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="2" + +inherit eutils autotools + +DESCRIPTION="A C library that implements a dynamic array" +HOMEPAGE="http://judy.sourceforge.net/" +SRC_URI="mirror://sourceforge/judy/Judy-${PV}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ~ppc ~ppc64 ~s390 sparc x86" +IUSE="" + +src_prepare() { + epatch "${FILESDIR}/${P}-parallel-make.patch" + sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' configure.ac || die + eautoreconf +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc AUTHORS ChangeLog README +} diff --git a/dev-libs/judy/metadata.xml b/dev-libs/judy/metadata.xml new file mode 100644 index 000000000000..190567cb4957 --- /dev/null +++ b/dev-libs/judy/metadata.xml @@ -0,0 +1,11 @@ + + + + + grknight@gentoo.org + Brian Evans + + + judy + + diff --git a/dev-libs/kasync/Manifest b/dev-libs/kasync/Manifest new file mode 100644 index 000000000000..d480aa316876 --- /dev/null +++ b/dev-libs/kasync/Manifest @@ -0,0 +1,3 @@ +DIST kasync-0.2.0.tar.xz 28952 SHA256 0ff75cf4cbef3baff2ffd061bac737e7b05bd0f24f7a89ac83c4ea17a5ba4ac3 SHA512 cf0d59c4ed6978552599a1d36c08df180357e112867f3730f57b13673943eb365acd16892450f100e9e5f122220a06df64ee006a0d3651d0f05d78cb5195094d WHIRLPOOL 9b62383da1e82c9676f81eb155e15051c0d190e937078e6d73a0ccfe5295c69e8f44e14eb563cf8bf6e7df262f4dc013ff37357472a60e8aa3cee05f6a4bd823 +EBUILD kasync-0.2.0.ebuild 321 SHA256 3df8f477786f5f439dbfa06db0e622482a60270c4105a7cb42f946f520066f70 SHA512 54cf15d336b1f26e4e33fe53ef6443576c38d8e664da376446679f2ea7249fe62aa8972db96b15751d8f64cf9a88656fb6d2192c59da88556fff904a127cd0a1 WHIRLPOOL 88df3f291a9fb2f17cc61cae6c54a685c1c8b9bc71175b1e471c4a9096eddfa674eb3d760dd75e3ed4af04d877c9cdd6cb701d0be47d02fbb3effd019fad4513 +MISC metadata.xml 249 SHA256 584f1dcf51866dc24a9abf7a89bfba0fad11dde81ae1c1b715da41770d233c99 SHA512 76a5a340b13f0053ca3c5e94ed24380ea8d29b45ac8655419e22eaadb1e4a827c04d2e7e36b65145c4964e6526f656618fc6ac144e277ef53cb7373e6239e3c3 WHIRLPOOL 200c07a8bf7c55b11b7936d5cd30e991a511684913334e72f59def66c0ced5fed0b4a8754e2d98bffbab631cb90d4e17fcccc59d5dcc5a8e988f69e47c85518c diff --git a/dev-libs/kasync/kasync-0.2.0.ebuild b/dev-libs/kasync/kasync-0.2.0.ebuild new file mode 100644 index 000000000000..f30f9babba4d --- /dev/null +++ b/dev-libs/kasync/kasync-0.2.0.ebuild @@ -0,0 +1,14 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +KDE_TEST="forceoptional" +inherit kde5 + +DESCRIPTION="C++ library for controlling asynchronous tasks" +SRC_URI="mirror://kde/unstable/${PN}/${PV}/src/${P}.tar.xz" + +LICENSE="LGPL-2+" +KEYWORDS="~amd64" +IUSE="" diff --git a/dev-libs/kasync/metadata.xml b/dev-libs/kasync/metadata.xml new file mode 100644 index 000000000000..2fdbf33d963d --- /dev/null +++ b/dev-libs/kasync/metadata.xml @@ -0,0 +1,8 @@ + + + + + kde@gentoo.org + Gentoo KDE Project + + diff --git a/dev-libs/kdiagram/Manifest b/dev-libs/kdiagram/Manifest new file mode 100644 index 000000000000..c620a58d12e1 --- /dev/null +++ b/dev-libs/kdiagram/Manifest @@ -0,0 +1,4 @@ +DIST kdiagram-2.6.0.tar.xz 683792 SHA256 02788dad7e15c64b74a2d1073c5910469ab4cf46ba905030c1713dce45981882 SHA512 243839e23171f5deafb167e5a05f1a2841f0294c9f7944cd2580c9e72830a7082a84e4dddd70da620751bcad4086325747e2308872dc272404540b13d91e4ca3 WHIRLPOOL 237819a1f412c08054fc051c09fa4d2e19e63b7d00787cfb404f0d466dbd49b9bae60130a68ae33ac241083716cf5826aebfcda67d988d006bd805c8b68d9e75 +EBUILD kdiagram-2.6.0.ebuild 540 SHA256 97eb3703e2f9626fbbc318d2d43f5593faf7dbfe0cce4824db127fb5a8d6e89d SHA512 a3b4e0bf4524d075d7919be7e9444b7afe83be1d48c552805318c712af9f9706f3edbda1d2dfcc92339e8693e7640a75e0957d45deb2d65fe5d540d2488ab684 WHIRLPOOL 510fdb5d5d4196b69890159a9d8a90eb3faa1ca2aa0455e3eb552a747e47cb896140d342b4f4c885ee0641f57fa0e0b109e2f684c8827427e142e5a4df9a283b +MISC ChangeLog 472 SHA256 6b7db7f1d83a89d937a8614378ac71834bcd75229b4e4c35b0644b668d19cec6 SHA512 5f306e72e3703eef0435f7a71c309268a046a97168142123c698f235a7d65c4fdf95d4f3f95fa0936c856768c03f9ec4a3c9f19600621996b95e3cf1fd55f78d WHIRLPOOL 14dca638048fe7eec28e27ad03b8b460f50b011f9a46e8a1ce2e4a8be6a497e8387faba3b9980be4e6f03088166fb2dc6a2416f29072d63dcf4a680b35e3f65c +MISC metadata.xml 249 SHA256 584f1dcf51866dc24a9abf7a89bfba0fad11dde81ae1c1b715da41770d233c99 SHA512 76a5a340b13f0053ca3c5e94ed24380ea8d29b45ac8655419e22eaadb1e4a827c04d2e7e36b65145c4964e6526f656618fc6ac144e277ef53cb7373e6239e3c3 WHIRLPOOL 200c07a8bf7c55b11b7936d5cd30e991a511684913334e72f59def66c0ced5fed0b4a8754e2d98bffbab631cb90d4e17fcccc59d5dcc5a8e988f69e47c85518c diff --git a/dev-libs/kdiagram/kdiagram-2.6.0.ebuild b/dev-libs/kdiagram/kdiagram-2.6.0.ebuild new file mode 100644 index 000000000000..7e2c6bd77019 --- /dev/null +++ b/dev-libs/kdiagram/kdiagram-2.6.0.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit kde5 + +DESCRIPTION="Powerful libraries (KChart, KGantt) for creating business diagrams" +HOMEPAGE="https://www.kde.org/" +IUSE="" + +if [[ ${KDE_BUILD_TYPE} = release ]]; then + KEYWORDS="amd64 x86" + SRC_URI="mirror://kde/stable/${PN}/${PV}/src/${P}.tar.xz" +fi + +RDEPEND=" + $(add_qt_dep qtgui) + $(add_qt_dep qtprintsupport) + $(add_qt_dep qtsvg) + $(add_qt_dep qtwidgets) +" +DEPEND="${RDEPEND} + $(add_qt_dep linguist-tools) +" diff --git a/dev-libs/kdiagram/metadata.xml b/dev-libs/kdiagram/metadata.xml new file mode 100644 index 000000000000..2fdbf33d963d --- /dev/null +++ b/dev-libs/kdiagram/metadata.xml @@ -0,0 +1,8 @@ + + + + + kde@gentoo.org + Gentoo KDE Project + + diff --git a/dev-libs/keybinder/Manifest b/dev-libs/keybinder/Manifest new file mode 100644 index 000000000000..2942f0321298 --- /dev/null +++ b/dev-libs/keybinder/Manifest @@ -0,0 +1,7 @@ +DIST keybinder-0.3.1.tar.gz 391730 SHA256 879f07130ac64792ddb9fd758e6673119283bda37d75573787ae22af8684a240 SHA512 aec4070b3d3b6c00900c3cb814e4b6a98beea09817eba3c3f7e6d5ce1ff68c091d183583f09b475e3e56bac67c94c1d912ebbe079dcece8195ac0ed9379d5f82 WHIRLPOOL 016bd88c4ddad54c74e7a39b9fca75b3b282b570fa9d25c74713095c22a8d388f3224c87a6c46220ad255b9b2b068790e75efc71055714e540d15917e534517b +DIST keybinder-3.0-0.3.1.tar.gz 358650 SHA256 d97d699f31169976e4cda49a8490f69326e652269a2379907a805948d116fd23 SHA512 af65ce02707ed2712c70470c9151bffee87e6d5b3b97218b653d3061b74001a7f3ac59e15b71362e4466e7ac16573bdb6331dc00ebccd906ce08ca8176b6770f WHIRLPOOL 79dc194413ac9725522847dc7130f9550ac7796be037762af618c63b2c41712108646cc5a730c51e1003c9a898ffd7fff4cf7e30adeb78a6acec85e9c6cf2545 +EBUILD keybinder-0.3.1-r200.ebuild 1173 SHA256 d353698da50ecf006d320d2d70f8557bf0e5e2df183d3d6b149fc89de6c697f0 SHA512 631ab2a39cb8fe98b95c961dcecd252741fd1799353ecba32637e47afb8338ac29f112ff506b732cef9cd31e75bdf48ecb2a6464c414bc4e3ea7b945152a8ce1 WHIRLPOOL d253d1af75f02505db01a1f6c333f0b39f652b34e788663dafb3b8e42228785f3e74bb79343aa3a515ed9b22998de277838b863fc749d1ca320a311afff07a8f +EBUILD keybinder-0.3.1-r300.ebuild 939 SHA256 0dc5c2f47ed81d116c1a8b6a6a161069d26eaef36a0fc0b226a7e30e87362d80 SHA512 c84f03c94a0a27549ffe215a0648882f324f80d38e30c49a97a2b8529c133737c673f74545d2742efdc845d2be5717c66624fdf6ec34e7dbb442c3c71c70efa7 WHIRLPOOL bf9e379bfab62f3104cb67faf2f58b2352b13e8865363a2580ae3720f1ce42b9395c3d4e461c744bb28fbac0d3c7a5df5e0aad745d122bcba3dea94d5f32b9eb +MISC ChangeLog 5258 SHA256 10cc3f1d17d4c8a3098d63147dbbd0a7dc79b5f664db55c5d6781c0646f6555c SHA512 e00d6acc0e4f5bb0c25a6df567281739118dbb1ac1eb48cc7118bfe7ce52d18d1aa044235dab977df7d6ecb64131b586b9a54c2d59bdcb2e4492d57a8704d7d4 WHIRLPOOL 1b2ab22849810a79596d6929b37d1108c18a7026f878e451f21d3ab95e0294fcccf8196abe2d1fbec0d2dcb0fd8cb2ae240acca26bd7911192e1fb6530224bb6 +MISC ChangeLog-2015 2379 SHA256 ed694f119c1a3bece7f03f906703b443d7d48ad71fff651f0aba2fb943cefbf5 SHA512 5a89dd70e55fc7a7f658f941cd0fd54849ce4ef9f5260d6607ddf3b0193a08aa9d657d554b023c094357cf5cbb9379d9eaf3e1f64bddd5beb2e38cb5af553307 WHIRLPOOL 2bfb3b95108dae8137fbb9be47a9ed77f9e09280f637cb57a2dcde984c92a0bde563fe928ce9c893443942ab2ed3f4a3090ea008b2d3979e74cae8296e4e55f2 +MISC metadata.xml 223 SHA256 aa7758c3656568ec04703b8ca42b186ae2c41c8a0c90e7c75d478124d68f80e7 SHA512 8fbb217256f73ea719d6b267940c2ff296e62c13f64836a0485051019c88475a4ec7800bda03d1e69e84e9bad96f8f1a9a6f8392cd3a2dea3bac4967721e58d2 WHIRLPOOL fa890127d77064b68d9cc14e49fd15fff8e487b676e94d1742be4a01610e3134fc819e525d49075f4fcc87aacbfb7d3f1cb9d719442ae4ea38f6925b90bc583d diff --git a/dev-libs/keybinder/keybinder-0.3.1-r200.ebuild b/dev-libs/keybinder/keybinder-0.3.1-r200.ebuild new file mode 100644 index 000000000000..05751c8eface --- /dev/null +++ b/dev-libs/keybinder/keybinder-0.3.1-r200.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) + +inherit eutils python-single-r1 + +DESCRIPTION="A library for registering global keyboard shortcuts" +HOMEPAGE="https://github.com/engla/keybinder" +SRC_URI="https://github.com/engla/keybinder/releases/download/v${PV}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 x86" +IUSE="+introspection lua python" + +RDEPEND=">=x11-libs/gtk+-2.20:2 + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXrender + introspection? ( dev-libs/gobject-introspection ) + lua? ( >=dev-lang/lua-5.1 ) + python? ( ${PYTHON_DEPS} + >=dev-python/pygobject-2.15.3:2[${PYTHON_USEDEP}] + >=dev-python/pygtk-2.12[${PYTHON_USEDEP}] + )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +DOCS="AUTHORS NEWS README" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +pkg_setup() { + use python && python-single-r1_pkg_setup +} + +src_configure() { + local myconf + use lua || myconf='--disable-lua' + + econf \ + $(use_enable introspection) \ + $(use_enable python) \ + ${myconf} +} + +src_install() { + default + prune_libtool_files --all +} diff --git a/dev-libs/keybinder/keybinder-0.3.1-r300.ebuild b/dev-libs/keybinder/keybinder-0.3.1-r300.ebuild new file mode 100644 index 000000000000..2583c443358b --- /dev/null +++ b/dev-libs/keybinder/keybinder-0.3.1-r300.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils + +MY_P=${PN}-3.0-${PV} + +DESCRIPTION="A library for registering global keyboard shortcuts" +HOMEPAGE="https://github.com/engla/keybinder" +SRC_URI="https://github.com/engla/keybinder/releases/download/${PN}-3.0-v${PV}/${MY_P}.tar.gz" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ppc ppc64 x86" +IUSE="+introspection" + +RDEPEND="x11-libs/gtk+:3 + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXrender + introspection? ( dev-libs/gobject-introspection )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +DOCS="AUTHORS NEWS README" + +S=${WORKDIR}/${MY_P} + +src_configure() { + econf \ + $(use_enable introspection) \ + --with-html-dir="${EPREFIX}/usr/share/doc/${PF}/html" +} + +src_install() { + default + prune_libtool_files --all + dosym /usr/share/doc/${PF}/html/${PN}-3.0 /usr/share/gtk-doc/html/${PN}-3.0 +} diff --git a/dev-libs/keybinder/metadata.xml b/dev-libs/keybinder/metadata.xml new file mode 100644 index 000000000000..61950dc27134 --- /dev/null +++ b/dev-libs/keybinder/metadata.xml @@ -0,0 +1,7 @@ + + + + + engla/keybinder + + diff --git a/dev-libs/klibc/Manifest b/dev-libs/klibc/Manifest new file mode 100644 index 000000000000..5a50ba24d712 --- /dev/null +++ b/dev-libs/klibc/Manifest @@ -0,0 +1,12 @@ +AUX klibc-1.4.11-interp-flags.patch 494 SHA256 ef8c05d059bc0185b8b68ea42e660fa13ddb55e9653b10fbfdabd77dea7abe2a SHA512 64242223dee668467b52092dba81a3ab29137d3611cf11f331aae1fa9eb8a3ae19b3847128bd693cd2c835c7e2ff1e247cae821561ca7c039bb4a212c8726a42 WHIRLPOOL 46bb64ab7a398f4998d1455d42d8596a9be37f2919835198d098f5935e2f7aa0b8735acb1b79f5ddaf4b17e7af3c4f805b8d63496aa0568757a15bc187461a37 +AUX klibc-1.5.7-strip-fix-dash-s.patch 420 SHA256 971cadc28aa362ff76ebfee8187bb6986afb4f3425b70b7200d1aa1c6fd746e7 SHA512 c1c70c86d34ac1ea716fe5f2caeb3005db6d060ed0c5dabe94a44f0317725c7775a9da8e463b71b8533f0315d6e0cd861c8684ddf1f426586296dc69d88ac438 WHIRLPOOL 38622e4a1a00cd418f39e5b23e90f83486c0c6d3421fc3b900a039739294552ab5f080de8f17c17c39efc0038451ba0345d3f3ffebbe77fb3f63d111873881de +AUX klibc-2.0.2-mkfifo.patch 488 SHA256 25491130c2d7f4b842e97584e16db4a66658d0c1afa808f6264920d9fbcca8c5 SHA512 9e72e10eae1639da2821ac14767ae7f8df1b7dcb2f559a47d8e6ac7f6ffa865a13f93c9824b8051cc2d0d23cac2c228274cfc3dabfac060eb32275d2eca100ac WHIRLPOOL 7daf8981b8555a78aad3c0afebcbc267bf9bae33f96f5be4d6829cddcd6410c44fc52609dd6f64525d21149f42508caf235470edd3c63b1ebb53f6fd73b19bd6 +AUX klibc-2.0.3-kernel-uapi.patch 4584 SHA256 bd36198544896ec1af275f4d7a79940ffb4bb862b513371b83397aca5d09f14e SHA512 c0ed840875da65a185915a9ba1df335ec05bebfbb30f6be1bdf97fd94e45fdbd63c34ee70abb18cf71039876b71929ffa42fca6767c2ed8326e24454763761c5 WHIRLPOOL e6e25bc01da75157c18510105a9295dd7bbacdb69081e594bff586da2b2859d34460fa87a037075753ed301d6fcc556301abeaaee954451c61d870c1a20a7962 +AUX klibc.m4 3619 SHA256 02901ef2ca8b320d77b03fab4fa9bef809c11e2e418e7da00aa2c13c4a84dd44 SHA512 42cf4add07031105689d7438838e0306d32a637e8a4719afc11722fd8f1ac040e6bb92cc7ba3536b83a6de8907a91bc5ad11036f22810443f4cd24161950cc6b WHIRLPOOL 798f1af18939edb2c48aacf34cf4ef107468eeb47679d2695350c873bf19121ecdecb797b3a825675bee32b04f057211b2402b2a86d138a203c14f699da45c28 +DIST klibc-2.0.4.tar.xz 469348 SHA256 7f9a0850586def7cf4faeeb75e5d0f66e613674c524f6e77b0f4d93a26c801cb SHA512 7a01d1744b49f3de64111fefc522b1d63f054199acf671254bc046d6f1d0b6ca68e050c99025bf8303751c2466a5e034677555649ae5909c40997858d393db8d WHIRLPOOL f5dc71b48f118155df512d8ac839b66d361b22ff4e040e49a562722d82f18ac83a8c682bf0b4c59a9b108473f74bebc673d38456cf0ab5b1051071ca3fa9b78e +DIST klibc_2.0.4-9.debian.tar.xz 28628 SHA256 069f3496d66bda23bca227acdbf2b5e5b57e57419db619c293b81ed4929aba12 SHA512 0fe9a6642be962fa631919850d7eeed5a87c10682766ee10fe31dec2b19a6179e0067602acb26bdc2aa8ceecfd39b1dc95a76f3b0a9bc813b172c0ffe9f0ff53 WHIRLPOOL 96de652f4b0cea4e2c117f541d820b9e869c05763e408b7bd203d04ae2b70a89939713794e0dda27f253b2662ef03aea62bd669b06de4a2290f807890b1b01e8 +DIST linux-4.4.tar.xz 87295988 SHA256 401d7c8fef594999a460d10c72c5a94e9c2e1022f16795ec51746b0d165418b2 SHA512 13c8459933a8b80608e226a1398e3d1848352ace84bcfb7e6a4a33cb230bbe1ab719d4b58e067283df91ce5311be6d2d595fc8c19e2ae6ecc652499415614b3e WHIRLPOOL 02abc203d867404b9934aaa4c1e5b5dcbb0b0021e91a03f3a7e7fd224eed106821d8b4949f32a590536db150e5a88c16fcde88538777a26d0c17900f0257b1bc +EBUILD klibc-2.0.4-r2.ebuild 9393 SHA256 81275bcd18dd0116910619d9c86b42641abd8ce583bdc7a35d564c6ddd10862f SHA512 4f8fc87424636ac7d083ce20e4f5da20ae83169bc7186b151ff5caf7dfd1e8ac0642a9f44b90d69984e4c948a7bd4a7b88cdfb07ad2a12e207e15ac675c6b108 WHIRLPOOL 37b02d2d041fa2f13c25ba1c4cf0b1037f40b2b515316b24c78ab4319ddc442ce6d86d976e7848365060e5f699aa5816f3afa5df669cf14119307d46fb77af05 +MISC ChangeLog 4286 SHA256 8f9a2c6a13e39368e2bb82403487a123100e3ee93004c05b8b37fed6e71af56f SHA512 5fedf8cc8659213e556ad6d6a86ae726429fca30a3a7a096119b9fca62a840258641861456f124ab15bb549579f44f9be7258ce159ed93437b921766ce0b8906 WHIRLPOOL 64a0c9e14062544a727e244fa69d2807c830f20d76368851d0d20993c8224e38601f595895c5e3fd3dbb2a90ccf788dee1887c372620fd1dfd2081b9968f7810 +MISC ChangeLog-2015 16993 SHA256 06628109b26d2708c47ce6d7beac252b6a02d521e50c461a2b2a24e793e6becb SHA512 e24023d83cd5c0c7c7291ba2dc517046e464f85408a079a199bb0a8b72b0614cf1a5add3a4ac78ca8a2c969322d149f3836dc8ef502a21033495e91186b56772 WHIRLPOOL a3d97e479852db0c9042c382807d5760424e458905a403f5f316cde96c1ab30bf67f6e16d2e0d159e492a4845ef0a54a861704a9a3ebd178cfa80f8243f676d9 +MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968 diff --git a/dev-libs/klibc/files/klibc-1.4.11-interp-flags.patch b/dev-libs/klibc/files/klibc-1.4.11-interp-flags.patch new file mode 100644 index 000000000000..a5bb91765287 --- /dev/null +++ b/dev-libs/klibc/files/klibc-1.4.11-interp-flags.patch @@ -0,0 +1,13 @@ +diff --git a/usr/klibc/Kbuild b/usr/klibc/Kbuild +index c2bfd2f..8066bda 100644 +--- a/usr/klibc/Kbuild ++++ b/usr/klibc/Kbuild +@@ -152,7 +152,7 @@ # build interp.o + targets += interp.o + + quiet_cmd_interp = BUILD $@ +- cmd_interp = $(KLIBCCC) $(klibccflags) -D__ASSEMBLY__ \ ++ cmd_interp = $(KLIBCCC) $(klibccflags) $(EXTRA_KLIBCAFLAGS) -D__ASSEMBLY__ \ + -DLIBDIR=\"$(SHLIBDIR)\" \ + -DSOHASH=\"$(SOLIBHASH)\" \ + -c -o $@ $< diff --git a/dev-libs/klibc/files/klibc-1.5.7-strip-fix-dash-s.patch b/dev-libs/klibc/files/klibc-1.5.7-strip-fix-dash-s.patch new file mode 100644 index 000000000000..94a0caee2526 --- /dev/null +++ b/dev-libs/klibc/files/klibc-1.5.7-strip-fix-dash-s.patch @@ -0,0 +1,12 @@ +diff -Naurp klibc-1.5.7-orig/klcc/klcc.in klibc-1.5.7/klcc/klcc.in +--- klibc-1.5.7-orig/klcc/klcc.in 2007-12-03 01:17:26.000000000 +0100 ++++ klibc-1.5.7/klcc/klcc.in 2007-12-03 01:18:39.000000000 +0100 +@@ -259,7 +259,7 @@ if ( $operation ne '' ) { + unlink(@rmobjs); + + if ( $strip && !$rv ) { +- $rv = mysystem($STRIP, @STRIPFLAGS, $output); ++ $rv = mysystem($STRIP, @STRIPFLAGS, $output || 'a.out'); + } + } + diff --git a/dev-libs/klibc/files/klibc-2.0.2-mkfifo.patch b/dev-libs/klibc/files/klibc-2.0.2-mkfifo.patch new file mode 100644 index 000000000000..3ddf834d46da --- /dev/null +++ b/dev-libs/klibc/files/klibc-2.0.2-mkfifo.patch @@ -0,0 +1,15 @@ +diff -Nuar --exclude '*.g' --exclude '*.cmd' klibc-2.0.2-r1/work/klibc-2.0.2/usr/utils/mkfifo.c klibc-2.0.2.orig/work/klibc-2.0.2/usr/utils/mkfifo.c +--- a/usr/utils/mkfifo.c 2012-10-03 09:41:43.000000000 -0700 ++++ b/usr/utils/mkfifo.c 2013-12-26 13:19:34.270949780 -0800 +@@ -13,6 +13,11 @@ + + char *progname; + ++int mkfifo (const char *__p, mode_t __m) ++{ ++ return mknod(__p, (__m & ~S_IFMT) | S_IFIFO, (dev_t) 0); ++} ++ + static int make_fifo(char *dir) + { + if (mkfifo(dir, leaf_mode)) { diff --git a/dev-libs/klibc/files/klibc-2.0.3-kernel-uapi.patch b/dev-libs/klibc/files/klibc-2.0.3-kernel-uapi.patch new file mode 100644 index 000000000000..7d253977e998 --- /dev/null +++ b/dev-libs/klibc/files/klibc-2.0.3-kernel-uapi.patch @@ -0,0 +1,88 @@ +Update header locations for uapi & generated + +In the v3.6 kernel, many of the headers were split out into a uapi variant. +klibc should be using those variants to compile. + +There is also a generated subdir, to seperate out generated headers. + +The old kernel header location needs to be included as well, because +linux/compiler.h is available only in the base include directory. + +Signed-off-by: Robin H. Johnson + +diff -Nuar klibc-2.0.3.orig/scripts/Kbuild.klibc klibc-2.0.3/scripts/Kbuild.klibc +--- klibc-2.0.3.orig/scripts/Kbuild.klibc 2013-12-03 10:53:46.000000000 -0800 ++++ klibc-2.0.3/scripts/Kbuild.klibc 2013-12-26 14:39:07.113906101 -0800 +@@ -77,7 +77,10 @@ + KLIBCCFLAGS := + + # Defaults for arch to override +-KLIBCARCHINCFLAGS = -I$(KLIBCKERNELOBJ)/arch/$(KLIBCARCH)/include ++KLIBCARCHINCFLAGS = -I$(KLIBCKERNELOBJ)/arch/$(KLIBCARCH)/include/uapi \ ++ -I$(KLIBCKERNELOBJ)/arch/$(KLIBCARCH)/include/generated/uapi \ ++ -I$(KLIBCKERNELOBJ)/arch/$(KLIBCARCH)/include/generated \ ++ -I$(KLIBCKERNELOBJ)/arch/$(KLIBCARCH)/include + + # Arch specific definitions for klibc + include $(srctree)/$(KLIBCSRC)/arch/$(KLIBCARCHDIR)/MCONFIG +@@ -116,6 +119,9 @@ +-KLIBCCPPFLAGS += -I$(KLIBCKERNELSRC)/include \ ++KLIBCCPPFLAGS += -I$(KLIBCKERNELSRC)/include/uapi \ ++ -I$(KLIBCKERNELSRC)/include/generated/uapi \ ++ -I$(KLIBCKERNELSRC)/include/generated \ ++ -I$(KLIBCKERNELSRC)/include \ + $(if $(KBUILD_SRC),-I$(KLIBCKERNELOBJ)/include2 \ + -I$(KLIBCKERNELOBJ)/include -I$(srctree)/include) \ + $(KLIBCARCHINCFLAGS) + + # klibc definitions +diff -Nuar klibc-2.0.3.orig/usr/klibc/arch/i386/MCONFIG klibc-2.0.3/usr/klibc/arch/i386/MCONFIG +--- klibc-2.0.3.orig/usr/klibc/arch/i386/MCONFIG 2013-12-03 10:53:46.000000000 -0800 ++++ klibc-2.0.3/usr/klibc/arch/i386/MCONFIG 2013-12-26 14:44:56.349161344 -0800 +@@ -34,3 +34,6 @@ + + # Asm includes for i386 are in the merged x86 tree +-KLIBCARCHINCFLAGS = -I$(KLIBCKERNELOBJ)/arch/x86/include ++KLIBCARCHINCFLAGS = -I$(KLIBCKERNELOBJ)/arch/x86/include/uapi \ ++ -I$(KLIBCKERNELOBJ)/arch/x86/include/generated/uapi \ ++ -I$(KLIBCKERNELOBJ)/arch/x86/include/generated \ ++ -I$(KLIBCKERNELOBJ)/arch/x86/include +diff -Nuar klibc-2.0.3.orig/usr/klibc/arch/ppc/MCONFIG klibc-2.0.3/usr/klibc/arch/ppc/MCONFIG +--- klibc-2.0.3.orig/usr/klibc/arch/ppc/MCONFIG 2013-12-03 10:53:46.000000000 -0800 ++++ klibc-2.0.3/usr/klibc/arch/ppc/MCONFIG 2013-12-26 14:44:56.350161362 -0800 +@@ -24,6 +24,9 @@ + + # The kernel so far has both asm-ppc* and asm-powerpc. +-KLIBCARCHINCFLAGS = -I$(KLIBCKERNELOBJ)/arch/powerpc/include ++KLIBCARCHINCFLAGS = -I$(KLIBCKERNELOBJ)/arch/powerpc/include/uapi \ ++ -I$(KLIBCKERNELOBJ)/arch/powerpc/include/generated/uapi \ ++ -I$(KLIBCKERNELOBJ)/arch/powerpc/include/generated \ ++ -I$(KLIBCKERNELOBJ)/arch/powerpc/include + + # The asm include files live in asm-powerpc + KLIBCASMARCH = powerpc +diff -Nuar klibc-2.0.3.orig/usr/klibc/arch/ppc64/MCONFIG klibc-2.0.3/usr/klibc/arch/ppc64/MCONFIG +--- klibc-2.0.3.orig/usr/klibc/arch/ppc64/MCONFIG 2013-12-03 10:53:46.000000000 -0800 ++++ klibc-2.0.3/usr/klibc/arch/ppc64/MCONFIG 2013-12-26 14:44:56.350161362 -0800 +@@ -22,6 +22,9 @@ + + # The kernel so far has both asm-ppc* and asm-powerpc. +-KLIBCARCHINCFLAGS = -I$(KLIBCKERNELOBJ)/arch/powerpc/include ++KLIBCARCHINCFLAGS = -I$(KLIBCKERNELOBJ)/arch/powerpc/include/uapi \ ++ -I$(KLIBCKERNELOBJ)/arch/powerpc/include/generated/uapi \ ++ -I$(KLIBCKERNELOBJ)/arch/powerpc/include/generated \ ++ -I$(KLIBCKERNELOBJ)/arch/powerpc/include + + # The asm include files live in asm-powerpc + KLIBCASMARCH = powerpc +diff -Nuar klibc-2.0.3.orig/usr/klibc/arch/x86_64/MCONFIG klibc-2.0.3/usr/klibc/arch/x86_64/MCONFIG +--- klibc-2.0.3.orig/usr/klibc/arch/x86_64/MCONFIG 2013-12-03 10:53:46.000000000 -0800 ++++ klibc-2.0.3/usr/klibc/arch/x86_64/MCONFIG 2013-12-26 14:44:54.522128579 -0800 +@@ -37,3 +37,6 @@ + + # Asm includes for x86_64 are in the merged x86 tree +-KLIBCARCHINCFLAGS = -I$(KLIBCKERNELOBJ)/arch/x86/include ++KLIBCARCHINCFLAGS = -I$(KLIBCKERNELOBJ)/arch/x86/include/uapi \ ++ -I$(KLIBCKERNELOBJ)/arch/x86/include/generated/uapi \ ++ -I$(KLIBCKERNELOBJ)/arch/x86/include/generated \ ++ -I$(KLIBCKERNELOBJ)/arch/x86/include diff --git a/dev-libs/klibc/files/klibc.m4 b/dev-libs/klibc/files/klibc.m4 new file mode 100644 index 000000000000..389226974506 --- /dev/null +++ b/dev-libs/klibc/files/klibc.m4 @@ -0,0 +1,94 @@ +# klibc.m4 serial 99 +## Copyright (C) 1995-2003 Free Software Foundation, Inc. +## This file is free software, distributed under the terms of the GNU +## General Public License. As a special exception to the GNU General +## Public License, this file may be distributed as part of a program +## that contains a configuration script generated by Autoconf, under +## the same distribution terms as the rest of that program. +## +## This file can can be used in projects which are not available under +## the GNU General Public License or the GNU Library General Public +## License but which still want to provide support for the GNU gettext +## functionality. +## Please note that the actual code of the KLIBC Library is partly covered +## by the GNU Library General Public License, and party copyrighted by the +## Regents of The University of California, and the rest is covered by a +## MIT style license. + +# Authors: +# Martin Schlemmer , 2005. + + +# AC_CHECK_KLIBC +# -------------- +# Check if the user wants KLIBC support enabled. If so, set KLIBC=yes and +# fill in KLIBC_PREFIX, KLIBC_BINDIR, KLIBC_SBINDIR, KLIBC_LIBDIR and +# KLIBC_INCLUDEDIR. CC is also set to the proper klcc executable. +# NOTE: This should be called before AC_PROG_CC, and before header, function +# or type checks. +AC_DEFUN([AC_CHECK_KLIBC], +[AC_BEFORE([$0], [AC_PROG_CC]) +AC_REQUIRE([AC_CANONICAL_HOST]) +AC_ARG_ENABLE([klibc], + [AS_HELP_STRING([--enable-klibc], + [Enable linking to klibc [no]. You need at + least klibc-1.0 or later for this. Set KLCC + to the absolute file name of klcc if not in + the PATH])], + [KLIBC=$enableval], [KLIBC=no]) +AC_ARG_ENABLE([klibc-layout], + [AS_HELP_STRING([--enable-klibc-layout], + [Enable installing binaries, libraries and + headers into the klibc prefix [yes] ])], + [if test "X$KLIBC" != Xno; then + KLIBC_LAYOUT=$enableval + else + KLIBC_LAYOUT=no + fi], + [if test "X$KLIBC" != Xno; then + KLIBC_LAYOUT=yes + else + KLIBC_LAYOUT=no + fi]) + +if test "X$KLIBC" != Xno; then + # Basic cross compiling support. I do not think it is wise to use + # AC_CHECK_TOOL, because if we are cross compiling, we do not want + # just 'klcc' to be returned ... + if test "${host_alias}" != "${build_alias}"; then + AC_CHECK_PROGS([KLCC], [${host_alias}-klcc], [no]) + else + AC_CHECK_PROGS([KLCC], [klcc], [no]) + fi + if test "X$KLCC" = Xno; then + AC_MSG_ERROR([cannot find klibc frontend 'klcc'!]) + fi + + CC="$KLCC" + CFLAGS="-Os" + + KLIBC_KCROSS="$($KLCC -print-klibc-kcross 2>/dev/null)" + KLIBC_PREFIX="$($KLCC -print-klibc-prefix 2>/dev/null)" + KLIBC_BIN_DIR="$($KLCC -print-klibc-bindir 2>/dev/null)" + KLIBC_SBIN_DIR="${KLIBC_PREFIX}/${KLIBC_KCROSS}sbin" + KLIBC_LIB_DIR="$($KLCC -print-klibc-libdir 2>/dev/null)" + KLIBC_INCLUDE_DIR="$($KLCC -print-klibc-includedir 2>/dev/null)" + + if test "X$KLIBC_LAYOUT" != Xno; then + prefix="$KLIBC_PREFIX" + bindir="$KLIBC_BIN_DIR" + sbindir="$KLIBC_SBIN_DIR" + libdir="$KLIBC_LIB_DIR" + includedir="$KLIBC_INCLUDE_DIR" + fi + + # At least KLIBC_LIB_DIR should be valid, else klibc is too old or + # something went wrong + if test ! -d "$KLIBC_LIB_DIR"; then + AC_MSG_ERROR([your klibc installation is too old or not functional!]) + fi +fi + +AC_SUBST(KLIBC) +])# AC_CHECK_KLIBC + diff --git a/dev-libs/klibc/klibc-2.0.4-r2.ebuild b/dev-libs/klibc/klibc-2.0.4-r2.ebuild new file mode 100644 index 000000000000..eea7eee113fd --- /dev/null +++ b/dev-libs/klibc/klibc-2.0.4-r2.ebuild @@ -0,0 +1,317 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +# Robin H. Johnson , 12 Nov 2007: +# This still needs major work. +# But it is significently better than the previous version. +# In that it will now build on biarch systems, such as ppc64-32ul. + +# NOTES: +# ====== +# We need to bring in the kernel sources seperately +# Because they have to be configured in a way that differs from the copy in +# /usr/src/. The sys-kernel/linux-headers are too stripped down to use +# unfortunately. +# This will be able to go away once the klibc author updates his code +# to build again the headers provided by the kernel's 'headers_install' target. + +EAPI=6 +K_TARBALL_SUFFIX="xz" + +inherit eutils toolchain-funcs flag-o-matic + +DESCRIPTION="A minimal libc subset for use with initramfs" +HOMEPAGE="http://www.zytor.com/mailman/listinfo/klibc/ https://www.kernel.org/pub/linux/libs/klibc/" +KV_MAJOR="4" KV_MINOR="x" KV_SUB="4" +PKV_EXTRA="" +if [[ ${PKV_EXTRA} ]]; then + if [[ ${KV_MAJOR} == 2 ]]; then + PKV="${KV_MAJOR}.${KV_MINOR}.$((${KV_SUB}+1))-${PKV_EXTRA}" + else + PKV="${KV_MAJOR}.$((${KV_SUB}+1))-${PKV_EXTRA}" + fi + PATCH_URI="mirror://kernel/linux/kernel/v${KV_MAJOR}.${KV_MINOR}/patch-${PKV}.${K_TARBALL_SUFFIX}" +fi +if [[ ${KV_MAJOR} == 2 ]]; then + OKV="${KV_MAJOR}.${KV_MINOR}.${KV_SUB}" +else + OKV="${KV_MAJOR}.${KV_SUB}" +fi +KERNEL_URI=" + mirror://kernel/linux/kernel/v${KV_MAJOR}.${KV_MINOR}/linux-${OKV}.tar.${K_TARBALL_SUFFIX} + mirror://kernel/linux/kernel/v${KV_MAJOR}.${KV_MINOR}/testing/linux-${OKV}.tar.${K_TARBALL_SUFFIX}" +DEBIAN_PV=2.0.4 +DEBIAN_PR=9 +DEBIAN_A="${PN}_${DEBIAN_PV}-${DEBIAN_PR}.debian.tar.xz" +SRC_URI=" + mirror://kernel/linux/libs/klibc/${PV:0:3}/${P}.tar.${K_TARBALL_SUFFIX} + mirror://debian/pool/main/k/klibc/${DEBIAN_A} + ${PATCH_URI} + ${KERNEL_URI}" + +LICENSE="|| ( GPL-2 LGPL-2 )" +KEYWORDS="~alpha amd64 ~arm ia64 -mips ~ppc ~ppc64 ~sparc x86" +SLOT="0" +IUSE="debug test custom-cflags" + +DEPEND="dev-lang/perl" +RDEPEND="${DEPEND}" + +KS="${WORKDIR}/linux-${OKV}" + +# Klibc has no PT_GNU_STACK support, so scanning for execstacks is moot +QA_EXECSTACK="*" +# Do not strip +RESTRICT="strip" + +kernel_asm_arch() { + a="${1:${ARCH}}" + case ${a} in + # Merged arches + x86) echo i386 ;; # for build on x86 userspace & 64bit kernel + amd64) echo x86 ;; + ppc*) echo powerpc ;; + # Non-merged + alpha|arm|arm64|ia64|m68k|mips|sh|sparc*) echo ${1} ;; + *) die "TODO: Update the code for your asm-ARCH symlink" ;; + esac +} + +# For a given Gentoo ARCH, +# specify the kernel defconfig most relevant +kernel_defconfig() { + a="${1:${ARCH}}" + # most, but not all arches have a sanely named defconfig + case ${a} in + ppc64) echo ppc64_defconfig ;; + ppc) echo pmac32_defconfig ;; + sh*) die "TODO: Your arch is not supported by the klibc ebuild. Please suggest a defconfig in a bug." ;; + *) echo defconfig ;; + esac +} + +src_unpack() { + unpack linux-${OKV}.tar.${K_TARBALL_SUFFIX} ${P}.tar.${K_TARBALL_SUFFIX} ${DEBIAN_A} +} + +PATCHES=( + # Build interp.o with EXTRA_KLIBCAFLAGS (.S source) + "${FILESDIR}"/${PN}-1.4.11-interp-flags.patch + # Fix usage of -s, bug #201006 + "${FILESDIR}"/klibc-1.5.7-strip-fix-dash-s.patch + # The inline definition from sys/stat.h does not seem to get used + # So just copy it to make this compile for now + "${FILESDIR}"/klibc-2.0.2-mkfifo.patch + # Newer kernels have some headers in the uapi dir + "${FILESDIR}"/klibc-2.0.3-kernel-uapi.patch +) + +src_prepare() { + [[ ${PKV} ]] && eapply "${DISTDIR}"/patch-${PKV}.${K_TARBALL_SUFFIX} + + # Symlink /usr/src/linux to ${S}/linux + ln -snf "${KS}" linux + #ln -snf "/usr" linux + + # Borrow the debian fixes too + for p in $(<"${WORKDIR}"/debian/patches/series) ; do + PATCHES+=( "${WORKDIR}/debian/patches/${p}" ) + done + + default +} + +# klibc has it's own ideas of arches +# They reflect userspace strictly. +# This functions maps from a Gentoo ARCH, to an arch that klibc expects +# Look at klibc-${S}/usr/klibc/arch for a list of these arches +klibc_arch() { + a="${1:${ARCH}}" + case ${a} in + amd64) echo x86_64;; + mips) die 'TODO: Use the $ABI' ;; + x86) echo i386;; + *) echo ${a} ;; + esac +} + +src_compile() { + local myargs="all" + local myARCH="${ARCH}" myABI="${ABI}" + # TODO: For cross-compiling + # You should set ARCH and ABI here + CC="$(tc-getCC)" + LD="$(tc-getLD)" + HOSTCC="$(tc-getBUILD_CC)" + HOSTLD="$(tc-getBUILD_LD)" + KLIBCARCH="$(klibc_arch ${ARCH})" + KLIBCASMARCH="$(kernel_asm_arch ${ARCH})" + libdir="$(get_libdir)" + # This should be the defconfig corresponding to your userspace! + # NOT your kernel. PPC64-32ul would choose 'ppc' for example. + defconfig=$(kernel_defconfig ${ARCH}) + unset ABI ARCH # Unset these, because they interfere + unset KBUILD_OUTPUT # we are using a private copy + + cd "${KS}" + emake ${defconfig} CC="${CC}" HOSTCC="${HOSTCC}" ARCH="${KLIBCASMARCH}" || die "No defconfig" + if [[ "${KLIBCARCH/arm}" != "${KLIBCARCH}" ]] && \ + [[ "${CHOST/eabi}" != "${CHOST}" ]]; then + # The delete and insert are seperate statements + # so that they are reliably used. + sed -i \ + -e '/CONFIG_AEABI/d' \ + -e '1iCONFIG_AEABI=y' \ + -e '/CONFIG_OABI_COMPAT/d' \ + -e '1iCONFIG_OABI_COMPAT=y' \ + -e '1iCONFIG_ARM_UNWIND=y' \ + "${KS}"/.config \ + "${S}"/defconfig + fi + emake prepare CC="${CC}" HOSTCC="${HOSTCC}" ARCH="${KLIBCASMARCH}" || die "Failed to prepare kernel sources for header usage" + + cd "${S}" + + use debug && myargs="${myargs} V=1" + use test && myargs="${myargs} test" + append-ldflags -z noexecstack + append-flags -nostdlib + + emake \ + EXTRA_KLIBCAFLAGS="-Wa,--noexecstack" \ + EXTRA_KLIBCLDFLAGS="-z noexecstack" \ + HOSTLDFLAGS="-z noexecstack" \ + KLIBCOPTFLAGS='-nostdlib' \ + HOSTCC="${HOSTCC}" CC="${CC}" \ + HOSTLD="${HOSTLD}" LD="${LD}" \ + INSTALLDIR="/usr/${libdir}/klibc" \ + KLIBCARCH=${KLIBCARCH} \ + KLIBCASMARCH=${KLIBCASMARCH} \ + SHLIBDIR="/${libdir}" \ + libdir="/usr/${libdir}" \ + mandir="/usr/share/man" \ + T="${T}" \ + $(use custom-cflags || echo SKIP_)HOSTCFLAGS="${CFLAGS}" \ + $(use custom-cflags || echo SKIP_)HOSTLDFLAGS="${LDFLAGS}" \ + $(use custom-cflags || echo SKIP_)KLIBCOPTFLAGS="${CFLAGS}" \ + ${myargs} || die "Compile failed!" + + #SHLIBDIR="/${libdir}" \ + + ARCH="${myARCH}" ABI="${myABI}" +} + +src_install() { + local myargs + local myARCH="${ARCH}" myABI="${ABI}" + # TODO: For cross-compiling + # You should set ARCH and ABI here + CC="$(tc-getCC)" + HOSTCC="$(tc-getBUILD_CC)" + KLIBCARCH="$(klibc_arch ${ARCH})" + KLIBCASMARCH="$(kernel_asm_arch ${ARCH})" + libdir="$(get_libdir)" + # This should be the defconfig corresponding to your userspace! + # NOT your kernel. PPC64-32ul would choose 'ppc' for example. + defconfig=$(kernel_defconfig ${ARCH}) + + use debug && myargs="${myargs} V=1" + + local klibc_prefix + if tc-is-cross-compiler ; then + klibc_prefix=$("${S}/klcc/${KLIBCARCH}-klcc" -print-klibc-prefix) + else + klibc_prefix=$("${S}/klcc/klcc" -print-klibc-prefix) + fi + + unset ABI ARCH # Unset these, because they interfere + unset KBUILD_OUTPUT # we are using a private copy + + emake \ + EXTRA_KLIBCAFLAGS="-Wa,--noexecstack" \ + EXTRA_KLIBCLDFLAGS="-z noexecstack" \ + HOSTLDFLAGS="-z noexecstack" \ + KLIBCOPTFLAGS='-nostdlib' \ + HOSTCC="${HOSTCC}" CC="${CC}" \ + HOSTLD="${HOSTLD}" LD="${LD}" \ + INSTALLDIR="/usr/${libdir}/klibc" \ + INSTALLROOT="${D}" \ + KLIBCARCH=${KLIBCARCH} \ + KLIBCASMARCH=${KLIBCASMARCH} \ + SHLIBDIR="/${libdir}" \ + libdir="/usr/${libdir}" \ + mandir="/usr/share/man" \ + T="${T}" \ + $(use custom-cflags || echo SKIP_)HOSTCFLAGS="${CFLAGS}" \ + $(use custom-cflags || echo SKIP_)HOSTLDFLAGS="${LDFLAGS}" \ + $(use custom-cflags || echo SKIP_)KLIBCOPTFLAGS="${CFLAGS}" \ + ${myargs} \ + install || die "Install failed!" + + #SHLIBDIR="/${libdir}" \ + + # klibc doesn't support prelinking, so we need to mask it + cat > "${T}/70klibc" <<-EOF + PRELINK_PATH_MASK="/usr/${libdir}/klibc" + EOF + + doenvd "${T}"/70klibc + + # Fix the permissions (bug #178053) on /usr/${libdir}/klibc/include + # Actually I have no idea, why the includes have those weird-ass permissions + # on a particular system, might be due to inherited permissions from parent + # directory + # NOTE: This totally violates sandbox + # find "${D}"/usr/${libdir}/klibc/include | xargs chmod o+rX + find "${D}"/usr/${libdir}/klibc/include -type f \ + \( -name '.install' -o -name '..install.cmd' \) -delete || die + + # Hardlinks becoming copies + for x in gunzip zcat ; do + rm -f "${D}/${klibc_prefix}/bin/${x}" + dosym gzip "${klibc_prefix}/bin/${x}" + done + + # Restore now, so we can use the tc- functions + ARCH="${myARCH}" ABI="${myABI}" + if ! tc-is-cross-compiler ; then + cd "${S}" + insinto /usr/share/aclocal + doins contrib/klibc.m4 + + dodoc README usr/klibc/CAVEATS + docinto gzip; dodoc usr/gzip/README + fi + + # Fix up the symlink + # Mainly for merged arches + linkname="${D}/usr/${libdir}/klibc/include/asm" + if [ -L "${linkname}" ] && [ ! -e "${linkname}" ] ; then + ln -snf asm-${KLIBCASMARCH} "${linkname}" + fi +} + +src_test() { + if ! tc-is-cross-compiler ; then + cd "${S}"/usr/klibc/tests + ALL_TESTS="$(ls *.c |sed 's,\.c$,,g')" + BROKEN_TESTS="fcntl fnmatch testrand48" + failed=0 + for t in $ALL_TESTS ; do + if has $t $BROKEN_TESTS ; then + echo "=== $t SKIP" + else + echo -n "=== $t " + ./$t /dev/null + rc=$? + if [ $rc -eq 0 ]; then + echo PASS + else + echo FAIL + failed=1 + fi + fi + done + [ $failed -ne 0 ] && die "Some tests failed." + fi +} diff --git a/dev-libs/klibc/metadata.xml b/dev-libs/klibc/metadata.xml new file mode 100644 index 000000000000..6f49eba8f496 --- /dev/null +++ b/dev-libs/klibc/metadata.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/dev-libs/kpathsea/Manifest b/dev-libs/kpathsea/Manifest new file mode 100644 index 000000000000..630178e52c25 --- /dev/null +++ b/dev-libs/kpathsea/Manifest @@ -0,0 +1,14 @@ +AUX insecure_tmp_mktexlsr.patch 602 SHA256 a2670c455722960b9f8a860b02d832b445176e054f6a48ba6e4ac48e6b629d41 SHA512 2b9e92665482403b7a153c27ad8aea5ae5f05ef42c994c899ee4987d39fb4005204c7abbb464d7c0ec1b48a7630d34991d6fea3076cee1f50d9c4855c7a908f1 WHIRLPOOL 079c95776ee653eecfbf5e4ed3cc2273d00a462181c02e0827e9be9db99d0af1cf4503ad1b045b825ec3f78c4e638a7c06a078a195551e96c82704df4555f086 +AUX texmf-update-r2 6017 SHA256 05e21c69e8e1a7bbccfab158869e9323d24d30470bee6825d12e6bcdd39cf9db SHA512 924c6a53d778b1a05252830d914c92f8d1a8d1c479cd8a065b861bf1f263d6bb529c42c365134fea19ea1d9bedf68a943d609cd89abf73912f90bbc3397fb14f WHIRLPOOL fea10b7a2b8092a408417332d08f08609d6a062a6875370d966b2d973d60225fd0fb79b74adeb9f580ffa442e6b804f4d8f9b591f380eb0bb0bdde8cc5a34c67 +DIST kpathsea-texmf.d-8.tar.xz 11456 SHA256 054471f13f001f5f24c6aea24fa57d82a3fb349c362be545b5443e0d4db25364 SHA512 496ef6e3134f1b0507b15729416de86d72f41b518f4d382c78c2f39b0d603d3d44f8c8befdab2351d38d2a26fd87e5a73570a67b11dbb3f307b006f409a6f036 WHIRLPOOL a2ed25416b3a5c72b19f5a0ca4308af51496161f68152e471e4a78a1c0f0a5779973bcd3fa4edb37ebb1ca37039f19bb090b772c5913c1449a56c85faccea6b0 +DIST texlive-20160523-source.tar.xz 45941100 SHA256 a8b32ca47f0a403661a09e202f4567a995beb718c18d8f81ca6d76daa1da21ed SHA512 915fa2f5e2099dd385ef81033db7aafdf09558c0c200fed0748a8a42fd61f69d3eaac9decea334e30981af739dd81061a9b1d6853c7f6d00285fe0be40e26c3e WHIRLPOOL 25d27fb7a7bdb47d40ddf951394e36546b184d71f2e09adb20698bd0f960e54841ddd0313a87510cb2ef43953eb4d9d05d30b88d25d15762dd774575c88fedbe +DIST texlive-20170524-source.tar.xz 63483372 SHA256 0161695304e941334dc0b3b5dabcf8edf46c09b7bc33eea8229b5ead7ccfb2aa SHA512 18c18940992ab94ce22e22ccd4ad798253ea14ac2ab296a10ea5e9a8da9f33989f2e2641b42b564d1d5fb53bd371da3e68726b676d706b469016ad146cd19daa WHIRLPOOL c4edaf427f0249942b36db105a65474e833735d6e9954682fe7e15ab327b26ccafb9174bf806d0b6c629b0f2a6b55e80022af291d9a2f377b82dff4fdec42d3d +DIST texlive-module-kpathsea-2016.tar.xz 30696 SHA256 4a2e801e167d7d0b50c67e510b730ad92b8ad63cce5e28d7f35e3cc1ed931552 SHA512 330254cf76fd30bf3686dd48710f21c4804f2f6ea9b14e6033b2741c3e6ba627e51efe96da9a1089120d474e36aad1c052285a7ea394b76ee2d4d335b86095fd WHIRLPOOL 02ad551bd1af49e25f5fc35cddd59f65afed9e6c1899a14000cdedf0c4227edfa8b1038ec90f783f28090594164016f9c9ebbd1158dee048d24e81b1e8a9a446 +DIST texlive-module-kpathsea-2017.tar.xz 30956 SHA256 8fc4f5b9cfda255b4847f410ee6b04d984ee541d9242d664060b6861f44e9ce5 SHA512 df4bc2175394bb6e9726b2c09ccf04e2787f73d584dd6944a25b3aab1eb6e8b4bdcd14ca043b7fe4f6e240ede1bd7e9003b83e34dd3df8c685658b8dcddc83c9 WHIRLPOOL c28ecd85f7cb355c2be48078d6e3c91f0418d616f421fa7af35450fba6915c3f60b7c879c5c5dd41c9fc8c422dbbb92a53ee3ab72096f55f3f053472a4df1b80 +DIST texlive-module-kpathsea.doc-2016.tar.xz 1128872 SHA256 f65ba5c972f2a1d837027dab288615344cbae70b961b110884b8de6008fa75be SHA512 1cfbb4b5a8647bf5da46b04c9bc911091aa3322b154d65544aa3a1163e24b6906d7e5420549ab0ba023250e6dfa90e75d3a20dffd2e7360fba068a5c3cece885 WHIRLPOOL f680b54f64b04b2722ec702c532678db894a6465261546fbbb3469adbf561413c1c34c08bbf96b62950ca733c3a52517d3a3007e3e1c157bc4cd7ebced08b5cb +DIST texlive-module-kpathsea.doc-2017.tar.xz 1128868 SHA256 e86fae197d4caaac87eaca3b2e9484a769879a93d51528feaf3fc60cc2f929c1 SHA512 af829f666c815da49b59bbe678a2c1e9fe45cbc528f484dfb6e43a1e52bbf0245a4e571505f5be2cc7cf7f5ebcdb06b862ac6e9f9b5390489f0fab10a11fd997 WHIRLPOOL 7803d0edaac93fd0297d5b3cd3d42f9690fc44b0f982b6cf857733cd1dcb5213f67e3ea33252c894749a1e1072cea9dd3853f848f4c07463bb113afea4c0b2d3 +EBUILD kpathsea-6.2.2_p20160523.ebuild 3274 SHA256 ee8f2f9207173d1c2981d63a2d35bd5e91d75ec27811eae319617f2f975e2c3a SHA512 2593e50d9d773406fa17dd4583ad02d837ede26de6140aa8b4a593170693b0c49bebe2e025b50356165b1c9ce8432b99e4e341c2f1874c000861c901ff1319ca WHIRLPOOL 504d55ade3e6fa18b8c1b7f236f102a1959518c597d357197eb5f0bd9a9b31d985fffe4d81884f2e7b3e48253894bb4966347a5849c6123465a6aa3cf57d0204 +EBUILD kpathsea-6.2.3_p20170524.ebuild 3279 SHA256 ebe5f213b2698150b7ba9cf0fa7290ff1f0ebc861a96cc869935b4b3c1fddee0 SHA512 3a8a4f34f6dfef6e0e8e75047d24f46ae15a4dd5c6e8c88c0e3c81290844fb4ff3ce9678aef4243c97a9ecb390369dff807d67ff334dad7c53d6b41caa58841f WHIRLPOOL 728e860da3e4b04c1cc5b76e91c0c680c28e6298db2297f31a01b5c2d1db8d24618d36b966a761c43ac9f6bc6c6e3fa6c8883bfa91c377606aaaf5929a52aacb +MISC ChangeLog 4080 SHA256 17c5b58b49a1a222c21873e4f188295ae17e304f6cdc482e41ba6c7dd9abff85 SHA512 4d84937db3e5c28001bc55100427a51b53fe7f1082060c96dd1cba3b7e122a9662323f9a3d26a8611e2f2ae3da961a44f3fd1b0f9f90c7e0293b79c1958a019e WHIRLPOOL ebb655f07cec87edde2b8ef92365156417fc40373b5df0788cf609024e370eda5436b5818f8dd03361ba4befe1cb4df2fe7295c3b64257d06a9bd79e77692548 +MISC ChangeLog-2015 7256 SHA256 ab9dc8a7dbecb560052d29c1bc1f061600e7ee124423148f64b25764b0f1845a SHA512 2eaaf008e3c56039994da7a2c246b0ef258a5d260ba568a995dffd640bbad0d5b28c56dc048806264c06d671a11e03f77aac9b507d5833a6f85fc77b812bf487 WHIRLPOOL 7019e379c51d2355b7ea13ba5484dc2f23b7c0ddf243ab028cd026593af368d4b8419dec7ae0bdae43ee7dac0754ea533f8329377efa02e5309c3621727a677b +MISC metadata.xml 358 SHA256 ff0b9f8887c6df4e625e131a06e1612e53f7d09cb75a12ebe3a4a1fbced282a4 SHA512 51f6411780af5d7775f8f80d246d5f4e297abb1960a0b0c21c6dc5c03a9a407dad8cbc4977a679590cffb4523f1b72a0f7b15ab100c938391a5abfd3e17e8818 WHIRLPOOL f8f5c4ccbb3bab42abda823707c2e968328aa3422b1ace474a584c170450e7c1e297c637d4a442613639d17e10c665f186d48dcedb37c8ab4e1b0a556257d8b0 diff --git a/dev-libs/kpathsea/files/insecure_tmp_mktexlsr.patch b/dev-libs/kpathsea/files/insecure_tmp_mktexlsr.patch new file mode 100644 index 000000000000..36d2094cddf0 --- /dev/null +++ b/dev-libs/kpathsea/files/insecure_tmp_mktexlsr.patch @@ -0,0 +1,17 @@ +https://bugzilla.redhat.com/show_bug.cgi?id=1181167 +https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=775139 +https://bugs.gentoo.org/show_bug.cgi?id=536454 + +Index: kpathsea/mktexlsr +=================================================================== +--- kpathsea.orig/mktexlsr ++++ kpathsea/mktexlsr +@@ -73,7 +73,7 @@ if tty -s; then verbose=true; else verbo + dry_run=false + trees= + +-treefile="${TMPDIR-/tmp}/mktexlsrtrees$$.tmp" ++treefile=`mktemp --tmpdir mktexlsrtrees.XXXXXXXXXX` || exit 1 + trap 'cd /; rm -f $treefile; test -z "$db_dir_tmp" || rm -rf "$db_dir_tmp"; + exit' 0 1 2 3 7 13 15 + diff --git a/dev-libs/kpathsea/files/texmf-update-r2 b/dev-libs/kpathsea/files/texmf-update-r2 new file mode 100644 index 000000000000..d30cbd3b3eac --- /dev/null +++ b/dev-libs/kpathsea/files/texmf-update-r2 @@ -0,0 +1,168 @@ +#!@GENTOO_PORTAGE_EPREFIX@/bin/bash +# +# Utility to update Gentoo TeXLive distribution configuration files +# + +echo "Configuring TeXLive ..." + +PATH="@GENTOO_PORTAGE_EPREFIX@"/bin:"@GENTOO_PORTAGE_EPREFIX@"/usr/bin + +# Fix for all those with altered umask for root +umask 022 + +# Ensure reliable order when concatenating files, bug #579018 +LC_COLLATE=C + +# Make sure we have a correct environment, bug #30432 +# The list of env. vars is taken from the INSTALL file +for texvar in AFMFONTS BIBINPUTS BSTINPUTS DVILJFONTS DVIPSFONTS \ + DVIPSHEADERS GFFONTS GLYPHFONTS INDEXSTYLE MFBASES MFINPUTS \ + MFPOOL MFTINPUTS MPINPUTS MPMEMS MPPOOL MPSUPPORT OCPINPUTS \ + OFMFONTS OPLFONTS OTPINPUTS OVFFONTS OVPFONTS PKFONTS PSHEADERS \ + T1FONTS T1INPUTS TEXBIB TEXCONFIG TEXDOCS TEXFONTMAPS TEXFONTS \ + TEXFORMATS TEXINDEXSTYLE TEXINPUTS TEXMFCNF TEXMFDBS TEXMFINI \ + TEXPICTS TEXPKS TEXPOOL TEXPSHEADERS TEXSOURCES TFMFONTS TRFONTS \ + VFFONTS XDVIFONTS XDVIVFS ; do + + if [ "${!texvar}" ]; then + if ! $(echo ${!texvar} | grep '^:\|::\|:$' &>/dev/null) ; then + export ${texvar}="${!texvar}:" + fi + fi +done + +if [ "$TEXINPUTS" ]; then + if $(echo ${TEXINPUTS} | grep '@GENTOO_PORTAGE_EPREFIX@/usr/share/texmf' &>/dev/null) ; then + export TEXINPUTS=$(echo ${TEXINPUTS} | sed -e 's|@GENTOO_PORTAGE_EPREFIX@/usr/share/texmf/*:\?||g') + elif $(echo ${TEXINPUTS} | grep '@GENTOO_PORTAGE_EPREFIX@/var/lib/texmf' &>/dev/null) ; then + export TEXINPUTS=$(echo ${TEXINPUTS} | sed -e 's|@GENTOO_PORTAGE_EPREFIX@/var/lib/texmf/*:\?||g') + fi +fi + +MKTEMP_COMMAND="mktemp -t tmp.XXXXXXXXXX" +DIFF_COMMAND="cmp -s" +TEMP_FILE="`${MKTEMP_COMMAND}`" + +if [ -z "${TEMP_FILE}" ]; then + exit +fi + +# check whether config files for fmtutil and updmap have changed +STATUS_FMTUTIL="0" +STATUS_UPDMAP="0" + +if [ -d "@GENTOO_PORTAGE_EPREFIX@"/etc/texmf/texmf.d ]; then + echo "Generating @GENTOO_PORTAGE_EPREFIX@/etc/texmf/web2c/texmf.cnf from @GENTOO_PORTAGE_EPREFIX@/etc/texmf/texmf.d ..." + cat "@GENTOO_PORTAGE_EPREFIX@"/etc/texmf/texmf.d/*.cnf > "@GENTOO_PORTAGE_EPREFIX@/etc/texmf/web2c/texmf.cnf" +fi + +if [ -d "@GENTOO_PORTAGE_EPREFIX@"/etc/texmf/fmtutil.d ]; then + echo "Generating @GENTOO_PORTAGE_EPREFIX@/etc/texmf/web2c/fmtutil.cnf from @GENTOO_PORTAGE_EPREFIX@/etc/texmf/fmtutil.d ..." + if [ -f "@GENTOO_PORTAGE_EPREFIX@"/etc/texmf/web2c/fmtutil.cnf ]; then + cp -f "@GENTOO_PORTAGE_EPREFIX@"/etc/texmf/web2c/fmtutil.cnf ${TEMP_FILE} + else + touch ${TEMP_FILE} + fi + cat "@GENTOO_PORTAGE_EPREFIX@"/etc/texmf/fmtutil.d/*.cnf > "@GENTOO_PORTAGE_EPREFIX@/etc/texmf/web2c/fmtutil.cnf" + ${DIFF_COMMAND} "@GENTOO_PORTAGE_EPREFIX@"/etc/texmf/web2c/fmtutil.cnf ${TEMP_FILE} + STATUS_FMTUTIL="${STATUS_FMTUTIL}$?" +else +# if no regeneration took place: +# always regenerate the formats to be on the safe side + STATUS_FMTUTIL="${STATUS_FMTUTIL}3" +fi + +if [ -d "@GENTOO_PORTAGE_EPREFIX@"/etc/texmf/updmap.d ]; then + if [ -f "@GENTOO_PORTAGE_EPREFIX@"/etc/texmf/web2c/updmap.cfg ]; then + cp -f "@GENTOO_PORTAGE_EPREFIX@"/etc/texmf/web2c/updmap.cfg ${TEMP_FILE} + else + touch ${TEMP_FILE} + fi + echo "Generating @GENTOO_PORTAGE_EPREFIX@/etc/texmf/web2c/updmap.cfg from @GENTOO_PORTAGE_EPREFIX@/etc/texmf/updmap.d ..." + cat "@GENTOO_PORTAGE_EPREFIX@"/etc/texmf/updmap.d/*.cfg > "@GENTOO_PORTAGE_EPREFIX@/etc/texmf/web2c/updmap.cfg" + ${DIFF_COMMAND} "@GENTOO_PORTAGE_EPREFIX@"/etc/texmf/web2c/updmap.cfg ${TEMP_FILE} + STATUS_UPDMAP="${STATUS_UPDMAP}$?" +else +# if no regeneration could be done: +# always regenerate the maps to be on the safe side + STATUS_UPDMAP="${STATUS_UPDMAP}3" +fi + +echo "Generating ls-R files" +mktexlsr &>/dev/null + +# Generate language.dat file, from texlive install-pkg.sh +X=`kpsewhich language.dat` +Z=`dirname $X` +if [ -n "$X" -a -f "$Z/language.dat" -a -f "$Z/language.us" ] ; then + echo "Generating language.dat file" + + # Save the old one, we will check if it has changed + cp -f "$Z/language.dat" "${TEMP_FILE}" + + cat "$Z/language.us" > "$Z/language.dat" + for i in "@GENTOO_PORTAGE_EPREFIX@"/etc/texmf/language.dat.d/language.*.dat; do + [ -f "$i" ] && cat "$i" >> "$Z/language.dat" + done + + ${DIFF_COMMAND} "$Z/language.dat" "${TEMP_FILE}" + STATUS_FMTUTIL="${STATUS_FMTUTIL}$?" +fi + +# Generate language.def file. +if [ -n "$X" -a -f "$Z/language.def" -a -f "$Z/language.us.def" ] ; then + echo "Generating language.def file" + + # Save the old one, we will check if it has changed + cp -f "$Z/language.def" "${TEMP_FILE}" + + cat "$Z/language.us.def" > "$Z/language.def" + for i in "@GENTOO_PORTAGE_EPREFIX@"/etc/texmf/language.def.d/language.*.def; do + [ -f "$i" ] && cat "$i" >> "$Z/language.def" + done + cat << EOF >> "$Z/language.def" +%%% No changes may be made beyond this point. + +\uselanguage {USenglish} %%% This MUST be the last line of the file. +EOF + + ${DIFF_COMMAND} "$Z/language.def" "${TEMP_FILE}" + STATUS_FMTUTIL="${STATUS_FMTUTIL}$?" +fi + +# Generate language.dat.lua file. +if [ -n "$X" -a -f "$Z/language.dat.lua" -a -f "$Z/language.us.lua" ] ; then + echo "Generating language.dat.lua file" + + # Save the old one, we will check if it has changed + cp -f "$Z/language.dat.lua" "${TEMP_FILE}" + + cat "$Z/language.us.lua" > "$Z/language.dat.lua" + for i in "@GENTOO_PORTAGE_EPREFIX@"/etc/texmf/language.dat.lua.d/language.*.dat.lua; do + [ -f "$i" ] && cat "$i" >> "$Z/language.dat.lua" + done + printf "}\n" >> "$Z/language.dat.lua" + + ${DIFF_COMMAND} "$Z/language.dat.lua" "${TEMP_FILE}" + STATUS_FMTUTIL="${STATUS_FMTUTIL}$?" +fi + +if [ "${STATUS_FMTUTIL}" -ne 0 ] ; then + echo "Generating format files ..." + fmtutil-sys --all &>/dev/null +else + echo "Skipping format files, since they are unchanged" +fi + +if [ "${STATUS_UPDMAP}" -ne 0 ] ; then + echo "Generating font maps..." + updmap-sys &>/dev/null +else + echo "Skipping font maps, since they are unchanged" +fi + +rm -f ${TEMP_FILE} + +echo +echo "Use 'texconfig font ro'(rw) to disable (enable) font generation for users" +echo diff --git a/dev-libs/kpathsea/kpathsea-6.2.2_p20160523.ebuild b/dev-libs/kpathsea/kpathsea-6.2.2_p20160523.ebuild new file mode 100644 index 000000000000..5b99104d2fe6 --- /dev/null +++ b/dev-libs/kpathsea/kpathsea-6.2.2_p20160523.ebuild @@ -0,0 +1,110 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit texlive-common eutils libtool prefix + +TEXMFD_VERSION="8" + +DESCRIPTION="Path searching library for TeX-related files" +HOMEPAGE="http://tug.org/texlive/" +SRC_URI="mirror://gentoo/texlive-${PV#*_p}-source.tar.xz + mirror://gentoo/${PN}-texmf.d-${TEXMFD_VERSION}.tar.xz" + +LICENSE="GPL-2" +SLOT="0/${PV%_p*}" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="doc source static-libs" + +DEPEND="! + + + + aballier@gentoo.org + Alexis Ballier + + + tex@gentoo.org + Gentoo TeX Project + + diff --git a/dev-libs/kproperty/Manifest b/dev-libs/kproperty/Manifest new file mode 100644 index 000000000000..d4e3683be4ec --- /dev/null +++ b/dev-libs/kproperty/Manifest @@ -0,0 +1,4 @@ +DIST kproperty-3.0.2.tar.xz 82556 SHA256 d5fa71ee621a30221f427b53282abe124347842bcf657269b7f7b77355dbf3c3 SHA512 de37dbe3e0aa979c0c9fa75b0b26eef708b332a4b3f65d0b4c22926aa534c54b4f39643df107fabb136071940abd791b31ad8f864e40d514e20171af6fc16ea9 WHIRLPOOL eceb132b03453c05230c1b937fa2e8a13aec81484ce83ee2a94f4911ab7021d4a12ff52d025024961c6cb1a81cc35d41397b325a8c283b89e9331608f5e49e0a +EBUILD kproperty-3.0.2.ebuild 564 SHA256 20a6b3b0dabe5dc271c2c9585d075c19707c9596110e7d911e8472b05bff65e0 SHA512 7d9f2b025e65a554fd80573b137007fe4d94f817689a151adb3572971e95519cff0773e7da18af874301b4e34c79513d4735199f64b0904e7587e24e4c0cb5d4 WHIRLPOOL 3143dea08d785553b8091ac39cebc761aebd220c2685da2e5905c2d6916ab3d8a82084fd5e24e754c8ffa0ad4961a2d692c37fc46b15d63faff1fba781148d31 +MISC ChangeLog 317 SHA256 94502f0d9d707fb1fa8df52913ca6e552a8eb983659a245e75ab1aa008960522 SHA512 4eb517896dc755f3353cbbc068a52c4b4ac6ea18eff3959c33ae327bda326138f65aced7cd58cca6ee5ba664d6e4777aad54afffe05af8df8fa41d316a1773b5 WHIRLPOOL 54fe46c5a0f19c3fa3ea69a3439f361554af09837d95a92c84f247a2b79157e2c85a831042da7db353e6ad9c5696ad0f8f584fc253aeed2077a52c15b10113e1 +MISC metadata.xml 249 SHA256 584f1dcf51866dc24a9abf7a89bfba0fad11dde81ae1c1b715da41770d233c99 SHA512 76a5a340b13f0053ca3c5e94ed24380ea8d29b45ac8655419e22eaadb1e4a827c04d2e7e36b65145c4964e6526f656618fc6ac144e277ef53cb7373e6239e3c3 WHIRLPOOL 200c07a8bf7c55b11b7936d5cd30e991a511684913334e72f59def66c0ced5fed0b4a8754e2d98bffbab631cb90d4e17fcccc59d5dcc5a8e988f69e47c85518c diff --git a/dev-libs/kproperty/kproperty-3.0.2.ebuild b/dev-libs/kproperty/kproperty-3.0.2.ebuild new file mode 100644 index 000000000000..832eabff04c5 --- /dev/null +++ b/dev-libs/kproperty/kproperty-3.0.2.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit kde5 + +DESCRIPTION="Property editing framework with editor widget similar to Qt Designer" +[[ ${KDE_BUILD_TYPE} != live ]] && SRC_URI="mirror://kde/stable/${PN}/src/${P}.tar.xz" + +LICENSE="LGPL-2+" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND=" + $(add_frameworks_dep kconfig) + $(add_frameworks_dep kcoreaddons) + $(add_frameworks_dep kguiaddons) + $(add_frameworks_dep kwidgetsaddons) + $(add_qt_dep qtgui) + $(add_qt_dep qtwidgets) +" +RDEPEND="${DEPEND}" diff --git a/dev-libs/kproperty/metadata.xml b/dev-libs/kproperty/metadata.xml new file mode 100644 index 000000000000..2fdbf33d963d --- /dev/null +++ b/dev-libs/kproperty/metadata.xml @@ -0,0 +1,8 @@ + + + + + kde@gentoo.org + Gentoo KDE Project + + diff --git a/dev-libs/kqoauth/Manifest b/dev-libs/kqoauth/Manifest new file mode 100644 index 000000000000..9853d4aa4fe4 --- /dev/null +++ b/dev-libs/kqoauth/Manifest @@ -0,0 +1,5 @@ +DIST kqoauth-0.98.tar.gz 37059 SHA256 9d6c43d98bda559cf4fbb055843a46479e08381527a317edcd9823f2b4990671 SHA512 f89e0f046fb7fd7812548f94c460d7c18d4881972e155a99e07503e97fd46b6eada0de9f2c3a94af33ef5b1b3b489bbd5dc6738cee104fe2d11ed62e681c7979 WHIRLPOOL 3a955f7ef9ebd5e5c4e7ff8a6885623ec231a4e8048dced58f480db8063aa854043184ecaa051c1fde8a85d2e8f0aaf1ecd60a98ce05c10f0186dd2d95b76e08 +EBUILD kqoauth-0.98-r2.ebuild 980 SHA256 94617ded561597fe0fa02ebe6271320c63ee6eee4dc4c6c9db1b6bf55e468267 SHA512 e21769ccb5b3c837a57421ead31d67cbb9890aadda59544254ed08f3647b7fab53d8f7ff635706a8d43d1485a3f19813b3cd7275c904f618061dafcc66b4a5bc WHIRLPOOL dd0789d04145b9bfe7b195ddb1ac71e623a32960fa0a0cc1f14dec47a66fb189f7042fa44f47f34890d73441b7a51b9839921665c3727c807981e5e20baa405a +MISC ChangeLog 2481 SHA256 aea49a9eae411db6f8588fea4a309f3276c795f2453581c63139d032e0f1ee86 SHA512 b8729465adbb5408bee02d65bc6666766972e935a86511b7fbab039cbe2eb18a33f338c74abf028908b650ef4bc4b213e65bf10489a3be86723ae6e6bece916d WHIRLPOOL 140b2e7ff1f03495f5cc12b81169f6355dad6f63973a9b8c3b3c53dea4802ae5d5e55677754ae773c2d21d9a3e153a6e43a887781e9aa9311d98970f68f423f7 +MISC ChangeLog-2015 1296 SHA256 a6581db95d3f3e8b81ff9dde4d03af06bbd625e04bf36ec3f5e65e9b91df0837 SHA512 9b91219323069a21aad8cd8ddec9a5b37ecf0863ce5bb1e30f49f31f0331f392aeaf15701395012ba205f5961444cb5fb4c2ea9769ccc0472652ca6b323faeea WHIRLPOOL 3543b7aa953c9852423f0cb9e0776558867a748cfb3a0b8e70db68c8dd34e7a6044b2d84572984b96b0c031ee72ca2e674cca6d99f200dbf7220b0077cc060ed +MISC metadata.xml 457 SHA256 ebaf97d0a48e1ec442c8ef9f6737ffaee1a8f3fa6b0fa785e6cd46f853510728 SHA512 697aaca7010a20aa25c788e8e744b4a3cef35890d7dd31d3ec659798e597dd4b5936f57db32bb14330aa2aea417541ab59075d6114a0decea83702e78699ff9b WHIRLPOOL d0726d9f3fb79821a47d40e27933cc7694ab187e93e900d54681be97b8a6983ac51e3d512487a828ab07068db8272963c6a8a4a4103abe049cb3e019cb2d674c diff --git a/dev-libs/kqoauth/kqoauth-0.98-r2.ebuild b/dev-libs/kqoauth/kqoauth-0.98-r2.ebuild new file mode 100644 index 000000000000..dbfc65327cd6 --- /dev/null +++ b/dev-libs/kqoauth/kqoauth-0.98-r2.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit qmake-utils + +DESCRIPTION="Library for Qt that implements the OAuth 1.0 authentication specification" +HOMEPAGE="https://github.com/kypeli/kQOAuth" +SRC_URI="https://github.com/kypeli/kQOAuth/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=" + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtnetwork:5 + dev-qt/qtxml:5 +" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/kQOAuth-${PV}" + +src_prepare() { + default + + # prevent tests from beeing built at src_compile + sed -i -e '/SUBDIRS/s/ tests//' ${PN}.pro || die "sed on ${PN}.pro failed" + # respect libdir + sed -e 's:{INSTALL_PREFIX}/lib:[QT_INSTALL_LIBS]:g' -i src/src.pro || die "sed on src.pro failed" + + sed \ + -e "s/TARGET = kqoauth/TARGET = kqoauth-qt5/g" \ + -i src/src.pro || die +} + +src_configure() { + eqmake5 +} + +src_install() { + emake INSTALL_ROOT="${D}" install +} diff --git a/dev-libs/kqoauth/metadata.xml b/dev-libs/kqoauth/metadata.xml new file mode 100644 index 000000000000..e07d1cd8c8cb --- /dev/null +++ b/dev-libs/kqoauth/metadata.xml @@ -0,0 +1,15 @@ + + + + + 0xd34df00d@gmail.com + Georg Rudoy + + + proxy-maint@gentoo.org + Proxy Maintainers + + + kypeli/kQOAuth + + diff --git a/dev-libs/kreport/Manifest b/dev-libs/kreport/Manifest new file mode 100644 index 000000000000..8c3f38d6c605 --- /dev/null +++ b/dev-libs/kreport/Manifest @@ -0,0 +1,4 @@ +DIST kreport-3.0.2.tar.xz 227508 SHA256 e04ea806381ec9fe40f63103e6ef45685a586faa5c85807347d733231cdca3fd SHA512 25580783b1424d66608c48c6f0e254a9c27802b11157eaa199a50b05122f904b970b82cc747c7d8020ebede9bac1b30667e22a6b9c23a6e481055aa3c0a407ea WHIRLPOOL 9f732f35fcfa4137b9ed696af50de6071cf43b5054fdb325fb8e5ef70329fcb5e3f737179417aa02e242e740bf378b5b9eb88df08181f7263fc5ab42e4243b10 +EBUILD kreport-3.0.2.ebuild 1160 SHA256 31f5c7c096a477ee38843598390aca34f94e1b762184a1a6a819a02cf6e0e0fd SHA512 ac73ef479ecbd1c377e5f7e4bde840dd8959f4c1a7f14194940c1e3234aedb853aabf063c35fe32823b02c4a297c73b34778e1ab0d88a01c5b8bc9dbfec59b18 WHIRLPOOL 4d44dc6856084d9d49d5e08fdb16f1764014e2eea4d622eed2941aad16d0171effe5ba32e5ab28a0262a08f33c0aa7a9290ab7e96e31fa2a202947499e25d514 +MISC ChangeLog 550 SHA256 2d9aff0af5e83f046fd19ef7036bd6e47636362cfec375cd9db1293abfb0b2f1 SHA512 41f2c74606e66c4060d7b5ba5631b838dc4c3efc54748dd79b4bf062443bb67e42627f57b6d4a1a569eaf24a5538d04c0eedd550d603a5f777dd583876ad2fa9 WHIRLPOOL a34296beaa950224fee14fc0cb2f409a3cde651f9bdec001575de7c7ac26a8d62019f34be3ecff2dc3245972a9ec93b65c2b778c4eda6322c34851873ee51e2b +MISC metadata.xml 444 SHA256 b0f1678e9bb41bc5485e53977ad80d6a443d8a9dab12341377c7c87d67f258b2 SHA512 7356b187c34c57ab44573e7cd3da164888c2b261c2faecc8f890db1eedae63573587447f44356dba9ee2d6218034e13cb093dbed4f63589a6f0544123f7680b9 WHIRLPOOL 49d4d34974f2d5e39160a9ebb38a3715d932d762090b879b495be0ce263862a9b0b0280ff7e7aa4cfde45e681986a8c09f569c74931f2eb866062465f15f89be diff --git a/dev-libs/kreport/kreport-3.0.2.ebuild b/dev-libs/kreport/kreport-3.0.2.ebuild new file mode 100644 index 000000000000..03df9d44e7f3 --- /dev/null +++ b/dev-libs/kreport/kreport-3.0.2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) + +KDE_TEST="true" +VIRTUALX_REQUIRED="test" +inherit kde5 python-any-r1 + +DESCRIPTION="Framework for creation and generation of reports in multiple formats" +[[ ${KDE_BUILD_TYPE} != live ]] && SRC_URI="mirror://kde/stable/${PN}/src/${P}.tar.xz" + +LICENSE="LGPL-2+" +KEYWORDS="amd64 x86" +IUSE="marble +scripting webkit" + +RESTRICT+=" test" + +RDEPEND=" + $(add_frameworks_dep kconfig) + $(add_frameworks_dep kcoreaddons) + $(add_frameworks_dep kguiaddons) + $(add_frameworks_dep kwidgetsaddons) + $(add_qt_dep qtgui) + $(add_qt_dep qtprintsupport) + $(add_qt_dep qtwidgets) + $(add_qt_dep qtxml) + dev-libs/kproperty + marble? ( $(add_kdeapps_dep marble '' '' '5=') ) + scripting? ( $(add_qt_dep qtdeclarative) ) + webkit? ( $(add_qt_dep qtwebkit) ) +" +DEPEND="${RDEPEND} + ${PYTHON_DEPS} +" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use_find_package marble Marble) + $(cmake-utils_use_find_package webkit Qt5WebKitWidgets) + -DKREPORT_SCRIPTING=$(usex scripting) + ) + kde5_src_configure +} diff --git a/dev-libs/kreport/metadata.xml b/dev-libs/kreport/metadata.xml new file mode 100644 index 000000000000..b26b44c64033 --- /dev/null +++ b/dev-libs/kreport/metadata.xml @@ -0,0 +1,12 @@ + + + + + kde@gentoo.org + Gentoo KDE Project + + + Enable displaying of maps using kde-apps/marble + Support Qml scripting using dev-qt/qtdeclarative + + diff --git a/dev-libs/leatherman/Manifest b/dev-libs/leatherman/Manifest new file mode 100644 index 000000000000..bf7193eb02e8 --- /dev/null +++ b/dev-libs/leatherman/Manifest @@ -0,0 +1,11 @@ +AUX portage-sandbox-test-fix.patch 2010 SHA256 d621099fd1221fa30e8bdb332159d639e7db7833ef329c45ae9b3562d9612044 SHA512 35bfb2d3b1ca98cf7f10e9356e899532516d4a9671b0cebca1780e602ef53f9a5705ee6c4c03d70aecad163faccdce6ec15d7e32f00ebcda946d0cf6638a22a2 WHIRLPOOL 52901504ca3e6a10c37dfc48f70611278d8eb6f41d12522468ee55762bd8ed5faa8debc63a5209ef62976c5cee75b682070d36be34cbb9445de5ede34a3387b5 +DIST leatherman-0.10.1.tar.gz 423218 SHA256 79b0eded49a02cb8f6ce6260ae39e3f1bdd2dc2c62c02f661308e04c08edb69e SHA512 bbbb772c855f5ce1e38abe7186400d9a2c9663dcdc72bd0a822bbe171eed3d01e33a6ec2196d4f6f8f0895f309d031b1eb77ec188bd16b37e52b306fafb66d17 WHIRLPOOL 19ff51352c49e9fca7d45683117809cf916e15066015e40cbe2eb10e3eb4ae3e6d27595e8bae8291bd5fac874f845399b9c87a5fcc6b645dd174bf3c9b1a8229 +DIST leatherman-0.12.2.tar.gz 423879 SHA256 32873bc61109e4fa64f26c810cad76315f90721711742c9a04cfed687f43829e SHA512 4c6aab859901a5685f23cfe023cd2ca922548e7068835a34e2665e9f7384a8efd9d7fe49de384a20c17d685a672c994bca6c1612f70d01f83c87db0a74683841 WHIRLPOOL af513b04076090bb6782c176bb386dc02d564c05c992c2f48f92d91d6346b54061d55585a24283073b1a4441acbcdb7cc34e1d7f798c2062fc300d83368c1cec +DIST leatherman-1.2.1.tar.gz 431781 SHA256 747a12948167634d2c3db8c7be741ceb1eb486f54ed6b5b96fecfd68827e4efb SHA512 f12414093d09b86878558cbe68f03b7f36fc89131412edad0573dbc891b1c422b98b9923babbed9ac4acef2cad869ef452d602199ae4d3e90fca5a3e2eb688d2 WHIRLPOOL 87effe1fdccb432959f2ab530675ab8ca893c306fd4eafa94758961975db374e35254fbade1300a8bf1340b915197b59eca1b89bc52e0356532db2ae2628345f +DIST leatherman-1.3.0.tar.gz 434229 SHA256 282bc54ca28e8269a392bbda423b940177a5925246ab961c7a5c338046b51ba0 SHA512 5e06be7add652f69b0d4a8d778e33dfb68183c4d598217cc6542d2431f7984f0af989c27bd69e89b77ab03d6dd2adab9d70f68cd87dae20d8e24ae05923fbe9b WHIRLPOOL a47441215397c185959414362dbb4956d0b5ea38fd21db3185723bc9b1d1b4cd58931fa6ce23628c678403b21069998aed66b4bc62ecffa172bd7539a21b7c02 +EBUILD leatherman-0.10.1.ebuild 981 SHA256 b522020c43ab2a7054cb267b4dba101871370d180ab2f2e263464e1ac5dcf312 SHA512 0e2ffe815bae823e42783854f053948f524fad2e0f24ec5123e8fbb7152406a4703b6bda3c32e0e9b83810c8fcbf47f27432e909bf733c2256c5d4ebc8764827 WHIRLPOOL 08cec1875419916dddcf8a29601d523452a9ed49815c8e61fa978890e41be5aa4ee120d045cfaee9e3a870bcfeb08df48f1bb37acacfce44d0ca913ca2d35001 +EBUILD leatherman-0.12.2.ebuild 985 SHA256 dd5fc5f6dce86143cb9a25257aead5b5095cbb7d3c19a9783bf7f90b9d81515b SHA512 7a996c23df5c377b875beb17291d7fa6c3bbd00e0f2636beb1802230ccc5532506df7ab97293ab47e0e1ae31bde348ed002697f509f3b43940bf55ef9c32603c WHIRLPOOL 99342acf2402122740ebd3517abf3067979a8a88086552907f7d4b5f66de200bbf176e3307e0202c9866820b8af39177d6e92cbaaffd9de35b1808139920ae6f +EBUILD leatherman-1.2.1.ebuild 1080 SHA256 9bedd40941854b523d6a201e0e16a988f12820ab1edd8e6bbb56a7d22bc604dc SHA512 3802b973e86ca6078a8f7adcace19803700fa458238ab7491f2b8bdab986b9cb9dd520dbffda67c1acfbd15112c7263875f7ebde468a2d18a9032d19b2ba9726 WHIRLPOOL b26b9f1dece21d1b79e1ab60f250128a5282b9969497bd0e6a422a24cbfe475335c6a70c29281f92735486d774ed8ab61ef91dc066faf00ce3c5cf2a6d498d24 +EBUILD leatherman-1.3.0.ebuild 1082 SHA256 f65d740953f4549aed74efb4110c41abe4512503f1479b177044b5c3f3e1caa9 SHA512 8645a6e58d10cd134fb418789093aaf74171e69b2fb4ebfbb652cd01eefa6ce4e1182424ab0ca50f6999afc0819873c89329cd4d2caf4ce20f3c0bb6d1050855 WHIRLPOOL da100c00b26025d8333741e00df61fc3758697b3f70e53801fddda7e816a9ab55ff18048f1b15ac64f72e35cd12572da9825136a3b2e14e95ebfaf1651b46227 +MISC ChangeLog 5469 SHA256 db5463745ef232013745135c8365712246d2e48682e2449790ab9c3df74cdd7f SHA512 0afe283097801fee37f09caf8737a7efa075d8fed15baedacb741a28541235e1d7d55bafb1d248a0a32120e397869e6a55bf65b14a122f058af7154330b7a482 WHIRLPOOL 029ea00501cef5b9036d5ba9fd32682d4b7195d7cad677e344363072a9a1408d87d806aa4bbc7c3106b22945574284a740918108eb69c4ca51bc973e7575bb2a +MISC metadata.xml 415 SHA256 361f617e92d34fcf27259db400353da423c9d585ec2bb2128ab58f5cc7fd3a86 SHA512 9450c72aff399df62f4479bee9e2e564bd7c451ee69fef1cf5c59b37331b312c982418de6d8dc1a5dcaec37050165413e13f83de5102e88e1c5fffa67d9b0023 WHIRLPOOL 016361dd4c0590f34c5f838f7d7a3056e06c3bbc2c90cda029424dffcf203daa4bb39076c0889016cd796aa8b48130e25d49d9e813b959aa95727c0c391c340f diff --git a/dev-libs/leatherman/files/portage-sandbox-test-fix.patch b/dev-libs/leatherman/files/portage-sandbox-test-fix.patch new file mode 100644 index 000000000000..584bb229c051 --- /dev/null +++ b/dev-libs/leatherman/files/portage-sandbox-test-fix.patch @@ -0,0 +1,38 @@ +--- a/execution/tests/posix/execution.cc 2017-07-20 13:38:22.166185428 -0500 ++++ b/execution/tests/posix/execution.cc 2017-07-20 13:59:51.549316930 -0500 +@@ -178,7 +178,7 @@ + REQUIRE(exec.exit_code == 0); + auto variables = get_variables(exec.output); + THEN("the child environment should only contain the given variables") { +- REQUIRE(variables.size() == 4u); ++ REQUIRE(variables.size() == 15u); + REQUIRE(variables.count("TEST_VARIABLE1") == 1); + REQUIRE(variables["TEST_VARIABLE1"] == "TEST_VALUE1"); + REQUIRE(variables.count("TEST_VARIABLE1") == 1); +@@ -212,7 +212,7 @@ + REQUIRE(exec.exit_code == 0); + auto variables = get_variables(exec.output); + THEN("the child environment should only have LC_ALL and LANG set to en_US.UTF-8") { +- REQUIRE(variables.size() == 2u); ++ REQUIRE(variables.size() == 13u); + REQUIRE(variables.count("LC_ALL") == 1); + REQUIRE(variables["LC_ALL"] == "en_US.UTF-8"); + REQUIRE(variables.count("LANG") == 1); +@@ -229,7 +229,7 @@ + auto variables = get_variables(exec.output); + CAPTURE(exec.output); + THEN("the child environment should not have LC_ALL and LANG set") { +- REQUIRE(variables.empty()); ++ REQUIRE(variables.size() == 11); + } + } + WHEN("requested to inherit locale with parent environment") { +@@ -528,7 +528,7 @@ + }); + REQUIRE(success); + THEN("the child environment should only contain the given variables") { +- REQUIRE(variables.size() == 4u); ++ REQUIRE(variables.size() == 15u); + REQUIRE(variables.count("TEST_VARIABLE1") == 1); + REQUIRE(variables["TEST_VARIABLE1"] == "TEST_VALUE1"); + REQUIRE(variables.count("TEST_VARIABLE1") == 1); diff --git a/dev-libs/leatherman/leatherman-0.10.1.ebuild b/dev-libs/leatherman/leatherman-0.10.1.ebuild new file mode 100644 index 000000000000..358d81640b6e --- /dev/null +++ b/dev-libs/leatherman/leatherman-0.10.1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby21 ruby22" + +inherit cmake-utils multilib + +DESCRIPTION="A C++ toolkit" +HOMEPAGE="https://github.com/puppetlabs/leatherman" +SRC_URI="https://github.com/puppetlabs/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="debug test" +KEYWORDS="amd64 hppa ppc ppc64 sparc x86" + +RDEPEND="net-misc/curl" +DEPEND=">=dev-libs/boost-1.54[nls] + net-misc/curl + >=sys-devel/gcc-4.8:*" + +src_prepare() { + sed -i 's/\-Werror\ //g' "cmake/cflags.cmake" || die +} + +src_configure() { + local mycmakeargs=( + -DCMAKE_VERBOSE_MAKEFILE=ON + -DCMAKE_BUILD_TYPE=None + -DCMAKE_INSTALL_PREFIX=/usr + -DCMAKE_INSTALL_SYSCONFDIR=/etc + -DCMAKE_INSTALL_LOCALSTATEDIR=/var + ) + if use debug; then + mycmakeargs+=( + -DCMAKE_BUILD_TYPE=Debug + ) + fi + cmake-utils_src_configure +} + +src_test() { + cmake-utils_src_test +} + +src_install() { + cmake-utils_src_install +} diff --git a/dev-libs/leatherman/leatherman-0.12.2.ebuild b/dev-libs/leatherman/leatherman-0.12.2.ebuild new file mode 100644 index 000000000000..65653be4cc78 --- /dev/null +++ b/dev-libs/leatherman/leatherman-0.12.2.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby21 ruby22" + +inherit cmake-utils multilib + +DESCRIPTION="A C++ toolkit" +HOMEPAGE="https://github.com/puppetlabs/leatherman" +SRC_URI="https://github.com/puppetlabs/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="debug test" +KEYWORDS="amd64 ~hppa ~ppc ~ppc64 ~sparc x86" + +RDEPEND="net-misc/curl" +DEPEND=">=dev-libs/boost-1.54[nls] + net-misc/curl + >=sys-devel/gcc-4.8:*" + +src_prepare() { + sed -i 's/\-Werror\ //g' "cmake/cflags.cmake" || die +} + +src_configure() { + local mycmakeargs=( + -DCMAKE_VERBOSE_MAKEFILE=ON + -DCMAKE_BUILD_TYPE=None + -DCMAKE_INSTALL_PREFIX=/usr + -DCMAKE_INSTALL_SYSCONFDIR=/etc + -DCMAKE_INSTALL_LOCALSTATEDIR=/var + ) + if use debug; then + mycmakeargs+=( + -DCMAKE_BUILD_TYPE=Debug + ) + fi + cmake-utils_src_configure +} + +src_test() { + cmake-utils_src_test +} + +src_install() { + cmake-utils_src_install +} diff --git a/dev-libs/leatherman/leatherman-1.2.1.ebuild b/dev-libs/leatherman/leatherman-1.2.1.ebuild new file mode 100644 index 000000000000..786ffcf1590a --- /dev/null +++ b/dev-libs/leatherman/leatherman-1.2.1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby21 ruby22" + +inherit cmake-utils multilib + +DESCRIPTION="A C++ toolkit" +HOMEPAGE="https://github.com/puppetlabs/leatherman" +SRC_URI="https://github.com/puppetlabs/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="debug test" +KEYWORDS="amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc x86" + +RDEPEND="net-misc/curl" +DEPEND=">=dev-libs/boost-1.54[nls] + net-misc/curl + >=sys-devel/gcc-4.8:*" + +PATCHES=( "${FILESDIR}"/portage-sandbox-test-fix.patch ) + +src_prepare() { + sed -i 's/\-Werror\ //g' "cmake/cflags.cmake" || die + default +} + +src_configure() { + local mycmakeargs=( + -DCMAKE_VERBOSE_MAKEFILE=ON + -DCMAKE_BUILD_TYPE=None + -DCMAKE_INSTALL_PREFIX=/usr + -DCMAKE_INSTALL_SYSCONFDIR=/etc + -DCMAKE_INSTALL_LOCALSTATEDIR=/var + ) + if use debug; then + mycmakeargs+=( + -DCMAKE_BUILD_TYPE=Debug + ) + fi + cmake-utils_src_configure +} + +src_test() { + "${WORKDIR}/${P}"_build/bin/leatherman_test +} + +src_install() { + cmake-utils_src_install +} diff --git a/dev-libs/leatherman/leatherman-1.3.0.ebuild b/dev-libs/leatherman/leatherman-1.3.0.ebuild new file mode 100644 index 000000000000..73272169b5e2 --- /dev/null +++ b/dev-libs/leatherman/leatherman-1.3.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby21 ruby22" + +inherit cmake-utils multilib + +DESCRIPTION="A C++ toolkit" +HOMEPAGE="https://github.com/puppetlabs/leatherman" +SRC_URI="https://github.com/puppetlabs/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="debug test" +KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86" + +RDEPEND="net-misc/curl" +DEPEND=">=dev-libs/boost-1.54[nls] + net-misc/curl + >=sys-devel/gcc-4.8:*" + +PATCHES=( "${FILESDIR}"/portage-sandbox-test-fix.patch ) + +src_prepare() { + sed -i 's/\-Werror\ //g' "cmake/cflags.cmake" || die + default +} + +src_configure() { + local mycmakeargs=( + -DCMAKE_VERBOSE_MAKEFILE=ON + -DCMAKE_BUILD_TYPE=None + -DCMAKE_INSTALL_PREFIX=/usr + -DCMAKE_INSTALL_SYSCONFDIR=/etc + -DCMAKE_INSTALL_LOCALSTATEDIR=/var + ) + if use debug; then + mycmakeargs+=( + -DCMAKE_BUILD_TYPE=Debug + ) + fi + cmake-utils_src_configure +} + +src_test() { + "${WORKDIR}/${P}"_build/bin/leatherman_test +} + +src_install() { + cmake-utils_src_install +} diff --git a/dev-libs/leatherman/metadata.xml b/dev-libs/leatherman/metadata.xml new file mode 100644 index 000000000000..942d1e749b9c --- /dev/null +++ b/dev-libs/leatherman/metadata.xml @@ -0,0 +1,14 @@ + + + + + prometheanfire@gentoo.org + Matthew Thode + + + puppetlabs/leatherman + + + A set of C++ Libraries. + + diff --git a/dev-libs/legousbtower/Manifest b/dev-libs/legousbtower/Manifest new file mode 100644 index 000000000000..d67dbeeac7af --- /dev/null +++ b/dev-libs/legousbtower/Manifest @@ -0,0 +1,6 @@ +AUX 20-lego.rules 83 SHA256 2897c968ea6e008dc9b829c6f209e776aeb3a96e1add05002f0770421f517691 SHA512 1e708d5c5d1169075c6ba626cfb362e473e4d026c8ced32f888eb6874637bf7d655917b08f15738cb53eb4be78f8c243c795293862d109683e895507f30dfc61 WHIRLPOOL 17bd9ad89629dedf61855c27b180736fd4522fb9bf3d9e354b80fb9f89a3b69c37902b3c9d352bae095c234424f5baa7813e9cc0c31d1a0162204bb5bb24aa53 +DIST legousbtower-0.5.4.tar.gz 22782 SHA256 8f61267ab2036d1936fe70f49b454a23e151021bbcd7d4ed1663810bdee7f8bb SHA512 169cf31d4585bf3b7bd9aded76d202bb14e285f644f8aa10a6f4bf6d99e6f28efc33c65922388cdfa17a1bfc0dbc777edc1fb45484155543a42117eaba6fb7e7 WHIRLPOOL f98e4639828454b5a8c347a6b8b099802af194c0574ab52407e76dc188b780fc15dfef9f6b60f683f1121ba033a3f29f9e2ffdacb9dfa4e0a574f154312ef7d2 +EBUILD legousbtower-0.5.4.ebuild 1030 SHA256 a30929ad33da7e9798c6c65f4f8ba0cd51a28dcc1d3d11f8f5c5142fac77f255 SHA512 45eff32b73b9fc3d6517172f52dadea70646fdc45da19070ecc8a39c335fc1411ad73e5dee57e74e9ea46921253553e254af52cefedff8a7948209e08374088d WHIRLPOOL 8f4cdce3d2e7c9745a86720c36cf6c98807cb4d47915262d682daf80aa5376d027d82aea4875826277900a6e551c92545447545ca6839d78f12dd0cfd9f3b81b +MISC ChangeLog 2559 SHA256 98f794aaeb6d7cb2beca02040a232d28780ca0ebdabaa58eb98e3f57ae1c7cd7 SHA512 d8fadaceca6efafd4ffbebf1f7dcfe3b07b5f908e53c935d57f4a066ab0d766c2dc5971ca2f1fd2f9db4f2b0b66ccbd8639d8fb61593fdc8f1e77cb6e8633a06 WHIRLPOOL bb9908d90b10744b52794524e30cc203733d00e9f7c63928509909a935afc499ed06c44fb55475d3cb482d7c00762c41be3aaf804c8d476866f46927d146aab8 +MISC ChangeLog-2015 1639 SHA256 cbc5dea9e852c5b7d6c88ee9dc500169114396f3207aa6046e56fd17b0dac5b9 SHA512 757c7891b17ff0e3997e6936a9aee7de51d8961346757c26aac69e890404683d9584091c13f2023d88c47896999903abff3d0e2f2d3fb6ab67136d2af48c90db WHIRLPOOL fdb49feba3c59f06d2d5fc13e6d4bb63b54823d12cb6da36770498f9211a6193ce7ed81becf2cb3de06070700d30f729a662b0e9a5883d6ebe9f39b5a5ccc539 +MISC metadata.xml 244 SHA256 157923706f2c568abbb4839bb1076f7a5f822eb06ee4f1964e7e1f1e0fc41dcd SHA512 dd104cf292c56e0c1faced64aec00bd8668ee8925116d795a47b3e1fd88f5a743ec64111e4095b9afbaa2823c20bcb5100bf1ffb5d17e5a19389112249a835a6 WHIRLPOOL 01d953380b1c22c9db7b3839535ce7454dc9a3e69d9ae8d7c80c9a2071dbd36d16328b0534474db0e9cf44e8b6aae287dd48af017b4cfa54f1bf2ffba7e412f7 diff --git a/dev-libs/legousbtower/files/20-lego.rules b/dev-libs/legousbtower/files/20-lego.rules new file mode 100644 index 000000000000..ddd5470b9315 --- /dev/null +++ b/dev-libs/legousbtower/files/20-lego.rules @@ -0,0 +1 @@ +SYSFS{product}=="LEGO USB Tower", NAME="usb/%k", SYMLINK="usb/lego%n", GROUP="usb" diff --git a/dev-libs/legousbtower/legousbtower-0.5.4.ebuild b/dev-libs/legousbtower/legousbtower-0.5.4.ebuild new file mode 100644 index 000000000000..4f09ec70ef7f --- /dev/null +++ b/dev-libs/legousbtower/legousbtower-0.5.4.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +inherit linux-mod + +DESCRIPTION="The lego mindstorms usb tower headers and/or modules" +SRC_URI="mirror://sourceforge/legousb/${P}.tar.gz" +HOMEPAGE="http://legousb.sourceforge.net/" + +SLOT="0" +LICENSE="MPL-1.0" +KEYWORDS="amd64 ppc x86" +IUSE="" + +src_compile() +{ + if [ ${KV_MINOR} -eq 4 ] ; then + econf || die "Configuration failed" + emake || die "Compilation failed" + fi +} + +src_install() { + if [ ${KV_MINOR} -eq 4 ] ; then + einstall || die "Make Install Failed" + else + insinto /usr/include/LegoUSB + doins include/legousbtower.h + insinto /lib/udev/rules.d + doins "${FILESDIR}"/20-lego.rules + fi + dodoc README +} + +pkg_postinst() { + if [ ${KV_MINOR} -eq 4 ] ; then + elog "You are using the 2.4 kernel series." + elog "These are unsupported." + else + elog "You are using the 2.6 kernel series." + elog "This package only provides the header file." + elog "You need to enable the lego usb tower option in the kernel." + fi +} diff --git a/dev-libs/legousbtower/metadata.xml b/dev-libs/legousbtower/metadata.xml new file mode 100644 index 000000000000..9f152df2ec1a --- /dev/null +++ b/dev-libs/legousbtower/metadata.xml @@ -0,0 +1,8 @@ + + + + + + legousb + + diff --git a/dev-libs/leveldb/Manifest b/dev-libs/leveldb/Manifest new file mode 100644 index 000000000000..4264cbb0e9a3 --- /dev/null +++ b/dev-libs/leveldb/Manifest @@ -0,0 +1,29 @@ +AUX leveldb-1.18-configure.patch 1452 SHA256 1b8cfb6eae7a0f613019ab88b85fbcde7c647ba52cca82acfb4a3d52f10a99ab SHA512 86bae8c8d5d722435bedc68333c97f318847c93503368d815157a46ab15ad1795f8a585027dcecb7a94c338d25eeb69f94df87f2da2cd9f5805838f0a29dc08e WHIRLPOOL 7f30063d0255d0477ccf1ec99ff127ecc810c4dd044016efdb989f71768ec783b746622b587d4fcea8ebf269fcd77b59d5a1c9288e7fe7091beb97e072b8fc48 +AUX leveldb-1.18-mips.patch 1399 SHA256 c6547ce7050b1d5078c72e8db777bae77d83d0d4bd4a3c7f5942c9bddbb603f5 SHA512 8d968371007d163cbbb87546cbfe246e399f083bacea415f2d8b68355a5d3363df51f34e9bd29ee558ae475414b3c331b7473ef2d7e432ebfa786d55a08b2e54 WHIRLPOOL aca9868351fef0ae368e6e5a4f0c2ba425647523eaab884c7ea840265f0553be91ca0345cb1a0f3ce029e4af6201044d7eaec3545acb6021b4f908a97bbc1a41 +AUX leveldb-1.9.0-configure.patch 990 SHA256 7e509d4a77fc8ae77082f9b54e505dd6b42eca9af36e2b9e03bfe4a25472b529 SHA512 28f08e257d0f067d93ea88ee30719c092660ab7d220a55d4fa1cec5c5fd8195465e374670aa46c7a125f218ae3a689f3bb58ce66ddc720a2fc1caed552ed27e5 WHIRLPOOL eafac457577fc66a0d096b50c408c5e5298278cc071c5ea867ea61c4bdff1c95759ea73cf60be4ee6f5dfa20babce075d2efe928345f39538789c8c3995403de +AUX leveldb-1.9.0-forwardcompat.patch 3464 SHA256 1ca68f5dc7d3da0083e497d2e6ceb27675890a18db29f99f9cdf2c3cf5f7628b SHA512 d55d4469a9cb118688233b82df3f19d08a8fb3f53a3d1d990d485a0cb91872eb2fd3699288369a96ee59739be730ce9437f9d1f8b51d095dd014adf475de7824 WHIRLPOOL 54b19b1990b7c962e285878297e4a09479eb9d3cdb08ee36b4ab6cbf8e22ac486c062b3097b0970e6ed346d3765f76048518a41b1541647049f051d20571f5e4 +AUX leveldb-1.9.0-memenv-so.patch 1957 SHA256 abb3a6af4d22419435db286dd84892bb2e988f0b235c72127dcc5501dd7edf51 SHA512 fbd1e43dba18b9dc8717651052323ea71182a758eccc3637f3ab1aade1a5de5b00f6a54ea0a8f34e2b9a91173b72eb23530ae77bc2b1ac0e454e0e2dfffcfd75 WHIRLPOOL c73765cbd7fe87085c1f207afd5c3873f687d9f4b8d57911a7701af3e552e46b5ef9f4336757fc72370f2e63e2f8432bee7964e4acdf8d3db0a49a215b4f390c +DIST leveldb-1.10.0.tar.gz 204270 SHA256 84a4ab34671e1271d895f093932f8c8cfecb45b2e085da738671599825d12f62 SHA512 ba9829a203c25d00184b77382ee8db6b383058c527771a795443e0d3ae02b93dd29c3362f12fd89b08ac24f784b7ed2f3e3325b30abe2763df1cc9e4b8a12948 WHIRLPOOL d9b46a0f6586203091f2b89e4d141f8c7ba65ea994a2352d7f063796f50ba0e7a8c2d3a93ac2591a554b293ac8cb8a6eb26bfb2879f8859cb985db2cfd5985ae +DIST leveldb-1.11.0.tar.gz 205413 SHA256 f2eaffcb60d6368088a7ef0c2b889132ea42483fed541a7601fa22e54a8839ac SHA512 2b01227d3339d5ab09a6488e43f4b92f1c8f23d9d9b3a1636710aadfebb2a291622b83d636c96314a651f7a774ec39b404490dcf7cd4ac6ec2997d5d651582aa WHIRLPOOL 410e0433a3eaabc838af22e6667c07e639c64da0143cc4af4ca88bb44dc74dabd749e90d2bb5766a448d8c0e952f7a099a593a558eb89cf43cab4f0404cd6ad1 +DIST leveldb-1.12.0.tar.gz 205436 SHA256 a50b44bcae9680c2872081df98395a34a1ac3162ea41f646676e53fb5f691108 SHA512 b0798ecc598a7dcee38887867521face02b11ec93bc55e28fb3e1e16fb9c4d2068564f7779849a0dc0d758ee9665c2297c004947bedd149e392c129fc39a921f WHIRLPOOL 834777dfa5f7e6ecfd1360185ac31389d8e2c92679f496f6925b902caccb42fa05523016bbb6908ffe2ad8c543d2c14f7913a79384f5e8aa05a75efd5be58cc4 +DIST leveldb-1.13.0.tar.gz 207718 SHA256 083497a48ff54a3470ab5085730306a536013c0db54db6854bd9c8638c4f33f7 SHA512 f7fd7421a0c00fadae44cae4be8a473a8827472229bf95aed0642401943f4fdf3d14026270dce59cd7bda2b2a2856d92c253a360c80ea8188a3fb52985b7e3e9 WHIRLPOOL a30a26bb40cf2573f5b135bbb28761f49ade8b478c5862462ce37b875d16802d01c2801353ec418db19d2f55c65fa3ef7e4fa63afaf4f3926dd19b471bc56487 +DIST leveldb-1.14.0.tar.gz 208282 SHA256 9122d2c248ba40d6ce46d0c3e4738fcfa941d0d93fdba20a101471a98e8b00a3 SHA512 c8dc837b77b7aa0be4fca03f31061685534d4280c59b929e5c3e7ef9ceb29e7ea75f8836a55c9df49cd3bc67143d91a2512fc5d9a181f440ec4961a256c77108 WHIRLPOOL 445589cb1f6f540a5a0cc395907f04bb785ea98441d6c9ea19eee6888ebbcc659cf9b9a44a87693336b9cf14a0645de43c0761ad9aafadbd33f157ef05687a6e +DIST leveldb-1.15.0.tar.gz 205691 SHA256 d7c4ec571ef2ee9719f31db06344a1eba495e6abeeac1bc349d0d38a911c6680 SHA512 af5b18a7750ac553659075c1c34aa2fddf6322b6837f096589cf5908c7050fd19053cd98d19fd7097e0840392b318f0166360d3a0595adcaaabcfdf393246775 WHIRLPOOL 10136e1b8686ef2993e4b45b371bf749972fe84e0cd615bf18fc85de676e589951689adefc3a14625e66cf6cc4f70ffd99bf0c832209a97ceccee834853a7503 +DIST leveldb-1.17.tar.gz 207037 SHA256 a538ccdc5b9d42f7d64578d186eb17dc3a1b3dbbb3c14bbe0cbff961456bddd1 SHA512 d35401a92fa2b59c46e97ab94a9c70d0d5f97dbc7868a75354e088489338c078f47feaa3371489c481317b45ace6bd207d29676f5c18076ced86aa3f9fa44e58 WHIRLPOOL c3790b0cb38219cd609d9efe0568f47cd31515334ef1cbaff7e5efb97b300de113509833978688ae22d94aa7c9a0aa8c4d35268de1cb678a974dce6f7607a91f +DIST leveldb-1.18.tar.gz 209376 SHA256 4aa1a7479bc567b95a59ac6fb79eba49f61884d6fd400f20b7af147d54c5cee5 SHA512 3d9c55a7bf8692914784ec33c273704ce9978496b071c7b661708f049d0d4ccd51a44441f50c3e536725caeb9896575192f52708a4bb1c0222cecdeec89919a3 WHIRLPOOL 3d6434919d49b23e6ae7305c189a8823032d9f350fbf429513e4ec851ee3974b4a272c9fc5265d551e849f8929266d8b40698951c6b55b333d7e37b2d5819cad +DIST leveldb-1.9.0.tar.gz 203872 SHA256 b2699b04e5aba8e98382c4955b94725d1f76bd0b5decd60c5628205b717a1d4f SHA512 47b0a3272eef2d677ddeb8d0c973e59a1be4bff580528c3bc3f83a654f41485ecc86892d9124ce21ef747c220f98cdad687436849dc978adfd42f8c8c05b9160 WHIRLPOOL 301ba45968095420ff72da36f128bd916d4e039385270eecd8e077aac3781ed12931c9a7d426842e197fd62a99ad6477e5eabbca7524fcba2a185a702f4ef22a +EBUILD leveldb-1.10.0-r1.ebuild 1303 SHA256 abc004184a90a6c755f075e79254aa3a30df4d13ef42691c87ca2c65cc1297c7 SHA512 548cec6bfa8a1c3b78966b593b239aa49d7c21f21309729f00f44ea76b484f633fdccd2810d39475372227eb252ff91d554b2cbdf4f543b98305f744c04ec042 WHIRLPOOL befd16d7c4688ee39f1e25cb6dd08f1289392e2cb20881781ddf9aa0e6ea60063f4b9b8c8d004aecfaf3383e786c32aa0db7696f0f3c38d1eb416c38cf14c737 +EBUILD leveldb-1.11.0-r1.ebuild 1303 SHA256 abc004184a90a6c755f075e79254aa3a30df4d13ef42691c87ca2c65cc1297c7 SHA512 548cec6bfa8a1c3b78966b593b239aa49d7c21f21309729f00f44ea76b484f633fdccd2810d39475372227eb252ff91d554b2cbdf4f543b98305f744c04ec042 WHIRLPOOL befd16d7c4688ee39f1e25cb6dd08f1289392e2cb20881781ddf9aa0e6ea60063f4b9b8c8d004aecfaf3383e786c32aa0db7696f0f3c38d1eb416c38cf14c737 +EBUILD leveldb-1.12.0-r1.ebuild 1303 SHA256 abc004184a90a6c755f075e79254aa3a30df4d13ef42691c87ca2c65cc1297c7 SHA512 548cec6bfa8a1c3b78966b593b239aa49d7c21f21309729f00f44ea76b484f633fdccd2810d39475372227eb252ff91d554b2cbdf4f543b98305f744c04ec042 WHIRLPOOL befd16d7c4688ee39f1e25cb6dd08f1289392e2cb20881781ddf9aa0e6ea60063f4b9b8c8d004aecfaf3383e786c32aa0db7696f0f3c38d1eb416c38cf14c737 +EBUILD leveldb-1.13.0-r1.ebuild 1303 SHA256 abc004184a90a6c755f075e79254aa3a30df4d13ef42691c87ca2c65cc1297c7 SHA512 548cec6bfa8a1c3b78966b593b239aa49d7c21f21309729f00f44ea76b484f633fdccd2810d39475372227eb252ff91d554b2cbdf4f543b98305f744c04ec042 WHIRLPOOL befd16d7c4688ee39f1e25cb6dd08f1289392e2cb20881781ddf9aa0e6ea60063f4b9b8c8d004aecfaf3383e786c32aa0db7696f0f3c38d1eb416c38cf14c737 +EBUILD leveldb-1.14.0.ebuild 1230 SHA256 5a7b3f92395603560a4e8aaa921858b66ffeccc116a3752eab4a5c4f65083e79 SHA512 0b235df8d0bc8559a1e9b79498c2a3009134683a6edfe671abeb29e6a1517817622e03989e9d0c3a6e59aa6127b74a0f86ea6bb08c28974f1ca1dfb742c80033 WHIRLPOOL 9448503df3c5fc92941101bf10107502fe13130ccb02236473d6c53c119d6b2c08d57b2b58dfa738f2da6669996f2f9dd36a986ac3f025ad33b39357b1413709 +EBUILD leveldb-1.15.0-r1.ebuild 1434 SHA256 b834ffa18c60595bc7329f855ac94e3f5561fd6d1031c0b17ce88232412f6dc9 SHA512 686476d32f6922e79672b07c934662b09a2b9615b6014b9048dee4398fde71c8c26e46a47ee048c258568d5cd723ca6857db2fd046c846f187092b04e6dd15d8 WHIRLPOOL 3007aa22745681b55c7ff24370456d1b4c74117ba63d5c6700996038af42dee4f026978428ea9077554f8da3991e3ae5653bcbf438df7399e9d16f184178fd71 +EBUILD leveldb-1.15.0.ebuild 1230 SHA256 5a7b3f92395603560a4e8aaa921858b66ffeccc116a3752eab4a5c4f65083e79 SHA512 0b235df8d0bc8559a1e9b79498c2a3009134683a6edfe671abeb29e6a1517817622e03989e9d0c3a6e59aa6127b74a0f86ea6bb08c28974f1ca1dfb742c80033 WHIRLPOOL 9448503df3c5fc92941101bf10107502fe13130ccb02236473d6c53c119d6b2c08d57b2b58dfa738f2da6669996f2f9dd36a986ac3f025ad33b39357b1413709 +EBUILD leveldb-1.17.ebuild 1720 SHA256 7a581aa411dcbe78fba041e755a943e96db4c6b15a940bfb129855254c669d3f SHA512 a59df720d900c7da98a4e0c9c865f5cb962b1843461289cd0a4e78cbcb5bcfff93b0d4213fde486df0a9f5d2dc7bfe86ecfec757c83513932fb1ab02859feb25 WHIRLPOOL ebc5460c98499fb394ac51f1bbca1c606342c7c30f7c0371f3ad675e4165e80b7e1214b6128beca49f5ca8e931bb4b31e786e2eede470433b2b7be322ac02472 +EBUILD leveldb-1.18-r2.ebuild 1879 SHA256 c1e47f6ae16fad527e448cc9a4b3c6ea46661ff2fb85e82db7a788965152ffd5 SHA512 d483e1ba1010fde30052c854131afa4e8a9e0cd3b98f09a85d71770cf139f9f82cb786cc012d4f518545af8e997bbf8aa16db5a40833d56cdff8edeab99aadd5 WHIRLPOOL 7e13a8a9e70f697244fa30af7017f3a1909248853983cb36043442f091de8fbf8d248ddf3895dc8d0384721b9e903cc6e0075f392ebcf64a9ffc0042147417e4 +EBUILD leveldb-1.18.ebuild 1647 SHA256 58ec91bee74f35bfa46544c45ffb7be2bdb4b9e44c4328c93267ad63d7d05e9d SHA512 5a8feaeca45690fbb5d6f7ecfe7074e176532765900cb343107da542b32e61935bb0832a6682550d57a7e74bc20fec0469a7b0b20a1de9636f628fafd3de4193 WHIRLPOOL 1484eacbc42b791b376be833d8ce9ec74a97aeecf7da0c86fa60d06a937271e3455ea1cc48894b29d34211af70a8fdbd95129e014197ffd6f9f75017d52b2b6e +EBUILD leveldb-1.9.0-r5.ebuild 1223 SHA256 22eaf3dddadcef08f788ccd7ffb6b6759c065247bf057beab8a139eb6fa7f062 SHA512 a97ee6357c3e37208d7900f216e4d4270bd7b6c9add1449e3a0c52d49755a1be88f6008e9ae9bb6a021d3345fa57db18e3751073a63ccc8e4270e7ba684216ea WHIRLPOOL 37a413d432bfe182d4d8c9253bf1cae2e6693c6fa4fed0d777697e81f895b53944a9f3bec835933082b8bc45f6f598817f20e84563f87ec93e58a555ec728d5f +EBUILD leveldb-1.9.0-r6.ebuild 1277 SHA256 c4676ebfccdcf9ee159f2950c33d2db8c421a756a7824b5cfe56b6bd575a6716 SHA512 ca4965119338028813e0cdb5d1b303c88ef2e2450f471f4d58e16a276485fcb001d6c4818097f5b0c47eb66ce1b23b561ad37809415654c4cee771d0ac17137a WHIRLPOOL 0609689cb8d0065887f49a0145e8b26de4857a75277bf9123f555f2c70a3c504509aaeaa00a1e3756af6a7fb26fa61b784807781f2ea9bdfbc18c838292cbffa +MISC ChangeLog 4171 SHA256 7974c3bc301a30b6d2e7ad879d78337b566fa4d727f1860ec3187bb51fece81b SHA512 a24f6698ef06ca9ee36e7726cc1bcad2bff3cf6a55a861053381a49a04ae40cb7dfd878cfea649ea62c397a4545324323332e457fb695e6dba665e74abd936e7 WHIRLPOOL 6fdfb9683854520f05b9ca46ffa7cf1ff87316587d8cdbe8428cd342e78250034392660a13b50306d6254c4676f46ad6b17278b3fbc265c8bea5282797ff5fd4 +MISC ChangeLog-2015 5588 SHA256 fb007ca03028d26d767cc9b1a297ffd80d7d3854a3c43f237450c8808b487eda SHA512 dba08e11d7a97d588de0e91898a5859f4c5f2500f09f00c0a11e9ad75a842f742ce6c3af0c091d0ead4bca3e16d5b22e9c028434ccc4682780bbc1495bbe1ce0 WHIRLPOOL b09141c90672ac54265d58e5e482c0d6c1b76024624ec6e35cba11c88019bdcb7dcb5341df854c6358b1efce9deb99a9d3d42159dc2857b1d49517c8cb9a0eac +MISC metadata.xml 423 SHA256 f413f593f242ffdcc937ce020e114765537777cea9d322c928a64f005916230e SHA512 0c0b3abf79f52fc0c42e50899afabb32bb9f214b685c6dd09d523dd777f32d00a58a5004b8cc722c9c3a104801b69fbf8342aa64232003ae057a81ee4c822e5c WHIRLPOOL 8d61fcbaff7c9ca88bf50ed3e726ad7fecdc62f6f125c5a7a07e4d2bd81a606f9a4c6c2ffc560367dd67d0bdeea1eaf5eacaae70348e1dfa8279dc3a17b23282 diff --git a/dev-libs/leveldb/files/leveldb-1.18-configure.patch b/dev-libs/leveldb/files/leveldb-1.18-configure.patch new file mode 100644 index 000000000000..ba30fc731ad5 --- /dev/null +++ b/dev-libs/leveldb/files/leveldb-1.18-configure.patch @@ -0,0 +1,52 @@ +we'll handle configure ourselves in src_configure + +--- a/Makefile ++++ b/Makefile +@@ -14,9 +14,6 @@ OPT ?= -O2 -DNDEBUG + # OPT ?= -O2 -g2 -DNDEBUG + #----------------------------------------------- + +-# detect what platform we're building on +-$(shell CC="$(CC)" CXX="$(CXX)" TARGET_OS="$(TARGET_OS)" \ +- ./build_detect_platform build_config.mk ./) + # this file is generated by the previous line to set build flags and sources + include build_config.mk + + +control snappy/tcmalloc explicitly + +--- a/build_detect_platform ++++ a/build_detect_platform +@@ -190,6 +190,7 @@ + COMMON_FLAGS="$COMMON_FLAGS -DLEVELDB_PLATFORM_POSIX" + fi + ++if [ "${USE_SNAPPY:-auto}" = "auto" ]; then + # Test whether Snappy library is installed + # http://code.google.com/p/snappy/ + $CXX $CXXFLAGS -x c++ - -o $CXXOUTPUT 2>/dev/null </dev/null < +Date: Thu, 11 Sep 2014 21:38:48 -0700 +Subject: [PATCH] CHROMIUMOS: Add memory barrier implementation for MIPS. + +This CL is based on the patch authored by David Turner , +see https://code.google.com/p/leveldb/issues/detail?id=109 + +BUG=chromium:413517 +TEST=`emerge-{x86,amd64,arm,mipsel-o32}-generic leveldb` + +Reviewed-on: https://chromium-review.googlesource.com/217834 +--- + port/atomic_pointer.h | 9 +++++++++ + 1 file changed, 9 insertions(+) + +diff --git a/port/atomic_pointer.h b/port/atomic_pointer.h +index 35ae550..341909e 100644 +--- a/port/atomic_pointer.h ++++ b/port/atomic_pointer.h +@@ -36,6 +36,8 @@ + #define ARCH_CPU_X86_FAMILY 1 + #elif defined(__ARMEL__) + #define ARCH_CPU_ARM_FAMILY 1 ++#elif defined(__mips__) ++#define ARCH_CPU_MIPS_FAMILY 1 + #elif defined(__ppc__) || defined(__powerpc__) || defined(__powerpc64__) + #define ARCH_CPU_PPC_FAMILY 1 + #endif +@@ -83,6 +85,13 @@ inline void MemoryBarrier() { + } + #define LEVELDB_HAVE_MEMORY_BARRIER + ++// MIPS ++#elif defined(ARCH_CPU_MIPS_FAMILY) && defined(__GNUC__) ++inline void MemoryBarrier() { ++ __asm__ __volatile__("sync" : : : "memory"); ++} ++#define LEVELDB_HAVE_MEMORY_BARRIER ++ + #endif + + // AtomicPointer built using platform-specific MemoryBarrier() +-- +2.3.0 + diff --git a/dev-libs/leveldb/files/leveldb-1.9.0-configure.patch b/dev-libs/leveldb/files/leveldb-1.9.0-configure.patch new file mode 100644 index 000000000000..d25fe01f6835 --- /dev/null +++ b/dev-libs/leveldb/files/leveldb-1.9.0-configure.patch @@ -0,0 +1,35 @@ +diff --git a/build_detect_platform b/build_detect_platform +index 5801d20..4b4bb0d 100755 +--- a/build_detect_platform ++++ b/build_detect_platform +@@ -169,20 +169,30 @@ EOF + + # Test whether Snappy library is installed + # http://code.google.com/p/snappy/ ++if [ "${USE_SNAPPY:-auto}" = "auto" ]; then + $CXX $CXXFLAGS -x c++ - -o /dev/null 2>/dev/null < + int main() {} + EOF + if [ "$?" = 0 ]; then ++ USE_SNAPPY="yes" ++ fi ++fi ++ if [ "$USE_SNAPPY" = "yes" ]; then + COMMON_FLAGS="$COMMON_FLAGS -DSNAPPY" + PLATFORM_LIBS="$PLATFORM_LIBS -lsnappy" + fi + + # Test whether tcmalloc is available ++if [ "${USE_TCMALLOC:-auto}" = "auto" ]; then + $CXX $CXXFLAGS -x c++ - -o /dev/null -ltcmalloc 2>/dev/null <NewWritableFile(f, r); + if (s.ok()) { +- if (strstr(f.c_str(), ".sst") != NULL) { ++ if (strstr(f.c_str(), ".sst") != NULL || strstr(f.c_str(), ".ldb") != NULL) { + *r = new SSTableFile(this, *r); + } else if (strstr(f.c_str(), "MANIFEST") != NULL) { + *r = new ManifestFile(this, *r); +diff -ur leveldb-1.9.0.orig/db/filename.cc leveldb-1.9.0/db/filename.cc +--- leveldb-1.9.0.orig/db/filename.cc 2013-01-07 21:07:29.000000000 +0000 ++++ leveldb-1.9.0/db/filename.cc 2014-03-28 23:07:48.000000000 +0000 +@@ -34,6 +34,11 @@ + return MakeFileName(name, number, "sst"); + } + ++std::string LDBTableFileName(const std::string& name, uint64_t number) { ++ assert(number > 0); ++ return MakeFileName(name, number, "ldb"); ++} ++ + std::string DescriptorFileName(const std::string& dbname, uint64_t number) { + assert(number > 0); + char buf[100]; +@@ -106,7 +111,7 @@ + Slice suffix = rest; + if (suffix == Slice(".log")) { + *type = kLogFile; +- } else if (suffix == Slice(".sst")) { ++ } else if (suffix == Slice(".sst") || suffix == Slice(".ldb")) { + *type = kTableFile; + } else if (suffix == Slice(".dbtmp")) { + *type = kTempFile; +diff -ur leveldb-1.9.0.orig/db/filename.h leveldb-1.9.0/db/filename.h +--- leveldb-1.9.0.orig/db/filename.h 2013-01-07 21:07:29.000000000 +0000 ++++ leveldb-1.9.0/db/filename.h 2014-03-28 23:07:43.000000000 +0000 +@@ -36,6 +36,7 @@ + // in the db named by "dbname". The result will be prefixed with + // "dbname". + extern std::string TableFileName(const std::string& dbname, uint64_t number); ++extern std::string LDBTableFileName(const std::string& dbname, uint64_t number); + + // Return the name of the descriptor file for the db named by + // "dbname" and the specified incarnation number. The result will be +diff -ur leveldb-1.9.0.orig/db/repair.cc leveldb-1.9.0/db/repair.cc +--- leveldb-1.9.0.orig/db/repair.cc 2013-01-07 21:07:29.000000000 +0000 ++++ leveldb-1.9.0/db/repair.cc 2014-03-28 23:13:28.000000000 +0000 +@@ -263,6 +263,14 @@ + std::string fname = TableFileName(dbname_, t->meta.number); + int counter = 0; + Status status = env_->GetFileSize(fname, &t->meta.file_size); ++ if (!status.ok()) { ++ // Try alternate file name. ++ fname = LDBTableFileName(dbname_, t->meta.number); ++ Status s2 = env_->GetFileSize(fname, &t->meta.file_size); ++ if (s2.ok()) { ++ status = Status::OK(); ++ } ++ } + if (status.ok()) { + Iterator* iter = table_cache_->NewIterator( + ReadOptions(), t->meta.number, t->meta.file_size); +diff -ur leveldb-1.9.0.orig/db/table_cache.cc leveldb-1.9.0/db/table_cache.cc +--- leveldb-1.9.0.orig/db/table_cache.cc 2013-01-07 21:07:29.000000000 +0000 ++++ leveldb-1.9.0/db/table_cache.cc 2014-03-28 23:12:39.000000000 +0000 +@@ -54,6 +54,12 @@ + RandomAccessFile* file = NULL; + Table* table = NULL; + s = env_->NewRandomAccessFile(fname, &file); ++ if (!s.ok()) { ++ std::string ldb_fname = LDBTableFileName(dbname_, file_number); ++ if (env_->NewRandomAccessFile(ldb_fname, &file).ok()) { ++ s = Status::OK(); ++ } ++ } + if (s.ok()) { + s = Table::Open(*options_, file, file_size, &table); + } diff --git a/dev-libs/leveldb/files/leveldb-1.9.0-memenv-so.patch b/dev-libs/leveldb/files/leveldb-1.9.0-memenv-so.patch new file mode 100644 index 000000000000..0df587a3f9c9 --- /dev/null +++ b/dev-libs/leveldb/files/leveldb-1.9.0-memenv-so.patch @@ -0,0 +1,60 @@ +--- leveldb-1.9.0.orig/Makefile 2013-01-07 21:07:29.000000000 +0000 ++++ leveldb-1.9.0/Makefile 2014-03-28 22:11:05.000000000 +0000 +@@ -61,37 +61,45 @@ + # Should we build shared libraries? + ifneq ($(PLATFORM_SHARED_EXT),) + ++SHARED1 = $(PLATFORM_SHARED_EXT) ++ + ifneq ($(PLATFORM_SHARED_VERSIONED),true) +-SHARED1 = libleveldb.$(PLATFORM_SHARED_EXT) + SHARED2 = $(SHARED1) + SHARED3 = $(SHARED1) +-SHARED = $(SHARED1) ++SHARED=%.$(SHARED1) + else + # Update db.h if you change these. + SHARED_MAJOR = 1 + SHARED_MINOR = 9 +-SHARED1 = libleveldb.$(PLATFORM_SHARED_EXT) + SHARED2 = $(SHARED1).$(SHARED_MAJOR) + SHARED3 = $(SHARED1).$(SHARED_MAJOR).$(SHARED_MINOR) +-SHARED = $(SHARED1) $(SHARED2) $(SHARED3) +-$(SHARED1): $(SHARED3) +- ln -fs $(SHARED3) $(SHARED1) +-$(SHARED2): $(SHARED3) +- ln -fs $(SHARED3) $(SHARED2) ++SHARED=%.$(SHARED1) %.$(SHARED2) %.$(SHARED3) ++%.$(SHARED1): %.$(SHARED3) ++ ln -fs $< $@ ++%.$(SHARED2): %.$(SHARED3) ++ ln -fs $< $@ + endif + +-$(SHARED3): +- $(CXX) $(LDFLAGS) $(PLATFORM_SHARED_LDFLAGS)$(SHARED2) $(CXXFLAGS) $(PLATFORM_SHARED_CFLAGS) $(SOURCES) -o $(SHARED3) $(LIBS) ++%.SHARED: $(SHARED) ++ @true ++ ++%.$(SHARED3): ++ $(CXX) $(LDFLAGS) $(PLATFORM_SHARED_LDFLAGS)$*.$(SHARED2) $(CXXFLAGS) $(PLATFORM_SHARED_CFLAGS) $^ -o $@ $(LIBS) ++ ++libleveldb.$(SHARED3): $(SOURCES) ++libmemenv.$(SHARED3): $(MEMENV_SOURCES) ++ ++.SECONDARY: $(subst %,libleveldb,$(SHARED)) $(subst %,libmemenv,$(SHARED)) + + endif # PLATFORM_SHARED_EXT + +-all: $(SHARED) $(LIBRARY) ++all: libleveldb.SHARED $(LIBRARY) + + check: all $(PROGRAMS) $(TESTS) + for t in $(TESTS); do echo "***** Running $$t"; ./$$t || exit 1; done + + clean: +- -rm -f $(PROGRAMS) $(BENCHMARKS) $(LIBRARY) $(SHARED) $(MEMENVLIBRARY) */*.o */*/*.o ios-x86/*/*.o ios-arm/*/*.o build_config.mk ++ -rm -f $(PROGRAMS) $(BENCHMARKS) $(LIBRARY) $(subst %,libleveldb,$(SHARED)) $(MEMENVLIBRARY) */*.o */*/*.o ios-x86/*/*.o ios-arm/*/*.o build_config.mk + -rm -rf ios-x86/* ios-arm/* + + $(LIBRARY): $(LIBOBJECTS) diff --git a/dev-libs/leveldb/leveldb-1.10.0-r1.ebuild b/dev-libs/leveldb/leveldb-1.10.0-r1.ebuild new file mode 100644 index 000000000000..9c017847de4c --- /dev/null +++ b/dev-libs/leveldb/leveldb-1.10.0-r1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +inherit eutils multilib toolchain-funcs + +DESCRIPTION="a fast key-value storage library written at Google" +HOMEPAGE="https://github.com/google/leveldb" +SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" +IUSE="+snappy static-libs +tcmalloc" + +DEPEND="tcmalloc? ( dev-util/google-perftools ) + snappy? ( + app-arch/snappy + static-libs? ( app-arch/snappy[static-libs] ) + )" +RDEPEND="${DEPEND}" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-1.9.0-forwardcompat.patch +} + +src_configure() { + # These vars all get picked up by build_detect_platform + # which the Makefile runs for us automatically. + tc-export AR CC CXX + export OPT="-DNDEBUG ${CPPFLAGS}" + # Probably needs more filling out + export TARGET_OS + case ${CHOST} in + *) TARGET_OS="Linux";; + esac + export USE_SNAPPY=$(usex snappy) + export USE_TCMALLOC=no +} + +src_compile() { + emake $(usex static-libs '' 'LIBRARY=') all libmemenv.a +} + +src_test() { + emake check +} + +src_install() { + insinto /usr/include + doins -r include/* helpers/memenv/memenv.h + dolib.so libleveldb*$(get_libname)* + use static-libs && dolib.a libleveldb.a + dolib.a libmemenv.a +} diff --git a/dev-libs/leveldb/leveldb-1.11.0-r1.ebuild b/dev-libs/leveldb/leveldb-1.11.0-r1.ebuild new file mode 100644 index 000000000000..9c017847de4c --- /dev/null +++ b/dev-libs/leveldb/leveldb-1.11.0-r1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +inherit eutils multilib toolchain-funcs + +DESCRIPTION="a fast key-value storage library written at Google" +HOMEPAGE="https://github.com/google/leveldb" +SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" +IUSE="+snappy static-libs +tcmalloc" + +DEPEND="tcmalloc? ( dev-util/google-perftools ) + snappy? ( + app-arch/snappy + static-libs? ( app-arch/snappy[static-libs] ) + )" +RDEPEND="${DEPEND}" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-1.9.0-forwardcompat.patch +} + +src_configure() { + # These vars all get picked up by build_detect_platform + # which the Makefile runs for us automatically. + tc-export AR CC CXX + export OPT="-DNDEBUG ${CPPFLAGS}" + # Probably needs more filling out + export TARGET_OS + case ${CHOST} in + *) TARGET_OS="Linux";; + esac + export USE_SNAPPY=$(usex snappy) + export USE_TCMALLOC=no +} + +src_compile() { + emake $(usex static-libs '' 'LIBRARY=') all libmemenv.a +} + +src_test() { + emake check +} + +src_install() { + insinto /usr/include + doins -r include/* helpers/memenv/memenv.h + dolib.so libleveldb*$(get_libname)* + use static-libs && dolib.a libleveldb.a + dolib.a libmemenv.a +} diff --git a/dev-libs/leveldb/leveldb-1.12.0-r1.ebuild b/dev-libs/leveldb/leveldb-1.12.0-r1.ebuild new file mode 100644 index 000000000000..9c017847de4c --- /dev/null +++ b/dev-libs/leveldb/leveldb-1.12.0-r1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +inherit eutils multilib toolchain-funcs + +DESCRIPTION="a fast key-value storage library written at Google" +HOMEPAGE="https://github.com/google/leveldb" +SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" +IUSE="+snappy static-libs +tcmalloc" + +DEPEND="tcmalloc? ( dev-util/google-perftools ) + snappy? ( + app-arch/snappy + static-libs? ( app-arch/snappy[static-libs] ) + )" +RDEPEND="${DEPEND}" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-1.9.0-forwardcompat.patch +} + +src_configure() { + # These vars all get picked up by build_detect_platform + # which the Makefile runs for us automatically. + tc-export AR CC CXX + export OPT="-DNDEBUG ${CPPFLAGS}" + # Probably needs more filling out + export TARGET_OS + case ${CHOST} in + *) TARGET_OS="Linux";; + esac + export USE_SNAPPY=$(usex snappy) + export USE_TCMALLOC=no +} + +src_compile() { + emake $(usex static-libs '' 'LIBRARY=') all libmemenv.a +} + +src_test() { + emake check +} + +src_install() { + insinto /usr/include + doins -r include/* helpers/memenv/memenv.h + dolib.so libleveldb*$(get_libname)* + use static-libs && dolib.a libleveldb.a + dolib.a libmemenv.a +} diff --git a/dev-libs/leveldb/leveldb-1.13.0-r1.ebuild b/dev-libs/leveldb/leveldb-1.13.0-r1.ebuild new file mode 100644 index 000000000000..9c017847de4c --- /dev/null +++ b/dev-libs/leveldb/leveldb-1.13.0-r1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +inherit eutils multilib toolchain-funcs + +DESCRIPTION="a fast key-value storage library written at Google" +HOMEPAGE="https://github.com/google/leveldb" +SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" +IUSE="+snappy static-libs +tcmalloc" + +DEPEND="tcmalloc? ( dev-util/google-perftools ) + snappy? ( + app-arch/snappy + static-libs? ( app-arch/snappy[static-libs] ) + )" +RDEPEND="${DEPEND}" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-1.9.0-forwardcompat.patch +} + +src_configure() { + # These vars all get picked up by build_detect_platform + # which the Makefile runs for us automatically. + tc-export AR CC CXX + export OPT="-DNDEBUG ${CPPFLAGS}" + # Probably needs more filling out + export TARGET_OS + case ${CHOST} in + *) TARGET_OS="Linux";; + esac + export USE_SNAPPY=$(usex snappy) + export USE_TCMALLOC=no +} + +src_compile() { + emake $(usex static-libs '' 'LIBRARY=') all libmemenv.a +} + +src_test() { + emake check +} + +src_install() { + insinto /usr/include + doins -r include/* helpers/memenv/memenv.h + dolib.so libleveldb*$(get_libname)* + use static-libs && dolib.a libleveldb.a + dolib.a libmemenv.a +} diff --git a/dev-libs/leveldb/leveldb-1.14.0.ebuild b/dev-libs/leveldb/leveldb-1.14.0.ebuild new file mode 100644 index 000000000000..0b1c19884483 --- /dev/null +++ b/dev-libs/leveldb/leveldb-1.14.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +inherit eutils multilib toolchain-funcs + +DESCRIPTION="a fast key-value storage library written at Google" +HOMEPAGE="https://github.com/google/leveldb" +SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" +IUSE="+snappy static-libs +tcmalloc" + +DEPEND="tcmalloc? ( dev-util/google-perftools ) + snappy? ( + app-arch/snappy + static-libs? ( app-arch/snappy[static-libs] ) + )" +RDEPEND="${DEPEND}" + +src_configure() { + # These vars all get picked up by build_detect_platform + # which the Makefile runs for us automatically. + tc-export AR CC CXX + export OPT="-DNDEBUG ${CPPFLAGS}" + # Probably needs more filling out + export TARGET_OS + case ${CHOST} in + *) TARGET_OS="Linux";; + esac + export USE_SNAPPY=$(usex snappy) + export USE_TCMALLOC=no +} + +src_compile() { + emake $(usex static-libs '' 'LIBRARY=') all libmemenv.a +} + +src_test() { + emake check +} + +src_install() { + insinto /usr/include + doins -r include/* helpers/memenv/memenv.h + dolib.so libleveldb*$(get_libname)* + use static-libs && dolib.a libleveldb.a + dolib.a libmemenv.a +} diff --git a/dev-libs/leveldb/leveldb-1.15.0-r1.ebuild b/dev-libs/leveldb/leveldb-1.15.0-r1.ebuild new file mode 100644 index 000000000000..f2ea73b72f90 --- /dev/null +++ b/dev-libs/leveldb/leveldb-1.15.0-r1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +inherit eutils multilib toolchain-funcs + +DESCRIPTION="a fast key-value storage library written at Google" +HOMEPAGE="https://github.com/google/leveldb" +SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 arm ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux" +IUSE="+snappy static-libs +tcmalloc" + +DEPEND="tcmalloc? ( dev-util/google-perftools ) + snappy? ( + app-arch/snappy + static-libs? ( app-arch/snappy[static-libs] ) + )" +RDEPEND="${DEPEND}" + +src_prepare() { + cp "${FILESDIR}/${PN}-1.9.0-memenv-so.patch" "${S}/patch" + sed -i 's/\(^ SHARED_MINOR =\).*/\1 15/' "${S}/patch" + epatch "${S}/patch" +} + +src_configure() { + # These vars all get picked up by build_detect_platform + # which the Makefile runs for us automatically. + tc-export AR CC CXX + export OPT="-DNDEBUG ${CPPFLAGS}" + # Probably needs more filling out + export TARGET_OS + case ${CHOST} in + *) TARGET_OS="Linux";; + esac + export USE_SNAPPY=$(usex snappy) + export USE_TCMALLOC=no +} + +src_compile() { + emake $(usex static-libs '' 'LIBRARY=') all libmemenv.a libmemenv.SHARED +} + +src_test() { + emake check +} + +src_install() { + insinto /usr/include + doins -r include/* helpers/memenv/memenv.h + dolib.so libleveldb*$(get_libname)* + use static-libs && dolib.a libleveldb.a + dolib.a libmemenv.a + dolib.so libmemenv*$(get_libname)* +} diff --git a/dev-libs/leveldb/leveldb-1.15.0.ebuild b/dev-libs/leveldb/leveldb-1.15.0.ebuild new file mode 100644 index 000000000000..0b1c19884483 --- /dev/null +++ b/dev-libs/leveldb/leveldb-1.15.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +inherit eutils multilib toolchain-funcs + +DESCRIPTION="a fast key-value storage library written at Google" +HOMEPAGE="https://github.com/google/leveldb" +SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" +IUSE="+snappy static-libs +tcmalloc" + +DEPEND="tcmalloc? ( dev-util/google-perftools ) + snappy? ( + app-arch/snappy + static-libs? ( app-arch/snappy[static-libs] ) + )" +RDEPEND="${DEPEND}" + +src_configure() { + # These vars all get picked up by build_detect_platform + # which the Makefile runs for us automatically. + tc-export AR CC CXX + export OPT="-DNDEBUG ${CPPFLAGS}" + # Probably needs more filling out + export TARGET_OS + case ${CHOST} in + *) TARGET_OS="Linux";; + esac + export USE_SNAPPY=$(usex snappy) + export USE_TCMALLOC=no +} + +src_compile() { + emake $(usex static-libs '' 'LIBRARY=') all libmemenv.a +} + +src_test() { + emake check +} + +src_install() { + insinto /usr/include + doins -r include/* helpers/memenv/memenv.h + dolib.so libleveldb*$(get_libname)* + use static-libs && dolib.a libleveldb.a + dolib.a libmemenv.a +} diff --git a/dev-libs/leveldb/leveldb-1.17.ebuild b/dev-libs/leveldb/leveldb-1.17.ebuild new file mode 100644 index 000000000000..932d7cd196df --- /dev/null +++ b/dev-libs/leveldb/leveldb-1.17.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils multilib toolchain-funcs versionator + +GITCRAP="e353fbc7ea81" + +DESCRIPTION="a fast key-value storage library written at Google" +HOMEPAGE="https://github.com/google/leveldb" +#SRC_URI="https://${PN}.googlecode.com/archive/${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI="https://dev.gentoo.org/~floppym/dist/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" +IUSE="+snappy static-libs +tcmalloc" + +DEPEND="tcmalloc? ( dev-util/google-perftools ) + snappy? ( + app-arch/snappy + static-libs? ( app-arch/snappy[static-libs] ) + )" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${PN}-${GITCRAP}" + +src_prepare() { + local SHARED_MINOR=$(get_version_component_range 2) + cp "${FILESDIR}/${PN}-1.9.0-memenv-so.patch" "${S}/patch" + sed -i "s/\(^ SHARED_MINOR =\).*/\1 ${SHARED_MINOR}/" "${S}/patch" + epatch "${S}/patch" + + # lacks execution bit + chmod +x "${S}"/build_detect_platform || die +} + +src_configure() { + # These vars all get picked up by build_detect_platform + # which the Makefile runs for us automatically. + tc-export AR CC CXX + export OPT="-DNDEBUG ${CPPFLAGS}" + # Probably needs more filling out + export TARGET_OS + case ${CHOST} in + *) TARGET_OS="Linux";; + esac + export USE_SNAPPY=$(usex snappy) + export USE_TCMALLOC=no +} + +src_compile() { + emake $(usex static-libs '' 'LIBRARY=') all libmemenv.a libmemenv.SHARED +} + +src_test() { + emake check +} + +src_install() { + insinto /usr/include + doins -r include/* helpers/memenv/memenv.h + dolib.so libleveldb*$(get_libname)* + use static-libs && dolib.a libleveldb.a + dolib.a libmemenv.a + dolib.so libmemenv*$(get_libname)* +} diff --git a/dev-libs/leveldb/leveldb-1.18-r2.ebuild b/dev-libs/leveldb/leveldb-1.18-r2.ebuild new file mode 100644 index 000000000000..0afecb254ff8 --- /dev/null +++ b/dev-libs/leveldb/leveldb-1.18-r2.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils multilib toolchain-funcs versionator + +DESCRIPTION="a fast key-value storage library written at Google" +HOMEPAGE="http://leveldb.org/ https://github.com/google/leveldb" +SRC_URI="https://github.com/google/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 arm ~arm64 ~mips ~ppc ppc64 x86 ~amd64-fbsd ~amd64-linux ~x86-linux" +IUSE="+snappy static-libs +tcmalloc kernel_FreeBSD" + +DEPEND="tcmalloc? ( dev-util/google-perftools ) + snappy? ( + app-arch/snappy:= + static-libs? ( app-arch/snappy[static-libs] ) + )" +RDEPEND="${DEPEND}" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-1.18-mips.patch + epatch "${FILESDIR}"/${PN}-1.18-configure.patch #541186 + + local SHARED_MINOR=$(get_version_component_range 2) + sed \ + -e "s/\(^ SHARED_MINOR =\).*/\1 ${SHARED_MINOR}/" \ + "${FILESDIR}/${PN}-1.9.0-memenv-so.patch" > memenv-so.patch + epatch memenv-so.patch +} + +src_configure() { + # These vars all get picked up by build_detect_platform + # which the Makefile runs for us automatically. + tc-export AR CC CXX + export OPT="-DNDEBUG ${CPPFLAGS}" + local targetos + if use kernel_FreeBSD; then + targetos="FreeBSD" + else + targetos="Linux" + fi + + TARGET_OS=${targetos} \ + USE_SNAPPY=$(usex snappy) \ + USE_TCMALLOC=no \ + TMPDIR=${T} \ + sh -x ./build_detect_platform build_config.mk ./ +} + +src_compile() { + emake $(usex static-libs 'libmemenv.a' 'LIBRARY=') all libmemenv.SHARED +} + +src_test() { + emake check +} + +src_install() { + insinto /usr/include + doins -r include/* + # This matches the path Debian picked. Upstream provides no guidance. + insinto /usr/include/leveldb/helpers + doins helpers/memenv/memenv.h + + dolib.so libleveldb*$(get_libname)* + use static-libs && dolib.a libleveldb.a libmemenv.a + dolib.so libmemenv*$(get_libname)* +} diff --git a/dev-libs/leveldb/leveldb-1.18.ebuild b/dev-libs/leveldb/leveldb-1.18.ebuild new file mode 100644 index 000000000000..4d12e3776624 --- /dev/null +++ b/dev-libs/leveldb/leveldb-1.18.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils multilib toolchain-funcs versionator + +DESCRIPTION="a fast key-value storage library written at Google" +HOMEPAGE="https://github.com/google/leveldb" +SRC_URI="https://github.com/google/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" +IUSE="+snappy static-libs +tcmalloc" + +DEPEND="tcmalloc? ( dev-util/google-perftools ) + snappy? ( + app-arch/snappy + static-libs? ( app-arch/snappy[static-libs] ) + )" +RDEPEND="${DEPEND}" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-1.18-mips.patch + + local SHARED_MINOR=$(get_version_component_range 2) + sed \ + -e "s/\(^ SHARED_MINOR =\).*/\1 ${SHARED_MINOR}/" \ + "${FILESDIR}/${PN}-1.9.0-memenv-so.patch" > memenv-so.patch + epatch memenv-so.patch + + # lacks execution bit + chmod +x build_detect_platform || die +} + +src_configure() { + # These vars all get picked up by build_detect_platform + # which the Makefile runs for us automatically. + tc-export AR CC CXX + export OPT="-DNDEBUG ${CPPFLAGS}" + # Probably needs more filling out + export TARGET_OS + case ${CHOST} in + *) TARGET_OS="Linux";; + esac + export USE_SNAPPY=$(usex snappy) + export USE_TCMALLOC=no +} + +src_compile() { + emake $(usex static-libs 'libmemenv.a' 'LIBRARY=') all libmemenv.SHARED +} + +src_test() { + emake check +} + +src_install() { + insinto /usr/include + doins -r include/* helpers/memenv/memenv.h + dolib.so libleveldb*$(get_libname)* + use static-libs && dolib.a libleveldb.a libmemenv.a + dolib.so libmemenv*$(get_libname)* +} diff --git a/dev-libs/leveldb/leveldb-1.9.0-r5.ebuild b/dev-libs/leveldb/leveldb-1.9.0-r5.ebuild new file mode 100644 index 000000000000..6a25a27fc933 --- /dev/null +++ b/dev-libs/leveldb/leveldb-1.9.0-r5.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +inherit eutils multilib toolchain-funcs + +DESCRIPTION="a fast key-value storage library written at Google" +HOMEPAGE="https://github.com/google/leveldb" +SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 arm ~ppc ~ppc64 x86" +IUSE="+snappy static-libs" + +DEPEND=" + snappy? ( + app-arch/snappy + static-libs? ( app-arch/snappy[static-libs] ) + )" +RDEPEND="${DEPEND}" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-1.9.0-configure.patch +} + +src_configure() { + # These vars all get picked up by build_detect_platform + # which the Makefile runs for us automatically. + tc-export AR CC CXX + export OPT="-DNDEBUG ${CPPFLAGS}" + # Probably needs more filling out + export TARGET_OS + case ${CHOST} in + *) TARGET_OS="Linux";; + esac + export USE_SNAPPY=$(usex snappy) + export USE_TCMALLOC=no +} + +src_compile() { + emake $(usex static-libs '' 'LIBRARY=') all libmemenv.a +} + +src_test() { + emake check +} + +src_install() { + insinto /usr/include + doins -r include/* helpers/memenv/memenv.h + dolib.so libleveldb*$(get_libname)* + use static-libs && dolib.a libleveldb.a + dolib.a libmemenv.a +} diff --git a/dev-libs/leveldb/leveldb-1.9.0-r6.ebuild b/dev-libs/leveldb/leveldb-1.9.0-r6.ebuild new file mode 100644 index 000000000000..397354b0f635 --- /dev/null +++ b/dev-libs/leveldb/leveldb-1.9.0-r6.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +inherit eutils multilib toolchain-funcs + +DESCRIPTION="a fast key-value storage library written at Google" +HOMEPAGE="https://github.com/google/leveldb" +SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 arm ~ppc ~ppc64 x86" +IUSE="+snappy static-libs" + +DEPEND=" + snappy? ( + app-arch/snappy + static-libs? ( app-arch/snappy[static-libs] ) + )" +RDEPEND="${DEPEND}" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-1.9.0-configure.patch + epatch "${FILESDIR}"/${PN}-1.9.0-forwardcompat.patch +} + +src_configure() { + # These vars all get picked up by build_detect_platform + # which the Makefile runs for us automatically. + tc-export AR CC CXX + export OPT="-DNDEBUG ${CPPFLAGS}" + # Probably needs more filling out + export TARGET_OS + case ${CHOST} in + *) TARGET_OS="Linux";; + esac + export USE_SNAPPY=$(usex snappy) + export USE_TCMALLOC=no +} + +src_compile() { + emake $(usex static-libs '' 'LIBRARY=') all libmemenv.a +} + +src_test() { + emake check +} + +src_install() { + insinto /usr/include + doins -r include/* helpers/memenv/memenv.h + dolib.so libleveldb*$(get_libname)* + use static-libs && dolib.a libleveldb.a + dolib.a libmemenv.a +} diff --git a/dev-libs/leveldb/metadata.xml b/dev-libs/leveldb/metadata.xml new file mode 100644 index 000000000000..1b1686f1de67 --- /dev/null +++ b/dev-libs/leveldb/metadata.xml @@ -0,0 +1,14 @@ + + + + + patrick@gentoo.org + Patrick Lauer + + + support the snappy compression library + + + google/leveldb + + diff --git a/dev-libs/libFuzzer/Manifest b/dev-libs/libFuzzer/Manifest new file mode 100644 index 000000000000..5669a3dcc6cc --- /dev/null +++ b/dev-libs/libFuzzer/Manifest @@ -0,0 +1,4 @@ +AUX libFuzzer-3.9.1-32-bit.patch 641 SHA256 28412406d69334f138362a68cf65e99ed8c4b1dbf665463001260e47b9658094 SHA512 0ef5c142530cdaeb46025c8a2f3bff14f0aac3c9c772008468a86ee3d9ebc54f8dbe133ee6a3b4c7bc29cc5d7363957d6db1b3a6e510460db52669982fd1e170 WHIRLPOOL a3a9c48d168f5e76f0b3ec2b36467f559bf3b7159f34aa4a884fecacc02f48663f4d149a78c093b468b2b680b21910d7f1d5ad0cdeac4fead6ef24417c170a88 +DIST llvm-3.9.1.src.tar.xz 18130436 SHA256 1fd90354b9cf19232e8f168faf2220e79be555df3aa743242700879e8fd329ee SHA512 50cbe8ee911080f586e77861c442348701bd02e2de0c090c54c34f82ac275ecfcd712af0f41e387c33b4a6057778a4258a27554292fe68ab4af3fd9dd6d90683 WHIRLPOOL 1cd1a25befcb178bec4a4aace4367167f3838d32edbe9db9de8c6e558c01c1fcf123f6d6f80b7ec9ff32b3d6dcf2de2f4eb4201d417c3d17a5c8a69934832903 +EBUILD libFuzzer-3.9.1.ebuild 1000 SHA256 84be3b5a302ed6ba350f8db0bb37b47e250719be800ad57466d833d917c14296 SHA512 2833285c4d2666dcad3d2ebd74e7d75f6cf8310f7ab728de61328ec524893016609f0a75a9d381bc1c1d71e0931e382c15fcc3e91dd4b053c8a33505326a9bcb WHIRLPOOL f335d9e43a9744f3daefd0125d42ba733154772e129f7abd03f827aba983cae235bd46d1d695e6dab231435fa75391a7c25a4bb9fd7bade6a2a73c6de662c5b9 +MISC metadata.xml 288 SHA256 1da842c16bfa4bed9071196a4b3496d836644db8f9c317bd03378799776bb32f SHA512 1b4ccb80b24e2843d577dfa4e2597058f1af080f28b3521293f72aca6b708e95b8922a29d227a58113a659deb3992d05ee20c3d950fda658c4cda48a39a90219 WHIRLPOOL e0c4b6681bbb5a21e1c056799818f57fd5673cd18cbef4712eb0120db21585e04ba8b80f3c50d40f9d9129eecb493e30b34c03427ffec2cdeed3147cb3a44010 diff --git a/dev-libs/libFuzzer/files/libFuzzer-3.9.1-32-bit.patch b/dev-libs/libFuzzer/files/libFuzzer-3.9.1-32-bit.patch new file mode 100644 index 000000000000..1257686d1c39 --- /dev/null +++ b/dev-libs/libFuzzer/files/libFuzzer-3.9.1-32-bit.patch @@ -0,0 +1,16 @@ +this code has been rewritten in newer versions so this patch can be thrown +away when we upgrade. + +https://bugs.gentoo.org/612656 + +--- a/FuzzerLoop.cpp ++++ b/FuzzerLoop.cpp +@@ -366,7 +366,7 @@ + double Lambda = 2.0 * log(2.0) / static_cast(MaxCorpusLen); + std::exponential_distribution<> Dist(Lambda); + std::vector Sizes; +- size_t TruncatePoints = std::max(1ul, TruncateMaxRuns / Corpus.size()); ++ size_t TruncatePoints = std::max((size_t)1, TruncateMaxRuns / Corpus.size()); + Sizes.reserve(TruncatePoints); + for (size_t I = 0; I < TruncatePoints; ++I) { + Sizes.push_back(Dist(MD.GetRand().Get_mt19937()) + 1); diff --git a/dev-libs/libFuzzer/libFuzzer-3.9.1.ebuild b/dev-libs/libFuzzer/libFuzzer-3.9.1.ebuild new file mode 100644 index 000000000000..43b99e894a91 --- /dev/null +++ b/dev-libs/libFuzzer/libFuzzer-3.9.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit cmake-multilib flag-o-matic + +MY_P="llvm-${PV}" + +DESCRIPTION="A fuzzing library distributed as part of LLVM" +HOMEPAGE="http://llvm.org/docs/LibFuzzer.html" +SRC_URI="http://llvm.org/releases/${PV}/${MY_P}.src.tar.xz" + +LICENSE="UoI-NCSA" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +S_ROOT="${WORKDIR}/${MY_P}.src" +S="${S_ROOT}/lib/Fuzzer" + +PATCHES=( + "${FILESDIR}"/${P}-32-bit.patch #612656 +) + +src_prepare() { + cmake-utils_src_prepare + sed -i '/CMAKE_CXX_FLAGS/d' CMakeLists.txt || die +} + +multilib_src_configure() { + append-cxxflags -std=c++11 + local mycmakeargs=( + "-DLLVM_USE_SANITIZE_COVERAGE=ON" + "-DLLVM_USE_SANITIZER=Address" + "-DLIB_DIR=$(get_libdir)" + ) + cmake-utils_src_configure +} + +multilib_src_install() { + newlib.a libLLVMFuzzer.a libFuzzer.a + newlib.a libLLVMFuzzerNoMain.a libFuzzerNoMain.a +} + +multilib_src_install_all() { + dodoc "${S_ROOT}/docs/LibFuzzer.rst" +} diff --git a/dev-libs/libFuzzer/metadata.xml b/dev-libs/libFuzzer/metadata.xml new file mode 100644 index 000000000000..83f3425f4281 --- /dev/null +++ b/dev-libs/libFuzzer/metadata.xml @@ -0,0 +1,10 @@ + + + + + llvm@gentoo.org + + + vapier@gentoo.org + + diff --git a/dev-libs/libIDL/Manifest b/dev-libs/libIDL/Manifest new file mode 100644 index 000000000000..bb0d6914a047 --- /dev/null +++ b/dev-libs/libIDL/Manifest @@ -0,0 +1,6 @@ +DIST libIDL-0.8.14.tar.bz2 427149 SHA256 c5d24d8c096546353fbc7cedf208392d5a02afe9d56ebcc1cccb258d7c4d2220 SHA512 906dde087908acd64b209fe466a89ae52a6ea23601cb30092063a6e062b1b6640fc2d5f422efcdd52b2b36ce20e6c244da6205fde0bdcec787fe64058be7adac WHIRLPOOL c466c0f67c68f72ca11a7d32bb1b1e4bb19a2282873142680e5d65bff4771874e76eec638c75f1e75563f3002e66883fc327943283cb1eb9250a30490dcf88ea +EBUILD libIDL-0.8.14-r2.ebuild 695 SHA256 c6764497fba49d256abf5df30bc47f34c5e84c927742d550bd6b5f3970a7101c SHA512 ea800e9ae7c8df8231f98ab3a49d145ebedec8f6e22dcee1daf83f497730e65af6e3a7c63eca44b6cb35d27811f79ce870b08e464f7e9546ae7718947df4b4b6 WHIRLPOOL 2ccb0004a6663e815f6807560918ec65556c56c35ae5e991ddba2a84b2109bf36dc91cdfe5eb3ad4e93e9071b1b8ba09466bc8ddfe5793b13131e97f2b7f97fd +EBUILD libIDL-0.8.14.ebuild 564 SHA256 96d9b15a40804f251d830c92d5d27fb5ad27eee31ac1dec1094e1f0094401652 SHA512 3d07c9fd36a285496cb747e86acda7d8f8fce2aa8db0e52df13c30dc21a6ab9edd7137ac3d8527b883739fdb2b335d6ffd6642a902a304ac212661a4bda6006b WHIRLPOOL b3cb58234cec3b50711e1ea9370da06ac65c843057c9accb3bcb12600c173e503dfc2ba66111e131d303862e7885d448ffe4d605e89c99a20240a1e829e08afb +MISC ChangeLog 4049 SHA256 6e31e55f26c6afaf5cb60cda57982db0971d7706fc5d1fba788d8063250cc463 SHA512 006e5a837a9162ec9f5241e8fb45a2ec644e46f656738d31503cd22d12bbc027f09907ef9681eb6b75edd4ca465ea9b9ad4c27648723e2fce88432e80eccb59d WHIRLPOOL 8b8f0b9c012882173fe84b1dbb2282059c0a5bd63177fa643e07f41c20f2a2f28c1a7636375b7208fb9504af0639df56dafc8b07c81846f0a3bdd9b707f5ab6d +MISC ChangeLog-2015 14378 SHA256 67b2cb9c88afd0e7caf97a154dc1327813646f87d388dd69055970982b8f6f0d SHA512 ed741450f76b2aa9ba8d5b1d48a519010a322520c215a14f831e2d4234b9d5eee77233011cfe8f13887bc107d0d21c03b5dc8b77e40db555c92ad6110f204670 WHIRLPOOL 31873baa3fa45018ecc13be0fe7976112cd4cba219948c1ef8dc646fcce77fe3b9d357e105431a5eaf617e15baedb263aad3ddcb6e96226d6940cd7a831c1639 +MISC metadata.xml 249 SHA256 4505b0bfeadff287958620b7dc7b7209699065a8f17139a237a5dd409a726a97 SHA512 c40662134899a5c9f0369a1017806f35adf3280a0b3c91726f7a8ca6012a073a8b471583f5bfb6fe95faac1dcf607e8e2e43f8c91d48ec46f4a8824e2f551506 WHIRLPOOL 333a938ee1d2124595596c572697bf5ebad523a92ba12005cfb12e6bb6270881a94a911f0cc9c1cf2bb571559e8271e07dfd307dabe50058236dbe7103562b92 diff --git a/dev-libs/libIDL/libIDL-0.8.14-r2.ebuild b/dev-libs/libIDL/libIDL-0.8.14-r2.ebuild new file mode 100644 index 000000000000..aa649a61d9a1 --- /dev/null +++ b/dev-libs/libIDL/libIDL-0.8.14-r2.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +GNOME_TARBALL_SUFFIX="bz2" + +inherit gnome2 multilib-minimal + +DESCRIPTION="CORBA tree builder" +HOMEPAGE="https://www.gnome.org/" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd" +IUSE="" + +RDEPEND=">=dev-libs/glib-2.44.1-r1:2[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND} + sys-devel/flex + virtual/yacc + virtual/pkgconfig +" + +multilib_src_configure() { + local ECONF_SOURCE="${S}" + gnome2_src_configure --disable-static +} + +multilib_src_compile() { + gnome2_src_compile +} + +multilib_src_install() { + gnome2_src_install +} diff --git a/dev-libs/libIDL/libIDL-0.8.14.ebuild b/dev-libs/libIDL/libIDL-0.8.14.ebuild new file mode 100644 index 000000000000..71df66bbaa23 --- /dev/null +++ b/dev-libs/libIDL/libIDL-0.8.14.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +GNOME_TARBALL_SUFFIX="bz2" +GCONF_DEBUG="no" + +inherit eutils gnome2 + +DESCRIPTION="CORBA tree builder" +HOMEPAGE="https://www.gnome.org/" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~amd64-fbsd ~x86-fbsd" +IUSE="" + +RDEPEND=">=dev-libs/glib-2.4:2" +DEPEND="${RDEPEND} + sys-devel/flex + virtual/yacc + virtual/pkgconfig" + +DOCS="AUTHORS BUGS ChangeLog HACKING MAINTAINERS NEWS README" +G2CONF="--disable-static" diff --git a/dev-libs/libIDL/metadata.xml b/dev-libs/libIDL/metadata.xml new file mode 100644 index 000000000000..39980802b1da --- /dev/null +++ b/dev-libs/libIDL/metadata.xml @@ -0,0 +1,8 @@ + + + + + gnome@gentoo.org + Gentoo GNOME Desktop + + diff --git a/dev-libs/libaio/Manifest b/dev-libs/libaio/Manifest new file mode 100644 index 000000000000..a750859f564c --- /dev/null +++ b/dev-libs/libaio/Manifest @@ -0,0 +1,11 @@ +AUX libaio-0.3.109-install.patch 1506 SHA256 6d4b429bd3f29bf3748256943ee1a7cbb4cb6d9b3af63b2a9ee0be913783e34e SHA512 67c7813c573637fb16f930a4a5eed53c04b520356caa809ec3cdfd1ea587d09a30024f41d03264a31e3ae4410b01193f87e14a40b85a93591573516905abd79e WHIRLPOOL 167abe932291311dc927d6d52499aa465c2f90785ce2f7f98c85592adc4f977f88cc13fb45bd0788c05cdc07890ddee5d1a4b07ffd6d1a656479e2e4a3ccd28a +AUX libaio-0.3.109-testcase-8.patch 579 SHA256 c1ae004284b8ebda84d781cf9caf784de6ddbccbca534bb16f33f36451aec904 SHA512 e39ea546c9035d064f18845ffd2987254eb0205bfe220639df295498aea8a1003d83142c0a8de3d73c7178ad2ccb784e898c5586083ea2b2193d480948828a3c WHIRLPOOL 9c1bb90af32db992e5cac3bc6a4047244a82a1f31fd437bf9da8733c08a6f60b1468f1c7a74a62f6968d2ea48daf50c2be218987b46f0c74d2ce5b1c19ab2fb4 +AUX libaio-0.3.109-x32.patch 2122 SHA256 23a4c40e8add0125ebb9f50919ff27f55de0e2605ca7800bc875e0e81a936974 SHA512 0de645aa290919de0c82c26a0ecbed1d27dc3fdeeb909a86f36ee875afae2803ce97e0088c75e47a1de1cef99527659da75b9e17e5c310a1a518eb02a948a0b2 WHIRLPOOL 24a29a324ed62755d118c8eaea0e3edc9e38c28a9a9ede8456af9219734a6914b8ba589e4ad479dce24695e3d67e0c270840589148875a88acce611466d65b16 +AUX libaio-0.3.110-cppflags.patch 629 SHA256 76ce5e1b2c23200cff613ab1098c804707bd361d85ea8d18872c5ed891ef02c1 SHA512 b39fabcb37e75ab9300d78476a7468359efa883a49822db28d11d305d557f835ac9245b9c8c3e0a8ff6c7fd70125c841056f1e22175025d16a99ce94f849f80c WHIRLPOOL baa180d184fbd72766d2f85e083bf56cc3ccbcfd93b0281ebefac20e49ce3915fa6765d907ec7ccef21664393c95b9ce7244bb72f3607d521130a92f0e2f0e7d +AUX libaio-0.3.110-link-stdlib.patch 731 SHA256 4b856429a0872922d9acfeed62d603182dba35111290417455ddfd9a7ae4cb80 SHA512 b434da8190ca145fcdd64aa788be5d8bd1b44c112e117bfb8583cce91cfdcfb52038189bd9c92d690286e6576d82e74e62b465585f6333f1a920769ddbe29c32 WHIRLPOOL ce242a3f9546074a31f8983cbc935524ffd9dbadbcc4772024c84eccb4125d35f814cbaad68b6a06a01ccacdcffad3c878390db25f7e4911a0d1c9a0c2861712 +AUX libaio-0.3.110-optional-werror.patch 832 SHA256 4854607a4569a86c514d3bfa7470e21b06ca82edff174cefc18f3e923dfc9d9c SHA512 14b73acded7f67d01e199c411f2ea090b1d0d666521233d3829ca76572d6962f5dc3560096dc10e13c342eed046fb47a6e370e57fceab457696fad6c888a5067 WHIRLPOOL c0f02e9c28e113ce5daced925c48e0461ee650c06e8103f594931118b34ecfb01e892ef6d829b73058a30f8ba67e5f470b84304fbfe1467f3e7d7b47bc8127cd +DIST libaio-0.3.110.tar.gz 42270 SHA256 e019028e631725729376250e32b473012f7cb68e1f7275bfc1bbcdd0f8745f7e SHA512 664295d330d6e9adc005e2331e77582619625b479ffc2b81728ba6a682487380ee936079c4a69d35144b458bbe35c612f4ed9b32e913bd7e109b824345763eb3 WHIRLPOOL 21666b6d14e8091a52941b54b1c6d882dd495ed2d5ca9047a7951ee44e90aa33348ade0d3e4e7f12076a264b64b354a06cd96433cb39e18fc87b3655b59767af +EBUILD libaio-0.3.110.ebuild 2213 SHA256 85faffae78576f8ef54db34867e8f16ff24b5de543f4fd5286be5a7b536b44c4 SHA512 80601b081b9362ce194d91a760395ccbfac4bd8e0a089c55c1715504939b742ec9e4b313dd3fb382058d0ae5a08f9ea8670938a3405655e7de7feb3c1de6ec09 WHIRLPOOL 859cab70b7c72c551bdac3d76d5e3e81f0e974018ff4c3ed6db7e3a61265063f7cc63337e3ab361b7c54485b812691cc757cb4535a847b0baa66284ae16ea3fb +MISC ChangeLog 4948 SHA256 8c72a673fda17b818f97d78627fee3d4d85b0b16fc62315c93ec3e803de7d240 SHA512 7d1b82b7868c2dca31caeb0b7be41b7b4d24f2a4cefc135d985f4a7e941cdc931ac033cd94c55c596bf448d0d7a78d2a90fff2ef8aed26357a371f7252f305ae WHIRLPOOL 7e76ff4e1b0cd8d1ac5206b9e4c446af7f4ff742d873abbee95d5d24c843435f5acc74dd2bdd6f396e72fe191c309bee8be2620ed9fa5a522ba52137c6f87a11 +MISC ChangeLog-2015 13084 SHA256 06b80495c4e8e9d2b9b3c23a2800bc2d3996e90fdf67498b2561ddc381a4d333 SHA512 2910bfaff866ac8c06002070e5299fe507e64d37dc3c4d26dffd78593944d5b91497ae35d2ed67b7794763ed6a6d46677f89a0a2c5ad02365bf860f0369fec87 WHIRLPOOL c2994f44d723449f5e8769190d277089a0905620e0befe7dbcaefb6f9ae5a3035c5376ce3fe26be8bf8896ad0033bd39bb46dda304e109719f39196faac23d1a +MISC metadata.xml 486 SHA256 e9d65a770364b40d001b66d909917effcaf47f8c9658c35c9c82d51c94b8c775 SHA512 4506edd4b7820f2d86f36d212399d011efe56860319103cc93920672e4a49c2618bc96ed167e69356d2ed3f667520e7874a7a85024d08b81861c3ddf4f26bebb WHIRLPOOL 87a0de82e7c0a8f157cabc4ffafcfb4b421d42a502f632d0c6ad113a0a118ab20eb0ef93a69b0c91d259ed1974f92a3ee365fd674d1b9a24b7767dc1896189c1 diff --git a/dev-libs/libaio/files/libaio-0.3.109-install.patch b/dev-libs/libaio/files/libaio-0.3.109-install.patch new file mode 100644 index 000000000000..9c049fcbf5cd --- /dev/null +++ b/dev-libs/libaio/files/libaio-0.3.109-install.patch @@ -0,0 +1,45 @@ +From 2e34caef82a2367a85de4f06daf5e5a92f61e845 Mon Sep 17 00:00:00 2001 +From: Mike Frysinger +Date: Sun, 17 Jan 2010 17:10:14 -0500 +Subject: [PATCH] fix up install paths + +This is similar to the Fedora patch, but this uses more common conventions +like "DESTDIR" instead of "destdir". + +Signed-off-by: Mike Frysinger +--- + src/Makefile | 11 ++++++----- + 1 files changed, 6 insertions(+), 5 deletions(-) + +diff --git a/src/Makefile b/src/Makefile +index 687c7be..ee431a1 100644 +--- a/src/Makefile ++++ b/src/Makefile +@@ -1,6 +1,7 @@ + prefix=/usr + includedir=$(prefix)/include + libdir=$(prefix)/lib ++usrlibdir=$(libdir) + + CFLAGS ?= -g -fomit-frame-pointer -O2 + CFLAGS += -nostdlib -nostartfiles -Wall -I. -fPIC +@@ -53,11 +54,11 @@ $(libname): $(libaio_sobjs) libaio.map + $(CC) $(SO_CFLAGS) -Wl,--version-script=libaio.map -Wl,-soname,$(soname) -o $@ $(libaio_sobjs) $(LINK_FLAGS) + + install: $(all_targets) +- install -D -m 644 libaio.h $(includedir)/libaio.h +- install -D -m 644 libaio.a $(libdir)/libaio.a +- install -D -m 755 $(libname) $(libdir)/$(libname) +- ln -sf $(libname) $(libdir)/$(soname) +- ln -sf $(libname) $(libdir)/libaio.so ++ install -D -m 644 libaio.h $(DESTDIR)$(includedir)/libaio.h ++ install -D -m 644 libaio.a $(DESTDIR)$(usrlibdir)/libaio.a ++ install -D -m 755 $(libname) $(DESTDIR)$(libdir)/$(libname) ++ ln -sf $(libname) $(DESTDIR)$(usrlibdir)/$(soname) ++ ln -sf $(libname) $(DESTDIR)$(usrlibdir)/libaio.so + + $(libaio_objs): libaio.h + +-- +1.7.3.1 + diff --git a/dev-libs/libaio/files/libaio-0.3.109-testcase-8.patch b/dev-libs/libaio/files/libaio-0.3.109-testcase-8.patch new file mode 100644 index 000000000000..de66f2110f22 --- /dev/null +++ b/dev-libs/libaio/files/libaio-0.3.109-testcase-8.patch @@ -0,0 +1,19 @@ +Do not ignore return value of ftruncate(): testcases are compiled with -Werror, +and ftruncate is declared with attribute warn_unused_result. +--- harness/cases/8.t.orig 2012-03-09 16:40:04.074168070 +0100 ++++ harness/cases/8.t 2012-03-09 16:40:57.777278646 +0100 +@@ -9,12 +9,13 @@ + { + long long min = 0, max = 9223372036854775807LL; + char c = 0; ++ int ret; + + while (max - min > 1) { + if (pwrite64(fd, &c, 1, (min + max) / 2) == -1) + max = (min + max) / 2; + else { +- ftruncate(fd, 0); ++ ret = ftruncate(fd, 0); assert(ret == 0); + min = (min + max) / 2; + } + } diff --git a/dev-libs/libaio/files/libaio-0.3.109-x32.patch b/dev-libs/libaio/files/libaio-0.3.109-x32.patch new file mode 100644 index 000000000000..1d2c2a9050fa --- /dev/null +++ b/dev-libs/libaio/files/libaio-0.3.109-x32.patch @@ -0,0 +1,63 @@ +http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=f5c071d93c9e6f57930bce56b1e4f009c160a826 + +Upstream-Status: Pending + +Properly load arguments 5 an 6 for x86-64 syscall +Use asm ("r10") and asm ("r8") to load arguments 5 an 6 for x86-64 +syscall so that it works with both x32 and x86-64. + +Received this patch from H.J. Lu + +Signed-Off-By: Nitin A Kamble +2011/12/02 + +--- libaio-0.3.109/src/syscall-x86_64.h.x32 2009-10-09 11:17:02.000000000 -0700 ++++ libaio-0.3.109/src/syscall-x86_64.h 2011-12-02 09:09:07.537603224 -0800 +@@ -1,8 +1,18 @@ ++#ifndef __NR_io_setup + #define __NR_io_setup 206 ++#endif ++#ifndef __NR_io_destroy + #define __NR_io_destroy 207 ++#endif ++#ifndef __NR_io_getevents + #define __NR_io_getevents 208 ++#endif ++#ifndef __NR_io_submit + #define __NR_io_submit 209 ++#endif ++#ifndef __NR_io_cancel + #define __NR_io_cancel 210 ++#endif + + #define __syscall_clobber "r11","rcx","memory" + #define __syscall "syscall" +@@ -42,10 +52,11 @@ return __res; \ + type fname (type1 arg1, type2 arg2, type3 arg3, type4 arg4) \ + { \ + long __res; \ +-__asm__ volatile ("movq %5,%%r10 ;" __syscall \ ++register long __a4 asm ("r10") = (long) arg4; \ ++__asm__ volatile (__syscall \ + : "=a" (__res) \ + : "0" (__NR_##sname),"D" ((long)(arg1)),"S" ((long)(arg2)), \ +- "d" ((long)(arg3)),"g" ((long)(arg4)) : __syscall_clobber,"r10" ); \ ++ "d" ((long)(arg3)),"r" (__a4)); \ + return __res; \ + } + +@@ -54,10 +65,11 @@ return __res; \ + type fname (type1 arg1,type2 arg2,type3 arg3,type4 arg4,type5 arg5) \ + { \ + long __res; \ +-__asm__ volatile ("movq %5,%%r10 ; movq %6,%%r8 ; " __syscall \ ++register long __a4 asm ("r10") = (long) arg4; \ ++register long __a5 asm ("r8") = (long) arg5; \ ++__asm__ volatile ( __syscall \ + : "=a" (__res) \ + : "0" (__NR_##sname),"D" ((long)(arg1)),"S" ((long)(arg2)), \ +- "d" ((long)(arg3)),"g" ((long)(arg4)),"g" ((long)(arg5)) : \ +- __syscall_clobber,"r8","r10" ); \ ++ "d" ((long)(arg3)),"r" (__a4),"r" (__a5)); \ + return __res; \ + } diff --git a/dev-libs/libaio/files/libaio-0.3.110-cppflags.patch b/dev-libs/libaio/files/libaio-0.3.110-cppflags.patch new file mode 100644 index 000000000000..4567ac946681 --- /dev/null +++ b/dev-libs/libaio/files/libaio-0.3.110-cppflags.patch @@ -0,0 +1,25 @@ +From 3bf96bb62370035dba18d4b25459406b32365cfc Mon Sep 17 00:00:00 2001 +From: Mike Frysinger +Date: Wed, 26 Mar 2014 23:10:18 -0400 +Subject: [PATCH] respect env CPPFLAGS + +Signed-off-by: Mike Frysinger +--- + src/Makefile | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/Makefile b/src/Makefile +index 49f448f..b918c8b 100644 +--- a/src/Makefile ++++ b/src/Makefile +@@ -5,6 +5,7 @@ usrlibdir=$(libdir) + + CFLAGS ?= -g -fomit-frame-pointer -O2 + CFLAGS += -nostdlib -nostartfiles -Wall -I. -fPIC ++CFLAGS += $(CPPFLAGS) + SO_CFLAGS=-shared $(CFLAGS) + L_CFLAGS=$(CFLAGS) + LINK_FLAGS= +-- +1.9.1 + diff --git a/dev-libs/libaio/files/libaio-0.3.110-link-stdlib.patch b/dev-libs/libaio/files/libaio-0.3.110-link-stdlib.patch new file mode 100644 index 000000000000..696a928f24d8 --- /dev/null +++ b/dev-libs/libaio/files/libaio-0.3.110-link-stdlib.patch @@ -0,0 +1,21 @@ +From: Gokturk Yuksek +Subject: [PATCH] Link against stdlib to resolve fortified functions + +When '-fstack-protector-strong' is included in CFLAGS, the function +'__stack_chk_fail_local' needs to be pulled from libc. However, upstream +uses '-nostdlib' to avoid linking against any C library or gcc libs. Remove +'-nostdlib' and '-nostartfiles' to pull the required symbols from libc. + +Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=558406 + +--- a/src/Makefile ++++ b/src/Makefile +@@ -4,7 +4,7 @@ + usrlibdir=$(libdir) + + CFLAGS ?= -g -fomit-frame-pointer -O2 +-CFLAGS += -nostdlib -nostartfiles -Wall -I. -fPIC ++CFLAGS += -Wall -I. -fPIC + CFLAGS += $(CPPFLAGS) + SO_CFLAGS=-shared $(CFLAGS) + L_CFLAGS=$(CFLAGS) diff --git a/dev-libs/libaio/files/libaio-0.3.110-optional-werror.patch b/dev-libs/libaio/files/libaio-0.3.110-optional-werror.patch new file mode 100644 index 000000000000..2933cf5244bc --- /dev/null +++ b/dev-libs/libaio/files/libaio-0.3.110-optional-werror.patch @@ -0,0 +1,30 @@ +From 0cc7dc108d0b2288b40d82bb2fd1fd8bdc08f764 Mon Sep 17 00:00:00 2001 +From: Mike Frysinger +Date: Wed, 26 Mar 2014 23:07:58 -0400 +Subject: [PATCH] make -Werror into an optional flag + +This lets distros disable the flag as random errors might come up with +different compiler flags and older/newer toolchain versions. + +Signed-off-by: Mike Frysinger +--- + harness/Makefile | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/harness/Makefile b/harness/Makefile +index 2a88e71..cf8c90d 100644 +--- a/harness/Makefile ++++ b/harness/Makefile +@@ -6,7 +6,8 @@ PROGS:=$(PARTPROGS) $(EXTRAPROGS) + HARNESS_SRCS:=main.c + # io_queue.c + +-CFLAGS+=-Wall -Werror -I../src -g -O ++CFLAGS_WERROR?=-Werror ++CFLAGS+=-Wall $(CFLAGS_WERROR) -I../src -g -O + #-lpthread -lrt + + all: $(PROGS) +-- +1.9.1 + diff --git a/dev-libs/libaio/libaio-0.3.110.ebuild b/dev-libs/libaio/libaio-0.3.110.ebuild new file mode 100644 index 000000000000..5b5e2acaf55e --- /dev/null +++ b/dev-libs/libaio/libaio-0.3.110.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils multilib-minimal toolchain-funcs flag-o-matic + +DESCRIPTION="Asynchronous input/output library that uses the kernels native interface" +HOMEPAGE="http://lse.sourceforge.net/io/aio.html" +SRC_URI="mirror://debian/pool/main/liba/${PN}/${PN}_${PV}.orig.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~x86-linux" +IUSE="static-libs test" + +src_prepare() { + epatch \ + "${FILESDIR}"/${PN}-0.3.109-install.patch \ + "${FILESDIR}"/${PN}-0.3.109-x32.patch \ + "${FILESDIR}"/${PN}-0.3.109-testcase-8.patch \ + "${FILESDIR}"/${PN}-0.3.110-cppflags.patch \ + "${FILESDIR}"/${PN}-0.3.110-optional-werror.patch \ + "${FILESDIR}"/${PN}-0.3.110-link-stdlib.patch #558406 + + local sed_args=( + -e "/^prefix=/s:/usr:${EPREFIX}/usr:" + -e '/^libdir=/s:lib$:$(ABI_LIBDIR):' + ) + if ! use static-libs; then + sed_args+=( -e '/\tinstall .*\/libaio.a/d' ) + # Tests require the static library to be built. + use test || sed_args+=( -e '/^all_targets +=/s/ libaio.a//' ) + fi + sed -i "${sed_args[@]}" src/Makefile Makefile || die + + multilib_copy_sources +} + +multilib_src_configure() { + if use arm ; then + # When building for thumb, we can't allow frame pointers. + # http://crbug.com/464517 + if $(tc-getCPP) ${CFLAGS} ${CPPFLAGS} - <<<$'#ifndef __thumb__\n#error\n#endif' >&/dev/null ; then + append-flags -fomit-frame-pointer + fi + fi +} + +_emake() { + CC=$(tc-getCC) \ + AR=$(tc-getAR) \ + RANLIB=$(tc-getRANLIB) \ + ABI_LIBDIR=$(get_libdir) \ + CFLAGS_WERROR= \ + emake "$@" +} + +multilib_src_compile() { + _emake +} + +multilib_src_test() { + mkdir -p testdir || die + # 'make check' breaks with sandbox, 'make partcheck' works + _emake partcheck prefix="${S}/src" libdir="${S}/src" +} + +multilib_src_install() { + _emake install DESTDIR="${D}" +} + +multilib_src_install_all() { + doman man/* + dodoc ChangeLog TODO + + # move crap to / for multipath-tools #325355 + gen_usr_ldscript -a aio + + # This lib is a bare minimal shim on top of kernel syscalls. + export QA_DT_NEEDED=$(find "${ED}" -type f -name 'libaio.so.*' -printf '/%P\n') +} diff --git a/dev-libs/libaio/metadata.xml b/dev-libs/libaio/metadata.xml new file mode 100644 index 000000000000..9f4f6e46b46a --- /dev/null +++ b/dev-libs/libaio/metadata.xml @@ -0,0 +1,13 @@ + + + + + gokturk@gentoo.org + Göktürk Yüksek + + Library to provide user-level kernel Asynchronous I/O (AIO) + support for Linux (needs kernel patches as of 2.6.12) + + lse + + diff --git a/dev-libs/libappindicator/Manifest b/dev-libs/libappindicator/Manifest new file mode 100644 index 000000000000..a7c4ca2bd2f7 --- /dev/null +++ b/dev-libs/libappindicator/Manifest @@ -0,0 +1,8 @@ +AUX libappindicator-12.10.0-conditional-py-bindings.patch 2019 SHA256 40dc073f3825ff53ae16e3e37411bde2b70a9d9b89f8e8c85885e779b32d7260 SHA512 69d86a3d1e930a0f0c79091dba9691610ecb0fcf13c672fc0ff511bb764b7f74f6c42cab558b6412863a8353fe9a8d72c40419db873fdc4716a93ba3bbbd0aea WHIRLPOOL 3fdb70b4a67d32dcd3780cdeb4688b036c33607945ee6b64932a29ed4db1ad9efbce8792f2e89b10be34007d8b554b7dcfaa6e972e785a77607f2d435cb3caf9 +AUX libappindicator-12.10.0-vala-inherit.patch 561 SHA256 77635b7b5bc0686577a191e0ac78dcfba79f5e5695b6b72cae7c412e59bc736d SHA512 b021bc0ec7fc1b311add7d6f8a9018fa6f5e807168055c95440e5f5d3d6d5b48375e11542b906058a0786194b1911c8bdcab9632573c1f128772ff6d54aa9173 WHIRLPOOL 3ad42ee4799fad11fcbe8ff1e10dbaf708bdc89149368b12dc5a94a17f27510f87644ffa3f4b31f5954c24693ab41bf3356b71a3d0feb6b51d68ee99d19fe8db +DIST libappindicator-12.10.0.tar.gz 535562 SHA256 d5907c1f98084acf28fd19593cb70672caa0ca1cf82d747ba6f4830d4cc3b49f SHA512 317a22a23c8ed84e74207b64b2e9683992d1fb7208176637a051dfe925974f966d1cfa31e650b45eaf839ab61641dee8fbebc8a07882a09b0dd766d88b8d5b9a WHIRLPOOL fdf1d3afbe82d287da688295e6f999656a4dd8e0a1c75aeffa9fd83c69b97cfd37e682f0ca4aff42d30e99b0add8a9e75f870d8a6a72e5337e1afd67ffe618eb +EBUILD libappindicator-12.10.0-r201.ebuild 2200 SHA256 f23d69ff81cb31702d6d453fe1704bc8c3ecf9e205e06f1aff61894be018adce SHA512 857d7e8283ab0701df9ef5f91285ca183de65966581ece8567d7ff290de6069e44f5ad756eac3e87f1c5b622ff45c15ecbddc3d32db804c46162ef2a09779892 WHIRLPOOL 55efa5d02c276fd4e843e0195e3a4cac432b9efbf20c21bb980038a07c136d29bc6c68fe90acd550b25113ca1c98fe8e41ff82d31b56a5ba06ea1e594e57ae7e +EBUILD libappindicator-12.10.0-r301.ebuild 1876 SHA256 c39418a18eeb56704f56cc6e3370a7384533c0b835d34fc2f3f8f319a7cbba65 SHA512 d210fda05de10bf9b4fb04ead61659f162f4dd152219249a8c43422979c6b2ad58b61d6c0e382e11c26aecbcd53f9ac0c64dae0b27821be04caca62b841b1e71 WHIRLPOOL 767373704fe6538266700994cbb72c2a4866b1b925a8367717042b9c14bd421c9dea8e9acdce22fbe44da159dcf09297bfd85ed9bec4985053ec4888ffcc2526 +MISC ChangeLog 5535 SHA256 b76d49d1b6f9772b76cf4a43cc063f3c045df020dadd6a95c1f353b93e1f6c67 SHA512 16c7b9fc64bfee44e36714179763e18dda3754c1cff16c00b4b2b53c62149cd052efcef8673e131f4da123c5eaa4312f9abe4aea48656b88151b41cbb312bd7d WHIRLPOOL acec392dd12e31371c709f939bfbeb59c31c25dcc0c0edb0dec16b1474204bd8dfd5004912ce4cbb8a10d69cf954c20212b4fad35de765129cd21b8d5ec74f56 +MISC ChangeLog-2015 4221 SHA256 7723dea79768bd308537e12022dfcc4f7f91352a4ecadfe2c6065fb4dd5f6a42 SHA512 6bb70e687ec1432555922d0bc793bd8bb18c8026e13964f6e4d966d554f0db320645926a030e8ee0ef7050ffaa3ef9ed079a339cb2df63804123ed26179e474c WHIRLPOOL b13916b04c0c12d9033d64be4465d2043db488456b09bcb9058354260a80c9e4c1ca40f9384cad64527834524225d2e24681a90eeb0d846245e1d2cfb6012cb8 +MISC metadata.xml 250 SHA256 079ab62d4a42815574b539ac456672153f69c6cabeab682443b8f5af47a3e8ca SHA512 161da1b732e0f23b06e0732db24f27cb486e7c673e8585d2f6403dc23147b56b5a64dd09978e3dd2db20e9e6a462daf50fe8bc73774d52445d1f6549d82104e0 WHIRLPOOL ce012474d2564090374a0ad62e27a3636203a317810e63637b8675aa418b44ffd69067245b497098dc2071eedefd9a50d047f4795989fe408caa7f9d33bd457c diff --git a/dev-libs/libappindicator/files/libappindicator-12.10.0-conditional-py-bindings.patch b/dev-libs/libappindicator/files/libappindicator-12.10.0-conditional-py-bindings.patch new file mode 100644 index 000000000000..c916d9ba2cf6 --- /dev/null +++ b/dev-libs/libappindicator/files/libappindicator-12.10.0-conditional-py-bindings.patch @@ -0,0 +1,72 @@ +--- a/bindings/Makefile.am 2015-07-10 10:04:18.091199191 +0200 ++++ b/bindings/Makefile.am 2015-07-10 10:19:47.047974439 +0200 +@@ -3,8 +3,10 @@ + vala + else + SUBDIRS = \ +- python \ + vala ++if HAS_PYTHON ++SUBDIRS += python ++endif + endif + + if HAS_MONO +--- a/configure.ac 2015-07-16 13:28:41.007502838 +0200 ++++ b/configure.ac_new 2015-07-16 13:53:18.118602877 +0200 +@@ -188,25 +188,37 @@ + PYGTK_REQUIRED=2.14.0 + PYGOBJECT_REQUIRED=0.22 + +-AM_PATH_PYTHON(2.3.5) +-AM_CHECK_PYTHON_HEADERS(,[AC_MSG_ERROR(could not find Python headers)]) ++AC_ARG_ENABLE([python], ++ AC_HELP_STRING([--enable-python], [Enable python for GTK2 build]),, ++ [enable_python=yes]) + +-PKG_CHECK_MODULES(APPINDICATOR_PYTHON, ++if test x"$with_gtk" = x"3" ; then ++ enable_python=no ++fi ++ ++AM_CONDITIONAL(HAS_PYTHON, test x"${enable_python}" != x"no") ++ ++if test x"$enable_python" != x"no" ; then ++ AM_PATH_PYTHON(2.3.5) ++ AM_CHECK_PYTHON_HEADERS(,[AC_MSG_ERROR(could not find Python headers)]) ++ ++ PKG_CHECK_MODULES(APPINDICATOR_PYTHON, + [ + pygtk-2.0 >= $PYGTK_REQUIRED + gtk+-2.0 >= $GTK_REQUIRED_VERSION + pygobject-2.0 >= $PYGOBJECT_REQUIRED + ]) + +-AC_MSG_CHECKING(for pygtk defs) +-PYGTK_DEFSDIR=`$PKG_CONFIG --variable=defsdir pygtk-2.0` +-AC_SUBST(PYGTK_DEFSDIR) +-AC_MSG_RESULT($PYGTK_DEFSDIR) +- +-AC_MSG_CHECKING(for pygtk codegen) +-PYGTK_CODEGEN="$PYTHON `$PKG_CONFIG --variable=codegendir pygtk-2.0`/codegen.py" +-AC_SUBST(PYGTK_CODEGEN) +-AC_MSG_RESULT($PYGTK_CODEGEN) ++ AC_MSG_CHECKING(for pygtk defs) ++ PYGTK_DEFSDIR=`$PKG_CONFIG --variable=defsdir pygtk-2.0` ++ AC_SUBST(PYGTK_DEFSDIR) ++ AC_MSG_RESULT($PYGTK_DEFSDIR) ++ ++ AC_MSG_CHECKING(for pygtk codegen) ++ PYGTK_CODEGEN="$PYTHON `$PKG_CONFIG --variable=codegendir pygtk-2.0`/codegen.py" ++ AC_SUBST(PYGTK_CODEGEN) ++ AC_MSG_RESULT($PYGTK_CODEGEN) ++fi + + ######################### + # Check if build tests +@@ -278,4 +290,5 @@ + Tests: $enable_tests + Mono tests: $have_nunit + gcov: $use_gcov ++ Python: $enable_python + ]) diff --git a/dev-libs/libappindicator/files/libappindicator-12.10.0-vala-inherit.patch b/dev-libs/libappindicator/files/libappindicator-12.10.0-vala-inherit.patch new file mode 100644 index 000000000000..e71cb690c15e --- /dev/null +++ b/dev-libs/libappindicator/files/libappindicator-12.10.0-vala-inherit.patch @@ -0,0 +1,14 @@ +# http://bazaar.launchpad.net/~indicator-applet-developers/libappindicator/trunk.12.10/revision/244 +=== modified file 'bindings/vala/appindicator-0.1-custom.vala' +--- a/bindings/vala/appindicator-0.1-custom.vala 2011-09-23 15:46:27 +0000 ++++ b/bindings/vala/appindicator-0.1-custom.vala 2012-10-10 23:33:35 +0000 +@@ -23,7 +23,7 @@ + */ + + namespace AppIndicator { +- [CCode (type_check_function = "IS_APP_INDICATOR")] ++ [CCode (type_check_function = "IS_APP_INDICATOR", type_id = "app_indicator_get_type ()")] + public class Indicator : GLib.Object { + } + } + diff --git a/dev-libs/libappindicator/libappindicator-12.10.0-r201.ebuild b/dev-libs/libappindicator/libappindicator-12.10.0-r201.ebuild new file mode 100644 index 000000000000..171bc7b67fb7 --- /dev/null +++ b/dev-libs/libappindicator/libappindicator-12.10.0-r201.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +VALA_USE_DEPEND="vapigen" + +PYTHON_COMPAT=( python2_7 ) + +inherit autotools eutils multilib-minimal python-single-r1 vala xdg-utils + +DESCRIPTION="A library to allow applications to export a menu into the Unity Menu bar" +HOMEPAGE="https://launchpad.net/libappindicator" +SRC_URI="https://launchpad.net/${PN}/${PV%.*}/${PV}/+download/${P}.tar.gz" + +LICENSE="LGPL-2.1 LGPL-3" +SLOT="2" +KEYWORDS="amd64 ~arm x86" + +IUSE="+introspection python" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND=" + >=dev-libs/dbus-glib-0.98[${MULTILIB_USEDEP}] + >=dev-libs/glib-2.26:2[${MULTILIB_USEDEP}] + >=dev-libs/libdbusmenu-0.6.2[gtk,${MULTILIB_USEDEP}] + >=dev-libs/libindicator-12.10.0:0[${MULTILIB_USEDEP}] + x11-libs/gtk+:2[${MULTILIB_USEDEP},introspection?] + introspection? ( >=dev-libs/gobject-introspection-1:= ) + python? ( + ${PYTHON_DEPS} + dev-python/pygtk[${PYTHON_USEDEP}] + ) +" +DEPEND="${RDEPEND} + virtual/pkgconfig[${MULTILIB_USEDEP}] + introspection? ( $(vala_depend) ) +" + +PATCHES=( + "${FILESDIR}"/${P}-conditional-py-bindings.patch + # http://bazaar.launchpad.net/~indicator-applet-developers/libappindicator/trunk.12.10/revision/244 + "${FILESDIR}"/${P}-vala-inherit.patch +) + +pkg_setup() { + use python && python-single-r1_pkg_setup +} + +src_prepare() { + default + + xdg_environment_reset + + # Don't use -Werror + sed -i -e 's/ -Werror//' {src,tests}/Makefile.{am,in} || die + + eautoreconf + + # Disable MONO for now because of https://bugs.gentoo.org/382491 + sed -i -e '/^MONO_REQUIRED_VERSION/s:=.*:=9999:' configure || die +} + +multilib_src_configure() { + if multilib_is_native_abi; then + local -x VALAC VALA_API_GEN VAPIGEN_VAPIDIR PKG_CONFIG_PATH + use introspection && vala_src_prepare && export VALA_API_GEN="${VAPIGEN}" + fi + + ECONF_SOURCE=${S} \ + econf \ + --disable-static \ + --with-gtk=2 \ + $(multilib_native_use_enable introspection) \ + $(multilib_native_use_enable python) +} + +multilib_src_install() { + emake -j1 DESTDIR="${D}" install +} + +multilib_src_install_all() { + einstalldocs + prune_libtool_files --modules + + # installed by slot 3 as well + rm -r "${D}"usr/share/gtk-doc || die +} diff --git a/dev-libs/libappindicator/libappindicator-12.10.0-r301.ebuild b/dev-libs/libappindicator/libappindicator-12.10.0-r301.ebuild new file mode 100644 index 000000000000..291389380bc2 --- /dev/null +++ b/dev-libs/libappindicator/libappindicator-12.10.0-r301.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +VALA_USE_DEPEND="vapigen" + +inherit autotools eutils multilib-minimal vala xdg-utils + +DESCRIPTION="A library to allow applications to export a menu into the Unity Menu bar" +HOMEPAGE="https://launchpad.net/libappindicator" +SRC_URI="https://launchpad.net/${PN}/${PV%.*}/${PV}/+download/${P}.tar.gz" + +LICENSE="LGPL-2.1 LGPL-3" +SLOT="3" +KEYWORDS="amd64 ~arm x86" +IUSE="+introspection" + +RDEPEND=" + >=dev-libs/dbus-glib-0.98[${MULTILIB_USEDEP}] + >=dev-libs/glib-2.26:2[${MULTILIB_USEDEP}] + >=dev-libs/libdbusmenu-0.6.2[gtk3,${MULTILIB_USEDEP}] + >=dev-libs/libindicator-12.10.0:3[${MULTILIB_USEDEP}] + >=x11-libs/gtk+-3.2:3[${MULTILIB_USEDEP},introspection?] + introspection? ( >=dev-libs/gobject-introspection-1:= ) +" +DEPEND="${RDEPEND} + introspection? ( $(vala_depend) ) + dev-util/gtk-doc-am + virtual/pkgconfig[${MULTILIB_USEDEP}] +" + +PATCHES=( + "${FILESDIR}"/${P}-conditional-py-bindings.patch + # http://bazaar.launchpad.net/~indicator-applet-developers/libappindicator/trunk.12.10/revision/244 + "${FILESDIR}"/${P}-vala-inherit.patch +) + +src_prepare() { + default + + xdg_environment_reset + + # Don't use -Werror + sed -i -e 's/ -Werror//' {src,tests}/Makefile.{am,in} || die + + eautoreconf + + # Disable MONO for now because of https://bugs.gentoo.org/382491 + sed -i -e '/^MONO_REQUIRED_VERSION/s:=.*:=9999:' configure || die +} + +multilib_src_configure() { + if multilib_is_native_abi; then + local -x VALAC VALA_API_GEN VAPIGEN_VAPIDIR PKG_CONFIG_PATH + use introspection && vala_src_prepare && export VALA_API_GEN="${VAPIGEN}" + fi + + ECONF_SOURCE=${S} \ + econf \ + --disable-static \ + --with-gtk=3 \ + $(multilib_native_use_enable introspection) +} + +multilib_src_install() { + emake -j1 DESTDIR="${D}" install +} + +multilib_src_install_all() { + einstalldocs + prune_libtool_files +} diff --git a/dev-libs/libappindicator/metadata.xml b/dev-libs/libappindicator/metadata.xml new file mode 100644 index 000000000000..d3453a21683f --- /dev/null +++ b/dev-libs/libappindicator/metadata.xml @@ -0,0 +1,8 @@ + + + + + + libappindicator + + diff --git a/dev-libs/libarcus/Manifest b/dev-libs/libarcus/Manifest new file mode 100644 index 000000000000..2deb04f56130 --- /dev/null +++ b/dev-libs/libarcus/Manifest @@ -0,0 +1,9 @@ +AUX libarcus-1.0.0-fix-install-paths.patch 2987 SHA256 84b98876b9b1f7efe52a7adf91616d51ca45660780477e6ea6f5eca6b3543ef6 SHA512 971da6d467f9843a9e86c49cff63b517a1666d23277ccbb90a7a87d0c1ea259c38f00a7a51372fcaea8a1d6fb373a730b4beca02f787b500e2831a5ad02404b5 WHIRLPOOL 4e2c35bb975a4294721d1c34e2520f9384087227d8a7151044f8b9a34cfadaaa02f05d5b74aa8cf7247b8f65e108e72ae771afa422037f1ec40e85dbb933ecd8 +DIST libarcus-1.0.0_pre20160307.tar.gz 40461 SHA256 ca4f286cc8bae08ddf166fa470f8381f25cf61629168ca965a2f4079e758ebfc SHA512 ec654fbe2d34ad60afd0c1f3745e9f0ef5709e3698ea78d17089dad5e86cb686f38a0ea4cca07b6911058ebdf61c17b51a89c002cbf74cbbd4a68a133d8984e5 WHIRLPOOL 0c688c0fb20022a14bce6870fd1da84c891b2f68f335d9f6ebcc25432dab51823b3e9d20be8a3a51a69bc1832c3cd55576c91e0246fcc15fc4456916d5278b28 +DIST libarcus-2.3.1.tar.gz 41641 SHA256 084061c6b19effbc86648915f0df3e4a8e64356487d111ac75dd2ee052ad43e8 SHA512 24ac5dd784993658e823dc7111e0ff31e77f8d95c4f024a84a7db731577ba595427de0917911fe7e0ba5848241ad33237fe6edb90a5191741e9523f616dd06a6 WHIRLPOOL 912893ee2314bb16ac580169ecc39e2f23470500b699b6d2f9b3e7dda62341268754c05774693305bbfb4a5bbcaee9aeec7695f61eaa86eab6ff1494720445de +DIST libarcus-2.6.0.tar.gz 39516 SHA256 4031a3b37aed0ddfeb7113d326117e8503be6ad0cc62d0e3d10161c1fdb2f3da SHA512 1a2c7ec83999f7874b9e82874e83550c7595fcbb0d4fcee2d84c2a06f4ec1147df30ac2e06e55552c718889fbd21146c43a9f8cf08ff282908b866bf87729ca8 WHIRLPOOL 4dab391d9607024cb3887dc7d896cac6ede99dba134383bd636ce97878ca89f513c6e081215ed39e35c568881a32e11e50cd169823187bafeac0360efb043651 +EBUILD libarcus-1.0.0_pre20160307.ebuild 1212 SHA256 ba4680a3c9d3e8e5cbfbad84a96ab5e55220daffe3ac4c741e7954d7d03c6e10 SHA512 29a5f6443d823715eeb78b3b93ff6a64902398fbdf42a1f1920300f4967ca98fd865c4f1dbcac479ff6c092cc3cfc6df837ef56231b1357eaf40eaf3b0c86c5f WHIRLPOOL 51a62a1830262b644e6a57b1d1701c8f37ec2915f9f0cf323669bd83757c4bcbedfe0c50ef04d9fe9fe2d6d7ff92add5c5cea4cd9e83082c9dff65db9b13fbc4 +EBUILD libarcus-2.3.1.ebuild 1092 SHA256 ec3ed4be14f46bbd13bbea2926638b6cdbe9a89c158b93353049f26093d44033 SHA512 c0d0653662c38aa651c3736e22b9278a6d4df5dfe9e460b53467c932a17096a7bcd2dc361c3376036b7ea2baae0b650e60b076348fa7969901469bd179b029ec WHIRLPOOL 47197cdb2cb91e4866722c89d17d0a63b7e7260b7c44d4129cb24e9e75e4f850f33126c7df27c1af36b8eb0a9afec3bedea0498b318bf3488b8fe66b222ac3d7 +EBUILD libarcus-2.6.0.ebuild 1102 SHA256 066f7f6fce65f95d9dfe86927bb19c172699e0c9f660e1baf0c5282ae8edbf87 SHA512 449610a36974d7aa91d537f0f03f87cb63376c5b5e9f096ec5e033c7139040b53e52dd811fc7e31014d5d6071e7ae3b5d60d9e1367f1a14fb956c1e4e27ae5b3 WHIRLPOOL 6cf122ee74e3106f407d627444b2e0cd1f62b9ef1248a485bbf38e49745b7fbede631e0a28bae06185e19df61e29ce65ed6db7da23bbb8d626f3676d4fe12c97 +MISC ChangeLog 902 SHA256 4eb5801a7178af286dc3791eee9a5cbb257af7ac36bf349fa3f09556a090bb06 SHA512 05070dbdf3802b946be1cee4c3b2ec68468b1c8f621cb0dbf9eb624a27f6e953a4b57f3f13e440a9b9888c23fa75db1ba45d8de8ce3df29a5b15fe7d7920de38 WHIRLPOOL a19d47ddefe53188add87347dfddf730b7e07a54bc5cf23a483e855a8101222785d20c902cd8fa960911795d2e4e8586451631ef9d65e1de02239b2bb71db14a +MISC metadata.xml 730 SHA256 99ed2794cb349f2ab24a2ab91b7388e2569259d7a39fb1487ce664c30b6e2aee SHA512 181560028ef3c095d61785c1951f30277d9f6fec3503825f79614c20a6b7b14b11a49fdd827975c17029638cfeb5d1605606bc95fe07640fd878f9bb60ca2abc WHIRLPOOL 088dd7823519de305c275e56b8faddd91326c2878e79ea7b8ca2793dd5c4bcb99094a95d91a3c5401e229b68141fc8019a4ed1b3ec02d8e3e2a503e0f624a291 diff --git a/dev-libs/libarcus/files/libarcus-1.0.0-fix-install-paths.patch b/dev-libs/libarcus/files/libarcus-1.0.0-fix-install-paths.patch new file mode 100644 index 000000000000..b1473f7f661c --- /dev/null +++ b/dev-libs/libarcus/files/libarcus-1.0.0-fix-install-paths.patch @@ -0,0 +1,77 @@ +diff -Naur a/CMakeLists.txt b/CMakeLists.txt +--- a/CMakeLists.txt 2016-03-07 10:36:38.000000000 +0100 ++++ b/CMakeLists.txt 2016-04-16 11:54:15.499524812 +0200 +@@ -1,6 +1,7 @@ + project(arcus) + cmake_minimum_required(VERSION 2.8.12) + ++include(GNUInstallDirs) + include(CMakePackageConfigHelpers) + + option(BUILD_PYTHON "Build " ON) +@@ -14,10 +15,12 @@ + + if(BUILD_PYTHON) + set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake) +- if(APPLE OR WIN32) +- set(PYTHON_SITE_PACKAGES_DIR lib/python3.4/site-packages CACHE STRING "Directory to install Python bindings to") +- else() +- set(PYTHON_SITE_PACKAGES_DIR lib/python3/dist-packages CACHE STRING "Directory to install Python bindings to") ++ if(NOT PYTHON_SITE_PACKAGES_DIR) ++ if(APPLE OR WIN32) ++ set(PYTHON_SITE_PACKAGES_DIR lib/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}/site-packages CACHE STRING "Directory to install Python bindings to") ++ else() ++ set(PYTHON_SITE_PACKAGES_DIR lib/python${PYTHON_VERSION_MAJOR}/dist-packages CACHE STRING "Directory to install Python bindings to") ++ endif() + endif() + find_package(SIP REQUIRED) + include_directories(python/ src/ ${PYTHON_INCLUDE_DIR} ${SIP_INCLUDE_DIR}) +@@ -57,7 +60,7 @@ + set(ARCUS_VERSION 1.0.0) + set(ARCUS_SOVERSION 2) + +-set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib") ++set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}") + + if(BUILD_STATIC) + add_library(Arcus STATIC ${arcus_SRCS}) +@@ -89,7 +92,7 @@ + target_include_directories(Arcus PUBLIC + ${PROTOBUF_INCLUDE_DIR} + $ +- $ ++ $ + ) + target_link_libraries(Arcus PUBLIC + ${PROTOBUF_LIBRARY} +@@ -120,23 +123,23 @@ + + install(TARGETS Arcus + EXPORT Arcus-targets +- RUNTIME DESTINATION bin +- LIBRARY DESTINATION lib +- ARCHIVE DESTINATION lib +- PUBLIC_HEADER DESTINATION include/Arcus ++ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} ++ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} ++ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} ++ PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/Arcus + ) + + install(EXPORT Arcus-targets +- DESTINATION lib/cmake/Arcus ++ DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/Arcus + ) + +-configure_package_config_file(ArcusConfig.cmake.in ${CMAKE_BINARY_DIR}/ArcusConfig.cmake INSTALL_DESTINATION lib/cmake/Arcus) ++configure_package_config_file(ArcusConfig.cmake.in ${CMAKE_BINARY_DIR}/ArcusConfig.cmake INSTALL_DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/Arcus) + write_basic_package_version_file(${CMAKE_BINARY_DIR}/ArcusConfigVersion.cmake VERSION ${ARCUS_VERSION} COMPATIBILITY SameMajorVersion) + + install(FILES + ${CMAKE_BINARY_DIR}/ArcusConfig.cmake + ${CMAKE_BINARY_DIR}/ArcusConfigVersion.cmake +- DESTINATION lib/cmake/Arcus ++ DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/Arcus + ) + + include(CPackConfig.cmake) diff --git a/dev-libs/libarcus/libarcus-1.0.0_pre20160307.ebuild b/dev-libs/libarcus/libarcus-1.0.0_pre20160307.ebuild new file mode 100644 index 000000000000..cbd6bec86cef --- /dev/null +++ b/dev-libs/libarcus/libarcus-1.0.0_pre20160307.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +PYTHON_COMPAT=( python3_4 python3_5 ) +inherit cmake-utils python-single-r1 + +MY_PN="libArcus" +COMMIT="1db8a8e57dbf0d68d9e9f85ef9022b8eae17c9ec" + +DESCRIPTION="This library facilitates communication between Cura and its backend" +HOMEPAGE="https://github.com/Ultimaker/libArcus" +SRC_URI="https://github.com/Ultimaker/${MY_PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="AGPL-3+" +SLOT="0/2" +IUSE="examples python static-libs" +KEYWORDS="~amd64 ~x86" + +RDEPEND="${PYTHON_DEPS} + dev-python/sip[${PYTHON_USEDEP}] + >=dev-libs/protobuf-3:= + >=dev-python/protobuf-python-3:*[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND}" +S="${WORKDIR}/${MY_PN}-${COMMIT}" +PATCHES=( "${FILESDIR}/${PN}-1.0.0-fix-install-paths.patch" ) +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +pkg_setup() { + use python && python-single-r1_pkg_setup +} + +src_configure() { + local mycmakeargs=( + -DBUILD_PYTHON=$(usex python ON OFF) + -DBUILD_EXAMPLES=$(usex examples ON OFF) + -DBUILD_STATIC=$(usex static-libs ON OFF) + ) + use python && mycmakeargs+=( -DPYTHON_SITE_PACKAGES_DIR="$(python_get_sitedir)" ) + cmake-utils_src_configure +} diff --git a/dev-libs/libarcus/libarcus-2.3.1.ebuild b/dev-libs/libarcus/libarcus-2.3.1.ebuild new file mode 100644 index 000000000000..9ac3d493cf1f --- /dev/null +++ b/dev-libs/libarcus/libarcus-2.3.1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +PYTHON_COMPAT=( python3_4 python3_5 ) +inherit cmake-utils python-single-r1 + +MY_PN="libArcus" + +DESCRIPTION="This library facilitates communication between Cura and its backend" +HOMEPAGE="https://github.com/Ultimaker/libArcus" +SRC_URI="https://github.com/Ultimaker/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="AGPL-3+" +SLOT="0/2" +IUSE="examples python static-libs" +KEYWORDS="~amd64 ~x86" + +RDEPEND="${PYTHON_DEPS} + dev-python/sip[${PYTHON_USEDEP}] + >=dev-libs/protobuf-3:= + >=dev-python/protobuf-python-3:*[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND}" +S="${WORKDIR}/${MY_PN}-${PV}" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +pkg_setup() { + use python && python-single-r1_pkg_setup +} + +src_configure() { + local mycmakeargs=( + -DBUILD_PYTHON=$(usex python ON OFF) + -DBUILD_EXAMPLES=$(usex examples ON OFF) + -DBUILD_STATIC=$(usex static-libs ON OFF) + ) + use python && mycmakeargs+=( -DPYTHON_SITE_PACKAGES_DIR="$(python_get_sitedir)" ) + cmake-utils_src_configure +} diff --git a/dev-libs/libarcus/libarcus-2.6.0.ebuild b/dev-libs/libarcus/libarcus-2.6.0.ebuild new file mode 100644 index 000000000000..59d80b0d81b0 --- /dev/null +++ b/dev-libs/libarcus/libarcus-2.6.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +PYTHON_COMPAT=( python3_4 python3_5 python3_6 ) +inherit cmake-utils python-single-r1 + +MY_PN="libArcus" + +DESCRIPTION="This library facilitates communication between Cura and its backend" +HOMEPAGE="https://github.com/Ultimaker/libArcus" +SRC_URI="https://github.com/Ultimaker/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="AGPL-3+" +SLOT="0/2" +IUSE="examples python static-libs" +KEYWORDS="~amd64 ~x86" + +RDEPEND="${PYTHON_DEPS} + dev-python/sip[${PYTHON_USEDEP}] + >=dev-libs/protobuf-3:= + >=dev-python/protobuf-python-3:*[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND}" +S="${WORKDIR}/${MY_PN}-${PV}" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +pkg_setup() { + use python && python-single-r1_pkg_setup +} + +src_configure() { + local mycmakeargs=( + -DBUILD_PYTHON=$(usex python ON OFF) + -DBUILD_EXAMPLES=$(usex examples ON OFF) + -DBUILD_STATIC=$(usex static-libs ON OFF) + ) + use python && mycmakeargs+=( -DPYTHON_SITE_PACKAGES_DIR="$(python_get_sitedir)" ) + cmake-utils_src_configure +} diff --git a/dev-libs/libarcus/metadata.xml b/dev-libs/libarcus/metadata.xml new file mode 100644 index 000000000000..8e6bee1bb253 --- /dev/null +++ b/dev-libs/libarcus/metadata.xml @@ -0,0 +1,22 @@ + + + + + tomboy64@sina.cn + Matthew Brewer + + + proxy-maint@gentoo.org + Gentoo Proxy Maintainers Project + + + 3dprint@gentoo.org + Gentoo 3D Printer Project + + + soname major version number + + + Ultimaker/libArcus + + diff --git a/dev-libs/libassuan/Manifest b/dev-libs/libassuan/Manifest new file mode 100644 index 000000000000..c09b3b581d96 --- /dev/null +++ b/dev-libs/libassuan/Manifest @@ -0,0 +1,5 @@ +DIST libassuan-2.4.3.tar.bz2 559867 SHA256 22843a3bdb256f59be49842abf24da76700354293a066d82ade8134bb5aa2b71 SHA512 2b0f58682b408fc58fa0ec2980b36e54ba66701bf504cf6c98ec652af43501bc7c18573bc78c5b83260f5a3bdb0ec8f4e0662bafd9bba3fe7287e77598e8e4c1 WHIRLPOOL fda468446ee6d6884588541867d01d058f073050c892f2a7d2ab433bd62d0d03a9473851eda6b5621bac9a4e0256df5a0bbe5d6375d918de434dbe2b7ffbf709 +EBUILD libassuan-2.4.3-r1.ebuild 1099 SHA256 2baee3cfd0d5950a0948fa239709cebf575067e314bae83c2cf0d04e826a1bab SHA512 a3cab0a03de279a18d49db4bc521dbfd04340f66edddb1cb05ac1dfdf6ab4096d1f082c3115e8cfa281873f2d25f810fdbe514aa083313e66a2c470e0e752db8 WHIRLPOOL 5367b8cc6b228aacd571ce136dc7a7943c48078b6ae71d92e0d57beed1684d6d515fbf3f2b56d121ef8ac93b796239154ecbc417f6d65ab7d0fa957fdee0c474 +MISC ChangeLog 5719 SHA256 a10d35627cbb2307e089400077ccd1e8e069263541d3e4dab314aaff3bdb32ee SHA512 068d74f3480e8857c8eb107e7d05e259d02384af5fe0d696e0b4df509cdad00ed452c104dc91606f9e7703e9825c7f8f2aedd997c30b3df296d7cebe097120ff WHIRLPOOL d5eb28e4467a7904cd456e90952947cc08746aa8475fc9a3efc19e40a163e346e4383b189c029ef8e3f4d4ba11506531f445bd622711f53c7ca878c23c6ef5ec +MISC ChangeLog-2015 14809 SHA256 e7368362f5ff0828ef8675791cc30c01cb1c988f09894ed31938786b3a593bb8 SHA512 e545672f36630e452b4ee61d602bcf6472dc3182045e3712ca1e99909552ab55d8375bae6273d58cf6bf169c42595a659b5cb669e191b43d30b0f11906c9cd58 WHIRLPOOL f3a216fb99dac83b32671e520a9aa36068cb33e798a0c952bf423641b259690bfb099ce276b9f7ca966eb0a4cfa6eb27adca324c9c583f99975f137e5c5481eb +MISC metadata.xml 858 SHA256 699f1f91b9bd22b8ea1f96711eda2df99262bdab3e99aab42f75692b4de776a2 SHA512 cb46245a5f02ad762cb86bb18ca13fee1e9df22c6e1e367c16c9392680722d4852834c6d4d259d7ca71d817ecac22bda120da75513d6f17d243fd8db062f4303 WHIRLPOOL 10a05256415c1ea1577bb96e07c37e264d6178497344ef2f272f886cb6d882e8856b3a55ad001820908f768436e5c8c043ef302229a695d743471ce8f4221d8b diff --git a/dev-libs/libassuan/libassuan-2.4.3-r1.ebuild b/dev-libs/libassuan/libassuan-2.4.3-r1.ebuild new file mode 100644 index 000000000000..158bc92f11b4 --- /dev/null +++ b/dev-libs/libassuan/libassuan-2.4.3-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit libtool ltprune + +DESCRIPTION="IPC library used by GnuPG and GPGME" +HOMEPAGE="http://www.gnupg.org/related_software/libassuan/index.en.html" +SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2" + +LICENSE="GPL-3 LGPL-2.1" +SLOT="0" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="static-libs" + +RDEPEND=">=dev-libs/libgpg-error-1.8" +DEPEND="${RDEPEND}" + +src_prepare() { + default + + if [[ ${CHOST} == *-solaris* ]] ; then + elibtoolize + + # fix standards conflict + sed -i \ + -e '/_XOPEN_SOURCE/s/500/600/' \ + -e 's/_XOPEN_SOURCE_EXTENDED/_NO&/' \ + -e 's/__EXTENSIONS__/_NO&/' \ + configure || die + fi +} + +src_configure() { + econf \ + $(use_enable static-libs static) +} + +src_install() { + default + # ppl need to use libassuan-config for --cflags and --libs + prune_libtool_files +} diff --git a/dev-libs/libassuan/metadata.xml b/dev-libs/libassuan/metadata.xml new file mode 100644 index 000000000000..fe0789259056 --- /dev/null +++ b/dev-libs/libassuan/metadata.xml @@ -0,0 +1,19 @@ + + + + + crypto@gentoo.org + Crypto + + +In an ideal world, Assuan is irrelevant. Assuan's primary use is to +allow a client to interact with a non-persistent server. Using Assuan, +this is accomplished by forking a subprocess and communicating with it +via, for example, a pipe or unix domain socket. This method is neither +elegant nor efficient especially when there is a lot of data spread +across several transactions: not only is there a penalty for an +increased number of context switches, but also a significant amount of +data is MEMCPYed from the client to a file descriptor and from the file +descriptor to the server. + + diff --git a/dev-libs/libatasmart/Manifest b/dev-libs/libatasmart/Manifest new file mode 100644 index 000000000000..4df1a2999f11 --- /dev/null +++ b/dev-libs/libatasmart/Manifest @@ -0,0 +1,7 @@ +DIST libatasmart-0.19.tar.xz 251204 SHA256 61f0ea345f63d28ab2ff0dc352c22271661b66bf09642db3a4049ac9dbdb0f8d SHA512 ec9edb019c477873b01289ba365ad0ed0946505d651c1f6f83a63ef61b3976a5db6439c8a0c74d9a55325db9a3a587ad6f655f8d1af9387b0d08356eccabdb62 WHIRLPOOL edb1296494806bbc83054110a12f703e428cfe4f340936b4393d226c702a15e97e5c6c82310fbb745d288202a9036d15eed7dd8b1ef982391dc579814db2669e +DIST libatasmart_0.19-2.debian.tar.gz 6511 SHA256 dcfe568cd42d952b1eb633894e213f913564a0e0e62e24ae37a4578bc420ac25 SHA512 78e86b0c1d2a56dddc8d9ac97ee325871e319ad2226f1fbd5a048d792cd05e5d8162d282c1f767086da5329cd1ee67b37fbb5a2fd3c950f84e9efab11abcf754 WHIRLPOOL 127e381b100076b9c343603d4ea76cd98264643db2f3240da4a3005a3514365ff0d15f1994e99c2b06c133640f04cc68f9fdb17e7f814a3520cb9b5591a0f8a6 +EBUILD libatasmart-0.19-r1.ebuild 947 SHA256 e4d58848c79c9d719d5a35df4465bd5f4873d7aa76eeb431d950fd5912e80f85 SHA512 9f01383cfd7db79cfa99d76f9a8b8c6fd2eb91d329c1b99ef32103c107fe731286b6103fa4748e304787ef16ff41e10d16db2b29788966b1854a19e7f6e478b0 WHIRLPOOL 14b4ad1a64d2c7366e9dc80e9984744e1c321ce43c646878543f9a4d6110b8bae3535426fb9314737712097c7ad606139ebd2885bf9ceefc46c31f994f870937 +EBUILD libatasmart-0.19-r2.ebuild 967 SHA256 5c56a675c1848c9f69988325dbf19039ebf3bb55b433c594fdd8a1579cf9cd06 SHA512 0803a8d5ba3e4a35889176fb709383e2aa344e08c898a952fb58042a3ce92b4ad2fcb050a92cfbb149f51b69ceb5ac56603c5406c0062bb85b9510a34c083500 WHIRLPOOL 9a021f54bc84acb06099a9222b49e221beb5765c325615081ddc87efc471ff9219f1af573a1b951ad956cc3c90ac13488551bca7aed08bcf9a6de0d95f2242f0 +MISC ChangeLog 3267 SHA256 4ec50624502888be40b259e36c00bf3cb6e38727bb86d40c4e21eca4f5bae34e SHA512 2dae7f524871fe7a52abec8bcccb9c85df9f9d04ca7330c0f54f1256a118f9a57751612dcb864e8f6ad61d7bdb18c394bd14fdd0222fdaca3a31e988c6341863 WHIRLPOOL ea90a355df96ff1f493ee92bb8ffa7f0e8994560ff5f46dfcd0db89f37d200a4d3240fa62e28763e92f97d680d41629de613ccafd0909f22c1be26cbcf8fd10e +MISC ChangeLog-2015 6106 SHA256 338faee31bf33c444c9a0d7f1d6555bf444d408d07942857a2c025e521c5ed86 SHA512 f397e11b91b81010bba91d88f5bb1b5bb00ae9ba28078e0d28400810ed6eea67ddcaa704b5b24db606bc79fdf6dd2489972a55fd8f8ff28d0c9eca86751e8ba0 WHIRLPOOL 748a7eabc16539660d7da2e49ef33cdf9ca3dc9f9c5b105a8781847c630daffa3c1776115f5785f72192d4f4b885dd0c7064f357791014558d035bd24e3da550 +MISC metadata.xml 232 SHA256 6f828dfe6278daec9b0b3a9eeb589d072d79dba873dca6a50422e554c2f3582c SHA512 21ba416ac701f1c9deb55d07f8afbf9da930fb04d274d84c5cf0df5e549554059959228ee6a4b8523d985fe0762af1a7c36aaefcb0e5b3c7baa5866e2841cfb4 WHIRLPOOL 95b029eb4fea616dbf4f41cb372a67a13b7f5d67d9dad52bc27b4597bd1cf73b00fa34ddd8637495337a469162e3086075e8e69734a2147eb89d940fe048159a diff --git a/dev-libs/libatasmart/libatasmart-0.19-r1.ebuild b/dev-libs/libatasmart/libatasmart-0.19-r1.ebuild new file mode 100644 index 000000000000..f2820bf64e2b --- /dev/null +++ b/dev-libs/libatasmart/libatasmart-0.19-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils + +PATCH_LEVEL=2 + +DESCRIPTION="A small and lightweight parser library for ATA S.M.A.R.T. hard disks" +HOMEPAGE="http://0pointer.de/blog/projects/being-smart.html" +SRC_URI="http://0pointer.de/public/${P}.tar.xz + mirror://debian/pool/main/liba/${PN}/${PN}_${PV}-${PATCH_LEVEL}.debian.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~sh sparc x86" +IUSE="static-libs" + +RDEPEND="virtual/udev" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +DOCS="README" + +src_prepare() { + # https://bugs.gentoo.org/470874 + local d="${WORKDIR}"/debian/patches + sed -i -e '/#/d' "${d}"/series || die + EPATCH_SOURCE="${d}" epatch $(<"${d}"/series) +} + +src_configure() { + econf \ + --docdir=/usr/share/doc/${PF} \ + $(use_enable static-libs static) +} + +src_install() { + default + prune_libtool_files --all +} diff --git a/dev-libs/libatasmart/libatasmart-0.19-r2.ebuild b/dev-libs/libatasmart/libatasmart-0.19-r2.ebuild new file mode 100644 index 000000000000..c1f7c6738d18 --- /dev/null +++ b/dev-libs/libatasmart/libatasmart-0.19-r2.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit eutils + +PATCH_LEVEL=2 + +DESCRIPTION="A small and lightweight parser library for ATA S.M.A.R.T. hard disks" +HOMEPAGE="http://0pointer.de/blog/projects/being-smart.html" +SRC_URI="http://0pointer.de/public/${P}.tar.xz + mirror://debian/pool/main/liba/${PN}/${PN}_${PV}-${PATCH_LEVEL}.debian.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0/4" +KEYWORDS="alpha ~amd64 arm ~arm64 ~hppa ia64 ~mips ppc ppc64 ~sh ~sparc ~x86" +IUSE="static-libs" + +RDEPEND="virtual/libudev:=" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + # https://bugs.gentoo.org/470874 + local d="${WORKDIR}"/debian/patches + sed -i -e '/#/d' \ + -e "s|^|${d}/|" "${d}"/series || die + eapply $(<"${d}"/series) + eapply_user +} + +src_configure() { + econf \ + --docdir="${EPREFIX}"/usr/share/doc/${PF} \ + $(use_enable static-libs static) +} + +src_install() { + default + prune_libtool_files --all +} diff --git a/dev-libs/libatasmart/metadata.xml b/dev-libs/libatasmart/metadata.xml new file mode 100644 index 000000000000..f3cab85cf603 --- /dev/null +++ b/dev-libs/libatasmart/metadata.xml @@ -0,0 +1,7 @@ + + + + + freedesktop-bugs@gentoo.org + + diff --git a/dev-libs/libatomic_ops/Manifest b/dev-libs/libatomic_ops/Manifest new file mode 100644 index 000000000000..3d95624bba53 --- /dev/null +++ b/dev-libs/libatomic_ops/Manifest @@ -0,0 +1,32 @@ +AUX libatomic_ops-1.2-fix-makefile-am-generic.patch 885 SHA256 8dc0bba7d005cfcd8a831cbb35a73e1429091f0d81fb269c0592d77b4486df4b SHA512 042e8f4c136f5c30a6cba856f2d8778881edc8aab53da7ab4d830e5c12c95699fa56cc0eef3d36d84d9bbfa9379c5dfb889fbc17a70353584b15166479fb8fdf WHIRLPOOL 81ceef21d05e64729654fb567f6a31a4b0b59466e62394a14d9c16d640a96d5204c9a3db7d35c6489a56a07b048a6918ca1eabe6bca03701bf656275bd84e3f9 +AUX libatomic_ops-1.2-ppc-asm.patch 406 SHA256 a9ba1e109d080af87db5bcbd07328027c7787b3d47943be2f0c71f407624f454 SHA512 469d4487e206ac79cdd6495435338cd141cebae23115dd40421fad785517ef06181bbaf70e3f211ce06df8eb8ed43d154eb0acb11617a106d600cde9a60fde22 WHIRLPOOL cc5240efb08510b39daf42a226f2f9a3490c256ebaa2770d537f17a73bcce8bd40d87515e0363dccc2101fa8e9adde503f7c7625964f9d0b9221821f26a352e0 +AUX libatomic_ops-1.2-ppc64-load_acquire.patch 1383 SHA256 f061cdf1e70448a193abe316d9c4b4f6b924132a99abcea9753b1440274304f1 SHA512 8847007dba55fb6ee1e849bdd0796b28ae4a5065e3273d71c9586e7232e6b9784f85156639c7f647f8fb29f41c335163d4ca642e95d3f153ec9d12e98c740054 WHIRLPOOL e6dc2dd99fe411d1d707231fb60a63a8f43ea854355d1c93649a39a06f6406565fd463ccf8edf13fbb1d8260f68fd17a5a7a7a0014b7a5db6058bf9ac76d0774 +AUX libatomic_ops-1.2-sh4.patch 1839 SHA256 64c53b6c5cac37893f0e81e63a396f04ecc32933480cbb90798fe9dc558bc505 SHA512 1df158a404b4ab6de593b07017c9d69a2a7d036580a639d3df184181216f8500fae9b52636482504c03456bd51fdc0aa91177742fd36cecbe686e2e22c3c5d5f WHIRLPOOL f48f363f4d2f255e2475e5bd1beeb3595e47ceaba0b3f6a1d1808d0940245d1085cf98ab249398b894ad586e950a791021635e147f956f85ad1f72b767750081 +AUX libatomic_ops-1.2-x32.patch 1651 SHA256 a1538270c2eaa7b31a586dcfbd25ace562651a05ae7ba7e66293daf1a5c68cb4 SHA512 c85f02e34213b433cde7769ee734ec5b065720cc656bb3cf2581be842ef6160d22ab268323de7736a604aaa002f1ba4b4fed4da918fe8da3aa4a8464943af6bb WHIRLPOOL ea250f5c795c58a5892f69d7d1cec12e49e438f01f8996961a5dcd930f79ad6773026cc1f55eeb73653630808eede92f78764a7b4576fc7636aadaa99db9e78e +AUX libatomic_ops-7.2_alpha4-x32.patch 1644 SHA256 7720fc58abbfe10c2ac731b7ef4cf6eb03c15a5a6b126746767c889694b31174 SHA512 59e148fc48ee15f29aebbe8e100796e0c959e8a21daffd54c9678929123faff3d126ba06132a6b42c64f26f15f63db37add1a062d3d664763104eab2c54ff1c8 WHIRLPOOL 3d6f49e626915698bdfeba11eba8db1f935a33e8cdfb85422f8bd1252ce9ffcba24a0457d056445ae9592fc856bc5400f0811bda58edbd5fc241d847642e2080 +AUX libatomic_ops-7.2_alpha6-x32.patch 1960 SHA256 b6b6d669934a4ef7a961e9fd8f8f7e7917109721647db427ad9099c8d5173d33 SHA512 6b0dfdcccc51494015b842ef41419f3a6b56c6b60b242bdecd98b5aefbd4039ae43912f1823effab3352ec3566257294ae823febf27b95bed6d3fc2f1097a02d WHIRLPOOL 5bd77e7b2a66b4e2225003339d8bc5ca29172422808179f8fc6e99ae8a507b6d164a3678dd49939ebcf274e6254c109cd198996a977715bd1e88d2a5fd5decf4 +AUX libatomic_ops-7.4.0-docs.patch 544 SHA256 4d5d9d056b4938be815b255abc93bf7db3ae43433bf9be8a400ca7e1b0b586c5 SHA512 1dcabd372e62cf4ced7ba1f2e2dcb3ccd0c2d7d98aa1ac2c2ac20fc141c94e8bda46bf03dee1d6785d8bff510375ab28ecc24983407d62b2960bdb195728ce3a WHIRLPOOL dfad2040a2794131605b6a8e16a18e5f1417eaa5b1e76da14b6ccb34557f0e50be7b9d09029cd87a207080abd39603b48c1c8ded6aeea0589894a94ccf875df2 +DIST gc-7.2alpha4.tar.gz 1091329 SHA256 0b40a7a5d129e3028a3b1a7f0c6b9ae1d01aca14fe179c44cf10f4c5438649f9 SHA512 79c4439989c181add9b80467b1c19d2b61a5e7c510a84a61ee27017220ef56a2b0f4945a4e850019a6c0fe7a9cb3a982ef656b97d988d8e6f3c3fb8270a3e783 WHIRLPOOL 5f3445e8880df63077b11586334933a4c034d0e3b94c44cd585bf0d4b3fa1c8573252327b153ca6b7c9e04495ac3b91069b55fe90204844af569708e8a490b86 +DIST gc-7.2alpha6.tar.gz 1241386 SHA256 ebf425b254773d565e1690287641ed177716a78e952c96fec917edbc64535c16 SHA512 19e8cbb5d4698998a07725dedc204fd707ef3d47a0184129b418e4da44814f0016a834b6ac3766f754e76376441dfbad4b86e8e1b6ada8446f54e70f590628e4 WHIRLPOOL ed399a9cd4785d3d0b9090dce0591e7d8bdd93a5ce4ab0eeee1dba6cb1ae1392328df551f183d25200a0de7dcb93d526691f9b27391c9df49ee5a32643da7256 +DIST gc-7.2d.tar.gz 1263064 SHA256 d9fe0ae8650d43746a48bfb394cab01a319f3809cee19f8ebd16aa985b511c5e SHA512 5b342754a1efeef0cf78983b7a0e48a36495beac04fc881ab356b26dc153b343e940ec7af070f4fc875be44adc559f7be995919fe9229f68d2e0237cdbeaabcc WHIRLPOOL 441507f8d8a9ee6d19a25ef0a1b11068a60b15b40a5c484cc3133e48e7ed1c498ce7cc05924d34b0bb6a63f8cb437a696d66f45dca1e256e792f5180081b6051 +DIST libatomic_ops-1.1.tar.gz 178581 SHA256 f5fb0d89b5b26a7f0bb00c92463aeb62a425c491391bc7e36660a1ac0b5a1f13 SHA512 888efe425ee5e6a8008eb047dcb6db6577af73705a172010f1ef413510dfe8127977b37fe18a54be528ed3a0f0b1a7edc5e2ecc147fd6d9d3a7fe5ecaa9a1253 WHIRLPOOL c5c3c059f039de663965d030af3bd6c87e4fadd49b9a2740a96522f0ab68cefc6c39cf980fdd1d7d5b2aa2719172e13f8a122d3b77eb3eabd86ede15494c9f97 +DIST libatomic_ops-1.2.tar.gz 183780 SHA256 a3d8768aa8fd2f6ae79be2d756b3a6b48816b3889ae906be3d5ffb2de5a5c781 SHA512 b3eb524b900f3da46730b4b158e73897f0443269b78ea429812d91f1468d17cccbf15dfd522301724049fe73aced38bf1567aff7b680795da392760890ed83bf WHIRLPOOL 3d9887d167895d7f4c1066eb0fe4c09d2c3ce4852ad84e38a190cc92ef877fd060ef7f235a7470ca1da3bb58c02d5eb2dcfd2115c1c238c27265df844bb27673 +DIST libatomic_ops-7.4.0.tar.gz 455143 SHA256 2875ccc29254d3375dab9c5930c42df342f148f8cd7c646621dbf03f8c1d5b5a SHA512 3a2f6eac7c5f0fe0abaf8650047b8ec1c9c5abe732982a294a2afa920b588e17d64cb9f05a44be31b8cca9e52cc5ac79a26e1779bf60169c228344df4bbe86a9 WHIRLPOOL 32f213bddb235dc0657655d5320262a033d6f54a911077edddfa2d1c4f58568cd1e503cb2a305c0d3538c2c5d306efc4ac5d56f0fed510e6694883f093300e6b +DIST libatomic_ops-7.4.6.tar.gz 479437 SHA256 96e88ba450ae5fa10aa8e94e6b151a63ffbe47f8069574bd12da22ae80c686db SHA512 29c6f937aa5d21343741aa0661aaf33ec9196b7784b7165d40dd87ce7bf8a7691f5ba94040663f078465ded1935ca01bb829a4b56b190f9db63cc141515d9819 WHIRLPOOL e9bf8917963ee2f4f639cea28b6c31e4a0a986bd495edaaa89d59c2f4350880a9fdd652058a2b293321cf06a64d04d8ddb0b3f596a76868b6a0a3a99c96beeff +DIST libatomic_ops-7.6.0.tar.gz 493177 SHA256 8e2c06d1d7a05339aae2ddceff7ac54552854c1cbf2bb34c06eca7974476d40f SHA512 58f1f1df94ff33bda5833af2e3a6a4af120ccfc0cec0fb15e2db24341e2ffd5a6436169cb4e7dbd96a6cb0431c1295dc4b5270d4b01806e470bacadc902720fc WHIRLPOOL 86d15b6f1ef3814ec22705f766b558aa5df3f20039477859d1399b61a6c446d3cde19a96ef4bf16a7e1ed36116d2cd11c269446e6fd9ef3c4314d0bdf9aa93d5 +DIST libatomic_ops-7_4_2.tar.gz 115132 SHA256 2616be0a2f70f7e3eb12f131a36e32723ed5a1928f17b886c3e7c62f7ed14339 SHA512 3d06d5de930a369dd2af4413d8f573993eb927b45941ae8eba14ada91abd34a6baf31e1030d1ef6aa02bd6a2d8d59f9f306dd8dda6a68cf552a2745041111b2e WHIRLPOOL b2b90458b8bbc2660461c64f018c514652132cf65f7afd6a3719cd62fda95304523beff1ca4cab97cf730e25e3881bbaa3dc1e9b461a447b1956818c858b30ad +DIST libatomic_ops-7_4_4.tar.gz 115469 SHA256 ef8335676f18a111f885d48810ab090fb6bfad94e5a5dd76cdccd2a536828662 SHA512 2c1a773c61b5fecab467746e872f7eb1541c1f6770d2055d0440dac461294e896ff73460097a73c932ad07d6c44eb820ebfd039e5d87f1699d518498da6fa25f WHIRLPOOL 91a92d6deffb8bbc28e511ab949f635cb8f3bf57a7e2532b0721d925677b6c66a86ed8f8fda222810f441f41997f136b17a682434e0d24643f2e9cca46688e2a +EBUILD libatomic_ops-1.1.ebuild 498 SHA256 9794350493d9380a78ffbe76c84264f3b094587c25ed48790a85eaf121d6bbc3 SHA512 b21efa7ad6d44343edad2414d1870b9d3e5eb8aab02afdd1cc531f38c6f7d0d5dc972ff76fc9f893214b2cc3415390c8b865b1021bc2e143135bcba86632d7a3 WHIRLPOOL 3d225a91489a26a473133fe1f98c997ceb5f9c1b7eb16b6bea3c10e64270479b20f23ab70d33c981bb887ac430379ab953cc1c7088ae7b32fab20eb65ae0d778 +EBUILD libatomic_ops-1.2-r1.ebuild 938 SHA256 a6909aea7544e11a08b8dc45c1f51c1f00e486af4b2ac0075958ce59794c65c5 SHA512 8e046c79fde40dc2ccce2647c3623143b2444b6f5fcb7b97a9414233e9c48ff8b0f0a7fe999e87723464729d4dc7dd373b121a9c031419e9f15e9ef32a8e8a78 WHIRLPOOL 3d09f53667506bd0d5218f338a15f8631f33c7a2840de2e36c6d401321c28806d192aa2afde69028f2e73fe1f64b356950df9c897196fa7667186895197ba335 +EBUILD libatomic_ops-1.2.ebuild 661 SHA256 bf20cad95b593d20789f1a030a0b51b5ad58737eaec89ae31b0c691600e213b8 SHA512 2a5cf191035cc05f92a46a7ffb2ccd5f36da139425fa764be7cdb1b4d92c1c0dc1c9ce6f1332fa8088661a4cc46957b6c34ce58aaca5dda0b5bbc62da519c82e WHIRLPOOL 2d55826380e583dec87571eed72323a1d9aa56d8563b01edfecb87fe866310ac0862d4c98f12579bb8eade31051497122c569d201a4920e42c60b908c1df4eb7 +EBUILD libatomic_ops-7.2_alpha4.ebuild 952 SHA256 97e9ab4b93f14c36968b6b1beb2f46d0f5d5c40c0c70998e37fd378d81e53d7c SHA512 ccbb482eacd7283f9cf157604d66acc76f33914f4a7d21007640c60d8950a16e6f5abd1cd9b346e0fdba2f0d97d6e385c3d4efa8ef9801a4a96c03d33a51eef0 WHIRLPOOL 171336191e8e8099e30fff7e0423773f477db0c58c04058cdfd928d9a40042534066a3a6d85a2cdc70226f0ba4f9186ccdc6172af4168363757c012b99713dd4 +EBUILD libatomic_ops-7.2_alpha6.ebuild 938 SHA256 c564b1a55696bf33895725edceead9a0563ad93cdb737f3631119df362698820 SHA512 fc233651c4f7220ea5d38951fc703ef461fa1da9a9f33f852d1154ef7aeecf17285287c42a00611f5bc7cdd186edfe96e6212fc6cc1604442209efe894c6776f WHIRLPOOL 910f55e240015cb6adef91c6a3734b26679c29bb2b764ec7779bd9d73797c6ff1b67c7ad087506d2921a8ce189b6431f1558da05d4614be3a97b8c174cab0c77 +EBUILD libatomic_ops-7.2d.ebuild 907 SHA256 74752db1c2a2894433d9a5f8188cbd8ef4681ad0e67eea3a9f8793d4b97e4d30 SHA512 e7345dddf64686f2c72d8313bb494618307ecff639201ebd6c0cd6f0f753a31cec284e1e11a89fe5224d700ff5d68059f01d9b819c446db1d5ade19f5894b905 WHIRLPOOL beec70d77bddf2ca691b91424de30fa56a30f153e3a31d64b0b099b662635436671be8f2c30a7a337cfb11de6e859669ec4db2af57b6a2550342982406b48693 +EBUILD libatomic_ops-7.4.0.ebuild 746 SHA256 059cc031f49a268a225f969b84e283bda4e07094a695b204a8074b423411973a SHA512 f351fc3bbee40fae228201db9e6a89d14fc91d45fd72a4efab8bf71c4c09ce26c8fafec7db1cbf71a0290f74bedc6db5f3c0c2adcd42b3d614fcbdd3461f0c10 WHIRLPOOL c457a1733fd3333c8c8fd1ab953703eb9bd4206257ae60983f185d750d37c35942b6262ec89b85db46bbdbe18636ac25e30509be0bb8629cd32469eeec09d741 +EBUILD libatomic_ops-7.4.2.ebuild 776 SHA256 38ca64d8b28457cf48aebcb1fb1e433ca1ab989fa46474571c0a4d7dd6bcc324 SHA512 e71441a0031c98d6db023599cffe46c0be11b5d9810c4d0cdce4c8ed2eedee9cff46fcf115b80e0e4bf0b2dad7bdc489349b091d406b6ec39a4424019c57bef3 WHIRLPOOL 6b70cc84108f744533e4b4153bf86ecd02fa0235b37f1a9b93106b53bf328666b1c1d8796cf9cf9e60f9a0fb72deaa99b1460eddf1cbecae764da6e6899b8354 +EBUILD libatomic_ops-7.4.4.ebuild 796 SHA256 dc0af3daad1168ce535fa31cb5d1bfb52040d8c1abcaa415c745b71093eb5abb SHA512 d04052e866852e0810f4e05537a37a7bea25cef0aac2c1035093079401ebd0fd0e146418cd0c825e438a27604c008238617c69e5df7c50aa49ba134d80ba7d21 WHIRLPOOL 503a543d440945ca84d276f0906955708d4b3b084d303471b23d0651465ca5b618c64f280d5db81c7d841e74e81e0e9fa54353909b0eacd2b343578c4bfc618c +EBUILD libatomic_ops-7.4.6.ebuild 659 SHA256 d128c668aed220d02e02f48cdfa48f0392ae262198db5fc811e9c944e1f0ac29 SHA512 24f438b90aad521994e6cdf4ae195b7bd5bbdc65c66d3f49daade0131c69952ffa2538d10acd01b55517dc94057a0704919c172e3adc10ca49fbb598e2976d99 WHIRLPOOL b382dc8638703bc03f47f391235fa832f19dd6f89f4bd01e067772f20b3786dec171a63dd5d5b952b01685ddc5bb7e65e1e53fa293d266c8d64f4a4e9e8e64b6 +EBUILD libatomic_ops-7.6.0.ebuild 651 SHA256 9dc17d4dd9d4d9b2db19e9815d0fdd9f9433507f943c5df86754a34e3fc027ef SHA512 89f85ae0a364503511af609ad03505e6b9b76436eefaccfc3562e179a4477f898dc2073b3f71dac265d8526d835d0af636d41f30deafddef0d5bc2942976c2a0 WHIRLPOOL 27e07209bffa1e74e8ffc4d743ed79f98c7ed3efa0bcb296c9a76ca4c43b66233fe243a1eeacec466b67f1b78f8f46ba8b449948a2699839bc299bef5aedf7de +MISC ChangeLog 3429 SHA256 473b9a6e4a5ac630d18028d036427252d456c338a4c06708fb961dcb7da86029 SHA512 ca7783b3a06bd5587e34ea5d4ac85945b1b22a7fa31bd1a6863a3931194fb13f6c79d1e3e33a766aa2bd205919373611e178faafe6d540ad52c3c774ac85bd99 WHIRLPOOL fffcb2162ebe8f9b79aab97e7daa86772432833878577b05874682a5a60fa197d951a99e7716ef4f21ebff08356921451fc58f02acae8843d5d7ab8e2ab12b47 +MISC ChangeLog-2015 7492 SHA256 b100cfcd30692c0c46597c24da1e753a691c5637e38066768fec4d428ace5512 SHA512 155332d5457ded3072e582ec58fe189a92cf6ba65ff722acd558b666aa373767e2dad1264fe36d77c6f1657a05c03f0c3bc547089c3bedfc08af1bd5d47f514e WHIRLPOOL f31772358826f961233d4cecd36b16aeed81236967a150e28e727c2217b989eb9e10ee9ba304a3cf23063276bdbcc0b1a6a7814477edfca5f7baa7bebf2232ef +MISC metadata.xml 347 SHA256 907ec0e7285862a4b346d13a29469bd76296ef63e782df4d6f0f29226350ab2a SHA512 7a4acee1ccb58c4694e9100d556046c55f508050f6e09dc3d4dd509db9eb747b94eca152e1e98c2ebacd8b8c9c75c362426ad9545cac490f959ec16464f809e5 WHIRLPOOL a2b68a0c269fb557c9505845c1e9f5a6fd3afcaa42d85be91bdf326af7d562d79fd4173a598bfbad3cea1b6327f3eb8e321785f91039ad47eff83107d490a54f diff --git a/dev-libs/libatomic_ops/files/libatomic_ops-1.2-fix-makefile-am-generic.patch b/dev-libs/libatomic_ops/files/libatomic_ops-1.2-fix-makefile-am-generic.patch new file mode 100644 index 000000000000..7b1f898ef9b6 --- /dev/null +++ b/dev-libs/libatomic_ops/files/libatomic_ops-1.2-fix-makefile-am-generic.patch @@ -0,0 +1,19 @@ +diff -u -r a//doc/Makefile.am b//doc/Makefile.am +--- a//doc/Makefile.am 2005-03-22 00:05:19.000000000 +0200 ++++ b//doc/Makefile.am 2010-04-18 20:08:13.000000000 +0300 +@@ -1,3 +1,3 @@ + # installed documentation + # +-dist_pkgdata_DATA=COPYING LICENSING.txt README.txt COPYING README_stack.txt README_malloc.txt README_win32.txt ++dist_pkgdata_DATA=COPYING LICENSING.txt README.txt README_stack.txt README_malloc.txt README_win32.txt +diff -u -r a//src/atomic_ops/sysdeps/Makefile.am b//src/atomic_ops/sysdeps/Makefile.am +--- a//src/atomic_ops/sysdeps/Makefile.am 2005-09-28 02:53:16.000000000 +0300 ++++ b//src/atomic_ops/sysdeps/Makefile.am 2010-04-18 20:04:03.000000000 +0300 +@@ -25,7 +25,6 @@ + README \ + \ + gcc/alpha.h gcc/arm.h gcc/x86.h \ +- gcc/hppa.h gcc/ia64.h \ + gcc/powerpc.h gcc/sparc.h \ + gcc/hppa.h gcc/m68k.h gcc/s390.h \ + gcc/ia64.h gcc/x86_64.h gcc/cris.h \ diff --git a/dev-libs/libatomic_ops/files/libatomic_ops-1.2-ppc-asm.patch b/dev-libs/libatomic_ops/files/libatomic_ops-1.2-ppc-asm.patch new file mode 100644 index 000000000000..41171ed86e69 --- /dev/null +++ b/dev-libs/libatomic_ops/files/libatomic_ops-1.2-ppc-asm.patch @@ -0,0 +1,11 @@ +--- src/atomic_ops/sysdeps/gcc/powerpc.h 2006-03-29 09:49:14.000000000 +1100 ++++ src/atomic_ops/sysdeps/gcc/powerpc.h 2007-08-27 10:51:00.000000000 +1000 +@@ -72,7 +72,7 @@ + /* registers. I always got "impossible constraint" when I */ + /* tried the "y" constraint. */ + __asm__ __volatile__ ( +- "lwz %0,%1\n" ++ "lwz%X1 %0,%1\n" + "cmpw cr7,%0,%0\n" + "bne- cr7,1f\n" + "1: isync\n" diff --git a/dev-libs/libatomic_ops/files/libatomic_ops-1.2-ppc64-load_acquire.patch b/dev-libs/libatomic_ops/files/libatomic_ops-1.2-ppc64-load_acquire.patch new file mode 100644 index 000000000000..9b6baa188cf7 --- /dev/null +++ b/dev-libs/libatomic_ops/files/libatomic_ops-1.2-ppc64-load_acquire.patch @@ -0,0 +1,46 @@ +--- src/atomic_ops/sysdeps/gcc/powerpc.h.orig 2006-03-28 22:49:14.000000000 +0000 ++++ src/atomic_ops/sysdeps/gcc/powerpc.h 2007-06-08 23:10:07.000000000 +0000 +@@ -63,6 +63,8 @@ + /* seems to be that a data dependent branch followed by an isync is */ + /* cheaper. And the documentation is fairly explicit that this also */ + /* has acquire semantics. */ ++/* ppc64 uses ld not lwz */ ++#if defined(__powerpc64__) || defined(__ppc64__) || defined(__64BIT__) + AO_INLINE AO_t + AO_load_acquire(volatile AO_t *addr) + { +@@ -72,7 +74,7 @@ + /* registers. I always got "impossible constraint" when I */ + /* tried the "y" constraint. */ + __asm__ __volatile__ ( +- "lwz %0,%1\n" ++ "ld %0,%1\n" + "cmpw cr7,%0,%0\n" + "bne- cr7,1f\n" + "1: isync\n" +@@ -80,7 +82,25 @@ + : "m"(*addr) : "memory", "cc"); + return result; + } ++#else ++AO_INLINE AO_t ++AO_load_acquire(volatile AO_t *addr) ++{ ++ AO_t result; + ++ /* FIXME: We should get gcc to allocate one of the condition */ ++ /* registers. I always got "impossible constraint" when I */ ++ /* tried the "y" constraint. */ ++ __asm__ __volatile__ ( ++ "lwz %0,%1\n" ++ "cmpw cr7,%0,%0\n" ++ "bne- cr7,1f\n" ++ "1: isync\n" ++ : "=r" (result) ++ : "m"(*addr) : "memory", "cc"); ++ return result; ++} ++#endif + #define AO_HAVE_load_acquire + + /* We explicitly specify store_release, since it relies */ diff --git a/dev-libs/libatomic_ops/files/libatomic_ops-1.2-sh4.patch b/dev-libs/libatomic_ops/files/libatomic_ops-1.2-sh4.patch new file mode 100644 index 000000000000..4e8dd66a3554 --- /dev/null +++ b/dev-libs/libatomic_ops/files/libatomic_ops-1.2-sh4.patch @@ -0,0 +1,59 @@ +--- libatomic_ops/src/atomic_ops.h ++++ libatomic_ops/src/atomic_ops.h +@@ -228,6 +228,10 @@ + # if defined(__cris__) || defined(CRIS) + # include "atomic_ops/sysdeps/gcc/cris.h" + # endif ++# if defined(__sh__) || defined(SH4) ++# include "atomic_ops/sysdeps/gcc/sh.h" ++# define AO_CAN_EMUL_CAS ++# endif /* __sh__ */ + #endif /* __GNUC__ && !AO_USE_PTHREAD_DEFS */ + + #if defined(__INTEL_COMPILER) && !defined(AO_USE_PTHREAD_DEFS) +only in patch2: +unchanged: +--- libatomic_ops/src/atomic_ops/sysdeps/Makefile.am ++++ libatomic_ops/src/atomic_ops/sysdeps/Makefile.am +@@ -29,6 +29,7 @@ + gcc/powerpc.h gcc/sparc.h \ + gcc/hppa.h gcc/m68k.h gcc/s390.h \ + gcc/ia64.h gcc/x86_64.h gcc/cris.h \ ++ gcc/sh.h \ + \ + icc/ia64.h \ + \ +--- libatomic_ops/src/atomic_ops/sysdeps/gcc/sh.h ++++ libatomic_ops/src/atomic_ops/sysdeps/gcc/sh.h +@@ -0,0 +1,31 @@ ++/* ++ * Copyright (c) 2009 by Takashi YOSHII. All rights reserved. ++ * ++ * THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED ++ * OR IMPLIED. ANY USE IS AT YOUR OWN RISK. ++ * ++ * Permission is hereby granted to use or copy this program ++ * for any purpose, provided the above notices are retained on all copies. ++ * Permission to modify the code and to distribute modified code is granted, ++ * provided the above notices are retained, and a notice that the code was ++ * modified is included with the above copyright notice. ++ */ ++ ++#include "../all_atomic_load_store.h" ++#include "../ordered.h" ++ ++/* sh has tas.b(byte) only */ ++#include "../test_and_set_t_is_char.h" ++ ++AO_INLINE AO_TS_VAL_t ++AO_test_and_set_full(volatile AO_TS_t *addr) ++{ ++ int oldval; ++ __asm__ __volatile__( ++ "tas.b @%1; movt %0" ++ : "=r" (oldval) ++ : "r" (addr) ++ : "t", "memory"); ++ return oldval? AO_TS_CLEAR : AO_TS_SET; ++} ++#define AO_HAVE_test_and_set_full diff --git a/dev-libs/libatomic_ops/files/libatomic_ops-1.2-x32.patch b/dev-libs/libatomic_ops/files/libatomic_ops-1.2-x32.patch new file mode 100644 index 000000000000..2edc6958f360 --- /dev/null +++ b/dev-libs/libatomic_ops/files/libatomic_ops-1.2-x32.patch @@ -0,0 +1,43 @@ +http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=e3a384578f677c05d812d99c2c92aa13670bd06a + +Upstream-Status: Pending + +Remove the `q' suffix on x86-64 atomic instructions. + +We don't need the `q' suffix on x86_64 atomic instructions for AO_t, +which is defined as "unsigned long". "unsigned long" is 32bit for x32 +and 64bit for x86-64. The register operand in x86-64 atomic instructions +is sufficient to properly determine the register size. + +Received this patch from H.J. Lu +Signed-Off-By: Nitin A Kamble 2011/12/02 + +--- libatomic_ops-1.2/src/atomic_ops/sysdeps/gcc/x86_64.h.x32 2005-09-28 17:16:38.000000000 -0700 ++++ libatomic_ops-1.2/src/atomic_ops/sysdeps/gcc/x86_64.h 2011-12-02 09:29:54.265251875 -0800 +@@ -60,7 +60,7 @@ AO_fetch_and_add_full (volatile AO_t *p, + { + AO_t result; + +- __asm__ __volatile__ ("lock; xaddq %0, %1" : ++ __asm__ __volatile__ ("lock; xadd %0, %1" : + "=r" (result), "=m" (*p) : "0" (incr), "m" (*p) + : "memory"); + return result; +@@ -111,7 +111,7 @@ AO_int_fetch_and_add_full (volatile unsi + AO_INLINE void + AO_or_full (volatile AO_t *p, AO_t incr) + { +- __asm__ __volatile__ ("lock; orq %1, %0" : ++ __asm__ __volatile__ ("lock; or %1, %0" : + "=m" (*p) : "r" (incr), "m" (*p) : "memory"); + } + +@@ -136,7 +136,7 @@ AO_compare_and_swap_full(volatile AO_t * + AO_t old, AO_t new_val) + { + char result; +- __asm__ __volatile__("lock; cmpxchgq %3, %0; setz %1" ++ __asm__ __volatile__("lock; cmpxchg %3, %0; setz %1" + : "=m"(*addr), "=q"(result) + : "m"(*addr), "r" (new_val), "a"(old) : "memory"); + return (int) result; diff --git a/dev-libs/libatomic_ops/files/libatomic_ops-7.2_alpha4-x32.patch b/dev-libs/libatomic_ops/files/libatomic_ops-7.2_alpha4-x32.patch new file mode 100644 index 000000000000..ac2b57fb1722 --- /dev/null +++ b/dev-libs/libatomic_ops/files/libatomic_ops-7.2_alpha4-x32.patch @@ -0,0 +1,43 @@ +http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=e3a384578f677c05d812d99c2c92aa13670bd06a + +Upstream-Status: Pending + +Remove the `q' suffix on x86-64 atomic instructions. + +We don't need the `q' suffix on x86_64 atomic instructions for AO_t, +which is defined as "unsigned long". "unsigned long" is 32bit for x32 +and 64bit for x86-64. The register operand in x86-64 atomic instructions +is sufficient to properly determine the register size. + +Received this patch from H.J. Lu +Signed-Off-By: Nitin A Kamble 2011/12/02 + +--- a/src/atomic_ops/sysdeps/gcc/x86_64.h ++++ b/src/atomic_ops/sysdeps/gcc/x86_64.h +@@ -56,7 +56,7 @@ AO_fetch_and_add_full (volatile AO_t *p, + { + AO_t result; + +- __asm__ __volatile__ ("lock; xaddq %0, %1" : ++ __asm__ __volatile__ ("lock; xadd %0, %1" : + "=r" (result), "=m" (*p) : "0" (incr), "m" (*p) + : "memory"); + return result; +@@ -106,7 +106,7 @@ AO_int_fetch_and_add_full (volatile unsi + AO_INLINE void + AO_or_full (volatile AO_t *p, AO_t incr) + { +- __asm__ __volatile__ ("lock; orq %1, %0" : ++ __asm__ __volatile__ ("lock; or %1, %0" : + "=m" (*p) : "r" (incr), "m" (*p) : "memory"); + } + +@@ -131,7 +131,7 @@ AO_compare_and_swap_full(volatile AO_t * + AO_t old, AO_t new_val) + { + char result; +- __asm__ __volatile__("lock; cmpxchgq %3, %0; setz %1" ++ __asm__ __volatile__("lock; cmpxchg %3, %0; setz %1" + : "=m"(*addr), "=q"(result) + : "m"(*addr), "r" (new_val), "a"(old) : "memory"); + return (int) result; diff --git a/dev-libs/libatomic_ops/files/libatomic_ops-7.2_alpha6-x32.patch b/dev-libs/libatomic_ops/files/libatomic_ops-7.2_alpha6-x32.patch new file mode 100644 index 000000000000..838e4a8d27f1 --- /dev/null +++ b/dev-libs/libatomic_ops/files/libatomic_ops-7.2_alpha6-x32.patch @@ -0,0 +1,46 @@ +Adopted from +http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=e3a384578f677c05d812d99c2c92aa13670bd06a + +Upstream-Status: Pending + +Remove the `q' suffix on x86-64 atomic instructions. + +We don't need the `q' suffix on x86_64 atomic instructions for AO_t, +which is defined as "unsigned long". "unsigned long" is 32bit for x32 +and 64bit for x86-64. The register operand in x86-64 atomic instructions +is sufficient to properly determine the register size. + +Received this patch from H.J. Lu +Signed-Off-By: Nitin A Kamble 2011/12/02 + +diff --git a/libatomic_ops/src/atomic_ops/sysdeps/gcc/x86_64.h b/libatomic_ops/src/atomic_ops/sysdeps/gcc/x86_64.h +index 0f68c1e..3bcde88 100644 +--- a/libatomic_ops/src/atomic_ops/sysdeps/gcc/x86_64.h ++++ b/libatomic_ops/src/atomic_ops/sysdeps/gcc/x86_64.h +@@ -47,7 +47,7 @@ AO_fetch_and_add_full (volatile AO_t *p, AO_t incr) + { + AO_t result; + +- __asm__ __volatile__ ("lock; xaddq %0, %1" : ++ __asm__ __volatile__ ("lock; xadd %0, %1" : + "=r" (result), "=m" (*p) : "0" (incr), "m" (*p) + : "memory"); + return result; +@@ -93,7 +93,7 @@ AO_int_fetch_and_add_full (volatile unsigned int *p, unsigned int incr) + AO_INLINE void + AO_or_full (volatile AO_t *p, AO_t incr) + { +- __asm__ __volatile__ ("lock; orq %1, %0" : ++ __asm__ __volatile__ ("lock; or %1, %0" : + "=m" (*p) : "r" (incr), "m" (*p) : "memory"); + } + #define AO_HAVE_or_full +@@ -123,7 +123,7 @@ AO_compare_and_swap_full(volatile AO_t *addr, AO_t old, AO_t new_val) + return (int)__sync_bool_compare_and_swap(addr, old, new_val); + # else + char result; +- __asm__ __volatile__("lock; cmpxchgq %3, %0; setz %1" ++ __asm__ __volatile__("lock; cmpxchg %3, %0; setz %1" + : "=m" (*addr), "=a" (result) + : "m" (*addr), "r" (new_val), "a" (old) : "memory"); + return (int) result; diff --git a/dev-libs/libatomic_ops/files/libatomic_ops-7.4.0-docs.patch b/dev-libs/libatomic_ops/files/libatomic_ops-7.4.0-docs.patch new file mode 100644 index 000000000000..06c03677f605 --- /dev/null +++ b/dev-libs/libatomic_ops/files/libatomic_ops-7.4.0-docs.patch @@ -0,0 +1,19 @@ +--- libatomic_ops-7.4.0/doc/Makefile.am ++++ libatomic_ops-7.4.0/doc/Makefile.am +@@ -1,4 +1,4 @@ + # installed documentation + # +-dist_pkgdata_DATA=LICENSING.txt README.txt README_stack.txt \ ++dist_doc_DATA=README.txt README_stack.txt \ + README_malloc.txt README_win32.txt +--- libatomic_ops-7.4.0/Makefile.am ++++ libatomic_ops-7.4.0/Makefile.am +@@ -6,8 +6,6 @@ + pkgconfig_DATA = pkgconfig/atomic_ops.pc + noinst_DATA = pkgconfig/atomic_ops-uninstalled.pc + +-dist_pkgdata_DATA = COPYING README.md +- + EXTRA_DIST = autogen.sh + + #distclean-local: diff --git a/dev-libs/libatomic_ops/libatomic_ops-1.1.ebuild b/dev-libs/libatomic_ops/libatomic_ops-1.1.ebuild new file mode 100644 index 000000000000..acab12781429 --- /dev/null +++ b/dev-libs/libatomic_ops/libatomic_ops-1.1.ebuild @@ -0,0 +1,18 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +DESCRIPTION="Implementation for atomic memory update operations" +HOMEPAGE="http://www.hpl.hp.com/research/linux/atomic_ops/" +SRC_URI="http://www.hpl.hp.com/research/linux/atomic_ops/download/${P}.tar.gz" + +LICENSE="MIT boehm-gc GPL-2+" +SLOT="0" +KEYWORDS="~amd64 -x86 -x86-fbsd" +IUSE="" + +DEPEND="" +RDEPEND="" + +src_install() { + emake pkgdatadir="/usr/share/doc/${PF}" DESTDIR="${D}" install +} diff --git a/dev-libs/libatomic_ops/libatomic_ops-1.2-r1.ebuild b/dev-libs/libatomic_ops/libatomic_ops-1.2-r1.ebuild new file mode 100644 index 000000000000..e076e435f5d5 --- /dev/null +++ b/dev-libs/libatomic_ops/libatomic_ops-1.2-r1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +inherit eutils autotools + +DESCRIPTION="Implementation for atomic memory update operations" +HOMEPAGE="http://www.hpl.hp.com/research/linux/atomic_ops/" +SRC_URI="http://www.hpl.hp.com/research/linux/atomic_ops/download/${P}.tar.gz" + +LICENSE="MIT boehm-gc GPL-2+" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +src_unpack(){ + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-ppc64-load_acquire.patch + epatch "${FILESDIR}"/${P}-ppc-asm.patch + epatch "${FILESDIR}"/${P}-sh4.patch + epatch "${FILESDIR}"/${P}-fix-makefile-am-generic.patch + epatch "${FILESDIR}"/${P}-x32.patch + eautoreconf +} + +src_install() { + emake pkgdatadir="${EPREFIX}/usr/share/doc/${PF}" DESTDIR="${D}" install || die +} diff --git a/dev-libs/libatomic_ops/libatomic_ops-1.2.ebuild b/dev-libs/libatomic_ops/libatomic_ops-1.2.ebuild new file mode 100644 index 000000000000..860842ba29fb --- /dev/null +++ b/dev-libs/libatomic_ops/libatomic_ops-1.2.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +inherit eutils + +DESCRIPTION="Implementation for atomic memory update operations" +HOMEPAGE="http://www.hpl.hp.com/research/linux/atomic_ops/" +SRC_URI="http://www.hpl.hp.com/research/linux/atomic_ops/download/${P}.tar.gz" + +LICENSE="MIT boehm-gc GPL-2+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="" + +DEPEND="" +RDEPEND="" + +src_unpack(){ + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-ppc64-load_acquire.patch +} + +src_install() { + emake pkgdatadir="/usr/share/doc/${PF}" DESTDIR="${D}" install || die +} diff --git a/dev-libs/libatomic_ops/libatomic_ops-7.2_alpha4.ebuild b/dev-libs/libatomic_ops/libatomic_ops-7.2_alpha4.ebuild new file mode 100644 index 000000000000..e0db6d1faa08 --- /dev/null +++ b/dev-libs/libatomic_ops/libatomic_ops-7.2_alpha4.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="4" + +inherit eutils toolchain-funcs + +DESCRIPTION="Implementation for atomic memory update operations" +HOMEPAGE="http://www.hpl.hp.com/research/linux/atomic_ops/" +SRC_URI="http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/gc-${PV/_}.tar.gz" + +LICENSE="MIT boehm-gc GPL-2+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +S=${WORKDIR}/gc-${PV/_}/libatomic_ops + +src_prepare() { + epatch "${FILESDIR}"/${PN}-7.2_alpha4-x32.patch + sed -i \ + -e "/^pkgdatadir/s:/.*:/doc/${PF}:" \ + doc/Makefile.in || die + find -type f -exec touch -r . {} + +} + +src_compile() { + emake AR="$(tc-getAR)" +} + +src_install() { + default + find "${ED}" '(' -name COPYING -o -name LICENSING.txt ')' -delete +} diff --git a/dev-libs/libatomic_ops/libatomic_ops-7.2_alpha6.ebuild b/dev-libs/libatomic_ops/libatomic_ops-7.2_alpha6.ebuild new file mode 100644 index 000000000000..322dbb674edd --- /dev/null +++ b/dev-libs/libatomic_ops/libatomic_ops-7.2_alpha6.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +inherit eutils toolchain-funcs + +DESCRIPTION="Implementation for atomic memory update operations" +HOMEPAGE="http://www.hpl.hp.com/research/linux/atomic_ops/" +SRC_URI="http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/gc-${PV/_}.tar.gz" + +LICENSE="MIT boehm-gc GPL-2+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +S=${WORKDIR}/gc-${PV/_}/libatomic_ops + +src_prepare() { + epatch "${FILESDIR}"/${P}-x32.patch + sed -i \ + -e "/^pkgdatadir/s:/.*:/doc/${PF}:" \ + doc/Makefile.in || die + find -type f -exec touch -r . {} + +} + +src_compile() { + emake AR="$(tc-getAR)" +} + +src_install() { + default + find "${ED}" '(' -name COPYING -o -name LICENSING.txt ')' -delete +} diff --git a/dev-libs/libatomic_ops/libatomic_ops-7.2d.ebuild b/dev-libs/libatomic_ops/libatomic_ops-7.2d.ebuild new file mode 100644 index 000000000000..bf675a1df929 --- /dev/null +++ b/dev-libs/libatomic_ops/libatomic_ops-7.2d.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +inherit toolchain-funcs + +DESCRIPTION="Implementation for atomic memory update operations" +HOMEPAGE="http://www.hpl.hp.com/research/linux/atomic_ops/" +SRC_URI="http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/gc-${PV/_}.tar.gz" + +LICENSE="MIT boehm-gc GPL-2+" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +S=${WORKDIR}/gc-${PV/d}/libatomic_ops + +src_prepare() { + sed -i \ + -e "/^pkgdatadir/s:/.*:/doc/${PF}:" \ + doc/Makefile.in || die + find -type f -exec touch -r . {} + +} + +src_compile() { + emake AR="$(tc-getAR)" +} + +src_install() { + default + find "${ED}" '(' -name COPYING -o -name LICENSING.txt ')' -delete +} diff --git a/dev-libs/libatomic_ops/libatomic_ops-7.4.0.ebuild b/dev-libs/libatomic_ops/libatomic_ops-7.4.0.ebuild new file mode 100644 index 000000000000..04b604e8efb4 --- /dev/null +++ b/dev-libs/libatomic_ops/libatomic_ops-7.4.0.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 +inherit autotools eutils + +DESCRIPTION="Implementation for atomic memory update operations" +HOMEPAGE="http://www.hpl.hp.com/research/linux/atomic_ops/" +SRC_URI="http://www.hpl.hp.com/research/linux/atomic_ops/download/${P}.tar.gz" + +LICENSE="MIT boehm-gc GPL-2+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +src_prepare() { + epatch "${FILESDIR}"/${P}-docs.patch + eautoreconf +} + +src_configure() { + econf --docdir="${EPREFIX}"/usr/share/doc/${PF} +} diff --git a/dev-libs/libatomic_ops/libatomic_ops-7.4.2.ebuild b/dev-libs/libatomic_ops/libatomic_ops-7.4.2.ebuild new file mode 100644 index 000000000000..dc56a699699b --- /dev/null +++ b/dev-libs/libatomic_ops/libatomic_ops-7.4.2.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit autotools eutils + +MY_P=${PN}-${PV//./_} +DESCRIPTION="Implementation for atomic memory update operations" +HOMEPAGE="https://github.com/ivmai/libatomic_ops/" +SRC_URI="https://github.com/ivmai/${PN}/archive/${MY_P}.tar.gz" + +LICENSE="MIT boehm-gc GPL-2+" +SLOT="0" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +S=${WORKDIR}/${PN}-${MY_P} + +src_prepare() { + epatch "${FILESDIR}"/${PN}-7.4.0-docs.patch + eautoreconf +} + +src_configure() { + econf --docdir="${EPREFIX}"/usr/share/doc/${PF} +} diff --git a/dev-libs/libatomic_ops/libatomic_ops-7.4.4.ebuild b/dev-libs/libatomic_ops/libatomic_ops-7.4.4.ebuild new file mode 100644 index 000000000000..83c6e36d41a4 --- /dev/null +++ b/dev-libs/libatomic_ops/libatomic_ops-7.4.4.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools multilib-minimal + +MY_P=${PN}-${PV//./_} +DESCRIPTION="Implementation for atomic memory update operations" +HOMEPAGE="https://github.com/ivmai/libatomic_ops/" +SRC_URI="https://github.com/ivmai/${PN}/archive/${MY_P}.tar.gz" + +LICENSE="MIT boehm-gc GPL-2+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +S=${WORKDIR}/${PN}-${MY_P} + +PATCHES=( "${FILESDIR}"/${PN}-7.4.0-docs.patch ) + +src_prepare() { + default + eautoreconf +} + +multilib_src_configure() { + ECONF_SOURCE=${S} econf +} diff --git a/dev-libs/libatomic_ops/libatomic_ops-7.4.6.ebuild b/dev-libs/libatomic_ops/libatomic_ops-7.4.6.ebuild new file mode 100644 index 000000000000..3285bc73a08a --- /dev/null +++ b/dev-libs/libatomic_ops/libatomic_ops-7.4.6.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit multilib-minimal + +DESCRIPTION="Implementation for atomic memory update operations" +HOMEPAGE="https://github.com/ivmai/libatomic_ops/" +SRC_URI="https://github.com/ivmai/${PN}/releases/download/v${PV}/${P}.tar.gz" + +LICENSE="MIT boehm-gc GPL-2+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +multilib_src_configure() { + ECONF_SOURCE=${S} econf +} diff --git a/dev-libs/libatomic_ops/libatomic_ops-7.6.0.ebuild b/dev-libs/libatomic_ops/libatomic_ops-7.6.0.ebuild new file mode 100644 index 000000000000..73101d547ac0 --- /dev/null +++ b/dev-libs/libatomic_ops/libatomic_ops-7.6.0.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit multilib-minimal + +DESCRIPTION="Implementation for atomic memory update operations" +HOMEPAGE="https://github.com/ivmai/libatomic_ops/" +SRC_URI="https://github.com/ivmai/${PN}/releases/download/v${PV}/${P}.tar.gz" + +LICENSE="MIT boehm-gc GPL-2+" +SLOT="0" +KEYWORDS="alpha amd64 ~arm ~arm64 hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +multilib_src_configure() { + ECONF_SOURCE=${S} econf +} diff --git a/dev-libs/libatomic_ops/metadata.xml b/dev-libs/libatomic_ops/metadata.xml new file mode 100644 index 000000000000..057006f4df1d --- /dev/null +++ b/dev-libs/libatomic_ops/metadata.xml @@ -0,0 +1,11 @@ + + + + + sound@gentoo.org + Gentoo Sound project + + + ivmai/libatomic_ops + + diff --git a/dev-libs/libattica/Manifest b/dev-libs/libattica/Manifest new file mode 100644 index 000000000000..cb1cfbfc2175 --- /dev/null +++ b/dev-libs/libattica/Manifest @@ -0,0 +1,5 @@ +DIST attica-0.4.2.tar.bz2 57093 SHA256 3b9c53770862c0b21b7af7ea15951c35831126022bb8d052760d9cf8bd7ee4f8 SHA512 cef5d5c4bf01ed45ed8b59db354a4ac7949de435a45e4f753c847cadc15855e25997dedf1ff20c7bc4a2724d2cdba15139c54f0682df7d8cc8750de5be6f716e WHIRLPOOL b35c3a072a44031f61e7f048336f552a95a1d9f77838552fc19fbbcf22e66dfa297b9ffccd30cf434be7fe6485209bf6e4622cfa0637a519de6ee5318a947833 +EBUILD libattica-0.4.2.ebuild 893 SHA256 bfa53d5b478bd00d53aea289837d81bd8e50a374e92a7f3773556e832b8667df SHA512 6d9e8297f762a5fc688b9feedc1bb35d94d059f1176248774902d86653a5e72a516dc9f05d127ffe80bc42e78ae4775545bc291f87ba23b5f679a0db15829dd4 WHIRLPOOL 385af07ce210a5cbc99dfdd2b70cb064e2025abf3dbe9adb4dc8df83cc6984c6615954a1df09e1af63f3e77dcb80fe79ef579532f5044afc39ce17ee28cbbbad +MISC ChangeLog 2605 SHA256 62be5b935439ff34b5076dd7b17c5bb29c11bc295eed1f2e0491db0211ba458c SHA512 4c0465c5d1874b8d31f71eda3800fe31590ad5a3d44698dba1cc9f5cf39b823b27393c560aba8588af3052c5629c77d1e7b24e85596e8c42dc9e2d3eceb2c403 WHIRLPOOL 80e87c2df799a05786fc049086b500c77cf21eb19afa9ff6b02cc4f49804278c4a0dbff350bb1f7b7d2260ded7a278f4e4ef4c74120a1fa494d3aef9096f45a5 +MISC ChangeLog-2015 6316 SHA256 7a0028fd1c219cafeb1a0bd9d9fcb9cf72cfffe0c1fcafca0d634ef8eb23eefe SHA512 fc263f8f289f3acf11d40d7dd0b339ffc8ebbad740f6893fb291ada30d565155eed56b01dd937b80ff21ac5494d40a6f0bf72c42b0646a4dc9d513437aee1e64 WHIRLPOOL b1e3ef6dd4c9700e6c7087d8cbfc24f065a97a994dc8589995fee3da64ff83c2d0568e64290b866e662318dadf4ea1994664a1f3bdbe5dee1fa35d199dd74b49 +MISC metadata.xml 245 SHA256 ae3610b0005f668b7174e8c49c0170e7642e895c8e13e7e2fedcfefee6940e1a SHA512 90bcfe500baf163912aaffc9958c9724c4a97cfca294cae6c2eea938f4ca7668c84b132b6dce55767efa47a28b9e87bb75e79634b59079ab8ef3eff3ea95968e WHIRLPOOL 7abb1ad699d5aa3a0a0ebb0e8704df297ad9a662698cb59d1b48700aeb787e6208540e1e84f583a46bdd9975e27a75f04f7463585790b4e7865d0edfdb1e13ae diff --git a/dev-libs/libattica/libattica-0.4.2.ebuild b/dev-libs/libattica/libattica-0.4.2.ebuild new file mode 100644 index 000000000000..71dc23670246 --- /dev/null +++ b/dev-libs/libattica/libattica-0.4.2.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +MY_P="${P#lib}" +MY_PN="${PN#lib}" + +if [[ $PV = *9999* ]]; then + EGIT_REPO_URI="git://anongit.kde.org/attica" + KEYWORDS="" + scm_eclass=git-2 +else + SRC_URI="mirror://kde/stable/${MY_PN}/${MY_P}.tar.bz2" + KEYWORDS="amd64 ~arm ~arm64 ppc ppc64 x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux" +fi + +inherit cmake-utils ${scm_eclass} + +DESCRIPTION="A library providing access to Open Collaboration Services" +HOMEPAGE="https://www.kde.org/" + +LICENSE="GPL-2 LGPL-2" +SLOT="0" +IUSE="debug test" + +RDEPEND=" + dev-qt/qtcore:4 +" +DEPEND="${RDEPEND} + test? ( + dev-qt/qtgui:4 + dev-qt/qttest:4 + ) +" + +DOCS=( AUTHORS ChangeLog README ) + +S=${WORKDIR}/${MY_P} + +src_configure() { + local mycmakeargs=( + -DQT4_BUILD=true + $(cmake-utils_use test ATTICA_ENABLE_TESTS) + ) + cmake-utils_src_configure +} diff --git a/dev-libs/libattica/metadata.xml b/dev-libs/libattica/metadata.xml new file mode 100644 index 000000000000..0cf59224b009 --- /dev/null +++ b/dev-libs/libattica/metadata.xml @@ -0,0 +1,8 @@ + + + + + kde@gentoo.org + Gentoo KDE Project + + diff --git a/dev-libs/libax25/Manifest b/dev-libs/libax25/Manifest new file mode 100644 index 000000000000..63dd76e007c1 --- /dev/null +++ b/dev-libs/libax25/Manifest @@ -0,0 +1,5 @@ +DIST libax25-0.0.12-rc4.tar.gz 335535 SHA256 051bd736c3f3f3b242b3efea91af37f2e8d5afaebb5fe6e1df050bb1f6aeb986 SHA512 d11ed19cf72b8eed22c6cbaa5f45f0eb3b96672a6c9334a095da36b622a0453b0d7b72f75f7aa5753c9cf10636d5b10c36fe9b445481e04f7cba711609f7a812 WHIRLPOOL df3cbab97bbd3d067822de8f81c6314c38547afe63a105f25d135cda16685bb7baa17bcb0ce55aa2689973d2f82e1239eba39faf15b0c3d437ff0ef3d5797a70 +EBUILD libax25-0.0.12_rc4.ebuild 535 SHA256 0bcbb10bd364fdfd930654c2e75fdd7a46920fb250a7e9182c6d90b6b64c0da1 SHA512 1e19e36f67f92753427cc4eede5f050524653511bb539865bca8da819ef183109f93d7a06396541b2ddae1b9266fa475532550ddc15991c882508b4957213c38 WHIRLPOOL c4d9ff34d9c1899781698870b6c452709503f0938281995a4c6609b446748fa122013b30e81596c16dd0a4b9d11ef3e76fed1fd75ecf571e1c6fa5bf0bd41a2f +MISC ChangeLog 2186 SHA256 af24ebc267f1039f22d546dad14640c8847af0dc65be6dfa34c63282b2c49b82 SHA512 17299697944791f1ee3ea300257159f635739a46caa5061ff780b18b2077760e7a4b203efb8004823e0533cece4749392de3cd5934685142d0fdfda560244a52 WHIRLPOOL c61fb0c214d91637fe23988ddda166e08be5c7297667fe37a8bedf8134ea947e6d5a3fe6cd798dcb1d60ea6cd659856a3ad2c6b8515c7f0dc9f80c28241bc78e +MISC ChangeLog-2015 2698 SHA256 659fa79e1e4f283a9a8556f98f8d70b1838d93e58f6298009643ab056be9c8b3 SHA512 87c0feaa5e2c13d24f3fd855e9024dd83dc08f8b305fa7a21650035f925de28070d009d9d59a3862ee7989937bb6ddb6e7c74cae394a1e8bbeb5b1dd6523cff5 WHIRLPOOL 024678193cf00b86580c11587088475caf6d3285ed04d5b8941aaf5730c24d37c7c6cf7b83cdd64c01340d30261f9109995604740cc45387b5deb9b2c5275daa +MISC metadata.xml 255 SHA256 337b153cf1c2865c67720f3f9ced85136b748d378bf40ce808d713972811f38b SHA512 35a18c5a178cc996bb71a27b11fb361198ae96d24ee3cbbc105a64824e1dcddd71d017270539daa3688ec2f04a8f564dd08ca491f62a3da4cca650c9bf35600d WHIRLPOOL ad70e1844cc7990014d84464768a5379cf091c9d3778d7b3f5ed1e8d2e5d2cc0100c50d684b4c09aae2fa629a746bb5d5d2488ebbb3521c1281a9dd581fcb02b diff --git a/dev-libs/libax25/libax25-0.0.12_rc4.ebuild b/dev-libs/libax25/libax25-0.0.12_rc4.ebuild new file mode 100644 index 000000000000..4912d3abd96c --- /dev/null +++ b/dev-libs/libax25/libax25-0.0.12_rc4.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit autotools-utils versionator + +MY_P=${PN}-$(replace_version_separator 3 '-') + +DESCRIPTION="AX.25 library for hamradio applications" +HOMEPAGE="http://www.linux-ax25.org/" +SRC_URI="http://www.linux-ax25.org/pub/${PN}/${MY_P}.tar.gz" + +LICENSE="LGPL-2+" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="static-libs" + +S=${WORKDIR}/${MY_P} + +AUTOTOOLS_IN_SOURCE_BUILD=1 + +src_install() { + autotools-utils_src_install installconf +} diff --git a/dev-libs/libax25/metadata.xml b/dev-libs/libax25/metadata.xml new file mode 100644 index 000000000000..d187eed5ac80 --- /dev/null +++ b/dev-libs/libax25/metadata.xml @@ -0,0 +1,8 @@ + + + + + tomjbe@gentoo.org + Thomas Beierlein + + diff --git a/dev-libs/libb64/Manifest b/dev-libs/libb64/Manifest new file mode 100644 index 000000000000..dec5845a2ff7 --- /dev/null +++ b/dev-libs/libb64/Manifest @@ -0,0 +1,6 @@ +DIST libb64-1.2.1.zip 23316 SHA256 20106f0ba95cfd9c35a13c71206643e3fb3e46512df3e2efb2fdbf87116314b2 SHA512 8b1e5c8086a38be82471b5f37393f3f236c923f4a2bb737209a297cbab32a9f0a5c4af4ac912c695f0f7d8ff9458d97ce0d01092fbacbfe7181e4fd816e2153d WHIRLPOOL c31b8581adaa8516527f35e63aafe8ca93a6cef783fe416063cee2313bcc6ae41b7dd8efd75bba778954cafeaad250090b18df706ba349b684c84908387abe26 +DIST libb64-1.2.src.zip 16063 SHA256 343d8d61c5cbe3d3407394f16a5390c06f8ff907bd8d614c16546310b689bfd3 SHA512 ac041c78bf324a027e311fb10935886f8713f9b6ac53136396186a5b5fd936efdf6add715899827591bdf6d3727f6e27f680bc273c7634517cc2e1941140f596 WHIRLPOOL 4dfd317674dfe9daa7832bbddb3e668e83a11d216aa8fd05d3cb8b9697397c73183aadc0c8124e68f0397bf64cb1c9e819abd216ede4bf3d7f85176c05c8cf35 +EBUILD libb64-1.2.1.ebuild 608 SHA256 cf224640c2d121ae17ec3c694b6f0144179e1b6ae1b12947d44f44119a3b5ebf SHA512 2a093186f85978e1190b3d8f48bc9116380b7b1e5f39752000f6bb2b3d6fa77f6e72aa6f12b2d7d7fd0b095436ed8415b1aee1ab4d7d18f3889214077c966ff2 WHIRLPOOL 180d2530bdd88f919839aec09927d039785068b0b970f993f5d4fecc8756075a372c16a9a5c744e4a320177b6efc6e474289ac0d540851c19d65653638f0ce8a +EBUILD libb64-1.2.ebuild 612 SHA256 2ce89e3bc00fab15e3922b4c8f39dc7d09519d500a01518dbccdaff50f801fec SHA512 723d367f83e514b3e7fa42dfcf7b31d0da1b452d90999cf55939a358e87f95456ab1da4bf1dfbeebb737fca39c8133dcb17f812929792d9e24898a5ed5baa59d WHIRLPOOL ff2612d4f898e7d56e62ef1ed3131f593f01a4507df2bb5e01f60ef3cf789f143d436a83b1210aac774c4cc7fc142687e931f134f97f89249aabb02ad8ea5230 +MISC ChangeLog 1078 SHA256 a5c1296b8f8e46ce76633cbc50913baa691f97fc8704df8e6640de33183f05b8 SHA512 4ecc32a3db510fa71ac9359194d62dd008de93f8447993e8eb200bcd4dd05fd99d0f10b91fb04aa0632ea672343ac132d2e97dd3f57743a80e6f26d31f8eb388 WHIRLPOOL b5e7feb5d2c7089534ac3c389b4e1f53684c6c35c759c2b12b766bcb219931f55f727d6d2cf705b05e6221f408cf5af5520f0fba59d57e08ce0d6837b98f4974 +MISC metadata.xml 323 SHA256 d50a8257655a6d2e9bb2fb30073c0ec4b619a5e5376627ec2d6587336dafe28e SHA512 1280f198aab48b475f7bed0c8e27bb538ae9097630f18008879592a2bbe0430f0635c93aee0db13534c3cc5678929c758a0d734902f6509d4da332b4df9d14e4 WHIRLPOOL a28997f13546794e357c754fa5acb29a4a53d471590b752938c6cc299bf4174d90d879b7cc7556ed3bb6ccc48297c89b9a0ff3b73c1b19b83c2ba7f6aaa16a3c diff --git a/dev-libs/libb64/libb64-1.2.1.ebuild b/dev-libs/libb64/libb64-1.2.1.ebuild new file mode 100644 index 000000000000..05a3299dffda --- /dev/null +++ b/dev-libs/libb64/libb64-1.2.1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Fast Base64 encoding/decoding routines" +HOMEPAGE="http://libb64.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.zip" + +LICENSE="CC-PD" +# static library, so always rebuild +SLOT="0/${PVR}" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="app-arch/unzip" + +src_compile() { + # override -O3, -Werror non-sense + emake -C src CFLAGS="${CFLAGS} -I../include" +} + +src_install() { + dolib src/libb64.a + insinto /usr/include + doins -r include/b64 + dodoc AUTHORS BENCHMARKS CHANGELOG README +} diff --git a/dev-libs/libb64/libb64-1.2.ebuild b/dev-libs/libb64/libb64-1.2.ebuild new file mode 100644 index 000000000000..8935cbf4ad1c --- /dev/null +++ b/dev-libs/libb64/libb64-1.2.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Fast Base64 encoding/decoding routines" +HOMEPAGE="http://libb64.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.src.zip" + +LICENSE="CC-PD" +# static library, so always rebuild +SLOT="0/${PVR}" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="app-arch/unzip" + +src_compile() { + # override -O3, -Werror non-sense + emake -C src CFLAGS="${CFLAGS} -I../include" +} + +src_install() { + dolib src/libb64.a + insinto /usr/include + doins -r include/b64 + dodoc AUTHORS BENCHMARKS CHANGELOG README +} diff --git a/dev-libs/libb64/metadata.xml b/dev-libs/libb64/metadata.xml new file mode 100644 index 000000000000..b3cb29f1a0db --- /dev/null +++ b/dev-libs/libb64/metadata.xml @@ -0,0 +1,11 @@ + + + + + mgorny@gentoo.org + Michał Górny + + + libb64 + + diff --git a/dev-libs/libbase58/Manifest b/dev-libs/libbase58/Manifest new file mode 100644 index 000000000000..b15138047ef1 --- /dev/null +++ b/dev-libs/libbase58/Manifest @@ -0,0 +1,9 @@ +DIST libbase58-0.1.0.tar.gz 5807 SHA256 43ac21173353c3d284406986501d15972f589b6d9247f61766b7acbf1f5a7a4a SHA512 8bfeeb194736cae291308b281f23f49774943dc0151863ddf99b92b657c0151a9873a110f79679e81f14bf0ecf3cf00bf43f517a24d5e89d032a0a5ebed1a358 WHIRLPOOL ba3baed348e4e7265ad14c04f7fca9b728ebd026a61275e4aaa852268f2513bc001610f013159b72c0367255a4c2d3d69b18c7b693c5e6eab6269c4894b6667c +DIST libbase58-0.1.1.tar.gz 6564 SHA256 51f665b52efc99b7a8205101569a0580a7d7defda1c4597e6e467c164f86a206 SHA512 c47cb7f891c54a8b07a01f033312baa97b7722965cc0c5003fb8591dedc304dd3ff408e8b31ee4b0634b58f6a7f0be55bee039a1fd8e24fdb62f7a72c4be7c3b WHIRLPOOL ec72557af9269a47a33c4d75260821b606b75a644ded2f4f30f02657fc3a6586240f91d76718b219e7cbde8a636987f5145405faa9603c2c19022aeeac1be878 +DIST libbase58-0.1.4.tar.gz 6718 SHA256 97e8c3387fd4ed90208a8101e658743efbb6e21714e594f0828e6414f92c0b1d SHA512 9b36fd7308a1a5486d77cb9baeeac49669a2c823998ff0885fee0757d6fca374f796b743e69af087e20a58b95556faf6c48106e034c09879937d96dae5fc7ac9 WHIRLPOOL a33dfb69c047a21da48328f7acd415b0eec3fc6358c256a24dfee06b91295d0ec36c58ffbaa5ba14e74e5bc0db5ff052d7fcf99a2f7819e2370e35df58e53859 +EBUILD libbase58-0.1.0.ebuild 587 SHA256 f9963537333a52a08e5ab7e3e145b51ce0fda5ac33caae23e2867b065ec43679 SHA512 84009f731b4f0f3bc9e1110d06ea4fe7f158b853de796c32aacf1523129442b474216f618fe1a7b65b9748308299a1f6def11834aa7cae7c93c5a71a6e49e7c6 WHIRLPOOL 7edd9d499b0b8ab23e7c6f66be748efa9bf91e7127b269261f59158559c688137798b328e379bcfdad6203f8ac2a0800eaa9f15b092a32a12397e1f2c92679e8 +EBUILD libbase58-0.1.1.ebuild 587 SHA256 b3c5ba9523d535ff8f114cd1be80da73060a1d10731b9b2f6dc725545c08e2fa SHA512 5b10e4ab3a3aab2b0585669b8edd462c8752372047c7d87cec920cdd561bb80422751edc8f43b345a14020d890a704033bb699ab9f89623db5ecf7151e8a8c2c WHIRLPOOL 2a2f558d6b27e108c1b2a07a4150068fbc916ed991625f3ead19a49d190df19594381fabc4b32043fbb805913c27989e67170c531362f8c598196b485e8d6182 +EBUILD libbase58-0.1.4.ebuild 561 SHA256 1ff69779dcf9c7775dee30f38a6eb8e8af0cbb7b1987c752d89aefe2f9c88f32 SHA512 a2c1daeccb511c75672dab1dd1b54020baebf97bb77dd1f8269177eb891639c29c656f2234cd2164d90853386d492c56c00a042a7e2e5a26a7413a648f221c48 WHIRLPOOL 9299808e143e0ff92d902db8e6a06f2c9aea190ad3a146d17ed40203e7358fe144f109225e4464019824377412f20a2dba93fb292fe9f6bc5c4daefec815894c +MISC ChangeLog 2238 SHA256 5a40638c5e3b96504ad862e48b1dd5f12e194185a4f09b72339277177e3d222f SHA512 69d052c8bbca26acd4be83d051d9f04b19aa3bf73dcbbd9cae83ccb0507c59f1d03d967e61b5f8b1a78fb8fa4adbac46d627461348b9cbe4f9705323faa04b73 WHIRLPOOL 5e8c90a68e803c44b8f043f9ac66d434246cc1c9f5146d8474c880a2a0b913dc9a1748f6872e15795b99a6e3c5a0b80f663ed5ae80811101adacdf08287861ae +MISC ChangeLog-2015 550 SHA256 8b8ed0c97a73304d2aeb3256cd740b139dc2b0917a52f109ecec38908c2c55c0 SHA512 b21ca89efd07c720799900cc3276530cd23dc47c1fa196dbe20177b578e1466ec06f9dd1ff196e5564632fbafa58f6346e19c1861677f5ea043b540d4df67cf1 WHIRLPOOL b3c5a112a9befe9d382591109a6771912d72d6db70a61c739224132b9f80ea6c36af994a67285698afc315602e19a6515beabe5704d943b98c7ec325f9cea2bf +MISC metadata.xml 546 SHA256 ea901e234f0365ca73da344b73cfaee88a5f38c30ac485f1f84d18c2db2168a7 SHA512 766b8355e21921af57a858ae7ecdb43b643022bea1d0a7e88f4636aad70a92e81807a573303d4ca5432b543bb309002bf525ab25f73e0e5d33d3ab0114ccf2c0 WHIRLPOOL 9218acbff76aba9c84ffaddbc13e0886c340be88e1f089233a3e1756576d5c6ca194657e7d7876154ad1f3a119abfe99c6b8c9b330d0b3ef645acfd4b7ba5447 diff --git a/dev-libs/libbase58/libbase58-0.1.0.ebuild b/dev-libs/libbase58/libbase58-0.1.0.ebuild new file mode 100644 index 000000000000..065fa8233a6e --- /dev/null +++ b/dev-libs/libbase58/libbase58-0.1.0.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +AUTOTOOLS_AUTORECONF=1 +inherit autotools-utils + +DESCRIPTION="C implementation of Bitcoin's base58 encoding" +HOMEPAGE="https://github.com/luke-jr/libbase58" +LICENSE="MIT" + +SRC_URI="https://github.com/luke-jr/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +SLOT="0" +KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86" +IUSE="tools" + +DEPEND="" +RDEPEND="${DEPEND}" + +src_configure() { + local myeconfargs=( + --disable-static + $(use_enable tools tool) + ) + autotools-utils_src_configure +} diff --git a/dev-libs/libbase58/libbase58-0.1.1.ebuild b/dev-libs/libbase58/libbase58-0.1.1.ebuild new file mode 100644 index 000000000000..c77b5cda8e25 --- /dev/null +++ b/dev-libs/libbase58/libbase58-0.1.1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +AUTOTOOLS_AUTORECONF=1 +inherit autotools-utils + +DESCRIPTION="C implementation of Bitcoin's base58 encoding" +HOMEPAGE="https://github.com/luke-jr/libbase58" +LICENSE="MIT" + +SRC_URI="https://github.com/luke-jr/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +SLOT="0" +KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86" +IUSE="tools" + +DEPEND="" +RDEPEND="${DEPEND}" + +src_configure() { + local myeconfargs=( + --disable-static + $(use_enable tools tool) + ) + autotools-utils_src_configure +} diff --git a/dev-libs/libbase58/libbase58-0.1.4.ebuild b/dev-libs/libbase58/libbase58-0.1.4.ebuild new file mode 100644 index 000000000000..55a1b52188cb --- /dev/null +++ b/dev-libs/libbase58/libbase58-0.1.4.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit autotools + +DESCRIPTION="C implementation of Bitcoin's base58 encoding" +HOMEPAGE="https://github.com/luke-jr/libbase58" +LICENSE="MIT" + +SRC_URI="https://github.com/luke-jr/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +SLOT="0/0" +KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86" +IUSE="tools" + +DEPEND="" +RDEPEND="${DEPEND}" + +src_prepare() { + eapply_user + eautoreconf +} + +src_configure() { + econf \ + --disable-static \ + $(use_enable tools tool) +} diff --git a/dev-libs/libbase58/metadata.xml b/dev-libs/libbase58/metadata.xml new file mode 100644 index 000000000000..7beabae51605 --- /dev/null +++ b/dev-libs/libbase58/metadata.xml @@ -0,0 +1,18 @@ + + + + + blueness@gentoo.org + Anthony G. Basile + + + luke_gentoo_bitcoin@dashjr.org + Luke Dashjr + + + Build command line base58 tool + + + luke-jr/libbase58 + + diff --git a/dev-libs/libbegemot/Manifest b/dev-libs/libbegemot/Manifest new file mode 100644 index 000000000000..ddc4a2814388 --- /dev/null +++ b/dev-libs/libbegemot/Manifest @@ -0,0 +1,5 @@ +DIST libbegemot-1.11.tar.gz 266310 SHA256 b08b44844075deada7704a58e71f7a3508f5f474ccde2086fcf20e77777a0655 SHA512 ea5b0b548ad4240aa945ee9376e13a8ec5848bd9675f7fdc57c3daf1e79735e442c44a550430617a1048d5a0cef06adc9b48d45f42cca9f6049e3f3d0571e627 WHIRLPOOL 3dc40e27664bd965b4721f4be285132ca06390961ff49cbeff06dd201d7e05880b9b2378c7d878efb3a13cfeda9b023950e928f19c33052701ea68a286984b4d +EBUILD libbegemot-1.11.ebuild 549 SHA256 49be98fff0ca4bfa8ceb37535cb16caed27700bae5b4f8e6c8cd882f1f1a6001 SHA512 6e8b2572e26534717829f75ee854d2e44400f8a6ee68716298f56d0d14af96038869f441e7ad2da68a089e85cd9f26681859af1c1d4f1f55e8eff33bd2b93b9e WHIRLPOOL bd3aad280ee4ac447920a8d1eb111e5ef8729bc21d304e91675dd07177203bf8e4368ea2b2921248f3c63caf8517110e21e8b7d52b667da89f3b01058163c3b0 +MISC ChangeLog 2434 SHA256 7e298ea9dc8267aa25ae23b7345bb4d94f498e3abc3e4049b1dda10d2ebb46f0 SHA512 66abd44307d4f5dff87a32ac60e11a63db024cdf8008d5a7daea43dfd3e303ada5a1ddc5612dddbb4b89b6d57ff6e84c52e6a12eccdab35b9a810b74da83c7d9 WHIRLPOOL acb6f5aedb56aafdf264254f8470df9de3eecb815526d71a94959e5bae2ff4da07ecaf0e67290c9f0e59ce7589418229a7b74bfcb3cfcd94a8ec657730e23c5b +MISC ChangeLog-2015 761 SHA256 8bdae5a8900589e709126a09499f9f866f8a7029e454f08a334ebd45e3a5963e SHA512 68588636596b93c24e482a0a3d474f37c433296c68f55d7a6a24f4b2220fee8256d51e44a0b633ce22eea9162520d21f2e1e13b50cfbac0f28bb4ce892864da0 WHIRLPOOL f56a659f7355dc494340be26a216cab2e69776ba16f37ea191960a98524800e7b8ff1e9ada3b02d05d8c39291c33772ba69b3f2e60af2816fbfeecd79d33f0e0 +MISC metadata.xml 238 SHA256 501d93b0c41ed422505100f002758cd173cd9783ae7fbb53e2ec5f238c868340 SHA512 173efaa53a514acf1e2f0c6681c82a48ec16d505844f551d2cc823ee8685b27837c7461f7956c12182059ee7e83023e2f0bcd5d1afab74beeaf998487193656d WHIRLPOOL 4ca51d994f011a5e7e4939f02a54b5c2f9f3e526665893c9ac2876c9871b7dc80361393d41c5247b3a5520e82d31d0dd10da520e7715c94b806a94ce0fed2a5a diff --git a/dev-libs/libbegemot/libbegemot-1.11.ebuild b/dev-libs/libbegemot/libbegemot-1.11.ebuild new file mode 100644 index 000000000000..aee9ee63d1f3 --- /dev/null +++ b/dev-libs/libbegemot/libbegemot-1.11.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +inherit libtool + +DESCRIPTION="begemot utility function library" +HOMEPAGE="http://people.freebsd.org/~harti/" +SRC_URI="http://people.freebsd.org/~harti/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~amd64-fbsd ~x86-fbsd" +IUSE="" + +DEPEND="" + +src_compile() { + elibtoolize + econf || die "econf failed" + emake -j1 || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + + dodoc README +} diff --git a/dev-libs/libbegemot/metadata.xml b/dev-libs/libbegemot/metadata.xml new file mode 100644 index 000000000000..a00f3aeb1f81 --- /dev/null +++ b/dev-libs/libbegemot/metadata.xml @@ -0,0 +1,8 @@ + + + + + bsd@gentoo.org + BSD Project + + diff --git a/dev-libs/libbrahe/Manifest b/dev-libs/libbrahe/Manifest new file mode 100644 index 000000000000..51e028407c93 --- /dev/null +++ b/dev-libs/libbrahe/Manifest @@ -0,0 +1,6 @@ +AUX 1.1.0-missing_libs.patch 225 SHA256 a6e1875fe0f348e35b4d0ca051e9430a86354fe265688c6ce84451c29374d1e6 SHA512 2810c4ac9197c3b1541edc1ae0c30dd2b273b008b394999d3a96cc241d64befc5c3caa41af89398ddb65552ad72033f8ed593977b88fe7e8eeae05e12bdd1f84 WHIRLPOOL 14c73cc1b9365117d3c4b54c043fd686914f35ec0ace1d282b638f294bb632bb92d40f3630a713dde0856a3e8d84dc378fcc336681e2ced0861500d521bec9b9 +DIST libbrahe-1.1.0.tar.gz 344264 SHA256 7280de227300c2697cd012cdfb430446d5920fcc576e8858213057310a4767d0 SHA512 54f2d0c9c1c04429fab59d365d6a4144eed29a400edccd7ed9e5d19876565071ac76686da73e7f84c857057c8c52e1b85d2e257203724cbd9f1877d76024927f WHIRLPOOL 08f5bb1b5c741c9626fe3ca728ac1a99d31efd3a859aeba354f596445fb8ff195cd48603d10d3993ee412ecde9c96fd60b65447f4332771bcb868ed52182be93 +EBUILD libbrahe-1.1.0-r1.ebuild 516 SHA256 d968c1c944a99b3e23d7ffc125e52696b18a539f57781656498ebd346ff39f9d SHA512 a5520700aa021e498795291cc2e4a991c874a8a939dc0b43d68925e58fcba366e349a596f651f1a4543e3d1969657a844deba7ebf046356313b9696dff616f4b WHIRLPOOL 5626d587b6701a1e7f1673ed56eb7b9480352c30d9be5dfeb03c5869c94cb364f34dce6cb2132c5765fe24e7e1f7066e25955523d33a8748145758b1e6e1df05 +MISC ChangeLog 2469 SHA256 968727b37fc2efef9d17863a056f8182fa7359611c7965d0784e858b5dccd67e SHA512 6ce70d18c97e6bf96ba4f07f7cb5d702855e944467cd3c129ee099e8a73dc1f8d5e8ebc3a9d9e347dbfe16ad2fe6805f9c0c806a699b3a148a3769b9223a541c WHIRLPOOL efd0c7dd95f48e681f08b18329664c6cba293a28784623e532861dff74d302b3b61ff3b644c5f99d7eaed1cbeef7b6e09438427d10274ccec880ac31ca71ec8a +MISC ChangeLog-2015 1355 SHA256 0a903ee513ba9683fb93fb5909c2d74565e3ddcd73792cfd258e13423ec0a94d SHA512 b7e9dec254e173baedcc30a688a546ddc09a0a229ceeb9ece0e50fb2afd048fdb51d58da2ac63120a656d2f7027ff1552572d86fd868ab4f2bf42fc4987dfe85 WHIRLPOOL 9a6e5031bbeaef4d050fd5a484ca1e2eb1a547f927762ef8155bcf2359c42684f7747a0cb8c47b952af4531f0e80da5e324cef8c2835a103fb174960261603c1 +MISC metadata.xml 245 SHA256 2d55ae4b33723b881e2cd48221560da36aec5b304b8bf2b440a9e2588875dba9 SHA512 b098db4fb4d9ea116f6246bc6caf0f49e80e236d2fad78d287b638dbd5add7bfaf7feb1ca081ca557b23dde9227ce42fa808f3f6fd8eaba6a7e9cae93342f9c6 WHIRLPOOL edd2e34ed3775c96bf085c9c0a95bd448028cb5ba6a2bfa7d7253b54878c888b62fa579483265c47c2602ca454fd656d32346eaa7351067cc3a36295d1e1e861 diff --git a/dev-libs/libbrahe/files/1.1.0-missing_libs.patch b/dev-libs/libbrahe/files/1.1.0-missing_libs.patch new file mode 100644 index 000000000000..7466f917f9da --- /dev/null +++ b/dev-libs/libbrahe/files/1.1.0-missing_libs.patch @@ -0,0 +1,7 @@ +--- src/Makefile.am.orig 2008-05-01 02:21:34.000000000 +0200 ++++ src/Makefile.am 2008-05-01 02:21:47.000000000 +0200 +@@ -14,3 +14,4 @@ + + AM_CFLAGS = -std=gnu99 -pedantic -Wall -Wno-format + DEFS = -I. -I$(srcdir) ++LIBS = -lm diff --git a/dev-libs/libbrahe/libbrahe-1.1.0-r1.ebuild b/dev-libs/libbrahe/libbrahe-1.1.0-r1.ebuild new file mode 100644 index 000000000000..4d2e451c2a30 --- /dev/null +++ b/dev-libs/libbrahe/libbrahe-1.1.0-r1.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +AUTOTOOLS_AUTORECONF=1 +inherit autotools-utils + +DESCRIPTION="A Heterogenous C Library of Numeric Functions" +HOMEPAGE="http://www.coyotegulch.com/products/brahe/" +SRC_URI="http://www.coyotegulch.com/distfiles/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux" + +IUSE="static-libs" + +DOCS=( AUTHORS ChangeLog NEWS ) +PATCHES=( "${FILESDIR}/${PV}-missing_libs.patch" ) diff --git a/dev-libs/libbrahe/metadata.xml b/dev-libs/libbrahe/metadata.xml new file mode 100644 index 000000000000..41cd682e0ecf --- /dev/null +++ b/dev-libs/libbrahe/metadata.xml @@ -0,0 +1,8 @@ + + + + + cpp@gentoo.org + Gentoo C++ Project + + diff --git a/dev-libs/libbsd/Manifest b/dev-libs/libbsd/Manifest new file mode 100644 index 000000000000..5d345e31e63b --- /dev/null +++ b/dev-libs/libbsd/Manifest @@ -0,0 +1,9 @@ +DIST libbsd-0.8.3.tar.xz 356772 SHA256 934b634f4dfd865b6482650b8f522c70ae65c463529de8be907b53c89c3a34a8 SHA512 155b895d6bd62b180718d65a2cda7484946c492d52735a57b51005705dfe4528b6a72e8745acea47b01fe68e3bbbe3c036c5e9998a8d06fc79efe2b96a04767f WHIRLPOOL ab74a85813ea3308e7e4c53b7a46f4b93e4dff4d091964a6347f9960729e8eb4c8a2a0866938de508caf47caf9371f14499fcb0cc4aa30da06f501f4ccad9ef2 +DIST libbsd-0.8.5.tar.xz 370680 SHA256 7647d024f41389305272c263da933a6f2a978213c1801592f47e68d83ac05b28 SHA512 bb122862ce8b789e530e9ca1a777d4219db2066ad89fe6028a833a5dc33ac0cd6b553ef5a0a42962d4a594c1f410304fd553b8fab583db539989ec7cca85baf0 WHIRLPOOL 6a621bf56ec6660cef7663dec62c0623d85931a56239f435e60bff7df8c4150ef378bff03801f67f798d0e640dc1dd061457a3b6df6a2f3f20a03b66fba14ebd +DIST libbsd-0.8.6.tar.xz 371112 SHA256 467fbf9df1f49af11f7f686691057c8c0a7613ae5a870577bef9155de39f9687 SHA512 ece01ced324f840c2cee6321c7dcf97ff123d55ea9f203c1ce35e1b46643dc7b34ef6dc6c8d128252b36848624850b40823411cc96b99a66a401eb1e9d8cea6b WHIRLPOOL e4f9b84fb9c0953fd1732725b481d04e69b03ceeb35ec708bd4ecf549e01c3787323d18d7d0058c293ea31e6d135e734c73345c5af1dabed36a9551bdf5e3dc5 +EBUILD libbsd-0.8.3.ebuild 1156 SHA256 eaf618183e644aed3dca0a984fab324221c24f59653e94178e0a5953f4e1a72e SHA512 58344f547ce2e835a9f01c44c31f364f162a1ecfbb54a5b056996e9f4b6abce777d7699b6224a5b0642d4d9b12545d269418129acc7c7b392ff03d9ea3287f40 WHIRLPOOL fbb1e220ee3a1fe14d108a87a921edd58de2b8aeb7a9a87eb598b3f38c7fada2fc45968a266f1f3b05fc54336a933a9ca742933e495958bceebf26c8a3985bcf +EBUILD libbsd-0.8.5.ebuild 1180 SHA256 fd6902815184868c5905e41f4fa998e28326d97b7b7dad282ca86855b897dcef SHA512 999ef1c3bb65735bb30de122b7dff5b7bd51aa0b095b34ac236ba4dd873c78cde054c1e278725aff8c55f186f91e390ec2b6ceea61d24f9612f53a29db8ddb8e WHIRLPOOL 8c423b7ccdd892e5262ef58928811ffb253f9c2358cd24c2af5ad3c99abd541e0d4181c83a088755d882930216bc1fe425f498e85b410c10b5775934a002383a +EBUILD libbsd-0.8.6.ebuild 1172 SHA256 891d64859ccd9ed219f7f22048eafa6762a909c22e9a62858b52341adc18d6cd SHA512 54c0874720539ca96d5ea789685e9d20d1904cfaffc5ee52969d292e638b0b65ac22293cafcb551a33229cd5dfe54c229390a9ce278cd4e959c496e4325b2b9d WHIRLPOOL 45e58d6ec15efe3357315819a6583a9bc38394e201ad7aa8aa9f2039b1ec8f44922616bf2ba272e8a6315b312e6ca31ce29af34aaf7cadd8800a16cc39c3e068 +MISC ChangeLog 7698 SHA256 ae39c8bfa8f2187cca3990233237765badabd0a138713cc884cdbb35232eb4cc SHA512 2415558c65f54d09e052fd883fb677156dbfdaa12be73ec67b97a3d38713cb92476b72bd1f37e43d84b78d2887ac5ff997f256566130c26f2112093861bb8be7 WHIRLPOOL 805fc806935b6b134a23aa60e88b970391eddc4400c58c0788165caf1678e3ae5bf20fe32a40dd93367577ee1cf750c0ce46fc37c4bcab0cf42108f656841bd6 +MISC ChangeLog-2015 5236 SHA256 5e8fd6dffc9bb76f2734a6da36bbf00792171f4167bfdb89419e08709ac4ec7d SHA512 dd4eae1cdfb9ab4eadf5ff529d291baa237612be9ea47794fefc7d86246172ef164c2bb65add1786acf651b89082ce5520aa5a0c1fd09fc70d65fba369d6bc41 WHIRLPOOL eda53a135a82ecfe31e32b9a6d03be9261f0ac14f4a1773494c2d7231de826bbaf7d4061f6827999ad79118c690bfd47d5983c7b9fb80c2a8795bfe061eeabc5 +MISC metadata.xml 276 SHA256 6bb81cdb026b199d78fb2a2327320a915a3bd241a9300bb069bd9c998521f613 SHA512 673180ba375ea401c0a8f197d516417b3f9361b11943c71bac88b0d0b1407b0bc657f5763c6fb6e429cc6ee112869a2247083fe56743e9ce918855c0ea929e59 WHIRLPOOL d494386e01171fe51879cf968a6cebca04c22477f3b8a52bfdd17b9ee06afd99c3979396f7abf40bee698d6fbb060e2f37e083cb3ed010c018d84211a2bc7cd0 diff --git a/dev-libs/libbsd/libbsd-0.8.3.ebuild b/dev-libs/libbsd/libbsd-0.8.3.ebuild new file mode 100644 index 000000000000..920b765cd2b6 --- /dev/null +++ b/dev-libs/libbsd/libbsd-0.8.3.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit eutils multilib-minimal + +DESCRIPTION="An library to provide useful functions commonly found on BSD systems" +HOMEPAGE="https://libbsd.freedesktop.org/wiki/" +SRC_URI="https://${PN}.freedesktop.org/releases/${P}.tar.xz" + +LICENSE="BSD BSD-2 BSD-4 ISC" +SLOT="0" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux" +IUSE="static-libs" + +DEPEND=">=sys-kernel/linux-headers-3.17" +RDEPEND="" + +pkg_setup() { + local f="${EROOT}/usr/$(get_libdir)/${PN}.a" + local m="You need to remove ${f} by hand or re-emerge sys-libs/glibc first." + if ! has_version ${CATEGORY}/${PN}; then + if [[ -e ${f} ]]; then + eerror "${m}" + die "${m}" + fi + fi +} + +multilib_src_configure() { + # The build system will install libbsd-ctor.a despite of USE="-static-libs" + # which is correct, see: + # https://cgit.freedesktop.org/libbsd/commit/?id=c5b959028734ca2281250c85773d9b5e1d259bc8 + ECONF_SOURCE="${S}" econf $(use_enable static-libs static) +} + +multilib_src_install() { + emake DESTDIR="${D}" install + prune_libtool_files +} diff --git a/dev-libs/libbsd/libbsd-0.8.5.ebuild b/dev-libs/libbsd/libbsd-0.8.5.ebuild new file mode 100644 index 000000000000..c9b85c118e93 --- /dev/null +++ b/dev-libs/libbsd/libbsd-0.8.5.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit multilib-minimal + +DESCRIPTION="An library to provide useful functions commonly found on BSD systems" +HOMEPAGE="https://libbsd.freedesktop.org/wiki/" +SRC_URI="https://${PN}.freedesktop.org/releases/${P}.tar.xz" + +LICENSE="BSD BSD-2 BSD-4 ISC" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="static-libs" + +DEPEND=">=sys-kernel/linux-headers-3.17" +RDEPEND="" + +pkg_setup() { + local f="${EROOT}/usr/$(get_libdir)/${PN}.a" + local m="You need to remove ${f} by hand or re-emerge sys-libs/glibc first." + if ! has_version ${CATEGORY}/${PN}; then + if [[ -e ${f} ]]; then + eerror "${m}" + die "${m}" + fi + fi +} + +multilib_src_configure() { + # The build system will install libbsd-ctor.a despite of USE="-static-libs" + # which is correct, see: + # https://cgit.freedesktop.org/libbsd/commit/?id=c5b959028734ca2281250c85773d9b5e1d259bc8 + ECONF_SOURCE="${S}" econf $(use_enable static-libs static) +} + +multilib_src_install() { + emake DESTDIR="${D}" install + find "${ED}" -name "*.la" -delete || die +} diff --git a/dev-libs/libbsd/libbsd-0.8.6.ebuild b/dev-libs/libbsd/libbsd-0.8.6.ebuild new file mode 100644 index 000000000000..6c178d59e9d6 --- /dev/null +++ b/dev-libs/libbsd/libbsd-0.8.6.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit multilib-minimal + +DESCRIPTION="An library to provide useful functions commonly found on BSD systems" +HOMEPAGE="https://libbsd.freedesktop.org/wiki/" +SRC_URI="https://${PN}.freedesktop.org/releases/${P}.tar.xz" + +LICENSE="BSD BSD-2 BSD-4 ISC" +SLOT="0" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux" +IUSE="static-libs" + +DEPEND=">=sys-kernel/linux-headers-3.17" +RDEPEND="" + +pkg_setup() { + local f="${EROOT}/usr/$(get_libdir)/${PN}.a" + local m="You need to remove ${f} by hand or re-emerge sys-libs/glibc first." + if ! has_version ${CATEGORY}/${PN}; then + if [[ -e ${f} ]]; then + eerror "${m}" + die "${m}" + fi + fi +} + +multilib_src_configure() { + # The build system will install libbsd-ctor.a despite of USE="-static-libs" + # which is correct, see: + # https://cgit.freedesktop.org/libbsd/commit/?id=c5b959028734ca2281250c85773d9b5e1d259bc8 + ECONF_SOURCE="${S}" econf $(use_enable static-libs static) +} + +multilib_src_install() { + emake DESTDIR="${D}" install + find "${ED}" -name "*.la" -delete || die +} diff --git a/dev-libs/libbsd/metadata.xml b/dev-libs/libbsd/metadata.xml new file mode 100644 index 000000000000..0f6db5621bcb --- /dev/null +++ b/dev-libs/libbsd/metadata.xml @@ -0,0 +1,8 @@ + + + + + freedesktop-bugs@gentoo.org + Gentoo Freedesktop Project + + diff --git a/dev-libs/libbson/Manifest b/dev-libs/libbson/Manifest new file mode 100644 index 000000000000..b2960944812e --- /dev/null +++ b/dev-libs/libbson/Manifest @@ -0,0 +1,15 @@ +DIST libbson-0.98.0.tar.gz 4451923 SHA256 5e792a3c4d296a8b9e4316f1c58e94819223c4512ba4a790cf9e7086ef614995 SHA512 9bae7593198c8ac358978bd6a065d65fb872a15fd43d11839ad5dff1ffbe0362b06cd4bde08032a2c11e8633789328b5d504cd032b7636dc525f6df3e6fd641d WHIRLPOOL ed6350ef59fa596f6414010362999896648c491a906b4ad9f5e11bac549acf975083d3b6ea8d4e0eff0e3ae35a7db784303120d3855b7f2bb21373a318f44516 +DIST libbson-1.1.10.tar.gz 4431658 SHA256 211a62a7a6f93ba21b85afc1522c3a367a264be09626ea15f7be3a0fbe084a70 SHA512 636178bafb19e7b103b5192866dbda0c70b8d7173560b0466f88b3a85cce3292a7caac9521808fa8c09d187f8c96564dcd9fb787e855d1619610f813583379bc WHIRLPOOL 8b29882ce3ebe0da4b0ce952d2b79fff2ce4c211047ff7c05e15f6263546258c134974fdf539ed6173f286c501085e575cebde806f6578ea9fb843f1b92da4f3 +DIST libbson-1.1.2.tar.gz 4492014 SHA256 acd8026d4e5bf5034b699af136236a8a38c06613d1800fdf54721fe66280b6ae SHA512 03e2ee337445286c14b846cd7545707959b1d351fa466c6292379a85e48ea1a171dae37dd7aff092212239ad59aac6f1ab216ee5de74ef00a8a2a124559e34da WHIRLPOOL 10a4fee34bcc12a730899553d62405784673ee5beecf63a624fb1527c9dddd0403d855a7557f6a35167bffee2b2ebb9f7d3b7ddc64d2e12cc39d95afe89e0db6 +DIST libbson-1.3.5.tar.gz 4547720 SHA256 d380cfc30bbb598e64bc5e4b0851f9e8343071292a9e0a101f49ec06211a1b23 SHA512 b55ae1d424f786aabed6567a77cd09aa26c74ab0a09392e88faef8c156b1650c026f86f245bc8431a0ebcf404c4f80eb1b22e978a24289d32692c84375a66596 WHIRLPOOL fb0d2f05e0a8c60da2d3277ec1413799b8e45c23e408fdd136b3ebe4f6e74ed7d58d767792f1d6454bb6e61785f7ae624ff655b94f39ef6007e1f248caf7cad5 +DIST libbson-1.3.6.tar.gz 4546329 SHA256 77b4f41154457d56e5b837a1a770800e96f3c30a67f6e5a439bf336a2124fbb4 SHA512 a7da914ed0f03212d4fb01879543f0b2c7629923e33200fe30335a9a90a1082ffa2566c7a556b90a6c7ffbef5665a45ec67f87ffff2a5fcb89830769b1df5130 WHIRLPOOL b86efef2e3841b66ef425c022c1e60a32d6fd02d3cbc0af22c28ac5f6e6eeabb709aa06a353f2e0ed8af0ebf65da6d660edb09523ec196ac0a5f7006be4d998b +DIST libbson-1.6.2.tar.gz 4835257 SHA256 aad410123e4bd8a9804c3c3d79e03344e2df104872594dc2cf19605d492944ba SHA512 f95f5bb829cff3aac6c1d95a159e38396d8fccef66d3026dac8085ba13ec376274cddeb92277d711ac4d40cafd8b89b73e9a9d1cf29e22f7f79aa9422c69488b WHIRLPOOL c82ad25eda07e0acbd793ee16814e1748076b88f552aeed26300a100bf79131d3a79038ce769cffb4722478edc83f55a854c6d08026c09e87f2ee855c559829f +EBUILD libbson-0.98.0.ebuild 975 SHA256 f2ea72daf0843f79bc5c035e4d9f2c94bbc417e7f085f621c99bb68e109cc436 SHA512 051fb16d7dfd19f69c906d929b6294b7bc0844318afbb7efe5c3d9be6e7f92b04f3ded674197a1ec6108aa4ccf8913de928f1e8ee1d82c7b69529792b50f8ddc WHIRLPOOL 27596177df90a59ccdbf8501e18a6e48826ec664a10424ca4cff314ce899ab8c0c32e6a9e0710cd8da0a7c3fea2ec3e516e9271e14efdc124002f98b4ccf34f3 +EBUILD libbson-1.1.10.ebuild 975 SHA256 f26bb41d49fd1cecddbe9cb73242ac4be6955861d4eabe1fc81d3cff9d9b1588 SHA512 e6abbe7790ebe385d047629eedd6574edd9685000424e8350dd3d1e8e861b2459ed7dd3d3f02a1f5fc33e34e0b8bf7cfd5088c8aeef0713c590399eb91cf423a WHIRLPOOL 19037b96de008698eab5aa3f442bfc4bdbb4076aca56b8fc86252b72be682cae34019b88af2ac7e2ba4e8dea288c059ef3a8eb0badb106401fec7a23fcec7c9c +EBUILD libbson-1.1.2.ebuild 975 SHA256 f26bb41d49fd1cecddbe9cb73242ac4be6955861d4eabe1fc81d3cff9d9b1588 SHA512 e6abbe7790ebe385d047629eedd6574edd9685000424e8350dd3d1e8e861b2459ed7dd3d3f02a1f5fc33e34e0b8bf7cfd5088c8aeef0713c590399eb91cf423a WHIRLPOOL 19037b96de008698eab5aa3f442bfc4bdbb4076aca56b8fc86252b72be682cae34019b88af2ac7e2ba4e8dea288c059ef3a8eb0badb106401fec7a23fcec7c9c +EBUILD libbson-1.3.5.ebuild 1145 SHA256 58323e155e803d3c5a244c3581a4438a3a0d78a2108b5142745ada2f02b357bf SHA512 015f73d09a48b70c80943cccfcba82a4978bcbbf72e41d5f44fb3137b81384f78e3811528f5292b4d57d88ebfdeab03f2779552ecd0359b5a460d054eabe83e5 WHIRLPOOL e5d75c3ad90b9f79857b2373195e4959b7a15f4b1c1e8b8f8d2eb936a863cf1468e9b6d9697b2b98dec6cddfb64682552a54d9aae95474fb2d1b99481f32d31f +EBUILD libbson-1.3.6.ebuild 1118 SHA256 754d86a8e611407df197105b161c023a08029d099d65095c77d2027d911f269d SHA512 ac2607347570113f109d85d20d24c918a133265b3ca2497c108b30b80e457d33275a30d6a1587a5af87134f3987996048ef9e0ba2e555829cb9e7bad3d540feb WHIRLPOOL 5fc2479087dc5beef9fea236da9079ad8f1ec578153cf9544b9de72dc04648284ce8c24bd230ec99af8556fbc6a510b33a91eee8860807d2b27a287451da1fef +EBUILD libbson-1.6.2.ebuild 1024 SHA256 dd38f0955d94bd6895f1e1e5958cdcfd328ad2b982b2506f617d248c678dff94 SHA512 aaf96d91eddb70e532fde927aaa7e412b46d5858a46949597e3729fdef23869c5e2e4ac49c90fe601319689fe7437072e54f5db6f936cb875b2a7560f7e18331 WHIRLPOOL db399aa1f777b58ad061c631d01389eaae3e832f94a5827076ea2799f8a3248f2457b03557a89bc14996150cd9adf17c2327f1a0ec37c98914056d7c1dc7e3f2 +MISC ChangeLog 2958 SHA256 be2745fc5916dd39e6b9c870767d3fc106e61018308c883cb583fe4949d7074e SHA512 43e2cdb97b73803d00fbd11dc3cf64b61bcafce0935835fdbd8965a058765bd27569d46d1075777b99e6441757bcfc3958db7fa07803872d3f1716d6fbad92e2 WHIRLPOOL 07ce9e1b49219756a0165aa81b4827f66057e3c9cbb65b626124ac40b21bdbbc4151908be061a21f5595cf9dfd261ad60ebe5563c23ec597739b5455df032fbd +MISC ChangeLog-2015 705 SHA256 1fe3bc2bdc28c0c02e4b58bf1efa2aea11a54bdec33a6566064242a0ee665f03 SHA512 d1d6bd93773efd833165dff2b7ea64f6adf3a9c1f62fd1f7c06bcfd84ce5ffef367b3993a16a0eabe98f1233de6c5a29461c822e10fb9216ef8e57188ab1fe5f WHIRLPOOL aee2696282cfff3bbe404148b2ad8a17c79e5aad58c257ae5bcb15c493cfef66d4eac4325766d3a69fec026fbdf9c760f0dd624c22f83567bd9abd054fdfafd0 +MISC metadata.xml 404 SHA256 2d00a9857429d343dbbe4c36f894ee6f39a059cb9a185a42fef4d15a201b0ee0 SHA512 081d2001bcf61d7cb00a36ddaa1869cdce615fa706693efa907676e4224c297871cb65a3dbc64397f87b29c751125735b35ba595e4344a654f2682092411e8c9 WHIRLPOOL d7cafc8825f01fde854147428a901353c397505ffd541088e0bbda7df7c68887575781261c894b3bad43612d8ddac99d2dda32be55ea9991daf31f67bdd1d7fc diff --git a/dev-libs/libbson/libbson-0.98.0.ebuild b/dev-libs/libbson/libbson-0.98.0.ebuild new file mode 100644 index 000000000000..9d2c7204d9e9 --- /dev/null +++ b/dev-libs/libbson/libbson-0.98.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit autotools eutils + +DESCRIPTION="A BSON utility library" +HOMEPAGE="https://github.com/mongodb/libbson" +SRC_URI="https://github.com/mongodb/${PN}/releases/download/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~x86" +IUSE="debug examples static-libs" + +RDEPEND="" +DEPEND="${RDEPEND}" + +DOCS=( AUTHORS NEWS README ) + +src_prepare() { + # https://github.com/mongodb/mongo-c-driver/issues/54 + sed -i -e "s/PTHREAD_LIBS/PTHREAD_CFLAGS/g" src/bson/Makefile.am \ + tests/Makefile.am || die + eautoreconf +} + +src_configure() { + econf --disable-hardening \ + --disable-optimizations \ + $(use_enable debug) \ + $(use_enable static-libs static) +} + +src_install() { + emake DESTDIR="${D}" install + doman doc/*.3 + + use static-libs || find "${D}" -name '*.la' -delete + + if use examples; then + insinto /usr/share/${PF}/examples + doins examples/*.c + fi +} diff --git a/dev-libs/libbson/libbson-1.1.10.ebuild b/dev-libs/libbson/libbson-1.1.10.ebuild new file mode 100644 index 000000000000..6904ae31ae57 --- /dev/null +++ b/dev-libs/libbson/libbson-1.1.10.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit autotools eutils + +DESCRIPTION="A BSON utility library" +HOMEPAGE="https://github.com/mongodb/libbson" +SRC_URI="https://github.com/mongodb/${PN}/releases/download/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~x86" +IUSE="debug examples static-libs" + +RDEPEND="" +DEPEND="${RDEPEND}" + +DOCS=( AUTHORS NEWS README ) + +src_prepare() { + # https://github.com/mongodb/mongo-c-driver/issues/54 + sed -i -e "s/PTHREAD_LIBS/PTHREAD_CFLAGS/g" src/bson/Makefile.am \ + tests/Makefile.am || die + eautoreconf +} + +src_configure() { + econf --disable-hardening \ + --disable-optimizations \ + $(use_enable debug) \ + $(use_enable static-libs static) +} + +src_install() { + emake DESTDIR="${D}" install + doman doc/*.3 + + use static-libs || find "${D}" -name '*.la' -delete + + if use examples; then + insinto /usr/share/${PF}/examples + doins examples/*.c + fi +} diff --git a/dev-libs/libbson/libbson-1.1.2.ebuild b/dev-libs/libbson/libbson-1.1.2.ebuild new file mode 100644 index 000000000000..6904ae31ae57 --- /dev/null +++ b/dev-libs/libbson/libbson-1.1.2.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit autotools eutils + +DESCRIPTION="A BSON utility library" +HOMEPAGE="https://github.com/mongodb/libbson" +SRC_URI="https://github.com/mongodb/${PN}/releases/download/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~x86" +IUSE="debug examples static-libs" + +RDEPEND="" +DEPEND="${RDEPEND}" + +DOCS=( AUTHORS NEWS README ) + +src_prepare() { + # https://github.com/mongodb/mongo-c-driver/issues/54 + sed -i -e "s/PTHREAD_LIBS/PTHREAD_CFLAGS/g" src/bson/Makefile.am \ + tests/Makefile.am || die + eautoreconf +} + +src_configure() { + econf --disable-hardening \ + --disable-optimizations \ + $(use_enable debug) \ + $(use_enable static-libs static) +} + +src_install() { + emake DESTDIR="${D}" install + doman doc/*.3 + + use static-libs || find "${D}" -name '*.la' -delete + + if use examples; then + insinto /usr/share/${PF}/examples + doins examples/*.c + fi +} diff --git a/dev-libs/libbson/libbson-1.3.5.ebuild b/dev-libs/libbson/libbson-1.3.5.ebuild new file mode 100644 index 000000000000..76bd281fa631 --- /dev/null +++ b/dev-libs/libbson/libbson-1.3.5.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools + +DESCRIPTION="A BSON utility library" +HOMEPAGE="https://github.com/mongodb/libbson" +SRC_URI="https://github.com/mongodb/${PN}/releases/download/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~x86" +IUSE="debug examples static-libs" + +RDEPEND="" +DEPEND="${RDEPEND}" + +DOCS=( AUTHORS NEWS README ) + +src_prepare() { + default_src_prepare + # https://github.com/mongodb/mongo-c-driver/issues/54 + sed -i -e "s/PTHREAD_LIBS/PTHREAD_CFLAGS/g" src/bson/Makefile.am \ + tests/Makefile.am || die + eautoreconf +} + +src_configure() { + econf --disable-hardening \ + --disable-optimizations \ + $(use_enable debug) \ + $(use_enable static-libs static) +} + +src_install() { + default_src_install + if [[ -f "${D}usr/share/doc/${P}/COPYING" ]] ; then + rm "${D}usr/share/doc/${P}/COPYING" || die + fi + # Installing all the manuals conflicts with man-pages + doman doc/man/bson_*.3 + use static-libs || find "${D}" -name '*.la' -delete + + if use examples; then + insinto /usr/share/${PF}/examples + doins examples/*.c + fi +} diff --git a/dev-libs/libbson/libbson-1.3.6.ebuild b/dev-libs/libbson/libbson-1.3.6.ebuild new file mode 100644 index 000000000000..e326a2d1a2bd --- /dev/null +++ b/dev-libs/libbson/libbson-1.3.6.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools + +DESCRIPTION="A BSON utility library" +HOMEPAGE="https://github.com/mongodb/libbson" +SRC_URI="https://github.com/mongodb/${PN}/releases/download/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~x86" +IUSE="debug examples static-libs" + +DOCS=( AUTHORS NEWS README ) + +src_prepare() { + default_src_prepare + # https://github.com/mongodb/mongo-c-driver/issues/54 + sed -i -e "s/PTHREAD_LIBS/PTHREAD_CFLAGS/g" src/bson/Makefile.am \ + tests/Makefile.am || die + eautoreconf +} + +src_configure() { + econf --disable-hardening \ + --disable-optimizations \ + $(use_enable debug) \ + $(use_enable static-libs static) +} + +src_install() { + default + + if [[ -f "${D}usr/share/doc/${P}/COPYING" ]] ; then + rm "${D}usr/share/doc/${P}/COPYING" || die + fi + + # Installing all the manuals conflicts with man-pages + doman doc/man/bson_*.3 + use static-libs || find "${D}" -name '*.la' -delete + + if use examples; then + insinto /usr/share/${PF}/examples + doins examples/*.c + fi + + einstalldocs +} diff --git a/dev-libs/libbson/libbson-1.6.2.ebuild b/dev-libs/libbson/libbson-1.6.2.ebuild new file mode 100644 index 000000000000..5fa8902b1649 --- /dev/null +++ b/dev-libs/libbson/libbson-1.6.2.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools + +DESCRIPTION="A BSON utility library" +HOMEPAGE="https://github.com/mongodb/libbson" +SRC_URI="https://github.com/mongodb/${PN}/releases/download/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~x86" +IUSE="debug examples static-libs" + +DOCS=( AUTHORS NEWS README ) + +src_prepare() { + default_src_prepare + # https://github.com/mongodb/mongo-c-driver/issues/54 + sed -i -e "s/PTHREAD_LIBS/PTHREAD_CFLAGS/g" src/bson/Makefile.am \ + tests/Makefile.am || die + eautoreconf +} + +src_configure() { + econf --disable-optimizations \ + $(use_enable debug) \ + $(use_enable static-libs static) +} + +src_install() { + default + + # Installing all the manuals conflicts with man-pages + doman doc/man/bson_*.3 + + if ! use static-libs; then + find "${D}" -name '*.la' -delete || die + fi + + if use examples; then + docinto examples + dodoc examples/*.c + fi + + einstalldocs +} + +src_test() { + emake test +} diff --git a/dev-libs/libbson/metadata.xml b/dev-libs/libbson/metadata.xml new file mode 100644 index 000000000000..3ad8263ab0cf --- /dev/null +++ b/dev-libs/libbson/metadata.xml @@ -0,0 +1,12 @@ + + + + + ultrabug@gentoo.org + Ultrabug + + A BSON utility library. + + mongodb/libbson + + diff --git a/dev-libs/libbulletml/Manifest b/dev-libs/libbulletml/Manifest new file mode 100644 index 000000000000..a12dbf3ec0bd --- /dev/null +++ b/dev-libs/libbulletml/Manifest @@ -0,0 +1,7 @@ +AUX libbulletml-0.0.6-gcc43.patch 589 SHA256 86e34792a212498cd2ffa86abe8ce595479a904f434d60ba4df924c51bc9455b SHA512 63cf59a3d7edf660cefe103790d56e8f7c630a4247b0a704b538f3006b1159d4b9942bd1576993f7addb888029dfbf1668e802e809972c8273f58a21f1d339a0 WHIRLPOOL 524e25283ba3ef29170da581be5993079b36d37b91a2a7f860be9444f58930cd14e430b8170d62e31753b2a978d072942322028582848f48706cc3734a4fa006 +AUX libbulletml-0.0.6-gcc46.patch 400 SHA256 8dd0e9476cfd425328f117dddff597b6368eed83dada83373e91c2c18663f26c SHA512 5ad1ff38abaf23b8ff191cf2c5897029d8808303453a58e2749b6756f1e0829511c4376deda4d02047afe6e664245875176fe7d9ca505cdc31c7f9ac8f230e5a WHIRLPOOL 9544a94c124673d2f8c893b76ec07e82904b16a9f3b1be298242b11c0d76f282c9875810faae7cee077f04f7957503f0a1bb3dd5b69925d69777c21c956b09a0 +DIST libbulletml-0.0.6.tar.bz2 94529 SHA256 c7770f37c5a870ce2f2640c83378c0ee4da9d77bcdd286ce33d0de6c4d5f4524 SHA512 4428d8088eefd2a1336eb963e8c65188b67a82d875cdcb51bad9ca7aa3c864b3453464daf1e6691d52120332fe3a078b9827136d214d9ca87fdd0cb81bb60150 WHIRLPOOL 6c43a7c41ab3f6a36fba0474724923286eb41bf916cdccccb7081e367a44096b260fccb8729f81fd691140124ef78ef81e96e4782c39e9d566fd3830f9fd14bf +EBUILD libbulletml-0.0.6.ebuild 824 SHA256 6e0c6a67a350a2f476a437bdc095e8fd0fcb9516ba99d03aef8a159a9cbab3f6 SHA512 9b10204e9dab81bca483934fe09a84ecd94ea72e2901b74f02a255a016a2180022df9003986b7cf36d4577bda6163fe2081141e0e31247baeb6be79c73849fca WHIRLPOOL a18825094c25d6b3bb70a0cbc2ac854705099ec90619d28e1edc4cdd2e5f7eb01f76c11236517fdbf8d0f9fef234c30f2f081bc0627991dbf157dbbfd442501c +MISC ChangeLog 2517 SHA256 2aa66844622521f181c749672790d65db39416a4d2f536e253b022e21458861e SHA512 b11adaeeaf33a2c985ac1c3d7e8d5bb60a60583e5d59dfc7082584bff4483e44d3d8849be67f1d59688a0c62f247f9d003d6c24810fe6dfca5f28b73e3caaf01 WHIRLPOOL 238bddd65e8eb84615f63f00a20d0c7a1589e1b22e0d6b825ec3e7f9193d76635f742712092a7bc45bedea98405eddbfb271d9c0dab1d017e2cfe6514a8c594c +MISC ChangeLog-2015 1700 SHA256 9f9d44222cd06d8163d28f90ce713d5a3120a18110d3f5e29a30c6785648de64 SHA512 6d9df84ba94d11812d59ad296f62b9a2e56e864407da04b114b3d04d79ce1dea07a8f89b73199cdecf8c8c179f817b816addc0bed46ddfc7273d4102326647d6 WHIRLPOOL 23a4e494a20ee86f471cafd578666bd6042aefc2215db2fa39510fea30db5f2ca813289a6a4f98921f43822b6a7efa13e56905f65e1424d265ae1ede3f65008a +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/dev-libs/libbulletml/files/libbulletml-0.0.6-gcc43.patch b/dev-libs/libbulletml/files/libbulletml-0.0.6-gcc43.patch new file mode 100644 index 000000000000..f7e9bfbab9b1 --- /dev/null +++ b/dev-libs/libbulletml/files/libbulletml-0.0.6-gcc43.patch @@ -0,0 +1,31 @@ +--- src/calc.yy ++++ src/calc.yy +@@ -8,6 +8,7 @@ + + #include + #include ++#include + + #include + #include +--- src/tinyxml/tinyxml.h ++++ src/tinyxml/tinyxml.h +@@ -28,6 +28,8 @@ + #include + #include + #include ++#include ++#include + + class TiXmlDocument; + class TiXmlElement; +--- src/tinyxml/tinyxmlparser.cpp ++++ src/tinyxml/tinyxmlparser.cpp +@@ -24,6 +24,7 @@ + + #include "tinyxml.h" + #include ++#include + + const char* TiXmlBase::SkipWhiteSpace( const char* p ) + { diff --git a/dev-libs/libbulletml/files/libbulletml-0.0.6-gcc46.patch b/dev-libs/libbulletml/files/libbulletml-0.0.6-gcc46.patch new file mode 100644 index 000000000000..47e0dc411ac9 --- /dev/null +++ b/dev-libs/libbulletml/files/libbulletml-0.0.6-gcc46.patch @@ -0,0 +1,20 @@ +--- calc.yy.old 2011-05-18 12:26:38.701666366 +0200 ++++ calc.yy 2011-05-18 12:27:43.020672135 +0200 +@@ -17,7 +17,7 @@ + #include "formula.h" + #include "formula-variables.h" + +-int yyerror(char* s); ++int yyerror(const char* s); + int yylex(); + + const char* yyinStr; +@@ -149,7 +149,7 @@ + return c; + } + +-int yyerror(char* s) { ++int yyerror(const char* s) { + printf("yyerror: %s\n", s); + return 0; + } diff --git a/dev-libs/libbulletml/libbulletml-0.0.6.ebuild b/dev-libs/libbulletml/libbulletml-0.0.6.ebuild new file mode 100644 index 000000000000..8a90adf32396 --- /dev/null +++ b/dev-libs/libbulletml/libbulletml-0.0.6.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils + +DESCRIPTION="A Library of Bullet Markup Language" +HOMEPAGE="http://shinh.skr.jp/libbulletml/index_en.html" +SRC_URI="http://shinh.skr.jp/libbulletml/${P}.tar.bz2" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="" + +DEPEND="dev-libs/boost" +RDEPEND=${DEPEND} + +S=${WORKDIR}/${PN#lib}/src + +src_prepare() { + epatch "${FILESDIR}"/${P}-gcc43.patch \ + "${FILESDIR}"/${P}-gcc46.patch + rm -r boost || die +} + +src_compile() { + emake CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" +} + +src_install() { + dolib.a libbulletml.a + + insinto /usr/include/bulletml + doins *.h + + insinto /usr/include/bulletml/tinyxml + doins tinyxml/tinyxml.h + + insinto /usr/include/bulletml/ygg + doins ygg/ygg.h + + dodoc ../README* +} diff --git a/dev-libs/libbulletml/metadata.xml b/dev-libs/libbulletml/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/dev-libs/libbulletml/metadata.xml @@ -0,0 +1,8 @@ + + + + + games@gentoo.org + Gentoo Games Project + + diff --git a/dev-libs/libburn/Manifest b/dev-libs/libburn/Manifest new file mode 100644 index 000000000000..73924099fcb1 --- /dev/null +++ b/dev-libs/libburn/Manifest @@ -0,0 +1,7 @@ +DIST libburn-1.4.6.tar.gz 975088 SHA256 9d36faab25478c01122a65873133b7fc60eb5ffbe12710d5757a7c3574227071 SHA512 2bdbe832168ed430a66d8f733e9f28bf0c2fc8180673da383c4aa014448569614b9f0680d9f0ea5d61b2ed76bd8b9ecc38bd5a63788fc6b32ba0f4bdac2cee78 WHIRLPOOL 59e05928d2b5df73cac0514eef0f9d7fc133fa0d7256b0201daf702422b0d2b0a0e3c4ae0772faf681c5a17583d8d778501da048ea040deabdd49c19f5fd530b +DIST libburn-1.4.8.tar.gz 977757 SHA256 3e81a2e359376c38d96239a9c9967be715f706d150d89c337de0fc85ecb79da6 SHA512 e02c08078313abb19108bb394741d4bde1c5098c1a200129940744e03078d8350b6ac951bf5523872a343b3f9b7a4954dda60a3336997f975abdee6dbae9b87c WHIRLPOOL ee7367b0bb4f182f55094db481182d4f9ab29debcc24a1ce5a985c9d99c64b5f2f7dcf1bfc0a3a147a493ec85cf06e6c375097b967c6f0d43a0906e66ef289b0 +EBUILD libburn-1.4.6.ebuild 975 SHA256 506f7dd46b7c54a9d16ec0717b9bd02633bab7017e292408480a32dbb7bdbc16 SHA512 1615f45043102505df42f4d92fdd4a2b3aa0b88e3e0f94b022ee4441051171680c8cb38f0a8d802d3ef5f72b352f008c5a81160fb2c0a458e12fa55dc9a2fc9b WHIRLPOOL 9d1497e8b8ae717cbecb07c819aa56a9d6a1e537370276666d7ca0b0935addeaa2b4b14be8c1cd4a44d37cbbd3216f27e77f2769004ff38b781b7e81413da722 +EBUILD libburn-1.4.8.ebuild 984 SHA256 6d6b289d92d01bebcaf1765c0bfd920ff7727b39234c85d8b498fe849f093053 SHA512 16119f1664d1df8a2c022bd484b4e990bba845b68d06b7e72bc30b2f0793b38016d667c05e30520ae0b4a48c079726372ddeb42af356b165c01da7a2fdaca2d9 WHIRLPOOL f61d19a3b1ea06316d16a5f433bcdb3eee7a1d9fbae61978ff627b7681027855a4ed592c9b788c3b1c191809d0549aa27b32038ce0a8504daa799f0849f56946 +MISC ChangeLog 4021 SHA256 7c825852c1423d43b34410b4553cc2cd5f5d92605f0554d83061f95d0cd39ce7 SHA512 835f6e3a60f682717177b36d70d25d951a7c1e8ceb92673df774db71650eb79d24da852b4a825d4ff058c6cbbd3d0034e533dded3596e61adcd9fbe0a9af1287 WHIRLPOOL 63b5bfa27a4256e5895d6fde4b375af0d7217ad6d418cf3ec80851546d438387c439f60d36f2cd430cfac3e165c4d4d4f367a169a0c2c70e6c46e5402bc5daa7 +MISC ChangeLog-2015 23627 SHA256 aaa370c118fd2cf665bfe90aa472d0ff632793be99d3f21695737b1abb039b66 SHA512 641cae02debe1764297dd000798d73654901e3df07129647d0dbed0b8760cf53aca780953a5c142ae2045f129ebd81bea9ac4a7b9a2a10032e4e39b460a09f25 WHIRLPOOL f7dca4680f36dacbb80c00fe619b5827b1e97b620c79cf1f16c0f5ec5734d044cb95d609766a16700f04d6fdab587ad0df95b944ad00cc480161dd4d3408fb32 +MISC metadata.xml 616 SHA256 b5c0bda0f52ade3fead4550a14550cc7eea3053bdb0323e57feb28c3aef0f4a9 SHA512 c46af3cbfbecbe5303a3a1c6f3c98e5c7a1dfc6aae2f6873360bd1704f58f1368592d9b5a4d8698059ef8954a7994fcd5902280d4a44cf390c7d5242fa112101 WHIRLPOOL bf2b25dfca2d58743a7275f18adfc0bcf98cd0a8cebd597a1f7775af4e1dbf3a549941752de6f7595bda05867c6f5aa82161a159f5bb21ea6a7651fcc3c0e0c9 diff --git a/dev-libs/libburn/libburn-1.4.6.ebuild b/dev-libs/libburn/libburn-1.4.6.ebuild new file mode 100644 index 000000000000..53f8956fc4a9 --- /dev/null +++ b/dev-libs/libburn/libburn-1.4.6.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Open-source library for reading, mastering and writing optical discs" +HOMEPAGE="https://dev.lovelyhq.com/libburnia/web/wikis/home" +SRC_URI="http://files.libburnia-project.org/releases/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 sparc x86" +IUSE="cdio debug static-libs track-src-odirect" + +RDEPEND="cdio? ( >=dev-libs/libcdio-0.83 )" +DEPEND="$RDEPEND + virtual/pkgconfig" + +src_configure() { + econf \ + $(use_enable static-libs static) \ + $(use_enable track-src-odirect) \ + --enable-pkg-check-modules \ + $(use_enable cdio libcdio) \ + --disable-ldconfig-at-install \ + $(use_enable debug) +} + +src_install() { + default + + dodoc CONTRIBUTORS doc/{comments,*.txt} + + docinto cdrskin + dodoc cdrskin/{*.txt,README} + docinto cdrskin/html + dodoc cdrskin/cdrskin_eng.html + + find "${D}" -name '*.la' -delete || die +} diff --git a/dev-libs/libburn/libburn-1.4.8.ebuild b/dev-libs/libburn/libburn-1.4.8.ebuild new file mode 100644 index 000000000000..930793107d08 --- /dev/null +++ b/dev-libs/libburn/libburn-1.4.8.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Open-source library for reading, mastering and writing optical discs" +HOMEPAGE="https://dev.lovelyhq.com/libburnia/web/wikis/home" +SRC_URI="http://files.libburnia-project.org/releases/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="cdio debug static-libs track-src-odirect" + +RDEPEND="cdio? ( >=dev-libs/libcdio-0.83 )" +DEPEND="$RDEPEND + virtual/pkgconfig" + +src_configure() { + econf \ + $(use_enable static-libs static) \ + $(use_enable track-src-odirect) \ + --enable-pkg-check-modules \ + $(use_enable cdio libcdio) \ + --disable-ldconfig-at-install \ + $(use_enable debug) +} + +src_install() { + default + + dodoc CONTRIBUTORS doc/{comments,*.txt} + + docinto cdrskin + dodoc cdrskin/{*.txt,README} + docinto cdrskin/html + dodoc cdrskin/cdrskin_eng.html + + find "${D}" -name '*.la' -delete || die +} diff --git a/dev-libs/libburn/metadata.xml b/dev-libs/libburn/metadata.xml new file mode 100644 index 000000000000..7553c2ab25f7 --- /dev/null +++ b/dev-libs/libburn/metadata.xml @@ -0,0 +1,17 @@ + + + + +billie@gentoo.org +Daniel Pielmeier + + +Libburn is an open-source library for reading, mastering and writing optical +discs. + + +Read track input with O_DIRECT (see man 2 open), +this may deliver a better write performance in some situations +Enable EXPERIMENTAL use of libcdio as system adapter + + diff --git a/dev-libs/libbytesize/Manifest b/dev-libs/libbytesize/Manifest new file mode 100644 index 000000000000..93d1c152661f --- /dev/null +++ b/dev-libs/libbytesize/Manifest @@ -0,0 +1,7 @@ +DIST libbytesize-0.11.tar.gz 68322 SHA256 3eff9a4b3350420b5e1ecfff523a739049d000b34485e3e1ccf4a4d7685490cb SHA512 3275116a74ead484508da494934062e77d19b50dcd124d7b309137e52a416474099685c39ddc63090d6ed124a667c7fc8c2a7a5844712b33f277703bb52d54ec WHIRLPOOL 717b33b11739747245f74cb6a9b33cbf6cc0e421c5464f253254642e82dfbf55dad26fcf440db3c345dfad7c721c10e0501be409f7b6f8ebcbc6bb0c276687c7 +DIST libbytesize-1.1.tar.gz 70495 SHA256 1d17e8ab347e0496d7976b840c9ce230896674b8dc913cad7a9faa3cea92c193 SHA512 3d376dd0f9a10974f2392e3417e8e99ac57313be3ec945eeb7c84f72ddd51a5f29b61c7268c8c870dbe941eebf8d9027f8f5b7e0140790510bd8fb6b2c8db35b WHIRLPOOL f0da803649188ad631f10948ab4795d19771ee88d74e7398b78c81c34f966584ef97a542d0d85d7dd8269dd001107bd5731fb38fb3949055dd11286b7814fd38 +DIST libbytesize-1.2.tar.gz 70598 SHA256 20b91adcb216b1cdc99ade5cfa953cd3e10f848ec21436df2fd68f6437c7b744 SHA512 a8151e7440d0ec43d10239ddf08a9924827cdf08f20a16dff6177b444c1022fab905a0567384531e7610d854998111adb77f9a6a98e2d9648c02521f84ea2bf2 WHIRLPOOL 4565837f8564e17a6a1b51d96f99d043bd7d859539692b1f52c39d18d6a5321554e11c04890e1faf83546033b2fc97e73855edb2b3167481a011b99f2de989a7 +EBUILD libbytesize-0.11.ebuild 970 SHA256 875298956f74e189447ff5a06a02ab651177706b160c0e2955784d292de10f0d SHA512 341dc58d09a0111fa11e58af14e982580cf1138a2a2e70d3e74779cca58bfbdfd4769450ec435f64d1ddb9de12a08794872e969df9101102c3a16f050c4c3714 WHIRLPOOL 49b6a5462595b5dd8a36b7d06b3880b008b28c5293e71bee48bd57989e141a4cfc552d22eddbad7cdf067268be9e5e9a8d78f56f5c5bc4bbae57e135d4861e38 +EBUILD libbytesize-1.1.ebuild 890 SHA256 6b9b281eb1336702e2a7da5e13e66ece9c3a16a6ec5dc55b403b647c1376930b SHA512 5f542290be53c702bbf8c7f6993e0a2e25488886a56a99929c5e05401012c26e313eda540154cb29c0534182892ccc9bd4a7ea2d8ab710069b1e88112be703fb WHIRLPOOL da110769f9114691fa63b7afcbadd3431eea028e49cb60562c4f78a5ac5adc19ca656221cdd541a0d456b03f9194db0e3b2d7832a99724fd627aca22e8cde331 +EBUILD libbytesize-1.2.ebuild 890 SHA256 6b9b281eb1336702e2a7da5e13e66ece9c3a16a6ec5dc55b403b647c1376930b SHA512 5f542290be53c702bbf8c7f6993e0a2e25488886a56a99929c5e05401012c26e313eda540154cb29c0534182892ccc9bd4a7ea2d8ab710069b1e88112be703fb WHIRLPOOL da110769f9114691fa63b7afcbadd3431eea028e49cb60562c4f78a5ac5adc19ca656221cdd541a0d456b03f9194db0e3b2d7832a99724fd627aca22e8cde331 +MISC metadata.xml 349 SHA256 a1446cb70ddbf6f5da81be1b63fd1fc1b2802b60d2c4d7d2324edfd8d1522f19 SHA512 c54a783eca349652ac007075ff736d1cb53647e702ca8aa12915ae1109e5aee536591afc0b9fe0ac427e41fcf5b86d9d3f47fa5570001c84301c5cba8bca7e9a WHIRLPOOL a884e864cbe77034f365f884d18094cab15b5a5844331e14b2551eeacf9cebc755ab261556ca296e631f435be212b44ef4030b64a6ce9709e0e417a48edde5eb diff --git a/dev-libs/libbytesize/libbytesize-0.11.ebuild b/dev-libs/libbytesize/libbytesize-0.11.ebuild new file mode 100644 index 000000000000..9a089877335e --- /dev/null +++ b/dev-libs/libbytesize/libbytesize-0.11.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_{4,5,6}} ) + +inherit autotools python-single-r1 + +DESCRIPTION="Tiny library providing a C \"class\" for working with arbitrary big sizes in bytes" +HOMEPAGE="https://github.com/rhinstaller/libbytesize" +SRC_URI="https://github.com/rhinstaller/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="LGPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc test" + +CDEPEND=" + ${PYTHON_DEPS} + dev-libs/gmp:0= + >=dev-libs/libpcre-8.32 +" + +DEPEND=" + ${CDEPEND} + sys-devel/gettext + doc? ( dev-util/gtk-doc ) + test? ( + dev-python/pocketlint + dev-python/polib + ) +" + +RDEPEND=" + ${CDEPEND} +" + +# https://github.com/rhinstaller/libbytesize/issues/27 +RESTRICT="test" + +pkg_setup() { + python-single-r1_pkg_setup +} + +src_prepare() { + default + eautoreconf +} + +src_configure() { + local myeconfargs=( + $(use_with doc gtk-doc) + ) + econf "${myeconfargs[@]}" +} diff --git a/dev-libs/libbytesize/libbytesize-1.1.ebuild b/dev-libs/libbytesize/libbytesize-1.1.ebuild new file mode 100644 index 000000000000..61b601fbd627 --- /dev/null +++ b/dev-libs/libbytesize/libbytesize-1.1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_{4,5,6}} ) + +inherit autotools python-single-r1 + +DESCRIPTION="Tiny library providing a C \"class\" for working with arbitrary big sizes in bytes" +HOMEPAGE="https://github.com/rhinstaller/libbytesize" +SRC_URI="https://github.com/rhinstaller/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="LGPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc test" + +RDEPEND=" + ${PYTHON_DEPS} + dev-libs/gmp:0= + >=dev-libs/libpcre-8.32 +" + +DEPEND=" + ${RDEPEND} + sys-devel/gettext + doc? ( dev-util/gtk-doc ) + test? ( + dev-python/pocketlint + dev-python/polib + ) +" + +RESTRICT="test" + +pkg_setup() { + python-single-r1_pkg_setup +} + +src_prepare() { + default + eautoreconf +} + +src_configure() { + local myeconfargs=( + $(use_with doc gtk-doc) + ) + econf "${myeconfargs[@]}" +} diff --git a/dev-libs/libbytesize/libbytesize-1.2.ebuild b/dev-libs/libbytesize/libbytesize-1.2.ebuild new file mode 100644 index 000000000000..61b601fbd627 --- /dev/null +++ b/dev-libs/libbytesize/libbytesize-1.2.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_{4,5,6}} ) + +inherit autotools python-single-r1 + +DESCRIPTION="Tiny library providing a C \"class\" for working with arbitrary big sizes in bytes" +HOMEPAGE="https://github.com/rhinstaller/libbytesize" +SRC_URI="https://github.com/rhinstaller/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="LGPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc test" + +RDEPEND=" + ${PYTHON_DEPS} + dev-libs/gmp:0= + >=dev-libs/libpcre-8.32 +" + +DEPEND=" + ${RDEPEND} + sys-devel/gettext + doc? ( dev-util/gtk-doc ) + test? ( + dev-python/pocketlint + dev-python/polib + ) +" + +RESTRICT="test" + +pkg_setup() { + python-single-r1_pkg_setup +} + +src_prepare() { + default + eautoreconf +} + +src_configure() { + local myeconfargs=( + $(use_with doc gtk-doc) + ) + econf "${myeconfargs[@]}" +} diff --git a/dev-libs/libbytesize/metadata.xml b/dev-libs/libbytesize/metadata.xml new file mode 100644 index 000000000000..19b3c25b5bd6 --- /dev/null +++ b/dev-libs/libbytesize/metadata.xml @@ -0,0 +1,11 @@ + + + + + polynomial-c@gentoo.org + Lars Wendler + + + rhinstaller/libbytesize + + diff --git a/dev-libs/libcaldav/Manifest b/dev-libs/libcaldav/Manifest new file mode 100644 index 000000000000..457676517cc7 --- /dev/null +++ b/dev-libs/libcaldav/Manifest @@ -0,0 +1,5 @@ +DIST libcaldav-0.6.2.tar.gz 513852 SHA256 3d73db7cb31179dac2eeec850f8d770b8c8df283691a5bed2572c0fa71602d02 SHA512 a6d9c70f0cb7699644504e88934f7942b0840e81e89304ada50200d778e51e95dca08d0a0748636455295a03535a52559a07f58a15dd5ef1d4520dd3b0fc1aba WHIRLPOOL 64411fd93866a2bb206ed8e6041dd442f7d8870a5946f9b8e0a3e0f4a8ac78eae16516c35d38d9f607f8bc4a01109b034400d4e860ecfca21a3da389773db703 +EBUILD libcaldav-0.6.2.ebuild 578 SHA256 2fc04c883b719f337817b468918fb8b5027a2bb5d3f1d3c550920644d1a32b27 SHA512 4d43a01d5932ef5f6046b52dfa252e0b4d8eb5607c5c377c3d56b827c60c8debeb156719253b8ac6d6c94c7273a02b5c821a28b61ddd54a7f9bdc61e7e269736 WHIRLPOOL 38ba9315dad0235abb2fb08f012b63611395c8ffb2e40b0ab25df8267b3a39f5a3d811c7767b5f488d51d40d39dea01f0c39d034c096ae4eedb2f9296b86ebb5 +MISC ChangeLog 2528 SHA256 facc352a96d64ccbdc8c5bc5bfe8f52410cc3707ab6d01bc63085e4edfbfdedf SHA512 4fff5354ca791d40bcbf3026f435882acb973a8c23406b9df16fb15a7a2bd13bdd8da1c8e3ee4729d56d889df899deefb887dbe3dde1adf08565297ddac7f28c WHIRLPOOL 1f16dbb4f3c01ca0bc167d92f3091ce40fe1d18c2c5182b1ac221b453aa966f3b03f1ad53bb83d9bf731d9e6609206009fd9e26c556394e7aa5b2177d93b9f85 +MISC ChangeLog-2015 968 SHA256 9fc81db0e08a09d66b3f6e6826df29fd9e5604e980c8bcc0b8c3e3a75ebe06a6 SHA512 b10f65226a879eae63fbf27fa0de340d7d0bb52e4cdb1d8cecb95a14074e9e07d07d970d6706c1d9ec42ad71d25e1351d0d67b872f237bb05b8bf31311ac8bbb WHIRLPOOL 067221a755477868d3c16db5b09b226eece9e0b8197e6cadba4a6130ff3be62ecca37b865285d39d838d8525ec15f99fff47e615582b9c731d1c6213c6ffd7d2 +MISC metadata.xml 246 SHA256 971e051ed729babbde0a90b983a013762b2b64344e71d50a524a36f0ded292ac SHA512 021025439c733ffdc43f0714b191e86090b768b1c0913d71019fa8e7973d3dbfb79cd82c66a7e0a6870e7a04a8bf042f6d94a2fe1d48f7d32fb7f96f25aedce2 WHIRLPOOL 95769f27ff488ee9e6a104625d07db9a69123f708c3b44df3b9bbd38fe8cb1b5c3d732ba9ed433b4fb73e214e2b6e960ec7a92fdacbc59f3be04bf76ad9da691 diff --git a/dev-libs/libcaldav/libcaldav-0.6.2.ebuild b/dev-libs/libcaldav/libcaldav-0.6.2.ebuild new file mode 100644 index 000000000000..87d7df9a8d7a --- /dev/null +++ b/dev-libs/libcaldav/libcaldav-0.6.2.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +inherit base + +DESCRIPTION="C library implementing client support for CalDAV" +HOMEPAGE="http://libcaldav.sourceforge.net/" +SRC_URI="mirror://sourceforge/libcaldav/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc" + +RDEPEND=" + dev-libs/glib + net-misc/curl[ssl,gnutls(+),curl_ssl_gnutls(+)] +" +DEPEND="${RDEPEND} + doc? ( + app-doc/doxygen + virtual/latex-base + dev-texlive/texlive-latexextra + ) +" + +src_configure() { + econf $(use_enable doc) +} diff --git a/dev-libs/libcaldav/metadata.xml b/dev-libs/libcaldav/metadata.xml new file mode 100644 index 000000000000..f12388eb0998 --- /dev/null +++ b/dev-libs/libcaldav/metadata.xml @@ -0,0 +1,8 @@ + + + + + + libcaldav + + diff --git a/dev-libs/libcdio-paranoia/Manifest b/dev-libs/libcdio-paranoia/Manifest new file mode 100644 index 000000000000..d66e3ae64eff --- /dev/null +++ b/dev-libs/libcdio-paranoia/Manifest @@ -0,0 +1,12 @@ +AUX libcdio-paranoia-0.90-mkdir_p.patch 627 SHA256 3d8b774ed29d4da9fa2298be1c3783166ff2a2cc9f81fee50802f6b3dbebcc31 SHA512 ba4271ed3d04230acf23515fa7959a2b74c7e921a1d47d4bf6812be8918581b864c58105c6eca96c01c6cb05068bb3eea4ade588e15f31edaf92c934040c27be WHIRLPOOL 6be39857d2a33b3ccc8e3af6c33061d148226dcd016b3dd200aed9924c2795b29076bdb223783e0ea593c70e0098035db1fe05765f519ce2398379262c04387a +AUX libcdio-paranoia-0.90-oos-tests.patch 1401 SHA256 9df0ba78153a37360f1b9a469775b1b2944a8bf9d9d23ceb93f4fbd04f8a7467 SHA512 b8f556f39daa9746a87804d2c35d0458f133a21a026c8e5fb7739826d86972b7ed85255e5c3e6e739da40d56a9b8166f9b096308c844a471d4e152b7d39a7b1a WHIRLPOOL 025bed17dfd9ce4e5d13b23e9483310214a8bdc5c092cb417c08dec30a1dac457bd46b5c96bab70e1d6b047215451dc8ef29b508bc8838a7b9bb4d68d17bf846 +DIST libcdio-paranoia-10.2+0.90+1.tar.gz 634050 SHA256 7608c8e3195ba438aa1ae05b60d76ef9aacbcc27233a3eb03a0439abea464be6 SHA512 c3d00b57f22deb19be929ba87f41bbd83fc51ca66e8ccc1da7acb4131d85449fdd38161cc3ec0f1714fc0571e219d72029b5a72f853c139aa479695df783aad6 WHIRLPOOL 920d8d8f377dd6ae4f95e777d3c926250b24572d27fcf7171ec5cdf434dbbf5b084b30448303d9ae93328eee7003d763df082455d318440fb9a5f3d0e9c9e7db +DIST libcdio-paranoia-10.2+0.93+1.tar.gz 686055 SHA256 4617792b4eb301de45b61732bdc0617447ad06b53068ae45db37695275c0dd4c SHA512 2bb418c99ef037aeb90ba3db841ea9182c5bc401e74c6f4b552730e6c8561552f7d3e27be71ef4fbb07b4fcd9db418a4fe330d5278e8f41cdd99c757aa4b8bc6 WHIRLPOOL 2109ff999820e63b07853ea26c059e3f60af4b2ac42083f122551dbf7e8b78d5ad522df209f236040bd355dc134d68d4ef3345c57c65bc7392327667d1facd38 +DIST libcdio-paranoia-10.2+0.94+1.tar.gz 703424 SHA256 ce22ab868b61ee3b648359dbdec83566b37b1e03f26a2460be6ccdf4a6ad3c99 SHA512 9b2381491271090bac08594cb1d84de98e9f0a5afc6a2c98e9ffcf4b95addc3adcd0f0b9adeb928dfbf8178356ad6a7ccfeb048685c823d138b2af232f0b4c93 WHIRLPOOL fc2441ac70e8f4fa0e36380476c3982d04874a8806dce9a0fe2f62c4fdfa515064da9ce9b575f5c3153549c211361528cfb44444b70615782fed044a1229e511 +EBUILD libcdio-paranoia-0.90_p1-r1.ebuild 1714 SHA256 f19ea55f20a36d69218ed3fed786f71a0d0a6ec8e373efe8436637d033f43c11 SHA512 85e0f6b5a549c4abc16dc28d6e1bdc706b9022cbfd51f10356ab08ec7446bb97539de9ced1c1b94c7ac36d74d757bbee2b51afb4754facbd0d32c5715aca76a1 WHIRLPOOL 8b1436a8e0b745f7d711d352477c728cd4494515bf133b89a6120a78b738a6a808000ec97e7d7f887091f8e35a514e1494ae2f1c8023e6e6414e1bb3f98ef4f4 +EBUILD libcdio-paranoia-0.93_p1-r1.ebuild 1905 SHA256 37c86f21a82e3fabdf3f7c1aabd947b62cb52a08883f969c1888065176ea41d8 SHA512 7ed831258b915d8917dc68542bec319eb1bd064bca672d703cc97405203837fe7da9e5dbed582e578840c46626fc84bc3b6ad70e747d09b2e3711da5075c8903 WHIRLPOOL 3bb3354a8c3cc7a968f4e24f0cdab0f4f88826f5c7f67e88712e17d610183df90e1ca78e744e02e50f554093dd789fe26b93e8a0c6771d18b1a831a551528317 +EBUILD libcdio-paranoia-0.93_p1.ebuild 1897 SHA256 757feba015ce76765f818d806e55bc168b67e987dc4563dc016f652a105f2fe1 SHA512 d59f0c483e0f8927bc4c5c34d07f10082179ccfcbd5f4a189e84364d5eadadb87e4f2e728b74ead0d2c1efff7bb872dc5ca611daa1612547cae09d019ce56624 WHIRLPOOL 363bf6d45011fea8a13f8f89cecaa583edb8b5cec8c32fe6c5c45b20fe24b50abef1c78b7d7cb0c98785fa9a838a9edd766b99ce7a46f44a187e09694ea8f9f8 +EBUILD libcdio-paranoia-0.94_p1-r1.ebuild 2135 SHA256 b44559ab27ecba827708aa50ed622ca49c6d6b9587c8dc92523333da3e421422 SHA512 2772108ff7ec344c9c29884e175d7036ab96fc0d1f510ae0b2920b59d0a832526ce6c73f79f7d692af1ebcc8c7de5500050a61d5ffc3bacc6114c933f29e5661 WHIRLPOOL 84f5ee688a61023d4e35bc2b92e76d46454613b61ed7510263ed8c8c317744411d8a920de0a0e612ea10e5a6ea687de18c6f76c9e4546a416f959480b451041f +MISC ChangeLog 3758 SHA256 529096d53485c81706f187db44db5687daec71920618a0310734e2fc16029222 SHA512 6f4c693acf2c6aecf956275f4c58c9f868a61a161832745b7fbaa038ba741a80cc668a0e5eeef04f47c0407f80c2a76b4ea8edd99194fb554c496f3b5400e0c2 WHIRLPOOL 0315817fc08e54ea2419c727530db1a8b842cc2062d1c5b6d7bcd7c254db2449f57ff243c53c36f4334a07809379bda49377c5aff75b9c1e1afc069a01eeaa3e +MISC ChangeLog-2015 4174 SHA256 4da9202e213f72f5f38536677aedc2779c2e42805982003fafe67d6017871246 SHA512 150c254e7d146b8e25227e99c624325a6570eda39e8f698a1610ed0dcd5e94af345c19b90d2e21b845e2079392b8ecef0eaed85b257e98d9417412ada2ee6475 WHIRLPOOL e91a80b5a73f5c2de1fc12693c9d42228992778b69846237f8e2db0bcd019e6d3e65e6265a3387e605f62ac5a74cc9222146473baa5d0b283990aff8ef8b09c4 +MISC metadata.xml 249 SHA256 a591aa91a9c413e7f7e24fd25b924ce2dfef686da8b4ce38bebb088ebfdba9db SHA512 9a100fb26586365eda99724330a03a512f4d0be18d39c3a195ba02c2fc841edeee99d22512acf5a058a3b978d3a74f4d963a5aff9aa343b6cb4086cdfefe6343 WHIRLPOOL ae5b0c583f3a07ed1ccf651b5b9c8d6c8c637fba2d505fc4b028ea60239fc0a84e37a169b5114f879712ae74f7f41960a2cc6b59e67cacc7f964b105b5fb8723 diff --git a/dev-libs/libcdio-paranoia/files/libcdio-paranoia-0.90-mkdir_p.patch b/dev-libs/libcdio-paranoia/files/libcdio-paranoia-0.90-mkdir_p.patch new file mode 100644 index 000000000000..0ff4f5a6a21f --- /dev/null +++ b/dev-libs/libcdio-paranoia/files/libcdio-paranoia-0.90-mkdir_p.patch @@ -0,0 +1,26 @@ +http://bugs.gentoo.org/455374 +http://github.com/rocky/libcdio-paranoia/issues/1 +https://savannah.gnu.org/bugs/index.php?38273 + +--- configure.ac ++++ configure.ac +@@ -74,6 +74,8 @@ + dnl Checks for programs. + AC_AIX + ++AC_PROG_MKDIR_P ++ + if test "x$GCC" != "xyes" + then + AC_MSG_WARN([ +--- doc/ja/Makefile.am ++++ doc/ja/Makefile.am +@@ -25,7 +25,7 @@ + + install-man1: $(man_MANS) + @$(NORMAL_INSTALL) +- test -z "$(man1dir)" || $(mkdir_p) "$(DESTDIR)$(mandir)$(mansubdir)" ++ test -z "$(man1dir)" || $(MKDIR_P) "$(DESTDIR)$(mandir)$(mansubdir)" + @list='$(man1_MANS)'; \ + l2='$(man_MANS)'; for i in $$l2; do \ + case "$$i" in \ diff --git a/dev-libs/libcdio-paranoia/files/libcdio-paranoia-0.90-oos-tests.patch b/dev-libs/libcdio-paranoia/files/libcdio-paranoia-0.90-oos-tests.patch new file mode 100644 index 000000000000..86cf9da8d0fd --- /dev/null +++ b/dev-libs/libcdio-paranoia/files/libcdio-paranoia-0.90-oos-tests.patch @@ -0,0 +1,48 @@ +From 4803c621d4f907402f29eba8cc3a6515bdda2ee2 Mon Sep 17 00:00:00 2001 +From: Sergei Trofimovich +Date: Mon, 12 Jun 2017 21:20:35 +0100 +Subject: [PATCH] configure.ac: fix out-of-tree tests + +To reproduce the test failure one needs to run +configure using absolute path in a directory +outside source tree. For example: + + $ $(pwd)/../libcdio-paranoia/configure + $ make + $ make check + +This will cause 'native_abs_top_srcdir' to contain wrong path. + +It happens because '[]' is an escape in autoconf. +As a the following configure.ac snippet: + [\\/]* | ?:[\\/]* ) # Absolute name. +gets translated into the following shell code: + \\/* | ?:\\/* ) # Absolute name. + +The fix is to change quotes from '[]' for a short while. + +Reported-by: eroen +Reported-by: Paolo Pedroni +Bug: https://bugs.gentoo.org/546388 +Signed-off-by: Sergei Trofimovich +--- + configure.ac | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/configure.ac b/configure.ac +index a502273..608277b 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -243,7 +243,9 @@ dnl native_abs_top_srcdir is used here. + case $srcdir in + .) # We are building in place. + native_abs_top_srcdir=$ac_pwd ;; ++ changequote(`,') + [\\/]* | ?:[\\/]* ) # Absolute name. ++ changequote([,]) + native_abs_top_srcdir=$srcdir ;; + *) # Relative name. + native_abs_top_srcdir=$ac_pwd/$srcdir ;; +-- +2.13.1 + diff --git a/dev-libs/libcdio-paranoia/libcdio-paranoia-0.90_p1-r1.ebuild b/dev-libs/libcdio-paranoia/libcdio-paranoia-0.90_p1-r1.ebuild new file mode 100644 index 000000000000..c42085936eaf --- /dev/null +++ b/dev-libs/libcdio-paranoia/libcdio-paranoia-0.90_p1-r1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +MY_P=${PN}-10.2+${PV/_p/+} + +AUTOTOOLS_AUTORECONF=yes + +inherit eutils autotools-multilib + +DESCRIPTION="an advanced CDDA reader with error correction" +HOMEPAGE="https://www.gnu.org/software/libcdio/" +SRC_URI="mirror://gnu/${PN%-*}/${MY_P}.tar.gz" + +# COPYING-GPL from cdparanoia says "2 or later" +# COPYING-LGPL from cdparanoia says "2.1 or later" but 2 files are without the +# clause "or later" so we use LGPL-2.1 without + +LICENSE="GPL-3+ GPL-2+ LGPL-2.1" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" +IUSE="+cxx static-libs test" + +RDEPEND="app-eselect/eselect-cdparanoia + >=dev-libs/libcdio-0.90-r1[${MULTILIB_USEDEP}] + >=virtual/libiconv-0-r1[${MULTILIB_USEDEP}] + abi_x86_32? ( !<=app-emulation/emul-linux-x86-medialibs-20130224-r10 + !app-emulation/emul-linux-x86-medialibs[-abi_x86_32(-)] )" +DEPEND="${RDEPEND} + sys-devel/gettext + virtual/pkgconfig + test? ( dev-lang/perl )" + +S=${WORKDIR}/${MY_P} + +DOCS=( AUTHORS ChangeLog NEWS README THANKS ) + +src_prepare() { + epatch "${FILESDIR}"/${PN}-0.90-mkdir_p.patch + sed -i -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' configure.ac || die #466410 + autotools-multilib_src_prepare +} + +src_configure() { + local myeconfargs=( + --disable-maintainer-mode + --disable-example-progs + $(use_enable cxx) + --disable-cpp-progs + --with-cd-paranoia-name=libcdio-paranoia + ) + autotools-multilib_src_configure +} + +pkg_postinst() { + eselect cdparanoia update ifunset +} + +pkg_postrm() { + eselect cdparanoia update ifunset +} diff --git a/dev-libs/libcdio-paranoia/libcdio-paranoia-0.93_p1-r1.ebuild b/dev-libs/libcdio-paranoia/libcdio-paranoia-0.93_p1-r1.ebuild new file mode 100644 index 000000000000..080c36095a31 --- /dev/null +++ b/dev-libs/libcdio-paranoia/libcdio-paranoia-0.93_p1-r1.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +MY_P=${PN}-10.2+${PV/_p/+} + +inherit eutils autotools multilib-minimal flag-o-matic + +DESCRIPTION="an advanced CDDA reader with error correction" +HOMEPAGE="https://www.gnu.org/software/libcdio/" +SRC_URI="mirror://gnu/${PN%-*}/${MY_P}.tar.gz" + +# COPYING-GPL from cdparanoia says "2 or later" +# COPYING-LGPL from cdparanoia says "2.1 or later" but 2 files are without the +# clause "or later" so we use LGPL-2.1 without + +LICENSE="GPL-3+ GPL-2+ LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" +IUSE="+cxx static-libs test" + +RDEPEND="app-eselect/eselect-cdparanoia + >=dev-libs/libcdio-0.93:0=[${MULTILIB_USEDEP}] + >=virtual/libiconv-0-r1[${MULTILIB_USEDEP}] + abi_x86_32? ( !<=app-emulation/emul-linux-x86-medialibs-20130224-r10 + !app-emulation/emul-linux-x86-medialibs[-abi_x86_32(-)] )" +DEPEND="${RDEPEND} + sys-devel/gettext + virtual/pkgconfig + test? ( dev-lang/perl )" + +S=${WORKDIR}/${MY_P} + +DOCS=( AUTHORS ChangeLog NEWS README THANKS ) + +PATCHES=("${FILESDIR}"/${PN}-0.90-oos-tests.patch) + +src_prepare() { + sed -i -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' configure.ac || die #466410 + default + eautoreconf + + [[ ${CC} == *clang* ]] && append-flags -std=gnu89 +} + +multilib_src_configure() { + local myeconfargs=( + --disable-maintainer-mode + --disable-example-progs + $(use_enable cxx) + --disable-cpp-progs + --with-cd-paranoia-name=libcdio-paranoia + ) + # Darwin linker doesn't get this + [[ ${CHOST} == *-darwin* ]] && myeconfargs+=( --without-versioned-libs ) + ECONF_SOURCE="${S}" \ + econf "${myeconfargs[@]}" +} + +pkg_postinst() { + eselect cdparanoia update ifunset +} + +pkg_postrm() { + eselect cdparanoia update ifunset +} diff --git a/dev-libs/libcdio-paranoia/libcdio-paranoia-0.93_p1.ebuild b/dev-libs/libcdio-paranoia/libcdio-paranoia-0.93_p1.ebuild new file mode 100644 index 000000000000..80cd5caae9e7 --- /dev/null +++ b/dev-libs/libcdio-paranoia/libcdio-paranoia-0.93_p1.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +MY_P=${PN}-10.2+${PV/_p/+} + +AUTOTOOLS_AUTORECONF=yes + +inherit eutils autotools-multilib flag-o-matic + +DESCRIPTION="an advanced CDDA reader with error correction" +HOMEPAGE="https://www.gnu.org/software/libcdio/" +SRC_URI="mirror://gnu/${PN%-*}/${MY_P}.tar.gz" + +# COPYING-GPL from cdparanoia says "2 or later" +# COPYING-LGPL from cdparanoia says "2.1 or later" but 2 files are without the +# clause "or later" so we use LGPL-2.1 without + +LICENSE="GPL-3+ GPL-2+ LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" +IUSE="+cxx static-libs test" + +RDEPEND="app-eselect/eselect-cdparanoia + >=dev-libs/libcdio-0.93[${MULTILIB_USEDEP}] + >=virtual/libiconv-0-r1[${MULTILIB_USEDEP}] + abi_x86_32? ( !<=app-emulation/emul-linux-x86-medialibs-20130224-r10 + !app-emulation/emul-linux-x86-medialibs[-abi_x86_32(-)] )" +DEPEND="${RDEPEND} + sys-devel/gettext + virtual/pkgconfig + test? ( dev-lang/perl )" + +S=${WORKDIR}/${MY_P} + +DOCS=( AUTHORS ChangeLog NEWS README THANKS ) + +PATCHES=("${FILESDIR}"/${PN}-0.90-oos-tests.patch) + +src_prepare() { + sed -i -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' configure.ac || die #466410 + autotools-multilib_src_prepare + + [[ ${CC} == *clang* ]] && append-flags -std=gnu89 +} + +src_configure() { + local myeconfargs=( + --disable-maintainer-mode + --disable-example-progs + $(use_enable cxx) + --disable-cpp-progs + --with-cd-paranoia-name=libcdio-paranoia + ) + # Darwin linker doesn't get this + [[ ${CHOST} == *-darwin* ]] && myeconfargs+=( --without-versioned-libs ) + autotools-multilib_src_configure +} + +pkg_postinst() { + eselect cdparanoia update ifunset +} + +pkg_postrm() { + eselect cdparanoia update ifunset +} diff --git a/dev-libs/libcdio-paranoia/libcdio-paranoia-0.94_p1-r1.ebuild b/dev-libs/libcdio-paranoia/libcdio-paranoia-0.94_p1-r1.ebuild new file mode 100644 index 000000000000..e144afa35ec9 --- /dev/null +++ b/dev-libs/libcdio-paranoia/libcdio-paranoia-0.94_p1-r1.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +MY_P=${PN}-10.2+${PV/_p/+} + +inherit eutils autotools multilib-minimal flag-o-matic + +DESCRIPTION="an advanced CDDA reader with error correction" +HOMEPAGE="https://www.gnu.org/software/libcdio/" +SRC_URI="mirror://gnu/${PN%-*}/${MY_P}.tar.gz" + +# COPYING-GPL from cdparanoia says "2 or later" +# COPYING-LGPL from cdparanoia says "2.1 or later" but 2 files are without the +# clause "or later" so we use LGPL-2.1 without + +LICENSE="GPL-3+ GPL-2+ LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" +IUSE="+cxx static-libs test" + +RDEPEND="app-eselect/eselect-cdparanoia + >=dev-libs/libcdio-0.94:0=[${MULTILIB_USEDEP}] + >=virtual/libiconv-0-r1[${MULTILIB_USEDEP}] + abi_x86_32? ( !<=app-emulation/emul-linux-x86-medialibs-20130224-r10 + !app-emulation/emul-linux-x86-medialibs[-abi_x86_32(-)] )" +DEPEND="${RDEPEND} + sys-devel/gettext + virtual/pkgconfig + test? ( dev-lang/perl )" + +S="${WORKDIR}/${MY_P}" + +DOCS=( AUTHORS ChangeLog NEWS README.md THANKS ) + +PATCHES=("${FILESDIR}"/${PN}-0.90-oos-tests.patch) + +src_prepare() { + sed -i -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' configure.ac || die #466410 + default + eautoreconf + + [[ ${CC} == *clang* ]] && append-flags -std=gnu89 +} + +multilib_src_configure() { + local myeconfargs=( + --disable-maintainer-mode + --disable-example-progs + $(use_enable cxx) + --disable-cpp-progs + --with-cd-paranoia-name=libcdio-paranoia + # upstream accidentally default-disabled it + # reenable it to preserve ABI compat with previous versions + # https://bugs.gentoo.org/616054 + # https://savannah.gnu.org/bugs/index.php?50978 + --enable-ld-version-script + ) + # Darwin linker doesn't get this + [[ ${CHOST} == *-darwin* ]] && myeconfargs+=( --disable-ld-version-script ) + ECONF_SOURCE="${S}" \ + econf "${myeconfargs[@]}" +} + +pkg_postinst() { + eselect cdparanoia update ifunset +} + +pkg_postrm() { + eselect cdparanoia update ifunset +} diff --git a/dev-libs/libcdio-paranoia/metadata.xml b/dev-libs/libcdio-paranoia/metadata.xml new file mode 100644 index 000000000000..c870d0eef0ab --- /dev/null +++ b/dev-libs/libcdio-paranoia/metadata.xml @@ -0,0 +1,8 @@ + + + + + sound@gentoo.org + Gentoo Sound project + + diff --git a/dev-libs/libcdio/Manifest b/dev-libs/libcdio/Manifest new file mode 100644 index 000000000000..91abdc02fa3c --- /dev/null +++ b/dev-libs/libcdio/Manifest @@ -0,0 +1,9 @@ +DIST libcdio-0.92.tar.gz 2710084 SHA256 3336bf352aff43b5023e41a6d23525172a3b4ee433c467bd0fab5b8becb33fad SHA512 aeeb51c87f966683a1f10960e4d000098603adfbd8036cff17f62afa5de08a2dbe4f8df7d1bc1fd0438c0ac5f868b2950ed9379ea17b7d98fbd23ef023777747 WHIRLPOOL 051ba189fef5f28ae8ac98caab7bdb7468423f53d7b423e1a2416a8741339ff5aed76115a665f91d406254462c87cf84274a1b777a8f39064624fe908ff1fb0c +DIST libcdio-0.93.tar.gz 2723371 SHA256 4972cd22fd8d0e8bff922d35c7a645be0db0ab0e7b3dfaecc9cd8272429d6975 SHA512 a2ea7a1f219e1abdbbb42633003e10ff77b6a879133c96a0c8e7a80fe205c08a48bade1d9941c6493f24d6eb2ed410469b57e19d9740a4400266a6f3f9d3da91 WHIRLPOOL ff54f71de82fcb659c2de85e5b1090974273e938a3cd8c6353e37fa7e3c6d793d404eaeb43bebe03e73c51dfde8c6db458911ae799fdce75723a06f8ce7689f8 +DIST libcdio-0.94.tar.gz 2355452 SHA256 96e2c903f866ae96f9f5b9048fa32db0921464a2286f5b586c0f02699710025a SHA512 e1d3c96c4acc7be923c97109c3f76223adc00b293278daef7d5008b1e5d67f33402f9f224f05120e9e1e8b3a8d1fa1b0bd5069dc6dd309741e3590e2c19e0e66 WHIRLPOOL ee009ba0b66ca0209c13a51ccca1717d53539f6dee4e42860fc357027336ad6d6afba3d56e08b74f52679c85e550aec4e68a229850ccab0bcf3a00de97357829 +EBUILD libcdio-0.92.ebuild 1863 SHA256 43a7ce721b22ab1dc5031ee2221e3351e73918e8e17d3a8f8fe05d41b6a38f4c SHA512 53077642906250306168486802fff08d4ff1bd94455dc2f56493a0a21ea1f0dbc4ac67e677ba8b779d4a6df5711005d6292a890f06efc9cdab6bbb0d798dedb6 WHIRLPOOL 16b0adffcf59cb821d9d893a953f5086ff30dca190fdc756f7b166abd680dfe86e74f5e69c5d27efe345da550fc1927cad76aa92ff6859bc924c1755e8774625 +EBUILD libcdio-0.93.ebuild 1870 SHA256 01f7b7b39ee805294b43a2ccb901d7347d7a1ed27ea64ae32529af84913f7115 SHA512 eaa3d8d99c5fe412afecb7890ce68c9b0ebdcc063fa457afc4074e4ecb2a12af3293913d4d13691e9e218f51f251f51d5537cc4c2fe6fe48d4b7e2c6e3367945 WHIRLPOOL 7f23a89e275dabfa49f583808495c996566b2ac9917898e9ad3c5114e595abd5796c4a2dbf86e061bdd3c5bf8818547e7a25c951eb074b25edf337410213bd98 +EBUILD libcdio-0.94-r1.ebuild 1888 SHA256 4518d5f146fc4d92a9ec3aa9f501a29bc32b5ab915a761fc01cd2cd6d9f9d32b SHA512 2bcb9d699852d5781ada3d4b5b0d3b80af32571f27041a8ba316da408c0b1188d2b5fca64c238e850ff40a91cba97dc65a157e6633cb1beb76f7edef3122056a WHIRLPOOL 33a0958cb606b34e514fa93aed5bd422c234113ba6c0d6c95d22b41fd874846b0bb3e2c348bb8297dc0ef03ff3330218e32dd61be3b110fede24c988fa836127 +MISC ChangeLog 3933 SHA256 9ba9f243595a70e571a08a2f9a2c7a31afaf1cdcc6d3b0fe6fdb9f98dc164f3f SHA512 60402531d060912df35a0182f3553f41af14c7f1325af21dab0c9c4d83ad8e38fd8d8ba727c6d7bc45892380f9dc18c0016d06511efdbb3cba98bf298b35282a WHIRLPOOL c43254d008a7cd38126c1a579054842d4a151db9d259c3b1d666d7aff86c3e2754d2ab6cd893c6142701dc8fb5e30806a76b65fb417804c6e526921231a1797a +MISC ChangeLog-2015 22901 SHA256 86ce81da7d6ec4d801c2968161d3f2ecf2ddfc1a58463c243ae365a6dd6d50d6 SHA512 5e518bf0118d57a1423a268ff16aac0a43cbe0cfb0ed9a1d90869e74c4e076e4d91c3702d8137c68a28016bd8eb2dbab4d60c2e08762fa4ce47c63e89337e01f WHIRLPOOL feb23882dbdbc44cfa4b4c052cf0b4da50184e7d72b888038e2a3c2a8ed9f5fdfe67bcf1afd5c582fab9a8b4af3230f6b7242df09de91c6fc481ed9534288cc2 +MISC metadata.xml 528 SHA256 7d1df8dc8c56ebe30a0c1d2f986baed96fb7d6319bf73e84deb438b87473133b SHA512 17b0f73a4496400d46b3485909fc6c6b3da85e99b5fc03335e9b6ce50233ac075edbe2fc97eee8bc817e632f53238d1c33c3166d33d0d10d745a31dac3797de9 WHIRLPOOL 5a07db691fa332ddc6baf55908aac29455e54fd2694523d12a53c7961e91cbd652d7a66f556235f26d8a7673bbe5ce8da2b180db3cd0cef5b2f3506bb783df16 diff --git a/dev-libs/libcdio/libcdio-0.92.ebuild b/dev-libs/libcdio/libcdio-0.92.ebuild new file mode 100644 index 000000000000..a69a50712464 --- /dev/null +++ b/dev-libs/libcdio/libcdio-0.92.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils libtool multilib-minimal + +DESCRIPTION="A library to encapsulate CD-ROM reading and control" +HOMEPAGE="https://www.gnu.org/software/libcdio/" +SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0/15" # subslot is based on SONAME +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" +IUSE="cddb +cxx minimal static-libs test" + +RDEPEND=" + !minimal? ( + >=sys-libs/ncurses-5.7-r7:0= + cddb? ( >=media-libs/libcddb-1.3.2 ) + ) + >=virtual/libiconv-0-r1[${MULTILIB_USEDEP}] + abi_x86_32? ( !<=app-emulation/emul-linux-x86-medialibs-20130224-r10 + !app-emulation/emul-linux-x86-medialibs[-abi_x86_32(-)] )" +DEPEND="${RDEPEND} + sys-apps/sed + sys-devel/gettext + virtual/pkgconfig + test? ( dev-lang/perl )" +DOCS="AUTHORS ChangeLog NEWS README* THANKS TODO" + +MULTILIB_WRAPPED_HEADERS=( + /usr/include/cdio/cdio_config.h + /usr/include/cdio/version.h +) + +src_prepare() { + sed \ + -e "s:-lncurses:$($(tc-getPKG_CONFIG) --libs ncurses):g" \ + -i configure || die + + elibtoolize # to prevent -L/usr/lib ending up in the linker line wrt 499510 +} + +multilib_src_configure() { + local util_switch + if ! multilib_is_native_abi || use minimal ; then + util_switch="--without" + else + util_switch="--with" + fi + + # Tests fail if ECONF_SOURCE is not relative + ECONF_SOURCE="../${P}" econf \ + --disable-maintainer-mode \ + $(use_enable cxx) \ + --disable-cpp-progs \ + --disable-example-progs \ + $(use_enable static-libs static) \ + $(use_enable cddb) \ + --disable-vcd-info \ + ${util_switch}-{cd-drive,cd-info,cdda-player,cd-read,iso-info,iso-read} +} + +multilib_src_install_all() { + einstalldocs + prune_libtool_files +} diff --git a/dev-libs/libcdio/libcdio-0.93.ebuild b/dev-libs/libcdio/libcdio-0.93.ebuild new file mode 100644 index 000000000000..cac5ebf6391c --- /dev/null +++ b/dev-libs/libcdio/libcdio-0.93.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils libtool multilib-minimal + +DESCRIPTION="A library to encapsulate CD-ROM reading and control" +HOMEPAGE="https://www.gnu.org/software/libcdio/" +SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0/15" # subslot is based on SONAME +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" +IUSE="cddb +cxx minimal static-libs test" + +RDEPEND=" + !minimal? ( + >=sys-libs/ncurses-5.7-r7:0= + cddb? ( >=media-libs/libcddb-1.3.2 ) + ) + >=virtual/libiconv-0-r1[${MULTILIB_USEDEP}] + abi_x86_32? ( !<=app-emulation/emul-linux-x86-medialibs-20130224-r10 + !app-emulation/emul-linux-x86-medialibs[-abi_x86_32(-)] )" +DEPEND="${RDEPEND} + sys-apps/sed + sys-devel/gettext + virtual/pkgconfig + test? ( dev-lang/perl )" +DOCS="AUTHORS ChangeLog NEWS README* THANKS TODO" + +MULTILIB_WRAPPED_HEADERS=( + /usr/include/cdio/cdio_config.h + /usr/include/cdio/version.h +) + +src_prepare() { + sed \ + -e "s:-lncurses:$($(tc-getPKG_CONFIG) --libs ncurses):g" \ + -i configure || die + + elibtoolize # to prevent -L/usr/lib ending up in the linker line wrt 499510 +} + +multilib_src_configure() { + local util_switch + if ! multilib_is_native_abi || use minimal ; then + util_switch="--without" + else + util_switch="--with" + fi + + # Tests fail if ECONF_SOURCE is not relative + ECONF_SOURCE="../${P}" econf \ + --disable-maintainer-mode \ + $(use_enable cxx) \ + --disable-cpp-progs \ + --disable-example-progs \ + $(use_enable static-libs static) \ + $(use_enable cddb) \ + --disable-vcd-info \ + ${util_switch}-{cd-drive,cd-info,cdda-player,cd-read,iso-info,iso-read} +} + +multilib_src_install_all() { + einstalldocs + prune_libtool_files +} diff --git a/dev-libs/libcdio/libcdio-0.94-r1.ebuild b/dev-libs/libcdio/libcdio-0.94-r1.ebuild new file mode 100644 index 000000000000..c415c99f8383 --- /dev/null +++ b/dev-libs/libcdio/libcdio-0.94-r1.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit eutils libtool multilib-minimal + +DESCRIPTION="A library to encapsulate CD-ROM reading and control" +HOMEPAGE="https://www.gnu.org/software/libcdio/" +SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0/16" # subslot is based on SONAME +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" +IUSE="cddb +cxx minimal static-libs test" + +RDEPEND=" + !minimal? ( + >=sys-libs/ncurses-5.7-r7:0= + cddb? ( >=media-libs/libcddb-1.3.2 ) + ) + >=virtual/libiconv-0-r1[${MULTILIB_USEDEP}] + abi_x86_32? ( !<=app-emulation/emul-linux-x86-medialibs-20130224-r10 + !app-emulation/emul-linux-x86-medialibs[-abi_x86_32(-)] )" +DEPEND="${RDEPEND} + sys-apps/sed + sys-devel/gettext + virtual/pkgconfig + test? ( dev-lang/perl )" +DOCS="AUTHORS ChangeLog NEWS README* THANKS TODO" + +MULTILIB_WRAPPED_HEADERS=( + /usr/include/cdio/cdio_config.h + /usr/include/cdio/version.h +) + +src_prepare() { + default + sed \ + -e "s:-lncurses:$($(tc-getPKG_CONFIG) --libs ncurses):g" \ + -i configure || die + + elibtoolize # to prevent -L/usr/lib ending up in the linker line wrt 499510 +} + +multilib_src_configure() { + local util_switch + if ! multilib_is_native_abi || use minimal ; then + util_switch="--without" + else + util_switch="--with" + fi + + # Tests fail if ECONF_SOURCE is not relative + ECONF_SOURCE="../${P}" econf \ + --disable-maintainer-mode \ + $(use_enable cxx) \ + --disable-cpp-progs \ + --disable-example-progs \ + $(use_enable static-libs static) \ + $(use_enable cddb) \ + --disable-vcd-info \ + ${util_switch}-{cd-drive,cd-info,cdda-player,cd-read,iso-info,iso-read} +} + +multilib_src_install_all() { + einstalldocs + prune_libtool_files +} diff --git a/dev-libs/libcdio/metadata.xml b/dev-libs/libcdio/metadata.xml new file mode 100644 index 000000000000..97bb0a027865 --- /dev/null +++ b/dev-libs/libcdio/metadata.xml @@ -0,0 +1,15 @@ + + + + + sound@gentoo.org + Gentoo Sound project + + + + Only build the libcdio library and little more, just to be used to + link against from multimedia players. With this USE flag enabled, + none of the command-line utilities are built, nor is the CDDA library. + + + diff --git a/dev-libs/libcec/Manifest b/dev-libs/libcec/Manifest new file mode 100644 index 000000000000..545e612c4eb5 --- /dev/null +++ b/dev-libs/libcec/Manifest @@ -0,0 +1,7 @@ +DIST libcec-3.1.0.tar.gz 1097121 SHA256 09109d21a1b03f42c9e341d12600f2e4c41038d640269fa75408e2d36126f921 SHA512 e06f65d85ee268ec23380186d11e53f3e477bf25b955c9314cc13555eedeffee902dc8a0f3005248250c584760ab68c461b087b305dc4ef463da628ee1ab433b WHIRLPOOL 05e60255d00a897a53f042263ae73f61999875fe508a2fc6334cc00b62442d7e991a0f6a742acab440119ccdd34dfc842d97efe4fcb1a697181e76e3a0b414f8 +DIST libcec-4.0.2.tar.gz 334995 SHA256 b8b8dd31f3ebdd5472f03ab7d401600ea0d959b1288b9ca24bf457ef60e2ba27 SHA512 7bb80965cd1bef713f59bff136dc4a7f1172c4a9bdb8e2f59c6bcc5b74110848c0b2912263280ea68177908a688127e8d7208fc43ce6e65d589343b85395a0bb WHIRLPOOL 6895cf138bfb3e4d81bfbea9269b16d505a066c980d0e040a11fef2573ff5746a37013fd6a222eceea8a65e7ddffc97a3bf05b3cb032af262cd923ba699d95b8 +EBUILD libcec-3.1.0-r1.ebuild 2048 SHA256 a757d366d9e453a0c9013b14b375ce331ca90d0d95fe65f05828ab7f276d5dd2 SHA512 e6d11e0d455c0e277b864ab2def6209ded30718d8939032576d1ee5d5370e743adfe44545bde1869342775b0d13f2b64152cc0f134564bd920a54ce7d69ade3c WHIRLPOOL 2820e67aa657ba7f21ac78ae5bfc2d4e073dae8cfa02fb9d44cc84408317406c7787c3b27613da2ca56752b2ebe6c0617b8e2e33f2303b9e50d7d98af516c8d4 +EBUILD libcec-4.0.2.ebuild 2112 SHA256 a67a6f72b5bdd4bd7e884bf9ec54a8fc7b05d0c911ffb11c028a2ac21bb36747 SHA512 5bb45988de38b50974c2d52053733c0861cb2416957a83208178b620cd9938ac0af4e5fc8467d0c0c9e9049214e61fae3321effd89ea203c84303b604b5b6a7d WHIRLPOOL 01341ec0313527d2643aed83e5922b38b161ba10624da6226c204a26b2e5c4d5d7d3ecddb31dc73b37b72c7d4b9994ac67f089ab51704e3ce925cc7f674d05f4 +MISC ChangeLog 5644 SHA256 43ef402ce991ac657e3a2c20a95b3479742ff1702d15c79b106fd0255da53d32 SHA512 75bcaba27493a04ec4e64e7084814948fe1b2eceff75d98fe21f75425cf15af4a4259fbe8935be58cb242dad49db26ab332246afee98935e57a02c82f739d82f WHIRLPOOL ee2b52853a25c27b8225687f726e69d37aa09c7ea9ce9fe0a70a873eb670dfcaa8bd539d4a7e9075759262b1e8b44621ad1e711e352f034e3a9e06ab5490f8ce +MISC ChangeLog-2015 4378 SHA256 1125451396b5d1e3a81abd28c63c8f23b866a1f6248a022a52559d4c4e2a7ed7 SHA512 07a2aa58140d5721dd369983abf78490b0cdd3d1bc08adff6678a0c01ac1575f1caf744a3ea9576afba189bd36a671e9fdb3b903d280000d1b6c46d91a7dc00a WHIRLPOOL 059f22bafd1eaa2b2e0a934d9bd0ef99b22b84328be9523f547eecf0e6e10716736785d8c34ab800cd5736ac8f9df7607b0b169b352d6df7210403b950820f56 +MISC metadata.xml 662 SHA256 d13674c30bd576f407573aa40b1c54bdbc9bd6fe8b2f975af2aa0b6fda74780a SHA512 5abf50f31e2a18c7a5fce12414dd74efab13be9ea00a70b84384de8f95722f327d7446f51369b7feb33616bc0ff182cbbb7dd0be2855f5b54aee4e3c69dbc59e WHIRLPOOL 95b1e7457f98380fa257f06a1abe90f7ea241474b6fe3155d415e44507db7cbd3c88769cf47db0d1abb1bbacf98338ac590226ac6fb8b7d7ce97d216da7afb61 diff --git a/dev-libs/libcec/libcec-3.1.0-r1.ebuild b/dev-libs/libcec/libcec-3.1.0-r1.ebuild new file mode 100644 index 000000000000..46b752cba094 --- /dev/null +++ b/dev-libs/libcec/libcec-3.1.0-r1.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_4,3_5} ) + +inherit cmake-utils linux-info python-single-r1 toolchain-funcs + +DESCRIPTION="Library for communicating with the Pulse-Eight USB HDMI-CEC Adaptor" +HOMEPAGE="http://libcec.pulse-eight.com" +SRC_URI="https://github.com/Pulse-Eight/${PN}/archive/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~arm x86" +IUSE="cubox exynos python raspberry-pi +xrandr" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND="virtual/udev + >=dev-libs/libplatform-2.0.0 + raspberry-pi? ( >=media-libs/raspberrypi-userland-0_pre20160305-r1 ) + xrandr? ( x11-libs/libXrandr ) + python? ( ${PYTHON_DEPS} )" +DEPEND="${RDEPEND} + python? ( dev-lang/swig ) + virtual/pkgconfig" + +CONFIG_CHECK="~USB_ACM" + +S="${WORKDIR}/${PN}-${P}" + +pkg_pretend() { + linux-info_pkg_setup +} + +pkg_setup() { + linux-info_pkg_setup + use python && python-single-r1_pkg_setup +} + +src_prepare() { + cmake-utils_src_prepare + + # Do not hardcode the python libpath #577612 + sed -i \ + -e '/DESTINATION/s:lib/python${PYTHON_VERSION}/dist-packages:${PYTHON_SITEDIR}:' \ + src/libcec/cmake/CheckPlatformSupport.cmake || die + + use python || cmake_comment_add_subdirectory "src/pyCecClient" +} + +src_configure() { + local mycmakeargs=( + -DSKIP_PYTHON_WRAPPER=$(usex python) + -DHAVE_EXYNOS_API=$(usex exynos) + -DHAVE_TDA955X_API=$(usex cubox) + -DHAVE_RPI_API=$(usex raspberry-pi) + ) + use python && mycmakeargs+=( + -DPYTHON_SITEDIR="$(python_get_sitedir)" + ) + + # raspberrypi-userland itself does not provide .pc file so using + # bcm_host.pc instead + use raspberry-pi && mycmakeargs+=( + -DRPI_INCLUDE_DIR=$( $(tc-getPKG_CONFIG) --variable=includedir bcm_host) \ + -DRPI_LIB_DIR=$( $(tc-getPKG_CONFIG) --variable=libdir bcm_host) + ) + + cmake-utils_src_configure +} + +pkg_postinst() { + elog "You will need to ensure the user running your CEC client has" + elog "read/write access to the device. You can ensure this by adding" + elog "them to the uucp group" +} diff --git a/dev-libs/libcec/libcec-4.0.2.ebuild b/dev-libs/libcec/libcec-4.0.2.ebuild new file mode 100644 index 000000000000..6c8fc121c6aa --- /dev/null +++ b/dev-libs/libcec/libcec-4.0.2.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_4,3_5} ) +MY_PV=${PV/_p/-} +MY_P=${PN}-${MY_PV} + +inherit cmake-utils linux-info python-single-r1 toolchain-funcs + +DESCRIPTION="Library for communicating with the Pulse-Eight USB HDMI-CEC Adaptor" +HOMEPAGE="http://libcec.pulse-eight.com" +SRC_URI="https://github.com/Pulse-Eight/${PN}/archive/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~arm x86" +IUSE="cubox exynos python raspberry-pi +xrandr" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND="virtual/udev + >=dev-libs/libplatform-2.0.0 + sys-libs/ncurses:= + raspberry-pi? ( >=media-libs/raspberrypi-userland-0_pre20160305-r1 ) + xrandr? ( x11-libs/libXrandr ) + python? ( ${PYTHON_DEPS} )" +DEPEND="${RDEPEND} + python? ( dev-lang/swig ) + virtual/pkgconfig" + +CONFIG_CHECK="~USB_ACM" + +S="${WORKDIR}/${PN}-${MY_P}" + +pkg_pretend() { + linux-info_pkg_setup +} + +pkg_setup() { + linux-info_pkg_setup + use python && python-single-r1_pkg_setup +} + +src_prepare() { + cmake-utils_src_prepare + + # Do not hardcode the python libpath #577612 + sed -i \ + -e '/DESTINATION/s:lib/python${PYTHON_VERSION}/dist-packages:${PYTHON_SITEDIR}:' \ + src/libcec/cmake/CheckPlatformSupport.cmake || die + + use python || cmake_comment_add_subdirectory "src/pyCecClient" +} + +src_configure() { + local mycmakeargs=( + -DSKIP_PYTHON_WRAPPER=$(usex !python) + -DHAVE_EXYNOS_API=$(usex exynos) + -DHAVE_TDA995X_API=$(usex cubox) + -DHAVE_RPI_API=$(usex raspberry-pi) + ) + use python && mycmakeargs+=( + -DPYTHON_SITEDIR="$(python_get_sitedir)" + ) + + # raspberrypi-userland itself does not provide .pc file so using + # bcm_host.pc instead + use raspberry-pi && mycmakeargs+=( + -DRPI_INCLUDE_DIR=$( $(tc-getPKG_CONFIG) --variable=includedir bcm_host) \ + -DRPI_LIB_DIR=$( $(tc-getPKG_CONFIG) --variable=libdir bcm_host) + ) + + cmake-utils_src_configure +} + +pkg_postinst() { + elog "You will need to ensure the user running your CEC client has" + elog "read/write access to the device. You can ensure this by adding" + elog "them to the uucp group" +} diff --git a/dev-libs/libcec/metadata.xml b/dev-libs/libcec/metadata.xml new file mode 100644 index 000000000000..29b2c8ce0c4b --- /dev/null +++ b/dev-libs/libcec/metadata.xml @@ -0,0 +1,17 @@ + + + + + thev00d00@gentoo.org + Ian Whyman + + + Enable support for enable support for the TDA995x + Enable support for Exynos chipsets + Enable support for the Raspberry Pi + Enable detection of active HDMI using xrandr extensions + + + Pulse-Eight/libcec + + diff --git a/dev-libs/libcgroup/Manifest b/dev-libs/libcgroup/Manifest new file mode 100644 index 000000000000..c8908cb40254 --- /dev/null +++ b/dev-libs/libcgroup/Manifest @@ -0,0 +1,17 @@ +AUX cgconfig.confd 131 SHA256 ac52788366561ca6b79bca0e9fc9630568401b4301e386e6851fd8eb75a539ab SHA512 9bb289c20c3230414888e82be2b7a1389ac652143bcbbc746d0731c46a2f1404b4bc8154c90b59ebc53520107fe2f04c9eb5df742451887947b8a3b7a4c31f00 WHIRLPOOL 18a04c20d6d61e1416cd0f5ecc6502c6839a7cb0f873b29c7d2f799b2a0032c8e5c91ac11357829b04df3be474b8b9fe47cc958ec191e75ccdf5bce1ebabc1ea +AUX cgconfig.confd-r1 205 SHA256 500b3f3a35eaa94b42ba6f9895498e4bfad44bbf36655782a2de3f78e9e1a23e SHA512 f5f1d0d09266417276f93434ad47116452e1ab18d736ce08e7c63f797b2d2180a490cdef1f3dd9d960c88426f1dc5b12dcf72b09de765d52d281feceffe7550d WHIRLPOOL 1d4c05b253f67ff5a8a6a927e21abc355567814d166b070416b8bddca60122e28b82cce00390b4f9b0c5472b54a18562c7e5d16eaa73e2a36d4824eb67a8ce2f +AUX cgconfig.initd 2923 SHA256 e0a620090641e7cabd6b0d71ea5bf651d91127eef691fb012254840e4f816092 SHA512 705b6df9ac93e8978dc697c497344096cad2b01961eb5c7b4a3ab89e80dc904b5d0076ad3b1e0478e1a86bcffe37b37591f001efcb21eb6f8b68cd14edc7c006 WHIRLPOOL 8ffc572d83a898937b713b40d8ba76451cc9a7ec8ad4844e0dd3e326aa88b9a312bdf294625e5a6bb9d278a27befec9929298119f4a5f2bb964a6777edb3b1f2 +AUX cgconfig.initd-r1 1052 SHA256 f96872615461d91ad5c10e50dbf68ffee130c3bd1bcfdac9b9987d4673c56ce5 SHA512 66303411c98355b1fe5e0eb58b797887f9971604902afb2f95738b64b1fd9dd42fc8cb22c65e10c264d68ef2d7cd85f58247fed08d650ccbe0a5756ec780ea3c WHIRLPOOL c1b0eff619faf3028f19ff617dedb76fd153bfe13057a38b3b6662b1b7ee10e67e3b03f9bfae8d281d9572d4e82b6088dea46479668648d88208495772107fdb +AUX cgred.confd 485 SHA256 72c00285c1f89f3a0564418c33bd02dfbcee2ae90f540a885ef57d1ef940a04c SHA512 871b7e7df26bf6b4164d5ec04e9998b0bd3f354e75ba2306b330e382eadd38ad044f85cfaa122a5a2e600fb4f39e1a7fe7778551a05dfc3e0ae095621c965996 WHIRLPOOL d48d486aee627cd16e10493deae5419b96759f851df35444b6f27a0fdfabaaf0173770fb3ca39085524b53dc6454ca6b3b04e2cdf0e1aa840ddf8cbfe5f032f5 +AUX cgred.confd-r2 160 SHA256 52b8d2f417e21c0cd80289286483b554d6ab6bd33d2bb3f279736d869aee6d49 SHA512 5b83b2413e36184671cfd7d654fa0b06940360790aed3c235cdb8eb168c17a703c1a72654fdbf57459ac493f79fd87e90deb33e89297929ca5f681dfa80a7078 WHIRLPOOL 365e6da43baacbf0ea56d11df1a001f0e7db803f9886764b5c7835c1e21862b4bcf328b64a99b35ab76624eda7818bf36bb4c40950fc9a24c978ca882596cbe5 +AUX cgred.initd 950 SHA256 f7c7f63f63d3a3ffe6992c971a1f6faf8ce784a6d30fbdb0d49659be8ca637ce SHA512 cfa70c25c40c29d3dc1249f808f58365fa5ec09f4918edd971ac088a33a810cefa15c7ccf5b7ce75813301b104bf5fad23f752363600c10af7f1ecbb30f4aa15 WHIRLPOOL a80a6fae47f68e2abe57b688db1b9dc9d1397943f13054f96eda594dc6b8d7a6e25128961b0d72a5bbea88631e4f7f2b1d836032d8a9dd56a56e580a7a9cca02 +AUX cgred.initd-r1 457 SHA256 540ebbf0fbcc9e37a7d98629d4d4f6cd012350abbabfb8eca79b2dcddab510c7 SHA512 2ef66c697b56e4c29c4a224480a6a7270205359d254c07847e57feb8d5e219cd0d0c2c4f6161f9e6c001f14a9419f9be18b3fd1750d7b4e5a0082985821062bc WHIRLPOOL 7553c0ec1e7166e81edb1ef8dc8f778bfab9c6aed0222948669e038e39efc6537b0730e2e6bc9f394e3da32bbd51886e3bedd2159d3deae16f96dadb95eaa5d0 +AUX libcgroup-0.41-reorder-headers.patch 953 SHA256 92cab0cc9dc4d8728892dcea7aaba3990b51cec94dd5b8ba36f1d997f114d773 SHA512 4f8d4b49668dc0ddae373ab922422a0e933cb6c46af05d01da498c657b5a8df1ea62e644b8ac3db7e7818d33ba21c06d1902b7915f6aaf76f8f96107515433d4 WHIRLPOOL acefa8c8835a66afb6710b040452ecaa179293e8b182f59a82aba85bd6ac2c1bb448270cfe8b8098dd80b7cde1d33ca3bd65c2b4d7babf75bb0896e6101d2381 +AUX libcgroup-0.41-replace_DECLS.patch 5193 SHA256 488cad79e7d4bf8d82b8ddd695d550ff151850027980daa921ccfef5d3f4823b SHA512 c7601810e491764c30e8adfadd65e1b1b578a07af24df62cc9a7b291622d806fc196a98e01957b5acbd3bca072617bd0ff54cae200a8e6c21b5cca4d18cd45db WHIRLPOOL b02b3aa0ac7053d2bd8a359eae1ff552760e63f424594d7fa2e4130656adde861445660509a5d00a4fcc6cb49edfcaca80197d0ba8ba84575a87e0465ad9feb7 +AUX libcgroup-0.41-replace_INLCUDES.patch 3064 SHA256 eef2516f9d4b99bf724491704a078ec4f5b73636718035a56aa334a213ac08da SHA512 17c8fa471347da4973969b954f966501d54889050766dfdd225235dd4539bb4249d57e719fa7a894aadc2e0f7296d233c89c44c96291a9266c958ca3a319541b WHIRLPOOL 3da9801690571e4a66b94304ecf7c2884d739ebc789803a03d3f1f14163f47ee4e90649164d3092bc3a0aee57404805a2ca852fc2ac237df6c9a55dde6696616 +DIST libcgroup-0.41.tar.bz2 500120 SHA256 e4e38bdc7ef70645ce33740ddcca051248d56b53283c0dc6d404e17706f6fb51 SHA512 1aedb02cd2ce3bc2e2a328a247a92976ad0978ca4d3aee4eb671fbcc6bb270348efc78dcf84f27fc500f8bfb9bb57c7d6e4d429ef2bc69e4e5118b7cd895a6bd WHIRLPOOL 3941ec9362dd7da1c5d1b9eaf2b44303982a04d460ab92946201b1fe952c2f94e19950e9a08104c262eb982d8e64bcf290f1b95115aaba11d8b1457b715a3646 +EBUILD libcgroup-0.41-r4.ebuild 2248 SHA256 d9dc743297ae0ca09f8aaff03cfa292cc9c074aab3e02193f7ac3d14b47a6329 SHA512 b28c10e013a862888a74d5c6cb1b493e3a68adece0634a1a160a109bb233bd85a60c62816946b6ee3ea0ea0fd57bf11fa8628b672a50a9393467e48f8831989c WHIRLPOOL 6044db3797d68328fe51c9d0b41e5f6d725743d95566163df43e870e5ccc2793fcf6a2d887532e03c416e246e74cef252f6798d623ff57ebcfdd903b9c2ee9cf +EBUILD libcgroup-0.41.ebuild 2843 SHA256 6b5daebaf685d50b1b845aa76c7973d4c5c9e222647046301df979614842d9d8 SHA512 e052bcdfff86b84bffeeb8524be4930a3cfca5c8cb81aac6af00662932f51ea3a99906428664b2f03c23aa65536601b933aed497bdbece95bc811bda8ff5df55 WHIRLPOOL 631860c95bf7aa6ee04d49ca232941ac86c6893aa98aef66e16165294bfeb0f8cdb1282f2fee9c05365650734218c63215cbfde42a97fa4166dc60e982f6f066 +MISC ChangeLog 4151 SHA256 b3b0e88f4c485b4bb6fe4af332ae0011710a48105052a9f2997b9af53e393ce6 SHA512 40720b4e96280698e150d8f87977899f45b707fb2a814146ae69cfd0f49de3b2d0493d000b8731af029a8a606f759465550159f58abd9df84a21e83b718d36b0 WHIRLPOOL 8870ff62b58e1fe14df57430ed943c15bd3977a0924d7aadb82cf84db630ad6d5a08c48af34531af143b7a56b539dd73657e13543407a015e44269b63b5ceaa4 +MISC ChangeLog-2015 4560 SHA256 930fcd990e255a87be980f44f20a2dc785c12e0c9afbbadef7e5e1ec4d976c24 SHA512 913d585963c1de9fae5875505c74f8ff54ba5c270f6806308276336f620f85aee7e7a188fcc2510e646374b9b794b901fc73cccc3aa30ce5bf7ecf5a07b9f6ed WHIRLPOOL 55af77684f1e6a4478567ecf475adf4f3a6175a3543b10ebc7c579dee85c5200763ac1cc6a60a208c0c10210170313cc3aaae32cb5b80c3455fff23154479e16 +MISC metadata.xml 700 SHA256 b12f2a4aca9f4bb76f4acbf944c615752ac5cfeb1fa81936f2985939f2dfeac8 SHA512 faddc728ee6971cbf5e52bc89999f3bec9d312fe04d2c876a2ee69e6533ca1ba85350d0b504bff0c7da668b58a3531606fb3d67cb4f6925c08f65df2190ec0c1 WHIRLPOOL d3c54727fd68b0cb46d80eb40a3794ba99cae0f504556619251b1124a350d60baa33e6e4487a30444c62eec5e677197b1384195e00bf5d619caace5a78225c4e diff --git a/dev-libs/libcgroup/files/cgconfig.confd b/dev-libs/libcgroup/files/cgconfig.confd new file mode 100644 index 000000000000..e41730ae0ea5 --- /dev/null +++ b/dev-libs/libcgroup/files/cgconfig.confd @@ -0,0 +1,4 @@ +# /etc/conf.d/cgconfig: config file for /etc/init.d/cgconfig + +# Configuration file location +#CONFIG_FILE=/etc/cgroup/cgconfig.conf diff --git a/dev-libs/libcgroup/files/cgconfig.confd-r1 b/dev-libs/libcgroup/files/cgconfig.confd-r1 new file mode 100644 index 000000000000..334958ef3b8f --- /dev/null +++ b/dev-libs/libcgroup/files/cgconfig.confd-r1 @@ -0,0 +1,7 @@ +# /etc/conf.d/cgconfig: config file for /etc/init.d/cgconfig + +# Configuration file location +CG_CONFIGFILE=/etc/cgroup/cgconfig.conf + +# Enable calssifying pid according to rules if necessary +CG_CLASSIFY=No diff --git a/dev-libs/libcgroup/files/cgconfig.initd b/dev-libs/libcgroup/files/cgconfig.initd new file mode 100644 index 000000000000..f182b92ff843 --- /dev/null +++ b/dev-libs/libcgroup/files/cgconfig.initd @@ -0,0 +1,117 @@ +#!/sbin/openrc-run +# +# Control Groups Configuration Startup +# +# This script runs the cgconfigparser utility to parse and setup +# the control group filesystem. It uses ${CONFIG_FILE} +# and parses the configuration specified in there. +# +CGCONFIGPARSER="/usr/sbin/cgconfigparser" +CGROUP_FS="cgroup" +CONFIG_FILE=${CONFIG_FILE:-"/etc/cgroup/cgconfig.conf"} +MOUNTS_FILE="/proc/mounts" +RULES_FILE="/etc/cgroup/cgrules.conf" + +# Support multiple mount points +MAX_INDEX=0 +declare -a MOUNT_POINTS MOUNT_OPTIONS + +move_all_to_init_class() { + local i + for i in $(seq 1 ${MAX_INDEX}); do + cd ${MOUNT_POINTS[$i]} + + if grep -qw ${MOUNT_POINTS[$i]} ${MOUNTS_FILE}; then + local directory + for directory in $(find . -depth -type d); do + if [[ ${directory} != "." ]]; then + # cat fails with "Argument list too long" error + sed -nu p < ${directory}/tasks > tasks + rmdir ${directory} + fi + done + else + ewarn "Resource control filesystem not mounted" + fi + + cd - >/dev/null + done +} + +parse_mounts() { + local device mount_point fs_type options other + while read device mount_point fs_type options other; do + if grep -q ${device} <<< ${CGROUP_FS}; then + let MAX_INDEX++ + MOUNT_POINTS[${MAX_INDEX}]=${mount_point} + MOUNT_OPTIONS[${MAX_INDEX}]=${options} + fi + done < ${MOUNTS_FILE} +} + +umount_fs() { + local i + for i in $(seq 1 ${MAX_INDEX}); do + umount ${MOUNT_POINTS[$i]} + rmdir ${MOUNT_POINTS[$i]} + done +} + +start() { + ebegin "Starting cgconfig service" + + # Mount filesystem and create cgroups + if ! ${CGCONFIGPARSER} -l ${CONFIG_FILE} >/dev/null; then + eend 1 "Failed to parse ${CONFIG_FILE}" + return 1 + fi + + parse_mounts + + # Find default cgroup name in rules file + local default_cgroup + if [[ -f ${RULES_FILE} ]]; then + local user controller + read user controller default_cgroup <<< $(grep -m1 '^\*\s' ${RULES_FILE}) + if [[ $default_cgroup == "*" ]]; then + ewarn "${RULES_FILE} incorrect" + ewarn "Overriding it" + default_cgroup= + fi + fi + # Use predefined name if none was found + if [[ -z ${default_cgroup} ]]; then + default_cgroup=sysdefault + fi + + # Create a default cgroup for tasks to return back to + local i + for i in $(seq 1 ${MAX_INDEX}); do + # Ignore if directory already exists + mkdir -p ${MOUNT_POINTS[$i]}/${default_cgroup} + find ${MOUNT_POINTS[$i]}/ -name tasks | xargs chmod a+rw + chmod go-w ${MOUNT_POINTS[$i]}/tasks + + # Special rule for cpusets + if grep -qw cpuset <<< ${MOUNT_OPTIONS[$i]}; then + cat ${MOUNT_POINTS[$i]}/cpuset.cpus > ${MOUNT_POINTS[$i]}/${default_cgroup}/cpuset.cpus + cat ${MOUNT_POINTS[$i]}/cpuset.mems > ${MOUNT_POINTS[$i]}/${default_cgroup}/cpuset.mems + fi + + # Classify everything to default cgroup + local j + for j in $(ps --no-headers -eL o tid); do + echo $j > ${MOUNT_POINTS[$i]}/${default_cgroup}/tasks 2>/dev/null + done + done + + eend 0 +} + +stop() { + ebegin "Stopping cgconfig service" + parse_mounts + move_all_to_init_class + umount_fs + eend 0 +} diff --git a/dev-libs/libcgroup/files/cgconfig.initd-r1 b/dev-libs/libcgroup/files/cgconfig.initd-r1 new file mode 100644 index 000000000000..e0fef9caab21 --- /dev/null +++ b/dev-libs/libcgroup/files/cgconfig.initd-r1 @@ -0,0 +1,52 @@ +#!/sbin/openrc-run +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +CGCONFIGPARSER="/usr/sbin/cgconfigparser" +CGCLASSIFY="/usr/sbin/cgclassify" +: ${CG_CONFIGFILE:=/etc/cgroup/cgconfig.conf} +description="Control Group Configuration Service" + +start() +{ + ebegin "Setting up CGroups" + ${CGCONFIGPARSER} --load=${CG_CONFIGFILE} >/dev/null 2>&1 + eend "$?" +} + +start_post() +{ + # Classify PID according to the rules if requested + yesno "${CG_CLASSIFY}" || return 0 + ebegin "Classifying PID to CGroups" + local pid + for pid in $(ps --no-headers -eL o tid); do + ${CGCLASSIFY} ${pid} + done + eend "$?" +} + +stop() +{ + cgconfig_umount +} + +cgconfig_umount() +{ + local ctrl eq mnt_pnt mnt_pts + + while read ctrl eq mnt_pnt; do + case "${ctrl}" in + (\#*) continue ;; + (mount*) mnt_pts=true;; + (\}*) mnt_pts= ;; + (*) + [ -n "${mnt_pts}" ] || continue + mnt_pnt="${mnt_pnt%;}" + ebegin "Unmounting ${mnt_pnt}" + umount "${mnt_pnt}" + eend "$?" + ;; + esac + done < "${CG_CONFIGFILE}" +} diff --git a/dev-libs/libcgroup/files/cgred.confd b/dev-libs/libcgroup/files/cgred.confd new file mode 100644 index 000000000000..663ffc0c7dbd --- /dev/null +++ b/dev-libs/libcgroup/files/cgred.confd @@ -0,0 +1,17 @@ +# /etc/conf.d/cgred.conf: config file for /etc/init.d/cgred + +# Uncomment the following line to log to specified file instead of syslog +#LOG_FILE="/var/log/cgrulesengd.log" + +# Uncomment the second line to run CGroup Rules Engine in non-daemon mode +#NODAEMON="" +NODAEMON="--nodaemon" + +# Uncomment the second line to disable logging for CGroup Rules Engine +# Uncomment the third line to enable more verbose logging. +#LOG="" +LOG="--nolog" +#LOG="-v" + +# PID file +PID_FILE=/var/run/cgred.pid diff --git a/dev-libs/libcgroup/files/cgred.confd-r2 b/dev-libs/libcgroup/files/cgred.confd-r2 new file mode 100644 index 000000000000..cdc7a7c51cf3 --- /dev/null +++ b/dev-libs/libcgroup/files/cgred.confd-r2 @@ -0,0 +1,5 @@ +# /etc/conf.d/cgred.conf: config file for /etc/init.d/cgred + +# Options to pass to cgrulesengd; +# See the cgrulesengd(8) man page for more info. +CGRED_OPTS="-n" diff --git a/dev-libs/libcgroup/files/cgred.initd b/dev-libs/libcgroup/files/cgred.initd new file mode 100644 index 000000000000..d507e09a8154 --- /dev/null +++ b/dev-libs/libcgroup/files/cgred.initd @@ -0,0 +1,41 @@ +#!/sbin/openrc-run +# +# CGroups Rules Engine Daemon +# +# This is a daemon for automatically classifying processes into cgroups based +# on UID/GID. +# +opts="${opts} reload" + +CGRULESENGD="/usr/sbin/cgrulesengd" +PID_FILE=${PID_FILE:-"/var/run/cgred.pid"} + +depend() { + need cgconfig + use logger +} + +start() { + local options="${NODAEMON} ${LOG}" + if [[ -n "${LOG_FILE}" ]]; then + options="${options} --log-file=${LOG_FILE}" + fi + + ebegin "Starting CGroup Rules Engine Daemon" + start-stop-daemon --start --pidfile "${PID_FILE}" --make-pidfile \ + --background --exec "${CGRULESENGD}" -- ${options} >/dev/null + eend $? +} + +stop() { + ebegin "Stopping CGroup Rules Engine Daemon" + start-stop-daemon --stop --pidfile "${PID_FILE}" --exec "${CGRULESENGD}" + eend $? +} + +reload() { + ebegin "Reloading CGroup Rules Engine Daemon" + start-stop-daemon --stop --signal USR2 --oknodo --background \ + --pidfile "${PID_FILE}" --make-pidfile --exec "${CGRULESENGD}" + eend $? +} diff --git a/dev-libs/libcgroup/files/cgred.initd-r1 b/dev-libs/libcgroup/files/cgred.initd-r1 new file mode 100644 index 000000000000..6aa697f2d0b7 --- /dev/null +++ b/dev-libs/libcgroup/files/cgred.initd-r1 @@ -0,0 +1,23 @@ +#!/sbin/openrc-run +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +command="/usr/sbin/cgrulesengd" +command_args="${CGRED_OPTS}" +command_background="1" +pidfile="/var/run/cgred.pid" +description="CGroups Rules Engine Daemon" +extra_started_commands="reload" + +depend() +{ + need cgconfig + use logger +} + +reload() +{ + ebegin "Reloading CGroup Rules Engine Daemon" + kill -USR2 $(cat "${pidfile}") + eend $? +} diff --git a/dev-libs/libcgroup/files/libcgroup-0.41-reorder-headers.patch b/dev-libs/libcgroup/files/libcgroup-0.41-reorder-headers.patch new file mode 100644 index 000000000000..78a3d09a3a08 --- /dev/null +++ b/dev-libs/libcgroup/files/libcgroup-0.41-reorder-headers.patch @@ -0,0 +1,28 @@ +libcgroup-internal.h: reorder the header stacking. + +`man 3 fts` not only specifies the headers to be included, but +also the order. must be included after +and . On glibc and uClibc systems, an incorrect +order does not pose a problem, but on musl this leads to undefine +types such as dev_t and friends. + +Signed-off-by: Anthony G. Basile + +diff -Naur libcgroup-0.41.orig/src/libcgroup-internal.h libcgroup-0.41/src/libcgroup-internal.h +--- libcgroup-0.41.orig/src/libcgroup-internal.h 2015-07-13 21:08:26.740965713 -0400 ++++ libcgroup-0.41/src/libcgroup-internal.h 2015-07-13 21:09:40.774962164 -0400 +@@ -21,12 +21,12 @@ + #endif + + #include "config.h" +-#include + #include + #include + #include +-#include + #include ++#include ++#include + #include + + /* Maximum number of mount points/controllers */ diff --git a/dev-libs/libcgroup/files/libcgroup-0.41-replace_DECLS.patch b/dev-libs/libcgroup/files/libcgroup-0.41-replace_DECLS.patch new file mode 100644 index 000000000000..770109310c67 --- /dev/null +++ b/dev-libs/libcgroup/files/libcgroup-0.41-replace_DECLS.patch @@ -0,0 +1,225 @@ +Replace __BEGIN_DECLS and __END_DECLS with extern "C". + +The macros __BEGIN_DECLS and __END_DECLS are a GNU-ism found in +glibc and uClibc, but not musl. We replace them by the more general +extern "C" { ... } block exposed only if we have __cplusplus. + +Signed-off-by: Anthony G. Basile + +diff -Naur libcgroup-0.41.orig/include/libcgroup/config.h libcgroup-0.41/include/libcgroup/config.h +--- libcgroup-0.41.orig/include/libcgroup/config.h 2014-01-13 14:05:56.000000000 +0000 ++++ libcgroup-0.41/include/libcgroup/config.h 2015-07-11 23:19:20.451977284 +0000 +@@ -9,7 +9,9 @@ + #include + #endif + +-__BEGIN_DECLS ++#ifdef __cplusplus ++extern "C" { ++#endif + + /** + * @defgroup group_config 5. Configuration +@@ -107,6 +109,8 @@ + * @} + * @} + */ +-__END_DECLS ++#ifdef __cplusplus ++} ++#endif + + #endif /*_LIBCGROUP_CONFIG_H*/ +diff -Naur libcgroup-0.41.orig/include/libcgroup/error.h libcgroup-0.41/include/libcgroup/error.h +--- libcgroup-0.41.orig/include/libcgroup/error.h 2014-01-13 14:05:56.000000000 +0000 ++++ libcgroup-0.41/include/libcgroup/error.h 2015-07-11 23:19:34.253977328 +0000 +@@ -9,7 +9,9 @@ + #include + #endif + +-__BEGIN_DECLS ++#ifdef __cplusplus ++extern "C" { ++#endif + + /** + * @defgroup group_errors 6. Error handling +@@ -99,6 +101,8 @@ + * @} + * @} + */ +-__END_DECLS ++#ifdef __cplusplus ++} ++#endif + + #endif /* _LIBCGROUP_INIT_H */ +diff -Naur libcgroup-0.41.orig/include/libcgroup/groups.h libcgroup-0.41/include/libcgroup/groups.h +--- libcgroup-0.41.orig/include/libcgroup/groups.h 2014-01-13 14:05:56.000000000 +0000 ++++ libcgroup-0.41/include/libcgroup/groups.h 2015-07-11 23:19:40.305977347 +0000 +@@ -11,7 +11,9 @@ + #include + #endif + +-__BEGIN_DECLS ++#ifdef __cplusplus ++extern "C" { ++#endif + + /** + * Flags for cgroup_delete_cgroup_ext(). +@@ -577,6 +579,8 @@ + */ + + +-__END_DECLS ++#ifdef __cplusplus ++} ++#endif + + #endif /* _LIBCGROUP_GROUPS_H */ +diff -Naur libcgroup-0.41.orig/include/libcgroup/init.h libcgroup-0.41/include/libcgroup/init.h +--- libcgroup-0.41.orig/include/libcgroup/init.h 2014-01-13 14:05:56.000000000 +0000 ++++ libcgroup-0.41/include/libcgroup/init.h 2015-07-11 23:19:46.369977366 +0000 +@@ -9,7 +9,9 @@ + #include + #endif + +-__BEGIN_DECLS ++#ifdef __cplusplus ++extern "C" { ++#endif + + /** + * @defgroup group_init 1. Initialization +@@ -58,6 +60,8 @@ + * @} + * @} + */ +-__END_DECLS ++#ifdef __cplusplus ++} ++#endif + + #endif /* _LIBCGROUP_INIT_H */ +diff -Naur libcgroup-0.41.orig/include/libcgroup/iterators.h libcgroup-0.41/include/libcgroup/iterators.h +--- libcgroup-0.41.orig/include/libcgroup/iterators.h 2014-01-13 14:05:56.000000000 +0000 ++++ libcgroup-0.41/include/libcgroup/iterators.h 2015-07-11 23:19:53.353977388 +0000 +@@ -11,7 +11,9 @@ + #include + #endif + +-__BEGIN_DECLS ++#ifdef __cplusplus ++extern "C" { ++#endif + + /** + * @defgroup group_iterators 3. Iterators +@@ -423,6 +425,8 @@ + * @} + */ + +-__END_DECLS ++#ifdef __cplusplus ++} ++#endif + + #endif /* _LIBCGROUP_ITERATORS_H */ +diff -Naur libcgroup-0.41.orig/include/libcgroup/log.h libcgroup-0.41/include/libcgroup/log.h +--- libcgroup-0.41.orig/include/libcgroup/log.h 2014-01-13 14:05:56.000000000 +0000 ++++ libcgroup-0.41/include/libcgroup/log.h 2015-07-11 23:19:58.922977406 +0000 +@@ -11,7 +11,9 @@ + + #include + +-__BEGIN_DECLS ++#ifdef __cplusplus ++extern "C" { ++#endif + + /** + * @defgroup group_log 7. Logging +@@ -142,6 +144,8 @@ + * @} + * @} + */ +-__END_DECLS ++#ifdef __cplusplus ++} ++#endif + + #endif /* _LIBCGROUP_LOG_H */ +diff -Naur libcgroup-0.41.orig/include/libcgroup/tasks.h libcgroup-0.41/include/libcgroup/tasks.h +--- libcgroup-0.41.orig/include/libcgroup/tasks.h 2014-01-13 14:05:56.000000000 +0000 ++++ libcgroup-0.41/include/libcgroup/tasks.h 2015-07-11 23:20:03.329977420 +0000 +@@ -12,7 +12,9 @@ + #include + #endif + +-__BEGIN_DECLS ++#ifdef __cplusplus ++extern "C" { ++#endif + + /** Flags for cgroup_change_cgroup_uid_gid(). */ + enum cgflags { +@@ -204,6 +206,8 @@ + * @} + * @} + */ +-__END_DECLS ++#ifdef __cplusplus ++} ++#endif + + #endif /* _LIBCGROUP_TASKS_H */ +diff -Naur libcgroup-0.41.orig/src/daemon/cgrulesengd.h libcgroup-0.41/src/daemon/cgrulesengd.h +--- libcgroup-0.41.orig/src/daemon/cgrulesengd.h 2014-01-13 14:05:56.000000000 +0000 ++++ libcgroup-0.41/src/daemon/cgrulesengd.h 2015-07-11 23:20:34.282977519 +0000 +@@ -17,7 +17,9 @@ + + #include + +-__BEGIN_DECLS ++#ifdef __cplusplus ++extern "C" { ++#endif + + #include "config.h" + #include "libcgroup.h" +@@ -119,7 +121,9 @@ + */ + void cgre_catch_term(int signum); + +-__END_DECLS ++#ifdef __cplusplus ++} ++#endif + + #endif /* _CGRULESENGD_H */ + +diff -Naur libcgroup-0.41.orig/src/libcgroup-internal.h libcgroup-0.41/src/libcgroup-internal.h +--- libcgroup-0.41.orig/src/libcgroup-internal.h 2015-07-11 23:16:37.497976764 +0000 ++++ libcgroup-0.41/src/libcgroup-internal.h 2015-07-11 23:20:22.299977481 +0000 +@@ -16,7 +16,9 @@ + + #define __LIBCG_INTERNAL + +-__BEGIN_DECLS ++#ifdef __cplusplus ++extern "C" { ++#endif + + #include "config.h" + #include +@@ -279,6 +281,8 @@ + */ + int cg_chmod_path(const char *path, mode_t mode, int owner_is_umask); + +-__END_DECLS ++#ifdef __cplusplus ++} ++#endif + + #endif diff --git a/dev-libs/libcgroup/files/libcgroup-0.41-replace_INLCUDES.patch b/dev-libs/libcgroup/files/libcgroup-0.41-replace_INLCUDES.patch new file mode 100644 index 000000000000..191de87d814d --- /dev/null +++ b/dev-libs/libcgroup/files/libcgroup-0.41-replace_INLCUDES.patch @@ -0,0 +1,74 @@ +Replace INCLUDES with AM_CPPFLAGS in Makefile.am + +We replace the deprecated INCLUDES with AM_CPPFLAGS in all +Makefile.am's. + +Signed-off-by: Anthony G. Basile + +diff -Naur libcgroup-0.41.orig/src/Makefile.am libcgroup-0.41/src/Makefile.am +--- libcgroup-0.41.orig/src/Makefile.am 2014-01-13 14:05:56.000000000 +0000 ++++ libcgroup-0.41/src/Makefile.am 2015-07-13 14:36:38.922428040 +0000 +@@ -9,7 +9,7 @@ + + CLEANFILES = lex.c parse.c parse.h + +-INCLUDES = -I$(top_srcdir)/include ++AM_CPPFLAGS = -I$(top_srcdir)/include + lib_LTLIBRARIES = libcgroup.la + libcgroup_la_SOURCES = parse.h parse.y lex.l api.c config.c libcgroup-internal.h libcgroup.map wrapper.c log.c + libcgroup_la_LIBADD = -lpthread +diff -Naur libcgroup-0.41.orig/src/bindings/Makefile.am libcgroup-0.41/src/bindings/Makefile.am +--- libcgroup-0.41.orig/src/bindings/Makefile.am 2014-01-13 14:05:56.000000000 +0000 ++++ libcgroup-0.41/src/bindings/Makefile.am 2015-07-13 14:37:12.267428146 +0000 +@@ -1,5 +1,5 @@ + SUBDIRS = . +-INCLUDES = -I$(top_srcdir)/include ++AM_CPPFLAGS = -I$(top_srcdir)/include + + lib_LTLIBRARIES = _libcgroup.la + _libcgroup_la_SOURCES = libcgroup.c +@@ -11,5 +11,5 @@ + + libcgroup.c: libcgroup.p $(top_srcdir)/include/libcgroup.h + cp libcgroup.p libcgroup.i +- $(CC) $(INCLUDES) -DSWIG -E $(top_srcdir)/include/libcgroup.h >> libcgroup.i ++ $(CC) $(CPPFLAGS) -DSWIG -E $(top_srcdir)/include/libcgroup.h >> libcgroup.i + $(SWIG) -python -o libcgroup.c libcgroup.i +diff -Naur libcgroup-0.41.orig/src/daemon/Makefile.am libcgroup-0.41/src/daemon/Makefile.am +--- libcgroup-0.41.orig/src/daemon/Makefile.am 2014-01-13 14:05:56.000000000 +0000 ++++ libcgroup-0.41/src/daemon/Makefile.am 2015-07-13 14:36:55.781428093 +0000 +@@ -1,4 +1,4 @@ +-INCLUDES = -I $(top_srcdir)/include ++AM_CPPFLAGS = -I $(top_srcdir)/include + + if WITH_DAEMON + +diff -Naur libcgroup-0.41.orig/src/pam/Makefile.am libcgroup-0.41/src/pam/Makefile.am +--- libcgroup-0.41.orig/src/pam/Makefile.am 2014-01-13 14:05:56.000000000 +0000 ++++ libcgroup-0.41/src/pam/Makefile.am 2015-07-13 14:36:28.768428007 +0000 +@@ -1,4 +1,4 @@ +-INCLUDES = -I $(top_srcdir)/include ++AM_CPPFLAGS = -I $(top_srcdir)/include + + if WITH_PAM + +diff -Naur libcgroup-0.41.orig/src/tools/Makefile.am libcgroup-0.41/src/tools/Makefile.am +--- libcgroup-0.41.orig/src/tools/Makefile.am 2014-01-13 14:05:56.000000000 +0000 ++++ libcgroup-0.41/src/tools/Makefile.am 2015-07-13 14:36:19.098427976 +0000 +@@ -1,4 +1,4 @@ +-INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/include ++AM_CPPFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/include + LDADD = $(top_builddir)/src/.libs/libcgroup.la + + if WITH_TOOLS +diff -Naur libcgroup-0.41.orig/tests/Makefile.am libcgroup-0.41/tests/Makefile.am +--- libcgroup-0.41.orig/tests/Makefile.am 2014-01-13 14:05:56.000000000 +0000 ++++ libcgroup-0.41/tests/Makefile.am 2015-07-13 14:37:23.146428181 +0000 +@@ -1,6 +1,6 @@ + SUBDIRS = tools + +-INCLUDES = -I$(top_srcdir)/include ++AM_CPPFLAGS = -I$(top_srcdir)/include + LDADD = $(top_builddir)/src/.libs/libcgroup.la + + # compile the tests, but do not install them diff --git a/dev-libs/libcgroup/libcgroup-0.41-r4.ebuild b/dev-libs/libcgroup/libcgroup-0.41-r4.ebuild new file mode 100644 index 000000000000..37deb466f20d --- /dev/null +++ b/dev-libs/libcgroup/libcgroup-0.41-r4.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit autotools eutils flag-o-matic linux-info pam + +DESCRIPTION="Tools and libraries to configure and manage kernel control groups" +HOMEPAGE="http://libcg.sourceforge.net/" +SRC_URI="mirror://sourceforge/project/libcg/${PN}/v${PV}/${P}.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="amd64 ~ppc ~ppc64 ~x86" +IUSE="+daemon elibc_musl pam static-libs +tools" + +RDEPEND="pam? ( virtual/pam )" + +DEPEND=" + ${RDEPEND} + sys-devel/bison + sys-devel/flex + elibc_musl? ( sys-libs/fts-standalone ) + " +REQUIRED_USE="daemon? ( tools )" + +DOCS=(README_daemon README README_systemd INSTALL) +pkg_setup() { + local CONFIG_CHECK="~CGROUPS" + if use daemon; then + CONFIG_CHECK="${CONFIG_CHECK} ~CONNECTOR ~PROC_EVENTS" + fi + linux-info_pkg_setup +} + +src_prepare() { + epatch "${FILESDIR}"/${P}-replace_DECLS.patch + epatch "${FILESDIR}"/${P}-replace_INLCUDES.patch + epatch "${FILESDIR}"/${P}-reorder-headers.patch + + # Change rules file location + sed -e 's:/etc/cgrules.conf:/etc/cgroup/cgrules.conf:' \ + -i src/libcgroup-internal.h || die "sed failed" + sed -e 's:/etc/cgconfig.conf:/etc/cgroup/cgconfig.conf:' \ + -i src/libcgroup-internal.h || die "sed failed" + sed -e 's:\(pam_cgroup_la_LDFLAGS.*\):\1\ -avoid-version:' \ + -i src/pam/Makefile.am || die "sed failed" + sed -e 's#/var/run#/run#g' -i configure.in || die "sed failed" + + eautoreconf +} + +src_configure() { + local my_conf + + if use pam; then + my_conf=" --enable-pam-module-dir=$(getpam_mod_dir) " + fi + + use elibc_musl && append-ldflags "-lfts" + econf \ + $(use_enable static-libs static) \ + $(use_enable daemon) \ + $(use_enable pam) \ + $(use_enable tools) \ + ${my_conf} +} + +src_test() { + # Use mount cgroup to build directory + # sandbox restricted to trivial build, + # possible kill Diego tanderbox ;) + true +} + +src_install() { + default + prune_libtool_files --all + + insinto /etc/cgroup + doins samples/*.conf || die + + if use tools; then + newconfd "${FILESDIR}"/cgconfig.confd-r1 cgconfig || die + newinitd "${FILESDIR}"/cgconfig.initd-r1 cgconfig || die + fi + + if use daemon; then + newconfd "${FILESDIR}"/cgred.confd-r2 cgred || die + newinitd "${FILESDIR}"/cgred.initd-r1 cgred || die + fi +} diff --git a/dev-libs/libcgroup/libcgroup-0.41.ebuild b/dev-libs/libcgroup/libcgroup-0.41.ebuild new file mode 100644 index 000000000000..033edd31d683 --- /dev/null +++ b/dev-libs/libcgroup/libcgroup-0.41.ebuild @@ -0,0 +1,104 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +AUTOTOOLS_AUTORECONF=1 + +inherit eutils linux-info pam autotools-utils + +DESCRIPTION="Tools and libraries to configure and manage kernel control groups" +HOMEPAGE="http://libcg.sourceforge.net/" +SRC_URI="mirror://sourceforge/project/libcg/${PN}/v${PV}/${P}.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="amd64 ppc ~ppc64 x86" +IUSE="+daemon debug pam static-libs +tools debug" + +RDEPEND="pam? ( virtual/pam )" + +DEPEND=" + ${RDEPEND} + sys-devel/bison + sys-devel/flex + " +REQUIRED_USE="daemon? ( tools )" + +DOCS=(README_daemon README README_systemd INSTALL) +pkg_setup() { + local CONFIG_CHECK="~CGROUPS" + if use daemon; then + CONFIG_CHECK="${CONFIG_CHECK} ~CONNECTOR ~PROC_EVENTS" + fi + linux-info_pkg_setup +} + +src_prepare() { + + # Change rules file location + sed -e 's:/etc/cgrules.conf:/etc/cgroup/cgrules.conf:' \ + -i src/libcgroup-internal.h || die "sed failed" + sed -e 's:\(pam_cgroup_la_LDFLAGS.*\):\1\ -avoid-version:' \ + -i src/pam/Makefile.am || die "sed failed" + sed -e 's#/var/run#/run#g' -i configure.in || die "sed failed" + + autotools-utils_src_prepare +} + +src_configure() { + local my_conf + + if use pam; then + my_conf=" --enable-pam-module-dir=$(getpam_mod_dir) " + fi + + local myeconfargs=( + $(use_enable daemon) + $(use_enable debug) + $(use_enable pam) + $(use_enable tools) + ${my_conf} + ) + autotools-utils_src_configure +} + +src_test() { + # Use mount cgroup to build directory + # sandbox restricted to trivial build, + # possible kill Diego tanderbox ;) + true +} + +src_install() { + autotools-utils_src_install + prune_libtool_files --all + + insinto /etc/cgroup + doins samples/*.conf || die + + if use tools; then + newconfd "${FILESDIR}"/cgconfig.confd cgconfig || die + newinitd "${FILESDIR}"/cgconfig.initd cgconfig || die + fi + + if use daemon; then + newconfd "${FILESDIR}"/cgred.confd cgred || die + newinitd "${FILESDIR}"/cgred.initd cgred || die + fi +} + +pkg_postinst() { + elog "Read the kernel docs on cgroups, related schedulers, and the" + elog "block I/O controllers. The Redhat Resource Management Guide" + elog "is also helpful. DO NOT enable the cgroup namespace subsytem" + elog "if you want a custom config, rule processing, etc. This option" + elog "should only be enabled for a VM environment. The UID wildcard" + elog "rules seem to work only without a custom config (since wildcards" + elog "don't work in config blocks). Specific user-id configs *do*" + elog "work, but be careful about how the mem limits add up if using" + elog "the memory.limit_* directives. There should be a basic task" + elog "partitioning into the default group when running cgred with no" + elog "specific config blocks or rules (other than the mount directive)." + elog "See the docs for the pam module config, and as always, RTFM..." +} diff --git a/dev-libs/libcgroup/metadata.xml b/dev-libs/libcgroup/metadata.xml new file mode 100644 index 000000000000..c35d422f9d07 --- /dev/null +++ b/dev-libs/libcgroup/metadata.xml @@ -0,0 +1,19 @@ + + + + + blueness@gentoo.org + Anthony G. Basile + + + This package provides configuration and command-line tools, as well as a + rules processing daemon for working with kernel control groups. + + + Install the configuration tools and init/config files. + Install the cgroup rules processing daemon and init/config files. + + + libcg + + diff --git a/dev-libs/libclc/Manifest b/dev-libs/libclc/Manifest new file mode 100644 index 000000000000..fae2c73ef8bd --- /dev/null +++ b/dev-libs/libclc/Manifest @@ -0,0 +1,11 @@ +DIST libclc-0.2.0_pre20160209.tar.xz 75756 SHA256 4ed3491997cc524faa0c982a29bc3b4028c1054786e6dfe929d9c43265d78ed7 SHA512 d3edff5e04dc3d34033fdccc0a0d8256ea03515bd98b32818ec181d541141acf9ea06bb7e6bb149ea5e7f5dbcbb76ba13453fb1f461b4737a15ac60c7b3fc4ca WHIRLPOOL 111f75bb89c8288ffefc7a2e1448fd79d41f47990450984537405e423cbf7ea3717e102408774667ac654650db44109c1473a25c2e84d79fa19bc3dad0f7b69c +DIST libclc-0.2.0_pre20160921.tar.gz 127817 SHA256 82c89bb15f79eaf525d283dda82403b213ef1a11b1ea9d843799fb04e08d190d SHA512 5aae6010f32935c0b8fa510fc27cfd0be2df3d58d73cb5fb280d6758aafe54bd63a0137e59053aa81dca01ad2c5a0591ee1d4a83e3ef9a590a009a1a19062373 WHIRLPOOL 6e29280dfa585999d0aa6720a0a33b329b08be31a9f19246e23cbca723210337f834d14a8064541796b05e27dd999af1d3050f04c4fbcdc1e0fe2af574cdb243 +DIST libclc-0.2.0_pre20170118.tar.gz 130793 SHA256 a2d59b11b710468598f25b968ffd4e36125e6e9fe56e052ab09c9abc9c8fc295 SHA512 d94a58ebcafb7bbdbcded84574676537ae7b4ba86c7c2270cc1cd7aa3113104e018e53396b570e821c2fd473b6dd63677f59d990e36e15a7cdb43cdb96cd058c WHIRLPOOL 1ebddaa0b56171b755df35068bc57dcd54644ab447687bd0f5e47417834065574f614fafb495d0ae497942537474a6c36ff55a787a437f69b56d3734dd7385cf +DIST libclc-0.2.0_pre20170929.tar.gz 138719 SHA256 b0ba08cfd2f2f0653531ec9138c0a617eaaa1b7cac6f658ba4c363fe0003a176 SHA512 08f3a21fb1dc103a3b33980c420506fd142294b2d8b4a3eeb100ea55036fb87b9740a2489a0a9a5793d71ebb157e6f3ad7854d1916fc1fa472de72374cdeaea3 WHIRLPOOL 5702c9c62ba106f2c31a5125853ad6543fddeeea40c2c38960ddd9cb54728a8c4054dbbfaa97804003815b97dc909bcf9778d8163887a179e909c4d42d52d773 +EBUILD libclc-0.2.0_pre20160209.ebuild 961 SHA256 d512ba8ade7167724814c928152d1a82a07b5bbbc51087e6e7196b68ba6d8e5f SHA512 cc1b3e82c1f074ce3079f4752cb3319d2ad213d1629005b962637c295a4c862086685d0650d067bb92f95b9f63154bfc47de894d63b1ae13e61ce3577cb783e3 WHIRLPOOL f6151a86b49048998e1216d5d08c8bd742f9f171ce677e01ac0b897afcadd8d7ef0ffc11fc964581e95013a3f6a9a475c844fd47914923925d3e9f52219daf0a +EBUILD libclc-0.2.0_pre20160921.ebuild 988 SHA256 0814c3e8f400bcebd2ed5336bdafe2faaae9346d02aca206aeae45a78eb26835 SHA512 eb5a022ca76cd80bacacd7c538326df3b25cb5f29fdd5d9d5774e223c69ba1b087f7704d1ad660eef6ac3c6a4b32fac29c4ae64040da43eeebfdb01514f34907 WHIRLPOOL 554fb43325394b5a2edba7d88d8180bcedfe86e8b2c472cada7ab63e4b7807e633a9b9aea10f3f3692aa86fb6188fcd50fac39468fdd0a115bfff8b4674439ab +EBUILD libclc-0.2.0_pre20170118.ebuild 1207 SHA256 323cb9263c8a401962449c7e021486ad8745ef1c7c160199e0bb82dde7bf5fac SHA512 f0d7c5c773b6fd9ed2fe5e703f2270612a68aa3f5c868825de241396c64f444b7673dcff8540733f2cc2256e310579f392333b155adc35a8d9e41c586e3ec5f3 WHIRLPOOL 97bf7bdcae133be4b0960de99009a29eae2c7121919d99283c5ac10babd7494d7c024a4978c90e57100f1c5c1b787bd9018a67b5f1632e8d6ada189511abfad8 +EBUILD libclc-0.2.0_pre20170929.ebuild 1307 SHA256 944189cfdfef3eb3c623947962b706913bb7394e776bec49c751c0a6ff927c58 SHA512 2a7dcd84c261b3415d53d587c7b4a189ac558bea014ee370cfe24086bee4e2fa9524900f682fa6acec2ac6d76ced765ae9eea50e01cb0f80cb2f35fa019090d8 WHIRLPOOL 804ca0c35e23d5264ad4caee6a313e8b7d082a7f4ce8c6da2b6d4bfc3a894ebec172e00e9a179c973b3502847fdcbe81ab229b731835e9d1f42d3474fb28406f +MISC ChangeLog 4529 SHA256 01f7207b5ca5aee57e2956074758f60e2e05ae18b1ada1a2a72099098a2d8438 SHA512 6a0564d3949f70f59ab0ca1d9da1f301c18b6a392d107b9d482f276e1d1cca84589375bfe27fa7666782b9c5b44d01e8a076efe9cfe6de5ff3b8d0866dd77363 WHIRLPOOL 15a90551bc94456d0fc8b56f22a2c364f78642e04640307d1541e3c80f174131222dbc55fd33a0e599118df0ca3938bc86eb5e4d966a6a5550093aa63cf4c074 +MISC ChangeLog-2015 3404 SHA256 f4324683fb0e6908cdf79b8cd5f63ed51c87feee97c5caff475c1a2ed7d53a10 SHA512 750d9e4a7253e4c9e971baad2816043dbb1a11f861636451a2911e727f72d956a6dfcf91e18097dffaab3816ca7d653632a53534e8f0448ab3bdbb3396f4e1ac WHIRLPOOL 83ef070e9264f9e9375099bb60650c0c4fc81cd4bcc63b610c4875d148cc0103e69fe92a201c80e0e805e1c9364dc8a86e1808a8981769fffa114d3ac74bd446 +MISC metadata.xml 394 SHA256 fcdb3208f2564bd79a6949cd8d9fdb503b78eb7999fc7794b85ae359d5c253af SHA512 ed84a49ef1e6da5f133895d82632d81c5333ae0fa21eb222e993c2e3136c802350193555fd8f98ee23d7b4d55695ca186a8e4d5dc04c3d7aa072dc229905011d WHIRLPOOL 9656b6e4bd13dfd2eab8e0f4f6d457ecee7b876d764e6c87f26d848507809d5cb4e6eb5a9c2f263183a15e9cb240cc5a020061bff1bfeba5f15fa75c39fca2bd diff --git a/dev-libs/libclc/libclc-0.2.0_pre20160209.ebuild b/dev-libs/libclc/libclc-0.2.0_pre20160209.ebuild new file mode 100644 index 000000000000..550d6e55f119 --- /dev/null +++ b/dev-libs/libclc/libclc-0.2.0_pre20160209.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +PYTHON_COMPAT=( python2_7 ) + +EGIT_REPO_URI="http://llvm.org/git/${PN}.git" + +if [[ ${PV} = 9999* ]]; then + GIT_ECLASS="git-r3" + EXPERIMENTAL="true" +fi + +inherit python-any-r1 $GIT_ECLASS + +DESCRIPTION="OpenCL C library" +HOMEPAGE="http://libclc.llvm.org/" + +if [[ $PV = 9999* ]]; then + SRC_URI="${SRC_PATCHES}" +else + SRC_URI="mirror://gentoo/${P}.tar.xz ${SRC_PATCHES}" +fi + +LICENSE="|| ( MIT BSD )" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND=" + >=sys-devel/clang-3.7:0 + >=sys-devel/llvm-3.7:0 + + + + + x11@gentoo.org + X11 + + + llvm@gentoo.org + + + llvm-mirror/libclc + + diff --git a/dev-libs/libcli/Manifest b/dev-libs/libcli/Manifest new file mode 100644 index 000000000000..b527c25cb8fc --- /dev/null +++ b/dev-libs/libcli/Manifest @@ -0,0 +1,9 @@ +AUX libcli-1.9.4-ldflags.patch 367 SHA256 92fb06ab3b1ebd520927e7f689cb44d36f24fa69a1ccf9d255a2d3acfd3c8e23 SHA512 bc1848fe5ae0f913aa4063e4efacf87bce9010255efb8f1b6b7c2acce79d45af50860d6040405ba8d6e2e5239a0075059070be719a6607a937180fce1930a4cf WHIRLPOOL 27cceef170e6b6643fbb5a5734d70ed950094386acfdd996fee578e74c0dd48e6312b0c00687a3dd37cbec9dad4d2c896f848cb160c3c7fd2b8bdf7752d6d69b +AUX libcli-1.9.7-libdir.patch 814 SHA256 515d2c927d508533c723bbd87f832046aac612039a9b0bd0a85a2eec91ecad00 SHA512 2056600d5560196119bc690fc5c02151e7376608408c5b7205eadf7e69f4138758738c34203b93b2ceaa938de58d1b81e9050d259245e9e739ae3bc385a9a2a6 WHIRLPOOL 7a6abb29815084fef71fb65a65a4887b7cb69aa80d044f03945228ec0b3917afa7ff47d25f2ad59b1cd069df7eb1107139bdc3120b2b235ae13c80b636aa26bf +DIST libcli-1.9.4.tar.gz 27960 SHA256 c1e56ff2e55a879b7c89b5808aea76063512d9a24cffd601aa3d9a84cd6a7928 SHA512 51de601733029f696cbfa435639addeef33ec52c390352164db96f1c14a375eca90e890134958178aaf77e57eaf05dda8bdbbc08df637767e820bfc65360b747 WHIRLPOOL 79b3b33262a05083dba0a7fbf64950aae123438c260bcebec431eef232419db114c351adec43302e6d321c9e438e1054d297066e268523f19c09351330095866 +DIST libcli-1.9.7.tar.gz 29557 SHA256 7ddda6b6e044a1498cf3a27e49ed5d7b97840bbe5a036c43fb0532b5e431886c SHA512 b2dacfd40bc068ddcc0dc3d60576ef2f7d7e2af80b93c6e7ae899d654afca6f0f8d2df2b33c9c8e760bdbea9aa2eaf757029d46032dcf307341f78f1a8f4f66f WHIRLPOOL 0bc14f3d27e04c7ea9f4421aac59c2269ba4fb12b821bf8bebe7330a6350c89430118444cf746baae587dc8b21c56d24ae87fe1a6d5ce3617ebbf1d9ceb63b6d +EBUILD libcli-1.9.4-r1.ebuild 904 SHA256 3fc42dc8f6d3303c515406a7cb3ec770142e26c1457ace7d3f18ad66a55c1177 SHA512 a8f74e3aa4a3d451bb8e960d225ef418fb679527784cc5cb916680648d4272c1f9abaf9e07df2a3a147a0f2743c2e2d5b2772ecf9a0866c32bb8636b72000e44 WHIRLPOOL 3f549132ff3fc751d4e5bfbf35277a6bb18c36b71eff31ce78b430bb5bc0b5662f8ccc9456b0ef81ab4a08a883a6f325cecb4435c31e0c79afca92208cd27e87 +EBUILD libcli-1.9.7.ebuild 761 SHA256 b0b38971d62b6ed95bb3ba208ddf4fb6a683ff44efe49a2fc395750997ef9421 SHA512 f29e833b83a79a909d0a3714f73200420ca7a2df20ce694bea7170c724dc8f38e6acf2fbed7702c0a009c076bff2972c0f7c8666bbc697aeef3a405977681d86 WHIRLPOOL cd16912e47c234d6ef02181a66f8492612976ec7d08c66ea457b7d1148af684589e26d8c29365056336ce00153a0c91d90237d19ec94ff6b3a62e64455dc7d3e +MISC ChangeLog 2465 SHA256 23186422568eb38962b2394aa78379d8fad3d1edd3b5e712f6f744188d69af09 SHA512 eef94274d2af514f1843249c0a89b5df7c88fae7dd9cf1e0e601ee102352151260f51c244707463eb2a7b6af92d9a6abab45f34e8dd08d569b94925bf78df830 WHIRLPOOL 620e6be4342310c71e819ec2124f1d35454fa435d8662d9d3fe63695f0f78b72031c9a13dd405c5c3d221cc716ad99b717a17110cb8ccffbc31f3b7cc8646962 +MISC ChangeLog-2015 2040 SHA256 db318b6f6f3a2eeab372a303365e0aaa54f6855d93753f15a760e628a97ae05a SHA512 9a85b43f66dc767c5d241c1b8a08cc31e133980d9e7e4534e1373e52a12922fc3b98922b1ad008e6b4e7ef9ddba642dcf5b39de0d7138b917db81339689da9ed WHIRLPOOL 7039323f095a3228b6342402e85ec8c9da24861d816207fe196dd6f6fbb539aa1d4674d247cf65d23d71f96af64648e6e921170ea778c11845b402a3ac2f3303 +MISC metadata.xml 614 SHA256 73816670c2306ad5c14dffe465500a9b34a8c8642ae78310b198d818716ac1c9 SHA512 570f4816b7997fa5d75cad35999de186c9d97c3b8e2e69708b5a1f6695aa1b89ef28586be2bfaa8c8aaea60eeee8b4a698528c50d57c25806553572db8443037 WHIRLPOOL 24ddf17d48878d8cd02c59608b32b3fd9608b231cd56494954a1eb57d7c84156086f0c147dd54f0d35ee122e81012343af85b40dff86eeda1286893bf44e2f17 diff --git a/dev-libs/libcli/files/libcli-1.9.4-ldflags.patch b/dev-libs/libcli/files/libcli-1.9.4-ldflags.patch new file mode 100644 index 000000000000..0dd8e13d67fc --- /dev/null +++ b/dev-libs/libcli/files/libcli-1.9.4-ldflags.patch @@ -0,0 +1,11 @@ +--- Makefile~ 2008-07-28 03:13:16.000000000 +0200 ++++ Makefile 2010-09-12 15:39:05.000000000 +0200 +@@ -28,7 +28,7 @@ + libcli.o: libcli.h + + clitest: clitest.o $(LIB) +- $(CC) $(CPPFLAGS) $(CFLAGS) -o $@ $< -L. -lcli ++ $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ $< -L. -lcli + + clitest.exe: clitest.c libcli.o + $(CC) $(CPPFLAGS) $(CFLAGS) -o $@ $< libcli.o -lws2_32 diff --git a/dev-libs/libcli/files/libcli-1.9.7-libdir.patch b/dev-libs/libcli/files/libcli-1.9.7-libdir.patch new file mode 100644 index 000000000000..99f817095adc --- /dev/null +++ b/dev-libs/libcli/files/libcli-1.9.7-libdir.patch @@ -0,0 +1,24 @@ +--- libcli-1.9.7/Makefile ++++ libcli-1.9.7/Makefile +@@ -1,6 +1,7 @@ + UNAME = $(shell sh -c 'uname -s 2>/dev/null || echo not') + DESTDIR = + PREFIX = /usr/local ++libdir = $(PREFIX)/lib + + MAJOR = 1 + MINOR = 9 +@@ -50,10 +51,10 @@ + rm -f *.o $(LIB)* $(LIB_STATIC) clitest + + install: $(LIB) +- install -d $(DESTDIR)$(PREFIX)/include $(DESTDIR)$(PREFIX)/lib ++ install -d $(DESTDIR)$(PREFIX)/include $(DESTDIR)$(libdir) + install -m 0644 libcli.h $(DESTDIR)$(PREFIX)/include +- install -m 0755 $(LIB).$(MAJOR).$(MINOR).$(REVISION) $(DESTDIR)$(PREFIX)/lib +- cd $(DESTDIR)$(PREFIX)/lib && \ ++ install -m 0755 $(LIB).$(MAJOR).$(MINOR).$(REVISION) $(DESTDIR)$(libdir) ++ cd $(DESTDIR)$(libdir) && \ + ln -fs $(LIB).$(MAJOR).$(MINOR).$(REVISION) $(LIB).$(MAJOR).$(MINOR) && \ + ln -fs $(LIB).$(MAJOR).$(MINOR) $(LIB) + diff --git a/dev-libs/libcli/libcli-1.9.4-r1.ebuild b/dev-libs/libcli/libcli-1.9.4-r1.ebuild new file mode 100644 index 000000000000..3bf0b58f91f8 --- /dev/null +++ b/dev-libs/libcli/libcli-1.9.4-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="4" + +inherit eutils multilib toolchain-funcs + +DESCRIPTION="Cisco-style (telnet) command-line interface library" + +HOMEPAGE="http://sites.dparrish.com/libcli" +SRC_URI="https://libcli.googlecode.com/files/${P}.tar.gz" +LICENSE="LGPL-2.1" + +SLOT="0" +KEYWORDS="amd64 x86 ~amd64-linux" +IUSE="" + +DEPEND="" +RDEPEND="" + +src_prepare() { + # Support /lib{32,64} + sed -i 's:$(PREFIX)/lib:$(libdir):g' Makefile || die + sed -i 's:PREFIX = /usr/local:&\nlibdir = $(PREFIX)/lib:' Makefile || die + + # Make this respect LDFLAGS, bug #334913 + epatch "${FILESDIR}/${PN}-1.9.4-ldflags.patch" +} + +src_compile() { + emake OPTIM="" DEBUG="" CC="$(tc-getCC)" +} + +src_install() { + emake DESTDIR="${ED}" \ + PREFIX="/usr" \ + OPTIM="" \ + DEBUG="" \ + libdir="/usr/$(get_libdir)" \ + install + + dobin clitest + dodoc README +} diff --git a/dev-libs/libcli/libcli-1.9.7.ebuild b/dev-libs/libcli/libcli-1.9.7.ebuild new file mode 100644 index 000000000000..36ea4dee1e22 --- /dev/null +++ b/dev-libs/libcli/libcli-1.9.7.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils multilib toolchain-funcs + +DESCRIPTION="Cisco-style (telnet) command-line interface library" + +HOMEPAGE="http://sites.dparrish.com/libcli" +SRC_URI="https://github.com/dparrish/libcli/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="LGPL-2.1" + +SLOT="0" +KEYWORDS="amd64 x86 ~amd64-linux" +IUSE="" + +DEPEND="" +RDEPEND="" + +src_prepare() { + epatch "${FILESDIR}/${PN}-1.9.7-libdir.patch" \ + "${FILESDIR}/${PN}-1.9.4-ldflags.patch" +} + +src_compile() { + emake OPTIM="" DEBUG="" \ + CC="$(tc-getCC)" AR="$(tc-getAR)" +} + +src_install() { + emake DESTDIR="${ED}" PREFIX="/usr" \ + libdir="/usr/$(get_libdir)" install + + dobin clitest + dodoc README +} diff --git a/dev-libs/libcli/metadata.xml b/dev-libs/libcli/metadata.xml new file mode 100644 index 000000000000..121529505d15 --- /dev/null +++ b/dev-libs/libcli/metadata.xml @@ -0,0 +1,15 @@ + + + + + xmw@gentoo.org + Michael Weber + + libcli provides a shared library for including a Cisco-like command-line + interface into other software. It's a telnet interface which supports + command-line editing, history, authentication and callbacks for a + user-definable function tree. + + dparrish/libcli + + diff --git a/dev-libs/libclsync/Manifest b/dev-libs/libclsync/Manifest new file mode 100644 index 000000000000..c0d07d69814f --- /dev/null +++ b/dev-libs/libclsync/Manifest @@ -0,0 +1,7 @@ +DIST clsync-0.4.1.tar.gz 253890 SHA256 3f14a72d7c3c1747ea908e373f25bd1918ce00450492fbb7094549db6bf21e27 SHA512 875280f706026d44806b92c22fa58d016136b2792f67a6b7e77f932465081da7a1ebaf22c25e538e4b58bfe04cd1cd5450ecab99c3df53ddd2a0fa966442d444 WHIRLPOOL 10ab11821766f7d16d03993069ac4da5fe362a1e5977ea6721e49ada7044d3659e59b507b03be4de09609b0a0ca9d7878407d7b6e1f40df5dbe1d041dac373cb +DIST clsync-0.4.2.tar.gz 256042 SHA256 1af63b86c1d0bd663311f2129792446dc8fc4def5559f76658b51b69a8d0c3bd SHA512 d14a2efc4bf58d9d5c7a3fe5634cacdd182cd7cd814b0e9ebd99024a7282b056d1f7ceeec6903666391c3572d599a18e205af818b098ed7768d5c0e0f4cd1200 WHIRLPOOL a59446337282cb63455b43bbbf17ad1213e39713d9c267ca5ee8785d863bc90e7b99e5938e4d5be02f3103a98b1bb5d5a628580160952d821e6caaad72fa2679 +EBUILD libclsync-0.4.1.ebuild 1803 SHA256 da367da1720f607aac763803574287cedfadae7c7f8f152ca87c431af2c1e4a2 SHA512 a5e630dc4ebd513c6f979909ba70ca5f3da93c5bde173e37e8ab6c7e26e74242fcac3dcd8270bdc60129aa58301505e7dc7927312068e01960f9d259f3682be1 WHIRLPOOL 2355a54db79af25ed973a053f51e379522868bbe548cd20ab5298ab35c5fd507addf82f1936f1b07af774edccd67506adb9acaf06249af0dacbf217f6e21001e +EBUILD libclsync-0.4.2.ebuild 1705 SHA256 4da039765e823ac98795be6407c84bb936d67f28facf97271746128b238229ca SHA512 76b97ae5b95133c8d3b1d89c18db94898069e737e72de492482b50e987ef71f161c21aa81cc9295d941a3d61b1a565229b16a4a74c3e87aea25206ed2a73e5a3 WHIRLPOOL 1286c10d1fb12aed55639537a5f6b17b6f4f32f2a7960943dbe15b90f6c40802b6cfc858cda652456e5361cb4499beaecaadf9a9edcb904294f9af8146f8c1b0 +MISC ChangeLog 2899 SHA256 83444c71d0229878dd23991a8c3fe553c17cc1fbb350a44cb0f795b72d5c50e3 SHA512 b0fd79655f31fd2b1925b59f321e26081d935963d3f609d23b451a42948d122b45d174e4de6e24e2404abbc15e92a9eb1d93039e39bebe985017a7b72ab818b3 WHIRLPOOL 44395fc8158ddac073635c91a321d04b14286e884e7afca4e0b29f97b10ab5c3d8b72d5e5189b64e78efe9bce278d44359a0fb6717c42201f79e2982907be37d +MISC ChangeLog-2015 860 SHA256 8599c89ddc037b75305b675e4a2b398bad6bd9f0b1e35c5fdd600a6537634372 SHA512 26415e1ea75e8e2c0f47ca43468b35467da82a93e177f715851d484dd88bb01c9db997460cf4ec9cc24d5aa4a0fb5acb3c3ef1b94e47d71c521b3e55666477db WHIRLPOOL 9d5027416787e5bfeb07f6a1525fa85265aeb24b41c3083df52c3a040e659698b8a5b92c11b8c2ba68647609674629e72aba2359575873f96f5e3f9ee679a579 +MISC metadata.xml 718 SHA256 7cd60d04a4d04730344a02992e163fecde8959f50b594eb62d52557264842601 SHA512 4f5edc94ccb24487d3cf9f15dbc3c2e6666de4b22fdc8efe2daf10a2b9d31452d85cabe83403062383865d274aae826944da0756e2630af54b4055ac0fd87f64 WHIRLPOOL d55dad7cd37eaad8200534cd0f616f2823ff791da011c019691ee40764a030f19094146034ca44be7a8c6983f36037859520eb6226d8a14f5379232c75324943 diff --git a/dev-libs/libclsync/libclsync-0.4.1.ebuild b/dev-libs/libclsync/libclsync-0.4.1.ebuild new file mode 100644 index 000000000000..ddfca4a6ff90 --- /dev/null +++ b/dev-libs/libclsync/libclsync-0.4.1.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +MY_PN=${PN#lib} +MY_P="${MY_PN}-${PV}" + +if [[ ${PV} == "9999" ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/xaionaro/${MY_PN}.git" +else + SRC_URI="https://github.com/xaionaro/${MY_PN}/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz" + KEYWORDS="~amd64 ~x86" + S="${WORKDIR}/${MY_P}" +fi + +inherit autotools + +DESCRIPTION="Control and monitoring library for clsync" +HOMEPAGE="http://ut.mephi.ru/oss/clsync https://github.com/xaionaro/clsync" +LICENSE="GPL-3+" +SLOT="0" +IUSE="debug extra-debug extra-hardened hardened static-libs" +REQUIRED_USE=" + extra-debug? ( debug ) + extra-hardened? ( hardened ) +" + +DEPEND="virtual/pkgconfig " +RDEPEND="=app-doc/clsync-docs-0.4*" + +src_prepare() { + eautoreconf +} + +src_configure() { + local harden_level=0 + use hardened && harden_level=1 + use extra-hardened && harden_level=2 + + local debug_level=0 + use debug && debug_level=1 + use extra-debug && debug_level=2 + + econf \ + --docdir="${EPREFIX}/usr/share/doc/${PF}" \ + --enable-socket-library \ + --disable-clsync \ + --enable-debug=${debug_level} \ + --enable-paranoid=${harden_level} \ + --without-bsm \ + --without-kqueue \ + --disable-capabilities \ + --disable-cluster \ + --enable-socket \ + --disable-highload-locks \ + --disable-unshare \ + --disable-seccomp \ + --without-libcgroup \ + --without-gio \ + --with-inotify=native \ + --without-mhash +} + +src_install() { + emake DESTDIR="${D}" install + prune_libtool_files + use static-libs || find "${ED}" -name "*.a" -delete || die "failed to remove static libs" + + # docs go into clsync-docs + rm -rf "${ED}/usr/share/doc" || die +} + +pkg_postinst() { + einfo "clsync instances you are going to use _must_ be compiled" + einfo "with control-socket support" +} diff --git a/dev-libs/libclsync/libclsync-0.4.2.ebuild b/dev-libs/libclsync/libclsync-0.4.2.ebuild new file mode 100644 index 000000000000..f685732c00eb --- /dev/null +++ b/dev-libs/libclsync/libclsync-0.4.2.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PN=${PN#lib} +MY_P="${MY_PN}-${PV}" + +inherit autotools eutils + +DESCRIPTION="Control and monitoring library for clsync" +HOMEPAGE="http://ut.mephi.ru/oss/clsync https://github.com/xaionaro/clsync" +SRC_URI="https://github.com/xaionaro/${MY_PN}/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz" +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug extra-debug extra-hardened hardened static-libs" +S="${WORKDIR}/${MY_P}" + +REQUIRED_USE=" + extra-debug? ( debug ) + extra-hardened? ( hardened ) +" + +DEPEND="virtual/pkgconfig" +RDEPEND="=app-doc/clsync-docs-0.4*" + +src_prepare() { + eapply_user + eautoreconf +} + +src_configure() { + local harden_level=0 + use hardened && harden_level=1 + use extra-hardened && harden_level=2 + + local debug_level=0 + use debug && debug_level=1 + use extra-debug && debug_level=2 + + econf \ + --docdir="${EPREFIX}/usr/share/doc/${PF}" \ + --enable-socket-library \ + --disable-clsync \ + --enable-debug=${debug_level} \ + --enable-paranoid=${harden_level} \ + --without-bsm \ + --without-kqueue \ + --disable-capabilities \ + --disable-cluster \ + --enable-socket \ + --disable-highload-locks \ + --disable-unshare \ + --disable-seccomp \ + --without-libcgroup \ + --without-gio \ + --with-inotify=native \ + --without-mhash +} + +src_install() { + emake DESTDIR="${D}" install + prune_libtool_files + use static-libs || find "${ED}" -name "*.a" -delete || die "failed to remove static libs" + + # docs go into clsync-docs + rm -rf "${ED}/usr/share/doc" || die +} + +pkg_postinst() { + einfo "clsync instances you are going to use _must_ be compiled" + einfo "with control-socket support" +} diff --git a/dev-libs/libclsync/metadata.xml b/dev-libs/libclsync/metadata.xml new file mode 100644 index 000000000000..8c5ebe0c8bbd --- /dev/null +++ b/dev-libs/libclsync/metadata.xml @@ -0,0 +1,19 @@ + + + + + bircoph@gentoo.org + Andrew Savchenko + + + Libclsync is a library for remote control and monitoring of + app-admin/clsync processes. + + + Enable extra debugging. This will hurt performance badly. Be ready for tons of output. + Enable extra security checks. This may hurt performance. + + + xaionaro/clsync + + diff --git a/dev-libs/libconfig/Manifest b/dev-libs/libconfig/Manifest new file mode 100644 index 000000000000..91d0c2a61757 --- /dev/null +++ b/dev-libs/libconfig/Manifest @@ -0,0 +1,6 @@ +AUX libconfig-1.5-out-of-source-build.patch 344 SHA256 9411070bc87c5153859a1cc05c419d79f2eb1d47b9e739e61b327bd9b663a50e SHA512 601909cbc50afe2ee2bf72648685af3b828effa16e5c86e0efa2820314de5cfabf9867b40b205e4d32280bbea6547d1e418cff7e7733940abdd7aa49f3764bdb WHIRLPOOL e755b661e0d5005c2633c97125089dfe7c89e8abed15ce6344ea61eea14b67c071c317ecc06ef98784d2dc09de1553851f00c3995696e6d81ce30fcb1c88d142 +DIST libconfig-1.5.tar.gz 644432 SHA256 e31daa390d8e4461c8830512fe2e13ba1a3d6a02a2305a02429eec61e68703f6 SHA512 16bead52ee8c880b25fd1ee6fa83c115dc51830f2f7954389bd8b72cc0e6fc05fc63fe415bd929851894a9f3a1127d51cfc4223149514246e9566305556b7bcd WHIRLPOOL ef3718b1ec4485202d1fd03db035419b6c0179e4c4eb47e74ff93b467677c4f53cf9d70d5eb7aa6230dab7a4115e5fae0fc4ed191f1bfc6d0c3c252ee5d90944 +EBUILD libconfig-1.5.ebuild 1139 SHA256 2a181247988fe5f4832a9f074c397190a5e199812a806226a9d609a006e29644 SHA512 570084908592ae662544d21755cdd5b8a636f22124a964178c2e6b7ed906442dfaca3de5517bdcd0867c32c068495b263bd8abd5d357c6f607c4e128083712a7 WHIRLPOOL 73a09468f78074a4ccd3b6fa1637749bef9229af5003fc20f48d98b94511a8c5450f7621fb8531c6b8e44bab7e1b5c7cc0f39bb66a151a6ee76d6783f576d10f +MISC ChangeLog 3775 SHA256 2b135cdba80f11714c9b7523ba5947a3c878012087d35ad1e1dbfee854f4e9b9 SHA512 a455a82d716da9dd75d6fe455bea844ee59c0c1b197e07da91254c06df3dbded9f31ed4abf9484ccfcf5995b1a3542a815f0855122b441ca4face1502f4e8602 WHIRLPOOL d9d4ed2c00ff689f23cc56e739b9852f164a0b5240a8252c7d9ec5bd7e5d4ddd337081129dc2ab695c1ebdbfd9a743ddfce00b8625473a834dfef1a77976ac91 +MISC ChangeLog-2015 8149 SHA256 4bc029568782732642c22d38a6aba92917957857728b4f7a61c6cae35d3aabae SHA512 78efb9388fed346a97f146a47ed74ffda24f332f7f82078f65fc55912150305e19f0a3d311174793bf29b982cbcab529b79f7a5e5a436f805e62d874618b85b4 WHIRLPOOL 64ba34edd3ba0a734fbbac2ab78f6f17d15c4e012531dd55b560d8ecb72beb337cc4d05b6c65fbe030fd0f4caedf5354d67682a07833916622f7f75d4612c757 +MISC metadata.xml 244 SHA256 a65bfec176330796e1eeb3bb589b78ff60a123b947537decd4705ea71ca4e906 SHA512 1da71f4fae0251c97a8fcfa1e13b0a3f8b95a856fa919ebd30bf4f2f1b8fa900841db09ebc2a0ae9fe0d91f786ac40b63290382668412fcb05bca15b0746f1db WHIRLPOOL 1164de6a99d8931ca3ae60cbb397be80b802eb473943ef777dbe8473d8d665a5f93d8b99175709bf09d8af856b3ea7aaf7c95a87aad37e48b85c06e618431a1f diff --git a/dev-libs/libconfig/files/libconfig-1.5-out-of-source-build.patch b/dev-libs/libconfig/files/libconfig-1.5-out-of-source-build.patch new file mode 100644 index 000000000000..d109b60d4363 --- /dev/null +++ b/dev-libs/libconfig/files/libconfig-1.5-out-of-source-build.patch @@ -0,0 +1,11 @@ +--- a/tests/Makefile.am ++++ b/tests/Makefile.am +@@ -3,7 +3,7 @@ + + libconfig_tests_SOURCES = tests.c + +-libconfig_tests_CPPFLAGS = -I$(top_srcdir)/tinytest -I../lib ++libconfig_tests_CPPFLAGS = -I$(top_srcdir)/tinytest -I$(top_srcdir)/lib + + libconfig_tests_LDADD = -L$(top_builddir)/tinytest -ltinytest \ + -L$(top_builddir)/lib/.libs -lconfig diff --git a/dev-libs/libconfig/libconfig-1.5.ebuild b/dev-libs/libconfig/libconfig-1.5.ebuild new file mode 100644 index 000000000000..1f9cc4f295f0 --- /dev/null +++ b/dev-libs/libconfig/libconfig-1.5.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +AUTOTOOLS_AUTORECONF="1" +inherit eutils autotools-multilib + +DESCRIPTION="Libconfig is a simple library for manipulating structured configuration files" +HOMEPAGE="http://www.hyperrealm.com/libconfig/libconfig.html" +SRC_URI="http://www.hyperrealm.com/${PN}/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 ~ia64 ~mips ppc ~ppc64 sparc x86 ~x86-linux" +IUSE="+cxx examples static-libs" + +DEPEND=" + sys-devel/libtool + sys-devel/bison" + +PATCHES=( "${FILESDIR}/${PN}-1.5-out-of-source-build.patch" ) + +src_prepare() { + sed -i configure.ac -e 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|g' || die + autotools-multilib_src_prepare +} + +multilib_src_configure() { + local myeconfargs=( + $(use_enable cxx) + --disable-examples + ) + autotools-utils_src_configure +} + +multilib_src_test() { + # It responds to check but that does not work as intended + emake test +} + +multilib_src_install_all() { + einstalldocs + prune_libtool_files + + if use examples; then + find examples -name "Makefile.*" -delete || die + dodoc -r examples + fi +} diff --git a/dev-libs/libconfig/metadata.xml b/dev-libs/libconfig/metadata.xml new file mode 100644 index 000000000000..f8bd6f3f34f9 --- /dev/null +++ b/dev-libs/libconfig/metadata.xml @@ -0,0 +1,8 @@ + + + + + jer@gentoo.org + Jeroen Roovers + + diff --git a/dev-libs/libcoyotl/Manifest b/dev-libs/libcoyotl/Manifest new file mode 100644 index 000000000000..ab88aa9801f1 --- /dev/null +++ b/dev-libs/libcoyotl/Manifest @@ -0,0 +1,7 @@ +AUX 3.1.0-gcc-4.3.patch 1106 SHA256 baec176df857c807ddeefcea9f5c94fafb001e517bd4dce4dfe43054eada0648 SHA512 4db742551b39ce51b804588e22ef7c3691f3cece1414c6fc361c69f79682c91c06a9d58dfaa2d75c0654fbf75a80dd30c8f9b86de7192399f3601d145e84d1a8 WHIRLPOOL b9ab738535dc9a9c25ac488759ac79205e3c9e18bc53f7cbc257e315d05bb4523eb5bf88fcb87c372d83329f44dcba5956742cceb7beeab6375ff134f9b31de9 +AUX 3.1.0-gcc-4.7.patch 286 SHA256 a950273a70479654a2da9e4fab9abd9869df4b26d8941895aaab7dfd91dc6af3 SHA512 616ddbebe40254ac0d4b04f7f7633c3ae77a88d261ea8c74f4105f803c2bfffcf5eeb50822d65a9a3aab58cde020464b8ce7ff56a3e8551b9a04f33ecf35398f WHIRLPOOL 98d3e25077596c8987ee254cf0e4b18f3a8d6492053f51c494576c57ac3c88bf907615ba65dbc065fc555e767226c1f18eeec0215189da329cccadb03114f11c +DIST libcoyotl-3.1.0.tar.gz 346384 SHA256 540cb2e131cc345f94eaa1a7682532e200b57efd6b6a5e2d9e68aa7819f63860 SHA512 18d0a71204dc57d44f73fe03fd88c2a040e83615557cf1f018c22ad7c9a11d793c7f71df8e10a156b9fd4fae910882ed6cec37f9e57efd3546ffc15fa82a51b5 WHIRLPOOL 66a08ae5827ce9bf7ab5d532dc29485fc4b82e15005cad5a91f1e9fbc27b9fdd64889d0c9f68bbc7e7fd6463b6dcee552ed906c149bb6727f01931c213404ca4 +EBUILD libcoyotl-3.1.0-r2.ebuild 964 SHA256 9366c73c43c39aa0c0481eefcda9adbe897feb365902942bee6c2a4c3b62f044 SHA512 7d31f5c23ecfaa484c37fdd22dae9fcb5bc907f862d8e67d499780259bbfd632090833ed67a9c65a8479b0530085ff762272787357e5aadbaf971aa0164742bd WHIRLPOOL 7112b48b8acf3b07d55e383ff3fd6633e2f026c065d9e89082a0f5e22472a7fda8453a0a19426e02149e3e93db7f5fa40a586a979deaeb8788b4d10cd9e4ad5c +MISC ChangeLog 2497 SHA256 af43e6fa3d7c7776e694f34f1205c1e59f061def7f3c9d6ddee5f9262c1c1749 SHA512 6af205d0355bb3c4af5a03a5cafd25498ff906bdc9dedabfb8a64e2b1b4661f93c94a8a36c4963fa7bb9bac3867a5a66252135a26535ff164f35494ac405bccd WHIRLPOOL b3bd35a4284e04007d0722fb157eaf057c11b9b890b268812040c7d1d514050b42505ebf4e9c67714302353b2b3b163d33ba3d38ed36f538bedfb5eee051323a +MISC ChangeLog-2015 3016 SHA256 379a37ebd14fd6223d4362237af83438527f574f31a6d60a73564097850536a5 SHA512 ccf5c924f5324fd2b36474994a561935eb6b58552364da7ba87b42843189d01c3c77346ab17f072868cc9e87420773cbc39ea2a7f5fb9971a3dcec4b887c0c25 WHIRLPOOL fc32f880884c1f3dd673c15270cdbd1226a69d42941a98d3c907ee6c0318e6795334a528dde0de116cb58cc9064601d3904963bb88aee318f8a7c6df087e5de1 +MISC metadata.xml 245 SHA256 2d55ae4b33723b881e2cd48221560da36aec5b304b8bf2b440a9e2588875dba9 SHA512 b098db4fb4d9ea116f6246bc6caf0f49e80e236d2fad78d287b638dbd5add7bfaf7feb1ca081ca557b23dde9227ce42fa808f3f6fd8eaba6a7e9cae93342f9c6 WHIRLPOOL edd2e34ed3775c96bf085c9c0a95bd448028cb5ba6a2bfa7d7253b54878c888b62fa579483265c47c2602ca454fd656d32346eaa7351067cc3a36295d1e1e861 diff --git a/dev-libs/libcoyotl/files/3.1.0-gcc-4.3.patch b/dev-libs/libcoyotl/files/3.1.0-gcc-4.3.patch new file mode 100644 index 000000000000..4d3391e21161 --- /dev/null +++ b/dev-libs/libcoyotl/files/3.1.0-gcc-4.3.patch @@ -0,0 +1,32 @@ +diff -NrU5 libcoyotl-3.1.0.orig/libcoyotl/command_line.cpp libcoyotl-3.1.0/libcoyotl/command_line.cpp +--- libcoyotl-3.1.0.orig/libcoyotl/command_line.cpp 2008-03-21 22:41:41.000000000 +0100 ++++ libcoyotl-3.1.0/libcoyotl/command_line.cpp 2008-03-21 22:41:59.000000000 +0100 +@@ -30,10 +30,13 @@ + // http://www.coyotegulch.com + // + //----------------------------------------------------------------------- + + #include "command_line.h" ++ ++#include ++ + using namespace libcoyotl; + + command_line::command_line(int argc, char * argv[], const set & bool_opts) + : m_options(), + m_inputs(), +diff -NrU5 libcoyotl-3.1.0.orig/libcoyotl/sortutil.h libcoyotl-3.1.0/libcoyotl/sortutil.h +--- libcoyotl-3.1.0.orig/libcoyotl/sortutil.h 2008-03-21 22:41:41.000000000 +0100 ++++ libcoyotl-3.1.0/libcoyotl/sortutil.h 2008-03-21 22:41:59.000000000 +0100 +@@ -34,10 +34,11 @@ + //----------------------------------------------------------------------- + + #if !defined(LIBCOYOTL_SORTUTIL_H) + #define LIBCOYOTL_SORTUTIL_H + ++#include + #include + + namespace libcoyotl + { + diff --git a/dev-libs/libcoyotl/files/3.1.0-gcc-4.7.patch b/dev-libs/libcoyotl/files/3.1.0-gcc-4.7.patch new file mode 100644 index 000000000000..443cbe2a8657 --- /dev/null +++ b/dev-libs/libcoyotl/files/3.1.0-gcc-4.7.patch @@ -0,0 +1,11 @@ +--- libcoyotl/maze_renderer.cpp.ORIG 2005-10-10 06:48:30.000000000 +0200 ++++ libcoyotl/maze_renderer.cpp 2013-04-12 10:29:31.127689828 +0200 +@@ -36,6 +36,8 @@ + #include "maze_renderer.h" + using namespace libcoyotl; + ++#include ++ + #include + using namespace std; + diff --git a/dev-libs/libcoyotl/libcoyotl-3.1.0-r2.ebuild b/dev-libs/libcoyotl/libcoyotl-3.1.0-r2.ebuild new file mode 100644 index 000000000000..77cc8e787e76 --- /dev/null +++ b/dev-libs/libcoyotl/libcoyotl-3.1.0-r2.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit eutils autotools + +DESCRIPTION="A collection of portable C++ classes" +HOMEPAGE="http://www.coyotegulch.com/products/libcoyotl/" +SRC_URI="http://www.coyotegulch.com/distfiles/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux" + +IUSE="doc static-libs" + +RDEPEND="media-libs/libpng:0=" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen )" + +DOCS=( AUTHORS ChangeLog NEWS README ) + +src_prepare() { + epatch "${FILESDIR}/${PV}-gcc-4.3.patch" + epatch "${FILESDIR}/${PV}-gcc-4.7.patch" + epatch_user + eautoreconf +} + +src_configure() { + ac_cv_prog_HAVE_DOXYGEN="false" econf $(use_enable static-libs static) +} + +src_compile() { + emake + + if use doc ; then + cd docs + doxygen libcoyotl.doxygen || die "generating docs failed" + fi +} + +src_install() { + default + prune_libtool_files + if use doc ; then + dohtml docs/html/* + fi +} diff --git a/dev-libs/libcoyotl/metadata.xml b/dev-libs/libcoyotl/metadata.xml new file mode 100644 index 000000000000..41cd682e0ecf --- /dev/null +++ b/dev-libs/libcoyotl/metadata.xml @@ -0,0 +1,8 @@ + + + + + cpp@gentoo.org + Gentoo C++ Project + + diff --git a/dev-libs/libcroco/Manifest b/dev-libs/libcroco/Manifest new file mode 100644 index 000000000000..290868bd03ff --- /dev/null +++ b/dev-libs/libcroco/Manifest @@ -0,0 +1,7 @@ +AUX 0.6.12-CVE-2017-7960.patch 1285 SHA256 5d1aeec6b3598d52182b06a19e992bbf71264dd660f274a094529eacbe9299e5 SHA512 736240327aeddbb9a2d7272a7dd3dff2b459e5b99bd81ab9d881644c995e51879d9b3e9c8080571bd387d8dd46ab5cf656f8e2b4e3715fd5548ca32b1d77d58d WHIRLPOOL 8f9768be514b2584fd8e68c8cbee873f1243716005f23320eaefa1f795e8ceb77b7667bdc68544d972701a92765bc03a0cf77fb78eca5ba14fb6a2e4aa1dfb5f +AUX 0.6.12-CVE-2017-7961.patch 1437 SHA256 341bdff497a3b4bb86250f0d5b8d6aa7e07106e94a80369bacead98a7882a9d6 SHA512 88cbcaf64e4c8ceb7002ffd05ce5f42880bd37a25f8c89e927760f0fa982122cde3819ace2e730cc0dd0e093812ad8470e8783477bc2bd10fe05aacf0b3e0e4f WHIRLPOOL 2d0e0273d161ef8e13279e5263344a06ab0a29a85c652575b9ac6ae5b3c4a7c267fc6208b3d54b17a385893403b56ace27ca86594aefdf464ec2e74c3643d90e +DIST libcroco-0.6.12.tar.xz 482028 SHA256 ddc4b5546c9fb4280a5017e2707fbd4839034ed1aba5b7d4372212f34f84f860 SHA512 af9a171d5ccded255b57f170576e67155f12fa0f61ab3e379e907975f77afc37e82e22772c6019b2897cffc15b2425faf3ccfda92b1a45b23eda2519debabeb6 WHIRLPOOL b3626257b56b9e104307cd3da01366a5eb929d0afc6669a80f4a94748c434afdc8c3828e008ab786ab28ca72d799a79804e9a296d9428504829521516366e039 +EBUILD libcroco-0.6.12-r1.ebuild 1467 SHA256 f901e8295b1980a40dd291ab90d7629245ad6c75a1bd2fc343b0385ce030bdae SHA512 ccccc41f71b1a3aef0d43d9f9dc60d313f17ac7a0be6b60eb7ad408074b24bec466232314ed10e216f95c92731c72159dd16b78e75827e9cf9809b83c9523a10 WHIRLPOOL 2e85c8cc46ce45e184d7a5c6f6c5984d359c94751d4e8fe442f2709783ae3eae26b5bd261382b02e47241bc4c2a5ada56da93a2c4ff1943cd7cca602ad251db4 +MISC ChangeLog 5866 SHA256 48e41af81edf5687eb4f7001dd9ad9197f7deeef009cc14761c5a7e33f95929d SHA512 b37dc8155bfcc117a846064d665e0c64e679f8da38547df0941c45cd2f9c8a94975385a5cb79c2d0213c169dd75281d482849bd96e541f8e0a53b76d43ba45a6 WHIRLPOOL e614f3830faf36a882c18fe0fc78d1a74c6933f5e4b9d228c73529226dce9f088a704419199bd3a18fd90f5f5938a9f194156dbb6878ec22ca36125c216dc544 +MISC ChangeLog-2015 12499 SHA256 14e9a132e7166bfbf734190e6ebae3c894407f07768591073f53b8f315ae5554 SHA512 740e50990d2b3dcd3fa391a0e6c4ba05d3daa6edcd64d151e3740d0565eba366ba2385756246da33febe57a6b8566ee3beb6e9799d9f34d23bc5394341485d32 WHIRLPOOL 48593ce74c4db71e7483db8f1270293706a1b9450f0f298eb04d3f7c3d5301add047ad68daeaaaecb0b6c6bd122adf03ebabb218ad4c5fb53778138c854cb798 +MISC metadata.xml 597 SHA256 049c2e541dd1da161011adc1d85d6394d5df0432ed3aa8dc4580222c45009c39 SHA512 9161b1cf0d796d0aeb681374b278be7938bc551316d6d7fc4fc1e19bfff4477f6b12bf606df0eb17c57e08ecb257f358f579a232ce6dbd6cc2f838aee4e2b9bf WHIRLPOOL 08f1da9b902d28ed16f74f6dfde2bd38f8925d338db0920abd7552588fa8f42c64b6eaaa6b76f328957206bc5f1fe0d6b879afdd6a413db239e30fcd90bc85e0 diff --git a/dev-libs/libcroco/files/0.6.12-CVE-2017-7960.patch b/dev-libs/libcroco/files/0.6.12-CVE-2017-7960.patch new file mode 100644 index 000000000000..50095d50b898 --- /dev/null +++ b/dev-libs/libcroco/files/0.6.12-CVE-2017-7960.patch @@ -0,0 +1,40 @@ +From 898e3a8c8c0314d2e6b106809a8e3e93cf9d4394 Mon Sep 17 00:00:00 2001 +From: Ignacio Casal Quinteiro +Date: Sun, 16 Apr 2017 13:13:43 +0200 +Subject: [PATCH 1/3] input: check end of input before reading a byte + +When reading bytes we weren't check that the index wasn't +out of bound and this could produce an invalid read which +could deal to a security bug. +--- +leio: Snipped cosmetic chunks + +diff --git a/src/cr-input.c b/src/cr-input.c +index 49000b1..3b63a88 100644 +--- a/src/cr-input.c ++++ b/src/cr-input.c +@@ -404,6 +404,8 @@ cr_input_get_nb_bytes_left (CRInput const * a_this) + enum CRStatus + cr_input_read_byte (CRInput * a_this, guchar * a_byte) + { ++ gulong nb_bytes_left = 0; ++ + g_return_val_if_fail (a_this && PRIVATE (a_this) + && a_byte, CR_BAD_PARAM_ERROR); + +@@ -413,6 +415,12 @@ cr_input_read_byte (CRInput * a_this, guchar * a_byte) + if (PRIVATE (a_this)->end_of_input == TRUE) + return CR_END_OF_INPUT_ERROR; + ++ nb_bytes_left = cr_input_get_nb_bytes_left (a_this); ++ ++ if (nb_bytes_left < 1) { ++ return CR_END_OF_INPUT_ERROR; ++ } ++ + *a_byte = PRIVATE (a_this)->in_buf[PRIVATE (a_this)->next_byte_index]; + + if (PRIVATE (a_this)->nb_bytes - +-- +2.10.1 + diff --git a/dev-libs/libcroco/files/0.6.12-CVE-2017-7961.patch b/dev-libs/libcroco/files/0.6.12-CVE-2017-7961.patch new file mode 100644 index 000000000000..65a08f4ebabc --- /dev/null +++ b/dev-libs/libcroco/files/0.6.12-CVE-2017-7961.patch @@ -0,0 +1,42 @@ +From 9ad72875e9f08e4c519ef63d44cdbd94aa9504f7 Mon Sep 17 00:00:00 2001 +From: Ignacio Casal Quinteiro +Date: Sun, 16 Apr 2017 13:56:09 +0200 +Subject: [PATCH 3/3] tknzr: support only max long rgb values + +This fixes a possible out of bound when reading rgbs which +are longer than the support MAXLONG +--- + src/cr-tknzr.c | 10 ++++++++++ + 1 file changed, 10 insertions(+) + +diff --git a/src/cr-tknzr.c b/src/cr-tknzr.c +index 1a7cfeb..1548c35 100644 +--- a/src/cr-tknzr.c ++++ b/src/cr-tknzr.c +@@ -1279,6 +1279,11 @@ cr_tknzr_parse_rgb (CRTknzr * a_this, CRRgb ** a_rgb) + status = cr_tknzr_parse_num (a_this, &num); + ENSURE_PARSING_COND ((status == CR_OK) && (num != NULL)); + ++ if (num->val > G_MAXLONG) { ++ status = CR_PARSING_ERROR; ++ goto error; ++ } ++ + red = num->val; + cr_num_destroy (num); + num = NULL; +@@ -1298,6 +1303,11 @@ cr_tknzr_parse_rgb (CRTknzr * a_this, CRRgb ** a_rgb) + status = cr_tknzr_parse_num (a_this, &num); + ENSURE_PARSING_COND ((status == CR_OK) && (num != NULL)); + ++ if (num->val > G_MAXLONG) { ++ status = CR_PARSING_ERROR; ++ goto error; ++ } ++ + PEEK_BYTE (a_this, 1, &next_bytes[0]); + if (next_bytes[0] == '%') { + SKIP_CHARS (a_this, 1); +-- +2.10.1 + diff --git a/dev-libs/libcroco/libcroco-0.6.12-r1.ebuild b/dev-libs/libcroco/libcroco-0.6.12-r1.ebuild new file mode 100644 index 000000000000..67c3539760fc --- /dev/null +++ b/dev-libs/libcroco/libcroco-0.6.12-r1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +GNOME2_LA_PUNT="yes" + +inherit gnome2 multilib-minimal + +DESCRIPTION="Generic Cascading Style Sheet (CSS) parsing and manipulation toolkit" +HOMEPAGE="https://git.gnome.org/browse/libcroco/" + +LICENSE="LGPL-2" +SLOT="0.6" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="test" + +RDEPEND=" + >=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}] + >=dev-libs/libxml2-2.9.1-r4[${MULTILIB_USEDEP}] +" +DEPEND="${RDEPEND} + dev-util/gtk-doc-am + >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] +" + +PATCHES=( + "${FILESDIR}"/${PV}-CVE-2017-7960.patch + "${FILESDIR}"/${PV}-CVE-2017-7961.patch +) + +src_prepare() { + if ! use test; then + # don't waste time building tests + sed 's/^\(SUBDIRS .*\=.*\)tests\(.*\)$/\1\2/' -i Makefile.am Makefile.in \ + || die "sed failed" + fi + + gnome2_src_prepare +} + +multilib_src_configure() { + ECONF_SOURCE=${S} \ + gnome2_src_configure \ + --disable-static \ + $([[ ${CHOST} == *-darwin* ]] && echo --disable-Bsymbolic) + + if multilib_is_native_abi; then + ln -s "${S}"/docs/reference/html docs/reference/html || die + fi +} + +multilib_src_install() { + gnome2_src_install +} + +multilib_src_install_all() { + DOCS="AUTHORS ChangeLog HACKING NEWS README TODO" + einstalldocs +} diff --git a/dev-libs/libcroco/metadata.xml b/dev-libs/libcroco/metadata.xml new file mode 100644 index 000000000000..d296a917b37c --- /dev/null +++ b/dev-libs/libcroco/metadata.xml @@ -0,0 +1,16 @@ + + + + + gnome@gentoo.org + Gentoo GNOME Desktop + + +The Libcroco project is an effort to build a generic Cascading Style Sheet (CSS) parsing and manipulation toolkit that can be used by GNOME applications in need of CSS support. + +provided is : +A parser module with : A SAC like api and A CSSOM like api. +A CSS2 selection engine +An XML/CSS layout/rendering engine + + diff --git a/dev-libs/libcss/Manifest b/dev-libs/libcss/Manifest new file mode 100644 index 000000000000..5c07bf823822 --- /dev/null +++ b/dev-libs/libcss/Manifest @@ -0,0 +1,6 @@ +DIST libcss-0.6.1-src.tar.gz 487329 SHA256 0a71ec6bef24ec1bc33a7505b4909befbe9e9165ca13f6159a3aa43bc413de4f SHA512 9b72765a4f1e9e0a6eca0892f50d36d84b25354fd6e55fd9da5c541077e466e585093b34f3ff35591d59294b05f1485b224d5f9df41f07535a09b445795ae2b3 WHIRLPOOL 3763d3dbc8462861767403766163b76b3fcfb6e1c943b1c72306b11411b008454eded9dec2a49c4a1f7faa727f777a3a84b786188c94b70dac2779f32371b39d +DIST netsurf-buildsystem-1.5.tar.gz 38196 SHA256 dbc6afc639f6987b704e6ff4427668787ee7efba77e1bbf76b614699b5daaf71 SHA512 02d85e8f1d2101194a678f7ccf84051390953285a46951d7b327556f8df1a0c416620bd4c7a615e25de438d5d27cfffb69ec5d94eb8379a295dab4c85a96cae4 WHIRLPOOL 7b7d595a2e399b361e71769e509a129af42da5ce823f1b55183efb53898ac2ae731593eb13e1ecc2271ea26ee0948ac35bf99fea280eb72a2bb00164b4b29f09 +EBUILD libcss-0.6.1.ebuild 576 SHA256 1e65a6d6d7958db93865d15f7e037f87822103af0f183a78d007d7787364f487 SHA512 013ea9fa2ff772c6468d16050a93855474afa8ca36195879c0e363ef2eb8fdbd23d7c90c52044c3489aa7bd6b3f6173022287c68cc4149d883d861b9ad7dbb1b WHIRLPOOL 273ca1c8997e2998bb4e54b4da3fd15587ade9725c5e8667fc2dc30c3ee0c45680e763e09eb3747368b91cbffdc45ed05c47ffa2b6eb603f8634a1d89f448891 +MISC ChangeLog 3303 SHA256 a77a99eaefcd62c60245a5dd1e1c78871c277167ebb17052a5addefc686f55e6 SHA512 3a39fe7bb4300423048246050e4af8a159db017ea444857d80ffe833c0082a2cfd4bcde05570a3dd5a13ef2092145d5be8e00689a4f42828c8c6a2f1230031b4 WHIRLPOOL dd1e7fb4e7089a51594eda5e9122f12ef5ec69ca1d5b74dd02ff91b65bc74d5befc9755d000bfa3734ebda1c3db8fed916e6b27d8226a76a4b77999d85e0a3c9 +MISC ChangeLog-2015 2200 SHA256 6195f4a129ce146167daa79cf1942299fdcfee252bc2e8d431fe27e2d028c0f6 SHA512 0dbc9981b92f8bd35aadcb9147b033a9a38349e65ba488e8b9bdc754f991f236e9a8fec70d36343c5ad88cff4e97d6a8bef465348020a84f01622ced6a09f07c WHIRLPOOL 76371ca4fa8c1ebeb1d9cddfa7458f68bafc5656d37f871bd5cb9ba8a311baceba23bc9e8ab14b2c8a8f1c54472c049d20923c250726a3d8139b256e60c52e8b +MISC metadata.xml 237 SHA256 ffb571839c57797d282263369646d2bba2662601a45f7bb3251bb97f716554a6 SHA512 ae2360aa6b1b00c67e0acea4935c02b64585b9a15e126fec9d5d99637021c542c0a495e5116205f3da287def46fa5b19cb1a7f3042c12c5f7a78d66d92fcb03f WHIRLPOOL 60d6da846c983457e038ea5ba3c0bf48f939c9586610985a14cac9772fd1d45d781a643abc16482f232f3028e44fe99fe1a382deaebf6589602fc244a4460e3f diff --git a/dev-libs/libcss/libcss-0.6.1.ebuild b/dev-libs/libcss/libcss-0.6.1.ebuild new file mode 100644 index 000000000000..b3c161ed1d22 --- /dev/null +++ b/dev-libs/libcss/libcss-0.6.1.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +NETSURF_BUILDSYSTEM=buildsystem-1.5 +inherit netsurf + +DESCRIPTION="CSS parser and selection engine, written in C" +HOMEPAGE="http://www.netsurf-browser.org/projects/libcss/" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~ppc ~m68k-mint" +IUSE="test" + +RDEPEND=">=dev-libs/libparserutils-0.2.1-r1[static-libs?,${MULTILIB_USEDEP}] + >=dev-libs/libwapcaplet-0.4.0[static-libs?,${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND} + virtual/pkgconfig + test? ( dev-lang/perl )" diff --git a/dev-libs/libcss/metadata.xml b/dev-libs/libcss/metadata.xml new file mode 100644 index 000000000000..a535b8852829 --- /dev/null +++ b/dev-libs/libcss/metadata.xml @@ -0,0 +1,8 @@ + + + + +xmw@gentoo.org +Michael Weber + + diff --git a/dev-libs/libcxml/Manifest b/dev-libs/libcxml/Manifest new file mode 100644 index 000000000000..c44284b11ef4 --- /dev/null +++ b/dev-libs/libcxml/Manifest @@ -0,0 +1,7 @@ +AUX libcxml-0.15.1-respect-cxxflags.patch 360 SHA256 e21c6a69a8539a8f3a9767613c364939dc4bc01040d078127b002dd282aa9742 SHA512 4f5f908b54371f978d83857236a65e82ed5caf3af6811d20cc6bee715a90c3f74a4a16ff3be6349384a01f07bad2a6508c60b8b33c19f6273b2e873634e19fd8 WHIRLPOOL e2ce1d7c49410a5e9ffd0a3b5c3ae9ea5817da190cb4fc8a996dfd9b3d731d5d17363e6c5617464abd32986b3a61b82c0ba93aa6269213f16b2a634e84006e5f +DIST libcxml-0.15.1.tar.bz2 137082 SHA256 7e81dcd0bdb6ea6aaff84bd176f3100cc9ed409bf8d87894abef4ff0b9736dce SHA512 91bcc8334ef5e71126701e850211928304561ca27a03e4b8d528fbc6d94fe2635c753c3b3b8ecec185e76fc5a70f426f6dfee72b4a432898435d2bfc1764b10e WHIRLPOOL bac7b56f30db5b2883edd1901a3d0d7cd50cb3ab3ee0017026d4db10294c4978e7c2a17c275cc4123bab3b07735dc34f30d57fb3287524beaf9662c65a59a7cd +DIST libcxml-0.15.4.tar.bz2 137251 SHA256 945e513b5eb366d34a71b965733d583b621201070103826356318783502f0d29 SHA512 b14a29eaa502451eb293ce2faf2424c6e8147d6e28e86911c7adba5d1f725a5500772e2199d57834daee503de0458480f7cbf39c0d83db8afb4998db0b0b44ca WHIRLPOOL ae5c8927ac7954c8314490a929ba661970cff8e86b0ac11d02b962a594d997f43c9ef18dad1182745eaf0bd74b958017d6433942ec1cfd94da244783086ed7f8 +EBUILD libcxml-0.15.1.ebuild 779 SHA256 2fde96cfc1149b22ddf75a241d78c15f6ab50ff9285d73d1b1b799e6b31ef704 SHA512 26577e0d70545d8b142288247918f472749acacd58a11acfc62204e76fbabbcfa16b0023cbb8c2e05e551769b6ef2617faae3b3840e623a32289fc68e7e9ef57 WHIRLPOOL 29a3ac3491b0671ab32445c4fe7e5fc51e89475757dfb183817db0eaa006aa7e3179c4cb8279f21090419df5cc922d7c804c9f97c04cea073db5e85dbbcf5297 +EBUILD libcxml-0.15.4.ebuild 804 SHA256 aafff5d2e5180c7058c5314e902c15e74535c6071fa3cc8d6bab3613042b4ad4 SHA512 f0a95a26021ee3286b370e198510e33669df19db59555a87ac951a995af73f1e0506c334c6f2b2f77ef49a21b21b59e330cc5eedd65b09deec2386151236cdab WHIRLPOOL 55fcb0fddb5f4508dc3646284b04febd87a71e223c13c4d2c0327adc00ed0eac67607c545ae19c715ceee2361d0323bd4a57d510a0e66f2ff0026f130d49b44c +EBUILD libcxml-9999.ebuild 801 SHA256 dd4107e685c4aac2b699d36ebea15dd92f872df3e3df517913fee19b5b0098a1 SHA512 db6177930a1e05cb8709be9c919fa84c3a02698d65a95778be86bf4ae207a5f80a7d66013cf17a67ca8fcb403b57308a77be76d42c043d7d875b03e4eca31dd2 WHIRLPOOL 52f33c81437d42990a91c87d066fc16e27c86b188f3310413b5b98e594337af99e7b44842f682f9fc60481c04632508b29eac52a2e0dca0be1f68b7b72900825 +MISC metadata.xml 237 SHA256 ffb571839c57797d282263369646d2bba2662601a45f7bb3251bb97f716554a6 SHA512 ae2360aa6b1b00c67e0acea4935c02b64585b9a15e126fec9d5d99637021c542c0a495e5116205f3da287def46fa5b19cb1a7f3042c12c5f7a78d66d92fcb03f WHIRLPOOL 60d6da846c983457e038ea5ba3c0bf48f939c9586610985a14cac9772fd1d45d781a643abc16482f232f3028e44fe99fe1a382deaebf6589602fc244a4460e3f diff --git a/dev-libs/libcxml/files/libcxml-0.15.1-respect-cxxflags.patch b/dev-libs/libcxml/files/libcxml-0.15.1-respect-cxxflags.patch new file mode 100644 index 000000000000..409dc37410c1 --- /dev/null +++ b/dev-libs/libcxml/files/libcxml-0.15.1-respect-cxxflags.patch @@ -0,0 +1,11 @@ +--- libcxml-0.15.1/wscript ++++ libcxml-0.15.1/wscript +@@ -12,7 +12,7 @@ + + def configure(conf): + conf.load('compiler_cxx') +- conf.env.append_value('CXXFLAGS', ['-Wall', '-Wextra', '-O2']) ++ conf.env.append_value('CXXFLAGS', ['-Wall', '-Wextra']) + + conf.env.TARGET_WINDOWS = conf.options.target_windows + conf.env.STATIC = conf.options.static diff --git a/dev-libs/libcxml/libcxml-0.15.1.ebuild b/dev-libs/libcxml/libcxml-0.15.1.ebuild new file mode 100644 index 000000000000..a25b9f8de517 --- /dev/null +++ b/dev-libs/libcxml/libcxml-0.15.1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_4 python3_5 python3_6 ) +PYTHON_REQ_USE="threads(+)" +inherit python-any-r1 waf-utils + +DESCRIPTION="small C++ library which makes it marginally neater to parse XML using libxml++" +HOMEPAGE="http://carlh.net/libcxml" +SRC_URI="http://carlh.net/downloads/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND="dev-cpp/libxmlpp:2.6 + dev-libs/boost" +DEPEND="${RDEPEND} + ${PYTHON_DEPS} + dev-util/waf + virtual/pkgconfig" + +PATCHES=( "${FILESDIR}"/${PN}-0.15.1-respect-cxxflags.patch ) + +src_prepare() { + rm -v waf || die + export WAF_BINARY="${EROOT}usr/bin/waf" + + default +} + +src_test() { + ./run-tests.sh || die +} diff --git a/dev-libs/libcxml/libcxml-0.15.4.ebuild b/dev-libs/libcxml/libcxml-0.15.4.ebuild new file mode 100644 index 000000000000..666e14d5fa33 --- /dev/null +++ b/dev-libs/libcxml/libcxml-0.15.4.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_4 python3_5 python3_6 ) +PYTHON_REQ_USE="threads(+)" +inherit python-any-r1 waf-utils + +DESCRIPTION="small C++ library which makes it marginally neater to parse XML using libxml++" +HOMEPAGE="http://carlh.net/libcxml" +SRC_URI="http://carlh.net/downloads/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND="dev-cpp/libxmlpp:2.6 + dev-libs/boost + dev-libs/locked_sstream" +DEPEND="${RDEPEND} + ${PYTHON_DEPS} + dev-util/waf + virtual/pkgconfig" + +PATCHES=( "${FILESDIR}"/${PN}-0.15.1-respect-cxxflags.patch ) + +src_prepare() { + rm -v waf || die + export WAF_BINARY="${EROOT}usr/bin/waf" + + default +} + +src_test() { + ./run-tests.sh || die +} diff --git a/dev-libs/libcxml/libcxml-9999.ebuild b/dev-libs/libcxml/libcxml-9999.ebuild new file mode 100644 index 000000000000..acb40482573c --- /dev/null +++ b/dev-libs/libcxml/libcxml-9999.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_4 python3_5 python3_6 ) +PYTHON_REQ_USE="threads(+)" +inherit git-r3 python-any-r1 waf-utils + +DESCRIPTION="small C++ library which makes it marginally neater to parse XML using libxml++" +HOMEPAGE="http://carlh.net/libcxml" +EGIT_REPO_URI="https://github.com/cth103/${PN}.git" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="" +IUSE="" + +RDEPEND="dev-cpp/libxmlpp:2.6 + dev-libs/boost + dev-libs/locked_sstream" +DEPEND="${RDEPEND} + ${PYTHON_DEPS} + dev-util/waf + virtual/pkgconfig" + +PATCHES=( "${FILESDIR}"/${PN}-0.15.1-respect-cxxflags.patch ) + +src_prepare() { + rm -v waf || die + export WAF_BINARY="${EROOT}usr/bin/waf" + + default +} + +src_test() { + ./run-tests.sh || die +} diff --git a/dev-libs/libcxml/metadata.xml b/dev-libs/libcxml/metadata.xml new file mode 100644 index 000000000000..a535b8852829 --- /dev/null +++ b/dev-libs/libcxml/metadata.xml @@ -0,0 +1,8 @@ + + + + +xmw@gentoo.org +Michael Weber + + diff --git a/dev-libs/libdaemon/Manifest b/dev-libs/libdaemon/Manifest new file mode 100644 index 000000000000..1608930d83f4 --- /dev/null +++ b/dev-libs/libdaemon/Manifest @@ -0,0 +1,6 @@ +DIST libdaemon-0.14.tar.gz 340474 SHA256 fd23eb5f6f986dcc7e708307355ba3289abe03cc381fc47a80bca4a50aa6b834 SHA512 a96b25c09bd63cc192c1c5f8b5bf34cc6ad0c32d42ac14b520add611423b6ad3d64091a47e0c7ab9a94476a5e645529abccea3ed6b23596567163fba88131ff2 WHIRLPOOL e1f57dbf3089c666cf068c1e3113c01e68566545198b36f82b8174e5b6f52c466d8e5586ed818b5ccedeec9dba461ee2e878621b95e45962f62e9d7602f8f575 +EBUILD libdaemon-0.14-r1.ebuild 1199 SHA256 2429b70126e08ef3283e4c799d5f867f9ad31afbc94a070848e50a7e03e45a4a SHA512 a4f0679b5702353f0dc05cc959dbe1cacba004093a69430fa71a85e2d0be0a80c07603d3e62152ebc203e8dc0fca412b764614cf9ccabb291e0fbcbd3d0d2070 WHIRLPOOL cc57e13b279f918d3d1727b9b915d41a7bd7ca8feb6d8e88db9d80762f9d61143eccbd73cbda180f97032a0da0828f863285b4d80da3db9a8d023d94249c5425 +EBUILD libdaemon-0.14-r2.ebuild 1446 SHA256 7095de481a5238236d711e1c58643d8fd52a0a74d7c4469b8a3c008b0dadc5c4 SHA512 dffc3b0c3bedd18a109b5831009aaa309023645d4b419cf9f3d718cfc6629b2e0de5c738b681a093a3f7207b8076d88abbca880a002c2e7c5e8f1256446ff892 WHIRLPOOL 658811ca516cd74013123ee46d116f6b192d86e2f1523e6a7cf9ce88a1478545589b1331100901fc678e0735ea39731d6697b436ec197b07b2c0cd388c2f2f60 +MISC ChangeLog 2246 SHA256 cda35eb60e327d47f508998b5e7ed8d50754c62748779d57dc7aecae8d72b25c SHA512 42dfd0a898e4650dc6cbe288ef2c42faed6cbac1c862f89cc256550070866852d67d734925dae1b512bd4eb359a51b1fedb48505ed0fcf2a0e99b3b6f9a0ce75 WHIRLPOOL 6e4e4a1d59efec87398b50009d3fd67ee30c9b4155b6512c5c36ae39251033982f01237f26502f80370141f7db2cb56af28c6635a2bbbfbe2bcec9986ea03b05 +MISC ChangeLog-2015 10595 SHA256 339774fa57b2added78fdc0437788b6855b8e219afce7b4c0ea6733b4628c9ff SHA512 3963c6b2047e7192a49b0a65530c0ec9c8eaabd6e06a38b3e4ac9224c0d7be2988981f197c229e67de11c9bac7b9b5b9821ed4a1b8e3c75f0ed030fcc0e28319 WHIRLPOOL bc8a71955c45f712a949897a17cead04d564b03a458c6085986c12600daabf2c26cdb3209f568a6ffcc8ac693652455db01cbc47b00722f7a13ffff4afe1984f +MISC metadata.xml 214 SHA256 6a2a5c2ad04e20ca2e85501c2d27eecca227d74845e08281bee1a552f9535c53 SHA512 9b8ba52023f39252d9fc270607a4b928d4c961c893ef4f722d7e2ac567c66a3de509849ef754e3c8fef73923144251e5ebcc19b0d2ec93b94ab79ffb5c17cb83 WHIRLPOOL 6bc56b7cca3fa3eaa3ca5d1fcb808d37e1b7773c55052de31a2bd649d7fb19c0b03bbd126a52aa7b14da8521585fa38cdbadff0a2ea5a1257bc750de156cc5ad diff --git a/dev-libs/libdaemon/libdaemon-0.14-r1.ebuild b/dev-libs/libdaemon/libdaemon-0.14-r1.ebuild new file mode 100644 index 000000000000..220ed1033ba8 --- /dev/null +++ b/dev-libs/libdaemon/libdaemon-0.14-r1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +inherit libtool eutils + +DESCRIPTION="Simple library for creating daemon processes in C" +HOMEPAGE="http://0pointer.de/lennart/projects/libdaemon/" +SRC_URI="http://0pointer.de/lennart/projects/${PN}/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd" +IUSE="doc examples static-libs" + +RDEPEND="" +DEPEND="doc? ( app-doc/doxygen )" + +DOCS=( "README" ) + +src_configure() { + econf \ + --docdir="${EPREFIX}/usr/share/doc/${PF}" \ + --localstatedir=/var \ + --disable-examples \ + --disable-lynx \ + $(use_enable static-libs static) +} + +src_compile() { + emake + + if use doc ; then + einfo "Building documentation" + emake doxygen + fi +} + +src_install() { + default + + find "${ED}" -name '*.la' -exec rm -f {} + + + if use doc; then + ln -sf doc/reference/html reference + dohtml -r doc/README.html doc/style.css reference + doman doc/reference/man/man*/* + fi + + if use examples; then + docinto examples + dodoc examples/testd.c + fi + + rm -rf "${ED}"/usr/share/doc/${PF}/{README.html,style.css} || die "rm failed" +} diff --git a/dev-libs/libdaemon/libdaemon-0.14-r2.ebuild b/dev-libs/libdaemon/libdaemon-0.14-r2.ebuild new file mode 100644 index 000000000000..6de3cea08773 --- /dev/null +++ b/dev-libs/libdaemon/libdaemon-0.14-r2.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit libtool eutils multilib-minimal + +DESCRIPTION="Simple library for creating daemon processes in C" +HOMEPAGE="http://0pointer.de/lennart/projects/libdaemon/" +SRC_URI="http://0pointer.de/lennart/projects/${PN}/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd" +IUSE="doc examples static-libs" + +RDEPEND="" +DEPEND="doc? ( app-doc/doxygen )" + +DOCS=( "README" ) + +src_prepare() { + epatch_user + + # doxygen is broken with out-of-source builds + multilib_copy_sources +} + +multilib_src_configure() { + econf \ + --docdir="${EPREFIX}/usr/share/doc/${PF}" \ + --localstatedir=/var \ + --disable-examples \ + --disable-lynx \ + $(use_enable static-libs static) +} + +multilib_src_compile() { + emake + + if multilib_is_native_abi && use doc; then + einfo "Building documentation" + emake doxygen + fi +} + +multilib_src_install() { + emake DESTDIR="${D}" install + + if multilib_is_native_abi && use doc; then + ln -sf doc/reference/html reference + dohtml -r doc/README.html doc/style.css reference + doman doc/reference/man/man*/* + fi + +} + +multilib_src_install_all() { + einstalldocs + prune_libtool_files --all + + if use examples; then + docinto examples + dodoc examples/testd.c + fi + + rm "${ED}"/usr/share/doc/${PF}/{README.html,style.css} || die "rm failed" +} diff --git a/dev-libs/libdaemon/metadata.xml b/dev-libs/libdaemon/metadata.xml new file mode 100644 index 000000000000..03f633b16af3 --- /dev/null +++ b/dev-libs/libdaemon/metadata.xml @@ -0,0 +1,7 @@ + + + + + eva@gentoo.org + + diff --git a/dev-libs/libdbh/Manifest b/dev-libs/libdbh/Manifest new file mode 100644 index 000000000000..99aded5c313a --- /dev/null +++ b/dev-libs/libdbh/Manifest @@ -0,0 +1,4 @@ +DIST libdbh2-5.0.19.tar.gz 1608949 SHA256 2e534f24c4df99f6e2ba726e3982d7361b56361ed5eb16e7dfdc07fac26ceba2 SHA512 35c368e82f8f7c4c7d4960731214ff3863530795b16716c0be7351e0ca10740ac26a99930369f4df78c8e108d929124c222b5942ce5f521ecb58afd38d55bbe9 WHIRLPOOL 33c68c83e55f90bfa19ee10e9ba37b1dba95d1506b40bb9b992df151e96f35dc87d0969bfc3c2c8a0d5d95862a5d36e9a37199a7e94af26128870a9f3ff5939b +EBUILD libdbh-5.0.19.ebuild 703 SHA256 d5fae5e4c299ba1d3edc5358172590b5da529e806aa5465bfe9d6b0132360a6b SHA512 a717d9b3cbfbe4da717f3bf6ad358ad8f708f4abf5f53d86f3902ec547e57237bbc63644d5ff3c0babfbf2ea1c4e38f3bec212af1091ef98630d28fd35c144a1 WHIRLPOOL b9f9cabab597435114eb342a5a382b72d216c38c62113b5e98fcc4409be94a850da764d6071cafd361fc19771bc16bad6af549173a0a7b7bcda551a7bb142877 +MISC ChangeLog 1082 SHA256 0a0d90c83c71b852c663df9ae7162baee095c44359c044962779e8923468ab2a SHA512 1409659a01bc41b316b737452febdfc13c14c1d46a5fb8957aa369c90a2d70916a81d44b98ceeb4dbb9b213261087472b599101607f066781192d2f78dbfc740 WHIRLPOOL 8062562e5e2fb50128c9823575f91c0bb6b151c15bab0f2d11693a118065c9bde4e94d9b2be55184a2cdb1c719a16adf0b45cbce40b1c16c0e5a7c42112301a0 +MISC metadata.xml 212 SHA256 e912fac762a101edcd0bf05ed49ea7a2599b219b65b1f557f049e2bbab53d20d SHA512 427caa93b253fae497d27fcf90d059c9e109014a354e041bb0d0da5b40e512f0d8ae0dad52442300d086a06ada7e8d244a51bef1c30bfc92fe4db14a8b08a0c8 WHIRLPOOL e183795f5282cea27b79dbcec11fbf4bb99f18989c98bdcdab26f0d114ee78140d5cab1935fc18fdbad94884b3b94171ec4351ce3968887e4c41244cb03c783f diff --git a/dev-libs/libdbh/libdbh-5.0.19.ebuild b/dev-libs/libdbh/libdbh-5.0.19.ebuild new file mode 100644 index 000000000000..f3e99a35c217 --- /dev/null +++ b/dev-libs/libdbh/libdbh-5.0.19.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit autotools eutils + +MY_P=${PN}2-${PV} + +DESCRIPTION="a small library to create and manage 64-bit disk based hash tables" +HOMEPAGE="https://www.gnu.org/software/libdbh/" +SRC_URI="mirror://sourceforge/dbh/dbh/${PV}/${MY_P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND="" +DEPEND="${RDEPEND} + dev-util/gtk-doc-am + virtual/pkgconfig" + +S="${WORKDIR}"/${MY_P} + +pkg_setup() { + DOCS=( AUTHORS ChangeLog NEWS README TODO ) +} + +src_prepare() { + sed -i -e "s:-O2:${CFLAGS}:" m4/rfm-conditionals.m4 || die + eautoreconf +} + +src_install() { + default + prune_libtool_files +} diff --git a/dev-libs/libdbh/metadata.xml b/dev-libs/libdbh/metadata.xml new file mode 100644 index 000000000000..1284f7758ccf --- /dev/null +++ b/dev-libs/libdbh/metadata.xml @@ -0,0 +1,7 @@ + + + + + dbh + + diff --git a/dev-libs/libdbusmenu-qt/Manifest b/dev-libs/libdbusmenu-qt/Manifest new file mode 100644 index 000000000000..b0c34f2cd9c3 --- /dev/null +++ b/dev-libs/libdbusmenu-qt/Manifest @@ -0,0 +1,7 @@ +AUX libdbusmenu-qt-0.9.3_pre20140619-optionaltests.patch 383 SHA256 ecd136a04d75f7f7bb0579b3f873a7c2672af632c4b0265c856c2dcbabe618fe SHA512 e4eb10ac0be553efb57b1b9d74dd28e05ad370b3e1e38496122c950083181184f4d442790ff3017badcabf2393424b6416ad268d7cc3f9ec60cee6048d091271 WHIRLPOOL 65d8e8a9c25466847f14b8c3cc11c743c0ade5c828441ba56285c1b5f6bfdb1dda2670dd31d3b26b98d2c1579efc67272b0f11f2b7317a1469e9b1d9976b58d6 +DIST libdbusmenu-qt_0.9.3+16.04.20160218.orig.tar.gz 46438 SHA256 a8e6358a31c44ccdf1bfc46c95a77a6bfc7fc1f536aadb913ed4f4405c570cf6 SHA512 dfaba59cedd320e6a3b5a9c0a5e13fb9e0952224e39cdd6ee3b32b03d95ac850a533e2a73835a7c0ead93b2283b9c235472bacb84e3d761ebe9e9398345314a9 WHIRLPOOL 7832fc56c09e232415befdd032db9498499e722a727215d27796db8cfff104ef7e6b11c8534d42496e4be7dcaec33116d7b2cabe443562a5a364fe5a6dc59a3e +EBUILD libdbusmenu-qt-0.9.3_pre20160218-r1.ebuild 2660 SHA256 f9e90988eadf02c27935d787810dd63071a8d9530401143fb90d1e9e65019b93 SHA512 3503729253bd0d16241a0357eb1a5385908b4f1277e0dfddbf4d40131d335ba376209a311ffb451dde97aa749e3499ecd7fcb4fe41b1dcfb47530820f4a4c460 WHIRLPOOL 0f7aa779a2cc3e30ad8c6004e9b63603387815070f06750858f1a9422b28a5297e4edc6e10604288dfce79b6f64e2811082ed023cb0042667f4e222d9565afce +EBUILD libdbusmenu-qt-0.9.3_pre20160218.ebuild 2754 SHA256 3984a267b0860e505a0c6a5bc81273304e118469dfd62f4c637b1a7a664ce8ec SHA512 385479a9854ce55cef1b6567a400b9c0838023dffaff8813466ad8e823d183d0f64abc6a739b3688d3b2222e3a1aeaf77bf74acc50cb133eeca27a2c1190d4e6 WHIRLPOOL 496646ef72a9c52b9cea0f4137690c07e33166f3c0f76f03d52a7660e665cdc6e2edc1d2e5ad99522920890704e6c39896eff152f0ae748830cd25187021d2ad +MISC ChangeLog 4664 SHA256 2f34bfdbbdd2a75fe6938ff1aeadd39c08a237936cf20f32e9fa5c37d964a083 SHA512 3bd689176a19296dec9ffecfcec114847407e0cd086f42c625c16c9e9ea1836342ad4823104a4390377c2ed4b10666ff4ad5f7c6691ee70a5b8c1930b8ea316f WHIRLPOOL 9e838d9c4e14c61361642ebc1ba1ff23265cbb6b3a724de408a930e7439b15340f788cb6ba60f70d9d1ac67d17ae6bb4e44f935c4e5d4cc99fc95aeaa44cc3b1 +MISC ChangeLog-2015 6641 SHA256 8734d31e1510d308bc8bd314412380da5965934aa52a718a4e77cc1bb4871c9c SHA512 c1092290dabb2e554172ca34f01e6e4c5f81be97f2e284faf49fa5f08ce9ab8096ed403349020b79669e569a6851c76304b2e5a46421064d8678d427fefdf29d WHIRLPOOL 688dbdf2ff937c7f67153eb75ddf6646a2625484aee05ecd6c3f6ac470da5ab8e77a1684c93f02554ccd53cdc2241e5598b4aa8dbf7ffbeb35676b814fa1527a +MISC metadata.xml 323 SHA256 e61686bcd88c232329dbb253d1114bc13ff67a3ff842aac806d1505637de2a25 SHA512 290f7befe52993609acc464791369b56b20c1584e4266166073d504dd0ea66a2e2f6f786fcc56e1928125b37dd3f7461ab29b00e17e012ef2ea6c34321f643ba WHIRLPOOL a4c7138d3d79181aec43b130aa6ed3eb3bc98f248a61205476a6b3e5fec6a88bd007a7c50dce749496a41989829db26995201c9d957ce07eba6b1d8bc5fc88c7 diff --git a/dev-libs/libdbusmenu-qt/files/libdbusmenu-qt-0.9.3_pre20140619-optionaltests.patch b/dev-libs/libdbusmenu-qt/files/libdbusmenu-qt-0.9.3_pre20140619-optionaltests.patch new file mode 100644 index 000000000000..7f6d82eb00db --- /dev/null +++ b/dev-libs/libdbusmenu-qt/files/libdbusmenu-qt-0.9.3_pre20140619-optionaltests.patch @@ -0,0 +1,16 @@ +--- CMakeLists.txt.old 2014-10-10 21:14:47.139654992 +0200 ++++ CMakeLists.txt 2014-10-10 21:16:17.114656451 +0200 +@@ -90,8 +90,12 @@ + ) + + add_subdirectory(src) ++ ++option(BUILD_TESTS "Build tests for qt4" ON) + if (NOT USE_QT5) # TODO port tests to Qt5 +-add_subdirectory(tests) ++ if(BUILD_TESTS) ++ add_subdirectory(tests) ++ endif(BUILD_TESTS) + endif() + add_subdirectory(tools) + diff --git a/dev-libs/libdbusmenu-qt/libdbusmenu-qt-0.9.3_pre20160218-r1.ebuild b/dev-libs/libdbusmenu-qt/libdbusmenu-qt-0.9.3_pre20160218-r1.ebuild new file mode 100644 index 000000000000..34335d9c8a26 --- /dev/null +++ b/dev-libs/libdbusmenu-qt/libdbusmenu-qt-0.9.3_pre20160218-r1.ebuild @@ -0,0 +1,124 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +EBZR_REPO_URI="lp:libdbusmenu-qt" + +[[ ${PV} == 9999* ]] && inherit bzr +inherit cmake-multilib multibuild virtualx + +DESCRIPTION="Library providing Qt implementation of DBusMenu specification" +HOMEPAGE="https://launchpad.net/libdbusmenu-qt/" +if [[ ${PV} != 9999* ]] ; then + MY_PV=${PV/_pre/+16.04.} + SRC_URI="https://launchpad.net/ubuntu/+archive/primary/+files/${PN}_${MY_PV}.orig.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux" +fi + +LICENSE="LGPL-2" +SLOT="0" +IUSE="debug qt4" + +RDEPEND=" + dev-qt/qtcore:5 + dev-qt/qtdbus:5 + dev-qt/qtgui:5 + dev-qt/qtwidgets:5 + qt4? ( + >=dev-qt/qtcore-4.8.6:4[${MULTILIB_USEDEP}] + >=dev-qt/qtdbus-4.8.6:4[${MULTILIB_USEDEP}] + >=dev-qt/qtgui-4.8.6:4[${MULTILIB_USEDEP}] + ) +" +DEPEND="${RDEPEND} + test? ( + dev-qt/qttest:5 + qt4? ( >=dev-qt/qttest-4.8.6:4[${MULTILIB_USEDEP}] ) + ) +" + +[[ ${PV} == 9999* ]] || S=${WORKDIR}/${PN}-${MY_PV} + +DOCS=( NEWS README ) + +# tests fail due to missing connection to dbus +RESTRICT="test" + +pkg_setup() { + MULTIBUILD_VARIANTS=( $(usex qt4 4) 5 ) +} + +src_prepare() { + [[ ${PV} == 9999* ]] && bzr_src_prepare + cmake-utils_src_prepare + + cmake_comment_add_subdirectory tools + use test || cmake_comment_add_subdirectory tests +} + +multilib_src_configure() { + local mycmakeargs=( + -DWITH_DOC=OFF + -DUSE_QT${QT_MULTIBUILD_VARIANT}=ON + -DQT_QMAKE_EXECUTABLE="/usr/$(get_libdir)/qt${QT_MULTIBUILD_VARIANT}/bin/qmake" + ) + cmake-utils_src_configure +} + +src_configure() { + myconfigure() { + local QT_MULTIBUILD_VARIANT=${MULTIBUILD_VARIANT} + if [[ ${MULTIBUILD_VARIANT} = 4 ]] ; then + cmake-multilib_src_configure + elif [[ ${MULTIBUILD_VARIANT} = 5 ]] ; then + multilib_src_configure + fi + } + + multibuild_foreach_variant myconfigure +} + +src_compile() { + mycompile() { + if [[ ${MULTIBUILD_VARIANT} = 4 ]] ; then + cmake-multilib_src_compile + elif [[ ${MULTIBUILD_VARIANT} = 5 ]] ; then + cmake-utils_src_compile + fi + } + + multibuild_foreach_variant mycompile +} + +src_install() { + myinstall() { + if [[ ${MULTIBUILD_VARIANT} = 4 ]] ; then + cmake-multilib_src_install + elif [[ ${MULTIBUILD_VARIANT} = 5 ]] ; then + cmake-utils_src_install + fi + } + + multibuild_foreach_variant myinstall +} + +src_test() { + mytest() { + if [[ ${MULTIBUILD_VARIANT} = 4 ]] ; then + cmake-multilib_src_test + elif [[ ${MULTIBUILD_VARIANT} = 5 ]] ; then + multilib_src_test + fi + } + + multibuild_foreach_variant mytest +} + +multilib_src_test() { + local builddir=${BUILD_DIR} + + BUILD_DIR=${BUILD_DIR}/tests virtx cmake-utils_src_test + + BUILD_DIR=${builddir} +} diff --git a/dev-libs/libdbusmenu-qt/libdbusmenu-qt-0.9.3_pre20160218.ebuild b/dev-libs/libdbusmenu-qt/libdbusmenu-qt-0.9.3_pre20160218.ebuild new file mode 100644 index 000000000000..6e5bd9b38bf2 --- /dev/null +++ b/dev-libs/libdbusmenu-qt/libdbusmenu-qt-0.9.3_pre20160218.ebuild @@ -0,0 +1,128 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +EBZR_REPO_URI="lp:libdbusmenu-qt" + +[[ ${PV} == 9999* ]] && inherit bzr +inherit cmake-multilib multibuild multilib virtualx cmake-multilib + +DESCRIPTION="A library providing Qt implementation of DBusMenu specification" +HOMEPAGE="https://launchpad.net/libdbusmenu-qt/" +if [[ ${PV} != 9999* ]] ; then + MY_PV=${PV/_pre/+16.04.} + SRC_URI="https://launchpad.net/ubuntu/+archive/primary/+files/${PN}_${MY_PV}.orig.tar.gz" + KEYWORDS="amd64 ~arm ~arm64 ppc ppc64 x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux" +fi + +LICENSE="LGPL-2" +SLOT="0" +IUSE="debug +qt4 qt5" + +REQUIRED_USE="|| ( qt4 qt5 )" + +RDEPEND=" + qt4? ( + >=dev-qt/qtcore-4.8.6:4[${MULTILIB_USEDEP}] + >=dev-qt/qtdbus-4.8.6:4[${MULTILIB_USEDEP}] + >=dev-qt/qtgui-4.8.6:4[${MULTILIB_USEDEP}] + ) + qt5? ( + dev-qt/qtcore:5 + dev-qt/qtdbus:5 + dev-qt/qtgui:5 + dev-qt/qtwidgets:5 + ) +" +DEPEND="${RDEPEND} + test? ( + qt4? ( >=dev-qt/qttest-4.8.6:4[${MULTILIB_USEDEP}] ) + qt5? ( dev-qt/qttest:5 ) + ) +" + +[[ ${PV} == 9999* ]] || S=${WORKDIR}/${PN}-${MY_PV} + +DOCS=( NEWS README ) + +# tests fail due to missing connection to dbus +RESTRICT="test" + +pkg_setup() { + MULTIBUILD_VARIANTS=( $(usex qt4 4) $(usex qt5 5) ) +} + +src_prepare() { + [[ ${PV} == 9999* ]] && bzr_src_prepare + cmake-utils_src_prepare + + cmake_comment_add_subdirectory tools + use test || cmake_comment_add_subdirectory tests +} + +multilib_src_configure() { + local mycmakeargs=( + -DWITH_DOC=OFF + -DUSE_QT${QT_MULTIBUILD_VARIANT}=ON + -DQT_QMAKE_EXECUTABLE="/usr/$(get_libdir)/qt${QT_MULTIBUILD_VARIANT}/bin/qmake" + ) + cmake-utils_src_configure +} + +src_configure() { + myconfigure() { + local QT_MULTIBUILD_VARIANT=${MULTIBUILD_VARIANT} + if [[ ${MULTIBUILD_VARIANT} = 4 ]] ; then + cmake-multilib_src_configure + elif [[ ${MULTIBUILD_VARIANT} = 5 ]] ; then + multilib_src_configure + fi + } + + multibuild_foreach_variant myconfigure +} + +src_compile() { + mycompile() { + if [[ ${MULTIBUILD_VARIANT} = 4 ]] ; then + cmake-multilib_src_compile + elif [[ ${MULTIBUILD_VARIANT} = 5 ]] ; then + cmake-utils_src_compile + fi + } + + multibuild_foreach_variant mycompile +} + +src_install() { + myinstall() { + if [[ ${MULTIBUILD_VARIANT} = 4 ]] ; then + cmake-multilib_src_install + elif [[ ${MULTIBUILD_VARIANT} = 5 ]] ; then + cmake-utils_src_install + fi + } + + multibuild_foreach_variant myinstall +} + +src_test() { + mytest() { + if [[ ${MULTIBUILD_VARIANT} = 4 ]] ; then + cmake-multilib_src_test + elif [[ ${MULTIBUILD_VARIANT} = 5 ]] ; then + multilib_src_test + fi + } + + multibuild_foreach_variant mytest +} + +multilib_src_test() { + local builddir=${BUILD_DIR} + + BUILD_DIR=${BUILD_DIR}/tests virtx cmake-utils_src_test + + BUILD_DIR=${builddir} +} diff --git a/dev-libs/libdbusmenu-qt/metadata.xml b/dev-libs/libdbusmenu-qt/metadata.xml new file mode 100644 index 000000000000..282ea1c42645 --- /dev/null +++ b/dev-libs/libdbusmenu-qt/metadata.xml @@ -0,0 +1,11 @@ + + + + + kde@gentoo.org + Gentoo KDE Project + + + ubuntu + + diff --git a/dev-libs/libdbusmenu/Manifest b/dev-libs/libdbusmenu/Manifest new file mode 100644 index 000000000000..f4cbb341284c --- /dev/null +++ b/dev-libs/libdbusmenu/Manifest @@ -0,0 +1,9 @@ +AUX libdbusmenu-12.10.2-gtk2-signal-fix.patch 1379 SHA256 7e02be3d1a0de22b48aa6c6aeffcaee9a150cd5b0888b14d7548cdefad1e835a SHA512 a96488c1522a202248fdaa9e3ca6a4a8c50d548e4e347894a3f30708b883a46c291cc5c5d611e58cafa5ca020451d3c358c8011a227af7f19129f897db8ddc78 WHIRLPOOL 0ccd4fd7b1e5447e0f45e85f2ca010133042fc4103b0c29764c5bd70054eb1a1dce1c38d0e7a29aeda7ed13c2e2288d3258f17946ea9b70b02c101cdcff19aa5 +AUX libdbusmenu-16.04.0-configure-fix.patch 1268 SHA256 e6e1dd702dbd97e2cc4c9015995441556f85d58c7fcafbaacf9d96bc3dce709d SHA512 e872017556eb7e6b23a9c80e478b9e25be604bd2500be94879bad6634150265bb7b2979fc3cbe05a06dc9f3ca115ab57457853b37c6db622b5ec4bb23abff2bd WHIRLPOOL 040d896b1906079c673f08d095bcb26b2afb0b20f299d6127c2476dc6157ad447b1e647702aab47f8a4acfd0c19590cb4891b7ffb40b8913e93f0aa5c0730886 +DIST libdbusmenu-12.10.2.tar.gz 735730 SHA256 9d6ad4a0b918b342ad2ee9230cce8a095eb601cb0cee6ddc1122d0481f9d04c9 SHA512 cf2e50dc3adbf35d0a4ccdd62a3efd9fae2d079b8d06e6522b70f077f89ac2cf72188e380f476e38d184b69549e90b801bf1e32174fa94bbe612dd52aec94496 WHIRLPOOL 3e75fd0bcbadcff8f4e4cd3a2be33a3aa7cf715413b1a67c5430b9420a965d64db2d988fa5c21fc42c6458ad4ed479c400b28b8a94074cb7223ab0a03ad985eb +DIST libdbusmenu-16.04.0.tar.gz 760376 SHA256 b9cc4a2acd74509435892823607d966d424bd9ad5d0b00938f27240a1bfa878a SHA512 ee9654ac4ed94bdebc94a6db83b126784273a417a645b2881b2ba676a5f67d7fc95dd2bb37bfb0890aa47299ed73cb21ed7de8b75f3fed6b69bfd39065062241 WHIRLPOOL 0242614bf02ad9028e0a9c697dd7bf5ad35665b6fd73eaad9669345f8800e841cacb7912ffeb9ee38b7b3568b6d8141a42e4aee2f292e5df2b9a9cab77d869e4 +EBUILD libdbusmenu-12.10.2-r2.ebuild 3455 SHA256 73400e32c2fff281a21df9927e3c354481304b1ddee6c4898a01e260428c86b7 SHA512 a2a38070422f02554b039213ee071f49d8b62578273e9adc87edc643c3550ebdbd67f161544785edec94ae48439f7ee720d11c537cc34aec6a56731c493f925f WHIRLPOOL 324c227978b2b69675737516c298221498436ab72464a22d8705c526c0419be1404bf705119adea8f168cd9ecaa50a2c1c2ce4a86afa32c144cfc2312490c227 +EBUILD libdbusmenu-16.04.0.ebuild 3977 SHA256 2689a6fa4c2df18def77c4664bc187e78ff96f95761968da1cad23b737e8aa00 SHA512 ee207f9dc1deac80441ee2195bb232447ec233a43066383eb00642c4075ef8236663e48eb9f13dbe8c5d22b396e3fef20acfeb6a6df4e0d48d4479e413f9525c WHIRLPOOL 5778823cb2f74301d11ac199e09c1c05be4fa88885eb68075d4663e5350893c1c7be82e8b30a8c4e4aaa64039b3de8c11da6feed12465abfe39603b1b35863ff +MISC ChangeLog 5285 SHA256 c943c1f41dd4741550f65c4aa98d5785aa2101ee43a4f07e0e8d3155b1866102 SHA512 f1403a75ef4124fb11696608d9d3b5f5e92b67106353e9fb9709e602ab588b63b7eb71d45d75d076f828195d1456ff014144efd841d297f5e96420531957ef2a WHIRLPOOL 50c3e610284a32fef40493d1d85e8114783e3b2d487c534508ac533a9090b15de1f931504c6928412fc035cd04f9e98da66618465b56f05167d996215085668d +MISC ChangeLog-2015 7840 SHA256 6892b6ef59be8951515d951d7fd0eb9212ba193f844309736f874d927b6f176c SHA512 fb2ef2a3f3045be746616baf23a15237453288c9b818a5a304ed9d7d3a8a1c44c12cb6681eb1cec0b827069c673106327fb433c061090466e32677907dbaef7a WHIRLPOOL d94dad486232602b48c92c58cba56e41eefb56701a9424a50803ff96dd0a8ca98d81617d53b2d47105371141b53dae4114bd5b7389f1ed378c8389219f851a33 +MISC metadata.xml 491 SHA256 f41253a8dae06c7302ff9cc3e3bf61d7cadaba48d36be37bf695f9c4cd878559 SHA512 9183ab899735954d60ecb8b7ca394a72bc519b291fb2032cf5888711ab0f748bed9bc1cfb657ea6c34224b657df5634ab4d54a5bf89fbb0762d5a23d90425d12 WHIRLPOOL 4979f3ea8ba1dde00287a0a3d0fa6cd500d0e80e1323e7aba2cc091026d6820acea96511c12c35edf8703a623cdbc349cf27200360444a669f60443e8bf30079 diff --git a/dev-libs/libdbusmenu/files/libdbusmenu-12.10.2-gtk2-signal-fix.patch b/dev-libs/libdbusmenu/files/libdbusmenu-12.10.2-gtk2-signal-fix.patch new file mode 100644 index 000000000000..6d270f1370bf --- /dev/null +++ b/dev-libs/libdbusmenu/files/libdbusmenu-12.10.2-gtk2-signal-fix.patch @@ -0,0 +1,36 @@ +=== modified file 'libdbusmenu-gtk/parser.c' +--- libdbusmenu-gtk/parser.c 2013-06-18 19:59:44 +0000 ++++ libdbusmenu-gtk/parser.c 2013-11-03 02:46:23 +0000 +@@ -97,9 +97,7 @@ + gpointer data); + static void item_inserted_cb (GtkContainer * menu, + GtkWidget * widget, +-#ifdef HAVE_GTK3 + gint position, +-#endif + gpointer data); + static void item_removed_cb (GtkContainer * menu, + GtkWidget * widget, +@@ -431,11 +429,7 @@ + + pdata->shell = menu; + pdata->item_inserted_handler_id = g_signal_connect (G_OBJECT (menu), +-#ifdef HAVE_GTK3 + "insert", +-#else +- "child-added", +-#endif + G_CALLBACK (item_inserted_cb), + mi); + pdata->item_removed_handler_id = g_signal_connect (G_OBJECT (menu), +@@ -1394,9 +1388,7 @@ + static void + item_inserted_cb (GtkContainer *menu, + GtkWidget *widget, +-#ifdef HAVE_GTK3 + gint position, +-#endif + gpointer data) + { + DbusmenuMenuitem *menuitem = (DbusmenuMenuitem *)data; + diff --git a/dev-libs/libdbusmenu/files/libdbusmenu-16.04.0-configure-fix.patch b/dev-libs/libdbusmenu/files/libdbusmenu-16.04.0-configure-fix.patch new file mode 100644 index 000000000000..a57877810904 --- /dev/null +++ b/dev-libs/libdbusmenu/files/libdbusmenu-16.04.0-configure-fix.patch @@ -0,0 +1,35 @@ +From 4b79b41a25cc1e2c4355738b4bed6c73b919ffee Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= +Date: Sun, 6 Aug 2017 17:55:45 +0200 +Subject: [PATCH] configure: Fix HAVE_VALGRIND not being defined when tests are + disabled + +If --disable-tests is used, configure fails with the following error: + + configure: error: conditional "HAVE_VALGRIND" was never defined. + Usually this means the macro was only invoked conditionally. + +This is because AM_CONDITIONAL for it is called inside the 'if' for +tests being enabled. Move it just below that block to ensure that it's +defined unconditionally. +--- + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index ace54d1..cbd38a6 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -120,8 +120,8 @@ PKG_CHECK_MODULES(DBUSMENUTESTS, json-glib-1.0 >= $JSON_GLIB_REQUIRED_VERSION + [have_tests=yes] + ) + PKG_CHECK_MODULES(DBUSMENUTESTSVALGRIND, valgrind, have_valgrind=yes, have_valgrind=no) +-AM_CONDITIONAL([HAVE_VALGRIND], [test "x$have_valgrind" = "xyes"]) + ]) ++AM_CONDITIONAL([HAVE_VALGRIND], [test "x$have_valgrind" = "xyes"]) + + AC_SUBST(DBUSMENUTESTS_CFLAGS) + AC_SUBST(DBUSMENUTESTS_LIBS) +-- +2.14.0 + diff --git a/dev-libs/libdbusmenu/libdbusmenu-12.10.2-r2.ebuild b/dev-libs/libdbusmenu/libdbusmenu-12.10.2-r2.ebuild new file mode 100644 index 000000000000..1689f6f879ba --- /dev/null +++ b/dev-libs/libdbusmenu/libdbusmenu-12.10.2-r2.ebuild @@ -0,0 +1,131 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +VALA_MIN_API_VERSION=0.16 +VALA_USE_DEPEND=vapigen +PYTHON_COMPAT=( python2_7 ) + +inherit eutils flag-o-matic multilib-minimal python-single-r1 vala xdg-utils + +DESCRIPTION="Library to pass menu structure across DBus" +HOMEPAGE="https://launchpad.net/dbusmenu" +SRC_URI="https://launchpad.net/${PN/lib}/${PV%.*}/${PV}/+download/${P}.tar.gz" + +LICENSE="LGPL-2.1 LGPL-3" +SLOT="0" +KEYWORDS="alpha amd64 ~arm ~arm64 hppa ~mips ppc ppc64 sparc x86" +IUSE="debug gtk gtk3 +introspection" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + >=dev-libs/dbus-glib-0.100[${MULTILIB_USEDEP}] + >=dev-libs/json-glib-0.13.4[${MULTILIB_USEDEP}] + >=dev-libs/glib-2.32[${MULTILIB_USEDEP}] + dev-libs/libxml2[${MULTILIB_USEDEP}] + ${PYTHON_DEPS} + gtk? ( x11-libs/gtk+:2[introspection?,${MULTILIB_USEDEP}] ) + gtk3? ( >=x11-libs/gtk+-3.2:3[introspection?,${MULTILIB_USEDEP}] ) + introspection? ( >=dev-libs/gobject-introspection-1 ) + !<${CATEGORY}/${PN}-0.5.1-r200" +DEPEND="${RDEPEND} + app-text/gnome-doc-utils + dev-util/intltool + sys-devel/gettext + virtual/pkgconfig[${MULTILIB_USEDEP}] + introspection? ( $(vala_depend) )" + +pkg_setup() { + xdg_environment_reset + python-single-r1_pkg_setup +} + +src_prepare() { + if use introspection; then + vala_src_prepare + export VALA_API_GEN="${VAPIGEN}" + fi + python_fix_shebang tools + + # remove reliance on custom Ubuntu hacks in old GTK+2 + epatch "${FILESDIR}/${P}-gtk2-signal-fix.patch" + epatch_user +} + +multilib_src_configure() { + append-flags -Wno-error #414323 + + local myconf=( + --disable-gtk + --disable-static + --disable-silent-rules + --disable-scrollkeeper + # dumper extra tool is only for GTK+-2.x, tests use valgrind which is stupid + --disable-dumper + $(multilib_native_use_enable introspection) + $(multilib_native_use_enable introspection vala) + $(use_enable debug massivedebugging) + ) + local ECONF_SOURCE=${S} + econf "${myconf[@]}" + + GTK_VARIANTS=( $(usex gtk 2 '') $(usex gtk3 3 '') ) + local MULTIBUILD_VARIANTS=( "${GTK_VARIANTS[@]}" ) + local top_builddir=${BUILD_DIR} + + gtk_configure() { + local gtkconf=( + "${myconf[@]}" + --enable-gtk + --with-gtk="${MULTIBUILD_VARIANT}" + ) + mkdir -p "${BUILD_DIR}" || die + cd "${BUILD_DIR}" || die + econf "${gtkconf[@]}" + + rm -r libdbusmenu-glib || die + ln -s "${top_builddir}"/libdbusmenu-glib libdbusmenu-glib || die + } + [[ ${GTK_VARIANTS[@]} ]] && multibuild_foreach_variant gtk_configure +} + +gtk_emake() { + emake -C "${BUILD_DIR}"/libdbusmenu-gtk "${@}" + multilib_is_native_abi && \ + emake -C "${BUILD_DIR}"/docs/libdbusmenu-gtk "${@}" +} + +multilib_src_compile() { + emake + + local MULTIBUILD_VARIANTS=( "${GTK_VARIANTS[@]}" ) + [[ ${GTK_VARIANTS[@]} ]] && multibuild_foreach_variant \ + gtk_emake +} + +src_test() { :; } #440192 + +multilib_src_install() { + emake -j1 DESTDIR="${D}" install + + local MULTIBUILD_VARIANTS=( "${GTK_VARIANTS[@]}" ) + [[ ${GTK_VARIANTS[@]} ]] && multibuild_foreach_variant \ + gtk_emake -j1 install DESTDIR="${D}" +} + +multilib_src_install_all() { + einstalldocs + prune_libtool_files +} + +pkg_preinst() { + # kill old symlinks that Portage will preserve and break install + if [[ -L ${EROOT}/usr/share/gtk-doc/html/libdbusmenu-glib ]]; then + rm -v "${EROOT}/usr/share/gtk-doc/html/libdbusmenu-glib" || die + fi + if [[ -L ${EROOT}/usr/share/gtk-doc/html/libdbusmenu-gtk ]]; then + rm -v "${EROOT}/usr/share/gtk-doc/html/libdbusmenu-gtk" || die + fi +} diff --git a/dev-libs/libdbusmenu/libdbusmenu-16.04.0.ebuild b/dev-libs/libdbusmenu/libdbusmenu-16.04.0.ebuild new file mode 100644 index 000000000000..93b4219e284b --- /dev/null +++ b/dev-libs/libdbusmenu/libdbusmenu-16.04.0.ebuild @@ -0,0 +1,151 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +VALA_MIN_API_VERSION=0.16 +VALA_USE_DEPEND=vapigen +PYTHON_COMPAT=( python2_7 ) +VIRTUALX_REQUIRED=manual + +inherit autotools flag-o-matic multilib-minimal python-single-r1 vala \ + virtualx xdg-utils + +DESCRIPTION="Library to pass menu structure across DBus" +HOMEPAGE="https://launchpad.net/dbusmenu" +SRC_URI="https://launchpad.net/${PN/lib}/${PV%.*}/${PV}/+download/${P}.tar.gz" + +LICENSE="LGPL-2.1 LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64" +IUSE="debug gtk gtk3 +introspection test" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + >=dev-libs/dbus-glib-0.100[${MULTILIB_USEDEP}] + >=dev-libs/glib-2.35.4[${MULTILIB_USEDEP}] + dev-libs/libxml2[${MULTILIB_USEDEP}] + ${PYTHON_DEPS} + gtk? ( x11-libs/gtk+:2[introspection?,${MULTILIB_USEDEP}] ) + gtk3? ( >=x11-libs/gtk+-3.2:3[introspection?,${MULTILIB_USEDEP}] ) + introspection? ( >=dev-libs/gobject-introspection-1 ) + !<${CATEGORY}/${PN}-0.5.1-r200" +# tests also have optional dep on valgrind which we do not enforce +DEPEND="${RDEPEND} + app-text/gnome-doc-utils + dev-util/intltool + sys-devel/gettext + virtual/pkgconfig[${MULTILIB_USEDEP}] + introspection? ( $(vala_depend) ) + test? ( + >=dev-libs/json-glib-0.13.4[${MULTILIB_USEDEP}] + >=dev-util/dbus-test-runner-15.04.0_p100 + gtk? ( ${VIRTUALX_DEPEND} ) + gtk3? ( ${VIRTUALX_DEPEND} ) + )" + +pkg_setup() { + xdg_environment_reset + python-single-r1_pkg_setup +} + +src_prepare() { + if use introspection; then + vala_src_prepare + export VALA_API_GEN="${VAPIGEN}" + fi + python_fix_shebang tools + + eapply "${FILESDIR}/${P}-configure-fix.patch" + eapply_user + eautoreconf +} + +multilib_src_configure() { + append-flags -Wno-error #414323 + + local myconf=( + --cache-file="${BUILD_DIR}"/config.cache + --disable-gtk + --disable-static + # dumper extra tool is only for GTK+-2.x + --disable-dumper + $(multilib_native_use_enable introspection) + $(multilib_native_use_enable introspection vala) + $(use_enable debug massivedebugging) + $(use_enable test tests) + ) + local ECONF_SOURCE=${S} + econf "${myconf[@]}" + + GTK_VARIANTS=( $(usex gtk 2 '') $(usex gtk3 3 '') ) + local MULTIBUILD_VARIANTS=( "${GTK_VARIANTS[@]}" ) + local top_builddir=${BUILD_DIR} + + gtk_configure() { + local gtkconf=( + "${myconf[@]}" + --enable-gtk + --with-gtk="${MULTIBUILD_VARIANT}" + ) + mkdir -p "${BUILD_DIR}" || die + cd "${BUILD_DIR}" || die + econf "${gtkconf[@]}" + + rm -r libdbusmenu-glib || die + ln -s "${top_builddir}"/libdbusmenu-glib libdbusmenu-glib || die + } + [[ ${GTK_VARIANTS[@]} ]] && multibuild_foreach_variant gtk_configure +} + +gtk_emake() { + emake -C "${BUILD_DIR}"/libdbusmenu-gtk "${@}" + multilib_is_native_abi && \ + emake -C "${BUILD_DIR}"/docs/libdbusmenu-gtk "${@}" +} + +multilib_src_compile() { + emake + + local MULTIBUILD_VARIANTS=( "${GTK_VARIANTS[@]}" ) + [[ ${GTK_VARIANTS[@]} ]] && multibuild_foreach_variant \ + gtk_emake +} + +multilib_src_test() { + emake check + + gtk_test() { + # please keep the list of GTK+ tests up-to-date + emake -C "${BUILD_DIR}"/tests check \ + TESTS="test-gtk-objects-test test-gtk-label + test-gtk-shortcut test-gtk-reorder test-gtk-remove" + } + local MULTIBUILD_VARIANTS=( "${GTK_VARIANTS[@]}" ) + [[ ${GTK_VARIANTS[@]} ]] && virtx multibuild_foreach_variant \ + gtk_test +} + +multilib_src_install() { + emake -j1 DESTDIR="${D}" install + + local MULTIBUILD_VARIANTS=( "${GTK_VARIANTS[@]}" ) + [[ ${GTK_VARIANTS[@]} ]] && multibuild_foreach_variant \ + gtk_emake -j1 install DESTDIR="${D}" +} + +multilib_src_install_all() { + einstalldocs + find "${D}" -name '*.la' -delete || die +} + +pkg_preinst() { + # kill old symlinks that Portage will preserve and break install + if [[ -L ${EROOT}/usr/share/gtk-doc/html/libdbusmenu-glib ]]; then + rm -v "${EROOT}/usr/share/gtk-doc/html/libdbusmenu-glib" || die + fi + if [[ -L ${EROOT}/usr/share/gtk-doc/html/libdbusmenu-gtk ]]; then + rm -v "${EROOT}/usr/share/gtk-doc/html/libdbusmenu-gtk" || die + fi +} diff --git a/dev-libs/libdbusmenu/metadata.xml b/dev-libs/libdbusmenu/metadata.xml new file mode 100644 index 000000000000..f6c24ef12fe8 --- /dev/null +++ b/dev-libs/libdbusmenu/metadata.xml @@ -0,0 +1,15 @@ + + + + + kde@gentoo.org + Gentoo KDE Project + + + Enable support for GTK+2 + Enable support for GTK+3 + + + dbusmenu + + diff --git a/dev-libs/libdivecomputer/Manifest b/dev-libs/libdivecomputer/Manifest new file mode 100644 index 000000000000..ed5795ff4b79 --- /dev/null +++ b/dev-libs/libdivecomputer/Manifest @@ -0,0 +1,8 @@ +DIST libdivecomputer-0.4.1.tar.gz 481798 SHA256 7d64032d2e5cd4d6315ebb7ed5bcccc9399166d40228ae2e96e435749b950a0a SHA512 a1104981b1820ea93c3b3e389e42996f9199c5a4c37daf16e9577d8fd29b21440521d1ea5f89ec2df2861b582fd2e748d35eb811ad0d484eacce7d13d39bf88f WHIRLPOOL 7bc1d3a856f3f41cd3126ea1df61ead93e549c39442355f7730c3f0db981e1663c1ca86ee0db0b850bc3af55af0694100a1df7ce0754af665be3dc3c9388e919 +DIST libdivecomputer-0.4.2.tar.gz 487401 SHA256 f3c5d0229de9dd82602e309273d0eb48fb0ee07fdcfc1ff8206edb6ba5154460 SHA512 590aca350d86d17a889f47238ad46f0a6a1353b5f7ed67c64a9bae303a010ab042e94a73a36c6f05f2d03d10c80b1fae49431ad581b3024db83b81711d5d1048 WHIRLPOOL c6cd91feae2a0a87bc7fc09021239f7210b99b27e51b372d35090304ce91c2166ac077d211a3aecd18ce7d89bb191c9cf6496bc9f6ddd727832de6eca74c91c3 +EBUILD libdivecomputer-0.4.1.ebuild 1479 SHA256 47823fe1d818fa7ad0f3b2a67aade6bb615cb74b366ca556702ba8f7679c52f9 SHA512 21e604750a37e9e4d2bcf7378c18cefda7b3cfe1adbe467d72ff8f1cb36adc20654b99ffa8491bd8b1ab640c39b1a33dacf1f3590ba9c372ff1c58d90683baec WHIRLPOOL f95611c7e2020f621776c1b9e61e350b02ff905a0290d39ef283d6001b722a7510f237ed418934c17732b457dcbaa4f7fd1fe5e9c44a12f8baaa4bd4f14cafe2 +EBUILD libdivecomputer-0.4.2.ebuild 1479 SHA256 47823fe1d818fa7ad0f3b2a67aade6bb615cb74b366ca556702ba8f7679c52f9 SHA512 21e604750a37e9e4d2bcf7378c18cefda7b3cfe1adbe467d72ff8f1cb36adc20654b99ffa8491bd8b1ab640c39b1a33dacf1f3590ba9c372ff1c58d90683baec WHIRLPOOL f95611c7e2020f621776c1b9e61e350b02ff905a0290d39ef283d6001b722a7510f237ed418934c17732b457dcbaa4f7fd1fe5e9c44a12f8baaa4bd4f14cafe2 +EBUILD libdivecomputer-9999.ebuild 1331 SHA256 8bbcb30dca8ceb664de2e33cba8041337b6a5380e61dd7fb71c228b6fd45cc2a SHA512 81bd24c8afdf6a51219f31b258ca79acc52a1c95d999597085672ad9130094ecd757e6aa8ef4b824c14654202923d0c83c0793cc4175e90844f8aa0db0fd2b00 WHIRLPOOL e63e6cd73a02c93af0f7c394786e21b77a93fe00299c6b60fd9cc13a77d19cf1de392bc92d042c57de484e8fbd4f742190750f1ed10b25e87642090852ec9223 +MISC ChangeLog 2915 SHA256 1a361b28804ecb0ed3694d1ae1e9f852e3f3aa39795006fd5ac41a382541ffc8 SHA512 682a5078ed5cecd6003fd476384140eaeee6be2df5bee604f2490256c0138864a2cbbd803639ba736aee7cb5c0813f31d719a286d72ea2f0eee123588638e380 WHIRLPOOL 3c1e1c3292c58363607b5a7c0552f24f70fd2ffd3dd56508910f37ee07564c29c63af7107cf160f826ee8d05522ef3aa345112e19a114f7ca5652be2d71aebc6 +MISC ChangeLog-2015 2903 SHA256 7205d098cbf4b797eb1e23ed4324afe058e7b1da63e4908fb12a9177f6bf697d SHA512 dc674de54b6c6d3018b550efca07ef86af815203aa0c55f05138fa18f0a214795e5d949b7a3d8ab220377969078f978d5580b0692c1edab1b7d84d9bc0c3dc94 WHIRLPOOL 5986d2ece2247c6be4593fc6fb5899e14f23248d6cf6ad63275b64e26074509b57944f5ace4ee94a2ba0f88a413347df00b9b099c7cd4bbe768202a7deaa686d +MISC metadata.xml 647 SHA256 256ef74798758f9a0354f8cb0b6211e9074d4589f83790c76b7f083dc123e370 SHA512 7d3332d78af0697485bdc886603a47d14a0c325bb83d9c9ede51e9dda73a3f2cdc4562d33202c49e4591f141f03de859abbd2a91aca419c0b42f88d6a8f8a7e2 WHIRLPOOL cb77cfa558678c37162fcde1021a9c07e3040781a6177c04d972b0403947f807f46373b586434fa6d19f92bc9870ab166b51bf5593cdc1c893ee1bd78649e903 diff --git a/dev-libs/libdivecomputer/libdivecomputer-0.4.1.ebuild b/dev-libs/libdivecomputer/libdivecomputer-0.4.1.ebuild new file mode 100644 index 000000000000..36c4f31c9269 --- /dev/null +++ b/dev-libs/libdivecomputer/libdivecomputer-0.4.1.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +if [[ ${PV} = *9999* ]]; then + EGIT_REPO_URI="git://git.libdivecomputer.org/libdivecomputer.git" + GIT_ECLASS="git-2" + AUTOTOOLIZE=yes + KEYWORDS="" +else + KEYWORDS="~amd64 ~x86" +fi + +AUTOTOOLS_IN_SOURCE_BUILD=1 +inherit eutils autotools-utils ${GIT_ECLASS} + +if [[ ${PV} = *9999* ]]; then + SRC_URI="" +else + SRC_URI="http://www.divesoftware.org/libdc/releases/${P}.tar.gz" +fi + +DESCRIPTION="Library for communication with dive computers from various manufacturers" +HOMEPAGE="http://www.divesoftware.org/libdc" +LICENSE="LGPL-2.1" + +SLOT="0" +IUSE="usb +static-libs -tools" + +RDEPEND="usb? ( virtual/libusb:1 )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + if [[ -n ${AUTOTOOLIZE} ]]; then + autotools-utils_src_prepare + else + epatch_user + fi +} + +src_configure() { + autotools-utils_src_configure + + if ! use tools ; then + sed -i 's|examples||' Makefile || die "sed failed" + fi +} + +src_compile() { + autotools-utils_src_compile +} + +src_install() { + autotools-utils_src_install + + if use tools ; then + einfo "prefixing tools with 'dctool_'" + pushd "${D}/usr/bin/" + for file in * ; do + mv "${file}" "dctool_${file}" || die "prefixing tools failed" + done + popd + fi +} + +pkg_postinst() { + if use tools ; then + elog "The 'tools' USE flag has been enabled," + elog "to avoid file collisions, all ${PN}" + elog "related tools have been prefixed with 'dctool_'" + fi +} diff --git a/dev-libs/libdivecomputer/libdivecomputer-0.4.2.ebuild b/dev-libs/libdivecomputer/libdivecomputer-0.4.2.ebuild new file mode 100644 index 000000000000..36c4f31c9269 --- /dev/null +++ b/dev-libs/libdivecomputer/libdivecomputer-0.4.2.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +if [[ ${PV} = *9999* ]]; then + EGIT_REPO_URI="git://git.libdivecomputer.org/libdivecomputer.git" + GIT_ECLASS="git-2" + AUTOTOOLIZE=yes + KEYWORDS="" +else + KEYWORDS="~amd64 ~x86" +fi + +AUTOTOOLS_IN_SOURCE_BUILD=1 +inherit eutils autotools-utils ${GIT_ECLASS} + +if [[ ${PV} = *9999* ]]; then + SRC_URI="" +else + SRC_URI="http://www.divesoftware.org/libdc/releases/${P}.tar.gz" +fi + +DESCRIPTION="Library for communication with dive computers from various manufacturers" +HOMEPAGE="http://www.divesoftware.org/libdc" +LICENSE="LGPL-2.1" + +SLOT="0" +IUSE="usb +static-libs -tools" + +RDEPEND="usb? ( virtual/libusb:1 )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + if [[ -n ${AUTOTOOLIZE} ]]; then + autotools-utils_src_prepare + else + epatch_user + fi +} + +src_configure() { + autotools-utils_src_configure + + if ! use tools ; then + sed -i 's|examples||' Makefile || die "sed failed" + fi +} + +src_compile() { + autotools-utils_src_compile +} + +src_install() { + autotools-utils_src_install + + if use tools ; then + einfo "prefixing tools with 'dctool_'" + pushd "${D}/usr/bin/" + for file in * ; do + mv "${file}" "dctool_${file}" || die "prefixing tools failed" + done + popd + fi +} + +pkg_postinst() { + if use tools ; then + elog "The 'tools' USE flag has been enabled," + elog "to avoid file collisions, all ${PN}" + elog "related tools have been prefixed with 'dctool_'" + fi +} diff --git a/dev-libs/libdivecomputer/libdivecomputer-9999.ebuild b/dev-libs/libdivecomputer/libdivecomputer-9999.ebuild new file mode 100644 index 000000000000..05e2cc29858a --- /dev/null +++ b/dev-libs/libdivecomputer/libdivecomputer-9999.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +if [[ ${PV} = *9999* ]]; then + EGIT_REPO_URI="git://git.libdivecomputer.org/libdivecomputer.git" + GIT_ECLASS="git-2" + AUTOTOOLS_AUTORECONF=1 + KEYWORDS="" +else + KEYWORDS="~amd64 ~x86" +fi + +AUTOTOOLS_IN_SOURCE_BUILD=1 +inherit eutils autotools-utils ${GIT_ECLASS} + +if [[ ${PV} = *9999* ]]; then + SRC_URI="" +else + SRC_URI="http://www.divesoftware.org/libdc/releases/${P}.tar.gz" +fi + +DESCRIPTION="Library for communication with dive computers from various manufacturers" +HOMEPAGE="http://www.divesoftware.org/libdc" +LICENSE="LGPL-2.1" + +SLOT="0" +IUSE="usb +static-libs -tools" + +RDEPEND="usb? ( virtual/libusb:1 )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_configure() { + autotools-utils_src_configure + + if ! use tools ; then + sed -i 's|examples||' Makefile || die "sed failed" + fi +} + +src_install() { + autotools-utils_src_install + + if use tools ; then + einfo "prefixing tools with 'dctool_'" + pushd "${D}/usr/bin/" + for file in * ; do + mv "${file}" "dctool_${file}" || die "prefixing tools failed" + done + popd + fi +} + +pkg_postinst() { + if use tools ; then + elog "The 'tools' USE flag has been enabled," + elog "to avoid file collisions, all ${PN}" + elog "related tools have been prefixed with 'dctool_'" + fi +} diff --git a/dev-libs/libdivecomputer/metadata.xml b/dev-libs/libdivecomputer/metadata.xml new file mode 100644 index 000000000000..811991d9d39e --- /dev/null +++ b/dev-libs/libdivecomputer/metadata.xml @@ -0,0 +1,19 @@ + + + + + me@bearsh.org + Martin Gysel + Proxied maintainer. Assign bugs to him. + + + proxy-maint@gentoo.org + Proxy Maintainers + + + Library for communication with dive computers from various manufacturers. + + + Install tools that can be used to test the library. + + diff --git a/dev-libs/libdivsufsort/Manifest b/dev-libs/libdivsufsort/Manifest new file mode 100644 index 000000000000..c561299ff44c --- /dev/null +++ b/dev-libs/libdivsufsort/Manifest @@ -0,0 +1,6 @@ +DIST libdivsufsort-2.0.1.tar.gz 31290 SHA256 9164cb6044dcb6e430555721e3318d5a8f38871c2da9fd9256665746a69351e0 SHA512 c82299adbd49995145872cd67e03b1c8762de99043acca48964b16c66a39347fb6211b17c9b5f6e12878983ea7cafa65991179f67e3a4cb5e5e14bb57775487e WHIRLPOOL 3a157a3c72fd4792ce6a659196516f7828ff757fe1b8aa271af78f1648c54f028e31e29b2efc870bf6849bd2fa7f3c7611d8db1ed2ba3c7470f532ae242a78b5 +EBUILD libdivsufsort-2.0.1.ebuild 550 SHA256 90d3051013efe97364b069832abd9083aa4e48dab54c96d82329feda9611bbc1 SHA512 f1a785a2b7f1398f872a72dc556b3250c6abd3467426e08af579c09bc9915ba1d72a132677fba1db6cf03b2b60c1efa32308efd8eb91b78ea66d74c215a3b493 WHIRLPOOL 61d15e0dd2db99d21b5d1c1ffd32df8109db582f2099b4f1503e48601ea72513c854ecf134afece1a93155e9e3d1057602bad2e0f48ffec91db39f18bd4120ee +EBUILD libdivsufsort-9999.ebuild 527 SHA256 6587f7b314e13a1bc49b6656c7ae077c96f47f7074ea257bac4223d319f8eae2 SHA512 f77d3a8450c9bbe13a866b8dc0b81320b985862de33387d69886c2448656013b877d0f1c308bf07a20c27de05b72e8900d881984ed09bbb88a2151a0a8686fc5 WHIRLPOOL 0013c83a8fb446be6e95b64a8ac133b30c51ebdc6bfbf6795259997b9d8c3d3658af5496e2c4e649414154b48ac1ec8fb7b6d968bb8e7e5395e25f9bae1e9a5b +MISC ChangeLog 2992 SHA256 c1584f15011639b00ae0276593173338d1980cf1065612c85a6d499aeb415a38 SHA512 6bdbbb653fc2e4070e726b26e14943a10964210d08cb07fbe917c5fceeb227e50ed00023ad65ad6739c1797506b2b17edcb3833ab3ffc1ad447a1bdefb118fa8 WHIRLPOOL aed54cea5587de3b2cf775b25b4e359b720bab6aa86e2d393d413a9eea71446d84ae3d1d68e3fc97e9e81c69a16b0330b8d3052d330440b590e9fbf73a2edf92 +MISC ChangeLog-2015 551 SHA256 c1b309094ccb1bd3fd77508a96550d56555c377e35f637a6069a30c2759a67a5 SHA512 9315f2ff2d13b7ac88e5c8b4163a6b237fc00b9b9da118e1625f969b226d24ba37c08b064b049ee6e148987cc697b1c22c19f56167108a46ac8840a2dc5bfbfc WHIRLPOOL 3011236fa22bc6a0dbe7a5ae35b278e21315e4e01c3af33aa63010a599f9c7c647ce6c394735589bd813513881430f9ebaa6d0ac58598ca65d708455188a7945 +MISC metadata.xml 331 SHA256 8b64fab8589211aebc4d2e53b5771d3652b69d427ef5f11c59ca2a3c7fa9e193 SHA512 44257e79147e95579eff4b63be25a6ec673f8a2a09e7b2240163260c3f13161585746bf9967f479aaf6094271669f1b16202a1c5766c3c638a4f9054dd9408fc WHIRLPOOL 3916a7ed1f9ff1f12c3c2f0d8a5730835810e20927a99720bba618e765083faea63a81f5e433f451028b878ca7dd646d2232d099c20dc7e7198a7608023f2354 diff --git a/dev-libs/libdivsufsort/libdivsufsort-2.0.1.ebuild b/dev-libs/libdivsufsort/libdivsufsort-2.0.1.ebuild new file mode 100644 index 000000000000..f507682f32d4 --- /dev/null +++ b/dev-libs/libdivsufsort/libdivsufsort-2.0.1.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit cmake-utils multilib + +DESCRIPTION="Suffix-sorting library (for BWT)" +HOMEPAGE="https://github.com/y-256/libdivsufsort" +SRC_URI="https://github.com/y-256/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +src_prepare() { + cmake-utils_src_prepare + + # will appreciate saner approach, if there is any + sed -i -e "s:\(DESTINATION \)lib:\1$(get_libdir):" \ + */CMakeLists.txt || die +} diff --git a/dev-libs/libdivsufsort/libdivsufsort-9999.ebuild b/dev-libs/libdivsufsort/libdivsufsort-9999.ebuild new file mode 100644 index 000000000000..9dcaf6470b58 --- /dev/null +++ b/dev-libs/libdivsufsort/libdivsufsort-9999.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +EGIT_REPO_URI="https://github.com/y-256/${PN}" +inherit cmake-utils multilib git-r3 + +DESCRIPTION="Suffix-sorting library (for BWT)" +HOMEPAGE="https://github.com/y-256/libdivsufsort" +SRC_URI="" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="" +IUSE="" + +src_prepare() { + cmake-utils_src_prepare + + # will appreciate saner approach, if there is any + sed -i -e "s:\(DESTINATION \)lib:\1$(get_libdir):" \ + */CMakeLists.txt || die +} diff --git a/dev-libs/libdivsufsort/metadata.xml b/dev-libs/libdivsufsort/metadata.xml new file mode 100644 index 000000000000..99ce3469fc7a --- /dev/null +++ b/dev-libs/libdivsufsort/metadata.xml @@ -0,0 +1,11 @@ + + + + + mgorny@gentoo.org + Michał Górny + + + y-256/libdivsufsort + + diff --git a/dev-libs/libdnet/Manifest b/dev-libs/libdnet/Manifest new file mode 100644 index 000000000000..6e9a220b857d --- /dev/null +++ b/dev-libs/libdnet/Manifest @@ -0,0 +1,6 @@ +DIST libdnet-1.12.ipv6-1.patch.gz 5124 SHA256 5e646901ae13d8aa47f0c5c063b86ecccb90780f9e3734cdbabf7a2d472c39ac SHA512 fa2380e41548ecdd978722930ecf90dffabd15cf06cbae0e113285072fe98a066f1e686b6d79e2d8b9f8adcf29783f313d61933b9e1e74e71da8dc7d741f815a WHIRLPOOL 27f356053749e1abdab24bd420f22e380e0970f7a2926474482a2e2532d1d8561f4b48d0eb243b5a62777543b3644adafd3cead4cc09f21d6cb5391a0b7e00f2 +DIST libdnet-1.12.tgz 970125 SHA256 83b33039787cf99990e977cef7f18a5d5e7aaffc4505548a83d31bd3515eb026 SHA512 b763d2caa77b8d16b531142a5bce3b862ed20198406a00e1fe7f3b45ce308b97d638b0c7f03bd8593fdd206cc1645952839bc340b77537298a3df88599835bf3 WHIRLPOOL 9e5b3a217bfef840ca0ed936dbc3573e51a9283a5a7d3ffd43606b98e8760586196261f34a2508cdcf9f868ccd08c9fd1d499252c9a43bb2f71a5b7b2c00c13e +EBUILD libdnet-1.12.ebuild 1523 SHA256 6d25378c3c32e4a35933f4b1ff77d10ed5fe2398658947946c0f5d7cdd33b3ba SHA512 0128a0f669d3ce291b65e71b725b8f8e66934df2bd0036d96fd288a03047344921e038204cb44a6db781bc07c28e38a84c785efdd84b255dd68ca607e7b8ab10 WHIRLPOOL d48cc4a8d194926838756dd50dac127a655303f146d93ce0134e31f6491fd7826fd1f3ab69206dbd5562cdb91302e4d91d4403ade6ec2efdf55d06fccd1c927b +MISC ChangeLog 3053 SHA256 540f1119a66534ac8e0822c766d9894f3ca3cf18c9be54a2307573493c320e75 SHA512 32f277478f5f2a16f6b3d8b0439bafacdbbc85c0698f208acc82814362bcb5d86d6c6506be9ade35f51580dd404a7c7641ebaf278c921700a4b3cf6666ec4a80 WHIRLPOOL 6c988dbfc9c826730cedc53bf70fd42e7d2ad21d0e041c37ae5932cfedc8a4077c32080ef951c8fe027c7311709bee07ea810ed30e03e83f287d33994b3a1884 +MISC ChangeLog-2015 9580 SHA256 393dc932c1598f069f81af7365d662a17f87e5537ae12508b203b99d067ff04c SHA512 7ab4b37fac02d509623b7d4b2ac37126b296ae8247102ebeefe3e42d2be60e1593cba7e6034454cd764b430f89ab8ac9fe7ead1a6282f1f3c101992b68b69f02 WHIRLPOOL 55edf379cbbf87211ba04328b8b80ac67dc3035bcc4327d4657d73ae5a1464afebffc4332a5e9290fc87bf895d1f79a202de946253c1f2276cd8bbef8bd55faf +MISC metadata.xml 412 SHA256 034b702831c48070bf59eef53d83df3b42df2bffab719398b0cafec86b1eebb8 SHA512 ba32dc96871e434caec3a21dea3c5f005c4aacf122312dcd44a228ae92c02c90c02339761ea091fbcad618b02cd5e4d672914c5b6263ef386d49242e19e1febe WHIRLPOOL d94023b12134fdaffa036e492c07ff032107e890bc1488db30308131f3348aa3167210088354da88cb38964a305261396a8184f2c25bcb058f66ccaeeb2d2781 diff --git a/dev-libs/libdnet/libdnet-1.12.ebuild b/dev-libs/libdnet/libdnet-1.12.ebuild new file mode 100644 index 000000000000..d1269f770acb --- /dev/null +++ b/dev-libs/libdnet/libdnet-1.12.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +AT_M4DIR="config" +PYTHON_COMPAT=( python2_7 ) +DISTUTILS_OPTIONAL=1 + +inherit autotools distutils-r1 eutils + +DESCRIPTION="simplified, portable interface to several low-level networking routines" +HOMEPAGE="https://github.com/dugsong/libdnet" +SRC_URI="https://libdnet.googlecode.com/files/${P}.tgz + ipv6? ( https://fragroute-ipv6.googlecode.com/files/${P}.ipv6-1.patch.gz )" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd" +IUSE="ipv6 python static-libs test" + +#DEPEND="test? ( dev-libs/check )" +DEPEND="python? ( ${PYTHON_DEPS} )" +RDEPEND="${DEPEND}" +RESTRICT="test" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +DOCS=( README THANKS TODO ) + +src_prepare() { + # Useless copy + rm -r trunk/ || die + + sed -i \ + -e 's/libcheck.a/libcheck.so/g' \ + -e 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|g' \ + configure.in || die + sed -i -e 's|-L@libdir@ ||g' dnet-config.in || die + use ipv6 && epatch "${WORKDIR}/${P}.ipv6-1.patch" + sed -i -e '/^SUBDIRS/s|python||g' Makefile.am || die + eautoreconf + if use python; then + cd python + distutils-r1_src_prepare + fi +} + +src_configure() { + econf \ + $(use_with python) \ + $(use_enable static-libs static) +} + +src_compile() { + default + if use python; then + cd python + distutils-r1_src_compile + fi +} + +src_install() { + default + if use python; then + cd python + unset DOCS + distutils-r1_src_install + fi + prune_libtool_files +} diff --git a/dev-libs/libdnet/metadata.xml b/dev-libs/libdnet/metadata.xml new file mode 100644 index 000000000000..041d20f37f34 --- /dev/null +++ b/dev-libs/libdnet/metadata.xml @@ -0,0 +1,12 @@ + + + + + netmon@gentoo.org + Gentoo network monitoring and analysis project + + + libdnet + dugsong/libdnet + + diff --git a/dev-libs/libdnsres/Manifest b/dev-libs/libdnsres/Manifest new file mode 100644 index 000000000000..5b71381d2263 --- /dev/null +++ b/dev-libs/libdnsres/Manifest @@ -0,0 +1,6 @@ +AUX libdnsres-0.1a-autotools.patch 1020 SHA256 cdd773f7132846f1ad78d4623c9d0478cad89d2457288b587f7a4427d73a73f2 SHA512 12709a918aaaf135f9cdacac52fed2d6ec29a171d2474f375e1a014158c98fbcd2d1b498162e1e1ccd1b78461df796c88c876253c4a0747a9b4ae428634c4708 WHIRLPOOL edc78a0ca682191b3ee4755d246bbd8b02298eeaee19347c855a3e74c8fc1e887c92239492f3857040f480deb3d40408d6936d92065a882856ad31757bc8133b +DIST libdnsres-0.1a.tar.gz 360583 SHA256 c0b94f27cb537eed42bc32ca9771f0955f717c66d34d1361e0a75600c6589307 SHA512 d6b1c248a99eeaea3524ee8af01dd31ba507179a69ffb313a167611792084d5efc99fe6462a63480932faa3493b01c3c43fc7575dab6aaade885583bee006f67 WHIRLPOOL 8ed056ef0691e3be8f7ff1aa0e8214b7eab96d0541c26d8f124a687a38d0f8cd4efa7de992c5dd2205e766af759b3b25b14bce7b2fb3884475b8b6492e52d443 +EBUILD libdnsres-0.1a-r2.ebuild 566 SHA256 f24dcc4033ace74d5840e68b7e92ea1acabda003e38b6eed42da8a8c84a86911 SHA512 ae4c6167db6205a00a1f3af6f324bba8f3d432960cd225e0f8174dc3529d9cb75947502f183bcd37a81247508a84d4bf91d7b83edc063740fcc7d634bfb7fe01 WHIRLPOOL b76ca37985445284b46efc38b2d2861819a1221cb860337951346ee53180135879b610646f8bac5a1a211f73166175a18f9fbb8c7d4325e8e280a5abaf47aed0 +MISC ChangeLog 2478 SHA256 596595354e4d8c97d449fbea412a94968ea3fe790f1adeac595a382913cb7a5b SHA512 c5d6ec2216c0e37de125bfef2cb642e1dd91c7e5364ac039ef89c07c23bb75b3fc9fa72dcf844d4a8e36b1b72739ea96c3546cc6233632b6da9e3362e61de090 WHIRLPOOL 833300ed1eb2eab99bc508003dfd38202f8767a5732b6db7e360e2f762b8b56c9901fdb802e8a3adbdabb30558e0953ae1f4ce77f376f9c2d24ecc7fc8966922 +MISC ChangeLog-2015 2798 SHA256 53a23ba28fa64ca6608076fccf445ba26bd2e5a83fd81b79ca49586176966368 SHA512 4a27304c25b4835130fcf870b6931c40d57d890aeefbec9c342bcb7cca8b7ac9c7cc4b37a09cfcb751f763643b00e48990990e32fd89db76f9b8dd84958faa4b WHIRLPOOL 52367a694df108c325562c3934144a60027e5527a51c2968276a4e5ceb775d0a0d0dcff40a1ea14c820b87c7e9eba101857c91a7b6189d1f7dcf61a0842143ff +MISC metadata.xml 821 SHA256 5dfe5f2345ffb0be8e802c601ac4cceb7b751964ecf0ebec6440582f5b881fd0 SHA512 cbb9306da8e15d166cdd09e0bf6e8a07030a12d45bda18d56f45b18e439c6e199963189047fe846dd59b33408de6a101ecb1a7c251cfb5dc5c34cc313a741134 WHIRLPOOL 8c30f0beb1d5e7fa677ec9cb83ed8a85eba106b459281167a6bd48c6fdff4533dc1d306e9a1c1209dfe671607c527399e1560204c08c7d702c6391aab70f4cec diff --git a/dev-libs/libdnsres/files/libdnsres-0.1a-autotools.patch b/dev-libs/libdnsres/files/libdnsres-0.1a-autotools.patch new file mode 100644 index 000000000000..3e2466af57f7 --- /dev/null +++ b/dev-libs/libdnsres/files/libdnsres-0.1a-autotools.patch @@ -0,0 +1,28 @@ +Index: libdnsres-0.1a/Makefile.am +=================================================================== +--- libdnsres-0.1a.orig/Makefile.am ++++ libdnsres-0.1a/Makefile.am +@@ -10,12 +10,12 @@ libdnsres_la_SOURCES = res_comp.c res_de + res_data.c res_init.c res_query.c res_send.c resolv.h dnsres.h \ + gethostnamadr.c getaddrinfo.c getservbyname.c getservent.c base64.c \ + dnsres-internal.h +-libdnsres_la_LIBADD = @LIBOBJS@ ++libdnsres_la_LIBADD = @LTLIBOBJS@ + libdnsres_la_LDFLAGS = -version-info 0:1:0 + + include_HEADERS = dnsres.h + +-CFLAGS = -Wall -O0 -g -DRESOLVSORT ++AM_CFLAGS = -Wall -g -DRESOLVSORT + INCLUDES = -I$(top_srcdir)/compat @EVENTINC@ + + man_MANS = dnsres.3 +@@ -23,7 +23,7 @@ man_MANS = dnsres.3 + noinst_PROGRAMS = simple_test + simple_test_SOURCES = test/simple_test.c + simple_test_INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/compat @EVENTINC@ +-simple_test_LDADD = -L$(top_buildir) -ldnsres @EVENTLIB@ ++simple_test_LDADD = libdnsres.la @EVENTLIB@ + + verify: libdnsres.a + cd $(srcdir)/test && make verify diff --git a/dev-libs/libdnsres/libdnsres-0.1a-r2.ebuild b/dev-libs/libdnsres/libdnsres-0.1a-r2.ebuild new file mode 100644 index 000000000000..6e760fbd0f14 --- /dev/null +++ b/dev-libs/libdnsres/libdnsres-0.1a-r2.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit autotools eutils + +DESCRIPTION="A non-blocking DNS resolver library" +HOMEPAGE="http://www.monkey.org/~provos/libdnsres/" +SRC_URI="http://www.monkey.org/~provos/${P}.tar.gz" + +LICENSE="BSD-4" +SLOT="0" +KEYWORDS="amd64 ~ppc sparc x86" + +DEPEND="dev-libs/libevent" +RDEPEND="${DEPEND}" + +DOCS=( README ) + +src_prepare() { + epatch "${FILESDIR}/${P}-autotools.patch" + sed -i configure.in -e 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|g' || die + eautoreconf +} diff --git a/dev-libs/libdnsres/metadata.xml b/dev-libs/libdnsres/metadata.xml new file mode 100644 index 000000000000..30908933eb68 --- /dev/null +++ b/dev-libs/libdnsres/metadata.xml @@ -0,0 +1,17 @@ + + + + + netmon@gentoo.org + Gentoo network monitoring and analysis project + + + Libdnsres provides a non-blocking thread-safe API for resolving DNS names. + It requires that your main application is built on top of libevent. + Libdnsres' API essentially mirrors the traditional gethostbyname and + getaddrinfo interfaces. All return values have been replaced by callbacks + instead. The code borrows heavily from the BSD resolver library. In fact, it + is an extremely ugly hack to make the BSD resolver library non-blocking and + thread-safe without changing the API too much. + + diff --git a/dev-libs/libdshconfig/Manifest b/dev-libs/libdshconfig/Manifest new file mode 100644 index 000000000000..a7b48bc495c8 --- /dev/null +++ b/dev-libs/libdshconfig/Manifest @@ -0,0 +1,7 @@ +DIST libdshconfig-0.20.12.tar.gz 316955 SHA256 aa7d7a2ec78ea03a7776fbf1899edbcc79477833c7c79c54d2bfa0106e3e359e SHA512 6ee7e813599715c2217f05212e0efb94d9588f71db3f3f470e50e9fbde93be3fd3ce3b8164251ea647e76ba9fd0db502985b5fc1e3afffdf9074a00ee9900b64 WHIRLPOOL 8cebd2327e6636b2476530c5eb35919bef11212d14989ff26658714ad34848c81dddc0bddeebbe8fbd1ab03e13071f9d2d22c588776b6f018e682c2fda1fc400 +DIST libdshconfig-0.20.13.tar.gz 323720 SHA256 6f372686c5d8d721820995d2b60d2fda33fdb17cdddee9fce34795e7e98c5384 SHA512 04f3580bf1e1dbac130d350eb4c6e86a980f2ae8636a206821813ed0e14db07dc7ea720ebb3816455a4a939294caa2f2247b7348ecea72769a6f05bee0dbf19a WHIRLPOOL 401f791c88bf5048a0b296ec32ec75128322b2db61b94e82221ce7f1b18c4feba6fd573eed1a2356ca9b56a09ce7a63157dcd54585c0e6dba5214de15a2f1fbf +EBUILD libdshconfig-0.20.12.ebuild 534 SHA256 43742e499162676c67aaaf7061c5c2b58737b0e0a90b1aa16cb1c771156bdd4f SHA512 8bf6411b0c712bbbf99c0c1fbaba9aee2817c0861f4dd3d87403bb995afc1e9350e304e972e94079c0eff6c4bd6548d83e1516d3f28f4ef9b0d3706fb4c94831 WHIRLPOOL 114d07813675d2cd249c7d3eba652d7ddac3b5bd9ef104700f1769ea507cbf8b1aa6716d9697ff6a88b2b5bc08b98072a6a6cc7b08570b5c6c324fadb5ace067 +EBUILD libdshconfig-0.20.13.ebuild 593 SHA256 8e76f882990ff9220ed450d591a98e1a4c6ddbae168e15590ae9110264f4bbaf SHA512 4598946e89e374431741e49d41f5112e25d9fa206e33447fa2d7240592ca864de8abe9a42648af6e790ae3adac58a276b52d5e2217bbb30eb559829ebc6814f7 WHIRLPOOL 6d12a3f174a2a7db5c8fd34f85f515cb9ec1fd0a133341d7b5473aba68dcebb21e647f73da7824746e9bd12fd407e5f53bb9799f92429ec4e44fb1a8561e2e10 +MISC ChangeLog 2512 SHA256 a8c0a3aabf4f5be34cf8911f76a4257f2d2bc9c5aa77c0fafe69cdaaa5463c0e SHA512 ff83d333986731efcf8a30afa99c659f909932920b699b6643408313e36414953cd1cf8ee4d01521a8ac480725774b3df7e0b2ce57de7260c92056c03ec39c0d WHIRLPOOL 5a558db059ac82f415877adef7f322c40e18a7eeb9c99ab45dce36aa7a3cc8c54b03f01411d14d153cf384f056956cb0a7c0554a3028d3d450063f5b87eb0fe7 +MISC ChangeLog-2015 2761 SHA256 758b2798bce8640ca71559c4774c66b02ff820ddfff73aa277ca3221e7ea5525 SHA512 60ab29fdd2e97b074de49c94c56bd97b53a1a6893082aaff7148c519977e6633d07069fdf2e45305d46c82777b67b39a88e39b007b8c90abc9be9a5fb54cac92 WHIRLPOOL 03a595510a78b01bf94017add55172982ea2da77c36bf405dab2cc885aace067fdbbb6149c60f8dccb86865adb6d98d9947557338f1a5771f0e16068a9c1b1bc +MISC metadata.xml 253 SHA256 5030a84d36a522ae62530f6406dbda5099255457f76b3ed419dcffc6d7383667 SHA512 0894860713279dc39bbe7ce3491002710b62c4476198984a0deb6328cb0012c19d7a5546299960bbe600ee240e62a603dd4c4fa04325a753cc0b7c4044c30aba WHIRLPOOL c55ba84102cbd078e50dd719902811669b3913122f44e982c90039b27067446810d881e73a22ed410edc41a409a273fd355be8a6d627bb0e67717b6a33d5fe1e diff --git a/dev-libs/libdshconfig/libdshconfig-0.20.12.ebuild b/dev-libs/libdshconfig/libdshconfig-0.20.12.ebuild new file mode 100644 index 000000000000..2c936d53095f --- /dev/null +++ b/dev-libs/libdshconfig/libdshconfig-0.20.12.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +DESCRIPTION="Library for parsing dsh.style configuration files" +HOMEPAGE="http://www.netfort.gr.jp/~dancer/software/downloads/" +SRC_URI="http://www.netfort.gr.jp/~dancer/software/downloads/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~m68k-mint" +IUSE="" + +DEPEND="" +RDEPEND="virtual/ssh" + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed." + dodoc ChangeLog +} diff --git a/dev-libs/libdshconfig/libdshconfig-0.20.13.ebuild b/dev-libs/libdshconfig/libdshconfig-0.20.13.ebuild new file mode 100644 index 000000000000..1ead61ca935b --- /dev/null +++ b/dev-libs/libdshconfig/libdshconfig-0.20.13.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +inherit eutils + +DESCRIPTION="Library for parsing dsh.style configuration files" +HOMEPAGE="http://www.netfort.gr.jp/~dancer/software/downloads/" +SRC_URI="http://www.netfort.gr.jp/~dancer/software/downloads/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~m68k-mint" +IUSE="static-libs" + +DEPEND="" +RDEPEND="virtual/ssh" + +src_configure() { + econf \ + $(use_enable static-libs static) +} + +src_install() { + default + + prune_libtool_files --all +} diff --git a/dev-libs/libdshconfig/metadata.xml b/dev-libs/libdshconfig/metadata.xml new file mode 100644 index 000000000000..4a09d7ba8d61 --- /dev/null +++ b/dev-libs/libdshconfig/metadata.xml @@ -0,0 +1,8 @@ + + + + + cluster@gentoo.org + Gentoo Cluster Project + + diff --git a/dev-libs/libdynd/Manifest b/dev-libs/libdynd/Manifest new file mode 100644 index 000000000000..5c278c55ff16 --- /dev/null +++ b/dev-libs/libdynd/Manifest @@ -0,0 +1,10 @@ +AUX libdynd-0.6.0-dont-install-test.patch 494 SHA256 b171e6dbff8c0b43984a511567d62e18b3e3d9ed848fe643a77088d951075e52 SHA512 345c2315e04775d2a2169f910b521a3e781b602a2495256d3ca022b47e0a49be621b4c2d11b8ef1f21d6c7f8055d5ebc4bf82f3b2581b6fe7f0eca1624a668f7 WHIRLPOOL b2dd7a6c00608e881073c5913adaf1e3ae788a608596ca79ea089080ac52dda8ad61b1274abf422017c7a5ea07cd350e41a73000e33bab305b0af2bb3b33dd79 +DIST libdynd-0.6.5.tar.gz 1238404 SHA256 bf2e5c88995f0da880c3d7552c2541138c0f07eb6555f0ee10c77d805f8b3f65 SHA512 ebf64b94b38300e4e471f975a51e4b014879937e855af5d72a3f759af4445fa9024e42962ab1284ebe7b2ae2ddf51ea418d106c9894e1841f0984622afbef115 WHIRLPOOL 9222608edd8382ec2f8dbd7dd85eb0392d79a527d94f959f011430b2d15bbf405ccf06954e20679e26e93cd7c356b70f7490280e097cfc833ac015612a5cfe77 +DIST libdynd-0.6.6.tar.gz 1261349 SHA256 0e05eedd6b230f122a6c92fb6306be3017b0a5c460af5eace0074640455ef17e SHA512 efeb52a5b5dd3154ca293f388d5b967ff983450253435572b919f7c4a1445ad3cb416def4c736f908fdb3b06cddebae881a58420e528f1ca145973a997af7a28 WHIRLPOOL 8479f280a883f07382280b8fb94a3c21e8ef9975b67fe31bed83a40b9ad7e5b939c48ac76c638492faeb91143e449471c0d316078066c4d9752e4b238f3cd822 +DIST libdynd-0.7.2.tar.gz 1342364 SHA256 be764817ca6e72dd65a32698b0a7f64df111b732c3230b5b8a8bfc72a3b0c750 SHA512 134195ba5839e05af07dd9ad0b8e749a83345511acd2a22a029a4d9a2c0fc77a8a1f36722bce20653d28189b7883afe7feb651c7d32ff921ef257a8a9aa4bd7f WHIRLPOOL 4969f747f3b0cf1a46681aaae78d470762aa6321aea8f0cf95ef55ee061a247fb24c6d8667adff5ebf6bfdf99408dfdcf8e5cd4ed37c00fb856a5eae8127c615 +EBUILD libdynd-0.6.5.ebuild 1515 SHA256 758f367a9bfe151e8f0f11d1b98be7d7b1529ff11fa9af241692cf5b652053ae SHA512 958d032424ed96725dfa6f11bb0eeab768859232515f4c4be3c0b491dc399fce7248784b4d5be794b771e100c76e9e0a346ed01476f44611c9fa2fa8d4d78af6 WHIRLPOOL 2abc837d9b0c3f9adbf83c2e4e7df1d9843976912a8b08034b2609e1749f79bb9e7a602f63e909b855d5e096e2cae85279b24349b91b7cf640828b03be78f29d +EBUILD libdynd-0.6.6.ebuild 1517 SHA256 768ea7178a6de58d8f1f75520a74a4a5fc45e01cb4241a260f13060615ac0a96 SHA512 81d8ca00eeb40ae5f55c18a4a9a4309c4bd111ddab1eb26324532be21ba37fa42089ec7517a14ab3a82f08b10e06064bbf505e3c74727f1440e6c1a7eb2e76c4 WHIRLPOOL cfd59867c76ce68cb06f08ff4d23d7f8852a8bf7f6091814d537af7a7fc39024e354b4b2d3f5bd6f5ea993a6c4cab93b32b313c29e150b673ccf62d5f79a8f28 +EBUILD libdynd-0.7.2.ebuild 2070 SHA256 a1b375776912af7a403f50c9b2e8746e95ffb113f89df42f3d9cfa6ad55e410b SHA512 0f327413a749969c9bcc9823b6677119d0ab7be52d6516ea6ef046131085877ffe744f08e1b7db4da7bf431271480415f3ff4181fe06cd9db419a24f16aec0dc WHIRLPOOL 38cdee1a7b6671f7161312463c9964064df7478d4187ebce7827e8a486cfd898fc3be9e946faf26ff82909f89ec966bab35d0d3200aafb183aa5c9661e3d072b +MISC ChangeLog 3093 SHA256 9ba4f9300649d6b614ba45e162e66c932e4cf7e38a8706af25cbf82c55aad799 SHA512 8fd3f600b41c540066f2a4abcecc542558fa9db1ee3682015e421135e8238f411da77d572307c4cfa59fffc50bb5efa01282b1dfd9dc6d99bb0694b4c33eeddc WHIRLPOOL db4b790af0cf71582c55f965c2fc452ceb66c6ec077e5a518ea2c19093785015c8bedead7da475cf4184c9b4b357c921029428e56c42d87eec60d260c848670e +MISC ChangeLog-2015 1213 SHA256 6e4a16c4b737e306a7e7ded1947f90c942a53895bfded0f13bbca6e6c475b030 SHA512 58671ec7f51951e86037d05516dd4332376dee8252ed708983acd806dd1364333a68f3b2c9515981b43c45b940890929c2cfceb018028822ea4d6346454ff041 WHIRLPOOL 9bd021c6e4da880f4b37aa6537a3827423a96fce6a085c82bef4f36c8aeae40da5929b19827cd2de5be1baf18dd6b5220cf55a5d5354eb7e0f86fe787b1538f6 +MISC metadata.xml 1120 SHA256 1313b6a6131865b9c1700cb0c6bd662f4c487f8ee777cb95f01cdd6c21745a24 SHA512 ac2eb8493d3e23ec7bdac5d3d5dc2d22358e51e468456de99b5bc48326924c1db31ea4d9474300a2579203d25ebb863ac84226529b36b6b1402e1351c03b1b68 WHIRLPOOL d238438a2477b3e0009b62588192e710391ab28207cbebcd22120b9d10beedb894c6561911c0f2d0ebe5b3544597432eb18b0f6878bf3642728ec7129f268999 diff --git a/dev-libs/libdynd/files/libdynd-0.6.0-dont-install-test.patch b/dev-libs/libdynd/files/libdynd-0.6.0-dont-install-test.patch new file mode 100644 index 000000000000..9659372b05ea --- /dev/null +++ b/dev-libs/libdynd/files/libdynd-0.6.0-dont-install-test.patch @@ -0,0 +1,15 @@ +--- tests/CMakeLists.txt.orig 2014-02-10 14:25:18.041841087 -0800 ++++ tests/CMakeLists.txt 2014-02-10 14:25:40.224975614 -0800 +@@ -105,12 +105,6 @@ + ) + endif() + +-# If installation is requested, install the program +-if (DYND_INSTALL_LIB) +- install(TARGETS test_libdynd +- RUNTIME DESTINATION bin) +-endif() +- + # Compile-time tests: test code that is supposed to produce compile errors + # I couldn't find a properly specified way to do this, so hacked together + # this function. diff --git a/dev-libs/libdynd/libdynd-0.6.5.ebuild b/dev-libs/libdynd/libdynd-0.6.5.ebuild new file mode 100644 index 000000000000..9eb37ce666ac --- /dev/null +++ b/dev-libs/libdynd/libdynd-0.6.5.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit cmake-utils multilib cuda + +# change each release, to avoid git in tree dependency +DYND_GIT_SHA1=2e140844d4a21c436ca0fc46996bf8606ffc21d5 + +DESCRIPTION="C++ dynamic multi-dimensionnal array library with Python exposure" +HOMEPAGE="https://github.com/ContinuumIO/libdynd" +SRC_URI="https://github.com/ContinuumIO/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" +IUSE="cuda doc fftw test" + +RDEPEND=" + dev-libs/c-blosc:0= + cuda? ( x11-drivers/nvidia-drivers dev-util/nvidia-cuda-toolkit ) + fftw? ( sci-libs/fftw:3.0 ) + " +DEPEND="${RDEPEND}" + +DOCS=( README.md ) + +PATCHES=( + "${FILESDIR}"/${PN}-0.6.0-dont-install-test.patch +) + +src_prepare() { + cmake-utils_src_prepare + # each relase comes with a different set... + # remove forced strong flags + sed -i \ + -e "s|@DYND_GIT_SHA1@|${DYND_GIT_SHA1}|" \ + -e "s|@DYND_VERSION@|${PV}|" \ + -e 's|-fomit-frame-pointer||' \ + -e 's|-Werror||g' \ + CMakeLists.txt || die +} + +src_configure() { + sed -i \ + -e '/add_subdirectory(examples)/d' \ + CMakeLists.txt || die + local mycmakeargs=( + -DDYND_SHARED_LIB=ON + -DDYND_INSTALL_LIB=ON + $(cmake-utils_use cuda DYND_CUDA) + $(cmake-utils_use test DYND_BUILD_TESTS) + ) + cmake-utils_src_configure +} + +src_test() { + cd "${BUILD_DIR}" || die + ./tests/test_libdynd || die +} + +src_install() { + cmake-utils_src_install + use doc && dodoc documents/* +} diff --git a/dev-libs/libdynd/libdynd-0.6.6.ebuild b/dev-libs/libdynd/libdynd-0.6.6.ebuild new file mode 100644 index 000000000000..a122f6f30306 --- /dev/null +++ b/dev-libs/libdynd/libdynd-0.6.6.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit cmake-utils multilib cuda + +# change each release, to avoid git in tree dependency +DYND_GIT_SHA1=09fb7e5eccadbe1ec49ff4b05fec724939331e6d + +DESCRIPTION="C++ dynamic multi-dimensionnal array library with Python exposure" +HOMEPAGE="https://github.com/ContinuumIO/libdynd" +SRC_URI="https://github.com/ContinuumIO/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="cuda doc fftw test" + +RDEPEND=" + dev-libs/c-blosc:0= + cuda? ( x11-drivers/nvidia-drivers dev-util/nvidia-cuda-toolkit ) + fftw? ( sci-libs/fftw:3.0 ) + " +DEPEND="${RDEPEND}" + +DOCS=( README.md ) + +PATCHES=( + "${FILESDIR}"/${PN}-0.6.0-dont-install-test.patch +) + +src_prepare() { + cmake-utils_src_prepare + # each relase comes with a different set... + # remove forced strong flags + sed -i \ + -e "s|@DYND_GIT_SHA1@|${DYND_GIT_SHA1}|" \ + -e "s|@DYND_VERSION@|${PV}|" \ + -e 's|-fomit-frame-pointer||' \ + -e 's|-Werror||g' \ + CMakeLists.txt || die +} + +src_configure() { + sed -i \ + -e '/add_subdirectory(examples)/d' \ + CMakeLists.txt || die + local mycmakeargs=( + -DDYND_SHARED_LIB=ON + -DDYND_INSTALL_LIB=ON + $(cmake-utils_use cuda DYND_CUDA) + $(cmake-utils_use test DYND_BUILD_TESTS) + ) + cmake-utils_src_configure +} + +src_test() { + cd "${BUILD_DIR}" || die + ./tests/test_libdynd || die +} + +src_install() { + cmake-utils_src_install + use doc && dodoc documents/* +} diff --git a/dev-libs/libdynd/libdynd-0.7.2.ebuild b/dev-libs/libdynd/libdynd-0.7.2.ebuild new file mode 100644 index 000000000000..bd2fb462f18f --- /dev/null +++ b/dev-libs/libdynd/libdynd-0.7.2.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils cuda + +# change each new libdynd version, to avoid git in tree dependency +DYND_GIT_SHA1=341d6d91931fdb04ad657d27ed740cf533fc925b + +DESCRIPTION="C++ dynamic multi-dimensionnal array library with Python exposure" +HOMEPAGE="http://libdynd.org" +SRC_URI="https://github.com/libdynd/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" +IUSE="cuda doc fftw mkl test" + +RDEPEND=" + dev-libs/c-blosc:0= + cuda? ( dev-util/nvidia-cuda-toolkit ) + fftw? ( sci-libs/fftw:3.0 ) +" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen[dot] ) +" + +DOCS=( README.md ) + +src_prepare() { + use cuda && cuda_src_prepare + cmake-utils_src_prepare + cmake_comment_add_subdirectory examples + # fix forced cxxflags and doc installation directory + sed -e 's|-O3 -fomit-frame-pointer||' \ + -e 's|-Werror||g' \ + -e "s|docs DESTINATION docs|docs/html DESTINATION share/doc/${PF}|" \ + -i CMakeLists.txt || die + # don't install test exec + sed -e 's|install(TARGETS test_libdynd||' \ + -e 's|RUNTIME DESTINATION bin)||' \ + -i tests/CMakeLists.txt || die + # remove the version mangling from git stuff it requires a git clone + # rather force set it a configure time + sed -e '/GetGitRev/d' \ + -e '/get_git_/d' \ + -e '/git_describe/d' \ + -e '/dirty/d' \ + -i CMakeLists.txt || die + # not tested + if use mkl; then + sed -e "s|/opt/intel/.*|$(ls -1d ${EPREFIX}/opt/intel/compilers*)|" \ + -i tests/CMakeLists.txt || die + fi +} + +src_configure() { + local mycmakeargs=( + -DDYND_GIT_SHA1="${DYND_GIT_SHA1}" + -DDYND_VERSION_STRING="v${PV}" + -DDYND_INSTALL_LIB=ON + -DDYND_SHARED_LIB=ON + -DDYND_BUILD_BENCHMARKS=OFF + -DDYND_BUILD_DOCS="$(usex doc)" + -DDYND_BUILD_PLUGIN="$(usex mkl)" + -DDYND_BUILD_TESTS="$(usex test)" + -DDYND_CUDA="$(usex cuda)" + -DDYND_FFTW="$(usex fftw)" + -DFFTW_PATH="${EPREFIX}/usr/include" + ) + cmake-utils_src_configure +} + +src_test() { + cd "${BUILD_DIR}" || die + ./tests/test_libdynd || die +} diff --git a/dev-libs/libdynd/metadata.xml b/dev-libs/libdynd/metadata.xml new file mode 100644 index 000000000000..0b3978ba39fe --- /dev/null +++ b/dev-libs/libdynd/metadata.xml @@ -0,0 +1,25 @@ + + + + + sci@gentoo.org + Gentoo Science Project + + + LibDyND, a component of the Blaze project, is a C++ library for + dynamic, multidimensional arrays. It is inspired by NumPy, the + Python array programming library at the core of the scientific + Python stack, but tries to address a number of obstacles encountered + by some of its users. Examples of this are support for + variable-sized string and ragged array types. The library is in a + preview development state, and can be thought of as a sandbox where + features are being tried and tweaked to gain experience with them. + + + Enable NVIDIA CUDA toolkit support + Enable a plugin for Intel Math Kernel Library sci-libs/mkl + + + libdynd/libdynd + + diff --git a/dev-libs/libe/Manifest b/dev-libs/libe/Manifest new file mode 100644 index 000000000000..99296cbf73dc --- /dev/null +++ b/dev-libs/libe/Manifest @@ -0,0 +1,9 @@ +DIST libe-0.10.1.tar.gz 412727 SHA256 821f955e2eefce78218764a5830f04ead09107c6ec764ae0399c4b0f6c7e34ac SHA512 aa81d6740e46accd7bfc26fcf5b53c6cc43556b897f2692cff1db563c7a5869797c540669d3bc8b4a0aee9442a7b92ef6690fa8384bb3ef38aed40f065a5ab5f WHIRLPOOL b1faacfc4a392de136c8d2841b82404fc8e37a60333f1ac95c0d98496f2108b0b984ef7d91b420d460b28408143fc4bf9e37ff9d7a6940b004b899082e38f358 +DIST libe-0.11.0.tar.gz 414542 SHA256 917197de5fcb68d1d1bb84ef024d914954a8d245f4c9357609e37a4e0cb646b0 SHA512 178003b19f5ad2b3503a929bce131d329e5eafba9f46ae3343cf4271e248ef883b84945e642239a7cdc96185e1b975bcf62004831042c2ab232e7813efbb5339 WHIRLPOOL b36ec040dd402da794ddfea4f04229376d00a79f8db75811d5106495797e128e5af6eeef6ba2fed59090993e146887a563c086e3bc9e199b690bb877deecd6f1 +DIST libe-0.9.0.tar.gz 411601 SHA256 c1b92dcfeee694038a8d16d43923bc7725a995d42f53f1da1efbad0e4ab479e3 SHA512 711097a59814b0dac9ca26dcbc30678060dd05d05e8f1a311b3f8b0dc67ef7d4e5d2b4150f51bd881acd4dfea067c79d37841d182881f1393a73cbc7beddc492 WHIRLPOOL 6fca4f4e5fc844b031a680f8cb224400a69b58a966cdf71cd060c408ec343beee39a8d4fc47851d961de98be032a03f9e4e9043a17ca30ac6afe147a1406d18c +EBUILD libe-0.10.1.ebuild 528 SHA256 d43231dfcfe69186fe21ebf61037f6baabd6bc043845bef2f2abda44e279fb99 SHA512 f01174c847694863253219684219a4bca18382c359c5601aa696879822a8aaf62383f1ce10bc8758ebe3af3760b481b38e78d6b4954900cfda3cbd2c7ad01b7c WHIRLPOOL bf5ac2e1433a48ee0f94e066d3d29898d143cdcea135bcd1da17afbfdafba4a93a7e173116af6b17e8fbb8b95d76fb50f90a80511a18899beac370b87e270c2a +EBUILD libe-0.11.0.ebuild 528 SHA256 ca7a121422bea76394a46efe0533713dc16ba9a23b6fc7d438a56d389f84a3e2 SHA512 3205cc252e5c8aceba147af3bdea2a6f7cbacb661d3dd9ca1f4d76f5bb7d0338d306f765a7d0919da3f5787aa738d21d4dc894d7cb7418a0e801765910e4507a WHIRLPOOL 4299e8ff01ee811ea43440f2f9e5df6b97de177958ace78c2f388f083783b350184c69b8b7de4ca24eef1c7aefd77f8b36d3f7ca6a27a90db07d0bf5aad5561a +EBUILD libe-0.9.0.ebuild 528 SHA256 1b6e0d61a33999f31b82ff2e48c6e6c85919211822fa45ce7199533ca77fed31 SHA512 b364c1749f5ff33888d83550f215d6536a2ed9ebaeb43e720a61b825671f9f65d2afee2bc660530980f8853f44aed8f86604296a4ba5fba5add43c529f3b88a8 WHIRLPOOL aa13214569e24ab515acc193ae2f4b58cc693f26f8a4ed59e99de86cc890ceb807e3990461e1b38e0fd6b3cc7c215fcd84eea6e399be07da18e3afa23c93238f +MISC ChangeLog 2524 SHA256 0ce1fdab0bbf9ea4a4213489b49513c53693a1badbc5982fb81c446854d64dd7 SHA512 4f87162da351e6e7d06f171302ac561bf2f6ee925b010e8b84ef4c0098b9948aae7e220108bd854878c73ed04180df3c80826c960d93e5beb77ad3d28e7590fe WHIRLPOOL fbc1504c6aa20cbd176ba9ec1c1c8e64fcfa5839acf49991ca98fe3e81883502e200170f0ecefe7d60e42509f49c029070656bf1cfd5b03189578dd3a655031b +MISC ChangeLog-2015 2732 SHA256 973781d1be325b40f6d38a4acff229ed784a9cb732ebffdc1da08da045b758fd SHA512 b162fdf9254c4be1678acbe6cbf12532e93b9beeff144c677c853140c303bff716b6d60108e4b1f98863f9da79447433224847cbd41312bdf5f728312a056ea9 WHIRLPOOL 0a201cdeab549e2e458fd29b1a02bbb96934c8d5f90292805c252b1cf314562fe037588b85d55b2ca93993db3cd3c9727f6e877ad59948d25c182a03a27aea8f +MISC metadata.xml 247 SHA256 0deec0776f26fb762fdf7711f4589b14f52a2456436ef557eec62a2cf2fb2bb7 SHA512 29cf52c16b0cce69899d9c2da8acd9144b7d760442aa323b854dceadb42459e009545193b1df7911ac2241b59f4819b4a6bb1d206d6f57953f770031433bb6b7 WHIRLPOOL a135fa622e99d3dcdb432bc6b3c366076b3d86b4bfd9a76c852d781b8e9152541c7e7a2c7c6d6a3c4d2200dce792847a08166aaf7c17c22b6299dfe868234dec diff --git a/dev-libs/libe/libe-0.10.1.ebuild b/dev-libs/libe/libe-0.10.1.ebuild new file mode 100644 index 000000000000..ef5038314468 --- /dev/null +++ b/dev-libs/libe/libe-0.10.1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +EAPI=4 + +inherit eutils + +# bit messy at the moment, next release should fix it I hope +RESTRICT="test" + +DESCRIPTION="Hyperdex libe support library" + +HOMEPAGE="http://hyperdex.org" +SRC_URI="http://hyperdex.org/src/${P}.tar.gz" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +IUSE="" + +RDEPEND=">=dev-libs/libpo6-0.7.0" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + sed -i -e 's/_strtoui64/strtoul/' e/convert.h || die +} diff --git a/dev-libs/libe/libe-0.11.0.ebuild b/dev-libs/libe/libe-0.11.0.ebuild new file mode 100644 index 000000000000..ecd2bfad9827 --- /dev/null +++ b/dev-libs/libe/libe-0.11.0.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +EAPI=4 + +inherit eutils + +# bit messy at the moment, next release should fix it I hope +RESTRICT="test" + +DESCRIPTION="Hyperdex libe support library" + +HOMEPAGE="http://hyperdex.org" +SRC_URI="http://hyperdex.org/src/${P}.tar.gz" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +IUSE="" + +RDEPEND=">=dev-libs/libpo6-0.8.0" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + sed -i -e 's/_strtoui64/strtoul/' e/convert.h || die +} diff --git a/dev-libs/libe/libe-0.9.0.ebuild b/dev-libs/libe/libe-0.9.0.ebuild new file mode 100644 index 000000000000..0d7d4c74ffa7 --- /dev/null +++ b/dev-libs/libe/libe-0.9.0.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +EAPI=4 + +inherit eutils + +# bit messy at the moment, next release should fix it I hope +RESTRICT="test" + +DESCRIPTION="Hyperdex libe support library" + +HOMEPAGE="http://hyperdex.org" +SRC_URI="http://hyperdex.org/src/${P}.tar.gz" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +IUSE="" + +RDEPEND=">=dev-libs/libpo6-0.6.0" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + sed -i -e 's/_strtoui64/strtoul/' e/convert.h || die +} diff --git a/dev-libs/libe/metadata.xml b/dev-libs/libe/metadata.xml new file mode 100644 index 000000000000..40aa45df2b01 --- /dev/null +++ b/dev-libs/libe/metadata.xml @@ -0,0 +1,8 @@ + + + + + patrick@gentoo.org + Patrick Lauer + + diff --git a/dev-libs/libebml/Manifest b/dev-libs/libebml/Manifest new file mode 100644 index 000000000000..045c553176ca --- /dev/null +++ b/dev-libs/libebml/Manifest @@ -0,0 +1,7 @@ +DIST libebml-1.3.4.tar.bz2 606205 SHA256 c50d3ecf133742c6549c0669c3873f968e11a365a5ba17b2f4dc339bbe51f387 SHA512 ebf5b71afe725e40ee6415463e51ca14810eecc2fef186caacd0269077f5febeb62623fd48674b21ea732f43a620d0c91603fa48d3f8d163284d1cf204642194 WHIRLPOOL 9502f132fea7d7d10add1c42da33bc2eac1a13b3b02f5b4eb331b1ab5f14a41a255503fedb16b579bb8defa94786d0f6fc5324cd55c06b6d7b5319de74a75e84 +DIST libebml-1.3.5.tar.xz 274184 SHA256 d818413f60742c2f036ba6f582c5e0320d12bffec1b0fc0fc17a398b6f04aa00 SHA512 cdf05015724919b19281bf99c562bb7e0bdf16990da274010f664ff316b6ce95ecbeaa1e479f03505281a7f45d5796aee6e7750a9e1c0596b630911d220dca24 WHIRLPOOL 7bdfcba45e8d82348a5ec0d818f04eca1b0c43b6c658a199fd1586248cb8828867f2eafd7527a26bd514e29c29894f29985939929549de56481b47ac4e1fba26 +EBUILD libebml-1.3.4.ebuild 834 SHA256 4fab5e5a08edcf5094fdbfc8befd16f54861a89092b93c977741937fabe17776 SHA512 edc8bf5f0137d8fb44335b0ceb64a66c98d2eb88bde15b93f7350fdc2b80077006c5e31c8ea567b0ef6050f08789a1566ccdeafb8f6ef98e3559d344f85047b4 WHIRLPOOL 4ef45218da1a9ecd4de48492fc10d1c777110098f890fc4a75a5456ff581704c8772cb39b55d7855e4697e5baa3911102c56491ed0b46585f5b7f8d61e9395fc +EBUILD libebml-1.3.5.ebuild 842 SHA256 3ee227854fadc8b37e41ccd0aac0e72c75c8f0778584dc9e1cd15ab4fba0b9b5 SHA512 a221aba1226cd9722d1edc205e9edd586125d8cfd6d795292b23a003c86c13a55930136a8bb539c07a43e0d408b167af8349d1d4c34e25e60a6a86a86f33ba85 WHIRLPOOL a4189d266fa2fafb20ddb128639829bd3077db04d09f2005c66ea8a49a072f76d635c1105ec2c5f935223d0d1d631308a2d4845716cef6a744668bf7ae39b142 +MISC ChangeLog 4784 SHA256 a4e14e4db78e2e32309d265b0b28c1a8fd1d35cb74fa6e7f40f557aca9f0ee54 SHA512 3a5bbcbc5634c4ce95337913d0444285cf7428f0e3591fa664d6c9efa32b18b074c9b3458bf3e0d4fa556737f4a8024b37c960602e3474da9e61056366c44f88 WHIRLPOOL 8a76e5e439991b078985dc3fb9dfa435c223e486b6229b1820b593f63eb25a7e56b33114e128e1ecd4e40cb1f6e845b35673d38d3a5ce24b58ea8224f1fd6c2b +MISC ChangeLog-2015 18408 SHA256 af940c182152775b27230058b45626d74b1135e68075417258b6662869d9947a SHA512 b9c09e7a136e4ac356a179d2c2473a0c0d335754de766560363a4c28f203e9dfa62279c0a37712bf892f16ab3577b424222c8404288030b9cb9d820db0a2d9ca WHIRLPOOL d14cf6e3398092df48ea715a9ec2198966ca01794362c4c28efd73fc39fbaf0c1a7c6015d5cd7f742b87075c5f773198645e1410062bbd31abcb1b3098155d2e +MISC metadata.xml 316 SHA256 7c95ba879897a5bdd6db13f4092ab4e019da9bd5a9318ea205e0771ea2db1750 SHA512 e134cb7e80fb4da27ef695d9ac26d13850df19cd37116fd069ab33cb91a380c322c8087d50c8040ea2a776903e9bc59fd825eb65593b0c3215c316a819f0fb22 WHIRLPOOL d04842c247d373c891a97e9b1084b8a302cb8c937a668f64c9d347d3d4966af177efcfa65f0b9def10babddbc902973fb4758da9fb510c82292324f3bda12952 diff --git a/dev-libs/libebml/libebml-1.3.4.ebuild b/dev-libs/libebml/libebml-1.3.4.ebuild new file mode 100644 index 000000000000..53c1d59dcf91 --- /dev/null +++ b/dev-libs/libebml/libebml-1.3.4.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools + +DESCRIPTION="Extensible binary format library (kinda like XML)" +HOMEPAGE="https://www.matroska.org/ https://github.com/Matroska-Org/libebml/" +SRC_URI="https://dl.matroska.org/downloads/${PN}/${P}.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0/4" # subslot = soname major version +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="debug static-libs" + +src_prepare() { + default + sed -i '/^AM_CXXFLAGS += -g/d' Makefile.am || die + eautoreconf +} + +src_configure() { + local myeconfargs=( + $(use_enable debug) + $(use_enable static-libs static) + ) + econf "${myeconfargs[@]}" +} + +src_install() { + default + find "${ED}" -name '*.la' -delete +} diff --git a/dev-libs/libebml/libebml-1.3.5.ebuild b/dev-libs/libebml/libebml-1.3.5.ebuild new file mode 100644 index 000000000000..637d22891b84 --- /dev/null +++ b/dev-libs/libebml/libebml-1.3.5.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools + +DESCRIPTION="Extensible binary format library (kinda like XML)" +HOMEPAGE="https://www.matroska.org/ https://github.com/Matroska-Org/libebml/" +SRC_URI="https://dl.matroska.org/downloads/${PN}/${P}.tar.xz" + +LICENSE="LGPL-2.1" +SLOT="0/4" # subslot = soname major version +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="debug static-libs" + +src_prepare() { + default + sed -i '/^AM_CXXFLAGS += -g/d' Makefile.am || die + eautoreconf +} + +src_configure() { + local myeconfargs=( + $(use_enable debug) + $(use_enable static-libs static) + ) + econf "${myeconfargs[@]}" +} + +src_install() { + default + find "${ED}" -name '*.la' -delete +} diff --git a/dev-libs/libebml/metadata.xml b/dev-libs/libebml/metadata.xml new file mode 100644 index 000000000000..b4e118e76955 --- /dev/null +++ b/dev-libs/libebml/metadata.xml @@ -0,0 +1,10 @@ + + + + + media-video@gentoo.org + + + Matroska-Org/libebml + + diff --git a/dev-libs/libedit/Manifest b/dev-libs/libedit/Manifest new file mode 100644 index 000000000000..824c4d54e2ef --- /dev/null +++ b/dev-libs/libedit/Manifest @@ -0,0 +1,14 @@ +AUX libedit-20100424.3.0-bsd.patch 724 SHA256 2226e17f65b2486c45964867a1ed4a699c1861089b7a1501bccc83d28bca6c45 SHA512 67e0316db39b581b40dcfc15cfc308398d7865d29adc31e43159a30d8b94f50b486aa5da2a9599154138c1c8ae56fa9f6dca663eff174559f8896f50f973eefb WHIRLPOOL 1eaff78933c8628e3c6796c5bfefff8771db8aa50cd1d7a0a68762b219613f50e2ffdc6afe317712038707d9ea8ef35a6661371d2ee098e301e914cf2eced0d8 +AUX libedit-20110709.3.0-weak-reference.patch 651 SHA256 f4bbf2b49d158966b8ccb8556928b22af3690e7d91d5e3062842b6c9587641be SHA512 6f905d4254be6a11a135315346e41579e30c496d7d28caef1daa89079574be081c092d653034fd89a1ce84495f1566ef85d50b274cb87b249b4706e954c40420 WHIRLPOOL 20cd81c562a4d9c054712ff0233ccd3c36f65e56e61061979b60f538e6add55298bba6f42025e1f2146f6d83d14e82cda10e298453b9ca0631c1a5f0fcea6bb8 +AUX libedit-20120311-3.0-el_fn_sh_complete.patch 7724 SHA256 8fb2844923c3750c9b833ad4f9dfd15f78e0bb917b0d8fb98d3e0ffb7f1037fb SHA512 c62490079ff73a14310c6840d379d950699cd178e5e4a15231a79ea06600ba7bb805630e032d5d49ea5479e4919514ee79b035bf7d00e20b6e8512c84920bba3 WHIRLPOOL 1d0737e628f663edf8734d93aec6e0d33ba8e17e4893be33805c731a343701106778979fcaa8ccb7d227b78402b1a715d78a7102178a6871392f421d40e8b17a +AUX libedit-20170329.3.1-el_fn_sh_complete.patch 6942 SHA256 06a8475988b82886f034666cac5bc3333d69bf9fc0760aec44b3b6e42e4bd72f SHA512 7715cbaaf38c09f62a885cc66edc416b26ae49cef627a7d22a256b787d7ad3784f90e49e906dead009ad86576894c25a839a96dfe26ab9d2ee5e0a8cba71732d WHIRLPOOL cf0cccc18c05a9b70e4897ecc70352afa30a5cb7bd7e9de0bd3e902623d828ece8327b394cee05170eb422d0aac70c7fb937d0cb6166c80614b5971de0748baf +AUX libedit-20170329.3.1-ncursesprivate.patch 438 SHA256 c25a3d73307e7afd8ccc43cf7fda9f355eb6f80344ee08fa22258166b7106edc SHA512 aa2b52b36050413941892eaf66fe7b66e992c14cda29ee2733e8359b5990eed9537fb0422fd3704b32a70f1b9e350a0b0f06aaff9a55bb89b764d57a6f0dbef1 WHIRLPOOL 10fc3e8448166c54de5ce918fa1951f0a8b240d40e224dce760a8611b2fca848ac24b5a739ad3d4cf14c93105862af6a7c67faaf33f65bfbcaaa9d78ae87bf36 +AUX libedit-20170329.3.1-tinfo.patch 954 SHA256 211062669540b5ea986e6a3eae08264122144a16c4ccd7cc0ec59ef1f2e634c9 SHA512 e03cef80831c8982705e9ba3448a379e48a443b3b09b4c6f6be56ca2d0ac594f4569b76739551cc945bef27fc0fac2ffea3ad532355933a528753338f4094172 WHIRLPOOL 4ce60bb51edd11adb700ae2159dfe0da9fc79a1b02eece7d5083e0e4ea4e9f2d95bf837e5d6962e78d46bd9e451b41d771cd6c9bfb258864dfc868a887e5757c +AUX libedit-ncursesprivate.patch 497 SHA256 e1fc9f5c3ffe5e5ba4117bc6b1c615e6f3e5ef82dfcebece16aaa5d571abb8a1 SHA512 41175b20f7b925e347db008d5e8a535b8326cd2c010a67b9db3a59131fce77a7791b7940e7eea9d68e82dbd3731efaa503d4bd218d78b29f946152dd56bd9b14 WHIRLPOOL df6b644fdaa70ec62997c2bd353ad757e6aafda7c17b4926ad3044d4f1d02deb379bd84946f5cea08c63eb4ba346752949f5b0a1577bc046dbbb4c4221fdf239 +DIST libedit-20130712-3.1.tar.gz 483857 SHA256 5d9b1a9dd66f1fe28bbd98e4d8ed1a22d8da0d08d902407dcc4a0702c8d88a37 SHA512 9fb3173a65ea2cd2ffa9af0666aa3e227b7d6be26f3e84f30ea3449b0c80fc5e91b618e939f7047bf885b96689ede93733f7eba614d4fdd1a4baff3f130b432e WHIRLPOOL 550553af1cf3bbd863ef4ce86ef5fd7adf257a7f5946ad186a104c5920d0f58216c135d496d52fd2d6ad51a1fb954bb87719d731aa0eebf6980d1c15345d6034 +DIST libedit-20170329-3.1.tar.gz 508504 SHA256 91f2d90fbd2a048ff6dad7131d9a39e690fd8a8fd982a353f1333dd4017dd4be SHA512 597ed2282240be6dc3c4a7bb8b4ade31fe16ebfeb2229e3aec58643a65882653cc91deb300343d1b1cc588959dbf95698122c4005e47dfb947efa3e6b134bb82 WHIRLPOOL ae0cc1e6e514bee7cda1a13ccd0c7f7673d4de775a9fe26ee9c32f08d43f3866ba8d9d3f4871ea15d517635be375d5989bbf36e59f00884ece517777c94c3273 +EBUILD libedit-20130712.3.1.ebuild 1279 SHA256 a8ac9099478189bd0c3bfb5f8bb17552a19c2e53065e3f96f7b7bee7b14261e6 SHA512 8367e733991a2c31573c6b207930ed95c58210f598e0be19910051bc386c148db00bbc41830084fb9eab878dc0413fef738c2399896b4f62e09fa153cddcf3a8 WHIRLPOOL b32a5ef844e97f0d38e72ad07c87a8cf2989950a9ce3d73aaaa6634f7246c0ae203a2de5f5239f00950e6393ce4ef8e7833877a3271423113e4ad0370ea8206c +EBUILD libedit-20170329.3.1.ebuild 1297 SHA256 0244ba76cdbe31bbd26ce5d37b23c94fffe379a1f5f474920ca159b148c0929b SHA512 db81cf30017908a452131fe432890a3481177d2d0b90064c367aaa30919d974254ccb7115034c28f3d231cd27c88fce38958adadba211547e18d9d0546da3ad2 WHIRLPOOL db04a7f00bbb8749849061f95f51a5c4e82fa5b70cee61f39f7833a7b01602ef82545abcd05920f0fdfe318df75d6cc780374b3b5b93f582d4bcd6067aeacc23 +MISC ChangeLog 3334 SHA256 34d4702268521c106b89baf446d58af2541440f39273204b1e61746508fab1fd SHA512 f1491fe54f4d1c4ca9af69393938c408253047f4f048569088407366f5190b70226f72e291802e3d26181e0b9b6316b5fe1bfc97e2f076170f0cfb06b9993852 WHIRLPOOL 3b50a31acf8dc682cc10cd72370508cb4f0b750a83e2875eccbb7ddf05c56e2fa707b41c70b2f00149d6ad248af974120057b24b0ec66559ddeade1dcc001ccb +MISC ChangeLog-2015 12459 SHA256 8899d2e3f79b28e7461b5494c28985207b746ee7ff4ae32de57a3d0514ecb3dd SHA512 133e1e6395632f7319e393ecdc75ae7f2252c8b0e7713f02be5498ed1f0ad1bec68f1f3f9ae58e447f3d9a0647aca0d6f2f0daaec8ac01cc3c345fa440b49e0c WHIRLPOOL c07b42492f6c1745974a77f77b5c79ebfdbb0d3bec6943e978e8c998337011c77ff674a0aacf68c12ac27006efae32ea2b287623afd964f3e0654a73fc93aee7 +MISC metadata.xml 636 SHA256 ec3560e3314a6a4b29d2786e993a52e900d30f36bb2248f2842d8a4b1399db81 SHA512 c335a652424f91f1ae79f907870bcd826cee21365b594353b3c52fb7fef51f637e9a65275c11f033b6bd7b6d918733904efc320b547999ee5b88a7b36ccb9389 WHIRLPOOL 753aa219f31fcade9ab32787ec1528b2e4ac195a9058baad7612fa8c1773375701b37dc1761e9ef86107697245c51414f18ad9cc0d3484d403e205969007c1f5 diff --git a/dev-libs/libedit/files/libedit-20100424.3.0-bsd.patch b/dev-libs/libedit/files/libedit-20100424.3.0-bsd.patch new file mode 100644 index 000000000000..e230a76d709f --- /dev/null +++ b/dev-libs/libedit/files/libedit-20100424.3.0-bsd.patch @@ -0,0 +1,13 @@ +diff --git a/src/chartype.h b/src/chartype.h +index c35825c..be5aac0 100644 +--- a/src/chartype.h ++++ b/src/chartype.h +@@ -44,7 +44,7 @@ + * supports non-BMP code points without requiring UTF-16, but nothing + * seems to actually advertise this properly, despite Unicode 3.1 having + * been around since 2001... */ +-#if !defined(__NetBSD__) && !defined(__sun) && !(defined(__APPLE__) && defined(__MACH__)) ++#if !defined(__NetBSD__) && !defined(__sun) && !(defined(__APPLE__) && defined(__MACH__)) && !defined(__DragonFly__) && !defined(__FreeBSD__) + #ifndef __STDC_ISO_10646__ + /* In many places it is assumed that the first 127 code points are ASCII + * compatible, so ensure wchar_t indeed does ISO 10646 and not some other diff --git a/dev-libs/libedit/files/libedit-20110709.3.0-weak-reference.patch b/dev-libs/libedit/files/libedit-20110709.3.0-weak-reference.patch new file mode 100644 index 000000000000..a4399593d636 --- /dev/null +++ b/dev-libs/libedit/files/libedit-20110709.3.0-weak-reference.patch @@ -0,0 +1,20 @@ +--- libedit-20110709-3.0/src/vi.c.old 2011-07-11 18:21:16.000000000 +0000 ++++ libedit-20110709-3.0/src/vi.c 2011-07-11 18:24:29.000000000 +0000 +@@ -918,7 +918,7 @@ + * NB: posix implies that we should enter insert mode, however + * this is against historical precedent... + */ +-#ifdef __weak_reference ++#if defined(__weak_reference) && defined(__NetBSD__) + __weakref_visible char *my_get_alias_text(const char *) + __weak_reference(get_alias_text); + #endif +@@ -926,7 +926,7 @@ + /*ARGSUSED*/ + vi_alias(EditLine *el, Int c) + { +-#ifdef __weak_reference ++#if defined(__weak_reference) && defined(__NetBSD__) + char alias_name[3]; + char *alias_text; + diff --git a/dev-libs/libedit/files/libedit-20120311-3.0-el_fn_sh_complete.patch b/dev-libs/libedit/files/libedit-20120311-3.0-el_fn_sh_complete.patch new file mode 100644 index 000000000000..b0b157a24fda --- /dev/null +++ b/dev-libs/libedit/files/libedit-20120311-3.0-el_fn_sh_complete.patch @@ -0,0 +1,258 @@ +Port the el_fn_sh_complete from FreeBSD. +This function is required by FreeBSD-9.0's sh. +So that we can drop the bundled version in FreeBSD-9.0 + +diff -uNr libedit-20120311-3.0/src/filecomplete.c libedit-20120311-3.0.freebsd/src/filecomplete.c +--- libedit-20120311-3.0/src/filecomplete.c 2012-03-11 09:54:58.000000000 +0000 ++++ libedit-20120311-3.0.freebsd/src/filecomplete.c 2012-04-23 12:14:25.000000000 +0000 +@@ -56,6 +56,9 @@ + + static const Char break_chars[] = { ' ', '\t', '\n', '"', '\\', '\'', '`', '@', + '$', '>', '<', '=', ';', '|', '&', '{', '(', '\0' }; ++/* Tilde is deliberately omitted here, we treat it specially. */ ++static const Char extra_quote_chars[] = { ')', '}', '*', '?', '[', '$', '\0' }; ++ + + + /********************************/ +@@ -411,10 +414,14 @@ + char **(*attempted_completion_function)(const char *, int, int), + const Char *word_break, const Char *special_prefixes, + const char *(*app_func)(const char *), size_t query_items, +- int *completion_type, int *over, int *point, int *end) ++ int *completion_type, int *over, int *point, int *end, ++ const char *(*find_word_start_func)(const char *, const char *), ++ char *(*dequoting_func)(const char *), ++ char *(*quoting_func)(const char *)) + { + const TYPE(LineInfo) *li; + Char *temp; ++ char *dequoted_temp; + char **matches; + const Char *ctemp; + size_t len; +@@ -435,17 +442,28 @@ + + /* We now look backwards for the start of a filename/variable word */ + li = FUN(el,line)(el); ++ if (find_word_start_func) ++ ctemp = ct_decode_string(find_word_start_func(ct_encode_string(li->buffer,&el->el_scratch), ct_encode_string(li->cursor,&el->el_scratch)),&el->el_scratch); ++ else { + ctemp = li->cursor; + while (ctemp > li->buffer + && !Strchr(word_break, ctemp[-1]) + && (!special_prefixes || !Strchr(special_prefixes, ctemp[-1]) ) ) + ctemp--; ++ } + + len = (size_t)(li->cursor - ctemp); + temp = el_malloc((len + 1) * sizeof(*temp)); + (void)Strncpy(temp, ctemp, len); + temp[len] = '\0'; + ++ if (dequoting_func) { ++ dequoted_temp = dequoting_func(ct_encode_string(temp,&el->el_scratch)); ++ if (dequoted_temp == NULL) ++ return retval; ++ } else ++ dequoted_temp = NULL; ++ + /* these can be used by function called in completion_matches() */ + /* or (*attempted_completion_function)() */ + if (point != 0) +@@ -456,14 +474,14 @@ + if (attempted_completion_function) { + int cur_off = (int)(li->cursor - li->buffer); + matches = (*attempted_completion_function)( +- ct_encode_string(temp, &el->el_scratch), ++ dequoted_temp? dequoted_temp : ct_encode_string(temp, &el->el_scratch), + cur_off - (int)len, cur_off); + } else + matches = 0; + if (!attempted_completion_function || + (over != NULL && !*over && !matches)) + matches = completion_matches( +- ct_encode_string(temp, &el->el_scratch), complet_func); ++ dequoted_temp? dequoted_temp : ct_encode_string(temp, &el->el_scratch), complet_func); + + if (over != NULL) + *over = 0; +@@ -478,9 +496,19 @@ + * possible matches if there is possible completion. + */ + if (matches[0][0] != '\0') { ++ char *quoted_match; ++ if (quoting_func) { ++ quoted_match = quoting_func(matches[0]); ++ if (quoted_match == NULL) ++ goto free_matches; ++ } else ++ quoted_match = NULL; ++ + el_deletestr(el, (int) len); + FUN(el,insertstr)(el, +- ct_decode_string(matches[0], &el->el_scratch)); ++ ct_decode_string(quoted_match? quoted_match : matches[0], &el->el_scratch)); ++ ++ free(quoted_match); + } + + if (what_to_do == '?') +@@ -553,12 +581,14 @@ + retval = CC_NORM; + } + ++free_matches: + /* free elements of array and the array itself */ + for (i = 0; matches[i]; i++) + el_free(matches[i]); + el_free(matches); + matches = NULL; + } ++ el_free(dequoted_temp); + el_free(temp); + return retval; + } +@@ -572,5 +602,102 @@ + { + return (unsigned char)fn_complete(el, NULL, NULL, + break_chars, NULL, NULL, (size_t)100, +- NULL, NULL, NULL, NULL); ++ NULL, NULL, NULL, NULL, ++ NULL, NULL, NULL); ++} ++ ++static const char * ++sh_find_word_start(const char *buffer, const char *cursor) ++{ ++ const char *word_start = buffer; ++ ++ while (buffer < cursor) { ++ if (*buffer == '\\') ++ buffer++; ++ else if (Strchr(break_chars, *buffer)) ++ word_start = buffer + 1; ++ ++ buffer++; ++ } ++ ++ return word_start; ++} ++ ++ ++static char * ++sh_quote(const char *str) ++{ ++ const char *src; ++ int extra_len = 0; ++ char *quoted_str, *dst; ++ ++ if (*str == '-' || *str == '+') ++ extra_len += 2; ++ for (src = str; *src != '\0'; src++) ++ if (Strchr(break_chars, *src) || ++ Strchr(extra_quote_chars, *src)) ++ extra_len++; ++ ++ quoted_str = malloc(sizeof(*quoted_str) * ++ (strlen(str) + extra_len + 1)); ++ if (quoted_str == NULL) ++ return NULL; ++ ++ dst = quoted_str; ++ if (*str == '-' || *str == '+') ++ *dst++ = '.', *dst++ = '/'; ++ for (src = str; *src != '\0'; src++) { ++ if (Strchr(break_chars, *src) || ++ Strchr(extra_quote_chars, *src)) ++ *dst++ = '\\'; ++ *dst++ = *src; ++ } ++ *dst = '\0'; ++ ++ return quoted_str; ++} ++ ++ ++static char * ++sh_dequote(const char *str) ++{ ++ char *dequoted_str, *dst; ++ ++ /* save extra space to replace \~ with ./~ */ ++ dequoted_str = malloc(sizeof(*dequoted_str) * (strlen(str) + 1 + 1)); ++ if (dequoted_str == NULL) ++ return NULL; ++ ++ dst = dequoted_str; ++ ++ /* dequote \~ at start as ./~ */ ++ if (*str == '\\' && str[1] == '~') { ++ str++; ++ *dst++ = '.'; ++ *dst++ = '/'; ++ } ++ ++ while (*str) { ++ if (*str == '\\') ++ str++; ++ if (*str) ++ *dst++ = *str++; ++ } ++ *dst = '\0'; ++ ++ return dequoted_str; ++} ++ ++ ++/* ++ * completion function using sh quoting rules; for key binding ++ */ ++/* ARGSUSED */ ++unsigned char ++_el_fn_sh_complete(EditLine *el, int ch __attribute__((__unused__))) ++{ ++ return (unsigned char)fn_complete(el, NULL, NULL, ++ break_chars, NULL, NULL, 100, ++ NULL, NULL, NULL, NULL, ++ sh_find_word_start, sh_dequote, sh_quote); + } +diff -uNr libedit-20120311-3.0/src/filecomplete.h libedit-20120311-3.0.freebsd/src/filecomplete.h +--- libedit-20120311-3.0/src/filecomplete.h 2010-04-22 19:13:17.000000000 +0000 ++++ libedit-20120311-3.0.freebsd/src/filecomplete.h 2012-04-23 12:04:12.000000000 +0000 +@@ -35,7 +35,10 @@ + char *(*)(const char *, int), + char **(*)(const char *, int, int), + const Char *, const Char *, const char *(*)(const char *), size_t, +- int *, int *, int *, int *); ++ int *, int *, int *, int *, ++ const char *(*)(const char *, const char *), ++ char *(*)(const char *), ++ char *(*)(const char *)); + + void fn_display_match_list(EditLine *, char **, size_t, size_t); + char *fn_tilde_expand(const char *); +Binary files libedit-20120311-3.0/src/filecomplete.o and libedit-20120311-3.0.freebsd/src/filecomplete.o differ +diff -uNr libedit-20120311-3.0/src/histedit.h libedit-20120311-3.0.freebsd/src/histedit.h +--- libedit-20120311-3.0/src/histedit.h 2011-08-02 06:52:08.000000000 +0000 ++++ libedit-20120311-3.0.freebsd/src/histedit.h 2012-04-23 11:44:33.000000000 +0000 +@@ -113,6 +113,7 @@ + int el_set(EditLine *, int, ...); + int el_get(EditLine *, int, ...); + unsigned char _el_fn_complete(EditLine *, int); ++unsigned char _el_fn_sh_complete(EditLine *, int); + + /* + * el_set/el_get parameters +diff -ur libedit-20120311-3.0/src/readline.c libedit-20120311-3.0.freebsd/src/readline.c +--- libedit-20120311-3.0/src/readline.c 2012-03-11 09:54:58.000000000 +0000 ++++ libedit-20120311-3.0.freebsd/src/readline.c 2012-04-23 12:20:11.000000000 +0000 +@@ -1773,7 +1773,7 @@ + _rl_completion_append_character_function, + (size_t)rl_completion_query_items, + &rl_completion_type, &rl_attempted_completion_over, +- &rl_point, &rl_end); ++ &rl_point, &rl_end, NULL, NULL, NULL); + + + } diff --git a/dev-libs/libedit/files/libedit-20170329.3.1-el_fn_sh_complete.patch b/dev-libs/libedit/files/libedit-20170329.3.1-el_fn_sh_complete.patch new file mode 100644 index 000000000000..c54f27600e34 --- /dev/null +++ b/dev-libs/libedit/files/libedit-20170329.3.1-el_fn_sh_complete.patch @@ -0,0 +1,249 @@ +--- libedit-20170329-3.1/src/filecomplete.c 2017-03-29 21:15:04.000000000 +0300 ++++ libedit-20170329-3.1/src/filecomplete.c 2017-05-21 02:23:16.000000000 +0300 +@@ -51,6 +51,7 @@ + #include "filecomplete.h" + + static const wchar_t break_chars[] = L" \t\n\"\\'`@$><=;|&{("; ++static const wchar_t extra_quote_chars[] = L")}*?[$\0"; + + /********************************/ + /* completion functions */ +@@ -405,10 +406,14 @@ + char **(*attempted_completion_function)(const char *, int, int), + const wchar_t *word_break, const wchar_t *special_prefixes, + const char *(*app_func)(const char *), size_t query_items, +- int *completion_type, int *over, int *point, int *end) ++ int *completion_type, int *over, int *point, int *end, ++ const char *(*find_word_start_func)(const char *, const char *), ++ char *(*dequoting_func)(const char *), ++ char *(*quoting_func)(const char *)) + { + const LineInfoW *li; + wchar_t *temp; ++ char *dequoted_temp; + char **matches; + const wchar_t *ctemp; + size_t len; +@@ -429,17 +434,28 @@ + + /* We now look backwards for the start of a filename/variable word */ + li = el_wline(el); ++ if (find_word_start_func) ++ ctemp = ct_decode_string(find_word_start_func(ct_encode_string(li->buffer,&el->el_scratch), ct_encode_string(li->cursor,&el->el_scratch)),&el->el_scratch); ++ else { + ctemp = li->cursor; + while (ctemp > li->buffer + && !wcschr(word_break, ctemp[-1]) + && (!special_prefixes || !wcschr(special_prefixes, ctemp[-1]) ) ) + ctemp--; ++ } + + len = (size_t)(li->cursor - ctemp); + temp = el_malloc((len + 1) * sizeof(*temp)); + (void)wcsncpy(temp, ctemp, len); + temp[len] = '\0'; + ++ if (dequoting_func) { ++ dequoted_temp = dequoting_func(ct_encode_string(temp,&el->el_scratch)); ++ if (dequoted_temp == NULL) ++ return retval; ++ } else ++ dequoted_temp = NULL; ++ + /* these can be used by function called in completion_matches() */ + /* or (*attempted_completion_function)() */ + if (point != NULL) +@@ -450,14 +466,14 @@ + if (attempted_completion_function) { + int cur_off = (int)(li->cursor - li->buffer); + matches = (*attempted_completion_function)( +- ct_encode_string(temp, &el->el_scratch), ++ dequoted_temp? dequoted_temp : ct_encode_string(temp, &el->el_scratch), + cur_off - (int)len, cur_off); + } else + matches = NULL; + if (!attempted_completion_function || + (over != NULL && !*over && !matches)) + matches = completion_matches( +- ct_encode_string(temp, &el->el_scratch), complet_func); ++ dequoted_temp? dequoted_temp : ct_encode_string(temp, &el->el_scratch), complet_func); + + if (over != NULL) + *over = 0; +@@ -472,9 +488,18 @@ + * possible matches if there is possible completion. + */ + if (matches[0][0] != '\0') { ++ char *quoted_match; ++ if (quoting_func) { ++ quoted_match = quoting_func(matches[0]); ++ if (quoted_match == NULL) ++ goto free_matches; ++ } else ++ quoted_match = NULL; ++ + el_deletestr(el, (int) len); + el_winsertstr(el, +- ct_decode_string(matches[0], &el->el_scratch)); ++ ct_decode_string(quoted_match? quoted_match : matches[0], &el->el_scratch)); ++ free(quoted_match); + } + + +@@ -545,12 +570,14 @@ + retval = CC_NORM; + } + ++free_matches: + /* free elements of array and the array itself */ + for (i = 0; matches[i]; i++) + el_free(matches[i]); + el_free(matches); + matches = NULL; + } ++ el_free(dequoted_temp); + el_free(temp); + return retval; + } +@@ -564,5 +591,102 @@ + { + return (unsigned char)fn_complete(el, NULL, NULL, + break_chars, NULL, NULL, (size_t)100, +- NULL, NULL, NULL, NULL); ++ NULL, NULL, NULL, NULL, ++ NULL, NULL, NULL); ++} ++ ++static const char * ++sh_find_word_start(const char *buffer, const char *cursor) ++{ ++ const char *word_start = buffer; ++ ++ while (buffer < cursor) { ++ if (*buffer == '\\') ++ buffer++; ++ else if (strchr(break_chars, *buffer)) ++ word_start = buffer + 1; ++ ++ buffer++; ++ } ++ ++ return word_start; ++} ++ ++ ++static char * ++sh_quote(const char *str) ++{ ++ const char *src; ++ int extra_len = 0; ++ char *quoted_str, *dst; ++ ++ if (*str == '-' || *str == '+') ++ extra_len += 2; ++ for (src = str; *src != '\0'; src++) ++ if (strchr(break_chars, *src) || ++ strchr(extra_quote_chars, *src)) ++ extra_len++; ++ ++ quoted_str = malloc(sizeof(*quoted_str) * ++ (strlen(str) + extra_len + 1)); ++ if (quoted_str == NULL) ++ return NULL; ++ ++ dst = quoted_str; ++ if (*str == '-' || *str == '+') ++ *dst++ = '.', *dst++ = '/'; ++ for (src = str; *src != '\0'; src++) { ++ if (strchr(break_chars, *src) || ++ strchr(extra_quote_chars, *src)) ++ *dst++ = '\\'; ++ *dst++ = *src; ++ } ++ *dst = '\0'; ++ ++ return quoted_str; ++} ++ ++ ++static char * ++sh_dequote(const char *str) ++{ ++ char *dequoted_str, *dst; ++ ++ /* save extra space to replace \~ with ./~ */ ++ dequoted_str = malloc(sizeof(*dequoted_str) * (strlen(str) + 1 + 1)); ++ if (dequoted_str == NULL) ++ return NULL; ++ ++ dst = dequoted_str; ++ ++ /* dequote \~ at start as ./~ */ ++ if (*str == '\\' && str[1] == '~') { ++ str++; ++ *dst++ = '.'; ++ *dst++ = '/'; ++ } ++ ++ while (*str) { ++ if (*str == '\\') ++ str++; ++ if (*str) ++ *dst++ = *str++; ++ } ++ *dst = '\0'; ++ ++ return dequoted_str; ++} ++ ++ ++/* ++ * completion function using sh quoting rules; for key binding ++ */ ++/* ARGSUSED */ ++unsigned char ++_el_fn_sh_complete(EditLine *el, int ch __attribute__((__unused__))) ++{ ++ return (unsigned char)fn_complete(el, NULL, NULL, ++ break_chars, NULL, NULL, 100, ++ NULL, NULL, NULL, NULL, ++ sh_find_word_start, sh_dequote, sh_quote); + } + +--- libedit-20170329-3.1/src/readline.c 2017-03-29 21:15:04.000000000 +0300 ++++ libedit-20170329-3.1/src/readline.c 2017-05-21 02:24:57.000000000 +0300 +@@ -1869,7 +1869,7 @@ + _rl_completion_append_character_function, + (size_t)rl_completion_query_items, + &rl_completion_type, &rl_attempted_completion_over, +- &rl_point, &rl_end); ++ &rl_point, &rl_end, NULL, NULL, NULL); + + + } + +--- libedit-20170329-3.1/src/histedit.h 2017-03-29 21:08:21.000000000 +0300 ++++ libedit-20170329-3.1/src/histedit.h 2017-05-21 02:32:04.000000000 +0300 +@@ -113,6 +113,7 @@ + int el_set(EditLine *, int, ...); + int el_get(EditLine *, int, ...); + unsigned char _el_fn_complete(EditLine *, int); ++unsigned char _el_fn_sh_complete(EditLine *, int); + + /* + * el_set/el_get parameters + +--- libedit-20170329-3.1/src/filecomplete.h 2017-03-29 21:08:21.000000000 +0300 ++++ libedit-20170329-3.1/src/filecomplete.h 2017-05-21 02:32:27.000000000 +0300 +@@ -35,7 +35,10 @@ + char *(*)(const char *, int), + char **(*)(const char *, int, int), + const wchar_t *, const wchar_t *, const char *(*)(const char *), size_t, +- int *, int *, int *, int *); ++ int *, int *, int *, int *, ++ const char *(*)(const char *, const char *), ++ char *(*)(const char *), ++ char *(*)(const char *)); + + void fn_display_match_list(EditLine *, char **, size_t, size_t); + char *fn_tilde_expand(const char *); diff --git a/dev-libs/libedit/files/libedit-20170329.3.1-ncursesprivate.patch b/dev-libs/libedit/files/libedit-20170329.3.1-ncursesprivate.patch new file mode 100644 index 000000000000..1d5432fac0be --- /dev/null +++ b/dev-libs/libedit/files/libedit-20170329.3.1-ncursesprivate.patch @@ -0,0 +1,10 @@ +--- libedit-20170329-3.1/libedit.pc.in 2017-03-29 21:08:21.000000000 +0300 ++++ libedit-20170329-3.1/libedit.pc.in 2017-05-21 01:28:55.000000000 +0300 +@@ -7,5 +7,6 @@ + Description: command line editor library provides generic line editing, history, and tokenization functions. + Version: @VERSION@ + Requires: +-Libs: -L${libdir} -ledit @LIBS@ ++Libs: -L${libdir} -ledit ++Libs.private: @LIBS@ + Cflags: -I${includedir} -I${includedir}/editline diff --git a/dev-libs/libedit/files/libedit-20170329.3.1-tinfo.patch b/dev-libs/libedit/files/libedit-20170329.3.1-tinfo.patch new file mode 100644 index 000000000000..e52b2559aa75 --- /dev/null +++ b/dev-libs/libedit/files/libedit-20170329.3.1-tinfo.patch @@ -0,0 +1,30 @@ +From 7aa660fd9d446567d3280765ba2a50a46b2a9159 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= +Date: Mon, 12 Jun 2017 21:36:54 +0200 +Subject: [PATCH] configure: Support -ltinfo as split in newer ncurses + +The newer versions of ncurses support building terminfo routines +as a split -ltinfo library. Account for that by adding this library +to the search list. +--- + configure.ac | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index 9a571b2..5d714b5 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -49,7 +49,9 @@ EL_MANTYPE + AC_CHECK_LIB(ncurses, tgetent,, + [AC_CHECK_LIB(curses, tgetent,, + [AC_CHECK_LIB(termcap, tgetent,, +- [AC_MSG_ERROR([libncurses, libcurses, or libtermcap is required!])] ++ [AC_CHECK_LIB(tinfo, tgetent,, ++ [AC_MSG_ERROR([libncurses, libcurses, libtermcap or libtinfo is required!])] ++ )] + )] + )] + ) +-- +2.13.1 + diff --git a/dev-libs/libedit/files/libedit-ncursesprivate.patch b/dev-libs/libedit/files/libedit-ncursesprivate.patch new file mode 100644 index 000000000000..0af9b1b882a3 --- /dev/null +++ b/dev-libs/libedit/files/libedit-ncursesprivate.patch @@ -0,0 +1,13 @@ +Index: libedit-20110709-3.0/libedit.pc.in +=================================================================== +--- libedit-20110709-3.0.orig/libedit.pc.in ++++ libedit-20110709-3.0/libedit.pc.in +@@ -7,6 +7,7 @@ Name: libedit + Description: command line editor library provides generic line editing, history, and tokenization functions. + Version: @VERSION@ + Requires: +-Libs: -L${libdir} -ledit @LIBS@ ++Libs: -L${libdir} -ledit ++Libs.private: @LIBS@ + Cflags: -I${includedir} -I${includedir}/editline + diff --git a/dev-libs/libedit/libedit-20130712.3.1.ebuild b/dev-libs/libedit/libedit-20130712.3.1.ebuild new file mode 100644 index 000000000000..8f62738565c4 --- /dev/null +++ b/dev-libs/libedit/libedit-20130712.3.1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils toolchain-funcs versionator base multilib-minimal + +MY_PV=$(get_major_version)-$(get_after_major_version) +MY_P=${PN}-${MY_PV} + +DESCRIPTION="BSD replacement for libreadline" +HOMEPAGE="http://www.thrysoee.dk/editline/" +SRC_URI="http://www.thrysoee.dk/editline/${MY_P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +IUSE="static-libs" + +DEPEND=">=sys-libs/ncurses-5.9-r3[static-libs?,${MULTILIB_USEDEP}] + !<=sys-freebsd/freebsd-lib-6.2_rc1" + +RDEPEND=${DEPEND} + +S="${WORKDIR}/${MY_P}" + +PATCHES=( + "${FILESDIR}/${PN}-ncursesprivate.patch" + "${FILESDIR}/${PN}-20100424.3.0-bsd.patch" + "${FILESDIR}/${PN}-20110709.3.0-weak-reference.patch" + "${FILESDIR}/${PN}-20120311-3.0-el_fn_sh_complete.patch" + ) + +multilib_src_configure() { + ECONF_SOURCE="${S}" econf \ + $(use_enable static-libs static) \ + --enable-widec \ + --enable-fast-install +} + +multilib_src_install() { + emake DESTDIR="${D}" install + gen_usr_ldscript -a edit +} + +multilib_src_install_all() { + einstalldocs + prune_libtool_files --all +} diff --git a/dev-libs/libedit/libedit-20170329.3.1.ebuild b/dev-libs/libedit/libedit-20170329.3.1.ebuild new file mode 100644 index 000000000000..bb9cfbd59ae9 --- /dev/null +++ b/dev-libs/libedit/libedit-20170329.3.1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" +inherit autotools multilib-minimal toolchain-funcs + +MY_PV=${PV/./-} +MY_P=${PN}-${MY_PV} + +DESCRIPTION="BSD replacement for libreadline" +HOMEPAGE="http://thrysoee.dk/editline/" +SRC_URI="http://thrysoee.dk/editline/${MY_P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +IUSE="static-libs" + +DEPEND=">=sys-libs/ncurses-5.9-r3[static-libs?,${MULTILIB_USEDEP}] + !<=sys-freebsd/freebsd-lib-6.2_rc1" + +RDEPEND=${DEPEND} + +S="${WORKDIR}/${MY_P}" + +PATCHES=( + "${FILESDIR}/${P}-ncursesprivate.patch" + "${FILESDIR}/${P}-el_fn_sh_complete.patch" + "${FILESDIR}/${P}-tinfo.patch" +) + +src_prepare() { + default + eautoreconf +} + +multilib_src_configure() { + ECONF_SOURCE="${S}" econf \ + $(use_enable static-libs static) \ + --enable-widec \ + --enable-fast-install +} + +multilib_src_install() { + emake DESTDIR="${D}" install + gen_usr_ldscript -a edit +} + +multilib_src_install_all() { + einstalldocs + find "${D}" -name '*.la' -delete || die + # file collission with sys-libs/readline + rm "${ED%/}/usr/share/man/man3/history.3" || die +} diff --git a/dev-libs/libedit/metadata.xml b/dev-libs/libedit/metadata.xml new file mode 100644 index 000000000000..21c15532409c --- /dev/null +++ b/dev-libs/libedit/metadata.xml @@ -0,0 +1,16 @@ + + + + + bsd@gentoo.org + BSD Project + + +GNU Readline is cool, but BSD Readline is cooler :) +Thus here is libedit by the NetBSD folks! +The glibc/bsdlibc stuff comes from the debian tarball, thanks to them too :) +The patch is handcrafted with a few ideas from libedit.sf.net and a few ideas +from the debian package. This patch aims to be as small as possible (so as +to make future cvs snapshots cake). + + diff --git a/dev-libs/libee/Manifest b/dev-libs/libee/Manifest new file mode 100644 index 000000000000..06f7bdadfc7b --- /dev/null +++ b/dev-libs/libee/Manifest @@ -0,0 +1,5 @@ +DIST libee-0.4.1.tar.gz 357116 SHA256 c0dac01938593deee06c3d161e4eda4ecc0fd7317e1321bd96e301aceb7fb027 SHA512 810cbca8077c975b045b6761de22642708b3555aa8959c17e6be3f3865612642176762ca4def09274a6291256608f11b5833bfaaa25ba0d66f71d0dee6f594d4 WHIRLPOOL 565824564930da7aa927ebb107a2821ac3aede217a3c8219dbd6222c32ab2705243ca771733627715efaf01f26e4f7959b662cfac39e939dbcf82aee381374ac +EBUILD libee-0.4.1.ebuild 655 SHA256 4865ba8e73b0859230c9c440ce46a9ef81525fbea9f411bc21fc7e63d18edd43 SHA512 08016e57bcd35ffb44a23eb29160e584ae1c60273c89a4e908da58a9ba8b7f6c704f891bdaa930c2435830bd714fbcee5a7a759b82149ec081691c52a67ec7b7 WHIRLPOOL 319be9db516661f6a752936ee518a8dcf749568473f5f7fea6de24aaac158cbddcc390b50ee8871c2a043c47e58a7823af0f08422d683c65468d96dc52468964 +MISC ChangeLog 2994 SHA256 86d7c208d9f90300661299dcf79739791877534790de028f46124f358b7c1a34 SHA512 45fae52da22b5b03e5073fce7f7f925ef87870506ef851bfe77828b202cd2e3b806ec66bb3ca579201d81b89e2ea43bc4d394decebd5cb946f8b517535da9de5 WHIRLPOOL 0345743d725f130676d998bf13d17a98c7208cb5e4f1af31c71d98bc072f74f43bfcca203662638eac2e3ece43ede5d2697ce886b7f1c9cbf6f0bd38b50658b8 +MISC ChangeLog-2015 2367 SHA256 8dc6bf38c33b0b12a3bb25eb4d53f650963f4416720c08cf0146e0614cadd513 SHA512 27ddf1214b7a5ae023ac62a9b5ece4e55c94eeeb38f209f2a6626cb9c21009177e9cdd94a669c2769959a6079dd6eda6fd7c43aef8c4ef1463195805164af389 WHIRLPOOL c1a7d5218b2ec48958864850e31e3607d97f8b5e45a30aa48fb7d7f696e4c269a4a7f12e000f609b11cf8e2347796aa750f4c5280bdf50149c4a3d74ea0e8eb9 +MISC metadata.xml 325 SHA256 55923efd1fa86301647e3de5e9fd536aef75c5d3411d5282b0288e49a414604c SHA512 0118c80631e3be45293d46bf16ca279033edd35365dc332f155880fc328a7310272da11ada63de212283d77c7f051bda648520a4b9c0600f67675da4015d14a7 WHIRLPOOL 49aa53ff0918ff736771b4005e29c8be44aa8e8f70c76f20ba4d97174e3bb6cd9d2f9cd8397b96c4c21a36cf05db06c47e0b77ae6fc4d008be4f0ecc8d0aef75 diff --git a/dev-libs/libee/libee-0.4.1.ebuild b/dev-libs/libee/libee-0.4.1.ebuild new file mode 100644 index 000000000000..266f15686957 --- /dev/null +++ b/dev-libs/libee/libee-0.4.1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +inherit autotools-utils + +DESCRIPTION="An Event Expression Library inspired by CEE" +HOMEPAGE="http://www.libee.org" +SRC_URI="http://www.libee.org/files/download/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="amd64 arm ~arm64 hppa x86 ~amd64-linux" +IUSE="debug static-libs" + +DEPEND="dev-libs/libxml2 + dev-libs/libestr" +RDEPEND="${DEPEND}" + +DOCS=(INSTALL ChangeLog) + +src_configure() { + local myeconfargs=( + $(use_enable debug) + --enable-testbench + ) + autotools-utils_src_configure +} + +src_compile() { + autotools-utils_src_compile -j1 +} diff --git a/dev-libs/libee/metadata.xml b/dev-libs/libee/metadata.xml new file mode 100644 index 000000000000..6393d294e803 --- /dev/null +++ b/dev-libs/libee/metadata.xml @@ -0,0 +1,11 @@ + + + + + whissi@gentoo.org + Thomas Deutschmann + + + maksbotan@gentoo.org + + diff --git a/dev-libs/libelf/Manifest b/dev-libs/libelf/Manifest new file mode 100644 index 000000000000..048ac6c15708 --- /dev/null +++ b/dev-libs/libelf/Manifest @@ -0,0 +1,6 @@ +AUX libelf-0.8.13-build.patch 1358 SHA256 8e43936210c2a2e81f29f5e9cd74a462d9f100113b47fde4d35811cb53b0327b SHA512 7971ef661c058d092c7d5c89649c9abdec1b9fea45bb71f442d5a671a754f793b54674a7665614551067733f1c415c4e05be99c7714d78488eb19850a409f98c WHIRLPOOL 0ac387f70d3be35e106faf2e83f003ddaa7fb07bd4e65db22dd237857e8402fbd4d1d889e818ce4f572b3603382f338c97e77d7481232b8ab15bca544af9f6b2 +DIST libelf-0.8.13.tar.gz 148529 SHA256 591a9b4ec81c1f2042a97aa60564e0cb79d041c52faa7416acb38bc95bd2c76d SHA512 d2a4ea8ccc0bbfecac38fa20fbd96aefa8e86f8af38691fb6991cd9c5a03f587475ecc2365fc89a4954c11a679d93460ee9a5890693112f6133719af3e6582fe WHIRLPOOL 9349d18a1c96ad200166b6c39da1cb097894f5e39c34d07b9e168a8172ec4b7838d9c1dd57f2de4fb945fa3a2bab9cf0c78ce983ee6093e83405a67515ac03ce +EBUILD libelf-0.8.13-r2.ebuild 1451 SHA256 54efa774b7d573dbd36f9f596aae1653871223527df801c3c85c2d00fc13ebf7 SHA512 80fa0e402aa21ed72ca4a96f945aa07cdf1f7e5e7dcaecd09d8d43a8dbcaa4fd6b80e687c4d13474a064a326d007c43ce652969d3323390343df69d2e3fd7efb WHIRLPOOL e8883231f25220b808b4a1b59e6714376fe89253012c15b610b5aece26e93a6f1586130e960358ccc8fb77290efaba49744f020fc2a2e6a0f8051ee1d576cee5 +MISC ChangeLog 2275 SHA256 116dc411adc6db782a0521ec063a6d0126de0eeb7952158faf6319fd8692ffb5 SHA512 5ff51998eb632d53732169e196c412d802b8092c9e797c2ed81792d0394aa754fc3679833a77e2504fb06f2a01f7b65f5e1e13735a1a81784bbd4a8ebbb160bf WHIRLPOOL b988ba34f9db956b64ea5b980239e6405a8625ed343221daf2e286e3803060854bde98502468ed7540756c82c9adfb755d1cce51cc184f7527c52be50f5a5722 +MISC ChangeLog-2015 6238 SHA256 900017d240bb18536b99f202b045e87a14af2c5b27089800eda7461814e00cce SHA512 8b0f18e58b87487acdd47a7b25e42f7ea57d6b3b6fade7416380cd9c3eba0ba39ad2436f7832cf4307e7370add7ca65fdd10e1255ed7dc3bfe6418e40277695c WHIRLPOOL 508ffbb0624aaa46dd7405f9eaf2d5f664f4b5ebadfcf4557a2e3e65675ab71a28dd3d7b766c70fbfd565cb6cfce8b15062dede05ec41aa5b075c08f4e7a88a2 +MISC metadata.xml 252 SHA256 a590e5133cd97a615db4f977b0e28e5c60c56cac76eb3d339109cdf379003b60 SHA512 cbda7bf9832872764ae776ce16b2966c37a2ba3a1982d9817006fd6b82d7b17146434cde428bf114062a483e9053d2acdcdd004695e6ebf428d19cdc09937c65 WHIRLPOOL b209a730a169969b9e3c4d4612368bc5b30bfa5fae275d98d83ba96fd0ad01d308a8fed4f7d67a7c9fa417c624dfeb23ce89ab58923a8a0b5b1bd68ee73f288c diff --git a/dev-libs/libelf/files/libelf-0.8.13-build.patch b/dev-libs/libelf/files/libelf-0.8.13-build.patch new file mode 100644 index 000000000000..7e0cce6384d9 --- /dev/null +++ b/dev-libs/libelf/files/libelf-0.8.13-build.patch @@ -0,0 +1,38 @@ +Index: libelf-0.8.13/aclocal.m4 +=================================================================== +--- libelf-0.8.13.orig/aclocal.m4 ++++ libelf-0.8.13/aclocal.m4 +@@ -235,7 +235,7 @@ AC_DEFUN(mr_ENABLE_SHARED, [ + AC_REQUIRE([AC_PROG_CC]) + AC_PATH_PROG(LD, ld, ld) + case "$host" in +- *-linux*|*-gnu*) ++ *-linux*|*-gnu*|*-freebsd*|*-solaris*) + if test "$GCC" = yes; then + mr_TARGET_ELF + if test "$mr_cv_target_elf" = yes; then +Index: libelf-0.8.13/lib/Makefile.in +=================================================================== +--- libelf-0.8.13.orig/lib/Makefile.in ++++ libelf-0.8.13/lib/Makefile.in +@@ -158,7 +158,7 @@ libelf.a: $(OBJS) $(LIBOBJS) + + $(SHLIB): libelf.a + @$(RM) $(SHLIB) +- $(LINK_SHLIB) -o $(SHLIB) $(OBJS:.o=.os) $(LIBOBJS:.o=.os) $(DEPSHLIBS) ++ $(LINK_SHLIB) $(LDFLAGS) -o $(SHLIB) $(OBJS:.o=.os) $(LIBOBJS:.o=.os) $(DEPSHLIBS) + if test "$(SONAME)" = "$(SHLIB)"; then true; else \ + $(RM) $(SONAME) && $(LN_S) $(SHLIB) $(SONAME); \ + fi +@@ -169,9 +169,9 @@ $(SHLIB): libelf.a + install: install-data \ + install-shared-$(DO_SHLIB) install-compat-$(DO_COMPAT) + +-installdirs: $(top_srcdir)/mkinstalldirs ++installdirs: + dirs="$(installdirs)"; for dir in $$dirs; do \ +- $(SHELL) $(top_srcdir)/mkinstalldirs $(instroot)$$dir; \ ++ mkdir -p $(instroot)$$dir; \ + done + + install-data: all installdirs diff --git a/dev-libs/libelf/libelf-0.8.13-r2.ebuild b/dev-libs/libelf/libelf-0.8.13-r2.ebuild new file mode 100644 index 000000000000..dfdf04f54581 --- /dev/null +++ b/dev-libs/libelf/libelf-0.8.13-r2.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit eutils multilib autotools multilib-minimal + +DESCRIPTION="A ELF object file access library" +HOMEPAGE="http://www.mr511.de/software/" +SRC_URI="http://www.mr511.de/software/${P}.tar.gz" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="debug nls elibc_FreeBSD" + +RDEPEND="!dev-libs/elfutils + abi_x86_32? ( + !<=app-emulation/emul-linux-x86-baselibs-20130224-r11 + !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] + )" +DEPEND="nls? ( sys-devel/gettext )" + +DOCS=( ChangeLog README ) +MULTILIB_WRAPPED_HEADERS=( /usr/include/libelf/sys_elf.h ) + +src_prepare() { + epatch "${FILESDIR}/${P}-build.patch" + eautoreconf +} + +multilib_src_configure() { + # prefix might want to play with this; unfortunately the stupid + # macro used to detect whether we're building ELF is so screwed up + # that trying to fix it is just a waste of time. + export mr_cv_target_elf=yes + + ECONF_SOURCE="${S}" econf \ + $(use_enable nls) \ + --enable-shared \ + $(use_enable debug) +} + +multilib_src_install() { + emake \ + prefix="${ED}usr" \ + libdir="${ED}usr/$(get_libdir)" \ + install \ + install-compat \ + -j1 || die + + # Stop libelf from stamping on the system nlist.h + use elibc_FreeBSD && rm "${ED}"/usr/include/nlist.h +} diff --git a/dev-libs/libelf/metadata.xml b/dev-libs/libelf/metadata.xml new file mode 100644 index 000000000000..d920e3ba3e56 --- /dev/null +++ b/dev-libs/libelf/metadata.xml @@ -0,0 +1,8 @@ + + + + + blueness@gentoo.org + Anthony G. Basile + + diff --git a/dev-libs/liberasurecode/Manifest b/dev-libs/liberasurecode/Manifest new file mode 100644 index 000000000000..72fd8e3f9375 --- /dev/null +++ b/dev-libs/liberasurecode/Manifest @@ -0,0 +1,7 @@ +DIST liberasurecode-1.0.8.tar.gz 202130 SHA256 d0ce0968f80e772bcabfc44bdf77dd144f4917b485951fbca25e199c439823a8 SHA512 eba22b48063c8ea19cf616a47eaef05565dc9444c464f0c795ed8092997c5d9102c524b69e8692cc696db98db0b9279c308cb99fcb691897a87c6cfb569319ad WHIRLPOOL 739c2992cd844df31397719f1e500472b9d6d53bc60ae3a5e237415615166a224a2c1e360512c33ca1f0bac93cf42d25734c1e8d7937c8b88fdf1dc03c59a018 +DIST liberasurecode-1.1.1.tar.gz 202934 SHA256 b518e05f9bcb393e3ea6e5b10c1fd78c2897bdbd8540db93cee813d2ddfb14a3 SHA512 651d9537f2f1152eecae777b02d4d877b3aabcc88c354fe977679ca5025c83635b165fdf12be6174944037822ad3e2b075a9c270cae81c8f4f15c4bfcdc569cf WHIRLPOOL 76be1ec6adb81ff8c81ef854c5abff4eeabe9889aeb68d3de43de5b8461a51721374e915327c7b71bfeaf05762cf9b04b18d2b852242511b0af963f68770aea6 +EBUILD liberasurecode-1.0.8-r1.ebuild 1048 SHA256 63b407405c51091b0c5616351378e30da730b13a7842cf91fbf217e951bd61fa SHA512 f1199039e9baabf7dc802ba9fa8cea08c27d86fd22887c35261a99c769612107bcacd691359702018cf76651a973d2b8dae55424204e62648fc40be096af8742 WHIRLPOOL 05c86227a4c853c8d2e75bb632a64c1eaa25abf4f339ffad2cbc8f5327d675fc915a2431b9561073a2f254eac7883aef75c48f9fa412e1e4da56e9e7f789424b +EBUILD liberasurecode-1.1.1.ebuild 1061 SHA256 5575ceb921c070d02f7988155203cf9dc0454656b8ee5852487ba85ebcc53609 SHA512 ecd84bfaebffef13a302d83b5c4a76f79aed06eafd2025b83e1610f4021f78ef99848948c2d04c338c2649046c2402f241c9b931faf5a90d079db0ace8502505 WHIRLPOOL 81c65861c53515db23b99ef3a8c695afb1e4a07c143d76a8a494c05730c4b32e025e2e328cd7467dd38ad829be2604cf5cbc85847cf5838c851543b00b2f08b7 +MISC ChangeLog 3314 SHA256 d321bd4d7048c59035984236839eec740e3e8a7e02014bff9c8227106ec9dc23 SHA512 e46e3bae6df78e4109d49c17f406d0528a58e3c95c5705d2bdd298e1f428d49ea84e441ed6c553c16f13c4b051c888601f264d9da491b01d5ac7a7f3121080e7 WHIRLPOOL 95bc4057a1e6786b3f8edcf63fd33d0f5ba49d5b67b4184048055f7f95600db23d0d64b1c9db3d1c429820ac2f63067022a9910f8594cf14c39b57ab90e2e4ff +MISC ChangeLog-2015 1102 SHA256 fe6cdad3549fd536df86ccaaf9a607ab43884be0ee513d57fa2f6fa4b49d97a1 SHA512 038aee300de98275c45fe808bffa259a6e71d222161c81ae93c96dd12ddfa38d3079ff35728740b28744b320ddb6b88274b5ed7f4f695e60cfd12f3787d9eb4f WHIRLPOOL b769c9f9b85861c5ab70425d48f532d48f4a2e44f4205815e77733aa96564bc35e56f6c4d9618b9125eec233b436f87df86704cd6d35563087fb76454a0948e6 +MISC metadata.xml 464 SHA256 2c2d8f55c34c4bb9a460f92023630e5daaf5944a51e05acf8081d86e2b2f985d SHA512 1b94d0071d7670f163e28193c066b6a9f39a086051aba5e6291c0f31d56465e6cbf48798adf6fc90e08fd56121063d909bcd4aeec58547539ec72dde4210b197 WHIRLPOOL 6fc66149b8f2a0bdfda35b787fdb4a1c6f2cb1ff795f2627e5e7e67cc01082971441acf38febb189a011a4777e1917a15a5260d649ff5e7aeb684da45c389cb4 diff --git a/dev-libs/liberasurecode/liberasurecode-1.0.8-r1.ebuild b/dev-libs/liberasurecode/liberasurecode-1.0.8-r1.ebuild new file mode 100644 index 000000000000..9ea1634c9c0b --- /dev/null +++ b/dev-libs/liberasurecode/liberasurecode-1.0.8-r1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit autotools eutils multilib toolchain-funcs + +DESCRIPTION="Erasure Code API library written in C with pluggable Erasure Code backends." +HOMEPAGE="https://bitbucket.org/tsg-/liberasurecode/overview" +SRC_URI="https://bitbucket.org/tsg-/${PN}/get/v${PV}.tar.gz -> ${P}.tar.gz" +CUSTOM_VERSION="f61e907d2bbc" +S="${WORKDIR}/tsg--${PN}-${CUSTOM_VERSION}" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 ~arm64 x86" +IUSE="doc static-libs" + +RDEPEND="" +DEPEND="sys-devel/autoconf + doc? ( app-doc/doxygen )" + +src_prepare() { + sed -i -e 's/-O2\ //g' \ + -e 's/mmx\ /mmx2\ /g' \ + -e 's/cat\ g/#cat\ g/g' configure.ac || die + sed -i -e "s/^TARGET_DIR.*$/TARGET_DIR=\/usr\/share\/doc\/${PF}\/html/g" doc/Makefile.am || die + eautoreconf -i -v +} + +src_configure() { + econf \ + --htmldir=/usr/share/doc/${PF} \ + --disable-werror \ + $(use_enable doc doxygen) \ + $(use_enable static-libs static) +} + +src_install() { + default + prune_libtool_files +} diff --git a/dev-libs/liberasurecode/liberasurecode-1.1.1.ebuild b/dev-libs/liberasurecode/liberasurecode-1.1.1.ebuild new file mode 100644 index 000000000000..98e668e95e1d --- /dev/null +++ b/dev-libs/liberasurecode/liberasurecode-1.1.1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools eutils multilib toolchain-funcs + +DESCRIPTION="Erasure Code API library written in C with pluggable Erasure Code backends." +HOMEPAGE="https://bitbucket.org/tsg-/liberasurecode/overview" +SRC_URI="https://bitbucket.org/tsg-/${PN}/get/v${PV}.tar.gz -> ${P}.tar.gz" +CUSTOM_VERSION="debb72493d0e" +S="${WORKDIR}/tsg--${PN}-${CUSTOM_VERSION}" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 ~arm64 x86" +IUSE="doc static-libs" + +RDEPEND="" +DEPEND="sys-devel/autoconf + doc? ( app-doc/doxygen )" + +src_prepare() { + sed -i -e 's/-O2\ //g' \ + -e 's/mmx\ /mmx2\ /g' \ + -e 's/cat\ g/#cat\ g/g' configure.ac || die + sed -i -e "s/^TARGET_DIR.*$/TARGET_DIR=\/usr\/share\/doc\/${PF}\/html/g" doc/Makefile.am || die + eautoreconf -i -v + eapply_user +} + +src_configure() { + econf \ + --htmldir=/usr/share/doc/${PF} \ + --disable-werror \ + $(use_enable doc doxygen) \ + $(use_enable static-libs static) +} + +src_install() { + default + prune_libtool_files +} diff --git a/dev-libs/liberasurecode/metadata.xml b/dev-libs/liberasurecode/metadata.xml new file mode 100644 index 000000000000..ce845822cbbe --- /dev/null +++ b/dev-libs/liberasurecode/metadata.xml @@ -0,0 +1,15 @@ + + + + + prometheanfire@gentoo.org + Matthew Thode + + + openstack@gentoo.org + Openstack + + + tsg-/liberasurecode + + diff --git a/dev-libs/libestr/Manifest b/dev-libs/libestr/Manifest new file mode 100644 index 000000000000..b574c0fc5e94 --- /dev/null +++ b/dev-libs/libestr/Manifest @@ -0,0 +1,5 @@ +DIST libestr-0.1.10.tar.gz 336122 SHA256 bd655e126e750edd18544b88eb1568d200a424a0c23f665eb14bbece07ac703c SHA512 477b06e2b6ea9b2e34fe0d91328c9191a678b173751e595359c05772db50a4d348ac132bec0c926fba91ceccc013e15cd4cc57a6b734874c06073bf23151bac7 WHIRLPOOL b3b278e28c93bac59541d337b348a049458fea1e0b0e06bfc80a06b3d66b01e965025e0f83e0fb82abb090ef70ee05eb3b30181072244437571271f510665b7b +EBUILD libestr-0.1.10.ebuild 695 SHA256 bc2be5f8ba6f21304f84787ed367da3d0f701c408ce601f6cd55960da9fa2a5f SHA512 a408d345bdb13b504264d0ef514e2c858c134ccda3cb3b20a0393666362af43e7ac6f2aab66067a592fc01c84863513281bc3d8ebaf06e2a6939896866ef6747 WHIRLPOOL d587964c08ddb8d3a9e7b5c876afc424fe1454532585b5ec9d9f4c8229bea6c3f0209c3f9540780b3bdd044daf49ffb5691339d75d2c82f69fc0688ddcc9a667 +MISC ChangeLog 4889 SHA256 9a28f25e31e517f08d18c2748bfe43a290d66804f0baa17c3ef9d6211a98ecfd SHA512 3935fb968aa8d6cb476b01f0fb652f0837d073051333bb2b86e3d67755af047d448a93fc8f31bd39a6949e104eb7df21c601f04c69db15b71265ed68728967a1 WHIRLPOOL 83410a0e1448f29f4339073a63ce3563ca8f15a9f24ed8b12060b1c6b7fa6d564f2885c3a47f32ab39d2d5950304a9e5168317a00de9b929ebc82e5556880e5c +MISC ChangeLog-2015 3645 SHA256 ce03a0a0961b4ae751cc374e3b239ce8efe07c79fd4f3637f9d3a911ce38dd9d SHA512 55da7c1960a3e8137e6905e9b2757ec841fc7202286a7898148dd9717ba2a43689f371fab242c2a1ca8cff4131b31f42a0b7bf16cc86768b170643a68af7b2c9 WHIRLPOOL 141d72af2ba96463c5653710676528647d02851cd826bafa2003b2811b2537dfc8c35f8e170f140bd7d5631d1d3a77b667495346b51866ddc21cd88d243a9fd0 +MISC metadata.xml 552 SHA256 f86dd9f3ca4e4548fe6e82635405372187a0216c7638cdbb44659d40bd3735eb SHA512 1a6ca50b6dea338bfe40f62e9a858d283fb4b02c619b2c56381fa018fcd9f60a75816bb3bdf6c65db9a464893b0cb5782bca2e93a67ef821266d2bf5ccb17f72 WHIRLPOOL f69a9b690f8b093725c47efb61e836ac3945d040de5bceba07cfe6175cca439504967512b5c7b5a64a33053f0a19716c4c21e7db165a193a34bfc1074ba895ca diff --git a/dev-libs/libestr/libestr-0.1.10.ebuild b/dev-libs/libestr/libestr-0.1.10.ebuild new file mode 100644 index 000000000000..7fdd28148ecd --- /dev/null +++ b/dev-libs/libestr/libestr-0.1.10.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools + +DESCRIPTION="Library for some string essentials" +HOMEPAGE="http://libestr.adiscon.com/" +SRC_URI="http://libestr.adiscon.com/files/download/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="amd64 arm arm64 hppa x86" +IUSE="debug static-libs test" + +DEPEND="" +RDEPEND="${DEPEND}" + +src_prepare() { + default + + eautoreconf +} + +src_configure() { + local myeconfargs=( + $(use_enable debug) + $(use_enable static-libs static) + $(use_enable test testbench) + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + default + + find "${ED}"usr/lib* -name '*.la' -delete || die +} diff --git a/dev-libs/libestr/metadata.xml b/dev-libs/libestr/metadata.xml new file mode 100644 index 000000000000..48950baaeab1 --- /dev/null +++ b/dev-libs/libestr/metadata.xml @@ -0,0 +1,17 @@ + + + + + whissi@gentoo.org + Thomas Deutschmann + Primary maintainer + + + maksbotan@gentoo.org + Maxim Koltsov + + + https://github.com/rsyslog/libestr/issues + rsyslog/libestr + + diff --git a/dev-libs/libev/Manifest b/dev-libs/libev/Manifest new file mode 100644 index 000000000000..f564edf29cff --- /dev/null +++ b/dev-libs/libev/Manifest @@ -0,0 +1,8 @@ +AUX libev-pc.patch 1031 SHA256 c80e756f4404e40d93d027f161413748c750838168653ae0014e97c5b76a2d0c SHA512 09905e5bdd28b06e92bf0023b659c339e2dee05c78657f0871275ad3816cd050db346cfa6621d569b3b12977b2f99a63edcb9a5613367167d7187d705ee44fbb WHIRLPOOL 505f85d6387fe9bd5084b382b002cd6194ea1a8fcf8507e1bb5496a0360a594c08764d4fcf4e5efdc128ea759d376ff59a6fb79b28638cb6147020b3675e2ef5 +DIST libev-4.23.tar.gz 524184 SHA256 c7fe743e0c3b50dd34bf222ebdba4e8acac031d41ce174f17890f8f84eeddd7a SHA512 e3d98364b3788a7f5c56be49b99cecc98da6323fc7e6d47aff808580653ab9effffe88636a2f5d357d596a9a580e778c20139cc162467e3e2c5fc736713c6e39 WHIRLPOOL 4ed45531e316fb9193d91b6b8bd24d678b3ccb310d30df1958a53ed4a49f73940c3a5385b81e94daf7ebd936cb2488cb002e7cda920e66d74f5393608d8118c8 +DIST libev-4.24.tar.gz 524264 SHA256 973593d3479abdf657674a55afe5f78624b0e440614e2b8cb3a07f16d4d7f821 SHA512 e4cb3b5dd4b9828d5b8da840c73ae4604258a8c4330aafa5472298b83bf944628f36918f0ddd47d9069d255639f0b24a2cf8d349f0644ffd50de823bcb54a31a WHIRLPOOL 552c5a4fffc1abba7fcc0cfc4e20a3562fc37fe5704953801397c2720a646b9b5b76bfefd5eb9f1c33f30a4431d02d7ce3938f2bb77b051e095b773a2b4d2d9e +EBUILD libev-4.23.ebuild 1102 SHA256 8e319f26cc226476818236e6a8b04a59eef8cb12f983fbea3e791530e8655615 SHA512 59e0ec5435b84f9db4f5086de6ad09ea6a814cfb2952e1f80ae98abe35f8ced08192a7c149deca7e89b7d1425ef83860d44b7d9883d6d4448bf962ed4970fe91 WHIRLPOOL c8364ebc4bd2f6d78d4aa70a1f2863a7777012116190eaa6dfa839982aabddc8827a2aec04c1031ba0eca9a16154c4bb4cdc4c83bf06989a097007dfe2dfb605 +EBUILD libev-4.24.ebuild 1111 SHA256 bdc57c47c8421c62c85007a3215c57fc71a70e4a6a37b4bd877aa4f0195ca47a SHA512 cac9462246a651075f49f3a5d8009d0d0e2582edabe159fd2d5c8134dbbd66ce270a883a371a7d9758a0eb21b88a0da9ccd80f3cd27e08ebaee41305cb16d642 WHIRLPOOL 3bdc72f64e15b614b04f3aada183cf7ee74ed761798305e567c282c4bd14d9cd9b316fba6199949b72b5560b4a7138d5e2fdb7aa972edaf58db4216bf2cff0de +MISC ChangeLog 4691 SHA256 950e23f8abca684db95e96fe96bef3efcd1f1e11a057701ec55aa4a5ee43c677 SHA512 8dfa78625f8a46542d9084aba318a569cf5436d7669dba26399df3691a4a5ee67a13d99879a162151bfc94913d067dcb901acd594fa6afbce956dc34a14697d5 WHIRLPOOL cb1d5526818d72fb734947fd6abcaad257027801484fedc698ab8528b500f6af89e23e33dffda1ab645108b26f313fba0205bf371443cc36a5843ee6a3569d52 +MISC ChangeLog-2015 9394 SHA256 7516c6c807268861d34752d7d338e72ea10db2b9f2ef3d0594c0b21e0ebcdda3 SHA512 cc54b30964b5281eaabe79efcc91e20ec657db0da0317975794d9a7d8dbc75359c793b37fc8393a2bf3233f147ba3c395f5525d0d3eaca915242db78bc93ff1d WHIRLPOOL 675a826425770b66e709ec231edc18924e07459d50aaedad4cf9c00afdfe4600ffcf1620dd7de9fdf39fabd06444b359616daa6fd7a6846fc15af2f9c146afce +MISC metadata.xml 246 SHA256 cecfa173af2453ab4c40b631bd26caac6bf3a99e6dbe0342f616f4f226bf938a SHA512 9977bb6fcdb8374bf6148fef57fa31bf04fdd8eb3701ecd75be5ea62a48382fb0ef703b3d01bbc996f91322b6fd0f8365dfa4134426770fa98d624d69d8073d9 WHIRLPOOL 49cce7cacfd71158240e97d8a5eb33ae717cead254b91d260b83c9882ee8e245a2a63ccce1ed22066155e5e1806817933e608d9903b378bdac40151fd924c62f diff --git a/dev-libs/libev/files/libev-pc.patch b/dev-libs/libev/files/libev-pc.patch new file mode 100644 index 000000000000..a2a4c62a1ac8 --- /dev/null +++ b/dev-libs/libev/files/libev-pc.patch @@ -0,0 +1,42 @@ +--- /dev/null ++++ b/libev.pc.in +@@ -0,0 +1,11 @@ ++prefix=@prefix@ ++exec_prefix=@prefix@ ++libdir=@libdir@ ++includedir=@includedir@ ++ ++Name: libev ++Description: A high-performance event loop/event model with lots of features ++Version: @VERSION@ ++Libs: -L${libdir} -lev ++Libs.private: ++Cflags: -I${includedir} +--- a/Makefile.am ++++ b/Makefile.am +@@ -16,5 +16,8 @@ lib_LTLIBRARIES = libev.la + libev_la_SOURCES = ev.c event.c + libev_la_LDFLAGS = -version-info $(VERSION_INFO) + ++pkgconfigdir = $(libdir)/pkgconfig ++pkgconfig_DATA = libev.pc ++ + ev.3: ev.pod + pod2man -n LIBEV -r "libev-$(VERSION)" -c "libev - high performance full featured event loop" -s3 <$< >$@ +--- a/configure.ac ++++ b/configure.ac +@@ -2,6 +2,7 @@ orig_CFLAGS="$CFLAGS" + + AC_INIT + AC_CONFIG_SRCDIR([ev_epoll.c]) ++AC_CONFIG_MACRO_DIR([m4]) + + AM_INIT_AUTOMAKE(libev,4.11) dnl also update ev.h! + AC_CONFIG_HEADERS([config.h]) +@@ -21,5 +22,5 @@ AC_PROG_LIBTOOL + + m4_include([libev.m4]) + +-AC_CONFIG_FILES([Makefile]) ++AC_CONFIG_FILES([Makefile libev.pc]) + AC_OUTPUT diff --git a/dev-libs/libev/libev-4.23.ebuild b/dev-libs/libev/libev-4.23.ebuild new file mode 100644 index 000000000000..9a694ef1a9a5 --- /dev/null +++ b/dev-libs/libev/libev-4.23.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit autotools eutils multilib-minimal + +DESCRIPTION="A high-performance event loop/event model with lots of feature" +HOMEPAGE="http://software.schmorp.de/pkg/libev.html" +SRC_URI="http://dist.schmorp.de/libev/${P}.tar.gz + http://dist.schmorp.de/libev/Attic/${P}.tar.gz" + +LICENSE="|| ( BSD GPL-2 )" +SLOT="0" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="elibc_glibc static-libs" + +# Bug #283558 +DEPEND="elibc_glibc? ( >=sys-libs/glibc-2.9_p20081201 )" +RDEPEND="${DEPEND}" + +DOCS=( Changes README ) + +src_prepare() { + sed -i -e "/^include_HEADERS/s/ event.h//" Makefile.am || die + + # bug #411847 + epatch "${FILESDIR}/${PN}-pc.patch" + + epatch_user + eautoreconf +} + +multilib_src_configure() { + ECONF_SOURCE="${S}" \ + econf \ + --disable-maintainer-mode \ + $(use_enable static-libs static) +} + +multilib_src_install_all() { + use static-libs || prune_libtool_files + einstalldocs +} diff --git a/dev-libs/libev/libev-4.24.ebuild b/dev-libs/libev/libev-4.24.ebuild new file mode 100644 index 000000000000..09f1af379797 --- /dev/null +++ b/dev-libs/libev/libev-4.24.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit autotools eutils multilib-minimal + +DESCRIPTION="A high-performance event loop/event model with lots of feature" +HOMEPAGE="http://software.schmorp.de/pkg/libev.html" +SRC_URI="http://dist.schmorp.de/libev/${P}.tar.gz + http://dist.schmorp.de/libev/Attic/${P}.tar.gz" + +LICENSE="|| ( BSD GPL-2 )" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="elibc_glibc static-libs" + +# Bug #283558 +DEPEND="elibc_glibc? ( >=sys-libs/glibc-2.9_p20081201 )" +RDEPEND="${DEPEND}" + +DOCS=( Changes README ) + +src_prepare() { + sed -i -e "/^include_HEADERS/s/ event.h//" Makefile.am || die + + # bug #411847 + epatch "${FILESDIR}/${PN}-pc.patch" + + epatch_user + eautoreconf +} + +multilib_src_configure() { + ECONF_SOURCE="${S}" \ + econf \ + --disable-maintainer-mode \ + $(use_enable static-libs static) +} + +multilib_src_install_all() { + use static-libs || prune_libtool_files + einstalldocs +} diff --git a/dev-libs/libev/metadata.xml b/dev-libs/libev/metadata.xml new file mode 100644 index 000000000000..3398ef8b263c --- /dev/null +++ b/dev-libs/libev/metadata.xml @@ -0,0 +1,8 @@ + + + + + dlan@gentoo.org + Yixun Lan + + diff --git a/dev-libs/libevdev/Manifest b/dev-libs/libevdev/Manifest new file mode 100644 index 000000000000..f682af381a0e --- /dev/null +++ b/dev-libs/libevdev/Manifest @@ -0,0 +1,7 @@ +DIST libevdev-1.5.6.tar.xz 407024 SHA256 ecec7e9d66b1d3692f10b3b20aa97fb25e874a784c5552a7b1698091fef5a688 SHA512 4e9f44e0957d9d83e46de095f1eb8a64d7db808ac5a397d266ec1149948b82aa3f123fcf3d47cd72aff2741cce13b2162324c195f892861de97d7beb19ef6b19 WHIRLPOOL bbc0be49280c07249d802a14b8f054a5a116a3b18bd42e3a6a700011f293f1b1b0c8dd40f611a1a68a9b1b3e7f07cc316acdba2e12ab24d66be662c9f36396ac +DIST libevdev-1.5.7.tar.xz 407452 SHA256 a1e59e37a2f0d397ffd7e83b73af0e638db83b8dd08902ef0f651a21cc1dd422 SHA512 53adf6c92ec61f0635b643a88d8762a18f7cd3088d23ac95831be32cc7150ebd19f20265b90f6a1f9a63420c2f8968c2d17d8dc4892c0e90f9dfcce82c622df1 WHIRLPOOL 7b59aff73a2b11f913ce65b153e727e0132a4b291a33c95902c9abbe9ac42a86d7cd5ce560f9a66aca39722507654da0790f49071d903a1928c95fc772899142 +EBUILD libevdev-1.5.6.ebuild 652 SHA256 3ac65a9f69d17714c458ea7058a8f1af7431972eeddda04774c58b69d676bd05 SHA512 27b180e3a64a0221fc8a10b4a7d7f26b7e37cec8206404a48d1628ef248948a7e5d04541ecaecc212064c482e8ed5856948cd6eb3a41b51df689d838389fd104 WHIRLPOOL e7aa809c6ba0f2763e4ea5cd559c724230479b6a2fef35ca03cb5a53bc5bc52c00e145d3fa08a2e84688112a6b289ec29acebc9d82b091a01a6f369baf8144f3 +EBUILD libevdev-1.5.7.ebuild 653 SHA256 93746b2bd2e9c8e7e95550344d4ae4cc3e3dd77411b906e639d9bd4e22271a24 SHA512 dea2e899753305c86fc28402492ddc610c26a8ae0094581aa77e1718eee2b469448fa44bc109c6be8d373123983f0b6fa5554b09232bb01fd03db1536c023595 WHIRLPOOL 51bf1c764fa8a8b75b5c1ee8954f429d1d3a6adb84dedd8b07317f51a2fcb0d653979413925eb039b8b76f95ed67023a69eb962b9eb4472d218395f36ddb6c90 +MISC ChangeLog 8245 SHA256 9d0912679431a21e3a0df9cdfe8fef8fe7a46dc133791e104fca3abf979988b7 SHA512 62445eb683152a22432f982c1ea27bbf1d59f14f24a05453ca16696b0e98a391e9f30ea026367f9305b8a0246a937512972cc7c00206d21c55aaeb296759f0fb WHIRLPOOL 14c54c061c102be08b751b5ff93fdd561e91a8954cd1aa90fdb3f5b9af79ba70ee1aa3a60739b50d320be1ad45da59e0a7d10ea4d14f2fecd092d9a126c59e32 +MISC ChangeLog-2015 3704 SHA256 4c62354fd6df0f1f90bfa98c1d348488da5c95877fc2b3b7d3b1d1018de908d3 SHA512 8a8f6449c7e44f4b6cc11d1e68580920e5d4e9363286a21019003b01d23a582a2d3563905f750a4a79ed155101fe56fc0023a310d122bc0b2cfae2f169609baf WHIRLPOOL 65f263781790ced3acef3d77e8c2d60c0f84b502f596dca45de822560d349d9ffed928d10118e1e638e110e5b6657df0b86d457fe69067ea87af8d760bcf6180 +MISC metadata.xml 230 SHA256 677e4595d00a3098fde05ae33118b9ac05867dc5729c9cd579dc8badd1a28f68 SHA512 d7a2643abd1904cc5ff4d91cbb6f1baeb7f75fd1db542c5e14f19412f4f0bd4b903f8e703a7662ba7482c79dac5529057760b6427599d35e0842755fd946e057 WHIRLPOOL 4866c82c6428eae526c0a514c988e4119221f77b0e8bfb04fec713dd3ba516c69afc776a0c6f53c29abfd8507aa23801614db1ba544dd0a0dd4d6a9462c27306 diff --git a/dev-libs/libevdev/libevdev-1.5.6.ebuild b/dev-libs/libevdev/libevdev-1.5.6.ebuild new file mode 100644 index 000000000000..1468a6d1e0d1 --- /dev/null +++ b/dev-libs/libevdev/libevdev-1.5.6.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +XORG_MULTILIB=yes +PYTHON_COMPAT=( python{2_7,3_4,3_5} ) + +inherit python-any-r1 xorg-2 + +EGIT_REPO_URI="https://anongit.freedesktop.org/git/libevdev.git" + +DESCRIPTION="Handler library for evdev events" +HOMEPAGE="https://www.freedesktop.org/wiki/Software/libevdev/" + +if [[ ${PV} == 9999* ]] ; then + SRC_URI="" +else + SRC_URI="https://www.freedesktop.org/software/libevdev/${P}.tar.xz" +fi + +RESTRICT="test" # Tests need to run as root. +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~sh sparc x86" +IUSE="" + +DEPEND="${PYTHON_DEPS}" diff --git a/dev-libs/libevdev/libevdev-1.5.7.ebuild b/dev-libs/libevdev/libevdev-1.5.7.ebuild new file mode 100644 index 000000000000..4c1855eb9015 --- /dev/null +++ b/dev-libs/libevdev/libevdev-1.5.7.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +XORG_MULTILIB=yes +PYTHON_COMPAT=( python{2_7,3_4,3_5} ) + +inherit python-any-r1 xorg-2 + +EGIT_REPO_URI="https://anongit.freedesktop.org/git/libevdev.git" + +DESCRIPTION="Handler library for evdev events" +HOMEPAGE="https://www.freedesktop.org/wiki/Software/libevdev/" + +if [[ ${PV} == 9999* ]] ; then + SRC_URI="" +else + SRC_URI="https://www.freedesktop.org/software/libevdev/${P}.tar.xz" +fi + +RESTRICT="test" # Tests need to run as root. +KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ~mips ppc ppc64 ~sh sparc x86" +IUSE="" + +DEPEND="${PYTHON_DEPS}" diff --git a/dev-libs/libevdev/metadata.xml b/dev-libs/libevdev/metadata.xml new file mode 100644 index 000000000000..e943b72b8a48 --- /dev/null +++ b/dev-libs/libevdev/metadata.xml @@ -0,0 +1,8 @@ + + + + + x11@gentoo.org + X11 + + diff --git a/dev-libs/libevent/Manifest b/dev-libs/libevent/Manifest new file mode 100644 index 000000000000..0ae07bedb347 --- /dev/null +++ b/dev-libs/libevent/Manifest @@ -0,0 +1,6 @@ +DIST libevent-2.1.8.tar.gz 1026485 SHA256 965cc5a8bb46ce4199a47e9b2c9e1cae3b137e8356ffdad6d94d3b9069b71dc2 SHA512 a2fd3dd111e73634e4aeb1b29d06e420b15c024d7b47778883b5f8a4ff320b5057a8164c6d50b53bd196c79d572ce2639fe6265e03a93304b09c22b41e4c2a17 WHIRLPOOL ac90b6613619e0acf039fa331769449b29a3b7698a6d51b811c9288a550a3178e07b5a18a0982141ee90b7e1c34afdc80658355135963ef487cd243c472ee79a +EBUILD libevent-2.1.8.ebuild 1719 SHA256 83a29e9746c3d286b6082b4bd905a001652abfb65a0e7783db41d8f48c128730 SHA512 1ab87fbd2e18d3bd265c999850b2a8e71c7767cbc8f868f24681f39913c1b506e8eccb4ce091ca138de7c72cb2663bccab0c255b672ae440c5d2c2b83d7f9bfa WHIRLPOOL 3410bde881828235348d94b30e26b586526dc80ea10bb56393d10dbb1fc434b56f319d9969d29cffc4079e73118fdd492109ffe111debf6a358cf2c32786eabd +EBUILD libevent-9999.ebuild 1205 SHA256 15c6e31e82adaebb6896c2d571e44045dabd185c21b46998e520bf087dd1b1d8 SHA512 ecb96696ecccaf8fffbdf147d3d75c8521cf746498bae305280adc4849f9e0dc740b5e364057a1299a196410fe0204d98edfa6058bd9c0a1c821b8f590264931 WHIRLPOOL 5cc2dcb682a7314a18b2e92f7168a14b928a3b046cd41ffddc1a138c057062caf5bd320ae1ed76bec26ca011433dfb0d662ad6dd6ee61929d0cf00892e077451 +MISC ChangeLog 5494 SHA256 eac9ebd3dc3b637174116ebcafef9a3a917e0dd6a80a2e27742996705d13ec24 SHA512 dcc777e00d6d95d6fcb88bbcf7e450a4bd092a3768e2aa8f814c3737f91d6d8a8f0f328a3a6fd25b99505fa657eb7eb30ce05170f4e7ad12e50fb34421fe8f54 WHIRLPOOL 313ab1dbad65948712a90c696d34f1db8e68cde80ca21bc0d2ad4ba54efd890f913f7cd31b327b7cc6c4c4df0482e020d80490c6037626b768f8e687a6b8f8d7 +MISC ChangeLog-2015 34971 SHA256 1d4925a7ba78d257b422a8eed3a27603cb6d970624bb6991858895857a2be74b SHA512 c89ef36c02a445e5f78f18d2ef5cdcbad1dbae4980a77a87b75942832a1499f5d1fc4b506d9b7ac01aad831ed15b28504acb00b4c5df3ab7e60aec984535d79a WHIRLPOOL 6b4a1936db5e1c44fd68d2eb9d721d2d8680dcf6d88163510f0004481aac538ac7325bb850a9f940c8579dbe6416a11a85012783653c9612f79654fe2d89f1e2 +MISC metadata.xml 547 SHA256 7476b428c7c784eca3a454043553542d9cf2b4e8aaa829faca2684802393a1a4 SHA512 556eebbb7d05a8234e9705126549520a8b8d553cf6331f353bf7a5bad343b0ad56292dbdda5bccec827772faf07bf17f0163e4b479530eea0832e31d9f17f73a WHIRLPOOL 3e57e58f279ee148b674d2c29b56ade51810991389bc2f3e0215d79d27b05d5cc33292807bb0a7cef899ee27cefef197b77c553475a9286a65c42d8654569f82 diff --git a/dev-libs/libevent/libevent-2.1.8.ebuild b/dev-libs/libevent/libevent-2.1.8.ebuild new file mode 100644 index 000000000000..4d738989668c --- /dev/null +++ b/dev-libs/libevent/libevent-2.1.8.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit autotools eutils multilib-minimal + +DESCRIPTION="Library to execute a function when a specific event occurs on a file descriptor" +HOMEPAGE="http://libevent.org/ https://github.com/libevent/libevent/" +SRC_URI="https://github.com/${PN}/${PN}/releases/download/release-${PV}-stable/${P}-stable.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +# libevent-2.1.so.6 +SLOT="0/2.1-6" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="debug libressl +ssl static-libs test +threads" + +DEPEND=" + ssl? ( + !libressl? ( >=dev-libs/openssl-1.0.1h-r2:0[${MULTILIB_USEDEP}] ) + libressl? ( dev-libs/libressl[${MULTILIB_USEDEP}] ) + ) +" +RDEPEND=" + ${DEPEND} + !<=dev-libs/9libs-1.0 +" + +MULTILIB_WRAPPED_HEADERS=( + /usr/include/event2/event-config.h +) + +S=${WORKDIR}/${P}-stable + +src_prepare() { + default + eautoreconf +} + +multilib_src_configure() { + # fix out-of-source builds + mkdir -p test || die + + ECONF_SOURCE="${S}" \ + econf \ + --disable-samples \ + $(use_enable debug debug-mode) \ + $(use_enable debug malloc-replacement) \ + $(use_enable ssl openssl) \ + $(use_enable static-libs static) \ + $(use_enable test libevent-regress) \ + $(use_enable threads thread-support) +} + +src_test() { + # The test suite doesn't quite work (see bug #406801 for the latest + # installment in a riveting series of reports). + : + # emake -C test check | tee "${T}"/tests +} + +DOCS=( ChangeLog{,-1.4,-2.0} ) + +multilib_src_install_all() { + einstalldocs + prune_libtool_files +} diff --git a/dev-libs/libevent/libevent-9999.ebuild b/dev-libs/libevent/libevent-9999.ebuild new file mode 100644 index 000000000000..708484a46c36 --- /dev/null +++ b/dev-libs/libevent/libevent-9999.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit autotools eutils git-r3 multilib-minimal + +DESCRIPTION="Library to execute a function when a specific event occurs on a file descriptor" +HOMEPAGE="http://libevent.org/" +EGIT_REPO_URI="https://github.com/libevent/libevent" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="" +IUSE="debug libressl +ssl static-libs test +threads" +RESTRICT="test" + +DEPEND=" + ssl? ( + !libressl? ( >=dev-libs/openssl-1.0.1h-r2:0[${MULTILIB_USEDEP}] ) + libressl? ( dev-libs/libressl[${MULTILIB_USEDEP}] ) + ) +" +RDEPEND=" + ${DEPEND} + !<=dev-libs/9libs-1.0 +" + +MULTILIB_WRAPPED_HEADERS=( + /usr/include/event2/event-config.h +) +DOCS=( + ChangeLog{,-1.4,-2.0} +) + +src_prepare() { + default + eautoreconf +} + +multilib_src_configure() { + # fix out-of-source builds + mkdir -p test || die + + ECONF_SOURCE="${S}" \ + econf \ + --disable-samples \ + $(use_enable debug debug-mode) \ + $(use_enable debug malloc-replacement) \ + $(use_enable ssl openssl) \ + $(use_enable static-libs static) \ + $(use_enable test libevent-regress) \ + $(use_enable threads thread-support) +} + +multilib_src_install_all() { + einstalldocs + prune_libtool_files +} diff --git a/dev-libs/libevent/metadata.xml b/dev-libs/libevent/metadata.xml new file mode 100644 index 000000000000..6036c10bd580 --- /dev/null +++ b/dev-libs/libevent/metadata.xml @@ -0,0 +1,16 @@ + + + + + jer@gentoo.org + Jeroen Roovers + + + cpe:/a:niels_provos:libevent + levent + libevent/libevent + + + Support runtime debug mode and malloc hooks (for programmers) + + diff --git a/dev-libs/libevocosm/Manifest b/dev-libs/libevocosm/Manifest new file mode 100644 index 000000000000..28b2a2b37d5d --- /dev/null +++ b/dev-libs/libevocosm/Manifest @@ -0,0 +1,6 @@ +AUX libevocosm-3.3.1-gcc47.patch 402 SHA256 ff3b899d95a9154919a4f02ebd49dab1d364b230763bd0378169eb62e59a78ef SHA512 2d4b2f615e17fdbcd8dd481384172755bfc26d98f6b3807d866e33a96f676292c70487b1c3c35b67d7425eec8e86733baad62da51be696c457ee2100fc180bf8 WHIRLPOOL 79c9dd293405efa03f8338763dfc2b42516c1e4823439b6f55bb42713fb8a7446d17a8e05771676e99323c82cdec3eec2353e88af6fe0d685c54bae2292dd718 +DIST libevocosm-3.3.1.tar.gz 414392 SHA256 a1c7380e627b688540c3dc9652dc38b132beec7afbb7b0420d30e1e605b997ba SHA512 ebb4200ac533bdb86051a8a33e5da08d677ae0aa8c2e65a9855e9465b76827c0a72f31e260ee34be62600cd22794a4e47c4471623de8d9fcb4749dcf0a37d946 WHIRLPOOL 430c4d826ff7106c7a1520f3acfa044f233a381bb9f18a292a495b9db49a4beb9888df5a5afec101b9d8a841c2ec618b213aa9830403db57f9bb95d8d2c17170 +EBUILD libevocosm-3.3.1-r1.ebuild 914 SHA256 7a0be8f5ce8bde8062f6962043d04f7f6bc6e56128105d55ced98efc9a54828f SHA512 0259110a1dd3a0816fb31f5bfc9c17e10764167241da509128560bb7712b0c024e0ad6155b563a3d50f1a08292a987dd70fb77179807c4abc24f59dd9161a127 WHIRLPOOL 628731cfe13b0cb191dc30171cf4aea2e649345303e2c99a13f0e836fd0dfeb58aa26f556435ffd2a74acb4396c3436562807b3608c0a3b9762c8e7310860bbb +MISC ChangeLog 2481 SHA256 d5afab0d599fca932d0a803d6e0ec286a2028853b4a9f87649acf8be2f0aecf4 SHA512 a1dd976f30c7ecfec16303a9cc06c5bb1c19bac7ed804e7f05812bf7896fb9c5367b94478d16aadc86f99d4835411c684632278607fb2f3bf959f36a4048e167 WHIRLPOOL 4f685f9691fbf7df5a6d653df1a05f41182113cf93ac08baab834538bc083bbbeab435188cdd8cb849a809903a43b2600c39b53bfc642f77420d06d0f4d98d12 +MISC ChangeLog-2015 2616 SHA256 8c2be01212842861cba35e8c28a288c6bc937d9cd5bfe52c5529ac0dde182449 SHA512 407f02cddd837e2a6e123a2999728fd96249633b10074df62e5dffa24dcfd356b2befca8eaadd977dea2a83193039779c5cdf2b9e68eb6b2bc04a879c225cd81 WHIRLPOOL b07d0852e73c5c0107f8f8d719560e4df276ee606ebdaad050a0aa253e7a0cb8d235f69812d0955cd9a8d918c81cdc23cba03c3cc57c35069f7f8c343b4bc3ba +MISC metadata.xml 245 SHA256 2d55ae4b33723b881e2cd48221560da36aec5b304b8bf2b440a9e2588875dba9 SHA512 b098db4fb4d9ea116f6246bc6caf0f49e80e236d2fad78d287b638dbd5add7bfaf7feb1ca081ca557b23dde9227ce42fa808f3f6fd8eaba6a7e9cae93342f9c6 WHIRLPOOL edd2e34ed3775c96bf085c9c0a95bd448028cb5ba6a2bfa7d7253b54878c888b62fa579483265c47c2602ca454fd656d32346eaa7351067cc3a36295d1e1e861 diff --git a/dev-libs/libevocosm/files/libevocosm-3.3.1-gcc47.patch b/dev-libs/libevocosm/files/libevocosm-3.3.1-gcc47.patch new file mode 100644 index 000000000000..1e286a0215e6 --- /dev/null +++ b/dev-libs/libevocosm/files/libevocosm-3.3.1-gcc47.patch @@ -0,0 +1,20 @@ + https://bugs.gentoo.org/421607 + + evocommon.h:468:29: error: 'usleep' was not declared in this scope + + libevocosm/evocommon.h | 4 ++++ + 1 file changed, 4 insertions(+) + +--- a/libevocosm/evocommon.h ++++ b/libevocosm/evocommon.h +@@ -54,6 +54,10 @@ + #undef min + #endif + ++#if !defined(_MSC_VER) ++#include "unistd.h" ++#endif ++ + namespace libevocosm + { + //! The random number generator used by Evocosm diff --git a/dev-libs/libevocosm/libevocosm-3.3.1-r1.ebuild b/dev-libs/libevocosm/libevocosm-3.3.1-r1.ebuild new file mode 100644 index 000000000000..3152a60d260b --- /dev/null +++ b/dev-libs/libevocosm/libevocosm-3.3.1-r1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils + +DESCRIPTION="A C++ framework for evolutionary computing" +HOMEPAGE="http://www.coyotegulch.com/products/libevocosm/" +SRC_URI="http://www.coyotegulch.com/distfiles/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux" + +IUSE="doc static-libs" + +RDEPEND="dev-libs/libcoyotl + dev-libs/libbrahe" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen )" + +DOCS=( AUTHORS ChangeLog NEWS README ) + +src_prepare() { + epatch "${FILESDIR}/${P}-gcc47.patch" + epatch_user +} + +src_configure() { + export ac_cv_prog_HAVE_DOXYGEN="false" + econf $(use_enable static-libs static) +} + +src_compile() { + emake + + if use doc ; then + cd docs + doxygen libevocosm.doxygen || die "generating docs failed" + fi +} + +src_install() { + default + prune_libtool_files + use doc && dohtml docs/html/* +} diff --git a/dev-libs/libevocosm/metadata.xml b/dev-libs/libevocosm/metadata.xml new file mode 100644 index 000000000000..41cd682e0ecf --- /dev/null +++ b/dev-libs/libevocosm/metadata.xml @@ -0,0 +1,8 @@ + + + + + cpp@gentoo.org + Gentoo C++ Project + + diff --git a/dev-libs/libexecinfo/Manifest b/dev-libs/libexecinfo/Manifest new file mode 100644 index 000000000000..68dc919714ec --- /dev/null +++ b/dev-libs/libexecinfo/Manifest @@ -0,0 +1,6 @@ +AUX libexecinfo-1.1-build.patch 479 SHA256 039d1bcf347a32b6c8ae5301a996aa1617b2ea46ccc37b21e5a7b6a84ca44be4 SHA512 0eb8fe9ffc9220fb8b97508be39055999a4cb4924c2b1f770abbbdcc435deab689a95656e5de968d6ece89b4a573e7e6c3f73f6e18385467d70ca168338f6f0f WHIRLPOOL 29d4ebd61a81699afdb269cb02c5de185850342cc40efed53667405035d4547f3a47a2769ce2785b2e91ed3847b54f8a8b5c2e6031930f8c8ba5e5afdd4e9d88 +DIST libexecinfo-1.1.tar.bz2 4841 SHA256 c9a21913e7fdac8ef6b33250b167aa1fc0a7b8a175145e26913a4c19d8a59b1f SHA512 51fea7910ef6873061a25c22434ce4da724e9d8e37616a069ad0a58c0463755be4c6c7da88cd747484c2f3373909d7be4678b32a4bd91b6d9e0f74526094e92c WHIRLPOOL a915ceb897905755ac87cbd9297f47ddd20fedf033aac89896187bacc91ead40ab655069bc1ba828396fa0d7ab1af5d5eca3aacc51240f08cb7f54607252cef0 +EBUILD libexecinfo-1.1.ebuild 582 SHA256 aec1cc719fa58c947bd390c47b128eab23d5a2329b300936e2fa72e3f28a6b29 SHA512 b6a7370101f4cac5e785d91e3936208d5c26d4a06d2db37953925161db02a34cc001787b3c08297bb45cbf9b402c8f3c9de30c33ef5d104568d36e4c081193ec WHIRLPOOL d0dc0ed3e09337103aefafdcca2f9131696cdf6dd48122af510bbbe0805f50497e0dbf4f0c440427d2f246de3860ba081dc2915f8c122ee9977a467f5cdf2fa2 +MISC ChangeLog 2864 SHA256 7704782a1a692dc5124ab78548ab6824c288375cd74aa94a4b16fc1fe5753fdc SHA512 2675666845f277c5b1f5661813638cf4ec450cfd23e8f83ab233be0f3e80c9bc759dbe7b9b35677effc530d036815a2879917e0f317c14f4bedf90c14462f290 WHIRLPOOL 0ecf00cc1f6e7c9c7ee0192042b986c297836f535e7d4b9ed2794603fb5cb15d487bbe1099da2d832a10889d2765b4cfb678f6ac853a353dd8cf1f569a9b73dc +MISC ChangeLog-2015 532 SHA256 7a140cc24d12068827bae95772aae7a501bcc5840ef6a9876d81cf2029234456 SHA512 07c5c8f9b2144de3c65b3b3ef5cf3237a7538cb3a377c640de52f9bf0efafdc4a86005db0f0802f4cd27fd85a866acdfe6c1da5421e2788a0f5347e4ad2c56e4 WHIRLPOOL 00a426d3f11708ca62b8811f5eedda8a28c5555cdd711d0a03747b996673feaf4f7df49f701b8dc660db1110a2cbc3c49af8ed8ef34a2d30cd5624f85b0c3e46 +MISC metadata.xml 502 SHA256 daf4a11e0b1d4e386d515ed1dcb6e4f29aea23e5e51f44006372d0deaad2274b SHA512 8db54c3dfed9ccd03680f8e31f0225e393f74f3be9ddc5ae894c292a95ec84176ebfece151e8266d5963dfa8f62b99db492feb1ed72ebc2199efe420cfe6ef91 WHIRLPOOL adc4fbd0efdc8899ec2479cda29e7b3c654df76ef938bc7117487943ec70feb3e34e43f25b25fecb569459f7045c5527cd2732ce190808e4a9d673069d9fd36e diff --git a/dev-libs/libexecinfo/files/libexecinfo-1.1-build.patch b/dev-libs/libexecinfo/files/libexecinfo-1.1-build.patch new file mode 100644 index 000000000000..b295cf71bfd0 --- /dev/null +++ b/dev-libs/libexecinfo/files/libexecinfo-1.1-build.patch @@ -0,0 +1,13 @@ +Index: libexecinfo-1.1/execinfo.c +=================================================================== +--- libexecinfo-1.1.orig/execinfo.c ++++ libexecinfo-1.1/execinfo.c +@@ -78,7 +78,7 @@ backtrace_symbols(void *const *buffer, i + rval = malloc(clen); + if (rval == NULL) + return NULL; +- (char **)cp = &(rval[size]); ++ cp = &(rval[size]); + for (i = 0; i < size; i++) { + if (dladdr(buffer[i], &info) != 0) { + if (info.dli_sname == NULL) diff --git a/dev-libs/libexecinfo/libexecinfo-1.1.ebuild b/dev-libs/libexecinfo/libexecinfo-1.1.ebuild new file mode 100644 index 000000000000..fd5a34fdc085 --- /dev/null +++ b/dev-libs/libexecinfo/libexecinfo-1.1.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +inherit bsdmk freebsd multilib + +DESCRIPTION="A library for inspecting program's backtrace" +HOMEPAGE="http://www.freebsdsoftware.org/devel/libexecinfo.html" +SRC_URI="mirror://freebsd/distfiles/${P}.tar.bz2" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64-fbsd ~x86-fbsd" +IUSE="" + +DEPEND="sys-freebsd/freebsd-mk-defs" +RDEPEND="" + +PATCHES=( "${FILESDIR}/${P}-build.patch" ) + +src_install() { + mymakeopts="${mymakeopts} LIBDIR=/usr/$(get_libdir)" + freebsd_src_install + dodoc README +} diff --git a/dev-libs/libexecinfo/metadata.xml b/dev-libs/libexecinfo/metadata.xml new file mode 100644 index 000000000000..d7dec5e4ab8b --- /dev/null +++ b/dev-libs/libexecinfo/metadata.xml @@ -0,0 +1,14 @@ + + + + + bsd@gentoo.org + BSD Project + + + This is a quick-n-dirty BSD licensed clone of backtrace facility found + in the GNU libc, mainly intended for porting linuxish code to BSD + platforms, however it can be used at any platform which has a gcc + compiler. + + diff --git a/dev-libs/libexplain/Manifest b/dev-libs/libexplain/Manifest new file mode 100644 index 000000000000..e283ac3a35e5 --- /dev/null +++ b/dev-libs/libexplain/Manifest @@ -0,0 +1,7 @@ +AUX libexplain-0.45-configure.patch 385 SHA256 468c3be75400f7a86d19e0a7d5532a968752fae6b229d942ef18860e7497feed SHA512 ab85c6ba83b02b2e4ac86f5505bf8bb303176cbaab6eb9d703fa2069bc1e58c79b761778faafb01822bc3473d4a6fd04e6cbe5807d4bd83df2ce6bedf17f3e8c WHIRLPOOL a3ed75ffbcbdc8203a4683946dd39750f79c796d1fe0e2218e0f43368d811c20ddd867576117f6ed443c8281d31cb900c5b3b4c609f69abd45acbcb8b6463400 +DIST libexplain-1.4.tar.gz 4770006 SHA256 28863b65eccc74934e237cac41364cb3c1802c36c9e2318ed0417460fee83f80 SHA512 c236732f57d0688fed173c27474a00a39c9ac6d5dfbd22f3b68b5d0fff7a70fb130bcedbeb174767f4fd2c012148025e92635cc8df2b958774a3cfba58e6ff2c WHIRLPOOL ce3131c68d57c3d867960eaf2451d5aed152276c85e0182fee70b6499ebbee29ae0fea6d1a84aaefa927c9b983677953003b1a253e54ab3fc516d2b70dc3a3c1 +EBUILD libexplain-1.4-r1.ebuild 1008 SHA256 270e0ec258ede499d01a65360fc972f414b55a7fc93a5a9155d6a59889151f98 SHA512 a0401e67628a0b35adf4067ab567a1c39e10eb675f3227a4256ef2949f1a21d562e58bfae21f088bc2043940fe75e141e3b345684cb9d0bbd6bdb51462e63d2b WHIRLPOOL 33835c3e16a32a76717111cd6c111f42f5badcfd21bbd95f688eaf93e125976390a116badf71b665b8bf0913e54417b5757149969450367ff39ab4a5855dc723 +EBUILD libexplain-1.4.ebuild 1051 SHA256 ba57f84aafd2277822829b714642af8fbb4eca71fdc76af631d9790e9bdc193c SHA512 6f06630f594ca1253d8479d8c3379e554c4c71b0135cd52089299b4ba9b135b3aa116bcc676f284af762e73e81134637e62ffc260595e89aeccddc399b559634 WHIRLPOOL dc35355268b81d7344d186d75f791df04b4adb57d331fb50c72fdb21a99f2594054a7e7b6a5cbb6c693a4338bb499e13d8f51881d2f4315ebd1b9b2baa0d3d2e +MISC ChangeLog 3424 SHA256 81aa42c6547fa25edc29050c85c92231c60bf89207e0124f3cfa7cc54e7e8e2b SHA512 fe490ff8fa05c8b67087a610adf3dde6a1a2b77e19933e835811e0564f7ce4b120de84ccf3d5633bb7d70d11a1e8faa18037101195245377034d5e7fdd8cf38a WHIRLPOOL 2157694e87946a4b4decc5806d9aa08c8e1b4b17f77fb9c8de5d5364d2c5881023c1e5cb6d13094140b5eb8bc753fc21ae3926f94f6335dcef69a4bef279c5bb +MISC ChangeLog-2015 5163 SHA256 320b07a9cb2a30055c284601360ad5683a68994c1672ef4c59aa5e333e9b524e SHA512 2a8d580e95e1d2dbde60761e6baeb8c24fa93e93ae233be366d740ac6f892fd77949d3216960a39b796d580b366320affe5b79fd9bccaa350d42a5f9be854a0e WHIRLPOOL 0dfd0421501f40d0069fea7c581c399c87ddf6a0342e69b693eec4d6315350d714c166d4ff42fee90968266c860c818bce80bd3cc53ce1d88e9114c26fede458 +MISC metadata.xml 355 SHA256 39652a0843e96bf5eacbc5e98d3f9db4ea75383aff1bef8a9a884796faa2adce SHA512 da9d74fbff908b754b891941038f9f01a65641444f4d8a36502f9d967a33558ef74716ce33223be27fdb3dc80e7e65bccf51e4908d41e39ff50bbbc4aab3ed86 WHIRLPOOL 40ed7094b8bcdf6b43abdaae05e4e599b158dbedb01a5910c78434ee4834513cfd844794d821461bbcae4a4c90d1f659746683db3540618dc1177bd3901a0b36 diff --git a/dev-libs/libexplain/files/libexplain-0.45-configure.patch b/dev-libs/libexplain/files/libexplain-0.45-configure.patch new file mode 100644 index 000000000000..0f031fb8d348 --- /dev/null +++ b/dev-libs/libexplain/files/libexplain-0.45-configure.patch @@ -0,0 +1,23 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -26,6 +26,10 @@ + AC_PROG_RANLIB + AC_PROG_YACC + ++LT_INIT ++top_builddir=`pwd` ++AC_SUBST(top_builddir) ++ + case "$YACC" in + *bison*) + ;; +--- libexplain-0.45.D001.orig/Makefile.in ++++ libexplain-0.45.D001/Makefile.in +@@ -35,6 +35,7 @@ + # + # directory containing the source + # ++top_builddir = @top_builddir@ + srcdir = @srcdir@ + VPATH = @srcdir@ + diff --git a/dev-libs/libexplain/libexplain-1.4-r1.ebuild b/dev-libs/libexplain/libexplain-1.4-r1.ebuild new file mode 100644 index 000000000000..94aaf264a854 --- /dev/null +++ b/dev-libs/libexplain/libexplain-1.4-r1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools + +DESCRIPTION="Library which may be used to explain Unix and Linux system call errors" +HOMEPAGE="http://libexplain.sourceforge.net/" +SRC_URI="http://libexplain.sourceforge.net/${P}.tar.gz" + +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" +LICENSE="GPL-3 LGPL-3" +IUSE="static-libs" + +DEPEND=" + sys-apps/acl + sys-apps/groff + app-text/ghostscript-gpl + >=sys-kernel/linux-headers-2.6.35" + +RDEPEND=" + ${DEPEND} + sys-libs/libcap + sys-process/lsof + sys-libs/glibc" + +# Test fails with: +# This is not a bug, but it does indicate where libexplain's ioctl support +# could be improved. +RESTRICT="test" + +PATCHES=( "${FILESDIR}"/${PN}-0.45-configure.patch ) + +src_prepare() { + # Portage incompatible test + sed \ + -e '/t0524a/d' \ + -e '/t0363a/d' \ + -i Makefile.in || die + + cp -v "${S}"/etc/configure.ac "${S}" || die + default + eautoreconf +} + +src_install() { + default +} diff --git a/dev-libs/libexplain/libexplain-1.4.ebuild b/dev-libs/libexplain/libexplain-1.4.ebuild new file mode 100644 index 000000000000..c92cd08d91c5 --- /dev/null +++ b/dev-libs/libexplain/libexplain-1.4.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +AUTOTOOLS_AUTORECONF=yes +AUTOTOOLS_IN_SOURCE_BUILD=1 + +inherit autotools-utils + +DESCRIPTION="Library which may be used to explain Unix and Linux system call errors" +HOMEPAGE="http://libexplain.sourceforge.net/" +SRC_URI="http://libexplain.sourceforge.net/${P}.tar.gz" + +SLOT="0" +KEYWORDS="amd64 ppc ~ppc64 x86 ~amd64-linux ~x86-linux" +LICENSE="GPL-3 LGPL-3" +IUSE="static-libs" + +RDEPEND=" + sys-libs/libcap + >=sys-libs/glibc-2.11 + sys-process/lsof" +DEPEND="${RDEPEND} + >=sys-kernel/linux-headers-2.6.35 + app-text/ghostscript-gpl + sys-apps/groff +" +# Test fails with: +# This is not a bug, but it does indicate where libexplain's ioctl support +# could be improved. +RESTRICT="test" + +DOCS=( README ) + +PATCHES=( + "${FILESDIR}"/${PN}-0.45-configure.patch +) + +src_prepare() { + # Portage incompatible test + sed \ + -e '/t0524a/d' \ + -e '/t0363a/d' \ + -i Makefile.in || die + + cp "${S}"/etc/configure.ac "${S}" || die + + autotools-utils_src_prepare +} diff --git a/dev-libs/libexplain/metadata.xml b/dev-libs/libexplain/metadata.xml new file mode 100644 index 000000000000..330032124fc7 --- /dev/null +++ b/dev-libs/libexplain/metadata.xml @@ -0,0 +1,11 @@ + + + + + shell-tools@gentoo.org + Gentoo Shell Tools Project + + + libexplain + + diff --git a/dev-libs/libezV24/Manifest b/dev-libs/libezV24/Manifest new file mode 100644 index 000000000000..d7ecaeadb1c0 --- /dev/null +++ b/dev-libs/libezV24/Manifest @@ -0,0 +1,7 @@ +AUX libezV24-0.1.1-build.patch 4869 SHA256 fd997f1d268b288c64e675c4d7536e4b6b13775c05c1a19002123f59e3429bbc SHA512 d55ba03d30973739918902a21c0b9da9f1b4d74f8923f2aa14747a894f2ff2118699e7f98c1a436f8942e948190752b1e0b027d52225ba025957d5068ce321df WHIRLPOOL 40bccec4bd5a5011192ab90a40f65e01fc440d8e5c641185adaaa587141a91d194b8f3cbfbd41643f02c5b9c59001737cf008e5e468076e1a1ff2329b5f1e1a4 +AUX libezV24-0.1.1-test.patch 468 SHA256 8971d385a4ab142ded395d4742851b80b53621db7c32c6a007aadb05a1bf1934 SHA512 16547da68cc1f0156daa06f9280a18c58d5daa8bd528489546dcf190f4e76bc3d7574d604eff36d5f8e8768e0044dc31783e85523d09cabcebd89c0f2cde8006 WHIRLPOOL 836fba83bddbbbac7b52b22fc302351da99c121cb2735a99087dc54988035e0b6d064639a95410c2ca0c976bac6fa25a9c2e201c8e14f5d8b41def0535464187 +DIST libezV24-0.1.1.tar.gz 50515 SHA256 684afbc6c20515101c879aebd220537defe261ec080c819ebce3aea81182f606 SHA512 99b277a04354e2587567ae5f1ebc99e41d127ec94bf5de53021b94df8d731ce2f2ceacedd8b7fa29902cf98f5c4243bddaa96636e1f900f1434a3da857b0e6c5 WHIRLPOOL e175ec76181d9b6ab2e05c16a71484b944951b9742e8b05ae5b9eff3b6f2797e87aa92a258ba51721720df10f0bf200bd2666706abb8940a9fe889d02c568f8c +EBUILD libezV24-0.1.1.ebuild 842 SHA256 e3348fd3d3516edeee18fb9673ac92c1e5ba6d04a6cf7b202ad747f60a51040c SHA512 f3d1148c07dbe6fc21a045034cd6b67b879749b3c9dda2551172a8646033775c976bd82343d9cc539e92417fdce9746df5fdaad3010b5eff76ec54e2eba2a279 WHIRLPOOL 059daefa25509a0d336896330854192266de351c4774f7b14f59382e9e8162cb880de96e7c8189a919a359b83bf5630fcce42e0347c5f0cca2931b7f25589ee9 +MISC ChangeLog 2596 SHA256 c89fff0e4e20dc0140419916f9b881336f186bd69c716abca65ae2d216a68b7a SHA512 ee550fb0cdd0879d365f22a881bf66cc759f0f09ac0ae63a588b804b0f5805461e346eb1503bb26379cd27c5f2fdf8893a64229c82956c983c3e483d265b4897 WHIRLPOOL 926bfab5ef9a966c74ad4a164b89e4e43c76f56bde470b04c654d09f17455f01ff5129340eb22f26050c88f25b7d4361c076f454892d45db9d3aa05e23b79045 +MISC ChangeLog-2015 1727 SHA256 8352a3dae8840d9c4d6b00940c9b9b386027b97c36920d11fa310584bbf83de0 SHA512 7f1c604a9a2d460e55cecc8e6e0bf7eaeb35fcbf897c3ce3ac4f941097d0b37b5352a3fb186fdc195f93cfcbb2e5c3c66ab3cf9026322500c44cc562adad5551 WHIRLPOOL 368ba59c6b53267fd622bbeeb00ef531305a3651681d2324d6fb6c1ff93003aabd30e44e050d3dc0cdf3978842d111217c6376d550493d2254a82fdc64acce2f +MISC metadata.xml 641 SHA256 75a394fe3cbc61872716568ee7c1b8760f8abb8420fa6a787ac22ab13f055a1b SHA512 2ec206575cedf384e77716e3959bab5d359cfd16dde6b24f88f160d7e2bc8fe9d7916f6de771a9616f780d0da736d063cc1fd6d313c3e114a2c0f136df9847f5 WHIRLPOOL a31e0a2747d3a5e7f74b501c059ac0e57b0b42023f226ae5c3c74b2c9b7315aa70efb8f33ab624d5ba46379a0434b7aa3b602eec8d1971ade8e38393734a2aca diff --git a/dev-libs/libezV24/files/libezV24-0.1.1-build.patch b/dev-libs/libezV24/files/libezV24-0.1.1-build.patch new file mode 100644 index 000000000000..3550f02edf2e --- /dev/null +++ b/dev-libs/libezV24/files/libezV24-0.1.1-build.patch @@ -0,0 +1,177 @@ +diff -ur libezV24-0.1.1.orig/Makefile libezV24-0.1.1/Makefile +--- libezV24-0.1.1.orig/Makefile 2003-02-17 15:46:18.000000000 +0200 ++++ libezV24-0.1.1/Makefile 2008-01-15 10:47:13.000000000 +0200 +@@ -19,68 +19,63 @@ + # the base name of the library + SOBASE = ezV24 + +-# define the destination OS (currently only linux) +-PLATFORM=__LINUX__ +- +-# the base path where the file should be installed to. +-PREFIX = /usr/local ++# the base paths where the files should be installed to. ++PREFIX = /usr ++LIBDIR = $(PREFIX)/lib ++ ++# an additional prefix for building RPM packages. NOTE: don't forget to add a ++# trailing slash! ++DESTDIR = + + # generate the name of the output file in dependence of the development state. + # +-ifeq "${RELEASE}" "DEBUG" ++ifeq ($(RELEASE),DEBUG) + NAME = lib$(SOBASE).so.$(SORELEASE).dbg + else + NAME = lib$(SOBASE).so.$(VERSION) + endif + SONAME = lib$(SOBASE).so.$(SORELEASE) +-LIBNAME = lib$(SOBASE)-$(SORELEASE)_s.a ++LIBNAME = lib$(SOBASE).a + PLAINNAME = lib$(SOBASE).so + + # basename of the project + PROJECTNAME = libezV24-$(VERSION).$(PATCHLEVEL) + +-OBJS = ezV24.o snprintf.o ++STATIC_OBJS = ezV24.o snprintf.o ++SHARED_OBJS = $(patsubst %.o,%.lo,$(STATIC_OBJS)) + LIBS = + +- +-ifeq "${RELEASE}" "DEBUG" +-C_FLAG = -c -Wall -fPIC -D$(PLATFORM) $(INCDIR) +-C_DEFS = -DDEBUG -DBETA +-LFLAGS = $(LIBDIR) ++ifeq ($(RELEASE),DEBUG) ++CPPFLAGS += -DDEBUG -DBETA + else +-ifeq "${RELEASE}" "BETA" +-C_FLAG = -c -Wall -fPIC -O2 -D$(PLATFORM) $(INCDIR) +-C_DEFS = -DBETA +-LFLAGS = $(LIBDIR) ++ifeq ($(RELEASE),BETA) ++CPPFLAGS += -DBETA + else +-C_FLAG = -c -Wall -fPIC -O2 -D$(PLATFORM) $(INCDIR) +-C_DEFS = -DFINAL +-LFLAGS = -s $(LIBDIR) ++CPPFLAGS += -DFINAL + endif + endif + ++CC ?= gcc ++CPPFLAGS += -I. ++CFLAGS ?= -O2 ++CFLAGS += -Wall ++ + # tools to build the static library + ARFLAGS = cru +-AR = ar +-RANLIB = ranlib +- +-# concatinate the compile flags +-CFLAGS = $(C_FLAG) $(C_DEFS) ++AR ?= ar ++RANLIB ?= ranlib + +- +- +-# ------------------------------------------------------------------------ +-# AUTOMATISCHE COMPILE-ANWEISUNGEN +-# ------------------------------------------------------------------------ +- +-.c.o: +- gcc $(CFLAGS) $< ++# some distros have a messed up path when in su - ++LDCONFIG ?= /sbin/ldconfig + + + # -------------------------------------------------------------------------- + # ANHÄNGIGKEITEN + # -------------------------------------------------------------------------- + ++%.lo: %.c ++ $(CC) -fPIC $(CFLAGS) $(CPPFLAGS) -c $< -o $@ ++ + all: shared static test-v24 + + shared: $(NAME) +@@ -88,13 +83,13 @@ + static: $(LIBNAME) + + ++$(NAME): $(SHARED_OBJS) ++ $(CC) $(CFLAGS) -shared -Wl,-soname,$(SONAME) -o $@ $^ $(LDFLAGS) + +-$(NAME): $(OBJS) +- gcc -shared -W1,soname,$(SONAME) -o $(NAME) $(OBJS) ++$(LIBNAME): $(STATIC_OBJS) ++ $(AR) $(ARFLAGS) $@ $^ ++ $(RANLIB) $@ + +-$(LIBNAME): $(OBJS) +- $(AR) $(ARFLAGS) $(LIBNAME) $(OBJS) +- $(RANLIB) $(LIBNAME) + + + # Abhängigkeiten des Source, jedoch dann ohne Generierungsanweisung, wenn +@@ -111,22 +106,27 @@ + # + + install: +- install -d -m 755 $(PREFIX)/include/$(SOBASE)/; +- install -m 644 ezV24.h $(PREFIX)/include/$(SOBASE)/ +- install -m 644 -s $(LIBNAME) $(PREFIX)/lib/$(LIBNAME) +- install -m 755 -s $(NAME) $(PREFIX)/lib/$(NAME) +- rm -f $(PREFIX)/lib/$(SONAME) $(PREFIX)/lib/$(PLAINNAME) +- ln -s $(PREFIX)/lib/$(NAME) $(PREFIX)/lib/$(SONAME);\ +- ln -s $(PREFIX)/lib/$(SONAME) $(PREFIX)/lib/$(PLAINNAME);\ +- ldconfig ++ install -d -m 755 $(DESTDIR)$(PREFIX)/include/$(SOBASE) ++ install -d -m 755 $(DESTDIR)$(LIBDIR) ++ install -m 644 ezV24.h $(DESTDIR)$(PREFIX)/include/$(SOBASE)/ ++ install -m 644 $(LIBNAME) $(DESTDIR)$(LIBDIR)/$(LIBNAME) ++ install -m 755 $(NAME) $(DESTDIR)$(LIBDIR)/$(NAME) ++ rm -f $(DESTDIR)$(PREFIX)/lib/$(SONAME) $(DESTDIR)$(LIBDIR)/$(PLAINNAME) ++ ln -s $(NAME) $(DESTDIR)$(LIBDIR)/$(SONAME) ++ ln -s $(SONAME) $(DESTDIR)$(LIBDIR)/$(PLAINNAME) ++ if [ -z $$NO_LDCONFIG ]; then \ ++ $(LDCONFIG); \ ++ fi + + uninstall: + rm -f $(PREFIX)/include/ezV24/* + rmdir $(PREFIX)/include/ezV24 +- rm -f $(PREFIX)/lib/$(LIBNAME) +- rm -f $(PREFIX)/lib/$(NAME) +- rm -f $(PREFIX)/lib/$(SONAME) $(PREFIX)/lib/$(PLAINNAME) +- ldconfig ++ rm -f $(LIBDIR)/$(LIBNAME) ++ rm -f $(LIBDIR)/$(NAME) ++ rm -f $(LIBDIR)/$(SONAME) $(LIBDIR/$(PLAINNAME) ++ if [ -z $$NO_LDCONFIG ]; then \ ++ $(LDCONFIG); \ ++ fi + + + # This entry is for packing a distribution tarball +@@ -157,7 +157,7 @@ + # gcc -o test-v24 -Wall test-v24.c -l$(SOBASE) + # + test-v24: test-v24.c ezV24.h $(LIBNAME) +- gcc -o test-v24 -Wall test-v24.c -L./ $(LIBNAME) ++ $(CC) -o test-v24 -Wall -DUNINSTALLED test-v24.c -L./ $(LIBNAME) + + + # -------------------------------------------------------------------------- +@@ -165,7 +165,7 @@ + # -------------------------------------------------------------------------- + + clean: +- rm -f *.o core ++ rm -f *.o *.lo core + + clean-all: + rm -f *.o core test-v24 $(NAME) $(LIBNAME) diff --git a/dev-libs/libezV24/files/libezV24-0.1.1-test.patch b/dev-libs/libezV24/files/libezV24-0.1.1-test.patch new file mode 100644 index 000000000000..f3c2b676546f --- /dev/null +++ b/dev-libs/libezV24/files/libezV24-0.1.1-test.patch @@ -0,0 +1,20 @@ +Index: test-v24.c +=================================================================== +RCS file: /cvsroot/ezv24/libezv24/test-v24.c,v +retrieving revision 1.2 +retrieving revision 1.3 +diff -u -p -r1.2 -r1.3 +--- test-v24.c 11 Feb 2003 13:29:43 -0000 1.2 ++++ test-v24.c 13 Oct 2003 07:50:26 -0000 1.3 +@@ -30,7 +33,11 @@ + #include + #include + ++#ifdef UNINSTALLED ++#include "ezV24.h" ++#else + #include ++#endif + + #define __TEST_V24_C__ + diff --git a/dev-libs/libezV24/libezV24-0.1.1.ebuild b/dev-libs/libezV24/libezV24-0.1.1.ebuild new file mode 100644 index 000000000000..48a555d2d9f9 --- /dev/null +++ b/dev-libs/libezV24/libezV24-0.1.1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +inherit eutils multilib toolchain-funcs + +DESCRIPTION="library that provides an easy API to Linux serial ports" +HOMEPAGE="http://ezv24.sourceforge.net" +SRC_URI="mirror://sourceforge/ezv24/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 ppc sparc x86" +IUSE="" + +RDEPEND="" +DEPEND="" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-build.patch + epatch "${FILESDIR}"/${P}-test.patch + sed -i -e 's:__LINUX__:__linux__:' *.c *.h +} + +src_compile() { + tc-export AR CC RANLIB + emake || die "emake failed." +} + +src_install() { + export NO_LDCONFIG="stupid" + emake DESTDIR="${D}" LIBDIR="/usr/$(get_libdir)" \ + install || die "emake install failed." + dodoc AUTHORS BUGS ChangeLog HISTORY README + dohtml api-html/* +} diff --git a/dev-libs/libezV24/metadata.xml b/dev-libs/libezV24/metadata.xml new file mode 100644 index 000000000000..a0bdd485d35d --- /dev/null +++ b/dev-libs/libezV24/metadata.xml @@ -0,0 +1,15 @@ + + + + + + The goal of this library is to provide an easy to use programming interface to + the serial ports of the Linux system. This release comes with some support for + the CYGWIN toolchain. Due to the great work of the cygwin folks, only minimal + changes are needed. I know that the cygwin-stuff of 'ezV24' isn't the final + stuff, but it's a first step and it works. + + + ezv24 + + diff --git a/dev-libs/libf2c/Manifest b/dev-libs/libf2c/Manifest new file mode 100644 index 000000000000..37e3afd90771 --- /dev/null +++ b/dev-libs/libf2c/Manifest @@ -0,0 +1,12 @@ +AUX 20051004-add-ofiles-dep.patch 439 SHA256 3f688297b45515c1e386bb7f94ad36bf0f6a3497a0baff759b54d943cbec7d8f SHA512 f1453a782b593744cceaff2cabcd0aae605324ebfd0e66505d55c4483374e3845710d4c1a6b71c4939adf588466f55d6a5856cd97a8e1c52a751151e9c2ee409 WHIRLPOOL 055db6e8bc28fb186a0e0357e7bd45f919f715828dab90e0907879343d0f749999e1781b468c8014ee979070966c6465ba219843cbf687c00c9d706ddfaaf25b +AUX 20090407-link-shared-libf2c-correctly.patch 358 SHA256 28e04d4fe1279ad37fba92f1fc9acb3110778a02f4c15da6b659b04baa3d2df0 SHA512 6edc5e0d418b4d87597c696623aacf1b15a526b2f2739726220b6302f3ad444bf01ebcd672f7ae40698f0e524d3019decad751490f38c1b2f32d2fd943df8a72 WHIRLPOOL 97592dd5af100647a4bb82b4254cb0f212b25dad40f599d8acb069fba6432989b30f12d0b56e16aa9e73b96977d4e5dc6ffbaa0a12aa419651a799abae948c63 +AUX libf2c-20110801-64bit-long.patch 1784 SHA256 919698643f12b2fc4b9f4ebac395a8b2c9c01e83028907621b95dee8db4d5653 SHA512 69f2553473b940ab78e185dc17b94513bca2cde4f9a32d60b09183d853096fbe6de2dfc8354d44cdaf04bf5852674d4f31b4a11c8c761c0c802694537156edb1 WHIRLPOOL dacdd83b8dfea14bf6af9c56031a34ae7809140ebdfae311fd947ea887648ebe12eb76b4e509edd5ca66d5ed74556db9b8538bb5d213fd06d322098a3eced516 +AUX libf2c-20110801-format-security.patch 341 SHA256 a1b7a36fb9fd237e5d2cee83363875cf13cda5d59e425602a86b28844ac32920 SHA512 f630296167fffed0cf707430af2f546bcfd77d6443bcec15b24a1c8bdf923f92411b86a37079bd6a73b36baf9caf7d51312b32ff5a669097f3c41fc0bb525f5a WHIRLPOOL 68f448492dfc3a83f76c21b1893e6ea5a5b2f3e197271b0ad511b45f520b26577fc9adc5d279ced8e7ece63c32603327c284c4cdf7a72a2abc7317505e8d1ec8 +AUX libf2c-20110801-main.patch 1708 SHA256 1054e609ec311fe8f8da43d400e762e650bb37405676903b281eed5bdf59535a SHA512 f2c8574f45580d2bf99e5506266668c615f19a985ffa27eefe38d373f083da61dbe486d5c27e034bd38029b46a4a77285e175a7285b1acb37e7a1ecfea6a2bbc WHIRLPOOL 24aefb349f2db7d772fd773039a639eb819cd2be7159e443bb26f0e13929c0409c68f34917bcab09c9eec8a967ec77c4805705c529837028b5b344ff4e372d95 +DIST libf2c-20110801.zip 128845 SHA256 f13c01421e9668dc86c78159d87c2f802dd1f8e62037834285c7ab77200d97d5 SHA512 7a7b7b02ca2b11456aa0deba5094aebc1e9f7070d1742ad76450ec79de7eed967fbd7446524b66c52295ed911471d2dc396d171569b5d37079bdca8220fd2fb6 WHIRLPOOL 7bc8fa6c016dbb860863b39939f27f99156de017a2847764698bc0b5bbf21ff183e783991d6c5200ddba1b636e9a8bb93d560c00344db94b4e9a7b254abdafde +DIST libf2c-20130927.zip 129082 SHA256 5dff29c58b428fa00cd36b1220e2d71b9882a658fdec1aa094fb7e6e482d6765 SHA512 1a12093dec3c250f4775eebd06f1a9144fdb956ea3162202fb67569fdd956ac5591bc563a0726ca65ea10d465efaac1c1d8024d63bc4a4b5c88bf46242607c8a WHIRLPOOL 0b46ae7e797fe80534a4576508920dca0122fab475b8c3034257b3f3c1bef68d02f981d676565e0e6f82a3ae112b482fb702265dd025202b2359f432dc66a939 +EBUILD libf2c-20110801-r4.ebuild 1256 SHA256 d9ee4d1e37f851b07ec96acfbc6484fb4619f987e0db70b28135f80a29cf186d SHA512 d367309ff9a645e412a5ad2af05bacc2a82df6392e36af6176b950f640337b8b68219e339afe41b147824160e47ef1fcbc85c6a906d13801e4d0a7f202528b69 WHIRLPOOL 3f7f1d2c8fff274eb0aff76e7731e01598cdd6e0ced678cc97b9121ebbc0f06e4f23d038e165b1f941cd7939f1c7a34acec589fa045b507af40c5731c265336b +EBUILD libf2c-20130927.ebuild 1290 SHA256 c537543561faa7b17b540bb81b64d2b3067b93cac1ce09b7e7126bbf9c3f077b SHA512 a8e33d4a42adc4559828a2c6c8c2746dff6c76d609bd4a0c63c3be8c8b094c3d44afaa89dcb9395f37ac2c2923c473651def6ebcbbdd8e788bcba05ea4836a49 WHIRLPOOL 7e5f7f6602bd689606af219dbef991e524635ad35f9d967f4edf1b795ad852f60d0bdcec917fc585c3584acfc72c777d950eeec0e36f2d3b0cef2ca3eeb42de2 +MISC ChangeLog 2926 SHA256 3d16ac9e8c64366eceeeaeb92286f68b12d220898b6c8231523685b3533dcc3e SHA512 ace8fdb90a8bc64d57c350d6114fb6e799183e27544df9b375239bffa81bdd948226a3b288cd23cd020fcd0d7beafd3956467fd382e39e3ddcf348b689570e1b WHIRLPOOL 79e5cc61a9b034a749e6a6bc9c9d0985893ef256cc065432f10a9f7726af0b6bb313447d4b68690d371b604697d30ab1a473d95ec2995aaaa8b6f9de5e61784a +MISC ChangeLog-2015 9211 SHA256 d42f27ee42ee1afe089b5a82b0e65ae3338965d9f0505990d7848b07bd33c888 SHA512 7cc9b965d79670dcf70bd1c946b257f7642264637665bdd6fdc14a89dcbfc70f17b9249bc666ba0bf4bc51fb5028a68671c95ab42d15705979d7dbd61c575061 WHIRLPOOL 30ee2db9a27b92481a298bde0f7f23e187f2fd8e76b6d79856a226d3f4ec1139674d24ee79120ac01ab701991d0ede3a5054d2c882d934d15c6b966ad58f5f1d +MISC metadata.xml 363 SHA256 27fd6dcbcbebd12de381f261666ceaeb66886aac769835e6ef1895cc584de9d2 SHA512 3c5efbb36dba02cfa31cb0b95c78194bfecfcc128b60eb5c11983da6ac26fb0d75bc02e004443fc6365d3cf53b6d9bffc3a0342c185e61ffdc404cb8b4a3f95e WHIRLPOOL 6a3b8a830ef357e03f12bcb72ccd0a3b2d1f40eb5e776329f7137fa16a4bc8e39c8fa3ac29db74f4861a257b9baff2a52fd7a94fcccb1abd8a4f4f416a7bb8ac diff --git a/dev-libs/libf2c/files/20051004-add-ofiles-dep.patch b/dev-libs/libf2c/files/20051004-add-ofiles-dep.patch new file mode 100644 index 000000000000..509726820ae5 --- /dev/null +++ b/dev-libs/libf2c/files/20051004-add-ofiles-dep.patch @@ -0,0 +1,14 @@ +diff -urN libf2c.orig/makefile.u libf2c/makefile.u +--- libf2c.orig/makefile.u 2006-05-13 15:41:29.000000000 -0700 ++++ libf2c/makefile.u 2006-05-13 15:42:04.000000000 -0700 +@@ -69,7 +69,9 @@ + OFILES = $(MISC) $(POW) $(CX) $(DCX) $(REAL) $(DBL) $(INT) \ + $(HALF) $(CMP) $(EFL) $(CHAR) $(I77) $(TIME) + +-all: f2c.h signal1.h sysdep1.h libf2c.a ++all: libf2c.a ++ ++$(OFILES): f2c.h signal1.h sysdep1.h + + libf2c.a: $(OFILES) + ar r libf2c.a $? diff --git a/dev-libs/libf2c/files/20090407-link-shared-libf2c-correctly.patch b/dev-libs/libf2c/files/20090407-link-shared-libf2c-correctly.patch new file mode 100644 index 000000000000..d35e60bed0ff --- /dev/null +++ b/dev-libs/libf2c/files/20090407-link-shared-libf2c-correctly.patch @@ -0,0 +1,11 @@ +--- makefile.u.orig 2008-07-07 23:27:41.000000000 -0700 ++++ makefile.u 2008-07-07 23:28:39.000000000 -0700 +@@ -82,7 +82,7 @@ + ## of "cc -shared". + + libf2c.so: $(OFILES) +- $(CC) -shared -o libf2c.so $(OFILES) ++ $(CC) -shared $(LDFLAGS) -Wl,-soname,libf2c.so.2 $(OFILES) -o libf2c.so.2 -lm + + ### If your system lacks ranlib, you don't need it; see README. + diff --git a/dev-libs/libf2c/files/libf2c-20110801-64bit-long.patch b/dev-libs/libf2c/files/libf2c-20110801-64bit-long.patch new file mode 100644 index 000000000000..85687c5a4208 --- /dev/null +++ b/dev-libs/libf2c/files/libf2c-20110801-64bit-long.patch @@ -0,0 +1,57 @@ +--- libf2c2-20090411.orig/f2c.h0 ++++ libf2c2-20090411/f2c.h0 +@@ -7,21 +7,35 @@ + #ifndef F2C_INCLUDE + #define F2C_INCLUDE + ++#if defined(__alpha__) || defined(__sparc64__) || defined(__x86_64__) || defined(__ia64__) ++typedef int integer; ++typedef unsigned int uinteger; ++#else + typedef long int integer; + typedef unsigned long int uinteger; ++#endif + typedef char *address; + typedef short int shortint; + typedef float real; + typedef double doublereal; + typedef struct { real r, i; } complex; + typedef struct { doublereal r, i; } doublecomplex; ++#if defined(__alpha__) || defined(__sparc64__) || defined(__x86_64__) || defined(__ia64__) ++typedef int logical; ++#else + typedef long int logical; ++#endif + typedef short int shortlogical; + typedef char logical1; + typedef char integer1; + #ifdef INTEGER_STAR_8 /* Adjust for integer*8. */ +-typedef long long longint; /* system-dependent */ +-typedef unsigned long long ulongint; /* system-dependent */ ++#if defined(__alpha__) || defined(__sparc64__) || defined(__x86_64__) || defined(__ia64__) ++typedef long longint; /* system-dependent */ ++typedef unsigned long ulongint; /* system-dependent */ ++#else ++typedef long long longint; /* system-dependent - oh yeah*/ ++typedef unsigned long long ulongint; /* system-dependent - oh yeah*/ ++#endif + #define qbit_clear(a,b) ((a) & ~((ulongint)1 << (b))) + #define qbit_set(a,b) ((a) | ((ulongint)1 << (b))) + #endif +@@ -42,10 +56,16 @@ + typedef short ftnlen; + typedef short ftnint; + #else ++#if defined(__alpha__) || defined(__sparc64__) || defined(__x86_64__) || defined(__ia64__) ++typedef int flag; ++typedef int ftnlen; ++typedef int ftnint; ++#else + typedef long int flag; + typedef long int ftnlen; + typedef long int ftnint; + #endif ++#endif + + /*external read, write*/ + typedef struct diff --git a/dev-libs/libf2c/files/libf2c-20110801-format-security.patch b/dev-libs/libf2c/files/libf2c-20110801-format-security.patch new file mode 100644 index 000000000000..669da2d694b4 --- /dev/null +++ b/dev-libs/libf2c/files/libf2c-20110801-format-security.patch @@ -0,0 +1,11 @@ +--- arithchk.c ++++ arithchk.c +@@ -122,7 +122,7 @@ + long Cray1; + + /* Cray1 = 4617762693716115456 -- without overflow on non-Crays */ +- Cray1 = printf(emptyfmt) < 0 ? 0 : 4617762; ++ Cray1 = fputs(emptyfmt, stdout) < 0 ? 0 : 4617762; + if (printf(emptyfmt, Cray1) >= 0) + Cray1 = 1000000*Cray1 + 693716; + if (printf(emptyfmt, Cray1) >= 0) diff --git a/dev-libs/libf2c/files/libf2c-20110801-main.patch b/dev-libs/libf2c/files/libf2c-20110801-main.patch new file mode 100644 index 000000000000..36d61c5c5a4c --- /dev/null +++ b/dev-libs/libf2c/files/libf2c-20110801-main.patch @@ -0,0 +1,40 @@ +Add weak alias for MAIN__ + +https://bugs.gentoo.org/show_bug.cgi?id=421975 +https://bugs.gentoo.org/show_bug.cgi?id=433782 +https://groups.google.com/forum/#!msg/comp.os.linux.development.apps/41siJKfcJ78/iIcRfZ4y9G8J + +Patch written by Chris Reffett +and Kacper Kowalik +--- a/makefile.u ++++ b/makefile.u +@@ -27,7 +27,7 @@ + ## If your system does not have the x86_64-pc-linux-gnu-ld command, comment out + ## or remove both the x86_64-pc-linux-gnu-ld and mv lines above. + +-MISC = f77vers.o i77vers.o main.o s_rnge.o abort_.o exit_.o getarg_.o iargc_.o\ ++MISC = f77vers.o i77vers.o main.o main_foo.o s_rnge.o abort_.o exit_.o getarg_.o iargc_.o\ + getenv_.o signal_.o s_stop.o s_paus.o system_.o cabs.o ctype.o\ + derf_.o derfc_.o erf_.o erfc_.o sig_die.o uninit.o + POW = pow_ci.o pow_dd.o pow_di.o pow_hh.o pow_ii.o pow_ri.o pow_zi.o pow_zz.o +@@ -206,7 +206,7 @@ + i77vers.c i_abs.c i_dim.c i_dnnt.c i_indx.c i_len.c i_mod.c \ + i_nint.c i_sign.c iargc_.c iio.c ilnw.c inquire.c l_ge.c l_gt.c \ + l_le.c l_lt.c lbitbits.c lbitshft.c libf2c.lbc libf2c.sy lio.h \ +- lread.c lwrite.c main.c makefile.sy makefile.u makefile.vc \ ++ lread.c lwrite.c main.c main_foo.c makefile.sy makefile.u makefile.vc \ + makefile.wat math.hvc mkfile.plan9 open.c pow_ci.c pow_dd.c \ + pow_di.c pow_hh.c pow_ii.c pow_qq.c pow_ri.c pow_zi.c pow_zz.c \ + qbitbits.c qbitshft.c r_abs.c r_acos.c r_asin.c r_atan.c r_atn2.c \ +--- /dev/null ++++ b/main_foo.c +@@ -0,0 +1,9 @@ ++#include ++#include ++ ++void missing_MAIN__ (void) ++{ ++ fprintf(stderr, "The Fortran main program is missing.\n"); ++ abort(); ++} ++void MAIN__ (void) __attribute__ ((weak, alias("missing_MAIN__"))); diff --git a/dev-libs/libf2c/libf2c-20110801-r4.ebuild b/dev-libs/libf2c/libf2c-20110801-r4.ebuild new file mode 100644 index 000000000000..50e2c97344ee --- /dev/null +++ b/dev-libs/libf2c/libf2c-20110801-r4.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils multilib toolchain-funcs + +DESCRIPTION="Library that converts FORTRAN to C source" +HOMEPAGE="http://www.netlib.org/f2c/" +SRC_URI="${HOMEPAGE}/${PN}.zip -> ${P}.zip" + +LICENSE="HPND" +SLOT="0" +KEYWORDS="amd64 ppc ppc64 x86 ~x86-fbsd ~amd64-linux ~x86-linux" +IUSE="static-libs" + +RDEPEND="" +DEPEND="${RDEPEND} + app-arch/unzip" + +S="${WORKDIR}" + +src_prepare() { + epatch \ + "${FILESDIR}"/20051004-add-ofiles-dep.patch \ + "${FILESDIR}"/20090407-link-shared-libf2c-correctly.patch \ + "${FILESDIR}"/${P}-main.patch\ + "${FILESDIR}"/${P}-64bit-long.patch \ + "${FILESDIR}"/${P}-format-security.patch + sed -i -e "s/ld /$(tc-getLD) /" makefile.u || die +} + +src_compile() { + emake \ + -f makefile.u \ + libf2c.so \ + CFLAGS="${CFLAGS} -fPIC" \ + CC="$(tc-getCC)" + + # Clean up files so we can recompile without PIC for the static lib + if use static-libs; then + rm *.o || die "clean failed" + emake \ + -f makefile.u \ + all \ + CFLAGS="${CFLAGS}" \ + CC="$(tc-getCC)" + fi +} + +src_install () { + dolib libf2c.so.2 + dosym libf2c.so.2 /usr/$(get_libdir)/libf2c.so + use static-libs && dolib.a libf2c.a + doheader f2c.h + dodoc README Notice +} diff --git a/dev-libs/libf2c/libf2c-20130927.ebuild b/dev-libs/libf2c/libf2c-20130927.ebuild new file mode 100644 index 000000000000..a9e73c1620a9 --- /dev/null +++ b/dev-libs/libf2c/libf2c-20130927.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils multilib toolchain-funcs + +DESCRIPTION="Library that converts FORTRAN to C source" +HOMEPAGE="http://www.netlib.org/f2c/" +SRC_URI="${HOMEPAGE}/${PN}.zip -> ${P}.zip" + +LICENSE="HPND" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux" +IUSE="static-libs" + +RDEPEND="" +DEPEND="${RDEPEND} + app-arch/unzip" + +S="${WORKDIR}" + +src_prepare() { + epatch \ + "${FILESDIR}"/20051004-add-ofiles-dep.patch \ + "${FILESDIR}"/20090407-link-shared-libf2c-correctly.patch \ + "${FILESDIR}"/${PN}-20110801-main.patch\ + "${FILESDIR}"/${PN}-20110801-64bit-long.patch \ + "${FILESDIR}"/${PN}-20110801-format-security.patch + sed -i -e "s/ld /$(tc-getLD) /" makefile.u || die +} + +src_compile() { + emake \ + -f makefile.u \ + libf2c.so \ + CFLAGS="${CFLAGS} -fPIC" \ + CC="$(tc-getCC)" + + # Clean up files so we can recompile without PIC for the static lib + if use static-libs; then + rm *.o || die "clean failed" + emake \ + -f makefile.u \ + all \ + CFLAGS="${CFLAGS}" \ + CC="$(tc-getCC)" + fi +} + +src_install () { + dolib libf2c.so.2 + dosym libf2c.so.2 /usr/$(get_libdir)/libf2c.so + use static-libs && dolib.a libf2c.a + doheader f2c.h + dodoc README Notice +} diff --git a/dev-libs/libf2c/metadata.xml b/dev-libs/libf2c/metadata.xml new file mode 100644 index 000000000000..edfd7994e880 --- /dev/null +++ b/dev-libs/libf2c/metadata.xml @@ -0,0 +1,11 @@ + + + + + sci@gentoo.org + Gentoo Science Project + + + A library to conver FORTRAN 77 to C/C++ source code. + + diff --git a/dev-libs/libfastjson/Manifest b/dev-libs/libfastjson/Manifest new file mode 100644 index 000000000000..a24a085001ee --- /dev/null +++ b/dev-libs/libfastjson/Manifest @@ -0,0 +1,9 @@ +AUX libfastjson-0.99.2-fix-for-implicit-declaration-of-vasprintf.patch 596 SHA256 1951a0a800d80f7255adb6f352837b63b0b4d377593b95e62ac7dc1eb3399a2b SHA512 fd32eb655520446578a6bf0ad6d855a78b77e229a3787f0d9d586c96e8ab72903f5e1f98ad2581dc33e5f58ebe88ee30f0ba4cdf4b8be42e9a1ee5e4572fb917 WHIRLPOOL 92fa0b93fbcba29712049c02b7274ec27b336346932a2a0c1f0c172541a7dbd98b8ce552241784568d11b53ed93367186c5e4da404ff96878d4be3b9d3ee3f48 +DIST libfastjson-0.99.2.tar.gz 366602 SHA256 6ff053d455243a81014f37b4d81c746d9b8d40256a56326c3a7921c8bf458dfd SHA512 4b57697cbb901bc12a26d98c3d6df998aba373d4f38339189c9bd3e5a32777fa4796039fe82581337e576fa93c6deb87759eba04326134f587064c82e1b3daaf WHIRLPOOL 56010125b4ba905aba3fa7ad69faf38237426c1ef5cbaad90458fe31e96b86719d2766d2099928dc22aa7d98a64d079a3bd9de31702b28547d1f1d416170d487 +DIST libfastjson-0.99.4.tar.gz 424989 SHA256 6339a67e680a8f6a6a0c179971118489cc14ec73bb1542b591c38f58d760034c SHA512 b38f01469021093f21b43550e7574d2bad7b57a28b62f27cb1d2a57e33d2cb29208d20d978bdebe5a82a9736dfcfd7ec0a0fa945762702f4389d69850c2cfeb3 WHIRLPOOL 15898787b20b13648cfc19496da69e86223400fd9e62cb9ce4362364cf5f6d7df32f54a79e4d225bedcdf91cdb0c9231a3e2a6e63d7366b3290624aaf7854dc7 +DIST libfastjson-0.99.6.tar.gz 431066 SHA256 95e3d371c82b5d85c7294d46c923b3fee0384e1541a1556f0ca185170eb27270 SHA512 b3b4a5ba959723ffbf8d8218c97c696ccbb781e8c2563ede6ffd7bcbdfcf75495deba5c2b8952c6c215b78dd9cfa728c95cf56bde9b1cfa7ebd6ba68b5b8f166 WHIRLPOOL 3debbb3cd1c67bce448ace69609ce398266d49ec1711db0501b9c617e814547b3757cb8e63d5691b858c0b468e387875d774a619363b4bcb6209bf3f6b435ed7 +EBUILD libfastjson-0.99.2.ebuild 845 SHA256 6b978cff919ea11ba752ac72d7b2dc8317086ca8865b6eb8b6f6aec23b43cc3a SHA512 2cefc049fdd49669a7c10d7dbb3e7f652575d28a0d342e5684afffdf1ec573dd460748d5b5b52c8fdb4165e73b8ef292b94effad0945543e73f1b770aeacc15d WHIRLPOOL dec839ad9d46b8b189b772824f65734ce906686bddcab4b7a8a6eb042f7dc688776ddb5c3cf6b64e828d10bc9f269c12edb4c6b7f34f16297bef5a79fff1614a +EBUILD libfastjson-0.99.4.ebuild 789 SHA256 03c1d22a57d8c9207ae2a525573fbc804a683ab9f7556248795ee48665df8556 SHA512 b8c4fbe3608dc700cefcd5df756938ff84512b19d5645b9926d0049b6b27ac0bd560d8552d96b4534f8577e3e03dd76736f48c144089f51f7e09611158d46a8a WHIRLPOOL 06fffe16555b07b9b1dde174a7659ea74acc757f034c80507b7fba7b3f10869e6f92046778058247df9be6f70eee29170322ffa326ac8e62c720d2a57a0778a4 +EBUILD libfastjson-0.99.6.ebuild 798 SHA256 8aeda0ae87228ffbb40d34bd57ba00e1a8bd54b0ebc986d12a1de0e121b774ac SHA512 bf42cf408c173eeb17eccfe838be353334571610d3ff6c6d0de4af6339276d27cc5b87d8405b11310af639ee0ce3e31c4ad72dea51bc05fdb459eacd9f521641 WHIRLPOOL 23f7566ccd6a12b79304c410dab50208b454f745721a39dc418eb25452d491c2268685bdae4fdea8c867333f76a4e1ee00b50ec5fc1d59bc27c319da53882281 +MISC ChangeLog 2784 SHA256 baa3c11e7e2b9fd9dcccb0f6231f0b0537b01a8e9d05587f61f2d1e9ba06c9d0 SHA512 f64dfdfe2bd0a70b742b65a8ceb0b2659ec2ba8a42eb4753255a4b7078e0e7aeec0f248b8889dd28636baf840317df046299bb3858b0bf55b38f4dc681c07239 WHIRLPOOL cc7d93c6e518aaa584da93986e1ed77f8ee4d00f259be9f8bb7542038e27d72a00ce0370e2605819fe8866eae92ebd66fc7a26990fa268a57b51482a6ecee7f9 +MISC metadata.xml 475 SHA256 ab3416a2168c2f37fd61ce27661adf54e0bb4c2aded400cc88fd2f26deb5fb9c SHA512 e347c97a42efce88d50f71438072af0cc1c758990873985a6292606b6e2af8797a63c35ab549ace15c50dd0120d465d0f0b38b24ecf08160fdda45738082bf82 WHIRLPOOL a48b341b629328a5502fd97f45003c0acdd546ef07cc82a13ed92ee22c93c3aef8572c04b579878b1da27b10d14188cb3c995ea36637db12b012e0c90089ab1d diff --git a/dev-libs/libfastjson/files/libfastjson-0.99.2-fix-for-implicit-declaration-of-vasprintf.patch b/dev-libs/libfastjson/files/libfastjson-0.99.2-fix-for-implicit-declaration-of-vasprintf.patch new file mode 100644 index 000000000000..8772cf403df9 --- /dev/null +++ b/dev-libs/libfastjson/files/libfastjson-0.99.2-fix-for-implicit-declaration-of-vasprintf.patch @@ -0,0 +1,27 @@ +From d895b1327814fad6846fec9370fade177a587aa3 Mon Sep 17 00:00:00 2001 +From: Thomas D. +Date: Tue, 8 Mar 2016 16:05:08 +0100 +Subject: [PATCH] printbuf.c: Fix for implicit declaration of function + 'vasprintf' + +Using the same q'n'd fix from eabae907c9d991143e17da278a239819f2e8ae1c for +printbuf.c as well. +--- + printbuf.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/printbuf.c b/printbuf.c +index 18237f6..d529d23 100644 +--- a/printbuf.c ++++ b/printbuf.c +@@ -15,6 +15,7 @@ + + #include "config.h" + ++#define _GNU_SOURCE + #include + #include + #include +-- +2.7.2 + diff --git a/dev-libs/libfastjson/libfastjson-0.99.2.ebuild b/dev-libs/libfastjson/libfastjson-0.99.2.ebuild new file mode 100644 index 000000000000..78c9df42e564 --- /dev/null +++ b/dev-libs/libfastjson/libfastjson-0.99.2.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools + +DESCRIPTION="Fork of the json-c library, which is optimized for liblognorm processing" +HOMEPAGE="http://www.rsyslog.com/tag/libfastjson/" +SRC_URI="http://download.rsyslog.com/${PN}/${P}.tar.gz" + +LICENSE="MIT" + +# subslot = soname version +SLOT="0/3.0.0" + +KEYWORDS="amd64 arm arm64 hppa x86" +IUSE="static-libs" + +DEPEND="" +RDEPEND="" + +src_prepare() { + local PATCHES=( + "${FILESDIR}"/${PN}-0.99.2-fix-for-implicit-declaration-of-vasprintf.patch + ) + + default + + eautoreconf +} + +src_configure() { + local myeconfargs=( + $(use_enable static-libs static) + --disable-rdrand + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + local DOCS=( AUTHORS ChangeLog ) + default + + find "${ED}"usr/lib* -name '*.la' -delete || die +} diff --git a/dev-libs/libfastjson/libfastjson-0.99.4.ebuild b/dev-libs/libfastjson/libfastjson-0.99.4.ebuild new file mode 100644 index 000000000000..6717d30a0b6a --- /dev/null +++ b/dev-libs/libfastjson/libfastjson-0.99.4.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools + +DESCRIPTION="Fork of the json-c library, which is optimized for liblognorm processing" +HOMEPAGE="http://www.rsyslog.com/tag/libfastjson/" +SRC_URI="http://download.rsyslog.com/${PN}/${P}.tar.gz" +LICENSE="MIT" +SLOT="0/4.0.0" +KEYWORDS="amd64 arm ~arm64 hppa x86" +IUSE="static-libs" + +DEPEND=">=sys-devel/autoconf-archive-2015.02.04" +RDEPEND="" + +src_prepare() { + default + + eautoreconf +} + +src_configure() { + local myeconfargs=( + --enable-compile-warnings=yes + $(use_enable static-libs static) + --disable-rdrand + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + local DOCS=( AUTHORS ChangeLog ) + default + + find "${ED}"usr/lib* -name '*.la' -delete || die +} diff --git a/dev-libs/libfastjson/libfastjson-0.99.6.ebuild b/dev-libs/libfastjson/libfastjson-0.99.6.ebuild new file mode 100644 index 000000000000..f18b6ab89709 --- /dev/null +++ b/dev-libs/libfastjson/libfastjson-0.99.6.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit autotools + +DESCRIPTION="Fork of the json-c library, which is optimized for liblognorm processing" +HOMEPAGE="http://www.rsyslog.com/tag/libfastjson/" +SRC_URI="http://download.rsyslog.com/${PN}/${P}.tar.gz" +LICENSE="MIT" +SLOT="0/4.1.0" +KEYWORDS="amd64 ~arm ~arm64 hppa sparc x86" +IUSE="static-libs" + +DEPEND=">=sys-devel/autoconf-archive-2015.02.04" +RDEPEND="" + +src_prepare() { + default + + eautoreconf +} + +src_configure() { + local myeconfargs=( + --enable-compile-warnings=yes + $(use_enable static-libs static) + --disable-rdrand + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + local DOCS=( AUTHORS ChangeLog ) + default + + find "${ED}"usr/lib* -name '*.la' -delete || die +} diff --git a/dev-libs/libfastjson/metadata.xml b/dev-libs/libfastjson/metadata.xml new file mode 100644 index 000000000000..11529b22803b --- /dev/null +++ b/dev-libs/libfastjson/metadata.xml @@ -0,0 +1,15 @@ + + + + + whissi@gentoo.org + Thomas Deutschmann + + + Reflect ABI of libfastjson.so. + + + https://github.com/rsyslog/libfastjson/issues + rsyslog/libfastjson + + diff --git a/dev-libs/libffi/Manifest b/dev-libs/libffi/Manifest new file mode 100644 index 000000000000..8af80d89d6df --- /dev/null +++ b/dev-libs/libffi/Manifest @@ -0,0 +1,8 @@ +AUX libffi-3.1-darwin-x32.patch 606 SHA256 419007aba26be807a25e6f34d319225458e3febc75c3f3d0c85093ded63e3cb2 SHA512 909e4c45f124d6a9d4a0b2b97fdcbf0451a15c11c3da581fc8571d4f4f0857306bbfddf682bbe0441f0c5c84a8489e4a79a792883bfe440224cf672567bf0a24 WHIRLPOOL 9f749489499e8e9fa7712ae4111424c47c695cd5ee7b6480a8a2f5cd638d8d95c000e16e81eb13603bd842c2d50d2d0c60480d519960c55b652867fd6cb95cde +AUX libffi-3.2.1-complex_alpha.patch 601 SHA256 5653822db3b2338f6b7c63107868d20665a200f139616476fc1411ae76283fa5 SHA512 66890bf241236f08e0e726c820e2ff82df6071c1a3b25aa4f3f005b6431b94ec5a5f730db56de82c006e26415d72fe665d6ced37567bcdec6d84357faeb24bec WHIRLPOOL 1e020a6477eb137f5579de73a76a021eb2444a1223ef1e7b50460cbd92643c841429993d08517b7297b50f7d10aa4e5446f23ac1185d18712a5d28081d35eb74 +AUX libffi-3.2.1-o-tmpfile-eacces.patch 660 SHA256 655ed8d1c6ff1f48d69f28f3393e84fe53e581504f55cfa05b1914ed97be7463 SHA512 0887063ce1d812c31a34d662f852cf2944e008f2f60bd07941572f9032861e749968b090686e0d788f7cc3c5c8f1ed2388418ff000c42fd2d592f9837e782f65 WHIRLPOOL 72305d87d8a96542264c9b4211f14744fd980a29c9d63d78919211ec0d5a027973e9825777a79980c4ec22ed59319c3230780e60746ac860ce5a405b35351659 +DIST libffi-3.2.1.tar.gz 940837 SHA256 d06ebb8e1d9a22d19e38d63fdb83954253f39bedc5d46232a05645685722ca37 SHA512 980ca30a8d76f963fca722432b1fe5af77d7a4e4d2eac5144fbc5374d4c596609a293440573f4294207e1bdd9fda80ad1e1cafb2ffb543df5a275bc3bd546483 WHIRLPOOL b9d3c86e347029fa9f03fd3813405cc731099812ad6186bd4d2ea646354383803c90912b20e1804a6b7fc12719403b3c0c3b800bdbcab564a2c93fcb4fd722ad +EBUILD libffi-3.2.1.ebuild 2067 SHA256 2d2cb5f72664dd32cd95b3873c29d57956902966f74773d9b6db6e78eaa01769 SHA512 018ca3295c6cd32359328358ad5ae7052c4139434419e7824f16bcac18d0652a325a3fc4591c402347b362a246f590e344c8225cfd6994c3ef5b00d537e7c2de WHIRLPOOL a9df656132a25045a36bcfbf7dd67d35ad16fa709c0aeb9e458473409b38f7c5bef6bcdeffa4f01d90e3bd2b529b9631786c583d3a12a476da9b428ace784bef +MISC ChangeLog 4914 SHA256 e5af61b0b32e4435fff51eefb6e7ce8e88deae722409e304f9af77fbcc2a8ad3 SHA512 2d6f89478be3cc0e5acd594702d5fc5f299257a32e2f1f934821f47aeb35877971d32d9bb618df6142a07540570ebae5dd71a9e4568a4ec431bd9908f3d97a1e WHIRLPOOL 4825d0299eef1fb2f6f835196d2dc9a9dd5613b3d6577c4ef1a97fa4b6620709fdeefdd33074fa83b08318126bd9c300217d81de4ef8d187e789ac3044087774 +MISC ChangeLog-2015 27182 SHA256 b643eb3993bbd864daf849482c0c2e58133468cfb4efd5b2ccc0170ba9d123bf SHA512 a00480e9d37cf03bcdaf45b43199098349b369580d9cb9eb23c4fab135440a55e47a635255bfcccd9e3cd0be6336b9275a79ecb93ee4177b2587112b09a259db WHIRLPOOL 94783d36d7ba7f246013f435c4c43d84b0438be0d69d9d6fcfc899a9601641baefdee4015872f26fcb10610a95ef398ed6ddeaf99787683c41cc5b523ec09449 +MISC metadata.xml 1866 SHA256 7f949adee86d868d30a6dd8a8bf251318105c635eeea96612419e7eaa3fbf170 SHA512 e1de94bb58c77aa48ee1b7d81777d26b736db3f3ef652099bb3f3a9bd75689258a61168371a30976e0717519bc9300b3812a8405ad1f16683c45a24817960b90 WHIRLPOOL 79f40596a2e0026b4248496bc6a560e711c028fdd045a86187e672a2bc2f597ac9e97bed128b14ab5bd62fca133da2e91bc8d4c64dc9523d2a95a5f1082e17a3 diff --git a/dev-libs/libffi/files/libffi-3.1-darwin-x32.patch b/dev-libs/libffi/files/libffi-3.1-darwin-x32.patch new file mode 100644 index 000000000000..e5f100e56726 --- /dev/null +++ b/dev-libs/libffi/files/libffi-3.1-darwin-x32.patch @@ -0,0 +1,22 @@ +https://bugs.gentoo.org/show_bug.cgi?id=513428 +https://bugs.gentoo.org/show_bug.cgi?id=536764 +https://trac.macports.org/ticket/44170 + +--- libffi-3.2.1/src/x86/win32.S ++++ libffi-3.2.1/src/x86/win32.S +@@ -1184,7 +1184,6 @@ + + #if defined(X86_WIN32) && !defined(__OS2__) + .section .eh_frame,"w" +-#endif + .Lframe1: + .LSCIE1: + .long .LECIE1-.LASCIE1 /* Length of Common Information Entry */ +@@ -1343,6 +1342,7 @@ + /* End of DW_CFA_xxx CFI instructions. */ + .align 4 + .LEFDE5: ++#endif /* defined(X86_WIN32) && !defined(__OS2__), for the eh_frame */ + + #endif /* !_MSC_VER */ + diff --git a/dev-libs/libffi/files/libffi-3.2.1-complex_alpha.patch b/dev-libs/libffi/files/libffi-3.2.1-complex_alpha.patch new file mode 100644 index 000000000000..0d6e0bc29007 --- /dev/null +++ b/dev-libs/libffi/files/libffi-3.2.1-complex_alpha.patch @@ -0,0 +1,20 @@ +--- src/alpha/osf.S.orig 2015-01-16 10:46:15.000000000 +0100 ++++ src/alpha/osf.S 2015-01-16 10:46:24.000000000 +0100 +@@ -279,6 +279,7 @@ + .gprel32 $load_64 # FFI_TYPE_SINT64 + .gprel32 $load_none # FFI_TYPE_STRUCT + .gprel32 $load_64 # FFI_TYPE_POINTER ++ .gprel32 $load_none # FFI_TYPE_COMPLEX + + /* Assert that the table above is in sync with ffi.h. */ + +@@ -294,7 +295,8 @@ + || FFI_TYPE_SINT64 != 12 \ + || FFI_TYPE_STRUCT != 13 \ + || FFI_TYPE_POINTER != 14 \ +- || FFI_TYPE_LAST != 14 ++ || FFI_TYPE_COMPLEX != 15 \ ++ || FFI_TYPE_LAST != 15 + #error "osf.S out of sync with ffi.h" + #endif + diff --git a/dev-libs/libffi/files/libffi-3.2.1-o-tmpfile-eacces.patch b/dev-libs/libffi/files/libffi-3.2.1-o-tmpfile-eacces.patch new file mode 100644 index 000000000000..92a733cbe823 --- /dev/null +++ b/dev-libs/libffi/files/libffi-3.2.1-o-tmpfile-eacces.patch @@ -0,0 +1,17 @@ +https://bugs.gentoo.org/529044 + +deploy this workaround until newer versions of the kernel/C library/libsandbox +are rolled out into general circulation + +--- a/src/closures.c ++++ b/src/closures.c +@@ -301,7 +301,8 @@ open_temp_exec_file_dir (const char *dir) + #ifdef O_TMPFILE + fd = open (dir, flags | O_RDWR | O_EXCL | O_TMPFILE, 0700); + /* If the running system does not support the O_TMPFILE flag then retry without it. */ +- if (fd != -1 || (errno != EINVAL && errno != EISDIR && errno != EOPNOTSUPP)) { ++ if (fd != -1 || (errno != EINVAL && errno != EISDIR && errno != EOPNOTSUPP && ++ errno != EACCES)) { + return fd; + } else { + errno = 0; diff --git a/dev-libs/libffi/libffi-3.2.1.ebuild b/dev-libs/libffi/libffi-3.2.1.ebuild new file mode 100644 index 000000000000..1160d49a6b8b --- /dev/null +++ b/dev-libs/libffi/libffi-3.2.1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils libtool multilib multilib-minimal toolchain-funcs + +DESCRIPTION="a portable, high level programming interface to various calling conventions" +HOMEPAGE="https://sourceware.org/libffi/" +SRC_URI="ftp://sourceware.org/pub/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="debug pax_kernel static-libs test" + +RDEPEND="abi_x86_32? ( !<=app-emulation/emul-linux-x86-baselibs-20130224-r1 + !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] )" +DEPEND="test? ( dev-util/dejagnu )" + +DOCS="ChangeLog* README" + +ECONF_SOURCE=${S} + +pkg_setup() { + # Check for orphaned libffi, see https://bugs.gentoo.org/354903 for example + if [[ ${ROOT} == "/" && ${EPREFIX} == "" ]] && ! has_version ${CATEGORY}/${PN}; then + local base="${T}"/conftest + echo 'int main() { }' > "${base}".c + $(tc-getCC) -o "${base}" "${base}".c -lffi >&/dev/null + if [ $? -eq 0 ]; then + eerror "The linker reported linking against -lffi to be working while it shouldn't have." + eerror "This is wrong and you should find and delete the old copy of libffi before continuing." + die "The system is in inconsistent state with unknown libffi installed." + fi + fi +} + +src_prepare() { + sed -i -e 's:@toolexeclibdir@:$(libdir):g' Makefile.in || die #462814 + epatch "${FILESDIR}"/${PN}-3.2.1-o-tmpfile-eacces.patch #529044 + epatch "${FILESDIR}"/${PN}-3.2.1-complex_alpha.patch + epatch "${FILESDIR}"/${PN}-3.1-darwin-x32.patch + epatch_user + elibtoolize +} + +multilib_src_configure() { + use userland_BSD && export HOST="${CHOST}" + econf \ + $(use_enable static-libs static) \ + $(use_enable pax_kernel pax_emutramp) \ + $(use_enable debug) +} + +multilib_src_install_all() { + prune_libtool_files + einstalldocs +} diff --git a/dev-libs/libffi/metadata.xml b/dev-libs/libffi/metadata.xml new file mode 100644 index 000000000000..d8fae30b11e1 --- /dev/null +++ b/dev-libs/libffi/metadata.xml @@ -0,0 +1,39 @@ + + + + + toolchain@gentoo.org + Gentoo Toolchain Project + + + Compilers for high level languages generate code that follow certain + conventions. These conventions are necessary, in part, for separate + compilation to work. One such convention is the "calling + convention". The "calling convention" is essentially a set of + assumptions made by the compiler about where function arguments will + be found on entry to a function. A "calling convention" also specifies + where the return value for a function is found. + + Some programs may not know at the time of compilation what arguments + are to be passed to a function. For instance, an interpreter may be + told at run-time about the number and types of arguments used to call + a given function. Libffi can be used in such programs to provide a + bridge from the interpreter program to compiled code. + + The libffi library provides a portable, high level programming + interface to various calling conventions. This allows a programmer to + call any function specified by a call interface description at run + time. + + Ffi stands for Foreign Function Interface. A foreign function + interface is the popular name for the interface that allows code + written in one language to call code written in another language. The + libffi library really only provides the lowest, machine dependent + layer of a fully featured foreign function interface. A layer must + exist above libffi that handles type conversions for values passed + between the two languages. + + + Use PaX emulated trampolines, for we can't use PROT_EXEC + + diff --git a/dev-libs/libfilezilla/Manifest b/dev-libs/libfilezilla/Manifest new file mode 100644 index 000000000000..d1c995bb9ea9 --- /dev/null +++ b/dev-libs/libfilezilla/Manifest @@ -0,0 +1,9 @@ +AUX libfilezilla-0.9.2-cppunit-pkgconfig.patch 15391 SHA256 a28835dab9df59b4dd0ab611379a38f07a853529b11889961bb795592f1aedaf SHA512 99e8c3ee7784a730d975279521e6e1a5d5dcd63ec0e30181dbfa8b23d080243a77d3a04e5aee124435030380df26df92509a61ff1cce48a5c9c64e00b48c900e WHIRLPOOL 1b73dac7deae6fd9d6cf4bd895f8e66efb486cb4060eb8616f22eae6ebed242407d41519ce8bd401c2e18fb187eba0310d84cb60fb87820c97a0cba1c3d76c9e +DIST libfilezilla-0.10.0.tar.bz2 394078 SHA256 bd10176c44f421a20c92c66d85a7a277dcc0d1c4b57cf20b7b6ba24cb4493382 SHA512 b21efe77e7555fbed29ff798a19c922d12446295467af38683009770d6db753518fb5b2d8f14a77803e2559bc4038e5794c1750544527351f9526170ff591800 WHIRLPOOL b47187271509ec7b72ff84cdd2baf48498b9296086e947414cbc7bf79644259c90cd67c3a5e19cec41d638101e800568b741afc018d4fa14d2085059eaf48d3a +DIST libfilezilla-0.9.1.tar.bz2 383315 SHA256 18b2391771f330cccab2c55a66197b9098f236e616f26f86326795b900913b1a SHA512 bbcd826675e9c3e2f8cf1cea4da01434a66359ae816efdc5c981fbfebde0b73ce44a6d37546196fc00cb118d9b4d7772b73e30f8d5a78294f97b9899e9ba3393 WHIRLPOOL cbe3c1b30cd4dad6d6806c01921fe4bd15a8797f7dcf92737b34d04e3d35954a584d9155ea8385beecf52b176ac41b114814047f1b570791ff2a4314fa787a58 +DIST libfilezilla-0.9.2.tar.bz2 383522 SHA256 c162e8a23555b3bbc707cf240b0b4122ea2975d6d8b10744325b968f656b3be3 SHA512 f825d116e252786801115189f9966ba7ab8663863d921cce530569a172ab33dbc31234d6286b0b3e6edc19ec0a5ba009788382ec5d5359f97a9cb10f30715f88 WHIRLPOOL 16adf902b1a27766f86221e08e3599f84e64da30893ca3f67d3e467ef74c00eaa9db6abaef360a8a4ba4c47ebbfb92239344335a0fedd4cb9263b2542fde8147 +EBUILD libfilezilla-0.10.0.ebuild 923 SHA256 6363cef9813b4e1347dc8e4cc346929d5aed88ecbb468d325a9570eeff53bdd0 SHA512 a0528f93114da82ee995455260f0e443658ed17e9a0d2771c254869503f9d83e568dd18bd0aa110b991fe32859632ba245e36ec6b9274eb9d22742399ff949e9 WHIRLPOOL ac127414f8c50e4def90e5f39e573630c2617b8d77db503a96a5e6410eee40902360be7bfcdc7d24377539333575a806b9dcab929099f6f2410a6a6451436e48 +EBUILD libfilezilla-0.9.1.ebuild 921 SHA256 4348060c70292f11bbce101160d6f9f842366ef5cc69480f97fed52006291d36 SHA512 73c7ba2f0180dc26580e0e0d9226b1a8dfa70818720e8bbb78c53fada8ec68e690278859416694aefd7fe69178b401485e4da48591da96b4f848cc34b18b6bd8 WHIRLPOOL 472d6006d2d4213468bcb2493a46dcf6250a98faad0e7d59ac5ba54b0719ade8af5fb00092dfcb51594d06f3f861b739c49c7726b8b9d4248562239d12cfaa4b +EBUILD libfilezilla-0.9.2.ebuild 1065 SHA256 c0f4563392c08c4ac5e5f6a453a4b71a4e742f9d6ac23ef90077e37eb07cf9c8 SHA512 880341a0f71b1bb08b48c9f7e6fe78dbdf8197e62faf9f82cafabf561e675b01f4f084d409eb815ee509c99c4da2ca88acbf92638c88a53dd23cf3456e3e4572 WHIRLPOOL e6c5676f97052f1d6f757cd8205dee15205ee953a7e05a8a3f628e96413b504a102333e449e092f5b8b102351365ab455e04c6ef2fedbcbdb4beb01c15bd8451 +MISC ChangeLog 5031 SHA256 4db313bb58df81aa2efedde521df37c2bdf97e8f4a08a82e4cc3bcb34321b1ee SHA512 e2918667f6dc3aed64a67c12326fd2bf68dc8ca4ae04646a5d0cf33ae729e979e0557e0d80ce236623ca6fd7357f470ae1a7b340ea54d23c4ca46edb4c5bbf06 WHIRLPOOL a3f943549ff05ba3c5cbcfc2a6e8c7b88dc6765dd7145b3ea8390615170d2f84b9b396aacda3ba0fd9da5837653bbb750ee2de5ff2e612cf0ffc9f85c0360b0e +MISC metadata.xml 1135 SHA256 5f3a8c9d4cfc6dba36ddfa40050fcee048a5d2624e9af54ff94c58fba2a8bd4a SHA512 f0a35af200bbaca778c066720f1c4bb8680418196ac996cf09158c2ff881612132c85a926d4881437c332bb7e1698c5f02c44be9e9cc9b976e5170813ecd8151 WHIRLPOOL 335054c3641ecb04498ae585cd3cedbdb2f71fb06e571b088e0c7c786e25b8d7c8b869762bf14f96bc32a4eb309964115f45ab4b6d764aa9018a5023a8cafde0 diff --git a/dev-libs/libfilezilla/files/libfilezilla-0.9.2-cppunit-pkgconfig.patch b/dev-libs/libfilezilla/files/libfilezilla-0.9.2-cppunit-pkgconfig.patch new file mode 100644 index 000000000000..7c33fdbbe4a4 --- /dev/null +++ b/dev-libs/libfilezilla/files/libfilezilla-0.9.2-cppunit-pkgconfig.patch @@ -0,0 +1,428 @@ +https://bugs.gentoo.org/630094 +Extrtacted as: + svn diff -r 8440:8441 + +Index: m4/cppunit.m4 +=================================================================== +--- a/m4/cppunit.m4 (revision 8440) ++++ b/m4/cppunit.m4 (nonexistent) +@@ -1,89 +0,0 @@ +-dnl +-dnl AM_PATH_CPPUNIT(MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]) +-dnl +-AC_DEFUN([AM_PATH_CPPUNIT], +-[ +- +-AC_ARG_WITH(cppunit-prefix,[ --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)], +- cppunit_config_prefix="$withval", cppunit_config_prefix="") +-AC_ARG_WITH(cppunit-exec-prefix,[ --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)], +- cppunit_config_exec_prefix="$withval", cppunit_config_exec_prefix="") +- +- if test x$cppunit_config_exec_prefix != x ; then +- cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix" +- if test x${CPPUNIT_CONFIG+set} != xset ; then +- CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config +- fi +- fi +- if test x$cppunit_config_prefix != x ; then +- cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix" +- if test x${CPPUNIT_CONFIG+set} != xset ; then +- CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config +- fi +- fi +- +- AC_PATH_PROG(CPPUNIT_CONFIG, cppunit-config, no) +- cppunit_version_min=$1 +- +- AC_MSG_CHECKING(for Cppunit - version >= $cppunit_version_min) +- no_cppunit="" +- if test "$CPPUNIT_CONFIG" = "no" ; then +- AC_MSG_RESULT(no) +- no_cppunit=yes +- else +- CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags` +- CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs` +- cppunit_version=`$CPPUNIT_CONFIG --version` +- +- cppunit_major_version=`echo $cppunit_version | \ +- sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'` +- cppunit_minor_version=`echo $cppunit_version | \ +- sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'` +- cppunit_micro_version=`echo $cppunit_version | \ +- sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'` +- +- cppunit_major_min=`echo $cppunit_version_min | \ +- sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'` +- if test "x${cppunit_major_min}" = "x" ; then +- cppunit_major_min=0 +- fi +- +- cppunit_minor_min=`echo $cppunit_version_min | \ +- sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'` +- if test "x${cppunit_minor_min}" = "x" ; then +- cppunit_minor_min=0 +- fi +- +- cppunit_micro_min=`echo $cppunit_version_min | \ +- sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'` +- if test "x${cppunit_micro_min}" = "x" ; then +- cppunit_micro_min=0 +- fi +- +- cppunit_version_proper=`expr \ +- $cppunit_major_version \> $cppunit_major_min \| \ +- $cppunit_major_version \= $cppunit_major_min \& \ +- $cppunit_minor_version \> $cppunit_minor_min \| \ +- $cppunit_major_version \= $cppunit_major_min \& \ +- $cppunit_minor_version \= $cppunit_minor_min \& \ +- $cppunit_micro_version \>= $cppunit_micro_min ` +- +- if test "$cppunit_version_proper" = "1" ; then +- AC_MSG_RESULT([$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version]) +- else +- AC_MSG_RESULT(no) +- no_cppunit=yes +- fi +- fi +- +- if test "x$no_cppunit" = x ; then +- ifelse([$2], , :, [$2]) +- else +- CPPUNIT_CFLAGS="" +- CPPUNIT_LIBS="" +- ifelse([$3], , :, [$3]) +- fi +- +- AC_SUBST(CPPUNIT_CFLAGS) +- AC_SUBST(CPPUNIT_LIBS) +-]) + +Property changes on: m4/cppunit.m4 +___________________________________________________________________ +Deleted: svn:eol-style +## -1 +0,0 ## +-native +\ No newline at end of property +Index: m4/pkg.m4 +=================================================================== +--- a/m4/pkg.m4 (nonexistent) ++++ b/m4/pkg.m4 (revision 8441) +@@ -0,0 +1,275 @@ ++# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- ++# serial 12 (pkg-config-0.29.2) ++ ++dnl Copyright © 2004 Scott James Remnant . ++dnl Copyright © 2012-2015 Dan Nicholson ++dnl ++dnl This program is free software; you can redistribute it and/or modify ++dnl it under the terms of the GNU General Public License as published by ++dnl the Free Software Foundation; either version 2 of the License, or ++dnl (at your option) any later version. ++dnl ++dnl This program is distributed in the hope that it will be useful, but ++dnl WITHOUT ANY WARRANTY; without even the implied warranty of ++dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++dnl General Public License for more details. ++dnl ++dnl You should have received a copy of the GNU General Public License ++dnl along with this program; if not, write to the Free Software ++dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA ++dnl 02111-1307, USA. ++dnl ++dnl As a special exception to the GNU General Public License, if you ++dnl distribute this file as part of a program that contains a ++dnl configuration script generated by Autoconf, you may include it under ++dnl the same distribution terms that you use for the rest of that ++dnl program. ++ ++dnl PKG_PREREQ(MIN-VERSION) ++dnl ----------------------- ++dnl Since: 0.29 ++dnl ++dnl Verify that the version of the pkg-config macros are at least ++dnl MIN-VERSION. Unlike PKG_PROG_PKG_CONFIG, which checks the user's ++dnl installed version of pkg-config, this checks the developer's version ++dnl of pkg.m4 when generating configure. ++dnl ++dnl To ensure that this macro is defined, also add: ++dnl m4_ifndef([PKG_PREREQ], ++dnl [m4_fatal([must install pkg-config 0.29 or later before running autoconf/autogen])]) ++dnl ++dnl See the "Since" comment for each macro you use to see what version ++dnl of the macros you require. ++m4_defun([PKG_PREREQ], ++[m4_define([PKG_MACROS_VERSION], [0.29.2]) ++m4_if(m4_version_compare(PKG_MACROS_VERSION, [$1]), -1, ++ [m4_fatal([pkg.m4 version $1 or higher is required but ]PKG_MACROS_VERSION[ found])]) ++])dnl PKG_PREREQ ++ ++dnl PKG_PROG_PKG_CONFIG([MIN-VERSION]) ++dnl ---------------------------------- ++dnl Since: 0.16 ++dnl ++dnl Search for the pkg-config tool and set the PKG_CONFIG variable to ++dnl first found in the path. Checks that the version of pkg-config found ++dnl is at least MIN-VERSION. If MIN-VERSION is not specified, 0.9.0 is ++dnl used since that's the first version where most current features of ++dnl pkg-config existed. ++AC_DEFUN([PKG_PROG_PKG_CONFIG], ++[m4_pattern_forbid([^_?PKG_[A-Z_]+$]) ++m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$]) ++m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$]) ++AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility]) ++AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path]) ++AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path]) ++ ++if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then ++ AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) ++fi ++if test -n "$PKG_CONFIG"; then ++ _pkg_min_version=m4_default([$1], [0.9.0]) ++ AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version]) ++ if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then ++ AC_MSG_RESULT([yes]) ++ else ++ AC_MSG_RESULT([no]) ++ PKG_CONFIG="" ++ fi ++fi[]dnl ++])dnl PKG_PROG_PKG_CONFIG ++ ++dnl PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) ++dnl ------------------------------------------------------------------- ++dnl Since: 0.18 ++dnl ++dnl Check to see whether a particular set of modules exists. Similar to ++dnl PKG_CHECK_MODULES(), but does not set variables or print errors. ++dnl ++dnl Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG]) ++dnl only at the first occurence in configure.ac, so if the first place ++dnl it's called might be skipped (such as if it is within an "if", you ++dnl have to call PKG_CHECK_EXISTS manually ++AC_DEFUN([PKG_CHECK_EXISTS], ++[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl ++if test -n "$PKG_CONFIG" && \ ++ AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then ++ m4_default([$2], [:]) ++m4_ifvaln([$3], [else ++ $3])dnl ++fi]) ++ ++dnl _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) ++dnl --------------------------------------------- ++dnl Internal wrapper calling pkg-config via PKG_CONFIG and setting ++dnl pkg_failed based on the result. ++m4_define([_PKG_CONFIG], ++[if test -n "$$1"; then ++ pkg_cv_[]$1="$$1" ++ elif test -n "$PKG_CONFIG"; then ++ PKG_CHECK_EXISTS([$3], ++ [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null` ++ test "x$?" != "x0" && pkg_failed=yes ], ++ [pkg_failed=yes]) ++ else ++ pkg_failed=untried ++fi[]dnl ++])dnl _PKG_CONFIG ++ ++dnl _PKG_SHORT_ERRORS_SUPPORTED ++dnl --------------------------- ++dnl Internal check to see if pkg-config supports short errors. ++AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], ++[AC_REQUIRE([PKG_PROG_PKG_CONFIG]) ++if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then ++ _pkg_short_errors_supported=yes ++else ++ _pkg_short_errors_supported=no ++fi[]dnl ++])dnl _PKG_SHORT_ERRORS_SUPPORTED ++ ++ ++dnl PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], ++dnl [ACTION-IF-NOT-FOUND]) ++dnl -------------------------------------------------------------- ++dnl Since: 0.4.0 ++dnl ++dnl Note that if there is a possibility the first call to ++dnl PKG_CHECK_MODULES might not happen, you should be sure to include an ++dnl explicit call to PKG_PROG_PKG_CONFIG in your configure.ac ++AC_DEFUN([PKG_CHECK_MODULES], ++[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl ++AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl ++AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl ++ ++pkg_failed=no ++AC_MSG_CHECKING([for $2]) ++ ++_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) ++_PKG_CONFIG([$1][_LIBS], [libs], [$2]) ++ ++m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS ++and $1[]_LIBS to avoid the need to call pkg-config. ++See the pkg-config man page for more details.]) ++ ++if test $pkg_failed = yes; then ++ AC_MSG_RESULT([no]) ++ _PKG_SHORT_ERRORS_SUPPORTED ++ if test $_pkg_short_errors_supported = yes; then ++ $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1` ++ else ++ $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1` ++ fi ++ # Put the nasty error message in config.log where it belongs ++ echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD ++ ++ m4_default([$4], [AC_MSG_ERROR( ++[Package requirements ($2) were not met: ++ ++$$1_PKG_ERRORS ++ ++Consider adjusting the PKG_CONFIG_PATH environment variable if you ++installed software in a non-standard prefix. ++ ++_PKG_TEXT])[]dnl ++ ]) ++elif test $pkg_failed = untried; then ++ AC_MSG_RESULT([no]) ++ m4_default([$4], [AC_MSG_FAILURE( ++[The pkg-config script could not be found or is too old. Make sure it ++is in your PATH or set the PKG_CONFIG environment variable to the full ++path to pkg-config. ++ ++_PKG_TEXT ++ ++To get pkg-config, see .])[]dnl ++ ]) ++else ++ $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS ++ $1[]_LIBS=$pkg_cv_[]$1[]_LIBS ++ AC_MSG_RESULT([yes]) ++ $3 ++fi[]dnl ++])dnl PKG_CHECK_MODULES ++ ++ ++dnl PKG_CHECK_MODULES_STATIC(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], ++dnl [ACTION-IF-NOT-FOUND]) ++dnl --------------------------------------------------------------------- ++dnl Since: 0.29 ++dnl ++dnl Checks for existence of MODULES and gathers its build flags with ++dnl static libraries enabled. Sets VARIABLE-PREFIX_CFLAGS from --cflags ++dnl and VARIABLE-PREFIX_LIBS from --libs. ++dnl ++dnl Note that if there is a possibility the first call to ++dnl PKG_CHECK_MODULES_STATIC might not happen, you should be sure to ++dnl include an explicit call to PKG_PROG_PKG_CONFIG in your ++dnl configure.ac. ++AC_DEFUN([PKG_CHECK_MODULES_STATIC], ++[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl ++_save_PKG_CONFIG=$PKG_CONFIG ++PKG_CONFIG="$PKG_CONFIG --static" ++PKG_CHECK_MODULES($@) ++PKG_CONFIG=$_save_PKG_CONFIG[]dnl ++])dnl PKG_CHECK_MODULES_STATIC ++ ++ ++dnl PKG_INSTALLDIR([DIRECTORY]) ++dnl ------------------------- ++dnl Since: 0.27 ++dnl ++dnl Substitutes the variable pkgconfigdir as the location where a module ++dnl should install pkg-config .pc files. By default the directory is ++dnl $libdir/pkgconfig, but the default can be changed by passing ++dnl DIRECTORY. The user can override through the --with-pkgconfigdir ++dnl parameter. ++AC_DEFUN([PKG_INSTALLDIR], ++[m4_pushdef([pkg_default], [m4_default([$1], ['${libdir}/pkgconfig'])]) ++m4_pushdef([pkg_description], ++ [pkg-config installation directory @<:@]pkg_default[@:>@]) ++AC_ARG_WITH([pkgconfigdir], ++ [AS_HELP_STRING([--with-pkgconfigdir], pkg_description)],, ++ [with_pkgconfigdir=]pkg_default) ++AC_SUBST([pkgconfigdir], [$with_pkgconfigdir]) ++m4_popdef([pkg_default]) ++m4_popdef([pkg_description]) ++])dnl PKG_INSTALLDIR ++ ++ ++dnl PKG_NOARCH_INSTALLDIR([DIRECTORY]) ++dnl -------------------------------- ++dnl Since: 0.27 ++dnl ++dnl Substitutes the variable noarch_pkgconfigdir as the location where a ++dnl module should install arch-independent pkg-config .pc files. By ++dnl default the directory is $datadir/pkgconfig, but the default can be ++dnl changed by passing DIRECTORY. The user can override through the ++dnl --with-noarch-pkgconfigdir parameter. ++AC_DEFUN([PKG_NOARCH_INSTALLDIR], ++[m4_pushdef([pkg_default], [m4_default([$1], ['${datadir}/pkgconfig'])]) ++m4_pushdef([pkg_description], ++ [pkg-config arch-independent installation directory @<:@]pkg_default[@:>@]) ++AC_ARG_WITH([noarch-pkgconfigdir], ++ [AS_HELP_STRING([--with-noarch-pkgconfigdir], pkg_description)],, ++ [with_noarch_pkgconfigdir=]pkg_default) ++AC_SUBST([noarch_pkgconfigdir], [$with_noarch_pkgconfigdir]) ++m4_popdef([pkg_default]) ++m4_popdef([pkg_description]) ++])dnl PKG_NOARCH_INSTALLDIR ++ ++ ++dnl PKG_CHECK_VAR(VARIABLE, MODULE, CONFIG-VARIABLE, ++dnl [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) ++dnl ------------------------------------------- ++dnl Since: 0.28 ++dnl ++dnl Retrieves the value of the pkg-config variable for the given module. ++AC_DEFUN([PKG_CHECK_VAR], ++[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl ++AC_ARG_VAR([$1], [value of $3 for $2, overriding pkg-config])dnl ++ ++_PKG_CONFIG([$1], [variable="][$3]["], [$2]) ++AS_VAR_COPY([$1], [pkg_cv_][$1]) ++ ++AS_VAR_IF([$1], [""], [$5], [$4])dnl ++])dnl PKG_CHECK_VAR + +Property changes on: m4/pkg.m4 +___________________________________________________________________ +Added: svn:eol-style +## -0,0 +1 ## ++native +\ No newline at end of property +Index: configure.ac +=================================================================== +--- a/configure.ac (revision 8440) ++++ b/configure.ac (revision 8441) +@@ -178,13 +178,21 @@ + fi + fi + ++# Require pkg-config ++# ------------------ ++PKG_PROG_PKG_CONFIG + ++# Do not abort while not having runtime dependency ++#if test -z "$PKG_CONFIG"; then ++# AC_MSG_ERROR([pkg-config not found. pkg-config is required to check for some dependencies.]) ++#fi ++ ++ + # CppUnit tests + # ------------- + +-AM_PATH_CPPUNIT([1.10.2], [has_cppunit="yes"]) ++PKG_CHECK_MODULES(CPPUNIT, [cppunit >= 1.13.0], [has_cppunit=yes],[:]) + +- + # Doxygen + # ------- + +@@ -195,7 +203,6 @@ + # ---------------------------- + + AM_CONDITIONAL(USE_RESOURCEFILE, test "$use_resourcefile" = "true") +-AM_CONDITIONAL(HAS_CPPUNIT, [test "$has_cppunit" = "yes"]) + + AC_CONFIG_FILES( + Makefile diff --git a/dev-libs/libfilezilla/libfilezilla-0.10.0.ebuild b/dev-libs/libfilezilla/libfilezilla-0.10.0.ebuild new file mode 100644 index 000000000000..31545f46bee8 --- /dev/null +++ b/dev-libs/libfilezilla/libfilezilla-0.10.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit flag-o-matic + +DESCRIPTION="C++ library offering some basic functionality for platform-independent programs" +HOMEPAGE="https://lib.filezilla-project.org/" +SRC_URI="mirror://sourceforge/filezilla/${P}.tar.bz2 + http://download.filezilla-project.org/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~x86" +IUSE="test" + +RDEPEND="" +DEPEND="${RDEPEND} + test? ( dev-util/cppunit )" + +pkg_pretend() { + if [[ ${MERGE_TYPE} != binary ]]; then + if ! test-flag-CXX -std=c++14; then + eerror "${P} requires C++14-capable C++ compiler. Your current compiler" + eerror "does not seem to support -std=c++14 option. Please upgrade your compiler" + eerror "to gcc-4.9 or an equivalent version supporting C++14." + die "Currently active compiler does not support -std=c++14" + fi + fi +} diff --git a/dev-libs/libfilezilla/libfilezilla-0.9.1.ebuild b/dev-libs/libfilezilla/libfilezilla-0.9.1.ebuild new file mode 100644 index 000000000000..26d14b20ef98 --- /dev/null +++ b/dev-libs/libfilezilla/libfilezilla-0.9.1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit flag-o-matic + +DESCRIPTION="C++ library offering some basic functionality for platform-independent programs" +HOMEPAGE="https://lib.filezilla-project.org/" +SRC_URI="mirror://sourceforge/filezilla/${P}.tar.bz2 + http://download.filezilla-project.org/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="amd64 ~arm ~ia64 ~ppc x86" +IUSE="test" + +RDEPEND="" +DEPEND="${RDEPEND} + test? ( dev-util/cppunit )" + +pkg_pretend() { + if [[ ${MERGE_TYPE} != binary ]]; then + if ! test-flag-CXX -std=c++14; then + eerror "${P} requires C++14-capable C++ compiler. Your current compiler" + eerror "does not seem to support -std=c++14 option. Please upgrade your compiler" + eerror "to gcc-4.9 or an equivalent version supporting C++14." + die "Currently active compiler does not support -std=c++14" + fi + fi +} diff --git a/dev-libs/libfilezilla/libfilezilla-0.9.2.ebuild b/dev-libs/libfilezilla/libfilezilla-0.9.2.ebuild new file mode 100644 index 000000000000..ab130c40e556 --- /dev/null +++ b/dev-libs/libfilezilla/libfilezilla-0.9.2.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit autotools flag-o-matic + +DESCRIPTION="C++ library offering some basic functionality for platform-independent programs" +HOMEPAGE="https://lib.filezilla-project.org/" +SRC_URI="mirror://sourceforge/filezilla/${P}.tar.bz2 + http://download.filezilla-project.org/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~x86" +IUSE="test" + +RDEPEND="" +DEPEND="${RDEPEND} + test? ( dev-util/cppunit )" + +PATCHES=("${FILESDIR}"/${PN}-0.9.2-cppunit-pkgconfig.patch) + +pkg_pretend() { + if [[ ${MERGE_TYPE} != binary ]]; then + if ! test-flag-CXX -std=c++14; then + eerror "${P} requires C++14-capable C++ compiler. Your current compiler" + eerror "does not seem to support -std=c++14 option. Please upgrade your compiler" + eerror "to gcc-4.9 or an equivalent version supporting C++14." + die "Currently active compiler does not support -std=c++14" + fi + fi +} + +src_prepare() { + default + + # cppunit patch changes .m4 + eautoreconf +} diff --git a/dev-libs/libfilezilla/metadata.xml b/dev-libs/libfilezilla/metadata.xml new file mode 100644 index 000000000000..f5cd4f09fec2 --- /dev/null +++ b/dev-libs/libfilezilla/metadata.xml @@ -0,0 +1,24 @@ + + + + + voyageur@gentoo.org + Bernard Cafarelli + + + polynomial-c@gentoo.org + Lars Wendler + + +libfilezilla is a small and modern C++ library, offering some basic functionality to build high-performing, platform-independent programs. Some of the highlights include: + +- A typesafe, multi-threaded event system that's very simple to use yet extremely efficient +- Timers for periodic events +- A datetime class that not only tracks timestamp but also their accuracy, which simplifies dealing with timestamps originating from different sources +- Simple process handling for spawning child processes with redirected I/O +libfilezilla is a cross-platform library for all major operating systems, including but not limited to Linux, *BSD, OS X and Windows. + + + filezilla + + diff --git a/dev-libs/libflatarray/Manifest b/dev-libs/libflatarray/Manifest new file mode 100644 index 000000000000..d28db60a5388 --- /dev/null +++ b/dev-libs/libflatarray/Manifest @@ -0,0 +1,7 @@ +DIST libflatarray-0.1.1.tar.bz2 16866 SHA256 3287f0ab1e670f3a2c43dd42de6399a8f853453f228e45076339ec31ea68cb56 SHA512 feed796e3932fc0131634f2f83415372e8046ee137502614de5bfb5af88db2fc44afcdd995d9b2f245737d223b79fdae33ba772b154b4dac064eeed67d489542 WHIRLPOOL ab8089f8f6023c23db9edc5b3bd5b7a6b69f291d02268122bdd2b08e24285af2967ac237afa826a727b3a9cdfe1c59b34d8f77517cb7478ae343f28edc3792a4 +DIST libflatarray-0.3.0.tar.bz2 104544 SHA256 87b8c40ec0d9749c4e8bee41d2cd7441ec312fe8a2cfb7c1a238e0c6f61b4d0d SHA512 c58339cdadf98f552d2f1b440a293c48923f32fc43a5a06ee8b8a40835a5f6c21514f7a9efa0ff23930ab9fdda8d4389641ec83c589e1982dbf5a3f75d2ffd37 WHIRLPOOL cb0b93f6c513474633f13a1135e614a06e956954d7ffcc6df04716df660f41042f53e290a5652694e371f18a32c38a655eb6b3c4484c54d582adf08726706fec +EBUILD libflatarray-0.1.1.ebuild 849 SHA256 27e6d6e2e139cf981b6469aec96b9f8add9213f7ea6c41a1f6679aa6a1eef1ee SHA512 0be14c5bb75d67e9f05a8094a8d7f3f33b0d1df6871d33bee317b427240c03e3c878b6fda56901724fda70a8f53b2fc01f8b7e382563131e081bc9df183de033 WHIRLPOOL 2e17b194d97ed055443891295d6706710053fe1122de0729703b1a1227489a61ea011e2382ac86561b64362e34557d98e04e9f975a8a34121c153e09e9800e14 +EBUILD libflatarray-0.3.0.ebuild 681 SHA256 526f11f1c36b52f969af8e4cc1af1f46860eb2dff9eb37947efd641d7d923d43 SHA512 4aadbc44470dc6041c92bd31fe745068456bf61184862ab862f1d28b20671ab9a7727921f24cbe93a494e650d23fe805f8ce6d7d28eedbabf47854c491b5ae75 WHIRLPOOL 50241e5362b6e9cd319ddd9bef20c5add4f36df783f71a403c3c15c6e468b9db51becbdb39f9cdffd115e7b2fa0be83cd7114f7a539f8c5f30b0284c963beb30 +MISC ChangeLog 2587 SHA256 0dcb87e6eb067ff20c079278bb3e4900ca33d58d633c5f01c801079559bfbcb3 SHA512 d1deaa8c2a4601b9e7c80036125aa336871687332b46d9621c29ed0efb3125597d3fc75c599b5893d5a4caa8f128cdfd4fa0c76498259f5488736772cbb9b49a WHIRLPOOL 4e849ee912ddce84c815aa9eade50c9bab8625e62430624a534c547f51571679e4c8a8c1e5959a795b11316e2a268b8409315b2f48ded5c3ead782b7e170a377 +MISC ChangeLog-2015 459 SHA256 ea7d8ff5b0fe80bc3ec772dae3465564cfb78ba0d329b68f2b3a45e0a3478619 SHA512 a7dff47d51bcc81d9725f2d5fecd5d645660fe4e40ee28415e4cd61932b9f0c3f151b173459376c9362ad672e7f9d16cdf1e1edd5e4c4375651592689072910f WHIRLPOOL be3f7073952108efbb9bfcb36a34f58e43c1ffe099718ce2255b673f85e1526d1f1c94de4d406e3180fb4acd2fdf474b92fce2795053d1abff57934afcbed61e +MISC metadata.xml 634 SHA256 09a1afe45aa5bd2556da56844cf0a3b2fc76dd9e27e06f642c981ec283c7e81f SHA512 85a13fa685b2dc2870705a134b59d66090f19839f645ec4741690bd3e1217a2d2a1d5be816ff6579994010889f8ae0908fb55e8b5339aa70e2ed94f38b607795 WHIRLPOOL 784589833def8ee1433131eafaed392e84597cce0f1c0e38aa64e13340c7b14b78cb02020147c7e3add4bfd14d56991722787e980e7ae3ec19a00623992ae885 diff --git a/dev-libs/libflatarray/libflatarray-0.1.1.ebuild b/dev-libs/libflatarray/libflatarray-0.1.1.ebuild new file mode 100644 index 000000000000..0c41a78d02b9 --- /dev/null +++ b/dev-libs/libflatarray/libflatarray-0.1.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit cmake-utils cuda + +SRC_URI="http://www.libgeodecomp.org/archive/${P}.tar.bz2" +KEYWORDS="~amd64 ~ppc ~x86" + +DESCRIPTION="Struct of arrays library with object oriented interface for C++" +HOMEPAGE="http://www.libgeodecomp.org/libflatarray.html" + +SLOT="0" +LICENSE="Boost-1.0" +IUSE="cuda doc" + +RDEPEND=" + >=dev-libs/boost-1.48" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen ) + cuda? ( dev-util/nvidia-cuda-toolkit )" + +src_prepare() { + if use cuda; then + cuda_src_prepare + fi +} + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use_with cuda CUDA) + ) + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile +} + +src_install() { + DOCS=( README ) + cmake-utils_src_install +} + +src_test() { + cmake-utils_src_make test +} diff --git a/dev-libs/libflatarray/libflatarray-0.3.0.ebuild b/dev-libs/libflatarray/libflatarray-0.3.0.ebuild new file mode 100644 index 000000000000..27ca812593b9 --- /dev/null +++ b/dev-libs/libflatarray/libflatarray-0.3.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils cuda + +SRC_URI="http://www.libgeodecomp.org/archive/${P}.tar.bz2" +KEYWORDS="~amd64 ~ppc ~x86" + +DESCRIPTION="Struct of arrays library with object oriented interface for C++" +HOMEPAGE="http://www.libgeodecomp.org/libflatarray.html" + +SLOT="0" +LICENSE="Boost-1.0" +IUSE="cuda doc" + +DEPEND=" + doc? ( app-doc/doxygen ) + cuda? ( dev-util/nvidia-cuda-toolkit )" + +src_prepare() { + cmake-utils_src_prepare + use cuda && cuda_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DWITH_CUDA=$(usex cuda) + -DWITH_SILO=false + ) + cmake-utils_src_configure +} diff --git a/dev-libs/libflatarray/metadata.xml b/dev-libs/libflatarray/metadata.xml new file mode 100644 index 000000000000..48fcf22e57a5 --- /dev/null +++ b/dev-libs/libflatarray/metadata.xml @@ -0,0 +1,18 @@ + + + + + slis@gentoo.org + + + LibFlatArray is a multi-dimensional C++ array class which provides + an object-oriented view (a.k.a. array of structs, AoS) while + internally storing data in a struct of arrays (SoA) manner. It + comes with utilities to move data to CUDA enabled GPUs. + + + + Enables plugins for NVIDIA GPUs (e.g. CUDAAllocator) + + + diff --git a/dev-libs/libfmt/Manifest b/dev-libs/libfmt/Manifest new file mode 100644 index 000000000000..2647a0da7aae --- /dev/null +++ b/dev-libs/libfmt/Manifest @@ -0,0 +1,8 @@ +DIST libfmt-3.0.1.tar.gz 606603 SHA256 dce62ab75a161dd4353a98364feb166d35e7eea382169d59d9ce842c49c55bad SHA512 daf5dfb2fe63eb611983fa248bd2182c6202cf1c4f0fc236f357040fce8e87ad531cdf59090306bb313ea333d546e516f467b385e05094e696d0ca091310aad6 WHIRLPOOL 775f9dc9228fbd429e4dbad90d536b69542fb583e44dba9eda950267bae82938b2703726481ff02fbab0cb9efe78b46501f4b82e20cfef550313b7653f6cb963 +DIST libfmt-3.0.2.tar.gz 608369 SHA256 fa4a062897b2f3712badfdb8583e6d938252e1156cb5705c3af87705dfef3957 SHA512 50f5a25d1a10fd5b265f3811fa11886b9efdae2952f2aefc9f22c87c1a748128369f4d530b320e5e9c67c745cdab4607d1cb08940f4cf968300dee22e1150117 WHIRLPOOL 8aca672c5a7da8b1d427c7729fd8fe8523e32a1df62b8fd1652da3c71779cee7a59ebefce16abb0c4f28c66d1b9777e085903aa6773f237286ac118172625a6e +DIST libfmt-4.0.0.tar.gz 617818 SHA256 35300a0d356529447a79ed5ccf419239d8b34f916e5d4625f046fd37afa3650a SHA512 8b9f7ce4720c3caef6de4a75b8d4b0fd7db4f1638edca98d5ea95f4a5157aef8faefbac68438236691bd373111ca089b4d3864f7352f3fba1fe44392e9644f8b WHIRLPOOL d9d6a949a32de6d0d0871e5f2a7bb022b078af0781933eaa782e688e5e5e56bdce8b3ce6563b5d29556ce2b6397b50a2ad9278eec07241728cc6a46927f6fc66 +EBUILD libfmt-3.0.1.ebuild 649 SHA256 e8d0b675000e810c84cd716cbd55ebfd3736aa7b93e829616a5381a7a2e4a820 SHA512 11e31c4ba76f2ee6ec3ba96ffcc74af496b93f565598fef7090ab2695a2ff884ceec5e1110a6eeb8ac5f91b7698efef02c44b3a98cce4d4d57e9fc0235318be8 WHIRLPOOL 556d520d6122abeb8a4f7705478532bc7db27db39de60d06c5cd07ae733d2fefed43c9ae59e73b85de3d278d9956da40f597809bd556eb0d3eedb638ab080a44 +EBUILD libfmt-3.0.2.ebuild 737 SHA256 e5436bb21851379ca63bd02111f01043870b70925400cfd3e8723be96ee77724 SHA512 5fae3765dcfa750b08d4e366f6306219250b70e9d7c508e3bc01976d4038135ccc5cde6dc12ea65255eb250ac56dbc0143f0637fba8b414f68102cf479f49a71 WHIRLPOOL 0ab380adaa0b1fab59ea2c8321fcff295dc4a136e48ed7d55227428b28cc2100baa403389f388757371e9b8106c50b4c0a70337bbc353f3209640e47527a224d +EBUILD libfmt-4.0.0.ebuild 770 SHA256 352eecfbf97fc8bb7ce09757018d435d291d7d240d9b8987e958c30c7f50c058 SHA512 506b735d656546d3ba2114fad8099a364e7ae22b6ce08254dce879680d8284013f258054692f9a876da363d8147aff06e2245c6cadb8edf0483c4a046853ff44 WHIRLPOOL 646de73cd26e31d34a3abd9f27ccc06e43b86811c31b6031b649ce476ea19b0e3788eab55cb20b8666202b0b042eca540bd4da1864e2a841dbc9b9dfd2a22536 +EBUILD libfmt-9999.ebuild 770 SHA256 352eecfbf97fc8bb7ce09757018d435d291d7d240d9b8987e958c30c7f50c058 SHA512 506b735d656546d3ba2114fad8099a364e7ae22b6ce08254dce879680d8284013f258054692f9a876da363d8147aff06e2245c6cadb8edf0483c4a046853ff44 WHIRLPOOL 646de73cd26e31d34a3abd9f27ccc06e43b86811c31b6031b649ce476ea19b0e3788eab55cb20b8666202b0b042eca540bd4da1864e2a841dbc9b9dfd2a22536 +MISC metadata.xml 381 SHA256 12287201ff7d237f39135337eeec800e9ba320813374afaccc0624ec50c831f8 SHA512 200bb79fc448f40acf8a1be9a907a51461d82db3b5e6e92df1cef4b96418fa6217ebe1e5c8d4228d34bd9bc633022a34f399521a875c92232fb2254350a7605c WHIRLPOOL 22bfad10cc7e3606ce689391a00ff0a6c53aad3cd188de31df6bfd69ccb577aaafc03a5057b47c24af11c85f3c0790af4399d41c0fe892ce03dc5d6e7a6583f5 diff --git a/dev-libs/libfmt/libfmt-3.0.1.ebuild b/dev-libs/libfmt/libfmt-3.0.1.ebuild new file mode 100644 index 000000000000..577be5b9940a --- /dev/null +++ b/dev-libs/libfmt/libfmt-3.0.1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils + +DESCRIPTION="Small, safe and fast formatting library" +HOMEPAGE="https://github.com/fmtlib/fmt" + +LICENSE="BSD-2" +IUSE="test" +SLOT="0" + +if [[ ${PV} == *9999 ]] ; then + EGIT_REPO_URI="https://github.com/fmtlib/fmt.git" + inherit git-r3 +else + SRC_URI="https://github.com/fmtlib/fmt/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" + S="${WORKDIR}/fmt-${PV}" +fi + +DEPEND="" +RDEPEND="" + +src_configure() { + local mycmakeargs=( + -DFMT_TEST=$(usex test) + -DBUILD_SHARED_LIBS=ON + ) + cmake-utils_src_configure +} diff --git a/dev-libs/libfmt/libfmt-3.0.2.ebuild b/dev-libs/libfmt/libfmt-3.0.2.ebuild new file mode 100644 index 000000000000..23798b4282f6 --- /dev/null +++ b/dev-libs/libfmt/libfmt-3.0.2.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-multilib + +DESCRIPTION="Small, safe and fast formatting library" +HOMEPAGE="https://github.com/fmtlib/fmt" + +LICENSE="BSD-2" +IUSE="test" +SLOT="0" + +if [[ ${PV} == *9999 ]] ; then + EGIT_REPO_URI="https://github.com/fmtlib/fmt.git" + inherit git-r3 +else + SRC_URI="https://github.com/fmtlib/fmt/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" + S="${WORKDIR}/fmt-${PV}" +fi + +DEPEND="" +RDEPEND="" + +multilib_src_configure() { + local mycmakeargs=( + -DFMT_CMAKE_DIR="$(get_libdir)/cmake/fmt" + -DFMT_LIB_DIR="$(get_libdir)" + -DFMT_TEST=$(usex test) + -DBUILD_SHARED_LIBS=ON + ) + cmake-utils_src_configure +} diff --git a/dev-libs/libfmt/libfmt-4.0.0.ebuild b/dev-libs/libfmt/libfmt-4.0.0.ebuild new file mode 100644 index 000000000000..51fea82ad48f --- /dev/null +++ b/dev-libs/libfmt/libfmt-4.0.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-multilib versionator + +DESCRIPTION="Small, safe and fast formatting library" +HOMEPAGE="https://github.com/fmtlib/fmt" + +LICENSE="BSD-2" +IUSE="test" +SLOT="0/$(get_major_version)" + +if [[ ${PV} == *9999 ]] ; then + EGIT_REPO_URI="https://github.com/fmtlib/fmt.git" + inherit git-r3 +else + SRC_URI="https://github.com/fmtlib/fmt/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" + S="${WORKDIR}/fmt-${PV}" +fi + +DEPEND="" +RDEPEND="" + +multilib_src_configure() { + local mycmakeargs=( + -DFMT_CMAKE_DIR="$(get_libdir)/cmake/fmt" + -DFMT_LIB_DIR="$(get_libdir)" + -DFMT_TEST=$(usex test) + -DBUILD_SHARED_LIBS=ON + ) + cmake-utils_src_configure +} diff --git a/dev-libs/libfmt/libfmt-9999.ebuild b/dev-libs/libfmt/libfmt-9999.ebuild new file mode 100644 index 000000000000..51fea82ad48f --- /dev/null +++ b/dev-libs/libfmt/libfmt-9999.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-multilib versionator + +DESCRIPTION="Small, safe and fast formatting library" +HOMEPAGE="https://github.com/fmtlib/fmt" + +LICENSE="BSD-2" +IUSE="test" +SLOT="0/$(get_major_version)" + +if [[ ${PV} == *9999 ]] ; then + EGIT_REPO_URI="https://github.com/fmtlib/fmt.git" + inherit git-r3 +else + SRC_URI="https://github.com/fmtlib/fmt/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" + S="${WORKDIR}/fmt-${PV}" +fi + +DEPEND="" +RDEPEND="" + +multilib_src_configure() { + local mycmakeargs=( + -DFMT_CMAKE_DIR="$(get_libdir)/cmake/fmt" + -DFMT_LIB_DIR="$(get_libdir)" + -DFMT_TEST=$(usex test) + -DBUILD_SHARED_LIBS=ON + ) + cmake-utils_src_configure +} diff --git a/dev-libs/libfmt/metadata.xml b/dev-libs/libfmt/metadata.xml new file mode 100644 index 000000000000..8c4896c7b089 --- /dev/null +++ b/dev-libs/libfmt/metadata.xml @@ -0,0 +1,12 @@ + + + + + candrews@gentoo.org + Craig Andrews + + + https://github.com/fmtlib/fmt/issues + fmtlib/fmt + + diff --git a/dev-libs/libg15/Manifest b/dev-libs/libg15/Manifest new file mode 100644 index 000000000000..b481804676ff --- /dev/null +++ b/dev-libs/libg15/Manifest @@ -0,0 +1,7 @@ +AUX g15tools.patch 2929 SHA256 5a930164cb897ed04182e31b4da28b7cfe5a1e90c05733202acae7ab1ededf63 SHA512 2cd1b1f54ea8d4cc2a322c657cce6b8252b9425df6ad031401d6187ff82472fc3fb974734cfefe80b85b3e1a3532b26a5685b5aa9ff42ca7453ec55892834e41 WHIRLPOOL 473ae5dc07c3b06fc10cf3217c9283a411b0cfd1b7e13098ad29e49c1374f002799b34a84578c71486a8becd56f202312cdc6bbe87478b299e120dbc514f387b +DIST libg15-1.2.7.tar.bz2 232475 SHA256 132febe27e66fd9ee1cb7675ef2b0d99b5a404c28923494ff995012b847179d6 SHA512 ddffb38f5c3d9ce0cb90b0375c2f5d317a7bb3889fe59d56932a0889c6e15bc2f1e590757d3182eddf7c5bd3101303b332b18fbd37247c20f66e1be256aa93c0 WHIRLPOOL a3335bafffaefa5fb0af3e6a5f3ad25d66ef012395da5cfca204b5cb6ca7ca5559b4a1f90435eecbf3cf2c3c42304590476a5570288be01d6067cf0b01883405 +EBUILD libg15-1.2.7-r1.ebuild 567 SHA256 21f769a0c1749f9e558da2f527c6e1810d16453c37394d3f9ee422cd76ec7334 SHA512 f09233edcf9a3e5e98c0e8a75fe63dbc561568212f1203a9b2af13a52794703a73f801dcfdce64e31c5eaebf57f5e11419e51cff894f05449848d4b30539fc53 WHIRLPOOL b675df004801c39a27784babd0189bd05853eb45de26c81d2ff624563d668fe006e820469b235ba98375a8b4b943ae6e5bdd8a1a71694f554b58d97904161352 +EBUILD libg15-9999.ebuild 969 SHA256 d170bfbf87384df14f8483b86c96fe891d563690f93ea2afbed7d3ad1bf155f9 SHA512 bdfeabc76fc6b00c3f6b9afc5e6b4c886d8e986480fe371d1ede848575d585556279a25b37e0ab9cf7d63177b3d2660000604ed533ccf4b1d261d8a2ad601995 WHIRLPOOL ba3ad23f576ae0bac7f86c339deede768cceddd152925bb398a0563f35fd1b79e55c99aa087adc223698efc5659f03f1e943eeef48f16972e9f426472ba472d9 +MISC ChangeLog 2498 SHA256 15be8c1f89761606c15eb2f4121b9909caa88f8db6f57d3f207ea553582aa3e1 SHA512 0fbb00b62946ef2adab7760c0fd52802f9a994735611cb5fa5089a395395403a0519f4e6343e061cb79f09503db3e3528d4acb5579762327cb7db49065541ddf WHIRLPOOL af2ec4135b0d33e6e6d8097d5cfa7af1d3ed76844c3eb182fe87c2296f2cb0f425bd8aeccaa972953513e182da0c6b67e582ce7f9f858885da48750ad4bbc40d +MISC ChangeLog-2015 4561 SHA256 cc456f2271ca1dcf0fb500f624c9444b290a02b007383183bd487df92903e89c SHA512 d1fcede051b7daceb5c95c5363bda5ae9ad40cd832657e4914a123558afc6a89da471cbd6d342575ef666e183d20550e576f06896eee0bdc1efe65335f5347ac WHIRLPOOL 4a71c9dcc761d88256fdcb5896efc69cfa57feab64cda7731d4ad028d141d54368332a80c183b2a9f8ebcd57b550bce1a2cc1627c0bc8c9bb81bf06ff2de7dc8 +MISC metadata.xml 408 SHA256 f15f645720f0908d277ac56f394af2d074465e160bf04bf85f2fbaa005fb8134 SHA512 e4da283d6a210afc06b392ed61be935a1a1dfa0d886c0f3e6e82bd5e78323e080e911ef7eee9ff2e6ab98ced93804ab8f48433b9f0f630d8c68a62f91a3e780d WHIRLPOOL 740c63a74eb283fd6a374f3ba2e22be805e13361414f0aa5ca3f33f1e08b4e652f178183b765f4f847973545b8363f0f115cc99b1efd4dcd04bea0e5ca269d22 diff --git a/dev-libs/libg15/files/g15tools.patch b/dev-libs/libg15/files/g15tools.patch new file mode 100644 index 000000000000..7eb6e915e596 --- /dev/null +++ b/dev-libs/libg15/files/g15tools.patch @@ -0,0 +1,100 @@ +Patch from upstream bug tracker: +https://sourceforge.net/tracker/?func=detail&aid=3336448&group_id=167869&atid=844658 + +As only part of G510 support was merged to upstream. Does NOT apply & compile +on top of 1.2.7-r1. + +diff -aNru trunk/libg15/libg15.c mod/libg15/libg15.c +--- trunk/libg15/libg15.c 2011-03-31 23:33:44.000000000 +0000 ++++ mod/libg15/libg15.c 2011-06-26 07:08:21.000000000 +0000 +@@ -1029,6 +1029,76 @@ + } + } + ++// Logitech G510 Media Keys implementation. Unknown if this will work for other ++// models. Using the backlight key as a modifier. The assumption is you would ++// normally not be holding down the backlight key while pressing G-keys. ++static void processKeyEvent2Byte(unsigned int *pressed_keys, unsigned char *buffer) ++{ ++ // Key modifier ++ *pressed_keys |= G15_KEY_LIGHT; ++ ++ // XF86AudioPlay ++ if (*pressed_keys & G15_KEY_G1) ++ *pressed_keys -= G15_KEY_G1; ++ ++ // XF86AudioStop ++ if (*pressed_keys & G15_KEY_G2) ++ *pressed_keys -= G15_KEY_G2; ++ ++ // XF86AudioPrev ++ if (*pressed_keys & G15_KEY_G3) ++ *pressed_keys -= G15_KEY_G3; ++ ++ // XF86AudioNext ++ if (*pressed_keys & G15_KEY_G4) ++ *pressed_keys -= G15_KEY_G4; ++ ++ // XF86AudioMute ++ if (*pressed_keys & G15_KEY_G5) ++ *pressed_keys -= G15_KEY_G5; ++ ++ // XF86AudioRaiseVolume ++ if (*pressed_keys & G15_KEY_G6) ++ *pressed_keys -= G15_KEY_G6; ++ ++ // XF86AudioLowerVolume ++ if (*pressed_keys & G15_KEY_G7) ++ *pressed_keys -= G15_KEY_G7; ++ ++ g15_log(stderr,G15_LOG_WARN,"Keyboard: %x, %x\n", buffer[0], buffer[1]); ++ ++ if (buffer[0] == 0x02) ++ { ++ // XF86AudioPlay ++ if (buffer[1] & 0x08) ++ *pressed_keys |= G15_KEY_G1; ++ ++ // XF86AudioStop ++ if (buffer[1] & 0x04) ++ *pressed_keys |= G15_KEY_G2; ++ ++ // XF86AudioPrev ++ if (buffer[1] & 0x02) ++ *pressed_keys |= G15_KEY_G3; ++ ++ // XF86AudioNext ++ if (buffer[1] & 0x01) ++ *pressed_keys |= G15_KEY_G4; ++ ++ // XF86AudioMute ++ if (buffer[1] & 0x16) ++ *pressed_keys |= G15_KEY_G5; ++ ++ // XF86AudioRaiseVolume ++ if (buffer[1] & 0x32) ++ *pressed_keys |= G15_KEY_G6; ++ ++ // XF86AudioLowerVolume ++ if (buffer[1] & 0x64) ++ *pressed_keys |= G15_KEY_G7; ++ } ++} ++ + int getPressedKeys(unsigned int *pressed_keys, unsigned int timeout) + { + unsigned char buffer[G15_KEY_READ_LENGTH]; +@@ -1063,6 +1133,13 @@ + case 9: + processKeyEvent9Byte(pressed_keys, buffer); + return G15_NO_ERROR; ++ case 2: ++ if (g15DeviceCapabilities() & G15_DEVICE_G510) ++ { ++ processKeyEvent2Byte(pressed_keys, buffer); ++ return G15_NO_ERROR; ++ } ++ // Deliberate fallthrough + default: + return handle_usb_errors("Keyboard Read", ret); /* allow the app to deal with errors */ + } diff --git a/dev-libs/libg15/libg15-1.2.7-r1.ebuild b/dev-libs/libg15/libg15-1.2.7-r1.ebuild new file mode 100644 index 000000000000..9b340e408e4a --- /dev/null +++ b/dev-libs/libg15/libg15-1.2.7-r1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +DESCRIPTION="The libg15 library gives low-level access to the Logitech G15 keyboard" +HOMEPAGE="http://g15tools.sourceforge.net/" +SRC_URI="mirror://sourceforge/g15tools/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc ppc64 x86" +IUSE="" + +DEPEND="=virtual/libusb-0*" +RDEPEND=${DEPEND} + +DOCS=( AUTHORS README ChangeLog ) + +src_configure() { + econf \ + --disable-static +} + +src_install() { + default + + find "${ED}" -name '*.la' -exec rm -f {} + +} diff --git a/dev-libs/libg15/libg15-9999.ebuild b/dev-libs/libg15/libg15-9999.ebuild new file mode 100644 index 000000000000..174001c15b58 --- /dev/null +++ b/dev-libs/libg15/libg15-9999.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 +ESVN_PROJECT=g15tools/trunk +ESVN_REPO_URI="https://svn.code.sf.net/p/g15tools/code/trunk/${PN}" + +inherit subversion base eutils autotools + +DESCRIPTION="The libg15 library gives low-level access to the Logitech G15 keyboard" +HOMEPAGE="http://g15tools.sourceforge.net/" +[[ $PV = *9999* ]] || SRC_URI="mirror://sourceforge/g15tools/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="" +IUSE="" + +DEPEND="=virtual/libusb-0*" +RDEPEND=${DEPEND} + +DOCS=( AUTHORS README ChangeLog ) + +PATCHES=( "${FILESDIR}"/g15tools.patch ) + +src_unpack() { + if [[ ${PV} = *9999* ]]; then + subversion_src_unpack + fi +} + +src_prepare() { + if [[ ${PV} = *9999* ]]; then + subversion_wc_info + fi + base_src_prepare + if [[ ${PV} = *9999* ]]; then + eautoreconf + fi +} + +src_configure() { + econf \ + --disable-static +} + +src_install() { + default + + find "${ED}" -name '*.la' -exec rm -f {} + +} diff --git a/dev-libs/libg15/metadata.xml b/dev-libs/libg15/metadata.xml new file mode 100644 index 000000000000..da7ba4ad6e9d --- /dev/null +++ b/dev-libs/libg15/metadata.xml @@ -0,0 +1,14 @@ + + + + + robbat2@gentoo.org + + + polynomial-c@gentoo.org + Lars Wendler + + + g15tools + + diff --git a/dev-libs/libg15render/Manifest b/dev-libs/libg15render/Manifest new file mode 100644 index 000000000000..6aa217f2382d --- /dev/null +++ b/dev-libs/libg15render/Manifest @@ -0,0 +1,7 @@ +AUX libg15render-1.2-pixel-c.patch 527 SHA256 183a7992d298721ee7251cd1326a50d601e5ca3bbfff45baa9f383e882601977 SHA512 a6f3f2a0a6f5e33f6a201688afffbc7c18d3b591d1abba1e95c425bf53f9d53416c0e24fe2726ff752c3656ba76c3d3326d2d2b7f0549a8ff626798008048b3e WHIRLPOOL 2832e6ed75fae74b90ccee66757522cf46092ae972e6737f9638047cbbe37fbb42fff29dd3b7c241b5bea20a06fd2e284e085c5f86946049ed4d33128d720d93 +DIST libg15render-1.2.tar.bz2 246034 SHA256 d22335af6a17ec44799da82671778d2072499b26c5773ab913d9ba20d159d20f SHA512 960fd6bc6159b1b12e1de3b0c07e5960d7d5056d4927be8eddf89a911e2c97a8677ef41456aa255399e8a86cd354b848fab28a47005ee2d1b6640e0c886deaac WHIRLPOOL 5074e6fc8bbc02f1b5bb25156e43d6fe4d4f7b475449b59d8bd27677ab1fa530a9ffa5fde88634d620dae6159fb935ffac24440d7ceab86713ed0860c80f4746 +EBUILD libg15render-1.2-r2.ebuild 807 SHA256 137b758f76edce303224ccbd4020a76600e4688316d8c35f12b53fe4d5fb18dc SHA512 53856d69ad5003f66ef14e4941c28ae70bb71fdcf623a4aecde08eacf8d96e31b64fc1eb32df2f109eebafd0a502a2091c103ea0850ab4d05ff103ed1b96c556 WHIRLPOOL 489bf8d9b8c7d877275ef4f4de7708ba1063f3302c837466fdd9de911404dbb0af77c1447905d0aac9a7f4a5b17d59e01b0f80767e049839ff877fbaea22099c +EBUILD libg15render-9999.ebuild 1158 SHA256 6a42212216baea22196bc48f5a47d17e3a167ab033652aca9898f0990c6419ec SHA512 bbdf73f7dabf207761bcd6b41b0dbc8477152f56d01f86695edb8654efd1b322a4357b90a6c4c6fa91b11b6989428701109b63e36b9faee5f884f19d3a7d3b69 WHIRLPOOL e90f913404569e429c841a17a2a39b959b3825b6a0f4d89743c8c954bf041c257d1944d42240f255a1c44cc8d73a255847cf3df5489a3ca4f853fbf908f79277 +MISC ChangeLog 2436 SHA256 2e17858ab52406c62aa0384e3d46e7cc1bcdac8e64f9dfe636f98233db428162 SHA512 c725b2e4077f25e75dd5ffccda622eb0d3fa81aca98200d8645302dd5af700fd8e443db47ce929e97d7aab86e1ef33da1f95216b479e3c55736b422a9352ae1a WHIRLPOOL 65da2085025066ca0c6864c01bcfe38fb402f8c78725cd74541e8aba49fd6de97fb2e3bb9b312cba6764e788999b6920df8c78db8c81fb0e9a1083b3f18bf242 +MISC ChangeLog-2015 2727 SHA256 a1e1cdc07be435a7c08867debef17099977509380783fe52d95371f044f41ca5 SHA512 b66f16d00b45b618e931fb5a25e092015deb93f3eb6980f0202446fbb6cbea6193858bb4eecffbf0d40ee25ff3aa6ea11449c59bc22b5f578ccd8f60fc8a5f7e WHIRLPOOL 5bac3b2a24a12039cff99b4e0e7033e976967628c72db42f8a4b84f7cd9d74052fe2c3531ccab41ee8b676dcd6fb4dbfc642fe02fc86bd45e4b63b0fb8b48779 +MISC metadata.xml 408 SHA256 f15f645720f0908d277ac56f394af2d074465e160bf04bf85f2fbaa005fb8134 SHA512 e4da283d6a210afc06b392ed61be935a1a1dfa0d886c0f3e6e82bd5e78323e080e911ef7eee9ff2e6ab98ced93804ab8f48433b9f0f630d8c68a62f91a3e780d WHIRLPOOL 740c63a74eb283fd6a374f3ba2e22be805e13361414f0aa5ca3f33f1e08b4e652f178183b765f4f847973545b8363f0f115cc99b1efd4dcd04bea0e5ca269d22 diff --git a/dev-libs/libg15render/files/libg15render-1.2-pixel-c.patch b/dev-libs/libg15render/files/libg15render-1.2-pixel-c.patch new file mode 100644 index 000000000000..3f7ecc2ff7b2 --- /dev/null +++ b/dev-libs/libg15render/files/libg15render-1.2-pixel-c.patch @@ -0,0 +1,19 @@ +dev-libs/libg15render-1.2: + + * QA Notice: Package has poor programming practices which may compile + * fine but exhibit random runtime failures. + * pixel.c:356: warning: incompatible implicit declaration of built-in function 'ceil' + + +Should be fixed by including math.h: + +--- libg15render-1.2_old/pixel.c 2007-03-14 23:37:42.000000000 +0100 ++++ libg15render-1.2/pixel.c 2007-03-14 23:36:29.000000000 +0100 +@@ -17,6 +17,7 @@ + */ + + #include ++#include + #include "libg15render.h" + + void \ No newline at end of file diff --git a/dev-libs/libg15render/libg15render-1.2-r2.ebuild b/dev-libs/libg15render/libg15render-1.2-r2.ebuild new file mode 100644 index 000000000000..d5be67de45ff --- /dev/null +++ b/dev-libs/libg15render/libg15render-1.2-r2.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +inherit eutils + +DESCRIPTION="Small library for display text and graphics on a Logitech G15 keyboard" +HOMEPAGE="http://g15tools.sourceforge.net/" +SRC_URI="mirror://sourceforge/g15tools/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc ppc64 x86" + +IUSE="truetype" + +RDEPEND=" + dev-libs/libg15 + truetype? ( media-libs/freetype ) +" +DEPEND=${RDEPEND} + +src_prepare() { + epatch "${FILESDIR}/${P}-pixel-c.patch" +} + +src_configure() { + econf \ + --disable-static \ + $(use_enable truetype ttf ) +} + +src_install() { + emake DESTDIR="${D}" \ + docdir=/usr/share/doc/${PF} install || die "make install failed" + rm "${ED}/usr/share/doc/${PF}/COPYING" + + find "${ED}" -name '*.la' -exec rm -f {} + +} diff --git a/dev-libs/libg15render/libg15render-9999.ebuild b/dev-libs/libg15render/libg15render-9999.ebuild new file mode 100644 index 000000000000..5abc41d9d588 --- /dev/null +++ b/dev-libs/libg15render/libg15render-9999.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 +ESVN_PROJECT=g15tools/trunk +ESVN_REPO_URI="https://svn.code.sf.net/p/g15tools/code/trunk/${PN}" + +inherit subversion base eutils autotools + +DESCRIPTION="Small library for display text and graphics on a Logitech G15 keyboard" +HOMEPAGE="http://g15tools.sourceforge.net/" +[[ $PV = *9999* ]] || SRC_URI="mirror://sourceforge/g15tools/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="" + +IUSE="truetype" + +RDEPEND=" + dev-libs/libg15 + truetype? ( media-libs/freetype ) +" +DEPEND=${RDEPEND} + +src_unpack() { + if [[ ${PV} = *9999* ]]; then + subversion_src_unpack + fi +} + +src_prepare() { + # Merged upstream + #epatch "${FILESDIR}/${PN}-1.2-pixel-c.patch" + + if [[ ${PV} = *9999* ]]; then + subversion_wc_info + fi + base_src_prepare + if [[ ${PV} = *9999* ]]; then + eautoreconf + fi +} + +src_configure() { + econf \ + --disable-static \ + $(use_enable truetype ttf ) +} + +src_install() { + emake DESTDIR="${D}" \ + docdir=/usr/share/doc/${PF} install || die "make install failed" + rm "${ED}/usr/share/doc/${PF}/COPYING" + + find "${ED}" -name '*.la' -exec rm -f {} + +} diff --git a/dev-libs/libg15render/metadata.xml b/dev-libs/libg15render/metadata.xml new file mode 100644 index 000000000000..da7ba4ad6e9d --- /dev/null +++ b/dev-libs/libg15render/metadata.xml @@ -0,0 +1,14 @@ + + + + + robbat2@gentoo.org + + + polynomial-c@gentoo.org + Lars Wendler + + + g15tools + + diff --git a/dev-libs/libgames-support/Manifest b/dev-libs/libgames-support/Manifest new file mode 100644 index 000000000000..6e35f771b9f1 --- /dev/null +++ b/dev-libs/libgames-support/Manifest @@ -0,0 +1,4 @@ +DIST libgames-support-1.0.2.tar.xz 302064 SHA256 b096e8d8ddc57ff247edc5eae842d405402b043e289f3a0949499e1df514ba66 SHA512 b96329be3a5fe9ef5a0e9fc0a5089028347591988b8eb16fb0bac1633d4f94b2e95c0b4e7a06b4b066d6c88a77b9510980ca38852c1b8d1076367b29b0bab0dd WHIRLPOOL 0c169147a9d3900e29ed5151b06d403f31b8e26c7959107ac27fe0bcd67c67c75be17f7c5876868c2bf7af3ff5ab7294258181effb415caf247a4e0d46a9c615 +EBUILD libgames-support-1.0.2.ebuild 559 SHA256 ec811f6fb2230823157a34dfa9722af8e83e29117d19aaceca3a25d5a83c19ec SHA512 786d59fdd4c16e3d75d0f9d0d4b1c9c6e7cc1e5611e5516dc46a835c2d7264f865263f8dac14134dfb41aa3ec9138c3209f49df40296f1576d594c997071c1dc WHIRLPOOL 67b52174f504740d9d6c402db18a2c2712afb892309236bdc0019e9b7ad5fd26b8f212d1231b6080b9caa71624f714ecd44aba9c40c9eed84620e1d51bb98417 +MISC ChangeLog 716 SHA256 4d9a36749d934251180ce783a4d754c0054d1c0dcb310c642fa0afe999fc6d76 SHA512 9d9d2c069301da2f0cdb79ee3e7c86a2ae98ac9a4b3b0a49c422a0fc57e95e3d254439e5a32d6bf77b28eb394339c3621644a7fa5e2d214704e9628a42ad02a3 WHIRLPOOL 1391298aaaed46c3882d45446669c7289298c8bfd71d6c4c7322d8a0d3cc4813f88d6cc34561bceb7bacf61f326da86fcb27e17ff213e7c6ab75a33ab8fb7c8e +MISC metadata.xml 249 SHA256 4505b0bfeadff287958620b7dc7b7209699065a8f17139a237a5dd409a726a97 SHA512 c40662134899a5c9f0369a1017806f35adf3280a0b3c91726f7a8ca6012a073a8b471583f5bfb6fe95faac1dcf607e8e2e43f8c91d48ec46f4a8824e2f551506 WHIRLPOOL 333a938ee1d2124595596c572697bf5ebad523a92ba12005cfb12e6bb6270881a94a911f0cc9c1cf2bb571559e8271e07dfd307dabe50058236dbe7103562b92 diff --git a/dev-libs/libgames-support/libgames-support-1.0.2.ebuild b/dev-libs/libgames-support/libgames-support-1.0.2.ebuild new file mode 100644 index 000000000000..f8a5d7f563d0 --- /dev/null +++ b/dev-libs/libgames-support/libgames-support-1.0.2.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +VALA_MIN_API_VERSION="0.24" + +inherit gnome2 vala + +DESCRIPTION="Library for code commong to Gnome games" +HOMEPAGE="https://git.gnome.org/browse/libgames-support/" + +LICENSE="LGPL-3+" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND=" + >=dev-libs/glib-2.40:2 + >=x11-libs/gtk+-3.19.2:3 + dev-libs/libgee:0.8= +" +DEPEND="${DEPEND} + $(vala_depend) + >=dev-util/intltool-0.50.2 + virtual/pkgconfig +" + +src_prepare() { + gnome2_src_prepare + vala_src_prepare +} diff --git a/dev-libs/libgames-support/metadata.xml b/dev-libs/libgames-support/metadata.xml new file mode 100644 index 000000000000..39980802b1da --- /dev/null +++ b/dev-libs/libgames-support/metadata.xml @@ -0,0 +1,8 @@ + + + + + gnome@gentoo.org + Gentoo GNOME Desktop + + diff --git a/dev-libs/libgamin/Manifest b/dev-libs/libgamin/Manifest new file mode 100644 index 000000000000..8cbefa08c8fd --- /dev/null +++ b/dev-libs/libgamin/Manifest @@ -0,0 +1,15 @@ +AUX libgamin-0.1.10-G_CONST_RETURN-removal.patch 2470 SHA256 adddd1f54bb33669d9163398308ebb732f33b6c12b1363a0dcf765ff28fc30ad SHA512 56cf8439d64c3856cc768a0d6aa67e00e82579b0db60b1f25b195024eec1628f61013718f3139910735eafa15e05f4fabe4373ebac053778abb1c89201c6cf0c WHIRLPOOL 425495ec6bb9cc5993631b9c5ef24d33261f71e9a039120a373235bae3cb386b8a938cd06714a6fba57a2378f868d372b063efc325bc98faa43b3c136c4d00b1 +AUX libgamin-0.1.10-armel-features.patch 1490 SHA256 6b6faf3084ca2ddf577575395172901d637a96e5db8dd42bc5268d58a767d30e SHA512 fe6365489428ca9206a36b8dea495d5c4beb381fe43dd49aa2fa022f8ea34d8068275ce42f41211ef7ce8bb2c1dce952673d4b2e72eec5be00161fa8f8bcb2a5 WHIRLPOOL 935fde8a3683a1cb9f7f44307fe136a7f8251982501e54209625bee681d8ef23cfbf27d5f8b127da200a800c778b91013124ddd8caf970810c018d7f44dc356a +AUX libgamin-0.1.10-compilewarnings.patch 526 SHA256 dfca2bee08ba14c873a6bcd732359dd7e3a9372d6d9fb82378194d7a73a30e68 SHA512 f413fbd5db1e0412d1fabe6b46e049d347735cf6db7a7ca1eecc9ede1b299a7e622be3c508df40990159e05470d285069a0fa4e2cfcf6fd80378d0aa2b69fd0f WHIRLPOOL ae2277d225551e1b7bbaa897b675b51e561b8e3f71a2456dafea4d7cf697437534aedf286ae9399e8445aca83c02dedd5ce2ac3d9c085293210e3c0bf9af2dea +AUX libgamin-0.1.10-crosscompile-fix.patch 764 SHA256 27e92227c19a6ae61336f66cefe7d44fca43fe7e0c8122fe32c313b4d848f28c SHA512 11aca975f98d9364bfdd8e28162f922a96493012fb3c6c704115d33155b2a2e9bbd20aba64354db922f16c3589b88a07091590a5bd6aa806582b9b7875ba8e23 WHIRLPOOL 61c2c95cd7874eb106fcb1e474a10e21ce79d0c10220520810d904e4dac106ccfe12a09782d0ea7cb42c7369a1226fca9b7f4d826e5f62140713ea6a8ac967c2 +AUX libgamin-0.1.10-deadlock.patch 2090 SHA256 75cee6cb0210cec02be1e042454f561da20724c55810f968b0a5f4972f9cbfd5 SHA512 c0a4a318eb78b9666930e9d1a6fac5e7762f38796e5892d849c893df524310408020ea75fb02a4d79000be3440435ae640340cf2a3dd43fa031df5787762f8de WHIRLPOOL 9d5b26134ccd1e13c25f5bfe3295bdec7c1a8cdd73f21b1cb65ff50dc910e533c3ac5b28508cb7f93a15096e365aa25cdaf9f32d8d76cadf435215b8aebdb090 +AUX libgamin-0.1.10-disable_python_static_library.patch 340 SHA256 460306119bc6be6fd19d173eadfa28493fc72e90fceaf3ee49b50fee50a4f5d1 SHA512 8d11f4b891bfc9e1aa6ba99aa485279b29c0a0f154742349035032c5122ae6ef29da5e5f0482791a7b1f7bceebd2bc871f14c3eb96f1947ad791b8036e488b00 WHIRLPOOL 59fb95c4acb5f14897f274d1ad72bf0ddd67a0e905f4098894e2d56767c3930a99b4a459c0bcab607917b0305dab1ca516c8158ce9700c6de88648995e688be1 +AUX libgamin-0.1.10-noinst-lib.patch 2207 SHA256 e19ede71d259fbe5888c06635441365a48687034b24c5f15edd808a7cbd9cdc7 SHA512 ba7ce391f4da1a6b4c75941b8440a72f483b6f2597592f64ddca720bf46b1269e64a20a27da9c35b134100a121990d84e28ac737cffef48e90974a017ba3a4cb WHIRLPOOL d3605973df5f148d03d65a6660925dd2c1bca5bda9574714fb3259f630341cdeb3d5d7c73986fa0a6eacb0f34c584eb25c8f6ed431d1b95df21a974241678124 +DIST gamin-0.1.10.tar.bz2 452194 SHA256 a59948b20ce2f14136c013f155abb8c8d51db2ea167c063ff33461e453fec10a SHA512 ccdbc06eeb958ed2d888aee3fcadbadf00e9e6566802adee82035e0762ac3351ed2a2983eabe07503ddde2ddf035185c6cd98cbece2feadaaa36e8f656a38306 WHIRLPOOL 49ca0e192d8f5e28d6ffbb201b98b0f2c736554447b37c50eaa6e76e499ab77d696cf585c96c6a38f94c2589c634e694daf2e4969ffddbbb245b07b8a6e7b2d8 +DIST gamin-0.1.9-freebsd.patch.bz2 4635 SHA256 fcd1a6655d1c7cd86db6102931a4da1c22bc85f1c4692959c1a966fec5231723 SHA512 a9d9a8e4d85b289df6f87bf2b966ff262281db0d7e6094deb4f2c179f12c6cc3e387c1e1c28306a9fb54f2eb2837f9bdd3a34b2bb68db8abfdbecc7492e9730b WHIRLPOOL 462173a33e8f804b71c6991aa5925a5c9a6ee83f80b13967369c5c45721069e629c052e5daebfc3fb03bbad4d3054b523afb6e430db997581f3ff942f7da3180 +DIST libgamin-0.1.10-opensolaris.patch.bz2 16955 SHA256 9cb1bde5a34888ce4de4c4894c7d31dbfdbfb3279007b9eddf2da35510f6a9b5 SHA512 fd1cfc5a6b5ba429622f8d426cfba0e3c1c05c3677fb58c53af39b4030ae56f3f71caf63eb5ecb16169c2f7e8c79a32d7d440857c2c7fd3a259cf8312a9b2004 WHIRLPOOL 3efbf3781a55f44f383e573db4a3b3df731e9f77608d73db4ff3027eae0bda6abb6eae022c094735c0d8d2a85e224a980436d8557f9350bb1558b40d99280701 +DIST pkg-config-0.28.tar.gz 1931203 SHA256 6b6eb31c6ec4421174578652c7e141fdaae2dabad1021f420d8713206ac1f845 SHA512 6eafa5ca77c5d44cd15f48457a5e96fcea2555b66d8e35ada5ab59864a0aa03d441e15f54ab9c6343693867b3b490f392c75b7d9312f024c9b7ec6a0194d8320 WHIRLPOOL db4ddb4ce61724e629931c5ffccb4d7a551b4dc0f4efed5a966822307e4b5a786adee5705dd80ec0a9aa32cb1af9ad9615e307360e131fc34688207216161486 +EBUILD libgamin-0.1.10-r5.ebuild 4054 SHA256 71f13873d0f2683ec60c6b05e2aba8e492619f279532d70f4b30c66cebad057c SHA512 e7aa0f71009e19c6cdb6bef2af2b6d8f4a02732ff93b50e8a11835ab11ad2e19e9773ea64c69bcae2dfe87a9a7d053310cadc5072f2059502850e61a1340eff0 WHIRLPOOL b7aca72c3270f361999fe2a3e3684bf944e85137b63e1373a9c69d29f5a46ae2e55ee9ab8927d3c8e7d2ca2f48f9ba000f4f5f675eaacea3c8e3d73e0428cc38 +MISC ChangeLog 4410 SHA256 cd593f0d21ee618aa6751a2e702e878e3eca5a538dffd27736a48579829093c3 SHA512 395741751388b1acfd79f5b57aeab59d17bc49844a2ce4c3c8d057a8a2f166d3ed6e22b81aa6b04b6e7becaf1075e4ed86964f180326cb629790d3935126709a WHIRLPOOL 67832d894734350c2e0bc91c521473bcea9650f4f56eda82ccc437febfb14b29255c60719dd016fe619013f28ff912b3b52d54fa5098a3270c778feca6aaf8ee +MISC ChangeLog-2015 8838 SHA256 a7dff0f10e54a5fe5e6edb75d6fe5e55abdc386ea4b72376f9ddf77348e9da31 SHA512 5b53ec4c5701367f6b1f2b3b82cbddddf66e8dc59cb3171d9f2b49cb7edc4e05af7aa2e9cc5d690a274db4380791b64d7b18d81e2f69726a5410baa91c0fa293 WHIRLPOOL cee1ee01324c27109e16718ecf794e0e3843e6bb5d97e382f6764d816fc6811ecea41a91b828b269c4ee50b8c8b0f9dde1b072453183aea551eb384232ec318c +MISC metadata.xml 224 SHA256 154bec891472fe5526579d16d7e5e5e9eb3f352512a17555a459aa6029bcbbb2 SHA512 12da46d8052565f62c482e6bcc714d8c00cac256f85dc1602579c8d61e0b61af95da149d1a446e56b2eba918ab9d78b556f77c6fe034a2e578f57a9dbe62fc44 WHIRLPOOL 541aeaf2a7c858734aaae366846865ff70e6c898204bbfc9f39f58fbdb53d9b37dc8c898c23870859a9d4f5596e7898e21874c9ef529a447953a35e4d7bc13e5 diff --git a/dev-libs/libgamin/files/libgamin-0.1.10-G_CONST_RETURN-removal.patch b/dev-libs/libgamin/files/libgamin-0.1.10-G_CONST_RETURN-removal.patch new file mode 100644 index 000000000000..087312f5baae --- /dev/null +++ b/dev-libs/libgamin/files/libgamin-0.1.10-G_CONST_RETURN-removal.patch @@ -0,0 +1,67 @@ +From 2a9d32734a2e5125ae77de6c75789e1c6ee24dbe Mon Sep 17 00:00:00 2001 +From: Maciej Piechotka +Date: Tue, 13 Sep 2011 09:47:05 +0200 +Subject: [PATCH] Fix compilation of recent glib removing G_CONST_RETURN + +--- + server/gam_node.c | 2 +- + server/gam_node.h | 2 +- + server/gam_subscription.c | 2 +- + server/gam_subscription.h | 2 +- + 4 files changed, 4 insertions(+), 4 deletions(-) + +diff --git a/server/gam_node.c b/server/gam_node.c +index 02358ba..d0302d2 100644 +--- a/server/gam_node.c ++++ b/server/gam_node.c +@@ -122,7 +122,7 @@ gam_node_set_is_dir(GamNode * node, gboolean is_dir) + * it has finished with the string. If it must keep it longer, it + * should makes its own copy. The returned string must not be freed. + */ +-G_CONST_RETURN char * ++const char * + gam_node_get_path(GamNode * node) + { + g_assert(node); +diff --git a/server/gam_node.h b/server/gam_node.h +index 02c8692..83349a8 100644 +--- a/server/gam_node.h ++++ b/server/gam_node.h +@@ -58,7 +58,7 @@ gboolean gam_node_is_dir (GamNode *node); + void gam_node_set_is_dir (GamNode *node, + gboolean is_dir); + +-G_CONST_RETURN char *gam_node_get_path (GamNode *node); ++const char *gam_node_get_path (GamNode *node); + + GList *gam_node_get_subscriptions (GamNode *node); + +diff --git a/server/gam_subscription.c b/server/gam_subscription.c +index dfa3273..4675b34 100644 +--- a/server/gam_subscription.c ++++ b/server/gam_subscription.c +@@ -141,7 +141,7 @@ gam_subscription_pathlen(GamSubscription * sub) + * @param sub the GamSubscription + * @returns The path being monitored. It should not be freed. + */ +-G_CONST_RETURN char * ++const char * + gam_subscription_get_path(GamSubscription * sub) + { + if (sub == NULL) +diff --git a/server/gam_subscription.h b/server/gam_subscription.h +index d894fbe..e6b4e15 100644 +--- a/server/gam_subscription.h ++++ b/server/gam_subscription.h +@@ -21,7 +21,7 @@ int gam_subscription_pathlen (GamSubscription *sub); + + int gam_subscription_get_reqno (GamSubscription *sub); + +-G_CONST_RETURN char *gam_subscription_get_path (GamSubscription *sub); ++const char *gam_subscription_get_path (GamSubscription *sub); + + GamListener *gam_subscription_get_listener (GamSubscription *sub); + +-- +1.7.6.1 + diff --git a/dev-libs/libgamin/files/libgamin-0.1.10-armel-features.patch b/dev-libs/libgamin/files/libgamin-0.1.10-armel-features.patch new file mode 100644 index 000000000000..fdfcbd7e6db6 --- /dev/null +++ b/dev-libs/libgamin/files/libgamin-0.1.10-armel-features.patch @@ -0,0 +1,47 @@ +From 05dcfcd69848e119c6a30d363bc41e896029f8af Mon Sep 17 00:00:00 2001 +From: Sebastian Dröge +Date: Tue, 15 Dec 2009 12:24:25 +0000 +Subject: Bug 588338 - Enable linux specific features on armel + +--- +diff --git a/configure.in b/configure.in +index b0bbaec..e4b684e 100644 +--- a/configure.in ++++ b/configure.in +@@ -176,7 +176,7 @@ fi + + dnl check what OS we're on + #AM_CONDITIONAL(HAVE_LINUX, test x$target_os = xlinux-gnu) +-if test x$target_os = xlinux-gnu; then ++if test x$target_os = xlinux-gnu -o x$target_os = xlinux-gnueabi; then + AC_DEFINE([HAVE_LINUX],[],[Whether we are using linux or not]) + fi + +@@ -223,7 +223,7 @@ fi + dnl check if inotify backend is enabled + AM_CONDITIONAL(ENABLE_INOTIFY, test x$inotify = xtrue) + +-if test x$os = xlinux-gnu; then ++if test x$os = xlinux-gnu -o x$os = xlinux-gnueabi; then + AC_ARG_ENABLE(dnotify, + AC_HELP_STRING([--disable-dnotify], [Disable the DNotify backend]), + [dnotify="${enableval}"], [dnotify=true]) +@@ -297,10 +297,12 @@ else + fi + + dnl Use weak symbols on linux/gcc to avoid imposing libpthreads to apps +-if test x$os = xlinux-gnu -a x$WITH_THREADS = x1 ; then +- if test "${CC}" = "gcc" ; then +- echo Use weak symbols ! +- THREAD_LIBS= ++if test x$os = xlinux-gnu -o x$os = xlinux-gnueabi ; then ++ if test x$WITH_THREADS = x1 ; then ++ if test "${CC}" = "gcc" ; then ++ echo Use weak symbols ! ++ THREAD_LIBS= ++ fi + fi + fi + AC_SUBST(THREAD_LIBS) +-- +cgit v0.9.0.2 diff --git a/dev-libs/libgamin/files/libgamin-0.1.10-compilewarnings.patch b/dev-libs/libgamin/files/libgamin-0.1.10-compilewarnings.patch new file mode 100644 index 000000000000..d3e0931391a7 --- /dev/null +++ b/dev-libs/libgamin/files/libgamin-0.1.10-compilewarnings.patch @@ -0,0 +1,22 @@ +--- gamin-0.1.9/lib/gam_error.h.1 2007-08-15 01:09:13.000000000 +0200 ++++ gamin-0.1.9/lib/gam_error.h 2007-08-15 01:09:27.000000000 +0200 +@@ -47,6 +47,9 @@ + + int gam_errno(void); + ++void gam_error_init(void); ++void gam_error_check(void); ++ + #ifdef GAM_DEBUG_ENABLED + + #ifdef GAMIN_DEBUG_API +@@ -70,9 +73,6 @@ + const char* format, ...); + #define GAM_DEBUG if (gam_debug_active) gam_debug + +-void gam_error_init(void); +-void gam_error_check(void); +- + #else + /* + * no debug, redefine the macro empty content diff --git a/dev-libs/libgamin/files/libgamin-0.1.10-crosscompile-fix.patch b/dev-libs/libgamin/files/libgamin-0.1.10-crosscompile-fix.patch new file mode 100644 index 000000000000..ce3a15b5e160 --- /dev/null +++ b/dev-libs/libgamin/files/libgamin-0.1.10-crosscompile-fix.patch @@ -0,0 +1,38 @@ +--- configure.in.orig 2009-04-26 23:00:43.445135823 +0300 ++++ configure.in 2009-04-26 23:25:04.042489243 +0300 +@@ -389,8 +389,7 @@ + + AC_MSG_CHECKING(abstract socket namespace) + AC_LANG_PUSH(C) +-AC_RUN_IFELSE([AC_LANG_PROGRAM( +-[[ ++AC_TRY_RUN([ + #include + #include + #include +@@ -398,8 +397,8 @@ + #include + #include + #include +-]], +-[[ ++ ++int main() { + int listen_fd; + struct sockaddr_un addr; + +@@ -424,9 +423,11 @@ + } + else + exit (0); +-]])], +- [have_abstract_sockets=yes], +- [have_abstract_sockets=no]) ++} ++], ++have_abstract_sockets=yes, ++have_abstract_sockets=no, ++have_abstract_sockets=no) + AC_LANG_POP(C) + AC_MSG_RESULT($have_abstract_sockets) + diff --git a/dev-libs/libgamin/files/libgamin-0.1.10-deadlock.patch b/dev-libs/libgamin/files/libgamin-0.1.10-deadlock.patch new file mode 100644 index 000000000000..9f2b2a5150bd --- /dev/null +++ b/dev-libs/libgamin/files/libgamin-0.1.10-deadlock.patch @@ -0,0 +1,65 @@ +From cc14440eface093548cb3bc7814da11d9a99d283 Mon Sep 17 00:00:00 2001 +From: Anssi Hannula +Date: Wed, 4 Jan 2012 00:23:55 +0200 +Subject: [PATCH] fix possible server deadlock in ih_sub_cancel + +ih_sub_foreach() calls ih_sub_cancel() while inotify_lock is locked. +However, ih_sub_cancel() locks it again, and locking GMutex recursively +causes undefined behaviour. + +Fix that by removing locking from ih_sub_cancel() as ih_sub_foreach() +is its only user. Also make the function static so that it won't +accidentally get used by other files without locking (inotify-helper.h +is an internal server header). + +This should fix the intermittent deadlocks I've been experiencing +causing KDE applications to no longer start, and probably also +http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=542361 +--- + server/inotify-helper.c | 7 ++----- + server/inotify-helper.h | 1 - + 2 files changed, 2 insertions(+), 6 deletions(-) + +diff --git a/server/inotify-helper.c b/server/inotify-helper.c +index d77203e..0789fa4 100644 +--- a/server/inotify-helper.c ++++ b/server/inotify-helper.c +@@ -123,13 +123,11 @@ ih_sub_add (ih_sub_t * sub) + + /** + * Cancels a subscription which was being monitored. ++ * inotify_lock must be held when calling. + */ +-gboolean ++static gboolean + ih_sub_cancel (ih_sub_t * sub) + { +- G_LOCK(inotify_lock); +- +- + if (!sub->cancelled) + { + IH_W("cancelling %s\n", sub->pathname); +@@ -140,7 +138,6 @@ ih_sub_cancel (ih_sub_t * sub) + sub_list = g_list_remove (sub_list, sub); + } + +- G_UNLOCK(inotify_lock); + return TRUE; + } + +diff --git a/server/inotify-helper.h b/server/inotify-helper.h +index 5d3b6d0..d36b5fd 100644 +--- a/server/inotify-helper.h ++++ b/server/inotify-helper.h +@@ -34,7 +34,6 @@ gboolean ih_startup (event_callback_t ecb, + found_callback_t fcb); + gboolean ih_running (void); + gboolean ih_sub_add (ih_sub_t *sub); +-gboolean ih_sub_cancel (ih_sub_t *sub); + + /* Return FALSE from 'f' if the subscription should be cancelled */ + void ih_sub_foreach (void *callerdata, gboolean (*f)(ih_sub_t *sub, void *callerdata)); +-- +1.7.7.2 + diff --git a/dev-libs/libgamin/files/libgamin-0.1.10-disable_python_static_library.patch b/dev-libs/libgamin/files/libgamin-0.1.10-disable_python_static_library.patch new file mode 100644 index 000000000000..562fc071eac7 --- /dev/null +++ b/dev-libs/libgamin/files/libgamin-0.1.10-disable_python_static_library.patch @@ -0,0 +1,13 @@ +--- python/Makefile.am ++++ python/Makefile.am +@@ -10,8 +10,9 @@ + python_LTLIBRARIES = _gamin.la + + _gamin_la_SOURCES = gamin.c ++_gamin_la_CFLAGS = -shared + _gamin_la_LIBADD = $(top_builddir)/libgamin/libgamin-1.la +-_gamin_la_LDFLAGS = -module -avoid-version ++_gamin_la_LDFLAGS = -module -avoid-version -shared + + python_PYTHON = gamin.py + diff --git a/dev-libs/libgamin/files/libgamin-0.1.10-noinst-lib.patch b/dev-libs/libgamin/files/libgamin-0.1.10-noinst-lib.patch new file mode 100644 index 000000000000..1f2fcff6f5b4 --- /dev/null +++ b/dev-libs/libgamin/files/libgamin-0.1.10-noinst-lib.patch @@ -0,0 +1,76 @@ +From e68aacc084d65fd0780991265444061b24422bd0 Mon Sep 17 00:00:00 2001 +From: Remi Cardona +Date: Mon, 20 Oct 2008 19:17:36 +0200 +Subject: [PATCH] make libgamin_shared a "noinst" libtool helper lib + +--- + lib/Makefile.am | 4 ++-- + libgamin/Makefile.am | 15 ++------------- + server/Makefile.am | 2 +- + 3 files changed, 5 insertions(+), 16 deletions(-) + +diff --git a/lib/Makefile.am b/lib/Makefile.am +index 3e2289c..af2152a 100644 +--- a/lib/Makefile.am ++++ b/lib/Makefile.am +@@ -7,9 +7,9 @@ if GAMIN_DEBUG + INCLUDES += -DGAM_DEBUG_ENABLED + endif + +-lib_LIBRARIES = libgamin_shared.a ++noinst_LTLIBRARIES = libgamin_shared.la + +-libgamin_shared_a_SOURCES = \ ++libgamin_shared_la_SOURCES = \ + gam_event.c \ + gam_event.h \ + gam_error.c \ +diff --git a/libgamin/Makefile.am b/libgamin/Makefile.am +index 35aa740..14fc06b 100644 +--- a/libgamin/Makefile.am ++++ b/libgamin/Makefile.am +@@ -25,19 +25,9 @@ libgamin_1_la_SOURCES = \ + gam_data.h \ + gam_fork.c \ + gam_fork.h \ +- gam_protocol.h \ +- gam_error.c \ +- gam_event.c ++ gam_protocol.h + +-gam_error.c: $(top_srcdir)/lib/gam_error.c +- @(cp $(top_srcdir)/lib/gam_error.c gam_error.c) +- +-gam_event.c: $(top_srcdir)/lib/gam_event.c +- @(cp $(top_srcdir)/lib/gam_event.c gam_event.c) +- +-CLEANFILES=gam_error.c gam_event.c +- +-libgamin_1_la_LIBADD = ++libgamin_1_la_LIBADD = $(top_builddir)/lib/libgamin_shared.la + + libgamin_1_la_LDFLAGS = -Wl,--version-script=$(srcdir)/gamin_sym.version \ + -version-info @GAMIN_VERSION_INFO@ @THREAD_LIBS@ +@@ -54,6 +44,5 @@ noinst_PROGRAMS= gamin + + gamin_SOURCES = gamin.c + gamin_LDFLAGS = +-gamin_DEPENDENCIES = $(DEPS) libgamin-1.la + gamin_LDADD= $(LDADDS) libgamin-1.la + +diff --git a/server/Makefile.am b/server/Makefile.am +index 37aed8b..6aa5e02 100644 +--- a/server/Makefile.am ++++ b/server/Makefile.am +@@ -80,7 +80,7 @@ endif + + gam_server_LDFLAGS = + gam_server_DEPENDENCIES = $(DEPS) +-gam_server_LDADD= $(top_builddir)/lib/libgamin_shared.a $(LDADDS) $(DAEMON_LIBS) ++gam_server_LDADD= $(top_builddir)/lib/libgamin_shared.la $(LDADDS) $(DAEMON_LIBS) + + if ENABLE_HURD_MACH_NOTIFY + gam_server_LDADD += -lports -lthreads +-- +1.6.0.2 + diff --git a/dev-libs/libgamin/libgamin-0.1.10-r5.ebuild b/dev-libs/libgamin/libgamin-0.1.10-r5.ebuild new file mode 100644 index 000000000000..929fe2d28439 --- /dev/null +++ b/dev-libs/libgamin/libgamin-0.1.10-r5.ebuild @@ -0,0 +1,141 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +PYTHON_COMPAT=( python2_7 ) +GNOME_ORG_MODULE="gamin" +GNOME_TARBALL_SUFFIX="bz2" + +inherit autotools eutils flag-o-matic libtool python-r1 gnome.org multilib-minimal + +DESCRIPTION="Library providing the FAM File Alteration Monitor API" +HOMEPAGE="https://www.gnome.org/~veillard/gamin/" +SRC_URI="${SRC_URI} + mirror://gentoo/gamin-0.1.9-freebsd.patch.bz2 + https://dev.gentoo.org/~grobian/patches/libgamin-0.1.10-opensolaris.patch.bz2 + https://pkgconfig.freedesktop.org/releases/pkg-config-0.28.tar.gz" # pkg.m4 for eautoreconf + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris" +IUSE="debug kernel_linux python static-libs" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +RESTRICT="test" # needs gam-server + +RDEPEND=" + python? ( ${PYTHON_DEPS} ) + !app-admin/fam + ! + + + +freedesktop-bugs@gentoo.org + + diff --git a/dev-libs/libgaminggear/Manifest b/dev-libs/libgaminggear/Manifest new file mode 100644 index 000000000000..a66f7c80a1bc --- /dev/null +++ b/dev-libs/libgaminggear/Manifest @@ -0,0 +1,8 @@ +AUX libgaminggear-0.10.0-doc.patch 484 SHA256 952751686f15bfd30033d13d2333415c366906b30dc3ee1f30b0a8cfa67e3254 SHA512 c5fbfb231f075f34eb4237edf3de6e335ff735513b72a41fd602422dc9f0fd511f66b4c087bfd0dfc68ebda8d1bc0b70a6eb35e5e3158c50b7a5d641e78ada01 WHIRLPOOL d837bc29cfb52f20fcab146710707f7e5c5583c7baafcaf6155f22e7b6ccec06a13473e252f28c226a63d1f803950d0a88ae02bfef39348e9c071dc0f8cd3381 +DIST libgaminggear-0.13.0.tar.bz2 105106 SHA256 ff912a8e834a0b3f6f35bac43b9b8c59aed3ba4011b21909966a870b68f9e222 SHA512 93d0c4b1f136a413444c32cf5c13ad570ef5a89db1d5637a15f0c49ff4d9a159f8ade252734ed711c1efeab6b9f3a55503ea2cc5486cdd0bc9af50b340eefbe3 WHIRLPOOL 1b2212cfa593c8cde12a164f0024f1d21476310dfea3ad9587fa0dadbf4b24d87fa44f26d04c0c1080f06ad1e6335974910dbe463d50c01ecd0b3534a0d82a1e +DIST libgaminggear-0.15.1.tar.bz2 111959 SHA256 ffbd59c62e3107b09ec99f1e5147529c61931987abc7f86a140449b46388c549 SHA512 a6635a74557f276ab65eda4610ba8a053fedf10f9d898a1dc875082a36b2822544f61fc7a274691673670b12d4de968aa4921d102a588f3d0777397730082990 WHIRLPOOL 681cb063d340696e7fe727ced8698f3173334cfa8520fcbe45a8f9a94c482d241ec1ede3366984fd16ef02f8810426e73de22873c51f751ddd36dd82fcaf7e69 +EBUILD libgaminggear-0.13.0.ebuild 956 SHA256 eb4470e76aaa2346940a8641e8e089ce9c4dd5a566482c7dd4b3b3f598a77e7f SHA512 e7c5b202f746f470cb5a6d9d477a10f9399ebb5482b56defe9ea5a344813b8e9b51970d4a7fedb0b975a5afc08b5693aa572729d2af3e1be0ecbe00e5266af51 WHIRLPOOL 1cd0e24961e604bda2bc6997d59a213b2766f8d14634dcd75d7b14d2fbc089707751fa5d4b892b7198f027b62583b60ac514bdb2d2c274fecda271b160312665 +EBUILD libgaminggear-0.15.1.ebuild 992 SHA256 669d2eff2d94ea2d4aa6413727543d9e531e9c93d73e249ad5c0b9cf1f13894e SHA512 975e54a942edafd9db1c9e610c6756ef68e849121fa4e1fb4eb73dbbe97750750d7a9b44a969209036b7baaa6ed5cc9ddd06568d4fcf8b477bde8cf9a9f97041 WHIRLPOOL 53f19448d87c8cf5148b8a6e64db5a28f0fefc25ed733bb9ed6cebef6db353cae2dbce32b1a381d4d6f478278d88425caadc3b75fb266425e1f49e149021caaa +MISC ChangeLog 3744 SHA256 5bbb5234cab77baa8964ac2bac31b35baf2546d9c2ed2fab2a2b0c1b590b4b15 SHA512 aedd43610f06645ee84720df781a839ef5b55af1162672228a1dd191faf353fdbb17171ab11014684ee2bc1a67edb7a9cdcc782f367ea05dab926d9e435a53c0 WHIRLPOOL ab8922526c3bcb9ad237dd4a8863114c6c235ed7a81f682458dae8895e16a0a97596cbe3936ba8fa4c9f830c12ed0da7426d6e3d4bfd95b3d44013bb69f5d0ee +MISC ChangeLog-2015 2131 SHA256 0f6e3e96fac3c87cbbcc89ca8b35ee7d1a5456680fea4e8fee779ed0ff4517d3 SHA512 690831b3f14b7258d0d22b4a8da2b2eb8682c54c1c906eb1b65a0efee57afb8b957a0c52f6c8560dfc4037e6336ec8fee09b451834cea2a39785f37b513a24be WHIRLPOOL b93107e19591c0049201de3c381172db03879ea58b8d3385c607ff73eff1badd766f82e523329fc1a26161fa1b83c0dfd286f6a705470753088976398c9a5d86 +MISC metadata.xml 514 SHA256 9ef051fa3e1a8b451c83d25cc1035f6d2ff2dd73eb1e95950600456f6ce80e38 SHA512 65f19eb124c7dc9a2032eab12e7a3ae663e58aba9d086702442c13d12d4857d9169ec542daa87dde6fe678ed1cbc9136baa7e499f5ac95fdb6d617f50e5097bf WHIRLPOOL ca9795244e758f631808e17bd4ce81c745dc488d229207e98451736bb37c5ee771838ada330fd6adbfef9c8c3621a71ed46dd551e1051466ce5bbb89fc93d2e3 diff --git a/dev-libs/libgaminggear/files/libgaminggear-0.10.0-doc.patch b/dev-libs/libgaminggear/files/libgaminggear-0.10.0-doc.patch new file mode 100644 index 000000000000..853684e2b097 --- /dev/null +++ b/dev-libs/libgaminggear/files/libgaminggear-0.10.0-doc.patch @@ -0,0 +1,15 @@ +Set install of the docs to DOCDIR +--- libgaminggear-0.10.0.orig/include/gaminggear/CMakeLists.txt 2015-06-28 12:46:22.615985840 +0100 ++++ libgaminggear-0.10.0/include/gaminggear/CMakeLists.txt 2015-06-28 13:01:35.511970664 +0100 +@@ -14,10 +14,10 @@ IF(WITH_DOC) + DEPENDS + ${CMAKE_CURRENT_BINARY_DIR}/html/index.html + ) +- ++ + INSTALL( + DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html +- DESTINATION share/doc/libgaminggear ++ DESTINATION ${DOCDIR} + ) + ENDIF() diff --git a/dev-libs/libgaminggear/libgaminggear-0.13.0.ebuild b/dev-libs/libgaminggear/libgaminggear-0.13.0.ebuild new file mode 100644 index 000000000000..d3c0bd3ad36a --- /dev/null +++ b/dev-libs/libgaminggear/libgaminggear-0.13.0.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit cmake-utils gnome2-utils + +DESCRIPTION="Provides functionality for gaming input devices" + +HOMEPAGE="https://sourceforge.net/projects/libgaminggear/" +SRC_URI="mirror://sourceforge/libgaminggear/${P}.tar.bz2" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc" + +RDEPEND=" + x11-libs/gtk+:2 + x11-libs/libnotify + media-libs/libcanberra + virtual/libusb:1 + dev-libs/dbus-glib +" + +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen )" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-0.10.0-doc.patch +} + +src_configure() { + mycmakeargs=( + -DCMAKE_INSTALL_PREFIX="${EPREFIX}"/usr + -DDOCDIR=share/doc/${PF} + $(cmake-utils_use_with doc DOC) + ) + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} diff --git a/dev-libs/libgaminggear/libgaminggear-0.15.1.ebuild b/dev-libs/libgaminggear/libgaminggear-0.15.1.ebuild new file mode 100644 index 000000000000..d746559f9a2f --- /dev/null +++ b/dev-libs/libgaminggear/libgaminggear-0.15.1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils gnome2-utils + +DESCRIPTION="Provides functionality for gaming input devices" + +HOMEPAGE="https://sourceforge.net/projects/libgaminggear/" +SRC_URI="mirror://sourceforge/libgaminggear/${P}.tar.bz2" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc" + +RDEPEND=" + >=dev-db/sqlite-3.17:3 + dev-libs/glib:2 + media-libs/libcanberra + x11-libs/cairo + x11-libs/gtk+:2 + x11-libs/libnotify + x11-libs/pango +" + +DEPEND=" + ${RDEPEND} + virtual/libgudev + doc? ( app-doc/doxygen ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-0.10.0-doc.patch +) + +src_configure() { + mycmakeargs=( + -DCMAKE_INSTALL_PREFIX="${EPREFIX}"/usr + -DDOCDIR=share/doc/${PF} + -DWITH_DOC="$(usex doc)" + ) + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} diff --git a/dev-libs/libgaminggear/metadata.xml b/dev-libs/libgaminggear/metadata.xml new file mode 100644 index 000000000000..b7ef58b22f13 --- /dev/null +++ b/dev-libs/libgaminggear/metadata.xml @@ -0,0 +1,16 @@ + + + + + dpisklov@gmail.com + Dmitry Pisklov + Proxy maintainer. Assign bugs to him + + + proxy-maint@gentoo.org + Proxy Maintainers + + + libgaminggear + + diff --git a/dev-libs/libgcrypt/Manifest b/dev-libs/libgcrypt/Manifest new file mode 100644 index 000000000000..86b6b3d83cc8 --- /dev/null +++ b/dev-libs/libgcrypt/Manifest @@ -0,0 +1,11 @@ +AUX libgcrypt-1.5.0-uscore.patch 981 SHA256 4cbb34cebce02531b9b940494b78b7186b2fd05b802866d9ecb42d478e88e845 SHA512 716e182684886c905525ab9218b3453fd968ee8f73da83d3ba97ca84a868e18eb1c1c9bb3891a1e4b25f870eb3d762a5e8a415168c9804e9367d8dd12090a601 WHIRLPOOL 6b6b1944539127c9c41fda46c54d8e331597d249ab91a0024a38d60a907a0fba114fb064c8d956c90a91e27e6ae30aa2e6dd4a3b61b2e8d771e53499b9810016 +AUX libgcrypt-1.5.4-clang-arm.patch 4189 SHA256 d552c1f2083739e76b58a7a1ec296aeff34b2bfc912554f9bfd6ca1bca5d4ea5 SHA512 86d462340595420a70977d697237a8bb87583750e90c8368ce783ca0fbfed8816c646dd5e40b8e929fbce29917a2b05bb48a0a492d271605958fcb98faf4caa4 WHIRLPOOL 330495240d44de5f16a8ca3805de2518c45ad01d28d0e8e8f9c70c86d8bc5a70f8efdf1d25adfde302274ecfe9e7df3eafff0951759c4b6a3af65e748fe9cff1 +AUX libgcrypt-1.6.1-uscore.patch 843 SHA256 458ebc904185a5d08ef89f0c8ac797b87eec619341b4c0f8130fde2af8749459 SHA512 971814ac34f17464a96fbc110fe995923d873981949a0126e50c206d39499d6146fd00414e837774e6932e4b491cc68c4147278d6216dda630fb876bc8f61791 WHIRLPOOL bbadf4816e081929e8739fbbd3574bd291d9de86c4fe2344dba2c1ceb5f84d3e0bdede194efadefbcbf7409c44c218ab28f48d05b367c225b1687fced7565e15 +AUX libgcrypt-multilib-syspath.patch 588 SHA256 a3fc53f24b9cd0355a5267bc3ca8e88c397878473046536068c8ae4ae0b526eb SHA512 913c1a474aba50ec3589fb5a991f65204ba2cc28203b92353fdef8fb092350c3be814a57f29a26a2176627509a4f573f6db02ebdbcde3f04a2f1d632879293dc WHIRLPOOL 8d066987dc3cfa1dd686047fd5332b11199e5add63f82e397a34b22b5ce2f97af17d60042681c1eb50617402189a0d7fca5db48db7d41f4ef0f1cbe1acc645ab +DIST libgcrypt-1.5.6.tar.bz2 1548918 SHA256 301826b5e521c867056fd630aad6f0a60e176d18a017da6bc24b1695df3abe79 SHA512 2c16912de66bc83adfbf8f43a2a9f57e1afcc866b1774ec11a670e2a793a7c5f2029d134c0bda681c9cb95f7dcc166133782c124e520b7fbe246ec10a9e1c06a WHIRLPOOL d1d556268fafdf7cd19dc0442e25a24b732748b47ce4edd42ce03b039f42e0c409a4711af6759aa04bbcdd94d0dd1c64a20ede89731458d099ea7864c70c24b4 +DIST libgcrypt-1.8.1.tar.bz2 2967344 SHA256 7a2875f8b1ae0301732e878c0cca2c9664ff09ef71408f085c50e332656a78b3 SHA512 27c9d2fd9cba5afca71d421c9299d6942463975fae0bd10d4ff42cda2d7ea213e6b73c071a40fcf23ff52a93394cc7505ab332f8a4a3321826460e471eda5b4e WHIRLPOOL 42221344abb9e6f75048bdb9aaec4f8ffe032ddaa5f6bd16dd9c218f937fd52f26b13d088806c6684f6cc6b85b768b8bb04f89255641d82e40db6cd678d62617 +EBUILD libgcrypt-1.5.6-r101.ebuild 1819 SHA256 7e44e5ba32f7d0bd1cd678e1a3ff677d3afa81911127fbf488822a1ca6ba8b97 SHA512 c6f34489fa52dd333fcbcbb3ece2c0256e59653a7461e0531802ac477a19ef1cbe69266349e18ccbbe6b1cf98bff792c40e47594a644c26ce2360d29e251356c WHIRLPOOL a19ba8123b0d071e7a80f81723245de5f2bcabec7cd6d6345661ed970beb10e38cdff95d271c734d666f68da53c31ab2dd83a410e63b976d15ea40b8cda1d53f +EBUILD libgcrypt-1.8.1.ebuild 2242 SHA256 12a50418406bdf29c5a8ea4e7ac20c589f0b489d44aabcc0a44fd5eaedf13034 SHA512 08798fdc1e444767a01804984d3dd7421cb866314cf9cd8b4048ea50f46954437be6515811e3fb45c0724619d310cce9efd2a11d37fbc1a73aed784be266d6af WHIRLPOOL 4906edf641dffd3e42d252bf5ac57a52ae34786e11355d79bbe31dde0775a0055b205e29570eb5a373c797faddca814285f8d4bfb4c2c275cb632f76a9e26663 +MISC ChangeLog 17545 SHA256 1406391c8664a2dc965f4d3ca6511eabdd7086efbc81f829b3c9951255d2e195 SHA512 dbbdd353d661ebc8550388cc459d93720e05dcdee20bf60e0a8652bdd74159d63b6915d9d63e9615ed05cf01f459f5aefd0aac081ca754571fc38f3b6fc5b929 WHIRLPOOL 21c1b52560dc710f6eaff1969a75426e947b6400cb2b28f474be0c0ec11436539e80cadc90cfa359563c68b74da2f3fde29235749f907f9cf68c32cbfe5f1696 +MISC ChangeLog-2015 34986 SHA256 b1ceefb45f2ad67aa9960063c9a6c259436f4d43e5e1ce8703bcebcb133500c5 SHA512 0a0959162d3edb06ab04b5df3950701c8857d8867905582449583abe50d43a5cdaa762adba4556103e90f07ea0d9b3426bc6f9b828e74966734415c69afd80fc WHIRLPOOL 6f5a7a1f357a9e4a4101fd188d303bd62a2fdaefd51ba506c702b431f7ff1df66ebc19863b8a90994907ec988bf557c0fb7435fac8263976649149b8c2b73cde +MISC metadata.xml 370 SHA256 2bae37f915b580692c25c23e0e6db7cbf37352a14c0bf4f892b04d2e4c0a584d SHA512 fd4fd5082194b236049c6f4118d6d1b6650661d89fa048e284b017fa13c61a2b76780177d2ca08b89a32ae216d71431085896e2028970683e02976db303ccce0 WHIRLPOOL 6685eded0db8cc6cd9bfbe1b73ed9876388cdd16e27bc6879e6c16ce3909decfc99731f992bba1074895ffb2d02a9d9bd599b6e8f4d99972dd6d26ecf1337a66 diff --git a/dev-libs/libgcrypt/files/libgcrypt-1.5.0-uscore.patch b/dev-libs/libgcrypt/files/libgcrypt-1.5.0-uscore.patch new file mode 100644 index 000000000000..1d4f650b6c7a --- /dev/null +++ b/dev-libs/libgcrypt/files/libgcrypt-1.5.0-uscore.patch @@ -0,0 +1,33 @@ +The version taken from GnuPG 1.4 assumes any cross-compiled package have +prefixed underscores, which is not the case; by using libtool's own macro, +we can avoid the whole issue. + +diff --git a/configure.ac b/configure.ac +index ab160c3..6df49bf 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -886,7 +886,7 @@ fi + # + # Setup assembler stuff. + # +-GNUPG_SYS_SYMBOL_UNDERSCORE() ++LT_SYS_SYMBOL_USCORE + AC_ARG_ENABLE(mpi-path, + AC_HELP_STRING([--enable-mpi-path=EXTRA_PATH], + [prepend EXTRA_PATH to list of CPU specific optimizations]), +diff --git a/mpi/config.links b/mpi/config.links +index 7e910ee..9696828 100644 +--- a/mpi/config.links ++++ b/mpi/config.links +@@ -291,7 +291,7 @@ fi + + # Make sysdep.h + echo '/* created by config.links - do not edit */' >./mpi/sysdep.h +-if test x$ac_cv_sys_symbol_underscore = xyes; then ++if test x$sys_symbol_underscore = xyes; then + cat <>./mpi/sysdep.h + #if __STDC__ + #define C_SYMBOL_NAME(name) _##name +-- +1.7.6.1 + diff --git a/dev-libs/libgcrypt/files/libgcrypt-1.5.4-clang-arm.patch b/dev-libs/libgcrypt/files/libgcrypt-1.5.4-clang-arm.patch new file mode 100644 index 000000000000..ab5d844552af --- /dev/null +++ b/dev-libs/libgcrypt/files/libgcrypt-1.5.4-clang-arm.patch @@ -0,0 +1,84 @@ +fix from upstream + +From e67c67321ce240c93dd0fa2b21c649c0a8e233f7 Mon Sep 17 00:00:00 2001 +From: Jussi Kivilinna +Date: Tue, 22 Oct 2013 17:07:53 +0300 +Subject: [PATCH] mpi: allow building with clang on ARM + +* mpi/longlong.h [__arm__] (add_ssaaaa, sub_ddmmss, umul_ppmm) +(count_leading_zeros): Do not cast assembly output arguments. +[__arm__] (umul_ppmm): Remove the extra '%' ahead of assembly comment. +[_ARM_ARCH >= 4] (umul_ppmm): Use correct inputs and outputs instead of +registers. +-- + +Signed-off-by: Jussi Kivilinna +--- + mpi/longlong.h | 27 +++++++++++++-------------- + 1 file changed, 13 insertions(+), 14 deletions(-) + +diff --git a/mpi/longlong.h b/mpi/longlong.h +index c2ab9c5..8c8260e 100644 +--- a/mpi/longlong.h ++++ b/mpi/longlong.h +@@ -188,8 +188,8 @@ extern UDItype __udiv_qrnnd (); + #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ + __asm__ ("adds %1, %4, %5\n" \ + "adc %0, %2, %3" \ +- : "=r" ((USItype)(sh)), \ +- "=&r" ((USItype)(sl)) \ ++ : "=r" ((sh)), \ ++ "=&r" ((sl)) \ + : "%r" ((USItype)(ah)), \ + "rI" ((USItype)(bh)), \ + "%r" ((USItype)(al)), \ +@@ -197,15 +197,15 @@ extern UDItype __udiv_qrnnd (); + #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ + __asm__ ("subs %1, %4, %5\n" \ + "sbc %0, %2, %3" \ +- : "=r" ((USItype)(sh)), \ +- "=&r" ((USItype)(sl)) \ ++ : "=r" ((sh)), \ ++ "=&r" ((sl)) \ + : "r" ((USItype)(ah)), \ + "rI" ((USItype)(bh)), \ + "r" ((USItype)(al)), \ + "rI" ((USItype)(bl))) + #if defined __ARM_ARCH_2__ || defined __ARM_ARCH_3__ + #define umul_ppmm(xh, xl, a, b) \ +- __asm__ ("%@ Inlined umul_ppmm\n" \ ++ __asm__ ("@ Inlined umul_ppmm\n" \ + "mov %|r0, %2, lsr #16 @ AAAA\n" \ + "mov %|r2, %3, lsr #16 @ BBBB\n" \ + "bic %|r1, %2, %|r0, lsl #16 @ aaaa\n" \ +@@ -218,20 +218,19 @@ extern UDItype __udiv_qrnnd (); + "addcs %|r2, %|r2, #65536\n" \ + "adds %1, %|r1, %|r0, lsl #16\n" \ + "adc %0, %|r2, %|r0, lsr #16" \ +- : "=&r" ((USItype)(xh)), \ +- "=r" ((USItype)(xl)) \ ++ : "=&r" ((xh)), \ ++ "=r" ((xl)) \ + : "r" ((USItype)(a)), \ + "r" ((USItype)(b)) \ + : "r0", "r1", "r2") + #else + #define umul_ppmm(xh, xl, a, b) \ +- __asm__ ("%@ Inlined umul_ppmm\n" \ +- "umull %r1, %r0, %r2, %r3" \ +- : "=&r" ((USItype)(xh)), \ +- "=r" ((USItype)(xl)) \ ++ __asm__ ("@ Inlined umul_ppmm\n" \ ++ "umull %1, %0, %2, %3" \ ++ : "=&r" ((xh)), \ ++ "=r" ((xl)) \ + : "r" ((USItype)(a)), \ +- "r" ((USItype)(b)) \ +- : "r0", "r1") ++ "r" ((USItype)(b))) + #endif + #define UMUL_TIME 20 + #define UDIV_TIME 100 +-- +2.4.4 + diff --git a/dev-libs/libgcrypt/files/libgcrypt-1.6.1-uscore.patch b/dev-libs/libgcrypt/files/libgcrypt-1.6.1-uscore.patch new file mode 100644 index 000000000000..22bfac3104bc --- /dev/null +++ b/dev-libs/libgcrypt/files/libgcrypt-1.6.1-uscore.patch @@ -0,0 +1,26 @@ +The version taken from GnuPG 1.4 assumes any cross-compiled package have +prefixed underscores, which is not the case; by using libtool's own macro, +we can avoid the whole issue. + +--- libgcrypt-1.6.1/configure.ac ++++ libgcrypt-1.6.1/configure.ac +@@ -1022,7 +1022,7 @@ + # Check whether underscores in symbols are required. This needs to be + # done before setting up the assembler stuff. + # +-GNUPG_SYS_SYMBOL_UNDERSCORE() ++LT_SYS_SYMBOL_USCORE + + + ################################# +--- libgcrypt-1.6.1/mpi/config.links ++++ libgcrypt-1.6.1/mpi/config.links +@@ -362,7 +362,7 @@ + + # Make sysdep.h + echo '/* created by config.links - do not edit */' >./mpi/sysdep.h +-if test x$ac_cv_sys_symbol_underscore = xyes; then ++if test x$sys_symbol_underscore = xyes; then + cat <>./mpi/sysdep.h + #if __STDC__ + #define C_SYMBOL_NAME(name) _##name diff --git a/dev-libs/libgcrypt/files/libgcrypt-multilib-syspath.patch b/dev-libs/libgcrypt/files/libgcrypt-multilib-syspath.patch new file mode 100644 index 000000000000..7859851ccc4a --- /dev/null +++ b/dev-libs/libgcrypt/files/libgcrypt-multilib-syspath.patch @@ -0,0 +1,23 @@ +diff --git a/src/libgcrypt-config.in b/src/libgcrypt-config.in +index c052638..4c8ddc3 100644 +--- a/src/libgcrypt-config.in ++++ b/src/libgcrypt-config.in +@@ -154,9 +154,12 @@ if test "$echo_libs" = "yes"; then + libs_final="$libs" + + # Set up `libdirs'. +- if test "x$libdir" != "x/usr/lib" -a "x$libdir" != "x/lib"; then +- libdirs="-L$libdir" +- fi ++ case "$libdir" in ++ /usr/lib|/usr/lib64|/lib|/lib64) ;; ++ *) ++ libdirs="-L$libdir" ++ ;; ++ esac + + # Set up `libs_final'. + libs_final="$libs_final $gpg_error_libs" +-- +1.7.6.1 + diff --git a/dev-libs/libgcrypt/libgcrypt-1.5.6-r101.ebuild b/dev-libs/libgcrypt/libgcrypt-1.5.6-r101.ebuild new file mode 100644 index 000000000000..c4e5f08cc2d4 --- /dev/null +++ b/dev-libs/libgcrypt/libgcrypt-1.5.6-r101.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools ltprune multilib-minimal + +DESCRIPTION="General purpose crypto library based on the code used in GnuPG" +HOMEPAGE="http://www.gnupg.org/" +SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2" + +LICENSE="LGPL-2.1 MIT" +SLOT="11/11" # subslot = soname major version +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +RDEPEND=">=dev-libs/libgpg-error-1.12[${MULTILIB_USEDEP}] + !dev-libs/libgcrypt:0/11 + abi_x86_32? ( + !<=app-emulation/emul-linux-x86-baselibs-20131008-r19 + !app-emulation/emul-linux-x86-baselibs[-abi_x86_32] + )" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}"/${PN}-1.5.0-uscore.patch + "${FILESDIR}"/${PN}-multilib-syspath.patch + "${FILESDIR}"/${PN}-1.5.4-clang-arm.patch +) + +src_prepare() { + default + eautoreconf +} + +multilib_src_configure() { + local myeconfargs=( + --disable-padlock-support # bug 201917 + --disable-dependency-tracking + --enable-noexecstack + --disable-O-flag-munging + + # disabled due to various applications requiring privileges + # after libgcrypt drops them (bug #468616) + --without-capabilities + + # http://trac.videolan.org/vlc/ticket/620 + # causes bus-errors on sparc64-solaris + $([[ ${CHOST} == *86*-darwin* ]] && echo "--disable-asm") + $([[ ${CHOST} == sparcv9-*-solaris* ]] && echo "--disable-asm") + ) + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" +} + +multilib_src_install() { + emake DESTDIR="${D}" install + + rm -r "${ED%/}"/usr/{bin,include,lib*/*.so,share} || die +} + +multilib_src_install_all() { + default + prune_libtool_files +} diff --git a/dev-libs/libgcrypt/libgcrypt-1.8.1.ebuild b/dev-libs/libgcrypt/libgcrypt-1.8.1.ebuild new file mode 100644 index 000000000000..9a4550d388b0 --- /dev/null +++ b/dev-libs/libgcrypt/libgcrypt-1.8.1.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools flag-o-matic ltprune multilib-minimal + +DESCRIPTION="General purpose crypto library based on the code used in GnuPG" +HOMEPAGE="http://www.gnupg.org/" +SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2" + +LICENSE="LGPL-2.1 MIT" +SLOT="0/20" # subslot = soname major version +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="doc static-libs" + +RDEPEND=">=dev-libs/libgpg-error-1.25[${MULTILIB_USEDEP}] + abi_x86_32? ( + !<=app-emulation/emul-linux-x86-baselibs-20131008-r19 + !app-emulation/emul-linux-x86-baselibs[-abi_x86_32] + )" +DEPEND="${RDEPEND} + doc? ( virtual/texi2dvi )" + +PATCHES=( + "${FILESDIR}"/${PN}-1.6.1-uscore.patch + "${FILESDIR}"/${PN}-multilib-syspath.patch +) + +MULTILIB_CHOST_TOOLS=( + /usr/bin/libgcrypt-config +) + +src_prepare() { + default + eautoreconf +} + +multilib_src_configure() { + if [[ ${CHOST} == *86*-solaris* ]] ; then + # ASM code uses GNU ELF syntax, divide in particular, we need to + # allow this via ASFLAGS, since we don't have a flag-o-matic + # function for that, we'll have to abuse cflags for this + append-cflags -Wa,--divide + fi + local myeconfargs=( + --disable-dependency-tracking + --enable-noexecstack + --disable-O-flag-munging + $(use_enable static-libs static) + + # disabled due to various applications requiring privileges + # after libgcrypt drops them (bug #468616) + --without-capabilities + + # http://trac.videolan.org/vlc/ticket/620 + # causes bus-errors on sparc64-solaris + $([[ ${CHOST} == *86*-darwin* ]] && echo "--disable-asm") + $([[ ${CHOST} == sparcv9-*-solaris* ]] && echo "--disable-asm") + ) + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" +} + +multilib_src_compile() { + default + multilib_is_native_abi && use doc && VARTEXFONTS="${T}/fonts" emake -C doc gcrypt.pdf +} + +multilib_src_install() { + emake DESTDIR="${D}" install + multilib_is_native_abi && use doc && dodoc doc/gcrypt.pdf +} + +multilib_src_install_all() { + default + prune_libtool_files +} diff --git a/dev-libs/libgcrypt/metadata.xml b/dev-libs/libgcrypt/metadata.xml new file mode 100644 index 000000000000..6d1eb56e4dd1 --- /dev/null +++ b/dev-libs/libgcrypt/metadata.xml @@ -0,0 +1,12 @@ + + + + + k_f@gentoo.org + Kristian Fiskerstrand + + + crypto@gentoo.org + Crypto + + diff --git a/dev-libs/libgdata/Manifest b/dev-libs/libgdata/Manifest new file mode 100644 index 000000000000..2aafe6d1c7ad --- /dev/null +++ b/dev-libs/libgdata/Manifest @@ -0,0 +1,8 @@ +AUX libgdata-0.17.8-disable-demos.patch 1941 SHA256 d56dfa68769f59a75d6080cad784f809800c2f79c86626ed5dc3fb85f50c26cf SHA512 4df919d8b09ef0b1af0b47c3262e08faa158b99e444a5d7d4d1b19a2987883fbb9e3f1a6dc2f858b8d343fbd5c2d266c3e02a47ad310aee92d1a5b14983d8f55 WHIRLPOOL c715d4725ac742c2eed5908e657fcb142c0837ce2290ab43573d5b87f9604462565385f361a4efd4ad66cc156042c84edff256f0bf5580f1f795006283122bbe +DIST libgdata-0.17.8.tar.xz 1464812 SHA256 e5e735bfac219c6cbe4a14df481cb3cb4b1c4b8b5e70f9a105a884035bc3a161 SHA512 dfc4c825a7053a6fd7659d04c7077bed8539b4cf3ef3da1d5ece4da3ce17941900e960a300a50b284010ed890dcab87e4c4726403f04481c672832fd34b975b0 WHIRLPOOL e0772008cdf0816efe118f69f9bcc86d85de2a26fc2fd5127bcdb942af264536764da130ccb194a01f0bb97ad9bb070eec84c659e9e82b64a4f7eeb6b0602797 +DIST libgdata-0.17.9.tar.xz 1434700 SHA256 85c4f7674c0098ffaf060ae01b6b832cb277b3673d54ace3bdedaad6b127453a SHA512 90289309cbdc4ec6932bf385ddbfcc75c0c2f8b9ca356329298aaa37f6c3db7a16de20e5c947c16c595e43e729a664e4d6d3e2c5a60bb1e463a13d1306f374ce WHIRLPOOL c51322d21ba89d4a96c0a52307d760ff0f399bd5cfd62ee6cf02bc0a81aab1a576471e419aff14ebf9a2b6c330e48c3668133930c46f5614799803436798ad56 +EBUILD libgdata-0.17.8.ebuild 1641 SHA256 0ecd744978ccd17b35fae3ed66c126a11e71c874bda4dd00246035270c38857b SHA512 7bce4dfccc02a77a70f0d1ecd8e1c6d121016004138917fa5505aa2cdc33205e5665c367aee3b3b45ee7524ffe041c8f3a561e8c11e835d213fd01f2a2910b6e WHIRLPOOL 2945cd87f4f50ab733c69767e85382da84a0feb5d53d5586a2c9a84cc6040fe22641fe2f020e6b08cad66817a19d1422b9fd4ca406a440d86ad3fd196bf0599b +EBUILD libgdata-0.17.9-r1.ebuild 1630 SHA256 20e56c6db3b7ea55dc5389bbe6e68e5d18d4c3608627c0c526c0b51f5078d387 SHA512 151c9510222443a193c18f9d9adff3c46efc107d9ddd564259cc63ebf88600b2d712893806cf56246aa4599fe6215886af8fa70e3a3f5ac3d221aaaacfa7b2a0 WHIRLPOOL 1566f282062687b47c72db5840254e0db82cbd3f70f854d5cc01f1b3c9adb20c5b82340184031481966b4e3ebc056654677998abca5052db44bb0074ca677519 +MISC ChangeLog 6895 SHA256 778fb184231d2ecab1532a88e9c9d9b9652d8e9cae9b400be567edd3369a4173 SHA512 3baf1efb566ebf71a5a1b59cba6cb43e14ba7920ddbf0d2ed14d2fdaa41c4f5bd55d2a631ff6af58eb7baa5ca53f339a5305113e68df223bdac45855eeddde33 WHIRLPOOL c9619c36c23db0692fb74aeac16ddc2134d795bf021c20ab765153ecd873f22a42e46df58939f99d0fd6490835a45478d965c074b2498c357000623cb8be9f1d +MISC ChangeLog-2015 12842 SHA256 78a30c9505dc15d06e55760e7285217b9e241fce5cc8a3ab3a19fcd5be4de15c SHA512 0c3b5e452665e5cfae6ea4da261f9d96daaa83c1f4d7130ae6c5b7ff6071e2663cb621c069b07b3ad172c634175ff82cf0f961c7b561ab1ae55aacd6a98c0539 WHIRLPOOL bb93e7091b979f126460abac19bd7ea9bff5bf43b5d427ce4ff954062a1b1d97725fbbc34830ab297f24b9a8cbf228c287b05348e1eb400019f3add89091af56 +MISC metadata.xml 362 SHA256 7d2cbce8c67ff66ad8b135744cba4ff776abb71c6e567e9df2113b92e125272a SHA512 00513b8910b0cf0f0c42b1723c8e22a93c95a702ba3ba9f139ba8e2a25a6c408f1e8f97302ee300189ea534717b1f7d21a909cab0ebf6ba8d6cd19d38df2f30d WHIRLPOOL 176a79a7b6dda1ba23ec3c7665fdf48a88a457f743d5892057f8e03d9a3f54025fdc60b02e45182fdf1c548d42af16da3bfaac35d1b3eb31903cd63b697139fe diff --git a/dev-libs/libgdata/files/libgdata-0.17.8-disable-demos.patch b/dev-libs/libgdata/files/libgdata-0.17.8-disable-demos.patch new file mode 100644 index 000000000000..fe06cee34281 --- /dev/null +++ b/dev-libs/libgdata/files/libgdata-0.17.8-disable-demos.patch @@ -0,0 +1,60 @@ +From 12fb11f46a7eb4054b74679a6f5ad12dcc41132d Mon Sep 17 00:00:00 2001 +From: Gilles Dartiguelongue +Date: Sun, 23 Jul 2017 20:46:19 +0200 +Subject: [PATCH] Control build of demos + +Building demos is not necessary for distributions. Allow disabling it +but keep it enabled by default. +--- + Makefile.am | 2 ++ + configure.ac | 7 +++++++ + 2 files changed, 9 insertions(+) + +diff --git a/Makefile.am b/Makefile.am +index 0e4cf631..8c0c7143 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -635,6 +635,7 @@ endif + CODE_COVERAGE_DIRECTORY = $(top_builddir)/gdata + CODE_COVERAGE_LCOV_OPTIONS = --base-directory $(abs_top_srcdir) + ++if ENABLE_BUILD_DEMOS + # Demo programs + noinst_PROGRAMS = \ + demos/youtube/youtube-cli \ +@@ -650,6 +651,7 @@ if HAVE_GTK + noinst_PROGRAMS += \ + demos/scrapbook/scrapbook + endif ++endif + + demos_docs_list_docs_list_SOURCES = \ + demos/docs-list/docs-list.c \ +diff --git a/configure.ac b/configure.ac +index 3b0530c3..1e09f277 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -152,6 +152,10 @@ AC_SUBST([GNOME_PACKAGES_PRIVATE]) + AC_SUBST([GNOME_PACKAGES]) + AC_SUBST([GOA_ENABLED]) + ++AC_ARG_ENABLE([build_demos], ++ AS_HELP_STRING([--enable-build-demos], ++ [Enable building demos (default: yes)]),, ++ [enable_build_demos=yes]) + AC_ARG_ENABLE([always_build_tests], + AS_HELP_STRING([--enable-always-build-tests], + [Enable always building tests (default: yes)]),, +@@ -161,6 +165,9 @@ AC_ARG_ENABLE([installed_tests], + [Install test programs (default: no)]),, + [enable_installed_tests=no]) + ++AM_CONDITIONAL([ENABLE_BUILD_DEMOS], ++ [test "$enable_build_demos" = "yes"]) ++ + AM_CONDITIONAL([ENABLE_ALWAYS_BUILD_TESTS], + [test "$enable_always_build_tests" = "yes"]) + AC_SUBST([ENABLE_ALWAYS_BUILD_TESTS],[$enable_always_build_tests]) +-- +2.13.2 + diff --git a/dev-libs/libgdata/libgdata-0.17.8.ebuild b/dev-libs/libgdata/libgdata-0.17.8.ebuild new file mode 100644 index 000000000000..7c6ac6bb7a98 --- /dev/null +++ b/dev-libs/libgdata/libgdata-0.17.8.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +VALA_USE_DEPEND="vapigen" + +inherit gnome2 vala + +DESCRIPTION="GLib-based library for accessing online service APIs using the GData protocol" +HOMEPAGE="https://wiki.gnome.org/Projects/libgdata" + +LICENSE="LGPL-2.1+" +SLOT="0/22" # subslot = libgdata soname version + +IUSE="+crypt gnome-online-accounts +introspection static-libs test vala" +REQUIRED_USE=" + gnome-online-accounts? ( crypt ) + vala? ( introspection ) +" + +KEYWORDS="alpha amd64 ~arm ~arm64 hppa ~ia64 ~ppc ~ppc64 sparc x86" + +RDEPEND=" + >=dev-libs/glib-2.38.0:2 + >=dev-libs/json-glib-0.15 + >=dev-libs/libxml2-2:2 + >=net-libs/liboauth-0.9.4 + >=net-libs/libsoup-2.55.90:2.4[introspection?] + >=x11-libs/gdk-pixbuf-2.14:2 + crypt? ( app-crypt/gcr:= ) + gnome-online-accounts? ( >=net-libs/gnome-online-accounts-3.8:= ) + introspection? ( >=dev-libs/gobject-introspection-0.9.7:= ) +" +DEPEND="${RDEPEND} + >=dev-util/gtk-doc-am-1.25 + >=dev-util/intltool-0.40 + virtual/pkgconfig + test? ( >=net-libs/uhttpmock-0.5 ) + vala? ( $(vala_depend) ) +" + +src_prepare() { + use vala && vala_src_prepare + gnome2_src_prepare +} + +src_configure() { + # configure checks for gtk:3, but only uses it for demos which are not installed + gnome2_src_configure \ + $(use_enable crypt gnome) \ + $(use_enable gnome-online-accounts goa) \ + $(use_enable introspection) \ + $(use_enable vala) \ + $(use_enable static-libs static) \ + $(use_enable test always-build-tests) \ + GTK_CFLAGS= \ + GTK_LIBS= +} + +src_test() { + unset ORBIT_SOCKETDIR + export GSETTINGS_BACKEND="memory" #486412 + dbus-launch emake check +} diff --git a/dev-libs/libgdata/libgdata-0.17.9-r1.ebuild b/dev-libs/libgdata/libgdata-0.17.9-r1.ebuild new file mode 100644 index 000000000000..11e9b54b1f4c --- /dev/null +++ b/dev-libs/libgdata/libgdata-0.17.9-r1.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +VALA_USE_DEPEND="vapigen" +GNOME2_EAUTORECONF="yes" + +inherit gnome2 vala + +DESCRIPTION="GLib-based library for accessing online service APIs using the GData protocol" +HOMEPAGE="https://wiki.gnome.org/Projects/libgdata" + +LICENSE="LGPL-2.1+" +SLOT="0/22" # subslot = libgdata soname version + +IUSE="+crypt gnome-online-accounts +introspection static-libs test vala" +REQUIRED_USE=" + gnome-online-accounts? ( crypt ) + vala? ( introspection ) +" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" + +RDEPEND=" + >=dev-libs/glib-2.44.0:2 + >=dev-libs/json-glib-0.15 + >=dev-libs/libxml2-2:2 + >=net-libs/liboauth-0.9.4 + >=net-libs/libsoup-2.55.90:2.4[introspection?] + >=x11-libs/gdk-pixbuf-2.14:2 + crypt? ( app-crypt/gcr:= ) + gnome-online-accounts? ( >=net-libs/gnome-online-accounts-3.8:=[introspection?,vala?] ) + introspection? ( >=dev-libs/gobject-introspection-0.9.7:= ) +" +DEPEND="${RDEPEND} + >=dev-util/gtk-doc-am-1.25 + >=dev-util/intltool-0.40 + virtual/pkgconfig + test? ( >=net-libs/uhttpmock-0.5 ) + vala? ( $(vala_depend) ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-0.17.8-disable-demos.patch +) + +src_prepare() { + use vala && vala_src_prepare + gnome2_src_prepare +} + +src_configure() { + gnome2_src_configure \ + --disable-build-demos \ + $(use_enable crypt gnome) \ + $(use_enable gnome-online-accounts goa) \ + $(use_enable introspection) \ + $(use_enable vala) \ + $(use_enable static-libs static) \ + $(use_enable test always-build-tests) +} + +src_test() { + unset ORBIT_SOCKETDIR + dbus-run-session emake check +} diff --git a/dev-libs/libgdata/metadata.xml b/dev-libs/libgdata/metadata.xml new file mode 100644 index 000000000000..4b8d03fba618 --- /dev/null +++ b/dev-libs/libgdata/metadata.xml @@ -0,0 +1,11 @@ + + + + + gnome@gentoo.org + Gentoo GNOME Desktop + + + Enable net-libs/gnome-online-accounts support + + diff --git a/dev-libs/libgee/Manifest b/dev-libs/libgee/Manifest new file mode 100644 index 000000000000..92edeeaae930 --- /dev/null +++ b/dev-libs/libgee/Manifest @@ -0,0 +1,9 @@ +DIST libgee-0.18.1.tar.xz 677908 SHA256 99686bbe5a9c89ba9502c25f61314ee8efa0dd2a1159c9a639afc1458c2839a2 SHA512 b6e8be0f629c6df04db49a4be6b242280b87c6239af6294b39d8b0898331644cbed91f026302fd41aabf465510dc68c913d65085922bb5fee9b6af8947d207a5 WHIRLPOOL 391d76515e032132d7a3de5f2d5d535b103ca59804e2af4e356e8fef8102f2d4efcd20dd949ebc02778005da46ccdc1bda579b4c00bb11ca5d8c6a2b07f68ba4 +DIST libgee-0.20.0.tar.xz 678972 SHA256 21308ba3ed77646dda2e724c0e8d5a2f8d101fb05e078975a532d7887223c2bb SHA512 c01611ed34862888fa038111010ec9899465f43423c9c90a18050dc0b0c2a53cf0fe3c7affcbdee91e225622ccbfa08bfd0c08f0eb7935611b3d461b5b919e66 WHIRLPOOL eed68ca240309dc06576dfc03185d74087c6437eb1a2bf6ed291a2448bd3e4b997ccd111796bb05a057748ede3c22880917bba758612690ec6d823001865dfb0 +DIST libgee-0.6.8.tar.xz 443060 SHA256 a61f8d796173d41f6144a030d4bd22461f0bb3fa18a3ebe02341b315feebf5d3 SHA512 b26d36ee9fc0c5c214521ad97bc20f11f1191a3dab72a5f1af2f6435f51ff2f28e81ccb26fac399939c1a7eaad519db98032d3bc593a4052463acd91bb12902a WHIRLPOOL 4c96a3e1dc1c34ca6b23b5b34fae7420ff9215ad07618a9b818d70b12697cac430cee95ab7bd175b4f96fbae99fcd4e1fca8da7f55064962b2cb61c641d22bb2 +EBUILD libgee-0.18.1.ebuild 680 SHA256 e7ea2440807700948b56141be244d8a51a880adbef98664976f3d15dba83a4c4 SHA512 2a7637bc3e7ab859851389a220e3fe1f632772999924ab7e5bab9ae5e1793afc5400f9696c5301c134dc17f70f6702f5ffa1d5f9cfab293d1d152acd687e66f2 WHIRLPOOL ce93fd52b006572524449305f60008eff3322bdba6e5b5130cc782dcc4fffbb7361ae28ca23f8136d6e911021d998a5286c1b2cf01b98204df9f828e47fd91a6 +EBUILD libgee-0.20.0.ebuild 688 SHA256 a7db34b4925d1f537944f15477742aa1bc5ebd2ece6a7cdf17b7d9f1816cc35d SHA512 24768b2f02be8d689c3cbd9a456779d20365b342ee174aa6b247691f39837f9d6035f522fb38fa816f0399b9a2295f742a4b43e85a2b870bd39276fe59ce8d08 WHIRLPOOL 7cec35f2f4544098241c92af28e7a149475dbfba05376c3d57a483b312581024b88717f9572044155f455e9def157df1bd739984c2d3085913fcf3f55e3d3277 +EBUILD libgee-0.6.8.ebuild 659 SHA256 0ec2eb10b245b5fb716a1e83bfe60ea3cf20756c9e29ff4c01fef43e12a1515b SHA512 be5bb339f217170fa8725f2e02a7c222b023cc3dda19b86bdd67806adf9e6c8197dda762112a702ec72b6d9da5fed335dbc2f32a5bd92dca46fa55379089d79e WHIRLPOOL aa4db9458947e65ef39e68f256498ab7ac852ea37b6863c94c67b54503f2b932a2a33f6064721eccafeb7296162388f9282ac0649dcb0677c4c9adce31b794db +MISC ChangeLog 3650 SHA256 7ecf749f17a580fa005685a16a55b2bd3e03d8dab3ba1849a358ef338148fe95 SHA512 50b55874e39160b7baab3f6722f751a9328043fb0fe438d1bf95bbae25b1e027e836c5e5d785bea236dc00bb061863f5a316aa9744e27b80b56d804b964031ef WHIRLPOOL d8a2664bea00290b5d630b7bf8c9387b4961c871151f571ebe310570e321a58ba264db82aea520e18c9106bbd40ae265856a12a7e00d71b96431ce6362a5ddd7 +MISC ChangeLog-2015 15415 SHA256 e2f546fe8736777c2f62e2dc614d545b622ccca0714296b8d00ecc20cb957df7 SHA512 0397de9d3cc529605d28b735d076c829fb3beb560d9c8a1c318d95d39bae9f7d062e8760032f302ba08ecfcd8ba11de7b10d38fd17ded3af99a4f59161237f82 WHIRLPOOL c5137115a7e12959834a40a34954e9ef1226c0d70be08dee9345fe551377a815bf40cadc38cbd09094fe08e1bf3c33e60edd5560fd8ea96e3e3496a5e45ff29f +MISC metadata.xml 410 SHA256 ff396a024156fbbdcdea498e43453ec4454812c22db1ee6e920015e94f696437 SHA512 11953fbacef993713af860af50bb3d6edae2d69fcf672a3aa47e7c9198e514068b18ccc0eca76cf35888e2364a72ef7d9e9ad8498cd1e96663c4686e36a42285 WHIRLPOOL 0b72ed85767ca958301c21ec1a7e675c706613cd459723a023d43fef67eae66b4f8c56687fb8835cb9fe70b5029f75a67862fccf2ab59ad10a9e5685a9a389ea diff --git a/dev-libs/libgee/libgee-0.18.1.ebuild b/dev-libs/libgee/libgee-0.18.1.ebuild new file mode 100644 index 000000000000..679b7a9e5f4e --- /dev/null +++ b/dev-libs/libgee/libgee-0.18.1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit gnome2 + +DESCRIPTION="GObject-based interfaces and classes for commonly used data structures" +HOMEPAGE="https://wiki.gnome.org/Projects/Libgee" + +LICENSE="LGPL-2.1+" +SLOT="0.8/2" +KEYWORDS="alpha amd64 arm ~arm64 ia64 ppc ppc64 ~sh sparc x86 ~x86-linux" +IUSE="+introspection" + +# FIXME: add doc support, requires valadoc +RDEPEND=" + >=dev-libs/glib-2.36:2 + introspection? ( >=dev-libs/gobject-introspection-0.9.6:= ) +" +DEPEND="${RDEPEND} + virtual/pkgconfig +" + +src_configure() { + gnome2_src_configure \ + $(use_enable introspection) + VALAC="$(type -P false)" +} diff --git a/dev-libs/libgee/libgee-0.20.0.ebuild b/dev-libs/libgee/libgee-0.20.0.ebuild new file mode 100644 index 000000000000..72dcbb1104a9 --- /dev/null +++ b/dev-libs/libgee/libgee-0.20.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit gnome2 + +DESCRIPTION="GObject-based interfaces and classes for commonly used data structures" +HOMEPAGE="https://wiki.gnome.org/Projects/Libgee" + +LICENSE="LGPL-2.1+" +SLOT="0.8/2" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-linux" +IUSE="+introspection" + +# FIXME: add doc support, requires valadoc +RDEPEND=" + >=dev-libs/glib-2.36:2 + introspection? ( >=dev-libs/gobject-introspection-0.9.6:= ) +" +DEPEND="${RDEPEND} + virtual/pkgconfig +" + +src_configure() { + gnome2_src_configure \ + $(use_enable introspection) + VALAC="$(type -P false)" +} diff --git a/dev-libs/libgee/libgee-0.6.8.ebuild b/dev-libs/libgee/libgee-0.6.8.ebuild new file mode 100644 index 000000000000..bae2b3abbfca --- /dev/null +++ b/dev-libs/libgee/libgee-0.6.8.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" +GCONF_DEBUG="no" + +inherit gnome2 + +DESCRIPTION="GObject-based interfaces and classes for commonly used data structures" +HOMEPAGE="https://live.gnome.org/Libgee" + +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="alpha amd64 arm ~arm64 ia64 ppc ppc64 ~sh sparc x86 ~x86-linux" +IUSE="+introspection" + +RDEPEND=">=dev-libs/glib-2.12:2 + introspection? ( >=dev-libs/gobject-introspection-0.9.6:= )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_configure() { + DOCS="AUTHORS ChangeLog* MAINTAINERS NEWS README" + gnome2_src_configure $(use_enable introspection) +} diff --git a/dev-libs/libgee/metadata.xml b/dev-libs/libgee/metadata.xml new file mode 100644 index 000000000000..16b03d43fd70 --- /dev/null +++ b/dev-libs/libgee/metadata.xml @@ -0,0 +1,11 @@ + + + + + gnome@gentoo.org + Gentoo GNOME Desktop + + +libgee is a collection library providing GObject-based interfaces and classes for commonly used data structures. + + diff --git a/dev-libs/libgit2-glib/Manifest b/dev-libs/libgit2-glib/Manifest new file mode 100644 index 000000000000..17375500848b --- /dev/null +++ b/dev-libs/libgit2-glib/Manifest @@ -0,0 +1,9 @@ +DIST libgit2-glib-0.24.4.tar.xz 458360 SHA256 3a211f756f250042f352b3070e7314a048c88e785dba9d118b851253a7c60220 SHA512 55874f77ded1474eab6f84d3426c8cddd56a42b04b8b3e50e4294f396b8c10025a38bc925c0b74ba3e52022c696f07e7f69b75c443bbd0af0f9e0769b7c4555f WHIRLPOOL 22a17e940a670ccb31cf0fc229b8f042794e10e7c5996d4059779d3a7b2ab5865b9cf1bc1a32a9297e88e5b069b281e7f20b2db636f91d5f8af9df8f14d23346 +DIST libgit2-glib-0.25.0.tar.xz 420500 SHA256 4a256b9acfb93ea70d37213a4083e2310e59b05f2c7595242fe3c239327bc565 SHA512 f265d5da4bba28de2aa7254d36fa596b9e348c6543cd559cbb9c1f9610d4b63af00c82fb4138f345e15109503e0d61101d3344c68539348cb268403387a4418e WHIRLPOOL beb276d2637edca19a96f7eca94bc8b318b31e6c014044e7526c9c397ec376dea38891eb0985351899ad26de1436f4713e3ac0d708966e4e41d41d516208072f +DIST libgit2-glib-0.26.0.tar.xz 420404 SHA256 06b16cfcc3a53d9804858618d690e5509e9af2e2245b75f0479cadbbe39745c3 SHA512 322f99b6273f0e56fcccdccd3b1193e1b62ca9dd495144e7c5fc59520dd693b1ceea4bab7335de1201ab09ecd7e146daa86afd9256d16649c144adb0b6de97c6 WHIRLPOOL 2bee4c44eae4ac01abd65d1b9a48069a60b749e86101d1df483a5b13a0aa3380756bb083b33801b4787ed384bc7fa7ed5de53271a7dcc95b09fa7f296b5060c1 +EBUILD libgit2-glib-0.24.4.ebuild 1302 SHA256 061a297757e0d5633cca2bcfa7b7ba0a79c70555677b4b0a4aa6803dd317ebf7 SHA512 168f01747fb30312bfd7f68b7dfc0d7a9ad35a6ce53a01d8a076af910a956c0add62bbaaace1bb48b6e816cdaae0ef82fdc1fc30ce21579eb638e2dc7536624f WHIRLPOOL 37106c4642daf408542bb266d8ee900d80275b89c26c2a3a5cd013f3750333971c6f7860420fc2f63291b728d436f4fee0047b837475545b8f5698aef66819c9 +EBUILD libgit2-glib-0.25.0.ebuild 1265 SHA256 c8676c18708edfe683a8d701217a397f8d3d3fea7ddc6407dff40b110d2196ec SHA512 793aa9f92833a29e865826ef0267d40c0478e017102bcbff1233e49eddd6c7037874a916cf33722ac9ffce1573cabdf9e4abb3977d073fb48596ecc6f8d7e0f0 WHIRLPOOL e7d84beacda2d4193fe39bba8db73777f5bdc2f40995d3c3bbf30edc5fe102378ad0e9d440b1ba1873936c1c72b00f010b0e0df2236691739c94396a8c1adc3c +EBUILD libgit2-glib-0.26.0-r1.ebuild 1285 SHA256 8b1ed090c6fe364167d7e31a1a6aa5e7219b012136815716ca6289aa5a67f167 SHA512 1b28fa0cb24aadfb5da8ee6ceb2d27621fc52706d1f096d4d8e6963061a755a822fdf79930cb835b12001bf697c06600bb6bcb3b8247550295732df7a9640174 WHIRLPOOL 41c7e07433aebbd7469342f8109fbc055f2161efc72a66bf2422d1a7c62b4baba0862437c062bf9274965f0ac86a589c1f266355a3bc738b3d6929d8e933fd99 +MISC ChangeLog 6312 SHA256 e4caebdec73bb269404a22c6c38e2eaae8c9333451f97a265712e23ab8f7c5dc SHA512 5fbffef8ca96175c0dafe01e26320986bfe362dca80aa6742abba436b407c506ad24b946084a148a755bae8cde21ddc51e228fa207e4734c1860f9f920cec148 WHIRLPOOL a008bf1b53c9be33688d019354a31caf6c977710966e1825e721a3f014052b9526b49f0a785971f200f61986c743c8470c14e883cd6dcf68b32deefdefe1b924 +MISC ChangeLog-2015 4168 SHA256 1a2bb900f9a55c75ed72796d0268a5939f902ed0fe608e5484eee52115026315 SHA512 6a3ca457621648c8c0c8415f604cf3d6fb860315b001a99b6dc9b9f8e4846f1230df238437bf0810e41f3f50f19793b448e8196e05f749957b87b6c59603d8b3 WHIRLPOOL 033468faecbf1c92bfd7ef207a7cf4f54e62948b1994c30decdd1422d90f9a2f5a6e47a49a179b47c11231cf4c64c0e73687ab345cfae866f93cb37aeb6268b4 +MISC metadata.xml 431 SHA256 870e46f80fbdb926f85d134bff60d3f4f3c05895d3bb6bde5d7d345946fa70f7 SHA512 7ec17f350ff55331f7c502957be11244f629201769446e9900660f1573872a4425036feee58a9c82f05ed16d7e36820719818b7cf29bff4c37ab944c4c19c970 WHIRLPOOL 879b1ed4dae42e6b771892ffa8e3cd2a8d3b0e26372c0a8244d501a03fe08e83a7b80b7c742a02e4c3959a54c7457d992944745fb6d5536b192a9e17779a51aa diff --git a/dev-libs/libgit2-glib/libgit2-glib-0.24.4.ebuild b/dev-libs/libgit2-glib/libgit2-glib-0.24.4.ebuild new file mode 100644 index 000000000000..4c3a9d766b9a --- /dev/null +++ b/dev-libs/libgit2-glib/libgit2-glib-0.24.4.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +GCONF_DEBUG="no" +PYTHON_COMPAT=( python{3_4,3_5} ) +VALA_USE_DEPEND="vapigen" + +inherit eutils gnome2 python-r1 vala + +DESCRIPTION="Git library for GLib" +HOMEPAGE="https://wiki.gnome.org/Projects/Libgit2-glib" + +LICENSE="LGPL-2+" +SLOT="0" +KEYWORDS="amd64 x86" + +IUSE="python ssh +vala" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +# Specify libgit2 dependency with subslot because libgit2 upstream has a habit +# of changing their API in each release in ways that break libgit2-glib +RDEPEND=" + >=dev-libs/libgit2-0.24.0:0/24[ssh?] + >=dev-libs/glib-2.44.0:2 + >=dev-libs/gobject-introspection-0.10.1:= + python? ( + ${PYTHON_DEPS} + dev-python/pygobject:3[${PYTHON_USEDEP}] ) +" +DEPEND="${RDEPEND} + >=dev-util/gtk-doc-am-1.11 + virtual/pkgconfig + vala? ( $(vala_depend) ) +" + +src_prepare() { + use vala && vala_src_prepare + gnome2_src_prepare +} + +src_configure() { + gnome2_src_configure \ + $(use_enable python) \ + $(use_enable ssh) \ + $(use_enable vala) +} + +src_install() { + gnome2_src_install + + if use python ; then + install_gi_override() { + python_moduleinto "$(python_get_sitedir)/gi/overrides" + python_domodule "${S}"/${PN}/Ggit.py + } + python_foreach_impl install_gi_override + fi +} diff --git a/dev-libs/libgit2-glib/libgit2-glib-0.25.0.ebuild b/dev-libs/libgit2-glib/libgit2-glib-0.25.0.ebuild new file mode 100644 index 000000000000..07fc8e722f05 --- /dev/null +++ b/dev-libs/libgit2-glib/libgit2-glib-0.25.0.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +GCONF_DEBUG="no" +PYTHON_COMPAT=( python{3_4,3_5,3_6} ) +VALA_USE_DEPEND="vapigen" + +inherit eutils gnome2 python-r1 vala + +DESCRIPTION="Git library for GLib" +HOMEPAGE="https://wiki.gnome.org/Projects/Libgit2-glib" + +LICENSE="LGPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="python ssh +vala" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +# Specify libgit2 dependency with subslot because libgit2 upstream has a habit +# of changing their API in each release in ways that break libgit2-glib +RDEPEND=" + >=dev-libs/libgit2-0.25.0:0/25[ssh?] + >=dev-libs/glib-2.44.0:2 + python? ( + ${PYTHON_DEPS} + dev-python/pygobject:3[${PYTHON_USEDEP}] ) +" +DEPEND="${RDEPEND} + >=dev-util/gtk-doc-am-1.11 + virtual/pkgconfig + vala? ( $(vala_depend) ) +" + +src_prepare() { + use vala && vala_src_prepare + gnome2_src_prepare +} + +src_configure() { + gnome2_src_configure \ + $(use_enable python) \ + $(use_enable ssh) \ + $(use_enable vala) +} + +src_install() { + gnome2_src_install + + if use python ; then + install_gi_override() { + python_moduleinto "$(python_get_sitedir)/gi/overrides" + python_domodule "${S}"/${PN}/Ggit.py + } + python_foreach_impl install_gi_override + fi +} diff --git a/dev-libs/libgit2-glib/libgit2-glib-0.26.0-r1.ebuild b/dev-libs/libgit2-glib/libgit2-glib-0.26.0-r1.ebuild new file mode 100644 index 000000000000..2a3ed8af6ae2 --- /dev/null +++ b/dev-libs/libgit2-glib/libgit2-glib-0.26.0-r1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python{3_4,3_5,3_6} ) +VALA_USE_DEPEND="vapigen" + +inherit gnome2 python-r1 vala + +DESCRIPTION="Git library for GLib" +HOMEPAGE="https://wiki.gnome.org/Projects/Libgit2-glib" + +LICENSE="LGPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="python +ssh +vala" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +# Specify libgit2 dependency with subslot because libgit2 upstream has a habit +# of changing their API in each release in ways that break libgit2-glib +RDEPEND=" + >=dev-libs/gobject-introspection-0.10.1:= + >=dev-libs/glib-2.44.0:2 + >=dev-libs/libgit2-0.26.0:0/26[ssh?] + python? ( + ${PYTHON_DEPS} + dev-python/pygobject:3[${PYTHON_USEDEP}] ) +" +DEPEND="${RDEPEND} + >=dev-util/gtk-doc-am-1.11 + virtual/pkgconfig + vala? ( $(vala_depend) ) +" + +src_prepare() { + use vala && vala_src_prepare + gnome2_src_prepare +} + +src_configure() { + gnome2_src_configure \ + $(use_enable python) \ + $(use_enable ssh) \ + $(use_enable vala) +} + +src_install() { + gnome2_src_install + + if use python ; then + install_gi_override() { + python_moduleinto "$(python_get_sitedir)/gi/overrides" + python_domodule "${S}"/${PN}/Ggit.py + } + python_foreach_impl install_gi_override + fi +} diff --git a/dev-libs/libgit2-glib/metadata.xml b/dev-libs/libgit2-glib/metadata.xml new file mode 100644 index 000000000000..c188b2555dc8 --- /dev/null +++ b/dev-libs/libgit2-glib/metadata.xml @@ -0,0 +1,15 @@ + + + + + mgorny@gentoo.org + MichaÅ‚ Górny + + + gnome@gentoo.org + Gentoo GNOME Desktop + + + Enable SSH transport support + + diff --git a/dev-libs/libgit2/Manifest b/dev-libs/libgit2/Manifest new file mode 100644 index 000000000000..2c02baddd8f5 --- /dev/null +++ b/dev-libs/libgit2/Manifest @@ -0,0 +1,10 @@ +DIST libgit2-0.24.6.tar.gz 4178476 SHA256 7b441a96967ff525e790f8b66859faba5c6be4c347124011f536ae9075ebc30c SHA512 ea928629450f6619c17e76cf32e5d76ddd9e00d914b8a0fc2efdcc32ae271637c124a27a8d4c595b8dcf2048551b22f1bc3c5b6394b3022a2f852a06f7ab3396 WHIRLPOOL 210a1d75e56883d8c82cf549f103414cf8365762f585d1c7939f40f73f430199680d01a0092cbb91a1f65446d74f26cd757ded98dd9d504f7064452c3183d1a2 +DIST libgit2-0.25.1.tar.gz 4252130 SHA256 7ae8e699ff7ff9a1fa702249140ee31ea6fd556bf7968e84e38165870667bcb1 SHA512 bbd0d27c95406b548185ce02e2a9288a9dcb8c3b28476ba20f4f4917f6bd67f1ddee80de3054d30b79cdb9d973c3061a15ea7847c79bfa4e0c62e41d5195cb99 WHIRLPOOL dcadeaef13fdd85b0960ca5c6279bc89385c697d8d74f390110db00aae53a9848e2e22b64d954bae46dfb8f71b5115f914f96938fb6ba20667913f9b3f880801 +DIST libgit2-0.26.0.tar.gz 4697149 SHA256 4ac70a2bbdf7a304ad2a9fb2c53ad3c8694be0dbec4f1fce0f3cd0cda14fb3b9 SHA512 988c616c99637f2c1f80c498de34820296b78c0601669475eba9d194490cfd2047131987e63a799599277893e5741f9bcc226ffa594327356047ed563f07d346 WHIRLPOOL 313c2e5be2e3a0171056349892deec6fd1125853b8670edf13a362822ee5b21d8027c8933a5d0a87580f6b11a2922fcd357cff4af571c90ac9646034a0596956 +EBUILD libgit2-0.24.6.ebuild 1739 SHA256 8b2cb973fdc06144c211a43c9b942894afcba2f3f690d0214bda6b833cdb807b SHA512 ee096a2b92942dcf44c060e48de92adf454d2d83f3f068835d06e7a37f77aed0ba00f8c706c578e276425725bf522e2f596da6c493c69335dde63aff1233f27a WHIRLPOOL 517db7ab36d30181d9143c82995974027721918c403d101542ffd575e135acb514514e8663007d3935ac18094cbba7fd1c6edb655871817364ef8f6ad17e45be +EBUILD libgit2-0.25.1.ebuild 1741 SHA256 258c5917f8ab8d20a6d5b6c7303e4fcc93c19af26d72fc2691632c24a9ce3b3c SHA512 d0ca8c242677e113287d8ec34e3fc39818390061d113e8e8d20762c817223659579e85f6ed31f6c35dafaf61ca6058b082f52eed063e52df9399da1bc70d170b WHIRLPOOL 40b2c387e8bb3211ca6997a2e68d3fbbaffca34e503d76dd8ef88db78f06f8442c6e8eb007585896add635f9ab4d35dbbd4a0e5715c5e525c0911fa2a6eb24cc +EBUILD libgit2-0.26.0.ebuild 1750 SHA256 97243dfb77a3feed7a11a4ca94a02d3e2dff89d434917273d5f5dae7e58b66e7 SHA512 fbdd070e25dbecf026cfd0106bf6253a29e75456bd2f9d75493c1013871e533da9bda26aade344dfc4e9dcf43657376523cb5e8e079fd49c5f26961465bf6e39 WHIRLPOOL 9b5f7c35adbdaf11a98ac5dd3c810b31252001e2cc96dffa7adc0d1553008535b57686ba7d588ce525d3d51c449dfc155d27f13d07ca596115aca3d89afe9b4b +EBUILD libgit2-9999.ebuild 1750 SHA256 97243dfb77a3feed7a11a4ca94a02d3e2dff89d434917273d5f5dae7e58b66e7 SHA512 fbdd070e25dbecf026cfd0106bf6253a29e75456bd2f9d75493c1013871e533da9bda26aade344dfc4e9dcf43657376523cb5e8e079fd49c5f26961465bf6e39 WHIRLPOOL 9b5f7c35adbdaf11a98ac5dd3c810b31252001e2cc96dffa7adc0d1553008535b57686ba7d588ce525d3d51c449dfc155d27f13d07ca596115aca3d89afe9b4b +MISC ChangeLog 9212 SHA256 1fa9c72f4369dd9f2e40b3e687577d59faee2a8f958a822213cb856f7b5c0bbe SHA512 b9e19df70e445aea9bddb3ca1ad7cc6e158e10bfa0ca383419f5e19c465901fc818a0c030184a9e0dea67d4e15bef12cf7185cda576a10114af173326d8499cb WHIRLPOOL 79cd929efdfce0f4ecdcdfca37762d7017cb0c0616001a5f50c3645aa7a7a94947d8564d8ba11731d01e71fcdb6fe72a281deb382bceecc2fd3c6fbc8b8490fd +MISC ChangeLog-2015 4611 SHA256 9575b6113fac6a5e66f9e585c61e95bb59250d2cd7cc857684ec0691c004d1be SHA512 36f98581a236fd4a1ae63e9cb18266c73435b2a1dd99f9c6cb823dfec5748425bba7662879911d5dfa0a67c14d5e64dd89beaf87a5f3b027c427797e427b1ff4 WHIRLPOOL def28183f081d9a6c15e73b09669e76c95484b3795dc031981b136f6583adf39e14d1004769d220d809cb9c573e97bb3256001851c318568797dbeb5112a2eb8 +MISC metadata.xml 915 SHA256 be08840e6f3eff1c9909c0d1765d1f8b3efd088e2f5f143785b0514d1fa9fa14 SHA512 5b6f2239f656f490b0961788f8047662fc00ee10bc5ad9ee3a326313285cd29514c1eda54d17b878abef3d73034f997aa814a64ff496dcbe9f05ef4708825c35 WHIRLPOOL 4aaf433f4fe9cfd6e8c0c805083ace32521a64db9e57640cb3c82afbb8dbca8aae2c41e06a781488be3319511bab78eda1d43220a31d310fd43f923346e6338f diff --git a/dev-libs/libgit2/libgit2-0.24.6.ebuild b/dev-libs/libgit2/libgit2-0.24.6.ebuild new file mode 100644 index 000000000000..02472f65a332 --- /dev/null +++ b/dev-libs/libgit2/libgit2-0.24.6.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit cmake-utils multilib + +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="https://github.com/${PN}/${PN}.git" + inherit git-r3 +else + SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="amd64 ~arm ~ppc x86 ~ppc-macos" +fi + +DESCRIPTION="A linkable library for Git" +HOMEPAGE="https://libgit2.github.com/" + +LICENSE="GPL-2-with-linking-exception" +SLOT="0/24" +IUSE="examples gssapi libressl ssh test threads trace" + +RDEPEND=" + !libressl? ( dev-libs/openssl:0 ) + libressl? ( dev-libs/libressl ) + sys-libs/zlib + net-libs/http-parser:= + gssapi? ( virtual/krb5 ) + ssh? ( net-libs/libssh2 ) +" +DEPEND="${RDEPEND} + virtual/pkgconfig +" + +DOCS=( AUTHORS CONTRIBUTING.md CONVENTIONS.md README.md ) + +src_prepare() { + # skip online tests + sed -i '/libgit2_clar/s/-ionline/-xonline/' CMakeLists.txt || die + + cmake-utils_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DLIB_INSTALL_DIR="${EPREFIX}/usr/$(get_libdir)" + $(cmake-utils_use_build test CLAR) + $(cmake-utils_use_enable trace TRACE) + $(cmake-utils_use_use gssapi GSSAPI) + $(cmake-utils_use_use ssh SSH) + $(cmake-utils_use threads THREADSAFE) + ) + cmake-utils_src_configure +} + +src_test() { + if [[ ${EUID} -eq 0 ]] ; then + # repo::iterator::fs_preserves_error fails if run as root + # since root can still access dirs with 0000 perms + ewarn "Skipping tests: non-root privileges are required for all tests to pass" + else + local TEST_VERBOSE=1 + cmake-utils_src_test + fi +} + +src_install() { + cmake-utils_src_install + + if use examples ; then + egit_clean examples + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi +} diff --git a/dev-libs/libgit2/libgit2-0.25.1.ebuild b/dev-libs/libgit2/libgit2-0.25.1.ebuild new file mode 100644 index 000000000000..110fc1f0df88 --- /dev/null +++ b/dev-libs/libgit2/libgit2-0.25.1.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit cmake-utils multilib + +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="https://github.com/${PN}/${PN}.git" + inherit git-r3 +else + SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~ppc ~x86 ~ppc-macos" +fi + +DESCRIPTION="A linkable library for Git" +HOMEPAGE="https://libgit2.github.com/" + +LICENSE="GPL-2-with-linking-exception" +SLOT="0/25" +IUSE="examples gssapi libressl ssh test threads trace" + +RDEPEND=" + !libressl? ( dev-libs/openssl:0 ) + libressl? ( dev-libs/libressl ) + sys-libs/zlib + net-libs/http-parser:= + gssapi? ( virtual/krb5 ) + ssh? ( net-libs/libssh2 ) +" +DEPEND="${RDEPEND} + virtual/pkgconfig +" + +DOCS=( AUTHORS CONTRIBUTING.md CONVENTIONS.md README.md ) + +src_prepare() { + # skip online tests + sed -i '/libgit2_clar/s/-ionline/-xonline/' CMakeLists.txt || die + + cmake-utils_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DLIB_INSTALL_DIR="${EPREFIX}/usr/$(get_libdir)" + $(cmake-utils_use_build test CLAR) + $(cmake-utils_use_enable trace TRACE) + $(cmake-utils_use_use gssapi GSSAPI) + $(cmake-utils_use_use ssh SSH) + $(cmake-utils_use threads THREADSAFE) + ) + cmake-utils_src_configure +} + +src_test() { + if [[ ${EUID} -eq 0 ]] ; then + # repo::iterator::fs_preserves_error fails if run as root + # since root can still access dirs with 0000 perms + ewarn "Skipping tests: non-root privileges are required for all tests to pass" + else + local TEST_VERBOSE=1 + cmake-utils_src_test + fi +} + +src_install() { + cmake-utils_src_install + + if use examples ; then + egit_clean examples + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi +} diff --git a/dev-libs/libgit2/libgit2-0.26.0.ebuild b/dev-libs/libgit2/libgit2-0.26.0.ebuild new file mode 100644 index 000000000000..899540f73af0 --- /dev/null +++ b/dev-libs/libgit2/libgit2-0.26.0.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit cmake-utils multilib + +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="https://github.com/${PN}/${PN}.git" + inherit git-r3 +else + SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86 ~ppc-macos" +fi + +DESCRIPTION="A linkable library for Git" +HOMEPAGE="https://libgit2.github.com/" + +LICENSE="GPL-2-with-linking-exception" +SLOT="0/26" +IUSE="examples gssapi libressl +ssh test +threads trace" + +RDEPEND=" + !libressl? ( dev-libs/openssl:0 ) + libressl? ( dev-libs/libressl ) + sys-libs/zlib + net-libs/http-parser:= + gssapi? ( virtual/krb5 ) + ssh? ( net-libs/libssh2 ) +" +DEPEND="${RDEPEND} + virtual/pkgconfig +" + +DOCS=( AUTHORS CONTRIBUTING.md CONVENTIONS.md README.md ) + +src_prepare() { + # skip online tests + sed -i '/libgit2_clar/s/-ionline/-xonline/' CMakeLists.txt || die + + cmake-utils_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DLIB_INSTALL_DIR="${EPREFIX}/usr/$(get_libdir)" + $(cmake-utils_use_build test CLAR) + $(cmake-utils_use_enable trace TRACE) + $(cmake-utils_use_use gssapi GSSAPI) + $(cmake-utils_use_use ssh SSH) + $(cmake-utils_use threads THREADSAFE) + ) + cmake-utils_src_configure +} + +src_test() { + if [[ ${EUID} -eq 0 ]] ; then + # repo::iterator::fs_preserves_error fails if run as root + # since root can still access dirs with 0000 perms + ewarn "Skipping tests: non-root privileges are required for all tests to pass" + else + local TEST_VERBOSE=1 + cmake-utils_src_test + fi +} + +src_install() { + cmake-utils_src_install + + if use examples ; then + egit_clean examples + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi +} diff --git a/dev-libs/libgit2/libgit2-9999.ebuild b/dev-libs/libgit2/libgit2-9999.ebuild new file mode 100644 index 000000000000..899540f73af0 --- /dev/null +++ b/dev-libs/libgit2/libgit2-9999.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit cmake-utils multilib + +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="https://github.com/${PN}/${PN}.git" + inherit git-r3 +else + SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86 ~ppc-macos" +fi + +DESCRIPTION="A linkable library for Git" +HOMEPAGE="https://libgit2.github.com/" + +LICENSE="GPL-2-with-linking-exception" +SLOT="0/26" +IUSE="examples gssapi libressl +ssh test +threads trace" + +RDEPEND=" + !libressl? ( dev-libs/openssl:0 ) + libressl? ( dev-libs/libressl ) + sys-libs/zlib + net-libs/http-parser:= + gssapi? ( virtual/krb5 ) + ssh? ( net-libs/libssh2 ) +" +DEPEND="${RDEPEND} + virtual/pkgconfig +" + +DOCS=( AUTHORS CONTRIBUTING.md CONVENTIONS.md README.md ) + +src_prepare() { + # skip online tests + sed -i '/libgit2_clar/s/-ionline/-xonline/' CMakeLists.txt || die + + cmake-utils_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DLIB_INSTALL_DIR="${EPREFIX}/usr/$(get_libdir)" + $(cmake-utils_use_build test CLAR) + $(cmake-utils_use_enable trace TRACE) + $(cmake-utils_use_use gssapi GSSAPI) + $(cmake-utils_use_use ssh SSH) + $(cmake-utils_use threads THREADSAFE) + ) + cmake-utils_src_configure +} + +src_test() { + if [[ ${EUID} -eq 0 ]] ; then + # repo::iterator::fs_preserves_error fails if run as root + # since root can still access dirs with 0000 perms + ewarn "Skipping tests: non-root privileges are required for all tests to pass" + else + local TEST_VERBOSE=1 + cmake-utils_src_test + fi +} + +src_install() { + cmake-utils_src_install + + if use examples ; then + egit_clean examples + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi +} diff --git a/dev-libs/libgit2/metadata.xml b/dev-libs/libgit2/metadata.xml new file mode 100644 index 000000000000..341b4d4cf6d8 --- /dev/null +++ b/dev-libs/libgit2/metadata.xml @@ -0,0 +1,25 @@ + + + + + mgorny@gentoo.org + MichaÅ‚ Górny + + + gnome@gentoo.org + Gentoo GNOME Desktop + + + libgit2 is a portable, pure C implementation of the Git core methods provided + as a re-entrant linkable library with a solid API, allowing you to write native + speed custom Git applications in any language which supports C bindings. + + + Enable GSSAPI support for SPNEGO auth + Enable SSH transport support + Enable tracing support + + + libgit2/libgit2 + + diff --git a/dev-libs/libgnome-games-support/Manifest b/dev-libs/libgnome-games-support/Manifest new file mode 100644 index 000000000000..ab9f501b10a4 --- /dev/null +++ b/dev-libs/libgnome-games-support/Manifest @@ -0,0 +1,8 @@ +DIST libgnome-games-support-1.2.1.tar.xz 340664 SHA256 a626396c72603add6bae1ab0b5bee1d58657cc7e232b1fe6fda746b960715ee7 SHA512 ae73d4958cdee347627f328c39629d6d41c72c9d432e541b90025bb11a6a5214148bde62ad039a62d9db236c1bf3de7a699fffb2bcc9c0fcb668dedd931894d4 WHIRLPOOL 6f15198c4664d4f274442b70a8154869f33e772cf32b1bd169c196944250973af0b1084d15145666a18bfe3646a82bfe31c5bd55129e8ba49098364e9b428e36 +DIST libgnome-games-support-1.2.2.tar.xz 341928 SHA256 4fefcf500ccd629b39925cb56903a0c8208cbc8d9236bca08d3a00561f7b0b13 SHA512 e17615e20b1eed77dd8edbc0ac229be4940861f18ac28277f9f095f03e91960f2a9c541418987c3b2e8aa0acd29aa846fd6de9b40a1908cec2e0df703a6fedfa WHIRLPOOL 33674e084aa5384415cfa7dbd5b5742bbc0147e5946eb94d5dd3af57c7520538b1f8ab0d17660df5addba2e974488b2622f873583b82c25bf6b47c986ea5756a +DIST libgnome-games-support-1.2.3.tar.xz 344372 SHA256 6123c2419b8224589b09ca9b4f471ea51e4817c0369cec3137cd1f8fe7698aef SHA512 680b27c37150a627c98b5c38313936082e9fa23be1856e99442b0ce4da5b098378ad3b5fd2f41565c3f43fd54e38fc9e2a2a4a50d82637285aa3cc3827869b62 WHIRLPOOL 4dbf8d3d6b9c79aaa875e12d6e95e27ac560a7512caeffe03646e26c85b6714770c6dadf3a94297ebd0fc1f6af4f94e5874dc2e4757cc6c88a3fe07a13988734 +EBUILD libgnome-games-support-1.2.1.ebuild 529 SHA256 3aebe5ccd734460a7888f3321445cda67cc151bda8a659501145068f0a61d509 SHA512 90932b2a954d1cab6862c5b7ee310985102ccd2a69fb12b25311c8b909933700e8c261f3cc108252f4fbb18976b8512719bdc056e7f0d6ab8b30b11e1f479a6f WHIRLPOOL 9909e161c2b94a6a7e473d70b560e9cc05836c33e87097ff5b42056ad3e371e3142082dee46fddd6f856f43c3b2eb8730d97e7523043b0f7998078f4edb321cf +EBUILD libgnome-games-support-1.2.2.ebuild 531 SHA256 1d53fb5a1e1a8dc88fcb0c8388f42bd13aa42c7488541f4e9c5d47235e337797 SHA512 622c2a49c3e2f5a1bad42d06d6fbcb83fbf143799ed4e0b338e7337ba29a17fcc05243f186db3d3b874d29db4f898fe4c6a09b32430dc7dd43ca795b958673ae WHIRLPOOL 5af5664a6e10f5f6c8ed18a4d5c02dd628a75d339f8198ebcdae31adedb5ddbfabbe375829df33e796e2da2ff52a461b7b5d64085f56f0982451a2a1d54dd394 +EBUILD libgnome-games-support-1.2.3.ebuild 531 SHA256 1d53fb5a1e1a8dc88fcb0c8388f42bd13aa42c7488541f4e9c5d47235e337797 SHA512 622c2a49c3e2f5a1bad42d06d6fbcb83fbf143799ed4e0b338e7337ba29a17fcc05243f186db3d3b874d29db4f898fe4c6a09b32430dc7dd43ca795b958673ae WHIRLPOOL 5af5664a6e10f5f6c8ed18a4d5c02dd628a75d339f8198ebcdae31adedb5ddbfabbe375829df33e796e2da2ff52a461b7b5d64085f56f0982451a2a1d54dd394 +MISC ChangeLog 465 SHA256 31f8b4fde692a4597b0b43bf9f53bccd14f61730685d2ce529decdba996927bf SHA512 e4d31a182866057df86c5361edcbb4647ab72154a9169c4f25183e66272dbbdb326e1291f0a9051b5220d38e3d120cb423803c1546fb65f814a8c483af829c9d WHIRLPOOL 213b5433abd47da5f003bf9e059da0d0765f5bc72990a87ff86d04a52986d16e9baff207781977ca70419539dc8e6cb63e25739b5c5965131c47bc0bc82def3c +MISC metadata.xml 249 SHA256 4505b0bfeadff287958620b7dc7b7209699065a8f17139a237a5dd409a726a97 SHA512 c40662134899a5c9f0369a1017806f35adf3280a0b3c91726f7a8ca6012a073a8b471583f5bfb6fe95faac1dcf607e8e2e43f8c91d48ec46f4a8824e2f551506 WHIRLPOOL 333a938ee1d2124595596c572697bf5ebad523a92ba12005cfb12e6bb6270881a94a911f0cc9c1cf2bb571559e8271e07dfd307dabe50058236dbe7103562b92 diff --git a/dev-libs/libgnome-games-support/libgnome-games-support-1.2.1.ebuild b/dev-libs/libgnome-games-support/libgnome-games-support-1.2.1.ebuild new file mode 100644 index 000000000000..e397fa31884e --- /dev/null +++ b/dev-libs/libgnome-games-support/libgnome-games-support-1.2.1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit gnome2 + +DESCRIPTION="Library for code common to Gnome games" +HOMEPAGE="https://git.gnome.org/browse/libgnome-games-support/" + +LICENSE="LGPL-3+" +SLOT="1/2" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND=" + dev-libs/libgee:0.8= + >=dev-libs/glib-2.40:2 + >=x11-libs/gtk+-3.19.2:3 +" +DEPEND="${DEPEND} + >=sys-devel/gettext-0.19.8 + virtual/pkgconfig +" + +src_configure() { + gnome2_src_configure \ + VALAC=$(type -P true) +} diff --git a/dev-libs/libgnome-games-support/libgnome-games-support-1.2.2.ebuild b/dev-libs/libgnome-games-support/libgnome-games-support-1.2.2.ebuild new file mode 100644 index 000000000000..a555e3cf0dbb --- /dev/null +++ b/dev-libs/libgnome-games-support/libgnome-games-support-1.2.2.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit gnome2 + +DESCRIPTION="Library for code common to Gnome games" +HOMEPAGE="https://git.gnome.org/browse/libgnome-games-support/" + +LICENSE="LGPL-3+" +SLOT="1/2" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=" + dev-libs/libgee:0.8= + >=dev-libs/glib-2.40:2 + >=x11-libs/gtk+-3.19.2:3 +" +DEPEND="${DEPEND} + >=sys-devel/gettext-0.19.8 + virtual/pkgconfig +" + +src_configure() { + gnome2_src_configure \ + VALAC=$(type -P true) +} diff --git a/dev-libs/libgnome-games-support/libgnome-games-support-1.2.3.ebuild b/dev-libs/libgnome-games-support/libgnome-games-support-1.2.3.ebuild new file mode 100644 index 000000000000..a555e3cf0dbb --- /dev/null +++ b/dev-libs/libgnome-games-support/libgnome-games-support-1.2.3.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit gnome2 + +DESCRIPTION="Library for code common to Gnome games" +HOMEPAGE="https://git.gnome.org/browse/libgnome-games-support/" + +LICENSE="LGPL-3+" +SLOT="1/2" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=" + dev-libs/libgee:0.8= + >=dev-libs/glib-2.40:2 + >=x11-libs/gtk+-3.19.2:3 +" +DEPEND="${DEPEND} + >=sys-devel/gettext-0.19.8 + virtual/pkgconfig +" + +src_configure() { + gnome2_src_configure \ + VALAC=$(type -P true) +} diff --git a/dev-libs/libgnome-games-support/metadata.xml b/dev-libs/libgnome-games-support/metadata.xml new file mode 100644 index 000000000000..39980802b1da --- /dev/null +++ b/dev-libs/libgnome-games-support/metadata.xml @@ -0,0 +1,8 @@ + + + + + gnome@gentoo.org + Gentoo GNOME Desktop + + diff --git a/dev-libs/libgpg-error/Manifest b/dev-libs/libgpg-error/Manifest new file mode 100644 index 000000000000..fb1688649c93 --- /dev/null +++ b/dev-libs/libgpg-error/Manifest @@ -0,0 +1,5 @@ +DIST libgpg-error-1.27.tar.bz2 813060 SHA256 4f93aac6fecb7da2b92871bb9ee33032be6a87b174f54abf8ddf0911a22d29d2 SHA512 51b313c1159074fdbbce84f63bd8afd84b3b58cd608714865b25bed84c1862d050708aa06ac3dab92f1906593df5121161e594c2809653b0fb2c236cae5dcc2f WHIRLPOOL 7d6e68c1d2388f0599573b3d56187582e5302777466e517ac22eafed50e1c3bc6bb8e81cd6d1561b917c4bfc627bf358344f47342449471c5ddf8175a7848396 +EBUILD libgpg-error-1.27-r1.ebuild 1439 SHA256 2203dc12d74c546faa62505c6b5118628d1dfefa825316278d9322820b49636e SHA512 b350789ea7b16561597f28b396d19f6fb5fac911c8f1d3ac3617a8e04e5cd8d812f083d0467512c6f4b1c7f537d1ddb15dfbede896a9edc32229eb2b6dae890e WHIRLPOOL c0c9af0a167c658922a318f1e73043b84755f33eef7f1d2b395691fb00be0b56126739c96aba3f34827b589d3b4d788cf2afdd10613eb35e357c7295397bc7aa +MISC ChangeLog 6461 SHA256 dda1db2e2bac5362693f9dd2b2a2e089532827fe4090a0fd42ac5e2cd1348a34 SHA512 2ad55a77630f9f9bc9e99ab652abda482e975ddc1e58ceaec4d1bcd342a0ae89045d70edbcb8b0603d842970c752f06a3342d1374432f1957f25c6c0df61f305 WHIRLPOOL 24829611ebcfa69000cfe17e7156cb44bb1eb0df072af367945d9a7d1fb2591f3fa96bb140b63c54233f521f83489f42952e0d1dcafceb5352d6bf1a4eb96867 +MISC ChangeLog-2015 16286 SHA256 4ec9a01ae6a0c01729945e756811b8dc46f96404493e23c94bf9e5efc7f67eea SHA512 c9adae3171f331d9a14e9d3df76c59562077f7b7f19a0c0b500549daaf5141b761bd73498e97b0326e127ffc9cddcf186acef469dc1ab3317e922aff7598cd2d WHIRLPOOL 0fc041b43d096b41b201d3673cffc42ed3e6d544dece6b8ba97649513c4d5a5f81ed2c7e64920583274bf665d461f3423ab6148ea4bef4c120b425d4e82c9cde +MISC metadata.xml 315 SHA256 2090c9e52f91c000c11e53d0215dd327d8274ab13f3a4930340a608afe10c5e8 SHA512 502b5daf04f1b706514aba7d18cd454e1e99f63462159d3f5baebd1617bfa4760c7ea6fae9b7624fae2bc5943f8950211c6f4b326b6b62c3cf7eba4fc1255334 WHIRLPOOL dfd45c75e635ff36c55dd60b7c31a59ea22792fc07f6ba4cf493e99a4d55c3466e86cab704736a6b1547b9fb0b30670e839150f163643b1ebd9d98d6af814576 diff --git a/dev-libs/libgpg-error/libgpg-error-1.27-r1.ebuild b/dev-libs/libgpg-error/libgpg-error-1.27-r1.ebuild new file mode 100644 index 000000000000..e773110e7e9a --- /dev/null +++ b/dev-libs/libgpg-error/libgpg-error-1.27-r1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit libtool ltprune multilib-minimal toolchain-funcs + +DESCRIPTION="Contains error handling functions used by GnuPG software" +HOMEPAGE="http://www.gnupg.org/related_software/libgpg-error" +SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="common-lisp nls static-libs" + +RDEPEND="nls? ( >=virtual/libintl-0-r1[${MULTILIB_USEDEP}] ) + abi_x86_32? ( + !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] + !<=app-emulation/emul-linux-x86-baselibs-20131008-r12 + )" +DEPEND="${RDEPEND} + nls? ( sys-devel/gettext )" + +MULTILIB_CHOST_TOOLS=( + /usr/bin/gpg-error-config +) +MULTILIB_WRAPPED_HEADERS=( + /usr/include/gpg-error.h + /usr/include/gpgrt.h +) + +src_prepare() { + default + elibtoolize +} + +multilib_src_configure() { + ECONF_SOURCE="${S}" econf \ + CC_FOR_BUILD=$(tc-getBUILD_CC) \ + --enable-threads \ + $(use_enable nls) \ + $(use_enable static-libs static) \ + $(use_enable common-lisp languages) \ + $(multilib_is_native_abi || echo --disable-languages) +} + +multilib_src_install_all() { + einstalldocs + prune_libtool_files --all +} diff --git a/dev-libs/libgpg-error/metadata.xml b/dev-libs/libgpg-error/metadata.xml new file mode 100644 index 000000000000..89e984954f11 --- /dev/null +++ b/dev-libs/libgpg-error/metadata.xml @@ -0,0 +1,11 @@ + + + + + crypto@gentoo.org + Crypto + + + Install common-lisp files + + diff --git a/dev-libs/libgpuarray/Manifest b/dev-libs/libgpuarray/Manifest new file mode 100644 index 000000000000..a575cf1b2516 --- /dev/null +++ b/dev-libs/libgpuarray/Manifest @@ -0,0 +1,5 @@ +DIST libgpuarray-0.6.0.tar.gz 232281 SHA256 a58a0624e894475a4955aaea25e82261c69b4d22c8f15ec07041a4ba176d35af SHA512 ef2b37d7752d7b19e6034ca1992dfa0c82806bae7a15ce54aad785f5abbe06e57a77b804699c55b3b7dc94496afb22acaf3a43cfc15148c150f2c93085c23080 WHIRLPOOL bf702ac1a6f7dd38e59bfc3af3854055730f0ac005ef03b206daf43bab90e930fbe04c8c2765bd673ed3d78b501a5c01f0ba93c22565c99e8aedd6a8049873ac +DIST libgpuarray-0.6.7.tar.gz 256440 SHA256 5d3d6f54e53ffe1a43ca86329cf3e5b8b8c1b412cf222df092d741a4de212c2e SHA512 39cdb67ec12d0f939d7a3ebef9726c40e64387413200addbeaf205db4151d09efd90118fec4a71b9d1f81fdde9b52e37d2d97763bf2cc9efa1667c5b9ff716b2 WHIRLPOOL 544c5fd2715c4df9a39c497e4bcef22d95eae8a39f3621d57c3b68ace1e43467855b70209e15b1b8dc08c6a190e14d1307c19084006cddbdb964148442b4453d +EBUILD libgpuarray-0.6.0.ebuild 1385 SHA256 b6b026a7183ceb35b92595f7d2dd1b64f995e2947cb9f6960ce57915c38c285f SHA512 6362bd54bd304eab87869eb5b26ac946f0734de93a456b4d2d0a2b5f2b3ca5e850f07a051b64f895a3c417415d58db2a96d14315cfd8496b5556617e5762f118 WHIRLPOOL 52972aebbdec1e230209d2cddc3c80d5f08141280bb1748ab40a1ba0101a84dddd19a67a0c1a9e5e4d94b48599ed137f3d6aa96693501cb06a762ad11a8c86cf +EBUILD libgpuarray-0.6.7.ebuild 1387 SHA256 e454948ba3473cfdf823fb48e9f85895ffec46dfbd5d2469971c2a05afb86fee SHA512 2b09ce47a8834b53009a87c42f9a94e1ab0551332b06583627307abbfa737bc1717edb9b86819bed44e67f86d83452e08a91251c3d01cd45a1f37323e2a3cb35 WHIRLPOOL 2db6b5252d82be15f8e0f59758bad55ddfe39b29479446712e14d1c5cb519f230970fc38d56590093fa61bd24acaddf4fe1f23aac2adb2b847fcc932d1418f5c +MISC metadata.xml 639 SHA256 03be7b0f74ddacc3de539817a2f10ccd24241a228272be9a013f1c6f97e3161c SHA512 f4b06c37069e3db5cbb303cc731f841b88ffa682ecb6f4238e6e89b7d915d720dcee1cca4595be8a3c80afde0df3b8c18dc66f2844469ffa65572a264f4b58b2 WHIRLPOOL b77fe0ebc9a80b9501e8d33802598e2123ecd9f2344766a6c390693d9ec0edb316d9766a0c1d8ad6d5ee6fee924d4d2c1f1a1046cf568890f48b752d21a13504 diff --git a/dev-libs/libgpuarray/libgpuarray-0.6.0.ebuild b/dev-libs/libgpuarray/libgpuarray-0.6.0.ebuild new file mode 100644 index 000000000000..b8ff0a923d5f --- /dev/null +++ b/dev-libs/libgpuarray/libgpuarray-0.6.0.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils cuda + +MYPV=${PV/_/-} + +DESCRIPTION="Library to manipulate tensors on the GPU" +HOMEPAGE="http://deeplearning.net/software/libgpuarray/" +SRC_URI="https://github.com/Theano/${PN}/archive/v${MYPV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="cuda doc opencl static-libs test" + +# cuda/opencl loaded dynamically at runtime, no compile time dep +RDEPEND=" + cuda? ( amd64? ( >=dev-util/nvidia-cuda-toolkit-7 ) ) + opencl? ( + virtual/opencl + || ( sci-libs/clblast sci-libs/clblas ) + ) +" +DEPEND=" + doc? ( app-doc/doxygen ) + test? ( ${RDEPEND} + dev-libs/check + virtual/pkgconfig + ) +" +S="${WORKDIR}/${PN}-${MYPV}" + +src_prepare() { + sed -e 's/DESTINATION lib/DESTINATION ${CMAKE_INSTALL_LIBDIR}/g' \ + -i src/CMakeLists.txt || die + use cuda && cuda_src_prepare + cmake-utils_src_prepare +} + +src_configure() { + local mycmakeargs=() + cmake-utils_src_configure + use doc && emake -C doc doxy +} + +src_test() { + local dev=cuda + use opencl && dev=opencl + DEVICE=${dev} cmake-utils_src_test + # if !cuda or !opencl: no testing because tests fail +} + +src_install() { + use doc && HTML_DOCS=( doc/_doxybuild/html/. ) + cmake-utils_src_install + use static-libs || rm "${ED}/usr/$(get_libdir)/libgpuarray-static.a" +} diff --git a/dev-libs/libgpuarray/libgpuarray-0.6.7.ebuild b/dev-libs/libgpuarray/libgpuarray-0.6.7.ebuild new file mode 100644 index 000000000000..744ea75a2b2d --- /dev/null +++ b/dev-libs/libgpuarray/libgpuarray-0.6.7.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils cuda + +MYPV=${PV/_/-} + +DESCRIPTION="Library to manipulate tensors on the GPU" +HOMEPAGE="http://deeplearning.net/software/libgpuarray/" +SRC_URI="https://github.com/Theano/${PN}/archive/v${MYPV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/2" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="cuda doc opencl static-libs test" + +# cuda/opencl loaded dynamically at runtime, no compile time dep +RDEPEND=" + cuda? ( amd64? ( >=dev-util/nvidia-cuda-toolkit-7 ) ) + opencl? ( + virtual/opencl + || ( sci-libs/clblast sci-libs/clblas ) + ) +" +DEPEND=" + doc? ( app-doc/doxygen ) + test? ( ${RDEPEND} + dev-libs/check + virtual/pkgconfig + ) +" +S="${WORKDIR}/${PN}-${MYPV}" + +src_prepare() { + sed -e 's/DESTINATION lib/DESTINATION ${CMAKE_INSTALL_LIBDIR}/g' \ + -i src/CMakeLists.txt || die + use cuda && cuda_src_prepare + cmake-utils_src_prepare +} + +src_configure() { + local mycmakeargs=() + cmake-utils_src_configure + use doc && emake -C doc doxy +} + +src_test() { + local dev=cuda + use opencl && dev=opencl + DEVICE=${dev} cmake-utils_src_test + # if !cuda or !opencl: no testing because tests fail +} + +src_install() { + use doc && HTML_DOCS=( doc/_doxybuild/html/. ) + cmake-utils_src_install + use static-libs || rm "${ED}/usr/$(get_libdir)/libgpuarray-static.a" +} diff --git a/dev-libs/libgpuarray/metadata.xml b/dev-libs/libgpuarray/metadata.xml new file mode 100644 index 000000000000..81c8daf45558 --- /dev/null +++ b/dev-libs/libgpuarray/metadata.xml @@ -0,0 +1,19 @@ + + + + + sci@gentoo.org + Gentoo Science Project + + + Multi data-types, N-dimensional array library for the GPU, and + with python numpy and theano workflow in mind. + + + Theano/libgpuarray + + + Enable NVIDIA CUDA toolkit support + Enable OpenCL support + + diff --git a/dev-libs/libgudev/Manifest b/dev-libs/libgudev/Manifest new file mode 100644 index 000000000000..cbb5d2cba9d9 --- /dev/null +++ b/dev-libs/libgudev/Manifest @@ -0,0 +1,9 @@ +DIST libgudev-230.tar.xz 257528 SHA256 a2e77faced0c66d7498403adefcc0707105e03db71a2b2abd620025b86347c18 SHA512 682e08f1a406bd323a59268d9d2fde9efd015a7e0cd5958c5c4e0bc94b593d071a9b824c8b9dfc104c93e555342b1a74a63da91834e10558a9646c9195ef6fbd WHIRLPOOL 1b376686899062ae900a782c97dcabc1321bced2b546617e48b48442a15823ae58e137f1442c1df3ae6fe3a37f44a722905ddb505fea68b274ee41d16032d4f0 +DIST libgudev-231.tar.xz 270088 SHA256 3b1ef99d4a8984c35044103d8ddfc3cc52c80035c36abab2bcc5e3532e063f96 SHA512 3989025168c9e7e5e3f7813ee903a63f697ad390d3060121d0f45ee31031014c23a26f4287f3e6ad97d582131d0d568be31baa0b68f6f64ae337e926b3fe2625 WHIRLPOOL e32bb6506604c79876cbe6a3cebb6e784e98a2e39d84f7871e8342af59ed729a80989b99ee48bde5c342b96ad4e4f6524fe72135531033015f86b7488d8442f6 +DIST libgudev-232.tar.xz 270904 SHA256 ee4cb2b9c573cdf354f6ed744f01b111d4b5bed3503ffa956cefff50489c7860 SHA512 f648a41e2a6af7e26634c7cc259fdc47bb6e6ffb329324d157f340e42928e28c2059a0e923b9b0aaecd1ee3ecafbc7b55e5652f1f77bc1b88367b97057a1bedc WHIRLPOOL 73acd3c3597ffe265ebb2e3f9e650c04187c72ee632f661d236f17c04b2ccfb9ef94f1c0c0b926f4fa40b64d355fd245d7470c1a2d9dfe9c209940cd5c272308 +EBUILD libgudev-230-r1.ebuild 981 SHA256 bc7eeafcd322acc4205f6f24a560996404d26cdfcb8303d914986b09400f77cc SHA512 21e41267b5eebd63d9d7417634129988ae780ad8f7563de68466b18841699201b471d92b6566d1bbbd460455214bfc42d7156cd80601af6142585ec963e0985d WHIRLPOOL c00a4271ef45866540bb6cfebca011ba459dbc5f24bd80d64be4b2c48cdce9486f087f3979f17abd8f51193c19177f093f9928ded9b2fc6f3facdc0d05df54ce +EBUILD libgudev-231.ebuild 1093 SHA256 aed245439c34104d46d695d06a602750e5aa493ad4038485f7cb1e49e6667871 SHA512 eb4af43258a9cb3fd1da9fc4190aa86dcb5551e400edda428ce26bb334a798edd6656a42038e6ad3772e7e5adaebbfcc5c0bb19e2e60b1177f4dd1a103b38e94 WHIRLPOOL 1cf5a8b2bf394522a04ab16f37402d31f78c4e57573598c87bd65535666ebd32ab10e991d739017389ad3a1ba53676230a96bbc14cecb56f36c0ca8f8465fce4 +EBUILD libgudev-232.ebuild 1098 SHA256 53f3982fbb2a3a384bf529744201d608daab31eccbd1ded525156165478e59ed SHA512 0615cb78d860a0f23826c42f3d62c470507eb7f6109c2c0d9fd078c0ed55bdfd7d6e9d177535dbf47542bc13e44d313673ce3d47df1009a5e1ca97bd56c1774d WHIRLPOOL fe25ce74954842a189f41a145accb4b3159b381443aeeb582d6982775bad2433d685757aef93447d0f25c01bcf4b1ad046ff5603641836c663b45c3f46485a96 +MISC ChangeLog 5280 SHA256 6affc6fc955d3e616df90aa3c55e8c5d6a6da8cb5765922e1a621e4a40e097eb SHA512 902ba670bb843b88af78276129882319f82ec54e3fb942549ca07029a6eee0530d5863e558bba701c461cfb1f602a330fcf8c2a0a6a5a8c50205558bbdb57ec5 WHIRLPOOL 8ebf5e7259b14f4dcc945955bdde499d1c66c6cc3374aa529b00cad818464d11fa864cc20e042c6a2c0c2a972aac971b202eeaffa5363ddd94fdcf08d9c28990 +MISC ChangeLog-2015 1583 SHA256 d0dff8d937023d484a662b6f506967444acb670c66624e4d292356fa32cc7e18 SHA512 28b8344cdd7b64503dbbe30d3ce9c63225abd7e95a59a754c179d808de2cc8312dd58c9da0a83f5da6a806c37a077d36b2c4213a524643f0ddf6c636971a7414 WHIRLPOOL f4890968f3746f62a9a22d020fe69d9d3584a3b01c646078fba9049b4ea56ea2fb1e6e5c34893902df1ffd0aa569b5f3fbda22fb6d139ea9fd33813db369c259 +MISC metadata.xml 361 SHA256 5d91253b3f13a4d3d441c1fdeca59f0cf3ab7c6bbadcb40f626d581661591831 SHA512 5306c2af0867c2122471d13cf49ebe04cccd62897c82d73b66b52792d784ca7bfd7d2cafa0821998084e78b43505fc449040bb46c2b406ba2d50b8a92af03f1f WHIRLPOOL 17be7229329754c5c6b4a365497bc42f370ae8a710fa331b2e214adcc120c4f6e32b0912864176121bbbffd46ecd667289d01fae032486c836f9ca39cd5e5067 diff --git a/dev-libs/libgudev/libgudev-230-r1.ebuild b/dev-libs/libgudev/libgudev-230-r1.ebuild new file mode 100644 index 000000000000..20fdfd488671 --- /dev/null +++ b/dev-libs/libgudev/libgudev-230-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit gnome2 multilib-minimal + +DESCRIPTION="GObject bindings for libudev" +HOMEPAGE="https://wiki.gnome.org/Projects/libgudev" + +LICENSE="LGPL-2.1" +SLOT="0/0" +KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ~mips ppc ppc64 sparc x86" +IUSE="introspection static-libs" + +COMMON_DEPEND=" + >=dev-libs/glib-2.22.0:2=[${MULTILIB_USEDEP},static-libs?] + >=virtual/libudev-199:=[${MULTILIB_USEDEP},static-libs?] + introspection? ( >=dev-libs/gobject-introspection-1.31.1:= ) +" +RDEPEND="${COMMON_DEPEND} + !sys-fs/eudev[gudev(-)] + !sys-fs/udev[gudev(-)] + !sys-apps/systemd[gudev(-)] +" +DEPEND="${COMMON_DEPEND} + >=dev-util/gtk-doc-am-1.18 + virtual/pkgconfig[${MULTILIB_USEDEP}] +" + +multilib_src_configure() { + ECONF_SOURCE=${S} gnome2_src_configure \ + $(multilib_native_use_enable introspection) \ + $(use_enable static-libs static) +} + +multilib_src_install() { + gnome2_src_install +} diff --git a/dev-libs/libgudev/libgudev-231.ebuild b/dev-libs/libgudev/libgudev-231.ebuild new file mode 100644 index 000000000000..f58d47d099ba --- /dev/null +++ b/dev-libs/libgudev/libgudev-231.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit gnome2 multilib-minimal + +DESCRIPTION="GObject bindings for libudev" +HOMEPAGE="https://wiki.gnome.org/Projects/libgudev" + +LICENSE="LGPL-2.1" +SLOT="0/0" +KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ~mips ~ppc ~ppc64 ~sparc x86" +IUSE="introspection static-libs" + +COMMON_DEPEND=" + >=dev-libs/glib-2.30.0:2[${MULTILIB_USEDEP},static-libs?] + >=virtual/libudev-199:=[${MULTILIB_USEDEP},static-libs?] + introspection? ( >=dev-libs/gobject-introspection-1.31.1 ) +" +RDEPEND="${COMMON_DEPEND} + !sys-fs/eudev[gudev(-)] + !sys-fs/udev[gudev(-)] + !sys-apps/systemd[gudev(-)] +" +DEPEND="${COMMON_DEPEND} + >=dev-util/gtk-doc-am-1.18 + virtual/pkgconfig[${MULTILIB_USEDEP}] +" + +# Needs multilib dev-util/umockdev +RESTRICT="test" + +multilib_src_configure() { + local myconf=( + $(multilib_native_use_enable introspection) + $(use_enable static-libs static) + --disable-umockdev + ) + local ECONF_SOURCE="${S}" + gnome2_src_configure "${myconf[@]}" +} + +multilib_src_install() { + gnome2_src_install +} diff --git a/dev-libs/libgudev/libgudev-232.ebuild b/dev-libs/libgudev/libgudev-232.ebuild new file mode 100644 index 000000000000..56f85ac224e6 --- /dev/null +++ b/dev-libs/libgudev/libgudev-232.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit gnome2 multilib-minimal + +DESCRIPTION="GObject bindings for libudev" +HOMEPAGE="https://wiki.gnome.org/Projects/libgudev" + +LICENSE="LGPL-2.1" +SLOT="0/0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="introspection static-libs" + +COMMON_DEPEND=" + >=dev-libs/glib-2.30.0:2[${MULTILIB_USEDEP},static-libs?] + >=virtual/libudev-199:=[${MULTILIB_USEDEP},static-libs?] + introspection? ( >=dev-libs/gobject-introspection-1.31.1 ) +" +RDEPEND="${COMMON_DEPEND} + !sys-fs/eudev[gudev(-)] + !sys-fs/udev[gudev(-)] + !sys-apps/systemd[gudev(-)] +" +DEPEND="${COMMON_DEPEND} + >=dev-util/gtk-doc-am-1.18 + virtual/pkgconfig[${MULTILIB_USEDEP}] +" + +# Needs multilib dev-util/umockdev +RESTRICT="test" + +multilib_src_configure() { + local myconf=( + $(multilib_native_use_enable introspection) + $(use_enable static-libs static) + --disable-umockdev + ) + local ECONF_SOURCE="${S}" + gnome2_src_configure "${myconf[@]}" +} + +multilib_src_install() { + gnome2_src_install +} diff --git a/dev-libs/libgudev/metadata.xml b/dev-libs/libgudev/metadata.xml new file mode 100644 index 000000000000..39ab15f82698 --- /dev/null +++ b/dev-libs/libgudev/metadata.xml @@ -0,0 +1,12 @@ + + + + + floppym@gentoo.org + Mike Gilbert + + + gnome@gentoo.org + Gentoo GNOME Desktop + + diff --git a/dev-libs/libgusb/Manifest b/dev-libs/libgusb/Manifest new file mode 100644 index 000000000000..6a5264c1fab5 --- /dev/null +++ b/dev-libs/libgusb/Manifest @@ -0,0 +1,11 @@ +DIST libgusb-0.2.11.tar.xz 291992 SHA256 9cb143493fab1dc3d0d0fdba2114b1d8ec8c5b6fad05bfd0f7700e4e4ff8f7de SHA512 f9c3c204b5f0feaf706b23dd9a174feb36a9f3c8db8ffb5dcdefa66b18ba0ac963c6041d2d91a6a2f6e23036fc6486d142210bd5348e10c026a6defeb0bee096 WHIRLPOOL d3c2d73e6eabaac7a4f0afd0e15f0e97aa8105fe61747f9104f4d2907a76616a58a59c78e987b19be49a5ca9b9c3bfe458d91cd50029dad0fbfb8977938be84e +DIST libgusb-0.2.7.tar.xz 275492 SHA256 0be9578f7875cecb6c163ad47eb39bc6bf497e501b08986c0d384748a054c3ee SHA512 9210ddc95458c452fa32c8e11849c6f44e24680485aafe93887a52266c8253e495e5f0584f25e3e67051bb00247d6b658cd2ff3f6a4da167a113974d8fefd5ac WHIRLPOOL 7ce8652167f3bf553d33d2b2504e1b1a8fdbdd0844b9fa8f2b54ad5d91b0db505cdedb3d1b6827212bde36bea39c28160f51f0253c921db4f33dae1e9368c07d +DIST libgusb-0.2.8.tar.xz 289744 SHA256 a9c269ef21145b228e59fdcb533ef9c4ae214a6f4748d17ecd2e022f79389eed SHA512 83dce9704276f5edbe893b417a569bd62f2d14d8de1730d6e7e48c72170593c471c8354b813668d0736e31ecf48d2efe76a81c5dc485c1fa6ba62c5f8ceff3b4 WHIRLPOOL 878d07f37f79ef59506e76fa995b58b9e00fe75ae9424b86ea47bd5fb6c14868bc95e85e0744ff4d3c6a2f4aecdbf86f6c584c40c8febddd1c754cbc8386f261 +DIST libgusb-0.2.9.tar.xz 290972 SHA256 7320bdcd0ab1750d314fa86f48bd2cc186b9e33332314403779af9772fedde14 SHA512 30e469e6c9561339a002089f732b3a60c02e285c0a166416a833c4c2475028a41c2339fcbc5ef1524b4be6fa09931e177067fa12231a145f1f05a324e343da9d WHIRLPOOL 0e54c0249b957fe56be6746a9e5e3f10c071be2bac08ae4408e112a7c3eb6c7e22c2936737bae500984818b023e526edb24def660a97601b39790203cf74e984 +EBUILD libgusb-0.2.11.ebuild 1281 SHA256 ca4a17c96465d045e15ade23281b1c3d3b4a40d41b9a1d32e6f67ea0c6e00719 SHA512 0d9b71081531f5232cb863d865d68915cceb74a2cbd85ab19c55a23bd0aed3ed59f3c1582f8b3351e13ad559144e8c56ccd4d4ce824cffeb0a0de2c235aa9e02 WHIRLPOOL d78200ba8aad436dce1b6bdfb2ca96db2de348f439147c13a14a9f65936ea3f90f1bf804ef6e1741fd05695fad0820872caa64a5137a0a6e4d13f32edc5bbb47 +EBUILD libgusb-0.2.7.ebuild 1292 SHA256 f75b78e2106b041fd387330b065a4306e71940428694b0eab90a4c7398ef624b SHA512 bd0137fb2ecab3a68e4e3e2f377a84dbcfb7a31f5620dc974f5a955a9174675d631480490ba879f52706e2a718f0bc68cd3b8c6609794e0744e122e72bd622a1 WHIRLPOOL e0698b0081e0b7438af1023445fbbaa5c757214bd66fb8a1e70bbf5200e37599ec2f71f5a0b97c7e13a06d5321960fcbf461af3fbbfb8362413fce3b4e49cbbf +EBUILD libgusb-0.2.8.ebuild 1293 SHA256 33577902234ab1b3871d4d3722a4cc5695d98abeedaf6867fb9958fdab285df1 SHA512 c58eef9d2e68eb5e62f0af836737c9cece9c616a8db09be6f73b555f53a257dd450f28885bb0fb4d0bac45206bcf9ec2ce291c727d77e806b76ff362330396cf WHIRLPOOL 5da6226b0f1b89357865d81caa14098b6b08e0f707ddf6207a515ab87debfcf4fb292cbf1699912843c27511916a61099814a241af04649913d86f243c50acdb +EBUILD libgusb-0.2.9.ebuild 1277 SHA256 a3ef5de47636badcff6eb9e092a2fa4485e013b19f3a52d3aa80e0e3312efe62 SHA512 9bec001d7bc748029561eaf0a5f90f7cb6f0b5f6ad5b141807f87baf3b623ac8499776f0b8ee97c5c1ca136dbf914334331f12bd82873487179be07cbf73d269 WHIRLPOOL 1b5d1323b2e092b0d90fb057915035248c421e8ce8b60be563a54662823aa6b8974ff6349d57951bec045e0fd0cbf0bfafe134c08d3b4ae5cdd1d9ba106747ad +MISC ChangeLog 6893 SHA256 645d3126e4ff9151b01142b905855bc5f5f38a5394fa331ca3a911b6bfae9f97 SHA512 1661b2d131f86a97f8da62eab03a8e0439370ad624e5a94001371a3296bf2cfe6e60a1b7c9f41a429ddccd67e4034b123931d2a6ced93b7aa3d3b57e1f512073 WHIRLPOOL 0f08e36881ed0a49f4eab492d4919a3e7eebe8d5a4ff0e20366c893acf073bd018aac419f74f0862e795a7b97fb36a59bb028a481f552c16d264886e0fb6ed6d +MISC ChangeLog-2015 6328 SHA256 2739ae8b54e02f574ef735ade79a14c8d8831a95678f67c08d19e31c6ff887ec SHA512 df8d264216d9420821c3c85f2cb2d216e98a293783d1411ee77cb27f4e966982641ef04043c99728d85b16d215adc01ed5432d2a3652bb313ef88fc0883d9329 WHIRLPOOL 7c251fad9b7ef5a96b917754d95277dd805118c55747bd63aa8742d9125fbc1503fe3a906b440d754f408b48b357603da687d5b380b1f7994d304d15e34bcaf1 +MISC metadata.xml 343 SHA256 fed79c9f4f901d13981cae01df307d0a2d0b979018b78171d3d923fa01f5a14c SHA512 096d78e0613e0475d5499f3c30542bd22fc98a2598a7e2e5719747a809a19288a0a36897bc9bc647fceb98f3579f7148c32d16d78c6114d0b925f143daca91bc WHIRLPOOL 3d070c06653cb4d526b8ee56eef7bf991d800e45e05625a40483998af568201ab1622c2d3beaa29122930453faa452e05375b9ff189e94f04c6747a63e6ef795 diff --git a/dev-libs/libgusb/libgusb-0.2.11.ebuild b/dev-libs/libgusb/libgusb-0.2.11.ebuild new file mode 100644 index 000000000000..aca94f3692bc --- /dev/null +++ b/dev-libs/libgusb/libgusb-0.2.11.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +VALA_USE_DEPEND="vapigen" + +inherit eutils gnome2 multilib-minimal vala + +DESCRIPTION="GObject wrapper for libusb" +HOMEPAGE="https://github.com/hughsie/libgusb" +SRC_URI="https://people.freedesktop.org/~hughsient/releases/${P}.tar.xz" + +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" + +IUSE="+introspection static-libs vala" +REQUIRED_USE="vala? ( introspection )" + +RDEPEND=" + >=dev-libs/glib-2.44:2[${MULTILIB_USEDEP}] + virtual/libusb:1[udev,${MULTILIB_USEDEP}] + introspection? ( >=dev-libs/gobject-introspection-1.29:= ) +" +DEPEND="${RDEPEND} + dev-libs/libxslt + dev-util/gtk-doc-am + virtual/pkgconfig[${MULTILIB_USEDEP}] + vala? ( $(vala_depend) ) +" + +# Tests try to access usb devices in /dev +RESTRICT="test" + +src_prepare() { + gnome2_src_prepare + use vala && vala_src_prepare +} + +multilib_src_configure() { + ECONF_SOURCE=${S} \ + gnome2_src_configure \ + $(multilib_native_use_enable introspection) \ + $(use_enable static-libs static) \ + $(multilib_native_use_enable vala) + + if multilib_is_native_abi; then + ln -s "${S}"/docs/api/html docs/api/html || die + fi +} + +multilib_src_install() { + gnome2_src_install +} diff --git a/dev-libs/libgusb/libgusb-0.2.7.ebuild b/dev-libs/libgusb/libgusb-0.2.7.ebuild new file mode 100644 index 000000000000..40d11a20186b --- /dev/null +++ b/dev-libs/libgusb/libgusb-0.2.7.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +GCONF_DEBUG="no" +VALA_USE_DEPEND="vapigen" + +inherit eutils gnome2 multilib-minimal vala + +DESCRIPTION="GObject wrapper for libusb" +HOMEPAGE="https://github.com/hughsie/libgusb" +SRC_URI="https://people.freedesktop.org/~hughsient/releases/${P}.tar.xz" + +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="alpha amd64 ~arm hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc x86" + +IUSE="+introspection static-libs vala" +REQUIRED_USE="vala? ( introspection )" + +# Yes, we really need API from dev-libs/libusb-1.0.19, not virtual/libusb +RDEPEND=" + >=dev-libs/glib-2.28:2[${MULTILIB_USEDEP}] + virtual/libusb:1[udev,${MULTILIB_USEDEP}] + introspection? ( >=dev-libs/gobject-introspection-1.29:= ) +" +DEPEND="${RDEPEND} + dev-libs/libxslt + dev-util/gtk-doc-am + virtual/pkgconfig[${MULTILIB_USEDEP}] + vala? ( $(vala_depend) ) +" + +# Tests try to access usb devices in /dev +RESTRICT="test" + +multilib_src_configure() { + ECONF_SOURCE=${S} \ + gnome2_src_configure \ + $(multilib_native_use_enable introspection) \ + $(use_enable static-libs static) \ + $(multilib_native_use_enable vala) + + if multilib_is_native_abi; then + ln -s "${S}"/docs/api/html docs/api/html || die + fi +} + +multilib_src_install() { + gnome2_src_install +} diff --git a/dev-libs/libgusb/libgusb-0.2.8.ebuild b/dev-libs/libgusb/libgusb-0.2.8.ebuild new file mode 100644 index 000000000000..eb09b0e92ec5 --- /dev/null +++ b/dev-libs/libgusb/libgusb-0.2.8.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +GCONF_DEBUG="no" +VALA_USE_DEPEND="vapigen" + +inherit eutils gnome2 multilib-minimal vala + +DESCRIPTION="GObject wrapper for libusb" +HOMEPAGE="https://github.com/hughsie/libgusb" +SRC_URI="https://people.freedesktop.org/~hughsient/releases/${P}.tar.xz" + +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc x86" + +IUSE="+introspection static-libs vala" +REQUIRED_USE="vala? ( introspection )" + +# Yes, we really need API from dev-libs/libusb-1.0.19, not virtual/libusb +RDEPEND=" + >=dev-libs/glib-2.28:2[${MULTILIB_USEDEP}] + virtual/libusb:1[udev,${MULTILIB_USEDEP}] + introspection? ( >=dev-libs/gobject-introspection-1.29:= ) +" +DEPEND="${RDEPEND} + dev-libs/libxslt + dev-util/gtk-doc-am + virtual/pkgconfig[${MULTILIB_USEDEP}] + vala? ( $(vala_depend) ) +" + +# Tests try to access usb devices in /dev +RESTRICT="test" + +multilib_src_configure() { + ECONF_SOURCE=${S} \ + gnome2_src_configure \ + $(multilib_native_use_enable introspection) \ + $(use_enable static-libs static) \ + $(multilib_native_use_enable vala) + + if multilib_is_native_abi; then + ln -s "${S}"/docs/api/html docs/api/html || die + fi +} + +multilib_src_install() { + gnome2_src_install +} diff --git a/dev-libs/libgusb/libgusb-0.2.9.ebuild b/dev-libs/libgusb/libgusb-0.2.9.ebuild new file mode 100644 index 000000000000..2dee273fc77c --- /dev/null +++ b/dev-libs/libgusb/libgusb-0.2.9.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +VALA_USE_DEPEND="vapigen" + +inherit eutils gnome2 multilib-minimal vala + +DESCRIPTION="GObject wrapper for libusb" +HOMEPAGE="https://github.com/hughsie/libgusb" +SRC_URI="https://people.freedesktop.org/~hughsient/releases/${P}.tar.xz" + +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="alpha amd64 ~arm ~arm64 hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc x86" + +IUSE="+introspection static-libs vala" +REQUIRED_USE="vala? ( introspection )" + +RDEPEND=" + >=dev-libs/glib-2.28:2[${MULTILIB_USEDEP}] + virtual/libusb:1[udev,${MULTILIB_USEDEP}] + introspection? ( >=dev-libs/gobject-introspection-1.29:= ) +" +DEPEND="${RDEPEND} + dev-libs/libxslt + dev-util/gtk-doc-am + virtual/pkgconfig[${MULTILIB_USEDEP}] + vala? ( $(vala_depend) ) +" + +# Tests try to access usb devices in /dev +RESTRICT="test" + +src_prepare() { + gnome2_src_prepare + use vala && vala_src_prepare +} + +multilib_src_configure() { + ECONF_SOURCE=${S} \ + gnome2_src_configure \ + $(multilib_native_use_enable introspection) \ + $(use_enable static-libs static) \ + $(multilib_native_use_enable vala) + + if multilib_is_native_abi; then + ln -s "${S}"/docs/api/html docs/api/html || die + fi +} + +multilib_src_install() { + gnome2_src_install +} diff --git a/dev-libs/libgusb/metadata.xml b/dev-libs/libgusb/metadata.xml new file mode 100644 index 000000000000..2c138c7560a0 --- /dev/null +++ b/dev-libs/libgusb/metadata.xml @@ -0,0 +1,11 @@ + + + + + gnome@gentoo.org + Gentoo GNOME Desktop + + + hughsie/libgusb + + diff --git a/dev-libs/libgweather/Manifest b/dev-libs/libgweather/Manifest new file mode 100644 index 000000000000..210598b6ea8e --- /dev/null +++ b/dev-libs/libgweather/Manifest @@ -0,0 +1,7 @@ +DIST libgweather-3.20.4.tar.xz 3342220 SHA256 7dcdc555c48461d07a198bc44e0e6ed39105d8513b12fa97c4590f5b2d912fc2 SHA512 65b28a2bf8e9e7d8b02972d1d2f701ac8668b1e91154ba7ee94e9a08bb98d28ce44e88842e2fe78a13ce9f942d79fd2950d8de266dae28bb262c5fc11328ada9 WHIRLPOOL f01170d5e7790c22b1bfba8b6cd0e7b90708a818be2dc12a698e5ab4babb3efb6dfc368d7538b546a893a1b17b11ed04ebb0050c62b368f8f354ad9102b3c6e8 +DIST libgweather-3.24.1.tar.xz 3350680 SHA256 1227316037b63dac4153031a22abccb3d2ac679a7409e29cd303eec499eb653c SHA512 564464d7a18a8e0320871ea418b1163163941c950c5acea5ee65a087e44c4d81e019e2e3e4cb6751989f823cbb7c5691713d3dcef72aeaf6ff264e61b6f7b4b4 WHIRLPOOL 82ac37983c7c8f683b958d005f35b6eef72f5bffdfeebaca4ae903f41816d8fd3f1da6a162689b4880c05739d7d2a1238ff1277dd7694d857087b4c5a488c71f +EBUILD libgweather-3.20.4.ebuild 1304 SHA256 f252359740d34b6d7cc25783a6f3a944ed75892ae20b47db237dc6a8da66d178 SHA512 ab933db3ab16ad69d22d2ac2cad259dfc1ea51d9c9c7c87d9ab3eb49a88bfd13eaac9f895752b63de766d1301b1b67d066c1812ee64a25703e0eb8528a99d403 WHIRLPOOL e5acd0a95677218d1e8d70cad6acd212453443df8ce0542bfa596d3578fec33e772b45b61ac11e35e2152992c916f833020b23a690fc7450c6eca995fe129ddb +EBUILD libgweather-3.24.1.ebuild 1306 SHA256 accd4a2ff720e3438c9022005e3310b09ad00804152e5ef37aa55e6cea618125 SHA512 00e68f21eb07717ac66fc22bc90dc2414f8ded02885afee8472294da55bf0b649938ebf4c8986b937c4a0a47b42681950ce2a71b26222287004c17abf86f413b WHIRLPOOL 55e85d1e2b831d5e184c2c2a5fe68b3824a62d9626e1db215d86fab3a08c497df10c7dffffc210a6765d0a133c97bf5e897f6d7b980361915aeaad628fd1335f +MISC ChangeLog 5316 SHA256 49b67c70c9b7ee2850bbd3d62753f033b76c8386b52b400af859a3f21344752c SHA512 db2ad1c05ccb553cbd006c5d56bffde0516e0a4f3a90bdedfe44324f9828c5402c94424e195c564b1513284842ee3aa6c73f265fb708ddc47a75e85e0b0c7b8c WHIRLPOOL 3bb994f991222a5c9207a02514126d6766c25659818a01be1f8fd3726864a8c0b708144a3b7b7131b1bf7686971f0ccf2c09d65d4031ed15462e117f56eff6e5 +MISC ChangeLog-2015 17987 SHA256 a8c6e6769dacf556c6ce5c0c991b4ac6bf92036d250e15e773784db04c178a44 SHA512 c76cefa6e785759b118d6c54ac5bcdb8fd5368efead4e10c6740bd3a84d05c96e6055162120dc51e326779c52daada61d7a680baa3cd1c2cc3bf408d28b95ff6 WHIRLPOOL 977d4e8a2478dd23aa7baac06c54108c4d140f895d57adabe63339163ff7e286e4de702ddeaa138c7d2a4d18864bf31401d5c5db4bed7bbc9a10d0c3d64aee1f +MISC metadata.xml 349 SHA256 56eead446bb0fe35556cef86138d4390c69cf2a376fa1f5477885ee0609917dd SHA512 56d547e8cc66f19d606374f64c25546a687f3d199b083e406b871231a53362c0fdbcdf0a1c4f41810a2eb719e1bbab1c1589d7abeeb5630e1e04c20748b0df5f WHIRLPOOL 89b229447c7d5e904d0eadbe0ff3860f9f7d84892e52c9564431e975be325a8dfb029bcbbc5c68e3903c52781f6797a6ebe66447248120929948d6186d6186b8 diff --git a/dev-libs/libgweather/libgweather-3.20.4.ebuild b/dev-libs/libgweather/libgweather-3.20.4.ebuild new file mode 100644 index 000000000000..64344996e2d0 --- /dev/null +++ b/dev-libs/libgweather/libgweather-3.20.4.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +VALA_USE_DEPEND="vapigen" + +inherit gnome2 vala + +DESCRIPTION="Library to access weather information from online services" +HOMEPAGE="https://wiki.gnome.org/Projects/LibGWeather" + +LICENSE="GPL-2+" +SLOT="2/3-6" # subslot = 3-(libgweather-3 soname suffix) + +IUSE="glade +introspection vala" +REQUIRED_USE="vala? ( introspection )" + +KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sh ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris" + +COMMON_DEPEND=" + >=x11-libs/gtk+-3.13.5:3[introspection?] + >=dev-libs/glib-2.35.1:2 + >=net-libs/libsoup-2.44:2.4 + >=dev-libs/libxml2-2.6.0:2 + sci-geosciences/geocode-glib + >=sys-libs/timezone-data-2010k + + glade? ( >=dev-util/glade-3.16:3.10 ) + introspection? ( >=dev-libs/gobject-introspection-0.9.5:= ) +" +RDEPEND="${COMMON_DEPEND} + ! + + + + gnome@gentoo.org + Gentoo GNOME Desktop + + + Installs catalog files for dev-util/glade + + diff --git a/dev-libs/libhid/Manifest b/dev-libs/libhid/Manifest new file mode 100644 index 000000000000..6485d22a7363 --- /dev/null +++ b/dev-libs/libhid/Manifest @@ -0,0 +1,8 @@ +AUX libhid-0.2.16-gentoo.patch 628 SHA256 8e1b2de09cd20ad82dfc344f5bd7900e4c2e9597d6b8fa1ebc5df2593cc11753 SHA512 a756d99b115e1903ff633e511c8b9c2de1743b9d8c5050ba422281aea6c4d330b70632e45f688177d8d06ba4077574193e7e378f0e0a79924d2463f5e1584d40 WHIRLPOOL a68a7bf477a55afcb15b22f56bbe1b2f790927a8ad11062ab2963388d28e5838a65e58c402993db8f494b925f9be19750d7a1a225349d2a702ea57c92b6775ff +AUX libhid-0.2.16-libusb.patch 421 SHA256 cf9afdad56296622811feee908f506adcaa17aed6cd0f5f82f2fe7227fdb2a32 SHA512 0fa3be119d1ab3efa428c81b96709a0cee4fd40fa4515d255a64be095a4e26f68a2c8175beda6615c720aaa593edc5aaaa2909bfc5ab9e7f9b818d8c507b9fde WHIRLPOOL 40c91f44ca567417b4499047ffac83acb06dc9455cdc1dbef2bcd849b31974b140646ebd910832ca1171ef49122951bb7b2009f5fd8539eb8c2059ba208cf052 +AUX libhid-0.2.16-swig.patch 1424 SHA256 3994c73ecc8bc2faac6a2e26a9f574bee05b2340d5b87f8516afd714de79eb61 SHA512 62ff58921aa99947f8b33b0d1c02cf30f19fd3f75393cbb681846266b67af49bf6a2e70a995c9a7252b27c67e573e2c198b366830c15ca3c5e87a93325a849cb WHIRLPOOL 6cf22a0e2915d1cd643357a8846397484456d08a05321f58a6ad094c18a86b79183c18ee5cc7af70671fb7c4bee94088fd51194c08c4116a2776db3b8cd7fcb4 +DIST libhid-0.2.16.tar.gz 435245 SHA256 f6809ab3b9c907cbb05ceba9ee6ca23a705f85fd71588518e14b3a7d9f2550e5 SHA512 3c9348f9d63e0e1577e983c65ff8e6acbaee0d5f43ecb29b7004654a7e9d14a94176aa029f259e0b8576fc30e8a9af6d1df34912dd582bfadc2b29f9b87eb52b WHIRLPOOL 76edaf3a22f015d16fe2583102c9ee9a839ff17b8172309d3595f3054a22e3f8b119b3560a621490fac7a47966f2519b9b31824e91958012f767387adaa8871c +EBUILD libhid-0.2.16-r4.ebuild 1209 SHA256 0f683ad6a5c065472ef7b76233ee53cecbdbcb5e6a79ca96bb5e04558d21394b SHA512 d16cfc49ff2239d253c801e51043a1c5600779cf8c534e736b3c367ffcb114f6a92663ab067043eb47cde2479cd487b084c8f6d4c405a703fc95b0ea6e8b3e9d WHIRLPOOL d286b80d70425eb8e5852de98c54157cbb0ff0e2e0283f8f2bdc5154efb855e0c75a048d3eea2331000e3a1468249b0d441e5af7e35579b6a79876ae16a45b58 +MISC ChangeLog 3025 SHA256 11c975d21b98500a2c5704ab417779ac389817934f78cfcfaa078939b0b69de9 SHA512 bf23bbe01c2f9672bc364357ba19e0aec943497ba8a140f252d1834df92ad9034ee05cd470039ca30bdaedee3fabb10d5474dcca5a0db07428a5a85fe08dee81 WHIRLPOOL 700cd64a139f39db62c82138b7612fd98322301062eaf025875753433c949d8df025c4e168f9f2bb44e8bb1edced9d287f066ce83b2abaa634b027e31e8e2215 +MISC ChangeLog-2015 2433 SHA256 33b4a20764ddfc1677e83c0f0972882afef50b9e214f8adfd2caca3339bb48dc SHA512 4d9b5fe693d079a4731f544a3a3751bb82ae0b7544b79e7da26014eea038588430bf90d89886a7878b1982ea4ab24c5f8a06d0db2ed0a39950ca5c8766d46fa6 WHIRLPOOL 9845e170d4be4531f0b35045295394f6bfeadc2d0fdaf77249ec9daaa16d76a767b2ef8d83df4f43a750971e846bcf3e7c32bd3e20758152a26dd9e97c937e27 +MISC metadata.xml 495 SHA256 0b8bcaf0f3960dd351fed4106c241376527b6f7958d9da16c4b27f136e343faf SHA512 e465b7596e61565aa21ce9c32d7d76b099ee21c471c341677604f5816f2b7547c57f8a065f2bb9df2356c3e6d5fd26efb303884117096e8178127490a14ca268 WHIRLPOOL 9afba98ac9519cf36c8d859d7baa5c090cbf1893cadb6dc324f8a31a13c8d8a8b0c46f7dcf91b05ca4e5b304f409add9abb32907de45bd84f4f1a7ae6564bdfc diff --git a/dev-libs/libhid/files/libhid-0.2.16-gentoo.patch b/dev-libs/libhid/files/libhid-0.2.16-gentoo.patch new file mode 100644 index 000000000000..b5960af5d7d6 --- /dev/null +++ b/dev-libs/libhid/files/libhid-0.2.16-gentoo.patch @@ -0,0 +1,21 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -78,7 +78,6 @@ + AC_C_BIGENDIAN + AC_C_STRINGIZE + +-MD_CONF_DEBUGGING + MD_CONF_COMPILER + AM_CONDITIONAL(OS_LINUX, test "$MD_OS" = "linux") + AM_CONDITIONAL(OS_BSD, test "$MD_OS" = "bsd") +--- a/m4/md_check_gcc3.m4 ++++ b/m4/md_check_gcc3.m4 +@@ -1,7 +1,7 @@ + AC_DEFUN([MD_CHECK_GCC3], + [ + if [[ "$GCC" = "yes" ]]; then +- ver=$(gcc -dD -E - < /dev/null | sed -ne 's,.*__GNUC__ ,,p') ++ ver=$(${CC} -dD -E - < /dev/null | sed -ne 's,.*__GNUC__ ,,p') + case $ver in + *[[^[:digit:]]]*) + AC_MSG_WARN([Could not determine compiler version. Trying our luck...]) diff --git a/dev-libs/libhid/files/libhid-0.2.16-libusb.patch b/dev-libs/libhid/files/libhid-0.2.16-libusb.patch new file mode 100644 index 000000000000..aa49205ec75d --- /dev/null +++ b/dev-libs/libhid/files/libhid-0.2.16-libusb.patch @@ -0,0 +1,25 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -59,6 +59,8 @@ + MD_CHECK_OS + + MD_CHECK_LIBUSB018B ++LIBS="$LIBS $LIBUSB_LIBS" ++INCLUDES="$INCLUDES $LIBUSB_CFLAGS" + + AC_PROG_CC + MD_CHECK_GCC3 +@@ -97,13 +99,6 @@ + + MD_CHECK_DOXYGEN + +-MD_CONF_FLAGS( +- [], +- [$OS_CFLAGS $LIBUSB_CFLAGS], +- [], +- [$OS_LDFLAGS $LIBUSB_LIBS] +-) +- + MD_CONF_DB2MAN + + ##### OUTPUT ################################################################# diff --git a/dev-libs/libhid/files/libhid-0.2.16-swig.patch b/dev-libs/libhid/files/libhid-0.2.16-swig.patch new file mode 100644 index 000000000000..ce5dae7481b9 --- /dev/null +++ b/dev-libs/libhid/files/libhid-0.2.16-swig.patch @@ -0,0 +1,45 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -88,8 +87,8 @@ + if test "${ac_cv_enable_swig}" = "no" ; then + AM_CONDITIONAL(HAVE_SWIG, false) + else +- AC_PROG_SWIG(1.3) +- AM_CONDITIONAL(HAVE_SWIG, "$SWIG" -version) ++ AC_CHECK_PROG(SWIG,swig,swig,false) ++ AM_CONDITIONAL(HAVE_SWIG, "$ac_cv_prog_SWIG" -version) + if test -z "${HAVE_SWIG_TRUE}" ; then + AM_PATH_PYTHON + SWIG_PYTHON +--- a/swig/Makefile.am ++++ b/swig/Makefile.am +@@ -1,7 +1,7 @@ + # AM_MAKEFLAGS = @MAKEFLAGS@ + ACLOCAL_AMFLAGS = -I m4 + +-AM_CPPFLAGS = $(SWIG_PYTHON_CPPFLAGS) -I$(top_srcdir)/include -I$(top_srcdir)/hidparser -DHID_INTERNAL -DSWIG ++AM_CPPFLAGS = $(SWIG_PYTHON_CPPFLAGS) -iquote$(top_srcdir)/include -I$(top_srcdir)/hidparser -DHID_INTERNAL -DSWIG + AM_CFLAGS = -fPIC -fno-strict-aliasing + AM_LDFLAGS = -shared ../src/libhid.la -lusb + +@@ -29,7 +29,7 @@ __init__.py: hid.py + + %_wrap.c %.py: %.i $(top_srcdir)/include/hid.h + $(SWIG) $(SWIG_PYTHON_OPT) $(SWIG_INC) -o $@ $< +- echo '#include ' > tmp.c ++ echo '#include "compiler.h"' > tmp.c + sed -e 's/PyObject \*self/& UNUSED/' \ + -e 's/int flags)/int flags UNUSED)/' < $@ >> tmp.c \ + && mv tmp.c $@ +--- a/swig/hid.i ++++ b/swig/hid.i +@@ -1,7 +1,7 @@ + %module(docstring="libhid is a user-space USB HID access library built on libusb.", "threads"=1) hid + %{ +-#include +-#include ++#include "compiler.h" ++#include "hid.h" + %} + + %feature("autodoc","0"); diff --git a/dev-libs/libhid/libhid-0.2.16-r4.ebuild b/dev-libs/libhid/libhid-0.2.16-r4.ebuild new file mode 100644 index 000000000000..d082da46f04a --- /dev/null +++ b/dev-libs/libhid/libhid-0.2.16-r4.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +PYTHON_COMPAT=( python2_7 ) +inherit autotools eutils python-single-r1 + +DESCRIPTION="Provides a generic and flexible way to access and interact with USB HID devices" +HOMEPAGE="http://libhid.alioth.debian.org/" +SRC_URI="http://beta.magicaltux.net/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="doc python static-libs" + +RDEPEND=" + python? ( ${PYTHON_DEPS} ) + virtual/libusb:0 +" +DEPEND=" + ${RDEPEND} + doc? ( app-doc/doxygen ) + python? ( dev-lang/swig ) +" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +src_prepare() { + epatch "${FILESDIR}"/${P}-gentoo.patch + epatch "${FILESDIR}"/${P}-swig.patch + epatch "${FILESDIR}"/${P}-libusb.patch + + eautoreconf +} + +src_configure() { + export OS_LDFLAGS="${LDFLAGS}" + use python && export PYTHON_LDFLAGS=$(${EPYTHON}-config --ldflags) + + econf \ + $(use_enable python swig) \ + $(use_enable static-libs static) \ + $(use_with doc doxygen) \ + --disable-debug \ + --disable-werror +} + +DOCS=( AUTHORS ChangeLog NEWS README README.licence TODO ) + +src_install() { + default + + use doc && dohtml -r doc/html/* + + prune_libtool_files +} diff --git a/dev-libs/libhid/metadata.xml b/dev-libs/libhid/metadata.xml new file mode 100644 index 000000000000..8ab798976991 --- /dev/null +++ b/dev-libs/libhid/metadata.xml @@ -0,0 +1,11 @@ + + + + + +libhid provides a generic and flexible way to access and interact with USB +HID devices, much like libusb does for plain USB devices. It is based on +libusb, thus it requires no HID support in the kernel and provides means to +take control over a device even if the kernel governs it. + + diff --git a/dev-libs/libhome/Manifest b/dev-libs/libhome/Manifest new file mode 100644 index 000000000000..ad33d0ea0d41 --- /dev/null +++ b/dev-libs/libhome/Manifest @@ -0,0 +1,7 @@ +AUX libhome-0.10.2-Makefile.patch 2591 SHA256 3952f5f7efe22f996856abba0a237ec709278b7d0a2482ee703ce7833aaf7fdf SHA512 e09c736127e015c4e68a572626c04162fc42736c6e8628772f268fe2df164e78e36a2d213b17072dfba31d31f0063615da89e5ceac176b2dd93b56a4c192b020 WHIRLPOOL ace1aa12e32ea54a4a080050b3f234dba92ecaffd5526d16996628c141c0006d3fd06878a67b0eb40acf109d2b85669e53aae7f9814760ad90d04d0044a42e5c +AUX libhome-0.10.2-ldap_deprecated.patch 436 SHA256 89286c93b11eef9584052c060d5d04bf227ee3730d06f1dd85130ff51e8f8937 SHA512 9837639846acb2e89c92e0b821faf40d9ee82af9f6837ea69b3d435da6433c6095b45dbf09178de5d361993405141bf9ac7b91e8f6a0bda65d038f80c6897ae7 WHIRLPOOL b2f84b52e6fa727d9e24cf5a32c151a5f98a0f490d0bd9c3dfd735d94501f6552778cd9e90671f8f16486dacb0f050d675fe2fca5dde8dcdb0254d1715ca5dff +DIST libhome-0.10.2.tar.gz 286453 SHA256 a099e61e83c140d74e3515135881903f26358bc32ce97292c8a8c673e7c0de13 SHA512 9f144b6aeb8e01f5ca2f8f90c5289d4449895e2eddbfd2d8d9b1828bb203fd8f68c224c0f068ffabfa5ee1514f9b756cb2499f862418d793eb8d06ae960447a9 WHIRLPOOL 04db6d6406e9f4f715db2236fa48b2b1e5bc7e625cbfd1c0ac192fff58dac71bc4e9ef1dac6cdd4d8ab01beede31ecda7c9fac6ec239939ef061e576c0250b44 +EBUILD libhome-0.10.2-r1.ebuild 1208 SHA256 f36fc924dba8e90e265a34bc3e5f9592904b900237fb1a31e810831aa5fcbb37 SHA512 6d994881ee0834575f23c8832c7526d5a601fef122cf3f2de17b7a866f81640227ef0880b5d9cea3287a71e83f0cef10067117d2932c2b039b6575002cbd8e94 WHIRLPOOL 0bc351b3316f27540593d7e4dcee5943d8f25c99d94413585ee65d85698915c0439b63bac6b4578dd9f8162306d314c4d0957db895c8a982228e448ef0257568 +MISC ChangeLog 2617 SHA256 e185b178fe9f1608b48fd5cc858456b6a2868f2c6ab7d73b2d8c60d379bf9c2f SHA512 75ead655ac873a79288010d697b62d36b14635336cd4f7cbb38438d0d7ba290509a7ed2ec5906cf3ad782647ad997dba284bb53e2284b1a54bf94b21e50e4c9b WHIRLPOOL 9afd70f21be57f603ceb19b5f9a31e73930ed23b7229c9fc0581f935b035d70f4204cf72fec8a44e868f1648aaa78445075e9dcfe6b904a8d71b4b496dc84125 +MISC ChangeLog-2015 3208 SHA256 7700da80fb628645eabbb0cc500c9f7cde75e3648bb5c2680aec99485f9e7019 SHA512 6d67908123fc8df9a41b845bb429d68033dae3af0b04ff2031dc90102ce048f5da88e63fcb2afc7e4702e8c063b04f6d66356ecce9831390528856c4ee9f18da WHIRLPOOL ffe712f5c5d420d8e9c5912324503968c8d5a61321944d18b231ac11b459dfe23619fff51095b8abb6699700e64f18a2a38ea089730e992858da5c75e606b1bb +MISC metadata.xml 240 SHA256 428e0d302706c12f7ca6a9430ec01a562a9bb08d13db86d35384354608c05c07 SHA512 b81e5b5547e3dc86326d624d771f3c7a55f6b85989c0de3827fd9df823f7fef49d66e6ba814d1ee6ee0e02bbc9705f00aa74ea6d247abe3db5cf3a57e4171455 WHIRLPOOL 9c679241c863adeac24bbba3ac6bc107f107d5cbc7dcdb58bba457c1524b422f3f3eee7d4b0661784a52a401945ce9b7d6b63ef94f1223a2871a1823d84a4920 diff --git a/dev-libs/libhome/files/libhome-0.10.2-Makefile.patch b/dev-libs/libhome/files/libhome-0.10.2-Makefile.patch new file mode 100644 index 000000000000..54915fd4bb04 --- /dev/null +++ b/dev-libs/libhome/files/libhome-0.10.2-Makefile.patch @@ -0,0 +1,59 @@ +--- Makefile.in ++++ Makefile.in +@@ -61,7 +61,7 @@ + LIBTOOL=./libtool + + COMPILE=${LIBTOOL} --mode=compile ${CC} ${CPPFLAGS} ${CFLAGS} +-LINK=${LIBTOOL} --mode=link ${CC} ${CFLAGS} ++LINK=${LIBTOOL} --mode=link ${CC} ${CFLAGS} ${LDFLAGS} + + + hparam.o: version.h +@@ -114,27 +114,32 @@ + install:: install-man install-lib + + install-man:: home.conf.5 +- ${INSTALL_DATA} home.conf.5 ${mandir}/man5/ +-@DO_PROXY@ ${INSTALL_DATA} home_proxy.8 ${mandir}/man8/ ++ ${INSTALL} -d $(DESTDIR)${mandir}/man5 ++@DO_PROXY@ ${INSTALL} -d $(DESTDIR)${mandir}/man8 ++ ${INSTALL_DATA} home.conf.5 $(DESTDIR)${mandir}/man5/ ++@DO_PROXY@ ${INSTALL_DATA} home_proxy.8 $(DESTDIR)${mandir}/man8/ + + install-lib:: all +- ${LIBTOOL} --mode=install ${INSTALL_DATA} libhome.la ${libdir}/ ++ ${INSTALL} -d $(DESTDIR)${libdir} ++ ${INSTALL} -d $(DESTDIR)${bindir} ++@DO_PROXY@ ${INSTALL} -d $(DESTDIR)${sbindir} ++ ${INSTALL} -d $(DESTDIR)${includedir}/home ++ ${LIBTOOL} --mode=install ${INSTALL_DATA} libhome.la $(DESTDIR)${libdir}/ + test "@PRELOAD_LIB@" = "" || \ +- ${LIBTOOL} --mode=install ${INSTALL_DATA} @PRELOAD_LIB@ ${libdir}/ +- ${LIBTOOL} --mode=install ${INSTALL_PROGRAM} home_finger ${bindir}/ +- ${LIBTOOL} --mode=install ${INSTALL_PROGRAM} home_su ${bindir}/ +- -mkdir -p ${includedir}/home +- ${INSTALL_DATA} hpwd.h ${includedir}/home/pwd.h +- ${INSTALL_DATA} hpwd.h ${includedir}/home/ +- ${INSTALL_DATA} hparam.h ${includedir}/home/ +- ${INSTALL_DATA} home_version.h ${includedir}/home/ ++ ${LIBTOOL} --mode=install ${INSTALL_DATA} @PRELOAD_LIB@ $(DESTDIR)${libdir}/ ++ ${LIBTOOL} --mode=install ${INSTALL_PROGRAM} home_finger $(DESTDIR)${bindir}/ ++ ${LIBTOOL} --mode=install ${INSTALL_PROGRAM} home_su $(DESTDIR)${bindir}/ ++ ${INSTALL_DATA} -D hpwd.h $(DESTDIR)${includedir}/home/pwd.h ++ ${INSTALL_DATA} -D hpwd.h $(DESTDIR)${includedir}/home/ ++ ${INSTALL_DATA} -D hparam.h $(DESTDIR)${includedir}/home/ ++ ${INSTALL_DATA} -D home_version.h $(DESTDIR)${includedir}/home/ + chmod +x libhome.sh +- ${INSTALL_SCRIPT} libhome.sh ${bindir}/ +-@DO_PROXY@ ${LIBTOOL} --mode=install ${INSTALL_PROGRAM} home_proxy ${sbindir}/ +-@DO_NSS@ ${LIBTOOL} --mode=install ${INSTALL_DATA} ${NSS_LIB} ${libdir}/ ++ ${INSTALL_SCRIPT} -D libhome.sh $(DESTDIR)${bindir}/ ++@DO_PROXY@ ${LIBTOOL} --mode=install ${INSTALL_PROGRAM} home_proxy $(DESTDIR)${sbindir}/ ++@DO_NSS@ ${LIBTOOL} --mode=install ${INSTALL_DATA} ${NSS_LIB} $(DESTDIR)${libdir}/ + + install-nss:: nss +-@DO_NSS@ ${LIBTOOL} --mode=install ${INSTALL_DATA} ${NSS_LIB} ${libdir}/ ++@DO_NSS@ ${LIBTOOL} --mode=install ${INSTALL_DATA} ${NSS_LIB} $(DESTDIR)${libdir}/ + + compat: + -mkdir compat diff --git a/dev-libs/libhome/files/libhome-0.10.2-ldap_deprecated.patch b/dev-libs/libhome/files/libhome-0.10.2-ldap_deprecated.patch new file mode 100644 index 000000000000..a96645176c13 --- /dev/null +++ b/dev-libs/libhome/files/libhome-0.10.2-ldap_deprecated.patch @@ -0,0 +1,12 @@ +Index: libhome-0.10.2/hldap.c +=================================================================== +--- libhome-0.10.2.orig/hldap.c ++++ libhome-0.10.2/hldap.c +@@ -27,6 +27,7 @@ static char const rcsid[] UNUSED = + "$Id: libhome-0.10.2-ldap_deprecated.patch,v 1.1 2009/07/05 19:25:41 hollow Exp $"; + + #define passwd system_passwd ++#define LDAP_DEPRECATED 1 + #include /* for openldap 1.x */ + #include + #include diff --git a/dev-libs/libhome/libhome-0.10.2-r1.ebuild b/dev-libs/libhome/libhome-0.10.2-r1.ebuild new file mode 100644 index 000000000000..ef3cfe46b6ca --- /dev/null +++ b/dev-libs/libhome/libhome-0.10.2-r1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit autotools db-use eutils + +DESCRIPTION="libhome is a library providing a getpwnam() emulation" +HOMEPAGE="http://pll.sourceforge.net" +SRC_URI="mirror://sourceforge/pll/${P}.tar.gz" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="berkdb ldap mysql pam postgres" + +DEPEND="berkdb? ( >=sys-libs/db-4 ) + ldap? ( net-nds/openldap ) + mysql? ( virtual/mysql ) + pam? ( virtual/pam ) + postgres? ( dev-db/postgresql[server] )" +RDEPEND="${DEPEND}" + +src_prepare() { + rm -f aclocal.m4 + + epatch "${FILESDIR}"/${PN}-0.10.2-Makefile.patch + epatch "${FILESDIR}"/${PN}-0.10.2-ldap_deprecated.patch + + # bug 225579 + sed -i -e 's:\:__PKG_VERSION:' configure.in + + sed -i -e '/AC_SEARCH_LIBS.*db4/s: db-4.* db4:'$(db_libname)':' \ + configure.in + + eautoreconf +} + +src_configure() { + econf --without-db3 \ + $(use_with berkdb db4 $(db_includedir)) \ + $(use_with ldap) \ + $(use_with mysql) \ + $(use_with pam) \ + $(use_with postgres pgsql) \ + || die "econf failed" +} + +src_compile() { + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "make install failed" +} diff --git a/dev-libs/libhome/metadata.xml b/dev-libs/libhome/metadata.xml new file mode 100644 index 000000000000..77f70a1e61a5 --- /dev/null +++ b/dev-libs/libhome/metadata.xml @@ -0,0 +1,8 @@ + + + + + + pll + + diff --git a/dev-libs/libhtmlparse/Manifest b/dev-libs/libhtmlparse/Manifest new file mode 100644 index 000000000000..c9846a460558 --- /dev/null +++ b/dev-libs/libhtmlparse/Manifest @@ -0,0 +1,5 @@ +DIST libhtmlparse-0.1.13.tar.gz 202176 SHA256 d8259d8b07691dff589741c20161c32be45ac5ee43d4ba8d5caa6901e430f4ad SHA512 51366b24ebf5cc1e494f146ec996f9327d20a41cd425ccade23c45bc95eaf76dc5e339aee6a459c794f527a55d7cf96502832dbe88281ee7c7e2b3c14d3a53aa WHIRLPOOL c23ca68cd8c5449039a11d1a939afc7a5805aeb7cacb742f4d160ca52158c3aca88f034fc128c0f73582acc9ef34451efb4e39575af67fb178aa7737a4437b1e +EBUILD libhtmlparse-0.1.13-r1.ebuild 808 SHA256 42a6b7bc93f2d8d13dbf7d21de47be5ec243ecf9aa06cc937d11cb414d73ae79 SHA512 70366b071bd1537d52d496981b01dea528d3cfe95fe3e0f11c8d222b9829acb75ac22270a64823515d483a351367db4d106be14f9e98e36230b32ac4b1fbe88c WHIRLPOOL 4dd4fb630953922ec4470266dac9084469b269e3f5f7c5e721b5241fe31c73c5e67538469f1e0dae73f7c68b9e9fbbe046da1fa5961eadac79897f9398b06fc4 +MISC ChangeLog 2938 SHA256 6c5768246342f43a919df7ccf1a0eee4c0c6fb08714ffd06a2cc0524607be76c SHA512 7bd4faebcdb453495fab2276a4239053a813d288de170274b93111044ff9416f113de39715fd4db7bae82c18e11d180f643332f8cabe32619ddb779d79c97361 WHIRLPOOL e2a30d8200b7b9cc2b06d799da37011abb3130a99f383886a624401572edeaffbd1793483da83f21cc92c19e191f0a169d58bcc8501dc807e774afe74c203a84 +MISC ChangeLog-2015 2213 SHA256 2b6f69abc268eb652d1ed3231522930c82066b174d5b0ad7c8337eb2feba525d SHA512 c942bc667c7983daf15b8e7523fcaab73d9399fd54568057d6fa2f1f982e6b735a70084f3625d44aab031936afe4fa9295dfbbfacc729ee736005f505af7576a WHIRLPOOL 3d78951e3fc0812fe9ab20756f02710c1a225093a8b38d4380e699df080f923dcc07e6032a550a2f570774504e82f9a8eb240a55936d83a7a33c1dea9ba3d775 +MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968 diff --git a/dev-libs/libhtmlparse/libhtmlparse-0.1.13-r1.ebuild b/dev-libs/libhtmlparse/libhtmlparse-0.1.13-r1.ebuild new file mode 100644 index 000000000000..b087e1d46606 --- /dev/null +++ b/dev-libs/libhtmlparse/libhtmlparse-0.1.13-r1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils + +DESCRIPTION="HTML parsing library" +HOMEPAGE="http://msalem.translator.cx/libhtmlparse.html" +SRC_URI="http://msalem.translator.cx/dist/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 x86" +IUSE="static-libs" + +DOCS=( AUTHORS BUGS INSTALL ChangeLog NEWS README TODO ) + +src_unpack() { + # for some reason, we get a "this does not look like a tar archive" error + # but the following works... go figure. + gunzip -c "${DISTDIR}"/${P}.tar.gz > ${P}.tar || die 'gunzip failed' + tar xf ${P}.tar || die "failed to unpack ${P}.tar" + rm ${P}.tar || die "rm failed" +} + +src_configure() { + econf \ + $(use_enable static-libs static) +} + +src_install() { + default + prune_libtool_files +} diff --git a/dev-libs/libhtmlparse/metadata.xml b/dev-libs/libhtmlparse/metadata.xml new file mode 100644 index 000000000000..6f49eba8f496 --- /dev/null +++ b/dev-libs/libhtmlparse/metadata.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/dev-libs/libical/Manifest b/dev-libs/libical/Manifest new file mode 100644 index 000000000000..120b153e1cc1 --- /dev/null +++ b/dev-libs/libical/Manifest @@ -0,0 +1,8 @@ +AUX fix-libdir-location.patch 892 SHA256 fffef6dc50e069af7856b6b1e28bf76bf71d0ff1bb0ad7c530629c92bee06135 SHA512 5505fd7de9a1650d091006fc47b3a82d5c8b6cb0c7c9ce0a5304c4a0384be36d726b281823798c8b869c49ee502cb8b0f3bf86ae2d6c80888d83134298874b79 WHIRLPOOL bd561858fcb64da1dc574cc07658ff2ed20edc4769503495e513279013e0ced8df5c23d719a6c7234b873665cc5c25898eed5c0faf6ae06c6051a44c272faaa6 +DIST libical-1.0.1.tar.gz 720618 SHA256 7d5f613454ec6c7d1bcfb441c919215be53292aa15cd1cb14249d1413d6c610c SHA512 efce88c73352fc34e9f7eda2234bdb593e917b33d1373cc6e6a21a72db1b14f2ed72976d6084dddcd8f07b08a15d5f04370bc825695d2fd40cc7b8488a7a977f WHIRLPOOL b9b4aa3fe0287a5394a8b23a1c3c810059554f6cce396b98f383df9950f984e0d18961086ecbdeb1c099ca6c63f68ceb2be08a9471817e0554ecc6e7fce06347 +DIST libical-2.0.0.tar.gz 699099 SHA256 20f4a98475052e1200d2691ba50b27969e4bedc6e50bffd5e2fa81f4ac90de9a SHA512 0b80f9aa40e0a485371b5949152c10d7fffb6e0dfe8c2aabc3c6e4e97ba0cdd465ae7093343245be60173bc7b24e80e919c0c0e199ff0bb2b14ed94af7087c4f WHIRLPOOL 64006dba88b8e3b691620b0f349ad06112c23903be977675a61a49dc2af3e90e9869993100261b0eb401964e7115133fcbf6048c68cf39607d3273eec8f6a158 +EBUILD libical-1.0.1.ebuild 1276 SHA256 13e667ef0c49f2df2559070c10a1eda778995f0f6cd3679cbffcdb535d96cedb SHA512 712364e9a0276b05cd98e6ca57fa974f653540da3e884a5ae3ce9d9d08e75910860396daf839a9dd086afbdf2cfbc8ef3bf16c5d0640828750cbd616ce5f8117 WHIRLPOOL 74b22c6405bc2d46704ecbd65afaaf35f9c7c9fca514e75bf70bf2baa5f4766b2e707307e041575e7bee885d64a194caf46441b13b94cbecaed3078e191227dc +EBUILD libical-2.0.0-r2.ebuild 1410 SHA256 b94ef707524dfc3467eb2b8fa73ea9b91b04c35ad38615be5c2d3ac14ccf06e5 SHA512 6f4eab47e67718a9852ea95dca84e33b4c4dfaaadc0045cc3a3c0119c25766f21d93e62259f9f717e47fa94b5b72d9ae62a032285f07890957a6939a1d9caa85 WHIRLPOOL 81eac41bbbd35b778322e96aa0c99ac7504e9c752c3f21934ea4f735b1663447dbe256b107156c967add8ac310a980a15ef3557dacb3838f5e81938a282aee1b +MISC ChangeLog 3422 SHA256 3a4b12bbc191de6b79d8620d9f2a427a26ca60551143f76b5320f7c6a34d126d SHA512 9c8a9ff84c5203a5d35c3e7dcd12b5d81f418f6ae387276dcde1148b59e1d1a43a671681a01807324e66c4580fb912cc6b33aae81c954d21dfa4324032b00be8 WHIRLPOOL a7ffdb62e3da00c2388a1efb5d8af2aa9f1f105b3f5b1097bb8a483e4c12b8f6e272e2f03a2a56644c130f28d1dcb5e7162ef2d72ff0bc6ae12ad1d286f8afbb +MISC ChangeLog-2015 11926 SHA256 ae72fe99ec65cb3681beec8e897cff614efc156d7e0aa982d6502d7d0d75fad2 SHA512 ee89e224f4705bd0ed667dba7f0d25e35256b4fb3256b50b9578f958f1b996df2b102004a8967aead962478b9cc36e2c5e3560e0b3b7712f1ef43952b8df02bd WHIRLPOOL 738a7f3a83c9394174c871c009da12d46a7db581622e5fee4c31ae6fabe828540cb39c5bf1aa8bac306b4cec73147c9ef1f58e3bb717bcb94554521f47b1ba80 +MISC metadata.xml 252 SHA256 75c12ea078ba56f43706984593042318b4e6c2c588b67b0f0f1479c3de0e98ed SHA512 526fbe215d17a7e22c1c2ab946806b7c115021e76845b0d7b3facf160fd73a6ece833030549a36b4f39de1691db057885fa95a3007f5a05e1df493d174bf1c0e WHIRLPOOL b84d86052781197deaf86d37c28065311076e09b2c757cf6668a34596586cbb8abc8971d0c0788d256d32ffb4a684a022e5a283e42cbd2423eb4bdfb1ac9d055 diff --git a/dev-libs/libical/files/fix-libdir-location.patch b/dev-libs/libical/files/fix-libdir-location.patch new file mode 100644 index 000000000000..53eb2040bc09 --- /dev/null +++ b/dev-libs/libical/files/fix-libdir-location.patch @@ -0,0 +1,26 @@ +This is a patch for Gentoo bug 560572, provided by Georgi Georgiev. + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 773cf0c..e282ce4 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -336,7 +336,7 @@ endif() + set(VERSION "${PROJECT_VERSION}") + set(prefix "${CMAKE_INSTALL_PREFIX}") + set(exec_prefix "\${prefix}") +-set(libdir "\${exec_prefix}/lib") ++set(libdir "${LIB_INSTALL_DIR}") + set(includedir "\${prefix}/include") + set(PTHREAD_LIBS "${CMAKE_THREAD_LIBS_INIT}") + +diff --git a/libical.pc.in b/libical.pc.in +index 7774dce..bf88476 100644 +--- a/libical.pc.in ++++ b/libical.pc.in +@@ -8,5 +8,5 @@ iculib=@ICU_LIBRARIES@ @ICU_I18N_LIBRARIES@ + Name: libical + Description: An implementation of basic iCAL protocols + Version: @VERSION@ +-Libs: -L${libdir} -lical -licalss -licalvcal ${threadslib} ${iculib} ++Libs: -lical -licalss -licalvcal ${threadslib} ${iculib} + Cflags: -I${includedir} diff --git a/dev-libs/libical/libical-1.0.1.ebuild b/dev-libs/libical/libical-1.0.1.ebuild new file mode 100644 index 000000000000..610e4e22bee3 --- /dev/null +++ b/dev-libs/libical/libical-1.0.1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit cmake-utils + +DESCRIPTION="An implementation of basic iCAL protocols" +HOMEPAGE="https://github.com/libical/libical" +SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +# FIGURE OUT: Why ebuild for 1.0 was marked || ( MPL-1.1 LGPL-2 ) against what COPYING file says? +LICENSE="|| ( MPL-1.0 LGPL-2.1 )" +SLOT="0/1" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" +IUSE="doc examples introspection static-libs" + +RDEPEND="introspection? ( dev-libs/gobject-introspection )" +DEPEND="${RDEPEND} + dev-lang/perl" + +DOCS=( + AUTHORS ReadMe.txt ReleaseNotes.txt TEST THANKS TODO + doc/{AddingOrModifyingComponents,UsingLibical}.txt +) + +src_configure() { + local mycmakeargs=( $(cmake-utils_use introspection GOBJECT_INTROSPECTION) ) + use static-libs || mycmakeargs+=( -DSHARED_ONLY=ON ) + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile -j1 +} + +src_install() { + cmake-utils_src_install + + if use examples; then + rm examples/Makefile* examples/CMakeLists.txt + insinto /usr/share/doc/${PF}/examples + doins examples/* + fi +} diff --git a/dev-libs/libical/libical-2.0.0-r2.ebuild b/dev-libs/libical/libical-2.0.0-r2.ebuild new file mode 100644 index 000000000000..32dc6201e26a --- /dev/null +++ b/dev-libs/libical/libical-2.0.0-r2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit cmake-utils + +DESCRIPTION="An implementation of basic iCAL protocols" +HOMEPAGE="https://github.com/libical/libical" +SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="|| ( MPL-1.0 LGPL-2.1 )" +SLOT="0/2" +KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" +IUSE="doc examples static-libs" + +# The GOBJECT_INTROSPECTION build is broken, and upstream has given up +# on it at the moment (it's disabled in Travis). It will probably come +# back in v2.0.1 or later. +# This snippet belongs to RDEPEND: +# introspection? ( dev-libs/gobject-introspection )" +RDEPEND="dev-libs/icu:=" +DEPEND="${RDEPEND} + dev-lang/perl" + +DOCS=( + AUTHORS ReadMe.txt ReleaseNotes.txt TEST THANKS TODO + doc/{AddingOrModifyingComponents,UsingLibical}.txt +) + +PATCHES=( "${FILESDIR}/fix-libdir-location.patch" ) + +src_configure() { + # See above, introspection is disabled for v2.0.0 at least. + #local mycmakeargs=( + # -DGOBJECT_INTROSPECTION=$(usex introspection true false) + #) + use static-libs || mycmakeargs+=( -DSHARED_ONLY=ON ) + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + + if use examples; then + rm examples/CMakeLists.txt || die + dodoc -r examples + fi +} diff --git a/dev-libs/libical/metadata.xml b/dev-libs/libical/metadata.xml new file mode 100644 index 000000000000..35e5fb38c4e7 --- /dev/null +++ b/dev-libs/libical/metadata.xml @@ -0,0 +1,8 @@ + + + + + + libical/libical + + diff --git a/dev-libs/libiconv/Manifest b/dev-libs/libiconv/Manifest new file mode 100644 index 000000000000..885dfc3dfa0b --- /dev/null +++ b/dev-libs/libiconv/Manifest @@ -0,0 +1,9 @@ +AUX libiconv-1.10-link.patch 910 SHA256 99618454073097c4946acd4df69f2af961f7bfd3b52d0e385722a6cc4b81d8d8 SHA512 348700cbc210aad66ea5ff9099b9a871210f211ca2f241be5332b90810b886965b2d5c4a462979f164bd51be033be1ad2f6e92c6efe4171afa0a12db8153bb5d WHIRLPOOL f31c3e61cf49ab99320406a8842be743f61b76be4291fb1b02839b6b0a0950f4d310fc5cc067dfb348eb30550e3634c01f08bcde94af925ef2deb0b0abd4fdee +AUX libiconv-1.14-no-gets.patch 836 SHA256 36742e571eaf7ec63856ec5dbcf8780fa724a72be4287596d32d23b5c4532af3 SHA512 3bb04769c46964d4357aba57b16a2cbdb5c666d839d46fcc0a11be945da9e855f5e0682c2dccd2fd66baab74e3429040849c503e9bcd05e53962f7680b2c0713 WHIRLPOOL 887ffcaaf0ac7634e238055c13abe14a6d4147d34e420c8c24e7337c4e55cdb82822802693573dc884ce6401a78dbf1fcaa9a92c08757fafae713d31c25aeed7 +DIST libiconv-1.14.tar.gz 4984397 SHA256 72b24ded17d687193c3366d0ebe7cde1e6b18f0df8c55438ac95be39e8a30613 SHA512 b96774fefc4fa1d07948fcc667027701373c34ebf9c4101000428e048addd85a5bb5e05e59f80eb783a3054a3a8a3c0da909450053275bbbf3ffde511eb3f387 WHIRLPOOL e96337209a4f86eccb112e94c3cd6b668b2a8fc4b05ed7becaa2f6fbc9279f7b32ec1fa4b086e61520bfffea5d4f7a1cad58bdb266b5f0aa7d02b89aeed9759a +EBUILD libiconv-1.14-r1.ebuild 1385 SHA256 02277445e32d82e69fb04b523a49ffb285eee5a2aafbd9bca4cdb92b9b2c7cfb SHA512 73fe8e4bd0f1bc966d5bf15c0c1409078cf652397c47223cbca210127ed86759337abf7c7bf296268f9f75dda25d41808ca1af3edea50a7029344f0cbc21f744 WHIRLPOOL 9421755b0011fa8d28afb91aa9b22e167112be89104c81b1905fe481c4c66974a8792b304fae511a382468bc1d78e2a29de583d203c95aca54fb7bf28cc947a5 +EBUILD libiconv-1.14-r2.ebuild 1515 SHA256 437a70ac535520b561d85ac6212f315d492bff5fde0cf3e4a577c801a0ee9297 SHA512 b1cd99126fdb3365b228f386792ad94e6e8ddb6567e7a1d2552c89d40766f304893c30e231dfb57b23a35ed5b3101a8f7065410b3147c70d77ae4abc861f6c52 WHIRLPOOL c00acd309578533bcaa2bfeb168ed4b2079058a81ed1d6334ff672a8036fdc4d9fe793028cce81b05c844a018b25c1e9153a5f72752a6e796a6147add0a44d78 +EBUILD libiconv-1.14.ebuild 986 SHA256 e25d66564ec12edd9ce6564a932284abe5d68f5fc1374dd0b8aa1ca316c01121 SHA512 4a3bee9887d6a39f4e96684548f71e5a494d21b3fec6b0b413ba4e34b7894799bf9114f72072a449a4925856b28b4c9c001e2b9ceceb55eb75677c2327ee7bf1 WHIRLPOOL 072ef9b360aa5260b9e4b2b2eb5e46871eea7dce9317b5cdb07672849bc3037de780da6cdd6ce54bdfd6b1bf858ae07f4ffcc8b651293913733857ccf2eab854 +MISC ChangeLog 3737 SHA256 67305cdc6702794c17f34b6f05ec4c6535298cfce47e5c254134bfad586706fc SHA512 615e7fa483282d33ba1be5e8ef9658ad79253dfa3a2330a62b6e8531893a9cd2f6f75c3fe144e45d81fd109e2f47445ef015841ab2ece40112b1c0294a3b5c01 WHIRLPOOL 2df98f9925b9e8ac6eda81875d8a800c70405072f6ec2cb22d545070bb042aaee579ec92dd7b2dcf71f4380166ff33d32e0abbc2c9991af99f1227543290ac5b +MISC ChangeLog-2015 7092 SHA256 89405bfc417dfdbe0ba095a1c4690461cf77f7d5e93dd9774692786e059915cb SHA512 33c2c31a7630adab5f5223e74601389c02e18131d597ee5614f9f970ee25f8574eac5e82109461c297a0744de61b85684891b41341f73af488d33683060fa497 WHIRLPOOL cc76fd0b871d8309398678562c4bb888783438db9f6d2d2963e41d22a625c5fc86a6c72b4fc4b5f0b6060da7d88ab1bc06305e8df5dca94511b569fcb123486d +MISC metadata.xml 564 SHA256 2cde04a8c5d739116a75feb61677ddfa46b40cc67f4808de166deb9d48abc49c SHA512 7c13a258f15e61b3e5fd3e55411466f8830d83ecc25676d491635037be07b1a35b845ec5a06d56c26ecefb8865149e486e939a72111d1a3e46efc26b87d632a6 WHIRLPOOL a3af71368638bf19dcda250c5e3645f505cc019959880b6b321c16df0ba875b3e5bc65774ae126b1a320764fdd8452e76c1653febb2d2d89e4bc850f8f54c730 diff --git a/dev-libs/libiconv/files/libiconv-1.10-link.patch b/dev-libs/libiconv/files/libiconv-1.10-link.patch new file mode 100644 index 000000000000..c17019c93375 --- /dev/null +++ b/dev-libs/libiconv/files/libiconv-1.10-link.patch @@ -0,0 +1,13 @@ +Index: libiconv-1.10/src/Makefile.in +=================================================================== +--- libiconv-1.10.orig/src/Makefile.in ++++ libiconv-1.10/src/Makefile.in +@@ -92,7 +92,7 @@ install : all force + if [ ! -d $(DESTDIR)$(bindir) ] ; then $(mkinstalldirs) $(DESTDIR)$(bindir) ; fi + case "@host_os@" in \ + hpux*) $(CC) $(LDFLAGS) $(iconv_LDFLAGS) iconv.@OBJEXT@ ../srclib/libicrt.a -L$(DESTDIR)$(libdir) -liconv @LIBINTL@ `if test -n '$(DESTDIR)'; then echo " -Wl,+b -Wl,$(libdir)"; fi` -o iconv;; \ +- *) $(LIBTOOL_LINK) $(CC) $(LDFLAGS) $(iconv_LDFLAGS) iconv.@OBJEXT@ ../srclib/libicrt.a $(DESTDIR)$(libdir)/libiconv.la @LTLIBINTL@ -o iconv;; \ ++ *) $(LIBTOOL_LINK) $(CC) $(LDFLAGS) $(iconv_LDFLAGS) iconv.@OBJEXT@ ../srclib/libicrt.a ../lib/libiconv.la @LTLIBINTL@ -o iconv;; \ + esac + $(INSTALL_PROGRAM_ENV) $(LIBTOOL_INSTALL) $(INSTALL_PROGRAM) iconv $(DESTDIR)$(bindir)/iconv + diff --git a/dev-libs/libiconv/files/libiconv-1.14-no-gets.patch b/dev-libs/libiconv/files/libiconv-1.14-no-gets.patch new file mode 100644 index 000000000000..db767ac1dd81 --- /dev/null +++ b/dev-libs/libiconv/files/libiconv-1.14-no-gets.patch @@ -0,0 +1,22 @@ +hack until gzip pulls a newer gnulib version + +From 66712c23388e93e5c518ebc8515140fa0c807348 Mon Sep 17 00:00:00 2001 +From: Eric Blake +Date: Thu, 29 Mar 2012 13:30:41 -0600 +Subject: [PATCH] stdio: don't assume gets any more + +Gnulib intentionally does not have a gets module, and now that C11 +and glibc have dropped it, we should be more proactive about warning +any user on a platform that still has a declaration of this dangerous +interface. + +--- a/srclib/stdio.in.h ++++ b/srclib/stdio.in.h +@@ -695,7 +695,6 @@ _GL_CXXALIASWARN (gets); + /* It is very rare that the developer ever has full control of stdin, + so any use of gets warrants an unconditional warning. Assume it is + always declared, since it is required by C89. */ +-_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); + #endif + + diff --git a/dev-libs/libiconv/libiconv-1.14-r1.ebuild b/dev-libs/libiconv/libiconv-1.14-r1.ebuild new file mode 100644 index 000000000000..de94f2fb8d3b --- /dev/null +++ b/dev-libs/libiconv/libiconv-1.14-r1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="4" + +inherit libtool toolchain-funcs multilib-minimal + +DESCRIPTION="GNU charset conversion library for libc which doesn't implement it" +HOMEPAGE="https://www.gnu.org/software/libiconv/" +SRC_URI="mirror://gnu/libiconv/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 arm ~mips ppc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd" +IUSE="+static-libs" + +DEPEND="!sys-libs/glibc + !userland_GNU? ( !sys-apps/man-pages )" +RDEPEND="${DEPEND}" + +src_prepare() { + epatch "${FILESDIR}"/${P}-no-gets.patch + elibtoolize +} + +multilib_src_configure() { + # Disable NLS support because that creates a circular dependency + # between libiconv and gettext + ECONF_SOURCE="${S}" \ + econf \ + --docdir="\$(datarootdir)/doc/${PF}/html" \ + --disable-nls \ + --enable-shared \ + $(use_enable static-libs static) +} + +multilib_src_install_all() { + # Install in /lib as utils installed in /lib like gnutar + # can depend on this + gen_usr_ldscript -a iconv charset + + # If we have a GNU userland, we probably have sys-apps/man-pages + # installed, which means we want to rename our copies #503162. + # The use of USELAND=GNU is kind of a hack though ... + if use userland_GNU ; then + cd "${ED}"/usr/share/man || die + local f + for f in man*/*.[0-9] ; do + mv "${f}" "${f%/*}/${PN}-${f#*/}" || die + done + fi +} diff --git a/dev-libs/libiconv/libiconv-1.14-r2.ebuild b/dev-libs/libiconv/libiconv-1.14-r2.ebuild new file mode 100644 index 000000000000..fe0546e55b5f --- /dev/null +++ b/dev-libs/libiconv/libiconv-1.14-r2.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit libtool toolchain-funcs multilib-minimal + +DESCRIPTION="GNU charset conversion library for libc which doesn't implement it" +HOMEPAGE="https://www.gnu.org/software/libiconv/" +SRC_URI="mirror://gnu/libiconv/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd" +IUSE="static-libs" + +DEPEND="!sys-libs/glibc + !userland_GNU? ( !sys-apps/man-pages )" +RDEPEND="${DEPEND}" + +src_prepare() { + eapply "${FILESDIR}"/${P}-no-gets.patch + eapply_user + elibtoolize +} + +multilib_src_configure() { + # Disable NLS support because that creates a circular dependency + # between libiconv and gettext + ECONF_SOURCE="${S}" \ + econf \ + --docdir="\$(datarootdir)/doc/${PF}/html" \ + --disable-nls \ + --enable-shared \ + $(use_enable static-libs static) +} + +multilib_src_install_all() { + use static-libs || find "${ED}" -name 'lib*.la' -delete + + # Install in /lib as utils installed in /lib like gnutar + # can depend on this + gen_usr_ldscript -a iconv charset + + # If we have a GNU userland, we probably have sys-apps/man-pages + # installed, which means we want to rename our copies #503162. + # The use of USELAND=GNU is kind of a hack though ... + if use userland_GNU ; then + cd "${ED}"/usr/share/man || die + local f + for f in man*/*.[0-9] ; do + mv "${f}" "${f%/*}/${PN}-${f#*/}" || die + done + fi +} diff --git a/dev-libs/libiconv/libiconv-1.14.ebuild b/dev-libs/libiconv/libiconv-1.14.ebuild new file mode 100644 index 000000000000..f90d8ae1af5a --- /dev/null +++ b/dev-libs/libiconv/libiconv-1.14.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="4" + +inherit libtool toolchain-funcs + +DESCRIPTION="GNU charset conversion library for libc which doesn't implement it" +HOMEPAGE="https://www.gnu.org/software/libiconv/" +SRC_URI="mirror://gnu/libiconv/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 arm ~mips ppc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd" +IUSE="" + +DEPEND="!sys-libs/glibc + !sys-apps/man-pages" +RDEPEND="${DEPEND}" + +src_prepare() { + # Make sure that libtool support is updated to link "the linux way" + # on FreeBSD. + elibtoolize +} + +src_configure() { + # Disable NLS support because that creates a circular dependency + # between libiconv and gettext + econf \ + --docdir="\$(datarootdir)/doc/${PF}/html" \ + --disable-nls \ + --enable-shared \ + --enable-static +} + +src_install() { + default + + # Install in /lib as utils installed in /lib like gnutar + # can depend on this + gen_usr_ldscript -a iconv charset +} diff --git a/dev-libs/libiconv/metadata.xml b/dev-libs/libiconv/metadata.xml new file mode 100644 index 000000000000..f2b54580982c --- /dev/null +++ b/dev-libs/libiconv/metadata.xml @@ -0,0 +1,17 @@ + + + + + bsd@gentoo.org + BSD Project + + + prefix@gentoo.org + Prefix Project + + +libiconv is a standalone package which implements the iconv() related +functions as glibc already embed. Libraries and applications needs it +when built in a non-glibc system. + + diff --git a/dev-libs/libidmef/Manifest b/dev-libs/libidmef/Manifest new file mode 100644 index 000000000000..e62b94e8d2a8 --- /dev/null +++ b/dev-libs/libidmef/Manifest @@ -0,0 +1,5 @@ +DIST libidmef-1.0.3.tar.gz 1321584 SHA256 6dfece5f9c0ddbe60218cddf112d8867693ee6e8a3ce1b8f78be0016ded845c0 SHA512 5f21c50efffc52b8008c979b95fcedd2add7e4355643626043880105f96b4086cd9cda3c9532ddd6745f6236e2edf15a20324bdfb932e63cdcf23c8104b03dc5 WHIRLPOOL b74c5cdaf4295feb34a61385dcf53791d03c925c9e47a706a6aa6a6c656e2f64ac2ff282b70531b5976ad8bcf6488cf76d2a1c5d7fded0fa21c50c4d0c1cf8dc +EBUILD libidmef-1.0.3.ebuild 577 SHA256 f693f71b28bd551c0bc0156f74196a1f23fe6d8d559074b730100541f0e8acbf SHA512 190e241d7dfc6f4cff482d9da6c0bd90d2ede1c8c1bd65a8f05a3faa0a4f77c6dfcb67c136180ed905ff85958045d695c59c9aa3b5229110b7979bc68d946566 WHIRLPOOL 28f3c75ad578dcf2002a91638f04a0f3f7eb1ddb97edcd792d7a29fc4e909069f329dc7ea85932a31edb41a8ea93bb966e253fc6c2156d6c63e9b8b0d5679546 +MISC ChangeLog 2638 SHA256 41f2b9879b8f6841936ef6a5209053b95e8cb8e45d1cdb3282d0be2abf602188 SHA512 5d8c6404803959b36758ce26ddd4bc0281007b888de48e6f02ed42b995c571c9442bb47d3b49938f52f41aef8d62807a8470f6c3e70fba4032fd57d062c0f614 WHIRLPOOL 8601ff66c7cca49c6859ef57c879a94c158e5624cd57bfe93310b70e6fa3c92423d976923fe35e4480daf291d12f2063e2f02213330e1404f606c2ff8df058a9 +MISC ChangeLog-2015 1574 SHA256 c2111f2d900ea574d41d30e48dca663aa43a1972204e3595b6d432b92477dad8 SHA512 a80f38c53202bc54bc1bf23cc54b963cdb59a22913a4838e1a9bfe28fd4d31574283c3901a13fea4d9ece46b25c0d8d0baac20a59be1297ff9204968042e46c7 WHIRLPOOL 0be6eb83a3ddaef9a38ff8b3fa83ab740b8a0c2554aceaa19727aed72acb8357cf74365e77fac9d1cb78b08c1d3922e3c225d195f3543a479b8f612326678836 +MISC metadata.xml 245 SHA256 79aa57c6894246bc19385429f4ea20a5751719a2cfc92db4fb09c5214a60e603 SHA512 535c6138c251977440996f4a7638ade914f83418282b233749cd37c1501225ea80469cdccba901584c05fc0a4400cf3519e6743ecf79ff91938f9718e8bd00a3 WHIRLPOOL a7d00191482a31ae5a80a9baea1a95a3b1eb87d04f28ed857b1bc13f314bab9cc4a164276829f2abd9c523081ec87b98253b531caafa50c6567a9a747e3291bd diff --git a/dev-libs/libidmef/libidmef-1.0.3.ebuild b/dev-libs/libidmef/libidmef-1.0.3.ebuild new file mode 100644 index 000000000000..ac0b722c6241 --- /dev/null +++ b/dev-libs/libidmef/libidmef-1.0.3.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +inherit eutils + +DESCRIPTION="Implementation of the IDMEF XML draft" +HOMEPAGE="https://sourceforge.net/projects/libidmef/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug static-libs" + +DEPEND=">=dev-libs/libxml2-2.5.10" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${PN}" + +DOCS=( AUTHORS ChangeLog FAQ NEWS README TODO ) + +src_configure() { + econf \ + $(use_enable debug) \ + $(use_enable static-libs static) +} diff --git a/dev-libs/libidmef/metadata.xml b/dev-libs/libidmef/metadata.xml new file mode 100644 index 000000000000..faf767a2295c --- /dev/null +++ b/dev-libs/libidmef/metadata.xml @@ -0,0 +1,8 @@ + + + + + + libidmef + + diff --git a/dev-libs/libindicate-qt/Manifest b/dev-libs/libindicate-qt/Manifest new file mode 100644 index 000000000000..22b17266767e --- /dev/null +++ b/dev-libs/libindicate-qt/Manifest @@ -0,0 +1,7 @@ +AUX libindicate-qt-0.2.5.91-optionaltests.patch 676 SHA256 810cf77816062be19e5a7e5449f38b8b209b279b60e837c3a264475df2b60ad6 SHA512 0d9b89c7827e4adf63369d51f20b199f9a308801100ed3f7cc9d062596e8cef0d28674b561fed0ea189ab31541b33071902dcb27e830299ff94faf7f95f3f117 WHIRLPOOL 68e76aa41ff6c9c376fac9560fed0dfc5711ecfaf7300c70c0b0d29f7843ce00be1c5680370a6ad68f2b2d78c7e68e8c7ea79e77c922f917cfcb0309e9fbb7ae +DIST libindicate-qt_0.2.5.91-5.debian.tar.gz 5263 SHA256 11ac1c983dc0f326c9280941d82d51e98d246dfb033cbdcdddacd9bbb8d98066 SHA512 9e377d06be8b65f54bceb7fb50f83c9aefae1c5f27ca1a695997d6cd4b39ec3a1d1fe0b39322b276e1c0fc2157d5eb9a89fa3d7cc6879fbaa9d027e255c3cdc3 WHIRLPOOL bcc54a04cfe2613dabaf6ccd1d5cd060ff8cf771ae2a22375279b92b5a9cd2574814933e29df694f0795f66bbb71138f23d50630321cf8f987045df2ddd6ed36 +DIST libindicate-qt_0.2.5.91.orig.tar.bz2 33799 SHA256 bcdcbe92f5917e6622836c67a897c7399d25448984614a08eb184e82bfc14385 SHA512 62b6ee0a758729f8007d0dfe6c7b9f55264f0bc110cebc8ef9f782c345fb81e45d9b652de45db06105510a232449b2427fb9a8344f86fb911d3fac1d5c552a23 WHIRLPOOL ada9936a5c2f754a3a5afb4c8bddb7ead9261111134360a65db3f39d73a4174774b45ca584e0b5476facf4e57746456ba5ecb9a99d76d50b3de30b38d166129b +EBUILD libindicate-qt-0.2.5.91.ebuild 1111 SHA256 39b5fe5a48e51f4752ed81b7dd39394b881ec6b357e99e5a5ddefc5ea6c723e1 SHA512 17ff068bf0d4ed65ce4536194269ecb6c190be58ede9aa1bf24295b93db98866f84e53f4879bc3695aa02d4057541795fc61f4300f2af930210a9800b5399c8b WHIRLPOOL b4c47a4fc0b5cdf04d97999b2021f461408bf025ba4cbecfdaf35a5ac7ff99529ebf53829476ef9545bc699b82bccbdd03374769f60665db327fea0cd4b1ea6a +MISC ChangeLog 2640 SHA256 0b5d1ae30dad207e079fba0e4a19d99c2cd1993fb959e4553c91fa62f1d2c4e5 SHA512 72e1099cfdce9bb38c4e132df54b04af4ff7b72250e4a896293d9ab8376847573475e5da0a79c416df77813aac9be800789d5c54c4b64f09f8f752bf9041d0cb WHIRLPOOL ca68af549c67be339b59e8c3dded49e70da0c1ceb1a569f2bb67c24e444d69a2fe6b338f3122bbf1cd0ea13a13c2b9bee2614298a3b9e9074d3e5d1e72ab93bd +MISC ChangeLog-2015 2450 SHA256 6c1423e1ce3887b309a18cde0d0a560b2f7b8a6c11a75d964040c79e96c9339f SHA512 2b03eceb4d6cc366833fd28f67c2394dfaf6f4ab0eb59e5628729dfd140800bf11004eab89e192f57e86b878e9873cb19830c3b926d2bcc489d3c6e220c42700 WHIRLPOOL a57783a348d75c3dbc4fbffd56a22d90db61407bf5ff6dd4d3c77a6ef46a7ecec7685c9ef42367f6ba1eb3b7516100fd576db5a8c9dd76002a7aae3753c0645e +MISC metadata.xml 331 SHA256 52563ce0ac093340e316da4b5b1aba4593e0372d32b1cc763dd245a3098d84c9 SHA512 969b6e184a308a88b1fe9e7d9427fd28101c8d7884f85016991a021c635679c0d7222864a0ba54a65adfbded058c13c08d44eecf9dc2ea417201899cc8bda9be WHIRLPOOL 89faeba49df734479e56ff66c1d9829c9cf54aa3c6d5b8bf3a5dbf17cd0f95c4525015ee34644bb69bd9d7cb95f02ce7d797a1b6e4e8fbb1318ee4ae08c2d9b6 diff --git a/dev-libs/libindicate-qt/files/libindicate-qt-0.2.5.91-optionaltests.patch b/dev-libs/libindicate-qt/files/libindicate-qt-0.2.5.91-optionaltests.patch new file mode 100644 index 000000000000..5fa46f33081d --- /dev/null +++ b/dev-libs/libindicate-qt/files/libindicate-qt-0.2.5.91-optionaltests.patch @@ -0,0 +1,24 @@ +https://code.launchpad.net/~ballogy/libindicate-qt/make-examples-and-tests-optional/+merge/82829 +=== modified file 'CMakeLists.txt' +--- A/CMakeLists.txt 2010-03-08 09:02:19 +0000 ++++ B/CMakeLists.txt 2011-11-20 20:28:23 +0000 +@@ -36,8 +36,16 @@ + DESTINATION lib${LIB_SUFFIX}/pkgconfig) + + add_subdirectory(src) +-add_subdirectory(examples) +-add_subdirectory(tests) ++ ++option( BUILD_EXAMPLES "build examples" ON ) ++if (BUILD_EXAMPLES) ++ add_subdirectory(examples) ++endif (BUILD_EXAMPLES) ++ ++option( BUILD_TESTS "build tests" ON ) ++if (BUILD_TESTS) ++ add_subdirectory(tests) ++endif (BUILD_TESTS) + + # Packaging + set(ARCHIVE_NAME libindicate-qt-${indicate_qt_VERSION}) + diff --git a/dev-libs/libindicate-qt/libindicate-qt-0.2.5.91.ebuild b/dev-libs/libindicate-qt/libindicate-qt-0.2.5.91.ebuild new file mode 100644 index 000000000000..57833115c671 --- /dev/null +++ b/dev-libs/libindicate-qt/libindicate-qt-0.2.5.91.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit virtualx cmake-utils + +_UBUNTU_REVISION=5 + +DESCRIPTION="Qt wrapper for libindicate library" +HOMEPAGE="https://launchpad.net/libindicate-qt/" +SRC_URI="mirror://ubuntu/pool/main/libi/${PN}/${PN}_${PV}.orig.tar.bz2 + mirror://ubuntu/pool/main/libi/${PN}/${PN}_${PV}-${_UBUNTU_REVISION}.debian.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND=" + >=dev-libs/libindicate-12.10.0 + dev-qt/qtcore:4 + dev-qt/qtgui:4 +" +DEPEND="${RDEPEND} + virtual/pkgconfig + test? ( dev-qt/qttest:4 ) +" + +# bug #440042 +RESTRICT="test" + +src_prepare() { + eapply "${WORKDIR}"/debian/patches + eapply "${FILESDIR}"/${P}-optionaltests.patch + cmake-utils_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DBUILD_EXAMPLES=OFF + -DBUILD_TESTS=$(usex test) + ) + + cmake-utils_src_configure +} + +src_test() { + local ctestargs + [[ -n ${TEST_VERBOSE} ]] && ctestargs="--extra-verbose --output-on-failure" + + cd "${CMAKE_BUILD_DIR}"/tests + + VIRTUALX_COMMAND="ctest ${ctestargs}" virtualmake || die +} diff --git a/dev-libs/libindicate-qt/metadata.xml b/dev-libs/libindicate-qt/metadata.xml new file mode 100644 index 000000000000..d82f5059bb61 --- /dev/null +++ b/dev-libs/libindicate-qt/metadata.xml @@ -0,0 +1,11 @@ + + + + + kde@gentoo.org + Gentoo KDE Project + + + libindicate-qt + + diff --git a/dev-libs/libindicate/Manifest b/dev-libs/libindicate/Manifest new file mode 100644 index 000000000000..278943fc6ef2 --- /dev/null +++ b/dev-libs/libindicate/Manifest @@ -0,0 +1,6 @@ +AUX libindicate-0.6.1-no-mono.patch 1880 SHA256 9f9dcdd610a012cceded3d6076b745e8c406b9fdd179543b2680567f005615b5 SHA512 da2e8aa7423fd2b74289a9d60e81f6cfc9a10027cf196d9f91507bf3334e993f500e5673549af5608920c571f25ce60a73b85965a7ac631fa8917a51fc23e238 WHIRLPOOL 997c70634206d3bc75725c1310c77ef2b42c602e69bc6e267be040a0fc22a462e24efc6848bf2b216e863d8f0ffbff0614e69719675036a744d76bacd1187222 +DIST libindicate-12.10.1.tar.gz 550378 SHA256 41e0c059e96172975c716aa70dc60f669e21d359c65935c61ac374a9aa075581 SHA512 4dcb5f292153210bc15a05f117101429da77a60b8b05b569baddf0e9043d852c2dccb0d5a6adbdf4d4a1b6f06b33c61e242bb4bcb376e3d96563bda591685c06 WHIRLPOOL f175329bac76581ebc596771794e8e81c4e03b6042cc3508a7743034b7ed1f50b61b9accf78595c3beeed7236801096dfb58d42bd94959b433dfcf92b3114fae +EBUILD libindicate-12.10.1-r2.ebuild 1771 SHA256 e7fd5816d07c34ab96401764d7804c5e793e2b8fee64650d6a646a2324ebf7cf SHA512 077028d8606670c8ebbf2ec8c49aeff9cfc4c14c20a332f50c3ea517d1bdd53469fe23fd85e621a1da156953463f622b9e04d698f1337b844560e8ea340fffb4 WHIRLPOOL 086eda7d140b3588399fc6020d97a944640c58d44c252d4fe7d121cbd098bc0d068ae55399a72f9e363a5d33333b13204ab2a63bd5e614b490864db09b0f9d24 +MISC ChangeLog 5258 SHA256 110b666b32d96aeb498e880c56396c9fc6ab646d5f148e0fd20fefae8dad1bbc SHA512 d09ba35633cddb9400ed1dc90f9a33aec8392c7a5fe4b8d9461bb602e19c59d59ba49f7e2ad699215fef8a51c6ffb215c4330dfd8f5ddae56ece2ba9374e5956 WHIRLPOOL 449c3b99b53bfcb61866bdac565a76bd15a9f683c8bb9d50999306296d728d9b4f85be1f9b3bd55a47fbceb01db6f78c2bf6f9f3d7d9d4724c31638ef5fc1daf +MISC ChangeLog-2015 9291 SHA256 1e4826045c2eacc6154696cc23da48734d1a2408d4141f3238383dced83ed904 SHA512 01bdfffc3cadb9e7931eeb8f451a73e11f87e50eb8182f1f116c1537300151b1e04e311355b3979e40ff8e4b707ff6f617d3ebceca751b099f6590a14924d161 WHIRLPOOL 7e54efb9d11f3fd3d1cb12565e6d6dbe7cd88c5f3c4e2f0a0b6b086677cc996dc4ccd24778f62160dc0f93c5b0615720f7cbb180a7243241a2968ae96d5c96fc +MISC metadata.xml 328 SHA256 d0249a8afadd60c13afb3381cee1a4029ffe44b9732760e7f73c2f7a5f6d9d42 SHA512 fc8169dee128e50da93fe6baec57989b4b2e0a59e36661328ae7bd5bf1db1ea5bcc08efb72e6ba2d0e0d9a18870144066a5c77a1f275801a4fc98953cf891a3b WHIRLPOOL ca00abeb8f41c560c606ec2d9cb174d4be5334c6923c0febbe773b659a911b5ac6bd232e82063868538012c7cb103143bcb52e730dc0e10b2c4936aa3b38d814 diff --git a/dev-libs/libindicate/files/libindicate-0.6.1-no-mono.patch b/dev-libs/libindicate/files/libindicate-0.6.1-no-mono.patch new file mode 100644 index 000000000000..349828a6058c --- /dev/null +++ b/dev-libs/libindicate/files/libindicate-0.6.1-no-mono.patch @@ -0,0 +1,78 @@ +Temporary patch to disable mono until new gtk-sharp is in tree wrt bug #382491 + +--- bindings/Makefile.am ++++ bindings/Makefile.am +@@ -1,9 +1,5 @@ + SUBDIRS = + +-if HAS_MONO +-SUBDIRS += mono +-endif +- + if HAS_PYTHON + SUBDIRS += python + endif +--- configure.ac ++++ configure.ac +@@ -124,61 +124,6 @@ + AC_PATH_PROG([VALA_API_GEN], [vapigen]) + + ########################### +-# Check for Mono support +-########################### +- +-MONO_REQUIRED_VERSION=1.0 +-PKG_CHECK_MODULES(MONO_DEPENDENCY, mono >= $MONO_REQUIRED_VERSION, has_mono=true, has_mono=false) +- +-AC_PATH_PROG(AL, al, no) +-if test "x$AL" = "xno" ; then +- AC_MSG_NOTICE([No al tool found. You need to install Mono.]) +-fi +- +-if test "x$has_mono" = "xtrue" ; then +- GENERATED_SOURCES=generated/*.cs +- AC_PATH_PROG(RUNTIME, mono, no) +- +- if test "x$RUNTIME" != "no" ; then +- RUNTIME=mono +- fi +- +- AC_PATH_PROG(CSC, gmcs, no) +- LIB_PREFIX=.so +- LIB_SUFFIX= +-fi +- +-if test "x$CSC" = "xno" ; then +- AC_MSG_NOTICE([No Mono compiler found.]) +-fi +- +-AC_PATH_PROG(GACUTIL, gacutil, no) +-if test "x$GACUTIL" = "xno" ; then +- AC_MSG_NOTICE([No gacutil tool found]) +-fi +- +-AC_SUBST(RUNTIME) +-AC_SUBST(CSC) +-AC_SUBST(GACUTIL) +-AC_SUBST(LIB_PREFIX) +-AC_SUBST(LIB_SUFFIX) +-AC_SUBST(GENERATED_SOURCES) +- +-GLIB_SHARP_REQ_VERSION=2.12.1 +-GTK_SHARP_REQ_VERSION=2.12 +-PKG_CHECK_MODULES(GTK_SHARP, gtk-sharp-2.0 >= $GTK_SHARP_REQ_VERSION, has_gtksharp=true, has_gtksharp=false) +-AC_SUBST(GTK_SHARP_LIBS) +-AC_SUBST(GTK_SHARP_CFLAGS) +- +-PKG_CHECK_MODULES(GAPI, gapi-2.0 >= $GLIB_SHARP_REQ_VERSION, has_gapi=true, has_gapi=false) +-AC_PATH_PROG(GAPI_PARSER, gapi2-parser, no) +-AC_SUBST(GAPI_PARSER) +-AC_PATH_PROG(GAPI_CODEGEN, gapi2-codegen, no) +-AC_SUBST(GAPI_CODEGEN) +-AC_PATH_PROG(GAPI_FIXUP, gapi2-fixup, no) +-AC_SUBST(GAPI_FIXUP) +- +-########################### + # Check for Python support + ########################### + diff --git a/dev-libs/libindicate/libindicate-12.10.1-r2.ebuild b/dev-libs/libindicate/libindicate-12.10.1-r2.ebuild new file mode 100644 index 000000000000..0807794f848f --- /dev/null +++ b/dev-libs/libindicate/libindicate-12.10.1-r2.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +VALA_MIN_API_VERSION="0.16" +VALA_USE_DEPEND="vapigen" + +inherit autotools eutils flag-o-matic vala xdg-utils + +DESCRIPTION="A library to raise flags on DBus for other components of the desktop" +HOMEPAGE="https://launchpad.net/libindicate" +SRC_URI="https://launchpad.net/${PN}/${PV%.*}/${PV}/+download/${P}.tar.gz" + +LICENSE="LGPL-2.1 LGPL-3" +SLOT="3" +KEYWORDS="alpha amd64 ~arm hppa ~mips ppc ~ppc64 sparc x86" +IUSE="gtk +introspection" + +RESTRICT="test" # consequence of the -no-mono.patch + +RDEPEND=">=dev-libs/dbus-glib-0.100 + >=dev-libs/glib-2.30 + >=dev-libs/libdbusmenu-0.6.2[introspection?] + dev-libs/libxml2 + gtk? ( + dev-libs/libdbusmenu[gtk3] + >=x11-libs/gtk+-3.2:3 + ) + introspection? ( >=dev-libs/gobject-introspection-1 ) + !<${CATEGORY}/${PN}-0.6.1-r201" +EAUTORECONF_DEPEND="dev-util/gtk-doc-am + gnome-base/gnome-common" +DEPEND="${RDEPEND} + ${EAUTORECONF_DEPEND} + $(vala_depend) + app-text/gnome-doc-utils + virtual/pkgconfig" + +src_prepare() { + xdg_environment_reset + vala_src_prepare + + epatch "${FILESDIR}"/${PN}-0.6.1-no-mono.patch + + sed -i \ + -e "s:vapigen:vapigen-$(vala_best_api_version):" \ + -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" \ + configure.ac || die + + eautoreconf +} + +src_configure() { + append-flags -Wno-error + + # python bindings are only for GTK+-2.x + econf \ + --disable-silent-rules \ + --disable-static \ + $(use_enable gtk) \ + $(use_enable introspection) \ + --disable-python \ + --disable-scrollkeeper \ + --with-gtk=3 +} + +src_install() { + # work around failing parallel installation (-j1) + # until a better fix is available. (bug #469032) + emake -j1 DESTDIR="${D}" install + dodoc AUTHORS ChangeLog NEWS + + prune_libtool_files +} diff --git a/dev-libs/libindicate/metadata.xml b/dev-libs/libindicate/metadata.xml new file mode 100644 index 000000000000..857e4ae6dcfe --- /dev/null +++ b/dev-libs/libindicate/metadata.xml @@ -0,0 +1,11 @@ + + + + + kde@gentoo.org + Gentoo KDE Project + + + libindicate + + diff --git a/dev-libs/libindicator/Manifest b/dev-libs/libindicator/Manifest new file mode 100644 index 000000000000..86b7f21d17a6 --- /dev/null +++ b/dev-libs/libindicator/Manifest @@ -0,0 +1,7 @@ +AUX libindicator-ldflags-spacing.patch 298 SHA256 5d57b298f6c62604324ec73119ff29a791b329e4c2a2e900872d45555922bed2 SHA512 fa283a8d6b88da0e2b6f5d0711ebe8a5cc0d4ab87cb07c3cecae9974dd68be751169b89503ae66751bca6cd73df2b2a262ac55a667c5c8e00e129d51f4452c67 WHIRLPOOL b1f8e158f6f86244eed65f4ee25b93e14ed808c527935922132634d58e55226df911b6b9055f5efd0cba5515486028a8200f78f2d36beb1b7e71c8288944e969 +DIST libindicator-12.10.1.tar.gz 427764 SHA256 b2d2e44c10313d5c9cd60db455d520f80b36dc39562df079a3f29495e8f9447f SHA512 d6d77d0309b15cf6b52539323920ab0c1594cb1c1cef8a8d67cd0f76f8ceeeac28eb6db6227563df1932e6f1fadcffac68d82982182b745257dfaf91f1c945af WHIRLPOOL 0fd630c390c16cd42a133c2eb2f7471e7d231de6c1c15a187e608bb305cac1435d5fa753043fc88825e53f081dffe0974d960e047b48fa9871426e09b5e1fd4e +EBUILD libindicator-12.10.1-r201.ebuild 1189 SHA256 32e1e192fe1d9513d1d79e70d6463d5f968ec09d6c47ec8532f80d2d35420a92 SHA512 582f3fe2c4bdadf84b960f7e5ac0ffeef1f249c6e0c263d477af2121cc92b2516ac13c7636fcedfa41a0f8d77cb275a1fd0ff0b6b761e5c3dccc2359c757f9cd WHIRLPOOL 6bad6941449171db7b96a946446d786499008f9197d732d59c56b925d2d77fc870712ca2bdd7616181850762af29456e878daf38e9277d0b77579471d44341eb +EBUILD libindicator-12.10.1-r301.ebuild 1144 SHA256 17b13e5feb2fc89e07d2837ae539d760454c319cb985893b5b0156a175bc05fa SHA512 289141f6356f226ada008e2fa31101c6381c2f4d73c632e2f97b6ecc8306d9261ed248659d115058b4971024df640f5d12d176a2593280454800fb4f85776812 WHIRLPOOL 5c4b7d8838ddc4383502f471b47eaf0d8fca50d86c7f767a60a6cf2f974f6c9acac5109d19c7575ab58189ad03569c8a7d0ccf063433be998a8e57c497aa719a +MISC ChangeLog 5252 SHA256 15bbda39a0d71abf70460b53ef670304c434bf543d970bdd6387fb2ff1339d26 SHA512 59175a64f7677db66a4e18dc325140733e5f6a0629d8967826d91056563f86f6756844474f0781900156c6d234853d2a7bb10972357bfed88ac1f25c82a81bcd WHIRLPOOL 8d9565d25153a7a2a97da9594734772cae383a2a522554742b5e834501197e4d2f5fadcd387b92b3ab35cd5ccc6c46d716eadb0fa7a7319140f095d8404d3e41 +MISC ChangeLog-2015 3402 SHA256 6cdc86da5f85a6d49cc2a4111090f4fe6919d02d6532ab00c82ba15bb6a8e80f SHA512 6a7d1e93d5b69f991cf39a427bee152dd4668be8bc42c44ea8de5b687cee7ced4c19efc849e95782dc6add3ebff9927dd1849d76c8999b6f786d288ea53c039b WHIRLPOOL 64011025e36fe20ad2a9b7bcbd0b4146b2782180f3ab3cf0480bc23dd74a9d1af16524450bbdbc7ffa54b8dd4acff7df9afcb66679e1280ff64c012915ea2841 +MISC metadata.xml 247 SHA256 ae1e5ca335e80f62293f1ac52f2f40f4bbf702e82b1b38d71795479d91d12cd2 SHA512 f24203e0188dd8311689fc59007368585764703b92f6fde9b4ea01666d37304193fc728a9f99b7f6c936f5a5a51a58a8402a101dc4eddc0bf2bf09f221bb0054 WHIRLPOOL 4afab7e2d413241d664e1ab5a7bae9820184acf7765c113380e435eb63138e24561656e2be4611e2d4606ab136bc0cc48030609ab2ed1bbc11a7a5d279e1048d diff --git a/dev-libs/libindicator/files/libindicator-ldflags-spacing.patch b/dev-libs/libindicator/files/libindicator-ldflags-spacing.patch new file mode 100644 index 000000000000..8c4a55faec08 --- /dev/null +++ b/dev-libs/libindicator/files/libindicator-ldflags-spacing.patch @@ -0,0 +1,11 @@ +--- a/configure.ac 2012-07-11 14:07:33.167169453 -0400 ++++ b/configure.ac 2015-10-04 09:59:31.023669616 -0400 +@@ -66,7 +66,7 @@ + AM_CONDITIONAL(USE_GTK3, [test "x$with_gtk" = x3]) + + LT_LIB_M +-LIBINDICATOR_LIBS+="$LIBM" ++LIBINDICATOR_LIBS+=" $LIBM" + + ############################## + # Custom Junk diff --git a/dev-libs/libindicator/libindicator-12.10.1-r201.ebuild b/dev-libs/libindicator/libindicator-12.10.1-r201.ebuild new file mode 100644 index 000000000000..df50dfaad519 --- /dev/null +++ b/dev-libs/libindicator/libindicator-12.10.1-r201.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit autotools eutils flag-o-matic virtualx multilib-minimal + +DESCRIPTION="A set of symbols and convience functions that all indicators would like to use" +HOMEPAGE="https://launchpad.net/libindicator" +SRC_URI="https://launchpad.net/${PN}/${PV%.*}/${PV}/+download/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 ~arm x86" +IUSE="test" + +RDEPEND=">=dev-libs/glib-2.22[${MULTILIB_USEDEP}] + >=x11-libs/gtk+-2.18:2[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND} + virtual/pkgconfig[${MULTILIB_USEDEP}] + test? ( dev-util/dbus-test-runner )" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-ldflags-spacing.patch + eautoreconf +} + +multilib_src_configure() { + append-flags -Wno-error + + myconf=( + --disable-silent-rules + --disable-static + --with-gtk=2 + ) + local ECONF_SOURCE=${S} + econf "${myconf[@]}" +} + +multilib_src_test() { + Xemake check #391179 +} + +multilib_src_install() { + emake -j1 DESTDIR="${D}" install +} + +multilib_src_install_all() { + einstalldocs + prune_libtool_files --all + + rm -vf \ + "${ED}"/usr/lib*/libdummy-indicator-* \ + "${ED}"/usr/share/${PN}/*indicator-debugging +} diff --git a/dev-libs/libindicator/libindicator-12.10.1-r301.ebuild b/dev-libs/libindicator/libindicator-12.10.1-r301.ebuild new file mode 100644 index 000000000000..8dbebe6caa46 --- /dev/null +++ b/dev-libs/libindicator/libindicator-12.10.1-r301.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit autotools eutils flag-o-matic virtualx multilib-minimal + +DESCRIPTION="A set of symbols and convience functions that all indicators would like to use" +HOMEPAGE="https://launchpad.net/libindicator" +SRC_URI="https://launchpad.net/${PN}/${PV%.*}/${PV}/+download/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="3" +KEYWORDS="amd64 ~arm x86" +IUSE="test" + +RDEPEND=">=dev-libs/glib-2.22[${MULTILIB_USEDEP}] + >=x11-libs/gtk+-3.2:3[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND} + virtual/pkgconfig[${MULTILIB_USEDEP}] + test? ( dev-util/dbus-test-runner )" + +src_prepare() { + # https://bugs.launchpad.net/libindicator/+bug/1502925 + epatch "${FILESDIR}"/${PN}-ldflags-spacing.patch + eautoreconf +} + +multilib_src_configure() { + append-flags -Wno-error + + myconf=( + --disable-silent-rules + --disable-static + --with-gtk=3 + ) + local ECONF_SOURCE=${S} + econf "${myconf[@]}" +} + +multilib_src_test() { + Xemake check #391179 +} + +multilib_src_install() { + emake -j1 DESTDIR="${D}" install +} + +multilib_src_install_all() { + einstalldocs + prune_libtool_files --all +} diff --git a/dev-libs/libindicator/metadata.xml b/dev-libs/libindicator/metadata.xml new file mode 100644 index 000000000000..15d98a815898 --- /dev/null +++ b/dev-libs/libindicator/metadata.xml @@ -0,0 +1,8 @@ + + + + + + libindicator + + diff --git a/dev-libs/libinput/Manifest b/dev-libs/libinput/Manifest new file mode 100644 index 000000000000..2fc337070622 --- /dev/null +++ b/dev-libs/libinput/Manifest @@ -0,0 +1,11 @@ +DIST libinput-1.6.2.tar.xz 929180 SHA256 96fc0e0b24a96042b16e561201979dfa4a3f00a642538195c62f72b79f4084fa SHA512 f1e1436ec4259ebddf93a50fe4d39a52713efd246a39a072b44bf296a413bdadbb789d6a4f0107ed3eb37afe34a37a43c9e75dcf814462385011eff2d3f42db7 WHIRLPOOL e9ed43ab8efb5b984a8c431e82880a691f7c94577a7a3789cf1e52c82f8aeee70d56474895a349f286f4d7fc845be8302ca7432b8e4801a6233fbe96b0078db3 +DIST libinput-1.7.2.tar.xz 923720 SHA256 0b1e5a6c106ccc609ccececd9e33e6b27c8b01fc7457ddb4c1dd266e780d6bc2 SHA512 cdbd2994e954aac9538fe907c275e6e23e2bed0e9c4c65f19591bdcdbf5074131c72b92e87de87c03f75a991fcdb7f568b491a12f00031c4eba11082ca44d69f WHIRLPOOL 869623f2ef8da44627f28552f86583a6e6927f4966489f1c59d4b7c5061983d58744be5ea162a97e07e4a79495f56a728faaa273f8d45a8a2ee242819769aae8 +DIST libinput-1.7.3.tar.xz 922464 SHA256 096d612d2711f0caa2de544976ff3729e6233511ab373808644cc2dd5affcb1d SHA512 2262dc56d213a4d3ea765e870af200e2c336a166baa1bbdf5205e3ce70faefc777429ba09563c5dd79feb5442f53abc84e04a0f32a06bb622d6e120bb8ad152b WHIRLPOOL 06ea9038f7b3127b3238fc863b1ec862647a08b1ab4956fcfd433093dc3c68585ba3b166515370681ed158a48ce6a5670c6b8dcb6d536af25f8bda2c84c74286 +DIST libinput-1.8.2.tar.xz 939664 SHA256 013518ee0adb2287e6e1f08412efba2137320738cadb5399b783738f04cbab38 SHA512 555a7680cc8aaf62c5370a865f3aff0a933d42d94a3d8861c072666b02c9e1be45ea39de9a749a9575cdfb613b6150e412e18559d94d4919f21ca4680a3c76a7 WHIRLPOOL c897c788fe29085f2f8f79f0441f4543d4cfa2f5c4af2357539c9ef49662d7eed2e46fa904bc3291a559a5effd091584da71a6e05ab5c11cb03970a27afd7366 +EBUILD libinput-1.6.2.ebuild 1535 SHA256 9339885a8bce38fed69defce769b1f337a36be302f37d88881ff0b0ab512b13c SHA512 00505995c95da87e936d1473548efb1d52fd1a593e659aec308e38f937fa391a3a092f2b7e2c1c564e9be9ce506cc021f1c3f590bc5bc39623dabd1e6758187c WHIRLPOOL 4af465c12c12727dba2168f9f2544fe38d9787ad2b343c86eb5734d7e96913dbb8cb485cfbbbaa8f30e02108a32ee813475f45180b74b60fd610b38b8b4d77f6 +EBUILD libinput-1.7.2.ebuild 1536 SHA256 337794ed1591e62bfdc55114724cfb80eea11c7c95086ae290241b1f58a7bf7f SHA512 c5bebcd1026c988bd5b517b76351c0a1326f5e60754a53d25aa73f3c2b7c034623336b0861d8e62254808649fae94bede58a2afd8df415b11327c31bac5e0621 WHIRLPOOL 6259933edd90fb2d2d33d1e1d236958fa85f24588ec29469462db2f4567022bfc8ccce8515660ce3b1cde35e4664e9a17e3778e9a33b27fbd727352d73cdad56 +EBUILD libinput-1.7.3.ebuild 1539 SHA256 be0fd49aa36c59190468ce18b14c8f2a8a361854bf2f7ae0f11babf59c3bd424 SHA512 fcc10549023f7cb9e5b250f20e2e748c014da535d43ffdaaa2edad5710f7fa5378a841b9dc110f17865950d8f0eadb1cb1d8dafe18f4fa062e34926f985b7157 WHIRLPOOL bd8ae01453bf4747b6817a53f72be312d029fe46a589f1c23626dadadfb2cde24a0d12dea77b5a6278eb373feeef6cb679a2f1e3c9dc887d72683f0afdd2552d +EBUILD libinput-1.8.2.ebuild 1544 SHA256 8b0355468b5985e8b13f94ac0bf2e7812d70e2ec5f4fa696a6424ee37649bc2b SHA512 a0a3a0aaab446d72eda57a04d8af10d5d35f54f4c47e6ee5f9c209fac3682d3d83392ef546255026b5ce774d76d33d06bf940c55da4ade4fe33ae10e9dc0968a WHIRLPOOL f8cec31887f88d7e5c0fdb67a872eb05a2885a6f284aa5143408c77347aac9d49574d622a7cfa6c93bb2020caf0d52c170cd393044d525be62c1a0937924ec42 +MISC ChangeLog 14704 SHA256 90bfde16dec6889083dc8f8a9b741e2ef9333ba05a1f38fa7ae990c257952d23 SHA512 8e45d452518032caa5c130be088e498409c11599298fef9a718368a77cd0b55d08406b0c1b31f36dbb1ddf3030ebe91bbbd91715602f0acc1bf816514388d689 WHIRLPOOL 7838c6e8eef6544342ea963e7abaa2bc4df3c70fe1f4f6daed06274f5456d4e358a80daac308eb0fefd7d33caf92972dcf14c963ec23ae1b5e6063386bae73c0 +MISC ChangeLog-2015 4085 SHA256 3316c764e3b7915215642529f9cf317e25dac5ddd889c1af4ae063fdce21bc76 SHA512 f368002ee0fc4984ef107e3522b24110a6694fd38baa30e353748f20ef71aae09c7c43b0d5837f9c795e2858b1904e63da2737dffa1084e934315e09f1e0583e WHIRLPOOL bdc6c89707548d4336ab365a1afee2bdca7d5689fe5f8b8db4cf252f0cb158aacdc1c9d29de9952302d32f77fc7e6def57cf7de33410e6889509dde51607c553 +MISC metadata.xml 340 SHA256 aec9631d3779808069d2ea623ad89d68d982b1ce2d5b583dbceea573d38edbcb SHA512 04b1dc52c0db95a09aeb061ea0bc579f83ad5971dcdb20cf61bb08ed37bf56999f784db75e6ec2b6cd47e57976c7e0651ffb040b052dd0f5ac8e1a679bee8c09 WHIRLPOOL d7c62ee9f95afc2180efeebd0bc8e40400685721be71516e2f31748abcc6b826a6104ea0cc8611221646b6cdf1e6e41948669a3c43ad362fed3aa82e444c8d60 diff --git a/dev-libs/libinput/libinput-1.6.2.ebuild b/dev-libs/libinput/libinput-1.6.2.ebuild new file mode 100644 index 000000000000..2ccdba604882 --- /dev/null +++ b/dev-libs/libinput/libinput-1.6.2.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit udev + +DESCRIPTION="Library to handle input devices in Wayland" +HOMEPAGE="https://www.freedesktop.org/wiki/Software/libinput/" +SRC_URI="https://www.freedesktop.org/software/${PN}/${P}.tar.xz" + +LICENSE="MIT" +SLOT="0/10" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86" +IUSE="input_devices_wacom test" +# Tests require write access to udev rules directory which is a no-no for live system. +# Other tests are just about logs, exported symbols and autotest of the test library. +RESTRICT="test" + +RDEPEND=" + input_devices_wacom? ( >=dev-libs/libwacom-0.20 ) + >=dev-libs/libevdev-0.4 + >=sys-libs/mtdev-1.1 + virtual/libudev +" +DEPEND="${RDEPEND} + virtual/pkgconfig" +# test? ( +# >=dev-libs/check-0.9.10 +# dev-util/valgrind +# sys-libs/libunwind ) + +src_prepare() { + default + # Doc handling in kinda strange but everything + # is available in the tarball already. + sed -e 's/^\(SUBDIRS =.*\)doc\(.*\)$/\1\2/' \ + -i Makefile.am Makefile.in || die +} + +src_configure() { + # gui can be built but will not be installed + # building documentation silently fails with graphviz syntax errors + econf \ + --disable-documentation \ + --disable-event-gui \ + $(use_enable input_devices_wacom libwacom) \ + $(use_enable test tests) \ + --with-udev-dir="$(get_udevdir)" +} + +src_install() { + emake install DESTDIR="${D}" + dodoc -r doc/html + find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die +} diff --git a/dev-libs/libinput/libinput-1.7.2.ebuild b/dev-libs/libinput/libinput-1.7.2.ebuild new file mode 100644 index 000000000000..f100733b6afa --- /dev/null +++ b/dev-libs/libinput/libinput-1.7.2.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit udev + +DESCRIPTION="Library to handle input devices in Wayland" +HOMEPAGE="https://www.freedesktop.org/wiki/Software/libinput/" +SRC_URI="https://www.freedesktop.org/software/${PN}/${P}.tar.xz" + +LICENSE="MIT" +SLOT="0/10" +KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86" +IUSE="input_devices_wacom test" +# Tests require write access to udev rules directory which is a no-no for live system. +# Other tests are just about logs, exported symbols and autotest of the test library. +RESTRICT="test" + +RDEPEND=" + input_devices_wacom? ( >=dev-libs/libwacom-0.20 ) + >=dev-libs/libevdev-0.4 + >=sys-libs/mtdev-1.1 + virtual/libudev +" +DEPEND="${RDEPEND} + virtual/pkgconfig" +# test? ( +# >=dev-libs/check-0.9.10 +# dev-util/valgrind +# sys-libs/libunwind ) + +src_prepare() { + default + # Doc handling in kinda strange but everything + # is available in the tarball already. + sed -e 's/^\(SUBDIRS =.*\)doc\(.*\)$/\1\2/' \ + -i Makefile.am Makefile.in || die +} + +src_configure() { + # gui can be built but will not be installed + # building documentation silently fails with graphviz syntax errors + econf \ + --disable-documentation \ + --disable-event-gui \ + $(use_enable input_devices_wacom libwacom) \ + $(use_enable test tests) \ + --with-udev-dir="$(get_udevdir)" +} + +src_install() { + emake install DESTDIR="${D}" + dodoc -r doc/html + find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die +} diff --git a/dev-libs/libinput/libinput-1.7.3.ebuild b/dev-libs/libinput/libinput-1.7.3.ebuild new file mode 100644 index 000000000000..1c061c33d3db --- /dev/null +++ b/dev-libs/libinput/libinput-1.7.3.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit udev + +DESCRIPTION="Library to handle input devices in Wayland" +HOMEPAGE="https://www.freedesktop.org/wiki/Software/libinput/" +SRC_URI="https://www.freedesktop.org/software/${PN}/${P}.tar.xz" + +LICENSE="MIT" +SLOT="0/10" +KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86" +IUSE="input_devices_wacom test" +# Tests require write access to udev rules directory which is a no-no for live system. +# Other tests are just about logs, exported symbols and autotest of the test library. +RESTRICT="test" + +RDEPEND=" + input_devices_wacom? ( >=dev-libs/libwacom-0.20 ) + >=dev-libs/libevdev-0.4 + >=sys-libs/mtdev-1.1 + virtual/libudev +" +DEPEND="${RDEPEND} + virtual/pkgconfig" +# test? ( +# >=dev-libs/check-0.9.10 +# dev-util/valgrind +# sys-libs/libunwind ) + +src_prepare() { + default + # Doc handling in kinda strange but everything + # is available in the tarball already. + sed -e 's/^\(SUBDIRS =.*\)doc\(.*\)$/\1\2/' \ + -i Makefile.am Makefile.in || die +} + +src_configure() { + # gui can be built but will not be installed + # building documentation silently fails with graphviz syntax errors + econf \ + --disable-documentation \ + --disable-event-gui \ + $(use_enable input_devices_wacom libwacom) \ + $(use_enable test tests) \ + --with-udev-dir="$(get_udevdir)" +} + +src_install() { + emake install DESTDIR="${D}" + dodoc -r doc/html + find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die +} diff --git a/dev-libs/libinput/libinput-1.8.2.ebuild b/dev-libs/libinput/libinput-1.8.2.ebuild new file mode 100644 index 000000000000..0c88be02d470 --- /dev/null +++ b/dev-libs/libinput/libinput-1.8.2.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit udev + +DESCRIPTION="Library to handle input devices in Wayland" +HOMEPAGE="https://www.freedesktop.org/wiki/Software/libinput/" +SRC_URI="https://www.freedesktop.org/software/${PN}/${P}.tar.xz" + +LICENSE="MIT" +SLOT="0/10" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="input_devices_wacom test" +# Tests require write access to udev rules directory which is a no-no for live system. +# Other tests are just about logs, exported symbols and autotest of the test library. +RESTRICT="test" + +RDEPEND=" + input_devices_wacom? ( >=dev-libs/libwacom-0.20 ) + >=dev-libs/libevdev-1.3 + >=sys-libs/mtdev-1.1 + virtual/libudev +" +DEPEND="${RDEPEND} + virtual/pkgconfig" +# test? ( +# >=dev-libs/check-0.9.10 +# dev-util/valgrind +# sys-libs/libunwind ) + +src_prepare() { + default + # Doc handling in kinda strange but everything + # is available in the tarball already. + sed -e 's/^\(SUBDIRS =.*\)doc\(.*\)$/\1\2/' \ + -i Makefile.am Makefile.in || die +} + +src_configure() { + # gui can be built but will not be installed + # building documentation silently fails with graphviz syntax errors + econf \ + --disable-debug-gui \ + --disable-documentation \ + $(use_enable input_devices_wacom libwacom) \ + $(use_enable test tests) \ + --with-udev-dir="$(get_udevdir)" +} + +src_install() { + emake install DESTDIR="${D}" + dodoc -r doc/html + find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die +} diff --git a/dev-libs/libinput/metadata.xml b/dev-libs/libinput/metadata.xml new file mode 100644 index 000000000000..d488dd47f4bf --- /dev/null +++ b/dev-libs/libinput/metadata.xml @@ -0,0 +1,12 @@ + + + + + gnome@gentoo.org + Gentoo GNOME Desktop + + + x11@gentoo.org + X11 + + diff --git a/dev-libs/libintl/Manifest b/dev-libs/libintl/Manifest new file mode 100644 index 000000000000..8f0bf558b521 --- /dev/null +++ b/dev-libs/libintl/Manifest @@ -0,0 +1,9 @@ +AUX libintl-0.19.5-langinfo.patch 1108 SHA256 30634053bf922bab511ac18ebbfad39aa51b17b2fab24cbe83e9204680276a32 SHA512 59dc10bacadb63399bbb23185005c7c83ec6a54cd944f49e4c0b7b9965530760201e49ec2a3b49fc750693125e8c53ac155f323f677272f30a1469bd66a49ac7 WHIRLPOOL 5bc9a9b7a800d4039992b839a755e5e8652210cbfed8a3d157c977424ca0b8b61ac0cac3760561e9a0722a96ddcab77d6e406ecd94da1e5783be423d04d8254c +DIST gettext-0.19.6.tar.gz 18619659 SHA256 ed4b4c19bd3a3034eb6769500a3592ff616759ef43cf30586dbb7a17c9dd695d SHA512 46adfd4a6d0038aba999658bebe51117e3ab3dc149a9054c1087d3e79ec7ba3371a7e78a8ca30a8872d162c2dc44aba6e67e4d64808c4f92e1e2bd674174f1db WHIRLPOOL 1988f9ddfd603734b4a632291925c8e5b31e7384eea1c6641d52aa58cb6b8f892e7664dd145a53435b7d2a4540ac65aeae1cb528a004c35832087c2820dafbcb +DIST gettext-0.19.7.tar.gz 19235781 SHA256 5386d2a40500295783c6a52121adcf42a25519e2d23675950619c9e69558c23f SHA512 7ba89074d3eddd0b4a5e2980e1ec74b53c49b7a04a1fa91c70c4bc11ce9c30415e4df9d79698148eaaed325fb4feb25a340a2e8e01fbe86b1a66b1376a4c9e3d WHIRLPOOL eb51c4be7c0a92c5c33c16329003e21947e0b9d1583c4a785ae6836f81273ea7ec2823a0a28ae81c3b977f2148c0f3bd524949484383ff87510e1d2bc642a786 +DIST gettext-0.19.8.1.tar.gz 19704011 SHA256 ff942af0e438ced4a8b0ea4b0b6e0d6d657157c5e2364de57baa279c1c125c43 SHA512 073042fa2dc48804c58e76f036130a669e19612c25427b0ab14d0b366b549a63751bf3af03bfd0745d7c4f72497a4b2aab26a3cc6de83189ce111679073878e1 WHIRLPOOL ef9aa9eef3067595dc725169075401dfad8ba15d6224d2b563e3421afa7c4dce9336a287147404273b772def811230b3758c005902ec90192e6ee4ac373d9a9a +EBUILD libintl-0.19.6.ebuild 2096 SHA256 3f0b4b847354ed478bcdec1fcad14bce944c7368168e09c5bfdc7010b1ee3473 SHA512 bfff57c95ecb0a5edc21cb3e4cef127b9ef45372c762dfa712f3967b93c04a90e34129a76a202f97a0a598d5cbd3ab7a8a715c4ee758d788c275cc581741dcba WHIRLPOOL 159bf2fb071655c9030aa2e53a3e1a5783dee37d6493bcf2c706b6b6ab5d79cb4c038a3a85edce568da7ab615daf0869a0889e943f4d6cbf0b4a3d6883935299 +EBUILD libintl-0.19.7.ebuild 2112 SHA256 521379bc86e5b148a9d887cc20e4c3e9babd5b42bb435163f4d13105bbb839af SHA512 ca932ed11246d86f6888ec8a54481283bd3cb77c430efe9ce1549f533dc7758f9730e3e390d318056cb49808c45f602e56b439fb5edf990d38d6e68641686cb3 WHIRLPOOL d87e5c3af5c4c002d6090ac59e720b0c9d16627049602f24893026bd79bb148545c7cc7dc6ef9657ceb23d1d54f278b618048faafec273b84002bba1dbcbc84c +EBUILD libintl-0.19.8.1.ebuild 2125 SHA256 8414e9b8423c8e53aa486eb9dae3571261aadcb1a5f492e747e92db60a700459 SHA512 8a1a367f673f2f1ee473b0fb4feb55ea6a7f9718a5f767cd966c7282214e72bd0183e2868e2024c0894732eaa77d8d3ca799dae0b12cde93eb2fbc243d302ddb WHIRLPOOL 29f516ae1b6c5e07c77d657484921871e14ace3df0c32485b2589d495a6dabe39610fae1f304b9c7e9891ed88d74a579e2c27ee208f8598af7590100a16b13bb +MISC ChangeLog 3485 SHA256 4ea0e6528d49733a42ae55e18aef4067465bfe40ac3732bb7baa1847fd9efda6 SHA512 b46e4e17b5446608ec7b6d181a17feeea534a26c39017afd6f0776c7d555ca1461905259d80ce69004c36a019262d8e50a625d00f7fbb93881919b2697178eef WHIRLPOOL 7c60bf0a8545be52a59c60627ae077260fe9470a9da79b565888b0a71360d175d4bc81c9737839231dd882b8f48f81babfbc3a0fb3fd8094b25126aa67096a1d +MISC metadata.xml 253 SHA256 d82c33ef453113a5c1ebe250dcba373c22934a69b0a86c6ab15a5ca589c25b91 SHA512 54a9069aeb4165d2dff3d473c8001bc51613aac9dff3f7f5e9971a9891a737a31511ffa11cbd523febe581ac1d9de2bdf2f40410f0c4239138f2ccca3ef15555 WHIRLPOOL e5aee23acff864609953a1e4de768f0e4aef704b44c53c021f28573e1ca5c99f1a46d92935ecec2449f7b4419a36d8373127d0ecfa8d7bae72d835e1839eb3f8 diff --git a/dev-libs/libintl/files/libintl-0.19.5-langinfo.patch b/dev-libs/libintl/files/libintl-0.19.5-langinfo.patch new file mode 100644 index 000000000000..bf96e69f924c --- /dev/null +++ b/dev-libs/libintl/files/libintl-0.19.5-langinfo.patch @@ -0,0 +1,35 @@ +this has been sent upstream + +From eac944b0757963ac1ba035ea72617734510ede22 Mon Sep 17 00:00:00 2001 +From: Mike Frysinger +Date: Mon, 12 Oct 2015 17:58:51 -0400 +Subject: [PATCH] intl/localename: control langinfo.h inclusion + +This header is only used to work around buggy behavior in old versions +of glibc, so do not include it all the time. Otherwise we get build +failures on systems that do not provide langinfo.h. + +* gettext-runtime/intl/localename.c: Wrap langinfo.h include with same +ifdefs used in the source later on. +--- + gettext-runtime/intl/localename.c | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/gettext-runtime/intl/localename.c b/gettext-runtime/intl/localename.c +index f8cf3f2..c27be86 100644 +--- a/gettext-runtime/intl/localename.c ++++ b/gettext-runtime/intl/localename.c +@@ -38,7 +38,9 @@ + # if defined __APPLE__ && defined __MACH__ + # include + # endif +-# include ++# if __GLIBC__ >= 2 && !defined __UCLIBC__ ++# include ++# endif + # if !defined IN_LIBINTL + # include "glthread/lock.h" + # endif +-- +2.5.2 + diff --git a/dev-libs/libintl/libintl-0.19.6.ebuild b/dev-libs/libintl/libintl-0.19.6.ebuild new file mode 100644 index 000000000000..4425db08a6a3 --- /dev/null +++ b/dev-libs/libintl/libintl-0.19.6.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +# Note: Keep version bumps in sync with sys-devel/gettext. + +EAPI="5" + +MY_P="gettext-${PV}" + +inherit eutils multilib-minimal toolchain-funcs libtool + +DESCRIPTION="the GNU international library (split out of gettext)" +HOMEPAGE="https://www.gnu.org/software/gettext/" +SRC_URI="mirror://gnu/gettext/${MY_P}.tar.gz" + +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" +IUSE="static-libs +threads" + +DEPEND=">=virtual/libiconv-0-r1[${MULTILIB_USEDEP}]" +# Block C libraries known to provide libintl. +RDEPEND="${DEPEND} + !sys-libs/glibc + !sys-libs/musl + ! + + + + base-system@gentoo.org + Gentoo Base System + + diff --git a/dev-libs/libisoburn/Manifest b/dev-libs/libisoburn/Manifest new file mode 100644 index 000000000000..997de3ab5478 --- /dev/null +++ b/dev-libs/libisoburn/Manifest @@ -0,0 +1,7 @@ +DIST libisoburn-1.4.6.tar.gz 1528141 SHA256 69efe9490e9ed6dbb1d8cad387ccaf5dcc5bb39dd466eef208a6b77a48584def SHA512 329d3234e8ae31abcab8d8a61a6531ab7ccdd8340148f84a6c77a23bbe16b303bf1dc95cafc751bf13f83e855f158b59ddd9e93c3dd1fe6046c1b5ea27eefb69 WHIRLPOOL 2b325541fe72e32acbd19c261a82b2c1475046467e33f5e1dd47d4aa64ed73f1a9f5d69281acd5978d65c046ff4c70dd7a4b6f3ef713f971e646cc5d12b7eb20 +DIST libisoburn-1.4.8.tar.gz 1537097 SHA256 91cf50473f0f19400629515974bda441545aaae29862dcbbdb28d87b821ca5a5 SHA512 26dd6f6884d98d9d3f54bf18b529a688d28aa0ff54b7fe6fe7926c7765755a1c7f7b2d0ef02ca6ea2bdac9ddf6f928c01c89a3547aea1e9f0b47346b160d0d46 WHIRLPOOL 88f2337bac0401f75a89e0ccfa5b259a87a282e7ce3594d02fc03da8765e3e164a77cdce38d959cbc31ad05798a7d0ad8887b601be0bfaf640adf39dd1378021 +EBUILD libisoburn-1.4.6.ebuild 1887 SHA256 3e41590da409c90f1df0d454bfd8151a90f7a36f2065fb11a4462989d007f3b6 SHA512 d1e70e25a18ca89b4cf5b767c2129a77e91a02a1eb0bc51078c3a80670c9be6dadaabbd2d579ebb18770c0194789e0e091b2baec4fb58d4ae849de34ee0b6a4c WHIRLPOOL 0e4421b683c43c58255e8cc0ea1a82699db526f9f191f76e188283ac8dbbaffcd6955c888a385e12054a9a4dfdde9d639c19898346425b13e5aabefdcf1700ab +EBUILD libisoburn-1.4.8.ebuild 1895 SHA256 87228fc77b7e5f3c4d44e525def319c77c08f62b933b27725bfbbb36cc7da3bd SHA512 3a76296a1b0fc381f76f3dbb330b2cfc61f4708b3559feff3e01db2fd8c3f1bbce60832d65c67433b1614581d60d9543a0cbf04d6ba191031f1db720fda31a34 WHIRLPOOL 282a7fde45ddf0f2e72b2666fabcd000cb2695c3c26b033d7d9a38a7229da28cc5f973d6d603a6758a0242ccbdeb80e55638e1e859b2546c5cd7d9e685a04d4e +MISC ChangeLog 4044 SHA256 b554a28c47696b5312dda0b6c674fd0b3c6cd1b43c3c8c17a7b981911f73abdc SHA512 7ab649672f1f1acd90a3bde27b85cea8362adb677cdf2150d1a371d9576f8e74163c83e89a5df22698fbf414891637309aaea20646af9d84bc7e622f6d8a0446 WHIRLPOOL b5134dfb9f0dffc3946660ba538571c9502576b373cdf3fd95366088977cfef63b4a0b3f2767ecf6df4e2bafd42fe49f5200d6099e82b98b264e5f9303db5f60 +MISC ChangeLog-2015 19756 SHA256 a88c2f337c4f13d65336b7819b54fd16b63a4931b20c259690b54f75d13ccd88 SHA512 56f49d9d6c4662fde951a886b061ce5c810160e8b9a332f7d6702e99c9e05bd67ce6f16c517da2b055a91beebcc21bb5394d30f91df43ccd0ff04af67e7b9026 WHIRLPOOL 46c977c1f9ba259870ef03c686caa96e084ef331b474b4867f87747b245443ef09991f6d112cc6a6692e8c5c9583e602caf2f77b725650a17a06689d5adc15a8 +MISC metadata.xml 907 SHA256 8c2fbd939f6fdd98d3a0e708dbfd7b270879559a91b09a80c256ed1b38004353 SHA512 a1ef1aaf1bb3f0250a3a73bd9420a24ad1f34ad0ff4fbf2a075284eed10430c8b3c989b932b5061439212001b76b483b7b5de7ed1e708e1c6fe14a0d80dd5166 WHIRLPOOL 5a55549344819908ada86fba9b5b0be90795dd0ee12aa49775aaecce08fd6d3e1034109abaac52a66de5387fe455e4bb4f55306afa14da48e53a434b9bc3b42d diff --git a/dev-libs/libisoburn/libisoburn-1.4.6.ebuild b/dev-libs/libisoburn/libisoburn-1.4.6.ebuild new file mode 100644 index 000000000000..6a2188900410 --- /dev/null +++ b/dev-libs/libisoburn/libisoburn-1.4.6.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Creation/expansion of ISO-9660 filesystems on CD/DVD media supported by libburn" +HOMEPAGE="https://dev.lovelyhq.com/libburnia/web/wikis/home" +SRC_URI="http://files.libburnia-project.org/releases/${P}.tar.gz" + +LICENSE="GPL-2 GPL-3" +SLOT="0" +KEYWORDS="alpha amd64 arm ~arm64 hppa ~ia64 ppc ppc64 sparc x86" +IUSE="acl cdio debug external-filters external-filters-setuid frontend-optional + launch-frontend launch-frontend-setuid libedit readline static-libs xattr zlib" + +REQUIRED_USE="frontend-optional? ( || ( launch-frontend launch-frontend-setuid ) )" + +RDEPEND=">=dev-libs/libburn-1.4.6 + >=dev-libs/libisofs-1.4.6 + readline? ( sys-libs/readline:0= ) + !readline? ( libedit? ( dev-libs/libedit ) ) + acl? ( virtual/acl ) + xattr? ( sys-apps/attr ) + zlib? ( sys-libs/zlib ) + cdio? ( >=dev-libs/libcdio-0.83 ) + launch-frontend? ( dev-lang/tcl:0 dev-lang/tk:0 ) + launch-frontend-setuid? ( dev-lang/tcl:0 dev-lang/tk:0 ) + frontend-optional? ( dev-tcltk/bwidget )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_configure() { + econf \ + $(use_enable static-libs static) \ + $(use_enable readline libreadline) \ + $(usex readline --disable-libedit $(use_enable libedit)) \ + $(use_enable acl libacl) \ + $(use_enable xattr) \ + $(use_enable zlib) \ + --disable-libjte \ + $(use_enable cdio libcdio) \ + $(use_enable external-filters) \ + $(use_enable external-filters-setuid) \ + $(use_enable launch-frontend) \ + $(use_enable launch-frontend-setuid) \ + --disable-ldconfig-at-install \ + --enable-pkg-check-modules \ + $(use_enable debug) +} + +src_install() { + default + + dodoc CONTRIBUTORS doc/{comments,*.wiki,startup_file.txt} + + docinto frontend + dodoc frontend/README-tcltk + docinto xorriso + dodoc xorriso/{changelog.txt,README_gnu_xorriso} + + find "${D}" -name '*.la' -delete || die +} diff --git a/dev-libs/libisoburn/libisoburn-1.4.8.ebuild b/dev-libs/libisoburn/libisoburn-1.4.8.ebuild new file mode 100644 index 000000000000..ed2e3658e505 --- /dev/null +++ b/dev-libs/libisoburn/libisoburn-1.4.8.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Creation/expansion of ISO-9660 filesystems on CD/DVD media supported by libburn" +HOMEPAGE="https://dev.lovelyhq.com/libburnia/web/wikis/home" +SRC_URI="http://files.libburnia-project.org/releases/${P}.tar.gz" + +LICENSE="GPL-2 GPL-3" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="acl cdio debug external-filters external-filters-setuid frontend-optional + launch-frontend launch-frontend-setuid libedit readline static-libs xattr zlib" + +REQUIRED_USE="frontend-optional? ( || ( launch-frontend launch-frontend-setuid ) )" + +RDEPEND=">=dev-libs/libburn-1.4.8 + >=dev-libs/libisofs-1.4.8 + readline? ( sys-libs/readline:0= ) + !readline? ( libedit? ( dev-libs/libedit ) ) + acl? ( virtual/acl ) + xattr? ( sys-apps/attr ) + zlib? ( sys-libs/zlib ) + cdio? ( >=dev-libs/libcdio-0.83 ) + launch-frontend? ( dev-lang/tcl:0 dev-lang/tk:0 ) + launch-frontend-setuid? ( dev-lang/tcl:0 dev-lang/tk:0 ) + frontend-optional? ( dev-tcltk/bwidget )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_configure() { + econf \ + $(use_enable static-libs static) \ + $(use_enable readline libreadline) \ + $(usex readline --disable-libedit $(use_enable libedit)) \ + $(use_enable acl libacl) \ + $(use_enable xattr) \ + $(use_enable zlib) \ + --disable-libjte \ + $(use_enable cdio libcdio) \ + $(use_enable external-filters) \ + $(use_enable external-filters-setuid) \ + $(use_enable launch-frontend) \ + $(use_enable launch-frontend-setuid) \ + --disable-ldconfig-at-install \ + --enable-pkg-check-modules \ + $(use_enable debug) +} + +src_install() { + default + + dodoc CONTRIBUTORS doc/{comments,*.wiki,startup_file.txt} + + docinto frontend + dodoc frontend/README-tcltk + docinto xorriso + dodoc xorriso/{changelog.txt,README_gnu_xorriso} + + find "${D}" -name '*.la' -delete || die +} diff --git a/dev-libs/libisoburn/metadata.xml b/dev-libs/libisoburn/metadata.xml new file mode 100644 index 000000000000..27b2e06fc232 --- /dev/null +++ b/dev-libs/libisoburn/metadata.xml @@ -0,0 +1,19 @@ + + + + +billie@gentoo.org +Daniel Pielmeier + + +Allow the use of external processes as file content +filters (Note: this is a potential security risk) +Also allow the use of external setuid +processes as file content filters (Note: this is a potential security +risk) +Enable the tcl gui for xorriso +Enable the tcl gui for xorriso under setuid +Use dev-tcltk/bwidget which is not strictly required for the frontend +Enable EXPERIMENTAL use of libcdio as system adapter + + diff --git a/dev-libs/libisofs/Manifest b/dev-libs/libisofs/Manifest new file mode 100644 index 000000000000..acf17d8a1ed1 --- /dev/null +++ b/dev-libs/libisofs/Manifest @@ -0,0 +1,7 @@ +DIST libisofs-1.4.6.tar.gz 826874 SHA256 14ab0b384e988d651092ca184d5f18dba83a9cfa05ff5e581770d6baa879a50a SHA512 7eed78a4194f96a019465e8f80bed0cd9f75a803eb11e31e60815b94712c7aa3ac218c6c6f39202a35cbe27b323f94f6d87502395975aa86805116cfbaf2b13e WHIRLPOOL 428ee41a7f611d45988ade4b60c2b2c6dc8b313521fffcd7e803c9f90d77fc6658147cfe98a24ac9f611173bcdf621f6a450c3073d8163920fd2d1a91e1b3707 +DIST libisofs-1.4.8.tar.gz 829979 SHA256 dc9de9df366c27cf03d31d860c83a08ddad9028fe192801ee344602ccec29b69 SHA512 0c6f505a951a1b7fce63bf63c715e5acb3158c15be2660627d2380771f025ec88bd67a4c2b8c86ef9dbb649a23cb26b826e875e7c87ff46c8bcd13d831fe8bcc WHIRLPOOL e9e6438446a462e8be31ca33aa87fbb7127b63e35213cd6144cabf5e84d980a8c5a27cceae69179b13c2db8a86bef74657c11de5e3b787669fadc336d38761d6 +EBUILD libisofs-1.4.6.ebuild 959 SHA256 9900f789bdcde9d63e980117b1777544cb8fe6e65cff2345a5a10484dc2d98b6 SHA512 f57e293c4f04ae2107b4967c0324dc92a80b430ef46b606c9f3188865ac3595b0b301727db29e3eaeda1b49ec9b0dc0a45c0ee62ac35335e76e43392e42f54ee WHIRLPOOL 88e875f663cf25e121b7cec5a274a8ec96ae32cd93ea37ef80eb120c1477fb012545b229cae030a96c5b8654fba8ac487013b44c846b19d19894e3b9ddbb6f61 +EBUILD libisofs-1.4.8.ebuild 952 SHA256 cfb9e233f5f6dd2916cbaff39b420ca1505ab792e477231f14dd4bb55cfbf601 SHA512 f28c10b3c040a51e098c2dd4b61bb116f42bd811f04eb319a6049046f86ea3947339fd064a7cd22137cf647979c640486ac577622abba7c6909ff71b5c3297a6 WHIRLPOOL 0b66a53151db5eddb7a51c8645483efabe64b379371164191c16e0feca38a87985a5799b265ce26e4c698bd41d87c584aa18af6f0bd8c989791e321b7584e2f9 +MISC ChangeLog 4010 SHA256 20f1ba28c90262f94af3baa73c345946730f8f0c7d67467be073b8dc0ccfea36 SHA512 6926b3e9fa45d615394fc92edb20eee549cb3e12dda247160014410cc694543c8686777f814be5b7aa771577846877da3960522075b4a3fb894a9d4d5f8187b5 WHIRLPOOL 571ce8263212fc78811e88ddd1e72985176ff2b80287e230eeff245828d26d12c180efece83778c1eabc265167d28e16b4d487c9c36c38baf23e0f5f3d769e71 +MISC ChangeLog-2015 21864 SHA256 cb2e4d6bfb74a71334eb147acf792da59d39412d1f419c93a1fe943b6297a927 SHA512 e6c036d2473165e31a5543934ab4f7061b789610cd766790986a5016bafda0671b563e2b47d02395ad74af3bd8e920013b125e3c28c8c51f17d7dfc1b66d4e22 WHIRLPOOL d2a8b3bcfbe68d390a0f8e333a6094fe9d45d7bc5c5b8526f85646aa6bc1e01e274f3f2fa69c9de6a94883b2cd20f33ac4b9a07a4c3db4f5ea4baab85d8a7ab9 +MISC metadata.xml 320 SHA256 91dc28e02f3e5d149f526b34807e4a8f1a321370d4f09f0b91c673358c69836f SHA512 cce70181ca955dc89d0d02186bbc8fca4608e41ac59b00ad1e10dca94fb259797bf93d9bf942b38d00feaad274f85c0b79ab0f5e672dff405af799a4799871ce WHIRLPOOL 3226feeda3f1b96f8337e551e97bf9fe9394795233461fc6b1f49d3ae0bf7fbc47bd4bb5dcfcc301f665dd6c0ac2f180dd5c770dde8b5124722e65d53e3768b0 diff --git a/dev-libs/libisofs/libisofs-1.4.6.ebuild b/dev-libs/libisofs/libisofs-1.4.6.ebuild new file mode 100644 index 000000000000..e1cbd6142c30 --- /dev/null +++ b/dev-libs/libisofs/libisofs-1.4.6.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils + +DESCRIPTION="Open-source library for reading, mastering and writing optical discs" +HOMEPAGE="https://dev.lovelyhq.com/libburnia/web/wikis/home" +SRC_URI="http://files.libburnia-project.org/releases/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 sparc x86" +IUSE="acl debug static-libs verbose-debug xattr zlib" + +RDEPEND="acl? ( virtual/acl ) + xattr? ( sys-apps/attr ) + zlib? ( sys-libs/zlib )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_configure() { + econf \ + $(use_enable static-libs static) \ + $(use_enable debug) \ + $(use_enable verbose-debug) \ + $(use_enable acl libacl) \ + $(use_enable xattr) \ + $(use_enable zlib) \ + --disable-libjte \ + --disable-ldconfig-at-install +} + +src_install() { + default + + dodoc Roadmap doc/{*.txt,Tutorial} + + find "${D}" -name '*.la' -delete || die +} diff --git a/dev-libs/libisofs/libisofs-1.4.8.ebuild b/dev-libs/libisofs/libisofs-1.4.8.ebuild new file mode 100644 index 000000000000..fbe5152ed83f --- /dev/null +++ b/dev-libs/libisofs/libisofs-1.4.8.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Open-source library for reading, mastering and writing optical discs" +HOMEPAGE="https://dev.lovelyhq.com/libburnia/web/wikis/home" +SRC_URI="http://files.libburnia-project.org/releases/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="acl debug static-libs verbose-debug xattr zlib" + +RDEPEND="acl? ( virtual/acl ) + xattr? ( sys-apps/attr ) + zlib? ( sys-libs/zlib )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_configure() { + econf \ + $(use_enable static-libs static) \ + $(use_enable debug) \ + $(use_enable verbose-debug) \ + $(use_enable acl libacl) \ + $(use_enable xattr) \ + $(use_enable zlib) \ + --disable-libjte \ + --disable-ldconfig-at-install +} + +src_install() { + default + + dodoc Roadmap doc/{*.txt,Tutorial} + + find "${D}" -name '*.la' -delete || die +} diff --git a/dev-libs/libisofs/metadata.xml b/dev-libs/libisofs/metadata.xml new file mode 100644 index 000000000000..13583465ba32 --- /dev/null +++ b/dev-libs/libisofs/metadata.xml @@ -0,0 +1,11 @@ + + + + +billie@gentoo.org +Daniel Pielmeier + + +Enable verbose debug messages + + diff --git a/dev-libs/libixion/Manifest b/dev-libs/libixion/Manifest new file mode 100644 index 000000000000..0500b905f7c6 --- /dev/null +++ b/dev-libs/libixion/Manifest @@ -0,0 +1,8 @@ +DIST libixion-0.11.1.tar.xz 366660 SHA256 c9e9f52580d618fa969fc0293f55af21a9c74bfb802e655c6bf239202f95bede SHA512 e205a5cf532e0522291f5f2a52c2e2c0cdf8d2ed094e5553943650744359d67adf629229a6ffff3c8fa90b15dde7765fee14d4f147fe51a6cdf79b2855509858 WHIRLPOOL aff1350bd1e3a5fec3f0a0cd3f51a88c873bd28469884b48d3fc316782819465f7d193e019fc753474663326b27680c1d12ce3050e6a082a75073040147dfbd8 +DIST libixion-0.12.2.tar.xz 407280 SHA256 8b44008836bb4e1a3dff4d3e40afec6c73037e3518e72cc85b5cc675fbc2daae SHA512 0a85120a08c79c73a252a997c8b3df461fe1f8ce8b2334aee0e50bfd887a440a220b44922edd18fbd402b1c8ea8be629e6181493bc618eda198f35159813ddcd WHIRLPOOL 3090887ffaa1222a3f15e4d5b96932d50392684ffaa4ea1022f14aeac7fc43972ed84fe6986c58360621e4ab1ad2ca5aa31694fbf081e8014de38b9ade1a060b +EBUILD libixion-0.11.1.ebuild 1082 SHA256 f96eb3c66584ca1b37015d2e2054e660700c95504838c3fee4d5a28d04cb6810 SHA512 51a331b7b589eeb339f5b1824562e0ab878265116a4e42f2a41c4c102c5309e228a0e61a91071190445d7618d72404b7e78792dca476633bfa08164c4aa124f8 WHIRLPOOL 2f7ecf589fdfb462908aa434402331512377af868cec19401f6d6892ad4095f8dd7714967cc39738e1085b99add3c5cd262aba9b8502203279575609479f4abf +EBUILD libixion-0.12.2.ebuild 1143 SHA256 395916e13433c796d5b663dcc4d986231216c79caf7f00d4455d1c184c4d5fb5 SHA512 e1ae4784ad8c151b899832fd9a15181021218764b52a8918d1a595383cfedab021e7fd1d37b1aefa5c371e872d1624e698e6726bfec4a2adb4cb8f29d49838de WHIRLPOOL 5185325fb2c55bdd84e4d84ea010d1691b1d79b4d4cf34cae545fe0b4df098ad447c475d9cccaaf079570efa62b10a6afc1c5f7355e53949e11d7f5637ab3892 +EBUILD libixion-9999.ebuild 1142 SHA256 e2e5691aafca664a965303bd0b076325544768119518ce4820b102e4d81c4048 SHA512 89981130ad52c0026336c60bb994dd7fc396195d8ca2bb11a13ef70e953d962293572cfda4e08c4f55f8d540b242abdb2d1b04325e160662d2168d7fed42a75b WHIRLPOOL 5b701eebbae296b2239855c2353956a5bd537a1ef6aea7e9d42317bf21ba9ed9355db824d55fb708a5d0012355db773a5952d3dc779c54e8a54e71ebdeecdcf2 +MISC ChangeLog 5809 SHA256 03ccd6cc2343839ce8ac5a514a33d161b4c9dc94685fd48291d70ee64753f688 SHA512 c07be6cd3e33a8b827766624a2f7f54c34434e8275387f9e3201a8aacffb27b7a5d17f310294576f14b59610adcbc67d8b2d4ba6fcddd9435ff152ce1cdcb1b0 WHIRLPOOL 56601b5fb27fe59b4fa83c4eb7c1178467fa4523cc5437f31080bdc324d0a3eb35873b60a5e7f54ec34afc465a231c4fd4c3bd29e0adbbbd978c7dd0c455aa41 +MISC ChangeLog-2015 4223 SHA256 b56b391c74e89daa862c57bcf28c1526284ab49cb0546962af6e5bba5e224eb2 SHA512 df82b54f525ae3876550ca2a2224eb349aa3dd5162bb880c118233111287d261e1f9dfb907012667bd26e49e7e807a1e5782b84f32ebf92a38866f3e5b7f217a WHIRLPOOL 8373abae020a9b9b35ed22c9964fa715c051982e6d2db73061c693ed79e3e822991729f53943dcee4cc06268b53924b6719de877ab64716d0aebea34c480885a +MISC metadata.xml 397 SHA256 3d370c714602ab47cc6cb3adc47917c501e43ce5ca5c0c762e4b01b8ade02504 SHA512 558a3f9911ec5f5404e709f634595a4001adab07488e9da379b4936fd4d6742e40490aa1290f2e88716d2e5732462b1d63d52b8cdea4c58c77e1fbff17439312 WHIRLPOOL 280137510a4bfa390459de46b8ded7ceae87a08947d32e117948cad8df37b1cb0a88e31b0f1812d33ce9436c599f5c1444beaf9dda9a88c86bc0d94a2c3bd756 diff --git a/dev-libs/libixion/libixion-0.11.1.ebuild b/dev-libs/libixion/libixion-0.11.1.ebuild new file mode 100644 index 000000000000..7ad53ecd7a71 --- /dev/null +++ b/dev-libs/libixion/libixion-0.11.1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +EGIT_REPO_URI="https://gitlab.com/ixion/ixion.git" + +PYTHON_COMPAT=( python{3_4,3_5,3_6} ) + +[[ ${PV} == 9999 ]] && GITECLASS="git-r3 autotools" +inherit eutils python-single-r1 ${GITECLASS} +unset GITECLASS + +DESCRIPTION="General purpose formula parser & interpreter" +HOMEPAGE="https://gitlab.com/ixion/ixion" +[[ ${PV} == 9999 ]] || SRC_URI="http://kohei.us/files/ixion/src/${P}.tar.xz" + +LICENSE="MIT" +SLOT="0/0.11" # based on SONAME of libixion.so +[[ ${PV} == 9999 ]] || \ +KEYWORDS="amd64 ~arm ~ppc x86" +IUSE="python static-libs" + +RDEPEND=" + dev-libs/boost:=[threads] + python? ( ${PYTHON_DEPS} ) +" +DEPEND="${RDEPEND} + >=dev-util/mdds-1.2.0:1= +" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +pkg_setup() { + use python && python-single-r1_pkg_setup +} + +src_prepare() { + eapply_user + [[ ${PV} == 9999 ]] && eautoreconf +} + +src_configure() { + econf \ + $(use_enable python) \ + $(use_enable static-libs static) +} + +src_install() { + default + + prune_libtool_files --all +} diff --git a/dev-libs/libixion/libixion-0.12.2.ebuild b/dev-libs/libixion/libixion-0.12.2.ebuild new file mode 100644 index 000000000000..ef984a6cc999 --- /dev/null +++ b/dev-libs/libixion/libixion-0.12.2.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +EGIT_REPO_URI="https://gitlab.com/ixion/ixion.git" + +PYTHON_COMPAT=( python{3_4,3_5,3_6} ) + +[[ ${PV} == 9999 ]] && GITECLASS="git-r3 autotools" +inherit eutils python-single-r1 ${GITECLASS} +unset GITECLASS + +DESCRIPTION="General purpose formula parser & interpreter" +HOMEPAGE="https://gitlab.com/ixion/ixion" +[[ ${PV} == 9999 ]] || SRC_URI="http://kohei.us/files/ixion/src/${P}.tar.xz" + +LICENSE="MIT" +SLOT="0/0.12" # based on SONAME of libixion.so +[[ ${PV} == 9999 ]] || \ +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86" +IUSE="debug python static-libs +threads" + +RDEPEND=" + dev-libs/boost:= + python? ( ${PYTHON_DEPS} ) +" +DEPEND="${RDEPEND} + >=dev-util/mdds-1.2.0:1= +" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +pkg_setup() { + use python && python-single-r1_pkg_setup +} + +src_prepare() { + default + [[ ${PV} == 9999 ]] && eautoreconf +} + +src_configure() { + econf \ + $(use_enable debug) \ + $(use_enable python) \ + $(use_enable static-libs static) \ + $(use_enable threads) +} + +src_install() { + default + + prune_libtool_files --all +} diff --git a/dev-libs/libixion/libixion-9999.ebuild b/dev-libs/libixion/libixion-9999.ebuild new file mode 100644 index 000000000000..cd31a4887aae --- /dev/null +++ b/dev-libs/libixion/libixion-9999.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +EGIT_REPO_URI="https://gitlab.com/ixion/ixion.git" + +PYTHON_COMPAT=( python{3_4,3_5,3_6} ) + +[[ ${PV} == 9999 ]] && GITECLASS="git-r3 autotools" +inherit python-single-r1 ${GITECLASS} +unset GITECLASS + +DESCRIPTION="General purpose formula parser & interpreter" +HOMEPAGE="https://gitlab.com/ixion/ixion" +[[ ${PV} == 9999 ]] || SRC_URI="http://kohei.us/files/ixion/src/${P}.tar.xz" + +LICENSE="MIT" +SLOT="0/0.13" # based on SONAME of libixion.so +[[ ${PV} == 9999 ]] || \ +KEYWORDS="~amd64 ~arm ~ppc ~x86" +IUSE="debug python static-libs +threads" + +RDEPEND=" + dev-libs/boost:= + python? ( ${PYTHON_DEPS} ) +" +DEPEND="${RDEPEND} + >=dev-util/mdds-1.2.0:1= +" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +pkg_setup() { + use python && python-single-r1_pkg_setup +} + +src_prepare() { + default + [[ ${PV} == 9999 ]] && eautoreconf +} + +src_configure() { + econf \ + $(use_enable debug) \ + $(use_enable python) \ + $(use_enable static-libs static) \ + $(use_enable threads) +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die +} diff --git a/dev-libs/libixion/metadata.xml b/dev-libs/libixion/metadata.xml new file mode 100644 index 000000000000..07e60cced834 --- /dev/null +++ b/dev-libs/libixion/metadata.xml @@ -0,0 +1,14 @@ + + + + + office@gentoo.org + Gentoo Office project + + + libixion soname version + + + ixion/ixion + + diff --git a/dev-libs/libkpass/Manifest b/dev-libs/libkpass/Manifest new file mode 100644 index 000000000000..0eb8912c5c8a --- /dev/null +++ b/dev-libs/libkpass/Manifest @@ -0,0 +1,6 @@ +DIST libkpass-6.tar.gz 407412 SHA256 901f94961e017e13bb763245d5304d4f487e16dc586c820a90241c6f3a8b8b0a SHA512 506e642dbbd1295fe9f46e31d80d151df4428373b191cc98340d9bd2f5e06c31e53b45a35e843d8cbb1ef2b2c4fee36a54032e7ced6dead789082c4a174443de WHIRLPOOL cbb933924b1546b9d8b0267d679c8026da89b1bee7e92b2ec4635541902a4d0f06dc6fe7a494a695cdb514f06df0bcd4fcfc5f359aea757ef33122b5b5f13259 +EBUILD libkpass-6-r1.ebuild 561 SHA256 636161c958da620b554607909dcf00c0d617c7a3e0730dfefdc451d6be23317d SHA512 fe83e3b3726e384f91a0f6467c0ab9c96c108ed3b6e9a9e708fcfaeb2431192aeda871f9c4095a48c3b33910a0e2c1f577981de79e3349f33ea777c8a4a5d3a0 WHIRLPOOL 2389fd0cfaee135e7be9a3637642dc9842f01bb4dc02291fec580db81468979b378d8eb6b837897cf9fe4da4ea3bbe635b33b9325211f2d95137e0ec14c50a11 +EBUILD libkpass-6.ebuild 601 SHA256 cc90c99f8edb206cbadc095fae53c7017707dfd2f529caf527628fe3797dd6a2 SHA512 2233459e730a08f522ee19963fa0fbf0610dd1c67e9e0ffbfb8b2a570e5bddbd98c0a12c7cf9102c07f5eb95989a68153a60a424e6998488dd8c4891e17d6023 WHIRLPOOL bd23b5af116c179aa37dbf135aa69567aa4039f769c9bc63f91b32cac34d73b595c3ae88c61501bc8ecb198cf0406ca52c2237758b76669f0afaf671664ca484 +MISC ChangeLog 2494 SHA256 08dd4004d095d60cbfd034f6fbc3a5ea815aeac372597dc35ab334864d6abd7b SHA512 230eeec4d89a00ab8c1b2aa61bfc4c1d423ba8bd874605ce02b0d2c31d85e905188bb15b3dbd55420b7951ff3343ac8055629b4d48cea315030eb8ef9023ecb7 WHIRLPOOL cb6552a53a7330f2687728f18fecf727287b5365b4984c4371f767f1bb4ff4f4796a3fca15dd6ec2224562bb33e71789e677826749135043396fd3e1c9a3e4a8 +MISC ChangeLog-2015 1250 SHA256 705296589ce12d4b8be9a930b5a8f878077870348192c0873e11894a6a78a0af SHA512 f4ca062fc2eebc106222837aad82f5f2471a5ffe24820555dedc3016e068ee76b26571591e51bc5b858bcada265732a6f6b45d3d3b340ff8b2e86968d951fc4f WHIRLPOOL 1c7e6dc26ce277da0b17898a4ddb0e982f09e35fd8ad4e7d14817e6b971625a1efbb5b666229aa3db96987ce9849cd078954e4fd989821c5f292816e7775cff1 +MISC metadata.xml 245 SHA256 98a94ae3ff5a780e885edb6d393ebb8a96c4933d5dad3d228424add959589fc5 SHA512 404a90521867fe7d5fb02b72d72d820201d91c415dcb792b852cf4b4b6dc499ccbfa51ac3f6bde4a0cf35d85267647c8b28d062bc4f3ba2fbfa8c2d54669b22f WHIRLPOOL 545b60a74345f414712e77c847adf510a5e3d88fab2cd64911785977a417ae17b562d3d2f5316adb40bb99350978e3afe60ec4f1c115015677bc6de5c4df7617 diff --git a/dev-libs/libkpass/libkpass-6-r1.ebuild b/dev-libs/libkpass/libkpass-6-r1.ebuild new file mode 100644 index 000000000000..3a2ddb4fdc80 --- /dev/null +++ b/dev-libs/libkpass/libkpass-6-r1.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Libkpass is a C implementation to access KeePass 1.x format password databases" +HOMEPAGE="http://libkpass.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="static-libs" + +RDEPEND=">=dev-libs/nettle-2.7.1" +DEPEND="${RDEPEND}" + +src_configure() { + econf $(use_enable static-libs static) +} + +src_install() { + default + use static-libs || rm -f "${ED}"/usr/lib*/${PN}.la +} diff --git a/dev-libs/libkpass/libkpass-6.ebuild b/dev-libs/libkpass/libkpass-6.ebuild new file mode 100644 index 000000000000..ef324877ee5f --- /dev/null +++ b/dev-libs/libkpass/libkpass-6.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +DESCRIPTION="Libkpass is a C implementation to access KeePass 1.x format password databases" +HOMEPAGE="http://libkpass.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="static-libs" + +RDEPEND=">=dev-libs/nettle-2.7.1" +DEPEND="${RDEPEND}" + +DOCS=( AUTHORS ChangeLog README TODO ) + +src_configure() { + econf $(use_enable static-libs static) +} + +src_install() { + default + use static-libs || rm -f "${ED}"/usr/lib*/${PN}.la +} diff --git a/dev-libs/libkpass/metadata.xml b/dev-libs/libkpass/metadata.xml new file mode 100644 index 000000000000..b9dcab4a62ad --- /dev/null +++ b/dev-libs/libkpass/metadata.xml @@ -0,0 +1,8 @@ + + + + + + libkpass + + diff --git a/dev-libs/libksba/Manifest b/dev-libs/libksba/Manifest new file mode 100644 index 000000000000..34a1a885749e --- /dev/null +++ b/dev-libs/libksba/Manifest @@ -0,0 +1,5 @@ +DIST libksba-1.3.5.tar.bz2 620649 SHA256 41444fd7a6ff73a79ad9728f985e71c9ba8cd3e5e53358e70d5f066d35c1a340 SHA512 60179bfd109b7b4fd8d2b30a3216540f03f5a13620d9a5b63f1f95788028708a420911619f172ba57e945a6a2fcd2ef7eaafc5585a0eb2b9652cfadf47bf39a2 WHIRLPOOL 0e2ec80997123cf0bc399a577767f14cb4704ad80d4b90de6111ae5c90fc2fcf0c09ecfdd1e8013889b3d5de0e6176f65cfe1585feb476bb98a1d09cc79e7d5a +EBUILD libksba-1.3.5-r1.ebuild 815 SHA256 057ce24fd705159a6623a7e76453c7cc29cc939b1f13e8d2d28a937f88dcc8a1 SHA512 43f6456c136c4f59ae77b72342adfe8cbf8c538e72af5f3a3bc37508fbad89562b7720252324383d17ce815f816fccf462977b267f41e17559e9faac821761a7 WHIRLPOOL 9f528309d065b22903428003dd75d003ce94e7b21abc3b3a3a5612759d9ebd5e1cb5486e39d98c5dec4eb8e1ed7f0fec272cce6f5461686e3e43aa9ed7797a50 +MISC ChangeLog 6452 SHA256 6ea8e9470b4f7774065e57c52e66efbef3b4a7d0beaca7f8bbc7ceec1f9444f1 SHA512 879cb3f2bf1a6fce9b0a9f0855c4129371f02f6fdbf337805a56b06e062069fcd9e027b546edeecde94c5c3bff78cf981d8d3d1cb3b40793f8002552ea9391bb WHIRLPOOL e94bf47b2193ab4dd65c8b96d27e35fc99ccd0fb92c89656783e3f7ecd0d91b58291792fbcaa4e98175b68a516a69b7803e8d878e9967faa705bcc2eb6241a6c +MISC ChangeLog-2015 20384 SHA256 58b60c0d0199c25bd54e9a5c912ece368d6d2eafe713b8d6b067746013a8f239 SHA512 61e2a951a0cbe6d6084df7face8ff7378ac712c078557183feb94ee75ba6e573973f7aac398212a27dad28cc3bca1b55b96e313b75b2b9b4f381812adcd088a7 WHIRLPOOL 44fad28a6c657f145a1411431a0d4da0db43a9bf068d37554e9f5b995f916a9486db6d06a86da8772f7e7c637a570fb06132272a7c9b66e11479e4193d988e42 +MISC metadata.xml 236 SHA256 dd25b46c95b0c63da84b7ff5778479e31449a385df066e9ee14bf0d7d176f42f SHA512 5f6cd6a85527534d5de7118de5af212ee3044c8c5530a7f7087a28074a2d4ab7be1728325bd985adc063dc795d3cf2b1c4e58a4c4c4ec02d739bd4bbc544ef08 WHIRLPOOL b15a2dfb001c41c8de2895842148b2531b74949e89e93ff8c366519c35792996e344918eaf9144fb081fc240796e47890be356d2339bea60b1e1d41830447d31 diff --git a/dev-libs/libksba/libksba-1.3.5-r1.ebuild b/dev-libs/libksba/libksba-1.3.5-r1.ebuild new file mode 100644 index 000000000000..548687ea3640 --- /dev/null +++ b/dev-libs/libksba/libksba-1.3.5-r1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit ltprune + +DESCRIPTION="X.509 and CMS (PKCS#7) library" +HOMEPAGE="http://www.gnupg.org/related_software/libksba" +SRC_URI="mirror://gnupg/libksba/${P}.tar.bz2" + +LICENSE="LGPL-3+ GPL-2+ GPL-3" +SLOT="0" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="static-libs" + +RDEPEND=">=dev-libs/libgpg-error-1.8" +DEPEND="${RDEPEND}" + +src_configure() { + econf $(use_enable static-libs static) +} + +src_install() { + default + # ppl need to use lib*-config for --cflags and --libs + prune_libtool_files +} diff --git a/dev-libs/libksba/metadata.xml b/dev-libs/libksba/metadata.xml new file mode 100644 index 000000000000..f1c3d59fb213 --- /dev/null +++ b/dev-libs/libksba/metadata.xml @@ -0,0 +1,8 @@ + + + + + crypto@gentoo.org + Crypto + + diff --git a/dev-libs/liblazy/Manifest b/dev-libs/liblazy/Manifest new file mode 100644 index 000000000000..4d01a3d4e6cd --- /dev/null +++ b/dev-libs/liblazy/Manifest @@ -0,0 +1,5 @@ +DIST liblazy-0.2.tar.bz2 232417 SHA256 703bec3eb265ae1976008d134be4334a2a74503c293d96e426669da3591d502f SHA512 1b3977d297caa985d77c5be61af1853a96fb23beb4b340a21bc0bac3160a68147396dc677d029ffac170c63f631e28422903fcc08b9f1c7e363ce0e776c9652b WHIRLPOOL 36faf4419b61cb0fd73291ee9bf269f4e5336e24eded3b9ea35675c47749c985d34257e059d4e67e9569e1ff1b1da847e53746038cc2dba55d4ef0474711f6e6 +EBUILD liblazy-0.2-r1.ebuild 580 SHA256 1615b8360ccd814ba736bdfa87798516d8545bdcb66936059e751e263ae3d461 SHA512 0fe77b67473da666ee7dcf8f1365fe88f02562bf6e96baf1d05b46cd8a6ddbfa35a32e0800a5a7f579bcd42cc4c16e1ebf8abde83464009c731c20508bb5a6ea WHIRLPOOL 20cef1abf92314923f7c58ed876aaeb1ae72108adb15d017d15d65b747a2feca90f8c3f54d8c289cad87d1fcc809130b8406d644d9e5406391410f467883724f +MISC ChangeLog 3305 SHA256 86bb95593f27a595c659f00047ab1fc556c4ee25ae8c69f2026f19e86556e798 SHA512 6a3dcea6fe9935f56b35f98969c14142ddaae9188212d97f86eba562cd7e872cfb78292fdb027c98ebdd7647eab5728747ee69fcdeb0b1a812b7357ef3701b5b WHIRLPOOL 73fac381ac4dd534227ac7728e6bb37595d77de0310a0abbde62a0ca52d8e4d329a3c9695397fe34de4adf36f92c6effe24c9bee4196b6684a8b7557b183acbf +MISC ChangeLog-2015 1020 SHA256 fa4edb8ef684d8d985894315024067a05e76579f572b759310484a28a5ba22f6 SHA512 ec94753d69f727db47a24c0348e176bbe46138eee0aff7466223fab8473f188fe75f7b52439bfe7168878bd78a54a91352a6097063be46b4bfc497f65876fb39 WHIRLPOOL 612dbc8a38462f4dff4fde2aad100c2f73cb308ce2d2bf6048aa7d555c8ba8d497966fd3d0b3f8f75c1d3ea02bcae7fd5d308a1377efab1d2a4ba3cfa2612d6e +MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968 diff --git a/dev-libs/liblazy/liblazy-0.2-r1.ebuild b/dev-libs/liblazy/liblazy-0.2-r1.ebuild new file mode 100644 index 000000000000..d6d1a51748ef --- /dev/null +++ b/dev-libs/liblazy/liblazy-0.2-r1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="lib for D-Bus daemon messages, querying HAL or PolicyKit privileges" +HOMEPAGE="https://freedesktop.org/wiki/Software/liblazy" +SRC_URI="https://people.freedesktop.org/~homac/${PN}/${P}.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="sys-apps/dbus" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_configure() { + econf --disable-dependency-tracking +} + +src_install() { + emake DESTDIR="${D}" install + dodoc AUTHORS NEWS README +} diff --git a/dev-libs/liblazy/metadata.xml b/dev-libs/liblazy/metadata.xml new file mode 100644 index 000000000000..6f49eba8f496 --- /dev/null +++ b/dev-libs/liblazy/metadata.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/dev-libs/liblinear/Manifest b/dev-libs/liblinear/Manifest new file mode 100644 index 000000000000..9e4912ae6a65 --- /dev/null +++ b/dev-libs/liblinear/Manifest @@ -0,0 +1,7 @@ +DIST liblinear-210.tar.gz 381662 SHA256 9e559d1f0714799d4cf7742fb186012459285e25bed9c5847d5d8032daefc8de SHA512 4e4558467f2ebb3dbd640c172b1129c8e5981c231a043abb0398a803252559795604a34992baee50ae6689646050733d3a908d7d76f8b1c94309b859eae7f8c8 WHIRLPOOL 6756930f5fec958f3f137b9757a6a3704d1a5ab799d1634e2223990847ebe05a2602a77e4310a4f653434230ca47c0053de2ff3a03dc1cb265f85a6148db6f5d +DIST liblinear-211.tar.gz 506507 SHA256 f1ed0afdda112515a8594862c58fd88223a0691686007e91b07e8ee0bf541350 SHA512 005a47b3a8ff27f9890ce10549478be4b041c92d162815fba33dd56db7c014e6958b3e7e161451490c34d88df2161366365bd41b1a48d6a77034edc346a0fc3a WHIRLPOOL 880f5d5129f132922c99f98a09188d8800760d7e12e36af00315abafe16f3716a14fc30aa6ae6dc6d37230f5a371921af228a2413f804a1e1334f28770339c10 +EBUILD liblinear-210-r1.ebuild 1415 SHA256 1fcd88485d4acf40377373f9522bb3b7bd74dea2136337adf1b5437f78701f07 SHA512 6928d45c94eb3c63bb0d29ffadb4738240e6b24ca71d88e121a8091ccb92fcecb9a6df9c4d27e5c381ad8a9ea2fe3528793fd7a950ae90d8b6daaab95b8c777d WHIRLPOOL 37f2c7d19338a1df2a7feb700fda786d10d3a8e4de90802ea657162cb6d6814fcf2a97365e0a82ca3ade5ed7cbf1f75ff09f9ae8cc9cbbb3220634a11358f15e +EBUILD liblinear-211.ebuild 1433 SHA256 f1c0f482667eae37b41077063afaa5672ca1c8dd7544d406f1c97874799ba018 SHA512 650c1cd319cc802c3fe3cc2dd7a1d95b5527c49ba5215f58923c39bf77ca74d61b710ecc2aee6bb091315c7b7b51297141d0f167eabdbb022c9f2596bd43ac24 WHIRLPOOL fbf7363457652cab54a4a31062bcb7f32655e5c41a003030987c08277e4b8fb678d149731f75337f283b4e9659c6c22822f79e20b337548392c50386c0302e86 +MISC ChangeLog 5575 SHA256 67014ab85729a4686a45a8468d9b502fed917e8a956cdc09f56e7129b399a169 SHA512 f55b5f6d06db76f08ec2250692e1f8586e288ca9969cc9b03b7072687936da4f2423932cd636703bb8e4adc1a0e40e493945cdabe03c0b4d728bd5a2a70b17d3 WHIRLPOOL 866c12d81826f91ffc23d0a270ee8ae47967cf57e81e3523e12707d7f633156031fc2d8db61a53d614309c57cef8f4895b6c17787152aa9cd539a6c0f0ebf4ad +MISC ChangeLog-2015 3659 SHA256 521635fd69ee2b808318b75b632a54ce003dec976aee66e9342d2a6a14f6efdf SHA512 0428bda42f11f68b68d7aab177e6a1a8b5bac4affd55d7d682fc4ea5c15ccef9fa552b339b5f5c21f8d189f570f94423ea365c86d535c0f2cc81f4e85114847f WHIRLPOOL da91b459bb33f1f7df3ee7b4cc1993b84972296d8d401e12e7bf8d20eac206bf9f468718f8ca24ffcfd0251dbfb5a1b95f9fbd7f221cc0f43572b028678825b2 +MISC metadata.xml 335 SHA256 d56b0ae39f237f75ebe7ce5053c77e248bdb8e35343fc766e128d8cccfceae3e SHA512 efd0a36cca5d21c4a5e94388d125870af42ae9091234a44ae53b8ac6ea7e6ad0b637a5629d3c9ceabfebddce71fde8fa94285e5b1c7edefddebb8bab9e99f0bd WHIRLPOOL 94944b5d2e29a4535cbe190c6b6052341d83ae15319a577098a685ddabc2d300649884ad978f523c7591409aea58e6d3b557b9a095125bd36e983bc0efb77e75 diff --git a/dev-libs/liblinear/liblinear-210-r1.ebuild b/dev-libs/liblinear/liblinear-210-r1.ebuild new file mode 100644 index 000000000000..56c5480d5d6d --- /dev/null +++ b/dev-libs/liblinear/liblinear-210-r1.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit multilib toolchain-funcs + +DESCRIPTION="A Library for Large Linear Classification" +HOMEPAGE="http://www.csie.ntu.edu.tw/~cjlin/liblinear/ https://github.com/cjlin1/liblinear" +SRC_URI="https://github.com/cjlin1/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/3" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86" +IUSE="blas" + +RDEPEND=" + blas? ( virtual/blas ) +" +DEPEND=" + ${RDEPEND} + blas? ( virtual/pkgconfig ) +" + +src_prepare() { + sed -i \ + -e '/^AR/s|=|?=|g' \ + -e '/^RANLIB/s|=|?=|g' \ + -e '/^CFLAGS/d;/^CXXFLAGS/d' \ + blas/Makefile || die + sed -i \ + -e 's|make|$(MAKE)|g' \ + -e '/$(LIBS)/s|$(CFLAGS)|& $(LDFLAGS)|g' \ + -e '/^CFLAGS/d;/^CXXFLAGS/d' \ + -e 's|$${SHARED_LIB_FLAG}|& $(LDFLAGS)|g' \ + Makefile || die + if use blas; then + sed -i -e 's:blas/blas.a::g' Makefile || die + fi +} + +src_compile() { + emake \ + CC="$(tc-getCC)" \ + CXX="$(tc-getCXX)" \ + CFLAGS="${CFLAGS} -fPIC" \ + CXXFLAGS="${CXXFLAGS} -fPIC" \ + AR="$(tc-getAR) rcv" \ + RANLIB="$(tc-getRANLIB)" \ + LIBS="$(usex blas "$( $(tc-getPKG_CONFIG) --libs blas )" blas/blas.a)" \ + lib all +} + +src_install() { + dolib ${PN}.so.3 + dosym ${PN}.so.3 /usr/$(get_libdir)/${PN}.so + + newbin predict ${PN}-predict + newbin train ${PN}-train + + doheader linear.h + + dodoc README +} diff --git a/dev-libs/liblinear/liblinear-211.ebuild b/dev-libs/liblinear/liblinear-211.ebuild new file mode 100644 index 000000000000..aa78ae616b61 --- /dev/null +++ b/dev-libs/liblinear/liblinear-211.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit multilib toolchain-funcs + +DESCRIPTION="A Library for Large Linear Classification" +HOMEPAGE="http://www.csie.ntu.edu.tw/~cjlin/liblinear/ https://github.com/cjlin1/liblinear" +SRC_URI="https://github.com/cjlin1/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/3" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="blas" + +RDEPEND=" + blas? ( virtual/blas ) +" +DEPEND=" + ${RDEPEND} + blas? ( virtual/pkgconfig ) +" + +src_prepare() { + default + + sed -i \ + -e '/^AR/s|=|?=|g' \ + -e '/^RANLIB/s|=|?=|g' \ + -e '/^CFLAGS/d;/^CXXFLAGS/d' \ + blas/Makefile || die + sed -i \ + -e 's|make|$(MAKE)|g' \ + -e '/$(LIBS)/s|$(CFLAGS)|& $(LDFLAGS)|g' \ + -e '/^CFLAGS/d;/^CXXFLAGS/d' \ + -e 's|$${SHARED_LIB_FLAG}|& $(LDFLAGS)|g' \ + Makefile || die + if use blas; then + sed -i -e 's:blas/blas.a::g' Makefile || die + fi +} + +src_compile() { + emake \ + CC="$(tc-getCC)" \ + CXX="$(tc-getCXX)" \ + CFLAGS="${CFLAGS} -fPIC" \ + CXXFLAGS="${CXXFLAGS} -fPIC" \ + AR="$(tc-getAR) rcv" \ + RANLIB="$(tc-getRANLIB)" \ + LIBS="$(usex blas "$( $(tc-getPKG_CONFIG) --libs blas )" blas/blas.a)" \ + lib all +} + +src_install() { + dolib ${PN}.so.3 + dosym ${PN}.so.3 /usr/$(get_libdir)/${PN}.so + + newbin predict ${PN}-predict + newbin train ${PN}-train + + doheader linear.h + + dodoc README +} diff --git a/dev-libs/liblinear/metadata.xml b/dev-libs/liblinear/metadata.xml new file mode 100644 index 000000000000..97b5450a7dc9 --- /dev/null +++ b/dev-libs/liblinear/metadata.xml @@ -0,0 +1,11 @@ + + + + + jer@gentoo.org + Jeroen Roovers + + + cjlin1/liblinear + + diff --git a/dev-libs/liblinebreak/Manifest b/dev-libs/liblinebreak/Manifest new file mode 100644 index 000000000000..7f31f09f3629 --- /dev/null +++ b/dev-libs/liblinebreak/Manifest @@ -0,0 +1,5 @@ +DIST liblinebreak-2.1.tar.gz 390922 SHA256 dd8cba554d260cf686865cc53d0c6be98102a80f56f8152ca5e7307bf06a66b8 SHA512 063cef3bf2d5266387c00a5f5adce883b6ae9c33e153f5cda5475652a45fe5e3a0b609a56ec1093cfe988869cf3164285756e3b7a7428a02ee7184f683c7eb3a WHIRLPOOL aa4bbc517b09c2f0ccb94d19c10b960cffd1d9c35b9df9b58abbd18fed93549500e890132ff0e188c8d378c2257d666aae21337fe87ad9092af567f688ac9b63 +EBUILD liblinebreak-2.1.ebuild 468 SHA256 222404de46f505d28e3118b06f62e62a24381f0701c196a6903e043272470480 SHA512 3ba3d310116da4492b58618f31beb8fb0f007fc0f1cd28778ce1754aa14f97d2fa1d19b8cedb1696a68404a18440b9695fd7b1f88ce3fd275f02233e750df160 WHIRLPOOL c980bcfba3c71061c834b797b4b3eec723d19eaf358f5811e0501ca04986f8c39d6c5991fcb495324edd68c0d931f3a97990ffcc5caac694d3cdcdcd4340f3df +MISC ChangeLog 2533 SHA256 ea32c2931881dbe6dbab1b7b16d31e91fb59bf5b49755b11b4adc9d74e60561d SHA512 cfcf5c5479456d772d6f1ca1fcf26dabe5345a1cec709cf311a2823c93f513596f01be89178cc9ccaadf8edd5c29f48442c0b812bf714b86ce7769309b6b4a83 WHIRLPOOL d4f3d03fbc65682090d05821563e5df79c37f36465df0ae813362b3a251a3cdf8913f077039217b3a2458e566783240fcadfcc100f990085725ac7b29f04cd5e +MISC ChangeLog-2015 1504 SHA256 0f0208424eb0920ba01f20dcb752711017bf661afd964ceb14eeb68644143d71 SHA512 13d5b758078c43fb101b043d045c5b06158e09331abfde71a227d19b7cdcf292351496d437dbe775aeb31d83607aebdf433be2009f7ae8494419982b4769d7c0 WHIRLPOOL 3df648d5a4348a30809351377c212339ad5bdf972202eb64468e816e76a3fb63b7f16379ab035b3ee860fe2930e34e197a3ae50fbf90565c89372b93c204f13c +MISC metadata.xml 533 SHA256 938300eb8efac1450a5322038d5f1b34ac9c51dc81dbcf18714ec76bb3278fd1 SHA512 b900e3f64d2c79f2c34010503fb54e88729f22f8a0faf7fcf1785ce23638b39f49e63d3aeb2d30be448d4366eaf5727c8c2db7fa112ba3e739e0157ebde95006 WHIRLPOOL 44b97cb727e43ecdb8b05c024fc2d88b22513f11b05caa349a38a7e028ffe6111e2b86318accb510daa2d6d170553cd9338b1e3bd4c33c9e98986b13eedc18f0 diff --git a/dev-libs/liblinebreak/liblinebreak-2.1.ebuild b/dev-libs/liblinebreak/liblinebreak-2.1.ebuild new file mode 100644 index 000000000000..ecdf854b2ec3 --- /dev/null +++ b/dev-libs/liblinebreak/liblinebreak-2.1.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils + +DESCRIPTION="Line breaking library" +HOMEPAGE="http://vimgadgets.sourceforge.net/liblinebreak/" +SRC_URI="mirror://sourceforge/vimgadgets/${P}.tar.gz" + +LICENSE="ZLIB" +SLOT="0" +KEYWORDS="amd64 ~arm ppc x86" +IUSE="static-libs" + +src_configure() { + econf \ + $(use_enable static-libs static) +} + +src_install() { + default + prune_libtool_files +} diff --git a/dev-libs/liblinebreak/metadata.xml b/dev-libs/liblinebreak/metadata.xml new file mode 100644 index 000000000000..227870ef9dbe --- /dev/null +++ b/dev-libs/liblinebreak/metadata.xml @@ -0,0 +1,13 @@ + + + + + + Liblinebreak is an implementation of the line breaking algorithm as described + in Unicode 5.1.0 Standard Annex 14, Revision 22. It breaks lines that contain + Unicode characters. It is designed to be used in a generic text renderer. + + + vimgadgets + + diff --git a/dev-libs/liblist/Manifest b/dev-libs/liblist/Manifest new file mode 100644 index 000000000000..91a372614921 --- /dev/null +++ b/dev-libs/liblist/Manifest @@ -0,0 +1,7 @@ +DIST liblist-2.3.1.tar.bz2 257253 SHA256 a956e9c48a5aadecafdc3916eacf2b6cff1eb23e1c40a3119bba2f2a1b4d82a3 SHA512 4bb9cc678bafc3be68f94d028aa9a9a9c9dd792043adc6e7916955afa07b6e94653bd235ee81880307e433e07130823daf1fd36ba0663da7d09e5f4eb84efc6c WHIRLPOOL 511c8453eae6648ef8412168289a8c75dff70ac436984f4d2651a7aaec494b51ead89b639ae2405e23554104a1f08c4660c17bebe8ec9d2d748bc6363ced24f6 +DIST liblist-2.4.tar.bz2 275234 SHA256 ab63d5410952ed3158f1332ce6c17f9ee66241bbc172b811eb573d7db399c836 SHA512 814a02e4e47de8d234e592b87156533c30563c64c3a7515712fb9b75119bcee21796232b2a5abf7e4ab892932fa256890ad175aecb75aad8fb4614c6f4fbe3dd WHIRLPOOL d3ba056c380b251fb0dd9ef0b26b1564ae12483d76960fec95bfaf46dccc7dc4ca5784f874c8b33b294fef9571652d13fba4fa8cfae273536b9bae6bcc552918 +EBUILD liblist-2.3.1-r1.ebuild 1379 SHA256 01446a9d1ded34e8657dc934f6d3f7299b0a6d2da3b910a8853cfa16d432c025 SHA512 605425c69136ac9e7445a5056f5aea1acf1afc678301fbc69c70d7c3729252300a679ab0dbacd6cba6e88a6daefb5c0804520f52f37d80adacfe0d24f4b2daa9 WHIRLPOOL 7aa2b304c0e148181222885a42ec7c04fffed91fa061601a83cef240a740282473537f07f29fb02559787d6b0dd5075cb18c6c330ab46cbd69a6b90954483650 +EBUILD liblist-2.4.ebuild 1315 SHA256 f0efaf0bc5b42bcb77cdf2a971b69818d2295ee53dd8044c51b70b0c0ff99a6c SHA512 74d9b4af5ed6cb82600d4687100e8d42df6885800cf7d627c5de011eb994cdb2976341a112918b84e3d54d7221d5fed13cb0c6f88bd5927986ac25e9aa672f62 WHIRLPOOL cbcae296d3d817b687a5baee484dac13511b30486fb9143d90d8f421f27a28de41d1d2c41c2dea70729a0d07a85af2323e9ac829f754be7b4210dfdd3b088cbf +MISC ChangeLog 2602 SHA256 cff0e63a25241c9e723122a7be7c3ba53d2feb01a388c2cea6847c2613be25dc SHA512 86aa6f01f28876c153bfce7bb2606d4c347a0923ff4863569aa681a9aaee02337fc9dd65295a6b9bd0054ca87e1198d9c890cdf00b5b114e89f85c3aa122a12c WHIRLPOOL d61c6cfcf339f76ff5723fc6628a35e51905a3f9a00d62f10d98deb8a59e408bb1e65cc52985499a3f316b8b9f0e226a3107f22170e1deb3d45ac38b7d474640 +MISC ChangeLog-2015 2398 SHA256 fa6d962c749b8424288b5a3ddfead99cf93601cfd7eb439a94c3c891ce628325 SHA512 9ee804228fcc68763c675044c491d74f2fa828b5d6fc1813e846cc7fab72c627c5eb9e7c8066a511347f3142ccb4cba0d180df7ac4969690017eab6ef6312d5e WHIRLPOOL 766752bf83787e398202bb479aaacbd83e879a1792189c2298a9b5fa70c6cad4000e6802f8697783600a40aea836bb115dfe7bfbcd6524521252395c55bc14fb +MISC metadata.xml 329 SHA256 0fb6b9c851f5326505b10ce07ebbaeee43a240974113b6ad12a06be756946ff4 SHA512 4e63a82dc13d3606b920b15ebc720ff19ea775dd6d37f494166ab89c23013cb5610b747063e768f7959c83bac48ab11f69233304f1e3314845e94fbe053fae71 WHIRLPOOL 89921af690e54df0d910cd0a12e350ff098412aaf9d124962ede49970a19a9e26c216699a51e476b29b9015d9b4e4ae14dd0dc242ad6008f749a988fea90bbf8 diff --git a/dev-libs/liblist/liblist-2.3.1-r1.ebuild b/dev-libs/liblist/liblist-2.3.1-r1.ebuild new file mode 100644 index 000000000000..325032cde687 --- /dev/null +++ b/dev-libs/liblist/liblist-2.3.1-r1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=3 + +inherit multilib + +DESCRIPTION="Generic linked-list manipulation routines, plus queues and stacks" +HOMEPAGE="http://ohnopub.net/liblist" +SRC_URI="ftp://ohnopublishing.net/mirror/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~ppc ~ppc64 x86 ~amd64-linux" +IUSE="doc examples static-libs" + +DEPEND="doc? ( media-gfx/transfig + dev-texlive/texlive-metapost + virtual/latex-base )" + +src_configure() { + econf --docdir="${EPREFIX}"/usr/share/doc/${PF} \ + $(use_enable doc docs) \ + $(use_enable examples) \ + $(use_enable static-libs static) +} + +src_install() { + emake DESTDIR="${D}" install || die + + dodoc README || die + + if use examples; then + insinto /usr/share/doc/${PF}/examples + doins examples/{*.c,Makefile,README} || die + insinto /usr/share/doc/${PF}/examples/cache + doins examples/cache/{*.c,README} || die + fi + + if ! use static-libs; then + rm -v "${ED}"/usr/$(get_libdir)/liblist.la || die + if use examples; then + rm -v "${ED}"/usr/$(get_libdir)/libcache.la || die + fi + fi +} + +pkg_postinst() { + elog "Note the man pages for this package have been renamed to avoid" + elog "name collisions with some system functions, however, the libs" + elog "and header files have not been changed." + elog "The new names are llist, lcache, lqueue, and lstack." +} diff --git a/dev-libs/liblist/liblist-2.4.ebuild b/dev-libs/liblist/liblist-2.4.ebuild new file mode 100644 index 000000000000..0d6a76723744 --- /dev/null +++ b/dev-libs/liblist/liblist-2.4.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +inherit autotools-utils multilib + +DESCRIPTION="Generic linked-list manipulation routines, plus queues and stacks" +HOMEPAGE="http://ohnopub.net/liblist" +SRC_URI="ftp://ohnopublishing.net/mirror/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux" +IUSE="doc examples static-libs" + +RDEPEND="doc? ( media-gfx/transfig + dev-texlive/texlive-metapost + virtual/latex-base )" +DEPEND="${RDEPEND}" + +src_configure() { + local myeconfargs=( + --docdir="${EPREFIX}"/usr/share/doc/${PF} + $(use_enable doc docs) + $(use_enable examples) + ) + + autotools-utils_src_configure +} + +src_install() { + autotools-utils_src_install + + dodoc README + + if use examples; then + insinto /usr/share/doc/${PF}/examples + doins examples/{*.c,Makefile,README} + insinto /usr/share/doc/${PF}/examples/cache + doins examples/cache/{*.c,README} + fi + + docompress -x /usr/share/doc/${PF}/{list.0,paper.dvi,examples} +} + +pkg_postinst() { + elog "Note that man pages for this package have been renamed to avoid" + elog "name collisions with some system functions. However, the libs" + elog "and header files have not been changed." + elog "The new names are liblist, lcache, liblist_queue, and liblist_stack." +} diff --git a/dev-libs/liblist/metadata.xml b/dev-libs/liblist/metadata.xml new file mode 100644 index 000000000000..d2f81c4bedd0 --- /dev/null +++ b/dev-libs/liblist/metadata.xml @@ -0,0 +1,8 @@ + + + + + This package provides generic linked-list manipulation routines. In addition, + queue and stack abstractions are provided by single header files. + + diff --git a/dev-libs/liblogging/Manifest b/dev-libs/liblogging/Manifest new file mode 100644 index 000000000000..94693a6a0d58 --- /dev/null +++ b/dev-libs/liblogging/Manifest @@ -0,0 +1,7 @@ +DIST liblogging-1.0.5.tar.gz 571051 SHA256 310dc1691279b7a669d383581fe4b0babdc7bf75c9b54a24e51e60428624890b SHA512 fd0c89b670bdf4d257d6a31b18b44940ba2edae84633ead6577f164e1ded93709445c35027a28f6e7fda4c984964c3446978eaf0abf843e31ecc11b979e2adde WHIRLPOOL 17c22802e9037aee69c6985a627b6eb24281311292543bc4d9e0383290f7181bcf959de07405a5783f09e8d3dcfb2c88ae5701cec97a3812815f40c6a36ea715 +DIST liblogging-1.0.6.tar.gz 593393 SHA256 338c6174e5c8652eaa34f956be3451f7491a4416ab489aef63151f802b00bf93 SHA512 09c90a93b2d32afa44be5a800705a64690810a56d21bed1455cb70680b01fecd4efef3881a43f98ebcafa996b6046ed8e5af935eacc12014f330a7fd23674964 WHIRLPOOL b268028ee750276a67c176888eab0f1a621eabbeb787f962ba9405c12cbeacce99870ae37e810dce971f0a64b6c696e0b4cfc013bffd11deabfaa3f0f2ff6db9 +EBUILD liblogging-1.0.5.ebuild 735 SHA256 230ccfee7e9764f2f16c1592530c2e676afbe55418ef69693040af27fe6f3f4f SHA512 9cdb8e7a153da3c646ca9fcaa24c928dc5f8eeca715bdfec6168a924d823ce8871140eb6b049aad3869ab4373d02e17785c580ed7a12ab28d8d102790b045b04 WHIRLPOOL 506cbd79152ff62c09ac4f1eea38297283212b9a6688ee70bfe58a98ba07eb5157bd876b5f2e8257eebc10ace2b5eeabc7d7654f07b3502b6fefb51f57599988 +EBUILD liblogging-1.0.6.ebuild 815 SHA256 2de23eeafd9354e8386f0e8042c8704ac5e7048511aa906fd1ec867f02ccf5be SHA512 243518bd2bf136cc5056e04b4404b70d5e344900891a2950b6d49c4c32b924d2ab6f39130804ec0a43fa65040d2217a3dbe4fece1930224ad0607c26d574343b WHIRLPOOL ef27c60433b1cf3b68699e1cc1207df90feb38d3bc2ad0791c738437e80a82942580cfc19853cc8ea884f35ad15bb16f1b61ffb352796484af9b4de7f9cc9090 +MISC ChangeLog 4694 SHA256 d82d6935546b1a1c94abd214805baffe6b04d705503555023f5172c5a66e637c SHA512 514b9c9e29af39e29044fb472d59f64e32986613cc8370c6ecb6d1c055cf2f23400ab42eb62cab081e63ce4b78dd0ebc52cd596324baad61c1f2c0ed99653256 WHIRLPOOL efc20053e2d7dea697fcc7ec2656cca29b6d6ff0e5fe77a5e71a32cc9877250e9ef29f73588fc94e226f6efc9a59bba287a3792a4ead5e428d027d8855b36b40 +MISC ChangeLog-2015 1178 SHA256 812a46aa66f09b48b848f0273a183e75354c96eaac515511cf4bb0c5aee8a642 SHA512 c997fd1fc4a0f3f75c54932143ee63cd1c8299bceae0bd125d28af5da6290c05d485aed0e8a2044cc279fd541727a354861a074e9c10f46faf6070239ad26f55 WHIRLPOOL 7126b863252de7cd1b63e7c44a446da22afd96fee2c2eec97971b8d099868c50ecd816aa3a9a0858ccd0d2ea5c3c36d1366646de0344480f8d0cb1d603796993 +MISC metadata.xml 731 SHA256 f1df2ea70ac283d5a1901453df6e8c1d5b8617524558d3681686a075f881932b SHA512 3d8645d66e6e193d29b720ad618ca530ed793d229fe38afeae43a2bc741e3794d993ab97ac04b1e5cc2979472c81265bf43ed27786c1b3663320747c09fd0464 WHIRLPOOL 88d610d8ebf395911b81bad08ed4ef984f7383c13e15708596cd34a29f5cddb50f261fbc8f66c4cc9764211a6574bcce6273b18e4ad787542caeb9ac9019e9f8 diff --git a/dev-libs/liblogging/liblogging-1.0.5.ebuild b/dev-libs/liblogging/liblogging-1.0.5.ebuild new file mode 100644 index 000000000000..b9afb6796d1b --- /dev/null +++ b/dev-libs/liblogging/liblogging-1.0.5.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit autotools-utils eutils + +DESCRIPTION="Liblogging is an easy to use, portable, open source library for system logging" +HOMEPAGE="http://www.liblogging.org" +SRC_URI="http://download.rsyslog.com/liblogging/${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0/0" +KEYWORDS="amd64 arm ~arm64 hppa x86" +IUSE="rfc3195 static-libs +stdlog systemd" + +RDEPEND="systemd? ( sys-apps/systemd )" + +DEPEND=" + ${RDEPEND} + virtual/pkgconfig +" + +DOCS=( ChangeLog ) + +AUTOTOOLS_IN_SOURCE_BUILD=1 + +src_configure() { + local myeconfargs=( + $(use_enable rfc3195) + $(use_enable stdlog) + $(use_enable systemd journal) + ) + autotools-utils_src_configure +} diff --git a/dev-libs/liblogging/liblogging-1.0.6.ebuild b/dev-libs/liblogging/liblogging-1.0.6.ebuild new file mode 100644 index 000000000000..ba160843656b --- /dev/null +++ b/dev-libs/liblogging/liblogging-1.0.6.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit autotools + +DESCRIPTION="Liblogging is an easy to use, portable, open source library for system logging" +HOMEPAGE="http://www.liblogging.org" +SRC_URI="http://download.rsyslog.com/liblogging/${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0/0" +KEYWORDS="amd64 ~arm ~arm64 ~hppa x86" +IUSE="rfc3195 static-libs +stdlog systemd" + +RDEPEND="systemd? ( sys-apps/systemd )" + +DEPEND=" + ${RDEPEND} + virtual/pkgconfig +" + +DOCS=( ChangeLog ) + +src_prepare() { + default + + eautoreconf +} + +src_configure() { + local myeconfargs=( + $(use_enable rfc3195) + $(use_enable stdlog) + $(use_enable systemd journal) + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + default + + find "${ED}"usr/lib* -name '*.la' -delete || die +} diff --git a/dev-libs/liblogging/metadata.xml b/dev-libs/liblogging/metadata.xml new file mode 100644 index 000000000000..50284e1c1566 --- /dev/null +++ b/dev-libs/liblogging/metadata.xml @@ -0,0 +1,24 @@ + + + + + ultrabug@gentoo.org + Ultrabug + + + whissi@gentoo.org + Thomas Deutschmann + + + + Enables RFC 3195 protocol (aka syslog-reliable) support. + If you don't know what this is, you don't need it! + + + Enables liblogging's core component (think of it as a the next version of the syslog(3) API). + + + + rsyslog/liblogging + + diff --git a/dev-libs/liblognorm/Manifest b/dev-libs/liblognorm/Manifest new file mode 100644 index 000000000000..dfdb3fdf31e1 --- /dev/null +++ b/dev-libs/liblognorm/Manifest @@ -0,0 +1,18 @@ +AUX liblognorm-1.1.0-fix-enable-docs.patch 1556 SHA256 6dc2fe548f6ef1d134db4224bb62ba0f2f3d71902f734638cb27cbb483bcc9b1 SHA512 44cfc8201ed944888d1846a49faddd6a9056466338c368552bfbbf82f79e7cea8e220af9bc5715f1064cd27e9eae8f0ff5fe3eeb982e9443b3d0b88235aafb11 WHIRLPOOL e994834bbbbbef0b505056f09932291a36c210f94f269c9789a671ed8611b72d015278d9cb793ce68d458e2a0462fc32010a6a99fcd2603c16174f1fd782d31c +AUX liblognorm-1.1.2-issue_135.patch 3662 SHA256 966755fd46cb087c36e205207531dd6415cb5dccd4f566831b8c018f2c3c64b4 SHA512 212fb8bfc488e414703c7f6907540867ebea69e33d3aebc57e73d72dae3b4695d3423810bc6045e39541a92555e4b06ec16bfb074450e946c1a7ab4ed289076d WHIRLPOOL 186bb2ad2d764ce2bc075c2d522efa1a7ff1795afb17c526ffb13f4c9c63446bb66cd92a7312694056072313fe294a929c7e71333944b66b649f9b1ac5851213 +AUX respect_CFLAGS.patch 436 SHA256 2b13a79bd560ec1a753a9bcbfe44b3233e0aae7f17bd52ee03f603f643ab8581 SHA512 fe284d7bcee9cc094e5a213f16815e07ad08615ebdd6ea00d652d9f0d23aa23664b857ecda2877679878bea5bfb91f05ea0aa775d66e06e8a407c26b5fc784eb WHIRLPOOL 4e9b3804716e7d3933f4e50f64b512d3b6ab96b9ad3d6773a77e47fb3de813d2016268b8a1cece2f8233c1dd09d32c30e8b3f9ffe9ae699a14856bc47992cc7d +DIST liblognorm-1.1.0.tar.gz 499355 SHA256 2ddff2ee893c9268e19868f19dc4d8037e3d266c0d001436c33c9429fcbb3030 SHA512 f694d47c8e60871f0f3ce1fe8092b2596850beea618760c289d9cec6068fb8e8e260f4abb3faf20b931864d91ed18f640c65235fd693f6c67ce232fa11006107 WHIRLPOOL b03347d89e86d858d98a2237b6319f1646c995b5a725b486a9288de9a1cfc243b826c822a22f9e5a2a6f3c13c68a2e408ee8d5a68f2c361aeb40bc1b7d8af644 +DIST liblognorm-1.1.2.tar.gz 547224 SHA256 935a112fb5310877aaa5046ac8bd2ec7d0e9fed03e2fffccb84b6f93b92a536c SHA512 d0dc206ac2f34174ec1a7e05ae4f84520ae67f49b5540bf9b957378418d6e32384fddd40aaa26dfbdec868a6e7d7a0b677af5201dcbf4f0d4b177934a260ff00 WHIRLPOOL 616fb1b951139576579389141253651b79dd215e742b14b0add81341c2cbeed5411544cf3c92221b4d3f4b459e51d55e59dd789b2cc3ad6fe19afb61ec02d0b6 +DIST liblognorm-2.0.1.tar.gz 657390 SHA256 6a7fda0da2791a87c808fbfde1af20e6463e3ff73496aae7756e3440f3bc5b75 SHA512 557ba4180d764c04edabe6292a44f5340c5b1f7ac2390a4068711be4ad6da7429e651bc2230d6ff9cc6c58cd6a6c59149f20083de8cf4d8239d95f86db39565f WHIRLPOOL ae89d7f34b673f14103574966e72b508d69a00e7f8d13eb5e9665c83303606da729001d7bb0712f96de8c4df63b3c75df90f52ec937b793a503d0062912acd6a +DIST liblognorm-2.0.2.tar.gz 658976 SHA256 1689453feb4fa5343475cc08379d9e3f0f4c767a3669aa6adb553905d14447db SHA512 7cb1e20c895859072b9d6f0b3c2dd89874192dce6d11878a4c3eb0b0d9f1691d97205a61290e9cd07deeaa71c58f5fb6a4c1f14bd206119d690cf84c107ccbe4 WHIRLPOOL 46484771236067fd903d71ab17f25a513378f5aba0f59a8b3f563873aa5b56908f23ff668dfe2a4f30ade415cc7dc26b12934ccf2bad5d2521bcf6505d45a8e8 +DIST liblognorm-2.0.3.tar.gz 660680 SHA256 a0c670b1f4ad0cb79dba0a4c16d9c3e8109596b5cdd744990e2924b79fd3dab3 SHA512 8f343f3029c506a9c060b1b55e478da9ceedc1fbf27ca53a991ffbddb397383adfee2d79beb174a6c997599ee3c0fa4bbc9925fa850e5bf4f4d7b181ddae7cdb WHIRLPOOL cef991d499ad893e67c0bd7c98b35ed41bf729104ec1d7d3cf7c23b0f59cadc3b95722cab7e487b09ba376f14b400cadc2f5b7731800f7da9cd1ad4b7c8b83eb +DIST liblognorm-2.0.4.tar.gz 665898 SHA256 730175b6e4e8818c31a60f614f8ba38aae4f8edbeb50d0e34236749e5d20b3a3 SHA512 3c7cbf0c8c320708615218009354d198ba0893632ca464a07270f59d137753dfc7ad6dae66b565660f14e9285f9c8964824d36070b1872b6c633589b4996ba02 WHIRLPOOL 369d8d037155a19f4b70859d0bc3cc356cdf60e38ef0d153815fa33ecb690e67feff0e0cd79a5c870ed455f7d969d037c0aaf82728e5e0fe72f3a100469cf0d5 +EBUILD liblognorm-1.1.0.ebuild 913 SHA256 4251670614587003a8d60340d02a01056fbc942a447edc6a3ee1cd3e9b5d0623 SHA512 3edc4121dbfbebe227c7647b94e66d92f36ae4af7fcb9c23216c531889a071531a0e32667ab734d35dcea8249e707660394d4be66d99059341e68347234d2f1f WHIRLPOOL c883905f4a3e915446608d5bb7e9a1c01223c2879b785a9e2e62b18e89d643d6e1e93842e0e06dc627546acbe223b76615c267757f10749b8b68973fb3a5c317 +EBUILD liblognorm-1.1.2-r1.ebuild 1186 SHA256 d68eb5145d6eea99b81063a2b0b285058f3f228c76f3f179cc8ae95ef89d0897 SHA512 eb5c1492462a0614bdf3b4673f6325d45ecb7da556b67d8b96d61ac673365e831caa22b17ff4964c3ce4463d8831ae38aea61dd231b8a33a76c9c0d4565109b4 WHIRLPOOL b5c29578744d4fd535c7ea9518768736036f9f2af06809d5177bebba3fd94c1c837f2815c288ba3302b2aa03657f789ef9b91c5cb8cb937afa55f4f3a20e7ab7 +EBUILD liblognorm-2.0.1.ebuild 1487 SHA256 f362874a6f24c7df53846401d965e69db360a460c577247a8591b73238079fe7 SHA512 e773b83301151707eef61699d62b2b81581209dbea8e9b26df896452b1026fbc9c825472368c849c15de10a8a948ab75ff70b53fcb5dbe69836e4027997c2bea WHIRLPOOL b87d8515166ec9bda0e76d0e0b9cb19405f0c4bc02928b0dbcb3c2c5c207f3f16853553fb7c44cb9c3c3f3f73f2a83d664c32364e4a7c692b8ed99faa43af461 +EBUILD liblognorm-2.0.2.ebuild 1487 SHA256 f362874a6f24c7df53846401d965e69db360a460c577247a8591b73238079fe7 SHA512 e773b83301151707eef61699d62b2b81581209dbea8e9b26df896452b1026fbc9c825472368c849c15de10a8a948ab75ff70b53fcb5dbe69836e4027997c2bea WHIRLPOOL b87d8515166ec9bda0e76d0e0b9cb19405f0c4bc02928b0dbcb3c2c5c207f3f16853553fb7c44cb9c3c3f3f73f2a83d664c32364e4a7c692b8ed99faa43af461 +EBUILD liblognorm-2.0.3.ebuild 1495 SHA256 04dd2d7af9403d7893fdef7891618e4821bbfe5fe16cb7b50ea3c65a4acd21e0 SHA512 1c57e99573af96893554ae3d622c5a90b04b5bda5bd79c8588d883ded230be8173bf8c440b9a5e724bed4ec255639534c17b1636b376d7f454808cc5559c4552 WHIRLPOOL 14e65d4abd25c5c29a48510e3a5f8e0271bec8b0a3429861c564410bb1efbe0af7e636c45d42466ea367407719ddf95045ba1c3d9b37a99051071a31920c979d +EBUILD liblognorm-2.0.4.ebuild 1498 SHA256 577d3070a10ddb99b5b0be1ddcdcfbdfd8c1a2379a7b857a7755b561a4b487cd SHA512 ad46c6dda5a2ed91792c3f0d60e4b457951ff2383227eacff24bd34d2109210819351a64b5a2893187f15ec3f4aca0e5c7162d50c0fabdcf2116bf1984befa7a WHIRLPOOL c1f3e648ff46261b603e110cbd464033904821d2a7ab854749262bd97aeb75ec263fcfb38fd520be09258b843b24951f70fd75883bbf35ba03d035e797873fe1 +MISC ChangeLog 7391 SHA256 3723fba61b29ed4f1fefc18ba48295fc2f65de1b17a3d7a79c2573837394c363 SHA512 3b93d8bd77811088a161e4be6f502e5912cbf17e83e130bf2e7378cdd86d432062f0c27b04a148dcccb287a42beb71729930b07f7384248e0246799f07e4ff78 WHIRLPOOL dfcfd6ed5ca1945c562a1191dc5cffe9eb967fe226ddefd5bad2ed3ba2d28e6fc21e135ea1b3910ea2163600fde8d4b1db6c5e333727d2bb03809415622d17e5 +MISC ChangeLog-2015 5351 SHA256 dd317e2581c9377452050ccfe7d7846edc251e95b416720255cae7ef0a8ce9ba SHA512 561d7c3763e3a3b5ca590f0fe2cfa5e2ecf519d635f3d9a95c69d13cb275c2c1e38818bc5132f07be353f6cf292178a0ce8885413093c301bc9f53baa29375e9 WHIRLPOOL 07a4852521a6578f5e997134a7313324e1f010d99e820910a17968cb34cc75c31151073bca920bedb859fd6ea709769a62fc64fee892df74b316b544b1a47559 +MISC metadata.xml 630 SHA256 b006e889cd5011c7a55b16418c0e28d5e7cbfcf9a967b1ce023109210553a859 SHA512 b7d110a4e2c0fa1131ce3382ded840a17b9776331b5872fdd537a486a53d2821154c3d132649dfc989f5bb5f19a36792b171356aa971e4867f7006f870b4b0d2 WHIRLPOOL 241315332ebfe970f4507fbb7681fe425e05b458413205cf70ebea19721b4461e2d3a535b9ad9c84ea1e997bcd90cdb399a8420a3a71576bf953d5e6260d6d1e diff --git a/dev-libs/liblognorm/files/liblognorm-1.1.0-fix-enable-docs.patch b/dev-libs/liblognorm/files/liblognorm-1.1.0-fix-enable-docs.patch new file mode 100644 index 000000000000..3bffe5ec74f0 --- /dev/null +++ b/dev-libs/liblognorm/files/liblognorm-1.1.0-fix-enable-docs.patch @@ -0,0 +1,41 @@ +[PATCH] Turn --disable-docs into --enable-docs and make it work + +See upstream issue #16 for more details. +--- + configure.ac | 22 ++++++++++++++-------- + 1 file changed, 14 insertions(+), 8 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 547908c..26a2f96 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -96,15 +96,21 @@ fi + + # docs (html) build settings + AC_ARG_ENABLE(docs, +- [AS_HELP_STRING([--disable-docs],[Disable building HTML docs (requires Sphinx)])], +- [enable_docs="no"], +- [enable_docs="yes"] ++ [AS_HELP_STRING([--enable-docs],[Enable building HTML docs (requires Sphinx) @<:@default=no@:>@])], ++ [case "${enableval}" in ++ yes) enable_docs="yes" ;; ++ no) enable_docs="no" ;; ++ *) AC_MSG_ERROR(bad value ${enableval} for --enable-docs) ;; ++ esac], ++ [enable_docs="no"] + ) +-AC_CHECK_PROGS([SPHINXBUILD], [sphinx-build sphinx-build3 sphinx-build2], [no]) +-AS_IF([test "$enable_docs" = "yes" -a "x$SPHINXBUILD" = xno], +- [AC_MSG_ERROR([sphinx-build is required to build documentation, install it or try --disable-docs])] +-) +-AM_CONDITIONAL([ENABLE_DOCS], [test "$enable_docs" = yes]) ++if test "$enable_docs" = "yes"; then ++ AC_CHECK_PROGS([SPHINXBUILD], [sphinx-build sphinx-build3 sphinx-build2], [no]) ++ if test "$SPHINXBUILD" = "no"; then ++ AC_MSG_ERROR([sphinx-build is required to build documentation, install it or try --disable-docs]) ++ fi ++fi ++AM_CONDITIONAL([ENABLE_DOCS], [test "$enable_docs" = "yes"]) + + AC_ARG_ENABLE(testbench, + [AS_HELP_STRING([--enable-testbench],[testbench enabled @<:@default=no@:>@])], diff --git a/dev-libs/liblognorm/files/liblognorm-1.1.2-issue_135.patch b/dev-libs/liblognorm/files/liblognorm-1.1.2-issue_135.patch new file mode 100644 index 000000000000..4b4a063cf180 --- /dev/null +++ b/dev-libs/liblognorm/files/liblognorm-1.1.2-issue_135.patch @@ -0,0 +1,110 @@ +From 4b35ca1e6fff50f47eb5419b879b287f49dcf1d8 Mon Sep 17 00:00:00 2001 +From: Rainer Gerhards +Date: Mon, 24 Aug 2015 09:05:52 +0200 +Subject: [PATCH] "fix": process last line if it misses the terminating LF + +This problem occurs with the very last line of a rulebase (at EOF). +If it is not properly terminated (LF missing), it is silently ignored. +Previous versions did obviously process lines in this case. While +technically this is invalid input, we can't outrule that such rulebases +exist. For example, they do in the rsyslog testbench, which made +us aware of the problem (see https://github.com/rsyslog/rsyslog/issues/489 ). + +I think the proper way of addressing this is to process such lines without +termination, as many other tools do as well. + +closes https://github.com/rsyslog/liblognorm/issues/135 +--- + src/samp.c | 5 ++++- + tests/Makefile.am | 2 ++ + tests/field_mac48.sh | 1 - + tests/missing_line_ending.rb | 1 + + tests/missing_line_ending.sh | 25 +++++++++++++++++++++++++ + 5 files changed, 32 insertions(+), 2 deletions(-) + create mode 100644 tests/missing_line_ending.rb + create mode 100755 tests/missing_line_ending.sh + +diff --git a/src/samp.c b/src/samp.c +index ef57047..0a9ae0a 100644 +--- a/src/samp.c ++++ b/src/samp.c +@@ -801,7 +801,10 @@ ln_sampRead(ln_ctx ctx, FILE *const __restrict__ repo, int *const __restrict__ i + int c = fgetc(repo); + if(c == EOF) { + *isEof = 1; +- goto done; ++ if(i == 0) ++ goto done; ++ else ++ done = 1; /* last line missing LF, still process it! */ + } else if(c == '\n') { + ++linenbr; + if(!inParser && i != 0) +diff --git a/tests/Makefile.am b/tests/Makefile.am +index a3a3842..cfcf010 100644 +--- a/tests/Makefile.am ++++ b/tests/Makefile.am +@@ -13,6 +13,7 @@ user_test_LDFLAGS = -no-install + TESTS_SHELLSCRIPTS = \ + parser_whitespace.sh \ + parser_LF.sh \ ++ missing_line_ending.sh \ + field_hexnumber.sh \ + field_mac48.sh \ + field_name_value.sh \ +@@ -54,6 +55,7 @@ REGEXP_TESTS = \ + field_regex_while_regex_support_is_disabled.sh + + EXTRA_DIST = exec.sh \ ++ missing_line_ending.rb \ + $(TESTS_SHELLSCRIPTS) \ + $(REGEXP_TESTS) \ + $(json_eq_self_sources) \ +diff --git a/tests/field_mac48.sh b/tests/field_mac48.sh +index bd2898e..0f17166 100755 +--- a/tests/field_mac48.sh ++++ b/tests/field_mac48.sh +@@ -21,4 +21,3 @@ assert_output_json_eq '{ "originalmsg": "f0:f6:1c:xf:cc:a2", "unparsed-data": "f + + + cleanup_tmp_files +- +diff --git a/tests/missing_line_ending.rb b/tests/missing_line_ending.rb +new file mode 100644 +index 0000000..b252483 +--- /dev/null ++++ b/tests/missing_line_ending.rb +@@ -0,0 +1 @@ ++rule=:%field:mac48% +\ No newline at end of file +diff --git a/tests/missing_line_ending.sh b/tests/missing_line_ending.sh +new file mode 100755 +index 0000000..18f4d2c +--- /dev/null ++++ b/tests/missing_line_ending.sh +@@ -0,0 +1,25 @@ ++# added 2015-05-05 by Rainer Gerhards ++# This file is part of the liblognorm project, released under ASL 2.0 ++. $srcdir/exec.sh ++ ++test_def $0 "dmac48 syntax" ++# we need to use a canned file, as we cannot easily reproduce the ++# malformed lines ++cp missing_line_ending.rb $(rulebase_file_name) ++ ++execute 'f0:f6:1c:5f:cc:a2' ++assert_output_json_eq '{"field": "f0:f6:1c:5f:cc:a2"}' ++ ++execute 'f0-f6-1c-5f-cc-a2' ++assert_output_json_eq '{"field": "f0-f6-1c-5f-cc-a2"}' ++ ++# things that need to NOT match ++ ++execute 'f0-f6:1c:5f:cc-a2' ++assert_output_json_eq '{ "originalmsg": "f0-f6:1c:5f:cc-a2", "unparsed-data": "f0-f6:1c:5f:cc-a2" }' ++ ++execute 'f0:f6:1c:xf:cc:a2' ++assert_output_json_eq '{ "originalmsg": "f0:f6:1c:xf:cc:a2", "unparsed-data": "f0:f6:1c:xf:cc:a2" }' ++ ++ ++#cleanup_tmp_files diff --git a/dev-libs/liblognorm/files/respect_CFLAGS.patch b/dev-libs/liblognorm/files/respect_CFLAGS.patch new file mode 100644 index 000000000000..6e8d28099ee9 --- /dev/null +++ b/dev-libs/liblognorm/files/respect_CFLAGS.patch @@ -0,0 +1,11 @@ +--- configure.ac.new 2014-03-20 10:56:14.777901140 +0200 ++++ configure.ac 2014-03-20 10:56:50.154143106 +0200 +@@ -12,7 +12,7 @@ + AC_PROG_CC + AM_PROG_CC_C_O + if test "$GCC" = "yes" +-then CFLAGS="$CFLAGS -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g" ++then CFLAGS="$CFLAGS -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute" + fi + + AC_PROG_LIBTOOL diff --git a/dev-libs/liblognorm/liblognorm-1.1.0.ebuild b/dev-libs/liblognorm/liblognorm-1.1.0.ebuild new file mode 100644 index 000000000000..061fec8a898a --- /dev/null +++ b/dev-libs/liblognorm/liblognorm-1.1.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +AUTOTOOLS_IN_SOURCE_BUILD=1 +AUTOTOOLS_AUTORECONF="yes" + +inherit autotools-utils + +DESCRIPTION="Fast samples-based log normalization library" +HOMEPAGE="http://www.liblognorm.com" +SRC_URI="http://www.liblognorm.com/files/download/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0/1" +KEYWORDS="amd64 arm hppa x86 ~amd64-linux" +IUSE="debug doc pcre static-libs test" + +RDEPEND=" + >=dev-libs/libestr-0.1.3 + >=dev-libs/json-c-0.11:= + pcre? ( >=dev-libs/libpcre-8.35 ) +" + +DEPEND=" + ${RDEPEND} + virtual/pkgconfig +" + +DOCS=( ChangeLog ) + +PATCHES=( + "${FILESDIR}"/respect_CFLAGS.patch + "${FILESDIR}"/${PN}-1.1.0-fix-enable-docs.patch +) + +src_configure() { + local myeconfargs=( + $(use_enable debug) + $(use_enable doc docs) + $(use_enable pcre regexp) + $(use_enable test testbench) + ) + + autotools-utils_src_configure +} diff --git a/dev-libs/liblognorm/liblognorm-1.1.2-r1.ebuild b/dev-libs/liblognorm/liblognorm-1.1.2-r1.ebuild new file mode 100644 index 000000000000..8db2881ff389 --- /dev/null +++ b/dev-libs/liblognorm/liblognorm-1.1.2-r1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +AUTOTOOLS_IN_SOURCE_BUILD=1 +AUTOTOOLS_AUTORECONF="yes" + +inherit autotools-utils + +DESCRIPTION="Fast samples-based log normalization library" +HOMEPAGE="http://www.liblognorm.com" +SRC_URI="http://www.liblognorm.com/files/download/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0/2" +KEYWORDS="amd64 ~arm hppa x86 ~amd64-linux" +IUSE="debug doc static-libs test" + +RDEPEND=" + >=dev-libs/libestr-0.1.3 + >=dev-libs/json-c-0.11:= +" + +DEPEND=" + ${RDEPEND} + virtual/pkgconfig + doc? ( >=dev-python/sphinx-1.2.2 ) +" + +DOCS=( ChangeLog ) + +PATCHES=( + "${FILESDIR}"/respect_CFLAGS.patch + "${FILESDIR}"/${PN}-1.1.2-issue_135.patch +) + +src_configure() { + local myeconfargs=( + $(use_enable doc docs) + $(use_enable test testbench) + $(use_enable debug) + --disable-regexp + ) + + autotools-utils_src_configure +} + +src_test() { + # When adding new tests via patches we have to make them executable + einfo "Adjusting permissions of test scripts ..." + find "${S}"/tests -type f -name '*.sh' \! -perm -111 -exec chmod a+x '{}' \; || \ + die "Failed to adjust test scripts permission" + + emake --jobs 1 check +} diff --git a/dev-libs/liblognorm/liblognorm-2.0.1.ebuild b/dev-libs/liblognorm/liblognorm-2.0.1.ebuild new file mode 100644 index 000000000000..8a15d6a6e447 --- /dev/null +++ b/dev-libs/liblognorm/liblognorm-2.0.1.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit autotools + +DESCRIPTION="Fast samples-based log normalization library" +HOMEPAGE="http://www.liblognorm.com" + +if [[ ${PV} == "9999" ]]; then + EGIT_REPO_URI="https://github.com/rsyslog/${PN}.git" + + inherit git-r3 +else + SRC_URI="http://www.liblognorm.com/files/download/${P}.tar.gz" + KEYWORDS="amd64 arm hppa x86 ~amd64-linux" +fi + +LICENSE="LGPL-2.1 Apache-2.0" +SLOT="0/5.0.0" +IUSE="debug doc static-libs test" + +RDEPEND=" + >=dev-libs/libestr-0.1.3 + >=dev-libs/libfastjson-0.99.2:= +" + +DEPEND=" + ${RDEPEND} + >=sys-devel/autoconf-archive-2015.02.04 + virtual/pkgconfig + doc? ( >=dev-python/sphinx-1.2.2 ) +" + +DOCS=( ChangeLog ) + +src_prepare() { + default + + eautoreconf +} + +src_configure() { + # regexp disabled due to https://github.com/rsyslog/liblognorm/issues/143 + local myeconfargs=( + --enable-compile-warnings=yes + --disable-Werror + $(use_enable doc docs) + $(use_enable test testbench) + $(use_enable debug) + $(use_enable static-libs static) + --disable-regexp + ) + + econf "${myeconfargs[@]}" +} + +src_test() { + # When adding new tests via patches we have to make them executable + einfo "Adjusting permissions of test scripts ..." + find "${S}"/tests -type f -name '*.sh' \! -perm -111 -exec chmod a+x '{}' \; || \ + die "Failed to adjust test scripts permission" + + emake --jobs 1 check +} + +src_install() { + default + + find "${ED}"usr/lib* -name '*.la' -delete || die +} diff --git a/dev-libs/liblognorm/liblognorm-2.0.2.ebuild b/dev-libs/liblognorm/liblognorm-2.0.2.ebuild new file mode 100644 index 000000000000..8a15d6a6e447 --- /dev/null +++ b/dev-libs/liblognorm/liblognorm-2.0.2.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit autotools + +DESCRIPTION="Fast samples-based log normalization library" +HOMEPAGE="http://www.liblognorm.com" + +if [[ ${PV} == "9999" ]]; then + EGIT_REPO_URI="https://github.com/rsyslog/${PN}.git" + + inherit git-r3 +else + SRC_URI="http://www.liblognorm.com/files/download/${P}.tar.gz" + KEYWORDS="amd64 arm hppa x86 ~amd64-linux" +fi + +LICENSE="LGPL-2.1 Apache-2.0" +SLOT="0/5.0.0" +IUSE="debug doc static-libs test" + +RDEPEND=" + >=dev-libs/libestr-0.1.3 + >=dev-libs/libfastjson-0.99.2:= +" + +DEPEND=" + ${RDEPEND} + >=sys-devel/autoconf-archive-2015.02.04 + virtual/pkgconfig + doc? ( >=dev-python/sphinx-1.2.2 ) +" + +DOCS=( ChangeLog ) + +src_prepare() { + default + + eautoreconf +} + +src_configure() { + # regexp disabled due to https://github.com/rsyslog/liblognorm/issues/143 + local myeconfargs=( + --enable-compile-warnings=yes + --disable-Werror + $(use_enable doc docs) + $(use_enable test testbench) + $(use_enable debug) + $(use_enable static-libs static) + --disable-regexp + ) + + econf "${myeconfargs[@]}" +} + +src_test() { + # When adding new tests via patches we have to make them executable + einfo "Adjusting permissions of test scripts ..." + find "${S}"/tests -type f -name '*.sh' \! -perm -111 -exec chmod a+x '{}' \; || \ + die "Failed to adjust test scripts permission" + + emake --jobs 1 check +} + +src_install() { + default + + find "${ED}"usr/lib* -name '*.la' -delete || die +} diff --git a/dev-libs/liblognorm/liblognorm-2.0.3.ebuild b/dev-libs/liblognorm/liblognorm-2.0.3.ebuild new file mode 100644 index 000000000000..4d1ce9af4f42 --- /dev/null +++ b/dev-libs/liblognorm/liblognorm-2.0.3.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit autotools + +DESCRIPTION="Fast samples-based log normalization library" +HOMEPAGE="http://www.liblognorm.com" + +if [[ ${PV} == "9999" ]]; then + EGIT_REPO_URI="https://github.com/rsyslog/${PN}.git" + + inherit git-r3 +else + SRC_URI="http://www.liblognorm.com/files/download/${P}.tar.gz" + KEYWORDS="amd64 ~arm ~arm64 hppa x86 ~amd64-linux" +fi + +LICENSE="LGPL-2.1 Apache-2.0" +SLOT="0/5.1.0" +IUSE="debug doc static-libs test" + +RDEPEND=" + >=dev-libs/libestr-0.1.3 + >=dev-libs/libfastjson-0.99.2:= +" + +DEPEND=" + ${RDEPEND} + >=sys-devel/autoconf-archive-2015.02.04 + virtual/pkgconfig + doc? ( >=dev-python/sphinx-1.2.2 ) +" + +DOCS=( ChangeLog ) + +src_prepare() { + default + + eautoreconf +} + +src_configure() { + # regexp disabled due to https://github.com/rsyslog/liblognorm/issues/143 + local myeconfargs=( + --enable-compile-warnings=yes + --disable-Werror + $(use_enable doc docs) + $(use_enable test testbench) + $(use_enable debug) + $(use_enable static-libs static) + --disable-regexp + ) + + econf "${myeconfargs[@]}" +} + +src_test() { + # When adding new tests via patches we have to make them executable + einfo "Adjusting permissions of test scripts ..." + find "${S}"/tests -type f -name '*.sh' \! -perm -111 -exec chmod a+x '{}' \; || \ + die "Failed to adjust test scripts permission" + + emake --jobs 1 check +} + +src_install() { + default + + find "${ED}"usr/lib* -name '*.la' -delete || die +} diff --git a/dev-libs/liblognorm/liblognorm-2.0.4.ebuild b/dev-libs/liblognorm/liblognorm-2.0.4.ebuild new file mode 100644 index 000000000000..35c8f1f974c0 --- /dev/null +++ b/dev-libs/liblognorm/liblognorm-2.0.4.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit autotools + +DESCRIPTION="Fast samples-based log normalization library" +HOMEPAGE="http://www.liblognorm.com" + +if [[ ${PV} == "9999" ]]; then + EGIT_REPO_URI="https://github.com/rsyslog/${PN}.git" + + inherit git-r3 +else + SRC_URI="http://www.liblognorm.com/files/download/${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~x86 ~amd64-linux" +fi + +LICENSE="LGPL-2.1 Apache-2.0" +SLOT="0/5.1.0" +IUSE="debug doc static-libs test" + +RDEPEND=" + >=dev-libs/libestr-0.1.3 + >=dev-libs/libfastjson-0.99.2:= +" + +DEPEND=" + ${RDEPEND} + >=sys-devel/autoconf-archive-2015.02.04 + virtual/pkgconfig + doc? ( >=dev-python/sphinx-1.2.2 ) +" + +DOCS=( ChangeLog ) + +src_prepare() { + default + + eautoreconf +} + +src_configure() { + # regexp disabled due to https://github.com/rsyslog/liblognorm/issues/143 + local myeconfargs=( + --enable-compile-warnings=yes + --disable-Werror + $(use_enable doc docs) + $(use_enable test testbench) + $(use_enable debug) + $(use_enable static-libs static) + --disable-regexp + ) + + econf "${myeconfargs[@]}" +} + +src_test() { + # When adding new tests via patches we have to make them executable + einfo "Adjusting permissions of test scripts ..." + find "${S}"/tests -type f -name '*.sh' \! -perm -111 -exec chmod a+x '{}' \; || \ + die "Failed to adjust test scripts permission" + + emake --jobs 1 check +} + +src_install() { + default + + find "${ED}"usr/lib* -name '*.la' -delete || die +} diff --git a/dev-libs/liblognorm/metadata.xml b/dev-libs/liblognorm/metadata.xml new file mode 100644 index 000000000000..a2706918f5c7 --- /dev/null +++ b/dev-libs/liblognorm/metadata.xml @@ -0,0 +1,20 @@ + + + + + whissi@gentoo.org + Thomas Deutschmann + Primary maintainer + + + maksbotan@gentoo.org + Maxim Koltsov + + + Reflect ABI of liblognorm.so. + + + https://github.com/rsyslog/liblognorm/issues + rsyslog/liblognorm + + diff --git a/dev-libs/liblouis/Manifest b/dev-libs/liblouis/Manifest new file mode 100644 index 000000000000..a994da29b476 --- /dev/null +++ b/dev-libs/liblouis/Manifest @@ -0,0 +1,5 @@ +DIST liblouis-2.5.3.tar.gz 3785311 SHA256 19ed3c31e11cc53d51bb7bc1d6868ad57e6966c0512b74c716d94298fca2e548 SHA512 5aa65f3a0b7cef37fe7cd8ccf09df8c40f38d183a88d1be9f1251b40406204e57a8d95716bf1de3569b09b640be613cc3e0bd0e05dc4d544face00bfc8d75ac7 WHIRLPOOL ab21ce69e5cdd9a7bb3e6d3f50d0ac64c9d7818c6e47ee5d2898ee7e0ba3fa1a8b4b032a226f83098fe45f3bde815feca4baa358f44b50f37d24a67396e9ae3a +EBUILD liblouis-2.5.3.ebuild 1414 SHA256 d61734faffaa63c96b7e7309de14ec2bcca5d705977b830e1dfec94230b2252b SHA512 78aa4f60f10eef81886e348bc1bc608030540da44626599221008a2d23417088c5b334f635e7d2229967c7b9b117533a911579f0c48296265199acab7d4114d8 WHIRLPOOL 919a7fe893f66573d2c908b1c56198cbae264bc5cfcb8e2d2c969c9908afd61f085880e3bced84fab4023f798ee2e873393c02be8a53e4f7240a159f8d62944a +MISC ChangeLog 3318 SHA256 653699f6178842433fbe8b2ca0522d114265f248e807203893555a2dc0af1c25 SHA512 49a1938418304b4036b33ea2568c25fb70f08278d696b5f195674bfcfc6d30667a2f1d62069d61ba95632d0b9887e056a872bd92fd01b2244e5192145024cc5e WHIRLPOOL df3802e65c62663a56f7f32f6185608486d782eec62b1f895b3ec7b6aa5197cb2da4ee845b831e82ce5367616b4be8a5f96d8888a71836cf67905ac0698a134b +MISC ChangeLog-2015 2048 SHA256 8cf20d14231efe140aa0db1c8df4b6a17042431138797348bad7c1c6f0bce1bf SHA512 2168d719af3741f6d87a26c9e02cb24520fc27e09b3bbcee0dffdbc01b1522c498d6c3f0f8a516a01998a4be8bc3706c536b3dbd0bca3363b41c8d6b7a6bcc52 WHIRLPOOL 84d00c144b823aa1401a149772cb86730230e2f77d42df024e2443faf2a1757d73b693bd61acdc40dd9e8fb8d5ae4ced246d1eaad0308fb6f460290a3a36c522 +MISC metadata.xml 351 SHA256 346e202a1359f9f0eb29229f7efe35cfb5289d846e71dc9c99ba44cfa59f8136 SHA512 377a2d9ea4bc6007a60fcaf0284bd47af78b6fe2c901916f9cd7d6ab0f7a5225baf7314b47b0c3b00cd162278f910206bd99469bdef0165cd6e19c1eff73714d WHIRLPOOL 44554f86c7d408e12589aa5df5be337161efcf5b1ac16f70d9e7e7504bfb2958944f39b45ecdd642f4cc175c24b36d04fb63e739c2f7385b059765c1a465c84e diff --git a/dev-libs/liblouis/liblouis-2.5.3.ebuild b/dev-libs/liblouis/liblouis-2.5.3.ebuild new file mode 100644 index 000000000000..cafb4a20f3df --- /dev/null +++ b/dev-libs/liblouis/liblouis-2.5.3.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +PYTHON_COMPAT=( python{2_7,3_4,3_5} ) +PYTHON_REQ_USE='wide-unicode(+)' +DISTUTILS_OPTIONAL=1 +inherit distutils-r1 + +DESCRIPTION="An open-source braille translator and back-translator" +HOMEPAGE="https://github.com/liblouis/liblouis" +SRC_URI="https://liblouis.googlecode.com/files/${P}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="alpha amd64 ~arm ia64 ppc ppc64 sparc x86" +IUSE="python" +RDEPEND="python? ( ${PYTHON_DEPS} )" +DEPEND="${RDEPEND}" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +src_prepare() { + default + + if use python; then + pushd python > /dev/null + distutils-r1_src_prepare + popd > /dev/null + fi +} + +src_configure() { + econf --enable-ucs4 +} + +src_compile() { + default + + if use python; then + pushd python > /dev/null + # setup.py imports liblouis to get the version number, + # and this causes the shared library to be dlopened + # at build-time. Hack around it with LD_PRELOAD. + # Thanks ArchLinux. + LD_PRELOAD+=':../liblouis/.libs/liblouis.so' + distutils-r1_src_compile + popd > /dev/null + fi +} + +src_install() { + emake install DESTDIR="${D}" || die + + if use python; then + pushd python > /dev/null + LD_PRELOAD+=':../liblouis/.libs/liblouis.so' \ + distutils-r1_src_install + popd > /dev/null + fi + + dodoc README AUTHORS NEWS ChangeLog || die + dohtml doc/liblouis.html +} diff --git a/dev-libs/liblouis/metadata.xml b/dev-libs/liblouis/metadata.xml new file mode 100644 index 000000000000..431c3019b962 --- /dev/null +++ b/dev-libs/liblouis/metadata.xml @@ -0,0 +1,11 @@ + + + + + accessibility@gentoo.org + Gentoo Accessibility Project + + + liblouis/liblouis + + diff --git a/dev-libs/libltdl/Manifest b/dev-libs/libltdl/Manifest new file mode 100644 index 000000000000..cdcc2f20e7f0 --- /dev/null +++ b/dev-libs/libltdl/Manifest @@ -0,0 +1,9 @@ +DIST libtool-1.3.5.tar.gz 538884 SHA256 02e287ba621aa01ee581b0f88854deb222fa61e7e0fc55ed7685038354f0259f SHA512 e7e693da0e87bc3b178b270c1d5b0d46116d1624f6e3657ad75bc381bcbba8949ab0913fe3985c77e9dd0ee519df7da9c5ee3b4f6030ad1d4651de2e642c4bd6 WHIRLPOOL 038305555932f7554c5e50932a0bf8cd0f2a8007c26fdd21c81dc7c44ca9076d1086e3c05911f62719685bd7aa6b14463f3a1160bfbf6090bcdba6a162d95630 +DIST libtool-1.5.26.tar.gz 2961939 SHA256 1c35ae34fe85aa167bd7ab4bc9f477fe019138e1af62678d952fc43c0b7e2f09 SHA512 fcd39856c8cd457c97f176d5f6ce97fd93108808ce24315d179a7c9ca85bb90e799afaa83bc283ec627d73cfe0e0710d36a1ee8f39c9963cf2e806e64a0e0bcf WHIRLPOOL 0a56e666ee7ec79b74b500e761ebddc94fb3d322b1c29c3f9929071f71a339b3082faa486b75c7cfcf72182976a8d6152585ca92c08735a512c07eff80a24ec4 +DIST libtool-2.4.6.tar.xz 973080 SHA256 7c87a8c2c8c0fc9cd5019e402bed4292462d00a718a7cd5f11218153bf28b26f SHA512 a6eef35f3cbccf2c9e2667f44a476ebc80ab888725eb768e91a3a6c33b8c931afc46eb23efaee76c8696d3e4eed74ab1c71157bcb924f38ee912c8a90a6521a4 WHIRLPOOL f6e1ea25cc8dd853f0de53c045bcd1166cfede9cb0e890079c2c05e6cbdb5e705e137f83ba32f7e16691b9c9108e9cfb2d14ed030cea07b6eacbe3f1ae18a73b +EBUILD libltdl-1.3.5.ebuild 905 SHA256 01b5aa41892c79ec145ab8bbd22f8e0a220ff18b48e9c413ced9885f32a69a5c SHA512 046ee53a680c7632700f78af5cb917cd8c9e284677020f36d342f88654f2253d47a3ca1ad01ec7b06797b9d8f5f64340618490f68699c23bdf124ccec503027c WHIRLPOOL bd57e7d4608ce069759216a58b0dfaba4812974a5348bae12d2f03665d17d493aaa6461841b3b01a4047fb4473143c42ec22e71d5bd72802650d2e0815090939 +EBUILD libltdl-1.5.26.ebuild 878 SHA256 667ae4f933097397912cefcd20c472e3b2b85f99755a523c4cb480e8028254c8 SHA512 fabd9c27f4a6eaa68c7e8344ee33189402fab8b69e1ebb56e0e909925d88c6f4f67f718e28568411181c692613af69c4ac7b66fbeab2ba3deae5f9c20354065b WHIRLPOOL b8f31f63cb321fea79985008b522af9c92bccc747ca7b57532225cb6e5f18d43d9f4acc27ce90046cc29fc1b1ba33411c6235b6c5a553c77b583472311fe8b92 +EBUILD libltdl-2.4.6.ebuild 1280 SHA256 0ae3aa19a138143278361148c40ac2e7bfcf781996a1c9b05d6c9dc1dd1eb058 SHA512 ecbffc27145a5685c0a25f9413c24f48bc838b68a151b4c374e4572ce46bcd298015326436b1c1661a4529c97af670f8e8657640cb0b02f2fb2e83cf3b4a4787 WHIRLPOOL fe4338914ab4060ad1fdb4efc8b89597287863ad0bc3517cd10fa926eaa5f0809e52f03608cdc4268c9dc8c45799ac3632a3d2f0de35496410e332b3909e1ba6 +MISC ChangeLog 3178 SHA256 80f62e38b8cdd8b79d19ed839a15dd42577cb9e9fd3f2c603bd915b3eab6edaa SHA512 c62a2513d3c294d35a8cddc11b4403f8fc2544e5459d455d35986f58ce960f35c53285303b08cc46d8e63e12aa41b60b95e6b475dfe748ce6c57b8d6ddc9a1c7 WHIRLPOOL f6da59171cca44b2dc3c8c0301b9e1bd6bf100fa917819a8464d3649ee23956c1e1262605651f37673d4ebfc81d22fa664bf66f9d04e165d0282dd37b96bb7e7 +MISC ChangeLog-2015 2848 SHA256 492702aa453f4c1d6a53042dff4330ea39cd80b3cc8e797f9fdd26d228012a0a SHA512 0465930a677a1c27fae369e390ed9cdd34dfc150d2e4e6cad581ff759068abb3eff5f359df813dcac867673cc18ebb43a796e41eb113b660b61caf6103d73a5e WHIRLPOOL ff98963302f985183806a9082095c271efc20f39f2c1fad52e4a890592b2f9373ef6e78987c94e54ae4f68d8ef743c48ad250c90708b5e213e04a2fb5ace4d83 +MISC metadata.xml 253 SHA256 d82c33ef453113a5c1ebe250dcba373c22934a69b0a86c6ab15a5ca589c25b91 SHA512 54a9069aeb4165d2dff3d473c8001bc51613aac9dff3f7f5e9971a9891a737a31511ffa11cbd523febe581ac1d9de2bdf2f40410f0c4239138f2ccca3ef15555 WHIRLPOOL e5aee23acff864609953a1e4de768f0e4aef704b44c53c021f28573e1ca5c99f1a46d92935ecec2449f7b4419a36d8373127d0ecfa8d7bae72d835e1839eb3f8 diff --git a/dev-libs/libltdl/libltdl-1.3.5.ebuild b/dev-libs/libltdl/libltdl-1.3.5.ebuild new file mode 100644 index 000000000000..7e48b626acbd --- /dev/null +++ b/dev-libs/libltdl/libltdl-1.3.5.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +# This ebuild provides libltdl.so.0. + +EAPI="4" + +inherit multilib-minimal + +MY_P="libtool-${PV}" + +DESCRIPTION="A shared library tool for developers" +HOMEPAGE="https://www.gnu.org/software/libtool/" +SRC_URI="mirror://gnu/libtool/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="1.3" +KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86" +IUSE="" +# libltdl doesn't have a testsuite. +RESTRICT="test" + +RDEPEND="!sys-devel/libtool:1.3" + +S="${WORKDIR}/${MY_P}" + +multilib_src_configure() { + ECONF_SOURCE=${S} \ + econf \ + --enable-ltdl-install \ + --disable-static +} + +multilib_src_compile() { + emake -C libltdl +} + +multilib_src_install() { + emake -C libltdl DESTDIR="${D}" install-exec + # basically we just install ABI libs for old packages + rm "${ED}"/usr/$(get_libdir)/libltdl.{la,so} || die +} diff --git a/dev-libs/libltdl/libltdl-1.5.26.ebuild b/dev-libs/libltdl/libltdl-1.5.26.ebuild new file mode 100644 index 000000000000..96f5287229fc --- /dev/null +++ b/dev-libs/libltdl/libltdl-1.5.26.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +# This ebuild provides libltdl.so.3. + +EAPI="4" + +inherit multilib-minimal + +MY_P="libtool-${PV}" + +DESCRIPTION="A shared library tool for developers" +HOMEPAGE="https://www.gnu.org/software/libtool/" +SRC_URI="mirror://gnu/libtool/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="1.5" +KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd" +IUSE="" +# libltdl doesn't have a testsuite. +RESTRICT="test" + +RDEPEND="!sys-devel/libtool:1.5" + +S="${WORKDIR}/${MY_P}/libltdl" + +multilib_src_configure() { + ECONF_SOURCE=${S} \ + econf \ + --enable-ltdl-install \ + --disable-static +} + +multilib_src_install() { + emake DESTDIR="${D}" install-exec + # basically we just install ABI libs for old packages + rm "${ED}"/usr/$(get_libdir)/libltdl.{la,so} || die +} diff --git a/dev-libs/libltdl/libltdl-2.4.6.ebuild b/dev-libs/libltdl/libltdl-2.4.6.ebuild new file mode 100644 index 000000000000..ec7ffc45483a --- /dev/null +++ b/dev-libs/libltdl/libltdl-2.4.6.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="4" + +inherit multilib-minimal + +MY_P="libtool-${PV}" + +DESCRIPTION="A shared library tool for developers" +HOMEPAGE="https://www.gnu.org/software/libtool/" +SRC_URI="mirror://gnu/libtool/${MY_P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="static-libs" +# libltdl doesn't have a testsuite. +RESTRICT="test" + +RDEPEND="! + + + + base-system@gentoo.org + Gentoo Base System + + diff --git a/dev-libs/liblzw/Manifest b/dev-libs/liblzw/Manifest new file mode 100644 index 000000000000..7a62658d8138 --- /dev/null +++ b/dev-libs/liblzw/Manifest @@ -0,0 +1,7 @@ +DIST liblzw-0.1.2.tar.bz2 930710 SHA256 8bb307bb1d1c3c6d4e477b52ce9f2bd42728ac8ef6f018e6ca61fab72490c3ef SHA512 ecdaa6391eb9fe1e17361a5e01e32046f8418a8c9d5f1893831ada3e68fc939a716fff46950572f4cbc7c876ca74a0485617bb261ed858f47b82da595cf41742 WHIRLPOOL 0cd30a8a5a4bc8901afd439e2536657a384734aa1b654e44cc999894929a11de14d6e5098dc3f370f8e9f635c2b5089cbebd3d3070994f1534276dfaa2d7a3cf +DIST liblzw-0.2.tar.lzma 868300 SHA256 0688acd09f93f3d5e7fdfd3c5cc988c1940d22b9d71618fb4a2c79e8d118f8dc SHA512 46b14fe83793e9611c9ee969f699fe752f4d2df46a53b0f975fbce9805259fe4024c42df6f4946fc6dd7270b9b15307c54f31417309806ab6c616abcee73d9bf WHIRLPOOL 1ea89bf03015c9a006b0c3534edaa4a7c08c2748da45ff4df3a91de90abdd03696cbd6b6a9d6fb7e748456a6dbff891703b1e6db11a4336d862416f26d3a17de +EBUILD liblzw-0.1.2.ebuild 467 SHA256 6e0cce0b0c6cf9ff9260659d593c0d9c2df2ba021ef0728978c7a9b07235a4ab SHA512 065faffbf4c5a665229e206447e383d453409d493f4e01fc4e757daf3a7d8775939927024278e36b0c3e211259ae725fab6aa547a1c1e996c2aa9307f38c85e6 WHIRLPOOL ca5b99a954cb37d1587aa029b7728fe258f11e123beea69b33d665369dbb11d39145fb3b5582a1cfbe2d55c4df19180500d2836e424c359c186930a3a8af5944 +EBUILD liblzw-0.2.ebuild 457 SHA256 2c945cfebc56ad1e2fe6fa21946f9bfd2095765e57293b5616b260b34ec8c87c SHA512 47533fa2f027d8de122ce2aa4f34ae72f092a5856ae97f011553cc32a0a68cec822c40e83b0b599c380ee62010add883730c49c134ae903fedb56c5eba7777c5 WHIRLPOOL 2910acbaf83212b5fa772c905ae18d5b90cef85fa68abc06260bb4b38f861c4897fc947a94db28d73c6911655b49c1f7b7c1e5ed43351954a43a7212d12a5ad9 +MISC ChangeLog 2219 SHA256 344d3064f05d81cf2005dfdce097595be025359ea32f12ac23ea41af22bd8373 SHA512 d2dfe94db0b5e46c8eacffc3ecdcdde9f0eb67a8dda08353c29354f3345e4d1e560bab6a71cb94d84c557977ce0e84835d57823f433a72d733d994827e1e4bae WHIRLPOOL 5abbfb1668b6794b70d620fdb66f13fabf206bfa26dad456b3a5c55d14dadc85c972bfd76be1c6655dc561b1da0f1e68f42d8cfa82aaa49875242c477887fa83 +MISC ChangeLog-2015 1851 SHA256 713157501253af841682b1500d2f6a390f2d4b9dfe6c103b3af6e793ee6c27d6 SHA512 5d4ea0f954d4362976301818d344b5c3329db12260cec41a8ea543aab27ddca33fc949e3c0d07f284dae4cf9b8873b020acff59b90d41e922d2f481d962d3060 WHIRLPOOL 93d71dcd644a6882810bd1b29485be38487ffae601754b3b80e345796c51fda3951d4a725eca2083c1e3f61da035aab1c32f4f8e2e65a61ccf1198a20848df52 +MISC metadata.xml 348 SHA256 4afb727fc5a7ae2b75cfde2c91485e695e7fa18ac549f05e8b696378a383db3d SHA512 aa6d3d2945033b6643c9f1ee7a643826ff39d61fdd880a4d8dc0fa5a8790af120908b8ffab70ec32e88ca4d025bca9606f6f549adb49df1130105abc9ecec3bd WHIRLPOOL f406b4c422e5309c7e182bfcb9304d39c0d7302d4664dcfe2bece76d8547e1e431ec32a46621954557dd687abd679a376c519ab20eaa9d550d7514da5911c2a8 diff --git a/dev-libs/liblzw/liblzw-0.1.2.ebuild b/dev-libs/liblzw/liblzw-0.1.2.ebuild new file mode 100644 index 000000000000..7999dccf8b29 --- /dev/null +++ b/dev-libs/liblzw/liblzw-0.1.2.ebuild @@ -0,0 +1,18 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +DESCRIPTION="small C library for reading LZW compressed files (.Z)" +HOMEPAGE="https://github.com/vapier/liblzw" +SRC_URI="mirror://sourceforge/freestdf/${P}.tar.bz2" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="amd64 arm hppa ia64 m68k s390 sh x86" +IUSE="" + +DEPEND="" + +src_install() { + emake install DESTDIR="${D}" || die + dodoc AUTHORS ChangeLog NEWS README +} diff --git a/dev-libs/liblzw/liblzw-0.2.ebuild b/dev-libs/liblzw/liblzw-0.2.ebuild new file mode 100644 index 000000000000..4c267b1607a3 --- /dev/null +++ b/dev-libs/liblzw/liblzw-0.2.ebuild @@ -0,0 +1,16 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +DESCRIPTION="small C library for reading LZW compressed files (.Z)" +HOMEPAGE="https://github.com/vapier/liblzw" +SRC_URI="mirror://sourceforge/freestdf/${P}.tar.lzma" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="amd64 arm hppa ia64 m68k s390 sh x86" +IUSE="" + +src_install() { + emake install DESTDIR="${D}" || die + dodoc AUTHORS ChangeLog NEWS README +} diff --git a/dev-libs/liblzw/metadata.xml b/dev-libs/liblzw/metadata.xml new file mode 100644 index 000000000000..2a1995bfa67d --- /dev/null +++ b/dev-libs/liblzw/metadata.xml @@ -0,0 +1,11 @@ + + + + + vapier@gentoo.org + + + freestdf + vapier/liblzw + + diff --git a/dev-libs/libmaa/Manifest b/dev-libs/libmaa/Manifest new file mode 100644 index 000000000000..4e35efc3d5fa --- /dev/null +++ b/dev-libs/libmaa/Manifest @@ -0,0 +1,5 @@ +DIST libmaa-1.3.2.tar.gz 287198 SHA256 59a5a01e3a9036bd32160ec535d25b72e579824e391fea7079e9c40b0623b1c5 SHA512 dde91e8bf1c08515ff4662282d16a03b18a1dfb16eb7b95be980ba398ed1e65d8cd88e58d454e03a03f48a5ecca8bf23b4ebaf475a98630a9178318c12a1b176 WHIRLPOOL 9e650e7d896d89730901166222ed57d994a8f87f78ae29aaae09c03b4d1618815ec9e8a1421ea69324ec86293934f2fc70347049c59fe14bf54dc643c2c01418 +EBUILD libmaa-1.3.2.ebuild 471 SHA256 a9b1eb22497d94e268ac193a06b332faf470cf78f9df479760d0f46d5f574b3d SHA512 45484d5f0d42384c3ca526e2a3e5fd4ebd1b3db203831d63853cd5586374d6752efdb68187b91b2b27b9452a6f463af9064b406a90fca0b7e8a044b8aac4036a WHIRLPOOL 0bbdf4f22036bd18555cec8ebe7776b011e38e08bdd5ca935f3fc0ffd39bc2dfccae24738bbb50cdb27bd4d3ee7a08af3fcaf07f70dfa67c7e9596683f921a0e +MISC ChangeLog 2897 SHA256 f48a333f7c3b3b18fd1d09382e31032aaf243e30f4e1c4a1884b5a7f41404888 SHA512 46b22435987fe0e8216ed1f036dba63a56c06d3b50c3793c378bdfb67143835570e558cbd3549772e43347aef6388ee57c38cb056490b16c45548fa25184fada WHIRLPOOL 549b060e29563a263dddb0fff6ef0b1e2ee298266e961dc626b47d734808657f18ecc8417e2604c1cf51ce6ca247a8467e3fceab8324193e9dda522546031662 +MISC ChangeLog-2015 5590 SHA256 8acffa5a96918431c6bf670dee3674ea10593dee89dcca10b7412ed3472c2ce3 SHA512 8cce65019d1e8699120eef031a6b1bccc8ca8d88c7af4b75aeacad7263277c571b37113eca4e60fddbc81674b177921d4c8bae3daf50d07aba52349422c19dbd WHIRLPOOL c25399a1065507489abe85590dda1113111c4b26d83867a8b3f43b488c915599bf7e72891be5d878403b9074c747061611727fb99032e5b1c0ca48b0987220b2 +MISC metadata.xml 785 SHA256 3bf638818315f4e9fc525934b0b9f37ed909b43159bc0c9eb07a8f6008487f71 SHA512 025d48d0bcdeb23a75c019ac241b696126354d7afcb86133736d69a6b0a8c5c7ce9927ba2d9135452b1a073af6197c777f6a6624d7979def50c786123ab976bf WHIRLPOOL 9e30f8dfe546238405fb13cb2a6e50afae0368f31c0792ea118b62825bcfb9aa17e033ad87220dae520b194a24bc7a23887e4f60d48923b6050f767b98a63e1a diff --git a/dev-libs/libmaa/libmaa-1.3.2.ebuild b/dev-libs/libmaa/libmaa-1.3.2.ebuild new file mode 100644 index 000000000000..52d04eeae6c5 --- /dev/null +++ b/dev-libs/libmaa/libmaa-1.3.2.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +DESCRIPTION="Library with low-level data structures which are helpful for writing compilers" +HOMEPAGE="http://www.dict.org/" +SRC_URI="mirror://sourceforge/dict/${P}.tar.gz" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux" +IUSE="" + +DOCS="ChangeLog NEWS README doc/libmaa.600dpi.ps" diff --git a/dev-libs/libmaa/metadata.xml b/dev-libs/libmaa/metadata.xml new file mode 100644 index 000000000000..d75fa6bebf37 --- /dev/null +++ b/dev-libs/libmaa/metadata.xml @@ -0,0 +1,17 @@ + + + + + + The libmaa library provides many low-level data structures which + are helpful for writing compilers, including hash tables, sets, lists, + debugging support, and memory management. Although libmaa was + designed and implemented as a foundation for the KHEPERA Transformation + System, the data structures are generally applicable to a wide range of + programming problems. The memory management routines are especially helpful + for improving the performance of memory-intensive applications. + + + dict + + diff --git a/dev-libs/libmacaroons/Manifest b/dev-libs/libmacaroons/Manifest new file mode 100644 index 000000000000..c2450a6301a1 --- /dev/null +++ b/dev-libs/libmacaroons/Manifest @@ -0,0 +1,7 @@ +DIST libmacaroons-0.2.0.tar.gz 423629 SHA256 5fcbfcec06749fccef3f8741ddf4680d032cc55eccdfaa0c9b73429a1df38c33 SHA512 4bc5f83b57c6a8080e646141a3c8b90c0025a894449dea4cb0ab15d1423a067b9833e70014468437d9edfe875e12ea90cae6f715893ded1eefa34f2f6506ecbe WHIRLPOOL 835d15b21c77a97ea1ba717a09356c8b87d27f88dc6bac0da05f21b9977e58affba508c4c123fa6d4139c5090aa1d3dc4e2a88d9fa8b8fa84195c0e44568f841 +DIST libmacaroons-0.3.0.tar.gz 422086 SHA256 8a01587790a8f5d641524b02f4146e2265c437339fea24b34c478240e85afe84 SHA512 57a5ffa1a8397228e29ab3f3f7d1440cd70b163b1b28904a046d7b3b1f70dbb0693ea983409f57cc63a02097a1af57209c70ecf8e3be5b8635a7ab6e498b1bcb WHIRLPOOL c11e44f4b9cf0a996508fc66611a13905c2631d68e6faa883033af229405598d416cc9d0a91efc56e7ab391b33c02d810b1f864a37fec3381fc3929cc2107743 +EBUILD libmacaroons-0.2.0-r1.ebuild 776 SHA256 4b0b1fd87f0ba4626563162e75c31eb53a2db0407ec7e00883b3f61224111cb3 SHA512 676d84f04fffbb316d0a67287673edeb475723b4499e91b7e8a180e23aaf7f2095302125cebe7b35a44f28a1e864d386ef718376fe5bf0fcfcfe973a5061ca28 WHIRLPOOL 29e61c092309018eaa8dac66209579760ecba46520de6bcd0d3ae91d5031574427b85cd4dd50b3b6b0643918ba268cac42fe817daa519ae1e90c9e42a81c1473 +EBUILD libmacaroons-0.3.0.ebuild 776 SHA256 4b0b1fd87f0ba4626563162e75c31eb53a2db0407ec7e00883b3f61224111cb3 SHA512 676d84f04fffbb316d0a67287673edeb475723b4499e91b7e8a180e23aaf7f2095302125cebe7b35a44f28a1e864d386ef718376fe5bf0fcfcfe973a5061ca28 WHIRLPOOL 29e61c092309018eaa8dac66209579760ecba46520de6bcd0d3ae91d5031574427b85cd4dd50b3b6b0643918ba268cac42fe817daa519ae1e90c9e42a81c1473 +MISC ChangeLog 2259 SHA256 ba9eba5e8111bd32429a59048adea759ef351dd4f0cf8c7c2419b8cef3ba6650 SHA512 d626f20ac247a05417fd0480d4188e841d203acca4742a1bb9e2a8ccfeb115e1ed359f119686e8c66aa2be892df1b48c6abec10af3fcbfa6781df10a1f0ceea3 WHIRLPOOL 07f75b5def7d26f1243674784d854b02bf5ad49ba48d238c546f6766cf9d51a16ec84042614ac51009f0d8331ee6931871c34dcffbae6d88fd8c7d3d46d3b4aa +MISC ChangeLog-2015 921 SHA256 3eb1a3fae501191707026eae2ca8ba87c96f9f12dd61588dc3cec2bb17e0b9cf SHA512 733bc7e5ac571aac423aad4feab7d5af122aaad9ca2eeebffdfe07bc0875ec8da8aa2a297de13084630e2c3a0a16dc33ebca365b9fc859ca7f7a0f58861dccd3 WHIRLPOOL 00c0792dbe46810deb85fa6fd1933ecbd7074b9225ae46c581aa3dc3f1a2fd1cedc027309c3ce87817a84ecaa4df6a297cdb3b4ed278f587cd5d67a4d7b8ae68 +MISC metadata.xml 247 SHA256 0deec0776f26fb762fdf7711f4589b14f52a2456436ef557eec62a2cf2fb2bb7 SHA512 29cf52c16b0cce69899d9c2da8acd9144b7d760442aa323b854dceadb42459e009545193b1df7911ac2241b59f4819b4a6bb1d206d6f57953f770031433bb6b7 WHIRLPOOL a135fa622e99d3dcdb432bc6b3c366076b3d86b4bfd9a76c852d781b8e9152541c7e7a2c7c6d6a3c4d2200dce792847a08166aaf7c17c22b6299dfe868234dec diff --git a/dev-libs/libmacaroons/libmacaroons-0.2.0-r1.ebuild b/dev-libs/libmacaroons/libmacaroons-0.2.0-r1.ebuild new file mode 100644 index 000000000000..176e78131d70 --- /dev/null +++ b/dev-libs/libmacaroons/libmacaroons-0.2.0-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) + +inherit eutils python-single-r1 + +DESCRIPTION="Hyperdex macaroons support library" +HOMEPAGE="http://hyperdex.org" +SRC_URI="http://hyperdex.org/src/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test +python" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ) test? ( python )" + +# Tests can't function after 2014-12-31 ... +RESTRICT="test" + +RDEPEND=" + dev-libs/libsodium + dev-libs/json-c + python? ( ${PYTHON_DEPS} )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + use python && python-single-r1_pkg_setup +} + +src_configure() { + econf $(use_enable python python-bindings) +} + +src_test() { + emake -j1 check || die +} diff --git a/dev-libs/libmacaroons/libmacaroons-0.3.0.ebuild b/dev-libs/libmacaroons/libmacaroons-0.3.0.ebuild new file mode 100644 index 000000000000..176e78131d70 --- /dev/null +++ b/dev-libs/libmacaroons/libmacaroons-0.3.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) + +inherit eutils python-single-r1 + +DESCRIPTION="Hyperdex macaroons support library" +HOMEPAGE="http://hyperdex.org" +SRC_URI="http://hyperdex.org/src/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test +python" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ) test? ( python )" + +# Tests can't function after 2014-12-31 ... +RESTRICT="test" + +RDEPEND=" + dev-libs/libsodium + dev-libs/json-c + python? ( ${PYTHON_DEPS} )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + use python && python-single-r1_pkg_setup +} + +src_configure() { + econf $(use_enable python python-bindings) +} + +src_test() { + emake -j1 check || die +} diff --git a/dev-libs/libmacaroons/metadata.xml b/dev-libs/libmacaroons/metadata.xml new file mode 100644 index 000000000000..40aa45df2b01 --- /dev/null +++ b/dev-libs/libmacaroons/metadata.xml @@ -0,0 +1,8 @@ + + + + + patrick@gentoo.org + Patrick Lauer + + diff --git a/dev-libs/libmail/Manifest b/dev-libs/libmail/Manifest new file mode 100644 index 000000000000..c730f8ec88f8 --- /dev/null +++ b/dev-libs/libmail/Manifest @@ -0,0 +1,6 @@ +AUX libmail-0.3-respect-cflags.patch 879 SHA256 a9cc354b3f2650c38f73751221b3965b354c3b127ef89a5c20dba4528fdf1c5e SHA512 b5450bf020a84473f173f4985a5192609629e312a44da40c11cd8e806fb6d6b7d4e97df9821823d4da41d9588c9218dfb0d20a18b38ab06074001ad3ea3beb18 WHIRLPOOL 942eaf38b0c04ab9bcb340002c2f31e6d47e5d28a3df89660b03d0ae31298c7ae97cd0c81b38e1f209210749ff09f90eec88e997d9ad728f01149e085c0854f7 +DIST libmail-0.3.tar.bz2 271946 SHA256 b07db69866ae649d0489b35a38a11692b6e404078931ec384973134b3913db51 SHA512 df4e0e549867f7cf73db8c965a28c14e3e089e54a8272b70be8b00c896dcd91d68625e2287a15d353eff75ec05e702e6d113f8122ed0e9d294766fe4f467e9d3 WHIRLPOOL 9ab90bd0545d52ab692f56fd5c222848a00351bf61b588779bb7de3b1c8e43f2102519fd79e44dca438a71ba693007b58651c63280ea900b258a4ce3cbe38627 +EBUILD libmail-0.3-r3.ebuild 1232 SHA256 1d477a04aaa922308600a34103c847b562415cdc3384b90457aad0f3ce4a65ab SHA512 250af3049f272445fa3e1de9dff561fbe6055ca24aec542ae5a634dc1ad01ff530253567abfc435e4124d425cd2585941fbbb2e44e0245e2664d23cad60dc87c WHIRLPOOL a5c251b4a585f5383087a2bd994ea07314a302cd372152811c7963ff9986ecf72f4099a33ac5b9d90250bfaef7ba97bcdbcde240078fe8c8d46d8bed006776ad +MISC ChangeLog 2567 SHA256 81690c21d916e8cee653a390d00139c774b5ba6666abd9ba26fbf74f2c7dae18 SHA512 8ba23f86efe1731aa7a4329b1cfa1207d5d06fb45e8d6ba4878935e5c841c634df583ecd2d63815f0e834f0270644d484a2ddd31e494d1bb3b99fdfe308ffc21 WHIRLPOOL a5330826b51ed97cfb2e1fd8876c587dd81ae6f8c51bb7e4978acb7704f0ee5b7c4b05262dae24848c4d59f35ad309633ef1eba746bf5d3a4f81499605785daf +MISC ChangeLog-2015 2191 SHA256 1a38bce5ae04ebf4b0b7ff016b52739f30b8d4130cb3cfc343ca1322795304f7 SHA512 76ca4dfb211a77c04df413264c3f6cf33341697c9ade88839d00b0c29235e37d481d6f43add120e045f7c66078a576f6998364ff01864cd65b55993c15c5e046 WHIRLPOOL 160c9548c7ab6745bcf61fcb5a81f5c40edde57125dbb73624cc99f41aede9d9fd8b86dc1f177b54a82c596749198e8be7ecff10889c98dd0fcb38d32e0bd3f0 +MISC metadata.xml 325 SHA256 dcb2089c964bcfdd36cfe1ef6ee6503d65fa92f51dda453913debdf5795dcc83 SHA512 027f60bf3d6fcab565ddad1434d9df43f6e2d0e71c85f670a7c9723dec14ecbf7e8dddd4c15f1290b0bfdab453f796e58dc241752e5605023fe323ae4fac0f41 WHIRLPOOL 83c82e66f50144e718caed3b34159292984acd4ff3ff2323831c9238c5ebce3c320ab1ba893f4140ad5ecd00792661a81eae83281e88d06dd5d1e7bce5bc99b1 diff --git a/dev-libs/libmail/files/libmail-0.3-respect-cflags.patch b/dev-libs/libmail/files/libmail-0.3-respect-cflags.patch new file mode 100644 index 000000000000..7e22de4c7576 --- /dev/null +++ b/dev-libs/libmail/files/libmail-0.3-respect-cflags.patch @@ -0,0 +1,37 @@ +--- configure.ac.orig 2013-01-31 16:18:06.537834009 +0400 ++++ configure.ac 2013-01-31 16:19:00.138835711 +0400 +@@ -12,7 +12,7 @@ + AC_PROG_MAKE_SET + AC_PROG_LIBTOOL + +-CFLAGS="-D_GNU_SOURCE -Wall -Wunused -Wstrict-prototypes" ++CFLAGS="-D_GNU_SOURCE -Wall -Wunused -Wstrict-prototypes ${CFLAGS}" + + use_sasl=false + use_apop=false +@@ -99,7 +99,6 @@ + ;; + yes) + AC_DEFINE(NDEBUG, [1], [Use debug functionality]) +- CFLAGS="$CFLAGS -g" + optimize="no" + ;; + *) +@@ -119,7 +118,6 @@ + ;; + yes) + AC_DEFINE(NDEBUG, [1], [Use debug functionality]) +- CFLAGS="$CFLAGS -pg -g" + optimize="yes" + ;; + *) +@@ -127,9 +125,6 @@ + ;; + esac + ]) +-if test $optimize = "yes"; then +- CFLAGS="$CFLAGS -O2" +-fi + AM_CONDITIONAL([LIBMAIL_USE_SASL], [test x$use_sasl = xtrue]) + AM_CONDITIONAL([LIBMAIL_USE_APOP], [test x$use_apop = xtrue]) + AM_CONDITIONAL([LIBMAIL_USE_TLS], [test x$use_tls = xtrue]) diff --git a/dev-libs/libmail/libmail-0.3-r3.ebuild b/dev-libs/libmail/libmail-0.3-r3.ebuild new file mode 100644 index 000000000000..c20fa7c5a900 --- /dev/null +++ b/dev-libs/libmail/libmail-0.3-r3.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +AUTOTOOLS_IN_SOURCE_BUILD=1 +AUTOTOOLS_AUTORECONF=1 +inherit autotools-utils + +DESCRIPTION="A mail handling library" +HOMEPAGE="http://libmail.sourceforge.net" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" +IUSE="apop debug gnutls profile sasl static-libs" + +DEPEND="gnutls? ( >=net-libs/gnutls-2 ) + sasl? ( >=dev-libs/cyrus-sasl-2 )" +RDEPEND="${DEPEND}" + +DOCS=( AUTHORS ChangeLog NEWS README TODO ) + +# Do not unset user's CFLAGS, bug #454558 +PATCHES=( "${FILESDIR}/${P}-respect-cflags.patch" ) + +src_prepare() { + # Drop quotes from ACLOCAL_AMFLAGS otherwise aclocal will fail + # see 447760 + sed -i -e "/ACLOCAL_AMFLAGS/s:\"::g" Makefile.am || die + autotools-utils_src_prepare +} + +src_configure() { + local myeconfargs=( + $(use_enable apop) + $(use_enable debug) + $(use_enable gnutls tls) + $(use_enable profile) + $(use_enable sasl) + ) + autotools-utils_src_configure +} + +src_install() { + autotools-utils_src_install + + # headers, that are wrongly skipped from installing + insinto /usr/include/libmail + doins libmail/libmail_intl.h + doins config.h +} diff --git a/dev-libs/libmail/metadata.xml b/dev-libs/libmail/metadata.xml new file mode 100644 index 000000000000..b77b86fc4804 --- /dev/null +++ b/dev-libs/libmail/metadata.xml @@ -0,0 +1,11 @@ + + + + + + Enables the APOP authentication method + + + libmail + + diff --git a/dev-libs/libmateweather/Manifest b/dev-libs/libmateweather/Manifest new file mode 100644 index 000000000000..4da7445d2c42 --- /dev/null +++ b/dev-libs/libmateweather/Manifest @@ -0,0 +1,11 @@ +DIST libmateweather-1.12.2.tar.xz 3394620 SHA256 9e94acc29b86db0eeb4ba1c0b0d64476a537a8deb31830b98bbeae74e6f2e944 SHA512 057037c6983ba6d21ae8c9af67d5b1bde1f7da81dbc5ef89e5eabc1b844178d2d121d29d90484baa001d22cb24e8dc832bcb1ad2702460d22f48db430fa20fd9 WHIRLPOOL 1c168a94980a42ee8e4f533138a4bdaa7ee2a07d08b5b8ae172402540d7029b893450b5c12732604698cfcd5f536258f7bcab21e99044ce09260bacb5efd8ea6 +DIST libmateweather-1.14.3.tar.xz 3345244 SHA256 21507911543bccdaec57541b030de0d5522ef9640b1ac24044223bb43d026266 SHA512 51e1a29b5faca6d433f6a84fc3e08bf39e87ac48d77ff90085cd7d394b3f31388f7b6b3382e4b75dbdf3b2d07f16e9f9f92bff713d3a038270314313f614af36 WHIRLPOOL d87ce7627e1b0427ad8b2ae0fd997e77ce8caead61f5f930f5b925d0366c7efa27d48ff881dfb670f27de46de6379583fa7ea548ed159b34d541a92cde95e889 +DIST libmateweather-1.16.1.tar.xz 3346620 SHA256 a3569ea5a51ec75eb29aadfba253faf04fbd3815d0a7882ddf6bd6c9c2422b70 SHA512 7cc49cc3fc16a3f06cd50db49f868d8f31a2acc95cf0c6912724248a1b35700ae0600363cd891d5bdf9961d3ae373841a0df412382933084f5e5224ff21aa386 WHIRLPOOL 5269293f740a1c8ef9d30351278514c52569e437ba1d231480b77cf42ae64ec738c22e9336275f5a8908ed86479690d53d6001b420832180b3cc634bfb37b803 +DIST libmateweather-1.18.0.tar.xz 3453408 SHA256 72e205f92bd9aed1a1d82abb17c5e26d447198d8bbdccf969d50c1c7c429b287 SHA512 505ec9b273fe5e4b50f5ea5cc470b3932fdde13e5b1687a3a8ec4dfe247cd56a2339d9265672a7de3bde55fe1410701ee6d5d10c459a7b991c60f4285474050d WHIRLPOOL 26e23fba099f3cdc5cadde6d9820ab0f60375d21ce966876ac99b79c31a92516835aeb89216dab5309deae304f66c5f404877cabd3acbca60a46732fe4ee9a83 +EBUILD libmateweather-1.12.2.ebuild 1369 SHA256 4305623ea76b0212b7c87e2b0cbadd77f25932e003ee9d1b59eff3b5095deff1 SHA512 7dd9f6843bbc6b22c006a4eeffe1dd26653f6425eb2a7ea011e2c8c6d347b6562d968f0a9989dd66bc34ce34112acd82c31878ea0266185168efc076a8448636 WHIRLPOOL 153316a70bfe29d2d1e1c346c41e372174e90bb54c9f6ff163fe0a738735f6413b507d4a4b27d4148d39374adfd9be8de52077eebae21b13552744b118b4be63 +EBUILD libmateweather-1.14.3.ebuild 1411 SHA256 7541a4b146f41359d3777583eca7cfdb7ddba5ca56999fac53f3289322fe7455 SHA512 b9c09ce5c1e64bf664efaa8d93bc7a46c9f87ad11d266c0558f98d34384400eda7969ef245ae9d2be43696a78a2d0920c090f3dfb75771a991e15e00ef6a2a41 WHIRLPOOL 58e4dd708997f227a63abd413c8a180a406fed0093ba03c60997dc4cc2e876c8a332b622a04fbda7d01b0aa1c9c3bb137fd455a8968e5d8d651c4b22884a960a +EBUILD libmateweather-1.16.1.ebuild 1411 SHA256 7541a4b146f41359d3777583eca7cfdb7ddba5ca56999fac53f3289322fe7455 SHA512 b9c09ce5c1e64bf664efaa8d93bc7a46c9f87ad11d266c0558f98d34384400eda7969ef245ae9d2be43696a78a2d0920c090f3dfb75771a991e15e00ef6a2a41 WHIRLPOOL 58e4dd708997f227a63abd413c8a180a406fed0093ba03c60997dc4cc2e876c8a332b622a04fbda7d01b0aa1c9c3bb137fd455a8968e5d8d651c4b22884a960a +EBUILD libmateweather-1.18.0.ebuild 836 SHA256 e1ad61fa095d9042f0b326707edb9d3c1846a5662f7bdabf23cc1606a8dd8349 SHA512 3972ce6142be64be2ff5e5433d3617eced1475a6a79a46147ad5fa96022553da048303693abc88b6f6289a58661cc3c1b5b09b21e64944a6f215a3a953066c10 WHIRLPOOL 257a72721642cce4e726907040d6580caea217eb51ef233dcd3ae9ae1dee91a2c76a354fc4cb416b2902470f16e77a372cb40dda346a0ef238a5f398652ecdce +MISC ChangeLog 5258 SHA256 0dcb9a08c21004df8e17ea73ac3662b94ed863f7ed10058c004e8933d7ec2c10 SHA512 9bb2618969d543d4ffedaa021c6702fbafac7e181e4ff25a47b1ad94c98a134f3b208c848dee36a73ac588df63bc4a87e88bacfdc6fa18e9fbd68e57c93b3283 WHIRLPOOL 4e0ce7b0279366a7ef655ece96ab2f2efc9e54306e40a80c0799f88936b8dd7e335ae09d42d65d1743ce8a2b2d9f1f884f7deedc17bf9f0527d2c7d100811963 +MISC ChangeLog-2015 2156 SHA256 6f681a692c070ac948946f3298b32ea0c5c8502ad26dee8938852574d347d000 SHA512 db6f2a66dcc3982451f5b70de8933c0890b6e6fc0f4c02f255392741df7ddddcb9ab88e1dec54b8d5e44156cfd2a5fd435b921e6258f03421dcdf737efff68f7 WHIRLPOOL 97b5910f906281a03c8b615fc8ff5521da7890ecfdeb15df31b222ffb1eaaee29568b1f02e14f01400a30a5a19f5309f7a5bab14d3c7f27c5f39dc27f172f0b1 +MISC metadata.xml 419 SHA256 a1d40540663ff95de64715c58359876e641e9c97166362e8c811c399dbbf3843 SHA512 72aa11bd406832fed28f2a95e1ed19af5c483ce4238ac76a3d3364bfded1a6d823ca62e2c9e794b37a9d58d9270f92aa03f392b5307611b6b17cb148e826f5fe WHIRLPOOL 1bb277efb0cc173fd997e86ba17fc395ff91395660523b4a87dacb2172a5dab22efeae52dffef5d2030fabb68aacafad290652fca4fd05c0700927ea816fdcd3 diff --git a/dev-libs/libmateweather/libmateweather-1.12.2.ebuild b/dev-libs/libmateweather/libmateweather-1.12.2.ebuild new file mode 100644 index 000000000000..903ee582dd41 --- /dev/null +++ b/dev-libs/libmateweather/libmateweather-1.12.2.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MATE_LA_PUNT="yes" +PYTHON_COMPAT=( python2_7 ) + +inherit python-r1 mate + +if [[ ${PV} != 9999 ]]; then + KEYWORDS="amd64 ~arm x86" +fi + +DESCRIPTION="MATE library to access weather information from online services" +LICENSE="GPL-2" +SLOT="0" + +IUSE="debug gtk3 python" + +REQUIRED_USE=" + gtk3? ( !python ) + python? ( ${PYTHON_REQUIRED_USE} ) + " + +RDEPEND=">=dev-libs/glib-2.36:2[${PYTHON_USEDEP}] + >=dev-libs/libxml2-2.6:2 + >=net-libs/libsoup-2.34:2.4 + >=sys-libs/timezone-data-2010k:0 + x11-libs/gdk-pixbuf:2 + virtual/libintl:0 + !gtk3? ( >=x11-libs/gtk+-2.24:2 ) + gtk3? ( >=x11-libs/gtk+-3.0:3 ) + python? ( + ${PYTHON_DEPS} + >=dev-python/pygobject-2:2[${PYTHON_USEDEP}] + >=dev-python/pygtk-2:2[${PYTHON_USEDEP}] + )" + +DEPEND="${RDEPEND} + dev-util/gtk-doc + dev-util/gtk-doc-am + >=dev-util/intltool-0.50.1:* + sys-devel/gettext:* + >=sys-devel/libtool-2.2.6:2 + virtual/pkgconfig:*" + +src_prepare() { + mate_src_prepare + use python && python_copy_sources +} + +src_configure() { + mate_py_cond_func_wrap mate_src_configure \ + --enable-locations-compression \ + --disable-all-translations-in-one-xml \ + --with-gtk=$(usex gtk3 3.0 2.0) \ + $(use_enable python) +} + +src_compile() { + mate_py_cond_func_wrap default +} + +src_install() { + mate_py_cond_func_wrap mate_src_install +} diff --git a/dev-libs/libmateweather/libmateweather-1.14.3.ebuild b/dev-libs/libmateweather/libmateweather-1.14.3.ebuild new file mode 100644 index 000000000000..4b1232fdf3c9 --- /dev/null +++ b/dev-libs/libmateweather/libmateweather-1.14.3.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MATE_LA_PUNT="yes" +PYTHON_COMPAT=( python2_7 ) + +inherit python-r1 mate + +if [[ ${PV} != 9999 ]]; then + KEYWORDS="~amd64 ~arm ~x86" +fi + +DESCRIPTION="MATE library to access weather information from online services" +LICENSE="GPL-2" +SLOT="0" + +IUSE="debug gtk3 python" + +REQUIRED_USE=" + gtk3? ( !python ) + python? ( ${PYTHON_REQUIRED_USE} ) + " + +COMMON_DEPEND=">=dev-libs/glib-2.36:2[${PYTHON_USEDEP}] + >=dev-libs/libxml2-2.6:2 + >=net-libs/libsoup-2.34:2.4 + >=sys-libs/timezone-data-2010k:0 + x11-libs/gdk-pixbuf:2 + virtual/libintl:0 + !gtk3? ( >=x11-libs/gtk+-2.24:2 ) + gtk3? ( >=x11-libs/gtk+-3.0:3 ) + python? ( + ${PYTHON_DEPS} + >=dev-python/pygobject-2:2[${PYTHON_USEDEP}] + >=dev-python/pygtk-2:2[${PYTHON_USEDEP}] + )" + +RDEPEND="${COMMON_DEPEND}" + +DEPEND="${COMMON_DEPEND} + dev-util/gtk-doc + dev-util/gtk-doc-am + >=dev-util/intltool-0.50.1:* + sys-devel/gettext:* + >=sys-devel/libtool-2.2.6:2 + virtual/pkgconfig:*" + +src_prepare() { + mate_src_prepare + use python && python_copy_sources +} + +src_configure() { + mate_py_cond_func_wrap mate_src_configure \ + --enable-locations-compression \ + --disable-all-translations-in-one-xml \ + --with-gtk=$(usex gtk3 3.0 2.0) \ + $(use_enable python) +} + +src_compile() { + mate_py_cond_func_wrap default +} + +src_install() { + mate_py_cond_func_wrap mate_src_install +} diff --git a/dev-libs/libmateweather/libmateweather-1.16.1.ebuild b/dev-libs/libmateweather/libmateweather-1.16.1.ebuild new file mode 100644 index 000000000000..4b1232fdf3c9 --- /dev/null +++ b/dev-libs/libmateweather/libmateweather-1.16.1.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MATE_LA_PUNT="yes" +PYTHON_COMPAT=( python2_7 ) + +inherit python-r1 mate + +if [[ ${PV} != 9999 ]]; then + KEYWORDS="~amd64 ~arm ~x86" +fi + +DESCRIPTION="MATE library to access weather information from online services" +LICENSE="GPL-2" +SLOT="0" + +IUSE="debug gtk3 python" + +REQUIRED_USE=" + gtk3? ( !python ) + python? ( ${PYTHON_REQUIRED_USE} ) + " + +COMMON_DEPEND=">=dev-libs/glib-2.36:2[${PYTHON_USEDEP}] + >=dev-libs/libxml2-2.6:2 + >=net-libs/libsoup-2.34:2.4 + >=sys-libs/timezone-data-2010k:0 + x11-libs/gdk-pixbuf:2 + virtual/libintl:0 + !gtk3? ( >=x11-libs/gtk+-2.24:2 ) + gtk3? ( >=x11-libs/gtk+-3.0:3 ) + python? ( + ${PYTHON_DEPS} + >=dev-python/pygobject-2:2[${PYTHON_USEDEP}] + >=dev-python/pygtk-2:2[${PYTHON_USEDEP}] + )" + +RDEPEND="${COMMON_DEPEND}" + +DEPEND="${COMMON_DEPEND} + dev-util/gtk-doc + dev-util/gtk-doc-am + >=dev-util/intltool-0.50.1:* + sys-devel/gettext:* + >=sys-devel/libtool-2.2.6:2 + virtual/pkgconfig:*" + +src_prepare() { + mate_src_prepare + use python && python_copy_sources +} + +src_configure() { + mate_py_cond_func_wrap mate_src_configure \ + --enable-locations-compression \ + --disable-all-translations-in-one-xml \ + --with-gtk=$(usex gtk3 3.0 2.0) \ + $(use_enable python) +} + +src_compile() { + mate_py_cond_func_wrap default +} + +src_install() { + mate_py_cond_func_wrap mate_src_install +} diff --git a/dev-libs/libmateweather/libmateweather-1.18.0.ebuild b/dev-libs/libmateweather/libmateweather-1.18.0.ebuild new file mode 100644 index 000000000000..c18aa299ea65 --- /dev/null +++ b/dev-libs/libmateweather/libmateweather-1.18.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MATE_LA_PUNT="yes" + +inherit mate + +if [[ ${PV} != 9999 ]]; then + KEYWORDS="~amd64 ~arm ~x86" +fi + +DESCRIPTION="MATE library to access weather information from online services" +LICENSE="GPL-2" +SLOT="0" + +IUSE="debug" + +COMMON_DEPEND=">=dev-libs/glib-2.36:2 + >=dev-libs/libxml2-2.6:2 + >=net-libs/libsoup-2.34:2.4 + >=sys-libs/timezone-data-2010k:0 + x11-libs/gdk-pixbuf:2 + virtual/libintl:0 + >=x11-libs/gtk+-3.0:3" + +RDEPEND="${COMMON_DEPEND}" + +DEPEND="${COMMON_DEPEND} + dev-util/gtk-doc + dev-util/gtk-doc-am + >=dev-util/intltool-0.50.1:* + sys-devel/gettext:* + >=sys-devel/libtool-2.2.6:2 + virtual/pkgconfig:*" + +src_configure() { + mate_src_configure \ + --enable-locations-compression \ + --disable-all-translations-in-one-xml +} diff --git a/dev-libs/libmateweather/metadata.xml b/dev-libs/libmateweather/metadata.xml new file mode 100644 index 000000000000..7cbfd82a6056 --- /dev/null +++ b/dev-libs/libmateweather/metadata.xml @@ -0,0 +1,14 @@ + + + + + mate@gentoo.org + Gentoo MATE Desktop + + + Build with GTK+3 instead of GTK+2 + + + mate-desktop/libmateweather + + diff --git a/dev-libs/libmaxminddb/Manifest b/dev-libs/libmaxminddb/Manifest new file mode 100644 index 000000000000..0dbaa4504a45 --- /dev/null +++ b/dev-libs/libmaxminddb/Manifest @@ -0,0 +1,4 @@ +DIST libmaxminddb-1.2.1.tar.gz 614448 SHA256 9fa2b3341c9c88117f58454dfb2dd104915a337d93c8a9a735931a63b37f7bfa SHA512 c77e2714c30dbd9d83a755d7e4d24016534510f4cc7213fe9549d610bf79aaeb28f761a9fb769270d9043b1baab537c5a4b3a9994b525d48f395fe94c104b5b3 WHIRLPOOL 5da10a6edbc208ffbdb484c0f056fb0e01d1bd6544b8909f762b7c258247154e757603f08e0a7e0763b0c10f768c6e2084e565566f36f0652931169fa5f4965c +EBUILD libmaxminddb-1.2.1.ebuild 509 SHA256 07d06dbcd22e67c11e1ccae866731afa4782c18233ad5f14ff649b0f7026bf7b SHA512 5ec0310e4e37f58f466b4ff151c2d1d82b5659f94a595ff5aad5825a0ebe9392348091fa93dcf6d56a343895eb05999b56db30c7523230caf53baa53edce9343 WHIRLPOOL f0ea25eeaa14270dbbbbd457b0ced1888382ba8b252509872ded07bc69655cae9ba70e770224a0c5aaa492da242cbd8162a3d6e1b0223ca7ae4b3fb6b9373d68 +MISC ChangeLog 2191 SHA256 34642845450f109c49e380b60fe161ff0e33012085efe29a043449aa3bd256ea SHA512 01a0fe0dc11e5cd05d18051a8e644c6732e6b12be8fbbf3812e18fecd665d346540fcb8f0acef9091111a4863d97bd3700b9c7e6a7f61a608e5f3aa8e587e52f WHIRLPOOL c73a4e5d595dea163941ff8c5a872cd48880c905b63bcd41efeacfb8a9c778dbe3db446ff6819ae4201377526f514436329f5fc629d15d353b18c7d500a2e2e8 +MISC metadata.xml 365 SHA256 bce2c1bb845efb8e0d146ff1de8ab546b411f1033909508c6774dcfc75a228ba SHA512 4e7a17cbf391683173f573d79f273e92184695e37bc68070c03ef4969e8b0e8a35a34b8b87d6582f365b93683b143f216a5a2365c9fe63a6f36ddd78e2ff8730 WHIRLPOOL e516d59edbbde0a57169ff03a95116a013135295bb6e1af270cb22b56f2ef4300abde301f604ebe45945c7d4aab811d9e0f1bc99bce101522b27ddc1b840838d diff --git a/dev-libs/libmaxminddb/libmaxminddb-1.2.1.ebuild b/dev-libs/libmaxminddb/libmaxminddb-1.2.1.ebuild new file mode 100644 index 000000000000..3083e5a45b01 --- /dev/null +++ b/dev-libs/libmaxminddb/libmaxminddb-1.2.1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit eutils + +DESCRIPTION="C library for the MaxMind DB file format" +HOMEPAGE="https://github.com/maxmind/libmaxminddb" +SRC_URI="${HOMEPAGE}/releases/download/${PV}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0/0.0.7" +KEYWORDS="amd64 ~ppc x86" +IUSE="static-libs" + +DOCS=( Changes.md ) + +src_configure() { + econf $(use_enable static-libs static) +} + +src_install() { + default + + prune_libtool_files +} diff --git a/dev-libs/libmaxminddb/metadata.xml b/dev-libs/libmaxminddb/metadata.xml new file mode 100644 index 000000000000..13666bfce6ab --- /dev/null +++ b/dev-libs/libmaxminddb/metadata.xml @@ -0,0 +1,11 @@ + + + + + netmon@gentoo.org + Gentoo network monitoring and analysis project + + + maxmind/libmaxminddb + + diff --git a/dev-libs/libmba/Manifest b/dev-libs/libmba/Manifest new file mode 100644 index 000000000000..a72ee507a2b0 --- /dev/null +++ b/dev-libs/libmba/Manifest @@ -0,0 +1,7 @@ +AUX libmba-0.9.1-glibc-2.20.patch 1039 SHA256 72c0f0d02a464b0e3588e98710ab81e5cccbd6fb0427802a2ba67f769db95058 SHA512 b0d0ea1425dd4dbba685eee62609f0627c4d8a579a566d52d1c7f333a92109cf700faaba8ed0f0697d08409feb14ceb5bebf9a799c23e9de1aef388ba1ba4b95 WHIRLPOOL 4d0bc564626dd3939966c8dc4a6ee57058c608c5edae811a5f363db5e4eaa353b59e5a6ef1f8bd130c540097213591ff6cd6a073135a4f14b6178402f2f5f466 +AUX libmba-0.9.1-qa.patch 2927 SHA256 cfe43906d41d1f7a7868c94cbd4bcf39989bed22bf6ed9fc95806133ad1635bc SHA512 b5886f89c4ea4739e6bfe34e9f8026946ffbbc619922cbd25bab0d7c5df3fefbaf1f198f1321feaf5bbffa79951c58b329cf1d47f4f7ee0f3014de4434c179ea WHIRLPOOL 14259b1a934fe91d24bf79ed6b01007602f00044f65108d17ff7a7d612f8a58b0029884ba5773c2e07eb0ed1979ea95859981c185fcb349a6df8a2ae5adf99ec +DIST libmba-0.9.1.tar.gz 290080 SHA256 1482c6c1a32794d1c40df471d25006ee1cae5b07ebd76b0301268dddb8629394 SHA512 28696e6066cb6c54434e1a35576c1e2430e3b83a478fddeabb20ddf1d8b889edac023de15090762fb95a759ebb9d2d8fcf1b0d19ec22f6a98ef2780400456da6 WHIRLPOOL 3dab2a36821049859d9f6e65af70fee8756c94e5135b6070d589fa46e8d95849221231d9b80cf6df4e81b254b80e8a27072da4ba5b227f252f80312ff7265cd3 +EBUILD libmba-0.9.1-r3.ebuild 903 SHA256 c5f4fdb3f904a4d1af0bb81505b5185e856aa5a61be9f18ac156d3f5da5115e8 SHA512 aed294ada81eebf9bda981a0b09bf82a1f419f8358d7a299e95d6d0b8f5b52a97ee313e0d85d978b535dec10e40a484a610055be475638a55ad51dbdcd29ba6c WHIRLPOOL b59beb593b56abdc50432efcc2a2e211821cc94733b6135659728cc5aee6123e9b4f5933f8ad7edf0c0145bf2a7ead62aa8896cd1428222347d83bbe48e6949e +MISC ChangeLog 2595 SHA256 ebed966313e26537d0f141fdc2f729f7e63b7ad44cf45fbaab69836d2cabf8be SHA512 ef6c63c7aebb033ab423c978981a4dd963724d070c86861eedf5ee4c65747eb0d10b9a388295f86632355eb6b34cb5b0a4ec77cb959025adf943df95cf628902 WHIRLPOOL 4feea8e991f89f130e8118f7c413097c9e00032286a301ce7575957f392c96668fd0d55fc74f38dd5dc2bda8fa5c55a1362b3bcdc1f1052acbb80f0dd1b20b04 +MISC ChangeLog-2015 2220 SHA256 6086ef8f0ce5315023e4685c8ba97906249e55487aba5178820af360bf738a8f SHA512 6684d65a0c12f315320ed25478bada0919f495349e2888bb021be5d9d131359689e3b45951a0b0fa5cee1e7d0f900400ab8d025d78c53710e331d8fd037d3772 WHIRLPOOL 28913992eff8126c200424405640449378d2524be7d2705d8fd04a5001671152a1ec2f0f5f14136b54a150eaa3007081d992fb43372309a705ddfd489117d695 +MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968 diff --git a/dev-libs/libmba/files/libmba-0.9.1-glibc-2.20.patch b/dev-libs/libmba/files/libmba-0.9.1-glibc-2.20.patch new file mode 100644 index 000000000000..4d5651cc5d12 --- /dev/null +++ b/dev-libs/libmba/files/libmba-0.9.1-glibc-2.20.patch @@ -0,0 +1,34 @@ +--- a/src/mba/text.h ++++ b/src/mba/text.h +@@ -315,31 +315,6 @@ + /* "dumb" snprintf returns -1 on overflow */ + LIBMBA_API int dsnprintf(char *str, size_t size, const char *format, ...); + +-#if !defined(_GNU_SOURCE) +- +-#if !defined(_BSD_SOURCE) && \ +- !defined(_XOPEN_SOURCE_EXTENDED) && \ +- !defined(_WIN32) && \ +- !(defined(__APPLE__) && defined(__MACH__)) +-LIBMBA_API char *strdup(const char *s); +-#endif +- +-LIBMBA_API wchar_t *wcsdup(const wchar_t *s); +-LIBMBA_API size_t strnlen(const char *s, size_t maxlen); +- +-#if (__STDC_VERSION__ < 199901L) && \ +- !defined(_BSD_SOURCE) && \ +- (_XOPEN_VERSION < 500) && \ +- !(defined(__APPLE__) && defined(__MACH__)) +-#include +-int vsnprintf(char *str, size_t size, const char *format, va_list ap); +-#endif +- +-LIBMBA_API size_t wcsnlen(const wchar_t *s, size_t maxlen); +-LIBMBA_API int wcscasecmp(const wchar_t *s1, const wchar_t *s2); +- +-#endif /* _GNU_SOURCE */ +- + /* + wchar_t *wcschrnul(const wchar_t *s, wchar_t wc); + int wcsncasecmp(const wchar_t *s1, const wchar_t *s2, size_t n); diff --git a/dev-libs/libmba/files/libmba-0.9.1-qa.patch b/dev-libs/libmba/files/libmba-0.9.1-qa.patch new file mode 100644 index 000000000000..0f9859504f0a --- /dev/null +++ b/dev-libs/libmba/files/libmba-0.9.1-qa.patch @@ -0,0 +1,96 @@ +Addresing multiple QA issues: + - fixing CFLAGS, LDFLAGS, CC + - fixing parallel build + - fixing as-needed issues + - making static libs optional + - introducing make DESTDIR compatibility + - removing Makefile.PLATFORM bits, as they violate sandbox + +http://bugs.gentoo.org/show_bug.cgi?id=313673 + +Patch written by Kacper Kowalik + +--- a/Makefile ++++ b/Makefile +@@ -1,13 +1,13 @@ + # Makefile for libmba + # Supported flags: -DVARRAY_INIT_SIZE=N -DUSE_WCHAR + +-MFLAGS = -g -W1 -Isrc ++MFLAGS = -Isrc + MKTOOL = ./mktool + +-prefix = /usr/local ++prefix = $(DESTDIR)/usr + includedir = $(prefix)/include +-libdir = $(prefix)/lib +-mandir = $(prefix)/man ++libdir = $(prefix)/$(LIBDIR) ++mandir = $(prefix)/share/man + LIBNAME = mba + LIBVERS = 0.9.1 + ARNAME = lib$(LIBNAME).a +@@ -19,39 +19,49 @@ + MAN = diff.3m bitset.3m allocator.3m cfg.3m pool.3m varray.3m csv.3m text.3m path.3m suba.3m msgno.3m stack.3m linkedlist.3m hashmap.3m hexdump.3m shellout.3m eval.3m svsem.3m svcond.3m time.3m + MANGZ = $(MAN:.3m=.3m.gz) + ++.PHONY: all clean install uninstall install-ar uninstall-ar + .SUFFIXES: .pic.o .3m .3m.gz + +-all: mktool so ar ++ifeq ($(STATIC),1) ++all: $(MKTOOL) so ar ++install-ar: $(ARNAME) ++ -$(MKTOOL) -i $(ARNAME) $(libdir) ++uninstall-ar: ++ $(MKTOOL) -u $(ARNAME) $(libdir) ++else ++all: $(MKTOOL) so ++install-ar: ++uninstall-ar: ++endif + +-mktool: ++$(MKTOOL): mktool.c + $(CC) -g -o mktool mktool.c + +-ar: mktool $(OBJS) ++$(PICOBJS): $(MKTOOL) ++$(OBJS): $(MKTOOL) ++ ++ar: $(OBJS) + ar $(ARFLAGS) $(ARNAME) $(OBJS) + ranlib $(ARNAME) +-so: mktool $(PICOBJS) +- @$(MKTOOL) -l -v -libname $(LIBNAME) -libvers $(LIBVERS) -shared -soname -lutil $(PICOBJS) ++so: $(PICOBJS) ++ @$(MKTOOL) -l -v -libname $(LIBNAME) -libvers $(LIBVERS) -shared -soname $(LDFLAGS) $(PICOBJS) -lutil + + .c.pic.o: +- @$(MKTOOL) -c -v $(MFLAGS) -fpic -c -o $*.pic.o $< ++ @$(MKTOOL) -c -v $(CFLAGS) $(MFLAGS) -fpic -c -o $*.pic.o $< + .c.o: +- @$(MKTOOL) -c -v $(MFLAGS) -c -o $*.o $< ++ @$(MKTOOL) -c -v $(CFLAGS) $(MFLAGS) -c -o $*.o $< + +-install: mktool +- -$(MKTOOL) -i $(ARNAME) $(libdir) +- -$(MKTOOL) -i -libname $(LIBNAME) -libvers $(LIBVERS) $(libdir) ++install: install-ar ++ $(MKTOOL) -i -libname $(LIBNAME) -libvers $(LIBVERS) $(libdir) + $(MKTOOL) -i $(HDRS) $(includedir)/mba + $(MKTOOL) -i docs/man/*.3m.gz $(mandir)/man3 +- @-libdir=$(libdir) mandir="$(mandir)" MAN="$(MAN)" MANGZ="$(MANGZ)" $(MKTOOL) -m -v platform_specific_install + @echo + @echo installation successful +-uninstall: mktool +- $(MKTOOL) -u $(ARNAME) $(libdir) ++uninstall: uninstall-ar + $(MKTOOL) -u -libname $(LIBNAME) -libvers $(LIBVERS) $(libdir) + $(MKTOOL) -u $(HDRS) $(includedir)/mba + rm -rf $(includedir)/mba + $(MKTOOL) -u $(MANGZ) $(mandir)/man3 +- -@libdir=$(libdir) mandir="$(mandir)" MAN="$(MAN)" MANGZ="$(MANGZ)" $(MKTOOL) -m -v platform_specific_uninstall + @echo + @echo de-installation successful + diff --git a/dev-libs/libmba/libmba-0.9.1-r3.ebuild b/dev-libs/libmba/libmba-0.9.1-r3.ebuild new file mode 100644 index 000000000000..9f66be909a62 --- /dev/null +++ b/dev-libs/libmba/libmba-0.9.1-r3.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils flag-o-matic multilib toolchain-funcs + +DESCRIPTION="A library of generic C modules" +LICENSE="MIT" +HOMEPAGE="http://www.ioplex.com/~miallen/libmba/" +SRC_URI="${HOMEPAGE}dl/${P}.tar.gz" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="static-libs" + +src_prepare() { + use static-libs && export STATIC="1" + + epatch "${FILESDIR}"/${P}-qa.patch + epatch "${FILESDIR}"/${P}-glibc-2.20.patch + + tc-export CC + sed -i -e "s:gcc:${CC}:g" mktool.c || die + + # prevent reinventing strdup(), wcsdup() and strnlen() + append-cflags -D_XOPEN_SOURCE=500 +} + +src_compile() { + emake LIBDIR="$(get_libdir)" +} + +src_install() { + emake DESTDIR="${D}" LIBDIR="$(get_libdir)" install + + dodoc README.txt docs/*.txt + dohtml -r docs/*.html docs/www/* docs/ref + + insinto /usr/share/doc/${PF}/examples + doins examples/* +} diff --git a/dev-libs/libmba/metadata.xml b/dev-libs/libmba/metadata.xml new file mode 100644 index 000000000000..6f49eba8f496 --- /dev/null +++ b/dev-libs/libmba/metadata.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/dev-libs/libmcal/Manifest b/dev-libs/libmcal/Manifest new file mode 100644 index 000000000000..02787b5835a6 --- /dev/null +++ b/dev-libs/libmcal/Manifest @@ -0,0 +1,14 @@ +AUX libmcal-0.7-flex-2.5.37.patch 406 SHA256 bf18afd8217ffcc376e4e158a271dbbdbd221d3261787653bca8d3d4401d25e1 SHA512 4dae8efd58dc50ad72aa98ab1e4963c8f7dc55c233d16f7b9390e901604d6d1ec6aafd295d92876f62a02abc30286bb430fdf2081f46d0b499248bc945ae09be WHIRLPOOL d5808d1b10fe2520d13d1cb8f9539ab076ff97a64a5ebbf03b7a43ba9170a85f4dfc8bffd39dc615ed788e5c23976b0f6bc195edc7056ba120cf1402061907b6 +AUX libmcal-0.7-flexfix.patch 527 SHA256 e14fd29f79a86fc99ae444015a7182bae236b4348cd1f5486d5d2ad02d79eea6 SHA512 b505c0a416a950a9bd7189f6fc41200a1e4e5149083452f9af1e02f263a5f7a24e19ab4a3304fa4d95c0096056dbcb8b4ad444e459daa44f136e11acad322411 WHIRLPOOL eae4fa8c0f2bc4af8e19471380670f51326c43d5fe6f24a817a9fb3dc7c575cfc871f43f539b9d6f3b5c6a88c4824737458e2e0442085541356c9e490ccb1332 +AUX libmcal-0.7-fpic.patch 1302 SHA256 94475fb3470ecde0f285127c48354830d1d7e60f4ed8826f50b6d976c474ccc9 SHA512 16a84b63a60a33a0d415ca94364344d356e58ed7ad3bccd21c9591610bdf2977b839fabb4e24f1a370310a4b7c939371720a2938f31b1df73db704501d82def1 WHIRLPOOL d0a38e85206a2384a1d214a504977a9a1eceec46ddff8a92a94461484f90e03851416dd146fc2bf85723829d613210858f474646977f92f3a1303404f9eaca67 +AUX libmcal-0.7-gcc4.patch 1108 SHA256 6896584d9fe03715186cccbbd39b54ca1ea62d70ac6fd4874bfc8480b14f6f05 SHA512 17a760d6fba06999fc9a1fc5c7d0c269f84bfa5b9ed66db94e1ed39a2db24ebe66a23ee0066d191ab2484483438b2144e5cd032dad69503117029e07e389a636 WHIRLPOOL b4f3578c8ce84b996f69f9e9103a037ba6b56d3fd043ecf0b72ad1c59d4a970cfcff30edc0a2f0eb83986a01ad5672f2b71504876275596f4bc2333bfee78f91 +AUX libmcal-0.7-libdir.patch 888 SHA256 57beb59f48d973daa27706d1a35dc68d5e79ecd1d33a5e9fce827d2cf7c5a683 SHA512 81cf2f29ec910237ccfaee08557060a260496055ea039545d60753ac716f5299b1758085bb75b1cf14de46c1ca87c60f8babb56aef9cf68368d092525421a1d4 WHIRLPOOL f7167a31fba624fa605d97dcc120ad410a1c4b41e6fd2ebd99c6c693eac930ef9f9dd4baee7bd2a461ed4a1ead53f11ac04efb2a546f507f4353d46911fcea07 +AUX libmcal-0.7-r6-fpic.patch 1336 SHA256 4c0a863bc9ce93c130c04eb73581a8fe5f7e61f30acc39f3a267d9f9de801566 SHA512 71b117daac42fd345e6035bbab133a7c217f7123dd1aa924b8ce59191718638a14a3b57171e8f632960be57f96b09e267595318ab2e3c4b1c2d8862c71a5d3d9 WHIRLPOOL 7f4aef1afa4013ca6beefa74fd7b500b9f76d976079308f92aa2db8d2a69f8342a621a8f385e31a8eeb066a6dc0b259f5dfed57c5e28fbf5aba889c0c4a62e04 +AUX libmcal-0.7-r6-gcc4.patch 1209 SHA256 3679d721ca585c89ec13cf833cc70eb7bbac1718d91cfdece9684caf7945a6ea SHA512 1f28a681b8d6ad79961570b8f6c5f6676fc666d3efe1fb25cbfea8df7175e7a732f07559d4fa914ff5cebcbabe65ec58bc83d407780cada3ac805a66f09d3ca6 WHIRLPOOL 0269c22f9883b9ab6e73987aaa66de4bf08334f4c9a65dde934366e3e960042b23d510988b61548272757dba1c0da833b58349057c2c132205592ac6a37a982e +DIST libmcal-0.7.tar.gz 49039 SHA256 5e9fc22ac4b73ad2fed4fc6eab0c413fd3eb1ea750ab1da6f8a6931e8af48861 SHA512 9d94d9acb663f9add43000be91c1c59e7d5a2a968b3526a97a37c7965df4b07e1e4efa92533bfd0aa92105a90efb7e062307a07b36ca1f21fdc9ea6928fea2f4 WHIRLPOOL 73e85ab4406a5c3616bf6444bbadbd4259133c7e5fd4f9d2da9a316e53700d5a6df647d9bee9d5a63e9fb694c1005d4bfc3824d4495c0da683e5dd842a334db4 +DIST mcaldrivers-0.9.tar.gz 13445 SHA256 9af4110285a6b7a08a272a9f7a20f43f2731200dd03878a651f303302be7161f SHA512 1dda4e09c85ac461bff4d812f51aaec600ecd6b337cce5f73c3b2a9a3f9a1685f5fbe915073df5f10b3ba16e1a6a0f8821c59e23b2600acde8a00de3f92960d9 WHIRLPOOL b933b0fa26ea8870f0996d8d7c037159d8f29128e03df83920cb820210eb257ff51d5de91d13eda7da16bcbd8fb7122996af7f2a55b418581da3d674d4e7a33d +EBUILD libmcal-0.7-r5.ebuild 1932 SHA256 842084c8a6b9bb2b9b780f009e9bbc3958a2d7d2858cfa8cba8f1569a4563640 SHA512 9f4e5cc99cacdcb5ef0906eadbb663eb9873ac168afa1a233c4a8195df752dfc35c2eb112ffcbb40f865c25802d96b6220d1d2bfca7510014cc02b69f7b57213 WHIRLPOOL 87c459497e69d00a0c582cd39aa47930d7c9b8656a180f4575316f9e2ddb4f9669ec792e05cda27e134ec657596c270ecd3d34fad47120e2bd9434451425fba2 +EBUILD libmcal-0.7-r6.ebuild 2117 SHA256 ee399e5faa239178762f9bbcd54f3a9cea4d3a6e47b1e9cb5fd6e88b23f574ab SHA512 75b387e895966e3dfad63277e155d0a8596b252b4ca8ed103ca659d9cedf3a5ed67dc047847f2438e212888f7cf273d4592caec7fa877e03e6ded03bcfbaec2c WHIRLPOOL f113f55c12aeecf2f6ef1f17c95dd6f34afcf205d1c3776fc623fb25131edd097e669b8693dde3148f81e6e97b7f5f03f0132712bf858cae4aaf5bda851fe1dc +MISC ChangeLog 2475 SHA256 15d4bdb18f656eafec5efc4a332495be9ab4097c71fd741c6f6e6cc23108d349 SHA512 700ca981b9f29053a35212d8403b21a2b6fea7d1361df7dfc47663f48c21b7337a681927255fbc6ead78a1b035762746e0604f58c5dff36f9d2b7e10802916ef WHIRLPOOL d00b48e283f6190f1f216cb98f4b5f9e281b77a85011abfc216a7f4702f5f2163ef4fffb86e8e796d2b977db4be069965ab61bbc814249f32e4eee0d9c66f258 +MISC ChangeLog-2015 5680 SHA256 870516adb9726a5ad20f494092f99ea31930ea3b1b3ed21fd2cc1188fe3656f6 SHA512 02051cc04abf061c600eb85c58d9e074b97777b77c151c53c1f0531bd33387734ec552a9e3529866ff74b33b2dba19cbefdc669e2c7427af3dac182d39a4e206 WHIRLPOOL 8355fa857722830df67ff809851bf5d5aea1e24b1b6d55f1f346a1b7228b9246596f68ec9e4503217672f948a6a9a2afc27e6aa31dd762caa022e8734eb8ed0a +MISC metadata.xml 327 SHA256 32fdb506fb72a4cc02dae2e69899ea244dbe272f6979b81624e797b4d30d1185 SHA512 ac68d82248ec86227d6f4da8f57fbd17f40db921e10269454369e866fab266261e6977a6f1341924edc21e6f0a62cb8c5a23c849003bab949d0890ca63d9140d WHIRLPOOL c77e093182465facdd7898ebec9cb7111d77997c878a31ebeccbcf628b11e11fe96e3c5403acdd2e2422b6adb04716aee5c6897ca08c9aff89c6f09fce3744fa diff --git a/dev-libs/libmcal/files/libmcal-0.7-flex-2.5.37.patch b/dev-libs/libmcal/files/libmcal-0.7-flex-2.5.37.patch new file mode 100644 index 000000000000..8c2e38699876 --- /dev/null +++ b/dev-libs/libmcal/files/libmcal-0.7-flex-2.5.37.patch @@ -0,0 +1,14 @@ +--- libmcal.orig/icalroutines.h 2003-01-28 18:45:21.000000000 +0100 ++++ libmcal/icalroutines.h 2013-02-04 01:54:27.833995640 +0100 +@@ -48,8 +48,10 @@ + + + /* ICAL parser. */ ++#ifndef ical_yytext + extern char *ical_yytext; +-extern int ical_yyleng; ++extern size_t ical_yyleng; ++#endif + int ical_yylex(void); + void ical_usebuf(const char *buf, size_t size); + void ical_preprocess(char *buf, size_t *size); diff --git a/dev-libs/libmcal/files/libmcal-0.7-flexfix.patch b/dev-libs/libmcal/files/libmcal-0.7-flexfix.patch new file mode 100644 index 000000000000..0088dce4ccc8 --- /dev/null +++ b/dev-libs/libmcal/files/libmcal-0.7-flexfix.patch @@ -0,0 +1,29 @@ +--- libmcal/icalscanner.lex 2003-01-28 09:45:21.000000000 -0800 ++++ libmcal/icalscanner.lex.new 2006-04-01 22:47:58.515410944 -0800 +@@ -32,13 +32,6 @@ + */ + + #include "icalroutines.h" +- +-void +-ical_usebuf(const char *buf, size_t size) +-{ +- BEGIN(INITIAL); +- yy_scan_bytes(buf, size); +-} + %} + + +@@ -68,3 +61,12 @@ + {LF} BEGIN(INITIAL); return ICALTOK_LF; + . return ICALTOK_JUNK; + <> return ICALTOK_EOF; ++ ++%% ++ ++void ++ical_usebuf(const char *buf, size_t size) ++{ ++ BEGIN(INITIAL); ++ yy_scan_bytes(buf, size); ++} diff --git a/dev-libs/libmcal/files/libmcal-0.7-fpic.patch b/dev-libs/libmcal/files/libmcal-0.7-fpic.patch new file mode 100644 index 000000000000..be003d354a4c --- /dev/null +++ b/dev-libs/libmcal/files/libmcal-0.7-fpic.patch @@ -0,0 +1,56 @@ +--- Makefile.in 2003-11-27 15:46:46.887752568 +0000 ++++ Makefile.in 2003-11-27 16:14:17.325847840 +0000 +@@ -7,7 +7,7 @@ + + INCLUDE=@DRIVER_INCDIR@ ${OTHERINCDIR} -I. + +-CFLAGS=-O0 -Wall -g ${INCLUDE} ${OTHER_CFLAGS} ++CFLAGS=-O0 -Wall -g ${OTHER_CFLAGS} + + LIBOBJS=mcal.o datetime.o lex.ical_yy.o icalroutines.o cal_misc.o $(DRIVER_LIBS) + ALLOBJS=${LIBOBJS} tester.o +@@ -17,6 +17,9 @@ + LIBCAL=libmcal.a + LIBCAL_SO=libmcal.so + ++%.o: %.c ++ gcc $(CFLAGS) -fPIC $(INCLUDE) -c -o $@ $< ++ + all: libmcal.a libmcal.so + + install: libmcal.a libmcal.so +@@ -38,7 +41,7 @@ + + libmcal.so: $(LIBOBJS) + rm -f $(LIBCAL_SO) +- gcc $(CFLAGS) -shared -o $(LIBCAL_SO) $(LIBOBJS) ++ gcc $(CFLAGS) $(INCLUDE) -shared -o $(LIBCAL_SO) $(LIBOBJS) + + lex.ical_yy.c: icalscanner.lex + $(FLEX) $< +--- mstore/Makefile.old 2004-08-08 16:37:13.641537544 +0100 ++++ mstore/Makefile 2004-08-08 16:37:35.473218624 +0100 +@@ -8,6 +8,10 @@ + ALLOBJS=mstore.o + TARGET=mstore_driver.o + ++%.o: %.c ++ gcc $(CFLAGS) -fPIC $(INCLUDE) -c -o $@ $< ++ ++ + all: $(TARGET) + + +--- icap/Makefile.old 2004-08-08 16:38:58.353618888 +0100 ++++ icap/Makefile 2004-08-08 16:39:18.841504256 +0100 +@@ -7,6 +7,10 @@ + ALLOBJS=icap.o icaproutines.o lex.icap_yy.o + TARGET=icap_driver.o + ++%.o: %.c ++ gcc $(CFLAGS) -fPIC $(INCLUDE) -c -o $@ $< ++ ++ + all: $(TARGET) + + diff --git a/dev-libs/libmcal/files/libmcal-0.7-gcc4.patch b/dev-libs/libmcal/files/libmcal-0.7-gcc4.patch new file mode 100644 index 000000000000..d38d0c356dcb --- /dev/null +++ b/dev-libs/libmcal/files/libmcal-0.7-gcc4.patch @@ -0,0 +1,32 @@ +--- a/icap/icap.c 2003-01-28 18:31:33.000000000 +0100 ++++ b/icap/icap.c 2005-08-12 15:04:36.000000000 +0200 +@@ -159,7 +159,7 @@ + if (!reopen) { + if ((stream = calloc(1, sizeof(*stream))) == NULL) + goto fail; +- if ((DATA = calloc(1, sizeof(*DATA))) == NULL) ++ if ((stream->data = calloc(1, sizeof(*DATA))) == NULL) + goto fail; + + /* Copy host. */ +--- a/mstore/mstore.c 2005-08-12 15:30:52.000000000 +0200 ++++ b/mstore/mstore.c 2005-08-12 15:31:38.000000000 +0200 +@@ -308,7 +308,7 @@ + if (!reopen) { + if ((stream = calloc(1, sizeof(*stream))) == NULL) + goto fail; +- if ((DATA = calloc(1, sizeof(*DATA))) == NULL) ++ if ((stream->data = calloc(1, sizeof(*DATA))) == NULL) + goto fail; + } + +@@ -773,7 +773,7 @@ + while((event=read_event(calfile))) { + if (event->id == modified_event->id) + { +- (const CALEVENT*)event = modified_event; ++ event = modified_event; + /*is more required here to assign objects, a loop through all the properties*/ + /* We actually only want to modify any individual property, not the whole thing.. + TODO */ + diff --git a/dev-libs/libmcal/files/libmcal-0.7-libdir.patch b/dev-libs/libmcal/files/libmcal-0.7-libdir.patch new file mode 100644 index 000000000000..b784993aed01 --- /dev/null +++ b/dev-libs/libmcal/files/libmcal-0.7-libdir.patch @@ -0,0 +1,25 @@ +diff -Naur libmcal.orig/Makefile.in libmcal/Makefile.in +--- libmcal.orig/Makefile.in 2003-01-28 09:45:21.000000000 -0800 ++++ libmcal/Makefile.in 2005-02-06 21:20:58.860199158 -0800 +@@ -20,17 +20,17 @@ + all: libmcal.a libmcal.so + + install: libmcal.a libmcal.so +- mkdir -p ${DESTDIR}@prefix@/lib/ ++ mkdir -p ${DESTDIR}@libdir@ + mkdir -p ${DESTDIR}@prefix@/include/mcal/ +- install -m 755 -o 0 -g 0 libmcal.a libmcal.so ${DESTDIR}@prefix@/lib ++ install -m 755 -o 0 -g 0 libmcal.a libmcal.so ${DESTDIR}@libdir@ + install -m 644 -o 0 -g 0 \ + mcal.h bool.h datetime.h drivers.h cal_misc.h icalroutines.h \ + ${DESTDIR}@prefix@/include/mcal/ + touch installed + + install-strip: installed +- strip ${DESTDIR}@prefix@/lib/libmcal.so +- strip ${DESTDIR}@prefix@/lib/libmcal.a ++ strip ${DESTDIR}@libdir@/libmcal.so ++ strip ${DESTDIR}@libdir@/libmcal.a + + libmcal.a: $(LIBOBJS) + rm -f $(LIBCAL) diff --git a/dev-libs/libmcal/files/libmcal-0.7-r6-fpic.patch b/dev-libs/libmcal/files/libmcal-0.7-r6-fpic.patch new file mode 100644 index 000000000000..72a199a3a57e --- /dev/null +++ b/dev-libs/libmcal/files/libmcal-0.7-r6-fpic.patch @@ -0,0 +1,56 @@ +--- Makefile.in 2003-11-27 15:46:46.887752568 +0000 ++++ Makefile.in 2003-11-27 16:14:17.325847840 +0000 +@@ -7,7 +7,7 @@ + + INCLUDE=@DRIVER_INCDIR@ ${OTHERINCDIR} -I. + +-CFLAGS=-O0 -Wall -g ${INCLUDE} ${OTHER_CFLAGS} ++CFLAGS=-O0 -Wall -g ${OTHER_CFLAGS} + + LIBOBJS=mcal.o datetime.o lex.ical_yy.o icalroutines.o cal_misc.o $(DRIVER_LIBS) + ALLOBJS=${LIBOBJS} tester.o +@@ -17,6 +17,9 @@ + LIBCAL=libmcal.a + LIBCAL_SO=libmcal.so + ++%.o: %.c ++ $(CC) $(CFLAGS) -fPIC $(INCLUDE) -c -o $@ $< ++ + all: libmcal.a libmcal.so + + install: libmcal.a libmcal.so +@@ -38,7 +41,7 @@ + + libmcal.so: $(LIBOBJS) + rm -f $(LIBCAL_SO) +- gcc $(CFLAGS) -shared -o $(LIBCAL_SO) $(LIBOBJS) ++ $(CC) -Wl,-soname=$@ $(CFLAGS) $(LDFLAGS) $(INCLUDE) -shared -o $(LIBCAL_SO) $(LIBOBJS) + + lex.ical_yy.c: icalscanner.lex + $(FLEX) $< +--- mstore/Makefile.old 2004-08-08 16:37:13.641537544 +0100 ++++ mstore/Makefile 2004-08-08 16:37:35.473218624 +0100 +@@ -8,6 +8,10 @@ + ALLOBJS=mstore.o + TARGET=mstore_driver.o + ++%.o: %.c ++ $(CC) $(CFLAGS) -fPIC $(INCLUDE) -c -o $@ $< ++ ++ + all: $(TARGET) + + +--- icap/Makefile.old 2004-08-08 16:38:58.353618888 +0100 ++++ icap/Makefile 2004-08-08 16:39:18.841504256 +0100 +@@ -7,6 +7,10 @@ + ALLOBJS=icap.o icaproutines.o lex.icap_yy.o + TARGET=icap_driver.o + ++%.o: %.c ++ $(CC) $(CFLAGS) -fPIC $(INCLUDE) -c -o $@ $< ++ ++ + all: $(TARGET) + + diff --git a/dev-libs/libmcal/files/libmcal-0.7-r6-gcc4.patch b/dev-libs/libmcal/files/libmcal-0.7-r6-gcc4.patch new file mode 100644 index 000000000000..065a82dc24c3 --- /dev/null +++ b/dev-libs/libmcal/files/libmcal-0.7-r6-gcc4.patch @@ -0,0 +1,34 @@ +diff -urN libmcal-/icap/icap.c icap/icap.c +--- libmcal/icap/icap.c 2003-01-28 18:31:33.000000000 +0100 ++++ icap/icap.c 2005-08-12 15:04:36.000000000 +0200 +@@ -159,7 +159,7 @@ + if (!reopen) { + if ((stream = calloc(1, sizeof(*stream))) == NULL) + goto fail; +- if ((DATA = calloc(1, sizeof(*DATA))) == NULL) ++ if ((stream->data = calloc(1, sizeof(*DATA))) == NULL) + goto fail; + + /* Copy host. */ +diff -urN libmcal/mstore/mstore.c mstore/mstore.c +--- libmcal/mstore/mstore.c 2005-08-12 15:30:52.000000000 +0200 ++++ mstore/mstore.c 2005-08-12 15:31:38.000000000 +0200 +@@ -308,7 +308,7 @@ + if (!reopen) { + if ((stream = calloc(1, sizeof(*stream))) == NULL) + goto fail; +- if ((DATA = calloc(1, sizeof(*DATA))) == NULL) ++ if ((stream->data = calloc(1, sizeof(*DATA))) == NULL) + goto fail; + } + +@@ -773,7 +773,7 @@ + while((event=read_event(calfile))) { + if (event->id == modified_event->id) + { +- (const CALEVENT*)event = modified_event; ++ event = modified_event; + /*is more required here to assign objects, a loop through all the properties*/ + /* We actually only want to modify any individual property, not the whole thing.. + TODO */ + diff --git a/dev-libs/libmcal/libmcal-0.7-r5.ebuild b/dev-libs/libmcal/libmcal-0.7-r5.ebuild new file mode 100644 index 000000000000..f13512d9543f --- /dev/null +++ b/dev-libs/libmcal/libmcal-0.7-r5.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +inherit eutils multilib + +DRIVERS="mcaldrivers-0.9" +SRC_URI_BASE="mirror://sourceforge/libmcal" +DESCRIPTION="Modular Calendar Access Library" +HOMEPAGE="http://mcal.chek.com/" +SRC_URI="${SRC_URI_BASE}/${P}.tar.gz ${SRC_URI_BASE}/${DRIVERS}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86" +IUSE="pam" + +DEPEND="pam? ( virtual/pam )" + +S=${WORKDIR}/${PN} + +src_unpack() { + unpack ${A} + cd ${S} + mv ${S}/../mcal-drivers/* ${S}/ + einfo "Using /var/spool/calendar instead of /var/calendar" + for i in FAQ-MCAL HOW-TO-MCAL mstore/mstore.c mstore/README mstore/Changelog; do + sed -e 's|/var/calendar|/var/spool/calendar|g' -i ${i} + done + cd ${S} + epatch "${FILESDIR}"/${P}-fpic.patch + epatch "${FILESDIR}"/${P}-libdir.patch + epatch "${FILESDIR}"/${P}-gcc4.patch + epatch "${FILESDIR}"/${P}-flexfix.patch +} + +src_compile() { + use pam && CFLAGS="${CFLAGS} -DUSE_PAM -lpam" LDFLAGS="${LDFLAGS} -lpam" + einfo "Setting up mstore back-end" + cd ${S}/mstore + emake CFLAGS="${CFLAGS} -I.." LDFLAGS="${LDFLAGS}" || die + + einfo "Setting up icap back-end" + cd ${S}/icap + emake CFLAGS="${CFLAGS} -I.." LDFLAGS="${LDFLAGS}" || die + + cd ${S} + myconf="--with-mstore --with-icap" + econf ${myconf} --libdir=/usr/$(get_libdir) || die + emake CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" || die +} + +src_install() { + make DESTDIR="${D}" install || die + dodoc CHANGELOG FAQ-MCAL FEATURE-IMPLEMENTATION HOW-TO-MCAL LICENSE README + newdoc mstore/README mstore-README + newdoc mstore/Changelog mstore-Changelog + newdoc icap/Changelog icap-Changelog + dohtml FUNCTION-REF.html + keepdir /var/spool/calendar + fperms 1777 /var/spool/calendar +} + +pkg_postinst() { + einfo "You should start adding users to your calendar. ( e.g. htpasswd -c /etc/mpasswd username )" + # enforce perms + chmod 1777 ${ROOT}/var/spool/calendar +} diff --git a/dev-libs/libmcal/libmcal-0.7-r6.ebuild b/dev-libs/libmcal/libmcal-0.7-r6.ebuild new file mode 100644 index 000000000000..31955f636941 --- /dev/null +++ b/dev-libs/libmcal/libmcal-0.7-r6.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit eutils multilib + +DRIVERS="mcaldrivers-0.9" +SRC_URI_BASE="mirror://sourceforge/libmcal" +DESCRIPTION="Modular Calendar Access Library" +HOMEPAGE="http://mcal.chek.com/" +SRC_URI="${SRC_URI_BASE}/${P}.tar.gz ${SRC_URI_BASE}/${DRIVERS}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="pam" +DOCS="CHANGELOG FAQ-MCAL FEATURE-IMPLEMENTATION HOW-TO-MCAL README" + +DEPEND="pam? ( virtual/pam )" + +S=${WORKDIR}/${PN} + +src_prepare() { + mv "${S}"/../mcal-drivers/* "${S}"/ + einfo "Using /var/spool/calendar instead of /var/calendar" + for i in FAQ-MCAL HOW-TO-MCAL mstore/mstore.c mstore/README mstore/Changelog; do + sed -e 's|/var/calendar|/var/spool/calendar|g' -i ${i} || die + done + cd "${S}" + epatch "${FILESDIR}"/${PN}-0.7-r6-fpic.patch + epatch "${FILESDIR}"/${PN}-0.7-libdir.patch + epatch "${FILESDIR}"/${PN}-0.7-r6-gcc4.patch + epatch "${FILESDIR}"/${PN}-0.7-flexfix.patch + epatch "${FILESDIR}"/${PN}-0.7-flex-2.5.37.patch +} + +src_configure() { + use pam && export CFLAGS="${CFLAGS} -DUSE_PAM -lpam" LDFLAGS="${LDFLAGS} -lpam" +} + +src_compile() { + einfo "Setting up mstore back-end" + cd "${S}"/mstore + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} -I.." LDFLAGS="${LDFLAGS}" + + einfo "Setting up icap back-end" + cd "${S}"/icap + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} -I.." LDFLAGS="${LDFLAGS}" + + cd "${S}" + myconf="--with-mstore --with-icap" + # Sorry repoman, this econf cannot be run until the above two compiles are + # done. + econf ${myconf} --libdir=/usr/$(get_libdir) + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" +} + +src_install() { + emake DESTDIR="${D}" install + dodoc ${DOCS} + newdoc mstore/README mstore-README + newdoc mstore/Changelog mstore-Changelog + newdoc icap/Changelog icap-Changelog + dohtml FUNCTION-REF.html + keepdir /var/spool/calendar + fperms 1777 "${ROOT}"/var/spool/calendar +} + +pkg_postinst() { + einfo "You should start adding users to your calendar. ( e.g. htpasswd -c /etc/mpasswd username )" +} diff --git a/dev-libs/libmcal/metadata.xml b/dev-libs/libmcal/metadata.xml new file mode 100644 index 000000000000..f0cf5708f1c8 --- /dev/null +++ b/dev-libs/libmcal/metadata.xml @@ -0,0 +1,11 @@ + + + + + robbat2@gentoo.org + Robin H. Johnson + + + libmcal + + diff --git a/dev-libs/libmcrypt/Manifest b/dev-libs/libmcrypt/Manifest new file mode 100644 index 000000000000..c5c91f396903 --- /dev/null +++ b/dev-libs/libmcrypt/Manifest @@ -0,0 +1,6 @@ +AUX libmcrypt-2.5.8-rotate-mask.patch 1060 SHA256 2ef032e0e395f51e9c8214e0ecc03db2ad265efbf2f5357bb57fd8d5e5a5124e SHA512 975d75e7b41ba18012a09ebf0bddec794ab8597d2515995ec55498437f237d8de917a2766e31da32e92ddbd40de6fe9ca78814eb55ff68da746037e064aaede8 WHIRLPOOL d226ea2b2acfa25c883a1233ff47cb7e570ca91ab6552fd061fb4b5227606a5f6fd06cb3d6f92eb007b245a45b0ca7a0d9b28e473a40ec001f3a891a5a26ed4c +DIST libmcrypt-2.5.8.tar.gz 1335178 SHA256 e4eb6c074bbab168ac47b947c195ff8cef9d51a211cdd18ca9c9ef34d27a373e SHA512 471a4e0dcbede836c975697a4edd5c3a53d555dde122a045d702e619d7e9768c7abc1ab541c79829f644b70241ac2e0cd274cf22499e47862983401566ca1fd1 WHIRLPOOL 2fbe22466ecd42161e0de75dfdcdd42edd7f5f1422a2fd9b8bc4bf81f7005749e500058bbb62827f8be34fb707c70fd5920f37b2e27743814d96dd89c03f7deb +EBUILD libmcrypt-2.5.8-r4.ebuild 1019 SHA256 47f8c5db14e8c2d01cb6d6f65d38894ad63dac48c5e4f01e3fc57aa5001bcc19 SHA512 9e380fed0072edd5562253dde88a131061082feab3cdd2c3bb25aa38808db1e80d22870fc80c3f837c6d53f768e252db07bf4912cca6f445acc8dff887467ff7 WHIRLPOOL b01c034dfb1e659f4e9e546a59ac5d27a9d2d5dd70b06da06e4b193751a7d586d7c6f754483db0743a97d6e5c9bcf1e275e803fcf4781b4c790d8b220b224475 +MISC ChangeLog 3308 SHA256 0f2ed02c4016bf4fc78b74c6d2410e41305e83a20f4f7fc7c1fdd3445ecdea60 SHA512 2a5e89cb242880a713ea77c0f8c5028ff9f39e719d327fa579a93234af52e5858201e62a8bd6b7d9a5f68b4139e3a6b56048994ce64d112eee968d3bfd32a066 WHIRLPOOL c69ccc3830929009baf36ee32a96cb0ea8aec4414c115c7387284acf7a8d06454c72fb177494f6e98b127eb79f5478f72568f8fc39878e6636ee29c71846a1d7 +MISC ChangeLog-2015 8273 SHA256 58d58ef6c212b702f5ca52338b48bf6a33fb2ed9addd6aabc590e96e5c6897b4 SHA512 6878404f43d0455005a9774199d036dd7e6873c2a3da135b945da4282d4954752912ddd28ce4ed5aa3f07bf4c03ef320441c99b2001edc366aa4506c6f7b52a6 WHIRLPOOL 23136bd13253c6eedc44396b8c2147f301b5895d79e954a9e4e4eadcb68fd70423ebc8b0e652cf113498750a8879a6055636c049ebbe0ae7e29782c4eb824b6c +MISC metadata.xml 326 SHA256 f71c1849263bd37b84b42e4ccf0a1dd61337c20d107d65d477409de9d62f9aa8 SHA512 a5d7a15b6084aebe038f38dc8003040c42434d415ebdb33b225e2772047950d35b2328dba5a7194533608b74ec47ca6a1bfccb56540f3a67308b499b04774207 WHIRLPOOL d0c24732d78b652c61e7cb5c132d9a5562721384cd9115d362481f22e6a788f51a8db7b94eb62615a9b1ab74046fca7ce60648ae2507cbd0c89a9745f088464a diff --git a/dev-libs/libmcrypt/files/libmcrypt-2.5.8-rotate-mask.patch b/dev-libs/libmcrypt/files/libmcrypt-2.5.8-rotate-mask.patch new file mode 100644 index 000000000000..568caa463862 --- /dev/null +++ b/dev-libs/libmcrypt/files/libmcrypt-2.5.8-rotate-mask.patch @@ -0,0 +1,18 @@ +--- a/KNOWN-BUGS 2008-12-13 15:31:49.000000000 -0500 ++++ /dev/null 2008-12-13 02:05:21.751517562 -0500 +@@ -1 +0,0 @@ +-- cast-256 and rc6 do not work properly on Alpha (64 bit) machines +--- a/lib/mcrypt_modules.h.orig 2008-12-13 15:33:06.000000000 -0500 ++++ b/lib/mcrypt_modules.h 2008-12-13 15:25:01.000000000 -0500 +@@ -1,7 +1,7 @@ +-#define rotl32(x,n) (((x) << ((word32)(n))) | ((x) >> (32 - (word32)(n)))) +-#define rotr32(x,n) (((x) >> ((word32)(n))) | ((x) << (32 - (word32)(n)))) +-#define rotl16(x,n) (((x) << ((word16)(n))) | ((x) >> (16 - (word16)(n)))) +-#define rotr16(x,n) (((x) >> ((word16)(n))) | ((x) << (16 - (word16)(n)))) ++#define rotl32(x,n) (((x) << ((word32)(n & 31))) | ((x) >> (32 - (word32)(n & 31)))) ++#define rotr32(x,n) (((x) >> ((word32)(n & 31))) | ((x) << (32 - (word32)(n & 31)))) ++#define rotl16(x,n) (((x) << ((word16)(n & 15))) | ((x) >> (16 - (word16)(n & 15)))) ++#define rotr16(x,n) (((x) >> ((word16)(n & 15))) | ((x) << (16 - (word16)(n & 15)))) + + /* Use hardware rotations.. when available */ + #ifdef swap32 diff --git a/dev-libs/libmcrypt/libmcrypt-2.5.8-r4.ebuild b/dev-libs/libmcrypt/libmcrypt-2.5.8-r4.ebuild new file mode 100644 index 000000000000..b5bbdb50890b --- /dev/null +++ b/dev-libs/libmcrypt/libmcrypt-2.5.8-r4.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit autotools + +DESCRIPTION="libmcrypt provides uniform interface to access several encryption algorithms" +HOMEPAGE="http://mcrypt.sourceforge.net/" +SRC_URI="mirror://sourceforge/mcrypt/${P}.tar.gz" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" +IUSE="" + +DEPEND="" +RDEPEND="" + +DOCS=( + AUTHORS NEWS README THANKS TODO ChangeLog + doc/README.config doc/README.key doc/README.xtea + doc/example.c +) + +PATCHES=( + "${FILESDIR}/${P}-rotate-mask.patch" +) + +src_prepare() { + default + mv configure.in configure.ac + mv libltdl/configure.in libltdl/configure.ac + sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' configure.ac libltdl/configure.ac || die + eautoreconf # need new libtool for interix (elibtoolize would suffice for freebsd) +} diff --git a/dev-libs/libmcrypt/metadata.xml b/dev-libs/libmcrypt/metadata.xml new file mode 100644 index 000000000000..a07f7533cf4a --- /dev/null +++ b/dev-libs/libmcrypt/metadata.xml @@ -0,0 +1,11 @@ + + + + + crypto@gentoo.org + Crypto + + + mcrypt + + diff --git a/dev-libs/libmcs/Manifest b/dev-libs/libmcs/Manifest new file mode 100644 index 000000000000..c487879b4b12 --- /dev/null +++ b/dev-libs/libmcs/Manifest @@ -0,0 +1,5 @@ +DIST libmcs-0.7.2.tgz 112987 SHA256 989f8dc4598ffab2f6a5648ba40f12d2e2c392b7ec6e66eeef194591565e60d9 SHA512 798420299d7aa756a949ebfb21ae13effe146d222f1c09233ff64736c4f24c5aa132520d3486ab9460cd38632f67e47e619148acfffa74d82638a5b3cbf0c0d6 WHIRLPOOL 3e4fa46c72dad44388df62e556cca563edce37ff2a6f1eca72d0982b4f5d52a6675c7df5c181423e4c7a4a457dfd894bdcac71cd83b37b32aae98c043096ccd7 +EBUILD libmcs-0.7.2.ebuild 639 SHA256 7c4376f55a7484a4448abb406ce7609c098b3c764016c39d80d2df5545c4fb95 SHA512 2a6e8d82dcc91e6c8b6bf0784e61c8b423049c7ae9506861a73ca807ff3188e7a8bb3e8b4a20a1dc3cba87d3336652a30f93dbe02b85379e11c8c7706bc0d80b WHIRLPOOL 0c9411fbb47b3b6836baf38b144704ec20e540edc36139799780d88e4c9e78d992c039363794ff9987eb6208b13d1cf474f3eb1767309c82fc2992d995d3c960 +MISC ChangeLog 2687 SHA256 42166d29b3d6ade269b5fd4db4e33ae23c38255205361b68a2542aafbc34b1aa SHA512 9afa956233b1a3f9b7fba6c4ce6446d6090f58a02262030c4f28789dfb86bc827b2714c3e506d1f33e2a9709b1dce97170fcbcbaf5d4e19c34020a1b39f18e4e WHIRLPOOL fc83997d8bec4f7315750fe8385728e34f6009daecfdb1d7d4187d00983a8130fc4fbf8cd99f88dcac4ab9058355e5b8f8c869c36758febc1e182ed3b5464cb6 +MISC ChangeLog-2015 8523 SHA256 599dbc3606d059235444c48445efa992cd4bff1aabec82b0770c86702c5f1909 SHA512 64274f1961be7cc2280a44044aa528f6d8c807541e9cbdbe79ee4134220c6a59f7166c26fab93ab164a09e2f7207e3e4e874a88e25f875c5a9e96bbd4c71f50c WHIRLPOOL fb1ef27b09575b37fed06d46f466b1d0988b58dc3cd203a0f88c88d5e18d1d51fbd25fceec682c9d80bbdaf68518861632807373de33bb0ef7c0da8ecfe53d08 +MISC metadata.xml 139 SHA256 5cdc1888ebc8807b9a37b1d33429c61cabe7415a4f240e21a4c2ff8eca7a34ed SHA512 8be912ace7468a4396eb1da00a9785030a8ce35da4357a01591876a1056fd45e44da65de2af3e1eb0506ce6551714962c40c3ae5a3aefa2ad231de35af2519be WHIRLPOOL 620431014dd4fb752c3d46d11904ecb2c6d4525f5b4e30f4f778a3b74d3f7187ae4ccd856ebd7eabb48ce261b21849c732928fe647edce024a3fdc082d8f8630 diff --git a/dev-libs/libmcs/libmcs-0.7.2.ebuild b/dev-libs/libmcs/libmcs-0.7.2.ebuild new file mode 100644 index 000000000000..01de70a173e6 --- /dev/null +++ b/dev-libs/libmcs/libmcs-0.7.2.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +DESCRIPTION="Abstracts the storage of configuration settings away from applications" +HOMEPAGE="http://git.atheme.org/libmcs/" +SRC_URI="http://distfiles.atheme.org/${P}.tgz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="alpha amd64 hppa ~mips ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux" +IUSE="gnome" + +RDEPEND=">=dev-libs/libmowgli-0.6.1:0 + gnome? ( >=gnome-base/gconf-2.6.0 )" +DEPEND="virtual/pkgconfig + ${RDEPEND}" +DOCS="AUTHORS README TODO" + +src_configure() { + econf \ + --disable-kconfig \ + $(use_enable gnome gconf) +} diff --git a/dev-libs/libmcs/metadata.xml b/dev-libs/libmcs/metadata.xml new file mode 100644 index 000000000000..097975e3adc2 --- /dev/null +++ b/dev-libs/libmcs/metadata.xml @@ -0,0 +1,4 @@ + + + + diff --git a/dev-libs/libmelf/Manifest b/dev-libs/libmelf/Manifest new file mode 100644 index 000000000000..cdd534664c61 --- /dev/null +++ b/dev-libs/libmelf/Manifest @@ -0,0 +1,8 @@ +AUX libmelf-0.4.0-gcc-makefile-cleanup.patch 4079 SHA256 656cece4da2d88055db265923d631d1994aff5b01c59551fbf58fb846cf614f8 SHA512 b227866d63c522d9256c4e47ea114f162e0c6049e40366bc128b22efb75172a43b1364d237968f9bd1f2ef3681ac098be714e4b2aa5e92161e27125ae8b2e405 WHIRLPOOL d3cf91b7b0f1e52602f00cbe819fdff6ce5eb2aa92dc90dfa367478c61092f41b348a09667a81967d25fe120e4070586e2b7636390f4dbfbb5ebb294af1bcd7f +AUX libmelf-0.4.0-r1-gcc-makefile-cleanup.patch 3132 SHA256 a5b7955879c72edcb6c57943927f2ab738fd62a403b2fa4e83b5ccbd9ec73535 SHA512 c68e718e9e49c636be58028a03d53d81998e5cb9b8940c2c431f93acc77019be0a58486c0f7663241bd5d281f7638897a5baeca953e504c885c8dd6aea0c2fe4 WHIRLPOOL c0fd4c88c6750667edbf6c6665303191bee1b607808768bdaab5e00b80b4662dfd8171db7aa21dcb939ef186406fb367ad61332111baa4bf32719b95a2752ae0 +AUX libmelf-0.4.1-unfinal-release.patch 5246 SHA256 030cb76d083e90cb0b0680631b69d5b01da99dda8e3d91efa5e063ac1e9c7068 SHA512 4d828c626e7b9f9399bd0bfe6428970995d2b386cb60ebf80ba68be67dae23a1671ed4cf766675e17d72d5d4e4b9265ae99dd40c022c20cf233b237f88ab94ec WHIRLPOOL 58d9eeb860e8efa7836d6f08a500d893aa189360519871ad31b9a8b6bc48dd8998b2371a255e8293a1924150ca31833657f701579a81d6cc1f0eec5aa982980b +DIST libmelf-0.4.0.tar.gz 163173 SHA256 f0820cec3b4338b4441743fc74d183fd28ad4e405e90d99c1dc01cf787ff0246 SHA512 c702c72026f494b0d3ee665d6734cbd302c002c904721c0b58f71850f20c3249e5cabca4fcc5ecfe0a4e114df2e31c6faed84634ad593ff61de2e5acffd70227 WHIRLPOOL 79f547661c8373122314f03803a737baf3ec3bdf4634c3d0a521ec6b0646351777183a9bd7b6104bf6cb55dd2e73fb65876e52b7ee677757c43d80198b7d637f +EBUILD libmelf-0.4.0-r1.ebuild 938 SHA256 62920252ffd5e01726360b9b9b0863ccf136d0fa43e39d97c51e0b2ecc9b77e4 SHA512 200583eeca05cabb3b1b58390dffaeb8389e8938f908848ca17e84dbc8fbd56460e6ce7d32639cc50bc833dd21001b40634a3459999a031070967cfc0f7421fc WHIRLPOOL fcf4cae14fd5410cd737da83ad9e610f9352179a4afa2a7290eae42afab221eb9b33dac0fa5a808e8f348910738f71aef56f212eda2e07ca9f9b574648e408a0 +MISC ChangeLog 2385 SHA256 b2179e0db56d79afe806097a69d1827a4c3664a791ee3c831be064705353a70c SHA512 a52b90e0136a2d24d18a05dc8a1323fbcdbe72dabcc4e95a22cacec71b13c9ff5146a7bdc1cc52d2ffe0e3fe6181edf7ed5c3a63e3ca50cac722aae0d0f0b978 WHIRLPOOL 0d0dd6754a432bb206c7a7d9292c0e771a1c33d3303109b7e736dfe89ec9feaa2c92305565687cdfd47004857bf444cb15f479a5e6e8dc37204ddf095008d497 +MISC ChangeLog-2015 1060 SHA256 3d856fe509abd373a05c684ef58b4aeb7be14b79f1ddf1e9d7cc93cc11e5b146 SHA512 eea6a4af36980db2a302ec9f39e990caefa593553a94f807225569d0d4150c595ad988059db5e98255d538911cc03643240567b79b17f9ae52a37ff87b293d9a WHIRLPOOL 65fafc1fc91d33b53ee78106ba5f10094eb553ad81eec97fde1e7614f10c9b6f5b7141132ba550cc7e6c3d466b3b53e76f119d353ef5a9e15ef0da41ecf47561 +MISC metadata.xml 268 SHA256 972faf76e6638f2159ef3c7dafdcfef26d582070e6f0064d9136d1c6b2bee905 SHA512 ffda1db3fd6ac952f41a970e2e496c6a9fd0b12ed11cdf363fd269c3b00f627c6e70421fd545aad61d69594af2e5f43d8ebc197232a39b596d012818fe758850 WHIRLPOOL 759c32dcdde671d2fda0269ee9326f6d0f0e44966f767ac7becc40e6efb5429237b683cb23867d76a8d13dde79fe257e090ef890761b20f9792172a90369296d diff --git a/dev-libs/libmelf/files/libmelf-0.4.0-gcc-makefile-cleanup.patch b/dev-libs/libmelf/files/libmelf-0.4.0-gcc-makefile-cleanup.patch new file mode 100644 index 000000000000..ddf7c8a1ca03 --- /dev/null +++ b/dev-libs/libmelf/files/libmelf-0.4.0-gcc-makefile-cleanup.patch @@ -0,0 +1,129 @@ +diff -Nuar --exclude '*~' libmelf-0.4.0.orig/example/Makefile.in libmelf-0.4.0/example/Makefile.in +--- libmelf-0.4.0.orig/example/Makefile.in 2003-03-24 00:48:22.000000000 -0800 ++++ libmelf-0.4.0/example/Makefile.in 2010-05-31 19:56:43.546947560 -0700 +@@ -1,7 +1,13 @@ + cc=@CC@ + DEFINES=@DEFINES@ ++OPTFLAGS=-Wall -O3 ++CFLAGS=${DEFINES} ${OPTFLAGS} -I.. ++BINS = sign test new + +-all: +- ${CC} ${DEFINES} -I.. -Wall -O3 sign.c -o sign ../libmelf.a +- ${CC} ${DEFINES} -I.. -Wall -O3 test.c -o test ../libmelf.a +- ${CC} ${DEFINES} -I.. -Wall -O3 new.c -o new ../libmelf.a ++%: %.c ++ ${CC} $(CFLAGS) $^ -o $@ -L.. -lmelf ++ ++all: $(BINS) ++ ++clean: ++ -rm -f $(BINS) +diff -Nuar --exclude '*~' libmelf-0.4.0.orig/Makefile.in libmelf-0.4.0/Makefile.in +--- libmelf-0.4.0.orig/Makefile.in 2003-11-07 22:09:10.000000000 -0800 ++++ libmelf-0.4.0/Makefile.in 2010-05-31 19:58:12.172822406 -0700 +@@ -6,35 +6,43 @@ + DEFINES=@DEFINES@ -DMELF_COMP + INCLUDES=-I. + PREFIX=@PREFIX@ +-CFLAGS=${DEBUG} ${DEFINES} ${INCLUDES} -Wall -O3 +-LFLAGS=${DEBUG} ${DEFINES} ${INCLUDES} -Wall -O3 -o ++OPTFLAGS=-Wall -O3 ++CFLAGS=${DEBUG} ${DEFINES} ${INCLUDES} ${OPTFLAGS} ++LFLAGS=${DEBUG} ${DEFINES} ${INCLUDES} ${OPTFLAGS} -o ++LIBDIR=lib + LIBS= + OBJS=melf.o melf_dynamic.o melf_elf.o melf_list.o melf_note.o melf_program.o melf_reloc.o \ + melf_res.o melf_section.o melf_string.o melf_symbol.o melf_symbolTable.o + +-all: ${OBJS} +- ar rc ${STATICBIN} ${OBJS} && ranlib ${STATICBIN} +- @SHAREDEXEC@ +- cd example && make +- cd tools && make ++all: ${STATICBIN} ${DYNAMICBIN} ++ cd example && $(MAKE) ++ cd tools && $(MAKE) + + *.c.${O}: + ${CC} ${CFLAGS} $*.c + ++${STATICBIN}: ${OBJS} ++ ar rc ${STATICBIN} ${OBJS} && ranlib ${STATICBIN} ++${DYNAMICBIN}: ${OBJS} ++ @SHAREDEXEC@ ++ + clean: + rm -f *.o ${STATICBIN} ${DYNAMICBIN} example/test example/new example/sign tools/elfres config.* +- cd tools && make clean ++ cd tools && $(MAKE) clean + +-distclean: +- make clean ++distclean: clean + rm -f Makefile example/Makefile stdelf.h +- cd tools && make distclean ++ cd tools && $(MAKE) distclean + + install: ${OBJS} ${STATICBIN} +- cp libmelf.a ${PREFIX}/lib +- cp libmelf.so ${PREFIX}/lib ++ cp ${STATICBIN} ${PREFIX}/$(LIBDIR) ++ cp ${DYNAMICBIN} ${PREFIX}/$(LIBDIR) + cp melf.h ${PREFIX}/include + cp stdelf.h ${PREFIX}/include + + uninstall: +- rm -f ${PREFIX}/lib/libmelf.a ${PREFIX}/lib/libmelf.so ${PREFIX}/include/melf.h ${PREFIX}/include/stdelf.h ++ -rm -f \ ++ ${PREFIX}/$(LIBDIR)/${STATICBIN} \ ++ ${PREFIX}/$(LIBDIR)/${DYNAMICBIN} \ ++ ${PREFIX}/include/melf.h \ ++ ${PREFIX}/include/stdelf.h +diff -Nuar --exclude '*~' libmelf-0.4.0.orig/melf_dynamic.c libmelf-0.4.0/melf_dynamic.c +--- libmelf-0.4.0.orig/melf_dynamic.c 2004-01-08 23:25:32.000000000 -0800 ++++ libmelf-0.4.0/melf_dynamic.c 2010-05-31 19:35:59.230823053 -0700 +@@ -227,7 +227,7 @@ + return NULL; + + dynamic->content = (void *)base; +- (unsigned char *)base += dynamic->contentLength; ++ /*(unsigned char *)*/ base += dynamic->contentLength; + dynamic->contentLength = newLength; + + base->d_tag = DT_NULL; +diff -Nuar --exclude '*~' libmelf-0.4.0.orig/melf_note.c libmelf-0.4.0/melf_note.c +--- libmelf-0.4.0.orig/melf_note.c 2004-01-08 23:25:56.000000000 -0800 ++++ libmelf-0.4.0/melf_note.c 2010-05-31 19:36:11.535947632 -0700 +@@ -205,7 +205,7 @@ + return NULL; + + note->content = (void *)base; +- (unsigned char *)base += note->contentLength; ++ /*(unsigned char *)*/ base += note->contentLength; + + memset(base, 0, newLength - note->contentLength); + +diff -Nuar --exclude '*~' libmelf-0.4.0.orig/tools/Makefile.in libmelf-0.4.0/tools/Makefile.in +--- libmelf-0.4.0.orig/tools/Makefile.in 2003-09-17 01:03:49.000000000 -0700 ++++ libmelf-0.4.0/tools/Makefile.in 2010-05-31 19:57:55.126198024 -0700 +@@ -1,11 +1,15 @@ + cc=@CC@ + DEFINES=@DEFINES@ ++CFLAGS=${DEFINES} ${OPTFLAGS} -I.. ++BINS=elfres + +-all: +- ${CC} ${DEFINES} -I.. -Wall -O3 elfres.c -o elfres ../libmelf.a ++%: %.c ++ ${CC} $(CFLAGS) $^ -o $@ -L.. -lmelf ++ ++all: $(BINS) + + clean: +- rm -f elfres ++ -rm -f $(BINS) + + distclean: +- rm -f elfres Makefile ++ -rm -f $(BINS) Makefile diff --git a/dev-libs/libmelf/files/libmelf-0.4.0-r1-gcc-makefile-cleanup.patch b/dev-libs/libmelf/files/libmelf-0.4.0-r1-gcc-makefile-cleanup.patch new file mode 100644 index 000000000000..384818f57630 --- /dev/null +++ b/dev-libs/libmelf/files/libmelf-0.4.0-r1-gcc-makefile-cleanup.patch @@ -0,0 +1,105 @@ +diff -Nuar --exclude '*~' libmelf-0.4.0.orig/example/Makefile.in libmelf-0.4.0/example/Makefile.in +--- libmelf-0.4.0.orig/example/Makefile.in 2003-03-24 00:48:22.000000000 -0800 ++++ libmelf-0.4.0/example/Makefile.in 2010-05-31 19:56:43.546947560 -0700 +@@ -1,7 +1,13 @@ + cc=@CC@ + DEFINES=@DEFINES@ ++OPTFLAGS=-Wall -O3 ++CFLAGS=${DEFINES} ${OPTFLAGS} -I.. ++BINS = sign test new + +-all: +- ${CC} ${DEFINES} -I.. -Wall -O3 sign.c -o sign ../libmelf.a +- ${CC} ${DEFINES} -I.. -Wall -O3 test.c -o test ../libmelf.a +- ${CC} ${DEFINES} -I.. -Wall -O3 new.c -o new ../libmelf.a ++%: %.c ++ ${CC} $(CFLAGS) $^ -o $@ -L.. -lmelf ++ ++all: $(BINS) ++ ++clean: ++ -rm -f $(BINS) +diff -Nuar --exclude '*~' libmelf-0.4.0.orig/Makefile.in libmelf-0.4.0/Makefile.in +--- libmelf-0.4.0.orig/Makefile.in 2003-11-07 22:09:10.000000000 -0800 ++++ libmelf-0.4.0/Makefile.in 2010-05-31 19:58:12.172822406 -0700 +@@ -6,35 +6,43 @@ + DEFINES=@DEFINES@ -DMELF_COMP + INCLUDES=-I. + PREFIX=@PREFIX@ +-CFLAGS=${DEBUG} ${DEFINES} ${INCLUDES} -Wall -O3 -fPIC +-LFLAGS=${DEBUG} ${DEFINES} ${INCLUDES} -Wall -O3 -o ++OPTFLAGS=-Wall -O3 ++CFLAGS=${DEBUG} ${DEFINES} ${INCLUDES} ${OPTFLAGS} ++LFLAGS=${DEBUG} ${DEFINES} ${INCLUDES} ${OPTFLAGS} -o ++LIBDIR=lib + LIBS= + OBJS=melf.o melf_dynamic.o melf_elf.o melf_list.o melf_note.o melf_program.o melf_reloc.o \ + melf_res.o melf_section.o melf_string.o melf_symbol.o melf_symbolTable.o + +-all: ${OBJS} +- ar rc ${STATICBIN} ${OBJS} && ranlib ${STATICBIN} +- @SHAREDEXEC@ +- cd example && make +- cd tools && make ++all: ${STATICBIN} ${DYNAMICBIN} ++ cd example && $(MAKE) ++ cd tools && $(MAKE) + + *.c.${O}: + ${CC} ${CFLAGS} $*.c + ++${STATICBIN}: ${OBJS} ++ ar rc ${STATICBIN} ${OBJS} && ranlib ${STATICBIN} ++${DYNAMICBIN}: ${OBJS} ++ @SHAREDEXEC@ ++ + clean: + rm -f *.o ${STATICBIN} ${DYNAMICBIN} example/test example/new example/sign tools/elfres config.* +- cd tools && make clean ++ cd tools && $(MAKE) clean + +-distclean: +- make clean ++distclean: clean + rm -f Makefile example/Makefile stdelf.h +- cd tools && make distclean ++ cd tools && $(MAKE) distclean + + install: ${OBJS} ${STATICBIN} +- cp libmelf.a ${PREFIX}/lib +- cp libmelf.so ${PREFIX}/lib ++ cp ${STATICBIN} ${PREFIX}/$(LIBDIR) ++ cp ${DYNAMICBIN} ${PREFIX}/$(LIBDIR) + cp melf.h ${PREFIX}/include + cp stdelf.h ${PREFIX}/include + + uninstall: +- rm -f ${PREFIX}/lib/libmelf.a ${PREFIX}/lib/libmelf.so ${PREFIX}/include/melf.h ${PREFIX}/include/stdelf.h ++ -rm -f \ ++ ${PREFIX}/$(LIBDIR)/${STATICBIN} \ ++ ${PREFIX}/$(LIBDIR)/${DYNAMICBIN} \ ++ ${PREFIX}/include/melf.h \ ++ ${PREFIX}/include/stdelf.h +diff -Nuar --exclude '*~' libmelf-0.4.0.orig/tools/Makefile.in libmelf-0.4.0/tools/Makefile.in +--- libmelf-0.4.0.orig/tools/Makefile.in 2003-09-17 01:03:49.000000000 -0700 ++++ libmelf-0.4.0/tools/Makefile.in 2010-05-31 19:57:55.126198024 -0700 +@@ -1,11 +1,15 @@ + cc=@CC@ + DEFINES=@DEFINES@ ++CFLAGS=${DEFINES} ${OPTFLAGS} -I.. ++BINS=elfres + +-all: +- ${CC} ${DEFINES} -I.. -Wall -O3 elfres.c -o elfres ../libmelf.a ++%: %.c ++ ${CC} $(CFLAGS) $^ -o $@ -L.. -lmelf ++ ++all: $(BINS) + + clean: +- rm -f elfres ++ -rm -f $(BINS) + + distclean: +- rm -f elfres Makefile ++ -rm -f $(BINS) Makefile diff --git a/dev-libs/libmelf/files/libmelf-0.4.1-unfinal-release.patch b/dev-libs/libmelf/files/libmelf-0.4.1-unfinal-release.patch new file mode 100644 index 000000000000..359ceda352bb --- /dev/null +++ b/dev-libs/libmelf/files/libmelf-0.4.1-unfinal-release.patch @@ -0,0 +1,145 @@ +diff -Nuar --exclude enum_sym --exclude configure libmelf-0.4.0.orig//ChangeLog elfsign-0.2.2/melf//ChangeLog +--- libmelf-0.4.0.orig//ChangeLog 2004-05-03 22:15:29.000000000 -0700 ++++ elfsign-0.2.2/melf//ChangeLog 2004-11-30 08:14:39.000000000 -0800 +@@ -1,3 +1,7 @@ ++0.4.1 ++ ++ * Fixed issues with serializing SHT_DYNSYM ++ + 0.4.0 05/04/2004 + + * Major enhancements to make the library more robust +diff -Nuar --exclude enum_sym --exclude configure libmelf-0.4.0.orig//configure.in elfsign-0.2.2/melf//configure.in +--- libmelf-0.4.0.orig//configure.in 2003-11-07 22:08:15.000000000 -0800 ++++ elfsign-0.2.2/melf//configure.in 2004-06-05 10:44:17.000000000 -0700 +@@ -25,7 +25,7 @@ + if test "x$cache_sys_os" = "xSolaris"; then + SHAREDEXEC="ld -dy -r -o libmelf.so \${OBJS}" + else +- SHAREDEXEC="\${CC} \${FLAGS} -shared -fPIC \${OBJS} -o libmelf.so" ++ SHAREDEXEC="\${CC} \${FLAGS} -shared \${OBJS} -o libmelf.so" + fi + + AC_C_BIGENDIAN() +diff -Nuar --exclude enum_sym --exclude configure libmelf-0.4.0.orig//example/enum_sym.c elfsign-0.2.2/melf//example/enum_sym.c +--- libmelf-0.4.0.orig//example/enum_sym.c 1969-12-31 16:00:00.000000000 -0800 ++++ elfsign-0.2.2/melf//example/enum_sym.c 2004-11-27 18:04:36.000000000 -0800 +@@ -0,0 +1,39 @@ ++#include ++#include ++ ++#include "melf.h" ++ ++void enum_symtab(MELF *melf, ELF_SPEC_HEADER *curr); ++ ++int main(int argc, char **argv) ++{ ++ ELF_SPEC_HEADER *curr; ++ MELF *melf = melf_open(argv[1], MELF_ACCESS_ALL); ++ ++ if (!melf) ++ return 0; ++ ++ for (curr = melf_sectionGetEnum(melf); ++ curr; ++ curr = melf_sectionEnumNext(melf, curr)) ++ { ++ if ((curr->spec.section.sh_type == SHT_DYNSYM) || ++ (curr->spec.section.sh_type == SHT_SYMTAB)) ++ { ++ enum_symtab(melf, curr); ++ } ++ } ++ ++ return 0; ++} ++ ++void enum_symtab(MELF *melf, ELF_SPEC_HEADER *curr) ++{ ++ Elf32_Sym *sym; ++ unsigned long index = 0; ++ ++ while ((sym = melf_symbolTableEnum(melf, curr, index++))) ++ { ++ printf("%s\n", melf_symbolGetName(melf, curr, sym)); ++ } ++} +diff -Nuar --exclude enum_sym --exclude configure libmelf-0.4.0.orig//Makefile.in elfsign-0.2.2/melf//Makefile.in +--- libmelf-0.4.0.orig//Makefile.in 2003-11-07 22:09:10.000000000 -0800 ++++ elfsign-0.2.2/melf//Makefile.in 2004-06-05 10:44:06.000000000 -0700 +@@ -6,7 +6,7 @@ + DEFINES=@DEFINES@ -DMELF_COMP + INCLUDES=-I. + PREFIX=@PREFIX@ +-CFLAGS=${DEBUG} ${DEFINES} ${INCLUDES} -Wall -O3 ++CFLAGS=${DEBUG} ${DEFINES} ${INCLUDES} -Wall -O3 -fPIC + LFLAGS=${DEBUG} ${DEFINES} ${INCLUDES} -Wall -O3 -o + LIBS= + OBJS=melf.o melf_dynamic.o melf_elf.o melf_list.o melf_note.o melf_program.o melf_reloc.o \ +diff -Nuar --exclude enum_sym --exclude configure libmelf-0.4.0.orig//melf_dynamic.c elfsign-0.2.2/melf//melf_dynamic.c +--- libmelf-0.4.0.orig//melf_dynamic.c 2004-01-08 23:25:32.000000000 -0800 ++++ elfsign-0.2.2/melf//melf_dynamic.c 2004-12-19 13:12:45.000000000 -0800 +@@ -227,7 +227,7 @@ + return NULL; + + dynamic->content = (void *)base; +- (unsigned char *)base += dynamic->contentLength; ++ base = (Elf32_Dyn *)((char *)base + dynamic->contentLength); + dynamic->contentLength = newLength; + + base->d_tag = DT_NULL; +diff -Nuar --exclude enum_sym --exclude configure libmelf-0.4.0.orig//melf_note.c elfsign-0.2.2/melf//melf_note.c +--- libmelf-0.4.0.orig//melf_note.c 2004-01-08 23:25:56.000000000 -0800 ++++ elfsign-0.2.2/melf//melf_note.c 2004-12-19 13:13:16.000000000 -0800 +@@ -204,8 +204,8 @@ + if (!base) + return NULL; + +- note->content = (void *)base; +- (unsigned char *)base += note->contentLength; ++ note->content = (void *)base; ++ base = (Elf32_Nhdr *)((char *)base + note->contentLength); + + memset(base, 0, newLength - note->contentLength); + +diff -Nuar --exclude enum_sym --exclude configure libmelf-0.4.0.orig//melf_section.c elfsign-0.2.2/melf//melf_section.c +--- libmelf-0.4.0.orig//melf_section.c 2004-05-03 21:37:29.000000000 -0700 ++++ elfsign-0.2.2/melf//melf_section.c 2004-11-27 17:46:45.000000000 -0800 +@@ -485,6 +485,7 @@ + melf_relocInitializeRelaEntryList(melf, sect); + break; + case SHT_SYMTAB: ++ case SHT_DYNSYM: + melf_symbolTableInitializeEntryList(melf, sect); + break; + case SHT_DYNAMIC: +@@ -511,6 +512,7 @@ + case SHT_REL: + case SHT_RELA: + case SHT_SYMTAB: ++ case SHT_DYNSYM: + case SHT_DYNAMIC: + case SHT_NOTE: + case SHT_RES: +@@ -534,6 +536,7 @@ + melf_relocSynchronizeRelaEntryList(melf, sect); + break; + case SHT_SYMTAB: ++ case SHT_DYNSYM: + melf_symbolTableSynchronizeEntryList(melf, sect); + break; + case SHT_DYNAMIC: +diff -Nuar --exclude enum_sym --exclude configure libmelf-0.4.0.orig//stdelf.h.in elfsign-0.2.2/melf//stdelf.h.in +--- libmelf-0.4.0.orig//stdelf.h.in 2003-06-01 11:13:56.000000000 -0700 ++++ elfsign-0.2.2/melf//stdelf.h.in 2004-05-11 07:38:17.000000000 -0700 +@@ -919,8 +919,8 @@ + #define AT_FLAGS 8 /* Flags */ + #define AT_ENTRY 9 /* Entry point of program */ + #define AT_NOTELF 10 /* Program is not ELF */ +-#define AT_UID 11 /* Real uid */ +-#define AT_EUID 12 /* Effective uid */ ++#define E_AT_UID 11 /* Real uid */ ++#define E_AT_EUID 12 /* Effective uid */ + #define AT_GID 13 /* Real gid */ + #define AT_EGID 14 /* Effective gid */ + #define AT_CLKTCK 17 /* Frequency of times() */ diff --git a/dev-libs/libmelf/libmelf-0.4.0-r1.ebuild b/dev-libs/libmelf/libmelf-0.4.0-r1.ebuild new file mode 100644 index 000000000000..ecc5ecc76d3a --- /dev/null +++ b/dev-libs/libmelf/libmelf-0.4.0-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=3 +inherit eutils flag-o-matic toolchain-funcs + +DESCRIPTION="libmelf is a library interface for manipulating ELF object files" +HOMEPAGE="http://www.hick.org/code/skape/libmelf/" +SRC_URI="http://www.hick.org/code/skape/${PN}/${P}.tar.gz" + +LICENSE="Artistic" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND}" + +src_prepare() { + # This patch was gained from the elfsign-0.2.2 release + epatch "${FILESDIR}"/${PN}-0.4.1-unfinal-release.patch + # Cleanup stuff + epatch "${FILESDIR}"/${PN}-0.4.0-r1-gcc-makefile-cleanup.patch +} + +src_compile() { + append-flags -fPIC + emake CC="$(tc-getCC)" OPTFLAGS="${CFLAGS}" || die "emake failed" +} + +src_install() { + into /usr + dobin tools/elfres + dolib.a libmelf.a + dolib.so libmelf.so + insinto /usr/include + doins melf.h stdelf.h + dodoc ChangeLog README + dohtml -r docs/html +} diff --git a/dev-libs/libmelf/metadata.xml b/dev-libs/libmelf/metadata.xml new file mode 100644 index 000000000000..a4e0d354f696 --- /dev/null +++ b/dev-libs/libmelf/metadata.xml @@ -0,0 +1,8 @@ + + + + + robbat2@gentoo.org + Robin H. Johnson + + diff --git a/dev-libs/libmemcache/Manifest b/dev-libs/libmemcache/Manifest new file mode 100644 index 000000000000..d891510a3721 --- /dev/null +++ b/dev-libs/libmemcache/Manifest @@ -0,0 +1,8 @@ +AUX libmemcache-1.4.0_rc2-implicit_pointer.patch 385 SHA256 244cb27b979e58a2814580e81f3eb75b2bdf1421397519cb9d15534f0b3d7d16 SHA512 be3f29a1ff78a7a676ae054754d5c3641d2d75f40365e2a55e9223b05ea53c8e1172e20fb64742cac23a7e386de15833a4de7d75f4937befc71a51fa9b9f5583 WHIRLPOOL dc470f0c875036687cb6b4f5407750d23922fe5abd034f2980df6f94458f7d3061595accf39f5a30ad5f7f1fe222a9adf6de2f9f84639d1b466a9f4e4cb0ce0f +AUX libmemcache-1.4.0_rc2-inline.patch 2051 SHA256 7e02de6171d80776c191f481ba0b30383ddd8e02c4b5f8247f5ddd0af666ec3b SHA512 f5f817ffffeaccd930e83f099c0786302748afd13946b408ca63fd89c5d77d0fe7a6190ef9db7ea9da3882c00ef6ebeeed109c527bbc1ebeadef193e193a0cc6 WHIRLPOOL 4ee798bac5696f5ecaaef7dff275d8a49cba31e6a9ec39ba25bbf3f4bc9e807c28ca660eb08127d11fae70c645f87ecdc653b3fe817499ac3168eb4b8715f0ec +AUX libmemcache-1.4.0_rc2-ppc_ftbfs.patch 983 SHA256 aeab1f03859bf4d88ef3f97bf40c1f342c4e23fb5b415e3d9c856175ebe855d7 SHA512 4ae7d6b99982934e7a28f7e0dd103341e9f4b7eb514e20cef3c02e428ee8c555c71c8bfdc06f0771ff0b73827251fa5eb4e7bce8014cd5cf2f5148d18b1f56b1 WHIRLPOOL f8e8ed323de95d468dddfbc9eba616912aed125c154b5b80be04c5ca130033b6274e2c2a836c0fdea59be667d851226334515c4c24d9e92048e01e8267aa0302 +DIST libmemcache-1.4.0.rc2.tar.bz2 301136 SHA256 f496d41092c697384a7180720689da6a85d7c6ea2283eca69c8aaff2b58bebbf SHA512 4b8c09c425d48d0ad040d3f01ec3c0d88babefb702b666d5cb3d10eac9993be88d00120b57b6224f7d55ae979d3136de10d5ddc793d9aa7f8b9531b5d79449d0 WHIRLPOOL 89cf5df9b87193ce25b3c76086e59c9879fadb6ba9343e6a97a3982fd50976e4ec69668360ceaf5183e73470a4c3841c19eaa65a38a69a472f15dccc9404b540 +EBUILD libmemcache-1.4.0_rc2-r1.ebuild 1042 SHA256 44798ca23b0d516c9829019c9969b3e530ccff4cfd46957e17de694542beeafd SHA512 232afae4296e1362764ea1ed0ce568eb0efd9396c921b99d0e8b71c8ea437b12f32ae677bc02a5b3d3bc7ba90d96af83087b1a4241f0705aa84928931ad5f4de WHIRLPOOL af5cc2aebd9788232da1684208aa4411f8951ffb37b0fb66690761a91fa3aff256a4534790f092f1b3e4615f08f2f91ef79575f912482017ec6296bcff6289b4 +MISC ChangeLog 2350 SHA256 fc9e3486b0866a73c7ef10fea5e9d0cb0f27a66458527fe187226c69b13f6dee SHA512 512a8e34ac9e5d5e783ec5a99097b294140b745aaa6fa003d5ee71143448ece56a61b8325c5961fada3056b431ca13b3f7d33a4478e443d8277dfcbb83bba8a1 WHIRLPOOL 488967d487ca2d40130704acfe60bb4503277e2b118d9e94eeef7fd00bdac0adf3b0193431c7cf9aa3096d745b30b7665eda99ebe559ce52f69b6b55fb33dbe5 +MISC ChangeLog-2015 4973 SHA256 d56fe4de428311812b353a54c34620a565f0b3ce18991154a41ee011e9b33680 SHA512 40bc67ecec9179676fc2dcaf32a097879a5085b3b205658a467b168234adfe4c056e9cf7f9720767080a302ce95891092323e09f139d7d6dccc0fb95ce2bc131 WHIRLPOOL 1e4033e82b28212c1c9e0ce398ff86e652d59ef72bcd8cd4bd64046b6e91e226318f5ef67f65fa030cf4eac23b5eb5cb63e41ff8b51458c03d12c7b7e3bb0f45 +MISC metadata.xml 304 SHA256 0afee101cadc39d1b7c9e9bb08c7f6856ed097dea1708dd571fdff2e687d9fed SHA512 de92a462028eebdb520fd2a745eeffd845615fbace7691bc954997113a2b0f273f5b9fdcaebc299ae510d3fafa611397ac468b8b13fd44c00488fbc210b3358c WHIRLPOOL e478d5e754d169e1a2c390f7e3b3d28d4dc09182632e2dec820ddab36f6a3bcb3b40503a3949188dd47f6939944d9f053cf84f980385d7741ddadf7426be49d0 diff --git a/dev-libs/libmemcache/files/libmemcache-1.4.0_rc2-implicit_pointer.patch b/dev-libs/libmemcache/files/libmemcache-1.4.0_rc2-implicit_pointer.patch new file mode 100644 index 000000000000..e944ce1725a9 --- /dev/null +++ b/dev-libs/libmemcache/files/libmemcache-1.4.0_rc2-implicit_pointer.patch @@ -0,0 +1,12 @@ +Index: libmemcache-1.4.0.rc2/test/benchmark/benchmark.c +=================================================================== +--- libmemcache-1.4.0.rc2.orig/test/benchmark/benchmark.c ++++ libmemcache-1.4.0.rc2/test/benchmark/benchmark.c +@@ -29,6 +29,7 @@ + + #include "memcache.h" + ++char *strdup(const char *s1); + double tt(const struct timeval *t1, const struct timeval *t2); + + double diff --git a/dev-libs/libmemcache/files/libmemcache-1.4.0_rc2-inline.patch b/dev-libs/libmemcache/files/libmemcache-1.4.0_rc2-inline.patch new file mode 100644 index 000000000000..6eba5dffd135 --- /dev/null +++ b/dev-libs/libmemcache/files/libmemcache-1.4.0_rc2-inline.patch @@ -0,0 +1,33 @@ +http://bugs.gentoo.org/276571 + +--- include/memcache.h.in ++++ include/memcache.h.in +@@ -923,7 +923,7 @@ int mcMemGet(mcFreeFunc *freeFunc, mcMallocFunc *mallocFunc, + mcMallocFunc *mallocAtomicFunc, mcReallocFunc *reallocFunc); + + /* Returns a pointer to the global context. */ +-inline struct memcache_ctxt *mc_global_ctxt(void); ++struct memcache_ctxt *mc_global_ctxt(void); + + /* The next two functions are used to setup an error handler. */ + int mcErrSetup(mcErrFunc errFunc); +--- include/memcache/buffer.h ++++ include/memcache/buffer.h +@@ -63,14 +63,14 @@ struct memcache_buf *mcm_buf_find_replace(struct memcache_ctxt *, struct memcach + struct memcache_buf *mcm_buf_find_replace2(struct memcache_ctxt *, struct memcache_buf *, + const char *, struct memcache_buf *); + int mcm_buf_free(struct memcache_ctxt *, struct memcache_buf **); +-inline u_int32_t mcm_buf_len(const struct memcache_ctxt *, const struct memcache_buf *); ++u_int32_t mcm_buf_len(const struct memcache_ctxt *, const struct memcache_buf *); + struct memcache_buf *mcm_buf_new(struct memcache_ctxt *); + struct memcache_buf *mcm_buf_new2(struct memcache_ctxt *, const char *, const u_int32_t); + struct memcache_buf *mcm_buf_new3(struct memcache_ctxt *, const char *); + size_t mcm_buf_read(struct memcache_ctxt *, struct memcache_buf *, int); + int mcm_buf_realloc(struct memcache_ctxt *, struct memcache_buf *, const u_int32_t); +-inline size_t mcm_buf_remain(const struct memcache_ctxt *, const struct memcache_buf *); +-inline size_t mcm_buf_remain_off(const struct memcache_ctxt *, const struct memcache_buf *); ++size_t mcm_buf_remain(const struct memcache_ctxt *, const struct memcache_buf *); ++size_t mcm_buf_remain_off(const struct memcache_ctxt *, const struct memcache_buf *); + int mcm_buf_replace(struct memcache_ctxt *, struct memcache_buf *, const char *, const u_int32_t); + int mcm_buf_replace2(struct memcache_ctxt *, struct memcache_buf *, const char *); + int mcm_buf_replace_buf(struct memcache_ctxt *, struct memcache_buf *, struct memcache_buf *); diff --git a/dev-libs/libmemcache/files/libmemcache-1.4.0_rc2-ppc_ftbfs.patch b/dev-libs/libmemcache/files/libmemcache-1.4.0_rc2-ppc_ftbfs.patch new file mode 100644 index 000000000000..dbeee57b1c6b --- /dev/null +++ b/dev-libs/libmemcache/files/libmemcache-1.4.0_rc2-ppc_ftbfs.patch @@ -0,0 +1,40 @@ +Debian patch: 10_ftbfs_fix_powerpc.patch +Fixing build on PowerPC +https://bugs.gentoo.org/show_bug.cgi?id=365303 + +--- a/include/memcache.h.in ++++ b/include/memcache.h.in +@@ -61,6 +61,11 @@ + #ifndef MEMCACHE_H + #define MEMCACHE_H + ++/* fix FTBFS on powerpc for Debian libmemcache */ ++#ifndef __USE_POSIX ++#define __USE_POSIX ++#endif ++ + #include + #include + #include +--- a/src/memcache.c ++++ b/src/memcache.c +@@ -39,12 +39,17 @@ + #include + #include + #include +-#ifdef __linux ++ ++/* fix FTBFS on powerpc for Debian libmemcache. I personally think this ++ * shouldnt be the case, as Debian Bug#345587 seems to show. */ ++ ++/* #ifdef __linux */ + # ifndef __USE_POSIX + # define __USE_POSIX + #warning "Working around busted-ass Linux header include problems: use FreeBSD instead" + #warning "http://www.FreeBSD.org/ - you won't regret it" +-# endif ++/* #endif */ ++ + #endif + #include + #include diff --git a/dev-libs/libmemcache/libmemcache-1.4.0_rc2-r1.ebuild b/dev-libs/libmemcache/libmemcache-1.4.0_rc2-r1.ebuild new file mode 100644 index 000000000000..cef85c7e1c23 --- /dev/null +++ b/dev-libs/libmemcache/libmemcache-1.4.0_rc2-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=3 +inherit autotools eutils toolchain-funcs + +MY_P=${PN}-${PV/_/.} + +DESCRIPTION="C API for memcached" +HOMEPAGE="http://people.freebsd.org/~seanc/libmemcache/" +SRC_URI="http://people.freebsd.org/~seanc/libmemcache/${MY_P}.tar.bz2" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~sparc-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +IUSE="" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + epatch "${FILESDIR}"/${P}-inline.patch + epatch "${FILESDIR}"/${P}-implicit_pointer.patch + [[ $(tc-arch) == ppc* ]] && epatch "${FILESDIR}"/${P}-ppc_ftbfs.patch + + rm -rf test/unit || die + sed -i -e '/DIR/s,unit,,g' test/Makefile.am || die + sed -i \ + -e 's,test/unit/Makefile,,g' \ + -e '/^CFLAGS=.*Wall.*pipe/s,-Wall,${CFLAGS} -Wall,g' \ + -e '/^OPTIMIZE=/d' \ + -e '/^PROFILE=/d' \ + configure.ac || die + + eautoreconf +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc ChangeLog +} diff --git a/dev-libs/libmemcache/metadata.xml b/dev-libs/libmemcache/metadata.xml new file mode 100644 index 000000000000..58bfe2058b7a --- /dev/null +++ b/dev-libs/libmemcache/metadata.xml @@ -0,0 +1,10 @@ + + + + + robbat2@gentoo.org + + + prometheanfire@gentoo.org + + diff --git a/dev-libs/libmemcached/Manifest b/dev-libs/libmemcached/Manifest new file mode 100644 index 000000000000..d71abcab89c6 --- /dev/null +++ b/dev-libs/libmemcached/Manifest @@ -0,0 +1,19 @@ +AUX continuum-1.0.18.patch 3086 SHA256 0b26191cba88bbd2057d8dad79f38a2b5d375767cb16364c6de242ec435ae9dd SHA512 905c5f1dc22b665ef8910b6319b25e1d1e9dd80892c03c6c71de597599d8ce2972b35d92e6976ad8798d2f10927e3e884570246d5d8162e84dc3e1f963959012 WHIRLPOOL 3f7bcea78008afce39737c282c7f628a2338490179dc3ee1eedae9c8e2534143e9b84656470f2894d3910743dd2a3cb75a9dab0a37fc5fa21bac1faf0e396e6e +AUX debug-disable-enable-1.0.18.patch 1458 SHA256 6a91bb084eedf4a37f9af920aa813d92f3ddaa80971b0d700a44390262cfa030 SHA512 f4d731ce227e91324b88d155daaf35f2228a48e61d8e448c93f9d102c9939fa4c3b2a07b96741d442382cc5498358e9ae0471f766373654b21d849a96a42d813 WHIRLPOOL 4ccae912caaf54b072fe8c491e40185d97b7f4b61ed05df5990626fe5ac33f34fb17816786cab8cd8617d86f1229ddf6a62a902a376afa45db23260e501fe885 +AUX libmemcached-1.0.17-gcc4_8.patch 9467 SHA256 4a6b5d70cf7905fbd9e58a4646a6943da5f77b5e0a87b1518c4688f437963194 SHA512 7aaed25fef7abde531dc1ca1f86b946e2b3277abe582257dae24650546d42dae499a5c8cae9ed84c3a189d42921ce50f42d06efbe2bba0af0b739e7b1ac5ad21 WHIRLPOOL af41431a50c4d33e6abdda63e091b789ded15db416484346a01164ad47f9f850f4cc8f28ef0ebd566d9dfe00aeb34d4ccac6cea31e26967beebdc3e6093cf59c +AUX libmemcached-1.0.18-gcc7.patch 846 SHA256 75d303f45eee6f258c1d4d528db65d076c4fa885241bbff0ede73ff7de6fc8ef SHA512 87667843bee44e1388f6088085a5d0c3a3a824f4830861024f5a19ab1747e96a74b8fae5870f848358a66258aeb18c9a6fa3a1d17bd03260b41f389e01e19c49 WHIRLPOOL 2b9a55733796123c4432558c44b63bf1bd211bcb5a8ac2cfdb987fc628cff18c607c8e91b7f48d73a91712544f4a81bd9f4bf43af0479e5367d4a26b3b04835b +DIST libmemcached-0.50.tar.gz 884272 SHA256 d3ed82f9c5cdfa816047ed6b7475b5708f9040b5cf3d9e2aed55de235e8b2f9a SHA512 f06a17b365779eb8fb0c94982e5141643ed17f91e5137565ff756912cf96b3f68b11a643f84d0cba1b474411f16a64086cc311ac5cea4bc3792da81b40d423b7 WHIRLPOOL fc1d3107772a45e844764c570261ccd2556ff11b770377c84788cc3d8a8ee946a8e5b3527c21e70c1c5aa1d9493270d9079f8a75cd5387835ccd7def1cab0f9e +DIST libmemcached-1.0.14.tar.gz 1000929 SHA256 32eaea2c4b8965a12bd33fe1af043d7e20b7ec64977937973a3d97514f1e946b SHA512 4c0371cc4752eeee94baad6063b2413f096b5050166ce761ac26080559537dab32b69131a97703fdebf8f4886520d4bc29c7d4d8d1df6d0d681c81b88354c15b WHIRLPOOL be3760f75a6de33687272b5bf7be950edb0a3f96184c7f8f7e1cb47ff85479ea76c277f298d36f21a5f15c1ce8e04a0714f1bf73700711842bb4c0841959674a +DIST libmemcached-1.0.17.tar.gz 1023177 SHA256 7bb27b2589400f918df1cf5002cb01ef7ccac6e23f818604e2386de62c80bba5 SHA512 7cc2a836524a628f4617bad12e8ea3b0192a3f8530a3588a076daac56b3e773d7d36823091a81d6447da9fe9d017849c59dbbcc65190ff9817bb985dc6c11a3b WHIRLPOOL 34b57811750667bca59efa5a4356a15dd2bd0135534c1d157df4b3d9ff3575db1848f363914ee1b6b606a45dae3145985c791f11ae5890a7493207cb2e9eb3b4 +DIST libmemcached-1.0.18.tar.gz 1039649 SHA256 e22c0bb032fde08f53de9ffbc5a128233041d9f33b5de022c0978a2149885f82 SHA512 2d95fea63b8b6dc7ded42c3a88a54aad74d5a1d417af1247144dae4a88c3b639a3aabc0c2b66661ff69a7609a314efaaae236e10971af9c428a4bca0a0101585 WHIRLPOOL f7d8f405306fd7cbfee6ba8b340305bc79b1dbcd6a2a2dcb0ee74a24d8928e5a5a7f0d20afebf58cecf44e7ca3fd66abd2d30041848b89ddbb10eb1da9179b94 +EBUILD libmemcached-0.50.ebuild 1691 SHA256 3735211923836d79557022a633de38181f0e0c31ed50632e80765b63ac465fb9 SHA512 780d968506f3898820c06914b3b3e9b269f2ef5b80331c1a34a6351c36cbfddbcdedc23436ee9ed23bfb333be56768df874d4563f0bc7ace9437de712d332efc WHIRLPOOL 2677200967a4560fc7245858e09ce3c88d7cf28852cfbd4569099562cda76f2534b169cba84e6f4317794a40fa32ea587bfe53b04fad604d0a99a0a6faa1be65 +EBUILD libmemcached-1.0.14.ebuild 1141 SHA256 cb0248cd44915fb9fbdd8686cbc9f725c38ec7651559c76728570e0e652b73e0 SHA512 3ae6c31505deca27858613d40168012e8ced46262f41ce8fab7ff822b2255944e1bee8646800fb54325aeacbbc6227e05879ae6448f5d4527aa4e6bb1c8a6257 WHIRLPOOL bacc2a5b1c5172f804bab72b0dd70c2f7f1e55e7113c4204e783cec4342cb92b221a0afe9b4c79023cbbafa9654416e1f98eb220ce0d4064f40b2c11cde303b6 +EBUILD libmemcached-1.0.17-r3.ebuild 1383 SHA256 58f08ec7d83ce07dbd865f003dd7c332ea25cd98e5fcf63d572f5351d9f88b81 SHA512 af7fc1c3350b1ae6688cc32cc78084cbbf7e1d839f042292189621b510fd9f616cb7fbee7f84df216dcc5ce1e862b285cb03be6c7e7e8d9b4d813cca83e89d64 WHIRLPOOL 6fb3f8831861d778bd24c9f8385eda2668a20de80528419f4ffaf007334f08706f994d094b5c20dcef129d4407e039651f9ecdea838a7e7c23280c02dadc3c50 +EBUILD libmemcached-1.0.17-r4.ebuild 1426 SHA256 f405797311d2d8c1d565d792054555536a0a74cb44cad526bef7e3cd870d36c1 SHA512 b011e26ad29f9d1c6a0a6791d15811a138fb9d3e6799edd7e64a34182717a05018c4efc3fb29a24283ccfada99b90f77a1caa17ad466ba49d94c9413368a5af4 WHIRLPOOL 06a0b3e72878b0be1298b71e0c15f78228b9216a4cebb460c9b70268b26f1dc1a7ecaa57ffa09e14dd1608d9cd72c4400e82c17512106a8fd3e0e401488ca28c +EBUILD libmemcached-1.0.18-r1.ebuild 1528 SHA256 0bbbb9f08808e7fff61e4230f387fcd06a737d8ae4a3513fb514deaca97ec37d SHA512 e5043ffabbe07b7d9b98c1bf2411d705f99046fb8c1133eaa80a65e2e51cc97274b6568b167e4f720e983977f703daf067faad0fcf94f5a79f120bb8fc560b84 WHIRLPOOL cfae3d182def1c39add550f3a8eb07fdd96b1a54de400fb25456b9a1535e711fa36bcb6abdd05b3ced84778ab5a6cd877cf28751d78239f1f9ed747c82756580 +EBUILD libmemcached-1.0.18-r2.ebuild 1548 SHA256 7f7cd76c0cd8e512bd9bf78122c0d82678e87e41328347f200622be0f82ef792 SHA512 d335f33d1d7137283c10a39d9913fcfa5cb3e69c264ceba527fa54863adc680561406c69c3b29173bac42aad4d7d9e1971aed7f9890d698c75746a8f8fb99a49 WHIRLPOOL 84569adfb25d9d83ffd8739c882e60ca39a61ea0253863bc4c5bf68da0df34a9847eac2adf1f96cb19314bbed02949199d15c33a4d871d7faaa826340bd02ae6 +EBUILD libmemcached-1.0.18-r3.ebuild 1622 SHA256 cfeaac16f56335da90869a6b6c6329f2df4a6aadfe25f1f2f6239841f27df18b SHA512 440fb952134caaf031e12252991c8fed6595b2a4dca158a94253a0075558251b3bc6ad0f2db42317418b3d4071f46357b35cd516a7d0c47c59609ae477d3c072 WHIRLPOOL 8dafd4aade58bc522511b4482ddd27f5622147c1effdfb0f4c7599cca0ada40820b6ab110799e2f9a5a96f19c45cc26ecfab83e4d4490df6653fd9378bea9449 +EBUILD libmemcached-1.0.18.ebuild 1464 SHA256 e4b9a6b710e6bfce2e664c12759b41cbac58a8d13248d5d3d5a78d1121e0e528 SHA512 8a05fda51b53e3d3a6d9d2b695c592425817972f721618b79562f05d0e59eb50fcb38faf4153c0996c45c25f152031b32a1d6047112d701b84c93f080db306eb WHIRLPOOL 657882a8d800f8f345528afb27905c03953c9f98f98b4cde427184f24513abe1de728241acf269d10821108e391622e2a4be9bcf7d62e4036a7791895a693be2 +MISC ChangeLog 4994 SHA256 fed7d37b448e1d048f209f4ef159f8b5492783707bb3bc9fbad1f5a997747685 SHA512 1992bbdf77a988e21a880db92214a08258c694eca97460103ad75d03a24035ad06054a1a5e27a8ea536a7f78ac3cdae572ec5a45fb59021210871e4ae656b0a3 WHIRLPOOL 575d6cafb697dfd8e70af6b432bfa3de56a4bf8cd096b9909b1e8b9f03bd6ba02c5f5d1c001aa4b235a0ffa556dbd1534b91f6834ebb6aa29cbac7d9f2bb5445 +MISC ChangeLog-2015 12779 SHA256 4e2f59c26fccb2e9fc63782a4a72031c79f460b3ee47c976fb96d66ab4c5284e SHA512 8445d822f43dc93caeb1d803699679ca80ddfe3f1d214a0ca0c6a6306309637454201c537f6df4675250bbe5f39d2bb67631125e0f17ab3999421df325f7ff8d WHIRLPOOL 354d9db4efc79ff11e92f2481f82bc4b58c65729cf3c46864bba2b8ea2a1a78e448ec359e5806bc0572e392e892c4f8559b155968d174765947d7921d0dd9ddd +MISC metadata.xml 826 SHA256 bb1e0ef7a54e25036a029043e7c0c82442c2626668174f3eb1aab5ed4146caef SHA512 5bc0caef489fb8a9c6c038aa2a5620cd43d700104ab77407391eb0961f12392ac8535efd5fbe86c1e6be17cb89d766049fe1394461fa652bcdc1abd64afb9962 WHIRLPOOL 526bab2c5f151fbd868dd71ba5676032574c220e24ceecd6e0943bf863c1d8ca9f10fd85c9ef4bb99911887d8446c596978f5bc98849907fff82a59914c70e20 diff --git a/dev-libs/libmemcached/files/continuum-1.0.18.patch b/dev-libs/libmemcached/files/continuum-1.0.18.patch new file mode 100644 index 000000000000..296978044311 --- /dev/null +++ b/dev-libs/libmemcached/files/continuum-1.0.18.patch @@ -0,0 +1,56 @@ +diff --git libmemcached/memcached.cc libmemcached/memcached.cc +index 337f918..6e88c25 100644 +--- libmemcached/memcached.cc ++++ libmemcached/memcached.cc +@@ -285,6 +285,8 @@ void memcached_servers_reset(memcached_st *shell) + { + libmemcached_free(self, self->ketama.continuum); + self->ketama.continuum= NULL; ++ self->ketama.continuum_count= 0; ++ self->ketama.continuum_points_counter= 0; + + memcached_instance_list_free(memcached_instance_list(self), self->number_of_hosts); + memcached_instance_set(self, NULL, 0); +diff --git tests/libmemcached-1.0/all_tests.h tests/libmemcached-1.0/all_tests.h +index b4abe9d..f89f007 100644 +--- tests/libmemcached-1.0/all_tests.h ++++ tests/libmemcached-1.0/all_tests.h +@@ -452,6 +452,7 @@ collection_st collection[] ={ + {"hsieh_availability", 0, 0, hsieh_availability}, + {"murmur_availability", 0, 0, murmur_availability}, + {"memcached_server_add", (test_callback_fn*)memcached_servers_reset_SETUP, 0, memcached_server_add_TESTS}, ++ {"memcached_server_add(continuum)", (test_callback_fn*)memcached_servers_reset_CONTINUUM, 0, memcached_server_add_TESTS}, + {"memcached_server_add(MEMCACHED_DISTRIBUTION_CONSISTENT)", (test_callback_fn*)memcached_servers_reset_MEMCACHED_DISTRIBUTION_CONSISTENT_SETUP, 0, memcached_server_add_TESTS}, + {"memcached_server_add(MEMCACHED_DISTRIBUTION_CONSISTENT_WEIGHTED)", (test_callback_fn*)memcached_servers_reset_MEMCACHED_DISTRIBUTION_CONSISTENT_WEIGHTED_SETUP, 0, memcached_server_add_TESTS}, + {"block", 0, 0, tests}, +diff --git tests/libmemcached-1.0/setup_and_teardowns.cc tests/libmemcached-1.0/setup_and_teardowns.cc +index 4191c38..eb29128 100644 +--- tests/libmemcached-1.0/setup_and_teardowns.cc ++++ tests/libmemcached-1.0/setup_and_teardowns.cc +@@ -177,6 +177,16 @@ test_return_t memcached_servers_reset_SETUP(memcached_st *memc) + return TEST_SUCCESS; + } + ++test_return_t memcached_servers_reset_CONTINUUM(memcached_st *memc) ++{ ++ memcached_behavior_set(memc, MEMCACHED_BEHAVIOR_DISTRIBUTION, MEMCACHED_DISTRIBUTION_CONSISTENT); ++ memcached_servers_reset(memc); ++ test_compare(0, memc->ketama.continuum_count); ++ // If memc->ketama.continuum_count is non-zero at this point, any call to ++ // memcached_server_add will cause a segfault. ++ return TEST_SUCCESS; ++} ++ + test_return_t memcached_servers_reset_MEMCACHED_DISTRIBUTION_CONSISTENT_SETUP(memcached_st *memc) + { + test_compare(TEST_SUCCESS, memcached_servers_reset_SETUP(memc)); +diff --git tests/libmemcached-1.0/setup_and_teardowns.h tests/libmemcached-1.0/setup_and_teardowns.h +index 7610c5a..59b56f6 100644 +--- tests/libmemcached-1.0/setup_and_teardowns.h ++++ tests/libmemcached-1.0/setup_and_teardowns.h +@@ -64,3 +64,4 @@ test_return_t pre_buffer(memcached_st*); + test_return_t memcached_servers_reset_MEMCACHED_DISTRIBUTION_CONSISTENT_SETUP(memcached_st *memc); + test_return_t memcached_servers_reset_MEMCACHED_DISTRIBUTION_CONSISTENT_WEIGHTED_SETUP(memcached_st *memc); + test_return_t memcached_servers_reset_SETUP(memcached_st *memc); ++test_return_t memcached_servers_reset_CONTINUUM(memcached_st *memc); + diff --git a/dev-libs/libmemcached/files/debug-disable-enable-1.0.18.patch b/dev-libs/libmemcached/files/debug-disable-enable-1.0.18.patch new file mode 100644 index 000000000000..ed87cbd7a1c1 --- /dev/null +++ b/dev-libs/libmemcached/files/debug-disable-enable-1.0.18.patch @@ -0,0 +1,29 @@ +Fixed a bug that caused configure to disobey the enable/disable debug flag. The debug flag will default to disabled if not specified. +diff -ru libmemcached-1.0.18-orig/m4/ax_debug.m4 libmemcached-1.0.18/m4/ax_debug.m4 +--- libmemcached-1.0.18-orig/m4/ax_debug.m4 2014-11-05 14:43:53.720284916 -0600 ++++ libmemcached-1.0.18/m4/ax_debug.m4 2014-11-19 14:23:19.512482198 -0600 +@@ -49,16 +49,18 @@ + [AC_PREREQ([2.63])dnl + AC_ARG_ENABLE([debug], + [AS_HELP_STRING([--enable-debug], +- [Add debug code/turns off optimizations (yes|no) @<:@default=no@:>@])], +- [ax_enable_debug=yes ++ [Add debug code/turns off optimizations (yes|no) @<:@default=no@:>@])]) ++ AS_IF([test "x$enable_debug" = "xyes"], [ ++ ax_enable_debug=yes + AC_DEFINE([DEBUG],[1],[Define to 1 to enable debugging code.]) + AX_CHECK_LIBRARY([MCHECK],[mcheck.h],[mcheck],[AX_APPEND_LINK_FLAGS([-lmcheck])]) + AX_ADD_AM_MACRO([--debug],[AM_YFLAGS]) +- AX_ADD_AM_MACRO([-D_GLIBCXX_DEBUG],[AM_CPPFLAGS])], +- [ax_enable_debug=no ++ AX_ADD_AM_MACRO([-D_GLIBCXX_DEBUG],[AM_CPPFLAGS]) ++ ], [ ++ ax_enable_debug=no + AC_SUBST([MCHECK]) +- AC_DEFINE([DEBUG],[0],[Define to 1 to enable debugging code.])]) +- ++ AC_DEFINE([DEBUG],[0],[Define to 1 to enable debugging code.]) ++ ]) + AC_MSG_CHECKING([for debug]) + AC_MSG_RESULT([$ax_enable_debug]) + AM_CONDITIONAL([DEBUG],[test "x${ax_enable_debug}" = "xyes"])]) diff --git a/dev-libs/libmemcached/files/libmemcached-1.0.17-gcc4_8.patch b/dev-libs/libmemcached/files/libmemcached-1.0.17-gcc4_8.patch new file mode 100644 index 000000000000..5f42d3f3cabd --- /dev/null +++ b/dev-libs/libmemcached/files/libmemcached-1.0.17-gcc4_8.patch @@ -0,0 +1,183 @@ +Description: Fix compilation with gcc-4.8 + This patch fixes the error flags made incompatible with gcc-4.8: + g++: error: -fsanitize=address is incompatible with -fsanitize=thread +Author: Brian Aker +Last-Update: 2013-06-14 +Bug: https://bugs.launchpad.net/libmemcached/+bug/1164442 + +--- a/libtest/run.gdb 2012-03-26 01:08:09 +0000 ++++ b/libtest/run.gdb 2013-04-10 05:25:24 +0000 +@@ -1,5 +1,6 @@ + set logging on + set logging overwrite on + set environment LIBTEST_IN_GDB=1 ++set ASAN_OPTIONS=abort_on_error=1 + run + thread apply all bt + +--- a/m4/ax_harden_compiler_flags.m4 2013-02-12 05:44:21 +0000 ++++ b/m4/ax_harden_compiler_flags.m4 2013-04-10 05:25:24 +0000 +@@ -53,7 +53,7 @@ + # ? _APPEND_COMPILE_FLAGS_ERROR([-Wlong-long]) -- Don't turn on for + # compatibility issues memcached_stat_st + +-#serial 8 ++#serial 9 + + AC_DEFUN([_WARNINGS_AS_ERRORS], + [AC_CACHE_CHECK([if all warnings into errors],[ac_cv_warnings_as_errors], +@@ -92,9 +92,12 @@ + _APPEND_COMPILE_FLAGS_ERROR([-H]) + _APPEND_COMPILE_FLAGS_ERROR([-ggdb]) + _APPEND_COMPILE_FLAGS_ERROR([-g]) +- _APPEND_COMPILE_FLAGS_ERROR([-O0])], +- [_APPEND_COMPILE_FLAGS_ERROR([-g]) +- _APPEND_COMPILE_FLAGS_ERROR([-O2])]) ++ _APPEND_COMPILE_FLAGS_ERROR([-O0]), ++ _APPEND_COMPILE_FLAGS_ERROR([-fno-omit-frame-pointer]) ++ ],[ ++ _APPEND_COMPILE_FLAGS_ERROR([-g]) ++ _APPEND_COMPILE_FLAGS_ERROR([-O2]) ++ ]) + + AS_IF([test "x$ac_cv_vcs_checkout" = xyes], + [_APPEND_COMPILE_FLAGS_ERROR([-fstack-check]) +@@ -155,26 +158,31 @@ + _APPEND_COMPILE_FLAGS_ERROR([-Wundef]) + _APPEND_COMPILE_FLAGS_ERROR([-Wunsafe-loop-optimizations]) + _APPEND_COMPILE_FLAGS_ERROR([-funsafe-loop-optimizations]) +- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=address]) +- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=integer]) +- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=thread]) +- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=memory]) +- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=alignment]) +- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=bool]) +- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=bounds]) +- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=enum]) +- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=float-cast-overflow]) +- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=float-divide-by-zero]) +- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=integer-divide-by-zero]) +- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=null]) +- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=object-size]) +- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=return]) +- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=shift]) +- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=signed-integer-overflow]) +- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=unreachable]) +- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=unsigned-integer-overflow]) +- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=vla-bound]) +- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=vptr]) ++ AS_IF([test "x$ac_cv_vcs_checkout" = xyes],[ ++ _APPEND_COMPILE_FLAGS_ERROR([-fno-omit-frame-pointer]) ++ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=address]) ++ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=integer]) ++ AS_IF([test "x$enable_shared" = "xyes"],[ ++ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=thread]) ++ ]) ++ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=memory]) ++ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=alignment]) ++ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=bool]) ++ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=bounds]) ++ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=enum]) ++ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=float-cast-overflow]) ++ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=float-divide-by-zero]) ++ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=integer-divide-by-zero]) ++ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=null]) ++ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=object-size]) ++ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=return]) ++ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=shift]) ++ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=signed-integer-overflow]) ++ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=unreachable]) ++ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=unsigned-integer-overflow]) ++ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=vla-bound]) ++ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=vptr]) ++ ]) + _APPEND_COMPILE_FLAGS_ERROR([-Wclobbered]) + _APPEND_COMPILE_FLAGS_ERROR([-Wunused]) + _APPEND_COMPILE_FLAGS_ERROR([-Wunused-result]) +@@ -186,6 +194,7 @@ + _APPEND_COMPILE_FLAGS_ERROR([-fwrapv]) + _APPEND_COMPILE_FLAGS_ERROR([-fmudflapt]) + _APPEND_COMPILE_FLAGS_ERROR([-pipe]) ++ _APPEND_COMPILE_FLAGS_ERROR([-Wsizeof-pointer-memaccess]) + + AS_IF([test "x$ax_enable_debug" = xno], + [AS_IF([test "x$ac_cv_vcs_checkout" = xyes], +@@ -213,9 +222,12 @@ + _APPEND_COMPILE_FLAGS_ERROR([-H]) + _APPEND_COMPILE_FLAGS_ERROR([-ggdb]) + _APPEND_COMPILE_FLAGS_ERROR([-g]) +- _APPEND_COMPILE_FLAGS_ERROR([-O0])], +- [_APPEND_COMPILE_FLAGS_ERROR([-g]) +- _APPEND_COMPILE_FLAGS_ERROR([-O2])]) ++ _APPEND_COMPILE_FLAGS_ERROR([-O0]), ++ _APPEND_COMPILE_FLAGS_ERROR([-fno-omit-frame-pointer]) ++ ],[ ++ _APPEND_COMPILE_FLAGS_ERROR([-g]) ++ _APPEND_COMPILE_FLAGS_ERROR([-O2]) ++ ]) + + AS_IF([test "x$ac_cv_vcs_checkout" = xyes], + [_APPEND_COMPILE_FLAGS_ERROR([-fstack-check]) +@@ -268,27 +280,32 @@ + _APPEND_COMPILE_FLAGS_ERROR([-funsafe-loop-optimizations]) + _APPEND_COMPILE_FLAGS_ERROR([-Wc++11-compat]) + # _APPEND_COMPILE_FLAGS_ERROR([-Weffc++]) +- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=address]) +- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=integer]) +- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=thread]) +- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=memory]) +- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=alignment]) +- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=bool]) +- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=bounds]) +- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=enum]) +- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=float-cast-overflow]) +- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=float-divide-by-zero]) +- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=integer-divide-by-zero]) +- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=null]) +- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=object-size]) +- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=return]) +- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=shift]) +- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=signed-integer-overflow]) +- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=unreachable]) +- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=unsigned-integer-overflow]) +- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=vla-bound]) +- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=vptr]) +-# _APPEND_COMPILE_FLAGS_ERROR([-Wold-style-cast]) ++ AS_IF([test "x$ac_cv_vcs_checkout" = xyes],[ ++ _APPEND_COMPILE_FLAGS_ERROR([-fno-omit-frame-pointer]) ++ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=address]) ++ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=integer]) ++ AS_IF([test "x$enable_shared" = "xyes"],[ ++ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=thread]) ++ ]) ++ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=memory]) ++ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=alignment]) ++ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=bool]) ++ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=bounds]) ++ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=enum]) ++ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=float-cast-overflow]) ++ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=float-divide-by-zero]) ++ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=integer-divide-by-zero]) ++ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=null]) ++ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=object-size]) ++ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=return]) ++ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=shift]) ++ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=signed-integer-overflow]) ++ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=unreachable]) ++ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=unsigned-integer-overflow]) ++ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=vla-bound]) ++ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=vptr]) ++ ]) ++# _APPEND_COMPILE_FLAGS_ERROR([-Wold-style-cast]) + _APPEND_COMPILE_FLAGS_ERROR([-Wclobbered]) + _APPEND_COMPILE_FLAGS_ERROR([-Wunused]) + _APPEND_COMPILE_FLAGS_ERROR([-Wunused-result]) +@@ -301,6 +318,7 @@ + _APPEND_COMPILE_FLAGS_ERROR([-fwrapv]) + _APPEND_COMPILE_FLAGS_ERROR([-fmudflapt]) + _APPEND_COMPILE_FLAGS_ERROR([-pipe]) ++ _APPEND_COMPILE_FLAGS_ERROR([-Wsizeof-pointer-memaccess]) + + AS_IF([test "x$ax_enable_debug" = xno], + [AS_IF([test "x$ac_cv_vcs_checkout" = xyes], + diff --git a/dev-libs/libmemcached/files/libmemcached-1.0.18-gcc7.patch b/dev-libs/libmemcached/files/libmemcached-1.0.18-gcc7.patch new file mode 100644 index 000000000000..6bcb23136c4b --- /dev/null +++ b/dev-libs/libmemcached/files/libmemcached-1.0.18-gcc7.patch @@ -0,0 +1,29 @@ +gcc-7 fails the build as: + clients/memflush.cc: In function 'int main(int, char**)': + clients/memflush.cc:42:22: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] + if (opt_servers == false) + ^~~~~ + +opt_servers is declated as 'static char *opt_servers= NULL;' +diff --git a/clients/memflush.cc b/clients/memflush.cc +index 8bd0dbf..7641b88 100644 +--- a/clients/memflush.cc ++++ b/clients/memflush.cc +@@ -39,7 +39,7 @@ int main(int argc, char *argv[]) + { + options_parse(argc, argv); + +- if (opt_servers == false) ++ if (!opt_servers) + { + char *temp; + +@@ -48,7 +48,7 @@ int main(int argc, char *argv[]) + opt_servers= strdup(temp); + } + +- if (opt_servers == false) ++ if (!opt_servers) + { + std::cerr << "No Servers provided" << std::endl; + exit(EXIT_FAILURE); diff --git a/dev-libs/libmemcached/libmemcached-0.50.ebuild b/dev-libs/libmemcached/libmemcached-0.50.ebuild new file mode 100644 index 000000000000..1f9bf894d977 --- /dev/null +++ b/dev-libs/libmemcached/libmemcached-0.50.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="3" + +inherit eutils multilib + +DESCRIPTION="a C client library to the memcached server" +HOMEPAGE="http://tangent.org/552/libmemcached.html" +SRC_URI="https://launchpad.net/${PN}/1.0/${PV}/+download/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sh sparc x86 ~sparc-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="debug doc hsieh +libevent sasl static-libs tcmalloc" + +DEPEND="net-misc/memcached + virtual/perl-Pod-Parser + doc? ( dev-python/sphinx ) + libevent? ( dev-libs/libevent ) + tcmalloc? ( dev-util/google-perftools ) + sasl? ( virtual/gsasl )" +RDEPEND="${DEPEND}" + +src_prepare() { + # These tests freezes for me + sed -i -e "/connectionpool/d" \ + -e "/lp:583031/d" tests/mem_functions.cc || die +} + +src_configure() { + econf \ + --disable-dtrace \ + --disable-libinnodb \ + $(use_enable debug assert) \ + $(use_with debug debug) \ + $(use_enable hsieh hsieh_hash) \ + $(use_enable libevent libevent) \ + $(use_enable tcmalloc tcmalloc) \ + $(use_with sasl libsasl-prefix) \ + $(use_with sasl libsasl2-prefix) \ + $(use_enable static-libs static) +} + +src_compile() { + emake || die + + if use doc; then + emake html-local || die + fi +} + +src_install() { + emake DESTDIR="${D}" install || die "Install failed" + + use static-libs || rm -f "${D}"/usr/$(get_libdir)/lib*.la + + dodoc AUTHORS ChangeLog README THANKS TODO + # remove manpage to avoid collision, see bug #299330 + rm -f "${D}"/usr/share/man/man1/memdump.* || die "Install failed" + newman docs/man/memdump.1 memcached_memdump.1 + if use doc; then + dohtml -r docs/html/* || die + fi +} diff --git a/dev-libs/libmemcached/libmemcached-1.0.14.ebuild b/dev-libs/libmemcached/libmemcached-1.0.14.ebuild new file mode 100644 index 000000000000..41511d243252 --- /dev/null +++ b/dev-libs/libmemcached/libmemcached-1.0.14.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="4" + +inherit eutils multilib + +DESCRIPTION="a C client library to the memcached server" +HOMEPAGE="http://libmemcached.org/libMemcached.html" +SRC_URI="https://launchpad.net/${PN}/1.0/${PV}/+download/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sh ~sparc x86 ~sparc-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="debug hsieh +libevent static-libs" + +DEPEND="net-misc/memcached + dev-libs/cyrus-sasl + libevent? ( dev-libs/libevent )" +RDEPEND="${DEPEND}" + +src_configure() { + local myconf + if use debug; then + myconf="--enable-debug --enable-assert" + fi + if use hsieh; then + myconf+=" --enable-hsieh_hash" + fi + + econf \ + --disable-dtrace \ + $(use_enable static-libs static) \ + ${myconf} +} + +src_install() { + emake DESTDIR="${D}" install + + use static-libs || rm -f "${D}"/usr/$(get_libdir)/lib*.la + + dodoc AUTHORS ChangeLog README THANKS TODO + # remove manpage to avoid collision, see bug #299330 + rm -f "${D}"/usr/share/man/man1/memdump.* + newman man/memdump.1 memcached_memdump.1 +} diff --git a/dev-libs/libmemcached/libmemcached-1.0.17-r3.ebuild b/dev-libs/libmemcached/libmemcached-1.0.17-r3.ebuild new file mode 100644 index 000000000000..a9cd9f3a1fdd --- /dev/null +++ b/dev-libs/libmemcached/libmemcached-1.0.17-r3.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit autotools eutils multilib +RESTRICT="test" # https://bugs.gentoo.org/show_bug.cgi?id=498250 https://bugs.launchpad.net/gentoo/+bug/1278023 + +DESCRIPTION="a C client library to the memcached server" +HOMEPAGE="http://libmemcached.org/libMemcached.html" +SRC_URI="https://launchpad.net/${PN}/1.0/${PV}/+download/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~sparc-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="debug hsieh +libevent sasl static-libs" + +DEPEND="net-misc/memcached + sasl? ( dev-libs/cyrus-sasl ) + libevent? ( dev-libs/libevent )" +RDEPEND="${DEPEND}" + +src_prepare() { + epatch "${FILESDIR}/${PN}-1.0.17-gcc4_8.patch" + eautoreconf +} + +src_configure() { + econf \ + --disable-dtrace \ + $(use_enable static-libs static) \ + $(use_enable sasl sasl) \ + $(use_enable debug debug) \ + $(use_enable debug assert) \ + $(use_enable hsieh hsieh_hash) \ + --libdir=/usr/$(get_libdir) \ + ${myconf} +} + +src_install() { + emake DESTDIR="${D}" install + + use static-libs || rm -f "${D}"/usr/$(get_libdir)/lib*.la + + dodoc AUTHORS ChangeLog README THANKS TODO + # remove manpage to avoid collision, see bug #299330 + rm -f "${D}"/usr/share/man/man1/memdump.* + newman man/memdump.1 memcached_memdump.1 +} diff --git a/dev-libs/libmemcached/libmemcached-1.0.17-r4.ebuild b/dev-libs/libmemcached/libmemcached-1.0.17-r4.ebuild new file mode 100644 index 000000000000..4e98e815134e --- /dev/null +++ b/dev-libs/libmemcached/libmemcached-1.0.17-r4.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit autotools eutils multilib +RESTRICT="test" # https://bugs.gentoo.org/show_bug.cgi?id=498250 https://bugs.launchpad.net/gentoo/+bug/1278023 + +DESCRIPTION="a C client library to the memcached server" +HOMEPAGE="http://libmemcached.org/libMemcached.html" +SRC_URI="https://launchpad.net/${PN}/1.0/${PV}/+download/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~sparc-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="debug hsieh +libevent sasl static-libs" + +DEPEND="net-misc/memcached + sasl? ( dev-libs/cyrus-sasl ) + libevent? ( dev-libs/libevent )" +RDEPEND="${DEPEND}" + +src_prepare() { + sed -i '6i CFLAGS = @CFLAGS@' Makefile.am + epatch "${FILESDIR}/${PN}-1.0.17-gcc4_8.patch" + eautoreconf +} + +src_configure() { + econf \ + --disable-dtrace \ + $(use_enable static-libs static) \ + $(use_enable sasl sasl) \ + $(use_enable debug debug) \ + $(use_enable debug assert) \ + $(use_enable hsieh hsieh_hash) \ + --libdir=/usr/$(get_libdir) \ + ${myconf} +} + +src_install() { + emake DESTDIR="${D}" install + + use static-libs || rm -f "${D}"/usr/$(get_libdir)/lib*.la + + dodoc AUTHORS ChangeLog README THANKS TODO + # remove manpage to avoid collision, see bug #299330 + rm -f "${D}"/usr/share/man/man1/memdump.* + newman man/memdump.1 memcached_memdump.1 +} diff --git a/dev-libs/libmemcached/libmemcached-1.0.18-r1.ebuild b/dev-libs/libmemcached/libmemcached-1.0.18-r1.ebuild new file mode 100644 index 000000000000..347d256267ad --- /dev/null +++ b/dev-libs/libmemcached/libmemcached-1.0.18-r1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit autotools eutils multilib +RESTRICT="test" # https://bugs.gentoo.org/show_bug.cgi?id=498250 https://bugs.launchpad.net/gentoo/+bug/1278023 + +DESCRIPTION="a C client library to the memcached server" +HOMEPAGE="http://libmemcached.org/libMemcached.html" +SRC_URI="https://launchpad.net/${PN}/1.0/${PV}/+download/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~sparc-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="debug hsieh +libevent sasl static-libs" + +DEPEND="net-misc/memcached + sasl? ( dev-libs/cyrus-sasl ) + libevent? ( dev-libs/libevent )" +RDEPEND="${DEPEND}" + +src_prepare() { + epatch "${FILESDIR}/debug-disable-enable-1.0.18.patch" + sed -i '6i CFLAGS = @CFLAGS@' Makefile.am + sed -e "/_APPEND_COMPILE_FLAGS_ERROR(\[-fmudflapth\?\])/d" -i m4/ax_harden_compiler_flags.m4 + eautoreconf +} + +src_configure() { + econf \ + --disable-dtrace \ + $(use_enable static-libs static) \ + $(use_enable sasl sasl) \ + $(use_enable debug debug) \ + $(use_enable debug assert) \ + $(use_enable hsieh hsieh_hash) \ + --libdir=/usr/$(get_libdir) \ + ${myconf} +} + +src_install() { + emake DESTDIR="${D}" install + + use static-libs || rm -f "${D}"/usr/$(get_libdir)/lib*.la + + dodoc AUTHORS ChangeLog README THANKS TODO + # remove manpage to avoid collision, see bug #299330 + rm -f "${D}"/usr/share/man/man1/memdump.* + newman man/memdump.1 memcached_memdump.1 +} diff --git a/dev-libs/libmemcached/libmemcached-1.0.18-r2.ebuild b/dev-libs/libmemcached/libmemcached-1.0.18-r2.ebuild new file mode 100644 index 000000000000..6f825c8b7c44 --- /dev/null +++ b/dev-libs/libmemcached/libmemcached-1.0.18-r2.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +WANT_AUTOMAKE=1.13 + +inherit autotools eutils multilib +RESTRICT="test" # https://bugs.gentoo.org/show_bug.cgi?id=498250 https://bugs.launchpad.net/gentoo/+bug/1278023 + +DESCRIPTION="a C client library to the memcached server" +HOMEPAGE="http://libmemcached.org/libMemcached.html" +SRC_URI="https://launchpad.net/${PN}/1.0/${PV}/+download/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~sparc-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="debug hsieh +libevent sasl static-libs" + +DEPEND="net-misc/memcached + sasl? ( dev-libs/cyrus-sasl ) + libevent? ( dev-libs/libevent )" +RDEPEND="${DEPEND}" + +src_prepare() { + epatch "${FILESDIR}/debug-disable-enable-1.0.18.patch" + sed -i '6i CFLAGS = @CFLAGS@' Makefile.am + sed -e "/_APPEND_COMPILE_FLAGS_ERROR(\[-fmudflapth\?\])/d" -i m4/ax_harden_compiler_flags.m4 + eautoreconf +} + +src_configure() { + econf \ + --disable-dtrace \ + $(use_enable static-libs static) \ + $(use_enable sasl sasl) \ + $(use_enable debug debug) \ + $(use_enable debug assert) \ + $(use_enable hsieh hsieh_hash) \ + --libdir=/usr/$(get_libdir) \ + ${myconf} +} + +src_install() { + emake DESTDIR="${D}" install + + use static-libs || rm -f "${D}"/usr/$(get_libdir)/lib*.la + + dodoc AUTHORS ChangeLog README THANKS TODO + # remove manpage to avoid collision, see bug #299330 + rm -f "${D}"/usr/share/man/man1/memdump.* + newman man/memdump.1 memcached_memdump.1 +} diff --git a/dev-libs/libmemcached/libmemcached-1.0.18-r3.ebuild b/dev-libs/libmemcached/libmemcached-1.0.18-r3.ebuild new file mode 100644 index 000000000000..ee91b8ccdf37 --- /dev/null +++ b/dev-libs/libmemcached/libmemcached-1.0.18-r3.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +WANT_AUTOMAKE=1.13 + +inherit autotools eutils multilib +RESTRICT="test" # https://bugs.gentoo.org/show_bug.cgi?id=498250 https://bugs.launchpad.net/gentoo/+bug/1278023 + +DESCRIPTION="a C client library to the memcached server" +HOMEPAGE="http://libmemcached.org/libMemcached.html" +SRC_URI="https://launchpad.net/${PN}/1.0/${PV}/+download/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~sh sparc x86 ~sparc-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="debug hsieh +libevent sasl static-libs" + +DEPEND="net-misc/memcached + sasl? ( dev-libs/cyrus-sasl ) + libevent? ( dev-libs/libevent )" +RDEPEND="${DEPEND}" + +src_prepare() { + epatch "${FILESDIR}/debug-disable-enable-1.0.18.patch" + epatch "${FILESDIR}/continuum-1.0.18.patch" + epatch "${FILESDIR}"/${P}-gcc7.patch + sed -i '6i CFLAGS = @CFLAGS@' Makefile.am + sed -e "/_APPEND_COMPILE_FLAGS_ERROR(\[-fmudflapth\?\])/d" -i m4/ax_harden_compiler_flags.m4 + eautoreconf +} + +src_configure() { + econf \ + --disable-dtrace \ + $(use_enable static-libs static) \ + $(use_enable sasl sasl) \ + $(use_enable debug debug) \ + $(use_enable debug assert) \ + $(use_enable hsieh hsieh_hash) \ + --libdir=/usr/$(get_libdir) \ + ${myconf} +} + +src_install() { + emake DESTDIR="${D}" install + + use static-libs || rm -f "${D}"/usr/$(get_libdir)/lib*.la + + dodoc AUTHORS ChangeLog README THANKS TODO + # remove manpage to avoid collision, see bug #299330 + rm -f "${D}"/usr/share/man/man1/memdump.* + newman man/memdump.1 memcached_memdump.1 +} diff --git a/dev-libs/libmemcached/libmemcached-1.0.18.ebuild b/dev-libs/libmemcached/libmemcached-1.0.18.ebuild new file mode 100644 index 000000000000..45e2bd14c2c4 --- /dev/null +++ b/dev-libs/libmemcached/libmemcached-1.0.18.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit autotools eutils multilib +RESTRICT="test" # https://bugs.gentoo.org/show_bug.cgi?id=498250 https://bugs.launchpad.net/gentoo/+bug/1278023 + +DESCRIPTION="a C client library to the memcached server" +HOMEPAGE="http://libmemcached.org/libMemcached.html" +SRC_URI="https://launchpad.net/${PN}/1.0/${PV}/+download/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~sh ~sparc x86 ~sparc-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="debug hsieh +libevent sasl static-libs" + +DEPEND="net-misc/memcached + sasl? ( dev-libs/cyrus-sasl ) + libevent? ( dev-libs/libevent )" +RDEPEND="${DEPEND}" + +src_prepare() { + sed -i '6i CFLAGS = @CFLAGS@' Makefile.am + sed -e "/_APPEND_COMPILE_FLAGS_ERROR(\[-fmudflapth\?\])/d" -i m4/ax_harden_compiler_flags.m4 + eautoreconf +} + +src_configure() { + econf \ + --disable-dtrace \ + $(use_enable static-libs static) \ + $(use_enable sasl sasl) \ + $(use_enable debug debug) \ + $(use_enable debug assert) \ + $(use_enable hsieh hsieh_hash) \ + --libdir=/usr/$(get_libdir) \ + ${myconf} +} + +src_install() { + emake DESTDIR="${D}" install + + use static-libs || rm -f "${D}"/usr/$(get_libdir)/lib*.la + + dodoc AUTHORS ChangeLog README THANKS TODO + # remove manpage to avoid collision, see bug #299330 + rm -f "${D}"/usr/share/man/man1/memdump.* + newman man/memdump.1 memcached_memdump.1 +} diff --git a/dev-libs/libmemcached/metadata.xml b/dev-libs/libmemcached/metadata.xml new file mode 100644 index 000000000000..3bfda0a0415b --- /dev/null +++ b/dev-libs/libmemcached/metadata.xml @@ -0,0 +1,23 @@ + + + + + robbat2@gentoo.org + + + prometheanfire@gentoo.org + + + libmemcached is a C client library to the memcached server + (http://danga.com/memcached). It has been designed to be light on memory + usage, thread safe, and provide full access to server side methods. + + + Use Hsieh hash algorithm. + Use the libevent event loop interface. + Use sasl auth for communications. + + + libmemcached + + diff --git a/dev-libs/libmirage/Manifest b/dev-libs/libmirage/Manifest new file mode 100644 index 000000000000..db80125db9e6 --- /dev/null +++ b/dev-libs/libmirage/Manifest @@ -0,0 +1,5 @@ +DIST libmirage-3.1.0.tar.bz2 234649 SHA256 b67ecc1056cf1986321d637f1a52cb36b0f5bec4fac08fd9c71075dcb7dd7363 SHA512 fcf49b171b6f84ad32cdeeb63def76e8bd5c5f33aadcc678e06d7388d0c351e8047beae6db9db7b69f704ab4db86aca4e8fb9817b2450c70b5f1d3d7a3760394 WHIRLPOOL d6ad530b06de6e0ba9a0c9583ff0e7c5e41eeaaf30b2c871d9745b2da6246cb20fd94eebb60968dc6c899e7e492443a14574608888bf81e18383f5144024f26a +EBUILD libmirage-3.1.0.ebuild 1178 SHA256 f629095ee6c4e3fd536eae85621667960808fac829679a2d4a20c36e2e7d55ad SHA512 e73f833029df60b402a6c4ee05e348c579cf358a5e5a66743b51710629a26d420d88bb5ea336a32ff03207204794f847bd1d668295658a3e4e99f1500d92ed13 WHIRLPOOL b26b08e2abaefd77e8452f40e969846b065418d5a2fc87cfa6bf6e3e07e00fd9bb15ede0afb9dd785286ebc740f58c9334f94d17d85ae20549cc6d8d05b4f73d +MISC ChangeLog 3070 SHA256 038d6ff62e48f7c93bdbd2b8647095be9a63cbc64dedba894145dc118ea53d3b SHA512 d9042ef602809c16e4aa8bff50abdc57440ba5e18d5be2c457e82d304d0f79b8bb03b0335b631644ace25a0d90e57d6c46425d33609f883d2af3798b5b7bbd88 WHIRLPOOL a46dfd7f63d8158221d6c36ee0c05216b9208f9441cae9d5d8ba81c33ba19417d820cfb4dc541bbbe05e49c81894a575519032d59dc65eb31cf125c3659d60ad +MISC ChangeLog-2015 7117 SHA256 8d7d3241d507ac2e202affc292d81629b885563be9da5c46bd4f93b9e5661422 SHA512 f661a6695bfdf11faada386b8d0d7d59bb22f40c528132e260fc18458922549cc2f38974c056caaecec8a930fb2f5d5c82a8b539256f0ffc8c8f74abda957e89 WHIRLPOOL d212c15c6be7c79cad97f8643d0bc44e9c5e4835f91cce580d64694ed7e4531d44178240e078515db8411a2bfea97e5e676c72e8953bce9dd938e9b6aa30cdfd +MISC metadata.xml 455 SHA256 07a8d13abb61a51f6dab1c9f0a8892b806da028e300d36cbfb639e2a4e92ed9d SHA512 51c8d87f3c49c81798e4d2e038f911a2e05bfde742f229939f759c6768c6459cf4aa6829981791c57ef766fd447923194d7c14d4ad16951ae505d3b5a73c3479 WHIRLPOOL 789f78c7079cea5fe08400d0d66b83a0eb65fa88569250b82117797c15383c141d655e0ab2191cd7b8ea20052b697254993f9c4870f28a50b4ae4faa973310c9 diff --git a/dev-libs/libmirage/libmirage-3.1.0.ebuild b/dev-libs/libmirage/libmirage-3.1.0.ebuild new file mode 100644 index 000000000000..53a4fe0fd81e --- /dev/null +++ b/dev-libs/libmirage/libmirage-3.1.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit cmake-utils xdg-utils + +DESCRIPTION="CD and DVD image access library" +HOMEPAGE="http://cdemu.org" +SRC_URI="mirror://sourceforge/cdemu/${P}.tar.bz2" + +LICENSE="GPL-2+" +SLOT="0/11" # subslot = libmirage soname version +KEYWORDS="amd64 ~hppa x86" +IUSE="doc +introspection" + +RDEPEND=">=app-arch/bzip2-1:= + >=app-arch/xz-utils-5:= + >=dev-libs/glib-2.28:2 + >=media-libs/libsamplerate-0.1:= + >=media-libs/libsndfile-1.0:= + sys-libs/zlib:= + introspection? ( >=dev-libs/gobject-introspection-1.30 )" +DEPEND="${RDEPEND} + dev-util/desktop-file-utils + dev-util/intltool + sys-devel/gettext + virtual/pkgconfig + doc? ( dev-util/gtk-doc )" + +src_configure() { + local mycmakeargs=( + -DGTKDOC_ENABLED="$(usex doc)" + -DINTROSPECTION_ENABLED="$(usex introspection)" + -DPOST_INSTALL_HOOKS=OFF # avoid sandbox violation, #487304 + ) + cmake-utils_src_configure +} + +src_install() { + local DOCS=( AUTHORS README ) + cmake-utils_src_install + find "${D}" -name '*.la' -delete || die +} + +pkg_postinst() { + xdg_mimeinfo_database_update +} + +pkg_postrm() { + xdg_mimeinfo_database_update +} diff --git a/dev-libs/libmirage/metadata.xml b/dev-libs/libmirage/metadata.xml new file mode 100644 index 000000000000..3c7b1adb6301 --- /dev/null +++ b/dev-libs/libmirage/metadata.xml @@ -0,0 +1,15 @@ + + + + + tetromino@gentoo.org + Alexandre Rostovtsev + + + mgorny@gentoo.org + MichaÅ‚ Górny + + + cdemu + + diff --git a/dev-libs/libmix/Manifest b/dev-libs/libmix/Manifest new file mode 100644 index 000000000000..f6f57873222b --- /dev/null +++ b/dev-libs/libmix/Manifest @@ -0,0 +1,8 @@ +AUX libmix-2.05-fix-pattern.patch 415 SHA256 7924d3e439ef17d374a1bb6846e8074f416af64a9e35277bfee2e37ab6f4aab9 SHA512 5b74e4a61126e9b5e7abc9ffeff116894ae84ed305bddcf21a2fe0d16e58776599f72e7b85b93845a45f48c877ecc63a3729c2932410c30683d48a96ef410c4b WHIRLPOOL bcd7c9f6327a66932f8671587fb1c0e7e2e9824ee44fea39ae8b686a6fa419a5cbc258be75410a5db5be272e2d5f27724555a711539d6451d7b27ad1f9989f35 +AUX libmix-2.05-gentoo-r1.patch 8328 SHA256 0911b4c639c1da4f3adbb22021dcd3323f1b4bac6a45c2dc7cdedb386ad60876 SHA512 24043efc6a7ebdee97425e63e97bcd298d0e920604277bdcd176c22e20119cacd6ef33a296df815cd98ae327bd149003e3e34c33f939d96bee71be3bac79bf75 WHIRLPOOL 9a3d6fb885b24f59f94125a4f38bfd79e2f3da075e2a4607c2d4b70d663bc99b07abb5d8f2845c83fb136e1830fdf808f1189c8d418592041f8c6bbf509d33b8 +AUX libmix-2.05-libnet.patch 509 SHA256 894bfd14719182b540be4e3c127a2a371fae590206e46e001c013fd105c6b4e4 SHA512 3c5204728db7fdecadbd3149a4edb544dafadedffa7d8f1afe2e3290a378865f68ac1189eeab7a6e73176bb4af045f4049dfc75417c143a5aad705906c96b498 WHIRLPOOL b226295673fc830c61f659595d581129684440e393b81c8bf1da87006ed5fdf11571dd859ef1fdbfeb2c3b8c210dbbb8fab7e817e44f819482b3cccfba3f31d0 +DIST libmix-205.tgz 79860 SHA256 7d2ca949652137c20fdf1cb87482f92bdbeef403cd832a8597e747d8651137c6 SHA512 412a1506d15b5ff3fff7f32caf50dca9283c9d667e4bce40a20be45465fcfe72e177159f546d4b8059de94c107faf641d116621ea395bc0ddb91c2a1d77257ec WHIRLPOOL b0f6ff2ebd604abde8ef7a0108903816181b768cccc6a1b8a30b8061d40c01f41f66f30301af49981429b2e8172f65316482c54db02b9d82f2a8a2198525e513 +EBUILD libmix-2.05-r7.ebuild 877 SHA256 abddb33d652c5850c3f32c5ee25e27e219c3def124f7c1f424488e96e1cc9dae SHA512 c2adfa9597732fb7fac2d140bf04550d25dfb713fb2d585aa8b7b7e2799540aa3112842281a21d9a7d464767f033ca69e5f26091240a622771142011b1973abe WHIRLPOOL 76d9b8acd3ee260671d3fdee363be20fcdedb0140cfee3968f7869f21b8fbf6661a3363db5043d58a5e18d671c3e1feac034447e1cec8aea8bf6d6604a409241 +MISC ChangeLog 2764 SHA256 2f08d7ff9dbba66e3db2f6aea68420374b4aea12922dad0327d87e42f95ca279 SHA512 0257b315b7fb3657dd9d0fef38b40b7e9e8d0173a6bbc14a1da80ad454f6ef66c5ae54a5647d4150f62eb21a3485c4725759e4eb3f74219d508cac7a664ef472 WHIRLPOOL bafcc933d93ad70a5baf49e9d17ad40ac677a107e2a8b09f18bf7b0133c4a1ce76a60cf61c8dcbec3718567286d9c225eee6a11c61c2a87ef4e209a237dab96b +MISC ChangeLog-2015 6426 SHA256 a230fbd20bec30c5a2234bd848bf3a5c880b31e2413d81eb487616c04d8661fa SHA512 99f858e1f3bb50a3719bf62670c971ed6ffb5105cb76055465f76fb4edf186e75b5136ca9fae929f7aeadd2a9d4616e22a15b8646c1a76868f919a6649898523 WHIRLPOOL d7cc4f655cfa93ae909bee91d3302990b97b5aac1c841a41184162771a3c26f0b7b524536a9256c774dfeb44060728a90593581fb0a248fe016ba41c45d26096 +MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968 diff --git a/dev-libs/libmix/files/libmix-2.05-fix-pattern.patch b/dev-libs/libmix/files/libmix-2.05-fix-pattern.patch new file mode 100644 index 000000000000..58d978e96df6 --- /dev/null +++ b/dev-libs/libmix/files/libmix-2.05-fix-pattern.patch @@ -0,0 +1,12 @@ +diff -durp libmix-v2.05/misc/misc.c libmix-v2.05-fix-pattern/misc/misc.c +--- libmix-v2.05/misc/misc.c 2002-05-19 09:51:23.000000000 +0100 ++++ libmix-v2.05-fix-pattern/misc/misc.c 2007-08-25 22:48:14.000000000 +0100 +@@ -209,7 +209,7 @@ pattern(char *data, char **list) + { + int i = 0; + +- while (strcmp(list[i++], NULL) != 0) ++ while (list[i++] != NULL) + if (strstr(data, list[i]) != NULL) + return 1; + diff --git a/dev-libs/libmix/files/libmix-2.05-gentoo-r1.patch b/dev-libs/libmix/files/libmix-2.05-gentoo-r1.patch new file mode 100644 index 000000000000..b7405cead6ba --- /dev/null +++ b/dev-libs/libmix/files/libmix-2.05-gentoo-r1.patch @@ -0,0 +1,287 @@ +Fix install paths, respect user flags, build shared libs with -fPIC, +make static libs optional, convert use "--with/without-net2" instead +"--without-no-net2" + +http://bugs.gentoo.org/268444 + +Thanks to Doktor Notor +--- a/Makefile.in ++++ b/Makefile.in +@@ -1,16 +1,18 @@ +-INSTALL_INCLUDES_IN = /usr/include +-INSTALL_LIBRARY_IN = /usr/lib +-INSTALL_MANPAGE_IN = /usr/local/man +- +-# Compiler to produce C/C++ libraries with (autodetected) +-GCC = @CCAUTO@ +-GPP = @CXAUTO@ ++prefix = @prefix@ ++exec_prefix = @exec_prefix@ ++libdir = @libdir@ ++includedir = @includedir@ ++mandir = @mandir@ ++BUILD_STATIC = @BUILD_STATIC@ + + RANLIB = @RANLIB@ + AR = @AR@ + INSTALL = @INSTALL@ + + CFLAGS = @CFLAGS@ ++CXXFLAGS = @CXXFLAGS@ ++LDFLAGS = @LDFLAGS@ ++CCOPTS = @CCOPTS@ + CLIB = @CLIB@ + + AESOBJ = aes/aes.o aes/cast-256.o aes/mars.o aes/saferp.o aes/twofish.o aes/rijndael.o aes/md5.o +@@ -21,120 +19,80 @@ + NETOBJPP = net/net++.o net/net2++.o + MISCOBJPP = misc/misc++.o misc/exclude++.o + +-all: libmix.a libmix.so libmix++.a libmix++.so ++OBJS_C = $(AESOBJ) $(NETOBJ) $(MISCOBJ) ++OBJS_PP = $(AESOBJPP) $(NETOBJPP) $(MISCOBJPP) ++ ++OBJS_C_A = $(OBJS_C:%.o=%.lo) ++OBJS_PP_A = $(OBJS_PP:%.o=%.lo) ++ ++TARGETS = libmix.so libmix++.so ++ifdef BUILD_STATIC ++TARGETS += libmix.a libmix++.a ++endif ++ ++all: $(TARGETS) + @echo "" + @echo Check the install location in the Makefile, and type 'make install'. + @echo You may also want to run './libtest' to see all functions work reliably. + @echo "Attention: libmix for C++ is now called libmix++[.so|.a]. The original libmix.[so|.a] name will be a plain C library." + @echo "" + +-libmix.so: mix/net.h ${AESOBJ} ${NETOBJ} ${MISCOBJ} +- ${GCC} ${CFLAGS} -shared ${AESOBJ} ${NETOBJ} ${MISCOBJ} -o libmix.so ${CLIB} ++libmix.so: $(OBJS_C) ++ $(CC) $(CFLAGS) $(LDFLAGS) -shared $^ -o $@ -Wl,-soname,$@ $(CLIB) + +-libmix.a: mix/net.h ${AESOBJ} ${NETOBJ} ${MISCOBJ} +- ${AR} -cr libmix.a ${AESOBJ} ${NETOBJ} ${MISCOBJ} +- ${RANLIB} libmix.a ++libmix.a: $(OBJS_C_A) ++ $(AR) -cr $@ $^ ++ $(RANLIB) $@ + +-libmix++.so: mix/net.h ${AESOBJPP} ${NETOBJPP} ${MISCOBJPP} +- ${GPP} ${CFLAGS} -shared ${AESOBJPP} ${NETOBJPP} ${MISCOBJPP} -o libmix++.so ${CLIB} ++libmix++.so: $(OBJS_PP) ++ $(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $^ -o $@ -Wl,-soname,$@ $(CLIB) + +-libmix++.a: mix/net.h ${AESOBJPP} ${NETOBJPP} ${MISCOBJPP} +- ${AR} -cr libmix++.a ${AESOBJPP} ${NETOBJPP} ${MISCOBJPP} +- ${RANLIB} libmix++.a ++libmix++.a: $(OBJS_PP_A) ++ $(AR) -cr $@ $^ ++ $(RANLIB) $@ + + libtest: libtest.o +- ${GPP} ${CFLAGS} -static -I. -L. libtest++.o -o libtest -lmix++ @LIBS@ ${CLIB} ++ $(CXX) $(CXXFLAGS) $(CCOPTS) -static -I. -L. $^ -o $@ -lmix++ $(CLIB) + + libtest.o: +- ${GPP} ${CFLAGS} -c libtest.c -o libtest.o +- ${GPP} ${CFLAGS} -c libtest.c -o libtest++.o +- +-aes/aes++.o: +- ${GPP} ${CFLAGS} -c aes/aes.c -o aes/aes++.o +- +-aes/cast-256++.o: +- ${GPP} ${CFLAGS} -c aes/cast-256.c -o aes/cast-256++.o +- +-aes/mars++.o: +- ${GPP} ${CFLAGS} -c aes/mars.c -o aes/mars++.o +- +-aes/saferp++.o: +- ${GPP} ${CFLAGS} -c aes/saferp.c -o aes/saferp++.o +- +-aes/twofish++.o: +- ${GPP} ${CFLAGS} -c aes/twofish.c -o aes/twofish++.o +- +-aes/rijndael++.o: +- ${GPP} ${CFLAGS} -c aes/rijndael.c -o aes/rijndael++.o +- +-aes/md5++.o: +- ${GPP} ${CFLAGS} -c aes/md5.c -o aes/md5++.o +- +-net/net++.o: +- ${GPP} ${CFLAGS} -c net/net.c -o net/net++.o +- +-net/net2++.o: +- ${GPP} ${CFLAGS} -c net/net2.c -o net/net2++.o +- +-misc/misc++.o: +- ${GPP} ${CFLAGS} -c misc/misc.c -o misc/misc++.o +- +-misc/exclude++.o: +- ${GPP} ${CFLAGS} -c misc/exclude.c -o misc/exclude++.o +- +-aes/aes.o: +- ${GCC} ${CFLAGS} -c aes/aes.c -o aes/aes.o +- +-aes/cast-256.o: +- ${GCC} ${CFLAGS} -c aes/cast-256.c -o aes/cast-256.o +- +-aes/mars.o: +- ${GCC} ${CFLAGS} -c aes/mars.c -o aes/mars.o +- +-aes/saferp.o: +- ${GCC} ${CFLAGS} -c aes/saferp.c -o aes/saferp.o +- +-aes/twofish.o: +- ${GCC} ${CFLAGS} -c aes/twofish.c -o aes/twofish.o +- +-aes/rijndael.o: +- ${GCC} ${CFLAGS} -c aes/rijndael.c -o aes/rijndael.o +- +-aes/md5.o: +- ${GCC} ${CFLAGS} -c aes/md5.c -o aes/md5.o +- +-net/net.o: +- ${GCC} ${CFLAGS} -c net/net.c -o net/net.o +- +-net/net2.o: +- ${GCC} ${CFLAGS} -c net/net2.c -o net/net2.o ++ $(CC) $(CCOPTS) $(CFLAGS) -c libtest.c -o libtest.o ++ $(CXX) $(CCOPTS) $(CXXFLAGS) -c libtest.c -o libtest++.o + +-misc/misc.o: +- ${GCC} ${CFLAGS} -c misc/misc.c -o misc/misc.o + +-misc/exclude.o: +- ${GCC} ${CFLAGS} -c misc/exclude.c -o misc/exclude.o ++%++.o: %.c ++ $(CXX) $(CCOPTS) $(CXXFLAGS) -fPIC -c $< -o $@ + +-install: mix/mix.h mix/net.h mix/aes.h mix/misc.h libmix.so libmix.a +- ${INSTALL} -d ${INSTALL_INCLUDES_IN}/mix/ +- ${INSTALL} -d ${INSTALL_LIBRARY_IN}/ +- ${INSTALL} -d ${INSTALL_MANPAGE_IN}/man3/ +- ${INSTALL} -m 0644 libmix.3 ${INSTALL_MANPAGE_IN}/man3/libmix.3 +- ${INSTALL} -m 0644 mix/misc.h ${INSTALL_INCLUDES_IN}/mix/misc.h +- ${INSTALL} -m 0644 mix/net.h ${INSTALL_INCLUDES_IN}/mix/net.h +- ${INSTALL} -m 0644 mix/aes.h ${INSTALL_INCLUDES_IN}/mix/aes.h +- ${INSTALL} -m 0644 mix/mix.h ${INSTALL_INCLUDES_IN}/mix/mix.h +- ${INSTALL} -m 0644 mix/lmconfig.h ${INSTALL_INCLUDES_IN}/mix/lmconfig.h +- ${INSTALL} -m 0755 libmix.so ${INSTALL_LIBRARY_IN}/libmix.so +- ${INSTALL} -m 0755 libmix.a ${INSTALL_LIBRARY_IN}/libmix.a +- ${INSTALL} -m 0755 libmix++.so ${INSTALL_LIBRARY_IN}/libmix++.so +- ${INSTALL} -m 0755 libmix++.a ${INSTALL_LIBRARY_IN}/libmix++.a ++%++.lo: %.c ++ $(CXX) $(CCOPTS) $(CXXFLAGS) -c $< -o $@ ++ ++%.o: %.c ++ $(CC) $(CCOPTS) $(CFLAGS) -fPIC -c $< -o $@ ++ ++%.lo: %.c ++ $(CC) $(CCOPTS) $(CFLAGS) -c $< -o $@ ++ ++install: mix/mix.h mix/net.h mix/aes.h mix/misc.h $(TARGETS) ++ ${INSTALL} -d $(DESTDIR)/$(includedir)/mix/ ++ ${INSTALL} -d $(DESTDIR)/$(libdir)/ ++ ${INSTALL} -d $(DESTDIR)/$(mandir)/man3/ ++ ${INSTALL} -m 0644 libmix.3 $(DESTDIR)/$(mandir)/man3/libmix.3 ++ ${INSTALL} -m 0644 mix/misc.h $(DESTDIR)/$(includedir)/mix/misc.h ++ ${INSTALL} -m 0644 mix/net.h $(DESTDIR)/$(includedir)/mix/net.h ++ ${INSTALL} -m 0644 mix/aes.h $(DESTDIR)/$(includedir)/mix/aes.h ++ ${INSTALL} -m 0644 mix/mix.h $(DESTDIR)/$(includedir)/mix/mix.h ++ ${INSTALL} -m 0644 mix/lmconfig.h $(DESTDIR)/$(includedir)/mix/lmconfig.h ++ ${INSTALL} -m 0755 libmix.so $(DESTDIR)/$(libdir)/libmix.so ++ ${INSTALL} -m 0755 libmix++.so $(DESTDIR)/$(libdir)/libmix++.so ++ifdef BUILD_STATIC ++ ${INSTALL} -m 0755 libmix.a $(DESTDIR)/$(libdir)/libmix.a ++ ${INSTALL} -m 0755 libmix++.a $(DESTDIR)/$(libdir)/libmix++.a ++endif + @echo "" + @echo "Installation complete." + @echo "" + + uninstall: +- rm -fr /usr/include/mix /usr/lib/libmix* /usr/local/man/man3/libmix.3 ++ rm -fr $(includedir)/mix $(libdir)/libmix* $(mandir)/man3/libmix.3 + + cleanobj: + rm -f ${AESOBJPP} ${NETOBJPP} ${MISCOBJPP} ${AESOBJ} ${NETOBJ} ${MISCOBJ} */core */*~ core *~ *.o libtest +--- a/configure.in ++++ b/configure.in +@@ -4,7 +4,6 @@ + AC_CONFIG_HEADER(mix/lmconfig.h) + + compileas="0" +-net2="1" + + dnl AC_ARG_WITH(libraries-as-c, + dnl [ --with-libraries-as-c Generate LibMix binaries with GCC ], +@@ -24,30 +23,33 @@ + dnl ] + dnl ) + +-AC_ARG_WITH(no-net2, +- [ --with-no-net2 Don't use net2 functions, don't require libnet/libpcap.], +- [ +- if test "x$withval" != "$xno" ; then +- net2="0" +- fi +- ] +-) ++AC_ARG_WITH([net2], ++ AS_HELP_STRING([--with-net2], [Use net2 functions from libnet/libpcap.])) ++AS_IF([test "x$with_net2" = "xyes"], [ ++ AC_DEFINE(LM_USE_NET2) ++ CLIB="-lnet-1.0 -lpcap" ++], [CLIB=""]) ++ ++AC_ARG_ENABLE([static], ++ AS_HELP_STRING([--enable-static], [Build static libs])) ++AS_IF([test "x$enable_static" = "xyes"], [ ++ BUILD_STATIC=1 ++ AC_SUBST(BUILD_STATIC) ++]) + + AC_PROG_CC + AC_MSG_CHECKING(accepted compiler flags) + if test $ac_cv_prog_gcc = yes; then +- CCOPTS='-I. -Wall -O3 -funroll-loops -ansi -D_LIBMIX_' ++ CCOPTS='-I. -Wall -ansi -D_LIBMIX_' + AC_MSG_RESULT(GNU CC/ANSI (good)) + else + CCOPTS='-I. -D_LIBMIX_' + AC_MSG_RESULT(crappy :P) + fi +- CFLAGS="$CCOPTS" + + AC_PROG_CXX + + CXAUTO="null" +-CLIB="" + + CCAUTO=$CC + CXAUTO=$CXX +@@ -60,10 +62,6 @@ + dnl CXAUTO=$CXX + dnl fi + +-if test $net2 = "1"; then +- AC_DEFINE(LM_USE_NET2) +- CLIB="-lnet -lpcap" +-fi + + if test $CXAUTO = "null"; then + AC_MSG_ERROR( *** Please use either ./configure --with-libraries-as-c +@@ -74,6 +72,11 @@ + AC_SUBST(CXAUTO) + AC_SUBST(AR) + AC_SUBST(CLIB) ++AC_SUBST(LDFLAGS) ++AC_SUBST(libdir) ++AC_SUBST(mandir) ++AC_SUBST(includedir) ++AC_SUBST(CCOPTS) + AC_CHECK_PROGS(AR, ar, @true) + AC_PROG_RANLIB + AC_PROG_INSTALL diff --git a/dev-libs/libmix/files/libmix-2.05-libnet.patch b/dev-libs/libmix/files/libmix-2.05-libnet.patch new file mode 100644 index 000000000000..a9866e221580 --- /dev/null +++ b/dev-libs/libmix/files/libmix-2.05-libnet.patch @@ -0,0 +1,27 @@ +--- a/mix/net.h.in ++++ b/mix/net.h.in +@@ -78,11 +78,11 @@ + #endif + #ifdef __cplusplus + extern "C" { +-#include ++#include + #include + } + #else +-#include ++#include + #include + #endif + +--- a/net/net2.c ++++ b/net/net2.c +@@ -260,7 +260,7 @@ + lm_libpcap_init(); + + rawpacket = (unsigned char *)pcap_next(pcap_fd, &hdr); +- (char *)rawpacket += pcap_l2offset; ++ *rawpacket += pcap_l2offset; + + ih = (struct lmip *)rawpacket; + switch(ih->pro) diff --git a/dev-libs/libmix/libmix-2.05-r7.ebuild b/dev-libs/libmix/libmix-2.05-r7.ebuild new file mode 100644 index 000000000000..9d54fe56def6 --- /dev/null +++ b/dev-libs/libmix/libmix-2.05-r7.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit autotools base multilib toolchain-funcs + +DESCRIPTION="Programs Crypto/Network/Multipurpose Library" +HOMEPAGE="http://mixter.void.ru/" +SRC_URI="http://mixter.void.ru/${P/.}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux" +IUSE="static-libs" + +S=${WORKDIR}/${PN}-v${PV} + +PATCHES=( + "${FILESDIR}"/${P}-fix-pattern.patch + "${FILESDIR}"/${P}-gentoo-r1.patch + "${FILESDIR}"/${P}-libnet.patch +) + +DOCS=( CHANGES ) + +src_prepare() { + base_src_prepare + + sed -i \ + -e 's/expf/libmix_expf/g' \ + -e 's/logf/libmix_logf/g' \ + aes/saferp.c || die + + eautoreconf +} + +src_configure() { + tc-export CC CXX + econf \ + $(use_enable static-libs static) \ + --without-net2 +} diff --git a/dev-libs/libmix/metadata.xml b/dev-libs/libmix/metadata.xml new file mode 100644 index 000000000000..6f49eba8f496 --- /dev/null +++ b/dev-libs/libmix/metadata.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/dev-libs/libmodbus/Manifest b/dev-libs/libmodbus/Manifest new file mode 100644 index 000000000000..62e8277867ec --- /dev/null +++ b/dev-libs/libmodbus/Manifest @@ -0,0 +1,8 @@ +AUX libmodbus-3.1.4-doc.patch 358 SHA256 c517c956d74d8d7949439d75e3bfda5aa7cea3a3eaa452395afc0a5be8a90925 SHA512 a73147873d0ddb3338608cb7bd4a44e6e333b46313e9326e7442b6b3c3fd4da97cbf93f8c92e517352d8828cc6ab6eb95a36e7fcaaa62a48774bc8f4a109b6ae WHIRLPOOL 1a609184ba96196f33d4c7ba4229911dccedb33cbe328838d29ff814ff135df117bf653cc5e960200043b674dccdfa65abcf5e8fe4d0840a03a9e6a7bff7c31b +DIST libmodbus-3.1.2.tar.gz 428224 SHA256 661e14f9dc904f3f1b034464ddaa5fd4b8472f8f5d1ea10a1148af85591b7ee9 SHA512 a9916bcb861f39a73ea952cc3ab58af2949a3dfbf0e964ce5327c2443b0b9d812f6b740b90aa062c106477d2d6a3badfba6b0cee0455e48484cbdb07bcf82e82 WHIRLPOOL 08bf516fd8c6131211952e2c3145b406d1f685021ae317337f5354b7d83b0143dba201e4986317fa3d2a42fb013b89b7ea4f4b66497ce3e5dcdd088ac720a938 +DIST libmodbus-3.1.4.tar.gz 471576 SHA256 c8c862b0e9a7ba699a49bc98f62bdffdfafd53a5716c0e162696b4bf108d3637 SHA512 63f73894b27704f5e5b3ca0a364cc366c5b5d24903bb24384155890cf06c0f8e5c707a435a38129402ff6628ef3d611dd0db82f840b79cf1d205ebed2ac5681c WHIRLPOOL 9d125733601e6fb01fbd3ad7a6af5c72e7f91fcb8e2890aa7455e44cfbceaf615c700f36ccf3a0c2f28395117ff7adfcb8cbef4375c1ba9739646aed77e3dbf5 +EBUILD libmodbus-3.1.2.ebuild 593 SHA256 06f8eca5ec2140e66ceeb48db08832204b95d4bb8211ebbfc8d3c775805d043d SHA512 d773f1c3d2d830b537b8434a9079043b8eaa8383f375d6bfadb2cdf558753846345411122b4a456a9a4eca114aafa58ef72d56bb63a44db7f0db9cd56e8c4955 WHIRLPOOL 9f7f8efa848ff81a512d4b616111bf2964508a7e4d6217ff910aef30e47df40280c7468075aa4c40946b308cae9bf6b29b98f9854a0216135a55332968c54277 +EBUILD libmodbus-3.1.4.ebuild 713 SHA256 50b96a267669cfb689c829041eeacfd80fa1e6192ecfb96c67eeeff1057061f1 SHA512 4e6f8918c5afc8f3982390db4b43b39dfa4d958fdb1574417d6bed7e4f76e8da323bf39e96b85076e1b5bcf3c8d31c2bfac2493ce1bd1dd1d7aba7fdd7ae1ab5 WHIRLPOOL 70c622488a4fa1b374a89bb34a5a4e913899ec5cdebbbbddd53a28125acfb66cf7ddd81b18e2817b17120257bbf07a4330bd986cba6d5d1c28d653f6fa34cc39 +MISC ChangeLog 2786 SHA256 bb5d20a893c77221f8f05ad78e8308a66a60d1871e10d2057d44185a54f6bab4 SHA512 7c24c68f6aedffeb46daab2bb3b06bef419c11d3e3eb2f60c83acde17ce2b188012844992f750199c2c7fba8623aa94610e93452c1cfc6e27f84379c221185a2 WHIRLPOOL c20a53af6a86a80797119aacfdba0dda027425f87251fd50990070cff65b6ef0336ff682a2c866b98a440dd4558a92bb3e6bb1b604d5cbfbc9df1d06494925b5 +MISC ChangeLog-2015 1803 SHA256 58c2599052a0ba42159b063f14226f657a5fd024afbe1cde23ea1110a2b316d7 SHA512 0a4d897982afb29428e1b38e88fbc1b2dc7db53b99d9a3b0bce1ed552545fcc4d9271d2af2c12cf10bead3262ff1e1c37b55654b34c701e0f327d90543e7f158 WHIRLPOOL 63b92acc2195c08623157113fced031300a5a427b111d5b610439c587e6d9c5b354820d9d5765cb704bc029dff36d12c27b9f60921e8fe3ab4d54e84a5e47713 +MISC metadata.xml 237 SHA256 ffb571839c57797d282263369646d2bba2662601a45f7bb3251bb97f716554a6 SHA512 ae2360aa6b1b00c67e0acea4935c02b64585b9a15e126fec9d5d99637021c542c0a495e5116205f3da287def46fa5b19cb1a7f3042c12c5f7a78d66d92fcb03f WHIRLPOOL 60d6da846c983457e038ea5ba3c0bf48f939c9586610985a14cac9772fd1d45d781a643abc16482f232f3028e44fe99fe1a382deaebf6589602fc244a4460e3f diff --git a/dev-libs/libmodbus/files/libmodbus-3.1.4-doc.patch b/dev-libs/libmodbus/files/libmodbus-3.1.4-doc.patch new file mode 100644 index 000000000000..310e44afd1cd --- /dev/null +++ b/dev-libs/libmodbus/files/libmodbus-3.1.4-doc.patch @@ -0,0 +1,11 @@ +--- libmodbus-3.1.4/Makefile.in ++++ libmodbus-3.1.4/Makefile.in +@@ -379,7 +379,7 @@ + pkgconfigdir = $(libdir)/pkgconfig + pkgconfig_DATA = libmodbus.pc + EXTRA_DIST = libmodbus.pc.in +-dist_doc_DATA = MIGRATION README.md ++dist_doc_DATA = MIGRATION README.md AUTHORS NEWS + SUBDIRS = src doc $(am__append_1) + all: config.h + $(MAKE) $(AM_MAKEFLAGS) all-recursive diff --git a/dev-libs/libmodbus/libmodbus-3.1.2.ebuild b/dev-libs/libmodbus/libmodbus-3.1.2.ebuild new file mode 100644 index 000000000000..c80fe87311cb --- /dev/null +++ b/dev-libs/libmodbus/libmodbus-3.1.2.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +DESCRIPTION="Modbus library which supports RTU communication over a serial line or a TCP link" +HOMEPAGE="http://libmodbus.org/" +SRC_URI="http://libmodbus.org/releases/${P}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="static-libs" + +src_configure() { + econf \ + --disable-silent-rules \ + $(use_enable static-libs static) +} + +src_install() { + emake install DESTDIR="${D}" + dodoc AUTHORS MIGRATION NEWS README.md + use static-libs || rm "${D}"/usr/*/libmodbus.la +} diff --git a/dev-libs/libmodbus/libmodbus-3.1.4.ebuild b/dev-libs/libmodbus/libmodbus-3.1.4.ebuild new file mode 100644 index 000000000000..03f13f3fbd1c --- /dev/null +++ b/dev-libs/libmodbus/libmodbus-3.1.4.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Modbus library which supports RTU communication over a serial line or a TCP link" +HOMEPAGE="http://libmodbus.org/" +SRC_URI="http://libmodbus.org/releases/${P}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="static-libs test doc" + +RDEPEND="" +DEPEND="doc? ( app-text/asciidoc + app-text/xmlto )" + +PATCHES=( "${FILESDIR}"/${P}-doc.patch ) + +src_configure() { + econf \ + --disable-silent-rules \ + $(use_enable test tests) \ + $(use_enable static-libs static) \ + $(use_with doc documentation) +} + +src_install() { + default + + use static-libs || rm "${D}"/usr/*/libmodbus.la +} diff --git a/dev-libs/libmodbus/metadata.xml b/dev-libs/libmodbus/metadata.xml new file mode 100644 index 000000000000..a535b8852829 --- /dev/null +++ b/dev-libs/libmodbus/metadata.xml @@ -0,0 +1,8 @@ + + + + +xmw@gentoo.org +Michael Weber + + diff --git a/dev-libs/libmoe/Manifest b/dev-libs/libmoe/Manifest new file mode 100644 index 000000000000..e01de8bbc2e2 --- /dev/null +++ b/dev-libs/libmoe/Manifest @@ -0,0 +1,8 @@ +AUX libmoe-1.5.8-gcc5.patch 1778 SHA256 f085d8f933c56e9f20b07d62ef66dd9eaa3114859843f1bdf2682decaf8d21b0 SHA512 f4eff3250af69aa6751ac953047ef23275e7d5f39c4b850f4f7637e17c8cbe85c7146c3aa7412bbdc089ae787b2a49c72b0afc321bef523efd27bbf1784ff447 WHIRLPOOL 51bf7524389d202704d4a842af11ea257bee4dd297a151d1ba151298a66b3567ddfebd798501927d49cbf9604b9bea1e53c51ebf838b58a22fa2d96a14e171b9 +AUX libmoe-1.5.8-gentoo.patch 304 SHA256 eb4f855dc3cc84638cabd9dfc38152861b21710c78353ccc311d8d203f2a8450 SHA512 59e598ba12f907306a57ab22ddae823b882f9ee5407c5bcf1115ea477c1c98783807de7a35620c38af9defdf14d76a34897bc95d605739de276b3f146ace847d WHIRLPOOL 266aea2d148c82fc79d2d7687a59f1d3ee1e4edc566022e0f964d31d3cd678563536769cba70645550dd4bbbe802addca8b2f4f6d483cb4186e6465a5cb5be23 +AUX libmoe-1.5.8-makefile.patch 625 SHA256 5219f0fb1cc55659c28b20708677260d4d79d3fcb50447f2f3cf0731feb5f6f3 SHA512 fa3a785363c4993b3b83bd94c624a2e6b8dababbccd6b2e522e0184d8d0563444c94cb1a67a155d45303081c1da234beeeded36382e582ee407eeceb7a3c630b WHIRLPOOL 27ddeebf7f139a6262eba7dae47aec7fc6499f7a0ae4ac0f61f4a1fa3bf26a8ebd8b466d6241f9235859a16d5bac4b36c156bca1ac7de9a7bba1141cb4e94a32 +DIST libmoe-1.5.8.tar.gz 1559398 SHA256 6a379a7bbd234783a323b85ba8782360391942530290805e37e02e02e656eeb7 SHA512 937e7e0f1d562c5ea1f93ec755d6125f389cffaa2989b4ec4c1c1b42fab927f1884e1dab2c65e1487f4d9fdb0f9ed306a7d32e13e8b24302837a9e7b5634449b WHIRLPOOL 2e514ff03dccc0528b3dd8877dde68397143e49ca83fa3b56a80992482ee1750e044a5c6170819dc3a2547b081822f5c3c78d00ba251964434d92c17b006910f +EBUILD libmoe-1.5.8-r3.ebuild 922 SHA256 e13b8a33dbb582d989ed1668eac56d95df3cb242225bc13f418ddde14b769433 SHA512 c3d4bceaeecf18285cd473ff67200a8a7395ec3a4f2c8da984c99c6b86d7df5f8dd9dc5b829cc19a0b3082eab2f383fee01d625c0c42c208f500748046ccf36f WHIRLPOOL 63d897c220cfcaabda23ca3da8e93d7bcb7c15703bbec68ad8cf91c88824a188be99147efef10e7eeca47f8f0e0fe39b905e5ea371b7510711fcf43aa7f563b2 +MISC ChangeLog 2777 SHA256 04480f8c37f8b1214496a4ea50244c7b2eca141cb34db6f73b30c418d4472872 SHA512 10fa366e8e760eefacdac4eeee0e9cc6697ef7184d63343a479e0e8f0c3cd02ae3f787bec91e86579a719a2883dcaec11e92e9ca05521ed58822859b453dd130 WHIRLPOOL b3a7d9c9e75ad6db463026d8f7d42aef85e2725630b78fafb497e4010d3f906ff0f391542c8b72019812aab09799225c69069f17151f3ec4c8df11c3f74e8211 +MISC ChangeLog-2015 3289 SHA256 6253c95f932922e0cea85d22d0cc415c397f34a5c646a07e54001223f7940edd SHA512 cb03ea1580f92f4b95aa30df16e024a6ea43eec75e06df6ec655637696a59fd2390dc17381a4861430cce783cdbfa51ab9359f4c575c148a74aaaa06e5eb61af WHIRLPOOL 61893209ddc4b992cfdcd7bcff9fe62c8f282c8ff0b322c4229c23b6f040e97a09942727ed2a2e7d15d34cf6aa7921b0cc70dc1920689f51dc11d171d2cd9b5b +MISC metadata.xml 230 SHA256 5fc421627b578ee2d1317320525119c0b406026597bb1d054f96254a241bf96a SHA512 74065bee639a38ecdef7c32280ed43a8f1627362cd8e97e714a09bcf116ae8bc4c61b2ab13c31bd02a22ae8a5a201263981ee519a0b6ba9df81a4d5f3cd94eb1 WHIRLPOOL b3c1363540645200abd5bf0b5b7fb3cae0b738bfd359f7b13b56d97650f9381fccede1e3f867dbc736461ee7c7906725a3c53eabd9ac99929d5c7c520a831082 diff --git a/dev-libs/libmoe/files/libmoe-1.5.8-gcc5.patch b/dev-libs/libmoe/files/libmoe-1.5.8-gcc5.patch new file mode 100644 index 000000000000..a990a37fe240 --- /dev/null +++ b/dev-libs/libmoe/files/libmoe-1.5.8-gcc5.patch @@ -0,0 +1,61 @@ +diff -urN b/iso2mb.c c/iso2mb.c +--- b/iso2mb.c 2015-07-06 21:38:49.129658661 +0000 ++++ c/iso2mb.c 2015-07-07 18:50:17.211540572 +0000 +@@ -513,11 +513,11 @@ + return wc; + } + +-mb_wchar_t ++__attribute__ ((gnu_inline)) __inline__ mb_wchar_t + mb_encode_to_wchar(mb_info_t *info) + MB_ENCODE_TO_WCHAR + +-mb_wchar_t ++__attribute__ ((gnu_inline)) __inline__ mb_wchar_t + mb_fetch_wchar(mb_info_t *info) + MB_FETCH_WCHAR + +diff -urN b/mb2iso.c c/mb2iso.c +--- b/mb2iso.c 2015-07-06 21:38:49.133658683 +0000 ++++ c/mb2iso.c 2015-07-07 19:07:47.583244156 +0000 +@@ -900,7 +900,7 @@ + return n; + } + +-size_t ++__attribute__ ((gnu_inline)) __inline__ size_t + mb_store_wchar(mb_wchar_t enc, mb_info_t *info) + MB_STORE_WCHAR + +diff -urN b/mb.h c/mb.h +--- b/mb.h 2015-07-06 21:38:49.133658683 +0000 ++++ c/mb.h 2015-07-07 18:50:17.211540572 +0000 +@@ -434,7 +434,7 @@ + } + + #ifdef __GNUC__ +-extern __inline__ mb_wchar_t mb_encode_to_wchar(mb_info_t *info) MB_ENCODE_TO_WCHAR ++extern __attribute__ ((gnu_inline)) __inline__ mb_wchar_t mb_encode_to_wchar(mb_info_t *info); + #else + extern mb_wchar_t mb_encode_to_wchar(mb_info_t *info); + #endif +@@ -449,7 +449,7 @@ + } + + #ifdef __GNUC__ +-extern __inline__ mb_wchar_t mb_fetch_wchar(mb_info_t *info) MB_FETCH_WCHAR ++extern __attribute__ ((gnu_inline)) __inline__ mb_wchar_t mb_fetch_wchar(mb_info_t *info); + #else + extern mb_wchar_t mb_fetch_wchar(mb_info_t *info); + #endif +@@ -552,7 +552,7 @@ + } + + #ifdef __GNUC__ +-extern __inline__ size_t mb_store_wchar(mb_wchar_t enc, mb_info_t *info) MB_STORE_WCHAR ++extern __attribute__ ((gnu_inline)) __inline__ size_t mb_store_wchar(mb_wchar_t enc, mb_info_t *info); + #else + extern size_t mb_store_wchar(mb_wchar_t enc, mb_info_t *info); + #endif + + diff --git a/dev-libs/libmoe/files/libmoe-1.5.8-gentoo.patch b/dev-libs/libmoe/files/libmoe-1.5.8-gentoo.patch new file mode 100644 index 000000000000..cf436c11577b --- /dev/null +++ b/dev-libs/libmoe/files/libmoe-1.5.8-gentoo.patch @@ -0,0 +1,9 @@ +diff -Naur libmoe-1.5.8.orig/altmalloc.c libmoe-1.5.8/altmalloc.c +--- libmoe-1.5.8.orig/altmalloc.c 2002-02-01 22:25:10.000000000 +0900 ++++ libmoe-1.5.8/altmalloc.c 2008-11-19 08:44:34.000000000 +0900 +@@ -1,3 +1,5 @@ ++#include ++ + #include "altmalloc.h" + + alt_allocater_t alt_malloc = malloc; diff --git a/dev-libs/libmoe/files/libmoe-1.5.8-makefile.patch b/dev-libs/libmoe/files/libmoe-1.5.8-makefile.patch new file mode 100644 index 000000000000..2cdfa1a24c22 --- /dev/null +++ b/dev-libs/libmoe/files/libmoe-1.5.8-makefile.patch @@ -0,0 +1,23 @@ +diff --git a/Makefile b/Makefile +index 1bae380..605d674 100644 +--- a/Makefile ++++ b/Makefile +@@ -72,8 +72,7 @@ AR=ar + all: ${INSTLIBA} mbconv mbconv.man + + mbconv: mbconv.c ${ALL} +- ${CC} ${CF} -o $@ $< -L. -lmoe +- ++ ${CC} ${CF} ${LDFLAGS} -o $@ $< -L. -lmoe + + ${DEST}.so: ${DEST}.so.${VER}.${RELEASE} + ln -sf $< $@ +@@ -116,7 +115,7 @@ ${BTRI_Cs}: %.c: %.mk_btri.c mk_btri + ./mk_btri <$< >$@-new && mv $@-new $@ + + mk_btri: btri.c btri.h altmalloc.o +- ${CC} ${CF} -DMAIN -o $@ $< altmalloc.o ++ ${CC} ${CF} ${LDFLAGS} -DMAIN -o $@ $< altmalloc.o + + mbconv.man: mbconv.pod + pod2man --section=${MANSECT} --center=' ' $< >$@ diff --git a/dev-libs/libmoe/libmoe-1.5.8-r3.ebuild b/dev-libs/libmoe/libmoe-1.5.8-r3.ebuild new file mode 100644 index 000000000000..01e7722e7012 --- /dev/null +++ b/dev-libs/libmoe/libmoe-1.5.8-r3.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit toolchain-funcs + +DESCRIPTION="Multi octet character encoding handling library" +HOMEPAGE="http://pub.ks-and-ks.ne.jp/prog/libmoe/" +SRC_URI="http://pub.ks-and-ks.ne.jp/prog/pub/${P}.tar.gz" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="amd64 ppc sparc x86" +IUSE="" + +RDEPEND="dev-lang/perl" +DEPEND="${RDEPEND}" + +HTML_DOCS=( libmoe.shtml ) +PATCHES=( + "${FILESDIR}/${P}-gentoo.patch" + "${FILESDIR}/${P}-makefile.patch" + "${FILESDIR}/${P}-gcc5.patch" # taken from Debian +) + +src_prepare() { + default + + sed -i \ + -e "/^PREFIX=/s:=.*:=${EPREFIX}/usr:" \ + -e "/^LIBSODIR=/s:=.*:=\$\{PREFIX}/$(get_libdir):" \ + -e "/^MANDIR=/s:=.*:=\$\{PREFIX}/share/man:" \ + -e "/^CF=/s:=:=${CFLAGS} :" \ + -e "/^LF=/s:=:=${LDFLAGS} :" \ + -e "s:=gcc:=$(tc-getCC):" \ + -e "/^AR=/s:=ar:=$(tc-getAR):" \ + Makefile || die +} diff --git a/dev-libs/libmoe/metadata.xml b/dev-libs/libmoe/metadata.xml new file mode 100644 index 000000000000..c921b96adf6c --- /dev/null +++ b/dev-libs/libmoe/metadata.xml @@ -0,0 +1,8 @@ + + + + + cjk@gentoo.org + Cjk + + diff --git a/dev-libs/libmongo-client/Manifest b/dev-libs/libmongo-client/Manifest new file mode 100644 index 000000000000..e4f8e7420648 --- /dev/null +++ b/dev-libs/libmongo-client/Manifest @@ -0,0 +1,7 @@ +DIST libmongo-client-0.1.7.tar.gz 122495 SHA256 820d98d1ee06070aa51861d1583dd5b3556b6dbca6fecdc1c91eb3c18360d2d9 SHA512 c8250ee04c01650b624641d8c3e0cb81e17bdc12d1d64ccb173c15db58d39953fec39dcf5b92ec91378b93574319ab47bb523d1c50594cbc89479c65d219b5ee WHIRLPOOL 8a7096b9ba6a43013307ea946edab483bf904794e3d61ab6dc4be4669cc284acabdc8d7bfe0bd5e6d4f3087123bbff9ddb787b90df54003febc1adf102f001bb +DIST libmongo-client-0.1.8.tar.gz 127648 SHA256 571004930ffa7dd23b760f99e58119ce12effab1d7b21fa3ec73e70bd0ecb4f3 SHA512 b013898768306ef053f8010b14b353c42af6505ec33d4384602e690d97e9272d48ea134a84f79394073b01ecc05beab3e2e95dbfc0c3603b09fac4b0f72c1ae0 WHIRLPOOL f66c4a5cfb9075ebfebc549e6472f9628a3f761766dfcd24abfd0e82a575bddaf4b07f35b1871d34a903ee9cebb129efdd3a8719a931663f326beef0e92af5db +EBUILD libmongo-client-0.1.7.ebuild 699 SHA256 e226f32bd23c92ddab701eb1ef707fc8f498897cf49f81319b8396e24403171b SHA512 4e7e75ea0502dc7537c9169cfcb335cdab3d09b0d612c0a29dc7703acf2fe92a37cbc7c498ce5b8046969d53526d1415a2aaa05cb27ab5ed372fd370590e57eb WHIRLPOOL 6ab3dcd016232910ce8cbbf8fb88a509bc680c952a3cd639640f1a66ac6e31900b702b0902ceeee848bfa1a5eeb19fa5da8b90c051430526485e695fbdf43fa9 +EBUILD libmongo-client-0.1.8.ebuild 750 SHA256 d7484b59442332d1872bd4d6d9e1e63c605b294d964fdbeb6bbae928ad26d193 SHA512 5bd3f7d0a863f06701a3e5f5138504d5ef5639f99921d42e254f2788c4dbbe4b1a52a5113654ab491844e2e4a71f8134b9e2c27034a87a17ce9c80e91a99c8f9 WHIRLPOOL 99ec138937f9cf584ee8e43e7e30d31dcc286a1a73ff265e0660c50026e9ef1a6bd978925e91c959ad222a7dd2efbc9f884d4349829e686eebf7a3638abe6f1c +MISC ChangeLog 2514 SHA256 3aebbc92217588d1248048c737f586670e8eadc5b3f5a48b73e11920c0647a22 SHA512 b12f7d94728b20c923ffb89c0136d6b9b429dca965158e8b1cb96e8d77d399874cf3afa5f31ae4d1a4636fee94e4947dd7fbddab628c1258da4f5bcb2f88549b WHIRLPOOL 3e8ec014129d6f25c86cd04902e61113f8fd4da1ef001c2a7e653666f87003244ba9d90495c86b35a5918fe14c19971c6ce3a50bdb973abce9110167aaf07ded +MISC ChangeLog-2015 1033 SHA256 8db7db5f4d3f906aa4de405039896ae9b8d68a4423f144712e6daba7117fa9e3 SHA512 b9eee57715454ae6cbbf3e7b50ef1d7be1a5ad04d492861fb8aac602b9fa2b84c676de56d21287471b82d92e228ad0132d3cc0ce9974cfcbc16a88b31d8f5358 WHIRLPOOL 052864cfdc46e210695d524ed41ac9ba904ab2c21dd581a870e77dfb7b5a6119e7c7c7d8c136a8e8aba8582846ea97c67246211146c73db28d0f7484c32f9eb9 +MISC metadata.xml 723 SHA256 9290462c426bb368eb0d85ec165b6dcf71c1688101ac5895082cb7a99e329e6c SHA512 9e46ff8dc28f4f286bfeb8ae271f09e63c26290fe8938fd18dd8781c5fa12126afc901ddaae719eebcaf952cbd5eff2bc8c64b771e4e0cb92947e98e6bebe9da WHIRLPOOL 4c4e49df0eaf6d32d7fb24ba6218a2f8aff1c5afb65a286159f85f946faba626d57261b41a1bb2acd957821136ed116e7d9b275c7fea0c6c5591b8836eb40c5b diff --git a/dev-libs/libmongo-client/libmongo-client-0.1.7.ebuild b/dev-libs/libmongo-client/libmongo-client-0.1.7.ebuild new file mode 100644 index 000000000000..eada1d63f64d --- /dev/null +++ b/dev-libs/libmongo-client/libmongo-client-0.1.7.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils autotools + +DESCRIPTION="The alternative C driver for MongoDB" +HOMEPAGE="https://github.com/algernon/libmongo-client" +SRC_URI="https://github.com/algernon/${PN}/archive/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 arm hppa x86" +IUSE="doc" + +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen ) + virtual/pkgconfig" +RDEPEND=" + dev-libs/glib" + +S=${WORKDIR}/${PN}-${P} + +src_prepare() { + eautoreconf +} + +src_compile() { + default + use doc && emake DESTDIR="${D}" doxygen +} + +src_install() { + default + find "${ED}" -name '*.la' -delete + use doc && dohtml -r docs/html/* +} diff --git a/dev-libs/libmongo-client/libmongo-client-0.1.8.ebuild b/dev-libs/libmongo-client/libmongo-client-0.1.8.ebuild new file mode 100644 index 000000000000..8cbff13f22c6 --- /dev/null +++ b/dev-libs/libmongo-client/libmongo-client-0.1.8.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit autotools + +DESCRIPTION="The alternative C driver for MongoDB" +HOMEPAGE="https://github.com/algernon/libmongo-client" +SRC_URI="https://github.com/algernon/${PN}/archive/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0/0.5.0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~x86" +IUSE="doc" + +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen ) + virtual/pkgconfig" +RDEPEND="dev-libs/glib" + +S="${WORKDIR}/${PN}-${P}" + +src_prepare() { + default + + eautoreconf +} + +src_compile() { + default + + use doc && emake DESTDIR="${D%/}" doxygen +} + +src_install() { + use doc && local HTML_DOCS=( docs/html/. ) + default + + find "${ED}"usr/lib* -name '*.la' -delete || die +} diff --git a/dev-libs/libmongo-client/metadata.xml b/dev-libs/libmongo-client/metadata.xml new file mode 100644 index 000000000000..6b8d41f029c2 --- /dev/null +++ b/dev-libs/libmongo-client/metadata.xml @@ -0,0 +1,17 @@ + + + + + This is an alternative C driver for MongoDB, with slightly different + goals than the official one: + libmongo-client is meant to be a stable (API, ABI and quality alike), + clean, well documented and well tested shared library, that strives + to make the most common use cases as convenient as possible. + + + Reflect ABI of libmongo-client.so. + + + algernon/libmongo-client + + diff --git a/dev-libs/libmowgli-glib/Manifest b/dev-libs/libmowgli-glib/Manifest new file mode 100644 index 000000000000..b941fdefcb50 --- /dev/null +++ b/dev-libs/libmowgli-glib/Manifest @@ -0,0 +1,5 @@ +DIST libmowgli-glib-0.1.tar.bz2 64029 SHA256 92766ebde1569ead3aa43dfe13ba354ae3480ac02137361fb7e6da11dc67522e SHA512 4ea1163f24cf70200f9f9b7616209814a8337bf3fb14342eeba1ae92855604f017ac43b66472c8673a515a57447ffe02e5952b364c33a2f1fc0494942757059d WHIRLPOOL fc31e940216c87f15d8188bd5c5bf6ff34bd9a599ce428e4e475b9e64ceeae1461732c2ae6308e4ce4055783d38854691b32fb12f0c9ece2ea07bff10e98978f +EBUILD libmowgli-glib-0.1.ebuild 443 SHA256 7cd9eed1f944d7538e18f836ffc1b6b8689626178c7ea089cf1ff38a9737a632 SHA512 75cfeb6a504bac4a79e2762e848d76a4768e9365685b5027121f25d8e4819da4adc4c0d5bbc4697c4b0cf60195d67c4cf05b51e5ddd50c6b74934065b05d3642 WHIRLPOOL 344f796fa7da5cca5292209aa112e3b9df3509e670bac23f4c2124d181648efae5922ee5785e153713e2707cbcc5528fab1b112c7de6253b0683db9c42620ca8 +MISC ChangeLog 2462 SHA256 1c3b3c120de5b5601d338656c22b6d5e50b0f8afda12d0f958539112d0643211 SHA512 562a6a5a63873524092374e92765faff3c3bfe767a081be86f396b398045bafa31a72c9851d374521f2bae44526e23201df940e0fc4c78119ccd84213249ab1f WHIRLPOOL b6cca78995fa504ba9922fc6ff0f49f78d87604a5fcf5958c9c7435041f5ab22057e6b36987e296e1468e6bcbf11dcad59729201a7af52a3342ef5b759b3bc21 +MISC ChangeLog-2015 628 SHA256 41b59114d99d226cd166dbe99dd84d7d3b202a6495d23f1cd60a9c06564607c1 SHA512 da9a9cc775eddb45e5d4bdd2e0c2ba658bf01ed16af2b8e95215053b9976093b86255f8fe829df0ef5ff591d35e162c2af364be5074d2bb2fb0556f39976332a WHIRLPOOL c59ad60b585130994443a0901048e0121dc3b081e641fd280e70e9733ac9bd9b12dfd5fbb0392297882537d66a042d2bc0d1aea8def56caa73c9833d4cd176bd +MISC metadata.xml 230 SHA256 f7a78d9d276a21ba84562ae840f59d704f6c2c47e39724cfd847cdce5b5163bc SHA512 2a716658ed703cd58cee6970a94437659f5c541af4a7e20920bde5f45e1c8b0d2f980114aac066e2a2b81c520990a884cbd37095d420c617a50f6c0d9de73b8b WHIRLPOOL b2d1f87456a3d09d3c9b4a8860a7fc164e40284b0b44c558e078fc4f07395898c96ac5b6b03057812ee09e1a7ee4fe9cd573c9a582762ace10a2a8db49f21bfa diff --git a/dev-libs/libmowgli-glib/libmowgli-glib-0.1.ebuild b/dev-libs/libmowgli-glib/libmowgli-glib-0.1.ebuild new file mode 100644 index 000000000000..6eae2d6b8e67 --- /dev/null +++ b/dev-libs/libmowgli-glib/libmowgli-glib-0.1.ebuild @@ -0,0 +1,18 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +DESCRIPTION="GLib bridge for libmowgli-2 eventing" +HOMEPAGE="https://github.com/nenolod/libmowgli-glib" +SRC_URI="http://tortois.es/~nenolod/distfiles/${P}.tar.bz2" +IUSE="" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +RDEPEND="dev-libs/glib:2 + dev-libs/libmowgli:2" +DEPEND="${RDEPEND} + virtual/pkgconfig" +DOCS="README.md" diff --git a/dev-libs/libmowgli-glib/metadata.xml b/dev-libs/libmowgli-glib/metadata.xml new file mode 100644 index 000000000000..ac607964a702 --- /dev/null +++ b/dev-libs/libmowgli-glib/metadata.xml @@ -0,0 +1,7 @@ + + + + + nenolod/libmowgli-glib + + diff --git a/dev-libs/libmowgli/Manifest b/dev-libs/libmowgli/Manifest new file mode 100644 index 000000000000..77265a334705 --- /dev/null +++ b/dev-libs/libmowgli/Manifest @@ -0,0 +1,10 @@ +DIST libmowgli-1.0.0.tar.bz2 105929 SHA256 8ea0dfd606b0ac280747c9a5f93ca940c23c7367dee0776715c87623ae6624fb SHA512 f3f7f9a527cb3f6f24c23d0585b55509d8721023c670df9e59a7f5667d4e12caf17ed71773cd1283a3ebfada465824653f654aa29d857c076875d36b2a824313 WHIRLPOOL 209cb5a81003eac9952a771a0afc08073f242566e28d378432a0f172b8b195ccfc03b1a8f85949f1d22063c1519afd48b6263de7e4403a14c365de94d5f8f83e +DIST libmowgli-2.0.0.tar.gz 200771 SHA256 7c5a94082899d055fc9a02b94e2658b42616fdb98e58e9a71165c07b6f5cceba SHA512 efccd93824c116fa8440f1d327382997f7d752d007dc9fad650ef1935fe0cee1a3fa1c645442a3f3f0f6d9f2916f66882e537a1692c494303fc0bf062df51e3a WHIRLPOOL 75c5698e1ccc5e1895d8d5f35d00347ceaf5424a621ecae399ebfe6537bf591edc21d0e42f7923704e3c857cc7349447d514605bb1d3e0e78f136e530933e8ed +DIST libmowgli-2.1.3.tar.gz 227742 SHA256 b7faab2fb9f46366a52b51443054a2ed4ecdd04774c65754bf807c5e9bdda477 SHA512 bf976cf8b8bf0efaf7565230f42147adcdbe993339f58f907f5005eddf178d936cffb6cdbba59e38813854f30414856a1b9f8bdc972ea2f59cb08987ee336533 WHIRLPOOL d22e33fa4741282779f2ae341e5cdd3ecf18a5d9812e708a5ddd0df51f7a30fdc5b4c8f611187f894d2975f9a013d8f841268be75369abba56407a9d66c50d7f +EBUILD libmowgli-1.0.0.ebuild 592 SHA256 9437e01cbf5a9a678f5e3690b3605f0be997f5386e43a635ec0be0b423190401 SHA512 9d9ea4ee4239c5c8be7fa37e653afc06a7d61fd2561b6dc7940e39af689cc1e6f64ac774ef00c6f2c3c8a95b6d47fc41c5d5ed64fecb7472b74b6e2ae2169567 WHIRLPOOL 174a5f13a2a0c26e4fe398193d55567a60fd6324a86875e1e2cd61f6690cca9cbd61e72665e05b22bcd5c9de4105aa6c32d7f3801bf4a0434c9d6b0bcc415894 +EBUILD libmowgli-2.0.0-r1.ebuild 801 SHA256 58b487cf63c91c587de52eee188013110b227b59e3624ae9bc7b39b67d30a3eb SHA512 5dd401336088ef6fd66cfd62bb5da31885e13030d67825e636c84c8ac72fd07e595ede030b0449d7b9433469bb279145ea8073b36364d618e6fcbf1ef39b60f4 WHIRLPOOL 22a219cec9dbe6330ee5505bf1da53500ff7b34798ab76ad7430c2396626e268a54856f0810015c17459251413699427aaf24831574dfccf790609af76fc4a3f +EBUILD libmowgli-2.1.3.ebuild 801 SHA256 8e602791ab6beeea43522502f7b26065641db9844aeb174098a39fe35069d435 SHA512 800bf7527324edf31827105316ce965abae9dcb9e283ab4c3810af13ba74e41fc9a5344646991fce235504588563c23282a15d6c079d0e246117dba9033e4759 WHIRLPOOL 2d375b0efb4b1b6d385b3429168f14509579fd25c8a8fdd257b55111440dfb6f952620ee8d979eb3c0e13487c8243b03bf4d4f90341ecda17475cb0e68d87508 +EBUILD libmowgli-9999.ebuild 714 SHA256 bc032abe21ea327ba8095f3250f5b1977b41484201f64cfa1dfc9af31eacac4a SHA512 b5363b8374ffe5a0fd1332bc9b1a7a2aa576e99ae6e92653562f5fcf67df11e5dd5cdb28df539dd2d205389ffdf977dbf9d3f6f7b29776e8095cec8828c574b8 WHIRLPOOL 75237c03dde6ddd0acaba96e19fdc8d548e494b90c83ca37f57427c4ef9cac987c0857713c1c70f3afd296284e25d82c6b5c198b21d7e2de4ecc575884279167 +MISC ChangeLog 3129 SHA256 63e2dd34dbcb232fe7b33e7a7acc1cd529266b7f315efe983a961f428e32c45f SHA512 9659f8f9110edebc93609473a298a765359907dd4a0e0d422b8007eaa4bd3d634a2314a2034b11b5eb44e0471d59e1b5b2215278527edc43b9c11036ea6e7ffc WHIRLPOOL 9d49199aeb020bfaea16a381f4782dd19d3b42b2931cce1f0f9d456bb323c1c1e6c63e4018f92e9fb425bdd1d8e3db6b90b8c0a0f13c2ffc95b1f67480f04956 +MISC ChangeLog-2015 11233 SHA256 6f4e41e71beff4040b41fb3c44c9a982deb3ea22f2be4be6f8022f88ebaa48aa SHA512 0a5f01c9af7b4cab72e476fc3bf9173b04e915c771e83d53373bba2775305ccbf6f244a47b3db81c8164318b549af371a479d7dcaf76ab0ca04fc443ba15de57 WHIRLPOOL de435c6730c6729b2bd4b44da87407019efc95fefef79320a330cf56631729c4a3733e62c91d9b8a28be98c7bd385337a58a86e5e526fb8c54d158135c852767 +MISC metadata.xml 364 SHA256 19ca2de0587d9de7056c7d626c3276657080124d7a64fb55349d49403677fe32 SHA512 dd547ca4323b0a3ed2d731ab482159ffdb22158bede172abcebff3460e20f284088659311c954919ce5f87e3fe6f90acce3c635612b7e0ca43ddfd85bc608843 WHIRLPOOL 8669a21e2896fa8208ed84ec2c99c090704c104c6f76c71d8b5cb4433b2184f7126de902235f013f140d22c9248b39429b23bae6f66f4bbbd0e0411a335ea966 diff --git a/dev-libs/libmowgli/libmowgli-1.0.0.ebuild b/dev-libs/libmowgli/libmowgli-1.0.0.ebuild new file mode 100644 index 000000000000..cb7389cc110e --- /dev/null +++ b/dev-libs/libmowgli/libmowgli-1.0.0.ebuild @@ -0,0 +1,18 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=3 + +DESCRIPTION="High-performance C development framework. Can be used stand-alone or as a supplement to GLib" +HOMEPAGE="http://atheme.org/projects/libmowgli.html" +SRC_URI="http://distfiles.atheme.org/${P}.tar.bz2" +IUSE="" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ~ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc AUTHORS README doc/BOOST +} diff --git a/dev-libs/libmowgli/libmowgli-2.0.0-r1.ebuild b/dev-libs/libmowgli/libmowgli-2.0.0-r1.ebuild new file mode 100644 index 000000000000..84028f134be9 --- /dev/null +++ b/dev-libs/libmowgli/libmowgli-2.0.0-r1.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +DESCRIPTION="Useful set of performance and usability-oriented extensions to C" +HOMEPAGE="http://atheme.org/projects/libmowgli.html" +SRC_URI="http://atheme.org/downloads/${P}.tar.gz" +IUSE="libressl ssl" + +LICENSE="BSD-2" +SLOT="2" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +RDEPEND="ssl? ( + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) +)" +DEPEND="${RDEPEND}" +DOCS="AUTHORS README doc/BOOST doc/design-concepts.txt" + +src_configure() { + # disabling SSL is "broken" in 2.0.0 so we have to use this hack till 2.0.1 + use !ssl && myconf="--with-openssl=/dev/null" + econf ${myconf} +} diff --git a/dev-libs/libmowgli/libmowgli-2.1.3.ebuild b/dev-libs/libmowgli/libmowgli-2.1.3.ebuild new file mode 100644 index 000000000000..bf373213c275 --- /dev/null +++ b/dev-libs/libmowgli/libmowgli-2.1.3.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Useful set of performance and usability-oriented extensions to C" +HOMEPAGE="https://github.com/atheme/libmowgli-2" +SRC_URI="https://github.com/atheme/libmowgli-2/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="2" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="libressl ssl" + +RDEPEND="ssl? ( + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + ) + !=dev-libs/libmowgli-2.1.0" # Bug 629644 +DEPEND="${RDEPEND}" + +DOCS=( AUTHORS README doc/BOOST doc/design-concepts.txt ) +S="${WORKDIR}/${PN}-2-${PV}" + +src_configure() { + econf \ + $(use_with ssl openssl) +} diff --git a/dev-libs/libmowgli/libmowgli-9999.ebuild b/dev-libs/libmowgli/libmowgli-9999.ebuild new file mode 100644 index 000000000000..9a22f89057f1 --- /dev/null +++ b/dev-libs/libmowgli/libmowgli-9999.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit git-2 + +DESCRIPTION="Useful set of performance and usability-oriented extensions to C" +HOMEPAGE="http://atheme.org/projects/libmowgli.html" +EGIT_REPO_URI="https://github.com/atheme/libmowgli-2.git" +IUSE="libressl ssl" + +LICENSE="BSD-2" +SLOT="2" +KEYWORDS="" +RDEPEND="ssl? ( + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) +)" +DEPEND="${RDEPEND}" +DOCS="AUTHORS README doc/BOOST doc/design-concepts.txt" + +src_configure() { + # disabling SSL is "broken" in 2.0.0 so we have to use this hack till 2.0.1 + use !ssl && myconf="--with-openssl=/dev/null" + econf ${myconf} +} diff --git a/dev-libs/libmowgli/metadata.xml b/dev-libs/libmowgli/metadata.xml new file mode 100644 index 000000000000..ec4650dd7673 --- /dev/null +++ b/dev-libs/libmowgli/metadata.xml @@ -0,0 +1,12 @@ + + + + + wadecline@hotmail.com + Wade Cline + + + proxy-maint@gentoo.org + Proxy Maintainers + + diff --git a/dev-libs/libmspack/Manifest b/dev-libs/libmspack/Manifest new file mode 100644 index 000000000000..1f3cc0a17de0 --- /dev/null +++ b/dev-libs/libmspack/Manifest @@ -0,0 +1,5 @@ +AUX libmspack-0.5_alpha-CVE-2017-6419.patch 1483 SHA256 4b3ba5b72796af2a442bb0a01a09d6f19a4cc1544c84f505b9c50d974262e9b4 SHA512 b6aafe82630d3bb1254fcce9a8bc528b0f375a2e7eec5f729e04c2d9816feb23ba12a0275efcf5ced6578789c4ef83b4364104b4cc35c2c146f4fb527c8dbf4a WHIRLPOOL f34e90557d6c01827c032ad9067b7d1d0072f9cd4b49d99c3d6968e30e0d2d64c5a4e405fa5ff93d483268a1ee2dd912ef4e8091ef4265ef90eed0447416646d +DIST libmspack-0.5alpha.tar.gz 654193 SHA256 8967f275525f5067b364cee43b73e44d0433668c39f9376dfff19f653d1c8110 SHA512 6d4efa0f43c43185ef91c97c1518aa70f09109d7332cda7e12019e146ec9cb0f2065fb1b57683b48bae9a7eaf8e82eb94096644c6d25c56d45878f630b719231 WHIRLPOOL fcbbbdee1ce4c75222767ad7ce3e16d18c3fbf1c7cb60170a9cad51647e3500e11c458f7a65e8c2e0dccfb8a8e3981f13252ac26fd9edce6f633381b77410faf +EBUILD libmspack-0.5_alpha-r1.ebuild 1056 SHA256 8a72b6596b49c1983142923a489d396737bf24f8fd8ec103311aa681889d7ded SHA512 df255a8f2895b667e46acb21586f7101cbb59d9dff1575a537ce31bbaac7c1d5316ca37ea58c953c1c7854929cea6e5314d5287b915b19cbd8bc943d3f1c2182 WHIRLPOOL c0ce9ca8a6e62e50574c14ae4b2cf4d56fe405d448ae9e6fcdb82bbb3df008aea0aa0763f23b2bdc9d0ae236b8995e26e3c964508956694c84b727134137765f +EBUILD libmspack-0.5_alpha.ebuild 1001 SHA256 e3ba99982cb2b9704552a2805b912d6c6be5bb1a74c33770609bcd0bdaf30a73 SHA512 04e51296ad4a50665ad8df5d020337c75667f7525412b08356aede88c5b79bfd102613ba5f7a7fd26adbb918a4d78e280f4977949dfcc59a492613ceba1114ed WHIRLPOOL 55f3edd5aea6e803a8c3c70c310d905a8a76e314ad2ecbfce453d8438435512e2b5cdb04d9dcbdff54b9d59915b77e0018d46cc1a9e3fdd4a49f3ef902a8c9f0 +MISC metadata.xml 269 SHA256 b0e50e7006e04a696bc946ae45550e2bb2d59f449f22ca6a2eade72adb0a927f SHA512 753992cc0fe22a630515becd9f12d80c9929c104521232d87da5fb369c1e3d2a86080d1d54ed1483b54f368882a7a3854a151c7779c5a3ce2aabb06b6a840c2a WHIRLPOOL e9ced1f41b584ec2f6653cbc62c86391fd9306e5f79347bc9d6e82956a7d069177ff5c2e5fc471a4097984889b22fdad936210b3bcd0682327c6aaafb11877b3 diff --git a/dev-libs/libmspack/files/libmspack-0.5_alpha-CVE-2017-6419.patch b/dev-libs/libmspack/files/libmspack-0.5_alpha-CVE-2017-6419.patch new file mode 100644 index 000000000000..1b81fdcbfcd4 --- /dev/null +++ b/dev-libs/libmspack/files/libmspack-0.5_alpha-CVE-2017-6419.patch @@ -0,0 +1,41 @@ +From a83773682e856ad6529ba6db8d1792e6d515d7f1 Mon Sep 17 00:00:00 2001 +From: Mickey Sola +Date: Wed, 29 Mar 2017 14:55:26 -0400 +Subject: [PATCH] fixing potential OOB window write when unpacking chm files + +--- + libclamav/libmspack-0.5alpha/mspack/lzxd.c | 11 +++++++++-- + libclamav/libmspack.c | 6 +++++- + 2 files changed, 14 insertions(+), 3 deletions(-) + +diff --git a/libclamav/libmspack-0.5alpha/mspack/lzxd.c b/libclamav/libmspack-0.5alpha/mspack/lzxd.c +index 2281e7b9d..45105a583 100644 +--- a/mspack/lzxd.c ++++ b/mspack/lzxd.c +@@ -766,8 +766,13 @@ int lzxd_decompress(struct lzxd_stream *lzx, off_t out_bytes) { + case LZX_BLOCKTYPE_UNCOMPRESSED: + /* as this_run is limited not to wrap a frame, this also means it + * won't wrap the window (as the window is a multiple of 32k) */ ++ if (window_posn + this_run > lzx->window_size) { ++ D(("match ran over window boundary")) ++ return lzx->error = MSPACK_ERR_DECRUNCH; ++ } + rundest = &window[window_posn]; + window_posn += this_run; ++ + while (this_run > 0) { + if ((i = i_end - i_ptr) == 0) { + READ_IF_NEEDED; +@@ -888,8 +893,10 @@ void lzxd_free(struct lzxd_stream *lzx) { + struct mspack_system *sys; + if (lzx) { + sys = lzx->sys; +- sys->free(lzx->inbuf); +- sys->free(lzx->window); ++ if(lzx->inbuf) ++ sys->free(lzx->inbuf); ++ if(lzx->window) ++ sys->free(lzx->window); + sys->free(lzx); + } + } diff --git a/dev-libs/libmspack/libmspack-0.5_alpha-r1.ebuild b/dev-libs/libmspack/libmspack-0.5_alpha-r1.ebuild new file mode 100644 index 000000000000..f8c7bd3ce1d1 --- /dev/null +++ b/dev-libs/libmspack/libmspack-0.5_alpha-r1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils multilib-minimal + +MY_PV="${PV/_alpha/alpha}" +MY_P="${PN}-${MY_PV}" + +DESCRIPTION="A library for Microsoft compression formats" +HOMEPAGE="https://www.cabextract.org.uk/libmspack/" +SRC_URI="https://www.cabextract.org.uk/libmspack/libmspack-${MY_PV}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug doc static-libs" + +DEPEND="" +RDEPEND="" + +PATCHES=( + "${FILESDIR}/${P}-CVE-2017-6419.patch" +) + +S="${WORKDIR}/${MY_P}" + +multilib_src_configure() { + ECONF_SOURCE="${S}" econf \ + $(use_enable debug) \ + $(use_enable static-libs static) +} + +multilib_src_test() { + if multilib_is_native_abi; then + default + cd "${S}"/test && "${BUILD_DIR}"/test/cabd_test || die + fi +} + +multilib_src_install_all() { + DOCS=(AUTHORS ChangeLog NEWS README TODO) + prune_libtool_files --all + use doc && HTML_DOCS=(doc/*) + default_src_install + if use doc; then + rm "${ED}"/usr/share/doc/"${PF}"/html/{Makefile*,Doxyfile*} || die + fi +} diff --git a/dev-libs/libmspack/libmspack-0.5_alpha.ebuild b/dev-libs/libmspack/libmspack-0.5_alpha.ebuild new file mode 100644 index 000000000000..9a9a803628ee --- /dev/null +++ b/dev-libs/libmspack/libmspack-0.5_alpha.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils multilib-minimal + +MY_PV="${PV/_alpha/alpha}" +MY_P="${PN}-${MY_PV}" + +DESCRIPTION="A library for Microsoft compression formats" +HOMEPAGE="https://www.cabextract.org.uk/libmspack/" +SRC_URI="https://www.cabextract.org.uk/libmspack/libmspack-${MY_PV}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="debug doc static-libs" + +DEPEND="" +RDEPEND="" + +S="${WORKDIR}/${MY_P}" + +multilib_src_configure() { + ECONF_SOURCE="${S}" econf \ + $(use_enable debug) \ + $(use_enable static-libs static) +} + +multilib_src_test() { + if multilib_is_native_abi; then + default + cd "${S}"/test && "${BUILD_DIR}"/test/cabd_test || die + fi +} + +multilib_src_install_all() { + DOCS=(AUTHORS ChangeLog NEWS README TODO) + prune_libtool_files --all + use doc && HTML_DOCS=(doc/*) + default_src_install + if use doc; then + rm "${ED}"/usr/share/doc/"${PF}"/html/{Makefile*,Doxyfile*} || die + fi +} diff --git a/dev-libs/libmspack/metadata.xml b/dev-libs/libmspack/metadata.xml new file mode 100644 index 000000000000..ea4e7c21a844 --- /dev/null +++ b/dev-libs/libmspack/metadata.xml @@ -0,0 +1,8 @@ + + + + + reavertm@gentoo.org + Maciej Mrozowski + + diff --git a/dev-libs/libnatspec/Manifest b/dev-libs/libnatspec/Manifest new file mode 100644 index 000000000000..50f749a23d68 --- /dev/null +++ b/dev-libs/libnatspec/Manifest @@ -0,0 +1,8 @@ +AUX libnatspec-0.2.6-iconv.patch 323 SHA256 bcfb22cfd31acd6dec502b3969dd5b055b671c5233b964094db487171d30b1db SHA512 8773c212b8ac7dd8b35f4fc4b0a266599374d0ec7da85c10b9ebd313c68bac5643a8301c1039152f2dfaa8ab03f2e17a5ee05a92d8e91bf314f99e30177943fd WHIRLPOOL 7c6556cf9cab723bc39c1a64e713049f4b9a6d016323e74c3de9a5eaf02028b4271ae742af18df4703f6cdbd0257ca40f9c5515c7e5f88d1739289b1be47685a +DIST libnatspec-0.2.6.tar.bz2 500525 SHA256 c3831f7373501ed7b23ffb03d9a78650dee93dbf997a61767b7dea009d4a757f SHA512 6bed3c8b2937ee27666a7deedcdebd7b24a8f495be63008fd70c467de4ab532e6448e6b682ed3be04a3a60ed64acaa0074d87231a421f6c73d6a7ee1d17bc66b WHIRLPOOL 04848603498ab27ea5dc09f1352e08632b3a182e4e2f0cdc0cb0f650709533ae13e768f973e94425a1088da3c8b090ca4e9cd047b0c1394e89742ab3a5a8d542 +DIST libnatspec-0.3.0.tar.bz2 127265 SHA256 678db5f2e25be3e79183ecc9ff6b19fb66775bcb6c3c962ba7716bc4a8ecce71 SHA512 5c04358d20be5b6ffc7038bddd4514c4b5b4e9940fb6247070b832da9d059b31fd1306cf29f54e4a1b8be1d909176bd72e6ffa98e4b750840764f9b2c250d31c WHIRLPOOL a201b94e35c5076799bb1f7d8627c62e626f296f649ca1b0b256448e78ac0a5d92609c199bcd1aef897734b69c26a2b5b666b0c9f8483e006aba1a185890d14f +EBUILD libnatspec-0.2.6-r1.ebuild 1076 SHA256 06cd065ce2bf47acb196b50dcce22c2521822c166a7c3ccc02e336fb0120ff49 SHA512 b94da0e45e6bf8bd08dec0be6ef609be194b9c579a60eba62628b54f20ef52fcdbc09e6aeaec968531a3f267f8476eacafdee34edd262c90ad09eb8a9de4ed58 WHIRLPOOL 1a5d7d2808abf08bb20434ed72713eada5e99a80a5c6a5580e2e44c4ee9cf3fa534c865f817cc90fd494cab25235dcb35118c2582788941752218ca3d9099e72 +EBUILD libnatspec-0.3.0.ebuild 1101 SHA256 6ee685bca55e862791cc92534ee6310c061031a35b31012eea94b126a37a7652 SHA512 7911cb04124c0a777154d3296d89ed39938db224760483616e95316dbba4c5764d9995334ca732857900e6a1d7ab52123f15cb73d1d37c3f3a15b28f1105bca6 WHIRLPOOL 45c02fba56827537914ec622950135046f679639f6417c2d408386986921a5fab17e20634dfa09ce0249437b18d760ae95d4a8602b9bb38685c6690f133dc8e8 +MISC ChangeLog 2539 SHA256 18eb16cd7d8c175be9c2bcca0c5aa866b7255a3c59fe3f333fb20e37f28fac05 SHA512 054a786d09480fdb683dd9902959cf71c23c7f0829edfcbc13ee025d7af36b4b04053cb6d361dd0c1d67066ad17b29ec5d79baf98e2a07a91bbc205c52de791d WHIRLPOOL 0a6f74f0e15132077c784bfb8fa07481af86a7c47cb089dcbd0488712196d5e2f6db3bf0dd258689f75a74e668b2ec88e24c006ea90b03a8b05251b562eb5a10 +MISC ChangeLog-2015 3986 SHA256 8c2b6e973c8f081c1e5fe7fccb32670b81b52a49e89afb2e9283e2082ee47b17 SHA512 8a959cb2b108f559dc3953d2f52ee000e01774160d116755fd592bd2993ddb6e319f77cc5147a9a372e78173310d48592c57e208d99c30cb219da4b9f5b2ee61 WHIRLPOOL 3fa655a56d8808d685d6efa1e0dda587f020f0727219e8c5ddb7ea026e20cb71ac3db6724e9d967a0d77341ebeaa0eadf647fb2bf5d8016cfcaa4d4c0e4f8285 +MISC metadata.xml 311 SHA256 74803d10a7024e75f6d9526c8c41d37c6c929aa0808c8673eb549490c90031e7 SHA512 f854676930193772765a53284b645b40e9a3a5fe7b6a6646173034593039ef6be112a1163760f59080ae89870d0af48c0308c31cd6eebd4d6fd5b45122d55272 WHIRLPOOL 01ee8829812d17d9a38e963cdbafd8053b6ef18423013a0adf3be9aa51fd82e9149a063d24c15db17a30b1bcbc93e17f567d8c9df76303eb4afaf351be43675b diff --git a/dev-libs/libnatspec/files/libnatspec-0.2.6-iconv.patch b/dev-libs/libnatspec/files/libnatspec-0.2.6-iconv.patch new file mode 100644 index 000000000000..baf024d29b1a --- /dev/null +++ b/dev-libs/libnatspec/files/libnatspec-0.2.6-iconv.patch @@ -0,0 +1,12 @@ +diff --git a/configure.ac b/configure.ac +index ce9ce28..f1c4826 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -50,6 +50,7 @@ AC_CHECK_HEADERS([iconv.h],check_iconv=true) + if test "x$check_iconv" == x ; then + AC_MSG_ERROR([*** iconv.h not found.]) + fi ++AC_CHECK_LIB([iconv], libiconv_open) + + # check Doxygen + DOXYGEN="" diff --git a/dev-libs/libnatspec/libnatspec-0.2.6-r1.ebuild b/dev-libs/libnatspec/libnatspec-0.2.6-r1.ebuild new file mode 100644 index 000000000000..65bb4b698659 --- /dev/null +++ b/dev-libs/libnatspec/libnatspec-0.2.6-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) + +inherit autotools eutils python-single-r1 + +DESCRIPTION="library to smooth charset/localization issues" +HOMEPAGE="http://natspec.sourceforge.net/" +SRC_URI="mirror://sourceforge/natspec/${P}.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd" +IUSE="doc python" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND=" + dev-libs/popt + python? ( ${PYTHON_DEPS} ) +" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen ) + python? ( dev-lang/tcl:0= )" + +pkg_setup() { + use python && python-single-r1_pkg_setup +} + +src_prepare() { + epatch "${FILESDIR}"/${P}-iconv.patch + # regenerate to fix imcompatible readlink usage + rm -f "${S}"/ltmain.sh "${S}"/libtool || die + eautoreconf +} + +src_configure() { + use doc || export ac_cv_prog_DOX=no + # braindead configure script does not disable python on --without-python + econf $(use python && use_with python) +} diff --git a/dev-libs/libnatspec/libnatspec-0.3.0.ebuild b/dev-libs/libnatspec/libnatspec-0.3.0.ebuild new file mode 100644 index 000000000000..beeaea380a0b --- /dev/null +++ b/dev-libs/libnatspec/libnatspec-0.3.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) + +inherit autotools python-single-r1 + +DESCRIPTION="library to smooth charset/localization issues" +HOMEPAGE="http://natspec.sourceforge.net/" +SRC_URI="mirror://sourceforge/natspec/${P}.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" +IUSE="doc python" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND=" + dev-libs/popt + python? ( ${PYTHON_DEPS} ) +" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen ) + python? ( dev-lang/tcl:0= )" + +PATCHES=( + "${FILESDIR}"/${PN}-0.2.6-iconv.patch +) + +pkg_setup() { + use python && python-single-r1_pkg_setup +} + +src_prepare() { + default + # regenerate to fix imcompatible readlink usage + rm -f "${S}"/ltmain.sh "${S}"/libtool || die + eautoreconf +} + +src_configure() { + use doc || export ac_cv_prog_DOX=no + # braindead configure script does not disable python on --without-python + econf $(use python && use_with python) +} diff --git a/dev-libs/libnatspec/metadata.xml b/dev-libs/libnatspec/metadata.xml new file mode 100644 index 000000000000..c792d72af46e --- /dev/null +++ b/dev-libs/libnatspec/metadata.xml @@ -0,0 +1,11 @@ + + + + + cjk@gentoo.org + Cjk + + + natspec + + diff --git a/dev-libs/libnfc/Manifest b/dev-libs/libnfc/Manifest new file mode 100644 index 000000000000..7ca4f2ab6ee1 --- /dev/null +++ b/dev-libs/libnfc/Manifest @@ -0,0 +1,10 @@ +AUX libnfc-1.5.1-glibc-2.17.patch 248 SHA256 772d920348c2f00034d0f20d0c6c0cd4f82d4abc5eb90f93fe97368fbaf300d6 SHA512 de0a95e25de757c4892120137e481940564e1efa079e061f626b20576c4f46b45d3f493c4509383d5a7932c065d6ddb524a34be906996d40c3226c3afdb8b346 WHIRLPOOL 43cfd7c709ef46f7274c822d6239677abbe3deb85592eaaa155734a18d84ff54fb40b1c9a7f347b8a375d3ae8828b99c984820a7599005d71adb22c17896056f +DIST libnfc-1.4.2.tar.gz 487310 SHA256 295ad8a0dc0e4469d9f10589449a9a04eed284a2e7faf398e91d84a89ca91bfa SHA512 96710f1a808ab1cf90d86f687ec82339a3efab78253f840fba0188c01beadb326f1b521b67a8b7d47b217eae63ff6c5ec3906b4cbd743afa970aecf801b448ef WHIRLPOOL ab483d6e199f2cd0ff548c422e49836588308d8fd8e99f4484bc0efbad85e9a3201fe508e1b3c3c761f170981ef04030159ef0c27853da91fb151367a7775f96 +DIST libnfc-1.5.1.tar.gz 534349 SHA256 5c0f33465051704a67c63f6ca9782d69b0d7ac4962ea5f996829834d1327f4f7 SHA512 1b496b9368f0a19f5286c63c17ddf9c8afa3bae5106c8a85d89bbb8bb700948782722c30d9703d4348b45f362b47f5d63cbc0d7b4a4fe7d31dbbaedfa3354533 WHIRLPOOL 4b5ec3d59254c1e5bfbb92a64b81031eb03e6dc8c296eaf3d477e0ef985872f896b8a2a297d8f9ba6ae0561c59a91d4f05e1c54e1a613347ae5f3de7778f337b +DIST libnfc-1.7.1.tar.bz2 484309 SHA256 945e74d8e27683f9b8a6f6e529557b305d120df347a960a6a7ead6cb388f4072 SHA512 6a03d197c450c0ab8f2d16ae8c1f80e206fa909ece84a32dbb962acd0f7ef693a419608cdaa4c2207a1d2593599e44479520d7413eace7fca19d3230442e506c WHIRLPOOL 005b88b81ed4ca1e6a6a3af3ad713804979b60bde0c440537f555ab973d3654101d6d5aceaf92d75f0f839008b6b722f4610d041b3ea89f88ca9526ac8707573 +EBUILD libnfc-1.4.2.ebuild 654 SHA256 2ff5e255873c95e56f7d4173c73ed0a939413024ecf815c45a52032034534883 SHA512 ff099aa5e762e3b3ecbfdee56383c5222cadf2b27ba0ecb179360940bc5fdcaa56ff7ebbf2acf05f6871d785106ca22360aceb3921651147c53c428c03540191 WHIRLPOOL 701f18b10be5d08065bbeda18eff8cfe7da78f8d0bfa5c18f0f27b91cbcd026903337d4d33242a479d3d01c147da11414b5d1cb1f4a00087b077d782aa5fd319 +EBUILD libnfc-1.5.1-r1.ebuild 1235 SHA256 333d2208f031764c27eb574233da79d8b40af55f4e2c9378ecc85d6c4f788d2e SHA512 13ef9d98491d45e30e1ecfdcbd590493e94bf1989c7fcb8ef0764ee94087150757c2a8518ba5ceeb2d0659710e50c7fe56569843b04f5961846d1fd0e7ac01a5 WHIRLPOOL 5763e24c6e2162980b10d03e1a98aabab96a4e2021325ed2369d5b721330e2408b16a353746c5480754b53d4124c1cb7b2da0ceea5af6f2342ed1b4987b7e792 +EBUILD libnfc-1.7.1.ebuild 1028 SHA256 8f6b1d97657ddfa0fbbc2d9d38f127e1d25380f5508f3fabc70e77836a5e6028 SHA512 d022f3e1de007df189e8c72fe57e07531f8462c45a535dad9ce87324edce108a140facc80985a898499052e166a8fb87537292af3e3e86d8787d0507939865c0 WHIRLPOOL 7cc3b872b8693dc8f730b49af8c5c949f59386fce8c414ccc66879ccde02a2228393259d0aa6db3921213dc0ce8fe942d56ee9197beaac45ee1a1fbbaee0ff6e +MISC ChangeLog 3328 SHA256 0b6fd6e221530281e9fb02f3d2576a90b5ee5693e43da37f561fb04b99e919b3 SHA512 4d1efde2d14af2dab13591efc6735302e84704cce017f4a8065681d5e30bcf0e6be5672c4b15bde2ffde1fa1b78a606512ec8d48acea1b68f5f6093a01d71333 WHIRLPOOL 07dc0f3e8ff3dcfd55f844b84c2544d1b4f7cc8302cad365fde0e87cad21befbe1b774646903e58574b78cf2a418c2147fb4954ccebe2d75fab8e331dd207ba4 +MISC ChangeLog-2015 2359 SHA256 33b939d4815f8e4c518cfb31061efa66c618a6478b72a04bb2c6a1cbf1ca9481 SHA512 33feb06542dabf53540c7ed4a1e277caae6b13b63f458791462804ec54edc95d6e4e4287dca33815aa503b00abb1ff3d72be98faab54dd8ed1ae39d458a269bb WHIRLPOOL 3f4321d48d363f00f5010750f4f93b281d70db36fe5d09f32a89771d3aa5258ec14a9b1126191fb6a34f033c11db32adbed4072365a17b0eb8b8ced4750f9aae +MISC metadata.xml 463 SHA256 03768e1a8ca02899e623f19ec5ee050ce14e712338a8c898699af0bb089a0aa2 SHA512 20f4b81da686998f0e779615d995433aab1cdc89f30bb79bf5426b2dad480da5ec90d65d371f6fad11ad94773bd758c9650a157067dc73547c180c8ce4c54dc6 WHIRLPOOL 590182ad6e2a71c137e6302f130fd69fbbe3999beb3514f463057176858daacffab57fbf2da533d24bc5f004eeef5ecf3c38359fab1b0bebaac52c7e67d0b2e4 diff --git a/dev-libs/libnfc/files/libnfc-1.5.1-glibc-2.17.patch b/dev-libs/libnfc/files/libnfc-1.5.1-glibc-2.17.patch new file mode 100644 index 000000000000..fc3af861d21c --- /dev/null +++ b/dev-libs/libnfc/files/libnfc-1.5.1-glibc-2.17.patch @@ -0,0 +1,13 @@ +diff --git a/libnfc/log.h b/libnfc/log.h +index 90cb747..3438511 100644 +--- a/libnfc/log.h ++++ b/libnfc/log.h +@@ -18,6 +18,8 @@ + #ifndef __LOG_H__ + #define __LOG_H__ + ++#include ++ + #if defined(HAS_LOG4C) && HAS_LOG4C + + #define LOGGING 1 diff --git a/dev-libs/libnfc/libnfc-1.4.2.ebuild b/dev-libs/libnfc/libnfc-1.4.2.ebuild new file mode 100644 index 000000000000..3b85c2dec2ba --- /dev/null +++ b/dev-libs/libnfc/libnfc-1.4.2.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="4" + +inherit eutils + +DESCRIPTION="Near Field Communications (NFC) library" +HOMEPAGE="http://www.libnfc.org/" +SRC_URI="https://github.com/nfc-tools/${PN}/releases/download/${P}/${P}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="doc" + +RDEPEND="sys-apps/pcsc-lite + virtual/libusb:0" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen )" + +src_compile() { + emake || die "Failed to compile." + use doc && doxygen +} + +src_install() { + emake install DESTDIR="${D}" || die "Failed to install properly." + use doc && dohtml "${S}"/doc/html/* +} diff --git a/dev-libs/libnfc/libnfc-1.5.1-r1.ebuild b/dev-libs/libnfc/libnfc-1.5.1-r1.ebuild new file mode 100644 index 000000000000..8621ed61ec10 --- /dev/null +++ b/dev-libs/libnfc/libnfc-1.5.1-r1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="4" + +inherit eutils toolchain-funcs + +DESCRIPTION="Near Field Communications (NFC) library" +HOMEPAGE="http://www.libnfc.org/" +SRC_URI="https://github.com/nfc-tools/${PN}/releases/download/${P}/${P}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="doc pcsc-lite readline static-libs usb" + +RDEPEND="pcsc-lite? ( sys-apps/pcsc-lite ) + readline? ( sys-libs/readline ) + usb? ( virtual/libusb:0 )" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen )" + +src_prepare() { + epatch "${FILESDIR}/${PN}-1.5.1-glibc-2.17.patch" +} + +src_configure() { + # Upstream doesn't use the right macro, so we need to force this. + # https://code.google.com/p/libnfc/issues/detail?id=249 + export ac_cv_path_PKG_CONFIG=$(tc-getPKG_CONFIG) + + local drivers="arygon,pn532_uart" + use pcsc-lite && drivers+=",acr122" + use usb && drivers+=",pn53x_usb" + econf \ + --with-drivers="${drivers}" \ + $(use_enable doc) \ + $(use_with readline) \ + $(use_enable static-libs static) +} + +src_compile() { + default + use doc && doxygen +} + +src_install() { + default + use static-libs || find "${ED}" -name 'lib*.la' -delete + use doc && dohtml "${S}"/doc/html/* +} diff --git a/dev-libs/libnfc/libnfc-1.7.1.ebuild b/dev-libs/libnfc/libnfc-1.7.1.ebuild new file mode 100644 index 000000000000..9c11a2bbcaa5 --- /dev/null +++ b/dev-libs/libnfc/libnfc-1.7.1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit toolchain-funcs + +DESCRIPTION="Near Field Communications (NFC) library" +HOMEPAGE="http://www.libnfc.org/" +SRC_URI="https://github.com/nfc-tools/${PN}/releases/download/${P}/${P}.tar.bz2" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="doc pcsc-lite readline static-libs usb" + +RDEPEND="pcsc-lite? ( sys-apps/pcsc-lite ) + readline? ( sys-libs/readline:0 ) + usb? ( virtual/libusb:0 )" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen )" + +src_configure() { + local drivers="arygon,pn532_uart,pn532_spi,pn532_i2c,acr122s" + use pcsc-lite && drivers+=",acr122_pcsc" + use usb && drivers+=",pn53x_usb,acr122_usb" + econf \ + --with-drivers="${drivers}" \ + $(use_enable doc) \ + $(use_with readline) \ + $(use_enable static-libs static) +} + +src_compile() { + default + use doc && doxygen +} + +src_install() { + default + use static-libs || find "${ED}" -name 'lib*.la' -delete + use doc && dohtml "${S}"/doc/html/* +} diff --git a/dev-libs/libnfc/metadata.xml b/dev-libs/libnfc/metadata.xml new file mode 100644 index 000000000000..4346902e170d --- /dev/null +++ b/dev-libs/libnfc/metadata.xml @@ -0,0 +1,15 @@ + + + + + ikelos@gentoo.org + Mike Auty + + + Enable NFC drivers that require pcsc-lite + + + libnfc + nfc-tools/libnfc + + diff --git a/dev-libs/libnl/Manifest b/dev-libs/libnl/Manifest new file mode 100644 index 000000000000..efdc2a2b2751 --- /dev/null +++ b/dev-libs/libnl/Manifest @@ -0,0 +1,19 @@ +AUX libnl-1.1-flags.patch 441 SHA256 027b7c29cd0176f94cf337508bca0542361b900d262d956b0e3ef00080b0bc2a SHA512 1f97dc181118368977ebc7bc6134c7e9fb6acd083721f1c857fca9e3a2cc242e03cbd198a0fb12a05597765a732d9a9384a75f46d1f023f6d5160631a29a9947 WHIRLPOOL e467a057b37e236e15c8f5dc56ca66ec36dc09830f2e63bb30b747b04687b16ab04cc6b50d88768b67d31d9569616e420b4035769e43302cfa7288928f254efd +AUX libnl-1.1-vlan-header.patch 2378 SHA256 c9c7d8bf94ab06884f91ecd98977433be952530555aff37befc335f1f6312619 SHA512 ea45d780b16e6045735aaf2e3febf19ddccab4ca0e03710aebfe51655adc50177aefa3bd4d06e0ccce0160f4c6db73cfa4eb7cebe53b3e15c1807c3b00dc1c9c WHIRLPOOL b63f8fa7d8d1865e9ee3fd896eec12eb2fcdd77774ea4ef2a9f2e623b823fcd3e052860cfc456cc884b2d72ff587d091b756b349dac9845206f515a9cbbd1e03 +AUX libnl-1.1.3-offsetof.patch 320 SHA256 66b458406b7e13abc166318cad331f81e1c8a894775babd6283b408b3c8fae1b SHA512 fe625a9ac6ea8776c8f7ef3d7e3553651c0244e830883587bd7e86490e0ec6e8b29865e172a0e39947e213b910a4279202eabfdd5d7f08e835f5be91d4ff9d6b WHIRLPOOL d1240b691e9a5ef58f5629623571256ab1b37d7bb4b62da37fb09635455f7ac8076043b12f0d6bae48a45df517b57ddc5a7ed689fb2f6ad8a96065232d6b803f +DIST libnl-1.1.4.tar.gz 1174974 SHA256 4f80c21fe5bbcdde6e72b59b4f98306063a41421f909887c34e58d93e746d063 SHA512 25e26ddcc16540346ea34815ab6ac094177e5cee2eb3d843c4f8b30cd9d83390a3e87cb46046dc3bd9ae4d21f77e57bb3827c2cfc588eb18afe049921f2030b4 WHIRLPOOL eab5547dce7b11c86123fbcc9cd8e00100c7e78f48a4a9fef40f80f89407ea705b701f8f0eb7df63997866f17b0cf0924b43c69b29fa1f1b016fe997371b950e +DIST libnl-3.2.28-in6.patch.xz 6368 SHA256 0cbb8dc4e3cdc90a4a0608a26af1971d7c1c397bb5f089de8c8d640e57b7b631 SHA512 de14f7540e514871db2058236a339192443423e56f2f5bd52e02ff06873c9e411029b12f3119e57eb01201ce3643ce78ca3e8d9ada4f6ba318df96288304bead WHIRLPOOL 1f1ebfc06a0cf516202cee3aaee92d7ed584ec9633d48c23e666d40bf48d658cc27a00c9f8881a7e976e21fc66fb867e10cadd8a6c0c8826ff4fab712cb20f3d +DIST libnl-3.2.28.tar.gz 941954 SHA256 cd608992c656e8f6e3ab6c1391b162a5a51c49336b9219f7f390e61fc5437c41 SHA512 b5f145ecafb2625ed1c42594afd6063f112a601077de5c35884b3c3bc8c562b29b52a006ccebd795c127fe69692a82def425c8605afed7e6d441582943e803d9 WHIRLPOOL ff49346ddc31105a300ebffc0e4d4956ac85ade5e92e884c62e696d7d4234d40e63cf4839e6b6fd2d98d2122662d36d3f41666391686a83c8bf966e53e22ed25 +DIST libnl-3.2.29.tar.gz 963681 SHA256 0beb593dc6abfffa18a5c787b27884979c1b7e7f1fd468c801e3cc938a685922 SHA512 45e22b02368c479e01db7160345a0d3c73abf345e7b49bf350811243a17f307f5c6c3df639ec1e0c456707578aca8d69aad8afa697ac21449f521a3e39712670 WHIRLPOOL 1273dcaee79ecfdca947110c5e7ff70947703b1b0fda43fdb7c74edd78c6938f675e9a586aaff8feefce56a1f3137cbc50d3626ac336e6afa2ca8cbd8627e6eb +DIST libnl-3.3.0.tar.gz 933390 SHA256 705468b5ae4cd1eb099d2d1c476d6a3abe519bc2810becf12fb1e32de1e074e4 SHA512 3fc5d95b875605ab6378d2d454020c1276a6772205fa11bbd22eba9fd9ef1deb8c75347e5d4602f0ab7bf13bd66b418f5ef73ed05f18134f08638ce06eef622c WHIRLPOOL a6f7c066c9d05af807ed17babe1f39107d24b4b5ef44ca94e487543a39b0a2f1298fbf6448356fa3701c033fbff0df392945666c125f16246398d47a8c828f5b +DIST libnl-3.4.0-rc1.tar.gz 945094 SHA256 31eae336fe4383ec52eea9dd2db51f33ac83cd1c349e4a31ed80c777eed7d0fe SHA512 f0a3c6d368b2b60b198a7e96d67a99daefb3bad194961c5472bd6401e6c274058b7a7173015b73d90df41db43c7ffdfd99252f6378dc5912a33e4e70212e0c75 WHIRLPOOL e156c2400ebe5827cbbfb9ae84bf71fa569ab1c7e8e44c7f00492cffd01e629ee90afa88bcc374e04711187ec083932a5c7c2fef28b3ac25d76e69f1d75a36b4 +DIST libnl-3.4.0_rc1.tar.xz 1124 SHA256 3857952e47656e7f50ecf55ca40b9e67b9a4864b4bcb1a126ddd380956f5dc9f SHA512 6175e3234691d0ff875e6cde79ec93ff7dec1deb66300e8fffe54a5a7d816c5a73d0a4ad371f962792181622d20c59fc3ff7c086062d4f20db18a7b99b050858 WHIRLPOOL b88b5a5f81201c689c181f88f0b7d59b3fad717ee875cf09282dc943350a78f83aaedac50cdf94b40a10b4ce258b63fa9906b75a0eed1b83dd27c1d927ef0a92 +EBUILD libnl-1.1.4.ebuild 1141 SHA256 cac2ccdc7c6ae626e5e8309066cb94a7c5e6fc3362bb42a61299ff1f14fd0393 SHA512 1c63d4eabb1268b349918acbdc3cbc7d2fabc09a75e4b07793f1e380309404f460bfc3b90c7426377d57be65f5b679a5d20155003ab589497b225dea2f9c281a WHIRLPOOL fb8a6a6c625033183ef86cac5bfacf02626a945019d84e4746d87a819c3d5ba1d3eae0426e1ad355543eba001053fb8241e0cf5a7bd31368302e8f0e3d2d0230 +EBUILD libnl-3.2.28.ebuild 2616 SHA256 872d785ad2c0c4c016be310831864b533635dd5b8bfb935a0bd61ee3cd6a09cc SHA512 ec622b8862df56d20e79cd5a979fbc0a33c88f4bf97aad49f61864570df9fec448c1cfa7d1f462535ce3dc06ebec59a939b35ab4a2155b6be6e27e7467dcbb8e WHIRLPOOL cc6b0d201a33da153160d9cc469b775b5c395e4f507641acda95bfc18de42ccaf5ff12c51920fb2201e0da12a1ddfbc4fe1d10891aa2168e12d7db73bff18670 +EBUILD libnl-3.2.29.ebuild 2626 SHA256 ca26a87e11dda72a7e9d4f0e04e91f78793095ce927af9307a8a5945a10cf396 SHA512 dd09123c9847bbb5772a48afc17927b70b3c8ea5688492f4532b5f307482516f165eb4b4fbbea75d36836cfbb4086b4180193e3dfc58fc138a7744175e836d68 WHIRLPOOL 03bd53de5be62ccc1f139c55d17fefa708a635552b81c0d0c3bc3da153c28e8927e2366f378c8a807d0a008c0466c0097f7cafe18d99a187a3c96abc90ffdc91 +EBUILD libnl-3.3.0.ebuild 2476 SHA256 637f84fa3f81dd35fb16af63f821db0806931d27ff2fa1d6a3d98ff8f529bc56 SHA512 5c7e28b62ba07fd4e09c163a9dbf73f49d2da550c49b3ed067fe6e61bf6e69a7bdf2dc7e64e8004482fd25ec4283989b6da248abc959d17702e9d8ea2f5da99d WHIRLPOOL c1558f0a680e45f3d5d38c2bb9f0856078fc6fafd3b0ab60340e1e3447940fd1ae20edd93900adf96dbdad221016186674635f232245b68c6dcd2b4b45dc16de +EBUILD libnl-3.4.0_rc1.ebuild 2517 SHA256 a82dabb7fd06326dad86d5289e10c7a7ede832e78cc816da9d8e7d91244143b7 SHA512 1eb11c1e266a85d35154cd910b59b3b340a21f4d0a3a58f961139c7269576e03d3efd75044389a484bd50394813b09c0f5925a032f175f118052390d9fcd0b4b WHIRLPOOL 2d0093d55ceef92f035a10fd8341ab3748a52ad322a1e54589c59c3550e6c4710f512cea101b633d32a0d99a970990e5d7253997195f8d1b90a06faf7677e112 +EBUILD libnl-99999999.ebuild 2258 SHA256 f0a346409ea2bde4e21653a016f404541385e8a033f9659ed79e60d54ed18730 SHA512 4dad53165011effbd92f359ac24d7f135e14c73059956d167fdacfdd47dbf8c86e1a2f6fa1ca69144d1e281230410c7e6e77c10740295a04787d1830c6d5c69f WHIRLPOOL eeba0987c2207914e3572f715a3d45fdd9b21cc28525b852be2ba3c07bff374eb3c7f8023c24623cc99d32ec395977cbc80291ed40ed249fff3e495a934cfad3 +MISC ChangeLog 9137 SHA256 477a0abdfb45733bf44e0616f19e6030f7a6a3dd3c1014c45818ef3780e4b422 SHA512 4479245ac7a973c94053ad4d6348aa684455ddb260f9ae0b5fa5e330158c8a55a5a02e9faa19a8d927decf325145056b56d50f50d54b6b3a4e062f674ca3d18b WHIRLPOOL c1fdf85219a6d319709f59d64b5fe6d92c17574695059a237ff72e94805f0a368355ed5271ee7d368fe84ccfeafd4a9f29a10e18cdfb4fcb4e28809314b8b105 +MISC ChangeLog-2015 29453 SHA256 c81ed65177293bdb2e95156f0ebba8f30ac777d9dd7eeb360b3c701b6c511b7d SHA512 ad09dafc8222e541c7927c502e92a7374813dac74c5a67434e0d3d23eb3ee24095ce97685299bc62d8420afb70a9c71416603a910ee800a3effcd878c6b1bd7a WHIRLPOOL 749cc124eb853a6c1aa393c4ecca68c045ad7576bd024218f3bacff7f53b00f08a6cf2df7df0a675730114c5f2a8e89ddca131f51e6479d1474268c4747a0aaf +MISC metadata.xml 584 SHA256 b4a1c62be473810a9e60ab6c043c14ea56dd7ffbdfc47639a30e84b4c31119e9 SHA512 0e8731a9aafb77b313583babfb2786c4fcbe655f3fcebe93fee90b2ea4c7f03a6ed559a253cb63f5f3a5eb9fd841babcbb5c85c4c93e51a670abe605e9d22a9c WHIRLPOOL 841629b52e45cd949bde7aae4ce9a62d274f69a124ba90cc33d75191a0b7cf11f7b0fa6c8af996af476e4164562cdc6d92d33ea93c9d1405da64844dace77ec1 diff --git a/dev-libs/libnl/files/libnl-1.1-flags.patch b/dev-libs/libnl/files/libnl-1.1-flags.patch new file mode 100644 index 000000000000..dc512c587b9e --- /dev/null +++ b/dev-libs/libnl/files/libnl-1.1-flags.patch @@ -0,0 +1,11 @@ +--- a/lib/Makefile ++++ b/lib/Makefile +@@ -48,7 +48,7 @@ + + $(OUT_SLIB): ../Makefile.opts $(OBJ) + @echo " LD $(OUT_SLIB)"; \ +- $(CC) -shared -Wl,-soname,libnl.so.1 -o $(OUT_SLIB) $(OBJ) $(LIBNL_LIB) -lc ++ $(CC) $(CFLAGS) $(LDFLAGS) -shared -Wl,-soname,libnl.so.1 -o $(OUT_SLIB) $(OBJ) $(LIBNL_LIB) -lc + @echo " LN $(OUT_SLIB) $(LN1_SLIB)"; \ + rm -f $(LN1_SLIB) ; $(LN) -s $(OUT_SLIB) $(LN1_SLIB) + @echo " LN $(LN1_SLIB) $(LN_SLIB)"; \ diff --git a/dev-libs/libnl/files/libnl-1.1-vlan-header.patch b/dev-libs/libnl/files/libnl-1.1-vlan-header.patch new file mode 100644 index 000000000000..c4c2fc6382de --- /dev/null +++ b/dev-libs/libnl/files/libnl-1.1-vlan-header.patch @@ -0,0 +1,80 @@ +From: Patrick McHardy +Date: Fri, 18 Jan 2008 16:55:48 +0000 (+0100) +Subject: [LIBNL]: Add if_vlan.h +X-Git-Url: http://git.kernel.org/?p=libs%2Fnetlink%2Flibnl.git;a=commitdiff_plain;h=e91bb2ffb090955d443e643a25b250bf3d33534a;hp=7f6b7a8eea0334b34d58dec72c66121a76f08958 + +[LIBNL]: Add if_vlan.h + +vlan support needs VLAN_FLAG_REORDER_HDR, which is not available in +older if_vlan.h versions. Add the current version from the kernel. + +Signed-off-by: Patrick McHardy +--- + +diff --git a/include/linux/if_vlan.h b/include/linux/if_vlan.h +new file mode 100644 +index 0000000..068cd7b +--- /dev/null ++++ include/linux/if_vlan.h +@@ -0,0 +1,61 @@ ++/* ++ * VLAN An implementation of 802.1Q VLAN tagging. ++ * ++ * Authors: Ben Greear ++ * ++ * This program is free software; you can redistribute it and/or ++ * modify it under the terms of the GNU General Public License ++ * as published by the Free Software Foundation; either version ++ * 2 of the License, or (at your option) any later version. ++ * ++ */ ++ ++#ifndef _LINUX_IF_VLAN_H_ ++#define _LINUX_IF_VLAN_H_ ++ ++ ++/* VLAN IOCTLs are found in sockios.h */ ++ ++/* Passed in vlan_ioctl_args structure to determine behaviour. */ ++enum vlan_ioctl_cmds { ++ ADD_VLAN_CMD, ++ DEL_VLAN_CMD, ++ SET_VLAN_INGRESS_PRIORITY_CMD, ++ SET_VLAN_EGRESS_PRIORITY_CMD, ++ GET_VLAN_INGRESS_PRIORITY_CMD, ++ GET_VLAN_EGRESS_PRIORITY_CMD, ++ SET_VLAN_NAME_TYPE_CMD, ++ SET_VLAN_FLAG_CMD, ++ GET_VLAN_REALDEV_NAME_CMD, /* If this works, you know it's a VLAN device, btw */ ++ GET_VLAN_VID_CMD /* Get the VID of this VLAN (specified by name) */ ++}; ++ ++enum vlan_flags { ++ VLAN_FLAG_REORDER_HDR = 0x1, ++}; ++ ++enum vlan_name_types { ++ VLAN_NAME_TYPE_PLUS_VID, /* Name will look like: vlan0005 */ ++ VLAN_NAME_TYPE_RAW_PLUS_VID, /* name will look like: eth1.0005 */ ++ VLAN_NAME_TYPE_PLUS_VID_NO_PAD, /* Name will look like: vlan5 */ ++ VLAN_NAME_TYPE_RAW_PLUS_VID_NO_PAD, /* Name will look like: eth0.5 */ ++ VLAN_NAME_TYPE_HIGHEST ++}; ++ ++struct vlan_ioctl_args { ++ int cmd; /* Should be one of the vlan_ioctl_cmds enum above. */ ++ char device1[24]; ++ ++ union { ++ char device2[24]; ++ int VID; ++ unsigned int skb_priority; ++ unsigned int name_type; ++ unsigned int bind_type; ++ unsigned int flag; /* Matches vlan_dev_info flags */ ++ } u; ++ ++ short vlan_qos; ++}; ++ ++#endif /* !(_LINUX_IF_VLAN_H_) */ diff --git a/dev-libs/libnl/files/libnl-1.1.3-offsetof.patch b/dev-libs/libnl/files/libnl-1.1.3-offsetof.patch new file mode 100644 index 000000000000..e370a5e62fc6 --- /dev/null +++ b/dev-libs/libnl/files/libnl-1.1.3-offsetof.patch @@ -0,0 +1,12 @@ +--- a/include/netlink-local.h ++++ b/include/netlink-local.h +@@ -343,7 +343,9 @@ + } + + #define ARRAY_SIZE(X) (sizeof(X) / sizeof((X)[0])) ++#ifndef offsetof + #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) ++#endif + + #define __init __attribute__ ((constructor)) + #define __exit __attribute__ ((destructor)) diff --git a/dev-libs/libnl/libnl-1.1.4.ebuild b/dev-libs/libnl/libnl-1.1.4.ebuild new file mode 100644 index 000000000000..686c171132d1 --- /dev/null +++ b/dev-libs/libnl/libnl-1.1.4.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils multilib toolchain-funcs + +DESCRIPTION="Libraries providing APIs to netlink protocol based Linux kernel interfaces" +HOMEPAGE="http://www.infradead.org/~tgr/libnl/" +SRC_URI="http://www.infradead.org/~tgr/libnl/files/${P}.tar.gz" +LICENSE="LGPL-2.1" +SLOT="1.1" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~x86-linux" +IUSE="doc static-libs" + +DEPEND="doc? ( app-doc/doxygen )" +DOCS=( ChangeLog ) + +src_prepare() { + epatch \ + "${FILESDIR}"/${PN}-1.1-vlan-header.patch \ + "${FILESDIR}"/${PN}-1.1-flags.patch \ + "${FILESDIR}"/${PN}-1.1.3-offsetof.patch + sed -i \ + -e '/@echo/d' \ + Makefile.rules {lib,src,tests}/Makefile || die + sed -i \ + -e 's|-g ||g' \ + Makefile.opts.in || die + + if ! use static-libs; then + sed -i lib/Makefile -e '/OUT_AR/d' || die + fi + + rm -f lib/libnl.a +} + +src_compile() { + emake AR=$(tc-getAR) + + if use doc ; then + cd "${S}/doc" + emake gendoc || die + fi +} + +src_install() { + default + + if use doc ; then + cd "${S}/doc" + dohtml -r html/* + fi +} diff --git a/dev-libs/libnl/libnl-3.2.28.ebuild b/dev-libs/libnl/libnl-3.2.28.ebuild new file mode 100644 index 000000000000..a0477299395e --- /dev/null +++ b/dev-libs/libnl/libnl-3.2.28.ebuild @@ -0,0 +1,114 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 python3_{4,5} ) +DISTUTILS_OPTIONAL=1 +inherit distutils-r1 eutils libtool multilib multilib-minimal + +LIBNL_P=${P/_/-} +LIBNL_DIR=${PV/_/} +LIBNL_DIR=${LIBNL_DIR//./_} + +DESCRIPTION="Libraries providing APIs to netlink protocol based Linux kernel interfaces" +HOMEPAGE="http://www.infradead.org/~tgr/libnl/ https://github.com/thom311/libnl" +SRC_URI=" + https://github.com/thom311/${PN}/releases/download/${PN}${LIBNL_DIR}/${P/_rc/-rc}.tar.gz + https://dev.gentoo.org/~jer/libnl-3.2.28-in6.patch.xz +" +LICENSE="LGPL-2.1 utils? ( GPL-2 )" +SLOT="3" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-linux ~x86-linux" +IUSE="static-libs python utils" + +RDEPEND=" + python? ( ${PYTHON_DEPS} ) + abi_x86_32? ( + !<=app-emulation/emul-linux-x86-baselibs-20140508-r5 + !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] + ) +" +DEPEND=" + ${RDEPEND} + python? ( dev-lang/swig ) + sys-devel/bison + sys-devel/flex +" + +REQUIRED_USE=" + python? ( ${PYTHON_REQUIRED_USE} ) +" + +DOCS=( + ChangeLog +) + +S=${WORKDIR}/${LIBNL_P} + +MULTILIB_WRAPPED_HEADERS=( + # we do not install CLI stuff for non-native + /usr/include/libnl3/netlink/cli/addr.h + /usr/include/libnl3/netlink/cli/class.h + /usr/include/libnl3/netlink/cli/cls.h + /usr/include/libnl3/netlink/cli/ct.h + /usr/include/libnl3/netlink/cli/exp.h + /usr/include/libnl3/netlink/cli/link.h + /usr/include/libnl3/netlink/cli/neigh.h + /usr/include/libnl3/netlink/cli/qdisc.h + /usr/include/libnl3/netlink/cli/route.h + /usr/include/libnl3/netlink/cli/rule.h + /usr/include/libnl3/netlink/cli/tc.h + /usr/include/libnl3/netlink/cli/utils.h +) + +PATCHES=( + "${FILESDIR}"/${PN}-1.1-vlan-header.patch + "${WORKDIR}"/${PN}-3.2.28-in6.patch +) + +src_prepare() { + default + + elibtoolize + + if use python; then + cd "${S}"/python || die + distutils-r1_src_prepare + fi + + # out-of-source build broken + # https://github.com/thom311/libnl/pull/58 + multilib_copy_sources +} + +multilib_src_configure() { + econf \ + --disable-silent-rules \ + $(use_enable static-libs static) \ + $(multilib_native_use_enable utils cli) +} + +multilib_src_compile() { + default + + if multilib_is_native_abi && use python; then + cd python || die + distutils-r1_src_compile + fi +} + +multilib_src_install() { + emake DESTDIR="${D}" install + + if multilib_is_native_abi && use python; then + # Unset DOCS= since distutils-r1.eclass interferes + local DOCS=() + cd python || die + distutils-r1_src_install + fi +} + +multilib_src_install_all() { + einstalldocs + prune_libtool_files --modules +} diff --git a/dev-libs/libnl/libnl-3.2.29.ebuild b/dev-libs/libnl/libnl-3.2.29.ebuild new file mode 100644 index 000000000000..55886ce41b3e --- /dev/null +++ b/dev-libs/libnl/libnl-3.2.29.ebuild @@ -0,0 +1,114 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 python3_{4,5} ) +DISTUTILS_OPTIONAL=1 +inherit distutils-r1 eutils libtool multilib multilib-minimal + +LIBNL_P=${P/_/-} +LIBNL_DIR=${PV/_/} +LIBNL_DIR=${LIBNL_DIR//./_} + +DESCRIPTION="Libraries providing APIs to netlink protocol based Linux kernel interfaces" +HOMEPAGE="http://www.infradead.org/~tgr/libnl/ https://github.com/thom311/libnl" +SRC_URI=" + https://github.com/thom311/${PN}/releases/download/${PN}${LIBNL_DIR}/${P/_rc/-rc}.tar.gz + https://dev.gentoo.org/~jer/libnl-3.2.28-in6.patch.xz +" +LICENSE="LGPL-2.1 utils? ( GPL-2 )" +SLOT="3" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="static-libs python utils" + +RDEPEND=" + python? ( ${PYTHON_DEPS} ) + abi_x86_32? ( + !<=app-emulation/emul-linux-x86-baselibs-20140508-r5 + !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] + ) +" +DEPEND=" + ${RDEPEND} + python? ( dev-lang/swig ) + sys-devel/bison + sys-devel/flex +" + +REQUIRED_USE=" + python? ( ${PYTHON_REQUIRED_USE} ) +" + +DOCS=( + ChangeLog +) + +S=${WORKDIR}/${LIBNL_P} + +MULTILIB_WRAPPED_HEADERS=( + # we do not install CLI stuff for non-native + /usr/include/libnl3/netlink/cli/addr.h + /usr/include/libnl3/netlink/cli/class.h + /usr/include/libnl3/netlink/cli/cls.h + /usr/include/libnl3/netlink/cli/ct.h + /usr/include/libnl3/netlink/cli/exp.h + /usr/include/libnl3/netlink/cli/link.h + /usr/include/libnl3/netlink/cli/neigh.h + /usr/include/libnl3/netlink/cli/qdisc.h + /usr/include/libnl3/netlink/cli/route.h + /usr/include/libnl3/netlink/cli/rule.h + /usr/include/libnl3/netlink/cli/tc.h + /usr/include/libnl3/netlink/cli/utils.h +) + +PATCHES=( + "${FILESDIR}"/${PN}-1.1-vlan-header.patch + "${WORKDIR}"/${PN}-3.2.28-in6.patch +) + +src_prepare() { + default + + elibtoolize + + if use python; then + cd "${S}"/python || die + distutils-r1_src_prepare + fi + + # out-of-source build broken + # https://github.com/thom311/libnl/pull/58 + multilib_copy_sources +} + +multilib_src_configure() { + econf \ + --disable-silent-rules \ + $(use_enable static-libs static) \ + $(multilib_native_use_enable utils cli) +} + +multilib_src_compile() { + default + + if multilib_is_native_abi && use python; then + cd python || die + distutils-r1_src_compile + fi +} + +multilib_src_install() { + emake DESTDIR="${D}" install + + if multilib_is_native_abi && use python; then + # Unset DOCS= since distutils-r1.eclass interferes + local DOCS=() + cd python || die + distutils-r1_src_install + fi +} + +multilib_src_install_all() { + einstalldocs + prune_libtool_files --modules +} diff --git a/dev-libs/libnl/libnl-3.3.0.ebuild b/dev-libs/libnl/libnl-3.3.0.ebuild new file mode 100644 index 000000000000..64aedbef471b --- /dev/null +++ b/dev-libs/libnl/libnl-3.3.0.ebuild @@ -0,0 +1,106 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 python3_{4,5} ) +DISTUTILS_OPTIONAL=1 +inherit distutils-r1 eutils libtool multilib multilib-minimal + +LIBNL_P=${P/_/-} +LIBNL_DIR=${PV/_/} +LIBNL_DIR=${LIBNL_DIR//./_} + +DESCRIPTION="Libraries providing APIs to netlink protocol based Linux kernel interfaces" +HOMEPAGE="http://www.infradead.org/~tgr/libnl/ https://github.com/thom311/libnl" +SRC_URI=" + https://github.com/thom311/${PN}/releases/download/${PN}${LIBNL_DIR}/${P/_rc/-rc}.tar.gz +" +LICENSE="LGPL-2.1 utils? ( GPL-2 )" +SLOT="3" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="static-libs python utils" + +RDEPEND=" + python? ( ${PYTHON_DEPS} ) + abi_x86_32? ( + !<=app-emulation/emul-linux-x86-baselibs-20140508-r5 + !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] + ) +" +DEPEND=" + ${RDEPEND} + python? ( dev-lang/swig ) + sys-devel/bison + sys-devel/flex +" +REQUIRED_USE=" + python? ( ${PYTHON_REQUIRED_USE} ) +" +DOCS=( + ChangeLog +) + +S=${WORKDIR}/${LIBNL_P} + +MULTILIB_WRAPPED_HEADERS=( + # we do not install CLI stuff for non-native + /usr/include/libnl3/netlink/cli/addr.h + /usr/include/libnl3/netlink/cli/class.h + /usr/include/libnl3/netlink/cli/cls.h + /usr/include/libnl3/netlink/cli/ct.h + /usr/include/libnl3/netlink/cli/exp.h + /usr/include/libnl3/netlink/cli/link.h + /usr/include/libnl3/netlink/cli/neigh.h + /usr/include/libnl3/netlink/cli/qdisc.h + /usr/include/libnl3/netlink/cli/route.h + /usr/include/libnl3/netlink/cli/rule.h + /usr/include/libnl3/netlink/cli/tc.h + /usr/include/libnl3/netlink/cli/utils.h +) + +src_prepare() { + default + + elibtoolize + + if use python; then + cd "${S}"/python || die + distutils-r1_src_prepare + fi + + # out-of-source build broken + # https://github.com/thom311/libnl/pull/58 + multilib_copy_sources +} + +multilib_src_configure() { + econf \ + --disable-silent-rules \ + $(use_enable static-libs static) \ + $(multilib_native_use_enable utils cli) +} + +multilib_src_compile() { + default + + if multilib_is_native_abi && use python; then + cd python || die + distutils-r1_src_compile + fi +} + +multilib_src_install() { + emake DESTDIR="${D}" install + + if multilib_is_native_abi && use python; then + # Unset DOCS= since distutils-r1.eclass interferes + local DOCS=() + cd python || die + distutils-r1_src_install + fi +} + +multilib_src_install_all() { + einstalldocs + prune_libtool_files --modules +} diff --git a/dev-libs/libnl/libnl-3.4.0_rc1.ebuild b/dev-libs/libnl/libnl-3.4.0_rc1.ebuild new file mode 100644 index 000000000000..1a3dd0f0879d --- /dev/null +++ b/dev-libs/libnl/libnl-3.4.0_rc1.ebuild @@ -0,0 +1,107 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 python3_{4,5} ) +DISTUTILS_OPTIONAL=1 +inherit distutils-r1 eutils libtool multilib multilib-minimal + +LIBNL_P=${P/_/-} +LIBNL_DIR=${PV/_/} +LIBNL_DIR=${LIBNL_DIR//./_} + +DESCRIPTION="Libraries providing APIs to netlink protocol based Linux kernel interfaces" +HOMEPAGE="http://www.infradead.org/~tgr/libnl/ https://github.com/thom311/libnl" +SRC_URI=" + https://github.com/thom311/${PN}/releases/download/${PN}${LIBNL_DIR}/${P/_rc/-rc}.tar.gz + https://dev.gentoo.org/~jer/${P}.tar.xz +" +LICENSE="LGPL-2.1 utils? ( GPL-2 )" +SLOT="3" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="static-libs python utils" + +RDEPEND=" + python? ( ${PYTHON_DEPS} ) + abi_x86_32? ( + !<=app-emulation/emul-linux-x86-baselibs-20140508-r5 + !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] + ) +" +DEPEND=" + ${RDEPEND} + python? ( dev-lang/swig ) + sys-devel/bison + sys-devel/flex +" +REQUIRED_USE=" + python? ( ${PYTHON_REQUIRED_USE} ) +" +DOCS=( + ChangeLog +) + +S=${WORKDIR}/${LIBNL_P} + +MULTILIB_WRAPPED_HEADERS=( + # we do not install CLI stuff for non-native + /usr/include/libnl3/netlink/cli/addr.h + /usr/include/libnl3/netlink/cli/class.h + /usr/include/libnl3/netlink/cli/cls.h + /usr/include/libnl3/netlink/cli/ct.h + /usr/include/libnl3/netlink/cli/exp.h + /usr/include/libnl3/netlink/cli/link.h + /usr/include/libnl3/netlink/cli/neigh.h + /usr/include/libnl3/netlink/cli/qdisc.h + /usr/include/libnl3/netlink/cli/route.h + /usr/include/libnl3/netlink/cli/rule.h + /usr/include/libnl3/netlink/cli/tc.h + /usr/include/libnl3/netlink/cli/utils.h +) + +src_prepare() { + default + + elibtoolize + + if use python; then + cd "${S}"/python || die + distutils-r1_src_prepare + fi + + # out-of-source build broken + # https://github.com/thom311/libnl/pull/58 + multilib_copy_sources +} + +multilib_src_configure() { + econf \ + --disable-silent-rules \ + $(use_enable static-libs static) \ + $(multilib_native_use_enable utils cli) +} + +multilib_src_compile() { + default + + if multilib_is_native_abi && use python; then + cd python || die + distutils-r1_src_compile + fi +} + +multilib_src_install() { + emake DESTDIR="${D}" install + + if multilib_is_native_abi && use python; then + # Unset DOCS= since distutils-r1.eclass interferes + local DOCS=() + cd python || die + distutils-r1_src_install + fi +} + +multilib_src_install_all() { + einstalldocs + prune_libtool_files --modules +} diff --git a/dev-libs/libnl/libnl-99999999.ebuild b/dev-libs/libnl/libnl-99999999.ebuild new file mode 100644 index 000000000000..f65e3012a6a4 --- /dev/null +++ b/dev-libs/libnl/libnl-99999999.ebuild @@ -0,0 +1,102 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 python3_{4,5} ) +DISTUTILS_OPTIONAL=1 +inherit autotools distutils-r1 eutils git-r3 libtool multilib multilib-minimal + +DESCRIPTION="Libraries providing APIs to netlink protocol based Linux kernel interfaces" +HOMEPAGE="http://www.infradead.org/~tgr/libnl/ https://github.com/thom311/libnl" +EGIT_REPO_URI=" + https://github.com/thom311/libnl.git +" +LICENSE="LGPL-2.1 utils? ( GPL-2 )" +SLOT="3" +KEYWORDS="" +IUSE="static-libs python utils" + +RDEPEND=" + python? ( ${PYTHON_DEPS} ) + abi_x86_32? ( + !<=app-emulation/emul-linux-x86-baselibs-20140508-r5 + !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] + ) +" +DEPEND=" + ${RDEPEND} + python? ( dev-lang/swig ) + sys-devel/bison + sys-devel/flex +" + +REQUIRED_USE=" + python? ( ${PYTHON_REQUIRED_USE} ) +" + +DOCS=( + ChangeLog +) + +MULTILIB_WRAPPED_HEADERS=( + # we do not install CLI stuff for non-native + /usr/include/libnl3/netlink/cli/addr.h + /usr/include/libnl3/netlink/cli/class.h + /usr/include/libnl3/netlink/cli/cls.h + /usr/include/libnl3/netlink/cli/ct.h + /usr/include/libnl3/netlink/cli/exp.h + /usr/include/libnl3/netlink/cli/link.h + /usr/include/libnl3/netlink/cli/neigh.h + /usr/include/libnl3/netlink/cli/qdisc.h + /usr/include/libnl3/netlink/cli/route.h + /usr/include/libnl3/netlink/cli/rule.h + /usr/include/libnl3/netlink/cli/tc.h + /usr/include/libnl3/netlink/cli/utils.h +) + +src_prepare() { + default + + eautoreconf + + if use python; then + cd "${S}"/python || die + distutils-r1_src_prepare + fi + + # out-of-source build broken + # https://github.com/thom311/libnl/pull/58 + multilib_copy_sources +} + +multilib_src_configure() { + econf \ + --disable-silent-rules \ + $(use_enable static-libs static) \ + $(multilib_native_use_enable utils cli) +} + +multilib_src_compile() { + default + + if multilib_is_native_abi && use python; then + cd python || die + distutils-r1_src_compile + fi +} + +multilib_src_install() { + emake DESTDIR="${D}" install + + if multilib_is_native_abi && use python; then + # Unset DOCS= since distutils-r1.eclass interferes + local DOCS=() + cd python || die + distutils-r1_src_install + fi +} + +multilib_src_install_all() { + einstalldocs + prune_libtool_files --modules +} diff --git a/dev-libs/libnl/metadata.xml b/dev-libs/libnl/metadata.xml new file mode 100644 index 000000000000..ae83e25b4104 --- /dev/null +++ b/dev-libs/libnl/metadata.xml @@ -0,0 +1,16 @@ + + + + + netmon@gentoo.org + Gentoo network monitoring and analysis project + + + Install development documentation + Install experimental dev-lang/python bindings + Install command line interface utils + + + thom311/libnl + + diff --git a/dev-libs/libnsfb/Manifest b/dev-libs/libnsfb/Manifest new file mode 100644 index 000000000000..659229def71c --- /dev/null +++ b/dev-libs/libnsfb/Manifest @@ -0,0 +1,7 @@ +AUX libnsfb-0.1.0-autodetect.patch 734 SHA256 b5081541a30d28128863020c28d1a42e7645b5985fe780524b52ef3d18b626da SHA512 72f3af574fadf38a514a6f6d4d24246ad1e76d9c9daa9700f0b37cb465f7afd4e4d7fdde6e53657740db3a6f87f1e8bfaeb1b008c43462d67f224c728af98993 WHIRLPOOL 15ef7180aa4f20377ba05a8f3cf8947e09c5d4dbfcd5b503e0a1d48ee85dfe6e215c7e02906a8addbe4cb4f7a153806efe9aeeb542c17feb170cdcb89847c5bd +DIST libnsfb-0.1.5-src.tar.gz 82897 SHA256 ce900d189635244d52cc0d2cfb74571e6bf0310ab7d06d98058e09e5e5cc6162 SHA512 7e1ff83552beb10fa44a05e34315502514c1eb9f160ec53f367d74718915400ac6630748704ffc2d4ea8633f74e0c446931042b6cbb7d9a2828a3cc565c872d4 WHIRLPOOL 3706b76e50d20069afc66d6b073de4ffc14347b1511c3073b179dc77d73107325dcc0538a05e28d9bebf915e6dfd856aa5619bd0c6286074a37bf39e0327eadc +DIST netsurf-buildsystem-1.4.tar.gz 38067 SHA256 e66b7f09e91ac478e9f2c5c1aaf1f36ece9df0c3bbb1db910cd4c0461c47f7ad SHA512 2c804ad7bef70c987e1d393ee4041bffc9797893b4fd513c90a665027205a1f7eee0a7d86ddaf833a6ee18346d6fe69587190c4e6722afc4ed18ce87783c35fc WHIRLPOOL 1f98d45258d3ea5570f272368f72ed6b016434eb1ab399b0efb062dbe9d6257c3175aa51884eaf94a90bbc2c3a4c891a43170b8e93df01c540cbcdecdad13e5c +EBUILD libnsfb-0.1.5.ebuild 1140 SHA256 72167b5c06fed89599835bd9aceb6fdc4d235347927f9b7ee56e81b870609031 SHA512 9bea716436afff46ecc3d67313c174fc9c7892eda87c17c63d7b2d3719dc22aef689899b3f5ea357e271401b3beb0ed3613740e390619daf003fde17c5fbfce2 WHIRLPOOL 5a707f1eab86310bbe1eeb9537c576dedd3d0a312bb8ea39cae7e84c93d2b2798ac1c07bf354cef650a7a7638d3bb007a146d88f8f6f3f746a940b70d1953676 +MISC ChangeLog 3358 SHA256 7627369b58a0e7082d4fe10ec56552ff79688c5b976b4a40cb4fa81c44495251 SHA512 cc1be2883afc76bfd659402d389e12ed72ccaa05de6eacfbdee5968bb604cf2fb0dde399782b05b6991970e63934a627b376c8fdce6f0a41f80f702d23d44659 WHIRLPOOL a10368d4507fd7f4e23b35537b854a29e08251cafbf1c50790a42bf6fe358b9d13a6cf3b84bb893df80fe4405bf0536d617fb4fd9ba4101866a772976d068e8e +MISC ChangeLog-2015 2898 SHA256 3c5d360d005f8c79f896c8deb5a730e75bff00424b0437c8106404ed73387775 SHA512 1774d360d5f6ad61a6733d51a2068331287dccdaf063450ddc44ec142ede63ef063cf342e57aa233c82e3b5a98091e1be97a98ff87774e53421946ea831023b9 WHIRLPOOL df27158efaab3a4ad88b17e8123444cb9382274daf758e9864d3dbe13cb6e6f0bd5d653b4a9ef3e651a0a22ee74866df450e98a5a85c778fdc9b40f7172ffa7e +MISC metadata.xml 237 SHA256 ffb571839c57797d282263369646d2bba2662601a45f7bb3251bb97f716554a6 SHA512 ae2360aa6b1b00c67e0acea4935c02b64585b9a15e126fec9d5d99637021c542c0a495e5116205f3da287def46fa5b19cb1a7f3042c12c5f7a78d66d92fcb03f WHIRLPOOL 60d6da846c983457e038ea5ba3c0bf48f939c9586610985a14cac9772fd1d45d781a643abc16482f232f3028e44fe99fe1a382deaebf6589602fc244a4460e3f diff --git a/dev-libs/libnsfb/files/libnsfb-0.1.0-autodetect.patch b/dev-libs/libnsfb/files/libnsfb-0.1.0-autodetect.patch new file mode 100644 index 000000000000..88a776dd85b8 --- /dev/null +++ b/dev-libs/libnsfb/files/libnsfb-0.1.0-autodetect.patch @@ -0,0 +1,21 @@ +--- libnsfb-0.1.0/Makefile ++++ libnsfb-0.1.0/Makefile +@@ -23,10 +23,18 @@ + NSFB_XCB_PKG_NAMES := xcb xcb-icccm xcb-image xcb-keysyms xcb-atom + + # determine which surface handlers can be compiled based upon avalable library ++ifeq ($(WITH_VNC),yes) + $(eval $(call pkg_config_package_available,NSFB_VNC_AVAILABLE,libvncserver)) ++endif ++ifeq ($(WITH_SDL),yes) + $(eval $(call pkg_config_package_available,NSFB_SDL_AVAILABLE,sdl)) ++endif ++ifeq ($(WITH_XCB),yes) + $(eval $(call pkg_config_package_available,NSFB_XCB_AVAILABLE,$(NSFB_XCB_PKG_NAMES))) ++endif ++ifeq ($(WITH_WLD),yes) + $(eval $(call pkg_config_package_available,NSFB_WLD_AVAILABLE,wayland-client)) ++endif + + # surfaces not detectable via pkg-config + NSFB_ABLE_AVAILABLE := no diff --git a/dev-libs/libnsfb/libnsfb-0.1.5.ebuild b/dev-libs/libnsfb/libnsfb-0.1.5.ebuild new file mode 100644 index 000000000000..31d7b3ce4714 --- /dev/null +++ b/dev-libs/libnsfb/libnsfb-0.1.5.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +NETSURF_BUILDSYSTEM=buildsystem-1.4 +inherit netsurf + +DESCRIPTION="framebuffer abstraction library, written in C" +HOMEPAGE="http://www.netsurf-browser.org/projects/libnsfb/" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~ppc" +IUSE="sdl test vnc wayland xcb" + +RDEPEND="sdl? ( >=media-libs/libsdl-1.2.15-r4[static-libs?,${MULTILIB_USEDEP}] ) + vnc? ( >=net-libs/libvncserver-0.9.9-r2[static-libs?,${MULTILIB_USEDEP}] ) + wayland? ( >=dev-libs/wayland-1.0.6[static-libs?,${MULTILIB_USEDEP}] ) + xcb? ( >=x11-libs/libxcb-1.9.1[static-libs?,${MULTILIB_USEDEP}] + >=x11-libs/xcb-util-0.3.9-r1[static-libs?,${MULTILIB_USEDEP}] + >=x11-libs/xcb-util-image-0.3.9-r1[static-libs?,${MULTILIB_USEDEP}] + >=x11-libs/xcb-util-keysyms-0.3.9-r1[static-libs?,${MULTILIB_USEDEP}] )" +DEPEND="${RDEPEND}" + +PATCHES=( "${FILESDIR}"/${PN}-0.1.0-autodetect.patch ) + +DOCS=( usage ) + +src_configure() { + netsurf_src_configure + + netsurf_makeconf+=( + WITH_VNC=$(usex vnc) + WITH_SDL=$(usex sdl) + WITH_XCB=$(usex xcb) + WITH_WLD=$(usex wayland) + ) +} diff --git a/dev-libs/libnsfb/metadata.xml b/dev-libs/libnsfb/metadata.xml new file mode 100644 index 000000000000..a535b8852829 --- /dev/null +++ b/dev-libs/libnsfb/metadata.xml @@ -0,0 +1,8 @@ + + + + +xmw@gentoo.org +Michael Weber + + diff --git a/dev-libs/libnsutils/Manifest b/dev-libs/libnsutils/Manifest new file mode 100644 index 000000000000..433482951620 --- /dev/null +++ b/dev-libs/libnsutils/Manifest @@ -0,0 +1,6 @@ +DIST libnsutils-0.0.3-src.tar.gz 7174 SHA256 15b8bf715da6e020509bcadea61f8b33d861b153121857a775b91fcb32b13d73 SHA512 324c4d1d145ecc2643e244b515c72fde41ad31f43983e46ef181eff3f5bd767cab72a0ee73afbabdff8a92c476799ed6cd69326d7d194acd5ac330e2d4cb4122 WHIRLPOOL 47c2e9a1e9f22f017c1ea50af6dc9fd45a0bb4119049d14ceb59f8803eca5f4a67f189d20747d333a315e636f1b78b26078226244b7cd0bf1d9dbad70083dcd7 +DIST netsurf-buildsystem-1.5.tar.gz 38196 SHA256 dbc6afc639f6987b704e6ff4427668787ee7efba77e1bbf76b614699b5daaf71 SHA512 02d85e8f1d2101194a678f7ccf84051390953285a46951d7b327556f8df1a0c416620bd4c7a615e25de438d5d27cfffb69ec5d94eb8379a295dab4c85a96cae4 WHIRLPOOL 7b7d595a2e399b361e71769e509a129af42da5ce823f1b55183efb53898ac2ae731593eb13e1ecc2271ea26ee0948ac35bf99fea280eb72a2bb00164b4b29f09 +EBUILD libnsutils-0.0.3.ebuild 362 SHA256 93548b7c5d3d29f35896267b63c6e0404fd6caf595bc655cd8c6ce4f2093b940 SHA512 66e674a620f8a6fd2ecfdd05e44e544aed26579573409e87dea7bbafb0fb20e145450bce6e7705a9b50289e93cd5dc712e8dc9091268cf0e52b95c8107048af3 WHIRLPOOL 63c90d822d0c7fdb9be0f4262a68cad021ebaefa6679b8fe72756ee3564b8f71feb4c8b66c3f189b2d0fbceb3199ef0423cfb2ac2ab90087cf66b368daea7a33 +MISC ChangeLog 2622 SHA256 18442e2288331c7a96c1c99ded5339d0891b495d146347918f8cce5f2780840f SHA512 7e4b9f791e4efa183073d10519bc9184bcbb44ef12027f85c9f2636b1fd8e5aecdac5e6fd6fd7c44e3e62be97700d7994fc534501c8ecd07e6ea16bd7e016c87 WHIRLPOOL f96df5d3235d82b047e9d19cb0b0059a5e0ee4e735d01dfcbc363e72d6c4ad285d9ac0c11fc10745dbadb1bb1066a1869422dad01f6abcee82362fbdaefd3346 +MISC ChangeLog-2015 531 SHA256 5c9bc0a6ee4e193a28481baaacb982db676cd06df2bc89a5e57a4c773bf76408 SHA512 df882c9acec81516711253766279bb6319d1982d6baf452f702b0850415eaf6f84b5619562adb01e181bb664dc094303fc318c0b7ebd83706124e9639bc45d32 WHIRLPOOL 4fc571317c3ec506d6817ee4383e5d42c32755d7fd2a9c853df01d2b9e47e2f03c4e52b00ac6d189f81f8440e94721b76d72e06a75f67b97a8ced4ae1e068365 +MISC metadata.xml 237 SHA256 ffb571839c57797d282263369646d2bba2662601a45f7bb3251bb97f716554a6 SHA512 ae2360aa6b1b00c67e0acea4935c02b64585b9a15e126fec9d5d99637021c542c0a495e5116205f3da287def46fa5b19cb1a7f3042c12c5f7a78d66d92fcb03f WHIRLPOOL 60d6da846c983457e038ea5ba3c0bf48f939c9586610985a14cac9772fd1d45d781a643abc16482f232f3028e44fe99fe1a382deaebf6589602fc244a4460e3f diff --git a/dev-libs/libnsutils/libnsutils-0.0.3.ebuild b/dev-libs/libnsutils/libnsutils-0.0.3.ebuild new file mode 100644 index 000000000000..9e9191abbf7b --- /dev/null +++ b/dev-libs/libnsutils/libnsutils-0.0.3.ebuild @@ -0,0 +1,18 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +NETSURF_BUILDSYSTEM=buildsystem-1.5 +inherit netsurf + +DESCRIPTION="base64 and time library, written in C" +HOMEPAGE="http://www.netsurf-browser.org/" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~ppc" +IUSE="" + +RDEPEND="" +DEPEND="${RDEPEND}" diff --git a/dev-libs/libnsutils/metadata.xml b/dev-libs/libnsutils/metadata.xml new file mode 100644 index 000000000000..a535b8852829 --- /dev/null +++ b/dev-libs/libnsutils/metadata.xml @@ -0,0 +1,8 @@ + + + + +xmw@gentoo.org +Michael Weber + + diff --git a/dev-libs/libntru/Manifest b/dev-libs/libntru/Manifest new file mode 100644 index 000000000000..7a1023e23859 --- /dev/null +++ b/dev-libs/libntru/Manifest @@ -0,0 +1,6 @@ +DIST libntru-0.4.1.tar.gz 97284 SHA256 a540763f12c496b057f75c7684274bafb4e62984e6b713720ceb7ea8f31229e5 SHA512 c49251a194614f02124c90c08b886f89d0dacbed2088eb2e306946666af3b8bc3f9c2dc2c7f5e4c0560af66fca31a640fa853b3142dcfb2ee2b0dfe9a0d41f61 WHIRLPOOL 9313e7659de9dd6cb4c13f76d5fad9bfad7bf0bf97dad24d66a910750c8df185ab356f6934c47b4371fc5295d811df181a9b756d687223869ef348852af9aa6d +EBUILD libntru-0.4.1-r1.ebuild 1427 SHA256 72319a74966cc4cf19e8ba4e5959b3daeaced62608e1a82fc7660f3d1314a582 SHA512 3ea44cdbcd5e3b9379e715b89a79e4b5f18e34fa6a4bb379afcf1f6e2ccdaad545b942b0e3f80e23956bfa6c722177502bedf86c032c301d587b538c8646938d WHIRLPOOL cca2a6cbb3ae9becfecd886ec4283795306b29dd2dd76a20af4f4fe954d5f8bddbb8fc3fcc7508717ae8206b515cb8c8e04df0b9c045f4b70246026066d6e2e0 +EBUILD libntru-0.4.1.ebuild 1417 SHA256 b81cbe93e650edefb4b7598a24cf2813dbeb3525e36eb6dab19425acd5bbe94a SHA512 6c137ed108af1177f0b3f7f7a716418106b2923f3c2a25e06be488a21d519079385d363ad137ef31bba8e93553102f50c88701bd1ecfbd12e7764664bd3b4774 WHIRLPOOL c5d7f33700650afc550a4eaca0d1576243918c0f54219edeafb45d27a24ec7b4b8f565433f5202162662e0101735ca23120973068acd8cabd2eaa2d22a5578f2 +MISC ChangeLog 4052 SHA256 ea501e11786ad81cf5795e3a45bc44c7090b6ca9a41afa541355cbf1fdba1540 SHA512 2779deb3ecba6c6f7b30dc0e510f3da86f9d98b763559403b3062c816df17c8632b5c39d8f4b22df31bea354022fd7a63e8dee1980148b043cd5a15a3e1c55ba WHIRLPOOL f0420ffac9e43e8a845f46955d8fde7de97dd1378905aced6b1dd1a8d3de0c5eb3f2046a386d86f12e91d9992112989a7a22eaa9f8bd39adf0bf11bd073259c9 +MISC ChangeLog-2015 893 SHA256 e1b3bdc5bbc561cd8a51ce7e9866153f36fcc8800b7b3520a190b3b812683cf3 SHA512 15f5955500e97b9e6e3bedca3debe41957215c05086772f5ce2b26ddad52e8c43e72eb57c8247a794322daa48e585665bcf88b98946cf73878cfb02250ce66a1 WHIRLPOOL 5133db9dbfec9566628b5e8e795d63503f7c80905417eba5c579e99b9629e5a15e86e1d5db6f952417e50547166b3b984a7ae8ae577a50ad0fe4e4ebcf109c0b +MISC metadata.xml 246 SHA256 c0d98a4d052f4e9a75b1ede47c7a6834e46d32861ec5c60064a9adc227722ab2 SHA512 d0b4f22c4207d647b24be3a25c4154aa30cf75727f0add14c9c1177f60fc264d1d9d60520518d16f5d5df3373d0a78643c650ab6925baf5255eab1a7e9fcebc3 WHIRLPOOL eae09828b7ddbf63055d386dff5bd8b4ed91492f6c1ad1934b38347da8ed5064dbb7892f2db99b4a6a290208032d30d737904d6cc97550de9a6e9ef3e3b10270 diff --git a/dev-libs/libntru/libntru-0.4.1-r1.ebuild b/dev-libs/libntru/libntru-0.4.1-r1.ebuild new file mode 100644 index 000000000000..7625c4a96d4b --- /dev/null +++ b/dev-libs/libntru/libntru-0.4.1-r1.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils toolchain-funcs multilib multilib-minimal + +DESCRIPTION="C Implementation of NTRUEncrypt" +HOMEPAGE="https://github.com/tbuktu/libntru" +SRC_URI="https://github.com/tbuktu/libntru/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples static-libs" + +DEPEND="dev-lang/perl" + +src_prepare() { + default + + multilib_copy_sources + + _copy_test_dir() { + cp -pr "${BUILD_DIR}" "${BUILD_DIR}-test" || die + } + multilib_foreach_abi _copy_test_dir +} + +multilib_src_compile() { + CFLAGS="${CFLAGS}" \ + emake \ + CC="$(tc-getCC)" \ + $(usex static-libs "libntru.a libntru.so" "") \ + MACHINE="$(if [[ ${ABI} == x86 ]] ; then echo i386 ; else echo x86_64 ; fi)" +} + +src_test() { + _test() { + CFLAGS="${CFLAGS}" \ + emake CC="$(tc-getCC)" test -j1 -C "${BUILD_DIR}-test" \ + MACHINE="$(if [[ ${ABI} == x86 ]] ; then echo i386 ; else echo x86_64 ; fi)" + + } + + multilib_foreach_abi _test +} + +multilib_src_install() { + emake \ + DESTDIR="${ED}" \ + INST_LIBDIR="/usr/$(get_libdir)" \ + INST_DOCDIR="/usr/share/doc/${PF}" \ + MACHINE="$(if [[ ${ABI} == x86 ]] ; then echo i386 ; else echo x86_64 ; fi)" \ + install $(usex static-libs install-static-lib "") +} + +multilib_src_install_all() { + einstalldocs + if use examples ; then + docinto examples + dodoc src/hybrid.c + fi +} diff --git a/dev-libs/libntru/libntru-0.4.1.ebuild b/dev-libs/libntru/libntru-0.4.1.ebuild new file mode 100644 index 000000000000..c676d0ff62b7 --- /dev/null +++ b/dev-libs/libntru/libntru-0.4.1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils toolchain-funcs multilib multilib-minimal + +DESCRIPTION="C Implementation of NTRUEncrypt" +HOMEPAGE="https://github.com/tbuktu/libntru" +SRC_URI="https://github.com/tbuktu/libntru/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples static-libs" + +DEPEND="dev-lang/perl" + +src_prepare() { + multilib_copy_sources + + _copy_test_dir() { + cp -pr "${BUILD_DIR}" "${BUILD_DIR}-test" || die + } + multilib_foreach_abi _copy_test_dir +} + +multilib_src_compile() { + CFLAGS="${CFLAGS}" \ + emake \ + CC="$(tc-getCC)" \ + $(usex static-libs "libntru.a libntru.so" "") \ + MACHINE="$(if [[ ${ABI} == x86 ]] ; then echo i386 ; else echo x86_64 ; fi)" +} + +src_test() { + _test() { + CFLAGS="${CFLAGS}" \ + emake CC="$(tc-getCC)" test -j1 -C "${BUILD_DIR}-test" \ + MACHINE="$(if [[ ${ABI} == x86 ]] ; then echo i386 ; else echo x86_64 ; fi)" + + } + + multilib_foreach_abi _test +} + +multilib_src_install() { + emake \ + DESTDIR="${ED}" \ + INST_LIBDIR="/usr/$(get_libdir)" \ + INST_DOCDIR="/usr/share/doc/${PF}" \ + MACHINE="$(if [[ ${ABI} == x86 ]] ; then echo i386 ; else echo x86_64 ; fi)" \ + install $(usex static-libs install-static-lib "") +} + +multilib_src_install_all() { + einstalldocs + if use examples ; then + docinto examples + dodoc src/hybrid.c + fi +} diff --git a/dev-libs/libntru/metadata.xml b/dev-libs/libntru/metadata.xml new file mode 100644 index 000000000000..83d560b32b49 --- /dev/null +++ b/dev-libs/libntru/metadata.xml @@ -0,0 +1,8 @@ + + + + + + tbuktu/libntru + + diff --git a/dev-libs/libofx/Manifest b/dev-libs/libofx/Manifest new file mode 100644 index 000000000000..8ee219cd1bd1 --- /dev/null +++ b/dev-libs/libofx/Manifest @@ -0,0 +1,5 @@ +DIST libofx-0.9.10.tar.gz 1433837 SHA256 54e26a4944ef2785087cfd8ed8f187ab9d397d9b92b5acc199dd7d5d095cf695 SHA512 061110702034dbbb9be3adaebe6236a4b0842169d8ee7671bad6c93960b380cbb33953bdf080c8b14f45930b0c817fcfe1bf71f15d9872dd2535a1415f5be895 WHIRLPOOL 2cf39474bde30086b51529d4fccae51c6b1728b413ddf45768283e1404d0b8bb0316a532c3a1436dfee22d4953df8ef42470bf4414cbd1aef7b9fb7c8661ce38 +EBUILD libofx-0.9.10.ebuild 1118 SHA256 066a29a5b550525fe509a8be5b1bfaadcc9b225b40993c17e342048af2de48fb SHA512 37c9ab47af820ad0572b511b0d97a850b53113e8339e82bacbc26b4dd02b6a8a40784e478bd2158804d22b02963a71346c96fb6ac3710b8a4f88ff4d6ed6e673 WHIRLPOOL 9b841e03df3b9e74736b2088c9ff991a28df09b3bcfd704094e5d9357307263b168759e05b31bdc105e5f8f92ba2394d8e1e4d2bee426c8bb737dacfaff426ef +MISC ChangeLog 3561 SHA256 d3d2a074c6d625c5a8dc66be9c50e48a259c49bf88b4c2507a6d9f3e59292ae1 SHA512 98e6cb18f7c5c0aac4ddefd1ea05d35388e8071ec6fcc53496953362ca70f3825727b22710b128657a099ddfff6962c3814b756d3e386d00ecd33c76a5b3332c WHIRLPOOL 1c0ed97c21ac3f376ea72949d252293a2d3b0e96f34fd81b59512e3446e708718a5e6038ab65457a510b4a8405e13ea7d9de1614361f745e24624bc3a3407b2b +MISC ChangeLog-2015 10039 SHA256 be186be345890913615d583796de3e8eaf5e81edeb6366500a9140ba4520aa8d SHA512 ac8ed0725702a0011f44e461224a4cea95ec813ad3f16049e5261126125ca191f2c067e5df1788d37288966db463d807fd324812432272c899a4637f7d376697 WHIRLPOOL 9681e2ac2143ccc54b18df3190badec72efad711c22c92385abe87d7bc5113351e3e7207b5cf3b38de2034e78283b64172a2229455afa1ef37ef571107e01914 +MISC metadata.xml 243 SHA256 6a6ff225de00dff3eba509f8a1988dd4d62e548901ed9d64f45f0437ec01b57c SHA512 fc5071bd581b91f72ea6f021641f47d46d1e6038cac7bd34bc13d94e6229441e3b2f7cdd981490a169d7e645339fe4137496a0eb0956014027ffd42a5b9814a8 WHIRLPOOL ba5ec379eff01e8eb2509c7efe6cfcee0a9e0bb733220555f66ca5fc811d0beacb2da8a6db7c62555b63204aabaada1fcb62040ee3caceee11b0e9a959ff2047 diff --git a/dev-libs/libofx/libofx-0.9.10.ebuild b/dev-libs/libofx/libofx-0.9.10.ebuild new file mode 100644 index 000000000000..af1022953385 --- /dev/null +++ b/dev-libs/libofx/libofx-0.9.10.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit autotools-utils + +DESCRIPTION="A library to support the Open Financial eXchange XML format" +HOMEPAGE="http://libofx.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 hppa ~ppc ~ppc64 x86" +IUSE="static-libs test" + +RDEPEND=" + >=app-text/opensp-1.5 + dev-cpp/libxmlpp:2.6 + >=net-misc/curl-7.9.7 + virtual/libiconv +" +DEPEND="${RDEPEND} + sys-apps/help2man + virtual/pkgconfig + test? ( app-crypt/gnupg ) +" + +src_prepare() { + autotools-utils_src_prepare + + # Be sure DTD gets installed in correct path after redefining docdir in install + sed -i \ + -e 's:$(DESTDIR)$(docdir):$(DESTDIR)$(LIBOFX_DTD_DIR):' \ + dtd/Makefile.in || die + + # configure arguments alone don't disable everything + sed -e "/^SUBDIRS/s/doc//" -i Makefile.in || die +} + +src_compile() { + autotools-utils_src_compile CXXFLAGS+=-std=c++11 #566456 +} + +src_install() { + autotools-utils_src_install docdir="/usr/share/doc/${PF}" + + rm -f "${ED}"/usr/share/doc/${PF}/{COPYING,INSTALL} +} diff --git a/dev-libs/libofx/metadata.xml b/dev-libs/libofx/metadata.xml new file mode 100644 index 000000000000..78afc83cfd53 --- /dev/null +++ b/dev-libs/libofx/metadata.xml @@ -0,0 +1,8 @@ + + + + + + libofx + + diff --git a/dev-libs/liboil/Manifest b/dev-libs/liboil/Manifest new file mode 100644 index 000000000000..34826f75fadb --- /dev/null +++ b/dev-libs/liboil/Manifest @@ -0,0 +1,7 @@ +AUX liboil-0.3.17-amd64-cpuid.patch 1040 SHA256 6bf12ddbe2f9443b9597abed906ed2d5b82a998e3851c22fc90639b4b2de55ca SHA512 f77100d5e8270cd137b3061904009c8f9f37648e85fa2d82bbeec08d58886dc7a8544a39331ad7854b9db17890092944a74ca12fadc73c24fbc40feacfc50e73 WHIRLPOOL ec95328bccc16bec177bfe90456fd7f2e793b34d86e342f18ef4ca3f61f84db3d20e70c061fc87f9846ddcd1892b19eb6c257909a33f2066ac9d543466ce67e4 +AUX liboil-0.3.17-x32.patch 7762 SHA256 d53bf438336b134450ce3de0cb15e695a0179fd7d2d0ac80618d45ab2eca2d05 SHA512 83201a8a03a3785f228d9bff916928d80fdbf8abeaa27f715956c09b2a2eaffcffcda97e680abbb7b29b3f207531ee935489c1f226796a34968284751ffbd8d5 WHIRLPOOL 09604399ec3bdd77f45ba572a138b098e9b302d2251d6193c7618f5ab00531cfadb9e4d032fa8d445ae5d6534b1ec23e2dae9ecd1f0ea58b2d00fccd29aabc4a +DIST liboil-0.3.17.tar.gz 912563 SHA256 105f02079b0b50034c759db34b473ecb5704ffa20a5486b60a8b7698128bfc69 SHA512 26f60d37af8aae435ff17f2aa852a4e52cebd96ef7be04cb4dc14c61bc42160e333e317e5b33f05f6d4b6c819b15c4ecd1d4c03018515252daea26dd4ed60145 WHIRLPOOL ae26cf5b4f5f0b87104c2d5e2dc81d22c9ea4c4fecf4606e03d8b66ad44d5c9ae2330e4d08a9691f205d03c84c249f2374381a4b9d93c345be486cb6d5efa9fe +EBUILD liboil-0.3.17-r2.ebuild 1730 SHA256 80bb1a5a5b674843acfe3e718bf81508b0281fedab71169cd78d2c5164baa23e SHA512 ee62657d621d8b2bf657b0c7e65441ad39bfb295f1056650a3e28b6cbe19884aac9a890c03ee2a4fdf3f716b9bff5e00a4f541538dca5bee5c39f5a9d6d4ac45 WHIRLPOOL d776b3934ca98f5d2c7254e3c63fd5aecfb9347ee6f005619297c704f79617378a888948c2c2283efaca08e573fbb161126f2bd8eceaef26145a5bbe423e4c7e +MISC ChangeLog 3885 SHA256 3daace5170268b25fe5fd531836094b97cc2ee3408e91005c28223f186a2588f SHA512 80ff9d18eade630ac6168531f75452f431f7b0ad0858dbde4742107d07afc6662057dd9d6d3aa149f256408e053ecf9ad88cf98e26786e6e999b5399ac39db34 WHIRLPOOL d275d3fb0c2b0a280ec3136716eb26dc4541ce7ed5bfe5db798dbfdbb0b9ca9513c0ac2930516576705da41d4dc49d8345b0aed7d67cb7553ae822289ee1d2af +MISC ChangeLog-2015 12058 SHA256 4fdbaa71f679df1ff284088bcc8c3b0f2f8cf667c2c38815e8ab2f78513c0a54 SHA512 1560333930da808dbdd066416039110974a1449ce38203a4df0f2b8e02ad2be8d2baa567bf87ef30e52743470643a69eb184d1cc5009d96ff1f7ed46ba8f818a WHIRLPOOL 5b26bca5f6e889fa67b96e74055884f31c5987b8a8417bc6b0f70d628127dc2a55d4a826004219b9005c550d0121c5cad66e4e0b2580ebadb4a1e84bc1056378 +MISC metadata.xml 228 SHA256 a3c8fb486cd4bec96195197f2974a236066bd02c05d29ace05a844a43bbfd66e SHA512 4f5e63f918a0f8790db49c5b12173c673f86935f00796a04acfed573f618379b73b05b1869941e11f881fe69d4958f5287ce815fd710eadb6ac9f2680894caae WHIRLPOOL 4690b7b1591c1f8a8b55f8693dbd5172642a2d377c2f12f3b20dca75a6befc9eeac6eeb7e83ba2332b760d64b5c6fd0ac0000b5a40c416eaeec05f49eb6de750 diff --git a/dev-libs/liboil/files/liboil-0.3.17-amd64-cpuid.patch b/dev-libs/liboil/files/liboil-0.3.17-amd64-cpuid.patch new file mode 100644 index 000000000000..d86dd79c3bcb --- /dev/null +++ b/dev-libs/liboil/files/liboil-0.3.17-amd64-cpuid.patch @@ -0,0 +1,38 @@ +From 705916007fba0a845229a02dc6474cb523eff150 Mon Sep 17 00:00:00 2001 +From: David Schleef +Date: Tue, 20 Jul 2010 21:05:26 +0000 +Subject: x86: Fix cpuid function on x86-64 + +Fixes: #28956. +--- +diff --git a/liboil/liboilcpu-x86.c b/liboil/liboilcpu-x86.c +index e7a1978..ef4d3f2 100644 +--- a/liboil/liboilcpu-x86.c ++++ b/liboil/liboilcpu-x86.c +@@ -162,13 +162,10 @@ get_cpuid (uint32_t op, uint32_t *a, uint32_t *b, uint32_t *c, uint32_t *d) + static void + get_cpuid (uint32_t op, uint32_t *a, uint32_t *b, uint32_t *c, uint32_t *d) + { ++ *a = op; + __asm__ ( +- " pushq %%rbx\n" + " cpuid\n" +- " mov %%ebx, %%esi\n" +- " popq %%rbx\n" +- : "=a" (*a), "=S" (*b), "=c" (*c), "=d" (*d) +- : "0" (op)); ++ : "+a" (*a), "=b" (*b), "=c" (*c), "=d" (*d)); + } + #endif + +@@ -185,7 +182,7 @@ oil_cpu_detect_cpuid (void) + { + uint32_t eax, ebx, ecx, edx; + uint32_t level; +- char vendor[13] = { 0 }; ++ char vendor[13+4] = { 0 }; + int ret; + + oil_fault_check_enable (); +-- +cgit v0.9.0.2-2-gbebe diff --git a/dev-libs/liboil/files/liboil-0.3.17-x32.patch b/dev-libs/liboil/files/liboil-0.3.17-x32.patch new file mode 100644 index 000000000000..416c78757de4 --- /dev/null +++ b/dev-libs/liboil/files/liboil-0.3.17-x32.patch @@ -0,0 +1,224 @@ +http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=f3c0a02b920efa5747474b4c65aba12a928e56de + +Upstream-Status: Pending + +Make the assembly syntax compatible with x32 gcc. Othewise x32 gcc throws errors. + +Signed-Off-By: Nitin A Kamble +2011/12/01 + + +Index: liboil-0.3.17/liboil/amd64/wavelet.c +=================================================================== +--- liboil-0.3.17.orig/liboil/amd64/wavelet.c ++++ liboil-0.3.17/liboil/amd64/wavelet.c +@@ -21,14 +21,14 @@ deinterleave2_asm (int16_t *d1, int16_t + asm volatile ("\n" + " sub $2, %%rcx\n" + "1:\n" +- " movw (%1,%%rcx,4), %%ax\n" +- " movw %%ax, (%0,%%rcx,2)\n" +- " movw 2(%1,%%rcx,4), %%ax\n" +- " movw %%ax, (%2,%%rcx,2)\n" +- " movw 4(%1,%%rcx,4), %%ax\n" +- " movw %%ax, 2(%0,%%rcx,2)\n" +- " movw 6(%1,%%rcx,4), %%ax\n" +- " movw %%ax, 2(%2,%%rcx,2)\n" ++ " movw (%q1,%%rcx,4), %%ax\n" ++ " movw %%ax, (%q0,%%rcx,2)\n" ++ " movw 2(%q1,%%rcx,4), %%ax\n" ++ " movw %%ax, (%q2,%%rcx,2)\n" ++ " movw 4(%q1,%%rcx,4), %%ax\n" ++ " movw %%ax, 2(%q0,%%rcx,2)\n" ++ " movw 6(%q1,%%rcx,4), %%ax\n" ++ " movw %%ax, 2(%q2,%%rcx,2)\n" + " sub $2, %%rcx\n" + " jge 1b\n" + : "+r" (d1), "+r" (s_2xn), "+r" (d2), "+c" (n) +@@ -53,20 +53,20 @@ deinterleave2_mmx (int16_t *d1, int16_t + asm volatile ("\n" + " xor %%rcx, %%rcx\n" + "1:\n" +- " movq (%1,%%rcx,4), %%mm0\n" +- " movq 8(%1,%%rcx,4), %%mm1\n" ++ " movq (%q1,%%rcx,4), %%mm0\n" ++ " movq 8(%q1,%%rcx,4), %%mm1\n" + " pslld $16, %%mm0\n" + " pslld $16, %%mm1\n" + " psrad $16, %%mm0\n" + " psrad $16, %%mm1\n" + " packssdw %%mm1, %%mm0\n" +- " movq %%mm0, (%0,%%rcx,2)\n" +- " movq (%1,%%rcx,4), %%mm0\n" +- " movq 8(%1,%%rcx,4), %%mm1\n" ++ " movq %%mm0, (%q0,%%rcx,2)\n" ++ " movq (%q1,%%rcx,4), %%mm0\n" ++ " movq 8(%q1,%%rcx,4), %%mm1\n" + " psrad $16, %%mm0\n" + " psrad $16, %%mm1\n" + " packssdw %%mm1, %%mm0\n" +- " movq %%mm0, (%2,%%rcx,2)\n" ++ " movq %%mm0, (%q2,%%rcx,2)\n" + " add $4, %%rcx\n" + " cmp %3, %%ecx\n" + " jl 1b\n" +@@ -93,10 +93,10 @@ deinterleave2_mmx_2 (int16_t *d1, int16_ + asm volatile ("\n" + " xor %%rcx, %%rcx\n" + "1:\n" +- " pshufw $0xd8, (%1,%%rcx,4), %%mm0\n" +- " movd %%mm0, (%0,%%rcx,2)\n" +- " pshufw $0x8d, (%1,%%rcx,4), %%mm0\n" +- " movd %%mm0, (%2,%%rcx,2)\n" ++ " pshufw $0xd8, (%q1,%%rcx,4), %%mm0\n" ++ " movd %%mm0, (%q0,%%rcx,2)\n" ++ " pshufw $0x8d, (%q1,%%rcx,4), %%mm0\n" ++ " movd %%mm0, (%q2,%%rcx,2)\n" + " add $2, %%rcx\n" + " cmp %3, %%ecx\n" + " jl 1b\n" +@@ -123,16 +123,16 @@ deinterleave2_mmx_3 (int16_t *d1, int16_ + asm volatile ("\n" + " xor %%rcx, %%rcx\n" + "1:\n" +- " movq (%1,%%rcx,4), %%mm1\n" +- " movq (%1,%%rcx,4), %%mm2\n" +- " movq 8(%1,%%rcx,4), %%mm0\n" ++ " movq (%q1,%%rcx,4), %%mm1\n" ++ " movq (%q1,%%rcx,4), %%mm2\n" ++ " movq 8(%q1,%%rcx,4), %%mm0\n" + " punpcklwd %%mm0, %%mm1\n" + " punpckhwd %%mm0, %%mm2\n" + " movq %%mm1, %%mm0\n" + " punpcklwd %%mm2, %%mm0\n" + " punpckhwd %%mm2, %%mm1\n" +- " movq %%mm0, (%0,%%rcx,2)\n" +- " movq %%mm1, (%2,%%rcx,2)\n" ++ " movq %%mm0, (%q0,%%rcx,2)\n" ++ " movq %%mm1, (%q2,%%rcx,2)\n" + " add $4, %%rcx\n" + " cmp %3, %%ecx\n" + " jl 1b\n" +@@ -159,26 +159,26 @@ deinterleave2_mmx_4 (int16_t *d1, int16_ + asm volatile ("\n" + " xor %%rcx, %%rcx\n" + "1:\n" +- " movq (%1,%%rcx,4), %%mm1\n" ++ " movq (%q1,%%rcx,4), %%mm1\n" + " movq %%mm1, %%mm2\n" +- " movq 8(%1,%%rcx,4), %%mm0\n" +- " movq 16(%1,%%rcx,4), %%mm5\n" ++ " movq 8(%q1,%%rcx,4), %%mm0\n" ++ " movq 16(%q1,%%rcx,4), %%mm5\n" + " punpcklwd %%mm0, %%mm1\n" + " movq %%mm5, %%mm6\n" + " punpckhwd %%mm0, %%mm2\n" +- " movq 24(%1,%%rcx,4), %%mm4\n" ++ " movq 24(%q1,%%rcx,4), %%mm4\n" + " movq %%mm1, %%mm0\n" + " punpcklwd %%mm4, %%mm5\n" + " punpcklwd %%mm2, %%mm0\n" + " punpckhwd %%mm4, %%mm6\n" + " punpckhwd %%mm2, %%mm1\n" + " movq %%mm5, %%mm4\n" +- " movq %%mm0, (%0,%%rcx,2)\n" ++ " movq %%mm0, (%q0,%%rcx,2)\n" + " punpcklwd %%mm6, %%mm4\n" +- " movq %%mm1, (%2,%%rcx,2)\n" ++ " movq %%mm1, (%q2,%%rcx,2)\n" + " punpckhwd %%mm6, %%mm5\n" +- " movq %%mm4, 8(%0,%%rcx,2)\n" +- " movq %%mm5, 8(%2,%%rcx,2)\n" ++ " movq %%mm4, 8(%q0,%%rcx,2)\n" ++ " movq %%mm5, 8(%q2,%%rcx,2)\n" + " add $8, %%rcx\n" + " cmp %3, %%ecx\n" + " jl 1b\n" +@@ -252,13 +252,13 @@ interleave2_mmx (int16_t *d_2xn, int16_t + asm volatile ("\n" + " xor %%rcx, %%rcx\n" + "1:\n" +- " movq (%1,%%rcx,2), %%mm0\n" +- " movq (%2,%%rcx,2), %%mm1\n" ++ " movq (%q1,%%rcx,2), %%mm0\n" ++ " movq (%q2,%%rcx,2), %%mm1\n" + " movq %%mm0, %%mm2\n" + " punpckhwd %%mm1, %%mm0\n" + " punpcklwd %%mm1, %%mm2\n" +- " movq %%mm2, (%0,%%rcx,4)\n" +- " movq %%mm0, 8(%0,%%rcx,4)\n" ++ " movq %%mm2, (%q0,%%rcx,4)\n" ++ " movq %%mm0, 8(%q0,%%rcx,4)\n" + " add $4, %%rcx\n" + " cmp %3, %%ecx\n" + " jl 1b\n" +@@ -285,12 +285,12 @@ lift_add_shift1_mmx (int16_t *d, int16_t + asm volatile ("\n" + " xor %%rcx, %%rcx\n" + "1:\n" +- " movq (%2,%%rcx,2), %%mm1\n" +- " movq (%3,%%rcx,2), %%mm2\n" ++ " movq (%q2,%%rcx,2), %%mm1\n" ++ " movq (%q3,%%rcx,2), %%mm2\n" + " paddw %%mm2, %%mm1\n" + " psraw $1, %%mm1\n" +- " paddw (%1,%%rcx,2), %%mm1\n" +- " movq %%mm1, (%0,%%rcx,2)\n" ++ " paddw (%q1,%%rcx,2), %%mm1\n" ++ " movq %%mm1, (%q0,%%rcx,2)\n" + " add $4, %%rcx\n" + " cmp %4, %%ecx\n" + " jl 1b\n" +@@ -317,13 +317,13 @@ lift_sub_shift1_mmx (int16_t *d, int16_t + asm volatile ("\n" + " xor %%rcx, %%rcx\n" + "1:\n" +- " movq (%2,%%rcx,2), %%mm1\n" +- " movq (%3,%%rcx,2), %%mm2\n" +- " movq (%1,%%rcx,2), %%mm0\n" ++ " movq (%q2,%%rcx,2), %%mm1\n" ++ " movq (%q3,%%rcx,2), %%mm2\n" ++ " movq (%q1,%%rcx,2), %%mm0\n" + " paddw %%mm2, %%mm1\n" + " psraw $1, %%mm1\n" + " psubw %%mm1, %%mm0\n" +- " movq %%mm0, (%0,%%rcx,2)\n" ++ " movq %%mm0, (%q0,%%rcx,2)\n" + " add $4, %%rcx\n" + " cmp %4, %%ecx\n" + " jl 1b\n" +@@ -350,12 +350,12 @@ lift_add_shift2_mmx (int16_t *d, int16_t + asm volatile ("\n" + " xor %%rcx, %%rcx\n" + "1:\n" +- " movq (%2,%%rcx,2), %%mm1\n" +- " movq (%3,%%rcx,2), %%mm2\n" ++ " movq (%q2,%%rcx,2), %%mm1\n" ++ " movq (%q3,%%rcx,2), %%mm2\n" + " paddw %%mm2, %%mm1\n" + " psraw $2, %%mm1\n" +- " paddw (%1,%%rcx,2), %%mm1\n" +- " movq %%mm1, (%0,%%rcx,2)\n" ++ " paddw (%q1,%%rcx,2), %%mm1\n" ++ " movq %%mm1, (%q0,%%rcx,2)\n" + " add $4, %%rcx\n" + " cmp %4, %%ecx\n" + " jl 1b\n" +@@ -382,13 +382,13 @@ lift_sub_shift2_mmx (int16_t *d, int16_t + asm volatile ("\n" + " xor %%rcx, %%rcx\n" + "1:\n" +- " movq (%2,%%rcx,2), %%mm1\n" +- " movq (%3,%%rcx,2), %%mm2\n" +- " movq (%1,%%rcx,2), %%mm0\n" ++ " movq (%q2,%%rcx,2), %%mm1\n" ++ " movq (%q3,%%rcx,2), %%mm2\n" ++ " movq (%q1,%%rcx,2), %%mm0\n" + " paddw %%mm2, %%mm1\n" + " psraw $2, %%mm1\n" + " psubw %%mm1, %%mm0\n" +- " movq %%mm0, (%0,%%rcx,2)\n" ++ " movq %%mm0, (%q0,%%rcx,2)\n" + " add $4, %%rcx\n" + " cmp %4, %%ecx\n" + " jl 1b\n" diff --git a/dev-libs/liboil/liboil-0.3.17-r2.ebuild b/dev-libs/liboil/liboil-0.3.17-r2.ebuild new file mode 100644 index 000000000000..d75f2a77362a --- /dev/null +++ b/dev-libs/liboil/liboil-0.3.17-r2.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils flag-o-matic multilib autotools-multilib + +DESCRIPTION="Library of simple functions that are optimized for various CPUs" +HOMEPAGE="https://liboil.freedesktop.org/" +SRC_URI="https://liboil.freedesktop.org/download/${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0.3" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="+examples static-libs test" + +RDEPEND="examples? ( dev-libs/glib:2 ) + abi_x86_32? ( !<=app-emulation/emul-linux-x86-medialibs-20130224-r9 + !app-emulation/emul-linux-x86-medialibs[-abi_x86_32(-)] )" +DEPEND="${RDEPEND} + dev-util/gtk-doc-am + virtual/pkgconfig" +DOCS=( AUTHORS BUG-REPORTING HACKING NEWS README ) + +src_prepare() { + if ! use examples; then + sed "s/^\(SUBDIRS =.*\)examples\(.*\)$/\1\2/" \ + -i Makefile.am Makefile.in || die + fi + + if ! use test; then + sed "s/^\(SUBDIRS =.*\)testsuite\(.*\)$/\1\2/" \ + -i Makefile.am Makefile.in || die + fi + + epatch "${FILESDIR}/${P}-amd64-cpuid.patch" + has x32 $(get_all_abis) && epatch "${FILESDIR}"/${PN}-0.3.17-x32.patch +} + +src_configure() { + strip-flags + filter-flags -O? + append-flags -O2 + + # For use with Clang, which is the only compiler on OSX, bug #576646 + [[ ${CHOST} == *-darwin* ]] && append-flags -fheinous-gnu-extensions + + autotools-multilib_src_configure +} + +pkg_postinst() { + if ! use examples; then + ewarn "You have disabled examples USE flag. Beware that upstream might" + ewarn "want the output of some utilities that are only built with" + ewarn "USE='examples' if you report bugs to them." + fi +} diff --git a/dev-libs/liboil/metadata.xml b/dev-libs/liboil/metadata.xml new file mode 100644 index 000000000000..95e86c12108a --- /dev/null +++ b/dev-libs/liboil/metadata.xml @@ -0,0 +1,7 @@ + + + + + freedesktop-bugs@gentoo.org + + diff --git a/dev-libs/liboobs/Manifest b/dev-libs/liboobs/Manifest new file mode 100644 index 000000000000..cc4224dd1384 --- /dev/null +++ b/dev-libs/liboobs/Manifest @@ -0,0 +1,5 @@ +DIST liboobs-3.0.0.tar.bz2 344118 SHA256 1e7a327df7dcfa30e0cd3e0d2ffcd9a2c91c7870291dd30434b5da907945c00a SHA512 67191294059fc6669bcad0d7e07669b1d9f1aa59e8a56ba8697051b901829bc8ef0ac9efe654160ad722884c9a0a80214e4bc989a8a77269bef0999b3fbaad9a WHIRLPOOL 9801d6b4d509e373df1af9f25ac3955cd2acc1e48e6fc01b9d48c4afbbce2616799e7bddb0f500a86cd8fe4e2934bc53c43dbc9b9fdeda8a5ce7e958c254d6e1 +EBUILD liboobs-3.0.0.ebuild 703 SHA256 b158bc432a038b77d5e9dd3bcb0d7fae44eba80b1e32c175ef01693c8811b25d SHA512 6c3fd180164119876bb2fff3ba081a6508ffd9adfb44f6909ee85dcf103e3920983fb8cf7f9266442f4285c841bcfd7b36ae20b3b112a04e98bfd9d78025336c WHIRLPOOL 1485586bad71afc62a2a8590cd2970b9da7898782efee96612308103568c44a22920858a8a684ec174ee6496d45aa7a330359ede5f9b8ffceaa407505dc354f9 +MISC ChangeLog 3120 SHA256 fa7b786018f1b9d300d1c2cb519641b8711b4ca8c13461269e5109c07ba3d7d0 SHA512 bd1558664df325bcb3d22f88079ec21889f3fe5664b00885a2fdd7a166092d807ff87fb32cd0bb5f9d529e2de33bb2e44da3593514e4cf53e72ac8aa7c8445d0 WHIRLPOOL 0dc83c0162070e7dbadd6609842abd71bd21583461c26f92443f87a6be3471e526e3b9802708477c7f79328046d5d366cc4536e26d0631696017d98009f7315f +MISC ChangeLog-2015 3900 SHA256 be1b8230fb55261b49e86a95efe0283279fec9d25b1942a6cf57385244946c27 SHA512 002d75f977f444ed16a8150481f493f265dbf136c3eeb23c699c1cfb7cdd5027cda0b88059556d81cc91a344d26301dcb4c56e2fa067d469bdf4e8bc62968218 WHIRLPOOL a5b811f6f93f130b8b058cfacced56a8bb9517dd4a5b9c498f862bcdc87ac3a14da0a7e080c4b52a803610e447e14c53b55c3e8a6556e6cb092410381f3671de +MISC metadata.xml 535 SHA256 64a7a3e133e03ea2ea613c7edc33ec0d08aed665c657d99b77c00b90be327833 SHA512 ec23567687491fd8b5ba96288f01c8564fedcedcf732e70806caa6e2b067d685af611fd8e8d1bfa33222d1d9f8882cd85c92b2dcdf9449a1e407d7b514257efd WHIRLPOOL dacd70f52cc06725267d953ad8be4ad3e913fdb9bf4e498505d26f0617e4d172858bb7b3b89dbb864f528ee89ea99777d0c96f35916d7afb2e155362931d48d7 diff --git a/dev-libs/liboobs/liboobs-3.0.0.ebuild b/dev-libs/liboobs/liboobs-3.0.0.ebuild new file mode 100644 index 000000000000..803da83e48d1 --- /dev/null +++ b/dev-libs/liboobs/liboobs-3.0.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +GCONF_DEBUG="no" +GNOME_TARBALL_SUFFIX="bz2" + +inherit gnome2 + +DESCRIPTION="Liboobs is a wrapping library to the System Tools Backends" +HOMEPAGE="https://developer.gnome.org/liboobs/stable/" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="alpha amd64 ~arm ~arm64 ia64 ppc sparc x86" +IUSE="" + +# FIXME: check if policykit should be checked in configure ? +RDEPEND=" + >=dev-libs/glib-2.14:2 + >=dev-libs/dbus-glib-0.70 + >=app-admin/system-tools-backends-2.10.1 +" +DEPEND="${RDEPEND} + dev-util/gtk-doc-am + virtual/pkgconfig +" + +src_configure() { + gnome2_src_configure \ + --without-hal \ + --disable-static +} diff --git a/dev-libs/liboobs/metadata.xml b/dev-libs/liboobs/metadata.xml new file mode 100644 index 000000000000..b2615603e995 --- /dev/null +++ b/dev-libs/liboobs/metadata.xml @@ -0,0 +1,14 @@ + + + + + lxqt@gentoo.org + LXQt + + + Liboobs is a wrapping library to the System Tools Backends, it will + provide easy to access GObjects to system configuration details, like + users, groups and network interfaces, it will handle sessions with the + backend and data consistency too + + diff --git a/dev-libs/liboop/Manifest b/dev-libs/liboop/Manifest new file mode 100644 index 000000000000..09a6ef744b8a --- /dev/null +++ b/dev-libs/liboop/Manifest @@ -0,0 +1,5 @@ +DIST liboop-1.0.tar.bz2 215477 SHA256 4a973d28466fde0b689099192f9bcd081b129d90b3c5a9815e5ade73052cf8d2 SHA512 157385e61af7a5fb055d775f773dc0c455703f86dd3a100b56421b231e8bd78ab9af4712fcfcd07e9344ac2ac4f3cde28e0d966be72061b3b7d50b456ff7818f WHIRLPOOL 791ea83a2e4654c567df768655868563816c57712904ebea054ebd0dc0274e56c5fef3be60b2d3d700691a83b5d18870386502a143d0a15017b3de07d58f19b2 +EBUILD liboop-1.0-r1.ebuild 846 SHA256 279de3b2c3e5c9967c1939f35afdc4f0c2e4ffe9aa9c511ecf5a982345318994 SHA512 1e0b11f4f66a3d1c730db582e1ca1b2fd95e70421e8366fca12be09d41dcd6d0ddf626a4bc22052c9ab35757cffd5a3d59590d7a7920d6a3deb56c6e5389ca1f WHIRLPOOL b7415a36e68dd16331a008d5eaf6212cf16952243a31b84700a37393197607d1b36a21ba17524ea6e3a0ac34e69ab331240be06f3ae2c58d4ba4c0dcc339c42e +MISC ChangeLog 2521 SHA256 91eb4b5cfa969172bf6f118260894cf71e7199fd39687b1143e762102e972307 SHA512 a8041a904cb559c6536c297edd98949f56c7c267e6a73ccda8c7c8bcfb2d0b6ebd35957b3048d2e96277c59f426d79e55492d102ee7d789b21dd45c081113230 WHIRLPOOL bf4dcc58b2dc1e8eef293400cbea6b97417e27cd0204405e978798ec6502964881073c54c1f896378069a84114759ff13cb596222dd12a9150ac73bc500be96e +MISC ChangeLog-2015 2425 SHA256 50741dcc9c4f1045fe5f935fb599721f94ba5f1264c714942e2896036c6b19af SHA512 9e24d59313142c36f6c55db8654361e45341aa8d5bfa124cf34305fee4efe0d95e37dd3c22a33efee5ad0d2d314975e356daa2ae086f75f5af0b0be10e65615e WHIRLPOOL 5afd06aa9eb24931e84a6bd40f0b6651c23d477c459737c48602ac33a954f51452a9c73ced764f5f806a29d35136ff3ac9ed49e0d1d24c0e4ceaff9c1057bbbd +MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968 diff --git a/dev-libs/liboop/liboop-1.0-r1.ebuild b/dev-libs/liboop/liboop-1.0-r1.ebuild new file mode 100644 index 000000000000..5a2652ab1106 --- /dev/null +++ b/dev-libs/liboop/liboop-1.0-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +inherit eutils flag-o-matic + +DESCRIPTION="low-level event loop management library for POSIX-based operating systems" +HOMEPAGE="http://liboop.ofb.net/" +SRC_URI="http://download.ofb.net/liboop/${P}.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~x86-macos" +IUSE="adns gnome tcl readline" + +DEPEND=" + adns? ( net-libs/adns ) + gnome? ( dev-libs/glib:2 ) + tcl? ( dev-lang/tcl:0 ) + readline? ( sys-libs/readline:0 )" + +src_configure() { + export ac_cv_path_PROG_LDCONFIG=true + econf \ + $(use_with adns) \ + $(use_with gnome) \ + $(use_with tcl tcltk) \ + $(use_with readline) \ + --without-libwww \ + --disable-static +} + +src_compile() { + emake -j1 +} + +src_install() { + default + prune_libtool_files +} diff --git a/dev-libs/liboop/metadata.xml b/dev-libs/liboop/metadata.xml new file mode 100644 index 000000000000..6f49eba8f496 --- /dev/null +++ b/dev-libs/liboop/metadata.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/dev-libs/liborcus/Manifest b/dev-libs/liborcus/Manifest new file mode 100644 index 000000000000..11af60df4de9 --- /dev/null +++ b/dev-libs/liborcus/Manifest @@ -0,0 +1,8 @@ +DIST liborcus-0.11.2.tar.xz 1627540 SHA256 6911dc65a4d8276e42d32764e9ebee920b325cf59cfa7070fc72744d43b259ad SHA512 2100ae273e5c963123a5212d51793fe11a7fae9268a21629007034b92c3bf283522313a033de78a6a732b367c42a6eb4f6d3288d33124827fa0788f75abdd741 WHIRLPOOL caf9d7d977501620ad7eade470e7988159d93521c48d3b930bf212349d9ee03db971d68943dc9b0690429f3677d8d87b9a7f35e697b8307c9e2338043e4bb0f4 +DIST liborcus-0.12.1.tar.xz 1673880 SHA256 d1b936c66944d23e1b2582d0e7129e44670052510d03f19fef644e9814ae2b9c SHA512 294b24ad7fccae77070edd9d8e6e1a370f609ec8af9a2c58567431e641fc0f3f27c4cd4b6ac1825a8179a22a1d1a81d84827859eb631d2625194f9e59ca1a8c3 WHIRLPOOL f62dd79ccb94e2b054cec12147d6c10505a3d64309566703469eabf6da1aa71530c74901dc2ee66d21199999fc0661fac391d6abd5e7eefab186f9bbca729ea4 +EBUILD liborcus-0.11.2.ebuild 1287 SHA256 94a433be102d84cc06cb73342111af2b1f401bee1638aea981bfa3fc6002c266 SHA512 3c61115ed7b9e9dd802c96c1acc05584c6c37c1f842b69a4d9138c7e53969ad87235600f110c0d4cab62eaa08a56dabb24a61ce9954f8ba12575fa09cd8d140e WHIRLPOOL b68dfec8a510641a259c058b018442aadef9cb09c48df3bdcdddd4ad968fb28406f65082ec9c475d15e97a494aed4c18ed5e89334bddd6502368c4c9bff573d4 +EBUILD liborcus-0.12.1.ebuild 1296 SHA256 4d6e440fbba2ae7cc1830df33d3b2c6dee26acd603105bcd66f6c6e1158410f3 SHA512 86a24894d09b95603a21630952452765c26cb092319c32f011f7ebf2996ea9e30a75b00303bc37bed9236beebe935f4dd12a3954d5f4d83879783481285f33e4 WHIRLPOOL b50a5316d8ca187ea668e88eb7e4203e583264de81e7a1a93548e9725d686bc03ab0cd099e19e292cda0c916e3bcc874c1c637d71a5874de06c9cc5c0b543b53 +EBUILD liborcus-9999.ebuild 1291 SHA256 32dacc519387247210e311c476a21faea924efaca693111d2abdabd07d3fbd43 SHA512 e664589149d2dff609bdfd018f6cd5a5f6a1b876bc7522f9229d5de2929470de52405dfd6665e8143b36281efcb9d8d5cc0b9d29c7a841fbe587526dbde11564 WHIRLPOOL 22cb1376703fc457a4e46fe7c97c547fb695388d5a485fdeb62fa3b39a5986e57a17f5ec395502c2836dc332dfd3c661b2a3d33363ac6d724ebad6b098b1a566 +MISC ChangeLog 6503 SHA256 b61089395929b3751281d838ee96385d0620bb31a557aca7ed083ca4a5e29af2 SHA512 e3a10f6e5ca898680479deb100693f01c21cdbf9cdc1b667edbda272744842b79e0325885549ba17ddbaa0fdc40983b0264f750fd2f290ab30dc70197bfd0b1f WHIRLPOOL 7e52cdbfebb6b9b9d085de546ded3208100714daf50cab44e1642b6e3eceadf0b0e255d4fea92937bc4128402898e72148b2f6c1d86192f986a5a1d38bc0d36c +MISC ChangeLog-2015 6422 SHA256 a8250a7558af9bb8d5e0deeeefdf5ec649c397cccc9a512a3aae443cafe3509d SHA512 2c8f93191c51c2212a27f6f39b860bd67f95e166d8d8bb794f5d514992b18704ea19c516320434a2305bbc51f504b0862eb47e4a97487a68afde5962cf99f4d4 WHIRLPOOL 24d6eb32345eef8bce2f2d65ae395dc4b8db4ba6fd4a2ed2b81f0801236be5073bc3c0145531ea725ac214cafacd103a757b21142dd9159a0692ccb0efd0811b +MISC metadata.xml 556 SHA256 efbc0c256662c0fc9c25f1be42679f255ad97bd482a7fbbaacafd19a1c13db22 SHA512 c16a1b111116eddfdf0095b3b8c6e44e3dd60ec9049907459eef7906cc3f9673ee099651bdec081efe86abf2afc0340afcf204b7439481201188ac682eb11bf2 WHIRLPOOL e51c22bf028089f795e251c9cde7295fe625c3993042bdf4e589597bf15cb7a462e550d261c4b67b7d492af388ea686cf2a614fe519bf4ef76f28c2e500c73c9 diff --git a/dev-libs/liborcus/liborcus-0.11.2.ebuild b/dev-libs/liborcus/liborcus-0.11.2.ebuild new file mode 100644 index 000000000000..a2878fa17014 --- /dev/null +++ b/dev-libs/liborcus/liborcus-0.11.2.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +EGIT_REPO_URI="https://gitlab.com/orcus/orcus.git" + +PYTHON_COMPAT=( python{3_4,3_5,3_6} ) + +[[ ${PV} == 9999 ]] && GITECLASS="git-r3 autotools" +inherit python-single-r1 ${GITECLASS} +unset GITECLASS + +DESCRIPTION="Standalone file import filter library for spreadsheet documents" +HOMEPAGE="https://gitlab.com/orcus/orcus/blob/master/README.md" +[[ ${PV} == 9999 ]] || SRC_URI="http://kohei.us/files/orcus/src/${P}.tar.xz" + +LICENSE="MIT" +SLOT="0/0.11" # based on SONAME of liborcus.so +[[ ${PV} == 9999 ]] || \ +KEYWORDS="amd64 ~arm ~ppc x86" +IUSE="python +spreadsheet-model static-libs tools" + +RDEPEND=" + dev-libs/boost:= + sys-libs/zlib:= + python? ( ${PYTHON_DEPS} ) + spreadsheet-model? ( =dev-libs/libixion-0.11*:= ) +" +DEPEND="${RDEPEND} + >=dev-util/mdds-1.2.0:1 +" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +pkg_setup() { + use python && python-single-r1_pkg_setup +} + +src_prepare() { + default + [[ ${PV} == 9999 ]] && eautoreconf +} + +src_configure() { + econf \ + --disable-werror \ + $(use_enable python) \ + $(use_enable spreadsheet-model) \ + $(use_enable static-libs static) \ + $(use_with tools) +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die +} diff --git a/dev-libs/liborcus/liborcus-0.12.1.ebuild b/dev-libs/liborcus/liborcus-0.12.1.ebuild new file mode 100644 index 000000000000..4c1c80df1c0e --- /dev/null +++ b/dev-libs/liborcus/liborcus-0.12.1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +EGIT_REPO_URI="https://gitlab.com/orcus/orcus.git" + +PYTHON_COMPAT=( python{3_4,3_5,3_6} ) + +[[ ${PV} == 9999 ]] && GITECLASS="git-r3 autotools" +inherit python-single-r1 ${GITECLASS} +unset GITECLASS + +DESCRIPTION="Standalone file import filter library for spreadsheet documents" +HOMEPAGE="https://gitlab.com/orcus/orcus/blob/master/README.md" +[[ ${PV} == 9999 ]] || SRC_URI="http://kohei.us/files/orcus/src/${P}.tar.xz" + +LICENSE="MIT" +SLOT="0/0.12" # based on SONAME of liborcus.so +[[ ${PV} == 9999 ]] || \ +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86" +IUSE="python +spreadsheet-model static-libs tools" + +RDEPEND=" + dev-libs/boost:= + sys-libs/zlib:= + python? ( ${PYTHON_DEPS} ) + spreadsheet-model? ( =dev-libs/libixion-0.12*:= ) +" +DEPEND="${RDEPEND} + >=dev-util/mdds-1.2.2:1 +" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +pkg_setup() { + use python && python-single-r1_pkg_setup +} + +src_prepare() { + default + [[ ${PV} == 9999 ]] && eautoreconf +} + +src_configure() { + econf \ + --disable-werror \ + $(use_enable python) \ + $(use_enable spreadsheet-model) \ + $(use_enable static-libs static) \ + $(use_with tools) +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die +} diff --git a/dev-libs/liborcus/liborcus-9999.ebuild b/dev-libs/liborcus/liborcus-9999.ebuild new file mode 100644 index 000000000000..d823004fce38 --- /dev/null +++ b/dev-libs/liborcus/liborcus-9999.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +EGIT_REPO_URI="https://gitlab.com/orcus/orcus.git" + +PYTHON_COMPAT=( python{3_4,3_5,3_6} ) + +[[ ${PV} == 9999 ]] && GITECLASS="git-r3 autotools" +inherit python-single-r1 ${GITECLASS} +unset GITECLASS + +DESCRIPTION="Standalone file import filter library for spreadsheet documents" +HOMEPAGE="https://gitlab.com/orcus/orcus/blob/master/README.md" +[[ ${PV} == 9999 ]] || SRC_URI="http://kohei.us/files/orcus/src/${P}.tar.xz" + +LICENSE="MIT" +SLOT="0/0.13" # based on SONAME of liborcus.so +[[ ${PV} == 9999 ]] || \ +KEYWORDS="~amd64 ~arm ~ppc ~x86" +IUSE="python +spreadsheet-model static-libs tools" + +RDEPEND=" + dev-libs/boost:= + sys-libs/zlib:= + python? ( ${PYTHON_DEPS} ) + spreadsheet-model? ( >=dev-libs/libixion-0.13.0:= ) +" +DEPEND="${RDEPEND} + >=dev-util/mdds-1.2.2:1 +" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +pkg_setup() { + use python && python-single-r1_pkg_setup +} + +src_prepare() { + default + [[ ${PV} == 9999 ]] && eautoreconf +} + +src_configure() { + econf \ + --disable-werror \ + $(use_enable python) \ + $(use_enable spreadsheet-model) \ + $(use_enable static-libs static) \ + $(use_with tools) +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die +} diff --git a/dev-libs/liborcus/metadata.xml b/dev-libs/liborcus/metadata.xml new file mode 100644 index 000000000000..beb8258023d2 --- /dev/null +++ b/dev-libs/liborcus/metadata.xml @@ -0,0 +1,18 @@ + + + + + office@gentoo.org + Gentoo Office project + + + liborcus soname version + + + Enable the spreadsheet model implementation + Build various low-level parsers + + + orcus/orcus + + diff --git a/dev-libs/libotf/Manifest b/dev-libs/libotf/Manifest new file mode 100644 index 000000000000..9acc60678db0 --- /dev/null +++ b/dev-libs/libotf/Manifest @@ -0,0 +1,6 @@ +AUX libotf-0.9.13-build.patch 670 SHA256 6def5a73c07d26f7c5c19f5979948f131161707153439d83cdaef5241ce30cb6 SHA512 48e514ca560f1f6572e1a4cba799cedbdeae1dfd80bfb076e2a8bebe582ccf80c22edfa217edd2ec44bb49627c05149e309f287ec90788fbc99fbc0b56f3aba1 WHIRLPOOL fe263055658fa6725e779202e6351d3fc14cb564f23aee67457998d5d3088098e8f19ca37a2b46605b3c24541d7aafdfa9c1559ed0e71b5c17efd1e5db67b6c3 +DIST libotf-0.9.13.tar.gz 388832 SHA256 7bc466ba50425f95b52de12b4ad35320acefcef13ce67bf33edc14abdcfe6908 SHA512 86ddf071df371ee44910afc02432352356bfa1c2a55b44274c95fc4e7ec4fca982a7fcde35aaa63a8cb332e98388a9faf9a94fbf0f39e85668630f77d841ef31 WHIRLPOOL efdfb7b90b3710a81a070b2b07c2af6b622cbd093d66ddf3beeeff1a4a7c26d5ad1372cd8a65b13913e5d2531aafb1b54becf3cb3db06a7437f1879a945a455a +EBUILD libotf-0.9.13.ebuild 873 SHA256 b73eee3e93d8eaf574c4b8f05e784c12e2a2cb402399b2aabc257f5d35048c9f SHA512 15a9d71a286614d0c523635e4bd92dd0596982ec95b8edd3a48bab957b996758422d5915231e8d725f34a4f14ef3174c5800d8baa626a72e1e5867326997ad17 WHIRLPOOL 35c2fcfdec038dfeb44a28a31b3c3dcd2b7c16007c2ba8434c05555fb59709b3a7ae4b39dd98a774acff0d7f1e4812ccdf2bb52c0ddb5a4ea03ac031a464d1bf +MISC ChangeLog 2460 SHA256 fe70ea7fb47b2c4f85d3160a41e2139e73dad5e89a068dedfbbe7e28d35acb01 SHA512 baf5989eade84676fff47c514bc4d3b5348118ec9ce6b9197f23b133dd2ffb5fb8bca16cf09e0e39e2e81fe07dd1f5cabf04a9bbdafee2ac9e75fe17806b4135 WHIRLPOOL 8ddacb100badc6c77225377b827f3c3389cd5b5ba8d995722d24e582d40c3db2e7948084b5e355f8f54c4a3d297c0bebe99627682aee067c065a4ed5d2697dc5 +MISC ChangeLog-2015 7533 SHA256 2d624710270bdb85de1bbb2a6c81bc82ee92ceb2decaced6349f2febf30189a9 SHA512 769944c3f987d30c59f436210eb68111b72e42d713747ed2ece42005c8bf94d101f79292cb643c817bf344647b8fab1dd37150d1ce4673501ec5b55c66629bc6 WHIRLPOOL 1710cf04efc0ba406f36fafc7b02ce13f044e8dd1fc0af0e0c6beb94f6b2a5a9635d5eb786b38b4b0189c341d71ef68cf27b6b07f283e40f808482c97f25801e +MISC metadata.xml 325 SHA256 b0bf8f2138a23925e4a591399a4931430a61ff2aa2b1809f2f420e30915dabdc SHA512 da7a53ea557206d262ea9596322cee71cf5a5f433b8c96a353305b343000cb782ccc7f73197786cb7b1664b3cc7d85dbf84670f4d4dbcf3f57d428d4dae5d0b4 WHIRLPOOL 8161bfc7db42df54d62be7523cb30678c487dec16bfc78252d08bf644cb39b76b0719baa5fc13775bd2ec4df335a88f66fee5d2c9eda0da37a9b135aa266dcf6 diff --git a/dev-libs/libotf/files/libotf-0.9.13-build.patch b/dev-libs/libotf/files/libotf-0.9.13-build.patch new file mode 100644 index 000000000000..519722f43371 --- /dev/null +++ b/dev-libs/libotf/files/libotf-0.9.13-build.patch @@ -0,0 +1,22 @@ +--- example/Makefile.am ++++ example/Makefile.am +@@ -37,8 +37,7 @@ + otfdump_LDADD = ${CommonLDADD} + + otfview_SOURCE = otfview.c +-otfview_LDADD = ${CommonLDADD} +-otfview_LDFLAGS = ${X_LIBS} ${X_PRE_LIBS} @X11_XT_XAW_XMU@ ${X_EXTRA_LIBS} ++otfview_LDADD = ${CommonLDADD} ${X_LIBS} ${X_PRE_LIBS} @X11_XT_XAW_XMU@ ${X_EXTRA_LIBS} + + otftobdf_SOURCE = otftobdf.c + otftobdf_LDADD = ${CommonLDADD} +--- libotf.pc.in ++++ libotf.pc.in +@@ -7,5 +7,6 @@ + Description: OpenType font library + Version: @PACKAGE_VERSION@ + Requires: freetype2 +-Libs: @FREETYPE_LD_FLAGS@ -L${libdir} -lotf ++Libs: -L${libdir} -lotf ++Libs.private: @FREETYPE_LD_FLAGS@ + Cflags: @FREETYPE_INC@ -I${includedir} diff --git a/dev-libs/libotf/libotf-0.9.13.ebuild b/dev-libs/libotf/libotf-0.9.13.ebuild new file mode 100644 index 000000000000..ace881fbca4b --- /dev/null +++ b/dev-libs/libotf/libotf-0.9.13.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit autotools eutils + +DESCRIPTION="Library for handling OpenType fonts (OTF)" +HOMEPAGE="http://www.nongnu.org/m17n/" +SRC_URI="mirror://nongnu/m17n/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 sh sparc x86 ~amd64-linux ~x86-linux" +IUSE="static-libs X" + +RDEPEND=">=media-libs/freetype-2.4.9 + X? ( + x11-libs/libX11 + x11-libs/libXaw + x11-libs/libXt + )" +DEPEND="${RDEPEND} + X? ( + x11-libs/libICE + x11-libs/libXmu + x11-proto/xproto + )" + +DOCS="AUTHORS ChangeLog NEWS README" + +src_prepare() { + epatch "${FILESDIR}"/${P}-build.patch + eautoreconf +} + +src_configure() { + export ac_cv_header_X11_Xaw_Command_h=$(usex X) + econf $(use_enable static-libs static) +} + +src_install() { + default + prune_libtool_files +} diff --git a/dev-libs/libotf/metadata.xml b/dev-libs/libotf/metadata.xml new file mode 100644 index 000000000000..99d94f247165 --- /dev/null +++ b/dev-libs/libotf/metadata.xml @@ -0,0 +1,12 @@ + + + + + cjk@gentoo.org + Cjk + + + fonts@gentoo.org + Fonts + + diff --git a/dev-libs/libowfat/Manifest b/dev-libs/libowfat/Manifest new file mode 100644 index 000000000000..9ba2f28b5c40 --- /dev/null +++ b/dev-libs/libowfat/Manifest @@ -0,0 +1,10 @@ +AUX libowfat-0.28-GNUmakefile.patch 411 SHA256 5fb902b0b84f3f8d5c1865801ad05d0e9fe955037b41e6ae48b56c697291b7d4 SHA512 4817f0faa40b83bb5e4233af5212d3260b885c61beaf058a5ae6b42372b8a9e987b5c1003a2f212e27c257eabd6f242ee382ffaed76f4215d7d3a26974a2af82 WHIRLPOOL ee2487c35bf85bf0d190d5b6fa552d717417a89fb68d689271860cb1b9115a37b1d66414747c1cae12fa3f5e86784516980ff5e22761f12f9054b2defb48d954 +DIST libowfat-0.29.tar.bz2 139489 SHA256 4badbdeed6bef4337f1edd6b86fb7154c5592509c272dcdc09c693161cbc6427 SHA512 35b3be01f288a24ebf01e1f860bc2bba7431db890be1b117f9a7f0702532610d283f6e569b1a1d1e625a4fec3394d2c6ed5c2bf512a11c38ecf89cf89ec72136 WHIRLPOOL cc23d2c0a643b6a65b5d07a555bb1bd32d5f5f572e1fe414725e28e51614c53f538e4c7a7a24022c10784ae8097714549624b5f548700970c8aa34ad3b926dfe +DIST libowfat-0.30.tar.xz 177368 SHA256 db4a3a853cfbb9e83b27f565b580f6fdc519475b162edc1a656043e1c126e993 SHA512 ce7b13266dbb0360aaeac62882e7138437507ea23b811c49a92b698a08ffb3afe9be6762c74cc1de7236c3d135c3cfaaa9236c7536e4183108747fc82bbb911b WHIRLPOOL fbe4c63c781d104d55c6cc2d480191335088965eb287916ccbae3313d16fcdd93bdba56d1f01d38b0c17d89c1ef1b4706a75644e64b28e49df34da2b20525509 +DIST libowfat-0.31.tar.xz 183684 SHA256 d1e4ac1cfccbb7dc51d77d96398e6302d229ba7538158826c84cb4254c7e8a12 SHA512 b3ce973d6edc501ddaa6caa84dc3b74e3e31ced92e4f707038858cd36c977863251a7eaeababdad34ffe6b8ad13c9702118464f6f9fd827e05f6fbc5004408b5 WHIRLPOOL c7156a324d9b94f35cefa3523c95bcd41a5f60bbbb973a6431fbed23d81eaa7ddfd4547c54073e9125c6e5148e294c102c630e435f178a35b65ce9bbb305c120 +EBUILD libowfat-0.29.ebuild 1198 SHA256 12d83f4719aad8feba5307932e0c7de5bbb89a33269360d99235e60bc8d6c092 SHA512 446ee891a8604a19f39e5bc0bcd37dbf4ae3e9fca1e5b5cef6d24a01a6119f73ec8f1633a3f6b059b208d1fbca15e40bce2b904d7b6ee2d75ec99dd7cada841a WHIRLPOOL 519ecf1cb72a2419d85d3fe399cd3ac77ff0587b7d63496d21b60fd7fed3c4b107f46bf9e737c9698a7bc9e2e71f936d67ebddf3aff199c5a7213302cda6461d +EBUILD libowfat-0.30.ebuild 1026 SHA256 b3e5a5fa79533ca46ed3eef4480bc99256a3f634c1070bf3d0bf65e8a8e6243f SHA512 8ae182cf0a435cefe2073763df621957683e1d375d39cc59670803e9db687d3848ada95e8d4a95e7817dfbd35a936285cd6f5e47695e1b54a1b918e2366fd801 WHIRLPOOL e56660a94b59fe610a825794b201bf01d44fd4e2dc101d659ecb08b1a145bfcf9984e04c4bd0fff2229f21dc84802e8c240ddbdfdd15ec2514463de25919ec7d +EBUILD libowfat-0.31.ebuild 1026 SHA256 248e48831156f8d69bb61fbbb438024c3f730b7cddad8bd52ae965680b1463ed SHA512 fbe734a5b7d82d1ea2c97fee08c5e6f685f14df0a5079e51e0f09c4fe6156e9b48e81901ab7923af9f569f9c9edfe369e25ff92d55a32042532d8c1c22f01797 WHIRLPOOL 7a4606a2c503a4eda3311154a2017c2835c4ba0038a7b40ee495c0aea6920b419010e8e9592baeb01073235d00bd833a97a896b1db3d778d36c8db1a69f71ba1 +MISC ChangeLog 2676 SHA256 92c16d4160362a40da879233f3fc6d82801036046ab50b862abdd6f48db88b08 SHA512 bd873ed9dae93156c09867feb52551164484892ffe57003c2305749240db9aef08816b22ba2e97f4ed98c07878dc66ebb6ea36b7a51caae58dc02f5b485f76e1 WHIRLPOOL c1dcd76f0397ed35582186ecbdd2f9d2802187def78c05929d2bbada296abcc9c2e951a6852d06285392ef7b266a5db2ce4f5a0944df086b648fc1bba986c1f6 +MISC ChangeLog-2015 5166 SHA256 8079b2156b339534c7be7b162f2f6542b3fcd3e9d02db090ddc1b1eab82661e4 SHA512 58e513a8e8b8243861f8627735a10ee37873b7ec3f55d8aaa8031853bc043aa916dcb1a9fc4e356670c1ebc4b49b96a2e3d47496dc3f53ef235633833c49548c WHIRLPOOL b2e39969bf8d039c83f782319b15c88942d6a308d92ac3f6fbb7a15f2d6f76e65c4659351bca631e963e545bf2452d33655931d76ad4dc7f1c848c6b421bc03d +MISC metadata.xml 421 SHA256 3e1b1ca362e702339229a8fbd937cb9b41fb07acb31f0922fc0c31e292a524bf SHA512 abdacb5deb162016e9b32eeee3460c985f0846be07b527415934e757858c68bd262169bc5c8d346ae0628106e3ceec3d375862048222cfdd6971e12067e0893d WHIRLPOOL 8aa1e0d4141978aae6083796758f18b965c713a35a68709af645c6db74131cf527c9636394399e879a259491dcaacd7caeeb5cab47484d695125689a11b0028c diff --git a/dev-libs/libowfat/files/libowfat-0.28-GNUmakefile.patch b/dev-libs/libowfat/files/libowfat-0.28-GNUmakefile.patch new file mode 100644 index 000000000000..03b8981876d2 --- /dev/null +++ b/dev-libs/libowfat/files/libowfat-0.28-GNUmakefile.patch @@ -0,0 +1,10 @@ +--- GNUmakefile.bak 2011-10-22 22:08:53.443669478 -0700 ++++ GNUmakefile 2011-10-22 22:09:27.535002311 -0700 +@@ -277,6 +277,7 @@ + socket_accept4.o socket_accept6.o socket_connected.o socket_local4.o \ + socket_local6.o socket_recv4.o socket_recv6.o socket_remote4.o \ + socket_remote6.o: havesl.h ++socket_remote4.o: havescope.h + + dns_nd6.o fmt_xlong.o scan_xlong.o fmt_ip6_flat.o $(TEXTCODE_OBJS): haveinline.h + diff --git a/dev-libs/libowfat/libowfat-0.29.ebuild b/dev-libs/libowfat/libowfat-0.29.ebuild new file mode 100644 index 000000000000..0197b92862ad --- /dev/null +++ b/dev-libs/libowfat/libowfat-0.29.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=2 +inherit flag-o-matic toolchain-funcs eutils + +DESCRIPTION="reimplement libdjb - excellent libraries from Dan Bernstein" +SRC_URI="http://dl.fefe.de/${P}.tar.bz2" +HOMEPAGE="http://www.fefe.de/libowfat/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 sparc x86" +IUSE="diet" + +RDEPEND="diet? ( >=dev-libs/dietlibc-0.33_pre20090721 )" +DEPEND="${RDEPEND} + >=sys-apps/sed-4" + +pkg_setup() { + # Required for mult/umult64.c to be usable + append-flags -fomit-frame-pointer +} + +src_prepare() { + sed -e "s:^CFLAGS.*:CFLAGS=-I. ${CFLAGS}:" \ + -e "s:^DIET.*:DIET?=/usr/bin/diet -Os:" \ + -e "s:^prefix.*:prefix=/usr:" \ + -e "s:^INCLUDEDIR.*:INCLUDEDIR=\${prefix}/include/libowfat:" \ + -i GNUmakefile || die "sed failed" + epatch "${FILESDIR}/libowfat-0.28-GNUmakefile.patch" +} + +src_compile() { + emake -j1 \ + CC=$(tc-getCC) \ + $( use diet || echo 'DIET=' ) +} + +src_install () { + emake -j1 \ + LIBDIR="${D}/usr/lib" \ + MAN3DIR="${D}/usr/share/man/man3" \ + INCLUDEDIR="${D}/usr/include/libowfat" \ + install || die "emake install failed" + + cd "${D}"/usr/share/man + mv man3/buffer.3 man3/owfat-buffer.3 +} diff --git a/dev-libs/libowfat/libowfat-0.30.ebuild b/dev-libs/libowfat/libowfat-0.30.ebuild new file mode 100644 index 000000000000..912b3c76e8fe --- /dev/null +++ b/dev-libs/libowfat/libowfat-0.30.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit flag-o-matic toolchain-funcs eutils + +DESCRIPTION="reimplement libdjb - excellent libraries from Dan Bernstein" +SRC_URI="http://www.fefe.de/libowfat/${P}.tar.xz" +HOMEPAGE="http://www.fefe.de/libowfat/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~sparc ~x86" +IUSE="diet" + +RDEPEND="diet? ( >=dev-libs/dietlibc-0.33_pre20090721 )" +DEPEND="${RDEPEND} + >=sys-apps/sed-4" + +pkg_setup() { + # Required for mult/umult64.c to be usable + append-flags -fomit-frame-pointer +} + +src_compile() { + emake -j1 \ + CC=$(tc-getCC) \ + CFLAGS="-I. ${CFLAGS}" \ + DIET="/usr/bin/diet -Os" \ + prefix=/usr \ + INCLUDEDIR=/usr/include/libowfat \ + $( use diet || echo 'DIET=' ) +} + +src_install () { + emake -j1 \ + LIBDIR="${D}/usr/lib" \ + MAN3DIR="${D}/usr/share/man/man3" \ + INCLUDEDIR="${D}/usr/include/libowfat" \ + install || die "emake install failed" + + cd "${D}"/usr/share/man + mv man3/buffer.3 man3/owfat-buffer.3 +} diff --git a/dev-libs/libowfat/libowfat-0.31.ebuild b/dev-libs/libowfat/libowfat-0.31.ebuild new file mode 100644 index 000000000000..436ac0f8b93e --- /dev/null +++ b/dev-libs/libowfat/libowfat-0.31.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit flag-o-matic toolchain-funcs eutils + +DESCRIPTION="reimplement libdjb - excellent libraries from Dan Bernstein" +SRC_URI="http://www.fefe.de/libowfat/${P}.tar.xz" +HOMEPAGE="http://www.fefe.de/libowfat/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~sparc ~x86" +IUSE="diet" + +RDEPEND="diet? ( >=dev-libs/dietlibc-0.33_pre20090721 )" +DEPEND="${RDEPEND} + >=sys-apps/sed-4" + +pkg_setup() { + # Required for mult/umult64.c to be usable + append-flags -fomit-frame-pointer +} + +src_compile() { + emake -j1 \ + CC=$(tc-getCC) \ + CFLAGS="-I. ${CFLAGS}" \ + DIET="/usr/bin/diet -Os" \ + prefix=/usr \ + INCLUDEDIR=/usr/include/libowfat \ + $( use diet || echo 'DIET=' ) +} + +src_install () { + emake -j1 \ + LIBDIR="${D}/usr/lib" \ + MAN3DIR="${D}/usr/share/man/man3" \ + INCLUDEDIR="${D}/usr/include/libowfat" \ + install || die "emake install failed" + + cd "${D}"/usr/share/man + mv man3/buffer.3 man3/owfat-buffer.3 +} diff --git a/dev-libs/libowfat/metadata.xml b/dev-libs/libowfat/metadata.xml new file mode 100644 index 000000000000..e43fa5ad659b --- /dev/null +++ b/dev-libs/libowfat/metadata.xml @@ -0,0 +1,10 @@ + + + + + patrick@gentoo.org + Patrick Lauer + +reimplement libdjb - excellent libraries from Dan Bernstein +Compile against dev-libs/dietlibc + diff --git a/dev-libs/libp11/Manifest b/dev-libs/libp11/Manifest new file mode 100644 index 000000000000..f4ce5deb64bd --- /dev/null +++ b/dev-libs/libp11/Manifest @@ -0,0 +1,5 @@ +DIST libp11-0.4.4.tar.gz 450709 SHA256 93d2741df04f7f1561962746943a056ca81582fecb59d0c4304e7e97a0902722 SHA512 12d1e39981e62d758dc12a39c2ed5b6967a6e8c1db706c491db2c9aa0394fac278fa47dd4c64aa961e3b5ea98c1799b4ef7ef617ac076a414d88a6e29d5f0c4b WHIRLPOOL eb0d43ef0097098c010c5896b4f207569c403e1b459968ba8c9b1a720edfabbf1093ffd6d32d6f330bbbaf8080bdfa2ba4ae4e880bc0b1bc16c1eb9e37f178f9 +EBUILD libp11-0.4.4.ebuild 782 SHA256 a5c690a50c48e279d70e795df46681060a09b15d9b95a5ba37d90e694adc4b14 SHA512 6dd12ffe649c25f7320f1d5809d7b792fd3efd46725306193ed5fe92b246441e54e662fd9a2ac657c16977dffb146947f4a8a15fab2e1934711a7088ab310604 WHIRLPOOL a21bcb1fda307f3f12ac3c87f045f941edec2c133c76ec1643ff309bfbba89f7216a21b3ca9451b1dd4795425db0d810b0362e7f9622d7184ce37f4aed337880 +MISC ChangeLog 3214 SHA256 df884dfc8bc0f5c6259798230bca2acf6efc8cbcfdb37bc3a4b2c31d1ba57891 SHA512 1d3621578e1e3d8fbb599608ac42d0bf67e2e2f47d79a3cab7e6c7afae2008da5d697c250035d3f6a8d8db6204eb37ac93a62f3e60fb4805468831dc8a770ed9 WHIRLPOOL e4dd7c1b880fde6f0cf1af0f6df7dd0a0992afcc2edc995b9b518299981abcc75e83fc8c4bd62587fe92e695b933328242726e3f031cbbb43e4282b7ce8a24c2 +MISC ChangeLog-2015 10226 SHA256 2e0d760d592013cc5b96d997cf2a1ef7cc038bda581f60bb10e99d17ce4616af SHA512 3f223a535d64cbdbdb12944eded60fcfec67b57ac124702ee3a6c24fb628668d0a94f8333e848f7df5012982e3e61f62031b5ca896837445d782fe09a33ab0df WHIRLPOOL 8b46cae2303e2a714f0d19ac3a93842e0e2adce27108bf9488acbd91b2983b0e43e3ad79a4e8a1f57146436b20339abd98df342c332f6eeab7a1f0fdaa6d8131 +MISC metadata.xml 629 SHA256 79aea30166237ad537b020ff24aee773a40a59f03721dc7e7861fa6340c2aadf SHA512 0e2ede1a4e9d113876f172dbfb1ef50615a29368f4e14d00ed18a627c8aca6062ec9a5afe63ee99c756f62cb2afad353c8e1424ee290ecfb367ff63876ac5483 WHIRLPOOL 60e765dfde52bc476c8e7535a78ab82a9e5459e3ea1d31178174976dd3b1204bee306580efe51d98989ab73aa1812d622517e13f5a9970b7ef45609503b935c6 diff --git a/dev-libs/libp11/libp11-0.4.4.ebuild b/dev-libs/libp11/libp11-0.4.4.ebuild new file mode 100644 index 000000000000..544232ea39d5 --- /dev/null +++ b/dev-libs/libp11/libp11-0.4.4.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit ltprune + +DESCRIPTION="Abstraction layer to simplify PKCS#11 API" +HOMEPAGE="https://github.com/opensc/libp11/wiki" +SRC_URI="https://github.com/OpenSC/${PN}/releases/download/${P}/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~s390 ~sh sparc x86" +IUSE="libressl bindist doc static-libs" + +RDEPEND=" + !libressl? ( dev-libs/openssl:0=[bindist=] ) + libressl? ( dev-libs/libressl:0= )" +DEPEND="${RDEPEND} + virtual/pkgconfig + doc? ( app-doc/doxygen )" + +src_configure() { + econf \ + --enable-shared \ + $(use_enable static-libs static) \ + $(use_enable doc api-doc) +} + +src_install() { + default + prune_libtool_files --all +} diff --git a/dev-libs/libp11/metadata.xml b/dev-libs/libp11/metadata.xml new file mode 100644 index 000000000000..a57621416f98 --- /dev/null +++ b/dev-libs/libp11/metadata.xml @@ -0,0 +1,21 @@ + + + + + crypto@gentoo.org + Crypto + + + Library implementing a small layer on top of PKCS#11 API to make + using PKCS#11 implementations easier. + + + + Generate and install API documentation for the package. + + + + opensc/libp11 + opensc + + diff --git a/dev-libs/libparserutils/Manifest b/dev-libs/libparserutils/Manifest new file mode 100644 index 000000000000..0444bdb7b25b --- /dev/null +++ b/dev-libs/libparserutils/Manifest @@ -0,0 +1,6 @@ +DIST libparserutils-0.2.3-src.tar.gz 74509 SHA256 c5d93fb41b9c006ba392b32d724a7239238d656aa81cd45804ddd0b794a6ff05 SHA512 b68cbf3a3260bacea10c8115a1c247de3d7220e94a7f73da84ee4b400678132d8db71b8e84fe92eacafc4945c111f049779c8fead4cf9bd98c6e96340943d270 WHIRLPOOL 87dc981b72c9785e07aff274a6914ee060d8c5036841775b3388ea0d5169a1e32d7e7376753b653bcc50a6485a075ebfabefb5c3604d794c2650cd396d6224a8 +DIST netsurf-buildsystem-1.5.tar.gz 38196 SHA256 dbc6afc639f6987b704e6ff4427668787ee7efba77e1bbf76b614699b5daaf71 SHA512 02d85e8f1d2101194a678f7ccf84051390953285a46951d7b327556f8df1a0c416620bd4c7a615e25de438d5d27cfffb69ec5d94eb8379a295dab4c85a96cae4 WHIRLPOOL 7b7d595a2e399b361e71769e509a129af42da5ce823f1b55183efb53898ac2ae731593eb13e1ecc2271ea26ee0948ac35bf99fea280eb72a2bb00164b4b29f09 +EBUILD libparserutils-0.2.3.ebuild 570 SHA256 9408cc91a91298137d3321e7e86469a27f64171c280ca7feaa2313fa98d93c43 SHA512 cd4cf38173e2231dd443c3c534cf1470566e6ffb8645341d9679fed0d469125141a52a6bc4078035b6f81c6fcc5eaa8521217e6864584a0df1edbe956f0a870b WHIRLPOOL 293cf26d6b1bc75a3fbf1596b192c639712080f324f977a15e4d38b5ddfe9c364b06c1b1ed28e92423dea29d1eea3e610c3567023902aa4df0b0e593bf0d2286 +MISC ChangeLog 4111 SHA256 e438db5cd54189f6829b5b1586a8e544bbec6b2133adac81d1fcc9770559e8c5 SHA512 28703b82b5bcb53da666c28edec9d84cd4f6e6b1bde18d76e3120b9e982756e06115bd2630d35a7b8044e71cae509e80db6b841bdb4f28b2b708b7109daecc6f WHIRLPOOL d751b9fceb00a9031818cae78b355a6033e0ecf1fb45304987823d06c1f5768e1948508160d8b8d56e22583a4bfcc56a8d9ef32a6c605936f53f2df16db6e74e +MISC ChangeLog-2015 2700 SHA256 e8ad3bd612482a027fe320597d526ba53a9bb1a02c1a2ef220665b9461c1b2c4 SHA512 f8c04099cc7e21b900cca9fc016638b4e3f3bb7c1a34bc6cf076ffddd059c81065824d671cd448d01b1db1517825707226636aa0cf5d6e6f529fb0883f75512e WHIRLPOOL 2fc2c1a52ece1c6343f0ebceafa3729ef9c0ea88bb302c7ea4f2d747936550451beba9af1e1e9a6e24702e8874be3b036e9e07c9c1167788be20c50dcc8480b1 +MISC metadata.xml 237 SHA256 ffb571839c57797d282263369646d2bba2662601a45f7bb3251bb97f716554a6 SHA512 ae2360aa6b1b00c67e0acea4935c02b64585b9a15e126fec9d5d99637021c542c0a495e5116205f3da287def46fa5b19cb1a7f3042c12c5f7a78d66d92fcb03f WHIRLPOOL 60d6da846c983457e038ea5ba3c0bf48f939c9586610985a14cac9772fd1d45d781a643abc16482f232f3028e44fe99fe1a382deaebf6589602fc244a4460e3f diff --git a/dev-libs/libparserutils/libparserutils-0.2.3.ebuild b/dev-libs/libparserutils/libparserutils-0.2.3.ebuild new file mode 100644 index 000000000000..fbd60a61302f --- /dev/null +++ b/dev-libs/libparserutils/libparserutils-0.2.3.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +NETSURF_BUILDSYSTEM=buildsystem-1.5 +inherit flag-o-matic netsurf + +DESCRIPTION="library for building efficient parsers, written in C" +HOMEPAGE="http://www.netsurf-browser.org/projects/libparserutils/" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="amd64 arm ~ppc x86 ~m68k-mint" +IUSE="iconv test" + +DEPEND="test? ( dev-lang/perl )" + +DOCS=( README docs/Todo ) + +src_configure() { + netsurf_src_configure + + append-cflags "-D$(usex iconv WITH WITHOUT)_ICONV_FILTER" +} diff --git a/dev-libs/libparserutils/metadata.xml b/dev-libs/libparserutils/metadata.xml new file mode 100644 index 000000000000..a535b8852829 --- /dev/null +++ b/dev-libs/libparserutils/metadata.xml @@ -0,0 +1,8 @@ + + + + +xmw@gentoo.org +Michael Weber + + diff --git a/dev-libs/libpcre-debian/Manifest b/dev-libs/libpcre-debian/Manifest new file mode 100644 index 000000000000..47948cc05e75 --- /dev/null +++ b/dev-libs/libpcre-debian/Manifest @@ -0,0 +1,3 @@ +EBUILD libpcre-debian-8-r1.ebuild 627 SHA256 13cc564945913b4b73f8ec1e9658a3ac5006bf36389c946d8eb3636f0410e1f9 SHA512 f3e3a6e5cfe8164a2c5d0a69342f49be51fa8f6743d3de6341b09ff306399ff44e309520fe1fee5feb0290b282e2622fd74f4ea8eb4a8b5136c3611c2029cfc8 WHIRLPOOL 2cca2e52ae0b5581f689d3b23f215af58bc3393921e622044305e37fe4b898b81c82da1f809a31a8067e49ce4b97fe88e2fbcf93c489d8b1e1601a43327ba8b9 +MISC ChangeLog 604 SHA256 b35240d85fc3f9b061ce01a1d16f5f73756f96c0973d1b9c58446a1d7a82c236 SHA512 43ee07ca28032914ff194b60ded1ad82b58e61ec02d707a4e7cffa96cc0728fd36173d16c5ffedfbf39a4fc64864a165c597d3b0160b7d29a72a187585279139 WHIRLPOOL edaf1d15773c54ef7c8e522bc88d09e13b27b6d17d3ac9dd2ebf45297020910f9530f241ffa81bb4e714e855d8ea2caf2d4e447741b0019e6feed7b9c5f005af +MISC metadata.xml 247 SHA256 ee828a9141e646a9c1c42d5f0ea4f31807410e14cd4f4c2f7e4351a24f633bf3 SHA512 8bffd29ab89c8dc401ad49655e30a6bd3a953bf8f6c9309b318f3b03ed7bcf2e5c10533ac70967e549edcd512f6be13b9bce3e36175286370ba499dcb119f6fc WHIRLPOOL 54721aa5d20b5dceca174ad43a642c6f24c0ab2dedeb5cffa226f80368c35c1a424d2ffc03ee7a1adc1680904d604380428c7c792f54e79d2f26e34005973054 diff --git a/dev-libs/libpcre-debian/libpcre-debian-8-r1.ebuild b/dev-libs/libpcre-debian/libpcre-debian-8-r1.ebuild new file mode 100644 index 000000000000..1f26347b5608 --- /dev/null +++ b/dev-libs/libpcre-debian/libpcre-debian-8-r1.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit multilib multilib-minimal + +DESCRIPTION="libpcre(posix).so.3 symlinks for compatibility with Debian" +HOMEPAGE="http://www.pcre.org/" +LICENSE="BSD" +SLOT="3" +KEYWORDS="~amd64 ~x86" + +RDEPEND="dev-libs/libpcre:${SLOT}[${MULTILIB_USEDEP}]" + +S="${WORKDIR}" + +multilib_src_install() { + dosym $(multilib_is_native_abi || echo /usr)/$(get_libdir)/libpcre.so.1 \ + /usr/$(get_libdir)/debiancompat/libpcre.so.3 + + dosym /usr/$(get_libdir)/libpcreposix.so.0 \ + /usr/$(get_libdir)/debiancompat/libpcreposix.so.3 +} diff --git a/dev-libs/libpcre-debian/metadata.xml b/dev-libs/libpcre-debian/metadata.xml new file mode 100644 index 000000000000..54be7ff7e5d6 --- /dev/null +++ b/dev-libs/libpcre-debian/metadata.xml @@ -0,0 +1,8 @@ + + + + + chewi@gentoo.org + James Le Cuirot + + diff --git a/dev-libs/libpcre/Manifest b/dev-libs/libpcre/Manifest new file mode 100644 index 000000000000..bd37ef6af42d --- /dev/null +++ b/dev-libs/libpcre/Manifest @@ -0,0 +1,11 @@ +AUX libpcre-8.40-jit-else.patch 2149 SHA256 a6fb7e204a0a33c12c89983f57f8548998b52137f7964a809c5b6031e37d6829 SHA512 d1d8e7c689402bad4ac26785e1a642978a6e76f83f69d4df251fb7b88108106292f73a43c6f476c226a45ccfab008283f269128e3631930b0f5490b2f46e3b48 WHIRLPOOL 35a3593928463bc3fb8c3c51cb110547fbd55be894d968b0569afcac17a5f268d2347be187d267c58f302f60aa7a00df80d72524a99cb8c6b4491b0a7725e9c2 +AUX libpcre-8.40-pcregrep-multiline-1.patch 2688 SHA256 6bc091de8df6715c9cdea6b65d3050112b032915e24e12d5d440434b11d4032a SHA512 c7095a8034db6896c1457e7950a15c00ffd7c08dc29f07ca83e46db63209d42c87e808f328bd2eaaaed0fe4038575629b8e64fa77b4c249ca938fc83415bbe28 WHIRLPOOL 87ae705b53a3227f297cec1036301be32687c02c8b44131b62994663fb2cf2cc0c92c1968627f1238f1985a92a660ccebacc0eda4e05ac315a4672c5b89ab3fa +AUX libpcre-8.40-pcregrep-multiline-2.patch 803 SHA256 01d27d72071e1fc5e90db5da2795b61b19e519097200b891979b02a63222b5ed SHA512 aae538dcf871618d00e9994ab1fd973f491075fc852c45aedd6e99ffd6726aabc9f93fff3e5aebbc1869fd2dd85d6d24f0eded075df857991b0457ca797a25fd WHIRLPOOL 7dc104231878dad7a51a2d0fd95711002780a6c6190af15facda78595ac93befeb0f63c02315a1c528dd2aac7ef17727a5fed0af0fe996f6a0158ea380ffd0e4 +AUX libpcre-8.41-sljit_mips-label-statement-fix.patch 584 SHA256 d91c7b3f71e1e0982ef9b47094d91dd63bcf1a0c235ed0384baa999be0f91801 SHA512 38f133a539f4e09886084e0ff2d30bf69ceb600095f87f32eae42f8f03ada9c1aae0a1eff6763d473f0edfcef047a0c573859d0ada503419a7d663140a92fbb9 WHIRLPOOL 90049c348516104beeb70934ca2b5ce7bdb25bbba3ceb8f4c30c3e7889d45dc61fe932a01c238fad083486eb709ce2d10041cc0705c988712c468e66eaa0597a +DIST pcre-8.40.tar.bz2 1560119 SHA256 00e27a29ead4267e3de8111fcaa59b132d0533cdfdbdddf4b0604279acbcf4f4 SHA512 b4c27eafbdf33bd7a1384655b1936f4be3bc6745c072347eb26e988896c52664bd85ac42444da1be78b6e20f45b6c7e5921f5f20f5b0741b5bd3d9844e5bd4e2 WHIRLPOOL 6711688972b3db4b98902d548b84e8b03b61c3a12d24a4e42fc49ddc5e2b4be51f98f91873166e550866e88b6cd55092ea27704a3b7e71d58a2af21148ad3340 +DIST pcre-8.41.tar.bz2 1561874 SHA256 e62c7eac5ae7c0e7286db61ff82912e1c0b7a0c13706616e94a7dd729321b530 SHA512 cc9cdbeb98c010fe4f093a019bebfb91965dae4c6a48f8e49c38ec8df7d9da7f0d32c12fc58f22c51f1c2f010e72b65bcbf8bbf180060e93edf464fa9a7c3551 WHIRLPOOL 24d891c4f6580af20aa07a166038a2bacb52cdb305987f8b91b2fecae65e7b5277d3ef0b26ddbb3a33fd34794e6340e77df6a321e770b3aca4393d1ed144cf64 +EBUILD libpcre-8.40-r1.ebuild 2849 SHA256 71b6ae4b11f222072bf9776f4e701cd17e7819b82ce58d62c65a6380fa87f364 SHA512 b6969ee98be6c15c5e698a03c78956159f147a08fa9646711e75122ebae03df3e154d8a394a033a70ac2d5658b02b67626396433993639491b8753cc03fdd02f WHIRLPOOL 99012339d40a2857e83602e58b7b23f89d9385537df57a84b9ff38492ea443d48445d1151c9a442debee19e3fcfda14ae66ac11c50c702640ef18afc05dc8252 +EBUILD libpcre-8.41.ebuild 2846 SHA256 f41ed4166ce3157850fef339a2f1ff43b262fbd44919e5206a6ae773a2f69a7c SHA512 96f8b9c21755b2b796a203792143e0b8d837427c494991835ea2ec54fda43695a6821adc45744764161ed2bea1ef1385d672585acc2034f67fe4318c6e3f9ace WHIRLPOOL 4ab81d4a5928d779fe079bdb5c4e52cf8286653319f7028eb4763abd466f1f0673701865bbf35f10684a1285b1eb3ef854b2469a0d748dcc84be61f0832a8bf7 +MISC ChangeLog 9358 SHA256 6d71cdef5ca28f5d0c3af958daa73122d374a64088bf960961f9eec235572595 SHA512 ad1c6ff26e6198bda9f8c5d31d03a5337b0bd7c620f564b31b98117982d12677426ec4d703325028c44ea371dc15c3b2530d0c91ccd9e8b40b5710761a2e7ef0 WHIRLPOOL c8f1726ad29d83ee380eeeaae0a385a7de8db1e99751357bbf59dcf0af751e4f6ddb8f88d836dda0d0d6e132ef4db126fa3e64610491ceadce550b3017b2ee5d +MISC ChangeLog-2015 35335 SHA256 dfdfc43bcff86898d74db532baf46e6d88c70a3e62e82ceab69c285934f802b5 SHA512 94411b185f75967d240777124272d04b13f3cb3e43de6f751baa9944e07086f9fa2972e4854514fb39f85d69422a07fd1ee1cc7fc587dacf54b777bdf68439ea WHIRLPOOL ec71b8c06e85b5ec0a4040def4447e6aa2589bbaf9bd4b5d7479a2b968357a2b5c4a30e7c2739bd1b4607e074cdc9d15e0f730ed1a69cb936d514056d53578e0 +MISC metadata.xml 1112 SHA256 fa2a7f9e7f1ee1c432907cbc5cc0dd23f9636b5f4c51836dbcdbf24f72975c2a SHA512 eb7e2db9932c108442e69bd3ddf04d8d753dede44f7453b1fa33730ec9cda89e618f4444a0adf3f9e7d09baf8c97ff19831906ad7148a26674269f1efd427e6b WHIRLPOOL 7b675f34fbd1f58f42d7ad5c4e39e1d80922474624047165b30d85ecdbbffd1246d68b0dad4d7553c0d2fc900249e3425fc04f9b3821f189b30ebb2d2615dbad diff --git a/dev-libs/libpcre/files/libpcre-8.40-jit-else.patch b/dev-libs/libpcre/files/libpcre-8.40-jit-else.patch new file mode 100644 index 000000000000..d347a7f5e1e0 --- /dev/null +++ b/dev-libs/libpcre/files/libpcre-8.40-jit-else.patch @@ -0,0 +1,68 @@ +https://bugs.gentoo.org/609592 +https://bugs.exim.org/show_bug.cgi?id=2035 + +From 7ddfbe9d0b9f43402f8043e940172a318cc407c6 Mon Sep 17 00:00:00 2001 +From: Zoltan Herczeg +Date: Tue, 14 Feb 2017 08:48:18 +0000 +Subject: [PATCH] Fix a missing else in the JIT compiler reported by + 'idaifish'. + +git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1680 2f5784b3-3f2a-0410-8824-cb99058d5e15 +--- + ChangeLog | 2 ++ + pcre_jit_compile.c | 2 +- + testdata/testinput12 | 2 ++ + testdata/testoutput12 | 2 ++ + 4 files changed, 7 insertions(+), 1 deletion(-) + +diff --git a/ChangeLog b/ChangeLog +index 373ee8422ef5..d813935539bd 100644 +--- a/ChangeLog ++++ b/ChangeLog +@@ -15,6 +15,8 @@ mode with --only-matching matched several lines, it restarted scanning at the + next line instead of moving on to the end of the matched string, which can be + several lines after the start. + ++3. Fix a missing else in the JIT compiler reported by 'idaifish'. ++ + + Version 8.40 11-January-2017 + ---------------------------- +diff --git a/pcre_jit_compile.c b/pcre_jit_compile.c +index c301f05d5e3f..6ef8e48ff5e8 100644 +--- a/pcre_jit_compile.c ++++ b/pcre_jit_compile.c +@@ -8110,7 +8110,7 @@ if (opcode == OP_COND || opcode == OP_SCOND) + + if (*matchingpath == OP_FAIL) + stacksize = 0; +- if (*matchingpath == OP_RREF) ++ else if (*matchingpath == OP_RREF) + { + stacksize = GET2(matchingpath, 1); + if (common->currententry == NULL) +diff --git a/testdata/testinput12 b/testdata/testinput12 +index 944be6943f5e..89ed4564bcd4 100644 +--- a/testdata/testinput12 ++++ b/testdata/testinput12 +@@ -104,4 +104,6 @@ and a couple of things that are different with JIT. --/ + /(.|.)*?bx/ + aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabax + ++/((?(?!))x)(?'name')(?1)/S++ ++ + /-- End of testinput12 --/ +diff --git a/testdata/testoutput12 b/testdata/testoutput12 +index 87911086f498..7632c4e58013 100644 +--- a/testdata/testoutput12 ++++ b/testdata/testoutput12 +@@ -201,4 +201,6 @@ No match, mark = m (JIT) + aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabax + Error -8 (match limit exceeded) + ++/((?(?!))x)(?'name')(?1)/S++ ++ + /-- End of testinput12 --/ +-- +2.12.0 + diff --git a/dev-libs/libpcre/files/libpcre-8.40-pcregrep-multiline-1.patch b/dev-libs/libpcre/files/libpcre-8.40-pcregrep-multiline-1.patch new file mode 100644 index 000000000000..f15968dfe98e --- /dev/null +++ b/dev-libs/libpcre/files/libpcre-8.40-pcregrep-multiline-1.patch @@ -0,0 +1,69 @@ +From 5be027b624bc866702808abadfe5f99360414086 Mon Sep 17 00:00:00 2001 +From: Philip Hazel +Date: Fri, 10 Feb 2017 17:47:34 +0000 +Subject: [PATCH] Correct fix for pcre2grep multiline with --only-matching. + +git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1678 2f5784b3-3f2a-0410-8824-cb99058d5e15 +--- + ChangeLog | 5 +++++ + configure.ac | 6 +++--- + pcregrep.c | 20 +++++++++++++++----- + 3 files changed, 23 insertions(+), 8 deletions(-) + +diff --git a/ChangeLog b/ChangeLog +index ab4e053e601e..373ee8422ef5 100644 +--- a/ChangeLog ++++ b/ChangeLog +@@ -10,6 +10,11 @@ Version 8.41 + 1. Fixed typo in CMakeLists.txt (wrong number of arguments for + PCRE_STATIC_RUNTIME (affects MSVC only). + ++2. Issue 1 for 8.40 below was not correctly fixed. If pcregrep in multiline ++mode with --only-matching matched several lines, it restarted scanning at the ++next line instead of moving on to the end of the matched string, which can be ++several lines after the start. ++ + + Version 8.40 11-January-2017 + ---------------------------- +diff --git a/pcregrep.c b/pcregrep.c +index fd2a67622baa..2070c057e4a0 100644 +--- a/pcregrep.c ++++ b/pcregrep.c +@@ -1804,11 +1804,6 @@ while (ptr < endptr) + if (line_buffered) fflush(stdout); + rc = 0; /* Had some success */ + +- /* If the current match ended past the end of the line (only possible +- in multiline mode), we are done with this line. */ +- +- if ((unsigned int)offsets[1] > linelength) goto END_ONE_MATCH; +- + startoffset = offsets[1]; /* Restart after the match */ + if (startoffset <= oldstartoffset) + { +@@ -1818,6 +1813,21 @@ while (ptr < endptr) + if (utf8) + while ((matchptr[startoffset] & 0xc0) == 0x80) startoffset++; + } ++ ++ /* If the current match ended past the end of the line (only possible ++ in multiline mode), we must move on to the line in which it did end ++ before searching for more matches. */ ++ ++ while (startoffset > (int)linelength) ++ { ++ matchptr = ptr += linelength + endlinelength; ++ filepos += (int)(linelength + endlinelength); ++ linenumber++; ++ startoffset -= (int)(linelength + endlinelength); ++ t = end_of_line(ptr, endptr, &endlinelength); ++ linelength = t - ptr - endlinelength; ++ } ++ + goto ONLY_MATCHING_RESTART; + } + } +-- +2.12.0 + diff --git a/dev-libs/libpcre/files/libpcre-8.40-pcregrep-multiline-2.patch b/dev-libs/libpcre/files/libpcre-8.40-pcregrep-multiline-2.patch new file mode 100644 index 000000000000..63ad51cd1047 --- /dev/null +++ b/dev-libs/libpcre/files/libpcre-8.40-pcregrep-multiline-2.patch @@ -0,0 +1,25 @@ +From 8b0fdf16e57ce9a653a0a03c39f6cc061e8122e8 Mon Sep 17 00:00:00 2001 +From: Philip Hazel +Date: Sun, 12 Feb 2017 13:28:11 +0000 +Subject: [PATCH] Fix bug in most recent fix for multiline pcre2grep. + +git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1679 2f5784b3-3f2a-0410-8824-cb99058d5e15 +--- + pcregrep.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/pcregrep.c b/pcregrep.c +index 2070c057e4a0..3cd70eeb4261 100644 +--- a/pcregrep.c ++++ b/pcregrep.c +@@ -1826,6 +1826,7 @@ while (ptr < endptr) + startoffset -= (int)(linelength + endlinelength); + t = end_of_line(ptr, endptr, &endlinelength); + linelength = t - ptr - endlinelength; ++ length = (size_t)(endptr - ptr); + } + + goto ONLY_MATCHING_RESTART; +-- +2.12.0 + diff --git a/dev-libs/libpcre/files/libpcre-8.41-sljit_mips-label-statement-fix.patch b/dev-libs/libpcre/files/libpcre-8.41-sljit_mips-label-statement-fix.patch new file mode 100644 index 000000000000..0494ccc25ebc --- /dev/null +++ b/dev-libs/libpcre/files/libpcre-8.41-sljit_mips-label-statement-fix.patch @@ -0,0 +1,15 @@ +diff -Naurp pcre-8.41.orig/sljit/sljitNativeMIPS_common.c pcre-8.41/sljit/sljitNativeMIPS_common.c +--- pcre-8.41.orig/sljit/sljitNativeMIPS_common.c 2017-05-07 11:32:25.000000000 -0400 ++++ pcre-8.41/sljit/sljitNativeMIPS_common.c 2017-07-29 17:50:24.508909742 -0400 +@@ -503,9 +503,11 @@ SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit + #ifdef SLJIT_IS_FPU_AVAILABLE + return SLJIT_IS_FPU_AVAILABLE; + #elif defined(__GNUC__) ++ { + sljit_sw fir; + asm ("cfc1 %0, $0" : "=r"(fir)); + return (fir >> 22) & 0x1; ++ } + #else + #error "FIR check is not implemented for this architecture" + #endif diff --git a/dev-libs/libpcre/libpcre-8.40-r1.ebuild b/dev-libs/libpcre/libpcre-8.40-r1.ebuild new file mode 100644 index 000000000000..3b1c5c161f05 --- /dev/null +++ b/dev-libs/libpcre/libpcre-8.40-r1.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit eutils multilib libtool flag-o-matic toolchain-funcs multilib-minimal + +DESCRIPTION="Perl-compatible regular expression library" +HOMEPAGE="http://www.pcre.org/" +MY_P="pcre-${PV/_rc/-RC}" +if [[ ${PV} != *_rc* ]] ; then + # Only the final releases are available here. + SRC_URI="mirror://sourceforge/pcre/${MY_P}.tar.bz2 + ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/${MY_P}.tar.bz2" +else + SRC_URI="ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/Testing/${MY_P}.tar.bz2" +fi + +LICENSE="BSD" +SLOT="3" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="bzip2 +cxx +jit libedit pcre16 pcre32 +readline +recursion-limit static-libs unicode zlib" +REQUIRED_USE="readline? ( !libedit ) + libedit? ( !readline )" + +RDEPEND="bzip2? ( app-arch/bzip2 ) + zlib? ( sys-libs/zlib ) + libedit? ( dev-libs/libedit ) + readline? ( sys-libs/readline:0= )" +DEPEND="${RDEPEND} + virtual/pkgconfig" +RDEPEND="${RDEPEND} + abi_x86_32? ( + !<=app-emulation/emul-linux-x86-baselibs-20131008-r2 + !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] + )" + +S=${WORKDIR}/${MY_P} + +MULTILIB_CHOST_TOOLS=( + /usr/bin/pcre-config +) + +PATCHES=( + "${FILESDIR}"/${P}-pcregrep-multiline-{1,2}.patch + "${FILESDIR}"/${P}-jit-else.patch #609592 +) + +src_prepare() { + epatch "${PATCHES[@]}" + sed -i -e "s:-lpcre ::" libpcrecpp.pc.in || die + elibtoolize +} + +multilib_src_configure() { + ECONF_SOURCE="${S}" econf \ + --with-match-limit-recursion=$(usex recursion-limit 8192 MATCH_LIMIT) \ + $(multilib_native_use_enable bzip2 pcregrep-libbz2) \ + $(use_enable cxx cpp) \ + $(use_enable jit) $(use_enable jit pcregrep-jit) \ + $(use_enable pcre16) \ + $(use_enable pcre32) \ + $(multilib_native_use_enable libedit pcretest-libedit) \ + $(multilib_native_use_enable readline pcretest-libreadline) \ + $(use_enable static-libs static) \ + $(use_enable unicode utf) $(use_enable unicode unicode-properties) \ + $(multilib_native_use_enable zlib pcregrep-libz) \ + --enable-pcre8 \ + --enable-shared \ + --htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \ + --docdir="${EPREFIX}"/usr/share/doc/${PF} +} + +multilib_src_compile() { + emake V=1 $(multilib_is_native_abi || echo "bin_PROGRAMS=") +} + +multilib_src_install() { + emake \ + DESTDIR="${D}" \ + $(multilib_is_native_abi || echo "bin_PROGRAMS= dist_html_DATA=") \ + install + gen_usr_ldscript -a pcre +} + +multilib_src_install_all() { + prune_libtool_files +} + +pkg_preinst() { + preserve_old_lib /$(get_libdir)/libpcre.so.0 +} + +pkg_postinst() { + preserve_old_lib_notify /$(get_libdir)/libpcre.so.0 +} diff --git a/dev-libs/libpcre/libpcre-8.41.ebuild b/dev-libs/libpcre/libpcre-8.41.ebuild new file mode 100644 index 000000000000..96c3c8993de6 --- /dev/null +++ b/dev-libs/libpcre/libpcre-8.41.ebuild @@ -0,0 +1,103 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils multilib libtool flag-o-matic toolchain-funcs multilib-minimal + +DESCRIPTION="Perl-compatible regular expression library" +HOMEPAGE="http://www.pcre.org/" +MY_P="pcre-${PV/_rc/-RC}" +if [[ ${PV} != *_rc* ]] ; then + # Only the final releases are available here. + SRC_URI="mirror://sourceforge/pcre/${MY_P}.tar.bz2 + ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/${MY_P}.tar.bz2" +else + SRC_URI="ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/Testing/${MY_P}.tar.bz2" +fi + +LICENSE="BSD" +SLOT="3" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="bzip2 +cxx +jit libedit pcre16 pcre32 +readline +recursion-limit static-libs unicode zlib" +REQUIRED_USE="readline? ( !libedit ) + libedit? ( !readline )" + +RDEPEND=" + bzip2? ( app-arch/bzip2 ) + zlib? ( sys-libs/zlib ) + libedit? ( dev-libs/libedit ) + readline? ( sys-libs/readline:0= ) +" +DEPEND=" + ${RDEPEND} + virtual/pkgconfig +" +RDEPEND=" + ${RDEPEND} + abi_x86_32? ( + !<=app-emulation/emul-linux-x86-baselibs-20131008-r2 + !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] + ) +" + +S="${WORKDIR}/${MY_P}" + +MULTILIB_CHOST_TOOLS=( + /usr/bin/pcre-config +) + +PATCHES=( + "${FILESDIR}"/${PN}-8.41-sljit_mips-label-statement-fix.patch +) + +src_prepare() { + epatch "${PATCHES[@]}" + sed -i -e "s:-lpcre ::" libpcrecpp.pc.in || die + elibtoolize +} + +multilib_src_configure() { + local myeconfargs=( + --with-match-limit-recursion=$(usex recursion-limit 8192 MATCH_LIMIT) + $(multilib_native_use_enable bzip2 pcregrep-libbz2) + $(use_enable cxx cpp) + $(use_enable jit) $(use_enable jit pcregrep-jit) + $(use_enable pcre16) + $(use_enable pcre32) + $(multilib_native_use_enable libedit pcretest-libedit) + $(multilib_native_use_enable readline pcretest-libreadline) + $(use_enable static-libs static) + $(use_enable unicode utf) $(use_enable unicode unicode-properties) + $(multilib_native_use_enable zlib pcregrep-libz) + --enable-pcre8 + --enable-shared + --htmldir="${EPREFIX}"/usr/share/doc/${PF}/html + --docdir="${EPREFIX}"/usr/share/doc/${PF} + ) + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" +} + +multilib_src_compile() { + emake V=1 $(multilib_is_native_abi || echo "bin_PROGRAMS=") +} + +multilib_src_install() { + emake \ + DESTDIR="${D}" \ + $(multilib_is_native_abi || echo "bin_PROGRAMS= dist_html_DATA=") \ + install + gen_usr_ldscript -a pcre +} + +multilib_src_install_all() { + prune_libtool_files +} + +pkg_preinst() { + preserve_old_lib /$(get_libdir)/libpcre.so.0 +} + +pkg_postinst() { + preserve_old_lib_notify /$(get_libdir)/libpcre.so.0 +} diff --git a/dev-libs/libpcre/metadata.xml b/dev-libs/libpcre/metadata.xml new file mode 100644 index 000000000000..edde7e11c64f --- /dev/null +++ b/dev-libs/libpcre/metadata.xml @@ -0,0 +1,32 @@ + + + + + base-system@gentoo.org + Gentoo Base System + + + + Add support for pcregrep command to search within + bzip2-compressed files (via app-arch/bzip2). + + Build PCRE library for 16 bit characters (e.g. UTF-16). + Build PCRE library for 32 bit characters (e.g. UTF-32). + + Add support for command line editing to pcretest, through + sys-libs/readline. + + + Limit match recursion to 8192; if disabled, the default limit is + used, which is the same as the match limit. + + + Add support for pcregrep command to search within + gzip-compressed files (via sys-libs/zlib). + + + + cpe:/a:pcre:pcre + pcre + + diff --git a/dev-libs/libpcre2/Manifest b/dev-libs/libpcre2/Manifest new file mode 100644 index 000000000000..9e2d1b89b0a0 --- /dev/null +++ b/dev-libs/libpcre2/Manifest @@ -0,0 +1,8 @@ +DIST pcre2-10.22.tar.bz2 1470620 SHA256 b2b44619f4ac6c50ad74c2865fd56807571392496fae1c9ad7a70993d018f416 SHA512 dcf70b5e5b73f29188a56e4d9efb9afdf2b9ebe50e13a7640b80f543851235a289e476e1f517f49fac9628b456268bcdaf2b492237bc879ddff36f84ef4f32ea WHIRLPOOL 154ee1c4d2445878c2d2fd1eafa96584d8c943e9e545937b37d4c1fb12ba847938647184723d429244bf5aa989ba335cfbf74fadb5d38227862762bd34166232 +DIST pcre2-10.23.tar.bz2 1515314 SHA256 dfc79b918771f02d33968bd34a749ad7487fa1014aeb787fad29dd392b78c56e SHA512 3e5910bd2405cc35934d91e4be760abe4f2e900202a20b6ba74adb7a3acb2b74b3bf9b0e97e8de10f8e8534133e0722e0bf0f5fb40d6c2c4520d1ed61749d456 WHIRLPOOL 8db3deb22c26688607e1dc4b52229c64f8bcbb80908155ff9bd58b690a239984b6f5d1aff0cdc70efa3abf3ee899e22ea6e3a502437af424cb92d345133889a6 +DIST pcre2-10.30.tar.bz2 1583543 SHA256 90bd41c605d30e3745771eb81928d779f158081a51b2f314bbcc1f73de5773db SHA512 f247a9f917c75920793b9919a45bb1426d126246e7a5d04e39d9407e44b5781f894a90cd3d232b385436b2f22be391335ab782664dd3a28c79058a2fcc74dc3e WHIRLPOOL 4491d5ea682ee90dad91f5b1a3dccf482c17768ea5de3c5cca2fa2b56ba97180b746242e552fbe240b154f98eac5b11da466b86d34e9bfe7c7a202d4c976172f +EBUILD libpcre2-10.22.ebuild 2332 SHA256 3a0d46bea37789ae1e0a8a4eac80f4ac16fc345ae189fb22c7f463fe0f113498 SHA512 2dde1a17abd2795e57aa006a4b7f2a2e33c8d64d03ef1b9f106fad617f3b72ee0f897fe6e1263fa6244fb3e8c9a2ed18318fcd209232bed7825ef4cb71a46061 WHIRLPOOL 8e283e1e11b609c3e0ca0fcc8a9cb272dd17f40921ce1ffecc95b1c741fd2a567822d28ef7569d7b6db28ca3940af6d1d6a366eac37e99b6307c300222785b97 +EBUILD libpcre2-10.23.ebuild 2341 SHA256 8f1f06fc6905f1b5d1b10b48c85ea7d70a743af5a07d1282a4e93e82f422c5da SHA512 f6e07b46cebc6ea2a5414a1a023124a1078fe1a2f11b3e31b95758c7f77e95b6b455e86e89385811d6b5787584cbe3a0564d2aaf8e39f4112c9cb255641c79c1 WHIRLPOOL 5c003fff34d755a11267f6d63a2017f033a34e1532aa66a50003e9a515b81719da5696b50a17de4227bebf6639a3333f5ac36ce443a2d0ef276d095c50ddac3d +EBUILD libpcre2-10.30.ebuild 2352 SHA256 f98c21da22b59e60927228ad0625285ddd4ffed986d8c9228306f23c25085508 SHA512 1c090e317e3714f0a7a2837a38ed3531a07201a3a6b0e2c2f380f03e5dc359e0442a73b094ae4933d55deddedf13606627f9105bdc97de1233275ad61c10faff WHIRLPOOL f0853478298f552a0d6be9ab6568982c5164b506d2a03eace6af477b41b749a9b0ffac3a384dde5701abc79aa13910dc980b0761017d639ae2f66fd43d56a791 +MISC ChangeLog 636 SHA256 12a1be3879646cf26d749f847cb41a049712ef0bc0cd42ef666389d11b0d8cac SHA512 6d6c08973261f120a29f274a7de1723ee0f5c38243690cf924113a3c1b996d037fd9a7fbc4c73ccf875dd376d5313d754b047037bafdf084146c7efc0fa91fff WHIRLPOOL 997a8ba70ae1530a33990a1314ccafc36196d9030e5f876de87799eb0b0a94ebe98c9eb5933c43582e71f966b6cb65659584a8a48f11247eab15dede2cb541d2 +MISC metadata.xml 1106 SHA256 cd64d68c7f9bb87258163e531bf1d09960aebae9d281dd65f1667ffe7a77bf5a SHA512 8f2e0a7fd277da813c6aa00ff9ed9fe69443a6c738b2e66d09d5c5b4f6381110c1bab0a6b8be315f99f07254ae38c347aea4d50b54693bab3056c83830bec8cf WHIRLPOOL f8b130afaa6353e50c64788adcde3d1de6d4d895598883944c99c93321bdd429d59049123f85aeb695e3a99f806611d9a06a4f9c57ef0bc5d4656b65db8c73e4 diff --git a/dev-libs/libpcre2/libpcre2-10.22.ebuild b/dev-libs/libpcre2/libpcre2-10.22.ebuild new file mode 100644 index 000000000000..9b304c598688 --- /dev/null +++ b/dev-libs/libpcre2/libpcre2-10.22.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils libtool flag-o-matic toolchain-funcs multilib-minimal + +DESCRIPTION="Perl-compatible regular expression library" +HOMEPAGE="http://www.pcre.org/" +MY_P="pcre2-${PV/_rc/-RC}" +if [[ ${PV} != *_rc* ]] ; then + # Only the final releases are available here. + SRC_URI="mirror://sourceforge/pcre/${MY_P}.tar.bz2 + ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/${MY_P}.tar.bz2" +else + SRC_URI="ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/Testing/${MY_P}.tar.bz2" +fi + +LICENSE="BSD" +SLOT="0" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="bzip2 +jit libedit pcre16 pcre32 +readline +recursion-limit static-libs unicode zlib" +REQUIRED_USE="?? ( libedit readline )" + +RDEPEND="bzip2? ( app-arch/bzip2 ) + zlib? ( sys-libs/zlib ) + libedit? ( dev-libs/libedit ) + readline? ( sys-libs/readline:0= )" +DEPEND="${RDEPEND} + virtual/pkgconfig + userland_GNU? ( >=sys-apps/findutils-4.4.0 )" + +S=${WORKDIR}/${MY_P} + +MULTILIB_CHOST_TOOLS=( + /usr/bin/pcre2-config +) + +src_prepare() { + default + + elibtoolize +} + +multilib_src_configure() { + ECONF_SOURCE="${S}" econf \ + --with-match-limit-recursion=$(usex recursion-limit 8192 MATCH_LIMIT) \ + $(multilib_native_use_enable bzip2 pcre2grep-libbz2) \ + $(use_enable jit) $(use_enable jit pcre2grep-jit) \ + $(use_enable pcre16 pcre2-16) \ + $(use_enable pcre32 pcre2-32) \ + $(multilib_native_use_enable libedit pcre2test-libedit) \ + $(multilib_native_use_enable readline pcre2test-libreadline) \ + $(use_enable static-libs static) \ + $(use_enable unicode) \ + $(multilib_native_use_enable zlib pcre2grep-libz) \ + --enable-pcre2-8 \ + --enable-shared \ + --htmldir="${EPREFIX}"/usr/share/doc/${PF}/html +} + +multilib_src_compile() { + emake V=1 $(multilib_is_native_abi || echo "bin_PROGRAMS=") +} + +multilib_src_install() { + emake \ + DESTDIR="${D}" \ + $(multilib_is_native_abi || echo "bin_PROGRAMS= dist_html_DATA=") \ + install + multilib_is_native_abi && gen_usr_ldscript -a pcre2-posix +} + +multilib_src_install_all() { + prune_libtool_files +} diff --git a/dev-libs/libpcre2/libpcre2-10.23.ebuild b/dev-libs/libpcre2/libpcre2-10.23.ebuild new file mode 100644 index 000000000000..e0aeaa588742 --- /dev/null +++ b/dev-libs/libpcre2/libpcre2-10.23.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils libtool flag-o-matic toolchain-funcs multilib-minimal + +DESCRIPTION="Perl-compatible regular expression library" +HOMEPAGE="http://www.pcre.org/" +MY_P="pcre2-${PV/_rc/-RC}" +if [[ ${PV} != *_rc* ]] ; then + # Only the final releases are available here. + SRC_URI="mirror://sourceforge/pcre/${MY_P}.tar.bz2 + ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/${MY_P}.tar.bz2" +else + SRC_URI="ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/Testing/${MY_P}.tar.bz2" +fi + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="bzip2 +jit libedit pcre16 pcre32 +readline +recursion-limit static-libs unicode zlib" +REQUIRED_USE="?? ( libedit readline )" + +RDEPEND="bzip2? ( app-arch/bzip2 ) + zlib? ( sys-libs/zlib ) + libedit? ( dev-libs/libedit ) + readline? ( sys-libs/readline:0= )" +DEPEND="${RDEPEND} + virtual/pkgconfig + userland_GNU? ( >=sys-apps/findutils-4.4.0 )" + +S=${WORKDIR}/${MY_P} + +MULTILIB_CHOST_TOOLS=( + /usr/bin/pcre2-config +) + +src_prepare() { + default + + elibtoolize +} + +multilib_src_configure() { + ECONF_SOURCE="${S}" econf \ + --with-match-limit-recursion=$(usex recursion-limit 8192 MATCH_LIMIT) \ + $(multilib_native_use_enable bzip2 pcre2grep-libbz2) \ + $(use_enable jit) $(use_enable jit pcre2grep-jit) \ + $(use_enable pcre16 pcre2-16) \ + $(use_enable pcre32 pcre2-32) \ + $(multilib_native_use_enable libedit pcre2test-libedit) \ + $(multilib_native_use_enable readline pcre2test-libreadline) \ + $(use_enable static-libs static) \ + $(use_enable unicode) \ + $(multilib_native_use_enable zlib pcre2grep-libz) \ + --enable-pcre2-8 \ + --enable-shared \ + --htmldir="${EPREFIX}"/usr/share/doc/${PF}/html +} + +multilib_src_compile() { + emake V=1 $(multilib_is_native_abi || echo "bin_PROGRAMS=") +} + +multilib_src_install() { + emake \ + DESTDIR="${D}" \ + $(multilib_is_native_abi || echo "bin_PROGRAMS= dist_html_DATA=") \ + install + multilib_is_native_abi && gen_usr_ldscript -a pcre2-posix +} + +multilib_src_install_all() { + prune_libtool_files +} diff --git a/dev-libs/libpcre2/libpcre2-10.30.ebuild b/dev-libs/libpcre2/libpcre2-10.30.ebuild new file mode 100644 index 000000000000..5e9a3da42808 --- /dev/null +++ b/dev-libs/libpcre2/libpcre2-10.30.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit flag-o-matic libtool ltprune multilib-minimal toolchain-funcs + +DESCRIPTION="Perl-compatible regular expression library" +HOMEPAGE="http://www.pcre.org/" +MY_P="pcre2-${PV/_rc/-RC}" +if [[ ${PV} != *_rc* ]] ; then + # Only the final releases are available here. + SRC_URI="mirror://sourceforge/pcre/${MY_P}.tar.bz2 + ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/${MY_P}.tar.bz2" +else + SRC_URI="ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/Testing/${MY_P}.tar.bz2" +fi + +LICENSE="BSD" +SLOT="0" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="bzip2 +jit libedit pcre16 pcre32 +readline +recursion-limit static-libs unicode zlib" +REQUIRED_USE="?? ( libedit readline )" + +RDEPEND="bzip2? ( app-arch/bzip2 ) + zlib? ( sys-libs/zlib ) + libedit? ( dev-libs/libedit ) + readline? ( sys-libs/readline:0= )" +DEPEND="${RDEPEND} + virtual/pkgconfig + userland_GNU? ( >=sys-apps/findutils-4.4.0 )" + +S="${WORKDIR}/${MY_P}" + +MULTILIB_CHOST_TOOLS=( + /usr/bin/pcre2-config +) + +src_prepare() { + default + + elibtoolize +} + +multilib_src_configure() { + local myeconfargs=( + --enable-pcre2-8 + --enable-shared + --htmldir="${EPREFIX}"/usr/share/doc/${PF}/html + --with-match-limit-depth=$(usex recursion-limit 8192 MATCH_LIMIT) + $(multilib_native_use_enable bzip2 pcre2grep-libbz2) + $(multilib_native_use_enable libedit pcre2test-libedit) + $(multilib_native_use_enable readline pcre2test-libreadline) + $(multilib_native_use_enable zlib pcre2grep-libz) + $(use_enable jit) + $(use_enable jit pcre2grep-jit) + $(use_enable pcre16 pcre2-16) + $(use_enable pcre32 pcre2-32) + $(use_enable static-libs static) + $(use_enable unicode) + ) + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" +} + +multilib_src_compile() { + emake V=1 $(multilib_is_native_abi || echo "bin_PROGRAMS=") +} + +multilib_src_install() { + emake \ + DESTDIR="${D}" \ + $(multilib_is_native_abi || echo "bin_PROGRAMS= dist_html_DATA=") \ + install + multilib_is_native_abi && gen_usr_ldscript -a pcre2-posix +} + +multilib_src_install_all() { + prune_libtool_files +} diff --git a/dev-libs/libpcre2/metadata.xml b/dev-libs/libpcre2/metadata.xml new file mode 100644 index 000000000000..bc237ef19b6e --- /dev/null +++ b/dev-libs/libpcre2/metadata.xml @@ -0,0 +1,32 @@ + + + + + polynomial-c@gentoo.org + Lars Wendler + + + + Add support for pcregrep command to search within + bzip2-compressed files (via app-arch/bzip2). + + Build PCRE library for 16 bit characters (e.g. UTF-16). + Build PCRE library for 32 bit characters (e.g. UTF-32). + + Add support for command line editing to pcretest, through + sys-libs/readline. + + + Limit match recursion to 8192; if disabled, the default limit is + used, which is the same as the match limit. + + + Add support for pcregrep command to search within + gzip-compressed files (via sys-libs/zlib). + + + + cpe:/a:pcre:pcre + pcre + + diff --git a/dev-libs/libpeas/Manifest b/dev-libs/libpeas/Manifest new file mode 100644 index 000000000000..c773464343b4 --- /dev/null +++ b/dev-libs/libpeas/Manifest @@ -0,0 +1,7 @@ +AUX libpeas-1.14.0-lua.pc.patch 553 SHA256 5ce7d73d6c1d5e00893a52055a6a839212562d95b9a1213774a0fc34f906c505 SHA512 ead06352498ff82a4520d4a7ed7b5d03e2d0adcdf2025413851b8385bfdd691c938b456b555d2214ec2dc7b95708f306149d6f1cfa7c5b03ad28a1c90c873349 WHIRLPOOL b830d8cf2163d5bd79f25c9bb681e7d3cd64d9acd8574443aa896366442a43113481811553bf6f11a3f977b3e8114c240dc2f30388b93ff94a181fec1831500b +DIST libpeas-1.20.0.tar.xz 557872 SHA256 f392fffe2dc00072a51bb2a1b274224a06bdc5f9c3b3c0ac4816909e9933d354 SHA512 b3ddebf65e1a76493b5cd5150f60c13597c90398eea16c002e51d25449a595f7591bd0ccd1214ca3a8cbce724eb10f38a316e8c95092442034c048bc95cfdbf4 WHIRLPOOL 94e4bd69a13d07a0dbe3b959c7feed3bbe705767351fd9053f266c1120d5356f15b745fb57d357d5a56303afd40deec37033f575c047c28ffb748050f1a983e0 +EBUILD libpeas-1.20.0-r1.ebuild 2171 SHA256 90c1f63982f6321fde0a9cb3d8b564dbcf69a511e8a003c2c5e6d6547adf3d34 SHA512 335d16625421587381ffdf54dc33f52cfacef4d6eb1f1fecc4d54cec1e961ad42263554a8c7da3a3ee0273e279c3682c46734c9328aedcd04d20efb6abad6e70 WHIRLPOOL 629c7a97856af67e1e94d9dc6fdc18c51667e2966f982964c45433a98bcb9007ed069deb04c24e193af3b919c5f2ad6b6fffa36004fd08dd11227715621d370d +EBUILD libpeas-1.20.0.ebuild 2503 SHA256 6a7847a3bb8fe4687db72ccce3177aa8755924211ddb594ab2c6ec6c288da337 SHA512 6fa6f7dde97c922445dd9aa355a0c6f50b05ab859ab08460ed26e7bae31a98031f7a314c023e7ccef943e9541a93fd5d2c6cd3e5c32d9b8f6715fd4fc6eb9a2e WHIRLPOOL e129b5f0ea1baa7c0f58e8b4b1a501d10ab3d3db9841562b7a72562525d4bcbc1ec81c381e85e1acb6e2f8da24b50a59e0d790f47a82d32d0e56849b1540cab6 +MISC ChangeLog 5374 SHA256 b192ab3d402dd154c32021d5fe435e350af00caf0fcf1b37950b04cfea5a2567 SHA512 4b256281897943388c84daf0faa5432f40436baf36ae44234c5146b46f91ccc06bcdaf3ca91e0799266fea684cd5ff354231932f408d185c9fba6cad82ecbc86 WHIRLPOOL c88923b491c06eebb7bc043c83ec7df5450ed3aa19a1578bb135e52d17fbc8660da3664efc58e0226de7682e7121047bf68f1de041a91f519029af7f37b2c37d +MISC ChangeLog-2015 7152 SHA256 5ec3cf7e07334e3c17e694bb7188af503da761254e8590a280d00a43ee07d85e SHA512 e72bf9ac294ec58d87d0f0e22be93a5110322c0d9bcddd075c447a2cafc18659fe050d6f350d2332ee0de2bae7d353f0326e20a6e378b769136709e0dfd6f0c0 WHIRLPOOL cd11e9c36203160b21cf40a26c46191439d13ec518121fbf134ae022b689bb862e1875744455826c8d952ac2e62eca7845657b7d0ba0b7a453c5cc07a83d5406 +MISC metadata.xml 415 SHA256 0c5451ed97568d3ad55e07c1ed8684f6f4217bb3414e60e56fcec742c18b9ee8 SHA512 4bf99a5c542cab95dadcf6db8aecbefa0be453f8851c2222ee698eec38c221f3b45b2ead6f87dd1d1ec5a233ba73054cf3b3d7b92d12ff4d88ee04a2057c50ea WHIRLPOOL 8316a25b9d0dbaa92a92480d4183bbf8b47105aa0db75531514055ef361712a5c0c7a9592cf84a2e183a52b3c0ad0767aa89a93f5fd74e462dcc8d289dffb120 diff --git a/dev-libs/libpeas/files/libpeas-1.14.0-lua.pc.patch b/dev-libs/libpeas/files/libpeas-1.14.0-lua.pc.patch new file mode 100644 index 000000000000..c46cbee242e5 --- /dev/null +++ b/dev-libs/libpeas/files/libpeas-1.14.0-lua.pc.patch @@ -0,0 +1,18 @@ +Gentoo currently uses unversioned lua:0 - lua.pc instad of lua5.1.pc, /usr/bin/lua instead of /usr/bin/lua5.1 + +diff --git a/configure.ac b/configure.ac +index 810a288..51ca607 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -305,9 +305,9 @@ else + fi + + if test "x$found_lua51" != "xyes"; then +- PKG_CHECK_EXISTS([lua5.1 >= $LUA51_REQUIRED], [ ++ PKG_CHECK_EXISTS([lua >= $LUA51_REQUIRED], [ + found_lua51=yes +- with_lua51=lua5.1 ++ with_lua51=lua + ], [ + found_lua51=no + ]) diff --git a/dev-libs/libpeas/libpeas-1.20.0-r1.ebuild b/dev-libs/libpeas/libpeas-1.20.0-r1.ebuild new file mode 100644 index 000000000000..b08429342cca --- /dev/null +++ b/dev-libs/libpeas/libpeas-1.20.0-r1.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +GNOME2_LA_PUNT="yes" +PYTHON_COMPAT=( python{3_4,3_5} ) + +inherit autotools eutils gnome2 multilib python-single-r1 virtualx + +DESCRIPTION="A GObject plugins library" +HOMEPAGE="https://developer.gnome.org/libpeas/stable/" + +LICENSE="LGPL-2+" +SLOT="0" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-fbsd ~amd64-linux ~x86-linux" + +IUSE="+gtk glade jit lua +python" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND=" + >=dev-libs/glib-2.38:2 + >=dev-libs/gobject-introspection-1.39:= + glade? ( >=dev-util/glade-3.9.1:3.10 ) + gtk? ( >=x11-libs/gtk+-3:3[introspection] ) + lua? ( + >=dev-lua/lgi-0.9.0 + jit? ( >=dev-lang/luajit-2:2 ) + !jit? ( =dev-lang/lua-5.1*:0 ) ) + python? ( + ${PYTHON_DEPS} + >=dev-python/pygobject-3.2:3[${PYTHON_USEDEP}] ) +" +DEPEND="${RDEPEND} + >=dev-util/gtk-doc-am-1.11 + >=dev-util/intltool-0.40 + virtual/pkgconfig + + dev-libs/gobject-introspection-common + gnome-base/gnome-common +" +# eautoreconf needs gobject-introspection-common, gnome-common + +pkg_setup() { + use python && python-single-r1_pkg_setup +} + +src_prepare() { + # Gentoo uses unversioned lua - lua.pc instad of lua5.1.pc, /usr/bin/lua instead of /usr/bin/lua5.1 + eapply "${FILESDIR}"/${PN}-1.14.0-lua.pc.patch + eautoreconf + gnome2_src_prepare +} + +src_configure() { + # Wtf, --disable-gcov, --enable-gcov=no, --enable-gcov, all enable gcov + # What do we do about gdb, valgrind, gcov, etc? + local myconf=( + $(use_enable glade glade-catalog) + $(use_enable gtk) + --disable-static + + # py2 not supported anymore + --disable-python2 + $(use_enable python python3) + + # lua + $(use_enable lua lua5.1) + $(use_enable $(usex jit lua jit) luajit) + ) + + gnome2_src_configure "${myconf[@]}" +} + +src_test() { + # This looks fixed since 1.18.0: + # + # FIXME: Tests fail because of some bug involving Xvfb and Gtk.IconTheme + # DO NOT REPORT UPSTREAM, this is not a libpeas bug. + # To reproduce: + # >>> from gi.repository import Gtk + # >>> Gtk.IconTheme.get_default().has_icon("gtk-about") + # This should return True, it returns False for Xvfb + virtx emake check +} diff --git a/dev-libs/libpeas/libpeas-1.20.0.ebuild b/dev-libs/libpeas/libpeas-1.20.0.ebuild new file mode 100644 index 000000000000..0418a2e4b1b4 --- /dev/null +++ b/dev-libs/libpeas/libpeas-1.20.0.ebuild @@ -0,0 +1,97 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +GNOME2_LA_PUNT="yes" +PYTHON_COMPAT=( python{2_7,3_4,3_5} ) + +inherit autotools eutils gnome2 multilib python-r1 virtualx + +DESCRIPTION="A GObject plugins library" +HOMEPAGE="https://developer.gnome.org/libpeas/stable/" + +LICENSE="LGPL-2+" +SLOT="0" +KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-fbsd ~amd64-linux ~x86-linux" + +IUSE="+gtk glade jit lua +python" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ?? ( $(python_gen_useflags 'python3*') ) )" + +RDEPEND=" + >=dev-libs/glib-2.38:2 + >=dev-libs/gobject-introspection-1.39:= + glade? ( >=dev-util/glade-3.9.1:3.10 ) + gtk? ( >=x11-libs/gtk+-3:3[introspection] ) + lua? ( + >=dev-lua/lgi-0.9.0 + jit? ( >=dev-lang/luajit-2:2 ) + !jit? ( =dev-lang/lua-5.1*:0 ) ) + python? ( + ${PYTHON_DEPS} + >=dev-python/pygobject-3.2:3[${PYTHON_USEDEP}] ) +" +DEPEND="${RDEPEND} + >=dev-util/gtk-doc-am-1.11 + >=dev-util/intltool-0.40 + virtual/pkgconfig + + dev-libs/gobject-introspection-common + gnome-base/gnome-common +" +# eautoreconf needs gobject-introspection-common, gnome-common + +src_prepare() { + # Gentoo uses unversioned lua - lua.pc instad of lua5.1.pc, /usr/bin/lua instead of /usr/bin/lua5.1 + eapply "${FILESDIR}"/${PN}-1.14.0-lua.pc.patch + eautoreconf + gnome2_src_prepare +} + +src_configure() { + # Wtf, --disable-gcov, --enable-gcov=no, --enable-gcov, all enable gcov + # What do we do about gdb, valgrind, gcov, etc? + local myconf=( + $(use_enable glade glade-catalog) + $(use_enable gtk) + --disable-static + + # possibly overriden below + --disable-python{2,3} + --disable-lua5.1 + --disable-luajit + ) + + if use lua ; then + if use jit ; then + myconf+=( --enable-lua5.1 --enable-luajit ) + else + myconf+=( --enable-lua5.1 ) + fi + fi + + python_configure() { + local v + python_is_python3 && v=3 || v=2 + myconf+=( + "--enable-python${v}" + # it is just 'PYTHON' for py3 in the build system + "PYTHON${v#3}=${PYTHON}" + "PYTHON${v}_CONFIG=$(python_get_PYTHON_CONFIG)" + ) + } + use python && python_foreach_impl python_configure + + gnome2_src_configure "${myconf[@]}" +} + +src_test() { + # This looks fixed since 1.18.0: + # + # FIXME: Tests fail because of some bug involving Xvfb and Gtk.IconTheme + # DO NOT REPORT UPSTREAM, this is not a libpeas bug. + # To reproduce: + # >>> from gi.repository import Gtk + # >>> Gtk.IconTheme.get_default().has_icon("gtk-about") + # This should return True, it returns False for Xvfb + virtx emake check +} diff --git a/dev-libs/libpeas/metadata.xml b/dev-libs/libpeas/metadata.xml new file mode 100644 index 000000000000..f955af2bfc30 --- /dev/null +++ b/dev-libs/libpeas/metadata.xml @@ -0,0 +1,13 @@ + + + + + gnome@gentoo.org + Gentoo GNOME Desktop + + + Install the glade catalog + Build support for loading dev-lang/python + plugins + + diff --git a/dev-libs/libpfm/Manifest b/dev-libs/libpfm/Manifest new file mode 100644 index 000000000000..c5a1ac361db3 --- /dev/null +++ b/dev-libs/libpfm/Manifest @@ -0,0 +1,9 @@ +DIST libpfm-4.4.0.tar.gz 649910 SHA256 8351ff4bbab4e4cbf6f17f76dd18698ef3a7dff766ea0cfa1a6d60bce36f7c9c SHA512 e7f9b50d0c71c08697283d043231234b39695fda6796ad1e2c48fdd67e2936a3cf5d864b5e1b9c68a34f1d726f2b273eb1267adec3060085f3a51e9886f5704a WHIRLPOOL 9f1f1cbb2e56a3269b9f88c81273e69976d95e6557e1f1e08ade249cacbb6368e422e77c38d19603e28892683c37270e176f8854bfdfb6646b935c3e024d332f +DIST libpfm-4.6.0.tar.gz 767447 SHA256 5ab1e5b0472550f9037a8800834f6bc3b927690070f69fac0b67284b4b05fd5f SHA512 73bd11bd0c11c0ec2fa71935c967f36431a00b548b8b47575e00e8cc3e1f8ef3fc2d449d493f51a198eaba5b1629cdf79330cbe2a8ca8867e15fddbfdbf571dc WHIRLPOOL e6d9747ef22f82b47e5a63da73e178869eddda36fdbc0094de957297ef2a646085a1b2527e8592ae719b18ecc2de903fa451a1acd2dcaf57be4e1f3e7e4848cf +DIST libpfm-4.8.0.tar.gz 828853 SHA256 9193787a73201b4254e3669243fd71d15a9550486920861912090a09f366cf68 SHA512 a06f3713c70fb4fe694154057604ae42627ad764486a3d3e28b0ef2e46fdd0a0431ec1a3c52ebc711ae174a1fbd7b3ddd0c736a568f57d4606ecf8064ff38228 WHIRLPOOL 3e6faf2a36d0e4f8bcfaa468c41c61c5f668b3fab8e899f0ea45cc04add3a069dec1fb774da4faa9b6933680e6f1eb6c160561482400f48c19abafd5f7edc261 +EBUILD libpfm-4.4.0.ebuild 820 SHA256 a2f1cd081415e43be1c4aadfeb6a0dfeabc255740a5e72b8fa4f2538bacd0e7f SHA512 efcfc3bbafe4564440d7150d888a186f4f09de77ff3f76e48a4ef9a9986b8842769a3ee7a923f40c387dd618437af213a45d9f07fb85131559760fb67ba3d93b WHIRLPOOL 4aa246bd70eee347d7191ee81df88576a88ac3d75cd3394d9fde10e7ab4dcb5d3dedd7a27d3e4f07d3b2ae004adf47299d0cbe870c5380a9d7e010f6f6e30c7b +EBUILD libpfm-4.6.0.ebuild 826 SHA256 8cf47699be0fbfdb82599d47596fe37c34618240c5798752cbb1e83c4be7c9ab SHA512 f66f67e9e7fb3a8f43321a68e327a77c0e6c374739c6d479faeb5e1b2b0650ea77de7669edcae307d8392699438e6809fece773807c589a2026c8e83e7f3ab5a WHIRLPOOL a34c2f00288b624c6e6ce1908bc21a0645d2aa8a469e8f2ced03a9993d65e218bc80603390f3fbd6fed2dbe8e80b75f759700b714af7c9a438ea214f0fea0ced +EBUILD libpfm-4.8.0.ebuild 827 SHA256 247017f47860031211bb7f36307e82f65cd7236295aae5108011e42fb4c41154 SHA512 39e8747e72a1ecb36be4c7386071331c72ceef16be509a53f912c3edb4b56689d968b70ea3f83b85923e169aa21b10ab0c2834de3127cf24e689af8e745f0886 WHIRLPOOL 5d9f4b28c09e5f5619115f1874c701d27017dce06db8941120d47b5d3bd7cf772ecc872e4da5a2c8ae32637e0b926fe0092d323fad44389dac3b648ade03bb41 +MISC ChangeLog 2726 SHA256 9bb138a36468ff6737ecd1978e16099ff144a49e8f24b10ec37f7e1a727e74fa SHA512 7239f0ccae93099f7e03db98eb174b9445042491bdcef69d78544d94a760f6c17b2a8d6276e2ade1f247006cad6823fddff0c09f67edbbb156b024a296bdee58 WHIRLPOOL b7fea2bf89b39207ffecb29eedb737e62f6cf46f202373ffeb87ad0a9fc0e57d943d2fc83a35ae41f823d3b81d5fc1dae0d3cd5eef9f419edd319d0bfc321f7a +MISC ChangeLog-2015 556 SHA256 857ba58c5397736eec6fb488fdbe7aedcb0553d3589076382d728197988c5a72 SHA512 c22df85bcd82d057b971cd03970f025b12a306ca82f08973ac3d33f7e396b05353c9867154d71c9a9c8a99272df0d1ce2ff766039b5d85b427476e390bd9d081 WHIRLPOOL 20cf64e269199bd2e776053ba80527104333efde08bfd16b6c488eb63feb15993ccc842a2d1253d0fc564a9941b74d2480b82d72816f8fe4759220fee520c3d3 +MISC metadata.xml 293 SHA256 49ab87c90e3e5aa4edab77ca392b89422fe97297dedfc3e8dc5d61b225f423e6 SHA512 e604cc185018211df6e9072ac3bff2effaab07189f11ebf5292df2f9e5645d9ca7bcadeeaeeaa8c3bcbef333ff6bc5a65f79caa6414e786826ff91409db05782 WHIRLPOOL a10cd6305e06f6e2a89bb7dcee5b10572154fff4470ae4572bb70cef341ec1d6a2d4bb5c666cd3a0798ba361cc2598a4c08c807aadad07ebba444f2b7c934cdc diff --git a/dev-libs/libpfm/libpfm-4.4.0.ebuild b/dev-libs/libpfm/libpfm-4.4.0.ebuild new file mode 100644 index 000000000000..e23abfa0d621 --- /dev/null +++ b/dev-libs/libpfm/libpfm-4.4.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit multilib toolchain-funcs + +DESCRIPTION="Hardware-based performance monitoring interface for Linux" +HOMEPAGE="http://perfmon2.sourceforge.net" +SRC_URI="mirror://sourceforge/perfmon2/${PN}4/${P}.tar.gz" + +LICENSE="GPL-2 MIT" +SLOT="0/4" +KEYWORDS="~amd64 ~x86" +IUSE="static-libs" + +DEPEND="" +RDEPEND="${DEPEND}" + +src_prepare() { + sed -e "s:SLDFLAGS=:SLDFLAGS=\$(LDFLAGS) :g" \ + -i lib/Makefile || die + sed -e "s:LIBDIR=\$(PREFIX)/lib:LIBDIR=\$(PREFIX)/$(get_libdir):g" \ + -i config.mk || die +} + +src_compile() { + emake CC=$(tc-getCC) +} + +src_install() { + emake DESTDIR="${D}" LDCONFIG=true PREFIX="${EPREFIX}/usr" install + use static-libs || find "${ED}" -name '*.a' -exec rm -f '{}' + + dodoc README +} diff --git a/dev-libs/libpfm/libpfm-4.6.0.ebuild b/dev-libs/libpfm/libpfm-4.6.0.ebuild new file mode 100644 index 000000000000..08b3bfaa5671 --- /dev/null +++ b/dev-libs/libpfm/libpfm-4.6.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit multilib toolchain-funcs + +DESCRIPTION="Hardware-based performance monitoring interface for Linux" +HOMEPAGE="http://perfmon2.sourceforge.net" +SRC_URI="mirror://sourceforge/perfmon2/${PN}4/${P}.tar.gz" + +LICENSE="GPL-2 MIT" +SLOT="0/4" +KEYWORDS="~amd64 ppc64 ~x86" +IUSE="static-libs" + +DEPEND="" +RDEPEND="${DEPEND}" + +src_prepare() { + sed -e "s:SLDFLAGS=:SLDFLAGS=\$(LDFLAGS) :g" \ + -i lib/Makefile || die + sed -e "s:LIBDIR=\$(PREFIX)/lib:LIBDIR=\$(PREFIX)/$(get_libdir):g" \ + -i config.mk || die +} + +src_compile() { + emake CC=$(tc-getCC) +} + +src_install() { + emake DESTDIR="${D}" LDCONFIG=true PREFIX="${EPREFIX}/usr" install + use static-libs || find "${ED}" -name '*.a' -exec rm -f '{}' + + dodoc README +} diff --git a/dev-libs/libpfm/libpfm-4.8.0.ebuild b/dev-libs/libpfm/libpfm-4.8.0.ebuild new file mode 100644 index 000000000000..2501fbe9aafd --- /dev/null +++ b/dev-libs/libpfm/libpfm-4.8.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit multilib toolchain-funcs + +DESCRIPTION="Hardware-based performance monitoring interface for Linux" +HOMEPAGE="http://perfmon2.sourceforge.net" +SRC_URI="mirror://sourceforge/perfmon2/${PN}4/${P}.tar.gz" + +LICENSE="GPL-2 MIT" +SLOT="0/4" +KEYWORDS="~amd64 ~ppc64 ~x86" +IUSE="static-libs" + +DEPEND="" +RDEPEND="${DEPEND}" + +src_prepare() { + sed -e "s:SLDFLAGS=:SLDFLAGS=\$(LDFLAGS) :g" \ + -i lib/Makefile || die + sed -e "s:LIBDIR=\$(PREFIX)/lib:LIBDIR=\$(PREFIX)/$(get_libdir):g" \ + -i config.mk || die +} + +src_compile() { + emake CC=$(tc-getCC) +} + +src_install() { + emake DESTDIR="${D}" LDCONFIG=true PREFIX="${EPREFIX}/usr" install + use static-libs || find "${ED}" -name '*.a' -exec rm -f '{}' + + dodoc README +} diff --git a/dev-libs/libpfm/metadata.xml b/dev-libs/libpfm/metadata.xml new file mode 100644 index 000000000000..a835c64f5c8b --- /dev/null +++ b/dev-libs/libpfm/metadata.xml @@ -0,0 +1,10 @@ + + + + + slis@gentoo.org + + + perfmon2 + + diff --git a/dev-libs/libpipeline/Manifest b/dev-libs/libpipeline/Manifest new file mode 100644 index 000000000000..7d6805f39033 --- /dev/null +++ b/dev-libs/libpipeline/Manifest @@ -0,0 +1,15 @@ +AUX libpipeline-1.4.1-gnulib-cygwin-sys_select.patch 850 SHA256 122a069e24ed07bab7a65ea31f10e14f755a1a464acb9568dc610f171b94b0a8 SHA512 1aaac731af050193a67a45aae7c100e8a6c4e5328b60b2e6f89ef774f66b6d997a1558b104157f65183191c9940c9d4a904f8b32666021ae20dff6b3e5726990 WHIRLPOOL befcfb16d080bcce5247705a32b82cca6af4ad5b1a6bd7e143b1eb6d901e4b3c625088f9b741abf2bd4785f37eb1a710f4897ce8f12053abdb84939d84c1658a +AUX libpipeline-1.4.1-gnulib-darwin-program_name.patch 683 SHA256 05d93f6ef8e1a94de0739292b9c8d36e14bd29fde83106fbf683fbd7154ac715 SHA512 630d39e2c820935374807f6524ff4ffb0c4b46e7df3b765ca4c794d9fb3cab5882d904bd438ea9351e46e1d66f66c8d3bfb0e376fe24a3b20c8f18f36c47efb8 WHIRLPOOL f67270f796074d8af1b0dd1ce3b1918c7df532c8b72a4ea87986c34d776978f3b53501e874a5e27dc5ebc18ae0c260fe2075a4aec3c6cd74c76ee6d2c6b319e2 +DIST libpipeline-1.2.5.tar.gz 779072 SHA256 2de10806d9b7dda54f4098d2c12e36e960b954d1325c0885ac01c3c7ee908d5b SHA512 fd6ec96bd78f921a43e6b8fbb0e8ffd4a2bba35fe87a95dbd98e8b83d04fe2fbe34c4b4a008ca027b683d071f0730f8057d3b9aa2d946f2f7808486f16d97b01 WHIRLPOOL 4a600569d651d41abc4c15984edd11198d85bc67d61431aa87dd1d0e9311de2b4f86cc2f1186b359ed2f34b2e7e95261ed2033f24100697c088ead9508d4120a +DIST libpipeline-1.3.1.tar.gz 787711 SHA256 5cad1b446f135ec3800d32c8c951a1114f4c438609a4c52b262c30301bc8e692 SHA512 0f903f9a268eea7c6d1ddef1210a729d32b423abdbf1e150aaf6705a272dfbcde482302cb06366ce317674bc681c7e3305cd35a83eb3f0451d1c5595f5c6ac5a WHIRLPOOL eb3fc4a337e09552f3e58a06bcbd9ed30d6b95a60b6cadc293e7aceb77a99e488c8c77a757dd93968a48b4fc72d024227fbe176d8ac7a386172bc50b51e54ef2 +DIST libpipeline-1.4.0.tar.gz 805155 SHA256 79c759e7fbf17b560a72edce3ff9bb308d7720306c2650e4fae541daabb89bb6 SHA512 0dce585f9d7aea91889804fd7a65a549b41730add0f6156bf8d0409762fed9c29e8843426e8136c9e0a0348734acaabb48ceede1e3e4d9071d4d787d0b8d46f3 WHIRLPOOL 2ba46823c6eacbe7b4a15d135448b2c59c65c431f438d22f1709bea85d819f4358fd685fab00d0e24cf281e92476b8c48aee61e7b406dcd8e142b2e4fa50bf86 +DIST libpipeline-1.4.1.tar.gz 805172 SHA256 da46d7b20163aadb9db2faae483f734e9096a7550c84b94029abeab62dd1b9ee SHA512 835d65aa3f9436398b5421544ca7857fe9caed52cd2e70320ea04d6315825e648df930e1c225d4aaf0f2edda2a438f6c00f15c556fb9fd30311560fb8d966797 WHIRLPOOL 1b6688f0388489f015a95397ec6ad34338654bd40c05bc15f30cdbf2e4ad5b1fd53d20f56a6763d398562f39986abf6675236395215bc5819573162eedf17de0 +DIST libpipeline-1.4.2.tar.gz 827362 SHA256 fef1fc9aa40ce8796f18cd1aecd888a9484a9556c8b0f8d07c863578277679be SHA512 18d4592c142b745e709b9d30e894f1cb95e8006d8d3d3c978a1c4b8fc2393fc40383aa8236587cc7caf576ee9664867358a94c081c0730de9e337ddbd1e57e02 WHIRLPOOL 56b81f7572d21be35cfa82d6fcb3bd9321016a400c619b97d71de1e1740070647e3e8c8e810e6547132ecb4e2ecbbef9ec37fab4ae8b1669f51e69613d2aa9a4 +EBUILD libpipeline-1.2.5.ebuild 506 SHA256 da18cc4b0cc3d8a8e808c22ee4c951e516222c878ee73d1fe5ef96fe33b2e60a SHA512 8ea347a009b2cb2cb8dfb8b680f267cdf028377cd5dac15460da865c8610820dcab3a665df38b592ddc6697f35183e9fefb9de72183e86b79d89fd2aa4670373 WHIRLPOOL 22a553312c59608dd7f6db2d1b194e3699aa0fb735c75eed8ac93fc2b0f2c248212c78a318b8545a66d895426606efbeb1a0a7dd9fd0e4996566a64cf6872dac +EBUILD libpipeline-1.3.1.ebuild 519 SHA256 e5123b196b6547340a3d95e2bce0142bcef2efc18eb88c2bc72ffe0b072b1432 SHA512 10e8bc4953caaf1fdb0995dc3a339288b9a91dcf180b8a33db79a7a923a13923c071679116f85223a3ee7a1c0d877ab574e2c055dba86d4a4e8e75da26b212f5 WHIRLPOOL 48e099651025c0607f5a234f0a49e1e1226abf0c196c0ce0dc36410e3a2d3289e2624869fe0f58f8dfa32973df751a3fe2f9f8992af7400e9c7a19843bd1d7bd +EBUILD libpipeline-1.4.0.ebuild 506 SHA256 235bd9255cecabe6f67cc108ae5b6a2916f6d132fdea2cc1ca5c503105e2ad44 SHA512 9215eda7625f54b82d9efc9c4aeb1246f333d4bc9297939fc6d325c933d919c8c0bc5b570669e0c3b16e74f20883dcb37c96925f4350fe5a49fb435c8e500107 WHIRLPOOL 983c8c8d9065bef771169a3b0671fafc5a821ff53d91bdb6ebc83fa072ec9431f1e1150397c1a4dcbe2c6bc41f31dd80708e78cf427404c6c4447d6de1417826 +EBUILD libpipeline-1.4.1.ebuild 669 SHA256 e9c4168ec8a80efe78be07d7db6d8b1f503964376a21b30fea828473815c6731 SHA512 ac7f8dc76a8ce2e3dee906022ba3cf57d9a22357b769ebce11d8ca2cfdbc98c665b16722866e6284636f5cb1b7ed4e8bf9e16d8a0d1ca39b8a44083b3444f909 WHIRLPOOL 89f08c30cb17e858f2be1d05df58586bd37533b3c0e35106c386b47792fc694111d589ec8baf74145ed1fc1da44a809b80fa1e6f4ac7815eea5f40ec72fd3029 +EBUILD libpipeline-1.4.2.ebuild 683 SHA256 b502a4037e03c105039150bfd559f34fe397098df80a94bcb0948c452e6d1b01 SHA512 cf7c9f5c0b6804ca91a77ebe6b27ff2ab98e5122702212ec529947f3ab6cf8bab01c40e83769c6322afd53b55e4b12030c1bcef30d66fda9dec974e7f031b87c WHIRLPOOL b0a881fb1a8ce26498dedbbc7b75015c54ff8a4093c5f1c7033fe5b342c7d808256bc28b16d667bd220fe8e6283cda90d12c02e01889cc6e1c1a3971b55572da +MISC ChangeLog 3739 SHA256 d0d8f953943ede61da2d781cce85f252dc469e003556bd0a6a11ad9df84740b2 SHA512 9ce074852a2a8962d830ac82f726dc127b460bd19295ba4a1d614c1b1532aed6128a9d6d44e2ab435ec5968a51239f47a358307abd21ec3cd2735bbb41ba433c WHIRLPOOL e973678d829fe13040f3eb3473380ed72af1c240fbf062e5a900375f51bc59392035ed2c4f6458651eb1f5cdac0451cd8ead47151549439201cbfb609f73998c +MISC ChangeLog-2015 8708 SHA256 75350c89d81c9f391c877bcccd317a7f7823fc2b838c3e966f0ffa8b1e4abcb1 SHA512 64ffa5162c6818f069207d3a85d1ff6ab27aa3289704226d821a5639f8ef5b7108a661fee75392c055160cf840e3c7796f11bd05fe807632af504979e80516ae WHIRLPOOL e5f07a1f1be5a3216caaeab99041466e2bbda8629817a393bcf9a20137cc90fb902ec9bd1d1f21b47e767ae19320c66b497198fa0a0fb973303042d2eae9a48d +MISC metadata.xml 253 SHA256 d82c33ef453113a5c1ebe250dcba373c22934a69b0a86c6ab15a5ca589c25b91 SHA512 54a9069aeb4165d2dff3d473c8001bc51613aac9dff3f7f5e9971a9891a737a31511ffa11cbd523febe581ac1d9de2bdf2f40410f0c4239138f2ccca3ef15555 WHIRLPOOL e5aee23acff864609953a1e4de768f0e4aef704b44c53c021f28573e1ca5c99f1a46d92935ecec2449f7b4419a36d8373127d0ecfa8d7bae72d835e1839eb3f8 diff --git a/dev-libs/libpipeline/files/libpipeline-1.4.1-gnulib-cygwin-sys_select.patch b/dev-libs/libpipeline/files/libpipeline-1.4.1-gnulib-cygwin-sys_select.patch new file mode 100644 index 000000000000..07551361793f --- /dev/null +++ b/dev-libs/libpipeline/files/libpipeline-1.4.1-gnulib-cygwin-sys_select.patch @@ -0,0 +1,22 @@ +https://lists.gnu.org/archive/html/bug-gnulib/2016-03/msg00065.html + +--- gnulib/lib/sys_select.in.h.orig 2014-08-03 15:31:22.000000000 +0200 ++++ gnulib/lib/sys_select.in.h 2016-05-19 12:57:51.243064700 +0200 +@@ -81,7 +81,7 @@ + Also, Mac OS X, AIX, HP-UX, IRIX, Solaris, Interix declare select() + in . + But avoid namespace pollution on glibc systems. */ +-# ifndef __GLIBC__ ++# if !(defined __GLIBC__ || defined __NEWLIB__) + # include + # endif + +@@ -102,7 +102,7 @@ + But avoid namespace pollution on glibc systems. + Do this after the include_next (for the sake of OpenBSD 5.0) but before + the split double-inclusion guard (for the sake of Solaris). */ +-#if !(defined __GLIBC__ && !defined __UCLIBC__) ++#if !((defined __GLIBC__ || defined __NEWLIB__) && !defined __UCLIBC__) + # include + #endif + diff --git a/dev-libs/libpipeline/files/libpipeline-1.4.1-gnulib-darwin-program_name.patch b/dev-libs/libpipeline/files/libpipeline-1.4.1-gnulib-darwin-program_name.patch new file mode 100644 index 000000000000..91a3c473f7bd --- /dev/null +++ b/dev-libs/libpipeline/files/libpipeline-1.4.1-gnulib-darwin-program_name.patch @@ -0,0 +1,28 @@ +https://lists.gnu.org/archive/html/bug-gnulib/2015-02/msg00079.html + +From: Margaret Lewicka + +--- + lib/error.c | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/lib/error.c b/lib/error.c +index 6683197..36a3db7 100644 +--- gnulib/lib/error.c ++++ gnulib/lib/error.c +@@ -113,9 +113,13 @@ int strerror_r (); + # endif + # endif + ++#if defined __APPLE__ && defined __MACH__ ++#define program_name (((char **)*_NSGetArgv())[0]) ++#else + /* The calling program should define program_name and set it to the + name of the executing program. */ + extern char *program_name; ++#endif + + # if HAVE_STRERROR_R || defined strerror_r + # define __strerror_r strerror_r +-- +2.1.0 diff --git a/dev-libs/libpipeline/libpipeline-1.2.5.ebuild b/dev-libs/libpipeline/libpipeline-1.2.5.ebuild new file mode 100644 index 000000000000..0a6182506575 --- /dev/null +++ b/dev-libs/libpipeline/libpipeline-1.2.5.ebuild @@ -0,0 +1,18 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit autotools-utils + +DESCRIPTION="a pipeline manipulation library" +HOMEPAGE="http://libpipeline.nongnu.org/" +SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux" +IUSE="static-libs test" + +DEPEND="virtual/pkgconfig + test? ( dev-libs/check )" diff --git a/dev-libs/libpipeline/libpipeline-1.3.1.ebuild b/dev-libs/libpipeline/libpipeline-1.3.1.ebuild new file mode 100644 index 000000000000..23e2aea280b3 --- /dev/null +++ b/dev-libs/libpipeline/libpipeline-1.3.1.ebuild @@ -0,0 +1,18 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit autotools-utils + +DESCRIPTION="a pipeline manipulation library" +HOMEPAGE="http://libpipeline.nongnu.org/" +SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux" +IUSE="static-libs test" + +DEPEND="virtual/pkgconfig + test? ( dev-libs/check )" diff --git a/dev-libs/libpipeline/libpipeline-1.4.0.ebuild b/dev-libs/libpipeline/libpipeline-1.4.0.ebuild new file mode 100644 index 000000000000..a817bfe0207f --- /dev/null +++ b/dev-libs/libpipeline/libpipeline-1.4.0.ebuild @@ -0,0 +1,18 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit autotools-utils + +DESCRIPTION="a pipeline manipulation library" +HOMEPAGE="http://libpipeline.nongnu.org/" +SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux" +IUSE="static-libs test" + +DEPEND="virtual/pkgconfig + test? ( dev-libs/check )" diff --git a/dev-libs/libpipeline/libpipeline-1.4.1.ebuild b/dev-libs/libpipeline/libpipeline-1.4.1.ebuild new file mode 100644 index 000000000000..fe9a50dbfe43 --- /dev/null +++ b/dev-libs/libpipeline/libpipeline-1.4.1.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit autotools-utils + +DESCRIPTION="a pipeline manipulation library" +HOMEPAGE="http://libpipeline.nongnu.org/" +SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +IUSE="static-libs test" + +DEPEND="virtual/pkgconfig + test? ( dev-libs/check )" + +PATCHES=( + "${FILESDIR}"/${P}-gnulib-cygwin-sys_select.patch + "${FILESDIR}"/${P}-gnulib-darwin-program_name.patch +) diff --git a/dev-libs/libpipeline/libpipeline-1.4.2.ebuild b/dev-libs/libpipeline/libpipeline-1.4.2.ebuild new file mode 100644 index 000000000000..f20ee35aaa85 --- /dev/null +++ b/dev-libs/libpipeline/libpipeline-1.4.2.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit autotools-utils + +DESCRIPTION="a pipeline manipulation library" +HOMEPAGE="http://libpipeline.nongnu.org/" +SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +IUSE="static-libs test" + +DEPEND="virtual/pkgconfig + test? ( dev-libs/check )" + +PATCHES=( + "${FILESDIR}"/${PN}-1.4.1-gnulib-cygwin-sys_select.patch + "${FILESDIR}"/${PN}-1.4.1-gnulib-darwin-program_name.patch +) diff --git a/dev-libs/libpipeline/metadata.xml b/dev-libs/libpipeline/metadata.xml new file mode 100644 index 000000000000..56c124413057 --- /dev/null +++ b/dev-libs/libpipeline/metadata.xml @@ -0,0 +1,8 @@ + + + + + base-system@gentoo.org + Gentoo Base System + + diff --git a/dev-libs/libplatform/Manifest b/dev-libs/libplatform/Manifest new file mode 100644 index 000000000000..8633aaedb387 --- /dev/null +++ b/dev-libs/libplatform/Manifest @@ -0,0 +1,7 @@ +AUX libplatform-2.0.1-arch-specific-libdirs.patch 1231 SHA256 e378a7da02d964a75cd8cbd7e2f44b245a153584806385bb9ebe70fc85d29cf8 SHA512 79449a94cb1ac55279de6900b0d51e3098f7e74b213cd30b32417de30aa919c58ff2381c61a1f48cc431de43bca6d6c9323f43eacf2c63bf444b59d89f604e0e WHIRLPOOL 575ab9e78b2d4e1167b18ed2c2d7b576da5efdd6950334940809079769e3f7414f334ec8735f4d376cdad20a999f16778cd041aee364a61248d27925597b561f +DIST libplatform-2.0.1.tar.gz 74676 SHA256 e97e45273e90571aa37732cde913b262f5f519c387083645d2557d7189c054cf SHA512 ac397ffc741617be4371dc2a4b44cdddd07f2bdbd54e20e91a77e7d00b90b4d54f9aa5d2908c389638f548a7b6f9aa0a93bb10697eaecfc23117dee6f789f555 WHIRLPOOL 978775ff748797c4780f97f98c43f17044deab51929ad94a48c136df4bc0cc5269f0251a6fdd2099797760e222c4fdfe7870388077be799e370972df5f1b7597 +DIST libplatform-2.1.0.1.tar.gz 75257 SHA256 064f8d2c358895c7e0bea9ae956f8d46f3f057772cb97f2743a11d478a0f68a0 SHA512 76e6f1ac64b61e4def7d99965708d0f05698379e0f3e846317174f0bc12a9654b3341afc84bd8a3a70f101ecab6c692dea96b57d7e000dfabf6cedee2b8dcd8a WHIRLPOOL 6970b4998c3b1a50746d3b1cdf143c4fcc51c99dbc0855a8f36443e443f18f41eee81001332f1ecc0f8cdad1a6311ed186df3cb65ca553e563993d21b40a9010 +EBUILD libplatform-2.0.1.ebuild 594 SHA256 08df5e469fe02152e74f6f66fca7604ee7f4c5cfeed0a9c9398bdbbf5edce35d SHA512 8f9f2577bac435fddce66c3163634be3035fa6c6f8588c8007162a4370b24ee5ddff18dd402dbcb58f0b0f4234acb71a2af8c73e82736e488e2712b66e86b23f WHIRLPOOL 9a09da8946d8dfb0c97f1335bfa8c72b9512651a0ead013ba4c58e09c6b08a41730bbb6d13e77769629017697ed4c736eb4916c22786819e4b07ec38fdae0a46 +EBUILD libplatform-2.1.0.1.ebuild 536 SHA256 9fe7b9b533bc6bb6230026802e10a462ff2cfbafd5a7db5c28ff9b9b701e09bb SHA512 f83ac1fff7329908485ad594a0174c790e0bca246fd741ac9cf8cf1035b7be7a6cd950275ec3db6079020211bcf89940656efa5ef7181890109995a65f63f556 WHIRLPOOL bf8eb4739f5d7adca176b8034604cde24efec2ceba1ad869d295bb2f8e6f57ea5f94f7e579ba5ca3bce792a55f3199c6e0159f304f245b961680e90661a28a6a +MISC ChangeLog 1893 SHA256 ceb7eb2a083a56494e219c85852fc475b519bf8b1f40dd20378acae358e1ed85 SHA512 2c6aaa8e14453016ec214a274be87e3a574fcfe39477e002302e0d37465aa0e0d5ab96e5d833d0c6ba206c0f0c29f8d431032aebda1340d0d08fa9a809ef6d02 WHIRLPOOL 2640584eb16e98bbeb6a2fb3cb6091328c7273adb33e697c2f19d6794cf714a6cdbedb214d6682a47ff4d9a9037d06236b3804ee198922de460596a3c9f4c753 +MISC metadata.xml 341 SHA256 d497cdcabe65bfe32bdbca6a0cba85fb6fce3a86636f576d6cfe353c0ccd8cb4 SHA512 eec5401306206626e2f4cc37e587e1b4e5c69be08a62f877df58d25749f1fd12bb61a89bf9e68089e823876f9a125f8e613753df2d4bef3792526905af358951 WHIRLPOOL 6b81f7954e0c38e644517e05c8c0f6d576d4fd6d10487011be2ff2797c40d26212324042bbde023da5156605bff2e9fa593162d93bf7a71f5b7aafbceb2edbbe diff --git a/dev-libs/libplatform/files/libplatform-2.0.1-arch-specific-libdirs.patch b/dev-libs/libplatform/files/libplatform-2.0.1-arch-specific-libdirs.patch new file mode 100644 index 000000000000..fce47f428cda --- /dev/null +++ b/dev-libs/libplatform/files/libplatform-2.0.1-arch-specific-libdirs.patch @@ -0,0 +1,31 @@ +From 21317bf0bb90f16d591aec580fe70d58cb43e65e Mon Sep 17 00:00:00 2001 +From: Balint Reczey +Date: Sun, 21 Feb 2016 23:06:28 +0100 +Subject: [PATCH] Install pkg-config and .cmake files in arch-specific libdirs + +They contain arch-specific strings thus they can't be in +architecture-independent dirs. This would prevent co-installing +i386 and amd64 versions for example, since the files would differ. +--- + CMakeLists.txt | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index a577410..6b5586f 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -74,12 +74,12 @@ install(FILES src/util/atomic.h + IF(NOT WIN32) + configure_file(p8-platform.pc.in p8-platform.pc @ONLY) + install(FILES ${CMAKE_BINARY_DIR}/p8-platform.pc +- DESTINATION ${CMAKE_INSTALL_LIBDIR_NOARCH}/pkgconfig) ++ DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig) + ENDIF(NOT WIN32) + + # config mode + configure_file (p8-platform-config.cmake.in + p8-platform-config.cmake @ONLY) + install(FILES ${CMAKE_BINARY_DIR}/p8-platform-config.cmake +- DESTINATION ${CMAKE_INSTALL_LIBDIR_NOARCH}/p8-platform) ++ DESTINATION ${CMAKE_INSTALL_LIBDIR}/p8-platform) + diff --git a/dev-libs/libplatform/libplatform-2.0.1.ebuild b/dev-libs/libplatform/libplatform-2.0.1.ebuild new file mode 100644 index 000000000000..28d490264b66 --- /dev/null +++ b/dev-libs/libplatform/libplatform-2.0.1.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils + +MY_PN="platform" +MY_PN_PREFIX="p8" + +DESCRIPTION="Platform support library used by libCEC and binary add-ons for Kodi" +HOMEPAGE="https://github.com/Pulse-Eight/platform" +SRC_URI="https://github.com/Pulse-Eight/${MY_PN}/archive/${MY_PN_PREFIX}-${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="amd64 ~arm x86" +IUSE="" + +PATCHES=( "${FILESDIR}/${P}-arch-specific-libdirs.patch" ) + +S="${WORKDIR}/${MY_PN}-${MY_PN_PREFIX}-${MY_PN}-${PV}" diff --git a/dev-libs/libplatform/libplatform-2.1.0.1.ebuild b/dev-libs/libplatform/libplatform-2.1.0.1.ebuild new file mode 100644 index 000000000000..27aff31ce461 --- /dev/null +++ b/dev-libs/libplatform/libplatform-2.1.0.1.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils + +MY_PN="platform" +MY_PN_PREFIX="p8" + +DESCRIPTION="Platform support library used by libCEC and binary add-ons for Kodi" +HOMEPAGE="https://github.com/Pulse-Eight/platform" +SRC_URI="https://github.com/Pulse-Eight/${MY_PN}/archive/${MY_PN_PREFIX}-${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" + +S="${WORKDIR}/${MY_PN}-${MY_PN_PREFIX}-${MY_PN}-${PV}" diff --git a/dev-libs/libplatform/metadata.xml b/dev-libs/libplatform/metadata.xml new file mode 100644 index 000000000000..34b4df1e068b --- /dev/null +++ b/dev-libs/libplatform/metadata.xml @@ -0,0 +1,11 @@ + + + + + thev00d00@gentoo.org + Ian Whyman + + + Pulse-Eight/platform + + diff --git a/dev-libs/libpo6/Manifest b/dev-libs/libpo6/Manifest new file mode 100644 index 000000000000..ef9845c7d83d --- /dev/null +++ b/dev-libs/libpo6/Manifest @@ -0,0 +1,9 @@ +DIST libpo6-0.6.0.tar.gz 117418 SHA256 6f494d54c0f033b61e1d5de847e6145043291e4e6c7ba0707801dc7158fcde8d SHA512 b944c496339bfcd92945c87dc2500e404beebdbea51d986333043564f88edc75b6d38f8fd2fdaadb0d51b88b0b1ebfd1d27728bce3764b6821bbc71c9fbdf8ab WHIRLPOOL 216ff4a7dd42f4b4b5429a92d6d0f77820c10f138c3744fd6e12badcb4330c95ff07862d32d6ae37440ec0f10342258c9f148ab541442f7d952ad11c177242ee +DIST libpo6-0.7.0.tar.gz 118321 SHA256 50896d17021d785b9cc6092bd2214db1d0d7c9997f523ea11447e516e35aa484 SHA512 622469adf38a22e8f7e1e6c5ce4507a073654169897a877f5319e2237764afd5ed3528bc8ab201fc4448e1d7b718e39ac527bcb4098b2cb458ef6ad778ad78e9 WHIRLPOOL 2e1b30b994b7e356d9be21e7dd7266b4704540d4625e49785ae1c890648e1fe0b57e5b00233e89130487b8e7227ba87eaa765109edd3130741e7c17ea8a8a8c0 +DIST libpo6-0.8.0.tar.gz 364709 SHA256 5aedaf96326fe76f6b71bcc7713a741fcdeb694a8c818ca240c74b61de4e4b0d SHA512 0fed5af37f47245ecdd84dd4dcc5d24dd84dacbd93cf1eb9b4b2e86fba6d26e7f459a9a274b0c42397fc5e22d48cb603ee2b809979cf48675710ba9221d8a3bf WHIRLPOOL b79b765a9435b292701ea52ba92b39c4994b4a15c6865fdaa0628ff995da70a0d2554914c5030ddbf6c0af152d080387ef5d6ed3b23a309ceb6ce6096cd3a098 +EBUILD libpo6-0.6.0.ebuild 320 SHA256 f4cf59bb71e964f08fa4660ec1876bc6d5abe637b6d9eb90b909acb68fa9a784 SHA512 6209fe644601c80c57a3bd643334882878985657f46fbe17ddddc22b8284e5c1afe38904b3d30e1e725d92ce258e617331b14eef02f2e98ff01e8d305f60f104 WHIRLPOOL 9c2eaab4fdeb30d7f973d03ef750fa8d4e1136854320ea812951c52b51f4154a6b741a5d5e87a209a1c621e64c6357c5f6374a1e0655955d627124ea6a600ee8 +EBUILD libpo6-0.7.0.ebuild 320 SHA256 f4cf59bb71e964f08fa4660ec1876bc6d5abe637b6d9eb90b909acb68fa9a784 SHA512 6209fe644601c80c57a3bd643334882878985657f46fbe17ddddc22b8284e5c1afe38904b3d30e1e725d92ce258e617331b14eef02f2e98ff01e8d305f60f104 WHIRLPOOL 9c2eaab4fdeb30d7f973d03ef750fa8d4e1136854320ea812951c52b51f4154a6b741a5d5e87a209a1c621e64c6357c5f6374a1e0655955d627124ea6a600ee8 +EBUILD libpo6-0.8.0.ebuild 320 SHA256 f4cf59bb71e964f08fa4660ec1876bc6d5abe637b6d9eb90b909acb68fa9a784 SHA512 6209fe644601c80c57a3bd643334882878985657f46fbe17ddddc22b8284e5c1afe38904b3d30e1e725d92ce258e617331b14eef02f2e98ff01e8d305f60f104 WHIRLPOOL 9c2eaab4fdeb30d7f973d03ef750fa8d4e1136854320ea812951c52b51f4154a6b741a5d5e87a209a1c621e64c6357c5f6374a1e0655955d627124ea6a600ee8 +MISC ChangeLog 2273 SHA256 0e11f5a6977e7e53d4813bd586bd6fb595e63c49c0b6d72a1636bc6bf297552d SHA512 425c2361b1620193fecc1ecf2586a9972666acc86ca70725800125ff8537c5e788187a7645b1f346f582c28c6fcfd548bb7092806cb95ce68e184e91248353a4 WHIRLPOOL 6d6e6ee3d315911d520eaf96544ba9d594f24f02952dfc535bdad619864e9cf89fc0a601385f9c99e6f7dd87963d28968206eee09edfb4dd4a15badf481f1911 +MISC ChangeLog-2015 1765 SHA256 4b86a36ea9e21c7f4338d0d665842e22ab6440407107044f1dcb7ecccbb11605 SHA512 c11241206878ffca88eb4d956a0014125766fc8c56cc6e58faafabe7ed2190a13ab4ed2ac4e75d04eca96fd7a7e1e66f94fd44130d6988e0e3ce4c4d1990c66d WHIRLPOOL b14a3fea34a59d1551aad57ad4dfd904cf9cbc00d285be129b7791d424f85f4c50e3055dce6da9f4dad355db7ea471dbd01592d324e61b50dba190ccbf9fc48d +MISC metadata.xml 247 SHA256 0deec0776f26fb762fdf7711f4589b14f52a2456436ef557eec62a2cf2fb2bb7 SHA512 29cf52c16b0cce69899d9c2da8acd9144b7d760442aa323b854dceadb42459e009545193b1df7911ac2241b59f4819b4a6bb1d206d6f57953f770031433bb6b7 WHIRLPOOL a135fa622e99d3dcdb432bc6b3c366076b3d86b4bfd9a76c852d781b8e9152541c7e7a2c7c6d6a3c4d2200dce792847a08166aaf7c17c22b6299dfe868234dec diff --git a/dev-libs/libpo6/libpo6-0.6.0.ebuild b/dev-libs/libpo6/libpo6-0.6.0.ebuild new file mode 100644 index 000000000000..138ee4223fc4 --- /dev/null +++ b/dev-libs/libpo6/libpo6-0.6.0.ebuild @@ -0,0 +1,16 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +EAPI=4 + +DESCRIPTION="Hyperdex libpo6 support library" + +HOMEPAGE="http://hyperdex.org" +SRC_URI="http://hyperdex.org/src/${P}.tar.gz" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND}" diff --git a/dev-libs/libpo6/libpo6-0.7.0.ebuild b/dev-libs/libpo6/libpo6-0.7.0.ebuild new file mode 100644 index 000000000000..138ee4223fc4 --- /dev/null +++ b/dev-libs/libpo6/libpo6-0.7.0.ebuild @@ -0,0 +1,16 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +EAPI=4 + +DESCRIPTION="Hyperdex libpo6 support library" + +HOMEPAGE="http://hyperdex.org" +SRC_URI="http://hyperdex.org/src/${P}.tar.gz" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND}" diff --git a/dev-libs/libpo6/libpo6-0.8.0.ebuild b/dev-libs/libpo6/libpo6-0.8.0.ebuild new file mode 100644 index 000000000000..138ee4223fc4 --- /dev/null +++ b/dev-libs/libpo6/libpo6-0.8.0.ebuild @@ -0,0 +1,16 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +EAPI=4 + +DESCRIPTION="Hyperdex libpo6 support library" + +HOMEPAGE="http://hyperdex.org" +SRC_URI="http://hyperdex.org/src/${P}.tar.gz" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND}" diff --git a/dev-libs/libpo6/metadata.xml b/dev-libs/libpo6/metadata.xml new file mode 100644 index 000000000000..40aa45df2b01 --- /dev/null +++ b/dev-libs/libpo6/metadata.xml @@ -0,0 +1,8 @@ + + + + + patrick@gentoo.org + Patrick Lauer + + diff --git a/dev-libs/libpqxx/Manifest b/dev-libs/libpqxx/Manifest new file mode 100644 index 000000000000..6235e1b1aeb5 --- /dev/null +++ b/dev-libs/libpqxx/Manifest @@ -0,0 +1,7 @@ +DIST libpqxx-4.0.1.tar.gz 1582532 SHA256 097ceda2797761ce517faa5bee186c883df1c407cb2aada613a16773afeedc38 SHA512 00204985097ef8bb0a3376d6ba541dbb471d7c52d7135f6244a9f4acbf6c8e5254d6f813e4411421e49bb56f4a520fc6ac67e300141d724396ce0ac11bd3a95e WHIRLPOOL d377863f9200e7ed235f8a2cf132b554efa4223d5f542eea23d743ffe391a13d44da767ee2f70146558e5b393ba334656c09007241c1aadde750c00c16e25c12 +DIST libpqxx-5.1.0.tar.gz 677998 SHA256 c94c8796e3e82f3dda8e8d39b767bc45e95e1cb6e32d03d7fbf71b3e3bd9edd5 SHA512 4e881bb509b36b6b48d18dddd0895ab6864ba0430630d3e1417036ff8ff0008b446467868f2672e0b49b46cc3a86c6a61a8a3e5c6b63e0bf422be3268d7f9702 WHIRLPOOL 270430f4428b9a4d61cf6c94b36de85c8c575c4712688542b771cdaa535f2147a458d859d66f08d3ef9b0f40bc68033dc90f1b5a8c925921707bad6eaebcb8eb +EBUILD libpqxx-4.0.1.ebuild 2332 SHA256 dd5f88b369254ff0cb18098d583b95d5f292ac5a2717fb20c1be0753605554d0 SHA512 6d01421a6f56b160e51297cb02d73f5c0ad5c197a5bda8491efee96c8c46fc1cc0d792a3b3f21d9898e3296eadd5511e3be7b9e8482598db8b28ddf443c33b0a WHIRLPOOL 8f108af57b6b471e919b0e483f7e06a3fcf92a3e33d83d6538e210bb5460644b0e1a7581a837456232f635e1c5ad58fd1f4037856b8d56e4c8b45dd7bff1269c +EBUILD libpqxx-5.1.0.ebuild 2187 SHA256 167edf0dd8fc94b44947b009182cb8457e1a7bd26d42957a00a63e76d24b62b0 SHA512 399b8ed2100dbef667be36a03df5f80793408ccdc33aeacbd44dcd41e413937676fc5e84535d4b5a0ddb426982f92d188095a953b92104e0c9b6df89d36e7c86 WHIRLPOOL 3baca3d637e2b4961541cc09fbcf068434f019bd929af0031450fc28678c809fe26add15b28f02780c6313da5bef29420f8ebd13c20a8824a1cc400d76d088cf +MISC ChangeLog 2427 SHA256 3335935181d409382729ee63cd798d4d64ac24cdd9c2bb7060808113f2201e82 SHA512 c5a87b70301db4c6a0b46000b0956c9af0857e45a16e5c11000795b86678883c317ffa077dfa0eca5f9403ab94b149a3e74b2ca122af175c6a76735f2f243a6f WHIRLPOOL d9ba12fe3e3a585d5fbf36ed16e6c462ccb8ca45382528ce031c4bd0adf2f0a4f7a7db741a1e03cf55b417bc4ea219cea4aabb94f712dc738d1671c89194fefe +MISC ChangeLog-2015 13261 SHA256 d0559c5fbc33f3dc5107ac36d639247c4d1722221c2d7a280ab8b9f048a4668e SHA512 d843fb320be54b91d5c484f455028ff1b8e73943a30ad702729c102aea23e47496252bf8e108dd19dca4e59c80dbc3a1423c141ba4093f29a5c77a88eac4b0a2 WHIRLPOOL d06e101d9b83fb9d50aa9c770a497bc61401279388d80aae988eebb92b63f97b3fd1d1c896bf8a37afe44d9026a577bdee1255da952be7d059ce0d74981f7c7d +MISC metadata.xml 600 SHA256 8299eedbffc51b08f23386b1838221ed8833af833a89097635d3f3e30294dbfd SHA512 f6aa353d914a8ed05dc52eeb948def410ac7165f20fe995b8594accc629c781a24ee827e4fd4bf82ec3a5977513cfc65c5e25888b5b67e78355bb73ca219843f WHIRLPOOL acfc1ec04fcf4c28ae6f45fecc8783ece7db10d0a20e869d19bacc2f66ac55e2828ced8840500ad4b2a4e721167131129486003e02314a424be5cf0a727d67e2 diff --git a/dev-libs/libpqxx/libpqxx-4.0.1.ebuild b/dev-libs/libpqxx/libpqxx-4.0.1.ebuild new file mode 100644 index 000000000000..1be9171fb27a --- /dev/null +++ b/dev-libs/libpqxx/libpqxx-4.0.1.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="4" + +PYTHON_COMPAT=( python2_7 ) +inherit python-any-r1 + +KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd" + +DESCRIPTION="Standard front end for writing C++ programs that use PostgreSQL" +SRC_URI="http://pqxx.org/download/software/${PN}/${P}.tar.gz" +HOMEPAGE="http://pqxx.org/development/libpqxx/" +LICENSE="BSD" +SLOT="0" +IUSE="doc static-libs" + +RDEPEND="dev-db/postgresql" +DEPEND="${PYTHON_DEPS} + ${RDEPEND} +" + +src_prepare() { + sed -e 's/python/python2/' \ + -i tools/{splitconfig,template2mak.py} \ + || die "Couldn't fix Python shebangs" +} + +src_configure() { + if use static-libs ; then + econf --enable-static + else + econf --enable-shared + fi +} + +src_install () { + emake DESTDIR="${D}" install + + dodoc AUTHORS ChangeLog NEWS README* + use doc && dohtml -r doc/html/* +} + +src_test() { + einfo "The tests need a running PostgreSQL server and an existing database." + einfo "Test requires PGDATABASE and PGUSER to be set at a minimum. Optionally," + einfo "set PGPORT and PGHOST. Define them at the command line or in:" + einfo " ${EROOT%/}/etc/libpqxx_test_env" + + if [[ -z $PGDATABASE || -z $PGUSER ]] ; then + if [[ -f ${EROOT%/}/etc/libpqxx_test_env ]] ; then + source "${EROOT%/}/etc/libpqxx_test_env" + [[ -n $PGDATABASE ]] && export PGDATABASE + [[ -n $PGHOST ]] && export PGHOST + [[ -n $PGPORT ]] && export PGPORT + [[ -n $PGUSER ]] && export PGUSER + fi + fi + + if [[ -n $PGDATABASE && -n $PGUSER ]] ; then + local server_version + server_version=$(psql -Aqtc 'SELECT version();' 2> /dev/null) + if [[ $? = 0 ]] ; then + # Currently works with highest server version in tree + #server_version=$(echo ${server_version} | cut -d " " -f 2 | cut -d "." -f -2 | tr -d .) + #if [[ $server_version < 92 ]] ; then + cd "${S}/test" + emake check + #else + # eerror "Server version must be 8.4.x or below." + # die "Server version isn't 8.4.x or below" + #fi + else + eerror "Is the server running?" + eerror "Verify role and database exist, and are permitted in pg_hba.conf for:" + eerror " Role: ${PGUSER}" + eerror " Database: ${PGDATABASE}" + die "Couldn't connect to server." + fi + else + eerror "PGDATABASE and PGUSER must be set to perform tests." + eerror "Skipping tests." + fi +} diff --git a/dev-libs/libpqxx/libpqxx-5.1.0.ebuild b/dev-libs/libpqxx/libpqxx-5.1.0.ebuild new file mode 100644 index 000000000000..83c831e8738d --- /dev/null +++ b/dev-libs/libpqxx/libpqxx-5.1.0.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +PYTHON_COMPAT=( python2_7 ) +inherit python-any-r1 + +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" + +DESCRIPTION="Standard front-end for writing C++ programs that use PostgreSQL" +SRC_URI="https://github.com/jtv/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" +HOMEPAGE="http://pqxx.org/development/libpqxx/" +LICENSE="BSD" +SLOT="0" +IUSE="doc static-libs" + +RDEPEND="dev-db/postgresql:=" +DEPEND="${RDEPEND} + ${PYTHON_DEPS} + doc? ( + app-doc/doxygen + app-text/xmlto + ) +" + +DOCS=( AUTHORS NEWS README{.md,-UPGRADE} ) + +src_prepare() { + default + + sed -e 's/python/python2/' \ + -i tools/{splitconfig,template2mak.py} \ + || die "Couldn't fix Python shebangs" +} + +src_configure() { + econf \ + --enable-shared \ + $(use_enable doc documentation) \ + $(use_enable static-libs static) +} + +src_test() { + einfo "The tests need a running PostgreSQL server and an existing database." + einfo "Test requires PGDATABASE and PGUSER to be set at a minimum. Optionally," + einfo "set PGPORT and PGHOST. Define them at the command line or in:" + einfo " ${EROOT%/}/etc/libpqxx_test_env" + + if [[ -z $PGDATABASE || -z $PGUSER ]] ; then + if [[ -f ${EROOT%/}/etc/libpqxx_test_env ]] ; then + source "${EROOT%/}/etc/libpqxx_test_env" + [[ -n $PGDATABASE ]] && export PGDATABASE + [[ -n $PGHOST ]] && export PGHOST + [[ -n $PGPORT ]] && export PGPORT + [[ -n $PGUSER ]] && export PGUSER + fi + fi + + if [[ -n $PGDATABASE && -n $PGUSER ]] ; then + local server_version + server_version=$(psql -Aqtc 'SELECT version();' 2> /dev/null) + if [[ $? = 0 ]] ; then + cd "${S}/test" || die + emake check + else + eerror "Is the server running?" + eerror "Verify role and database exist, and are permitted in pg_hba.conf for:" + eerror " Role: ${PGUSER}" + eerror " Database: ${PGDATABASE}" + die "Couldn't connect to server." + fi + else + eerror "PGDATABASE and PGUSER must be set to perform tests." + eerror "Skipping tests." + fi +} + +src_install () { + use doc && HTML_DOCS=( doc/html/. ) + default + + if ! use static-libs; then + find "${D}" -name '*.la' -delete || die + fi +} diff --git a/dev-libs/libpqxx/metadata.xml b/dev-libs/libpqxx/metadata.xml new file mode 100644 index 000000000000..87b73e3569a4 --- /dev/null +++ b/dev-libs/libpqxx/metadata.xml @@ -0,0 +1,15 @@ + + + + + pgsql-bugs@gentoo.org + PostgreSQL and Related Package Development + + + libpqxx is the official C++ client API for PostgreSQL. If you are + writing software in C++ that needs to access databases managed by + Postgres — on just about any platform — then libpqxx is the + library you use. Supersedes the now defunct libpq++ (AKA, libpqpp) + API. + + diff --git a/dev-libs/libprelude/Manifest b/dev-libs/libprelude/Manifest new file mode 100644 index 000000000000..844f9b60731c --- /dev/null +++ b/dev-libs/libprelude/Manifest @@ -0,0 +1,12 @@ +AUX libprelude-3.0.0-perl-hardening.patch 1019 SHA256 f3d55e32ca480c5b85e007a451eda2adb755ce7098b4c3e83b5fa4522b1b4796 SHA512 0e6b08eb4e3a00ad3f78afb0ea6360bb82cbc21a2a5f419629d865a0c5598450f6923327c160b15a2874c98bc313e185d5a1f0379b55366b50a2fe6dd15ab7cb WHIRLPOOL 59babef9dd247c52ac4adb62cae51c43082efd2a0f96529b26d17fed0aa7eb1d66b2c33857d5d8fa8a2d85d59ddbbce764474a90f9e5bb5721689b82a4b50d47 +AUX libprelude-3.0.0-ruby-configure.patch 619 SHA256 4122ba22f994bda1ea1b6d27dc00ebf04f9ee2a66c5a40f44f4b69b6c699cb5e SHA512 a268dd1ca72ff8295bc8cb9fd037c8bdfcdcacf68122cefdf17b056c8828770be205853aaf7a7ad18f0e6369bc325703583405f5372ed8c731f2591f1da5d09d WHIRLPOOL 498b04b61ef032140253785306de0448f1448f336ab07c91110ca868261d0db16bc5ae992d0a202ba6e53f3c44b040916152329afb9675f7c172671fc8503f2f +AUX libprelude-3.0.0-ruby-m4.patch 1539 SHA256 002e0939c0f73820ed19a809bb48f1e69ba45985f4c3a9155475e8fa3a2e3dca SHA512 cd98e208260e497b46a56a4ca0430f0650282de949259caedfb06ce1d348af52a630def53c39c812d08247c289e551e9b6f70d8da17fb9b9627fb773af4e55a2 WHIRLPOOL 3202f303bf566083176a78a7877f903051df118bc8ae1cb48455a98f7eb9be35e9fd8db00e1d2a6181fde2a5299ff5216f9500a19c0c5fbddf51e35583fa8dd5 +AUX libprelude-4.0.0-fix-python-bindings.patch 1136 SHA256 10d4d78693ef1bf066adc54a96ee3ac0477df5ad7f06e8f0298d6949a7916c57 SHA512 6990cd9e79d6e9e42c9f377f1c9a9f48920310aaf47d9bc731fc133c743256874a613ad5740eb4bc25825b341e313f79c8cfa1160a58e6eda228b9ca6bfef2b2 WHIRLPOOL 4d047d71498a59be94c5501aef1eb7228281cb50c5628214be5d73fa86d532af3a601f267fef1396cf573ddad8b9fc5ab1a5d77b15c4ba6cf134441028b27069 +DIST libprelude-3.0.0.tar.gz 2900153 SHA256 8dd1acdd49ec42b3c54642c33987c574ced43b92feb9a523998e07317434cec2 SHA512 a1fd51aa3bb1b68759a00dd1636cb96379f0e954a66f4e39887ab20a5b4c191a0455dd6bd5f41b20ad94d06fff59af7f89b258f42e1c0dd4cfc99185a77d1797 WHIRLPOOL 5ee5a90d0448c8079977dbf84a5c3650bc00aff8c6fe4355a7926313b2364824281d2fea898d92e80bc8b7cb17190c6f7e36b2c9de2ebc62f8b4411417541d58 +DIST libprelude-3.1.0.tar.gz 2949462 SHA256 b8fbaaa1f2536bd54a7f69fe905ac84d936435962c8fc9de67b2f2b375c7ac96 SHA512 f2878b19b4ba3cc74b0530f8741525ecf1425540d30356d182c4e0a797dbb5f4023792351bd059105dafc6b7818d4caa2e9c8b39be9a7039a89680244fcf1239 WHIRLPOOL 0507f1f90606b90159979180402c00a7a22f0b531f4df0b8606cdfce51dbd734578e2920564adc56d3675858dcd481f9a12106384e9244aa8dee569e63d0bb84 +DIST libprelude-4.0.0.tar.gz 2864402 SHA256 f339fb664b5e4e4c8d1a80d93c3f9356d90f9a2de51936f87d5aee9691e15fc0 SHA512 5d88e8f211b09cc3e43dbe299e935d8f11575ae3f1894059793966cd14a8e47177ef8963d45305e1a24f9efc4048520329b31681301a21815909bd38606c2ce7 WHIRLPOOL 76d1cdc8bacdae7cda43a78746bbae3a4d652cda24732c728d93b711645f3083cc6657480c13a6a410115e788619dd7698357415b78e297ef1c887baf2024ebb +EBUILD libprelude-3.0.0.ebuild 1795 SHA256 8fc57dbcc87fa67a836605aca001384c0b97f2a909ba2b3187b3596a5123a3b4 SHA512 779d27b26fe5edbc4e034b548d3c12ae4d909b662005f6f6faebd54bf3e0d864ce80ce5a8ad2a4eda921ca93bdf5c4505a962efbee5aefb3b2cf13dd12e44222 WHIRLPOOL 8dd8396dd2ac37342b15e2178dffc731383d0d3ae8d5c1d959e5d6ec11cafdd7e5927ddd07d035c72e365ceda8d42b50e7cbadcb89ef5f4ae5281044b5ab8874 +EBUILD libprelude-3.1.0-r1.ebuild 1630 SHA256 ecdf1c1579dc0da0532163bf3f61f096ded714d13050a33e526f9266cd0ec4e2 SHA512 08fc3969d512c9536e5cac828ebeea8ebffc0f7a7e22126c75c56b060344fe0a73ce4f6ee7cbc25916e8c53030f94e9bd2678f951d4a2086d62f3f6df3bb8551 WHIRLPOOL 19048bb4cf9ddae13f4365bce29c7fdbf3af94c729a8f34279ceed5a7c4f9c07854deacd8095fb8ef04c77a04a894a91c5867b2c23799d4272dfd5f1da455752 +EBUILD libprelude-4.0.0.ebuild 1843 SHA256 527f46823362fc6fea1a640ef012a11b48cfa15b5d6c002fc82c5bdfb2c47433 SHA512 4dca9697d94e6c527e27448c3224d9c4673e72132a9be442dae74116135fae487a037289a3540c0808978ae4a80f0a0c6830b39e9b01f0da3497a6b76b48f8eb WHIRLPOOL 81066838e10646c8b4a08fb8e64060a1e0ab3ed0206b09230a63c70cc58f86f85eca345e0a9effe880562fdb82228586e7104f1343aeecde53a8c0791728430e +MISC ChangeLog 858 SHA256 6d3779d46c7edf9b90bdcfebca1bc09de710c258d24cbbe6a9eff2c79f34a40e SHA512 6f7e7239ea1bf7abfd60f613e5293d65c89c251c1f9afc803ecbf3ae18b28db9171449597016850ad98026540e897d6cec8c1783cb9faa08018f5b6a718130d1 WHIRLPOOL 71344d65187622af881d7e2b96fbdf7ca2f7d8190972bc7ad995037899ab47d5088edd274595c93eae2162c9dd6b34da860f54a39e82b67e80f02b66538b4285 +MISC metadata.xml 871 SHA256 2f3bbb51ff0c52d4373497436a2d7490ea59b8fc28ce7932bc49fc56d8943f94 SHA512 bf4e35e6d51f1797b24c262a6cfd38ef1ce06e80b504afabb2f3f0aa7f069335e96562f3716b819abaa1bcb1f8f88bcb1a72a11047cd87fd4d62d7903b200cec WHIRLPOOL 2b13edb7607cb665fe3aa9617555a7c9a53247070b259a29f5d695cedb302b74552f90fd2ae79d09c606de239b37ec664be463ef7fe06e426e8661fb731ac663 diff --git a/dev-libs/libprelude/files/libprelude-3.0.0-perl-hardening.patch b/dev-libs/libprelude/files/libprelude-3.0.0-perl-hardening.patch new file mode 100644 index 000000000000..df77899c82fa --- /dev/null +++ b/dev-libs/libprelude/files/libprelude-3.0.0-perl-hardening.patch @@ -0,0 +1,14 @@ +When : when building perl bindings. Without this patch, it does not take care of LDFLAGS. +Why : It is required if you want to customize your own LDFLAGS, example : for hardening +Upstream : https://www.prelude-siem.org/issues/761 It should be added in the next version of Prelude. +--- a/bindings/perl/Makefile.PL.in ++++ b/bindings/perl/Makefile.PL.in +@@ -27,7 +27,7 @@ + my %attributs = (NAME => 'Prelude', + INC => '-I@top_builddir@ -I@top_builddir@/src/include -I@top_srcdir@/src/include -I@top_builddir@/src/libprelude-error -I@top_srcdir@/bindings/c++/include', + LIBS => ["-L@top_builddir@/src/.libs -lprelude -L@top_builddir@/bindings/c++/.libs -lpreludecpp", "-L$ENV{LIBDIR} -lprelude @LIBPRELUDE_LIBS@ @LIBADD_DL@ @LTLIBTHREAD@" ], +- LDDLFLAGS => "-L@top_builddir@/src/.libs $Config{lddlflags}"); ++ LDDLFLAGS => "-L@top_builddir@/src/.libs $Config{lddlflags} @LDFLAGS@,-rpath"); + + if ( abs_path("@top_srcdir@") ne abs_path("@top_builddir@") ) { + foreach my $filename ( qw/Prelude.cxx Prelude.pm/ ) { diff --git a/dev-libs/libprelude/files/libprelude-3.0.0-ruby-configure.patch b/dev-libs/libprelude/files/libprelude-3.0.0-ruby-configure.patch new file mode 100644 index 000000000000..fc09beace223 --- /dev/null +++ b/dev-libs/libprelude/files/libprelude-3.0.0-ruby-configure.patch @@ -0,0 +1,14 @@ +--- a/configure.in ++++ b/configure.in +@@ -525,9 +525,9 @@ + dnl * Ruby support * + dnl ************************************************** + +- +-AM_PATH_RUBY(,with_ruby=yes, with_ruby=no) ++AC_ARG_WITH(ruby, AC_HELP_STRING(--with-ruby@<:@=PATH@:>@, Enable support for ruby binding @<:@default=auto@:>@),,with_ruby=no) + if test x$with_ruby != xno; then ++ AM_PATH_RUBY(,with_ruby=yes, with_ruby=no) + RUBY_ARCHDIR=`$RUBY -e 'require "rbconfig.rb"; puts RbConfig::expand("\$(archdir)")'` + RUBY_LIBRUBYARG=`$RUBY -e 'require "rbconfig.rb"; puts RbConfig::expand("\$(LIBRUBYARG)")'` + diff --git a/dev-libs/libprelude/files/libprelude-3.0.0-ruby-m4.patch b/dev-libs/libprelude/files/libprelude-3.0.0-ruby-m4.patch new file mode 100644 index 000000000000..b02555afb65f --- /dev/null +++ b/dev-libs/libprelude/files/libprelude-3.0.0-ruby-m4.patch @@ -0,0 +1,20 @@ +When : when building ruby bindings, it can not find ruby versin so configure will never enable ruby support +Why : It is required if you want to use libprelude with ruby +Upstream : https://www.prelude-siem.org/issues/759 It should be added in the next version of Prelude. +--- a/m4/am_path_ruby.m4 ++++ b/m4/am_path_ruby.m4 +@@ -96,11 +96,11 @@ + dnl (shared libraries) + AC_CACHE_CHECK([for $am_display_RUBY extension module directory], + [am_cv_ruby_rbexecdir], +- [am_cv_ruby_rbexecdir=`$RUBY -rrbconfig -e "drive = File::PATH_SEPARATOR == ';' ? /\A\w:/ : /\A/; prefix = Regexp.new('\\A' + Regexp.quote(RbConfig::CONFIG[['prefix']])); \\$prefix = RbConfig::CONFIG[['prefix']].sub(drive, ''); \\$sitearchdir = RbConfig::CONFIG[['sitearchdir']].sub(prefix, '\\$(prefix)').sub(drive, ''); print \\$sitearchdir;" 2>/dev/null || echo "${RUBY_EXEC_PREFIX}/local/lib/site_ruby/${RUBY_VERSION}/${RUBY_PLATFORM}"`]) ++ [am_cv_ruby_rbexecdir=`$RUBY -r rbconfig -e "print RbConfig::CONFIG[['vendorarchdir']]"`]) + AC_SUBST([rbexecdir], [$am_cv_ruby_rbexecdir]) + +- RUBY_INCLUDES=`$RUBY -r rbconfig -e 'if RbConfig::CONFIG[["archdir"]] then print " -I" + RbConfig::CONFIG[["archdir"]] end +- if RbConfig::CONFIG[["rubyhdrdir"]] then print " -I" + RbConfig::CONFIG[["rubyhdrdir"]] end'` ++ RUBY_VER=`$RUBY -rrbconfig -e "print RbConfig::CONFIG[['ruby_pc']]" | sed 's/.pc//g'` ++ RUBY_INCLUDES=`pkg-config $RUBY_VER --cflags` + AC_SUBST([RUBY_INCLUDES]) + + dnl pkgrbexecdir -- $(rbexecdir)/$(PACKAGE) diff --git a/dev-libs/libprelude/files/libprelude-4.0.0-fix-python-bindings.patch b/dev-libs/libprelude/files/libprelude-4.0.0-fix-python-bindings.patch new file mode 100644 index 000000000000..7336b620045a --- /dev/null +++ b/dev-libs/libprelude/files/libprelude-4.0.0-fix-python-bindings.patch @@ -0,0 +1,38 @@ +--- a/bindings/python/Makefile.am 2017-07-17 12:03:05.653000000 +0200 ++++ b/bindings/python/Makefile.am 2017-09-06 18:51:57.179778549 +0200 +@@ -9,35 +9,6 @@ + all-am: python-build + + python-build: _prelude.cxx +-if HAVE_PYTHON2 +- CC="$(CXX)" $(PYTHON2) setup.py build +-endif +-if HAVE_PYTHON3 +- CC="$(CXX)" $(PYTHON3) setup.py build +-endif +-install-exec-hook: +-if HAVE_PYTHON2 +- $(PYTHON2) setup.py install `test -n "$(DESTDIR)" && echo --root $(DESTDIR)` --prefix @prefix@ +-endif +-if HAVE_PYTHON3 +- $(PYTHON3) setup.py install `test -n "$(DESTDIR)" && echo --root $(DESTDIR)` --prefix @prefix@ +-endif +- +-uninstall-hook: +-if HAVE_PYTHON2 +- $(PYTHON2) setup.py uninstall `test -n "$(DESTDIR)" && echo --root $(DESTDIR)` --prefix @prefix@ +-endif +-if HAVE_PYTHON3 +- $(PYTHON3) setup.py uninstall `test -n "$(DESTDIR)" && echo --root $(DESTDIR)` --prefix @prefix@ +-endif +- +-clean-local: +-if HAVE_PYTHON2 +- $(PYTHON2) setup.py clean -a +-endif +-if HAVE_PYTHON3 +- $(PYTHON3) setup.py clean -a +-endif + + _prelude.cxx prelude.py: $(top_srcdir)/bindings/c++/include/*.hxx $(top_srcdir)/bindings/libpreludecpp.i libpreludecpp-python.i + if HAVE_SWIG diff --git a/dev-libs/libprelude/libprelude-3.0.0.ebuild b/dev-libs/libprelude/libprelude-3.0.0.ebuild new file mode 100644 index 000000000000..36cfa15ead70 --- /dev/null +++ b/dev-libs/libprelude/libprelude-3.0.0.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_{4,5}} ) + +USE_RUBY="ruby21 ruby22" + +inherit autotools eutils python-r1 ruby-single + +DESCRIPTION="Prelude-SIEM Framework Library" +HOMEPAGE="https://www.prelude-siem.org" +SRC_URI="https://www.prelude-siem.org/pkg/src/3.0.0/${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc lua python ruby perl" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND="dev-libs/libgcrypt:0= + net-libs/gnutls + perl? ( dev-lang/perl virtual/perl-ExtUtils-MakeMaker ) + lua? ( dev-lang/lua:* ) + ruby? ( ${RUBY_DEPS} ) + python? ( ${PYTHON_DEPS} )" + +DEPEND="${RDEPEND} + doc? ( dev-util/gtk-doc ) + sys-devel/flex + virtual/yacc + >=dev-lang/swig-3.0.7 + virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}/${P}-perl-hardening.patch" + "${FILESDIR}/${P}-ruby-m4.patch" + "${FILESDIR}/${P}-ruby-configure.patch" +) + +src_prepare() { + default_src_prepare + + # Avoid null runpaths in Perl bindings. + sed -e 's/ LD_RUN_PATH=""//' -i "${S}/bindings/Makefile.am" || die "sed failed" + + mv "${S}/configure.in" "${S}/configure.ac" || die "mv failed" + + eautoreconf +} + +src_configure() { + local python2_configure=--without-python2 + local python3_configure=--without-python3 + + chk_python() { + if [[ ${EPYTHON} == python2* ]]; then + python2_configure=--with-python2 + elif [[ ${EPYTHON} == python3* ]]; then + python3_configure=--with-python3 + fi + } + + if use python; then + python_foreach_impl chk_python + fi + + econf \ + --enable-easy-bindings \ + --with-swig \ + $(use_with perl) \ + $(use_enable doc gtk-doc) \ + $(use_with lua) \ + $(use_with ruby) \ + ${python2_configure} \ + ${python3_configure} +} + +src_install() { + default_src_install + prune_libtool_files --modules +} diff --git a/dev-libs/libprelude/libprelude-3.1.0-r1.ebuild b/dev-libs/libprelude/libprelude-3.1.0-r1.ebuild new file mode 100644 index 000000000000..8b413ca441b9 --- /dev/null +++ b/dev-libs/libprelude/libprelude-3.1.0-r1.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_{4,5}} ) + +USE_RUBY="ruby21 ruby22" + +inherit autotools python-r1 ruby-single + +DESCRIPTION="Prelude-SIEM Framework Library" +HOMEPAGE="https://www.prelude-siem.org" +SRC_URI="https://www.prelude-siem.org/pkg/src/${PV}/${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc lua python ruby perl" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND="dev-libs/libgcrypt:0= + net-libs/gnutls:= + perl? ( dev-lang/perl:= virtual/perl-ExtUtils-MakeMaker ) + lua? ( dev-lang/lua:* ) + ruby? ( ${RUBY_DEPS} ) + python? ( ${PYTHON_DEPS} )" + +DEPEND="${RDEPEND} + doc? ( dev-util/gtk-doc ) + sys-devel/flex + virtual/yacc + >=dev-lang/swig-3.0.7 + virtual/pkgconfig" + +src_prepare() { + default + + # Avoid null runpaths in Perl bindings. + sed -e 's/ LD_RUN_PATH=""//' -i "${S}/bindings/Makefile.am" || die "sed failed" + + eautoreconf +} + +src_configure() { + local python2_configure=--without-python2 + local python3_configure=--without-python3 + + chk_python() { + if [[ ${EPYTHON} == python2* ]]; then + python2_configure=--with-python2 + elif [[ ${EPYTHON} == python3* ]]; then + python3_configure=--with-python3 + fi + } + + if use python; then + python_foreach_impl chk_python + fi + + econf \ + --enable-easy-bindings \ + --with-swig \ + $(use_with perl) \ + $(use_with perl perl-installdirs vendor) \ + $(use_enable doc gtk-doc) \ + $(use_with lua) \ + $(use_with ruby) \ + ${python2_configure} \ + ${python3_configure} +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die +} diff --git a/dev-libs/libprelude/libprelude-4.0.0.ebuild b/dev-libs/libprelude/libprelude-4.0.0.ebuild new file mode 100644 index 000000000000..1207e821b0d0 --- /dev/null +++ b/dev-libs/libprelude/libprelude-4.0.0.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python{2_7,3_{4,5,6}} ) +USE_RUBY="ruby21 ruby22 ruby23 ruby24" +DISTUTILS_OPTIONAL=1 + +inherit autotools distutils-r1 ruby-single + +DESCRIPTION="Prelude-SIEM Framework Library" +HOMEPAGE="https://www.prelude-siem.org" +SRC_URI="https://www.prelude-siem.org/pkg/src/${PV}/${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="lua perl python ruby" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND="net-libs/gnutls:= + lua? ( dev-lang/lua:* ) + perl? ( dev-lang/perl:= virtual/perl-ExtUtils-MakeMaker ) + python? ( ${PYTHON_DEPS} ) + ruby? ( ${RUBY_DEPS} )" + +DEPEND="${RDEPEND} + >=dev-lang/swig-3.0.7 + dev-util/gtk-doc-am + sys-devel/flex + virtual/pkgconfig + virtual/yacc" + +PATCHES=( + "${FILESDIR}/${P}-fix-python-bindings.patch" +) + +src_prepare() { + default + + # Avoid null runpaths in Perl bindings. + sed -e 's/ LD_RUN_PATH=""//' -i "${S}/bindings/Makefile.am" || die "sed failed" + + eautoreconf + + if use python; then + cd bindings/python || die + distutils-r1_src_prepare + fi +} + +src_configure() { + local myconf=( + --enable-easy-bindings + --with-swig + $(use_with lua) + $(use_with perl) + $(usex perl '--with-perl-installdirs=vendor' '') + $(use_with ruby) + ) + + if use python; then + python_setup + if python_is_python3; then + myconf+=(--without-python2 --with-python3="${EPYTHON}") + else + myconf+=(--without-python3 --with-python2="${EPYTHON}") + fi + else + myconf+=(--without-python2 --without-python3) + fi + + econf "${myconf[@]}" +} + +src_compile() { + default + if use python; then + cd bindings/python || die + distutils-r1_src_compile + fi +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die + if use python; then + cd bindings/python || die + distutils-r1_src_install + fi +} diff --git a/dev-libs/libprelude/metadata.xml b/dev-libs/libprelude/metadata.xml new file mode 100644 index 000000000000..1870d87272ec --- /dev/null +++ b/dev-libs/libprelude/metadata.xml @@ -0,0 +1,20 @@ + + + + + thomas.andrejak@gmail.com + Thomas Andrejak + + + proxy-maint@gentoo.org + Proxy Maintainers + + + Libprelude is a library that guarantees secure connections between all sensors + and the Prelude Manager. Libprelude provides an Application Programming Interface + (API) for the communication with Prelude sub-systems, it supplies the necessary + functionality for generating and emitting IDMEF events with Prelude and automates + the saving and re-transmission of data in times of temporary interruption of one + of the components of the system. + + diff --git a/dev-libs/libpreludedb/Manifest b/dev-libs/libpreludedb/Manifest new file mode 100644 index 000000000000..c57aab28e087 --- /dev/null +++ b/dev-libs/libpreludedb/Manifest @@ -0,0 +1,9 @@ +AUX libpreludedb-4.0.0-fix-python-bindings.patch 1075 SHA256 00f6bef9d5e77d66ed0067bd87bf6e16672fd2ee7a6d69c4f195ee9b22c831df SHA512 61309ae2d68aeeca5321fb2592f7d01e57b00b10ed04e63d1c011aa96115855087abd0fb4687f09d04b01b488dda840bef08cc9c1d0ec714064c1322f9589a2e WHIRLPOOL c8d47b1495d6fa4d61df5847a29fb2d312beb32fec4c556e9084a6b4754a447922a6f8ab90496cd56accd084a93a8182523bafb121e8187ff3dc17beaa395b26 +DIST libpreludedb-3.0.0.tar.gz 1269937 SHA256 608afa449388b2fcc25dc6aa2ad74ab2f22fd03ca3a0c0cdb2588d794f82d3ca SHA512 9d80e01be8cf028b8a843e68e45eeb84c561ff37e688fe5b8156e717f337b1db4d3de983f37a0544bf018238bec07580dce0c7208df005113efbba0aab34b981 WHIRLPOOL 1c700c34d05c5ba42fae40ff2597bf3f951bb49674eebfbb6ce80824bd59880f5a1402d786f00e4a5560da94c515968c11f9d84e67e88b1eedbfa02e364abd35 +DIST libpreludedb-3.1.0.tar.gz 1291186 SHA256 3ac2adade778941249fc87adcaebf39ef3acf17844632f690c66fb50dd48d857 SHA512 dcb98eff2521979c2956bdd6f3b661c346c0f6748ef820a75d77c948e426a996de26c7fc6b6c2abddc93277db3820eb2f44b61c87feb86483e720cf9b0e0124c WHIRLPOOL 85d0a79be0cd0f638368317ebb0020a60670a6fb1093868accfe3755bcf04988d2263775959732a32ae5b33e0169e95d215dc4af547780fc3bc1c0ad5054c3f0 +DIST libpreludedb-4.0.0.tar.gz 1325812 SHA256 be7f86a37517df05c6aaa9b9e8d1dce1c1f6ea3f8c6a46333b1fe72858d1aaf2 SHA512 13f5dbcfa6af965f2075d60c645ebb19cbd6b18807b26f4f13a7a05f1cf552996f9846e856728a4e1dc621efda693016e82623d4a3cbf74849b3e7114f19faca WHIRLPOOL 973b2d63b9f12f93f81c5fdd2a8847610442e43fb65544c0a80f82650ede3880bb1fc9d98d1c7ac00da05d6607d6abf8cc7b970395ae607fd55cc0789bfd6234 +EBUILD libpreludedb-3.0.0.ebuild 1572 SHA256 c6327bc9be94bb8334a6575e15d598beeb04cfe61b13003a4c977d74b490f45f SHA512 8b8b5dbf1b1a5aabaab7b1191f79353aa197254b39ae8517f5f9b230ea8b7f946ec29395e7d7b5429bc542aabbb4a7b61ac8a611823f49d6eab356f432e450d6 WHIRLPOOL b436b908e725aa304f98694b7527bc363bc4174d3d098a676b1459593a6e8695bf52613fff01bec10041f07ac95a743cc54e99fa2f02cdce704939c52162bf3a +EBUILD libpreludedb-3.1.0.ebuild 1496 SHA256 67ad207c18248142143818a472a13f0fad3b9c4fd66ebcfaea9ed91cd5cca68d SHA512 86eb7b065814b5a07e5908e57a2952ee82d61441dfd748afcff4d2c052c4353c4aae866e98520de84b76a63ee50e39f3bdb33e224d9456e48fe55f704b6842fa WHIRLPOOL 1f8e23f661b356afdde193d2e83aee877efb02c84d02853fc616389b9fcef885c3b2c63848f27aec6dfc2dfd8e8616d9fdf57ad1fbe3eec5f0f919a4001606e0 +EBUILD libpreludedb-4.0.0.ebuild 1741 SHA256 af6aa582c7a56d30102164833c95c75c6d204b547ffbefc6bde8841efbf54a5f SHA512 f3f59361adb1907fbef8ca5d88755d4ef85b02ee2a4e1f7712c5bf13b1d2f6dbcfa472eb73e06cc54db86348c482df2a641517752924382a639ff15abb246b68 WHIRLPOOL 897c57da63af523ef7a26867f5e8b4ad6e173d8fd36f7ad24c2ebe736953ad031c9ec5f4dbeff7cdb73e3d5b1c5fc4902f84563932965014fb9b180c3d7a255b +MISC ChangeLog 692 SHA256 0e89ed77e27be876763dcce98bf49666f51eb9f086a5745a50b1bbc8fc4d1841 SHA512 5c4076a7fa5f194400089cc8803ffef8b8e6d8d2d9487128fe4bad62b39880dc88502a586446cc581d2f0af0f01aad1dd61b2b622d85496ae48d266ea5c86051 WHIRLPOOL 746815a676872e12a7a6b121b857b2be97178c04e7f6beadc946ff31f6caf7f867640568c4994aaa567d9e4193324ee512b6a88b31f6faa34b51e6c6e7874a15 +MISC metadata.xml 740 SHA256 307fa2705b81718e0563860f90fad72087dae0172d6e7399da8b6ec70829224e SHA512 336a155dddb152697e44246184aaf0cfa928f1a3acd226c3f048aaeca81e96e1c5c7bceaee2bcc5e6ff731b59de1eadb02698e01c3e9443e6d9a37859da8e973 WHIRLPOOL c5b0b8fd02799af0459bba271e6743970b4a92e2b66fd906c2c9cc084b38f0904a9aed7a4cf0f7adbed1b10470ea99e4c5bd27196a8dc66be96882e89d2bd818 diff --git a/dev-libs/libpreludedb/files/libpreludedb-4.0.0-fix-python-bindings.patch b/dev-libs/libpreludedb/files/libpreludedb-4.0.0-fix-python-bindings.patch new file mode 100644 index 000000000000..7fb93c269ef2 --- /dev/null +++ b/dev-libs/libpreludedb/files/libpreludedb-4.0.0-fix-python-bindings.patch @@ -0,0 +1,39 @@ +--- a/bindings/python/Makefile.am 2017-07-18 12:27:27.278000000 +0200 ++++ b/bindings/python/Makefile.am 2017-09-07 23:41:21.279920258 +0200 +@@ -6,36 +6,6 @@ + all-am: python-build + + python-build: _preludedb.cxx +-if HAVE_PYTHON2 +- CC="$(CXX)" $(PYTHON2) setup.py build +-endif +-if HAVE_PYTHON3 +- CC="$(CXX)" $(PYTHON3) setup.py build +-endif +-install-exec-hook: +-if HAVE_PYTHON2 +- $(PYTHON2) setup.py install `test -n "$(DESTDIR)" && echo --root $(DESTDIR)` +-endif +-if HAVE_PYTHON3 +- $(PYTHON3) setup.py install `test -n "$(DESTDIR)" && echo --root $(DESTDIR)` +-endif +- +-uninstall-hook: +-if HAVE_PYTHON2 +- $(PYTHON2) setup.py uninstall `test -n "$(DESTDIR)" && echo --root $(DESTDIR)` +-endif +-if HAVE_PYTHON3 +- $(PYTHON3) setup.py uninstall `test -n "$(DESTDIR)" && echo --root $(DESTDIR)` +-endif +- +-clean-local: +-if HAVE_PYTHON2 +- $(PYTHON2) setup.py clean -a +-endif +-if HAVE_PYTHON3 +- $(PYTHON3) setup.py clean -a +-endif +- + + _preludedb.cxx preludedb.py: $(top_srcdir)/bindings/c++/include/*.hxx $(top_srcdir)/bindings/libpreludedbcpp.i libpreludedbcpp-python.i + if HAVE_SWIG diff --git a/dev-libs/libpreludedb/libpreludedb-3.0.0.ebuild b/dev-libs/libpreludedb/libpreludedb-3.0.0.ebuild new file mode 100644 index 000000000000..a42260295921 --- /dev/null +++ b/dev-libs/libpreludedb/libpreludedb-3.0.0.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_{4,5}} ) + +inherit autotools eutils python-r1 + +DESCRIPTION="Framework to easy access to the Prelude database" +HOMEPAGE="https://www.prelude-siem.org" +SRC_URI="https://www.prelude-siem.org/pkg/src/3.0.0/${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc python mysql postgres sqlite" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND="dev-libs/libgcrypt:0= + net-libs/gnutls + dev-libs/libprelude + python? ( ${PYTHON_DEPS} ) + mysql? ( virtual/libmysqlclient ) + postgres? ( dev-db/postgresql:* ) + sqlite? ( dev-db/sqlite:3 )" + +DEPEND="${RDEPEND} + doc? ( dev-util/gtk-doc ) + sys-devel/flex + virtual/yacc + >=dev-lang/swig-3.0.7 + virtual/pkgconfig" + +src_prepare() { + default_src_prepare + + mv "${S}/configure.in" "${S}/configure.ac" || die "mv failed" + + eautoreconf +} + +src_configure() { + local python2_configure=--without-python2 + local python3_configure=--without-python3 + + chk_python() { + if [[ ${EPYTHON} == python2* ]]; then + python2_configure=--with-python2 + elif [[ ${EPYTHON} == python3* ]]; then + python3_configure=--with-python3 + fi + } + + if use python; then + python_foreach_impl chk_python + fi + + econf \ + --enable-easy-bindings \ + --with-swig \ + $(use_enable doc gtk-doc) \ + ${python2_configure} \ + ${python3_configure} \ + $(use_with mysql) \ + $(use_with postgres postgresql) \ + $(use_with sqlite sqlite3) +} + +src_install() { + default_src_install + prune_libtool_files --modules +} diff --git a/dev-libs/libpreludedb/libpreludedb-3.1.0.ebuild b/dev-libs/libpreludedb/libpreludedb-3.1.0.ebuild new file mode 100644 index 000000000000..5e0f91c827eb --- /dev/null +++ b/dev-libs/libpreludedb/libpreludedb-3.1.0.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_{4,5}} ) + +inherit autotools python-r1 + +DESCRIPTION="Framework to easy access to the Prelude database" +HOMEPAGE="https://www.prelude-siem.org" +SRC_URI="https://www.prelude-siem.org/pkg/src/${PV}/${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc python mysql postgres sqlite" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND="dev-libs/libgcrypt:0= + net-libs/gnutls:= + ~dev-libs/libprelude-${PV} + python? ( ${PYTHON_DEPS} ) + mysql? ( virtual/libmysqlclient ) + postgres? ( dev-db/postgresql:* ) + sqlite? ( dev-db/sqlite:3 )" + +DEPEND="${RDEPEND} + doc? ( dev-util/gtk-doc ) + sys-devel/flex + virtual/yacc + >=dev-lang/swig-3.0.7 + virtual/pkgconfig" + +src_prepare() { + default + + eautoreconf +} + +src_configure() { + local python2_configure=--without-python2 + local python3_configure=--without-python3 + + chk_python() { + if [[ ${EPYTHON} == python2* ]]; then + python2_configure=--with-python2 + elif [[ ${EPYTHON} == python3* ]]; then + python3_configure=--with-python3 + fi + } + + if use python; then + python_foreach_impl chk_python + fi + + econf \ + --enable-easy-bindings \ + --with-swig \ + $(use_enable doc gtk-doc) \ + ${python2_configure} \ + ${python3_configure} \ + $(use_with mysql) \ + $(use_with postgres postgresql) \ + $(use_with sqlite sqlite3) +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die +} diff --git a/dev-libs/libpreludedb/libpreludedb-4.0.0.ebuild b/dev-libs/libpreludedb/libpreludedb-4.0.0.ebuild new file mode 100644 index 000000000000..2fb7ad0e091e --- /dev/null +++ b/dev-libs/libpreludedb/libpreludedb-4.0.0.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python{2_7,3_{4,5,6}} ) +USE_RUBY="ruby21 ruby22 ruby23 ruby24" +DISTUTILS_OPTIONAL=1 + +inherit autotools distutils-r1 ruby-single + +DESCRIPTION="Framework to easy access to the Prelude database" +HOMEPAGE="https://www.prelude-siem.org" +SRC_URI="https://www.prelude-siem.org/pkg/src/${PV}/${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="mysql postgres python sqlite" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND="~dev-libs/libprelude-${PV} + net-libs/gnutls:= + mysql? ( virtual/libmysqlclient ) + postgres? ( dev-db/postgresql:* ) + python? ( ${PYTHON_DEPS} ) + sqlite? ( dev-db/sqlite:3 )" + +DEPEND="${RDEPEND} + >=dev-lang/swig-3.0.7 + dev-util/gtk-doc-am + sys-devel/flex + virtual/pkgconfig + virtual/yacc" + +PATCHES=( + "${FILESDIR}/${P}-fix-python-bindings.patch" +) + +src_prepare() { + default + + eautoreconf + + if use python; then + cd bindings/python || die + distutils-r1_src_prepare + fi +} + +src_configure() { + local myconf=( + --enable-easy-bindings + --with-swig + $(use_with mysql) + $(use_with postgres postgresql) + $(use_with sqlite sqlite3) + ) + + if use python; then + python_setup + if python_is_python3; then + myconf+=(--without-python2 --with-python3="${EPYTHON}") + else + myconf+=(--without-python3 --with-python2="${EPYTHON}") + fi + else + myconf+=(--without-python2 --without-python3) + fi + + econf "${myconf[@]}" +} + +src_compile() { + default + if use python; then + cd bindings/python || die + distutils-r1_src_compile + fi +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die + if use python; then + cd bindings/python || die + distutils-r1_src_install + fi +} diff --git a/dev-libs/libpreludedb/metadata.xml b/dev-libs/libpreludedb/metadata.xml new file mode 100644 index 000000000000..c342084aa9be --- /dev/null +++ b/dev-libs/libpreludedb/metadata.xml @@ -0,0 +1,19 @@ + + + + + thomas.andrejak@gmail.com + Thomas Andrejak + + + proxy-maint@gentoo.org + Proxy Maintainers + + + The PreludeDB Library provides an abstraction layer upon the type and the + format of the database used to store IDMEF alerts. It allows developers + to use the Prelude IDMEF database easily and efficiently without + worrying about SQL, and to access the database independently of the + type/format of the database. + + diff --git a/dev-libs/libproccpuinfo/Manifest b/dev-libs/libproccpuinfo/Manifest new file mode 100644 index 000000000000..6628b4d2ed65 --- /dev/null +++ b/dev-libs/libproccpuinfo/Manifest @@ -0,0 +1,5 @@ +DIST libproccpuinfo-0.0.8.tar.bz2 54475 SHA256 c375024e6abfc21618b8f994b4f5e5d29d2c7a8aad3a5a5b4278ae42c5438cca SHA512 24c52551025d1ca349109e594861c74a5834ea4dc5c450bf6c03c3c73a4dbef176de4ffdd5cc2e8d4279ac14ebdf7045d31292a54730d52d81c1d7bece89f4ab WHIRLPOOL 76cadb31cdfe517962e637505eb176cd79a2c899b1cfabcb89d2df0305d4e6c84e0f76733f95dda3a2a9ffbea5bcbf9b025755de3224a68e81f828fc88d11a01 +EBUILD libproccpuinfo-0.0.8-r1.ebuild 655 SHA256 88d1b7d2f718429f746c58c88c09d425feb1c5a6494c35819421303da8e1c5a9 SHA512 dceaa82eccaebb5eacd129b395683a965642d154a397ac00565b879cbf1cb7fad9d6c8d0ba5584642d7d95e9cf907c8077d43fada7e08c86bcf824e62d4d1245 WHIRLPOOL 95f361c8974f1dfb6475c9a274f3c7338551c54f6bfe0a5831cc76c6f7b667ed51ee120ea1ea0070426c6f4d11d6c848965354d7183171fa19ce43f503795f9d +MISC ChangeLog 2543 SHA256 664464ad6f2c571284a85bc01f971d8dec2653488c3e74481d25c8719bd14f92 SHA512 25638e8a6c43405d79be6ef1e14f72e15ee9c919fe0db2ddc9e95068ffe0654f0c1bf61ce0606ca2f7d1f1189146a84c4cf41f27f8d84350f1710fb60da6190c WHIRLPOOL c221d1f533e34dc356171d474f4616c0c29616f298719f2dfeccb2e755577ec92caa55d0d82bdc4816573f9b5822afeb9d915cfdb01270003394b290e7c4d030 +MISC ChangeLog-2015 3676 SHA256 fa7e26fd396726e01fbb79a3ed4a015caff78afa071d37b0ecfc85b3decb709e SHA512 367bf29142ea462c653408c7b5aba524ddd0a4a4bcb819b2c906955cb61d0fc831c26a0a38c02ad77520845e30a26b3c5e7c7e7f847dfd12db2661c3e5ee58d9 WHIRLPOOL 3b8751ffa11bfedc9b9cb3a1421916a1480101321753152ce45cf937ceef8fb1cf77a3909c970081c2f5dc57805de69354189c73729259f861d9c99f0500b330 +MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968 diff --git a/dev-libs/libproccpuinfo/libproccpuinfo-0.0.8-r1.ebuild b/dev-libs/libproccpuinfo/libproccpuinfo-0.0.8-r1.ebuild new file mode 100644 index 000000000000..6ec4298a117e --- /dev/null +++ b/dev-libs/libproccpuinfo/libproccpuinfo-0.0.8-r1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils + +DESCRIPTION="Architecture independent C API for reading /proc/cpuinfo" +HOMEPAGE="https://savannah.nongnu.org/projects/proccpuinfo/" +SRC_URI="mirror://nongnu/proccpuinfo/${P}.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="alpha amd64 ~hppa ~mips x86" +IUSE="" + +DEPEND=">=sys-devel/flex-2.5.33" +RDEPEND="" + +DOCS=( AUTHORS ChangeLog HACKING README THANKS TODO ) + +CMAKE_IN_SOURCE_BUILD="yes" + +src_prepare() { + sed -i \ + -e "s#DESTINATION lib#DESTINATION $(get_libdir)#" \ + CMakeLists.txt || die + + cmake-utils_src_prepare +} diff --git a/dev-libs/libproccpuinfo/metadata.xml b/dev-libs/libproccpuinfo/metadata.xml new file mode 100644 index 000000000000..6f49eba8f496 --- /dev/null +++ b/dev-libs/libproccpuinfo/metadata.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/dev-libs/libpthread-stubs/Manifest b/dev-libs/libpthread-stubs/Manifest new file mode 100644 index 000000000000..67fe696c43a1 --- /dev/null +++ b/dev-libs/libpthread-stubs/Manifest @@ -0,0 +1,7 @@ +DIST libpthread-stubs-0.3.tar.bz2 203468 SHA256 35b6d54e3cc6f3ba28061da81af64b9a92b7b757319098172488a660e3d87299 SHA512 c7cf63fa82ce9e8c37c6dc3b8cc30f8883655f95683c4466c54b617b086dd26a43bfa36363e47dc5730af6d59ac70443d211eb01b07d276edd144030a3580b15 WHIRLPOOL 7bd4b77059b945525481870aa3929e18c7ec0bc04c4f342bc5e3b7ce9ae0d5b2d447dca6391da73014e0215dfe214141b391819243afceaba78a6454e8446ff6 +DIST libpthread-stubs-0.4.tar.bz2 57565 SHA256 e4d05911a3165d3b18321cc067fdd2f023f06436e391c6a28dff618a78d2e733 SHA512 0fec563f3833b84311b32cb13a4fd9832aeb0204c65b1541bf453d5d35693b2267c3cee656e00a4b8533b07a8f6320ca5c3672dcf8ab047cdac8628154c08954 WHIRLPOOL 230f6b83dce06fbe6d2bf66c66ae94b1e2a005f748e3069140abc1d9236d233d5031072b5596a5dc60a0da3d5ea5694dbbfcebdda8434d83048dc645624209a7 +EBUILD libpthread-stubs-0.3-r1.ebuild 541 SHA256 fdb269e014dd8e777cc870c1cd04d3f291ed989b80acc74d697f89797e1a427a SHA512 2567de66ec1503d60cecb7fea08855c8b46972e36faff3c44e99dac84fe3542a8ff9f9abab4323ba642a222fd9ed639c585feff737756e4daeb237f003af4bb0 WHIRLPOOL 7d0b4c176a810de9ce698fba4d3ca1bbc30be4ea55334fce32cf4fb7494df5d49fe30c556bb0bc6d033acbfb9d5a633f4ee6525b20b241d6945e55437204de73 +EBUILD libpthread-stubs-0.4.ebuild 546 SHA256 4542186b667ce874a91a2c992e42f272354efd60b272c33907935b7d9a2e81c5 SHA512 10a042f34f379133a69a8b6affc94f81f036027e280e03578e089c19f9f30caf674be77da78a350a50d7a1d5fe510e1db56cfbdb19cde8aa28da705c20427e18 WHIRLPOOL 6918d210a9dcc2dfead750ff7f367d3b8da59c49b85437b13f23dd46fd78238c6b74ccf14639c20f9394a4f9bdacb61bb71371bff0c752ca7de793a0f4ef7539 +MISC ChangeLog 3451 SHA256 b5b371261c7e3adfde71f3326f2c00460cba36b37fbe936de4c333a601fe63e0 SHA512 dbe1be65cd29ba65a6732dcf08c13f06d4c3e792e767aeb30dd8ae618dc74b724ecf6175458cd6436c410947e14dd6ea609acb5c9cdfe3ab8a208486458b6b1d WHIRLPOOL a831761510924adff6906594263ee5adee1b87293462fccf20163bb00155de9d377d9bd5470d2d7f845150b6b7de914c6ff06063c04f129737f30b246bddc3d7 +MISC ChangeLog-2015 4652 SHA256 e364c7f68f4124aae3ecdcbdfeb5ea4eb658693b363e4052c25e42b927f7ba67 SHA512 f7a4a855a2554b686bf673850458106be1ab603a925747d4e2c64ca8848a6cceff2daf052d1bced7cbf7f76e5bf19e0a45fd246c7f4f4662450557995ee60d57 WHIRLPOOL 4865fcdfb8ace448f473a714b03ec63be7358f4251a5f6e28936cdc61d9fef127b1fb8f7d717c39feac4d100856c6183cbeb4a5679230d1b1641abc28d0b41c5 +MISC metadata.xml 230 SHA256 677e4595d00a3098fde05ae33118b9ac05867dc5729c9cd579dc8badd1a28f68 SHA512 d7a2643abd1904cc5ff4d91cbb6f1baeb7f75fd1db542c5e14f19412f4f0bd4b903f8e703a7662ba7482c79dac5529057760b6427599d35e0842755fd946e057 WHIRLPOOL 4866c82c6428eae526c0a514c988e4119221f77b0e8bfb04fec713dd3ba516c69afc776a0c6f53c29abfd8507aa23801614db1ba544dd0a0dd4d6a9462c27306 diff --git a/dev-libs/libpthread-stubs/libpthread-stubs-0.3-r1.ebuild b/dev-libs/libpthread-stubs/libpthread-stubs-0.3-r1.ebuild new file mode 100644 index 000000000000..712a9d0fe14c --- /dev/null +++ b/dev-libs/libpthread-stubs/libpthread-stubs-0.3-r1.ebuild @@ -0,0 +1,16 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +XORG_MULTILIB=yes +inherit xorg-2 + +DESCRIPTION="Pthread functions stubs for platforms missing them" +SRC_URI="https://xcb.freedesktop.org/dist/${P}.tar.bz2" + +KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +RDEPEND="" +DEPEND="" diff --git a/dev-libs/libpthread-stubs/libpthread-stubs-0.4.ebuild b/dev-libs/libpthread-stubs/libpthread-stubs-0.4.ebuild new file mode 100644 index 000000000000..5371affb7092 --- /dev/null +++ b/dev-libs/libpthread-stubs/libpthread-stubs-0.4.ebuild @@ -0,0 +1,16 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +XORG_MULTILIB=yes +inherit xorg-2 + +DESCRIPTION="Pthread functions stubs for platforms missing them" +SRC_URI="https://xcb.freedesktop.org/dist/${P}.tar.bz2" + +KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +RDEPEND="" +DEPEND="" diff --git a/dev-libs/libpthread-stubs/metadata.xml b/dev-libs/libpthread-stubs/metadata.xml new file mode 100644 index 000000000000..e943b72b8a48 --- /dev/null +++ b/dev-libs/libpthread-stubs/metadata.xml @@ -0,0 +1,8 @@ + + + + + x11@gentoo.org + X11 + + diff --git a/dev-libs/libpwquality/Manifest b/dev-libs/libpwquality/Manifest new file mode 100644 index 000000000000..79b322092bd2 --- /dev/null +++ b/dev-libs/libpwquality/Manifest @@ -0,0 +1,7 @@ +DIST libpwquality-1.3.0.tar.bz2 423910 SHA256 74d2ea90e103323c1f2d6a6cc9617cdae6877573eddb31aaf31a40f354cc2d2a SHA512 c3817c7a5ca962b161911b97b413a0db7c34a99ba2cd191435024abdbe060e248c0f88436f24d3992dcb1b00d34b88afb731ef1fd23efc3ad1abe56d4d7d53ea WHIRLPOOL b6451083551a13be259d1a81eb089889d9ee430c30afb2555aa2e5e7c4240febc71b152ce3c210b592a56db8988fc88a827d8e9f368c5aa478d5babf4e316b8c +DIST libpwquality-1.4.0.tar.bz2 450384 SHA256 1de6ff046cf2172d265a2cb6f8da439d894f3e4e8157b056c515515232fade6b SHA512 b8049f8b71bbfd4d345dbd4c4cffd29e9029b0fca4c95527af54d11a3b06e4708236b630df6c66738368298679c96cb3bf26b1b5d95cb3c5f7e1073cab8a98d9 WHIRLPOOL 07a91601648f2e2404b3cc4f0d81e02e78ee12a012c2efa2843762c87f1d296fb4fe8368a6ff21adca30744eb26ec985a38f2dffa9a4f0fe3d34011e1e3c0d54 +EBUILD libpwquality-1.3.0.ebuild 1971 SHA256 761a4d62588fa180f0159a87bd812f91634bf70fd8f261d3e056a944960c68fd SHA512 c06e54adcfa58128cb98014a3df614955ed00c2939c21a11d56d3dc8e7644e64c10c88876d58397a4c3918690f372f1583120bc75063de733189bdebfba2c137 WHIRLPOOL 201cbbc1c4aa6a3386e35aff23db6351193f513cc8e9121899f0a041c4c8d872a7a522b7197cef1cb436d3fa5d1771623d8b7eb11ffa05b1621ae85ac56a8566 +EBUILD libpwquality-1.4.0.ebuild 1999 SHA256 f912af1973b06c513db25797f0364b3990c19f7bb5f7e822e67bc3d91f0028f6 SHA512 5f00de50f3528a5ed826334d8105ffe59a6944364fca26a71b2e0b314756ef6ee19540f47505a9ca45be6db390345a609b83ca83483b9e6f2fc8fde4cb34eab7 WHIRLPOOL b06f492500c4371410f58cf39b21a262697b9c99f03867c7870f37a66711c74be973e1d7d4d3a478c0c382a0b4bec6a60cdc299b8397519ad684afcf6810b3c3 +MISC ChangeLog 4723 SHA256 2bda022a2a80e8cd3b5a15d8a86b3cfeeab640dd9d13c0dd346dd51fd148edc8 SHA512 d7e2f0c4b22d51d2e3b80e4128e5d22b66c4001920e0b037320f2b46938635c093c20ffa7fe4f7a46652673ee5225fba281113f78e079a0302bcc6afd7319321 WHIRLPOOL 0a8f25226fbf128f854cb62181947fc343ec75f3e9e441a412523b2d27abc00737951333efb01f8659f38fe2329ac2906aff0498b650e1677dc928490bc94ee6 +MISC ChangeLog-2015 3628 SHA256 9c7c39f5e71e19e1aa493c55b92f262445339731c2b840f342b244b99759862d SHA512 e44ce68f5a0cf02e14ac09b5ac1960446b0eecc84e846fa0f6b45b73f147183588527a2f58d5da1b6300eebab929db1740e35889cc213b28c9f5bedf6b628d86 WHIRLPOOL e8c1a56d0a8882de25903db453ff8d90162a1797b46479ce494b6b97a9c73bba1a692484d4022db4e811f61079b96a5d69369e74ce1cecc01095595711abe538 +MISC metadata.xml 249 SHA256 4505b0bfeadff287958620b7dc7b7209699065a8f17139a237a5dd409a726a97 SHA512 c40662134899a5c9f0369a1017806f35adf3280a0b3c91726f7a8ca6012a073a8b471583f5bfb6fe95faac1dcf607e8e2e43f8c91d48ec46f4a8824e2f551506 WHIRLPOOL 333a938ee1d2124595596c572697bf5ebad523a92ba12005cfb12e6bb6270881a94a911f0cc9c1cf2bb571559e8271e07dfd307dabe50058236dbe7103562b92 diff --git a/dev-libs/libpwquality/libpwquality-1.3.0.ebuild b/dev-libs/libpwquality/libpwquality-1.3.0.ebuild new file mode 100644 index 000000000000..e467ed967f2d --- /dev/null +++ b/dev-libs/libpwquality/libpwquality-1.3.0.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) + +inherit eutils multilib pam python-r1 toolchain-funcs + +DESCRIPTION="Library for password quality checking and generating random passwords" +HOMEPAGE="https://fedorahosted.org/libpwquality/" +SRC_URI="https://fedorahosted.org/releases/l/i/${PN}/${P}.tar.bz2" + +LICENSE="|| ( BSD GPL-2 )" +SLOT="0" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sh sparc x86" +IUSE="pam python static-libs" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND=" + >=sys-libs/cracklib-2.8:= + pam? ( virtual/pam ) + python? ( ${PYTHON_DEPS} ) +" +DEPEND="${RDEPEND} + >=sys-devel/gettext-0.18.2 + virtual/pkgconfig +" + +src_prepare() { + default + # ensure pkgconfig files go in /usr + sed -e 's:\(pkgconfigdir *=\).*:\1 '${EPREFIX}/usr/$(get_libdir)'/pkgconfig:' \ + -i src/Makefile.{am,in} || die "sed failed" + use python && python_copy_sources +} + +src_configure() { + # Install library in /lib for pam + configuring() { + local sitedir + econf \ + --libdir="${EPREFIX}/$(get_libdir)" \ + $(use_enable pam) \ + --with-securedir="${EPREFIX}/$(getpam_mod_dir)" \ + $(use_enable python python-bindings) \ + $(usex python "--with-pythonsitedir=$(use python && python_get_sitedir)" "") \ + $(use_enable static-libs static) + } + if_use_python_python_foreach_impl configuring +} + +src_compile() { + if_use_python_python_foreach_impl default +} + +src_test() { + if_use_python_python_foreach_impl default +} + +src_install() { + if_use_python_python_foreach_impl default + if use static-libs; then + # Do not install static libs in /lib + mkdir -p "${ED}usr/$(get_libdir)" + mv "${ED}$(get_libdir)/libpwquality.a" "${ED}/usr/$(get_libdir)/" || die + gen_usr_ldscript libpwquality.so + fi + prune_libtool_files --modules +} + +if_use_python_python_foreach_impl() { + if use python; then + python_foreach_impl run_in_build_dir "$@" + else + "$@" + fi +} diff --git a/dev-libs/libpwquality/libpwquality-1.4.0.ebuild b/dev-libs/libpwquality/libpwquality-1.4.0.ebuild new file mode 100644 index 000000000000..6614ebe88bc4 --- /dev/null +++ b/dev-libs/libpwquality/libpwquality-1.4.0.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) + +inherit eutils multilib pam python-r1 toolchain-funcs + +DESCRIPTION="Library for password quality checking and generating random passwords" +HOMEPAGE="https://github.com/libpwquality/libpwquality" +SRC_URI="https://github.com/${PN}/${PN}/releases/download/${P}/${P}.tar.bz2" + +LICENSE="|| ( BSD GPL-2 )" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="pam python static-libs" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND=" + >=sys-libs/cracklib-2.8:= + pam? ( virtual/pam ) + python? ( ${PYTHON_DEPS} ) +" +DEPEND="${RDEPEND} + >=sys-devel/gettext-0.18.2 + virtual/pkgconfig +" + +src_prepare() { + default + # ensure pkgconfig files go in /usr + sed -e 's:\(pkgconfigdir *=\).*:\1 '${EPREFIX}/usr/$(get_libdir)'/pkgconfig:' \ + -i src/Makefile.{am,in} || die "sed failed" + use python && python_copy_sources +} + +src_configure() { + # Install library in /lib for pam + configuring() { + local sitedir + econf \ + --libdir="${EPREFIX}/$(get_libdir)" \ + $(use_enable pam) \ + --with-securedir="${EPREFIX}/$(getpam_mod_dir)" \ + $(use_enable python python-bindings) \ + $(usex python "--with-pythonsitedir=$(use python && python_get_sitedir)" "") \ + $(use_enable static-libs static) + } + if_use_python_python_foreach_impl configuring +} + +src_compile() { + if_use_python_python_foreach_impl default +} + +src_test() { + if_use_python_python_foreach_impl default +} + +src_install() { + if_use_python_python_foreach_impl default + if use static-libs; then + # Do not install static libs in /lib + mkdir -p "${ED}usr/$(get_libdir)" + mv "${ED}$(get_libdir)/libpwquality.a" "${ED}/usr/$(get_libdir)/" || die + gen_usr_ldscript libpwquality.so + fi + prune_libtool_files --modules +} + +if_use_python_python_foreach_impl() { + if use python; then + python_foreach_impl run_in_build_dir "$@" + else + "$@" + fi +} diff --git a/dev-libs/libpwquality/metadata.xml b/dev-libs/libpwquality/metadata.xml new file mode 100644 index 000000000000..39980802b1da --- /dev/null +++ b/dev-libs/libpwquality/metadata.xml @@ -0,0 +1,8 @@ + + + + + gnome@gentoo.org + Gentoo GNOME Desktop + + diff --git a/dev-libs/libqtxdg/Manifest b/dev-libs/libqtxdg/Manifest new file mode 100644 index 000000000000..f7cfdb135ed9 --- /dev/null +++ b/dev-libs/libqtxdg/Manifest @@ -0,0 +1,5 @@ +DIST libqtxdg-2.0.0.tar.xz 62404 SHA256 8c89ebaa3c0ee946f9048828e064c1c510c5639779a7688ed0b240307645dbcb SHA512 f4e32346eddedd31195093214a45e9831742ee886a14b5d7ba1d640a91e05473b9b8adc7bca9970090f1fa8187597cd10796c32ecea4ac02229e9869cd4f1db3 WHIRLPOOL d7b7a729e30774ccfb0cc0b6fed42b7a92cb16fa9e3c5d108bafe7385b1c141d31d843754be959e8a8c4e4432ffb475b23d8cdb15ff9f1f5d920fa55c6f0d1d0 +EBUILD libqtxdg-2.0.0.ebuild 866 SHA256 a837a2585cc3026fc274f0d0997bece15114049ca02e333be6eb0c51f07bc4d7 SHA512 ef8a0ced7633ac439873cb0d5259c9161ed1c2ee0fb2cd17ab24f1e89d8a30c61f970646976e1cb90edfb48961e5935a4e91244fa007ca004d2ea17a54bdcdab WHIRLPOOL 66b8901a685d69fc986d8955f946f19e8e49dc56c06dcf5594f28049a38ec19799f4bdd5afdb5c6525a0653212024bc093fd6040e00d32f9df4d46251ac6fd10 +MISC ChangeLog 3087 SHA256 3ec6b1dc68bfe103c37b8e7c347fd0d7b036d09632dff8ede93652f8c4281910 SHA512 b8552d16aafd5d432177605888e7be27f39739f542b0a86a1519c550f9019e548a4972f60fec9b03747acb01062edcd8d2e841998aeced330580ca6ab62c50e1 WHIRLPOOL fc676a8c826d4bdcd06d48dbc1611d9f0e81620e5378e445e598a2434fd391da3602488a4429d8f9759c6b87f0a6dde5dca099433ab14d763124998fc6788c6f +MISC ChangeLog-2015 1035 SHA256 42a0505c7f887a4f4970e2814993bd7dc7cfd1ee042b79a5a6c3bb94ec3a5cb2 SHA512 54cb31fcbb9ce0be3209bb0cad3af6fcdd7aed9330d23ab42ecc9d47d789e0b336a296cc2443e354136f5e985c86292c012ccf53d2fe7974824e7d0b470fc5d7 WHIRLPOOL d4dfff8808779ee723c76f02c413bea30c3320f42f70e76e45c2cee36aabe991bcddb3fe76b3b094842ad02d5c26ebc2926c3590b456666bceff73012435271d +MISC metadata.xml 354 SHA256 263a9d184c1cd0dab7e5f5281c5890677201e208242030b71feb0e472c197d40 SHA512 1c79d30acbeb7bb3b6ef14e7357029e1f1ec4dce23ff6e2ce851f2ea36e981b5606e8863027edc8211e90fa75c66c37c17d9df4f00fdcc333955568de6a986ad WHIRLPOOL 03627f7f8e0d23694d6de63998118d9adb9f5a09dd8996758d789eb6ae58b9d42ffafce70171d27a5821a1df74aba54949dbd54c1712fcd78f7065651315f3a4 diff --git a/dev-libs/libqtxdg/libqtxdg-2.0.0.ebuild b/dev-libs/libqtxdg/libqtxdg-2.0.0.ebuild new file mode 100644 index 000000000000..5cb17f5e15be --- /dev/null +++ b/dev-libs/libqtxdg/libqtxdg-2.0.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit cmake-utils virtualx + +DESCRIPTION="A Qt implementation of XDG standards" +HOMEPAGE="http://lxqt.org/" + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="git://git.lxde.org/git/lxde/${PN}.git" +else + SRC_URI="http://downloads.lxqt.org/${PN}/${PV}/${P}.tar.xz" + KEYWORDS="~amd64 ~arm ~arm64 ~x86" +fi + +LICENSE="LGPL-2.1" +SLOT="0" +IUSE="test" + +CDEPEND=" + dev-qt/qtcore:5 + dev-qt/qtdbus:5 + dev-qt/qtgui:5 + dev-qt/qtsvg:5 + dev-qt/qtwidgets:5 + dev-qt/qtxml:5 +" +DEPEND="${CDEPEND} + virtual/pkgconfig + test? ( dev-qt/qttest:5 ) +" +RDEPEND="${CDEPEND} + x11-misc/xdg-utils +" + +src_configure() { + local mycmakeargs=( + -DBUILD_TESTS=$(usex test) + ) + cmake-utils_src_configure +} + +src_test() { + VIRTUALX_COMMAND="cmake-utils_src_test" virtualmake +} diff --git a/dev-libs/libqtxdg/metadata.xml b/dev-libs/libqtxdg/metadata.xml new file mode 100644 index 000000000000..77812fec04f3 --- /dev/null +++ b/dev-libs/libqtxdg/metadata.xml @@ -0,0 +1,12 @@ + + + + + lxqt@gentoo.org + LXQt + + + qt@gentoo.org + Gentoo Qt Project + + diff --git a/dev-libs/libratbag/Manifest b/dev-libs/libratbag/Manifest new file mode 100644 index 000000000000..7fea2ed8c343 --- /dev/null +++ b/dev-libs/libratbag/Manifest @@ -0,0 +1,3 @@ +DIST libratbag-0.9.tar.gz 238225 SHA256 39b6f1ef54a77051709cca075cc3e6e49ec65f1a12ea6a16e435cb82a291897d SHA512 36215f534f9429c3b182f5502a2bbe16905492a634e327a845d65b638d7dd5ebb5c4eb1700a5196d6b5caac68e500603ced60c3c83f6d0c8e3c776e0161f657b WHIRLPOOL 67c41122237a6b3e3b5aa33da02858d366c21f50e1816297842aa1f74391431c8d4415ecd8b063d7da40d3189cd349f556c4c029693fbe3f1a96ad9c9e40f205 +EBUILD libratbag-0.9.ebuild 661 SHA256 c549c6bcf831dc967215d823b517d40d0b1342498ceb8eee18350ac03fe3404a SHA512 be103e071f062e48ff11496b4741f1069f5ff7bc5c89c1369639f098062f975eb42df26cc85081516a0160d6361e20f33a1f97f9497b05198bb0ce0e01dcbd6c WHIRLPOOL 1d754f8ea29dd9ba7676526649aca92022f67e2b5bbb1711e15fd5e8d27f52dedb13cd546a5abf3c66af2d3093a204032a4f96a60fbb775dc32992b0c172172c +MISC metadata.xml 345 SHA256 040358713fec7cf4fc7ed1f5e3036b4634473d50a16f36c765058d2bf559940d SHA512 417197edddcb1b15b7d82852676c9b20f2ee1c31a59668bb173ad75ea2cb56ac5a76a94187945673cb5ec772a4cb8d2ec6a584c60529eba7bc76d5d3a5859908 WHIRLPOOL c12c7c512efda93c6b7d8c8d51698880274830c0b4edba82145d27556bc73019ba14f0a4a23ff51e689c5ec52915cf18cfd97a6178d794ef83ed68a945a6e8fa diff --git a/dev-libs/libratbag/libratbag-0.9.ebuild b/dev-libs/libratbag/libratbag-0.9.ebuild new file mode 100644 index 000000000000..0430e0fe0a14 --- /dev/null +++ b/dev-libs/libratbag/libratbag-0.9.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit meson udev + +DESCRIPTION="Library to configure gaming mice" +HOMEPAGE="https://github.com/libratbag/libratbag" +SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc test" + +DEPEND=" + virtual/pkgconfig + doc? ( app-doc/doxygen ) +" +RDEPEND=" + dev-libs/libevdev + virtual/libudev +" + +src_configure() { + local emesonargs=( + -Denable-documentation=$(usex doc true false) + -Denable-tests=$(usex test true false) + -Dudev-dir=$(get_udevdir) + ) + meson_src_configure +} diff --git a/dev-libs/libratbag/metadata.xml b/dev-libs/libratbag/metadata.xml new file mode 100644 index 000000000000..6a272e5195d4 --- /dev/null +++ b/dev-libs/libratbag/metadata.xml @@ -0,0 +1,11 @@ + + + + + polynomial-c@gentoo.org + Lars Wendler + + + libratbag/libratbag + + diff --git a/dev-libs/librdkafka/Manifest b/dev-libs/librdkafka/Manifest new file mode 100644 index 000000000000..4ff22a5ccd41 --- /dev/null +++ b/dev-libs/librdkafka/Manifest @@ -0,0 +1,14 @@ +AUX librdkafka-0.9.2-remove-lz4-automagic.patch 1595 SHA256 5ecf5c399edb6879e6de4c9369f5a695754c6d8a5e64707860d3e747828813fb SHA512 5903f2961cfb3066722ade21c944342b0ffa0af06b065dd1350b77f65f38025e3357fca3dca3e8756c20fb7ea104f33a565f146615d4e5a0284ea83106581b9a WHIRLPOOL d48a4a6d9111034726033f815a55153db8fa5314c84d51c49f0cd6716bf3230520626cd74aa6bbc5c5c68e01883af82838d6b184c6bcb789f00d064fc89f015d +AUX librdkafka-0.9.3-remove-lz4-automagic.patch 1721 SHA256 dc0ed195d37aa83ecf827289ff4d630d12f607b2e53a246c41d6b89829d77ed8 SHA512 c2ee9e9c429ea3a5348b9f47b739e00ee8e526e2f809b67545b253a57d726a7ac92565511c726aa8a8a705ed2396d8b2cdba54484b8da33efc36659384ff4660 WHIRLPOOL 85c8d732ce801dc52150ec6fbae58c1470c06d5160b383b369758caabbcb2db1adc0ea7447245b8aef36f83c4bf4f334177cf3b3554e4e29c5276476aa588eab +DIST librdkafka-0.11.0.tar.gz 837546 SHA256 d4baf9a0d08767128913bb4e39d68995a95d7efa834fcf3e4f60c3156003b887 SHA512 1c41bd5bb9eb93b3bf743e8c4f14684609cb47b0c4fb95d303ddc7c62fdb678d9e6928fa6ea57c0aaa7695d08ab6e7ec84b699d7d61c7f750af0fe2cb148c596 WHIRLPOOL c237760c7ca80f7574954e7733beeaa01cdc694c25d8272ed14989749b7c417a678bb39da5bb82448c72774e64578bc34e142ac611d80e3a70d395649832475d +DIST librdkafka-0.9.2.tar.gz 620799 SHA256 c243b66956ebb196510ee0efda67825467e31b93639d5f24eb082b5d83f56824 SHA512 12a7da8de59de684da527ab969cd84dc8602741e9208941e1c7ad6dc69774bcbc3fbde0620d48c300372fa20b15aa826d309b71730119d82ec578e274c241152 WHIRLPOOL 7786443d9f365303ce0aad8278d83684999b23529e57fa08757fa38cce63f3944a3942475154bd613a0fb3e419c822a5651a00005eb77ed8f32f11689c11b924 +DIST librdkafka-0.9.3.tar.gz 637066 SHA256 745ead036f0d5b732e1cd035a1f31fc23665f2982bf9d799742034e0a1bd0be9 SHA512 5ec4c597eb7871c13feaaa96a76dc97c836f1fb5ae6c11d10675aee5577ad09d33e104af8fd497a8fbc7ee2c59434800d4cd857843f5c37460d4107ba0dc4e78 WHIRLPOOL fd6e57f34079fc0d808e35fee2d1ab736719b82f5c3f9b292e50bb522d8fea7e8b74adaf7ecfa1940e6eae2ca6f0c154593a99976261f4e11969f1596af450b1 +DIST librdkafka-0.9.4.tar.gz 696078 SHA256 5007ad20a6753f709803e72c5f2c09483dcbce0f16b94b17cf677fb3e6045907 SHA512 054897d90131ba7d91f66e2929f19224ae96feabe1be69e93a87ad05864f4893aa56456c3c15a303826f0c519eab09c5cd6e0b34d76ae68db6060aa80e9bc8de WHIRLPOOL 6c5cb2a3056f60493dd65ec7f81d71e335d44ef0cfa2c63a943ffa32752025add1691fb3c77902b3ee8706f822916ee32bc885f425eb44b62366b1c0bc983bcc +DIST librdkafka-0.9.5.tar.gz 753196 SHA256 dd395ffca89c9591e567366f3ad2517cee76578a10d0a16a93f990c33f553179 SHA512 06b2c7e3dd1c8a84322d256f2470804ba0ac205777cf66c0c98222d3f90ed26d6fcae375ee0343558ccf901d7a8d354009f377a435ecd0ce2d02c73848fbc8a4 WHIRLPOOL 12de4f3d2b2ad22777c09319e48b3de4d74073158ff47b6d2ab64b0ec4a1cecf5b5eb4de8c4db996bd42ec917a16015aa6369d2563072988bd4c2c8a0d660606 +EBUILD librdkafka-0.11.0.ebuild 1238 SHA256 0d86a6f9f2ad3cd1d184d62bfa136b5f6343559ae79743ed84ce418c22850ea5 SHA512 1a78a8e00cb86f6b4209023c296e406384948fa2a1c7230fc01b70b0f6fc5ce9e97e21ac626d9f0f9d5590bc51d8295fc2e4c9fab77b872efa0684f80b07f10f WHIRLPOOL 92740f1579438ecde1678448873a3ce1fffbb76774177bc3cbf01eb8436c893fd89cf7b00a54d15d83095fa8d93cc576409404dc00c033712765225bea016f00 +EBUILD librdkafka-0.9.2-r1.ebuild 1288 SHA256 08269c1f8631850b9e1139e646dd801a80983fb7594ba63299462483cce659a1 SHA512 1269fc2b6392ecea08d09299f9740e5f2a90b121fcbc1617e63beceffa16db5dae0c2a7a289c0c33ca112ef75087e5c991272967d687cfeb636215cd64494880 WHIRLPOOL 7c716b151d3b528af6f6d2db5807d63e4eb4af9d3e7f481a6e2f493e7de5bf4e8ed5c1314302c8d5b00f2b1cbff5e6f107a9f4f552fa7d79ac8685e6a5c08b2e +EBUILD librdkafka-0.9.3.ebuild 1292 SHA256 740ef186021899af956679e143e4a63a5c4411d894515474ee979388f7f2fb2e SHA512 a24bb014f1b8fdc8c946b618b0afbbb96a75b925e87d3cf85839c19013516da0a3b622a0373844a353c4022a9aa5b1c91428db0e8995a7d3d92b76934b1d8e86 WHIRLPOOL bc72d0d7981b239a7af15338a1f670d8de84e49a91cbcaac07b842dd6ac1cdc8f3f01d1f008c0b6a95e581112a138930eb31219c890d32ffef7f31425cea2863 +EBUILD librdkafka-0.9.4.ebuild 1226 SHA256 2bd04e5f9cb8e618ffe11bb54da9d30dc3f69b26e10a2dd4337a81de9c88aaa1 SHA512 195b6d8f752f432eecf25d53fa3adfa61ed0c89959a582037035adde522814a8d1e0c60b410542e82508fbda5fb0aca1af312779401f932da193fece7accd9f1 WHIRLPOOL 291b58b27aa083b659ad56d8138234e670556dc09f7b1a405c9a643e5fd9ee868fde9cddbaee5a276141a2897b92e2f38952089264b9c62976ae70a30feea795 +EBUILD librdkafka-0.9.5.ebuild 1236 SHA256 72fa428605350e74001213043adeca30acd68be9e8e6b516529878f0872aca33 SHA512 7fa31d153bde445de31e42d8bd38179c43c1167a7a66e5dde7478c990876593aafc67b0d325bad6dc9880bf594c4b020d4c812ff811067582f6bfda80bad44c0 WHIRLPOOL 223fed98917917dff20ab084b05b8321cbebfe952adfd2d26b399f31779e16feaafa98cd782b022742ec5df5571eda976f80fdf1d2e5383dfe46c0f965a64885 +MISC ChangeLog 2458 SHA256 65581041c7bc4b158519bd5c304bac2d907f8710befe42416210fbf51ecced83 SHA512 7cf6fed8ee096980c091e2263eb72d7020defb0c976ad95b234588f33e0b5c3350c6067a2843566323d3c667867bdb41625bc48900d61670142f79d2ef9963da WHIRLPOOL 3c33b604c4b6d64cb5c7626f968738c2122587b15277a2b420259ac307d84c4a9e7ac15db5f48e5947e83b0ad5af7d191f2ec2f14a46f9bb2ab5bc885a5f28c9 +MISC metadata.xml 533 SHA256 449103447a8235b3cca86f9f27d23e7827e11eac1517fc9b9dc5c2ef067edf99 SHA512 7f859dce01869e64712cb9042a1ab982255ec524334f2a1fbaf3f0e50fbc08bd3dd21e4bdf2ccef5b539aef94e0bfa2b7af95ef215cfddea4202608005934308 WHIRLPOOL 0078bd488cebfc646bc6dbc451d23894b131ed8651e93e7ef5077cc96e43477e77f4f5a7b59d62ea157d00d82f5e6650951c6f5b1c0ebd273f9d77dfa362d25b diff --git a/dev-libs/librdkafka/files/librdkafka-0.9.2-remove-lz4-automagic.patch b/dev-libs/librdkafka/files/librdkafka-0.9.2-remove-lz4-automagic.patch new file mode 100644 index 000000000000..bf22aed9a48b --- /dev/null +++ b/dev-libs/librdkafka/files/librdkafka-0.9.2-remove-lz4-automagic.patch @@ -0,0 +1,47 @@ +[PATCH] configure: Add option to disable automagic dependency on + liblz4 + +Backport of commit cbf5ea173a2e17310aa1adc4b1ee80fb8831901b. + +Previously, mklove activated lz4 support when lz4 was found. This added +a so called "automagic" dependency on liblz4 which is a problem from +distributions. + +This commit will add an option which will allow you to explicit disable +lz4 usage. +--- + configure.librdkafka | 11 +++++++---- + 1 file changed, 7 insertions(+), 4 deletions(-) + +diff --git a/configure.librdkafka b/configure.librdkafka +index 34acc17..71d9905 100644 +--- a/configure.librdkafka ++++ b/configure.librdkafka +@@ -30,6 +30,8 @@ mkl_toggle_option "Development" ENABLE_REFCNT_DEBUG "--enable-refcnt-debug" "Ena + + mkl_toggle_option "Development" ENABLE_SHAREDPTR_DEBUG "--enable-sharedptr-debug" "Enable sharedptr debugging" "n" + ++mkl_toggle_option "Feature" ENABLE_LZ4 "--enable-lz4" "Enable LZ4 support" "y" ++ + mkl_toggle_option "Feature" ENABLE_SSL "--enable-ssl" "Enable SSL support" "y" + mkl_toggle_option "Feature" ENABLE_SASL "--enable-sasl" "Enable SASL support" "y" + +@@ -42,10 +44,11 @@ function checks { + # optional libs + mkl_lib_check "zlib" "WITH_ZLIB" disable CC "-lz" + mkl_lib_check "libcrypto" "" disable CC "-lcrypto" +- mkl_lib_check "liblz4" "WITH_LZ4" disable CC "-llz4" \ +- " +-#include +-" ++ ++ if [[ "$ENABLE_LZ4" == "y" ]]; then ++ mkl_lib_check "liblz4" "WITH_LZ4" disable CC "-llz4" \ ++ "#include " ++ fi + + # Snappy support is built-in + mkl_allvar_set WITH_SNAPPY WITH_SNAPPY y +-- +2.11.0 + diff --git a/dev-libs/librdkafka/files/librdkafka-0.9.3-remove-lz4-automagic.patch b/dev-libs/librdkafka/files/librdkafka-0.9.3-remove-lz4-automagic.patch new file mode 100644 index 000000000000..2efe27fef26b --- /dev/null +++ b/dev-libs/librdkafka/files/librdkafka-0.9.3-remove-lz4-automagic.patch @@ -0,0 +1,46 @@ +From 7c64454f83f74dbe0dd33e3726906b20740e19a1 Mon Sep 17 00:00:00 2001 +From: Thomas Deutschmann +Date: Fri, 27 Jan 2017 13:56:23 +0100 +Subject: [PATCH] configure: Add option to disable automagic dependency on + liblz4 + +Previously, mklove activated lz4 support when lz4 was found. This added +a so called "automagic" dependency on liblz4 which is a problem from +distributions. + +This commit will add an option which will allow you to explicit disable +lz4 usage. +--- + configure.librdkafka | 9 +++++++-- + 1 file changed, 7 insertions(+), 2 deletions(-) + +diff --git a/configure.librdkafka b/configure.librdkafka +index cf47fea..71c29c7 100644 +--- a/configure.librdkafka ++++ b/configure.librdkafka +@@ -30,6 +30,8 @@ mkl_toggle_option "Development" ENABLE_REFCNT_DEBUG "--enable-refcnt-debug" "Ena + + mkl_toggle_option "Development" ENABLE_SHAREDPTR_DEBUG "--enable-sharedptr-debug" "Enable sharedptr debugging" "n" + ++mkl_toggle_option "Feature" ENABLE_LZ4 "--enable-lz4" "Enable LZ4 support" "y" ++ + mkl_toggle_option "Feature" ENABLE_SSL "--enable-ssl" "Enable SSL support" "y" + mkl_toggle_option "Feature" ENABLE_SASL "--enable-sasl" "Enable SASL support" "y" + +@@ -44,8 +46,11 @@ function checks { + mkl_lib_check "zlib" "WITH_ZLIB" disable CC "-lz" \ + "#include " + mkl_lib_check "libcrypto" "" disable CC "-lcrypto" +- mkl_lib_check "liblz4" "WITH_LZ4" disable CC "-llz4" \ +- "#include " ++ ++ if [[ "$ENABLE_LZ4" == "y" ]]; then ++ mkl_lib_check "liblz4" "WITH_LZ4" disable CC "-llz4" \ ++ "#include " ++ fi + + # Snappy support is built-in + mkl_allvar_set WITH_SNAPPY WITH_SNAPPY y +-- +2.11.0 + diff --git a/dev-libs/librdkafka/librdkafka-0.11.0.ebuild b/dev-libs/librdkafka/librdkafka-0.11.0.ebuild new file mode 100644 index 000000000000..8d6fd40533bf --- /dev/null +++ b/dev-libs/librdkafka/librdkafka-0.11.0.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit toolchain-funcs + +DESCRIPTION="Apache Kafka C/C++ client library" +HOMEPAGE="https://github.com/edenhill/librdkafka" + +if [[ ${PV} == "9999" ]]; then + EGIT_REPO_URI="https://github.com/edenhill/${PN}.git" + + inherit git-r3 +else + SRC_URI="https://github.com/edenhill/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~x86" +fi + +LICENSE="BSD-2" + +# subslot = soname version +SLOT="0/1" + +IUSE="lz4 sasl ssl static-libs" + +RDEPEND=" + lz4? ( app-arch/lz4:= ) + sasl? ( dev-libs/cyrus-sasl:= ) + ssl? ( dev-libs/openssl:0= ) + sys-libs/zlib +" + +DEPEND=" + ${RDEPEND} + virtual/pkgconfig +" + +src_configure() { + tc-export CC CXX LD NM OBJDUMP PKG_CONFIG STRIP + + local myeconf=( + --no-cache + --no-download + --disable-debug-symbols + $(use_enable lz4) + $(use_enable sasl) + $(usex static-libs '--enable-static' '') + $(use_enable ssl) + ) + + econf ${myeconf[@]} +} + +src_test() { + emake -C tests run_local +} + +src_install() { + local DOCS=( + README.md + CONFIGURATION.md + INTRODUCTION.md + ) + + default + + if ! use static-libs; then + find "${ED}"usr/lib* -name '*.la' -o -name '*.a' -delete || die + fi +} diff --git a/dev-libs/librdkafka/librdkafka-0.9.2-r1.ebuild b/dev-libs/librdkafka/librdkafka-0.9.2-r1.ebuild new file mode 100644 index 000000000000..46d5ad93d2ba --- /dev/null +++ b/dev-libs/librdkafka/librdkafka-0.9.2-r1.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit toolchain-funcs + +DESCRIPTION="Apache Kafka C/C++ client library" +HOMEPAGE="https://github.com/edenhill/librdkafka" + +if [[ ${PV} == "9999" ]]; then + EGIT_REPO_URI="https://github.com/edenhill/${PN}.git" + + inherit git-r3 +else + SRC_URI="https://github.com/edenhill/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="amd64 arm hppa x86" +fi + +LICENSE="BSD-2" + +# subslot = soname version +SLOT="0/1" + +IUSE="lz4 sasl ssl static-libs" + +RDEPEND=" + lz4? ( app-arch/lz4:= ) + sasl? ( dev-libs/cyrus-sasl:= ) + ssl? ( dev-libs/openssl:0= ) + sys-libs/zlib +" + +DEPEND=" + ${RDEPEND} + virtual/pkgconfig +" + +PATCHES=( "${FILESDIR}"/${PN}-0.9.2-remove-lz4-automagic.patch ) + +src_configure() { + tc-export CC CXX LD NM OBJDUMP PKG_CONFIG STRIP + + local myeconf=( + --no-cache + --no-download + --disable-debug-symbols + $(use_enable lz4) + $(use_enable sasl) + $(usex static-libs '--enable-static' '') + $(use_enable ssl) + ) + + econf ${myeconf[@]} +} + +src_test() { + emake -C tests run_local +} + +src_install() { + local DOCS=( + README.md + CONFIGURATION.md + INTRODUCTION.md + ) + + default + + if ! use static-libs; then + find "${ED}"usr/lib* -name '*.la' -o -name '*.a' -delete || die + fi +} diff --git a/dev-libs/librdkafka/librdkafka-0.9.3.ebuild b/dev-libs/librdkafka/librdkafka-0.9.3.ebuild new file mode 100644 index 000000000000..3fed5f0b4fef --- /dev/null +++ b/dev-libs/librdkafka/librdkafka-0.9.3.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit toolchain-funcs + +DESCRIPTION="Apache Kafka C/C++ client library" +HOMEPAGE="https://github.com/edenhill/librdkafka" + +if [[ ${PV} == "9999" ]]; then + EGIT_REPO_URI="https://github.com/edenhill/${PN}.git" + + inherit git-r3 +else + SRC_URI="https://github.com/edenhill/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~hppa ~x86" +fi + +LICENSE="BSD-2" + +# subslot = soname version +SLOT="0/1" + +IUSE="lz4 sasl ssl static-libs" + +RDEPEND=" + lz4? ( app-arch/lz4:= ) + sasl? ( dev-libs/cyrus-sasl:= ) + ssl? ( dev-libs/openssl:0= ) + sys-libs/zlib +" + +DEPEND=" + ${RDEPEND} + virtual/pkgconfig +" + +PATCHES=( "${FILESDIR}"/${PN}-0.9.3-remove-lz4-automagic.patch ) + +src_configure() { + tc-export CC CXX LD NM OBJDUMP PKG_CONFIG STRIP + + local myeconf=( + --no-cache + --no-download + --disable-debug-symbols + $(use_enable lz4) + $(use_enable sasl) + $(usex static-libs '--enable-static' '') + $(use_enable ssl) + ) + + econf ${myeconf[@]} +} + +src_test() { + emake -C tests run_local +} + +src_install() { + local DOCS=( + README.md + CONFIGURATION.md + INTRODUCTION.md + ) + + default + + if ! use static-libs; then + find "${ED}"usr/lib* -name '*.la' -o -name '*.a' -delete || die + fi +} diff --git a/dev-libs/librdkafka/librdkafka-0.9.4.ebuild b/dev-libs/librdkafka/librdkafka-0.9.4.ebuild new file mode 100644 index 000000000000..927d021a41a5 --- /dev/null +++ b/dev-libs/librdkafka/librdkafka-0.9.4.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit toolchain-funcs + +DESCRIPTION="Apache Kafka C/C++ client library" +HOMEPAGE="https://github.com/edenhill/librdkafka" + +if [[ ${PV} == "9999" ]]; then + EGIT_REPO_URI="https://github.com/edenhill/${PN}.git" + + inherit git-r3 +else + SRC_URI="https://github.com/edenhill/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~hppa ~x86" +fi + +LICENSE="BSD-2" + +# subslot = soname version +SLOT="0/1" + +IUSE="lz4 sasl ssl static-libs" + +RDEPEND=" + lz4? ( app-arch/lz4:= ) + sasl? ( dev-libs/cyrus-sasl:= ) + ssl? ( dev-libs/openssl:0= ) + sys-libs/zlib +" + +DEPEND=" + ${RDEPEND} + virtual/pkgconfig +" + +src_configure() { + tc-export CC CXX LD NM OBJDUMP PKG_CONFIG STRIP + + local myeconf=( + --no-cache + --no-download + --disable-debug-symbols + $(use_enable lz4) + $(use_enable sasl) + $(usex static-libs '--enable-static' '') + $(use_enable ssl) + ) + + econf ${myeconf[@]} +} + +src_test() { + emake -C tests run_local +} + +src_install() { + local DOCS=( + README.md + CONFIGURATION.md + INTRODUCTION.md + ) + + default + + if ! use static-libs; then + find "${ED}"usr/lib* -name '*.la' -o -name '*.a' -delete || die + fi +} diff --git a/dev-libs/librdkafka/librdkafka-0.9.5.ebuild b/dev-libs/librdkafka/librdkafka-0.9.5.ebuild new file mode 100644 index 000000000000..df4d436a30a3 --- /dev/null +++ b/dev-libs/librdkafka/librdkafka-0.9.5.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit toolchain-funcs + +DESCRIPTION="Apache Kafka C/C++ client library" +HOMEPAGE="https://github.com/edenhill/librdkafka" + +if [[ ${PV} == "9999" ]]; then + EGIT_REPO_URI="https://github.com/edenhill/${PN}.git" + + inherit git-r3 +else + SRC_URI="https://github.com/edenhill/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc x86" +fi + +LICENSE="BSD-2" + +# subslot = soname version +SLOT="0/1" + +IUSE="lz4 sasl ssl static-libs" + +RDEPEND=" + lz4? ( app-arch/lz4:= ) + sasl? ( dev-libs/cyrus-sasl:= ) + ssl? ( dev-libs/openssl:0= ) + sys-libs/zlib +" + +DEPEND=" + ${RDEPEND} + virtual/pkgconfig +" + +src_configure() { + tc-export CC CXX LD NM OBJDUMP PKG_CONFIG STRIP + + local myeconf=( + --no-cache + --no-download + --disable-debug-symbols + $(use_enable lz4) + $(use_enable sasl) + $(usex static-libs '--enable-static' '') + $(use_enable ssl) + ) + + econf ${myeconf[@]} +} + +src_test() { + emake -C tests run_local +} + +src_install() { + local DOCS=( + README.md + CONFIGURATION.md + INTRODUCTION.md + ) + + default + + if ! use static-libs; then + find "${ED}"usr/lib* -name '*.la' -o -name '*.a' -delete || die + fi +} diff --git a/dev-libs/librdkafka/metadata.xml b/dev-libs/librdkafka/metadata.xml new file mode 100644 index 000000000000..1d277adeaf22 --- /dev/null +++ b/dev-libs/librdkafka/metadata.xml @@ -0,0 +1,15 @@ + + + + + whissi@gentoo.org + Thomas Deutschmann + + + https://github.com/edenhill/librdkafka/issues + edenhill/librdkafka + + + Enable support for Kafka's LZ4 compression based on KIP-57 (uses app-arch/lz4) + + diff --git a/dev-libs/librelp/Manifest b/dev-libs/librelp/Manifest new file mode 100644 index 000000000000..828566b17c66 --- /dev/null +++ b/dev-libs/librelp/Manifest @@ -0,0 +1,9 @@ +DIST librelp-1.2.12.tar.gz 437945 SHA256 0355730524f7b20bed1b85697296b6ce57ac593ddc8dddcdca263da71dee7bd7 SHA512 bfc38882404e06c047bdabd203d71beba67bc5a717d2d6733863f15f0a3a09b4a792a628a1653c102c828fde7ff67cc8ade637de785399ab48a68605b23a72ed WHIRLPOOL 0d3193b3f0f21e940793df0f2c53bb46944c1fbfe4f7aee8b0ecbaead3053185f981a695eaae65d6ea1581ea4a8011e83e2ffff0436ab15bdd4f82b9a012f9a3 +DIST librelp-1.2.13.tar.gz 437877 SHA256 38df3ca7feba55850602bbefe3ac3c035e7666691d46b8bfbff1f1a4c774c0c7 SHA512 62d22998711ed82f30a1fce7c6b25dca514717c513d5833ce9ea6951d20f6922787213285be710c30fd28fd80d07ee9313f92cc7e09531ca8ac5e12627dbc868 WHIRLPOOL e420c237d1307b1e507385e005bcfde51183efe80bdcedaedfc6da22fcb55407dd47b696e602daa2f706418a9d49087dfa3628daf19147fbd5402ef7b37d8d72 +DIST librelp-1.2.14.tar.gz 437975 SHA256 11f6241a4336358a33bfdadd43ef299e8258db0a5243d0c164499c6b85ae5955 SHA512 b9a947edb7f23ba533f358d3271a61e80fcca7db8be0c20b39ec61ce4d913efed25173330a0604faebfbbdf33a051ed43234b2b41be2480dc3459c35b91acaae WHIRLPOOL e6c4cfb104f062fcb11a4beeff6ed0fbf8b38804838f365990735d2d7b52a1ce9750dc890d35ef300c951d54d30eb31b059c465f7a88b2df4cc31f9cfd377f5f +EBUILD librelp-1.2.12.ebuild 978 SHA256 5bbc24d190303f98a77ca3622c9385cfd59b4d58caa33310e450722a76d54f79 SHA512 935b4372194efd5f60d696b778c956ce42d5468919c050533fa98f9b9fc75f452fd16e77e569bec1639dd8d12a9edcd0f9a02c57df638af4c4594d7973111f7f WHIRLPOOL abbed22ff89491ae803d6209fb61bc0ef8623ce3b0501eb60e76b8f055bdb54abbbdabfe6dfa6e2da9b8bad0e5b60172fbea1fc486144f12a1b82527d49e87b7 +EBUILD librelp-1.2.13.ebuild 982 SHA256 c6bf5801e29b4c323e95eba055f1dfe7169db75681f2207f22fddc66135f9f89 SHA512 f96cc9a174a81897506970d74022515d0a57f0d0cab49597c8360fe60dc1082372fca5a18b20f19c06519e8ed66853e6860c471d8f0acba6a9969baee45aec6a WHIRLPOOL fa7db5a85063d8bf117a95dddaad6deaba18147ca326ced17065ffea76e02018841e1636a9444bcb8f2d00dd99c7ed2ce3b11fbdb5e383efaf3e90e8c6d6fa1a +EBUILD librelp-1.2.14.ebuild 983 SHA256 3214c721854e46c5a0ac8438aa1d26b5efb05e0dd0c8b638272eb341bb9b0923 SHA512 87c4c520f6636262f25fc83109212fe069d1482c6a64c334051cf27dc8c3283e58b9eb6c7d50028076245f2d49a4a71a7bb45c6e54cc51ba90cb12e41c7f04ce WHIRLPOOL 7c31f95172f5eb6779c7e829b87bed2d83560e1d76a7b92487a4eab6e80c7a4499cf014170adca9b4b32da8919701b315adbb2c2e64418f1966319bf8693f0ee +MISC ChangeLog 4984 SHA256 27c0e0fc1a11b3e6ef9ba1aa047daa687122bed9066fbb71080cd5d7c069b164 SHA512 787a97fd6b1182c2f5933aed6567f50af789e7f42fdba95e4003bbb3677c3811de774077e260ad1b8b15a196d16f633c541e6cb69518d20fbba6658d4216b9fc WHIRLPOOL 6601ade48f53a161792739a19f22834da1e30e38ae681a9aadd0a8966d63095f680fa7a4e29c843ffa4c2d247a85798299264ce3cba3224918d511d91b9ff952 +MISC ChangeLog-2015 4438 SHA256 016753b968f87df0427042a7ccad54bb194d03b2bce76d5f128ae1b5608630c8 SHA512 8ec2e42f180d0dd235270a9563d85d674dcf9229f9caad225b36c33b48174dbaa072a922b96e7fb8e64534e7e7fb7994e7cebb9f8f9cb5bfdf82991788a9703c WHIRLPOOL 6fc5bca3b586bc6baff83568761c88fcfffe38cf8438b7f0919e6c11a47b13242df87499cf7966dd4f1b1fc3eb5bd6e9d675b4046b5fc9ea4223c4566e80a496 +MISC metadata.xml 358 SHA256 a12a6df3a6be69b889d12fb36c83dcf99a18c3de76d66a4f945458ce0ea647f0 SHA512 8b0638c9c4d4c385dc14d8b3e0300791d181bd08c9476dfe5d881281b8b6d4e7bbd8501c06159602d38db4b037b24ad45615b29377cf5a8989ae850fff8f362d WHIRLPOOL 536188045f565e1c61038bcd1d13f405ff20d477a98865cb95d0f596f5b194daac5debda824bf73583c50de7cda63368093895d581cca1638d22755e85525c76 diff --git a/dev-libs/librelp/librelp-1.2.12.ebuild b/dev-libs/librelp/librelp-1.2.12.ebuild new file mode 100644 index 000000000000..23a107322d77 --- /dev/null +++ b/dev-libs/librelp/librelp-1.2.12.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools + +DESCRIPTION="An easy to use library for the RELP protocol" +HOMEPAGE="http://www.librelp.com/" +SRC_URI="http://download.rsyslog.com/${PN}/${P}.tar.gz" + +LICENSE="GPL-3+ doc? ( FDL-1.3 )" + +# subslot = soname version +SLOT="0/0.2.0" + +KEYWORDS="amd64 arm arm64 hppa ~sparc x86" +IUSE="debug doc +ssl static-libs" + +RDEPEND=" + ssl? ( >=net-libs/gnutls-3.3.17.1:0= ) +" + +DEPEND=" + ssl? ( >=net-libs/gnutls-3.3.17.1:0= ) + virtual/pkgconfig +" + +src_prepare() { + sed -i \ + -e 's/ -g"/"/g' \ + configure.ac || die "sed failed" + + default + + eautoreconf +} + +src_configure() { + local myeconfargs=( + $(use_enable debug) + $(use_enable ssl tls) + $(use_enable static-libs static) + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + local DOCS=( ChangeLog ) + use doc && local HTML_DOCS=( doc/relp.html ) + default + + find "${ED}"usr/lib* -name '*.la' -delete || die +} diff --git a/dev-libs/librelp/librelp-1.2.13.ebuild b/dev-libs/librelp/librelp-1.2.13.ebuild new file mode 100644 index 000000000000..c5a27631f89a --- /dev/null +++ b/dev-libs/librelp/librelp-1.2.13.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit autotools + +DESCRIPTION="An easy to use library for the RELP protocol" +HOMEPAGE="http://www.librelp.com/" +SRC_URI="http://download.rsyslog.com/${PN}/${P}.tar.gz" + +LICENSE="GPL-3+ doc? ( FDL-1.3 )" + +# subslot = soname version +SLOT="0/0.2.0" + +KEYWORDS="amd64 arm ~arm64 ~hppa ~sparc x86" +IUSE="debug doc +ssl static-libs" + +RDEPEND=" + ssl? ( >=net-libs/gnutls-3.3.17.1:0= ) +" + +DEPEND=" + ssl? ( >=net-libs/gnutls-3.3.17.1:0= ) + virtual/pkgconfig +" + +src_prepare() { + sed -i \ + -e 's/ -g"/"/g' \ + configure.ac || die "sed failed" + + default + + eautoreconf +} + +src_configure() { + local myeconfargs=( + $(use_enable debug) + $(use_enable ssl tls) + $(use_enable static-libs static) + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + local DOCS=( ChangeLog ) + use doc && local HTML_DOCS=( doc/relp.html ) + default + + find "${ED}"usr/lib* -name '*.la' -delete || die +} diff --git a/dev-libs/librelp/librelp-1.2.14.ebuild b/dev-libs/librelp/librelp-1.2.14.ebuild new file mode 100644 index 000000000000..eb0569e635f2 --- /dev/null +++ b/dev-libs/librelp/librelp-1.2.14.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit autotools + +DESCRIPTION="An easy to use library for the RELP protocol" +HOMEPAGE="http://www.librelp.com/" +SRC_URI="http://download.rsyslog.com/${PN}/${P}.tar.gz" + +LICENSE="GPL-3+ doc? ( FDL-1.3 )" + +# subslot = soname version +SLOT="0/0.3.0" + +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~sparc x86" +IUSE="debug doc +ssl static-libs" + +RDEPEND=" + ssl? ( >=net-libs/gnutls-3.3.17.1:0= ) +" + +DEPEND=" + ssl? ( >=net-libs/gnutls-3.3.17.1:0= ) + virtual/pkgconfig +" + +src_prepare() { + sed -i \ + -e 's/ -g"/"/g' \ + configure.ac || die "sed failed" + + default + + eautoreconf +} + +src_configure() { + local myeconfargs=( + $(use_enable debug) + $(use_enable ssl tls) + $(use_enable static-libs static) + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + local DOCS=( ChangeLog ) + use doc && local HTML_DOCS=( doc/relp.html ) + default + + find "${ED}"usr/lib* -name '*.la' -delete || die +} diff --git a/dev-libs/librelp/metadata.xml b/dev-libs/librelp/metadata.xml new file mode 100644 index 000000000000..4fca09fb7334 --- /dev/null +++ b/dev-libs/librelp/metadata.xml @@ -0,0 +1,12 @@ + + + + + whissi@gentoo.org + Thomas Deutschmann + + + dev-zero@gentoo.org + Tiziano Müller + + diff --git a/dev-libs/librep/Manifest b/dev-libs/librep/Manifest new file mode 100644 index 000000000000..1e2dda5761d5 --- /dev/null +++ b/dev-libs/librep/Manifest @@ -0,0 +1,7 @@ +AUX 50librep-gentoo.el 180 SHA256 ceacafb54b535167f7ec2208e2eebbe07961c919dcea492eb88b535687070148 SHA512 04a4da2e38ddf04bccd28002a46f13526249f31d2e25769056e1b763e3a22f75ffc2a906b68eef0ce04b1e6505acbf858f4d7f911258461e39419ebe4b098b71 WHIRLPOOL c45b1b600bf1caf70d6ccc7e369d2baf8be0be460f162d6d757cb101ef25420100a7622aefcd90dc6ba97e8c9066cdd5f1d365858cf250294e29763dd1b46af1 +AUX librep-0.92.0-disable-elisp.patch 838 SHA256 ee3dfd5691c33d1b5c0760d02cb550f38854656ea574a6e844740324de1dedad SHA512 cdbfe9f8f210869243e38e6ed4f2ea66cee4a1c626e7fcd8b9733870998e59e0a294c3cb9c491eefac8d6b89a8effc9068ea0dd9f2d2d6a86c9dc49dd838f126 WHIRLPOOL 0eb563fb37ca5144263f37f3db2cb617a7db090efcbb01cb792248dc7e3dce4c9fef4b541c16f79b30df3ea04044ee163e760c69a015cbc72cdd4bbc874ffd7a +DIST librep_0.92.6.tar.xz 472152 SHA256 fec152d0aca9afeb71aed40e7e5af27ca7bd13a41aa493532108f6ef2b04cccc SHA512 6e347e788922af9458e6eddfdaf7935b69df8f70b3f6deb11e6abd67596aec05e7dce7f41db1c84e478347d379ced10cfb34672a797c853913fd538a78a1f96d WHIRLPOOL 3b58a2e3ee23c1b6fdf8c393ad794c819c92e9c4cb82627d883fc3e903c9821ba08694ad0759cc353d824f0541c37e933a673f099ac4b6433196aa6b92d7c3d4 +EBUILD librep-0.92.6.ebuild 1496 SHA256 545ba70e377d76f0ef2609f6b55e0f940d5a8c96a8ff3659618d6f30a2d9d8bf SHA512 d608885996b4e13d3de2e96f2bc2194d411643e5e5c0f649c222450b46aa39df40fd1d7e5c712b3042e29e92c6297f07a908f842b9044320e804263e76a8541d WHIRLPOOL d9457adfc1b93975dd61d49d891071465988a79e1d93ad20f42303c48d1411b730583787c4d98fb11b54f6175ef9f31c3089006d4b8898a45a0e5825d29cf080 +MISC ChangeLog 3706 SHA256 49ba63445436bb10954f98c843555ed29a0d9caab8139487f32ff293a82e2559 SHA512 bd62767192e224c7f0f4b8d385b553646e308c102905b9d91fcff25ec9276f61066d451235e4fe77af2ef4fb6ba3d862b02dc417377dfdf570658c4e9efdf3a0 WHIRLPOOL 771902b991c289f1872474f54f41f39052a64e66c920075178e9436f07b2375dd886d1425e029572c28310b5f325ff3180889427250abc97490f14f99927a597 +MISC ChangeLog-2015 11151 SHA256 e297df1146a7063ce5f642549cf70dab591fd28970dfb691ca6b167a8dc6e78b SHA512 9c71bd5a32b6603a036daaed7eede73d807fab609c5a45d479636cf028df2b78c7cb6d5f29d805bbead6955cd4252f325336eb8eb97e8221ccf48cae7cc0e87c WHIRLPOOL 452066734819f19109fc35f451d492435e8216aa99201d20d70c673695ec0bd88664f335e85bfac6a76aef445c19981fccfb8142c413311d243c41bfb9204972 +MISC metadata.xml 243 SHA256 7ceddc336d9606b121c28d63f2f465292a22b531f06e94e1b0e599efbb5ffcd2 SHA512 6d786c0bd00b4cfc39b7705053bfda7169666513c7e7ca16f9fdcca5244b89f1e0024731214956e6cdcde8d241914c6f66b7dae153c4c48e5a41e44bd1b04411 WHIRLPOOL 91a92b9cd296c2a2ecd8dcbcc9f284cf3e71eba7ba5ac40625a95fcc3c0e6a330f5ed685c4afeb93c39ede7e5d2825d9e61fce9a299c511ae70b6717f8ab2620 diff --git a/dev-libs/librep/files/50librep-gentoo.el b/dev-libs/librep/files/50librep-gentoo.el new file mode 100644 index 000000000000..59025bbb9d0e --- /dev/null +++ b/dev-libs/librep/files/50librep-gentoo.el @@ -0,0 +1,6 @@ + +;;; librep site-lisp configuration + +(add-to-list 'load-path "@SITELISP@") +(autoload 'rep-debugger "rep-debugger" + "Run the rep debugger on program FILE in buffer *gud-FILE*." t) diff --git a/dev-libs/librep/files/librep-0.92.0-disable-elisp.patch b/dev-libs/librep/files/librep-0.92.0-disable-elisp.patch new file mode 100644 index 000000000000..03cec6f710b6 --- /dev/null +++ b/dev-libs/librep/files/librep-0.92.0-disable-elisp.patch @@ -0,0 +1,19 @@ +--- librep_0.92.5/Makefile.in.old 2011-07-25 14:08:18.000000000 +0200 ++++ librep_0.92.5/Makefile.in 2011-07-25 14:09:05.000000000 +0200 +@@ -53,15 +53,13 @@ + $(INSTALL_SCRIPT) libtool $(DESTDIR)$(repcommonexecdir) + $(INSTALL_DATA) rules.mk $(DESTDIR)$(repcommonexecdir) + $(INSTALL_SCRIPT) install-aliases $(DESTDIR)$(repcommonexecdir) +- $(INSTALL_DATA) rep-debugger.el $(DESTDIR)$(emacssitelispdir) + mkdir -p $(DESTDIR)$(libdir)/pkgconfig + $(INSTALL_DATA) $(top_srcdir)/librep.pc $(DESTDIR)$(libdir)/pkgconfig/ + + installdirs : mkinstalldirs + $(SHELL) $< $(DESTDIR)$(repdir) \ + $(DESTDIR)$(bindir) $(DESTDIR)$(aclocaldir) \ +- $(DESTDIR)$(repcommonexecdir) $(DESTDIR)$(repexecdir) \ +- $(DESTDIR)$(emacssitelispdir) ++ $(DESTDIR)$(repcommonexecdir) $(DESTDIR)$(repexecdir) + + uninstall : + -for dir in $(INSTALL_SUBDIRS); do \ diff --git a/dev-libs/librep/librep-0.92.6.ebuild b/dev-libs/librep/librep-0.92.6.ebuild new file mode 100644 index 000000000000..259b0e4cdbfa --- /dev/null +++ b/dev-libs/librep/librep-0.92.6.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools elisp-common eutils flag-o-matic + +DESCRIPTION="Shared library implementing a Lisp dialect" +HOMEPAGE="http://librep.sourceforge.net/" +SRC_URI="http://download.tuxfamily.org/librep/${PN}_${PV}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86 ~x86-fbsd" +IUSE="emacs readline" + +RDEPEND=" + >=sys-libs/gdbm-1.8.0 + emacs? ( virtual/emacs ) + readline? ( sys-libs/readline:0= ) +" +DEPEND="${RDEPEND} + sys-apps/texinfo + app-arch/xz-utils +" + +PATCHES=( + "${FILESDIR}/${PN}-0.92.0-disable-elisp.patch" +) + +S="${WORKDIR}/${PN}_${PV}" + +src_prepare() { + # fix #570072 by restoring pre-GCC5 inline semantics + append-cflags -std=gnu89 + default + + # The configure script is missing from this version. + eautoreconf +} + +src_configure() { + econf \ + --libexecdir=/usr/$(get_libdir) \ + --without-gmp \ + --without-ffi \ + --disable-static \ + $(use_with readline) +} + +src_compile() { + default + + if use emacs; then + elisp-compile rep-debugger.el || die "elisp-compile failed" + fi +} + +src_install() { + default + prune_libtool_files --modules + + dodoc doc/* + + if use emacs; then + elisp-install ${PN} rep-debugger.{el,elc} || die "elisp-install failed" + elisp-site-file-install "${FILESDIR}/50${PN}-gentoo.el" \ + || die "elisp-site-file-install failed" + fi +} + +pkg_postinst() { + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +} diff --git a/dev-libs/librep/metadata.xml b/dev-libs/librep/metadata.xml new file mode 100644 index 000000000000..c962fd87965c --- /dev/null +++ b/dev-libs/librep/metadata.xml @@ -0,0 +1,8 @@ + + + + + + librep + + diff --git a/dev-libs/libreport/Manifest b/dev-libs/libreport/Manifest new file mode 100644 index 000000000000..dca04475b551 --- /dev/null +++ b/dev-libs/libreport/Manifest @@ -0,0 +1,10 @@ +AUX libreport-2.0.13-automake-1.12.patch 2285 SHA256 b4c764e104cf76336661d96228786ce2d347ca6339e44c85a993c3c10fc0a215 SHA512 59a6f857604ab45c049030ab351cef28dc51b78aabd5575ff45abdd607d6b973020f32687666fd11a879e0ee18aca75650fa9e3fa2284a8e05c6b65216479b9f WHIRLPOOL 660303844f839d8d7f494d22f041d4543b502074603183801def34741f7a3e5fddb06a54d0b8372c49e508ca1076b1c81063e36c426134f0903efb642b17cb4c +AUX libreport-2.0.13-gentoo.patch 10369 SHA256 7dec2b0708121c5deb5e8036d9ef5ee20aebd9713ee191d701b27920a4ab0f49 SHA512 762e389c62efaeaad08a04871e5dec05aadc26fb9457291bf2308835128241068b2e799585060b3ce4f7bd17f275a4e5c7da37835d4e8940651ea5e5928402f0 WHIRLPOOL 0b253ba384ee40aa60c36564739101e328e326fcf5e3543644ed46b71a89fbb34d8567ce5892a162ba7b26f6bc780514601e6fc32f883f3276c7a1229529ac92 +AUX libreport-2.0.13-json-c-0.11-pc.patch 1780 SHA256 272e146d715c723097f2d09cba3b1d66f3de9fc78e0ca37a057b978293d6d67f SHA512 8eb64ac64b0bfb42dafda02c7c65c5becaf27d16233b941f0d0594a3fc0314b33b793b05e3bda07dc6225854d2dcb1cfeca1ae8bf5fa959a84fd01ac9179cdfa WHIRLPOOL 75daa7b98dad3963459fa9948c680051b4e06ab5006b06c58206ad75d75a10965b8d03c00223b734994027eac01c0d03a30f9f3e94a04a2bb8d38b78ee61ab34 +AUX libreport-2.0.13-json-c-0.11.patch 1145 SHA256 e47adb08f2c4d844e8ee824f33f6861331773308520e75714fe07b4e9f9126f2 SHA512 fd07c360d599d71fddb6766860203052fb390cde6cb795779e75a2d2a826affd6f03c6977eb99237caffdc41ac9f0e1c600a9414f72629ff5fc2102c70d8ca67 WHIRLPOOL 4b0dab98d5390443296d26c808fb095d45b7977b55073f69556905e4e60d6326b993ef3c031fd6d9b9fb28db40a35bcb765b348624cba04a1a6230ac578bdb2f +AUX libreport-2.0.7-uploader_event-syntax.patch 610 SHA256 b93e9e05396b70754fcacf7e7358ccfa4cc995fa3e1a3fbe598c540ae4f0c148 SHA512 b0ae2617a013fd8cb3475e5a51073677f2ea965a57169c760e542474351293e70f70e678a66beeb3b3fa163589aaf7f79f0883fa55ff524e62b5fcd3ae919bf0 WHIRLPOOL 9c0e00a502a216ce47c513f052e1a63b0d57910d8790d180978522f860d980f8f216cf5773830f9ba3b5fdbf8dd7e3f661e41e008398a8d6de5e525a2e95c8d3 +DIST libreport-2.0.13.tar.gz 1190147 SHA256 4a0609abe80b9432ae81c5a512680a7035b547cd1fef29c63c730d92c1be8b05 SHA512 cfe963db8091b245f8ceb7d8501466f4f9464c28d298faeafc9f6e57deafdfdc6501d468bf5ffd83703adb67bc1e05e06c56b5c0e0028bb2e0134788ddbb2181 WHIRLPOOL 647da27bf88cf77dbb25ace9f446dfe9a875370c27fef05999843dcee1f653ba07af44d4e5a36107dbf69f0241f1f66d3a6a58ae7897faca7b049d2b1aa00301 +EBUILD libreport-2.0.13-r1.ebuild 2166 SHA256 9b47d65f6113710d89f1963c8c09697e2b55ce2abefec652e296e44911423bde SHA512 ba7fe4dbef24205529dc647e868ac369963abfded775e6b39bf715ae8fea6f91a436b324d545601e0ea7224b939dce58e36e9d5417b7c034806fc360966c5d35 WHIRLPOOL 36f13717d477204bd54371e23adfb8df8ca8d61b88ad1643db2c1e832035692f6d4981a5bcfdc73148b2b7da978fac6dca9aac748b467a550a30f86e40bb4d81 +MISC ChangeLog 2675 SHA256 b699ca85878e190da860c56ad15585923458f1e71f8a4a6a798b2ecfd6807297 SHA512 b73842d8e2c102f7582e1358dbb3b6a08dfceb359e3763ad44d8db2fd9021444233ffa6b830f519dd0288a091f7795339e36744a3e35287bf04015efeeb1f209 WHIRLPOOL 2e0cc7f05c38cda8d87db9579889cc875a8e32513f787f568a24dff2fc550da91553e882bdb03b75f7037262b04e79e3ac86197c38dc4659b84f063b5cc60d17 +MISC ChangeLog-2015 4365 SHA256 76ea050ae6c482a22ed2767980cf53929c8f241928fc3b2975bc15c4f6ff21aa SHA512 dfedaf11aa3f1e1a3fcba44efdb2d9525925b17170a799889ab78a8e56b3ea36a89056a49dcda7d4f7b92b23cc07368597699f98e5ce4f381e54b607e9f92192 WHIRLPOOL aff2f919222da41935a0dc4718bef592bb9d51a484ad853f3dc7fe5b2ad1da89245b95d6f8d51db5f71d4898b29f6f47f11775e05c72f9a30d814bc699039b06 +MISC metadata.xml 249 SHA256 4505b0bfeadff287958620b7dc7b7209699065a8f17139a237a5dd409a726a97 SHA512 c40662134899a5c9f0369a1017806f35adf3280a0b3c91726f7a8ca6012a073a8b471583f5bfb6fe95faac1dcf607e8e2e43f8c91d48ec46f4a8824e2f551506 WHIRLPOOL 333a938ee1d2124595596c572697bf5ebad523a92ba12005cfb12e6bb6270881a94a911f0cc9c1cf2bb571559e8271e07dfd307dabe50058236dbe7103562b92 diff --git a/dev-libs/libreport/files/libreport-2.0.13-automake-1.12.patch b/dev-libs/libreport/files/libreport-2.0.13-automake-1.12.patch new file mode 100644 index 000000000000..4baaedd4d8eb --- /dev/null +++ b/dev-libs/libreport/files/libreport-2.0.13-automake-1.12.patch @@ -0,0 +1,80 @@ +From cb7d7fe5b2daf4dac3b8a1616461a0c840e18b73 Mon Sep 17 00:00:00 2001 +From: Alexandre Rostovtsev +Date: Sat, 22 Sep 2012 03:06:03 -0400 +Subject: [PATCH] Fix automake-1.12 autoreconf issues. + +Need -Wno-portablity for '%'-style pattern rules in doc/Makefile.am + +Need AM_PROG_CC_C_O for src/cli/cli.c + +gettext-0.18.1.1's AM_GNU_GETTEXT requires AM_PROG_MKDIR_P, causing +problems for automake-1.12. +--- + configure.ac | 8 +++----- + src/lib/Makefile.am | 2 +- + src/plugins/Makefile.am | 2 +- + 3 files changed, 5 insertions(+), 7 deletions(-) + +diff --git a/configure.ac b/configure.ac +index dd50bcf..3955689 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -3,7 +3,7 @@ AC_INIT([libreport], + [crash-catcher@fedorahosted.org]) + + AC_CONFIG_MACRO_DIR([m4]) +-AM_INIT_AUTOMAKE([-Wall -Werror foreign]) ++AM_INIT_AUTOMAKE([-Wall -Wno-portability -Werror foreign]) + # Support silent build rules. Disable by either passing --disable-silent-rules + # to ./configure or passing V=1 to make + m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES]) +@@ -11,8 +11,9 @@ m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES]) + AM_SILENT_RULES([yes]) + + AC_DISABLE_STATIC ++AM_PROG_AR + AC_PROG_LIBTOOL +-AC_PROG_CC ++AM_PROG_CC_C_O + AC_PROG_LN_S + + AC_SYS_LARGEFILE +@@ -33,9 +34,6 @@ GETTEXT_PACKAGE=libreport + AC_SUBST(GETTEXT_PACKAGE) + AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Package name for gettext]) + +-AM_GNU_GETTEXT([external]) +-AM_GNU_GETTEXT_VERSION([0.17]) +- + IT_PROG_INTLTOOL([0.35.0]) + + dnl ****** END **************************************** +diff --git a/src/lib/Makefile.am b/src/lib/Makefile.am +index 5befe7d..2c51931 100644 +--- a/src/lib/Makefile.am ++++ b/src/lib/Makefile.am +@@ -121,7 +121,7 @@ libreport_web_la_LIBADD = \ + libreport.la + + $(DESTDIR)/$(DEBUG_DUMPS_DIR): +- $(mkdir_p) '$@' ++ $(MKDIR_P) '$@' + # no need to chmod it here + #chmod 1777 '$@' + install-data-local: $(DESTDIR)/$(DEBUG_DUMPS_DIR) +diff --git a/src/plugins/Makefile.am b/src/plugins/Makefile.am +index 3f9dfd7..795d198 100644 +--- a/src/plugins/Makefile.am ++++ b/src/plugins/Makefile.am +@@ -40,7 +40,7 @@ EXTRA_DIST = \ + report_Uploader.xml.in + + $(DESTDIR)/$(DEBUG_INFO_DIR): +- $(mkdir_p) '$@' ++ $(MKDIR_P) '$@' + + reporter_upload_SOURCES = \ + reporter-upload.c +-- +1.7.12 + diff --git a/dev-libs/libreport/files/libreport-2.0.13-gentoo.patch b/dev-libs/libreport/files/libreport-2.0.13-gentoo.patch new file mode 100644 index 000000000000..89c6a17354a3 --- /dev/null +++ b/dev-libs/libreport/files/libreport-2.0.13-gentoo.patch @@ -0,0 +1,295 @@ +From 624d523361dcf8c10742cbcb1a017e21675002ff Mon Sep 17 00:00:00 2001 +From: Alexandre Rostovtsev +Date: Sat, 22 Sep 2012 02:17:08 -0400 +Subject: [PATCH] Replace Fedora defaults with Gentoo ones, and disable code + not relevant for Gentoo + +Disable bugzilla and ureport plugins (they require Gentoo infrastructure +changes). Fix libreport-web.pc to not rely on xmlrpc.pc, which Gentoo +does not have. + +Disble mailx post-create by default to avoid "abrtd: 'post-create' ... +exited with 141" errors. +--- + doc/Makefile.am | 2 - + doc/reporter-bugzilla.txt | 2 +- + libreport-web.pc.in | 6 +-- + src/lib/dump_dir.c | 2 +- + src/plugins/Makefile.am | 83 ++------------------------------------ + src/plugins/bugzilla.conf | 2 +- + src/plugins/mailx_event.conf | 2 +- + src/plugins/report_Bugzilla.conf | 2 +- + src/plugins/report_Bugzilla.xml.in | 4 +- + src/plugins/reporter-bugzilla.c | 2 +- + src/report-python/__init__.py | 4 +- + 11 files changed, 16 insertions(+), 95 deletions(-) + +diff --git a/doc/Makefile.am b/doc/Makefile.am +index 542fe4c..863b6d1 100644 +--- a/doc/Makefile.am ++++ b/doc/Makefile.am +@@ -9,11 +9,9 @@ XMLTO_SILENT_0 = @echo " XMLTO " $@; + + MAN1_TXT = + MAN1_TXT += report-cli.txt +-MAN1_TXT += reporter-bugzilla.txt + MAN1_TXT += reporter-kerneloops.txt + MAN1_TXT += reporter-mailx.txt + MAN1_TXT += reporter-print.txt +-MAN1_TXT += reporter-rhtsupport.txt + MAN1_TXT += reporter-upload.txt + MAN1_TXT += report.txt + +diff --git a/doc/reporter-bugzilla.txt b/doc/reporter-bugzilla.txt +index 3cedf73..734d598 100644 +--- a/doc/reporter-bugzilla.txt ++++ b/doc/reporter-bugzilla.txt +@@ -44,7 +44,7 @@ Configuration file lines should have 'PARAM = VALUE' format. The parameters are: + Password to Bugzilla account. + + 'BugzillaURL':: +- Bugzilla HTTP(S) address. (default: https://bugzilla.redhat.com) ++ Bugzilla HTTP(S) address. (default: https://bugs.gentoo.org/) + + 'SSLVerify':: + Use yes/true/on/1 to verify server's SSL certificate. (default: yes) +diff --git a/libreport-web.pc.in b/libreport-web.pc.in +index c9af1d2..14505f8 100644 +--- a/libreport-web.pc.in ++++ b/libreport-web.pc.in +@@ -6,7 +6,7 @@ includedir=@includedir@ + Name: libreport + Description: Library providing network API for libreport + Version: @VERSION@ +-Requires: glib-2.0 libcurl libproxy-1.0 libxml-2.0 xmlrpc xmlrpc_client json btparser libreport +-Libs: -L${libdir} -lreport-web +-Cflags: ++Requires: glib-2.0 libcurl libproxy-1.0 libxml-2.0 json btparser libreport ++Libs: -L${libdir} @XMLRPC_LIBS@ @XMLRPC_CLIENT_LIBS@ -lreport-web ++Cflags: @XMLRPC_CFLAGS@ @XMLRPC_CLIENT_CFLAGS@ + +diff --git a/src/lib/dump_dir.c b/src/lib/dump_dir.c +index 0fc7da7..41e4f55 100644 +--- a/src/lib/dump_dir.c ++++ b/src/lib/dump_dir.c +@@ -556,7 +556,7 @@ void dd_create_basic_files(struct dump_dir *dd, uid_t uid, const char *chroot_di + release = load_text_file("/etc/system-release", + DD_LOAD_TEXT_RETURN_NULL_ON_FAILURE); + if (!release) +- release = load_text_file("/etc/redhat-release", /*flags:*/ 0); ++ release = load_text_file("/etc/gentoo-release", /*flags:*/ 0); + dd_save_text(dd, FILENAME_OS_RELEASE, release); + if (chroot_dir) + { +diff --git a/src/plugins/Makefile.am b/src/plugins/Makefile.am +index 967596f..3f9dfd7 100644 +--- a/src/plugins/Makefile.am ++++ b/src/plugins/Makefile.am +@@ -1,36 +1,27 @@ + pluginslibdir = $(PLUGINS_LIB_DIR) + + bin_PROGRAMS = \ +- reporter-bugzilla \ +- reporter-rhtsupport \ + reporter-kerneloops \ + reporter-upload \ + reporter-mailx \ + reporter-print \ +- report \ +- reporter-ureport ++ report + + pluginsconfdir = $(PLUGINS_CONF_DIR) + + reportpluginsconfdir = $(REPORT_PLUGINS_CONF_DIR) + + dist_reportpluginsconf_DATA = \ +- bugzilla.conf \ +- rhtsupport.conf \ + mailx.conf + + eventsdir = $(EVENTS_DIR) + + dist_events_DATA = \ +- report_Bugzilla.xml \ +- report_Bugzilla.conf \ + report_Logger.conf \ + report_Logger.xml \ + report_Mailx.xml \ +- report_RHTSupport.xml \ + report_Kerneloops.xml \ +- report_Uploader.xml \ +- report_uReport.xml ++ report_Uploader.xml + + @INTLTOOL_XML_RULE@ + +@@ -39,74 +30,18 @@ eventsconfdir = $(EVENTS_CONF_DIR) + dist_eventsconf_DATA = \ + mailx_event.conf \ + print_event.conf \ +- bugzilla_event.conf \ +- rhtsupport_event.conf \ + uploader_event.conf + + EXTRA_DIST = \ +- report_Bugzilla.xml.in \ +- report_Bugzilla.conf \ + report_Logger.conf \ + report_Logger.xml.in \ + report_Mailx.xml.in \ +- report_RHTSupport.xml.in \ + report_Kerneloops.xml.in \ +- report_Uploader.xml.in \ +- report_uReport.xml.in ++ report_Uploader.xml.in + + $(DESTDIR)/$(DEBUG_INFO_DIR): + $(mkdir_p) '$@' + +-reporter_bugzilla_SOURCES = \ +- reporter-bugzilla.c rhbz.c rhbz.h +-reporter_bugzilla_CPPFLAGS = \ +- -I$(srcdir)/../include \ +- -I$(srcdir)/../lib \ +- -DBIN_DIR=\"$(bindir)\" \ +- -DCONF_DIR=\"$(CONF_DIR)\" \ +- -DLOCALSTATEDIR='"$(localstatedir)"' \ +- -DDEBUG_DUMPS_DIR=\"$(DEBUG_DUMPS_DIR)\" \ +- -DDEBUG_INFO_DIR=\"$(DEBUG_INFO_DIR)\" \ +- -DPLUGINS_LIB_DIR=\"$(PLUGINS_LIB_DIR)\" \ +- -DPLUGINS_CONF_DIR=\"$(REPORT_PLUGINS_CONF_DIR)\" \ +- $(GLIB_CFLAGS) \ +- $(LIBREPORT_CFLAGS) \ +- $(XMLRPC_CFLAGS) $(XMLRPC_CLIENT_CFLAGS) \ +- -D_GNU_SOURCE +-reporter_bugzilla_LDADD = \ +- $(GLIB_LIBS) \ +- $(XMLRPC_LIBS) $(XMLRPC_CLIENT_LIBS) \ +- ../lib/libreport-web.la \ +- ../lib/libreport.la +- +-reporter_rhtsupport_SOURCES = \ +- abrt_rh_support.h abrt_rh_support.c \ +- reporter-rhtsupport.h \ +- reporter-rhtsupport-parse.c \ +- reporter-rhtsupport.c +-reporter_rhtsupport_CPPFLAGS = \ +- -I$(srcdir)/../include \ +- -I$(srcdir)/../lib \ +- -DBIN_DIR=\"$(bindir)\" \ +- -DCONF_DIR=\"$(CONF_DIR)\" \ +- -DLOCALSTATEDIR='"$(localstatedir)"' \ +- -DDEBUG_DUMPS_DIR=\"$(DEBUG_DUMPS_DIR)\" \ +- -DDEBUG_INFO_DIR=\"$(DEBUG_INFO_DIR)\" \ +- -DPLUGINS_LIB_DIR=\"$(PLUGINS_LIB_DIR)\" \ +- -DPLUGINS_CONF_DIR=\"$(REPORT_PLUGINS_CONF_DIR)\" \ +- $(GLIB_CFLAGS) \ +- $(LIBREPORT_CFLAGS) \ +- $(XMLRPC_CFLAGS) $(XMLRPC_CLIENT_CFLAGS) \ +- $(LIBXML_CFLAGS) \ +- -D_GNU_SOURCE +-reporter_rhtsupport_LDFLAGS = -ltar +-reporter_rhtsupport_LDADD = \ +- $(GLIB_LIBS) \ +- $(LIBXML_LIBS) \ +- $(XMLRPC_LIBS) $(XMLRPC_CLIENT_LIBS) \ +- ../lib/libreport-web.la \ +- ../lib/libreport.la +- + reporter_upload_SOURCES = \ + reporter-upload.c + reporter_upload_CPPFLAGS = \ +@@ -200,16 +135,4 @@ report_CPPFLAGS = \ + report_LDADD = \ + ../lib/libreport.la + +-reporter_ureport_SOURCES = \ +- ureport.c +-reporter_ureport_CPPFLAGS = \ +- -I$(srcdir)/../include \ +- -I$(srcdir)/../lib \ +- $(GLIB_CFLAGS) \ +- $(LIBREPORT_CFLAGS) \ +- -D_GNU_SOURCE +-reporter_ureport_LDADD = \ +- ../lib/libreport.la \ +- ../lib/libreport-web.la +- + DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@ +diff --git a/src/plugins/bugzilla.conf b/src/plugins/bugzilla.conf +index 18eba5a..f5afe6f 100644 +--- a/src/plugins/bugzilla.conf ++++ b/src/plugins/bugzilla.conf +@@ -1,5 +1,5 @@ + # Bugzilla URL +-BugzillaURL = https://bugzilla.redhat.com/ ++BugzillaURL = https://bugs.gentoo.org/ + # yes means that ssl certificates will be checked + SSLVerify = yes + # your login has to exist, if you don have any, please create one +diff --git a/src/plugins/mailx_event.conf b/src/plugins/mailx_event.conf +index a8c5d11..1c07a73 100644 +--- a/src/plugins/mailx_event.conf ++++ b/src/plugins/mailx_event.conf +@@ -1,3 +1,3 @@ +-EVENT=post-create reporter-mailx --notify-only -c /etc/libreport/plugins/mailx.conf ++# EVENT=post-create reporter-mailx --notify-only -c /etc/libreport/plugins/mailx.conf + + EVENT=report_Mailx reporter-mailx +diff --git a/src/plugins/report_Bugzilla.conf b/src/plugins/report_Bugzilla.conf +index f1a77f5..bb2e651 100644 +--- a/src/plugins/report_Bugzilla.conf ++++ b/src/plugins/report_Bugzilla.conf +@@ -1,4 +1,4 @@ +-Bugzilla_BugzillaURL = https://bugzilla.redhat.com ++Bugzilla_BugzillaURL = https://bugs.gentoo.org/ + Bugzilla_Login = + Bugzilla_Password = + Bugzilla_SSLVerify = yes +diff --git a/src/plugins/report_Bugzilla.xml.in b/src/plugins/report_Bugzilla.xml.in +index 8151d32..acaf7fb 100644 +--- a/src/plugins/report_Bugzilla.xml.in ++++ b/src/plugins/report_Bugzilla.xml.in +@@ -16,8 +16,8 @@ + <_label>Bugzilla URL + no + <_description>Address of Bugzilla server +- https://bugzilla.redhat.com +- <_note-html>You can create bugzilla.redhat.com account <a href="https://bugzilla.redhat.com/createaccount.cgi">here</a> ++ https://bugs.gentoo.org/ ++ <_note-html>You can create bugs.gentoo.org account <a href="https://bugs.gentoo.org/createaccount.cgi">here</a> + +