Gentoo Archives: gentoo-commits

From: Mikle Kolyada <zlogene@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/inkscape/
Date: Thu, 23 Apr 2020 19:22:54
Message-Id: 1587669766.bf91f0c85c0306a13a68cdf1dbe029bbf4ac3bc6.zlogene@gentoo
1 commit: bf91f0c85c0306a13a68cdf1dbe029bbf4ac3bc6
2 Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
3 AuthorDate: Thu Apr 23 19:22:32 2020 +0000
4 Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
5 CommitDate: Thu Apr 23 19:22:46 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf91f0c8
7
8 media-gfx/inkscape: Drop old
9
10 Package-Manager: Portage-2.3.89, Repoman-2.3.20
11 Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
12
13 media-gfx/inkscape/Manifest | 1 -
14 media-gfx/inkscape/inkscape-1.0_beta2-r1.ebuild | 164 ------------------------
15 2 files changed, 165 deletions(-)
16
17 diff --git a/media-gfx/inkscape/Manifest b/media-gfx/inkscape/Manifest
18 index 0ac112b1794..6896b0893a6 100644
19 --- a/media-gfx/inkscape/Manifest
20 +++ b/media-gfx/inkscape/Manifest
21 @@ -1,3 +1,2 @@
22 DIST inkscape-0.92.4.tar.bz2 31929728 BLAKE2B 892bf4ed913019b27a9b8897e3ae32c44152163ded0eb345d59915ffdc9818d29f210de3294ef1b05601141185b5e3b10779778551b860f31e7df5c659492c77 SHA512 b9034605a79cd8aea808edf42e284819951ae1ea67778f0922f4c10224e94aca6c844acbc2294625773f0a7047d4e32ccdada876238a792a2c17db172c88e120
23 DIST inkscape-1.0_rc1.tar.xz 31984596 BLAKE2B 7e4a3618522c7bc9bedba8bb2a846e1cbf40e23868f04548e67fa41b9f8f1e8f696af386c0698a43ae6f7033937e1a3d4e772518162f712468b614a5b4d3b4ad SHA512 13e14a6dad1e89e6edf7c0197c43506d127b2e5136a2d8d931ad5ea0671b65b3feed5baf2f631b1a4b8095f285c19ffe5170904c9ce5e3e484d00ca2f0800b89
24 -DIST inkscape-1.0beta2_2019-12-03_2b71d25d45.tar.xz 39508392 BLAKE2B fd48f22439d1182aff1db5afd74870a6c1d291afb310fc9fa5036fa3c2547ead8c17f6cd67f77a56f655c56af8ffaa7a349b17166c7b18ef3ddf234aa6e57805 SHA512 029508d4867ac0890b2c9c4d274408f849a17e8a7978853df38543d94e7c08d33546a8a40fbcd940da1ba847f11e37ff2bafa285174b65d45ee5de59e907e78f
25
26 diff --git a/media-gfx/inkscape/inkscape-1.0_beta2-r1.ebuild b/media-gfx/inkscape/inkscape-1.0_beta2-r1.ebuild
27 deleted file mode 100644
28 index 3932a963c31..00000000000
29 --- a/media-gfx/inkscape/inkscape-1.0_beta2-r1.ebuild
30 +++ /dev/null
31 @@ -1,164 +0,0 @@
32 -# Copyright 1999-2020 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=7
36 -
37 -PYTHON_COMPAT=( python3_{6,7,8} )
38 -PYTHON_REQ_USE="xml"
39 -MY_P="${P/_/}"
40 -RELEASE_SUFFIX="_2019-12-03_2b71d25d45"
41 -inherit cmake flag-o-matic xdg toolchain-funcs python-single-r1
42 -
43 -DESCRIPTION="SVG based generic vector-drawing program"
44 -HOMEPAGE="https://inkscape.org/"
45 -SRC_URI="https://inkscape.org/gallery/item/16197/${MY_P}${RELEASE_SUFFIX}.tar.xz"
46 -
47 -LICENSE="GPL-2 LGPL-2.1"
48 -SLOT="0"
49 -KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
50 -IUSE="cdr dbus dia exif graphicsmagick imagemagick inkjar jemalloc jpeg lcms nls
51 -openmp postscript spell static-libs svg2 visio wpg"
52 -
53 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
54 -
55 -BDEPEND="
56 - dev-util/glib-utils
57 - >=dev-util/intltool-0.40
58 - >=sys-devel/gettext-0.17
59 - virtual/pkgconfig
60 -"
61 -COMMON_DEPEND="${PYTHON_DEPS}
62 - >=app-text/poppler-0.57.0:=[cairo]
63 - >=dev-cpp/cairomm-1.12
64 - >=dev-cpp/glibmm-2.54.1
65 - dev-cpp/gtkmm:3.0
66 - >=dev-cpp/pangomm-2.40
67 - >=dev-libs/boehm-gc-7.1:=
68 - dev-libs/double-conversion:=
69 - >=dev-libs/glib-2.41
70 - >=dev-libs/libsigc++-2.8
71 - >=dev-libs/libxml2-2.7.4
72 - >=dev-libs/libxslt-1.1.25
73 - dev-libs/gdl:3
74 - dev-libs/popt
75 - media-gfx/potrace
76 - media-libs/fontconfig
77 - media-libs/freetype:2
78 - media-libs/libpng:0=
79 - net-libs/libsoup
80 - sci-libs/gsl:=
81 - x11-libs/libX11
82 - >=x11-libs/pango-1.37.2
83 - x11-libs/gtk+:3
84 - $(python_gen_cond_dep '
85 - dev-python/lxml[${PYTHON_MULTI_USEDEP}]
86 - media-gfx/scour[${PYTHON_MULTI_USEDEP}]
87 - ')
88 - cdr? (
89 - app-text/libwpg:0.3
90 - dev-libs/librevenge
91 - media-libs/libcdr
92 - )
93 - dbus? ( dev-libs/dbus-glib )
94 - exif? ( media-libs/libexif )
95 - imagemagick? (
96 - !graphicsmagick? ( <media-gfx/imagemagick-7:=[cxx] )
97 - graphicsmagick? ( media-gfx/graphicsmagick:=[cxx] )
98 - )
99 - jemalloc? ( dev-libs/jemalloc )
100 - jpeg? ( virtual/jpeg:0 )
101 - lcms? ( media-libs/lcms:2 )
102 - spell? (
103 - app-text/aspell
104 - app-text/gtkspell:3
105 - )
106 - visio? (
107 - app-text/libwpg:0.3
108 - dev-libs/librevenge
109 - media-libs/libvisio
110 - )
111 - wpg? (
112 - app-text/libwpg:0.3
113 - dev-libs/librevenge
114 - )
115 -"
116 -# These only use executables provided by these packages
117 -# See share/extensions for more details. inkscape can tell you to
118 -# install these so we could of course just not depend on those and rely
119 -# on that.
120 -RDEPEND="${COMMON_DEPEND}
121 - $(python_gen_cond_dep '
122 - dev-python/numpy[${PYTHON_MULTI_USEDEP}]
123 - ')
124 - dia? ( app-office/dia )
125 - postscript? ( app-text/ghostscript-gpl )
126 -"
127 -DEPEND="${COMMON_DEPEND}
128 - >=dev-libs/boost-1.65
129 -"
130 -
131 -S="${WORKDIR}/${MY_P}${RELEASE_SUFFIX}"
132 -
133 -RESTRICT="test"
134 -
135 -PATCHES=(
136 - "${FILESDIR}"/${PN}-1.0_beta1-detect-imagemagick.patch
137 - "${FILESDIR}"/${PN}-1.0_beta1-do-not-compress-man.patch
138 -)
139 -
140 -pkg_pretend() {
141 - if [[ ${MERGE_TYPE} != binary ]] && use openmp; then
142 - tc-has-openmp || die "Please switch to an openmp compatible compiler"
143 - fi
144 -}
145 -
146 -src_prepare() {
147 - cmake_src_prepare
148 - sed -i "/install.*COPYING/d" CMakeScripts/ConfigCPack.cmake || die
149 -}
150 -
151 -src_configure() {
152 - # aliasing unsafe wrt #310393
153 - append-flags -fno-strict-aliasing
154 -
155 - local mycmakeargs=(
156 - # -DWITH_LPETOOL # Compile with LPE Tool and experimental LPEs enabled
157 - -DENABLE_POPPLER=ON
158 - -DENABLE_POPPLER_CAIRO=ON
159 - -DWITH_PROFILING=OFF
160 - -DWITH_LIBCDR=$(usex cdr)
161 - -DWITH_DBUS=$(usex dbus)
162 - -DWITH_IMAGE_MAGICK=$(usex imagemagick $(usex !graphicsmagick)) # requires ImageMagick 6, only IM must be enabled
163 - -DWITH_GRAPHICS_MAGICK=$(usex graphicsmagick $(usex imagemagick)) # both must be enabled to use GraphicsMagick
164 - -DWITH_JEMALLOC=$(usex jemalloc)
165 - -DENABLE_LCMS=$(usex lcms)
166 - -DWITH_OPENMP=$(usex openmp)
167 - -DBUILD_SHARED_LIBS=$(usex !static-libs)
168 - -DWITH_SVG2=$(usex svg2)
169 - -DWITH_LIBVISIO=$(usex visio)
170 - -DWITH_LIBWPG=$(usex wpg)
171 - )
172 - # We should also have,
173 - #
174 - # -DWITH_NLS=$(usex nls)
175 - #
176 - # in this list, but it's broken upstream at the moment:
177 - #
178 - # * https://bugs.gentoo.org/699658
179 - # * https://gitlab.com/inkscape/inkscape/issues/168
180 -
181 - cmake_src_configure
182 -}
183 -
184 -src_install() {
185 - cmake_src_install
186 -
187 - find "${ED}" -type f -name "*.la" -delete || die
188 -
189 - # No extensions are present in beta1
190 - local extdir="${ED}"/usr/share/${PN}/extensions
191 -
192 - if [[ -e "${extdir}" ]] && [[ -n $(find "${extdir}" -mindepth 1) ]]; then
193 - python_optimize "${ED}"/usr/share/${PN}/extensions
194 - fi
195 -}