From c4df12f12d21ea7d4bc0d656bd5f93539c078d93 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Tue, 16 Jun 2015 14:59:46 +0200 Subject: fixes for gschema translation taken from: https://github.com/mate-desktop/eom/commit/a2055e1 - bumped required intltool version to 0.50.1 - renamed and corrected gschema xml for proper intltool usage - sorted lines in po/POTFILES.in (as requested in the header) --- baobab/data/Makefile.am | 7 +--- .../org.mate.disk-usage-analyzer.gschema.xml.in | 24 ++++++------ configure.ac | 6 ++- logview/data/Makefile.am | 9 ++--- logview/data/org.mate.system-log.gschema.xml.in | 24 ++++++------ mate-dictionary/data/Makefile.am | 4 +- .../data/org.mate.dictionary.gschema.xml.in | 16 ++++---- mate-screenshot/Makefile.am | 18 ++++----- mate-screenshot/org.mate.screenshot.gschema.xml.in | 20 +++++----- po/POTFILES.in | 44 +++++++++++----------- 10 files changed, 82 insertions(+), 90 deletions(-) diff --git a/baobab/data/Makefile.am b/baobab/data/Makefile.am index f9919811..771b98e0 100644 --- a/baobab/data/Makefile.am +++ b/baobab/data/Makefile.am @@ -11,15 +11,13 @@ $(baobabapp_in_files): $(baobabapp_in_files:.desktop.in=.desktop.in.in) @INTLTOOL_DESKTOP_RULE@ -gsettingsschema_in_files = org.mate.disk-usage-analyzer.gschema.xml.in -gsettings_SCHEMAS = $(gsettingsschema_in_files:.xml.in=.xml) -.PRECIOUS: $(gsettings_SCHEMAS) @INTLTOOL_XML_RULE@ appdatadir = $(datadir)/appdata appdata_in_files = mate-disk-usage-analyzer.appdata.xml.in appdata_DATA = $(appdata_in_files:.xml.in=.xml) +gsettings_SCHEMAS = org.mate.disk-usage-analyzer.gschema.xml @GSETTINGS_RULES@ convertdir = $(datadir)/MateConf/gsettings @@ -30,7 +28,6 @@ man_MANS = mate-disk-usage-analyzer.1 EXTRA_DIST = \ $(ui_DATA) \ mate-disk-usage-analyzer.desktop.in.in \ - $(gsettingsschema_in_files) \ $(convert_DATA) \ $(appdata_in_files) \ $(man_MANS) @@ -39,4 +36,4 @@ CLEANFILES = \ $(baobabapp_in_files) \ $(baobabapp_DATA) \ $(gsettings_SCHEMAS) \ - mate-disk-usage-analyzer.appdata.xml + $(appdata_DATA) diff --git a/baobab/data/org.mate.disk-usage-analyzer.gschema.xml.in b/baobab/data/org.mate.disk-usage-analyzer.gschema.xml.in index 26801491..a56de249 100644 --- a/baobab/data/org.mate.disk-usage-analyzer.gschema.xml.in +++ b/baobab/data/org.mate.disk-usage-analyzer.gschema.xml.in @@ -6,35 +6,35 @@ false - <_summary>Monitor Home - <_description>Whether any change to the home directory should be monitored. + Monitor Home + Whether any change to the home directory should be monitored. [] - <_summary>Excluded partitions URIs - <_description>A list of URIs for partitions to be excluded from scanning. + Excluded partitions URIs + A list of URIs for partitions to be excluded from scanning. true - <_summary>Toolbar is Visible - <_description>Whether the toolbar should be visible in main window. + Toolbar is Visible + Whether the toolbar should be visible in main window. false - <_summary>Statusbar is Visible - <_description>Whether the status bar at the bottom of main window should be visible. + Statusbar is Visible + Whether the status bar at the bottom of main window should be visible. true - <_summary>Subfolder tips visible - <_description>Whether the subfolder tooltips of the selected folder are drawn. + Subfolder tips visible + Whether the subfolder tooltips of the selected folder are drawn. 'rings' - <_summary>Active Chart - <_description>Which type of chart should be displayed. + Active Chart + Which type of chart should be displayed. diff --git a/configure.ac b/configure.ac index 2a4ae940..2fe563ee 100644 --- a/configure.ac +++ b/configure.ac @@ -16,7 +16,7 @@ m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) MATE_COMMON_INIT -IT_PROG_INTLTOOL([0.40.0]) +IT_PROG_INTLTOOL([0.50.1]) AC_ISC_POSIX AC_PROG_CXX @@ -391,6 +391,7 @@ libeggsmclient/Makefile baobab/Makefile baobab/data/Makefile +baobab/data/org.mate.disk-usage-analyzer.gschema.xml baobab/pixmaps/Makefile baobab/pixmaps/24x24/Makefile baobab/pixmaps/scalable/Makefile @@ -399,6 +400,7 @@ baobab/help/Makefile logview/Makefile logview/data/Makefile +logview/data/org.mate.system-log.gschema.xml logview/tests/Makefile logview/help/Makefile @@ -412,6 +414,7 @@ mate-dictionary/libgdict/Makefile mate-dictionary/libgdict/gdict-version.h mate-dictionary/libgdict/mate-dict.pc mate-dictionary/data/Makefile +mate-dictionary/data/org.mate.dictionary.gschema.xml mate-dictionary/docs/Makefile mate-dictionary/docs/reference/Makefile mate-dictionary/docs/reference/gdict/Makefile @@ -420,6 +423,7 @@ mate-dictionary/help/Makefile mate-dictionary/src/Makefile mate-screenshot/Makefile +mate-screenshot/org.mate.screenshot.gschema.xml ]) AC_OUTPUT diff --git a/logview/data/Makefile.am b/logview/data/Makefile.am index a77c9913..93a713d6 100644 --- a/logview/data/Makefile.am +++ b/logview/data/Makefile.am @@ -10,11 +10,9 @@ $(desktop_in_files): $(desktop_in_files:.desktop.in=.desktop.in.in) man_MANS = mate-system-log.1 -gsettingsschema_in_files = org.mate.system-log.gschema.xml.in -gsettings_SCHEMAS = $(gsettingsschema_in_files:.xml.in=.xml) -.PRECIOUS: $(gsettings_SCHEMAS) +gsettings_SCHEMAS = org.mate.system-log.gschema.xml -@INTLTOOL_XML_NOMERGE_RULE@ +@INTLTOOL_XML_RULE@ @GSETTINGS_RULES@ @@ -25,8 +23,7 @@ EXTRA_DIST = \ mate-system-log.desktop.in.in \ $(xml_DATA) \ $(man_MANS) \ - $(convert_DATA) \ - $(gsettingsschema_in_files) + $(convert_DATA) DISTCLEANFILES = \ $(desktop_DATA) \ diff --git a/logview/data/org.mate.system-log.gschema.xml.in b/logview/data/org.mate.system-log.gschema.xml.in index 0f00134e..c4c36f55 100644 --- a/logview/data/org.mate.system-log.gschema.xml.in +++ b/logview/data/org.mate.system-log.gschema.xml.in @@ -2,33 +2,33 @@ '/var/log/messages' - <_summary>Log file to open up on startup - <_description>Specifies the log file displayed at startup. The default is either /var/adm/messages or /var/log/messages, depending on your operating system. + Log file to open up on startup + Specifies the log file displayed at startup. The default is either /var/adm/messages or /var/log/messages, depending on your operating system. 10 - <_summary>Size of the font used to display the log - <_description>Specifies the size of the fixed-width font used to display the log in the main tree view. The default is taken from the default terminal font size. + Size of the font used to display the log + Specifies the size of the fixed-width font used to display the log in the main tree view. The default is taken from the default terminal font size. 400 - <_summary>Height of the main window in pixels - <_description>Specifies the height of the log viewer main window in pixels. + Height of the main window in pixels + Specifies the height of the log viewer main window in pixels. 600 - <_summary>Width of the main window in pixels - <_description>Specifies the width of the log viewer main window in pixels. + Width of the main window in pixels + Specifies the width of the log viewer main window in pixels. [] - <_summary>Log files to open up on startup - <_description>Specifies a list of log files to open up at startup. A default list is created by reading /etc/syslog.conf. + Log files to open up on startup + Specifies a list of log files to open up at startup. A default list is created by reading /etc/syslog.conf. [] - <_summary>List of saved filters - <_description>List of saved regexp filters + List of saved filters + List of saved regexp filters diff --git a/mate-dictionary/data/Makefile.am b/mate-dictionary/data/Makefile.am index f3ec7bad..aa24a926 100644 --- a/mate-dictionary/data/Makefile.am +++ b/mate-dictionary/data/Makefile.am @@ -62,8 +62,7 @@ appdatadir = $(datadir)/appdata appdata_in_files = mate-dictionary.appdata.xml.in appdata_DATA = $(appdata_in_files:.xml.in=.xml) -gsettingsschema_in_files = org.mate.dictionary.gschema.xml.in -gsettings_SCHEMAS = $(gsettingsschema_in_files:.xml.in=.xml) +gsettings_SCHEMAS = org.mate.dictionary.gschema.xml @GSETTINGS_RULES@ convertdir = $(datadir)/MateConf/gsettings @@ -75,7 +74,6 @@ EXTRA_DIST = \ mate-dictionary.desktop.in.in \ $(dictsource_in_files) \ $(man_MANS) \ - $(gsettingsschema_in_files) \ $(appdata_in_files) \ $(builder_DATA) \ $(ui_DATA) \ diff --git a/mate-dictionary/data/org.mate.dictionary.gschema.xml.in b/mate-dictionary/data/org.mate.dictionary.gschema.xml.in index e6f5add2..faf830f6 100644 --- a/mate-dictionary/data/org.mate.dictionary.gschema.xml.in +++ b/mate-dictionary/data/org.mate.dictionary.gschema.xml.in @@ -3,23 +3,23 @@ '!' - <_summary>The default database to use - <_description>The name of the default individual database or meta-database to use on a dictionary source. An exclamation mark ("!") means that all the databases present in a dictionary source should be searched + The default database to use + The name of the default individual database or meta-database to use on a dictionary source. An exclamation mark ("!") means that all the databases present in a dictionary source should be searched 'exact' - <_summary>The default search strategy to use - <_description>The name of the default search strategy to use on a dictionary source, if available. The default strategy is 'exact', that is match exact words. + The default search strategy to use + The name of the default search strategy to use on a dictionary source, if available. The default strategy is 'exact', that is match exact words. 'Serif 12' - <_summary>The font to be used when printing - <_description>The font to be used when printing a definition. + The font to be used when printing + The font to be used when printing a definition. 'Default' - <_summary>The name of the dictionary source used - <_description>The name of the dictionary source used to retrieve the definitions of words. + The name of the dictionary source used + The name of the dictionary source used to retrieve the definitions of words. diff --git a/mate-screenshot/Makefile.am b/mate-screenshot/Makefile.am index 1fa3cdc7..7cce5d0c 100644 --- a/mate-screenshot/Makefile.am +++ b/mate-screenshot/Makefile.am @@ -63,30 +63,26 @@ appdatadir = $(datadir)/appdata appdata_in_files = mate-screenshot.appdata.xml.in appdata_DATA = $(appdata_in_files:.xml.in=.xml) -gsettingsschema_in_files = org.mate.screenshot.gschema.xml.in -gsettings_SCHEMAS = $(gsettingsschema_in_files:.xml.in=.xml) -.PRECIOUS: $(gsettings_SCHEMAS) - +gsettings_SCHEMAS = org.mate.screenshot.gschema.xml @GSETTINGS_RULES@ convertdir = $(datadir)/MateConf/gsettings convert_DATA = mate-screenshot.convert EXTRA_DIST = \ - $(gsettingsschema_in_files) \ $(appdata_in_files) \ - $(mate_screenshot_in_files) \ + $(mate_screenshot_in_files) \ $(man_MANS) \ $(ui_DATA) \ - $(convert_DATA) \ + $(convert_DATA) \ $(NULL) CLEANFILES = \ - $(BUILT_SOURCES) \ - $(gsettings_SCHEMAS) \ - $(mate_screenshot_DATA) \ + $(BUILT_SOURCES) \ + $(gsettings_SCHEMAS) \ + $(mate_screenshot_DATA) \ $(sys_DATA) \ - mate-screenshot.appdata.xml + $(appdata_DATA) dist-hook: cd $(distdir) ; rm -f $(CLEANFILES) diff --git a/mate-screenshot/org.mate.screenshot.gschema.xml.in b/mate-screenshot/org.mate.screenshot.gschema.xml.in index fddddbb3..c926d737 100644 --- a/mate-screenshot/org.mate.screenshot.gschema.xml.in +++ b/mate-screenshot/org.mate.screenshot.gschema.xml.in @@ -2,28 +2,28 @@ 0 - <_summary>Screenshot delay - <_description>The number of seconds to wait before taking the screenshot. + Screenshot delay + The number of seconds to wait before taking the screenshot. '' - <_summary>Screenshot directory - <_description>The directory the last screenshot was saved in. + Screenshot directory + The directory the last screenshot was saved in. true - <_summary>Include Border - <_description>Include the window manager border along with the screenshot + Include Border + Include the window manager border along with the screenshot true - <_summary>Include Pointer - <_description>Include the pointer in the screenshot + Include Pointer + Include the pointer in the screenshot 'none' - <_summary>Border Effect - <_description>Effect to add to the outside of a border. Possible values are "shadow", "none", and "border". + Border Effect + Effect to add to the outside of a border. Possible values are "shadow", "none", and "border". diff --git a/po/POTFILES.in b/po/POTFILES.in index aed75496..cb45ae6e 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -3,7 +3,7 @@ baobab/data/mate-disk-usage-analyzer.desktop.in.in [type: gettext/glade]baobab/data/baobab-dialog-scan-props.ui [type: gettext/glade]baobab/data/baobab-main-window.ui -baobab/data/org.mate.disk-usage-analyzer.gschema.xml.in +[type: gettext/gsettings]baobab/data/org.mate.disk-usage-analyzer.gschema.xml.in baobab/data/mate-disk-usage-analyzer.appdata.xml.in baobab/src/baobab.c baobab/src/baobab-chart.c @@ -14,10 +14,29 @@ baobab/src/baobab-treeview.c baobab/src/baobab-utils.c baobab/src/baobab-ringschart.c baobab/src/callbacks.c +gsearchtool/data/mate-search-tool.appdata.xml.in +gsearchtool/mate-search-tool.desktop.in +gsearchtool/gsearchtool.c +gsearchtool/gsearchtool-callbacks.c +gsearchtool/gsearchtool-support.c +gsearchtool/org.mate.search-tool.gschema.xml.in +libeggsmclient/eggdesktopfile.c +libeggsmclient/eggsmclient.c +logview/data/mate-system-log.desktop.in.in +[type: gettext/gsettings]logview/data/org.mate.system-log.gschema.xml.in +[type: gettext/glade]logview/data/logview-filter.ui +logview/logview-about.h +logview/logview-app.c +logview/logview-filter-manager.c +logview/logview-findbar.c +logview/logview-log.c +logview/logview-loglist.c +logview/logview-main.c +logview/logview-window.c mate-dictionary/data/default.desktop.in mate-dictionary/data/mate-dictionary.desktop.in.in mate-dictionary/data/mate-dictionary.appdata.xml.in -mate-dictionary/data/org.mate.dictionary.gschema.xml.in +[type: gettext/gsettings]mate-dictionary/data/org.mate.dictionary.gschema.xml.in mate-dictionary/data/org.mate.panel.applet.DictionaryAppletFactory.service.in mate-dictionary/data/spanish.desktop.in mate-dictionary/data/thai.desktop.in @@ -48,28 +67,9 @@ mate-screenshot/mate-screenshot.c mate-screenshot/mate-screenshot.appdata.xml.in mate-screenshot/mate-screenshot.desktop.in [type: gettext/glade]mate-screenshot/mate-screenshot.ui -mate-screenshot/org.mate.screenshot.gschema.xml.in +[type: gettext/gsettings]mate-screenshot/org.mate.screenshot.gschema.xml.in mate-screenshot/screenshot-dialog.c mate-screenshot/screenshot-save.c mate-screenshot/screenshot-shadow.c mate-screenshot/screenshot-utils.c mate-screenshot/screenshot-xfer.c -gsearchtool/data/mate-search-tool.appdata.xml.in -gsearchtool/mate-search-tool.desktop.in -gsearchtool/gsearchtool.c -gsearchtool/gsearchtool-callbacks.c -gsearchtool/gsearchtool-support.c -gsearchtool/org.mate.search-tool.gschema.xml.in -libeggsmclient/eggdesktopfile.c -libeggsmclient/eggsmclient.c -logview/data/mate-system-log.desktop.in.in -logview/data/org.mate.system-log.gschema.xml.in -[type: gettext/glade]logview/data/logview-filter.ui -logview/logview-about.h -logview/logview-app.c -logview/logview-filter-manager.c -logview/logview-findbar.c -logview/logview-log.c -logview/logview-loglist.c -logview/logview-main.c -logview/logview-window.c -- cgit v1.2.1