Your message dated Thu, 04 Jan 2018 19:19:34 +0000
with message-id <[email protected]>
and subject line Bug#866524: fixed in fotoxx 18.01.1-1
has caused the Debian Bug report #866524,
regarding fotoxx 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.)


-- 
866524: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=866524
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: fotoxx
Version: 16.11.1-1
Tags: upstream patch
User: [email protected]
Usertags: rebootstrap

fotoxx fails to cross build from source, because it uses the build
architecture pkg-config and thus fails finding the gtk, which is only
requested for the host architecture. Making pkg-config substitutable via
$(PKG_CONFIG) fixes the build, because recent dh_auto_build started
supplying that variable for cross builds. Please consider applying the
attached patch.

Helmut
diff --minimal -Nru fotoxx-16.11.1/debian/changelog 
fotoxx-16.11.1/debian/changelog
--- fotoxx-16.11.1/debian/changelog     2016-12-13 15:03:38.000000000 +0100
+++ fotoxx-16.11.1/debian/changelog     2017-06-29 22:18:27.000000000 +0200
@@ -1,3 +1,10 @@
+fotoxx (16.11.1-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: cross.patch (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Thu, 29 Jun 2017 22:18:27 +0200
+
 fotoxx (16.11.1-1) unstable; urgency=medium
 
   * New upstream release (16.11.1).
diff --minimal -Nru fotoxx-16.11.1/debian/patches/cross.patch 
fotoxx-16.11.1/debian/patches/cross.patch
--- fotoxx-16.11.1/debian/patches/cross.patch   1970-01-01 01:00:00.000000000 
+0100
+++ fotoxx-16.11.1/debian/patches/cross.patch   2017-06-29 22:18:25.000000000 
+0200
@@ -0,0 +1,33 @@
+From: Helmut Grohne <[email protected]>
+Subject: make pkg-config substitutable for cross compilation
+
+Index: fotoxx-16.11.1/Makefile
+===================================================================
+--- fotoxx-16.11.1.orig/Makefile
++++ fotoxx-16.11.1/Makefile
+@@ -6,6 +6,7 @@
+ CXXFLAGS += -Wall -ggdb
+ PREFIX ?= /usr
+ CPPFLAGS ?= -O2
++PKG_CONFIG ?= pkg-config
+ 
+ # target install directories
+ BINDIR = $(PREFIX)/bin
+@@ -19,7 +20,7 @@
+ MENUFILE = $(PREFIX)/share/applications/fotoxx.desktop
+ 
+ CFLAGS = $(CXXFLAGS) $(CPPFLAGS) -c                \
+-   `pkg-config --cflags gtk+-3.0`                  \
++   `$(PKG_CONFIG) --cflags gtk+-3.0`                  \
+    -I/usr/include/clutter-1.0/                     \
+    -I/usr/include/cogl/                            \
+    -I/usr/include/json-glib-1.0/                   \
+@@ -27,7 +28,7 @@
+    -I/usr/include/libchamplain-gtk-0.12/           \
+    -I/usr/include/libchamplain-0.12/
+ 
+-LIBS = `pkg-config --libs gtk+-3.0` -lrt -lpthread -ltiff -lpng -lraw -llcms2 
   \
++LIBS = `$(PKG_CONFIG) --libs gtk+-3.0` -lrt -lpthread -ltiff -lpng -lraw 
-llcms2    \
+          -lclutter-1.0 -lclutter-gtk-1.0 -lchamplain-0.12 -lchamplain-gtk-0.12
+ 
+ ALLFILES = fotoxx.o f.widgets.o f.image.o f.file.o f.gallery.o f.gmenu.o      
   \
diff --minimal -Nru fotoxx-16.11.1/debian/patches/series 
fotoxx-16.11.1/debian/patches/series
--- fotoxx-16.11.1/debian/patches/series        2016-12-13 15:03:38.000000000 
+0100
+++ fotoxx-16.11.1/debian/patches/series        2017-06-29 22:17:23.000000000 
+0200
@@ -1,2 +1,3 @@
 Fix-ftbfs-in-freebsd.patch
 fix-FTBFS-using-clang-instead-of-gcc.patch
+cross.patch

--- End Message ---
--- Begin Message ---
Source: fotoxx
Source-Version: 18.01.1-1

We believe that the bug you reported is fixed in the latest version of
fotoxx, 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.
Maximiliano Curia <[email protected]> (supplier of updated fotoxx 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: SHA512

Format: 1.8
Date: Thu, 04 Jan 2018 16:00:14 -0300
Source: fotoxx
Binary: fotoxx fotoxx-common
Architecture: source
Version: 18.01.1-1
Distribution: sid
Urgency: medium
Maintainer: Santiago Torres Batan <[email protected]>
Changed-By: Maximiliano Curia <[email protected]>
Description:
 fotoxx     - easy-to-use digital photo editor
 fotoxx-common - easy-to-use digital photo editor - common files
Closes: 866524
Changes:
 fotoxx (18.01.1-1) sid; urgency=medium
 .
   [ Santiago Torres Batan ]
   * debian/copyright: update years.
   * debian/control: Bump to Standards-Version 4.1.1. No changes.
   * debian/patches
     - Added Fix-cross-compilation.patch.
     Thanks to Helmut Grohne. (closes: #866524)
   * debian/fotoxx.install
     - Do not install fotoxx-snap, /usr/bin/fotoxx duplicate
       Fix lintian warning
   * Fix Appstream metadata path and permissions (lintians warning)
     - debian/rules: override dh_fixperms
     - fotoxx.install: fix path
 .
   [ Maximiliano Curia ]
   * New upstream release (18.01.1).
   * Bump Standards-Version to 4.1.3.
   * Refresh patches
   * Release to sid
Checksums-Sha1:
 962d974119b8f9fe767add191db61cff61a1bdf8 2049 fotoxx_18.01.1-1.dsc
 e2389c43d327aabeb27e6a2f1ad64414218966a4 6845211 fotoxx_18.01.1.orig.tar.gz
 69da23847bf04e9cb0e6cdba1d817f987fe5cd9d 5856 fotoxx_18.01.1-1.debian.tar.xz
 2f6d5143b6ae413f93ff26a4732756233b7f02a3 6731 fotoxx_18.01.1-1_source.buildinfo
Checksums-Sha256:
 31377c7e36ae4264052958aa3171ca42e72e3d866b0477bec8ec96912c04bc12 2049 
fotoxx_18.01.1-1.dsc
 1352c1e5b35f8548412cb9db31acb644f5e3d52d1b6a1b3fae2323060981f640 6845211 
fotoxx_18.01.1.orig.tar.gz
 7367f19ec20d8ad9db7b49396c60d5bfb4e244f25b57fb59bb5831de5ea4604c 5856 
fotoxx_18.01.1-1.debian.tar.xz
 e4d50e350ed12ba0ec6729d82952ec99113ea08d7178b57f49a63f72965792ed 6731 
fotoxx_18.01.1-1_source.buildinfo
Files:
 3b3d5cd6b6ea4e7dc7efb05544b0d4a5 2049 graphics optional fotoxx_18.01.1-1.dsc
 073d8ba0568627e4907088ce5492ff61 6845211 graphics optional 
fotoxx_18.01.1.orig.tar.gz
 508aad10ac91141c835250539e24151d 5856 graphics optional 
fotoxx_18.01.1-1.debian.tar.xz
 da83fedd370f26de0322dd7de45ba41f 6731 graphics optional 
fotoxx_18.01.1-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE+JIdOnQEyG4RNSIVxxl2mbKbIyoFAlpOeoAACgkQxxl2mbKb
IyoUKg//d6G3Sk8DZ1pV4/ByqI9o+kuYl31k8ncGy/xIjCVBQQ0PT6AQ1wqovsKF
whR63HQpxoppAO821xqbIpeMHAuWrYgcS+6li/4bSMdBHcDCAawoWkQ4ALahS1y8
0K7migmoXqgc9Ie924M659nNHCY2HFIT0rGGLtY2pRp4LG/11MTTEeknt4W4Nmq9
UAzbqxyySXht4Tl7H2RzspNDOatkz5wldVVD3lKW21piRlszYqz0/LwA2TC2xQIr
SVDHq+NjzqcROGzKMTf7mFLWEcNdAvCcbg7ofMoOlLTVdrPSK0XHNdjjz03mK9Uz
PUqx42Vau5sdfGA/soIz8H70A/Jpdtc3lnSp7EWM1kwTJwFyUSFXSfLvrTgWcG/0
XQbTsUcCI1Yr5zFB1jl4riQjobmWb99tGXxw/qaVoJAKT9suaH6FvaAAxy+Cwpk3
LTIH0s1N/yuRVr1u0XlhsWaljvFHm8GnD29IpAagDwN+1lFf7yiF55DR/DAk9bey
cYdLz2MveCVbO8j5aUpHzpIH1EBjiRaCkV5V9pPkFiIGOrA0Vdza7W3er3IJVt0t
WmmANQyQ/Wc8t8OZjTZXeh1sHyL2X/Rrp3p85LSjE5cnQ1Xm8ceidxXE6IR8O5ag
8KfRfAUUKO+aNkhBBXnptY6y6g6pbD7SoabayR9yb27jalIM+Jg=
=Do5s
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to