Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/exiv2/
Date: Tue, 29 May 2018 12:32:21
Message-Id: 1527597069.40c32e8333488b1965fa1de32d97a7403786ab0b.asturm@gentoo
1 commit: 40c32e8333488b1965fa1de32d97a7403786ab0b
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Tue May 29 12:13:07 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Tue May 29 12:31:09 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40c32e83
7
8 media-gfx/exiv2: Drop 0.26_p20171104 (security cleanup)
9
10 Bug: https://bugs.gentoo.org/647808
11 Bug: https://bugs.gentoo.org/640978
12 Bug: https://bugs.gentoo.org/643554
13 Closes: https://bugs.gentoo.org/626214
14 Package-Manager: Portage-2.3.40, Repoman-2.3.9
15
16 media-gfx/exiv2/Manifest | 1 -
17 media-gfx/exiv2/exiv2-0.26_p20171104.ebuild | 128 ----------------------------
18 2 files changed, 129 deletions(-)
19
20 diff --git a/media-gfx/exiv2/Manifest b/media-gfx/exiv2/Manifest
21 index ff807541c73..7bb21efe1f5 100644
22 --- a/media-gfx/exiv2/Manifest
23 +++ b/media-gfx/exiv2/Manifest
24 @@ -1,2 +1 @@
25 -DIST exiv2-0.26_p20171104.tar.gz 28368697 BLAKE2B 50013cf0bf30a2a476b02d5db4027fca268a4b38733762eb4c08e5f3bdfaf737038e9a62f7ef471fecb10250d8ae686ef683f9b0ea4ccc5d109440ba534371e4 SHA512 6f6a884d7978e54dceb9ce45248cd0425ff469887c85ef52b0e38cb755970f69fce96b4b5317c8e8070b833f72ca214696042aac71292a6f9c3440f6a369d474
26 DIST exiv2-0.26_p20180319.tar.gz 28383543 BLAKE2B 753a2ebdb2033490c0f66cb1fb2574f02125f17813f6cbaf5eca66e053af9a2cdbc1266f0a033f0706ec22b31acd6e87271e426a335a58ee947757b52d283489 SHA512 852ce2cffcc0a2d902a939933127fdf5fa0b50020e1faf3ab0a375b129b9f61c7b97b76d4f39e376e7288d7cc045867bd1a96ae15dd0b7c0bcd1ba15259628e1
27
28 diff --git a/media-gfx/exiv2/exiv2-0.26_p20171104.ebuild b/media-gfx/exiv2/exiv2-0.26_p20171104.ebuild
29 deleted file mode 100644
30 index 0da64ed3f8d..00000000000
31 --- a/media-gfx/exiv2/exiv2-0.26_p20171104.ebuild
32 +++ /dev/null
33 @@ -1,128 +0,0 @@
34 -# Copyright 1999-2018 Gentoo Foundation
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=6
38 -
39 -PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
40 -if [[ ${PV} = *9999 ]]; then
41 - EGIT_REPO_URI="https://github.com/Exiv2/exiv2.git"
42 - EGIT_BRANCH="0.26"
43 - GIT_ECLASS=git-r3
44 -else
45 - COMMIT=900d2417dbeb46e14cbf65fc2798ed1d043ab76d
46 - SRC_URI="https://github.com/Exiv2/${PN}/tarball/${COMMIT} -> ${P}.tar.gz"
47 - KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris"
48 -fi
49 -inherit cmake-multilib python-any-r1 vcs-snapshot
50 -
51 -DESCRIPTION="EXIF, IPTC and XMP metadata C++ library and command line utility"
52 -HOMEPAGE="http://www.exiv2.org/"
53 -
54 -LICENSE="GPL-2"
55 -SLOT="0/26"
56 -IUSE="doc examples nls png webready xmp"
57 -
58 -RDEPEND="
59 - >=virtual/libiconv-0-r1[${MULTILIB_USEDEP}]
60 - nls? ( >=virtual/libintl-0-r1[${MULTILIB_USEDEP}] )
61 - png? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )
62 - webready? (
63 - net-libs/libssh[${MULTILIB_USEDEP}]
64 - net-misc/curl[${MULTILIB_USEDEP}]
65 - )
66 - xmp? ( >=dev-libs/expat-2.1.0-r3[${MULTILIB_USEDEP}] )
67 -"
68 -DEPEND="${RDEPEND}
69 - doc? (
70 - ${PYTHON_DEPS}
71 - app-doc/doxygen
72 - dev-libs/libxslt
73 - media-gfx/graphviz
74 - virtual/pkgconfig
75 - )
76 - nls? ( sys-devel/gettext )
77 -"
78 -
79 -DOCS=( README doc/ChangeLog doc/cmd.txt )
80 -
81 -PATCHES=(
82 - # TODO: Take to upstream
83 - "${FILESDIR}"/${PN}-0.26-fix-docs.patch
84 - "${FILESDIR}"/${PN}-0.26-tools-optional.patch
85 -)
86 -
87 -pkg_setup() {
88 - use doc && python-any-r1_pkg_setup
89 -}
90 -
91 -src_prepare() {
92 - if [[ ${PV} != *9999 ]] ; then
93 - if [[ -d po ]] ; then
94 - pushd po > /dev/null || die
95 - local lang
96 - for lang in *.po; do
97 - if [[ -e ${lang} ]] \
98 - && ! has ${lang/.po/} ${LINGUAS-${lang/.po/}} ; then
99 - case ${lang} in
100 - CMakeLists.txt | \
101 - ${PN}.pot) ;;
102 - *) rm -r ${lang} || die ;;
103 - esac
104 - fi
105 - done
106 - popd > /dev/null || die
107 - else
108 - die "Failed to prepare LINGUAS - po directory moved?"
109 - fi
110 - fi
111 -
112 - # FIXME @upstream:
113 - einfo "Converting doc/cmd.txt to UTF-8"
114 - iconv -f LATIN1 -t UTF-8 doc/cmd.txt > doc/cmd.txt.tmp || die
115 - mv -f doc/cmd.txt.tmp doc/cmd.txt || die
116 -
117 - if use doc; then
118 - einfo "Updating doxygen config"
119 - doxygen &>/dev/null -u config/Doxyfile || die
120 - fi
121 -
122 - cmake-utils_src_prepare
123 -}
124 -
125 -multilib_src_configure() {
126 - local mycmakeargs=(
127 - -DEXIV2_ENABLE_BUILD_SAMPLES=NO
128 - -DEXIV2_ENABLE_BUILD_PO=$(usex nls)
129 - -DEXIV2_ENABLE_NLS=$(usex nls)
130 - -DEXIV2_ENABLE_PNG=$(usex png)
131 - -DEXIV2_ENABLE_CURL=$(usex webready)
132 - -DEXIV2_ENABLE_SSH=$(usex webready)
133 - -DEXIV2_ENABLE_WEBREADY=$(usex webready)
134 - -DEXIV2_ENABLE_XMP=$(usex xmp)
135 - -DEXIV2_ENABLE_LIBXMP=NO
136 - $(multilib_is_native_abi || echo -DEXIV2_ENABLE_TOOLS=NO)
137 - )
138 -
139 - cmake-utils_src_configure
140 -}
141 -
142 -multilib_src_compile() {
143 - cmake-utils_src_compile
144 -
145 - if multilib_is_native_abi; then
146 - use doc && emake -j1 doc
147 - fi
148 -}
149 -
150 -multilib_src_install_all() {
151 - use xmp && DOCS+=( doc/{COPYING-XMPSDK,README-XMP,cmdxmp.txt} )
152 - use doc && HTML_DOCS=( "${S}"/doc/html/. )
153 -
154 - einstalldocs
155 - find "${D}" -name '*.la' -delete || die
156 -
157 - if use examples; then
158 - docinto examples
159 - dodoc samples/*.cpp
160 - fi
161 -}