Bug#963833: dh_auto_build: libglib update breaks build (GParameters): Patch now available
Package: cjs
Followup-For: Bug #963833
Hello everyone,
It all required a dh_auto_configure override for now until Mint fixes the
deprecation issues.
When building, dh_install wouldn't work-but I didn't do anything about this
because Mint didn't have it fail and neither did our CI. If it continues, I'll
open a new bug to override dh_install if needed.
Attached is a .diff file. Should just need to be applied and hopefully it
works.
-Joshua Peisach
-- System Information:
Debian Release: bullseye/sid
APT prefers focal-updates
APT policy: (500, 'focal-updates'), (500, 'focal-security'), (500, 'focal'), (100, 'focal-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.4.0-37-generic (SMP w/4 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages cjs depends on:
ii libc6 2.31-0ubuntu9
ii libcjs0 4.4.0-4
ii libglib2.0-0 2.64.2-1~fakesync1
ii libstdc++6 10-20200411-0ubuntu1
cjs recommends no packages.
cjs suggests no packages.
-- no debconf information
Index: cjs/debian/control
===================================================================
--- cjs.orig/debian/control
+++ cjs/debian/control
@@ -20,8 +20,10 @@ Build-Depends:
libgtk-3-dev,
libmozjs-52-dev,
libreadline-dev,
+ libxml2-utils,
pkg-kde-tools,
pkg-config,
+ xvfb
Standards-Version: 4.1.4
Homepage: http://cinnamon.linuxmint.com/
Vcs-Browser: https://salsa.debian.org/cinnamon-team/cjs
Index: cjs/debian/rules
===================================================================
--- cjs.orig/debian/rules
+++ cjs/debian/rules
@@ -9,6 +9,21 @@ DEB_HOST_MULTIARCH ?= $(shell dpkg-archi
override_dh_autoreconf:
NOCONFIGURE=1 dh_autoreconf --as-needed ./autogen.sh
+override_dh_auto_configure:
+ ./configure --build=x86_64-linux-gnu \
+ --prefix=/usr \
+ --includedir=\${prefix}/include \
+ --mandir=\${prefix}/share/man \
+ --infodir=\${prefix}/share/info \
+ --sysconfdir=/etc --localstatedir=/var \
+ --disable-silent-rules \
+ --libdir=\${prefix}/lib/x86_64-linux-gnu \
+ --libexecdir=\${prefix}/lib/x86_64-linux-gnu \
+ --runstatedir=/run \
+ --disable-maintainer-mode \
+ --disable-dependency-tracking \
+ --disable-Werror
+
override_dh_gnome_clean:
dh_gnome_clean --no-control
Reply to: