diff options
| author | Mark H Weaver <mhw@netris.org> | 2015-01-15 18:46:23 -0500 |
|---|---|---|
| committer | Mark H Weaver <mhw@netris.org> | 2015-01-15 20:27:57 -0500 |
| commit | b01a0ba86e93012044f42c41ba5cbc7d7936c356 (patch) | |
| tree | 1fb1705c16d1a44181b9ca5dac45e59d86bf8734 /gnu | |
| parent | 9fdd80e8f28a7d48615fa4d5652e81ea5f679485 (diff) | |
gnu: gd: Update to 2.1.1.
* gnu/packages/patches/gd-mips64-deplibs-fix.patch: Remove file.
* gnu-system.am (dist_patch_DATA): Remove it.
* gnu/packages/gd.scm (gd): Update to 2.1.1. Update source URI. Remove
patch. Remove 'chdir' phase. Add pkg-config to native-inputs.
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/gd.scm | 22 | ||||
| -rw-r--r-- | gnu/packages/patches/gd-mips64-deplibs-fix.patch | 17 |
2 files changed, 10 insertions, 29 deletions
diff --git a/gnu/packages/gd.scm b/gnu/packages/gd.scm index caeaeae36b3..2d6ccb8d7d9 100644 --- a/gnu/packages/gd.scm +++ b/gnu/packages/gd.scm | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | ;;; GNU Guix --- Functional package management for GNU | 1 | ;;; GNU Guix --- Functional package management for GNU |
| 2 | ;;; Copyright © 2013 Ludovic Courtès <ludo@gnu.org> | 2 | ;;; Copyright © 2013 Ludovic Courtès <ludo@gnu.org> |
| 3 | ;;; Copyright © 2015 Mark H Weaver <mhw@netris.org> | ||
| 3 | ;;; | 4 | ;;; |
| 4 | ;;; This file is part of GNU Guix. | 5 | ;;; This file is part of GNU Guix. |
| 5 | ;;; | 6 | ;;; |
| @@ -24,6 +25,7 @@ | |||
| 24 | #:use-module (gnu packages image) | 25 | #:use-module (gnu packages image) |
| 25 | #:use-module (gnu packages fontutils) | 26 | #:use-module (gnu packages fontutils) |
| 26 | #:use-module (gnu packages compression) | 27 | #:use-module (gnu packages compression) |
| 28 | #:use-module (gnu packages pkg-config) | ||
| 27 | #:use-module ((guix licenses) #:select (bsd-style))) | 29 | #:use-module ((guix licenses) #:select (bsd-style))) |
| 28 | 30 | ||
| 29 | (define-public gd | 31 | (define-public gd |
| @@ -31,25 +33,21 @@ | |||
| 31 | (name "gd") | 33 | (name "gd") |
| 32 | 34 | ||
| 33 | ;; Note: With libgd.org now pointing to bitbucket.org, genuine old | 35 | ;; Note: With libgd.org now pointing to bitbucket.org, genuine old |
| 34 | ;; tarballs are no longer available. Notably, versions 2.0.34 and .35 are | 36 | ;; tarballs are no longer available. Notably, versions 2.0.x are |
| 35 | ;; missing. | 37 | ;; missing. |
| 36 | (version "2.0.33") | 38 | (version "2.1.1") |
| 37 | 39 | ||
| 38 | (source (origin | 40 | (source (origin |
| 39 | (method url-fetch) | 41 | (method url-fetch) |
| 40 | (uri "https://bitbucket.org/libgd/gd-libgd/get/GD_2_0_33.tar.gz") | 42 | (uri (string-append |
| 43 | "https://bitbucket.org/libgd/gd-libgd/downloads/" | ||
| 44 | "libgd-" version ".tar.xz")) | ||
| 41 | (sha256 | 45 | (sha256 |
| 42 | (base32 | 46 | (base32 |
| 43 | "0yrbx8mj9pykyzm0zl1q86xlkdvkajcsf5jmg688vhw9yc5wmbbw")) | 47 | "11djy9flzxczphigqgp7fbbblbq35gqwwhn9xfcckawlapa1xnls")))) |
| 44 | (patches | ||
| 45 | (list (search-patch "gd-mips64-deplibs-fix.patch"))))) | ||
| 46 | (build-system gnu-build-system) | 48 | (build-system gnu-build-system) |
| 47 | (arguments | 49 | (native-inputs |
| 48 | '(#:phases (alist-cons-after | 50 | `(("pkg-config" ,pkg-config))) |
| 49 | 'unpack 'chdir | ||
| 50 | (lambda _ | ||
| 51 | (chdir "src")) | ||
| 52 | %standard-phases))) | ||
| 53 | (inputs | 51 | (inputs |
| 54 | `(("freetype" ,freetype) | 52 | `(("freetype" ,freetype) |
| 55 | ("libpng" ,libpng) | 53 | ("libpng" ,libpng) |
diff --git a/gnu/packages/patches/gd-mips64-deplibs-fix.patch b/gnu/packages/patches/gd-mips64-deplibs-fix.patch deleted file mode 100644 index 6231310cdbe..00000000000 --- a/gnu/packages/patches/gd-mips64-deplibs-fix.patch +++ /dev/null | |||
| @@ -1,17 +0,0 @@ | |||
| 1 | Patch configure script to choose pass_all deplibs check method for | ||
| 2 | linux-gnu* systems on mips64. This is a temporary hack until libgd | ||
| 3 | bootstraps their build system with a newer libtool. | ||
| 4 | |||
| 5 | Patch by Mark H Weaver <mhw@netris.org>. | ||
| 6 | |||
| 7 | --- libgd-gd/src/configure.orig 2006-04-05 11:56:57.000000000 -0400 | ||
| 8 | +++ libgd-gd/src/configure 2013-11-02 17:56:19.123995838 -0400 | ||
| 9 | @@ -4457,7 +4457,7 @@ | ||
| 10 | # This must be Linux ELF. | ||
| 11 | linux-gnu*) | ||
| 12 | case $host_cpu in | ||
| 13 | - alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64* | s390* | x86_64*) | ||
| 14 | + alpha* | hppa* | i*86 | mips | mipsel | mips64 | mips64el | powerpc* | sparc* | ia64* | s390* | x86_64*) | ||
| 15 | lt_cv_deplibs_check_method=pass_all ;; | ||
| 16 | *) | ||
| 17 | # glibc up to 2.1.1 does not perform some relocations on ARM | ||
