summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2018-05-01 14:43:08 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2018-05-01 14:43:08 +0200
commit2b3f22361da0c1d8e6ce70d71352821758186db7 (patch)
tree5d10633b47369b3aa52a05bf889ede0dbe5ee108 /misc
parent211da5fc3048ca2b6ccee2166b0aaaade55cb84f (diff)
parentdc6c76eb04dfe3d4262a1806808f0bc0bf523238 (diff)
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'misc')
-rw-r--r--misc/Makefile.am7
-rw-r--r--misc/Makefile.in7
-rw-r--r--misc/meson.build28
-rw-r--r--misc/org.yorba.shotwell.gschema.xml14
-rw-r--r--misc/shotwell-viewer.desktop.in (renamed from misc/shotwell-viewer.desktop.in.in)0
-rw-r--r--misc/shotwell.desktop.in (renamed from misc/shotwell.desktop.in.in)0
6 files changed, 45 insertions, 11 deletions
diff --git a/misc/Makefile.am b/misc/Makefile.am
index aa9a2bd..803697d 100644
--- a/misc/Makefile.am
+++ b/misc/Makefile.am
@@ -12,9 +12,6 @@ desktop_DATA = shotwell.desktop shotwell-viewer.desktop
$(appstream_XML) : $(appstream_in_files)
$(AM_V_GEN) $(MSGFMT) --xml --template $< -d $(top_srcdir)/po -o $@
-%.desktop.in : %.desktop.in.in
- $(AM_V_GEN) sed -e 's|@VERSION[@]|$(VERSION)|g' $< > $@
-
%.desktop : %.desktop.in
$(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@
@@ -24,8 +21,8 @@ $(appstream_XML) : $(appstream_in_files)
CLEANFILES = $(appstream_XML) $(desktop_DATA) $(desktop_in_files)
dist_noinst_DATA = \
- $(srcdir)/shotwell.desktop.in.in \
- $(srcdir)/shotwell-viewer.desktop.in.in \
+ $(srcdir)/shotwell.desktop.in \
+ $(srcdir)/shotwell-viewer.desktop.in \
$(gsettings_SCHEMAS) \
$(appstream_in_files)
diff --git a/misc/Makefile.in b/misc/Makefile.in
index 0571904..9469c4b 100644
--- a/misc/Makefile.in
+++ b/misc/Makefile.in
@@ -353,8 +353,8 @@ desktopdir = $(datadir)/applications
desktop_DATA = shotwell.desktop shotwell-viewer.desktop
CLEANFILES = $(appstream_XML) $(desktop_DATA) $(desktop_in_files)
dist_noinst_DATA = \
- $(srcdir)/shotwell.desktop.in.in \
- $(srcdir)/shotwell-viewer.desktop.in.in \
+ $(srcdir)/shotwell.desktop.in \
+ $(srcdir)/shotwell-viewer.desktop.in \
$(gsettings_SCHEMAS) \
$(appstream_in_files)
@@ -579,9 +579,6 @@ uninstall-am: uninstall-desktopDATA
$(appstream_XML) : $(appstream_in_files)
$(AM_V_GEN) $(MSGFMT) --xml --template $< -d $(top_srcdir)/po -o $@
-%.desktop.in : %.desktop.in.in
- $(AM_V_GEN) sed -e 's|@VERSION[@]|$(VERSION)|g' $< > $@
-
%.desktop : %.desktop.in
$(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@
diff --git a/misc/meson.build b/misc/meson.build
new file mode 100644
index 0000000..664ddb0
--- /dev/null
+++ b/misc/meson.build
@@ -0,0 +1,28 @@
+podir = join_paths('..', 'po')
+
+i18n.merge_file(input : 'shotwell.appdata.xml.in',
+ output : 'shotwell.appdata.xml',
+ po_dir : join_paths('..', 'po'),
+ type : 'xml',
+ install: true,
+ install_dir : join_paths(get_option('datadir'), 'metainfo'))
+
+i18n.merge_file(input : 'shotwell.desktop.in',
+ output: 'shotwell.desktop',
+ po_dir : podir,
+ type : 'desktop',
+ install : true,
+ install_dir : join_paths(get_option('datadir'), 'applications'))
+
+i18n.merge_file(input : 'shotwell-viewer.desktop.in',
+ output: 'shotwell-viewer.desktop',
+ po_dir : podir,
+ type : 'desktop',
+ install : true,
+ install_dir : join_paths(get_option('datadir'), 'applications'))
+
+install_data(['org.yorba.shotwell-extras.gschema.xml',
+ 'org.yorba.shotwell.gschema.xml'],
+ install_dir : join_paths(get_option('datadir'), 'glib-2.0', 'schemas'))
+
+gnome.compile_schemas()
diff --git a/misc/org.yorba.shotwell.gschema.xml b/misc/org.yorba.shotwell.gschema.xml
index afd2f02..2bd9003 100644
--- a/misc/org.yorba.shotwell.gschema.xml
+++ b/misc/org.yorba.shotwell.gschema.xml
@@ -161,7 +161,19 @@
<summary>background color</summary>
<description>A grayscale color for use as the background color.</description>
</key>
-
+
+ <key name="transparent-background-type" type="s">
+ <default>'checkered'</default>
+ <summary>background for transparent images</summary>
+ <description>The background to use for transparent images.</description>
+ </key>
+
+ <key name="transparent-background-color" type="s">
+ <default>'#444'</default>
+ <summary>color for solid transparency background</summary>
+ <description>Color to use if background for transparent images is set to solid color</description>
+ </key>
+
<key name="hide-photos-already-imported" type="b">
<default>false</default>
<summary>Selection state of “hide photos” option</summary>
diff --git a/misc/shotwell-viewer.desktop.in.in b/misc/shotwell-viewer.desktop.in
index b5e41f3..b5e41f3 100644
--- a/misc/shotwell-viewer.desktop.in.in
+++ b/misc/shotwell-viewer.desktop.in
diff --git a/misc/shotwell.desktop.in.in b/misc/shotwell.desktop.in
index aa1ede2..aa1ede2 100644
--- a/misc/shotwell.desktop.in.in
+++ b/misc/shotwell.desktop.in