From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: [WIP 8/8] gnu: Add gnome-maps. Date: Fri, 15 Apr 2016 23:02:29 -0400 Message-ID: <0c5bbfdfbb20362f143332e2d5215e8adeae9af2.1460775480.git.leo@famulari.name> References: Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53583) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1arGUw-00089a-60 for guix-devel@gnu.org; Fri, 15 Apr 2016 23:02:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1arGUt-0002rH-0u for guix-devel@gnu.org; Fri, 15 Apr 2016 23:02:14 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:33453) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1arGUs-0002r8-Sm for guix-devel@gnu.org; Fri, 15 Apr 2016 23:02:10 -0400 Received: from jasmine.lan (c-69-249-5-231.hsd1.pa.comcast.net [69.249.5.231]) by mail.messagingengine.com (Postfix) with ESMTPA id DE0CEC0001B for ; Fri, 15 Apr 2016 23:02:09 -0400 (EDT) In-Reply-To: In-Reply-To: References: List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org * gnu/packages/maps.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it. --- gnu-system.am | 1 + gnu/packages/maps.scm | 62 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) create mode 100644 gnu/packages/maps.scm diff --git a/gnu-system.am b/gnu-system.am index 0165519..a29d997 100644 --- a/gnu-system.am +++ b/gnu-system.am @@ -219,6 +219,7 @@ GNU_SYSTEM_MODULES = \ gnu/packages/man.scm \ gnu/packages/mail.scm \ gnu/packages/make-bootstrap.scm \ + gnu/packages/maps.scm \ gnu/packages/markdown.scm \ gnu/packages/mate.scm \ gnu/packages/maths.scm \ diff --git a/gnu/packages/maps.scm b/gnu/packages/maps.scm new file mode 100644 index 0000000..7c4667e --- /dev/null +++ b/gnu/packages/maps.scm @@ -0,0 +1,62 @@ +(define-module (gnu packages maps) + #:use-module (guix build-system glib-or-gtk) + #:use-module (guix download) + #:use-module (guix licenses) + #:use-module (guix packages) + #:use-module (guix utils) + #:use-module (gnu packages glib) ; intltool + #:use-module (gnu packages gnome) + #:use-module (gnu packages gtk) + #:use-module (gnu packages pkg-config) + #:use-module (gnu packages webkit) + #:use-module (gnu packages xml)) + +(define-public gnome-maps + (package + (name "gnome-maps") + (version "3.18.2") + (source (origin + (method url-fetch) + (uri (string-append "mirror://gnome/sources/" name "/" + (version-major+minor version) "/" + name "-" version ".tar.xz")) + (sha256 + (base32 + "0y4jmh5hwskh2mnladh9hxp9k8as7crm8wwwiifvxsjjj9az2gv9")))) + (build-system glib-or-gtk-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after + 'install 'wrap + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out")) + (gi-typelib-path (getenv "GI_TYPELIB_PATH"))) + (wrap-program (string-append out "/bin/gnome-maps") + `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))) + #t)))))) + (native-inputs + `( + ("gobject-introspection" ,gobject-introspection) + ("intltool" ,intltool) + ("pkg-config" ,pkg-config))) + (inputs + `(("folks" ,folks) + ("libchamplain" ,libchamplain) + ("libgee" ,libgee) + ("libxml2" ,libxml2) + ("geoclue" ,geoclue) + ("geocode-glib" ,geocode-glib) + ("gfbgraph" ,gfbgraph) + ("gjs" ,gjs) + ("glib" ,glib) + ("gnome-online-accounts" ,gnome-online-accounts) ; necessary? + ("rest" ,rest) + ("webkitgtk" ,webkitgtk))) ; necessary? + (propagated-inputs + `(("gtk+3" ,gtk+))) ; necessary? + (synopsis "Graphical map viewer") + (description "GNOME Maps is a graphical map viewer. It uses map data from +the OpenStreetMap project.") + (home-page "https://wiki.gnome.org/Apps/Maps") + (license gpl2+))) -- 2.7.3