[pkg-d-commits] [dustmite] 01/01: Initial Debian packaging
Matthias Klumpp
mak at moszumanska.debian.org
Fri Sep 9 16:24:34 UTC 2016
This is an automated email from the git hooks/post-receive script.
mak pushed a commit to branch master
in repository dustmite.
commit caf40d76961668cd4f286b284dcc44743289a32d
Author: Matthias Klumpp <mak at debian.org>
Date: Fri Sep 9 18:05:29 2016 +0200
Initial Debian packaging
---
debian/changelog | 5 +++++
debian/compat | 1 +
debian/control | 37 +++++++++++++++++++++++++++++++++++++
debian/copyright | 8 ++++++++
debian/dustmite.install | 1 +
debian/gbp.conf | 2 ++
debian/rules | 16 ++++++++++++++++
debian/source/format | 1 +
debian/source/local-options | 2 ++
debian/watch | 4 ++++
10 files changed, 77 insertions(+)
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..791bd22
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+dustmite (0~20160808.fab982-1) UNRELEASED; urgency=medium
+
+ * Initial release (Closes: #?)
+
+ -- Matthias Klumpp <mak at debian.org> Fri, 09 Sep 2016 17:52:08 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..804067a
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,37 @@
+Source: dustmite
+Section: devel
+Priority: optional
+Maintainer: Debian D Language Group <pkg-d-devel at lists.alioth.debian.org>
+Uploaders: Matthias Klumpp <mak at debian.org>
+Build-Depends: debhelper (>= 9.0.0),
+ gdc (>= 6)
+Standards-Version: 3.9.8
+Homepage: https://github.com/CyberShadow/DustMite/wiki
+Vcs-Git: https://anonscm.debian.org/git/pkg-d/dustmite.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-d/dustmite.git
+
+Package: dustmite
+Architecture: any
+Depends: ${misc:Depends},
+ ${shlibs:Depends}
+Description: Tool for minimizing D source code
+ DustMite is a tool for minimizing D source code.
+ It was inspired by Tigris Delta and a thread on digitalmars.D.learn.
+ Reducing C++ code also works quite well via --split *.{c,cpp,h,hpp}:d.
+ .
+ DustMite will parse the source code into a simple hierarchy, and attempt
+ to shrink it by deleting fragments iteratively, as long as the result
+ satisfies a user-specified condition.
+ .
+ Its use-cases include:
+ * Reducing compiler bug test cases.
+ * Finding the source of ambiguous or misleading compiler error messages
+ (e.g. errors with the file/line information pointing inside Phobos)
+ * Alternative unit test code coverage (DustMite can remove all code that
+ does not affect the execution of your unit tests).
+ * Similarly, if you have complete test coverage, it can be used for
+ reducing the source tree to a minimal tree which includes support for
+ only enabled unittests.
+ This can be used to create a version of a program or library with a
+ test-defined subset of features.
+ * The --obfuscate option can obfuscate your code's identifiers.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..1864302
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,8 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: dustmite
+Upstream-Contact: Vladimir Panteleev
+Source: https://github.com/CyberShadow/DustMite
+
+Files: *
+Copyright: 2011-2016, Vladimir Panteleev <git at thecybershadow.net>
+License: public-domain
diff --git a/debian/dustmite.install b/debian/dustmite.install
new file mode 100644
index 0000000..d91b78e
--- /dev/null
+++ b/debian/dustmite.install
@@ -0,0 +1 @@
+dustmite /usr/bin/
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..0eef220
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,2 @@
+[buildpackage]
+sign-tags = True
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..e73cb94
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,16 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+#export DH_VERBOSE=1
+
+%:
+ dh $@
+
+override_dh_auto_build:
+ gdc -odustmite \
+ -g -O2 -fstack-protector-strong \
+ -Wl,-z,relro \
+ dustmite.d splitter.d
+
+override_dh_clean:
+ rm -f dustmite
+ dh_clean
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/source/local-options b/debian/source/local-options
new file mode 100644
index 0000000..9cdfca9
--- /dev/null
+++ b/debian/source/local-options
@@ -0,0 +1,2 @@
+unapply-patches
+abort-on-upstream-changes
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..e02452b
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=3
+
+opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/<project>-$1\.tar\.gz/ \
+ https://github.com/CyberShadow/DustMite/tags .*/v?(\d\S*)\.tar\.gz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-d/dustmite.git
More information about the pkg-d-commits
mailing list