Your message dated Sun, 19 Jan 2020 19:50:09 +0000
with message-id <[email protected]>
and subject line Bug#888522: fixed in ipe 7.2.13-2
has caused the Debian Bug report #888522,
regarding ipe FTCBFS: uses the build architecture pkg-config
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
888522: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=888522
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: ipe
Version: 7.2.7-2
Tags: patch upstream
User: [email protected]
Usertags: rebootstrap
ipe fails to cross build from source, because its upstream build system
hard codes the build architecture pkg-config. dh_auto_build supplies the
host architecture pkg-config via the $PKG_CONFIG make variable. Once ipe
honours that variable, it cross builds successfully. The attached patch
implements that. Please consider applying it.
Helmut
diff --minimal -Nru ipe-7.2.7/debian/changelog ipe-7.2.7/debian/changelog
--- ipe-7.2.7/debian/changelog 2017-01-18 15:18:03.000000000 +0100
+++ ipe-7.2.7/debian/changelog 2018-01-23 19:42:16.000000000 +0100
@@ -1,3 +1,10 @@
+ipe (7.2.7-2.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ *
+
+ -- Helmut Grohne <[email protected]> Tue, 23 Jan 2018 19:42:16 +0100
+
ipe (7.2.7-2) unstable; urgency=medium
* Team upload.
diff --minimal -Nru ipe-7.2.7/debian/patches/cross.patch
ipe-7.2.7/debian/patches/cross.patch
--- ipe-7.2.7/debian/patches/cross.patch 1970-01-01 01:00:00.000000000
+0100
+++ ipe-7.2.7/debian/patches/cross.patch 2018-01-23 19:39:06.000000000
+0100
@@ -0,0 +1,98 @@
+Index: ipe-7.2.7/src/common.mak
+===================================================================
+--- ipe-7.2.7.orig/src/common.mak
++++ ipe-7.2.7/src/common.mak
+@@ -3,6 +3,9 @@
+ #
+ # Building Ipe --- common definitions
+ #
++
++PKG_CONFIG ?= pkg-config
++
+ # --------------------------------------------------------------------
+ # Are we compiling for Windows? For Mac OS X?
+ ifdef COMSPEC
+@@ -86,8 +89,8 @@
+ else ifeq ($(IPEUI), GTK)
+ CPPFLAGS += -DIPEUI_GTK -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED
+ IPEUI_GTK := 1
+-GTK_CFLAGS ?= $(shell pkg-config --cflags gtk+-2.0)
+-GTK_LIBS ?= $(shell pkg-config --libs gtk+-2.0)
++GTK_CFLAGS ?= $(shell $(PKG_CONFIG) --cflags gtk+-2.0)
++GTK_LIBS ?= $(shell $(PKG_CONFIG) --libs gtk+-2.0)
+ UI_CFLAGS = $(GTK_CFLAGS)
+ UI_LIBS = $(GTK_LIBS)
+ all_sources = $(sources) $(gtk_sources)
+Index: ipe-7.2.7/src/config.mak
+===================================================================
+--- ipe-7.2.7.orig/src/config.mak
++++ ipe-7.2.7/src/config.mak
+@@ -17,21 +17,22 @@
+ # Lua 5.3 works as well.
+ #
+ LUA_PACKAGE ?= lua5.3
++PKG_CONFIG ?= pkg-config
+ #
+ ZLIB_CFLAGS ?=
+ ZLIB_LIBS ?= -lz
+ JPEG_CFLAGS ?=
+ JPEG_LIBS ?= -ljpeg
+-PNG_CFLAGS ?= $(shell pkg-config --cflags libpng)
+-PNG_LIBS ?= $(shell pkg-config --libs libpng)
+-FREETYPE_CFLAGS ?= $(shell pkg-config --cflags freetype2)
+-FREETYPE_LIBS ?= $(shell pkg-config --libs freetype2)
+-CAIRO_CFLAGS ?= $(shell pkg-config --cflags cairo)
+-CAIRO_LIBS ?= $(shell pkg-config --libs cairo)
+-LUA_CFLAGS ?= $(shell pkg-config --cflags $(LUA_PACKAGE))
+-LUA_LIBS ?= $(shell pkg-config --libs $(LUA_PACKAGE))
+-QT_CFLAGS ?= $(shell pkg-config --cflags Qt5Gui Qt5Widgets Qt5Core)
+-QT_LIBS ?= $(shell pkg-config --libs Qt5Gui Qt5Widgets Qt5Core)
++PNG_CFLAGS ?= $(shell $(PKG_CONFIG) --cflags libpng)
++PNG_LIBS ?= $(shell $(PKG_CONFIG) --libs libpng)
++FREETYPE_CFLAGS ?= $(shell $(PKG_CONFIG) --cflags freetype2)
++FREETYPE_LIBS ?= $(shell $(PKG_CONFIG) --libs freetype2)
++CAIRO_CFLAGS ?= $(shell $(PKG_CONFIG) --cflags cairo)
++CAIRO_LIBS ?= $(shell $(PKG_CONFIG) --libs cairo)
++LUA_CFLAGS ?= $(shell $(PKG_CONFIG) --cflags $(LUA_PACKAGE))
++LUA_LIBS ?= $(shell $(PKG_CONFIG) --libs $(LUA_PACKAGE))
++QT_CFLAGS ?= $(shell $(PKG_CONFIG) --cflags Qt5Gui Qt5Widgets Qt5Core)
++QT_LIBS ?= $(shell $(PKG_CONFIG) --libs Qt5Gui Qt5Widgets Qt5Core)
+ #
+ # Library needed to use dlopen/dlsym/dlclose calls
+ #
+Index: ipe-7.2.7/src/snapcraft.mak
+===================================================================
+--- ipe-7.2.7.orig/src/snapcraft.mak
++++ ipe-7.2.7/src/snapcraft.mak
+@@ -13,20 +13,21 @@
+ IPEPREFIX := $(IPESRCDIR)/../../install
+ endif
+ #
++PKG_CONFIG ?= pkg-config
+ ZLIB_CFLAGS ?=
+ ZLIB_LIBS ?= -lz
+ JPEG_CFLAGS ?=
+ JPEG_LIBS ?= -ljpeg
+-PNG_CFLAGS ?= $(shell pkg-config --cflags libpng)
+-PNG_LIBS ?= $(shell pkg-config --libs libpng)
+-FREETYPE_CFLAGS ?= $(shell pkg-config --cflags freetype2)
+-FREETYPE_LIBS ?= $(shell pkg-config --libs freetype2)
+-CAIRO_CFLAGS ?= $(shell pkg-config --cflags cairo)
+-CAIRO_LIBS ?= $(shell pkg-config --libs cairo)
+-LUA_CFLAGS ?= $(shell pkg-config --cflags lua5.3)
+-LUA_LIBS ?= $(shell pkg-config --libs lua5.3)
+-QT_CFLAGS ?= $(shell pkg-config --cflags Qt5Gui Qt5Widgets Qt5Core)
+-QT_LIBS ?= $(shell pkg-config --libs Qt5Gui Qt5Widgets Qt5Core)
++PNG_CFLAGS ?= $(shell $(PKG_CONFIG) --cflags libpng)
++PNG_LIBS ?= $(shell $(PKG_CONFIG) --libs libpng)
++FREETYPE_CFLAGS ?= $(shell $(PKG_CONFIG) --cflags freetype2)
++FREETYPE_LIBS ?= $(shell $(PKG_CONFIG) --libs freetype2)
++CAIRO_CFLAGS ?= $(shell $(PKG_CONFIG) --cflags cairo)
++CAIRO_LIBS ?= $(shell $(PKG_CONFIG) --libs cairo)
++LUA_CFLAGS ?= $(shell $(PKG_CONFIG) --cflags lua5.3)
++LUA_LIBS ?= $(shell $(PKG_CONFIG) --libs lua5.3)
++QT_CFLAGS ?= $(shell $(PKG_CONFIG) --cflags Qt5Gui Qt5Widgets Qt5Core)
++QT_LIBS ?= $(shell $(PKG_CONFIG) --libs Qt5Gui Qt5Widgets Qt5Core)
+ DL_LIBS ?= -ldl
+ MOC ?= moc
+ CXX = g++
diff --minimal -Nru ipe-7.2.7/debian/patches/series
ipe-7.2.7/debian/patches/series
--- ipe-7.2.7/debian/patches/series 2017-01-18 15:09:01.000000000 +0100
+++ ipe-7.2.7/debian/patches/series 2018-01-23 19:37:06.000000000 +0100
@@ -1,2 +1,3 @@
default-editor.patch
wheel-zoom-debug.patch
+cross.patch
--- End Message ---
--- Begin Message ---
Source: ipe
Source-Version: 7.2.13-2
We believe that the bug you reported is fixed in the latest version of
ipe, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Steve M. Robbins <[email protected]> (supplier of updated ipe package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Sun, 19 Jan 2020 13:23:26 -0600
Source: ipe
Architecture: source
Version: 7.2.13-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Team
<[email protected]>
Changed-By: Steve M. Robbins <[email protected]>
Closes: 888522
Changes:
ipe (7.2.13-2) unstable; urgency=medium
.
[ Steve Robbins ]
* Adhere to environment PKG_CONFIG setting, to enable cross-build.
Closes: #888522. Thanks to Helmut Grohne for the patch.
Checksums-Sha1:
53ce49811bea0f46d4da4ec8b0938a0835ac5207 2161 ipe_7.2.13-2.dsc
588e7243040dcc4a970001d64cf8b926346b5520 9960 ipe_7.2.13-2.debian.tar.xz
8fdacfda40c128024798aca93259cc3a0f42fb49 11429 ipe_7.2.13-2_source.buildinfo
Checksums-Sha256:
28d36c9a763d93ce99e24881e54b1837a1c1a4f6eda46f0df8b9bedb2f187208 2161
ipe_7.2.13-2.dsc
0faac4f9591f45586de644d13ff9a5b46b97161ca3f5084fcdfc333617a0cb1c 9960
ipe_7.2.13-2.debian.tar.xz
a20aa0f0c0ecab4e190b97b2ea1ab106a1dae938578101636bb844fb1a0a9cda 11429
ipe_7.2.13-2_source.buildinfo
Files:
a99fdff19b202cf18a98bdf231780c34 2161 graphics optional ipe_7.2.13-2.dsc
e3d8ffe430dea5667e1df92cdd22e36e 9960 graphics optional
ipe_7.2.13-2.debian.tar.xz
aa9a5dca3e56554126f9f2672de17c88 11429 graphics optional
ipe_7.2.13-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJDBAEBCAAtFiEEy89k8fa3rclNjyokyeVeL63I9LkFAl4krRYPHHNtckBkZWJp
YW4ub3JnAAoJEMnlXi+tyPS5UBYQAJIO7ohfq+PVxPjlokh49t5ojl5bJ2NVE5Bu
hB1gxUrzS2c277w3vFpt2cP5v/41ICTOdOb47a8TusoCWOasrdxF7s0yQH0B3soe
8vsOazcFoiLAsDhUwKI43EqUYAT757vfP6HfBqFyq4xjH2NgzXwyuwW70Vcm1pvv
Q/32D/IRtRtDwHIkbI9LG5uAMA8O65MDYUcWJue4Q9JR89GwifI26poQutFPfH6A
1mO2TSlUkElYGlz3rXS+AfurmzVJYVwS2H8Zj61FMDskLGP6IQYFqYpKVUJmcHNB
PYiYH7BN7VSzqe/+iQVcBB4QURddr1eBOGfZ14dziuy3zFlLsHM9ePFA4OyZuChU
p0MYOs528jMpNgMazD2BVdpsT+zqPz/20a1/J2wpOlXHYwb9SnXbwR27zx6esDdm
0l6aKxKkZWjkbMVuuF5DzJcP6Gtkr2mzBHJREdsmhOoWljiaISCz3AFyhFbZsUBQ
4CgkpLFWVGKaWxVc8HOvYitaajlml61nK/mZ8bZAUEb7s4XQSmmRiWj22TfLGi1S
rG+TDS/pe9LXa8udwHPoSAaJuwh+wdmUDFmGa1sgBBWUCqMYhA9/mDPTH2kJjooZ
ObUEZLUyW805Wa9IOAb4POJvlmElJZyUC3wUH0Vg6Yl+dcN3pKIoJuiFAF3KWGWh
LyxdZCmP
=SJYG
-----END PGP SIGNATURE-----
--- End Message ---
--
debian-science-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers