Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libchamplain/files/, media-libs/libchamplain/
Date: Mon, 23 Dec 2019 22:23:51
Message-Id: 1577139778.d619ed805cb154ac62141fff136d51541d86a617.leio@gentoo
1 commit: d619ed805cb154ac62141fff136d51541d86a617
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Mon Dec 23 22:10:13 2019 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Mon Dec 23 22:22:58 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d619ed80
7
8 media-libs/libchamplain: remove old
9
10 Package-Manager: Portage-2.3.79, Repoman-2.3.12
11 Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
12
13 media-libs/libchamplain/Manifest | 1 -
14 .../files/0.12.19-gdk-meson-fixes.patch | 123 ---------------------
15 .../libchamplain/libchamplain-0.12.19-r1.ebuild | 66 -----------
16 3 files changed, 190 deletions(-)
17
18 diff --git a/media-libs/libchamplain/Manifest b/media-libs/libchamplain/Manifest
19 index 37266705769..a2c74a206d9 100644
20 --- a/media-libs/libchamplain/Manifest
21 +++ b/media-libs/libchamplain/Manifest
22 @@ -1,2 +1 @@
23 -DIST libchamplain-0.12.19.tar.xz 233084 BLAKE2B b46ef4b1ceaef3d3b7d52652e825de30a11d7b8f5a68b5a08abcec7111c58443ba76b9aea6b350007ccd91bfc86a4062079c51416fc4e63795318269045ce509 SHA512 3fc03c123859b078f1c4f5062706c95446146a7ed2352306cea3f72f3fbf95099afd2a99f61182e3cb7c47e546de6501ff3ed6ff17614f23dc2e4139ba5e4902
24 DIST libchamplain-0.12.20.tar.xz 222168 BLAKE2B 72093eecffca24a5f255269472216f24d0804b7c8daf7cf9dc1273df9afc3fe5664dd2ca7d351bf94065f61bf4a419b3babcf3e9b2ed9a0f67c9947190aaa476 SHA512 514e4bd2803ace0d87a95a318a03bc2f2ccc454129146d76590d1b1f5666c95a4fb7013e2ad0cfafc5844d7d8b732c81a44cd0e7d51c505adcfe55c55abb4f6f
25
26 diff --git a/media-libs/libchamplain/files/0.12.19-gdk-meson-fixes.patch b/media-libs/libchamplain/files/0.12.19-gdk-meson-fixes.patch
27 deleted file mode 100644
28 index 41c7484e2a4..00000000000
29 --- a/media-libs/libchamplain/files/0.12.19-gdk-meson-fixes.patch
30 +++ /dev/null
31 @@ -1,123 +0,0 @@
32 -From 17348668f16857296ac2caf32c4a503f1946e1a5 Mon Sep 17 00:00:00 2001
33 -From: Mart Raudsepp <leio@g.o>
34 -Date: Mon, 22 Apr 2019 15:03:06 +0300
35 -Subject: [PATCH 1/2] meson: Add missing gdk required dependency for champlain
36 -
37 -gdk/gdk.h header is included and gdk_cairo_set_source_pixbuf symbol
38 -is used from gdk, thus we need its header include path and link to it.
39 -If clutter is built with gtk support, this is implicitly included via
40 -clutter-1.0 dep, but it can also be built without gtk support, in
41 -which case the build of libchamplain fails due to no gdk/gdk.h header
42 -found.
43 ----
44 - champlain/meson.build | 1 +
45 - meson.build | 1 +
46 - 2 files changed, 2 insertions(+)
47 -
48 -diff --git a/champlain/meson.build b/champlain/meson.build
49 -index 3285c65..0bf8ba5 100644
50 ---- a/champlain/meson.build
51 -+++ b/champlain/meson.build
52 -@@ -95,6 +95,7 @@ libchamplain_requires = [
53 - libchamplain_deps = libchamplain_requires + [
54 - libm_dep,
55 - gio_dep,
56 -+ gdk_dep,
57 - sqlite_dep,
58 - libsoup_dep,
59 - ]
60 -diff --git a/meson.build b/meson.build
61 -index 43e72e5..1e571c5 100644
62 ---- a/meson.build
63 -+++ b/meson.build
64 -@@ -66,6 +66,7 @@ gtk_doc_req = '>= 1.15'
65 - glib_dep = dependency('glib-2.0', version: glib_req)
66 - gobject_dep = dependency('gobject-2.0', version: glib_req)
67 - gio_dep = dependency('gio-2.0', version: glib_req)
68 -+gdk_dep = dependency('gdk-3.0', version: gtk_req)
69 - clutter_dep = dependency('clutter-1.0', version: clutter_req)
70 - cairo_dep = dependency('cairo', version: cairo_req)
71 - sqlite_dep = dependency('sqlite3', version: sqlite_req)
72 ---
73 -2.17.0
74 -
75 -
76 -From d938cb13fb13f28d18856e343ad3ee269e3cc0d9 Mon Sep 17 00:00:00 2001
77 -From: Mart Raudsepp <leio@g.o>
78 -Date: Mon, 22 Apr 2019 15:09:24 +0300
79 -Subject: [PATCH 2/2] Clean up gdk.h vs gdk-pixbuf.h includes
80 -
81 -Some source files included gdk.h without any use; others included it
82 -instead of gdk-pixbuf/gdk-pixbuf.h
83 ----
84 - champlain/champlain-error-tile-renderer.c | 1 -
85 - champlain/champlain-image-renderer.c | 1 +
86 - champlain/champlain-memphis-renderer.c | 2 +-
87 - champlain/champlain-network-tile-source.c | 1 -
88 - champlain/champlain-tile.c | 1 -
89 - 5 files changed, 2 insertions(+), 4 deletions(-)
90 -
91 -diff --git a/champlain/champlain-error-tile-renderer.c b/champlain/champlain-error-tile-renderer.c
92 -index 2b74730..f2dc67f 100644
93 ---- a/champlain/champlain-error-tile-renderer.c
94 -+++ b/champlain/champlain-error-tile-renderer.c
95 -@@ -25,7 +25,6 @@
96 - */
97 -
98 - #include "champlain-error-tile-renderer.h"
99 --#include <gdk/gdk.h>
100 -
101 - struct _ChamplainErrorTileRendererPrivate
102 - {
103 -diff --git a/champlain/champlain-image-renderer.c b/champlain/champlain-image-renderer.c
104 -index e0d9f65..ad21971 100644
105 ---- a/champlain/champlain-image-renderer.c
106 -+++ b/champlain/champlain-image-renderer.c
107 -@@ -26,6 +26,7 @@
108 - */
109 -
110 - #include "champlain-image-renderer.h"
111 -+#include <gdk-pixbuf/gdk-pixbuf.h>
112 - #include <gdk/gdk.h>
113 -
114 - struct _ChamplainImageRendererPrivate
115 -diff --git a/champlain/champlain-memphis-renderer.c b/champlain/champlain-memphis-renderer.c
116 -index e62d82d..5244889 100644
117 ---- a/champlain/champlain-memphis-renderer.c
118 -+++ b/champlain/champlain-memphis-renderer.c
119 -@@ -44,7 +44,7 @@
120 - #include "champlain-memphis-renderer.h"
121 - #include "champlain-bounding-box.h"
122 -
123 --#include <gdk/gdk.h>
124 -+#include <gdk-pixbuf/gdk-pixbuf.h>
125 -
126 - #include <memphis/memphis.h>
127 - #include <errno.h>
128 -diff --git a/champlain/champlain-network-tile-source.c b/champlain/champlain-network-tile-source.c
129 -index 873a39d..281f000 100644
130 ---- a/champlain/champlain-network-tile-source.c
131 -+++ b/champlain/champlain-network-tile-source.c
132 -@@ -45,7 +45,6 @@
133 - #include "champlain-private.h"
134 -
135 - #include <errno.h>
136 --#include <gdk/gdk.h>
137 - #include <gio/gio.h>
138 - #include <glib.h>
139 - #include <glib/gstdio.h>
140 -diff --git a/champlain/champlain-tile.c b/champlain/champlain-tile.c
141 -index a218857..ea70c3f 100644
142 ---- a/champlain/champlain-tile.c
143 -+++ b/champlain/champlain-tile.c
144 -@@ -30,7 +30,6 @@
145 -
146 - #include <math.h>
147 - #include <errno.h>
148 --#include <gdk/gdk.h>
149 - #include <libsoup/soup.h>
150 - #include <gio/gio.h>
151 - #include <clutter/clutter.h>
152 ---
153 -2.17.0
154 -
155
156 diff --git a/media-libs/libchamplain/libchamplain-0.12.19-r1.ebuild b/media-libs/libchamplain/libchamplain-0.12.19-r1.ebuild
157 deleted file mode 100644
158 index 2b8d17c1846..00000000000
159 --- a/media-libs/libchamplain/libchamplain-0.12.19-r1.ebuild
160 +++ /dev/null
161 @@ -1,66 +0,0 @@
162 -# Copyright 1999-2019 Gentoo Authors
163 -# Distributed under the terms of the GNU General Public License v2
164 -
165 -EAPI=7
166 -VALA_USE_DEPEND="vapigen"
167 -
168 -inherit gnome.org meson vala xdg
169 -
170 -DESCRIPTION="Clutter based world map renderer"
171 -HOMEPAGE="https://wiki.gnome.org/Projects/libchamplain"
172 -
173 -SLOT="0.12"
174 -LICENSE="LGPL-2.1+"
175 -KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc x86"
176 -
177 -IUSE="+gtk gtk-doc +introspection vala"
178 -REQUIRED_USE="
179 - vala? ( introspection )
180 - gtk-doc? ( gtk )
181 -" # gtk-doc build gets disabled in meson if gtk widgetry is disabled (no separate libchamplain-gtk gtk-docs anymore)
182 -
183 -RDEPEND="
184 - >=dev-libs/glib-2.38:2
185 - >=x11-libs/gtk+-3.0:3
186 - >=media-libs/clutter-1.24:1.0[introspection?]
187 - gtk? (
188 - x11-libs/gtk+:3[introspection?]
189 - media-libs/clutter-gtk:1.0 )
190 - >=x11-libs/cairo-1.4
191 - dev-db/sqlite:3
192 - >=net-libs/libsoup-2.42:2.4
193 - introspection? ( >=dev-libs/gobject-introspection-1.54:= )
194 - media-libs/cogl:=
195 -"
196 -DEPEND="${RDEPEND}"
197 -BDEPEND="
198 - dev-util/glib-utils
199 - >=dev-util/meson-0.49.0
200 - virtual/pkgconfig
201 - gtk-doc? ( >=dev-util/gtk-doc-1.15 )
202 - vala? ( $(vala_depend) )
203 -"
204 -
205 -PATCHES=(
206 - # Fix compilation against clutter[-gtk]
207 - "${FILESDIR}"/${PV}-gdk-meson-fixes.patch # https://gitlab.gnome.org/GNOME/libchamplain/merge_requests/8
208 -)
209 -
210 -src_prepare() {
211 - xdg_src_prepare
212 - use vala && vala_src_prepare
213 - # Fix showing inside devhelp (gtkdocdir subdir and name of the module need to match)
214 - sed -i -e 's:package_name:package_string:' docs/reference/meson.build || die # https://gitlab.gnome.org/GNOME/libchamplain/merge_requests/7
215 -}
216 -
217 -src_configure() {
218 - local emesonargs=(
219 - -Dmemphis=false # TODO: What's the state of this vector renderer?
220 - $(meson_use introspection)
221 - $(meson_use vala vapi)
222 - $(meson_use gtk widgetry)
223 - $(meson_use gtk-doc gtk_doc)
224 - -Ddemos=false # only built, not installed
225 - )
226 - meson_src_configure
227 -}