Bug#929326: subversion: please add pkg.subversion.nokde build profile

Jason Duerstock <[email protected]>
Newsgroups gmane.linux.debian.ports.ia64
Message-ID <155846423193.19723.6179770107632806290.reportbug__19623.0433460855$1558464328$gmane$org@netsvcs1.gallaudet.edu>
Source: subversion
Severity: normal
Tags: patch
User: [email protected]
Usertags: ia64

Dear Maintainer,

Subversion currently depends on KDE in order to build, which creates an
excessive build dependency chain.  Please accept the following patch
which adds a pkg.subversion.nokde build profile that removes the KDE
dependency requirement.

-- System Information:
Debian Release: 10.0
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: ia64

Kernel: Linux 4.19.0-5-mckinley (SMP w/2 CPU cores)
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
subversion.patch.1 (text/plain, 1.2 KB)
--- debian/control	2019-05-21 14:32:14.938904862 -0400
+++ debian/control	2019-05-21 14:32:25.070975575 -0400
@@ -17,9 +17,9 @@
                libdb5.3-dev,
                libdbus-1-dev,
                liblz4-dev (>= 0.0~r129),
-               libkf5coreaddons-dev,
-               libkf5i18n-dev,
-               libkf5wallet-dev,
+               libkf5coreaddons-dev <!pkg.subversion.nokde>,
+               libkf5i18n-dev <!pkg.subversion.nokde>,
+               libkf5wallet-dev <!pkg.subversion.nokde>,
                libperl-dev,
                libsasl2-dev,
                libsecret-1-dev,
--- debian/rules	2019-05-21 14:32:09.770868795 -0400
+++ debian/rules	2019-05-21 14:32:20.826945955 -0400
@@ -89,7 +89,6 @@
 		--with-editor=/usr/bin/editor \
 		--with-ruby-sitedir=/usr/lib/ruby \
 		--with-swig=/usr/bin/swig \
-		--with-kwallet=/usr/include:$(libdir) \
 		--with-lz4 \
 		--with-utf8proc \
 		CFLAGS="$(CFLAGS)" \
@@ -102,6 +101,10 @@
   confflags+= --enable-debug
 endif
 
+ifeq ($(filter pkg.subversion.nokde,$(DEB_BUILD_PROFILES)),)
+  confflags+= --with-kwallet=/usr/include:$(libdir)
+endif
+
 export DH_OPTIONS
 ifdef DEB_OPT_WITH_JAVAHL
   # jikes 1.22 cannot compile javahl.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.