summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorDmitry Bogatov <KAction@gnu.org>2017-01-13 08:54:43 +0300
committerDmitry Bogatov <KAction@gnu.org>2017-01-13 08:54:43 +0300
commite6a8b1957cd85b0bf6fa6119e5015936786f50f5 (patch)
tree1eafbb4b50f9eec283bdddc98cb951d37ef7a66a /debian
parent8cf480a7cc9bb96db003412e68d2adb6c79f0f01 (diff)
Commit Debian 3.0 (quilt) metadata
[dgit (3.1) quilt-fixup]
Diffstat (limited to 'debian')
-rw-r--r--debian/patches/debian-changes36
-rw-r--r--debian/patches/fix-installation-paths23
-rw-r--r--debian/patches/respect-flags-passed-by-debhelper23
-rw-r--r--debian/patches/series3
4 files changed, 37 insertions, 48 deletions
diff --git a/debian/patches/debian-changes b/debian/patches/debian-changes
new file mode 100644
index 0000000..78e42ed
--- /dev/null
+++ b/debian/patches/debian-changes
@@ -0,0 +1,36 @@
+The Debian packaging of farbfeld is maintained using dgit. For the sake
+of an efficient workflow, Debian modifications to the upstream
+source are squashed into a single diff, rather than a series of
+quilt patches. To obtain a patch queue for package version
+2.20170109-1:
+
+ # apt-get install dgit
+ % dgit clone foo
+ % cd foo
+ % git log --oneline 2.20170109-1..debian/2.20170109 -- . ':!debian'
+--- farbfeld-2.20170109.orig/config.mk
++++ farbfeld-2.20170109/config.mk
+@@ -4,8 +4,8 @@ VERSION = 2
+ # Customize below to fit your system
+
+ # paths
+-PREFIX = /usr/local
+-MANPREFIX = ${PREFIX}/man
++PREFIX = /usr
++MANPREFIX = ${PREFIX}/share/man
+
+ PNGLIB = /usr/local/lib
+ PNGINC = /usr/local/include
+@@ -17,9 +17,9 @@ INCS =
+ LIBS =
+
+ # flags
+-CPPFLAGS = -D_DEFAULT_SOURCE
+-CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS}
+-LDFLAGS = -s ${LIBS}
++CPPFLAGS += -D_DEFAULT_SOURCE
++CFLAGS += -std=c99 -pedantic -Wall -Os ${INCS}
++LDFLAGS += -s ${LIBS}
+
+ # compiler and linker
+ CC = cc
diff --git a/debian/patches/fix-installation-paths b/debian/patches/fix-installation-paths
deleted file mode 100644
index f4b6a26..0000000
--- a/debian/patches/fix-installation-paths
+++ /dev/null
@@ -1,23 +0,0 @@
-From: Dmitry Bogatov <KAction@gnu.org>
-Date: Thu, 12 Jan 2017 14:24:35 +0300
-X-Dgit-Generated: 2.20170109-1 39b48232f24a32481cd68b4482ed0ec24ea40220
-Subject: Fix installation paths
-
- * prefix=/usr
- * manpath=/usr/share/man
-
----
-
---- farbfeld-2.20170109.orig/config.mk
-+++ farbfeld-2.20170109/config.mk
-@@ -4,8 +4,8 @@ VERSION = 2
- # Customize below to fit your system
-
- # paths
--PREFIX = /usr/local
--MANPREFIX = ${PREFIX}/man
-+PREFIX = /usr
-+MANPREFIX = ${PREFIX}/share/man
-
- PNGLIB = /usr/local/lib
- PNGINC = /usr/local/include
diff --git a/debian/patches/respect-flags-passed-by-debhelper b/debian/patches/respect-flags-passed-by-debhelper
deleted file mode 100644
index ee5fbc4..0000000
--- a/debian/patches/respect-flags-passed-by-debhelper
+++ /dev/null
@@ -1,23 +0,0 @@
-From: Dmitry Bogatov <KAction@gnu.org>
-Date: Thu, 12 Jan 2017 14:30:25 +0300
-X-Dgit-Generated: 2.20170109-1 3f2edacf422c4096bc36e172f72e0088a24cd2a3
-Subject: Respect FLAGS passed by debhelper
-
-
----
-
---- farbfeld-2.20170109.orig/config.mk
-+++ farbfeld-2.20170109/config.mk
-@@ -17,9 +17,9 @@ INCS =
- LIBS =
-
- # flags
--CPPFLAGS = -D_DEFAULT_SOURCE
--CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS}
--LDFLAGS = -s ${LIBS}
-+CPPFLAGS += -D_DEFAULT_SOURCE
-+CFLAGS += -std=c99 -pedantic -Wall -Os ${INCS}
-+LDFLAGS += -s ${LIBS}
-
- # compiler and linker
- CC = cc
diff --git a/debian/patches/series b/debian/patches/series
index 95486a2..7bb8252 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1 @@
-fix-installation-paths
-respect-flags-passed-by-debhelper
+debian-changes