uncommitted - ttyplot
Ready changes
Summary
Import uploads missing from VCS:Diff
diff --git a/debian/.gitattributes b/debian/.gitattributes
deleted file mode 100644
index 7560f16..0000000
--- a/debian/.gitattributes
+++ /dev/null
@@ -1,3 +0,0 @@
-.gitattributes export-ignore
-gbp.conf export-ignore
-salsa-ci.yml export-ignore
diff --git a/debian/changelog b/debian/changelog
index 44d51ab..3624399 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+ttyplot (1.4+77.g1a1693b-2) unstable; urgency=medium
+
+ * Source-only upload.
+ * d/control: Add ttyplot-static as part of a static build profile.
+ * d/rules: Adjust CFLAGS and LDLIBS for static build profile.
+
+ -- Daniel Leidert <dleidert@debian.org> Sun, 27 Feb 2022 20:35:27 +0100
+
ttyplot (1.4+77.g1a1693b-1) unstable; urgency=medium
* Initial release. (Closes: #1006521)
diff --git a/debian/control b/debian/control
index 3d185ee..ffc88ed 100644
--- a/debian/control
+++ b/debian/control
@@ -11,12 +11,29 @@ Vcs-Git: https://salsa.debian.org/dleidert/ttyplot.git
Rules-Requires-Root: no
Package: ttyplot
+Build-Profiles: <!pkg.ttyplot.static>
Architecture: any
Multi-Arch: foreign
Depends: ${misc:Depends},
${shlibs:Depends}
-Description: realtime plotting utility for text mode consoles and terminals
+Description: realtime plotting utility for consoles and terminals
ttyplot takes data from standard input or a unix pipeline and plots in text
mode on a terminal in real time. It supports rate calculation for counters
and up to two graphs on a single display using reverse video for the second
line.
+
+Package: ttyplot-static
+Build-Profiles: <pkg.ttyplot.static>
+Architecture: any
+Multi-Arch: foreign
+Depends: ${misc:Depends},
+ ${shlibs:Depends}
+Conflicts: ttyplot
+Replaces: ttyplot
+Description: realtime plotting utility for consoles and terminals (static build)
+ ttyplot takes data from standard input or a unix pipeline and plots in text
+ mode on a terminal in real time. It supports rate calculation for counters
+ and up to two graphs on a single display using reverse video for the second
+ line.
+ .
+ This package contains a statically linked binary.
diff --git a/debian/gbp.conf b/debian/gbp.conf
deleted file mode 100644
index 705edde..0000000
--- a/debian/gbp.conf
+++ /dev/null
@@ -1,10 +0,0 @@
-[DEFAULT]
-notify = off
-pristine-tar = true
-sign-tags = true
-verbose = true
-debian-branch = main
-
-[pq]
-drop = true
-patch-numbers = false
diff --git a/debian/rules b/debian/rules
index 6c42111..5f19b45 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,5 +8,13 @@ include /usr/share/dpkg/buildflags.mk
export PREFIX = $(DESTDIR)/usr
export MANPREFIX = $(PREFIX)/share/man
+ifneq ($(filter pkg.ttyplot.static,$(DEB_BUILD_PROFILES)),)
+CFLAGS += -static
+export LDLIBS = -lncurses -ltinfo
+endif
+
%:
dh $@
+
+override_dh_install:
+ dh_install -A --autodest debian/tmp/*
diff --git a/debian/salsa-ci.yml b/debian/salsa-ci.yml
deleted file mode 100644
index 33c3a64..0000000
--- a/debian/salsa-ci.yml
+++ /dev/null
@@ -1,4 +0,0 @@
----
-include:
- - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml
- - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml
diff --git a/debian/source/local-options b/debian/source/local-options
deleted file mode 100644
index 228e3c7..0000000
--- a/debian/source/local-options
+++ /dev/null
@@ -1 +0,0 @@
-tar-ignore = ".git/"
Debdiff
[The following lists of changes regard files as different if they have different names, permissions or owners.]
Files in second set of .debs but not in first
-rw-r--r-- root/root /usr/lib/debug/.build-id/39/7c06e34393983f3e46765ae401ef2a88cc6ab3.debug
Files in first set of .debs but not in second
-rw-r--r-- root/root /usr/lib/debug/.build-id/e5/769144b61011b6c3abd8faf383c293dafd0b93.debug
Control files of package ttyplot: lines which differ (wdiff format)
Depends: libc6 (>= 2.7), 2.34), libncurses6 (>= 6), libtinfo6 (>= 6)
Description: realtime plotting utility for text mode consoles and terminals
Control files of package ttyplot-dbgsym: lines which differ (wdiff format)
Build-Ids: e5769144b61011b6c3abd8faf383c293dafd0b93 397c06e34393983f3e46765ae401ef2a88cc6ab3