diff --git a/data/meson.build b/data/meson.build index dbc87eb..55dce34 100644 --- a/data/meson.build +++ b/data/meson.build @@ -1,10 +1,10 @@ install_data('icons/write-as.png', install_dir: join_paths(get_option('datadir'), 'icons', 'hicolor', '128x128', 'apps') ) install_data('icons/writeas-bright-dark.png', install_dir: join_paths(get_option('datadir'), 'icons', 'hicolor', '16x16', 'actions')) -install_data('write-as-gtk.desktop', +install_data('writeas-gtk.desktop', install_dir: join_paths(get_option('datadir'), 'applications')) -install_data('write-as-gtk.appdata.xml', +install_data('writeas-gtk.appdata.xml', install_dir: join_paths(get_option('datadir'), 'metainfo')) diff --git a/data/write-as-gtk.appdata.xml b/data/writeas-gtk.appdata.xml similarity index 97% rename from data/write-as-gtk.appdata.xml rename to data/writeas-gtk.appdata.xml index 330a238..0fb1f33 100644 --- a/data/write-as-gtk.appdata.xml +++ b/data/writeas-gtk.appdata.xml @@ -1,46 +1,46 @@ - write-as-gtk + writeas-gtk GPL-3.0+ GPL-3.0+ Write.as Spread your ideas

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.

A Bunch Tell LLC https://write.as/ https://write.as/contact https://code.as/writeas/writeas-gtk/issues hello@write.as - write-as-gtk + writeas-gtk The Write.as editor. https://write.as/img/screens/gtk/serif.png The Write.as editor in dark mode. https://write.as/img/screens/gtk/serif-dark.png https://write.as/img/screens/gtk/sans.png https://write.as/img/screens/gtk/monospace.png diff --git a/data/write-as-gtk.desktop b/data/writeas-gtk.desktop similarity index 91% rename from data/write-as-gtk.desktop rename to data/writeas-gtk.desktop index 9ac99b6..5107a7b 100644 --- a/data/write-as-gtk.desktop +++ b/data/writeas-gtk.desktop @@ -1,12 +1,12 @@ [Desktop Entry] Type=Application Name=Write.as Comment=Spread your ideas -Exec=write-as-gtk %f +Exec=writeas-gtk %f Icon=write-as Terminal=false MimeType=text/plain; Categories=GTK;Office;Publishing; Keywords=blog;pastebin;snippets;code;publish; StartupNotify=true diff --git a/debian/changelog b/debian/changelog index 5cd1aef..c756665 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,5 +1,5 @@ -write-as-gtk (0.1.0) precise; urgency=low +writeas-gtk (0.1.0) precise; urgency=low * Initial Release. -- Adrian Cochrane Wed, 18 Apr 2018 14:20:25 +1200 diff --git a/debian/control b/debian/control index ab2d071..c3774f0 100644 --- a/debian/control +++ b/debian/control @@ -1,17 +1,17 @@ -Source: write-as-gtk +Source: writeas-gtk Section: x11 Priority: extra Maintainer: Adrian Cochrane Build-Depends: meson, debhelper (>= 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 +Package: writeas-gtk Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends} Recommends: fonts-open-sans, fonts-hack Description: A distraction free and private writing tool, with builtin publishing. diff --git a/debian/copyright b/debian/copyright index e1669eb..e4a7895 100644 --- a/debian/copyright +++ b/debian/copyright @@ -1,25 +1,25 @@ Format: http://dep.debian.net/deps/dep5 -Upstream-Name: write-as-gtk +Upstream-Name: writeas-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 index c219828..a7d9c96 100755 --- a/debian/rules +++ b/debian/rules @@ -1,31 +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/write-as-gtk ninja install + cd debian/build && DESTDIR=${CURDIR}/debian/writeas-gtk ninja install diff --git a/meson.build b/meson.build index 1cfbbfa..67053b9 100644 --- a/meson.build +++ b/meson.build @@ -1,13 +1,13 @@ -project('write-as-gtk', ['vala', 'c'], +project('writeas-gtk', ['vala', 'c'], version: '0.1', license: 'GNU', meson_version: '>=0.40.1') i18n = import('i18n') conf = configuration_data() conf.set_quoted('GETTEXT_PACKAGE', meson.project_name()) configure_file(output: 'config.h', configuration: conf) config_h_dir = include_directories('.') subdir('data') subdir('src') diff --git a/src/application.vala b/src/application.vala index bedbd70..e9fe5d6 100644 --- a/src/application.vala +++ b/src/application.vala @@ -1,27 +1,27 @@ public class WriteAs.Application : Gtk.Application { construct { this.flags |= ApplicationFlags.HANDLES_OPEN; Intl.setlocale(LocaleCategory.ALL, ""); Intl.textdomain("write.as"); - application_id = "write-as-gtk.desktop"; + application_id = "writeas-gtk.desktop"; } public override void activate() { if (get_windows().length() == 0) new WriteAs.MainWindow(this).show_all(); } public override void open(File[] files, string hint) { activate(); // ensure we have a window open. try { (get_windows().data as MainWindow).open_file(files[0]); } catch (Error e) { error(e.message); } } public static int main(string[] args) { return new WriteAs.Application().run(args); } } diff --git a/src/meson.build b/src/meson.build index fbe61f1..715e69b 100644 --- a/src/meson.build +++ b/src/meson.build @@ -1,9 +1,9 @@ -executable('write-as-gtk', +executable('writeas-gtk', 'application.vala', 'window.vala', c_args: ['-include', 'config.h'], link_args: '-lm', dependencies: [dependency('gtk+-3.0')], install: true )