[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#951754: marked as done (libxkbcommon: allow to compile again on !linux archs)



Your message dated Thu, 15 Oct 2020 22:00:20 +0000
with message-id <E1kTBIK-00033u-5I@fasolo.debian.org>
and subject line Bug#951754: fixed in libxkbcommon 1.0.0-1
has caused the Debian Bug report #951754,
regarding libxkbcommon: allow to compile again on !linux archs
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 owner@bugs.debian.org
immediately.)


-- 
951754: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=951754
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: libxkbcommon
Version: 0.9.1-1
Severity: important
Tags: patch
Control: found -1 0.10.0-1

Hi,

starting from 0.9.1-1, libxkbcommon cannot be built on non-Linux
architectures due to the unconditional Wayland-related build
dependencies. Considering that Wayland is Linux-specific, and the usage
of it is only in a demo/test, it is possible to restrict its usage only
on Linux architectures.

Patch attached for this.

Thanks,
-- 
Pino
--- a/debian/control
+++ b/debian/control
@@ -13,10 +13,10 @@ Build-Depends:
  meson,
  pkg-config,
  quilt,
- libwayland-dev,
+ libwayland-dev [linux-any],
  libx11-dev,
  libxcb-xkb-dev (>= 1.10),
- wayland-protocols,
+ wayland-protocols [linux-any],
  x11-xkb-utils,
  x11proto-core-dev,
  x11proto-kb-dev (>= 1.0.5),
--- a/debian/rules
+++ b/debian/rules
@@ -1,9 +1,15 @@
 #!/usr/bin/make -f
 
+include /usr/share/dpkg/architecture.mk
+
+ifneq ($(DEB_HOST_ARCH_OS),linux)
+	extra_meson_args+="-Denable-wayland=false"
+endif
+
 # We need to point to xkb-data's files. The default should be OK but
 # let's be cautious:
 override_dh_auto_configure:
-	dh_auto_configure -- -Dxkb-config-root=/usr/share/X11/xkb
+	dh_auto_configure -- -Dxkb-config-root=/usr/share/X11/xkb $(extra_meson_args)
 
 # Kill *.la files, and forget no-one:
 override_dh_install:

--- End Message ---
--- Begin Message ---
Source: libxkbcommon
Source-Version: 1.0.0-1
Done: Timo Aaltonen <tjaalton@debian.org>

We believe that the bug you reported is fixed in the latest version of
libxkbcommon, 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 951754@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Timo Aaltonen <tjaalton@debian.org> (supplier of updated libxkbcommon 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: Thu, 10 Sep 2020 14:14:57 +0300
Source: libxkbcommon
Binary: libxkbcommon-dev libxkbcommon-doc libxkbcommon-tools libxkbcommon-x11-0 libxkbcommon-x11-dev libxkbcommon0 libxkbregistry-dev libxkbregistry0
Architecture: source amd64 all
Version: 1.0.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
Changed-By: Timo Aaltonen <tjaalton@debian.org>
Description:
 libxkbcommon-dev - library interface to the XKB compiler - development files
 libxkbcommon-doc - library interface to the XKB compiler - documentation
 libxkbcommon-tools - library interface to the XKB compiler - tools
 libxkbcommon-x11-0 - library to create keymaps with the XKB X11 protocol
 libxkbcommon-x11-dev - library to create keymaps with the XKB X11 protocol - development
 libxkbcommon0 - library interface to the XKB compiler - shared library
 libxkbregistry-dev - library to query available RMLVO - development files
 libxkbregistry0 - library to query available RMLVO
Closes: 951754
Changes:
 libxkbcommon (1.0.0-1) unstable; urgency=medium
 .
   * New upstream release.
   * control: Migrate to x11proto-dev.
   * Enable wayland build only on linux. (Closes: #951754)
   * control: Add libxml2-dev to build-depends.
   * symbols: Updated.
   * Add libxkbregistry{0,-dev} and libxkbcommon-tools.
   * control: Bump policy to 4.5.0.
Checksums-Sha1:
 77bcc901b54eb7368dd178b9242e85b14e2f3f83 2651 libxkbcommon_1.0.0-1.dsc
 820aa1fa285c9535b8fd5355bc92ddb522977314 634605 libxkbcommon_1.0.0.orig.tar.gz
 6026ade2bdbe8672660e05d3fd667c0079282ef1 30978 libxkbcommon_1.0.0-1.diff.gz
 1d9d20a1254067e49b2eeb4455d74969aeedbc4a 72300 libxkbcommon-dev_1.0.0-1_amd64.deb
 867045749defbcaebd513e0ee04c19b261b78548 242620 libxkbcommon-doc_1.0.0-1_all.deb
 b8690a37f8225d1da6571d2480fb96f2c9838219 116620 libxkbcommon-tools_1.0.0-1_amd64.deb
 1f9ed456a3a1ed2721f339158eacfe302f8c33a6 74520 libxkbcommon-x11-0_1.0.0-1_amd64.deb
 8bd5195f3c91a6cd19be3053a7edd95d6dc103ac 31872 libxkbcommon-x11-dev_1.0.0-1_amd64.deb
 b7c5ac8b935fdf063332b381891ef76d77cf65c4 336868 libxkbcommon0_1.0.0-1_amd64.deb
 acb1c8cff36f5cf6e3d3108e2d4e0029f8cf766a 12290 libxkbcommon_1.0.0-1_amd64.buildinfo
 7767ad1d0e50444ecd1eb1910f85a20ac66f6a35 34180 libxkbregistry-dev_1.0.0-1_amd64.deb
 0f3dcfb4b91586d5a2e3153dbd63016716d57b6b 64996 libxkbregistry0_1.0.0-1_amd64.deb
Checksums-Sha256:
 384ce095a3cb14d62d3fc28102ba48429191cb388ec9db657a3ef323edc118ae 2651 libxkbcommon_1.0.0-1.dsc
 f51473e914095bd7d8dbce6fd732b5e643ef12a2a145baa2219fae537061d875 634605 libxkbcommon_1.0.0.orig.tar.gz
 19a8fff9d22192b059f047faf580bd87298405d50d2570bbfa936cec9b77f489 30978 libxkbcommon_1.0.0-1.diff.gz
 2b8505187a17aee1d85e3b41574505219cf8445f4e98b06910517dad836793ab 72300 libxkbcommon-dev_1.0.0-1_amd64.deb
 63a1b05f97d90a646a266391349b782992ed8774cb69fd28b0248254c16f7b54 242620 libxkbcommon-doc_1.0.0-1_all.deb
 8ff69cf9cd56fc4bef3e83b8ce25bb19335e4ac28035b9319a5a104a1a6fa2ff 116620 libxkbcommon-tools_1.0.0-1_amd64.deb
 04a850ba4247e059707dd33826b085595289c7c93564d9df2f03ff950230e2c6 74520 libxkbcommon-x11-0_1.0.0-1_amd64.deb
 e2758483fdd7652cd810af26905e4b856766f0016de63b6264adb20e704376c8 31872 libxkbcommon-x11-dev_1.0.0-1_amd64.deb
 2cc5cb24d9379f039eb6719d931464548457a967cc0188de9c4a1e0ce821f517 336868 libxkbcommon0_1.0.0-1_amd64.deb
 3d04d50185c710b615fe7d17a26059b9b997ec973bc9c0035a35de24b3ca8ece 12290 libxkbcommon_1.0.0-1_amd64.buildinfo
 644eeeb492df1c23daf71e10ca60b9455b24e84f157b87a2916c991274cc2384 34180 libxkbregistry-dev_1.0.0-1_amd64.deb
 15e90265ecbd9c79d8c7408430921d26a8245be57cd4a23002e9c99af59d1f41 64996 libxkbregistry0_1.0.0-1_amd64.deb
Files:
 07ef2b6e32f43d00d650315ba3723e86 2651 x11 optional libxkbcommon_1.0.0-1.dsc
 f566c3c1a2aecf6fb64dc244e8a7ecc9 634605 x11 optional libxkbcommon_1.0.0.orig.tar.gz
 1d0a30ad594fce5fa460d69ccc0efcf0 30978 x11 optional libxkbcommon_1.0.0-1.diff.gz
 eeb896b80f5cd5fd2f0841a5ecfcb9af 72300 libdevel optional libxkbcommon-dev_1.0.0-1_amd64.deb
 fa7e96f9cd297f8ee35fe6c3dd26c17d 242620 doc optional libxkbcommon-doc_1.0.0-1_all.deb
 ef77cf66cfcfe2299fc3944bc2911386 116620 graphics optional libxkbcommon-tools_1.0.0-1_amd64.deb
 92f90f9d207e03b669659dd0067c165c 74520 libs optional libxkbcommon-x11-0_1.0.0-1_amd64.deb
 32d3b847a489ebc9926bf229a8a0a2cb 31872 libdevel optional libxkbcommon-x11-dev_1.0.0-1_amd64.deb
 67724be091fb86814fb4d6d9663eda31 336868 libs optional libxkbcommon0_1.0.0-1_amd64.deb
 e9ce674a6dfeb87ea30f8163d45ca82a 12290 x11 optional libxkbcommon_1.0.0-1_amd64.buildinfo
 6be8e1fd42e66894c858247c658461f7 34180 libdevel optional libxkbregistry-dev_1.0.0-1_amd64.deb
 3a7c86a85b1b294c2454237a7f50620d 64996 libs optional libxkbregistry0_1.0.0-1_amd64.deb

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

iQIzBAEBCgAdFiEEdS3ifE3rFwGbS2Yjy3AxZaiJhNwFAl9aDn0ACgkQy3AxZaiJ
hNwd/BAAk8xI/+HIfrZJwZNvqm6g7B7O72V5TFJrD6p72Pv8nP8V4nEuc7kKAtZ9
GZKEnJkDRmZqQ76dcuY878V7zEcn2oObpzKotX64RLpQVRJFSTi81LbEyQMBr+MW
09yp7pKkmvujNhmBLgrY/OZFY22DoTzBM3N8kbLTiGuf4DaLcR4UNVJqBWdK2NrU
+lZRDHAMEBsXZTERVr5SUHWWtIGYIcY1rP5DtBRlvrYvei5iIbWeS3PtXPnam4GU
hD4kkjCgn7TbMPk1wCF4S5fADIRT07ngT5Pqb+OAWi2fCnM663kneihJ2YFZGTQx
nOlfGud1VxTdDRirBVKEbKBvCljQcsjKvGreOp9DJgTey24xW0rWEvGAhY03Gqqk
qrmk/+pw34at3G2+XKCBanQ9cRopaortt2c+Ttq/nnrTUUTt73d0MYAsoiSTYDOk
ZvZwA3o40EfQBChHi0s/a7EhdsKMQs2Yd/jog+gEz+4AFk2DSmSt/uMl7kLsOE9Y
NlnfJGa/beo0oj9eGNtJl1eVYV4tRtyLf596WJ/Xlog1gwoGIrSVePOwMoRIs6g6
JF/v31GQcQBAhpQJPA/y+ypYvHih4HsN99Noz2gMTNttklxLrddn3lViq+bTXHzv
pF3gAyUZhV/k25hdR9tWI1UUkkdx8I0clDx+sqT9CQY/zy/m8xg=
=iyy/
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: