--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: aewm FTCBFS: uses the build architecture pkg-config
- From: Helmut Grohne <helmut@subdivi.de>
- Date: Sat, 27 Jul 2019 21:28:50 +0200
- Message-id: <20190727192850.GA25179@alf.mars>
Source: aewm
Version: 1.3.12-5
Tags: patch upstream
User: debian-cross@lists.debian.org
Usertags: ftcbfs
aewm fails to cross build from source, because the upstream Makefile
hard codes the build architecture pkg-config. The attached patch makes
pkg-config substitutable. Please consider applying it.
Helmut
--- aewm-1.3.12.orig/Makefile
+++ aewm-1.3.12/Makefile
@@ -1,6 +1,8 @@
# aewm - Copyright 1998-2007 Decklin Foster <decklin@red-bean.com>.
# This program is free software; see LICENSE for details.
+PKG_CONFIG ?= pkg-config
+
# Set this to the location where you want to install
DESTDIR =
XROOT = /usr
@@ -10,8 +12,8 @@
OPT_WMLIB += -lXext
# Uncomment to add Xft support
-OPT_WMFLAGS += -DXFT `pkg-config --cflags xft`
-OPT_WMLIB += `pkg-config --libs xft` -lXext
+OPT_WMFLAGS += -DXFT `$(PKG_CONFIG) --cflags xft`
+OPT_WMLIB += `$(PKG_CONFIG) --libs xft` -lXext
# Uncomment for debugging (abandon all hope, ye who enter here)
#OPT_WMFLAGS += -DDEBUG
@@ -46,7 +48,7 @@
X11FLAGS = -I$(XROOT)/include
WMFLAGS = $(X11FLAGS) $(OPT_WMFLAGS)
-GTKFLAGS = `pkg-config --cflags gtk+-2.0`
+GTKFLAGS = `$(PKG_CONFIG) --cflags gtk+-2.0`
$(PLAINOBJ): %.o: %.c
$(CC) $(CPPFLAGS) $(CFLAGS) -c $< -o $@
@@ -62,7 +64,7 @@
X11LIB = -L$(XROOT)/lib -lX11
WMLIB = $(X11LIB) $(OPT_WMLIB)
-GTKLIB = `pkg-config --libs gtk+-2.0` -lX11
+GTKLIB = `$(PKG_CONFIG) --libs gtk+-2.0` -lX11
$(PLAINBIN): %: %.o
$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) $^ -o $@
--- End Message ---
--- Begin Message ---
Source: aewm
Source-Version: 1.3.12-5
Done: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
We believe that the bug you reported is fixed in the latest version of
aewm, 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 933233@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Sudip Mukherjee <sudipm.mukherjee@gmail.com> (supplier of updated aewm 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 ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Mon, 17 Feb 2020 23:04:48 +0000
Source: aewm
Architecture: source
Version: 1.3.12-5
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Closes: 933233
Changes:
aewm (1.3.12-5) unstable; urgency=medium
.
* QA upload.
* Update Standards-Version to 4.5.0
* Fix FTCBFS. (Closes: #933233)
* Add Vcs link for salsa.
Checksums-Sha1:
a44ff955f58d8f6b2bab8724a40d12eca6875c57 1926 aewm_1.3.12-5.dsc
11c2fcf78cf76a651d29c354f7dc7640150fb550 7504 aewm_1.3.12-5.debian.tar.xz
baef999ef9893c007110fe3fde52dc16c78d3c7b 10452 aewm_1.3.12-5_source.buildinfo
Checksums-Sha256:
6fe5ceb2f45fd5edf1b4b5d73cc218a15c9f4b102162ca9c3de3de89f29b1985 1926 aewm_1.3.12-5.dsc
e1a4a2a7a8dc5adb3d93f66c12238b9f05f659aa3df528984487dc6965e06803 7504 aewm_1.3.12-5.debian.tar.xz
1a27207a7327e41c4e5dba3add20cbd249657a39bb8efe1a8c90b23a552ff24a 10452 aewm_1.3.12-5_source.buildinfo
Files:
94f3e6a5487a295c4fe2be714dc47490 1926 x11 optional aewm_1.3.12-5.dsc
25a5044b545efe937417586f1f4e1ad6 7504 x11 optional aewm_1.3.12-5.debian.tar.xz
f5af96de9d1e7bcdd82fa4c094668422 10452 x11 optional aewm_1.3.12-5_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEkjZVexcMh/iCHArDweDZLphvfH4FAl5Nc9kACgkQweDZLphv
fH6J9xAArWmaQ+jAZWDAGKntGGLAqaL3BiS0eiZyUiqsbUU/QrnhxofrAy4ftsv6
pB9u9klUNwm2ZWK8DyVan3Nuy544QWPuNTuu6Rr1vnmGmgJOJ1yI8Kre233vZyeS
n0zi6PZsxzvwAaMru6CvknuHyZKuNyTZWKz45Pa7HomISIJ/Jpg/rW+n4Q/mHiGi
Wa7+tooc6xdai7DdIjcfCCpPoU9QiBOn0RFMp9omqqOUlewXwoQS+tzWWeLvBxzv
4iujKWhlNo/G4A5ZNN41R4ZP3Ed1FUZCs12rMpeBN1TE0AqLEdzIh/staSILO1eO
6M36rt/Q23Jf1uHAQbYuDwijWmysY6NCjOZd2irg7wCJbQVjQRZIUBFcMRzR33uY
yNw80tDz6wxDBFQHBuwkXu+WnnY/95dAtsk8P9T6zVZxVu7rUVJ4zTgW9ukTc5GK
YuH5pA6SOreMNkssX+l92Ug/2R9eHJFZ02RoxgT2t47uRrqwuA8lEylZp02z03Rt
PoYz3XyPbtHGOJZVpHhoObEoDCGeRBoT0QqqeJ8OHSZliWBKZhqjRKcLsG7zCcl0
JIEsHMT/RYctBqWr/bKiRmmHs0kY6hup3eHnwB4/Eb2fIIHADiH+InzrYsDoPRyq
LIu/KfpciN/BPISOD5QgATnPv9oz64UUhhqps3fCWRfvimD3aqU=
=vnyv
-----END PGP SIGNATURE-----
--- End Message ---