Your message dated Fri, 14 Mar 2025 17:12:15 +0000
with message-id <[email protected]>
and subject line Bug#878387: fixed in gtk-theme-switch 2.1.0-6
has caused the Debian Bug report #878387,
regarding gtk-theme-switch FTCBFS: uses the build architecture toolchain
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.)


-- 
878387: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=878387
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: gtk-theme-switch
Version: 2.1.0-5
Tags: patch
User: [email protected]
Usertags: rebootstrap

gtk-theme-switch fails to cross build from source, because it uses the
build architecture toolchain. Using dh_auto_build improves that, but the
upstream Makefile calls the compiler $(GCC) rather than $(CC) and does
not allow substituting pkg-config. After fixing all of that,
gtk-theme-switch cross builds successfully. Please consider applying the
attached patch.

Helmut
diff --minimal -Nru gtk-theme-switch-2.1.0/debian/changelog 
gtk-theme-switch-2.1.0/debian/changelog
--- gtk-theme-switch-2.1.0/debian/changelog     2014-10-26 17:36:30.000000000 
+0100
+++ gtk-theme-switch-2.1.0/debian/changelog     2017-10-13 11:52:28.000000000 
+0200
@@ -1,3 +1,12 @@
+gtk-theme-switch (2.1.0-5.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: (Closes: #-1)
+    + Let dh_auto_build pass cross tools to make.
+    + Add cross.patch.
+
+ -- Helmut Grohne <[email protected]>  Fri, 13 Oct 2017 11:52:28 +0200
+
 gtk-theme-switch (2.1.0-5) unstable; urgency=medium
 
   * Fix d/copyright (Closes: #766869)
diff --minimal -Nru gtk-theme-switch-2.1.0/debian/patches/cross.patch 
gtk-theme-switch-2.1.0/debian/patches/cross.patch
--- gtk-theme-switch-2.1.0/debian/patches/cross.patch   1970-01-01 
01:00:00.000000000 +0100
+++ gtk-theme-switch-2.1.0/debian/patches/cross.patch   2017-10-13 
11:52:28.000000000 +0200
@@ -0,0 +1,22 @@
+From: Helmut Grohne <[email protected]>
+Subject: make pkg-config substitutable for cross compilation
+
+Index: gtk-theme-switch-2.1.0/Makefile
+===================================================================
+--- gtk-theme-switch-2.1.0.orig/Makefile
++++ gtk-theme-switch-2.1.0/Makefile
+@@ -24,11 +24,12 @@
+ #=========================================================================
+ 
+ GCC = gcc
++PKG_CONFIG ?= pkg-config
+ PREFIX=/usr/local
+ CFLAGS = -g -O2 -Wall
+-CFLAGS_GTK2 = $(shell pkg-config gtk+-2.0 --cflags)
++CFLAGS_GTK2 = $(shell $(PKG_CONFIG) gtk+-2.0 --cflags)
+ 
+-LIBS_GTK2 = $(shell pkg-config gtk+-2.0 --libs)
++LIBS_GTK2 = $(shell $(PKG_CONFIG) gtk+-2.0 --libs)
+ 
+ VERSION = 2.1.0
+ 
diff --minimal -Nru gtk-theme-switch-2.1.0/debian/patches/series 
gtk-theme-switch-2.1.0/debian/patches/series
--- gtk-theme-switch-2.1.0/debian/patches/series        2014-10-26 
17:25:20.000000000 +0100
+++ gtk-theme-switch-2.1.0/debian/patches/series        2017-10-13 
11:52:10.000000000 +0200
@@ -2,3 +2,4 @@
 exit-cleanly-when-we-have-no-homedir.patch
 escape-theme-name-in-system.patch
 manpage-remove-eol-whitespace-and-fix-title.patch
+cross.patch
diff --minimal -Nru gtk-theme-switch-2.1.0/debian/rules 
gtk-theme-switch-2.1.0/debian/rules
--- gtk-theme-switch-2.1.0/debian/rules 2013-12-04 14:08:26.000000000 +0100
+++ gtk-theme-switch-2.1.0/debian/rules 2017-10-13 11:52:04.000000000 +0200
@@ -2,6 +2,6 @@
 %:
        dh $@
 override_dh_auto_build:
-       make CFLAGS="$(shell dpkg-buildflags --get CFLAGS) $(shell 
dpkg-buildflags --get LDFLAGS) $(shell dpkg-buildflags --get CPPFLAGS)" 
LIBS_GTK2="-lgtk-x11-2.0 -lgdk-x11-2.0 -lgobject-2.0 -lglib-2.0"
+       dh_auto_build -- GCC='$$(CC)' CFLAGS="$(shell dpkg-buildflags --get 
CFLAGS) $(shell dpkg-buildflags --get LDFLAGS) $(shell dpkg-buildflags --get 
CPPFLAGS)" LIBS_GTK2="-lgtk-x11-2.0 -lgdk-x11-2.0 -lgobject-2.0 -lglib-2.0"
 override_dh_auto_install:
 

--- End Message ---
--- Begin Message ---
Source: gtk-theme-switch
Source-Version: 2.1.0-6
Done: Andreas Tille <[email protected]>

We believe that the bug you reported is fixed in the latest version of
gtk-theme-switch, 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.
Andreas Tille <[email protected]> (supplier of updated gtk-theme-switch 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: Tue, 04 Mar 2025 16:47:26 +0100
Source: gtk-theme-switch
Architecture: source
Version: 2.1.0-6
Distribution: unstable
Urgency: medium
Maintainer: Package Salvaging Team <[email protected]>
Changed-By: Andreas Tille <[email protected]>
Closes: 878387 1095734
Changes:
 gtk-theme-switch (2.1.0-6) unstable; urgency=medium
 .
   [ Andreas Tille ]
   * Maintain package in Salvage team
     Closes: #1095734
   * Point Homepage to webarchive
   * Standards-Version: 4.7.0 (routine-update)
   * debhelper-compat 13 (routine-update)
   * Secure URI in copyright format (routine-update)
   * Fake watch file since upstream site vanished
   * Trim trailing whitespace.
 .
   [ Helmut Grohne ]
   * Fix FTCBFS: (Closes: #878387)
     + Let dh_auto_build pass cross tools to make.
     + Add cross.patch.
Checksums-Sha1:
 d847b8df08421e46b55847f41b926b15a3c7d5fc 2114 gtk-theme-switch_2.1.0-6.dsc
 4899d266051102243c0b2a7208c699493a135a35 7296 
gtk-theme-switch_2.1.0-6.debian.tar.xz
 6688e81bbfe3068a0b8c7cdcd5ebad75a904edc3 11958 
gtk-theme-switch_2.1.0-6_amd64.buildinfo
Checksums-Sha256:
 6b1e2175016d33b657dc6aca35180f8240f978f06fa6d1cb87b30876647ea6ec 2114 
gtk-theme-switch_2.1.0-6.dsc
 2c7a1c5fbb07e1cedd781e7e37d23fcddbdba2a6c9166b9d6b6f78b10a722759 7296 
gtk-theme-switch_2.1.0-6.debian.tar.xz
 6e2c5b445d030053407def6f05285e52ce046d96980cc75b9f49b0d7497cc690 11958 
gtk-theme-switch_2.1.0-6_amd64.buildinfo
Files:
 3f559e02b740ffced3f4dd912877bc8d 2114 x11 optional gtk-theme-switch_2.1.0-6.dsc
 95d032629a771020139cd2e84b2e8904 7296 x11 optional 
gtk-theme-switch_2.1.0-6.debian.tar.xz
 3494ec22baf3cd22eaf30af94fdb1f85 11958 x11 optional 
gtk-theme-switch_2.1.0-6_amd64.buildinfo

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

iQJEBAEBCgAvFiEE8fAHMgoDVUHwpmPKV4oElNHGRtEFAmfHJvQRHHRpbGxlQGRl
Ymlhbi5vcmcACgkQV4oElNHGRtFbzQ/4rWdQ725tTDIN8ypp2HVErYFQil2rh3EI
4LZXhymZ2PA1B2JvJRtkWF3vFysghycgeCfC+hS+zESwF2/JDKPezWIBVBFct1wh
JdXQ2p4ZEy521Fz62Ea33KIntIIfbofxSeDP1qsXdfPv5MqB0MgWL3fmuqFANnVh
pCoP7EBa0tmO6siWZGoviMUaiA15iwvQyVxLMs/SfgwGGoX6lNAfS+F9uZjJwkx6
FkEG5obDI9cIfcErv8JpmzNkDypqgNiNq6xjKH1jDyolI2LQGqEAX4z8VH25F1H/
0PArc/IyavGd1sV2uE5JQntl/bPwW1CvZ7nfFA+GshvezTX1PYvvw1G1eIhDvVXe
TH+xgOE+Go+beanDClE0wBCsUOirPaSb0TjkpuOYJvkQ0etgnmgGkS1ZQZof8mir
RkUV5yNWR4or7dEDPWrw+vCkF2gsiWVkX2FsUX11/eTnT0jcYIWhVOdAxEd8GPG2
csvI3SnfMjUXNpcUEhisjD1RO5s5J2Kxq6++PCA9sgBbtGKoD9klwT29vrHRHG7D
zCT/kgFMexRqupmZoGngXrJ00PIj7Oeq5M0pZNiw0gBbGxx1quw+XxFKLAqz/+gC
FZq9vZmezOTW005Ld8GCDiyLHVKQhQ/N2dXRm63CHuVOrSem0c4qT1tPi8XY1L7S
ehslOQNBzQ==
=qnmS
-----END PGP SIGNATURE-----

Attachment: pgp6hodQTuc3s.pgp
Description: PGP signature


--- End Message ---

Reply via email to