GNU bug report logs - #27774
[PATCH] gnu: add libgeotiff

Previous Next

Package: guix-patches;

Reported by: Björn Höfling <bjoern.hoefling <at> bjoernhoefling.de>

Date: Thu, 20 Jul 2017 15:51:01 UTC

Owned by: Ricardo Wurmus <rekado <at> elephly.net>

Severity: normal

Tags: patch

Done: Arun Isaac <arunisaac <at> systemreboot.net>

Bug is archived. No further changes may be made.

Full log


Message #51 received at 27774 <at> debbugs.gnu.org (full text, mbox):

From: Björn Höfling <bjoern.hoefling <at> bjoernhoefling.de>
To: Arun Isaac <arunisaac <at> systemreboot.net>
Cc: 27774 <at> debbugs.gnu.org, mbakke <at> fastmail.com
Subject: Re: [PATCH 1/1] gnu: Add libgeotiff.
Date: Sat, 27 Jan 2018 21:07:05 +0100
Hi Arun,

thanks for finishing that. I messed my git repository and then forgot
about it because of other things.

Björn


On Wed,  3 Jan 2018 22:26:00 +0530
Arun Isaac <arunisaac <at> systemreboot.net> wrote:

> From: Björn Höfling <bjoern.hoefling <at> bjoernhoefling.de>
> 
> * gnu/packages/geo.scm (libgeotiff): New variable.
> 
> Signed-off-by: Arun Isaac <arunisaac <at> systemreboot.net>
> ---
>  gnu/packages/geo.scm | 51
> +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed,
> 51 insertions(+)
> 
> diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
> index 7bf1562ba..c3a62c641 100644
> --- a/gnu/packages/geo.scm
> +++ b/gnu/packages/geo.scm
> @@ -25,9 +25,11 @@
>    #:use-module ((guix licenses) #:prefix license:)
>    #:use-module (guix packages)
>    #:use-module (guix utils)
> +  #:use-module (gnu packages compression)
>    #:use-module (gnu packages glib)
>    #:use-module (gnu packages gnome)
>    #:use-module (gnu packages gtk)
> +  #:use-module (gnu packages image)
>    #:use-module (gnu packages pkg-config)
>    #:use-module (gnu packages webkit)
>    #:use-module (gnu packages xml))
> @@ -137,6 +139,55 @@ and driving.")
>      (home-page "https://wiki.gnome.org/Apps/Maps")
>      (license license:gpl2+)))
>  
> +(define-public libgeotiff
> +  (package
> +    (name "libgeotiff")
> +    (version "1.4.2")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (string-append
> "http://download.osgeo.org/geotiff/libgeotiff/libgeotiff-"
> +                           version ".tar.gz"))
> +       (sha256
> +        (base32
> +         "0vjy3bwfhljjx66p9w999i4mdhsf7vjshx29yc3pn5livf5091xd"))
> +       (modules '((guix build utils)))
> +       (snippet
> +        '(begin
> +           ;; Remove .csv files, distributed from EPSG under a
> restricted
> +           ;; license. See LICENSE for full license text.
> +           (for-each delete-file (find-files "." "\\.csv$"))
> +           ;; Now that we have removed the csv files, we need to
> modify the Makefile.
> +           (substitute* "Makefile.in"
> +             (("^all-am: .*$")
> +              "all-am: Makefile $(LTLIBRARIES) $(HEADERS)
> geo_config.h\n")
> +             (("^install-data-am: .*$")
> +              "install-data-am: install-includeHEADERS"))))))
> +    (build-system gnu-build-system)
> +    (inputs
> +     `(("libjpeg-turbo" ,libjpeg-turbo)
> +       ("libtiff" ,libtiff)
> +       ("proj.4" ,proj.4)
> +       ("zlib" ,zlib)))
> +    (arguments
> +     `(#:configure-flags
> +       (list (string-append "--with-zlib")
> +             (string-append "--with-jpeg")
> +             (string-append "--with-libtiff=" (assoc-ref
> %build-inputs "libtiff")))))
> +    (synopsis "Library for handling GeoTIFF (geographic enabled
> TIFF)")
> +    (description "libgeotiff is a library on top of libtiff for
> reading and +writing GeoTIFF information tags.")
> +    (home-page "https://trac.osgeo.org/geotiff/")
> +    ;; This is a mixture of various contributions under different
> licenses.
> +    ;; Note that the EPSG database is NOT "free to use" as the
> LICENSE file
> +    ;; states, as its commercial redistribution is restricted.
> Hence, we have
> +    ;; removed it from the package.
> +    (license (list license:public-domain
> +                   license:x11
> +                   license:bsd-3
> +                   (license:non-copyleft "file://LICENSE"
> +                                         "See LICENSE in the
> distribution."))))) +
>  (define-public proj.4
>    (package
>      (name "proj.4")




This bug report was last modified 7 years and 194 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.