Page MenuHomeMusing Studio

No OneTemporary

diff --git a/.travis.yml b/.travis.yml
index 3563c27..640e450 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,38 +1,38 @@
---
language: node_js
node_js:
- lts/*
sudo: required
services:
- docker
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- libstdc++-5-dev
cache:
directories:
- /tmp/liftoff
matrix:
include:
- env: DIST=loki
- env: DIST=juno
install:
- npm install @elementaryos/houston
script:
- houston ci
--distribution $DIST
branches:
only:
- - master
+ - deb-packaging
diff --git a/data/meson.build b/data/meson.build
index 4d6bed6..1034f8e 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -1,17 +1,17 @@
icon_sizes = ['16', '24', '32', '48', '64', '128']
foreach i : icon_sizes
install_data(
join_paths('icons', i, meson.project_name() + '.png'),
install_dir: join_paths(get_option('datadir'), 'icons', 'hicolor', i + 'x' + i, 'apps'
)
)
endforeach
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/com.github.writeas.writeas-gtk.appdata.xml b/data/writeas-gtk.appdata.xml
similarity index 98%
rename from data/com.github.writeas.writeas-gtk.appdata.xml
rename to data/writeas-gtk.appdata.xml
index a53cd57..94636d9 100644
--- a/data/com.github.writeas.writeas-gtk.appdata.xml
+++ b/data/writeas-gtk.appdata.xml
@@ -1,96 +1,96 @@
<?xml version="1.0" encoding="UTF-8" ?>
<component type="desktop-application">
- <id>com.github.writeas.writeas-gtk</id>
+ <id>writeas-gtk</id>
<project_license>GPL-3.0+</project_license>
<metadata_license>CC0</metadata_license>
<name>Write.as</name>
<summary>Publish a thought in seconds</summary>
<description>
<p>Write.as is a simple writing tool and publishing platform. There's no sign up — just open the app, write something, and publish.</p>
<p>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.</p>
<ul>
<li>Simple, distraction-free editor built for your words</li>
<li>Instantly launches to a blank page or your last draft</li>
<li>Writing automatically saves as you type</li>
<li>Work on a single local draft, then publish or save as another file when you're finished</li>
<li>Choose from three different fonts: serif, sans-serif, or monospace</li>
<li>Dark mode on platforms that support it</li>
<li>Publish to Write.as and share your post (<a href="https://write.as/l23z7d6yb0dd5v4c.md">example</a>)</li>
<li>Manage published posts with the built-in command-line interface</li>
</ul>
</description>
<developer_name>Write.as</developer_name>
<url type="homepage">https://write.as/</url>
<url type="help">https://write.as/contact</url>
<url type="bugtracker">https://github.com/writeas/writeas-gtk/issues</url>
<update_contact>hello@write.as</update_contact>
<provides>
- <binary>com.github.writeas.writeas-gtk</binary>
+ <binary>writeas-gtk</binary>
</provides>
<screenshots>
<screenshot type="default">
<caption>The Write.as editor.</caption>
<image type="source">https://write.as/img/screens/gtk/serif.png</image>
</screenshot>
<screenshot>
<caption>The Write.as editor in dark mode.</caption>
<image type="source">https://write.as/img/screens/gtk/serif-dark.png</image>
</screenshot>
<screenshot>
<image type="source">https://write.as/img/screens/gtk/sans.png</image>
</screenshot>
<screenshot>
<image type="source">https://write.as/img/screens/gtk/monospace.png</image>
</screenshot>
</screenshots>
<content_rating type="oars-1.1">
<content_attribute id="violence-cartoon">none</content_attribute>
<content_attribute id="violence-fantasy">none</content_attribute>
<content_attribute id="violence-realistic">none</content_attribute>
<content_attribute id="violence-bloodshed">none</content_attribute>
<content_attribute id="violence-sexual">none</content_attribute>
<content_attribute id="violence-desecration">none</content_attribute>
<content_attribute id="violence-slavery">none</content_attribute>
<content_attribute id="violence-worship">none</content_attribute>
<content_attribute id="drugs-alcohol">none</content_attribute>
<content_attribute id="drugs-narcotics">none</content_attribute>
<content_attribute id="drugs-tobacco">none</content_attribute>
<content_attribute id="sex-nudity">none</content_attribute>
<content_attribute id="sex-themes">none</content_attribute>
<content_attribute id="sex-homosexuality">none</content_attribute>
<content_attribute id="sex-prostitution">none</content_attribute>
<content_attribute id="sex-adultery">none</content_attribute>
<content_attribute id="sex-appearance">none</content_attribute>
<content_attribute id="language-profanity">none</content_attribute>
<content_attribute id="language-humor">none</content_attribute>
<content_attribute id="language-discrimination">none</content_attribute>
<content_attribute id="social-chat">none</content_attribute>
<content_attribute id="social-info">none</content_attribute>
<content_attribute id="social-audio">none</content_attribute>
<content_attribute id="social-location">none</content_attribute>
<content_attribute id="social-contacts">none</content_attribute>
<content_attribute id="money-purchasing">none</content_attribute>
<content_attribute id="money-gambling">none</content_attribute>
</content_rating>
<releases>
<release version="1.0.0" date="2018-10-01">
<description>
<p>Initial release</p>
<ul>
<li>Auto-saving single draft</li>
<li>Dark mode on platforms that support it</li>
<li>Choose between three fonts</li>
<li>Save draft as another file</li>
<li>Publish anonymously to Write.as</li>
</ul>
</description>
</release>
</releases>
<custom>
<value key="x-appcenter-suggested-price">25</value>
</custom>
</component>
diff --git a/data/com.github.writeas.writeas-gtk.desktop b/data/writeas-gtk.desktop
similarity index 100%
rename from data/com.github.writeas.writeas-gtk.desktop
rename to data/writeas-gtk.desktop
diff --git a/debian/control b/debian/control
index 6c37d07..8f620fd 100644
--- a/debian/control
+++ b/debian/control
@@ -1,16 +1,16 @@
-Source: com.github.writeas.writeas-gtk
+Source: writeas-gtk
Section: x11
Priority: extra
Maintainer: Write.as <hello@write.as>
Build-Depends: meson,
debhelper (>= 9),
libgtk-3-dev,
libgtksourceview-3.0-dev,
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
Description: A distraction free and private writing tool, with built-in publishing.
diff --git a/debian/copyright b/debian/copyright
index 92fd4bc..936746e 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,25 +1,25 @@
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: *
Copyright: 2018 A Bunch Tell LLC <hello@write.as>
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 <http://www.gnu.org/licenses/>.
.
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 8847451..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/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,13 +1,13 @@
-project('com.github.writeas.writeas-gtk', ['vala', 'c'],
+project('writeas-gtk', ['vala', 'c'],
version: '1.0.0',
license: 'GPL',
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 b5968ea..7ca83ef 100644
--- a/src/application.vala
+++ b/src/application.vala
@@ -1,40 +1,40 @@
/*
Copyright © 2018 Write.as
This file is part of the Write.as GTK desktop app.
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 <https://www.gnu.org/licenses/>.
*/
public class WriteAs.Application : Gtk.Application {
construct {
this.flags |= ApplicationFlags.HANDLES_OPEN;
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() {
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.
}
public static int main(string[] args) {
return new WriteAs.Application().run(args);
}
}
diff --git a/src/meson.build b/src/meson.build
index c035d76..6503a1e 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -1,9 +1,9 @@
-executable('com.github.writeas.writeas-gtk',
+executable('writeas-gtk',
'application.vala',
'window.vala',
c_args: ['-include', 'config.h'],
link_args: '-lm',
dependencies: [dependency('gtk+-3.0'), dependency('gtksourceview-3.0')],
install: true
)

File Metadata

Mime Type
text/x-diff
Expires
Sun, Nov 24, 7:41 PM (20 h, 9 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3106361

Event Timeline