From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Subject: [PATCH 2/3] gnu: Add rep-gtk. Date: Mon, 2 Feb 2015 20:00:30 +0800 Message-ID: <1422878431-20718-2-git-send-email-iyzsong@gmail.com> References: <1422878431-20718-1-git-send-email-iyzsong@gmail.com> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38704) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIFgB-0003sf-46 for guix-devel@gnu.org; Mon, 02 Feb 2015 07:00:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YIFg4-0002OI-S2 for guix-devel@gnu.org; Mon, 02 Feb 2015 07:00:35 -0500 Received: from mail-pa0-x230.google.com ([2607:f8b0:400e:c03::230]:53921) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIFg4-0002O5-Cw for guix-devel@gnu.org; Mon, 02 Feb 2015 07:00:28 -0500 Received: by mail-pa0-f48.google.com with SMTP id ey11so81698844pad.7 for ; Mon, 02 Feb 2015 04:00:27 -0800 (PST) In-Reply-To: <1422878431-20718-1-git-send-email-iyzsong@gmail.com> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org * gnu/packages/sawfish.scm (rep-gtk): New variable. --- gnu/packages/sawfish.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/sawfish.scm b/gnu/packages/sawfish.scm index acf3e06..ea5b757 100644 --- a/gnu/packages/sawfish.scm +++ b/gnu/packages/sawfish.scm @@ -23,6 +23,7 @@ #:use-module (guix build-system gnu) #:use-module (gnu packages) #:use-module (gnu packages gdbm) + #:use-module (gnu packages gtk) #:use-module (gnu packages libffi) #:use-module (gnu packages multiprecision) #:use-module (gnu packages pkg-config) @@ -64,3 +65,35 @@ subsequently diverged markedly. Its aim is to combine the best features of Scheme and Common Lisp and provide an environment that is comfortable for implementing both small and large scale systems.") (license gpl2+))) + +(define-public rep-gtk + (package + (name "rep-gtk") + (version "0.90.8.2") + (source (origin + (method url-fetch) + (uri (string-append "http://download.tuxfamily.org/librep/" + name "/" name "_" version ".tar.xz")) + (sha256 + (base32 + "0qslm2isyv22hffdpw0nh7xk8jw8cj3h5y7d40c9h5r833w7j6sz")) + (modules '((guix build utils))) + (snippet + '(substitute* "Makefile.in" + (("installdir=\\$\\(repexecdir\\)") + ;; Install libraries for librep to $out/lib/rep. + "installdir=$(libdir)/rep"))))) + (build-system gnu-build-system) + (arguments '(#:tests? #f)) ; no tests + (native-inputs + `(("pkg-config" ,pkg-config))) + (propagated-inputs + ;; required by rep-gtk.pc. + `(("gtk+" ,gtk+-2) + ("librep" ,librep))) + (home-page "http://sawfish.wikia.com/wiki/Rep-GTK") + (synopsis "GTK+ binding for librep") + (description + "Rep-GTK is a gtk+ (and glib, gdk) binding to the librep, and one of the +backend of sawfish.") + (license gpl2+))) -- 2.1.2