all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH] gnu: wxwidgets-2: Update to upstream's re-release of 2.8.12.
@ 2016-07-22 13:59 Jelle Licht
  2016-07-22 14:01 ` Jelle Licht
  2016-07-22 16:11 ` Leo Famulari
  0 siblings, 2 replies; 5+ messages in thread
From: Jelle Licht @ 2016-07-22 13:59 UTC (permalink / raw)
  To: guix-devel

* gnu/packages/wxwidgets.scm (wxwidgets-2): Add a guix revision number
  to the version scheme of wxwidgets-2 to force an update.
---
 gnu/packages/wxwidgets.scm | 54 +++++++++++++++++++++++++---------------------
 1 file changed, 29 insertions(+), 25 deletions(-)

diff --git a/gnu/packages/wxwidgets.scm b/gnu/packages/wxwidgets.scm
index c9eb178..f4866e1 100644
--- a/gnu/packages/wxwidgets.scm
+++ b/gnu/packages/wxwidgets.scm
@@ -81,29 +81,33 @@ a graphical user interface.  It has language bindings for Python, Perl, Ruby
 and many other languages.")
     (license (list l:lgpl2.0+ (l:fsf-free "file://doc/license.txt")))))
 
+;; wxwidgets version 2.8.12 was updated in-place, resulting in a hash
+;; mismatch. This can be removed at the next version update.
 (define-public wxwidgets-2
-  (package
-    (inherit wxwidgets)
-    (version "2.8.12")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (string-append "mirror://sourceforge/wxwindows/" version
-                           "/wxWidgets-" version ".tar.bz2"))
-       (sha256
-        (base32 "1gjs9vfga60mk4j4ngiwsk9h6c7j22pw26m3asxr1jwvqbr8kkqk"))))
-    (inputs
-     `(("gtk" ,gtk+-2)
-       ("libjpeg" ,libjpeg)
-       ("libtiff" ,libtiff)
-       ("libmspack" ,libmspack)
-       ("sdl" ,sdl)
-       ("unixodbc" ,unixodbc)))
-    (arguments
-     `(#:configure-flags
-       '("--enable-unicode" "--with-regex=sys" "--with-sdl")
-       #:make-flags
-       (list (string-append "LDFLAGS=-Wl,-rpath="
-                            (assoc-ref %outputs "out") "/lib"))
-       ;; No 'check' target.
-       #:tests? #f))))
+  (let ((upstream-version "2.8.12")
+        (guix-revision "1"))
+    (package
+      (inherit wxwidgets)
+      (version (string-append upstream-version "-" guix-revision))
+      (source
+       (origin
+         (method url-fetch)
+         (uri (string-append "mirror://sourceforge/wxwindows/" upstream-version
+                             "/wxWidgets-" upstream-version ".tar.bz2"))
+         (sha256
+          (base32 "01zp0h2rp031xn6nd8c4sr175fa4nzhwh08mhi8khs0ps39c22iv"))))
+      (inputs
+       `(("gtk" ,gtk+-2)
+         ("libjpeg" ,libjpeg)
+         ("libtiff" ,libtiff)
+         ("libmspack" ,libmspack)
+         ("sdl" ,sdl)
+         ("unixodbc" ,unixodbc)))
+      (arguments
+       `(#:configure-flags
+         '("--enable-unicode" "--with-regex=sys" "--with-sdl")
+         #:make-flags
+         (list (string-append "LDFLAGS=-Wl,-rpath="
+                              (assoc-ref %outputs "out") "/lib"))
+         ;; No 'check' target.
+         #:tests? #f)))))
-- 
2.9.1

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-07-24  8:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-22 13:59 [PATCH] gnu: wxwidgets-2: Update to upstream's re-release of 2.8.12 Jelle Licht
2016-07-22 14:01 ` Jelle Licht
2016-07-22 14:09   ` Vincent Legoll
2016-07-22 16:11 ` Leo Famulari
2016-07-24  8:28   ` Andreas Enge

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.