summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.build.yml2
-rw-r--r--.travis.yml2
-rw-r--r--README30
-rwxr-xr-xautogen.sh1
-rw-r--r--doc/Makefile.am2
5 files changed, 34 insertions, 3 deletions
diff --git a/.build.yml b/.build.yml
index b9e60d7..1ae80d4 100644
--- a/.build.yml
+++ b/.build.yml
@@ -105,7 +105,7 @@ before_scripts:
build_scripts:
- if [ ${DISTRO_NAME} == "debian" ];then
- - export CFLAGS+=" -Wsign-compare -Wunused-parameter"
+ - export CFLAGS+=" -Wsign-compare -Wunused-macros -Wunused-parameter"
- cppcheck --enable=warning,style,performance,portability,information,missingInclude .
- fi
diff --git a/.travis.yml b/.travis.yml
index 08b468e..b15496b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -73,4 +73,4 @@ env:
- DISTRO="archlinux:latest"
- DISTRO="debian:testing"
- DISTRO="fedora:latest"
- - DISTRO="ubuntu:devel"
+ - DISTRO="ubuntu:rolling"
diff --git a/README b/README
index 6e03685..20ef8f1 100644
--- a/README
+++ b/README
@@ -11,3 +11,33 @@ a new version.
To use libmateweather in your code, you need to define the
MATEWEATHER_I_KNOW_THIS_IS_UNSTABLE preprecessor symbol, e.g. by adding
-DMATEWEATHER_I_KNOW_THIS_IS_UNSTABLE to your CFLAGS.
+
+
+HOW TO TRANSLATE THE DEFAULT LOCATION DATA
+------------------------------------------
+
+To translate the default location, enter the data for the largest city on your
+locale as folows: (Location Data for en_US.UTF-8: «Washington, D.C, US»)
+
+ msgid "'DEFAULT_LOCATION'"
+ msgstr "'Washington'"
+
+ msgid "'DEFAULT_CODE'"
+ msgstr "'KOCW'"
+
+ msgid "'DEFAULT_ZONE'"
+ msgstr "'America/New_York'"
+
+ msgid "'DEFAULT_RADAR'"
+ msgstr "' '"
+
+ msgid "'DEFAULT_COORDINATES'"
+ msgstr "'35.570557 -77.049721'"
+
+You can retrieve the required data if you have set your location on the clock
+panel applet:
+
+ $ dconf read /org/mate/panel/objects/clock/prefs/cities
+ ['<location name="" city="Washington" timezone="America/New_York"
+ latitude="35.570557" longitude="-77.049721" code="KOCW" current="false"/>']
+
diff --git a/autogen.sh b/autogen.sh
index 9f057bb..834011f 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -18,7 +18,6 @@ which mate-autogen || {
}
REQUIRED_AUTOMAKE_VERSION=1.9
-USE_MATE2_MACROS=1
USE_COMMON_DOC_BUILD=yes
. mate-autogen
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 52cae33..663e1d4 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -74,6 +74,8 @@ GTKDOC_LIBS = $(top_builddir)/libmateweather/libmateweather.la $(GTK_LIBS) $(LIB
# This includes the standard gtk-doc make rules, copied by gtkdocize.
include $(top_srcdir)/gtk-doc.make
+DISTCLEANFILES = $(DOC_MODULE).actions
+
# Other files to distribute
# e.g. EXTRA_DIST += version.xml.in
EXTRA_DIST +=