Commit d50feee9 authored by Felix Riemann's avatar Felix Riemann
Browse files
parent a6e18e77
......@@ -6,10 +6,7 @@ EXTRA_DIST = \
autogen.sh \
ChangeLog.pre-git
DISTCLEANFILES = \
intltool-extract \
intltool-merge \
intltool-update
DISTCLEANFILES =
MAINTAINERCLEANFILES = \
$(srcdir)/aclocal.m4 \
......
......@@ -18,6 +18,5 @@ which gnome-autogen.sh || {
}
REQUIRED_AUTOCONF_VERSION=2.59
REQUIRED_AUTOMAKE_VERSION=1.11
REQUIRED_INTLTOOL_VERSION=0.50.1
REQUIRED_PKG_CONFIG_VERSION=0.16.0
USE_GNOME2_MACROS=1 . gnome-autogen.sh
......@@ -30,14 +30,13 @@ AC_PROG_MAKE_SET
# ***********
# Translation
# ***********
AM_GLIB_GNU_GETTEXT
IT_PROG_INTLTOOL([0.50.1])
GETTEXT_PACKAGE=eog-plugins
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [Gettext package])
AM_GNU_GETTEXT_VERSION([0.19.7])
AM_GNU_GETTEXT([external])
# **********
# GNOME Libs
# **********
......
......@@ -8,7 +8,7 @@ AM_CPPFLAGS = \
$(EOG_CFLAGS) \
$(WARN_CFLAGS) \
$(EXIFDISPLAY_CFLAGS) \
-DEOG_LOCALEDIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
-DEOG_LOCALEDIR=\""$(localedir)"\" \
-DEOG_EXIF_DISPLAY_DATA_DIR=\""$(uidir)"\"
plugin_LTLIBRARIES = libexif-display.la
......@@ -37,15 +37,19 @@ eog-exif-display-plugin-resources.c: eog-exif-display-plugin.gresource.xml $(she
# Plugin Info
plugin_in_files = exif-display.plugin.desktop.in
plugin_DATA = $(plugin_in_files:.plugin.desktop.in=.plugin)
%.plugin: %.plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(AM_V_GEN)$(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
# msgfmt 0.19.8 has a bug that adding additional keywords for translation
# disables the default keywords, so we have to explicitly name them for now.
$(plugin_DATA): %.plugin: %.plugin.desktop.in $(wildcard $(top_srcdir)/po/*po)
$(AM_V_GEN)$(MSGFMT) --desktop --keyword=Name --keyword=Description --template $< -d $(top_srcdir)/po -o $@
plugin_DATA = $(plugin_in_files:.plugin.desktop.in=.plugin)
appstream_in_files = eog-exif-display.metainfo.xml.in
appstream_DATA = $(appstream_in_files:.xml.in=.xml)
@INTLTOOL_XML_RULE@
$(appstream_DATA): $(appstream_in_files)
$(AM_V_GEN)$(MSGFMT) --xml --language=appdata --template $< -d $(top_srcdir)/po -o $@
gsettings_SCHEMAS = org.gnome.eog.plugins.exif-display.gschema.xml
@GSETTINGS_RULES@
......
......@@ -3,8 +3,8 @@
<component type="addon">
<id>eog-exif-display</id>
<extends>eog.desktop</extends>
<_name>Exif Display</_name>
<_summary>Displays Exif tags in the side panel and optionally the statusbar</_summary>
<name>Exif Display</name>
<summary>Displays Exif tags in the side panel and optionally the statusbar</summary>
<url type="homepage">https://wiki.gnome.org/Apps/EyeOfGnome/Plugins</url>
<url type="bugtracker">https://bugzilla.gnome.org/enter_bug.cgi?product=eog&amp;component=plugins</url>
<metadata_license>CC0-1.0</metadata_license>
......
[Plugin]
Module=exif-display
IAge=3
_Name=Exif Display
Name=Exif Display
# TRANSLATORS: Do NOT translate or transliterate this text!
# This is an icon file name
Icon=zoom-fit-best
_Description=Displays camera settings and histogram
Description=Displays camera settings and histogram
Authors=Emmanuel Touzery
Copyright=Copyright © 2009 Emmanuel Touzery
Website=http://www.gnome.org/projects/eog
......@@ -15,12 +15,17 @@ gsettings_SCHEMAS = org.gnome.eog.plugins.export-to-folder.gschema.xml
gsettings_SCHEMAS_in_files = org.gnome.eog.plugins.export-to-folder.gschema.xml.in
@GSETTINGS_RULES@
%.plugin: %.plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(AM_V_GEN)$(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
plugin_DATA = $(plugin_in_files:.plugin.desktop.in=.plugin)
# msgfmt 0.19.8 has a bug that adding additional keywords for translation
# disables the default keywords, so we have to explicitly name them for now.
$(plugin_DATA): %.plugin: %.plugin.desktop.in $(wildcard $(top_srcdir)/po/*po)
$(AM_V_GEN)$(MSGFMT) --desktop --keyword=Name --keyword=Description --template $< -d $(top_srcdir)/po -o $@
appstream_DATA = $(appstream_in_files:.xml.in=.xml)
@INTLTOOL_XML_RULE@
$(appstream_DATA): $(appstream_in_files)
$(AM_V_GEN)$(MSGFMT) --xml --language=appdata --template $< -d $(top_srcdir)/po -o $@
EXTRA_DIST = \
$(plugin_in_files) \
......
......@@ -3,8 +3,8 @@
<component type="addon">
<id>eog-export-to-folder</id>
<extends>eog.desktop</extends>
<_name>Export to Folder</_name>
<_summary>Export the current image to a separate directory</_summary>
<name>Export to Folder</name>
<summary>Export the current image to a separate directory</summary>
<url type="homepage">https://wiki.gnome.org/Apps/EyeOfGnome/Plugins</url>
<url type="bugtracker">https://bugzilla.gnome.org/enter_bug.cgi?product=eog&amp;component=plugins</url>
<metadata_license>CC0-1.0</metadata_license>
......
......@@ -2,9 +2,11 @@
Loader=python3
Module=export-to-folder
IAge=3
_Name=Export to Folder
Name=Export to Folder
# TRANSLATORS: Do NOT translate or transliterate this text!
# This is an icon file name
Icon=eog
_Description=Export the current image to a separate directory
Description=Export the current image to a separate directory
Authors=Jendrik Seipp <jendrikseipp@web.de>
Copyright=Copyright © 2012 Jendrik Seipp
Website=https://bitbucket.org/jendrikseipp/eog-export
......@@ -22,15 +22,16 @@ libfit_to_width_la_LIBADD = $(EOG_LIBS)
# Plugin Info
plugin_in_files = fit-to-width.plugin.desktop.in
%.plugin: %.plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(AM_V_GEN)$(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
plugin_DATA = $(plugin_in_files:.plugin.desktop.in=.plugin)
# msgfmt 0.19.8 has a bug that adding additional keywords for translation
# disables the default keywords, so we have to explicitly name them for now.
$(plugin_DATA): %.plugin: %.plugin.desktop.in $(wildcard $(top_srcdir)/po/*po)
$(AM_V_GEN)$(MSGFMT) --desktop --keyword=Name --keyword=Description --template $< -d $(top_srcdir)/po -o $@
appstream_in_files = eog-fit-to-width.metainfo.xml.in
appstream_DATA = $(appstream_in_files:.xml.in=.xml)
@INTLTOOL_XML_RULE@
$(appstream_DATA): $(appstream_in_files)
$(AM_V_GEN)$(MSGFMT) --xml --language=appdata --template $< -d $(top_srcdir)/po -o $@
EXTRA_DIST = $(plugin_in_files) $(appstream_in_files)
......
......@@ -3,8 +3,8 @@
<component type="addon">
<id>eog-fit-to-width</id>
<extends>eog.desktop</extends>
<_name>Zoom to Fit Image Width</_name>
<_summary>Adjusts the zoom to have the image’s width fit into the window</_summary>
<name>Zoom to Fit Image Width</name>
<summary>Adjusts the zoom to have the image’s width fit into the window</summary>
<url type="homepage">https://wiki.gnome.org/Apps/EyeOfGnome/Plugins</url>
<url type="bugtracker">https://bugzilla.gnome.org/enter_bug.cgi?product=eog&amp;component=plugins</url>
<metadata_license>CC0-1.0</metadata_license>
......
[Plugin]
Module=fit-to-width
IAge=3
_Name=Zoom to Fit Image Width
Name=Zoom to Fit Image Width
# TRANSLATORS: Do NOT translate or transliterate this text!
# This is an icon file name
Icon=gtk-zoom-fit
_Description=Fit images to the window width
Description=Fit images to the window width
Authors=Javier Sánchez <jsanchez@deskblue.com>
Copyright=Copyright © 2009 Javier Sánchez
Website=http://www.gnome.org/projects/eog
......@@ -14,13 +14,17 @@ uidir = $(EOG_PLUGINS_DATA_DIR)/fullscreenbg
plugin_PYTHON = \
fullscreenbg.py
%.plugin: %.plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(AM_V_GEN)$(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
plugin_DATA = $(plugin_in_files:.plugin.desktop.in=.plugin)
# msgfmt 0.19.8 has a bug that adding additional keywords for translation
# disables the default keywords, so we have to explicitly name them for now.
$(plugin_DATA): %.plugin: %.plugin.desktop.in $(wildcard $(top_srcdir)/po/*po)
$(AM_V_GEN)$(MSGFMT) --desktop --keyword=Name --keyword=Description --template $< -d $(top_srcdir)/po -o $@
appstream_DATA = $(appstream_in_files:.xml.in=.xml)
$(appstream_DATA): $(appstream_in_files)
$(AM_V_GEN)$(MSGFMT) --xml --language=appdata --template $< -d $(top_srcdir)/po -o $@
@INTLTOOL_XML_RULE@
@GSETTINGS_RULES@
EXTRA_DIST = $(plugin_in_files)\
......
......@@ -3,8 +3,8 @@
<component type="addon">
<id>eog-fullscreenbg</id>
<extends>eog.desktop</extends>
<_name>Fullscreen Background</_name>
<_summary>Enables changing background in fullscreen mode</_summary>
<name>Fullscreen Background</name>
<summary>Enables changing background in fullscreen mode</summary>
<url type="homepage">https://wiki.gnome.org/Apps/EyeOfGnome/Plugins</url>
<url type="bugtracker">https://bugzilla.gnome.org/enter_bug.cgi?product=eog&amp;component=plugins</url>
<metadata_license>CC0-1.0</metadata_license>
......
......@@ -2,8 +2,8 @@
Loader=python3
Module=fullscreenbg
IAge=3
_Name=Fullscreen Background
_Description=Enables changing background in fullscreen mode
Name=Fullscreen Background
Description=Enables changing background in fullscreen mode
Authors=Adrian Zgorzałek <a.zgorzalek@gmail.com>
Copyright=Copyright © 2012 Adrian Zgorzałek <a.zgorzalek@gmail.com>
Website=http://projects.gnome.org/eog
......@@ -22,15 +22,14 @@ libhide_titlebar_la_LIBADD = $(EOG_LIBS)
# Plugin Info
plugin_in_files = hide-titlebar.plugin.desktop.in
%.plugin: %.plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(AM_V_GEN)$(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
plugin_DATA = $(plugin_in_files:.plugin.desktop.in=.plugin)
$(plugin_DATA): %.plugin: %.plugin.desktop.in $(wildcard $(top_srcdir)/po/*po)
$(AM_V_GEN)$(MSGFMT) --desktop --keyword=Name --keyword=Description --template $< -d $(top_srcdir)/po -o $@
appstream_in_files = eog-hide-titlebar.metainfo.xml.in
appstream_DATA = $(appstream_in_files:.xml.in=.xml)
@INTLTOOL_XML_RULE@
$(appstream_DATA): $(appstream_in_files)
$(AM_V_GEN)$(MSGFMT) --xml --language=appdata --template $< -d $(top_srcdir)/po -o $@
EXTRA_DIST = $(plugin_in_files) $(appstream_in_files)
......
......@@ -3,8 +3,8 @@
<component type="addon">
<id>eog-hide-titlebar</id>
<extends>eog.desktop</extends>
<_name>Hide Titlebar</_name>
<_summary>Hides the titlebar of maximized windows</_summary>
<name>Hide Titlebar</name>
<summary>Hides the titlebar of maximized windows</summary>
<url type="homepage">https://wiki.gnome.org/Apps/EyeOfGnome/Plugins</url>
<url type="bugtracker">https://bugzilla.gnome.org/enter_bug.cgi?product=eog&amp;component=plugins</url>
<metadata_license>CC0-1.0</metadata_license>
......
[Plugin]
Module=hide-titlebar
IAge=3
_Name=Hide Titlebar
Name=Hide Titlebar
# TRANSLATORS: Do NOT translate or transliterate this text!
# This is an icon file name
Icon=eog-plugin
_Description=Hides the titlebar of maximized Eye of GNOME windows
Description=Hides the titlebar of maximized Eye of GNOME windows
Authors=Claudio Saavedra <csaavedra@igalia.com>, Felix Riemann <friemann@gnome.org>
Copyright=Copyright © 2012 The Free Software Foundation
Website=http://www.gnome.org/projects/eog
......@@ -22,15 +22,17 @@ liblight_theme_la_LIBADD = $(EOG_LIBS)
# Plugin Info
plugin_in_files = light-theme.plugin.desktop.in
%.plugin: %.plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(AM_V_GEN)$(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
plugin_DATA = $(plugin_in_files:.plugin.desktop.in=.plugin)
# msgfmt 0.19.8 has a bug that adding additional keywords for translation
# disables the default keywords, so we have to explicitly name them for now.
$(plugin_DATA): %.plugin: %.plugin.desktop.in $(wildcard $(top_srcdir)/po/*po)
$(AM_V_GEN)$(MSGFMT) --desktop --keyword=Name --keyword=Description --template $< -d $(top_srcdir)/po -o $@
appstream_in_files = eog-light-theme.metainfo.xml.in
appstream_in_files = eog-light-theme.metainfo.xml.in
appstream_DATA = $(appstream_in_files:.xml.in=.xml)
@INTLTOOL_XML_RULE@
$(appstream_DATA): $(appstream_in_files)
$(AM_V_GEN)$(MSGFMT) --xml --language=appdata --template $< -d $(top_srcdir)/po -o $@
EXTRA_DIST = $(plugin_in_files) $(appstream_in_files)
......
......@@ -3,8 +3,8 @@
<component type="addon">
<id>eog-light-theme</id>
<extends>eog.desktop</extends>
<_name>Disable Dark Theme</_name>
<_summary>Disables dark theme</_summary>
<name>Disable Dark Theme</name>
<summary>Disables dark theme</summary>
<url type="homepage">https://wiki.gnome.org/Apps/EyeOfGnome/Plugins</url>
<url type="bugtracker">https://bugzilla.gnome.org/enter_bug.cgi?product=eog&amp;component=plugins</url>
<metadata_license>CC0-1.0</metadata_license>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment