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

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



Source: subversion
Severity: normal
Tags: patch
User: debian-ia64@lists.debian.org
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
--- 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.

Reply to: