aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2015-03-18 05:01:48 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2015-03-18 05:01:48 +0100
commit117c53eb21b8803c1891e1f0b51bb47f5de5928f (patch)
treedee4aeba1578acee3ce7258f4a3e016091a89121
parente487ceef68f572b4f86ce40481a57a5454cc8c46 (diff)
downloadsciteco-117c53eb21b8803c1891e1f0b51bb47f5de5928f.tar.gz
fixed Debian package: launchpad build servers have broken $TERM configurations
* it also sets the compatibility level to 7 which was required when building for Ubuntu Lucid. This version cannot be supported however since its libglib version is too old.
-rw-r--r--debian/compat2
-rw-r--r--debian/control3
-rwxr-xr-xdebian/rules9
3 files changed, 12 insertions, 2 deletions
diff --git a/debian/compat b/debian/compat
index 45a4fb7..7f8f011 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-8
+7
diff --git a/debian/control b/debian/control
index e60cf5f..4f7b3cd 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,8 @@ Source: sciteco
Section: editors
Priority: optional
Maintainer: Robin Haberkorn <robin.haberkorn@googlemail.com>
-Build-Depends: debhelper (>= 7.4), g++ (>= 4:4.4), libglib2.0-dev, libncurses5-dev
+Build-Depends: debhelper (>= 7.4), g++ (>= 4:4.4),
+ libglib2.0-dev (>= 2.28), ncurses-base, ncurses-term, libncurses5-dev
Standards-Version: 3.9.2
Homepage: http://sciteco.sf.net/
Vcs-Browser: https://github.com/rhaberkorn/sciteco
diff --git a/debian/rules b/debian/rules
index 84c4bc6..c8bea8d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,15 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
+# NOTE: Unsetting $TERM is necessary since the
+# PPA build servers have a broken curses setup.
+# They have $TERM set but do not include the corresponding
+# terminal definitions.
+# This lets SciTECO choose a reasonable default
+# and we've also added some terminal definitions to the
+# build dependencies.
+export TERM=
+
%:
dh $@