gnu: librep: Update to 0.92.5.

* gnu/packages/sawfish.scm (librep): Update to 0.92.5.
* gnu/packages/patches/librep-rules.mk.patch: Remove.
This commit is contained in:
宋文武 2015-04-03 23:33:41 +08:00
parent 946dc71f63
commit c2a362be41
2 changed files with 2 additions and 33 deletions

View File

@ -1,30 +0,0 @@
rules.mk.in: Don't set prefix, datadir, libdir, datarootdir and repdir.
rules.mk.in: Use pkg-config to get the absolute path for repcommonexedir.
Merged into upstream: <https://github.com/SawfishWM/librep/commit/a1f2db721aa5055e90f6a76fde625946340ed8cf>.
--- librep_0.92.4.orig/rules.mk.in 2015-01-31 23:21:59.614751496 +0800
+++ librep_0.92.4/rules.mk.in 2015-02-02 18:56:55.097171657 +0800
@@ -1,18 +1,10 @@
# rules.mk
-prefix=@prefix@
-datadir=@datadir@
-libdir=@libdir@
+repcommonexecdir?=$(shell pkg-config --variable=repcommonexecdir librep)
+rpath_repcommonexecdir:=$(repcommonexecdir)
-# shut up configure
-datarootdir=@datarootdir@
-
-repdir=@repdir@
-repcommonexecdir=@repcommonexecdir@
-rpath_repcommonexecdir=@repcommonexecdir@
-
-rep_LIBTOOL=$(repcommonexecdir)/libtool --tag CC
-rep_INSTALL_ALIASES=$(repcommonexecdir)/install-aliases
+rep_LIBTOOL:=$(repcommonexecdir)/libtool --tag CC
+rep_INSTALL_ALIASES:=$(repcommonexecdir)/install-aliases
# use this like:
# foo.la : foo.lo bar.lo

View File

@ -36,15 +36,14 @@
(define-public librep (define-public librep
(package (package
(name "librep") (name "librep")
(version "0.92.4") (version "0.92.5")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "http://download.tuxfamily.org/" name "/" (uri (string-append "http://download.tuxfamily.org/" name "/"
name "_" version ".tar.xz")) name "_" version ".tar.xz"))
(sha256 (sha256
(base32 (base32
"0297m24p2y8j3wavf8qqyriic7ls2392cmfn96y0pi83r5qckc25")) "0zsy5gi8kvz5vq41y5rzm6lfi3dpiwbg4diwb6d30qfi72mrpni2"))))
(patches (list (search-patch "librep-rules.mk.patch")))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs (native-inputs
`(("makeinfo" ,texinfo) `(("makeinfo" ,texinfo)