...
 
Commits (77)
DISTCHECK_CONFIGURE_FLAGS = --disable-dogtail
SUBDIRS = po data src tests
MAINTAINERCLEANFILES = \
$(srcdir)/INSTALL \
$(srcdir)/aclocal.m4 \
$(srcdir)/autoscan.log \
$(srcdir)/compile \
$(srcdir)/config.guess \
$(srcdir)/config.h.in \
$(srcdir)/config.sub \
$(srcdir)/configure.scan \
$(srcdir)/depcomp \
$(srcdir)/install-sh \
$(srcdir)/ltmain.sh \
$(srcdir)/missing \
$(srcdir)/mkinstalldirs
GITIGNOREFILES = \
m4/intltool.m4 \
m4/libtool.m4 \
m4/lt* \
.build \
.flatpak-builder \
.buildconfig
distdir = $(PACKAGE_TARNAME)-$(VERSION)
-include $(top_srcdir)/git.mk
This diff is collapsed.
3.31.90
=======
* Port from Autotools to Meson (Falk Seidl)
* Show tomorrow's forecasts at the end of the day (Michael Catanzaro)
* Unify App ID
* Translation updates:
- Galician
- Greek
- Hungarian
- Swedish
- Turkish
3.31.3
======
* Migrate app menu to primary menu
* New icon
* Update GJS dependency
* Translation updates
3.26.0
======
* Translation updates
......
This diff is collapsed.
This diff is collapsed.
AC_PREREQ(2.63)
AC_INIT([org.gnome.Weather],[3.26.0],
[https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-weather],
[gnome-weather],
[https://wiki.gnome.org/Apps/Weather])
AC_CONFIG_MACRO_DIR([m4])
AX_IS_RELEASE([minor-version])
AM_INIT_AUTOMAKE([1.12 dist-xz no-dist-gzip foreign tar-ustar no-define serial-tests -Wno-portability])
# revert automake using PACKAGE_TARNAME instead of PACKAGE_NAME
AC_SUBST([PACKAGE], [$PACKAGE_NAME])
AM_SILENT_RULES([yes])
GETTEXT_PACKAGE=$PACKAGE_NAME
AC_SUBST(GETTEXT_PACKAGE)
IT_PROG_INTLTOOL(0.26)
AC_PROG_LN_S
PKG_PROG_PKG_CONFIG([0.22])
AX_REQUIRE_DEFINED([APPSTREAM_XML])
APPSTREAM_XML
AX_REQUIRE_DEFINED([GLIB_GSETTINGS])
GLIB_GSETTINGS
AX_REQUIRE_DEFINED([GOBJECT_INTROSPECTION_REQUIRE])
GOBJECT_INTROSPECTION_REQUIRE([1.35.9])
GJS_MIN_VERSION=1.39.91
PKG_CHECK_MODULES([DEPS], [gdk-3.0
gdk-pixbuf-2.0
gio-2.0
glib-2.0
gobject-2.0
gtk+-3.0 >= 3.11.4
libgeoclue-2.0 >= 2.3.1
gjs-1.0 >= $GJS_MIN_VERSION
gweather-3.0 >= 3.25.91])
AC_PATH_PROG([GJS],[gjs])
AC_ARG_ENABLE(dogtail,
[AS_HELP_STRING([--enable-dogtail],
[test using dogtail [default=yes]])],,
enable_dogtail=yes)
AM_CONDITIONAL(ENABLE_DOGTAIL, test "$enable_dogtail" != no)
# coverage
AC_ARG_ENABLE([coverage],
[AS_HELP_STRING([--enable-coverage],
[enable code coverage])],
, [enable_coverage=no])
if test x$enable_coverage = xyes; then
AC_PATH_TOOL([LCOV], [lcov])
AC_PATH_TOOL([GENHTML], [genhtml])
if test x$LCOV = x || test x$GENHTML = x; then
AC_MSG_ERROR([lcov and genhtml are required for --enable-coverage])
fi
fi
AM_CONDITIONAL([ENABLE_COVERAGE], [test x$enable_coverage = xyes])
GLIB_TESTS
GLIB_COMPILE_RESOURCES=`$PKG_CONFIG --variable glib_compile_resources gio-2.0`
AC_SUBST(GLIB_COMPILE_RESOURCES)
AC_CONFIG_FILES([
Makefile
data/Makefile
data/icons/Makefile
src/Makefile
tests/Makefile
po/Makefile.in
])
AC_OUTPUT
# I chose to use recursive automake so I can use nobase_ and avoid
# 5 different directory declarations
SUBDIRS = icons
app_resource_files = $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) --generate-dependencies $(srcdir)/$(PACKAGE_NAME).Application.data.gresource.xml)
$(PACKAGE_NAME).Application.data.gresource: $(PACKAGE_NAME).Application.data.gresource.xml $(app_resource_files)
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) $<
service_resource_files = $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) --generate-dependencies $(srcdir)/$(PACKAGE_NAME).BackgroundService.data.gresource.xml)
$(PACKAGE_NAME).BackgroundService.data.gresource: $(PACKAGE_NAME).BackgroundService.data.gresource.xml $(service_resource_files)
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) $<
resourcedir = $(pkgdatadir)
resource_DATA = $(PACKAGE_NAME).Application.data.gresource $(PACKAGE_NAME).BackgroundService.data.gresource
appsdir = $(datadir)/applications
apps_DATA = $(PACKAGE_NAME).Application.desktop
@INTLTOOL_DESKTOP_RULE@
gsettings_SCHEMAS = $(PACKAGE_NAME).Application.gschema.xml
@GSETTINGS_RULES@
appstream_XML = $(PACKAGE_NAME).appdata.xml
@APPSTREAM_XML_RULES@
@INTLTOOL_XML_RULE@
$(PACKAGE_NAME).Application.service: $(PACKAGE_NAME).Application.service.in
$(AM_V_GEN) sed \
-e "s|[@]PACKAGE_NAME@|$(PACKAGE_NAME)|g" \
-e "s|[@]pkgdatadir@|$(pkgdatadir)|g" \
-e "s|[@]pkglibdir@|$(pkglibdir)|g" \
$< > $@
$(PACKAGE_NAME).BackgroundService.service: $(PACKAGE_NAME).BackgroundService.service.in
$(AM_V_GEN) sed \
-e "s|[@]PACKAGE_NAME@|$(PACKAGE_NAME)|g" \
-e "s|[@]pkgdatadir@|$(pkgdatadir)|g" \
-e "s|[@]pkglibdir@|$(pkglibdir)|g" \
$< > $@
servicedir = $(datadir)/dbus-1/services
service_DATA = $(PACKAGE_NAME).Application.service $(PACKAGE_NAME).BackgroundService.service
searchproviderdir = $(datadir)/gnome-shell/search-providers
dist_searchprovider_DATA = $(PACKAGE_NAME).Application.search-provider.ini
EXTRA_DIST = \
CREDITS \
$(PACKAGE_NAME).Application.desktop.in \
$(PACKAGE_NAME).Application.service.in \
$(PACKAGE_NAME).BackgroundService.service.in \
$(PACKAGE_NAME).Application.data.gresource.xml \
$(PACKAGE_NAME).BackgroundService.data.gresource.xml \
$(gsettings_SCHEMAS) \
$(PACKAGE_NAME).appdata.xml.in \
$(app_resource_files) \
$(service_resource_files) \
$(NULL)
CLEANFILES = \
$(PACKAGE_NAME).Application.service \
$(PACKAGE_NAME).BackgroundService.service \
$(PACKAGE_NAME).Application.data.gresource \
$(PACKAGE_NAME).BackgroundService.data.gresource \
$(PACKAGE_NAME).appdata.xml \
$(PACKAGE_NAME).appdata.valid \
$(apps_DATA) \
*.valid \
gschemas.compiled \
$(NULL)
# For uninstalled use
all-local:
$(GLIB_COMPILE_SCHEMAS) --targetdir=$(builddir) $(srcdir)
-include $(top_srcdir)/git.mk
This diff is collapsed.
icondir = $(datadir)/icons
# I'd like to use nobase_dist_icon_DATA, but
# automake doesn't recognizes two prefixes at once
nobase_icon_DATA = \
hicolor/16x16/apps/$(PACKAGE_NAME).png \
hicolor/22x22/apps/$(PACKAGE_NAME).png \
hicolor/32x32/apps/$(PACKAGE_NAME).png \
hicolor/48x48/apps/$(PACKAGE_NAME).png \
hicolor/256x256/apps/$(PACKAGE_NAME).png \
hicolor/symbolic/apps/$(PACKAGE_NAME)-symbolic.svg
EXTRA_DIST = \
$(nobase_icon_DATA) \
hicolor/$(PACKAGE_NAME).svg
gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
install-data-hook: update-icon-cache
uninstall-hook: update-icon-cache
update-icon-cache:
@-if test -z "$(DESTDIR)"; then \
echo "Updating Gtk icon cache."; \
$(gtk_update_icon_cache); \
else \
echo "*** Icon cache not updated. After (un)install, run this:"; \
echo "*** $(gtk_update_icon_cache)"; \
fi
-include $(top_srcdir)/git.mk
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg xmlns:cc='http://creativecommons.org/ns#' xmlns:dc='http://purl.org/dc/elements/1.1/' sodipodi:docname='gnome-weather-symbolic.svg' height='16' id='svg7384' xmlns:inkscape='http://www.inkscape.org/namespaces/inkscape' xmlns:osb='http://www.openswatchbook.org/uri/2009/osb' xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#' xmlns:sodipodi='http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd' xmlns:svg='http://www.w3.org/2000/svg' version='1.1' inkscape:version='0.91 r13725' width='16' xmlns='http://www.w3.org/2000/svg'>
<metadata id='metadata90'>
<rdf:RDF>
<cc:Work rdf:about=''>
<dc:format>image/svg+xml</dc:format>
<dc:type rdf:resource='http://purl.org/dc/dcmitype/StillImage'/>
<dc:title>Gnome Symbolic Icon Theme</dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<sodipodi:namedview inkscape:bbox-paths='true' bordercolor='#666666' borderopacity='1' inkscape:current-layer='layer9' inkscape:cx='88.68149' inkscape:cy='28.95441' gridtolerance='10' inkscape:guide-bbox='true' guidetolerance='10' id='namedview88' inkscape:object-nodes='false' inkscape:object-paths='false' objecttolerance='10' pagecolor='#555753' inkscape:pageopacity='1' inkscape:pageshadow='2' showborder='false' showgrid='false' showguides='true' inkscape:snap-bbox='true' inkscape:snap-bbox-midpoints='false' inkscape:snap-global='true' inkscape:snap-grids='true' inkscape:snap-nodes='true' inkscape:snap-others='false' inkscape:snap-to-guides='true' inkscape:window-height='1376' inkscape:window-maximized='1' inkscape:window-width='2560' inkscape:window-x='0' inkscape:window-y='27' inkscape:zoom='32'>
<inkscape:grid empspacing='2' enabled='true' id='grid4866' originx='-202' originy='-342' snapvisiblegridlinesonly='true' spacingx='1px' spacingy='1px' type='xygrid' visible='true'/>
</sodipodi:namedview>
<title id='title9167'>Gnome Symbolic Icon Theme</title>
<defs id='defs7386'>
<linearGradient id='linearGradient7212' osb:paint='solid'>
<stop id='stop7214' offset='0' style='stop-color:#000000;stop-opacity:1;'/>
</linearGradient>
</defs>
<g inkscape:groupmode='layer' id='layer9' inkscape:label='apps' style='display:inline' transform='translate(-443.0002,125)'>
<path inkscape:connector-curvature='0' d='m 451.0002,-122 c -2.74958,0 -5,2.25041 -5,5 0,1.78334 0.9576,3.36255 2.375,4.25 0.16853,-0.0758 0.34883,-0.13986 0.53125,-0.1875 0.22859,-1.81667 1.71945,-3.25 3.59375,-3.25 1.00251,0 1.83852,0.47365 2.5,1.125 0.175,-0.0333 0.30776,-0.125 0.5,-0.125 0.0432,0 0.0823,-0.002 0.125,0 0.22408,-0.56633 0.375,-1.16979 0.375,-1.8125 0,-2.74959 -2.25042,-5 -5,-5 z' id='path552' style='color:#bebebe;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:Sans;-inkscape-font-specification:Sans;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;text-anchor:start;display:inline;overflow:visible;visibility:visible;fill:#bebebe;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2.20970368;marker:none;enable-background:new'/>
<rect height='2' id='rect4906' rx='0.5625' ry='0.5625' style='color:#bebebe;display:inline;overflow:visible;visibility:visible;fill:#bebebe;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2;marker:none;enable-background:new' width='2' x='443.00021' y='-118'/>
<rect height='2' id='rect4906-4' rx='0.5625' ry='0.5625' style='color:#bebebe;display:inline;overflow:visible;visibility:visible;fill:#bebebe;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2;marker:none;enable-background:new' width='2' x='457.00021' y='-118'/>
<rect height='2' id='rect4088' rx='0.5625' ry='0.5625' style='color:#bebebe;display:inline;overflow:visible;visibility:visible;fill:#bebebe;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2;marker:none;enable-background:new' transform='matrix(0,1,-1,0,0,0)' width='2' x='-125' y='-452.00021'/>
<rect height='2' id='rect4075' rx='0.5625' ry='0.5625' style='color:#bebebe;display:inline;overflow:visible;visibility:visible;fill:#bebebe;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:new' transform='matrix(-0.70710678,0.70710678,-0.70710678,-0.70710678,0,0)' width='2' x='-409.63681' y='-237.17381'/>
<rect height='2' id='rect4077' rx='0.5625' ry='0.5625' style='color:#bebebe;display:inline;overflow:visible;visibility:visible;fill:#bebebe;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:new' transform='matrix(-0.70710678,0.70710678,-0.70710678,-0.70710678,0,0)' width='2' x='-395.63681' y='-237.17381'/>
<rect height='2' id='rect4081' rx='0.5625' ry='0.5625' style='color:#bebebe;display:inline;overflow:visible;visibility:visible;fill:#bebebe;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2;marker:none;enable-background:new' transform='matrix(0.70710678,0.70710678,-0.70710678,0.70710678,0,0)' width='2' x='228.1738' y='-402.63678'/>
<path inkscape:connector-curvature='0' d='m 452.5002,-115 c -1.38071,0 -2.5,1.11929 -2.5,2.5 0,0.21842 0.0411,0.42306 0.0937,0.625 -0.17941,-0.0759 -0.38659,-0.125 -0.5937,-0.125 -0.82843,0 -1.5,0.67157 -1.5,1.5 0,0.82843 0.67157,1.5 1.5,1.5 l 8,0 c 0.82843,0 1.5,-0.67157 1.5,-1.5 0,-0.82843 -0.67157,-1.5 -1.5,-1.5 0,-1.10457 -0.89543,-2 -2,-2 -0.31572,0 -0.60948,0.0885 -0.875,0.21875 -0.43705,-0.72779 -1.21426,-1.21875 -2.125,-1.21875 z' id='path5094-5-03' sodipodi:nodetypes='sscssccscscs' style='color:#000000;display:inline;overflow:visible;visibility:visible;fill:#bebebe;fill-opacity:1;stroke:none;stroke-width:2.40000033;marker:none;enable-background:accumulate'/>
</g>
<svg xmlns="http://www.w3.org/2000/svg" width="16.017" height="16.005">
<path d="M8.017 0L6.922 1.096A6.961 6.961 0 0 1 8.017 1c.374 0 .738.039 1.096.096zm0 2a6 6 0 0 0-6 6 6 6 0 0 0 1.557 4.023 2.941 2.941 0 0 1 1.3-.814c.416-1.36 1.514-2.438 2.99-2.44a1 1 0 0 0 .001 0c.257.001.49.121.738.18.782-.998 1.922-1.718 3.356-1.719.76 0 1.463.253 2.055.676A6 6 0 0 0 8.017 2zm-5.75.25v1.8a7.102 7.102 0 0 1 1.805-1.8zm9.7 0a7.102 7.102 0 0 1 1.8 1.805V2.25zM1.113 6.904L.017 8l1.096 1.096A6.961 6.961 0 0 1 1.017 8c0-.374.04-.738.096-1.096zm13.809 0c.057.358.095.722.095 1.096 0 .286-.038.562-.074.838.033.046.059.098.09.146L16.017 8zM11.709 8.23a3.079 3.079 0 0 0-2.793 1.795 2.308 2.308 0 0 0-1.053-.255 2.306 2.306 0 0 0-2.299 2.154h-.007a1.538 1.538 0 1 0 0 3.076h8.615a1.846 1.846 0 0 0 1.845-1.846 1.846 1.846 0 0 0-1.236-1.74l.006-.105a3.079 3.079 0 0 0-3.076-3.079zm-6.1 2.694l-.002.002a1 1 0 0 1 .01 0c-.032-.002-.035-.003-.008-.002zm-3.342 1.021v1.805h.784c-.013-.096-.034-.19-.034-.29 0-.18.028-.35.069-.513a7.062 7.062 0 0 1-.819-1.002z" style="marker:none" fill="#2e3436"/>
</svg>
datadir = join_paths(get_option('datadir'), 'icons')
icondir = join_paths('hicolor', 'scalable', 'apps')
if get_option('profile') == 'development'
install_data (
join_paths(icondir, 'org.gnome.Weather.svg'),
install_dir: join_paths(datadir, icondir),
rename: 'org.gnome.WeatherDevel.svg'
)
else
install_data (
join_paths(icondir, 'org.gnome.Weather.svg'),
install_dir: join_paths(datadir, icondir)
)
endif
icondir = join_paths('hicolor', 'symbolic', 'apps')
if get_option('profile') == 'development'
install_data (
join_paths(icondir, 'org.gnome.Weather-symbolic.svg'),
install_dir: join_paths(datadir, icondir),
rename: 'org.gnome.WeatherDevel-symbolic.svg'
)
else
install_data (
join_paths(icondir, 'org.gnome.Weather-symbolic.svg'),
install_dir: join_paths(datadir, icondir)
)
endif
gnome = import('gnome')
podir = join_paths(meson.source_root(), 'po')
data_conf = configuration_data()
data_conf.set('APP_ID', application_id)
data_conf.set('DATA_DIR', DATA_DIR)
message('Compiling resources')
gnome.compile_resources(
application_id_stable + '.data',
application_id_stable + '.data.gresource.xml',
gresource_bundle: true,
source_dir: '.',
install_dir: DATA_DIR,
install: true
)
gnome.compile_resources(
application_id_stable + '.BackgroundService.data',
application_id_stable + '.BackgroundService.data.gresource.xml',
gresource_bundle: true,
source_dir: '.',
install_dir: DATA_DIR,
install: true
)
# Installing the schema file
install_data(
application_id_stable + '.gschema.xml',
install_dir: 'share/glib-2.0/schemas'
)
# Building desktop file
msgfmt = find_program('msgfmt')
desktop_conf = configuration_data()
desktop_conf.set('APP_ID', application_id)
desktop = custom_target(
'desktop-file',
input: configure_file(
input: '@0@.desktop.in.in'.format(application_id_stable),
output: '@0@.desktop.in'.format(application_id_stable),
configuration: desktop_conf,
),
output: '@0@.desktop'.format(application_id),
install: true,
install_dir: join_paths(get_option('datadir'), 'applications'),
command: [msgfmt, '--desktop',
'--template', '@INPUT@', '-d', podir, '-o', '@OUTPUT@',
'--keyword=X-Geoclue-Reason',
'--keyword=Name', '--keyword=Comment', '--keyword=Keywords'
]
)
# Validating desktop file
desktop_file_validate = find_program('desktop-file-validate', required:false)
if desktop_file_validate.found()
test (
'Validate desktop file',
desktop_file_validate,
args: join_paths(meson.current_build_dir(), application_id + '.desktop')
)
endif
# Building app data
appdata_conf = configuration_data()
appdata = i18n.merge_file(
'appdata',
input: application_id_stable + '.appdata.xml.in',
output: application_id + '.appdata.xml',
install: true,
install_dir: join_paths(join_paths('share'), 'metainfo'),
po_dir: join_paths(meson.source_root(), 'po')
)
configure_file(
input: application_id_stable + '.service.in',
output: application_id + '.service',
configuration: data_conf,
install: true,
install_dir: join_paths(get_option('datadir'), 'dbus-1', 'services')
)
configure_file(
input: application_id_stable + '.BackgroundService.service.in',
output: application_id + '.BackgroundService.service',
configuration: data_conf,
install: true,
install_dir: join_paths(get_option('datadir'), 'dbus-1', 'services')
)
# Search Provider
install_data(
application_id_stable + '.search-provider.ini',
install_dir: 'share/gnome-shell/search-providers'
)
subdir('icons')
[Desktop Entry]
Type=Application
_Name=Weather
_Comment=Show weather conditions and forecast
Icon=org.gnome.Weather
Exec=gapplication launch org.gnome.Weather.Application
DBusActivatable=true
StartupNotify=true
Categories=GNOME;GTK;Utility;Core;
_Keywords=Weather;Forecast;
_X-Geoclue-Reason=Allows weather information to be displayed for your location.
[D-BUS Service]
Name=@PACKAGE_NAME@.Application
Exec=@pkgdatadir@/@PACKAGE_NAME@.Application --gapplication-service
[D-BUS Service]
Name=@PACKAGE_NAME@.BackgroundService
Exec=@pkgdatadir@/@PACKAGE_NAME@.BackgroundService
Name=@APP_ID@.BackgroundService
Exec=@DATA_DIR@/@APP_ID@.BackgroundService
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2014 Giovanni Campagna -->
<component type="desktop">
<id>org.gnome.Weather.Application.desktop</id>
<_name>Weather</_name>
<_summary>Show weather conditions and forecast</_summary>
<id>org.gnome.Weather</id>
<name>Weather</name>
<summary>Show weather conditions and forecast</summary>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-2.0+ and CC-BY-3.0 and CC-BY-SA-3.0</project_license>
<kudos>
......@@ -14,19 +14,19 @@
<kudo>SearchProvider</kudo>
</kudos>
<description>
<_p>
<p>
A small application that allows you to monitor the current weather
conditions for your city, or anywhere in the world.
</_p>
<_p>
</p>
<p>
It provides access to detailed forecasts, up to 7 days, with hourly
details for the current and next day, using various internet services.
</_p>
<_p>
</p>
<p>
It also optionally integrates with the GNOME Shell, allowing you see
the current conditions of the most recently searched cities by just
typing its name in the Activities Overview.
</_p>
</p>
</description>
<project_group>GNOME</project_group>
<screenshots>
......@@ -38,7 +38,10 @@
</screenshot>
</screenshots>
<url type="homepage">https://wiki.gnome.org/Apps/Weather</url>
<url type="bugtracker">https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-weather</url>
<url type="bugtracker">https://gitlab.gnome.org/GNOME/gnome-weather/issues</url>
<updatecontact>gcampagna_at_src.gnome.org</updatecontact>
<translation type="gettext">org.gnome.Weather</translation>
<provides>
<id>org.gnome.Weather.Application.desktop</id>
</provides>
</component>
<?xml version="1.0" encoding="UTF-8"?>
<gresources>
<gresource prefix="/org/gnome/Weather/Application">
<file preprocess="xml-stripblanks">app-menu.ui</file>
<gresource prefix="/org/gnome/Weather">
<file preprocess="xml-stripblanks">city.ui</file>
<file preprocess="xml-stripblanks">places-popover.ui</file>
<file preprocess="xml-stripblanks">primary-menu.ui</file>
<file preprocess="xml-stripblanks">weather-widget.ui</file>
<file preprocess="xml-stripblanks">window.ui</file>
<file>application.css</file>
......
[Desktop Entry]
Type=Application
Name=Weather
Comment=Show weather conditions and forecast
# Translators: Do NOT translate or transliterate this text (this is an icon file name)!
Icon=@APP_ID@
Exec=gapplication launch @APP_ID@
DBusActivatable=true
StartupNotify=true
Categories=GNOME;GTK;Utility;Core;
# Translators: Search terms to find this application. Do NOT translate or localize the semicolons! The list MUST also end with a semicolon!
Keywords=Weather;Forecast;
X-Geoclue-Reason=Allows weather information to be displayed for your location.
<schemalist gettext-domain="org.gnome.Weather.Application">
<schema id="org.gnome.Weather.Application" path="/org/gnome/Weather/Application/">
<?xml version="1.0" encoding="UTF-8"?>
<schemalist gettext-domain="org.gnome.Weather">
<schema id="org.gnome.Weather" path="/org/gnome/Weather/">
<key name="locations" type="av">
<default>[]</default>
<summary>Configured cities to show weather for</summary>
......
[Shell Search Provider]
DesktopId=org.gnome.Weather.Application.desktop
DesktopId=org.gnome.Weather.desktop
BusName=org.gnome.Weather.BackgroundService
ObjectPath=/org/gnome/Weather/BackgroundService
Version=2
......
[D-BUS Service]
Name=@APP_ID@
Exec=@DATA_DIR@/@APP_ID@ --gapplication-service
<interface>
<menu id="app-menu">
<menu id="primary-menu">
<submenu>
<attribute translatable="yes" name="label">Temperature unit</attribute>
<attribute translatable="yes" name="label">_Temperature Unit</attribute>
<item>
<attribute translatable="yes" name="label">Celsius</attribute>
<attribute translatable="yes" name="label">_Celsius</attribute>
<attribute name="action">app.temperature-unit</attribute>
<attribute name="target">centigrade</attribute>
</item>
<item>
<attribute translatable="yes" name="label">Fahrenheit</attribute>
<attribute translatable="yes" name="label">_Fahrenheit</attribute>
<attribute name="action">app.temperature-unit</attribute>
<attribute name="target">fahrenheit</attribute>
</item>
......@@ -16,12 +16,7 @@
<section>
<item>
<attribute name="action">win.about</attribute>
<attribute name="label" translatable="yes">About</attribute>
</item>
<item>
<attribute name="action">app.quit</attribute>
<attribute name="label" translatable="yes">Quit</attribute>
<attribute name="accel">&lt;Primary&gt;q</attribute>
<attribute name="label" translatable="yes">_About Weather</attribute>
</item>
</section>
</menu>
......
......@@ -5,6 +5,27 @@
<property name="visible">True</property>
<property name="vexpand">False</property>
<property name="show-close-button">True</property>
<child>
<object class="GtkMenuButton" id="primary-menu-button">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="use-popover">True</property>
<property name="valign">center</property>
<style>
<class name="image-button"/>
</style>
<child>
<object class="GtkImage" id="primary-menu-img">
<property name="visible">True</property>
<property name="icon-name">open-menu-symbolic</property>
<property name="icon-size">1</property>
</object>
</child>
</object>
<packing>
<property name="pack_type">end</property>
</packing>
</child>
<child>
<object class="GtkMenuButton" id="places-button">
<property name="visible">True</property>
......@@ -144,3 +165,4 @@
</child>
</object>
</interface>
gnome-weather (3.31.90-1) experimental; urgency=medium
* New upstream development release
* Build-Depend on debhelper-compat 12 and drop debian/comapt
* Build-Depend on dh-sequence-gnome
* Build with meson
-- Jeremy Bicha <jbicha@debian.org> Thu, 07 Feb 2019 21:13:34 -0500
gnome-weather (3.26.0-5) unstable; urgency=medium
* Update Vcs fields for migration to https://salsa.debian.org/
......
......@@ -6,20 +6,21 @@ Source: gnome-weather
Section: gnome
Priority: optional
Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>
Uploaders: Jeremy Bicha <jbicha@debian.org>, Josselin Mouette <joss@debian.org>, Michael Biebl <biebl@debian.org>
Build-Depends: debhelper (>= 11),
gnome-pkg-tools (>= 0.10),
intltool (>= 0.26),
Uploaders: Jeremy Bicha <jbicha@debian.org>, Michael Biebl <biebl@debian.org>
Build-Depends: debhelper-compat (= 12),
desktop-file-utils <!nocheck>,
dh-sequence-gnome,
itstool,
meson (>= 0.46.0),
pkg-config (>= 0.22),
appstream-util,
libglib2.0-dev,
libgirepository1.0-dev (>= 1.35.9),
gjs (>= 1.49.4),
gjs (>= 1.50.0),
libgeoclue-2-dev (>= 2.3.1),
libgjs-dev (>= 1.39.91),
libgtk-3-dev (>= 3.11.4),
libgdk-pixbuf2.0-dev,
libgweather-3-dev (>= 3.17.2),
libgweather-3-dev (>= 3.28.0),
libxml2-utils
Standards-Version: 4.2.1
Vcs-Browser: https://salsa.debian.org/gnome-team/gnome-weather
......@@ -40,6 +41,6 @@ Depends: ${misc:Depends},
gir1.2-geocodeglib-1.0,
gir1.2-geoclue-2.0 (>= 2.3.1)
Description: access current conditions and forecasts
Weather is a small application for GNOME that allows one to monitor the
current weather conditions for a city, or anywhere in the world, and
Weather is a small application for GNOME that allows one to monitor the
current weather conditions for a city, or anywhere in the world, and
to access updated forecasts provided by various internet services.
......@@ -3,19 +3,20 @@ Section: gnome
Priority: optional
Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>
Uploaders: @GNOME_TEAM@
Build-Depends: debhelper (>= 11),
gnome-pkg-tools (>= 0.10),
intltool (>= 0.26),
Build-Depends: debhelper-compat (= 12),
desktop-file-utils <!nocheck>,
dh-sequence-gnome,
itstool,
meson (>= 0.46.0),
pkg-config (>= 0.22),
appstream-util,
libglib2.0-dev,
libgirepository1.0-dev (>= 1.35.9),
gjs (>= 1.49.4),
gjs (>= 1.50.0),
libgeoclue-2-dev (>= 2.3.1),
libgjs-dev (>= 1.39.91),
libgtk-3-dev (>= 3.11.4),
libgdk-pixbuf2.0-dev,
libgweather-3-dev (>= 3.17.2),
libgweather-3-dev (>= 3.28.0),
libxml2-utils
Standards-Version: 4.2.1
Vcs-Browser: https://salsa.debian.org/gnome-team/gnome-weather
......@@ -36,6 +37,6 @@ Depends: ${misc:Depends},
gir1.2-geocodeglib-1.0,
gir1.2-geoclue-2.0 (>= 2.3.1)
Description: access current conditions and forecasts
Weather is a small application for GNOME that allows one to monitor the
current weather conditions for a city, or anywhere in the world, and
Weather is a small application for GNOME that allows one to monitor the
current weather conditions for a city, or anywhere in the world, and
to access updated forecasts provided by various internet services.
......@@ -4,7 +4,8 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,-z,defs -Wl,--as-needed
%:
dh $@ --with gnome
dh $@
override_dh_auto_configure:
dh_auto_configure -- --disable-dogtail --libdir=/usr/lib
# python3-dogtail isn't in Debian yet
override_dh_auto_test:
-dh_auto_test
version=4
https://download.gnome.org/sources/@PACKAGE@/([\d\.]+[02468])/ \
https://download.gnome.org/sources/@PACKAGE@/([\d\.]+)/ \
@PACKAGE@@ANY_VERSION@\.tar\.xz
# GLIB - Library of useful C routines
TESTS_ENVIRONMENT= \
G_TEST_SRCDIR="$(abs_srcdir)" \
G_TEST_BUILDDIR="$(abs_builddir)" \
G_DEBUG=gc-friendly \
MALLOC_CHECK_=2 \
MALLOC_PERTURB_=$$(($${RANDOM:-256} % 256))
LOG_DRIVER = env AM_TAP_AWK='$(AWK)' $(SHELL) $(top_srcdir)/tap-driver.sh
LOG_COMPILER = $(top_srcdir)/tap-test
NULL =
# initialize variables for unconditional += appending
BUILT_SOURCES =
BUILT_EXTRA_DIST =
CLEANFILES = *.log *.trs
DISTCLEANFILES =
MAINTAINERCLEANFILES =
EXTRA_DIST =
TESTS =
installed_test_LTLIBRARIES =
installed_test_PROGRAMS =
installed_test_SCRIPTS =
nobase_installed_test_DATA =
noinst_LTLIBRARIES =
noinst_PROGRAMS =
noinst_SCRIPTS =
noinst_DATA =
check_LTLIBRARIES =
check_PROGRAMS =
check_SCRIPTS =
check_DATA =
# We support a fairly large range of possible variables. It is expected that all types of files in a test suite
# will belong in exactly one of the following variables.
#
# First, we support the usual automake suffixes, but in lowercase, with the customary meaning:
#
# test_programs, test_scripts, test_data, test_ltlibraries
#
# The above are used to list files that are involved in both uninstalled and installed testing. The
# test_programs and test_scripts are taken to be actual testcases and will be run as part of the test suite.
# Note that _data is always used with the nobase_ automake variable name to ensure that installed test data is
# installed in the same way as it appears in the package layout.
#
# In order to mark a particular file as being only for one type of testing, use 'installed' or 'uninstalled',
# like so:
#
# installed_test_programs, uninstalled_test_programs
# installed_test_scripts, uninstalled_test_scripts
# installed_test_data, uninstalled_test_data
# installed_test_ltlibraries, uninstalled_test_ltlibraries
#
# Additionally, we support 'extra' infixes for programs and scripts. This is used for support programs/scripts
# that should not themselves be run as testcases (but exist to be used from other testcases):
#
# test_extra_programs, installed_test_extra_programs, uninstalled_test_extra_programs
# test_extra_scripts, installed_test_extra_scripts, uninstalled_test_extra_scripts
#
# Additionally, for _scripts and _data, we support the customary dist_ prefix so that the named script or data
# file automatically end up in the tarball.
#
# dist_test_scripts, dist_test_data, dist_test_extra_scripts
# dist_installed_test_scripts, dist_installed_test_data, dist_installed_test_extra_scripts
# dist_uninstalled_test_scripts, dist_uninstalled_test_data, dist_uninstalled_test_extra_scripts
#
# Note that no file is automatically disted unless it appears in one of the dist_ variables. This follows the
# standard automake convention of not disting programs scripts or data by default.
#
# test_programs, test_scripts, uninstalled_test_programs and uninstalled_test_scripts (as well as their disted
# variants) will be run as part of the in-tree 'make check'. These are all assumed to be runnable under
# gtester. That's a bit strange for scripts, but it's possible.
TESTS += $(test_programs) $(test_scripts) $(uninstalled_test_programs) $(uninstalled_test_scripts) \
$(dist_test_scripts) $(dist_uninstalled_test_scripts)
# Note: build even the installed-only targets during 'make check' to ensure that they still work.
# We need to do a bit of trickery here and manage disting via EXTRA_DIST instead of using dist_ prefixes to
# prevent automake from mistreating gmake functions like $(wildcard ...) and $(addprefix ...) as if they were
# filenames, including removing duplicate instances of the opening part before the space, eg. '$(addprefix'.
all_test_programs = $(test_programs) $(uninstalled_test_programs) $(installed_test_programs) \
$(test_extra_programs) $(uninstalled_test_extra_programs) $(installed_test_extra_programs)
all_test_scripts = $(test_scripts) $(uninstalled_test_scripts) $(installed_test_scripts) \
$(test_extra_scripts) $(uninstalled_test_extra_scripts) $(installed_test_extra_scripts)
all_dist_test_scripts = $(dist_test_scripts) $(dist_uninstalled_test_scripts) $(dist_installed_test_scripts) \
$(dist_test_extra_scripts) $(dist_uninstalled_test_extra_scripts) $(dist_installed_test_extra_scripts)
all_test_scripts += $(all_dist_test_scripts)
EXTRA_DIST += $(all_dist_test_scripts)
all_test_data = $(test_data) $(uninstalled_test_data) $(installed_test_data)
all_dist_test_data = $(dist_test_data) $(dist_uninstalled_test_data) $(dist_installed_test_data)
all_test_data += $(all_dist_test_data)
EXTRA_DIST += $(all_dist_test_data)
all_test_ltlibs = $(test_ltlibraries) $(uninstalled_test_ltlibraries) $(installed_test_ltlibraries)
if ENABLE_ALWAYS_BUILD_TESTS
noinst_LTLIBRARIES += $(all_test_ltlibs)
noinst_PROGRAMS += $(all_test_programs)
noinst_SCRIPTS += $(all_test_scripts)
noinst_DATA += $(all_test_data)
else
check_LTLIBRARIES += $(all_test_ltlibs)
check_PROGRAMS += $(all_test_programs)
check_SCRIPTS += $(all_test_scripts)
check_DATA += $(all_test_data)
endif
if ENABLE_INSTALLED_TESTS
installed_test_PROGRAMS += $(test_programs) $(installed_test_programs) \
$(test_extra_programs) $(installed_test_extra_programs)
installed_test_SCRIPTS += $(test_scripts) $(installed_test_scripts) \
$(test_extra_scripts) $(test_installed_extra_scripts)
installed_test_SCRIPTS += $(dist_test_scripts) $(dist_test_extra_scripts) \
$(dist_installed_test_scripts) $(dist_installed_test_extra_scripts)
nobase_installed_test_DATA += $(test_data) $(installed_test_data)
nobase_installed_test_DATA += $(dist_test_data) $(dist_installed_test_data)
installed_test_LTLIBRARIES += $(test_ltlibraries) $(installed_test_ltlibraries)
installed_testcases = $(test_programs) $(installed_test_programs) \
$(test_scripts) $(installed_test_scripts) \
$(dist_test_scripts) $(dist_installed_test_scripts)
installed_test_meta_DATA = $(installed_testcases:=.test)
%.test: %$(EXEEXT) Makefile
$(AM_V_GEN) (echo '[Test]' > $@.tmp; \
echo 'Type=session-exclusive' >> $@.tmp; \
echo 'Exec=$(installed_testdir)/$(notdir $<)' >> $@.tmp; \
mv $@.tmp $@)
CLEANFILES += $(installed_test_meta_DATA)
endif
<Project xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:foaf="http://xmlns.com/foaf/0.1/"
xmlns:gnome="http://api.gnome.org/doap-extensions#"
xmlns="http://usefulinc.com/ns/doap#">
<name xml:lang="en">gnome-weather</name>
<shortdesc xml:lang="en">Access current weather conditions and forecasts</shortdesc>
<description>
This is a small application that allows you to monitor the current
weather conditions for your city, or anywhere in the world, and to
access updated forecasts provided by various internet services.
</description>
<homepage rdf:resource="https://wiki.gnome.org/Apps/Weather" />
<download-page rdf:resource="http://download.gnome.org/sources/gnome-weather/" />
<bug-database rdf:resource="https://gitlab.gnome.org/GNOME/gnome-weather/issues/" />
<category rdf:resource="http://api.gnome.org/doap-extensions#apps" />
<programming-language>JavaScript</programming-language>
<maintainer>
<foaf:Person>
<foaf:name>Christopher Davis</foaf:name>
<foaf:mbox rdf:resource="mailto:christopherdavis@gnome.org" />
<gnome:userid>christopherdavis</gnome:userid>
</foaf:Person>
</maintainer>
<maintainer>
<foaf:Person>
<foaf:name>Falk Seidl</foaf:name>
<foaf:mbox rdf:resource="mailto:fseidl@gnome.org" />
<gnome:userid>fseidl</gnome:userid>
</foaf:Person>
</maintainer>
<author>
<foaf:Person>
<foaf:name>Giovanni Campagna</foaf:name>
<foaf:mbox rdf:resource="mailto:gcampagna@src.gnome.org" />
<gnome:userid>gcampagna</gnome:userid>
</foaf:Person>
</author>
</Project>
This diff is collapsed.
# appstream-xml.m4
#
# serial 6
dnl APPSTREAM_XML
dnl Installs and validates AppData XML files.
dnl
dnl Call APPSTREAM_XML in configure.ac to check for the appstream-util tool.
dnl Add @APPSTREAM_XML_RULES@ to a Makefile.am to substitute the make rules. Add
dnl .appdata.xml files to appstream_XML in Makefile.am and they will be validated
dnl at make check time, if appstream-util is installed, as well as installed
dnl to the correct location automatically. Add --enable-appstream-util to
dnl AM_DISTCHECK_CONFIGURE_FLAGS in Makefile.am to require valid AppData XML when
dnl doing a distcheck.
dnl
dnl Adding files to appstream_XML does not distribute them automatically.
AC_DEFUN([APPSTREAM_XML],
[
m4_pattern_allow([AM_V_GEN])
AC_ARG_ENABLE([appstream-util],
[AS_HELP_STRING([--disable-appstream-util],
[Disable validating AppData XML files during check phase])])
AS_IF([test "x$enable_appstream_validate" != "xno"],
[AC_PATH_PROG([APPSTREAM_UTIL], [appstream-util])
AS_IF([test "x$APPSTREAM_UTIL" = "x"],
[have_appstream_validate=no],
[have_appstream_validate=yes
AC_SUBST([APPSTREAM_UTIL])])],
[have_appstream_validate=no])
AS_IF([test "x$have_appstream_validate" != "xno"],
[appstream_validate=yes],
[appstream_validate=no
AS_IF([test "x$enable_appstream_validate" = "xyes"],
[AC_MSG_ERROR([AppData validation was requested but appstream-util was not found])])])
AC_SUBST([appstreamxmldir], [${datadir}/appdata])
APPSTREAM_XML_RULES='
.PHONY : uninstall-appstream-xml install-appstream-xml clean-appstream-xml
mostlyclean-am: clean-appstream-xml
%.appdata.valid: %.appdata.xml
$(AM_V_GEN) if test -f "$<"; then d=; else d="$(srcdir)/"; fi; \
if test -n "$(APPSTREAM_UTIL)"; \
then $(APPSTREAM_UTIL) --nonet validate $${d}$<; fi \
&& touch [$]@
check-am: $(appstream_XML:.appdata.xml=.appdata.valid)
uninstall-am: uninstall-appstream-xml
install-data-am: install-appstream-xml
.SECONDARY: $(appstream_XML)
install-appstream-xml: $(appstream_XML)
@$(NORMAL_INSTALL)
if test -n "$^"; then \
test -z "$(appstreamxmldir)" || $(MKDIR_P) "$(DESTDIR)$(appstreamxmldir)"; \
$(INSTALL_DATA) $^ "$(DESTDIR)$(appstreamxmldir)"; \
fi
uninstall-appstream-xml:
@$(NORMAL_UNINSTALL)
@list='\''$(appstream_XML)'\''; test -n "$(appstreamxmldir)" || list=; \
files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \
test -n "$$files" || exit 0; \
echo " ( cd '\''$(DESTDIR)$(appstreamxmldir)'\'' && rm -f" $$files ")"; \
cd "$(DESTDIR)$(appstreamxmldir)" && rm -f $$files
clean-appstream-xml:
rm -f $(appstream_XML:.appdata.xml=.appdata.valid)
'
_APPSTREAM_XML_SUBST(APPSTREAM_XML_RULES)
])
dnl _APPSTREAM_XML_SUBST(VARIABLE)
dnl Abstract macro to do either _AM_SUBST_NOTMAKE or AC_SUBST
AC_DEFUN([_APPSTREAM_XML_SUBST],
[
AC_SUBST([$1])
m4_ifdef([_AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE([$1])])
]
)
# ===========================================================================
# https://www.gnu.org/software/autoconf-archive/ax_is_release.html
# ===========================================================================
#
# SYNOPSIS
#
# AX_IS_RELEASE(POLICY)
#
# DESCRIPTION
#
# Determine whether the code is being configured as a release, or from
# git. Set the ax_is_release variable to 'yes' or 'no'.
#
# If building a release version, it is recommended that the configure
# script disable compiler errors and debug features, by conditionalising
# them on the ax_is_release variable. If building from git, these
# features should be enabled.
#
# The POLICY parameter specifies how ax_is_release is determined. It can
# take the following values:
#
# * git-directory: ax_is_release will be 'no' if a '.git' directory exists
# * minor-version: ax_is_release will be 'no' if the minor version number
# in $PACKAGE_VERSION is odd; this assumes
# $PACKAGE_VERSION follows the 'major.minor.micro' scheme
# * micro-version: ax_is_release will be 'no' if the micro version number
# in $PACKAGE_VERSION is odd; this assumes
# $PACKAGE_VERSION follows the 'major.minor.micro' scheme
# * dash-version: ax_is_release will be 'no' if there is a dash '-'
# in $PACKAGE_VERSION, for example 1.2-pre3, 1.2.42-a8b9
# or 2.0-dirty (in particular this is suitable for use
# with git-version-gen)
# * always: ax_is_release will always be 'yes'
# * never: ax_is_release will always be 'no'
#
# Other policies may be added in future.
#
# LICENSE
#
# Copyright (c) 2015 Philip Withnall <philip@tecnocode.co.uk>
# Copyright (c) 2016 Collabora Ltd.
#
# Copying and distribution of this file, with or without modification, are
# permitted in any medium without royalty provided the copyright notice
# and this notice are preserved.
#serial 7
AC_DEFUN([AX_IS_RELEASE],[
AC_BEFORE([AC_INIT],[$0])
m4_case([$1],
[git-directory],[
# $is_release = (.git directory does not exist)
AS_IF([test -d ${srcdir}/.git],[ax_is_release=no],[ax_is_release=yes])
],
[minor-version],[
# $is_release = ($minor_version is even)
minor_version=`echo "$PACKAGE_VERSION" | sed 's/[[^.]][[^.]]*.\([[^.]][[^.]]*\).*/\1/'`
AS_IF([test "$(( $minor_version % 2 ))" -ne 0],
[ax_is_release=no],[ax_is_release=yes])
],
[micro-version],[
# $is_release = ($micro_version is even)
micro_version=`echo "$PACKAGE_VERSION" | sed 's/[[^.]]*\.[[^.]]*\.\([[^.]]*\).*/\1/'`
AS_IF([test "$(( $micro_version % 2 ))" -ne 0],
[ax_is_release=no],[ax_is_release=yes])
],
[dash-version],[
# $is_release = ($PACKAGE_VERSION has a dash)
AS_CASE([$PACKAGE_VERSION],
[*-*], [ax_is_release=no],
[*], [ax_is_release=yes])
],
[always],[ax_is_release=yes],
[never],[ax_is_release=no],
[
AC_MSG_ERROR([Invalid policy. Valid policies: git-directory, minor-version, micro-version, dash-version, always, never.])
])
])
# ===========================================================================
# https://www.gnu.org/software/autoconf-archive/ax_require_defined.html
# ===========================================================================
#
# SYNOPSIS
#
# AX_REQUIRE_DEFINED(MACRO)
#
# DESCRIPTION
#
# AX_REQUIRE_DEFINED is a simple helper for making sure other macros have
# been defined and thus are available for use. This avoids random issues
# where a macro isn't expanded. Instead the configure script emits a
# non-fatal:
#
# ./configure: line 1673: AX_CFLAGS_WARN_ALL: command not found
#
# It's like AC_REQUIRE except it doesn't expand the required macro.
#
# Here's an example:
#
# AX_REQUIRE_DEFINED([AX_CHECK_LINK_FLAG])
#
# LICENSE
#
# Copyright (c) 2014 Mike Frysinger <vapier@gentoo.org>
#
# Copying and distribution of this file, with or without modification, are
# permitted in any medium without royalty provided the copyright notice
# and this notice are preserved. This file is offered as-is, without any
# warranty.
#serial 2
AC_DEFUN([AX_REQUIRE_DEFINED], [dnl
m4_ifndef([$1], [m4_fatal([macro ]$1[ is not defined; is a m4 file missing?])])
])dnl AX_REQUIRE_DEFINED
dnl GLIB_TESTS
dnl
AC_DEFUN([GLIB_TESTS],
[
AC_ARG_ENABLE(installed-tests,
AS_HELP_STRING([--enable-installed-tests],
[Enable installation of some test cases]),
[case ${enableval} in
yes) ENABLE_INSTALLED_TESTS="1" ;;
no) ENABLE_INSTALLED_TESTS="" ;;
*) AC_MSG_ERROR([bad value ${enableval} for --enable-installed-tests]) ;;
esac])
AM_CONDITIONAL([ENABLE_INSTALLED_TESTS], test "$ENABLE_INSTALLED_TESTS" = "1")
AC_ARG_ENABLE(always-build-tests,
AS_HELP_STRING([--enable-always-build-tests],
[Enable always building tests during 'make all']),
[case ${enableval} in
yes) ENABLE_ALWAYS_BUILD_TESTS="1" ;;
no) ENABLE_ALWAYS_BUILD_TESTS="" ;;
*) AC_MSG_ERROR([bad value ${enableval} for --enable-always-build-tests]) ;;
esac])
AM_CONDITIONAL([ENABLE_ALWAYS_BUILD_TESTS], test "$ENABLE_ALWAYS_BUILD_TESTS" = "1")
if test "$ENABLE_INSTALLED_TESTS" = "1"; then
AC_SUBST(installed_test_metadir, [${datadir}/installed-tests/]AC_PACKAGE_NAME)
AC_SUBST(installed_testdir, [${libexecdir}/installed-tests/]AC_PACKAGE_NAME)
fi
])
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
option(
'profile',
type: 'combo',
choices: [
'default',
'development'
],
value: 'default'
)
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
# Please keep this list sorted alphabetically
#
af
an
ar
as
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
message('Update translations')
i18n.gettext('gnome-weather', preset: 'glib',
args: [ '--keyword=X-Geoclue-Reason' ])
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
File mode changed from 100644 to 100755