Compare commits

..

No commits in common. "outline" and "master" have entirely different histories.

4 changed files with 3 additions and 12 deletions

View File

@ -41,7 +41,8 @@ You can run Apostrophe with `./apostrophe.in` without installing it in the syste
but you'll need to install and compile the schemas before:
```bash
$ ./data/gen.sh
# sudo cp data/de.wolfvollprecht.UberWriter.gschema.xml /usr/share/glib-2.0/schemas/de.wolfvollprecht.UberWriter.gschema.xml
# sudo glib-compile-schemas /usr/share/glib-2.0/schemas
```
### Building a flatpak package

View File

@ -56,10 +56,7 @@ locale.bindtextdomain('apostrophe', localedir)
gettext.textdomain('apostrophe')
gettext.bindtextdomain('apostrophe', localedir)
if pkgdatadir != '@DATA_DIR@':
resource = Gio.resource_load(os.path.join(pkgdatadir, 'apostrophe/apostrophe.gresource'))
else:
resource = Gio.resource_load(os.path.join(os.path.dirname(__file__), 'data', 'apostrophe.gresource'))
resource = Gio.resource_load(os.path.join(pkgdatadir, 'apostrophe/apostrophe.gresource'))
Gio.Resource._register(resource)

2
data/.gitignore vendored
View File

@ -1,2 +0,0 @@
/About.ui
/apostrophe.gresource

View File

@ -1,5 +0,0 @@
#! /usr/bin/env bash
cd "$(dirname "$0")" &&
cp -fv "ui/About.ui.in" "About.ui" &&
glib-compile-resources "apostrophe.gresource.xml"