From 67b6198b5e9c687727808b01ac580fa04886d311 Mon Sep 17 00:00:00 2001 From: Matt Baer Date: Sun, 30 Sep 2018 21:56:09 -0400 Subject: [PATCH] Revert "Change ID to com.github.writeas.writeas-gtk" This reverts commit 4c784b32c87ca189990cccab87c3baf473ca9183. --- data/com.github.writeas.writeas-gtk.appdata.xml | 96 ------------------------- data/com.github.writeas.writeas-gtk.desktop | 12 ---- data/meson.build | 4 +- data/writeas-gtk.appdata.xml | 96 +++++++++++++++++++++++++ data/writeas-gtk.desktop | 12 ++++ debian/control | 4 +- debian/copyright | 2 +- debian/rules | 2 +- meson.build | 2 +- src/application.vala | 2 +- 10 files changed, 116 insertions(+), 116 deletions(-) delete mode 100644 data/com.github.writeas.writeas-gtk.appdata.xml delete mode 100644 data/com.github.writeas.writeas-gtk.desktop create mode 100644 data/writeas-gtk.appdata.xml create mode 100644 data/writeas-gtk.desktop diff --git a/data/com.github.writeas.writeas-gtk.appdata.xml b/data/com.github.writeas.writeas-gtk.appdata.xml deleted file mode 100644 index 94636d9..0000000 --- a/data/com.github.writeas.writeas-gtk.appdata.xml +++ /dev/null @@ -1,96 +0,0 @@ - - - writeas-gtk - GPL-3.0+ - CC0 - Write.as - Publish a thought in seconds - - -

Write.as is a simple writing tool and publishing platform. There's no sign up — just open the app, write something, and publish.

-

Published posts get a secret, unique link on Write.as that you can share with anyone, or keep to yourself. In either case, you remain private because we don't collect personal information about you.

-
    -
  • Simple, distraction-free editor built for your words
  • -
  • Instantly launches to a blank page or your last draft
  • -
  • Writing automatically saves as you type
  • -
  • Work on a single local draft, then publish or save as another file when you're finished
  • -
  • Choose from three different fonts: serif, sans-serif, or monospace
  • -
  • Dark mode on platforms that support it
  • -
  • Publish to Write.as and share your post (example)
  • -
  • Manage published posts with the built-in command-line interface
  • -
-
- - Write.as - https://write.as/ - https://write.as/contact - https://github.com/writeas/writeas-gtk/issues - hello@write.as - - - 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 - - - - none - none - none - none - none - none - none - none - none - none - none - none - none - none - none - none - none - none - none - none - none - none - none - none - none - none - none - - - - -

Initial release

-
    -
  • Auto-saving single draft
  • -
  • Dark mode on platforms that support it
  • -
  • Choose between three fonts
  • -
  • Save draft as another file
  • -
  • Publish anonymously to Write.as
  • -
-
-
-
- - 25 - -
diff --git a/data/com.github.writeas.writeas-gtk.desktop b/data/com.github.writeas.writeas-gtk.desktop deleted file mode 100644 index 6d5e10b..0000000 --- a/data/com.github.writeas.writeas-gtk.desktop +++ /dev/null @@ -1,12 +0,0 @@ -[Desktop Entry] -Type=Application -Name=Write.as -Comment=Publish a thought in seconds. -Exec=writeas-gtk -Icon=write-as -Terminal=false -MimeType= -Categories=GTK;Office;Publishing; -Keywords=blog;text;editor;publish; -StartupNotify=true - diff --git a/data/meson.build b/data/meson.build index 552cd06..55dce34 100644 --- a/data/meson.build +++ b/data/meson.build @@ -4,7 +4,7 @@ install_data('icons/write-as.png', install_data('icons/writeas-bright-dark.png', install_dir: join_paths(get_option('datadir'), 'icons', 'hicolor', '16x16', 'actions')) -install_data('com.github.writeas.writeas-gtk.desktop', +install_data('writeas-gtk.desktop', install_dir: join_paths(get_option('datadir'), 'applications')) -install_data('com.github.writeas.writeas-gtk.appdata.xml', +install_data('writeas-gtk.appdata.xml', install_dir: join_paths(get_option('datadir'), 'metainfo')) diff --git a/data/writeas-gtk.appdata.xml b/data/writeas-gtk.appdata.xml new file mode 100644 index 0000000..94636d9 --- /dev/null +++ b/data/writeas-gtk.appdata.xml @@ -0,0 +1,96 @@ + + + writeas-gtk + GPL-3.0+ + CC0 + Write.as + Publish a thought in seconds + + +

Write.as is a simple writing tool and publishing platform. There's no sign up — just open the app, write something, and publish.

+

Published posts get a secret, unique link on Write.as that you can share with anyone, or keep to yourself. In either case, you remain private because we don't collect personal information about you.

+
    +
  • Simple, distraction-free editor built for your words
  • +
  • Instantly launches to a blank page or your last draft
  • +
  • Writing automatically saves as you type
  • +
  • Work on a single local draft, then publish or save as another file when you're finished
  • +
  • Choose from three different fonts: serif, sans-serif, or monospace
  • +
  • Dark mode on platforms that support it
  • +
  • Publish to Write.as and share your post (example)
  • +
  • Manage published posts with the built-in command-line interface
  • +
+
+ + Write.as + https://write.as/ + https://write.as/contact + https://github.com/writeas/writeas-gtk/issues + hello@write.as + + + 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 + + + + none + none + none + none + none + none + none + none + none + none + none + none + none + none + none + none + none + none + none + none + none + none + none + none + none + none + none + + + + +

Initial release

+
    +
  • Auto-saving single draft
  • +
  • Dark mode on platforms that support it
  • +
  • Choose between three fonts
  • +
  • Save draft as another file
  • +
  • Publish anonymously to Write.as
  • +
+
+
+
+ + 25 + +
diff --git a/data/writeas-gtk.desktop b/data/writeas-gtk.desktop new file mode 100644 index 0000000..6d5e10b --- /dev/null +++ b/data/writeas-gtk.desktop @@ -0,0 +1,12 @@ +[Desktop Entry] +Type=Application +Name=Write.as +Comment=Publish a thought in seconds. +Exec=writeas-gtk +Icon=write-as +Terminal=false +MimeType= +Categories=GTK;Office;Publishing; +Keywords=blog;text;editor;publish; +StartupNotify=true + diff --git a/debian/control b/debian/control index 6c37d07..8f620fd 100644 --- a/debian/control +++ b/debian/control @@ -1,4 +1,4 @@ -Source: com.github.writeas.writeas-gtk +Source: writeas-gtk Section: x11 Priority: extra Maintainer: Write.as @@ -9,7 +9,7 @@ Build-Depends: meson, valac (>= 0.36) Standards-Version: 3.9.3 -Package: com.github.writeas.writeas-gtk +Package: writeas-gtk Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends}, writeas-cli Recommends: fonts-lora, fonts-open-sans, fonts-hack diff --git a/debian/copyright b/debian/copyright index 92fd4bc..936746e 100644 --- a/debian/copyright +++ b/debian/copyright @@ -1,5 +1,5 @@ Format: http://dep.debian.net/deps/dep5 -Upstream-Name: com.github.writeas.writeas-gtk +Upstream-Name: writeas-gtk Source: https://code.as/writeas/writeas-gtk/ Files: * diff --git a/debian/rules b/debian/rules index 8847451..a7d9c96 100755 --- a/debian/rules +++ b/debian/rules @@ -28,4 +28,4 @@ override_dh_auto_test: cd debian/build && ninja test override_dh_auto_install: - cd debian/build && DESTDIR=${CURDIR}/debian/com.github.writeas.writeas-gtk ninja install + cd debian/build && DESTDIR=${CURDIR}/debian/writeas-gtk ninja install diff --git a/meson.build b/meson.build index 1a21e05..1ccd4b8 100644 --- a/meson.build +++ b/meson.build @@ -1,4 +1,4 @@ -project('com.github.writeas.writeas-gtk', ['vala', 'c'], +project('writeas-gtk', ['vala', 'c'], version: '1.0.0', license: 'GPL', meson_version: '>=0.40.1') diff --git a/src/application.vala b/src/application.vala index b5968ea..7ca83ef 100644 --- a/src/application.vala +++ b/src/application.vala @@ -22,7 +22,7 @@ public class WriteAs.Application : Gtk.Application { Intl.setlocale(LocaleCategory.ALL, ""); Intl.textdomain("write.as"); - application_id = "com.github.writeas.writeas-gtk.desktop"; + application_id = "writeas-gtk.desktop"; } public override void activate() {