* [PATCH 7/9] gnu: Add libgweather.
@ 2015-04-07 12:56 Andy Wingo
2015-04-14 12:09 ` Ludovic Courtès
0 siblings, 1 reply; 2+ messages in thread
From: Andy Wingo @ 2015-04-07 12:56 UTC (permalink / raw)
To: guix-devel
* gnu/packages/gnome.scm (libgweather): New variable.
---
gnu/packages/gnome.scm | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 48 insertions(+)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 59f46bb..8f0e36e 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -31,6 +31,7 @@
#:use-module (guix build-system glib-or-gtk)
#:use-module (gnu packages)
#:use-module (gnu packages autotools)
+ #:use-module (gnu packages base)
#:use-module (gnu packages bison)
#:use-module (gnu packages curl)
#:use-module (gnu packages databases)
@@ -2032,3 +2033,50 @@ and latitude from an address) and reverse geocoding (finding an address from
coordinates) using the Nominatim service. geocode-glib caches requests for
faster results and to avoid unnecessary server load.")
(license license:lgpl2.0+)))
+
+(define-public libgweather
+ (package
+ (name "libgweather")
+ (version "3.16.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://gnome/sources/" name "/"
+ (version-major+minor version) "/"
+ name "-" version ".tar.xz"))
+ (sha256
+ (base32
+ "0x1z6wv7hdw2ivlkifcbd940zyrnvqvc4zh2drgvd2r6jmd7bjza"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(;; The tests want to write to $HOME/.cache/geocode-glib, which doesn't
+ ;; work for the builder. Punt.
+ #:tests? #f
+ #:make-flags '("CC=gcc") ; for g-ir-scanner
+ #:configure-flags
+ `(;; No introspection for now, as it wants to install to
+ ;; gobject-introspection's own directory and I don't know how to easily
+ ;; override this.
+ "--enable-introspection=no"
+ ,(string-append "--with-zoneinfo-dir="
+ (assoc-ref %build-inputs "tzdata")
+ "/share/zoneinfo"))))
+ (native-inputs
+ `(("glib:bin" ,glib "bin") ; for glib-mkenums
+ ("pkg-config" ,pkg-config)
+ ("intltool" ,intltool)))
+ (propagated-inputs
+ ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and
+ ;; libsoup.
+ `(("gtk+" ,gtk+)
+ ("gdk-pixbuf" ,gdk-pixbuf)
+ ("libxml2" ,libxml2)
+ ("libsoup" ,libsoup)))
+ (inputs
+ `(("tzdata" ,tzdata)
+ ("geocode-glib" ,geocode-glib)))
+ (home-page "https://wiki.gnome.org/action/show/Projects/LibGWeather")
+ (synopsis "Location, time zone, and weather library for GNOME.")
+ (description
+ "libgweather is a library to access weather information from online
+services for numerous locations.")
+ (license license:gpl2+)))
--
2.2.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 7/9] gnu: Add libgweather.
2015-04-07 12:56 [PATCH 7/9] gnu: Add libgweather Andy Wingo
@ 2015-04-14 12:09 ` Ludovic Courtès
0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2015-04-14 12:09 UTC (permalink / raw)
To: Andy Wingo; +Cc: guix-devel
Andy Wingo <wingo@pobox.com> skribis:
> * gnu/packages/gnome.scm (libgweather): New variable.
Thanks, applied (and sorry for the delay!)
Ludo’.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-04-14 12:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-07 12:56 [PATCH 7/9] gnu: Add libgweather Andy Wingo
2015-04-14 12:09 ` Ludovic Courtès
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).