forked from Mirrors/apostrophe
Compare commits
No commits in common. "outline" and "master" have entirely different histories.
|
@ -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:
|
but you'll need to install and compile the schemas before:
|
||||||
|
|
||||||
```bash
|
```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
|
### Building a flatpak package
|
||||||
|
|
|
@ -56,10 +56,7 @@ locale.bindtextdomain('apostrophe', localedir)
|
||||||
gettext.textdomain('apostrophe')
|
gettext.textdomain('apostrophe')
|
||||||
gettext.bindtextdomain('apostrophe', localedir)
|
gettext.bindtextdomain('apostrophe', localedir)
|
||||||
|
|
||||||
if pkgdatadir != '@DATA_DIR@':
|
resource = Gio.resource_load(os.path.join(pkgdatadir, 'apostrophe/apostrophe.gresource'))
|
||||||
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'))
|
|
||||||
Gio.Resource._register(resource)
|
Gio.Resource._register(resource)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
/About.ui
|
|
||||||
/apostrophe.gresource
|
|
|
@ -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"
|
|
Loading…
Reference in New Issue