From ed0c0f9ed48bc15289c4ed976ce8dc40877dcf62 Mon Sep 17 00:00:00 2001 From: Adrian Cochrane Date: Wed, 18 Apr 2018 14:33:45 +1200 Subject: [PATCH] Add basic Debian packaging information. ~ 5min? --- debian/changelog | 5 +++++ debian/compat | 1 + debian/control | 26 ++++++++++++++++++++++++++ debian/copyright | 25 +++++++++++++++++++++++++ debian/rules | 31 +++++++++++++++++++++++++++++++ debian/source/format | 1 + 6 files changed, 89 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100755 debian/rules create mode 100644 debian/source/format diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..7e8090a --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +write-as-gtk (0.1.0) precise; urgency=low + + * Initial Release. + + -- Adrian Cochrane Wed, 18 April 2018 14:20:25 +1200 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..007689c --- /dev/null +++ b/debian/control @@ -0,0 +1,26 @@ +Source: write-as-gtk +Section: x11 +Priority: extra +Maintainer: Adrian Cochrane +Build-Depends: meson, + deb-helper (>= 9), + libgtk-3-dev, + valac (>= 0.26), + libjson-glib-dev (>= 1.1.2), + libsoup2.4-dev (>= 2.52.2) +Standards-Version: 3.9.3 + +Package: write-as-gtk +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: A Distraction Free Writing Tool + + We eliminate notifications, streams, likes, and commentary so you can focus on your words. Enjoy a clear mind and a beautifully simple space to write your thoughts. + + Publish Articles + + Write your apps in the privacy and convenience of your desktop of choice with this native app, all without signing up. Write something, press publish, and share the link to your new post — that's all there is to it! + + Privacy By Default + + Focus on your ideas — not who's listening. We go farther than the rest to protect your privacy, and even make it easy to publish under multiple pen names if you want. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..e1669eb --- /dev/null +++ b/debian/copyright @@ -0,0 +1,25 @@ +Format: http://dep.debian.net/deps/dep5 +Upstream-Name: write-as-gtk +Source: https://code.as/writeas/writeas-gtk/ + +Files: * +Copyright: 2017 A Bunch Tell LLC +License: GPL-3.0+ + +License: GPL-3.0+ + 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 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 . + . + On Debian systems, the complete text of the GNU General + Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". + diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..70a5cc5 --- /dev/null +++ b/debian/rules @@ -0,0 +1,31 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# This file was extended to incorporate a Meson/Ninja build system. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +%: + dh $@ + +override_dh_auto_clean: + rm -rf debian/build + +override_dh_auto_configure: + mkdir -p debian/build + cd debian/build && meson --prefix=/usr ../.. + +override_dh_auto_build: + cd debian/build && ninja -v + +override_dh_auto_test: + cd debian/build && ninja test + +override_dh_auto_install: + cd debian/build && DESTDIR=${CURDIR}/debian/com.github.alcinnz.odysseus ninja install diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..89ae9db --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (native)