From 8f9909dc1e989f5f1d0e59db5466079b1f2a4154 Mon Sep 17 00:00:00 2001 From: cage Date: Mon, 1 Jul 2024 16:51:49 +0200 Subject: [PATCH] - added files to build debian package. --- debian/control | 65 ++++++++++++++++++++++++++++++++++++ debian/copyright | 47 ++++++++++++++++++++++++++ debian/debhelper-build-stamp | 1 + debian/rules | 20 +++++++++++ debian/source/format | 1 + debian/tinmop-docs.docs | 0 debian/tinmop.substvars | 3 ++ debian/upstream/metadata | 10 ++++++ po/en@boldquot.header | 25 -------------- po/en@quot.header | 22 ------------ 10 files changed, 147 insertions(+), 47 deletions(-) create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/debhelper-build-stamp create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/tinmop-docs.docs create mode 100644 debian/tinmop.substvars create mode 100644 debian/upstream/metadata delete mode 100644 po/en@boldquot.header delete mode 100644 po/en@quot.header diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..afc6dec --- /dev/null +++ b/debian/control @@ -0,0 +1,65 @@ +Source: tinmop +Section: unknown +Priority: optional +Maintainer: cage +Rules-Requires-Root: no +Build-Depends: + debhelper-compat (= 13), + autotools-dev, + curl, + file, + gcc, + gettext, + gettext-base, + git, + gpg, + imagemagick, + libgettextpo-dev, + libgettextpo0, + libncurses-dev, + libsdl2-dev, + libsqlite3-dev, + libssl-dev, + libturbojpeg0-dev, + man-db, + openssl, + sbcl, + tk, + unzip, + xdg-utils, + cl-asdf, +Standards-Version: 4.6.2 +Homepage: https://www.autistici.org/interzona/tinmop.html +Vcs-Git: https://codeberg.org/cage/tinmop.git + +Package: tinmop +Architecture: any +Depends: + ${shlibs:Depends}, + ${misc:Depends}, + curl, + file, + gcc, + gettext, + gettext-base, + git, + gpg, + imagemagick, + libgettextpo-dev, + libgettextpo0, + libncurses-dev, + libsdl2-dev, + libsqlite3-dev, + libssl-dev, + libturbojpeg0-dev, + man-db, + man-db, + openssl, + sbcl, + tk, + unzip, + xdg-utils, +Description: A client for Gemini, fediverse and other protocols + Tinmop is an opinionated client for gemini, gopher, kami and Mastodon or Pleroma. + It offer a distraction free terminal interface and a GUI for accessing the geminispace. + The name is a recursive acronym: "Tinmop Is Not Mutt or Pine". The older of us can remember that, in turn, Pine is sometimes considered an acronym as well: "Pine Is Not Elm" and, finally, Elm means (according to Wikipedia): "Electronic Mail". diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..5cb7e2c --- /dev/null +++ b/debian/copyright @@ -0,0 +1,47 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Source: +Upstream-Name: tinmop +Upstream-Contact: + +Files: + * +Copyright: + + +License: + + + . + + +# If you want to use GPL v2 or later for the /debian/* files use +# the following clauses, or change it to suit. Delete these two lines +Files: + debian/* +Copyright: + 2024 cage cage +License: GPL-3+ + This package 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 2 of the License, or + (at your option) any later version. + . + This package 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 +Comment: + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". + +# Please also look if there are files or directories which have a +# different copyright/license attached and list them here. +# Please avoid picking licenses with terms that are more restrictive than the +# packaged work, as it may make Debian's contributions unacceptable upstream. +# +# If you need, there are some extra license texts available in two places: +# /usr/share/debhelper/dh_make/licenses/ +# /usr/share/common-licenses/ diff --git a/debian/debhelper-build-stamp b/debian/debhelper-build-stamp new file mode 100644 index 0000000..7a4ed49 --- /dev/null +++ b/debian/debhelper-build-stamp @@ -0,0 +1 @@ +tinmop diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..6a0d1d5 --- /dev/null +++ b/debian/rules @@ -0,0 +1,20 @@ +#!/usr/bin/make -f + +# See debhelper(7) (uncomment to enable). +# Output every command that modifies files on the build system. +export DH_VERBOSE = 1 + +%: + dh $@ + +override_dh_strip: + echo "Skipping stripping of executable." + +override_dh_auto_build: + make + +override_dh_auto_configure: + dh_auto_configure + ./configure --prefix=/usr/ + bash quick_quicklisp.sh --proxy http://localhost:8080 + 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/tinmop-docs.docs b/debian/tinmop-docs.docs new file mode 100644 index 0000000..e69de29 diff --git a/debian/tinmop.substvars b/debian/tinmop.substvars new file mode 100644 index 0000000..bf4aa45 --- /dev/null +++ b/debian/tinmop.substvars @@ -0,0 +1,3 @@ +shlibs:Depends=libc6 (>= 2.34), libzstd1 (>= 1.5.2) +misc:Depends= +misc:Pre-Depends= diff --git a/debian/upstream/metadata b/debian/upstream/metadata new file mode 100644 index 0000000..b5315ca --- /dev/null +++ b/debian/upstream/metadata @@ -0,0 +1,10 @@ +# Example file for upstream/metadata. +# See https://wiki.debian.org/UpstreamMetadata for more info/fields. +# Below an example based on a github project. + +Bug-Database: https://codeberg.org/cage/tinmop/issues +Bug-Submit: https://codeberg.org/cage/tinmop/issues/new +Changelog: https://codeberg.org/cage/tinmop/raw/branch/master/ChangeLog +Documentation: https://www.autistici.org/interzona/tinmop-manual.html +Repository-Browse: https://codeberg.org/cage/tinmop +Repository: https://codeberg.org/cage/tinmop.git diff --git a/po/en@boldquot.header b/po/en@boldquot.header deleted file mode 100644 index fedb6a0..0000000 --- a/po/en@boldquot.header +++ /dev/null @@ -1,25 +0,0 @@ -# All this catalog "translates" are quotation characters. -# The msgids must be ASCII and therefore cannot contain real quotation -# characters, only substitutes like grave accent (0x60), apostrophe (0x27) -# and double quote (0x22). These substitutes look strange; see -# http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html -# -# This catalog translates grave accent (0x60) and apostrophe (0x27) to -# left single quotation mark (U+2018) and right single quotation mark (U+2019). -# It also translates pairs of apostrophe (0x27) to -# left single quotation mark (U+2018) and right single quotation mark (U+2019) -# and pairs of quotation mark (0x22) to -# left double quotation mark (U+201C) and right double quotation mark (U+201D). -# -# When output to an UTF-8 terminal, the quotation characters appear perfectly. -# When output to an ISO-8859-1 terminal, the single quotation marks are -# transliterated to apostrophes (by iconv in glibc 2.2 or newer) or to -# grave/acute accent (by libiconv), and the double quotation marks are -# transliterated to 0x22. -# When output to an ASCII terminal, the single quotation marks are -# transliterated to apostrophes, and the double quotation marks are -# transliterated to 0x22. -# -# This catalog furthermore displays the text between the quotation marks in -# bold face, assuming the VT100/XTerm escape sequences. -# diff --git a/po/en@quot.header b/po/en@quot.header deleted file mode 100644 index a9647fc..0000000 --- a/po/en@quot.header +++ /dev/null @@ -1,22 +0,0 @@ -# All this catalog "translates" are quotation characters. -# The msgids must be ASCII and therefore cannot contain real quotation -# characters, only substitutes like grave accent (0x60), apostrophe (0x27) -# and double quote (0x22). These substitutes look strange; see -# http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html -# -# This catalog translates grave accent (0x60) and apostrophe (0x27) to -# left single quotation mark (U+2018) and right single quotation mark (U+2019). -# It also translates pairs of apostrophe (0x27) to -# left single quotation mark (U+2018) and right single quotation mark (U+2019) -# and pairs of quotation mark (0x22) to -# left double quotation mark (U+201C) and right double quotation mark (U+201D). -# -# When output to an UTF-8 terminal, the quotation characters appear perfectly. -# When output to an ISO-8859-1 terminal, the single quotation marks are -# transliterated to apostrophes (by iconv in glibc 2.2 or newer) or to -# grave/acute accent (by libiconv), and the double quotation marks are -# transliterated to 0x22. -# When output to an ASCII terminal, the single quotation marks are -# transliterated to apostrophes, and the double quotation marks are -# transliterated to 0x22. -#