summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-04-02 07:40:39 +0300
committerLars Wirzenius <liw@liw.fi>2021-04-02 11:56:56 +0300
commit2608402e2bf194c5fa088dbbc8eac9d78cbf27fc (patch)
tree2f5b4d5597308eb9a2c23dd63baaaa58aae9ebb3
parente4e40eb0cae0bd4a01e0cacf896095db6ac0d78d (diff)
downloadjt2-2608402e2bf194c5fa088dbbc8eac9d78cbf27fc.tar.gz
build: add Debian packaging
-rw-r--r--debian/cargo-checksum.json0
-rw-r--r--debian/changelog6
-rw-r--r--debian/compat2
-rw-r--r--debian/control24
-rw-r--r--debian/copyright23
-rwxr-xr-xdebian/rules14
-rw-r--r--debian/source/format1
7 files changed, 70 insertions, 0 deletions
diff --git a/debian/cargo-checksum.json b/debian/cargo-checksum.json
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/debian/cargo-checksum.json
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..ec6edc0
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+jt2 (0.1.0-1) UNRELEASED; urgency=medium
+
+ * Initial packaging. This is not intended to be uploaded to Debian, so
+ no closing of an ITP bug.
+
+ -- Lars Wirzenius <liw@liw.fi> Sat, 28 Sep 2019 16:45:49 +0300
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..021ea30
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1,2 @@
+10
+
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..85c7d40
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,24 @@
+Source: jt2
+Maintainer: Lars Wirzenius <liw@liw.fi>
+Section: misc
+Priority: optional
+Standards-Version: 4.2.0
+Build-Depends:
+ debhelper (>= 10~),
+ build-essential,
+ black,
+ dh-cargo,
+ moreutils,
+ python3,
+ subplot,
+ texlive-fonts-recommended,
+ texlive-latex-base,
+ texlive-latex-recommended
+Homepage: https://jt2.liw.fi
+
+Package: jt2
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Built-Using: ${cargo:Built-Using}
+Description: personal journalling tool
+ jt adds entries to a personal journal.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..7ee7188
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,23 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: jt2
+Upstream-Contact: Lars Wirzenius <liw@liw.fi>
+Source: http://git.liw.fi/jt2
+
+Files: *
+Copyright: 2021, Lars Wirzenius, Daniel Silverstone
+License: GPL-3+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+ .
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+ .
+ On a Debian system, you can find a copy of GPL version 3 at
+ /usr/share/common-licenses/GPL-3 .
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..2aece9a
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,14 @@
+#!/usr/bin/make -f
+
+%:
+ dh $@ --buildsystem cargo
+
+override_dh_auto_build:
+ true
+
+override_dh_auto_install:
+ cargo install --path=. --root=debian/jt2
+ find debian/jt2 -name '.crates*' -delete
+
+override_dh_auto_test:
+ ./check
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)