Hello guix,
Shamelessly stole most of this from Efraim, as wxwidgets had the same
problem.
Lets hope that it's just a couple of packages on SourceForge that have been
changed in place.
Jelle
2016-07-22 15:59 GMT+02:00 Jelle Licht :
> * 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
>
>