From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: [PATCH] Add gEDA/gaf Date: Fri, 06 Mar 2015 22:00:05 +0100 Message-ID: <87h9tx96zu.fsf@mango.localdomain> Mime-Version: 1.0 Content-Type: text/x-patch; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51812) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YTzM1-0004mT-5q for guix-devel@gnu.org; Fri, 06 Mar 2015 16:00:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YTzLx-0005v1-2G for guix-devel@gnu.org; Fri, 06 Mar 2015 16:00:17 -0500 Received: from sender1.zohomail.com ([74.201.84.155]:29831) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YTzLw-0005u9-SA for guix-devel@gnu.org; Fri, 06 Mar 2015 16:00:13 -0500 Content-Disposition: inline; filename=0001-gnu-Add-gEDA-gaf.patch 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 >From f795352d55797e7b675409f4841e11caed5db73f Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 5 Mar 2015 08:38:46 +0100 Subject: [PATCH] gnu: Add gEDA/gaf. * gnu/packages/engineering.scm (geda-gaf): New variable. --- gnu/packages/engineering.scm | 61 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 70fd655..5777446 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -20,12 +20,18 @@ #:use-module (guix packages) #:use-module (guix download) #:use-module (guix git-download) + #:use-module (guix utils) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix build-system gnu) #:use-module (gnu packages) #:use-module (gnu packages boost) #:use-module (gnu packages fontutils) + #:use-module (gnu packages glib) + #:use-module (gnu packages gnome) + #:use-module (gnu packages gtk) + #:use-module (gnu packages guile) #:use-module (gnu packages maths) + #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) #:use-module (gnu packages qt) #:use-module (srfi srfi-1)) @@ -83,3 +89,58 @@ "LibreCAD is a 2D Computer-aided design (CAD) application for creating plans and designs.") (license license:gpl2))) + +(define-public geda-gaf + (package + (name "geda-gaf") + (version "1.8.2") + (source (origin + (method url-fetch) + (uri (string-append + "http://ftp.geda-project.org/geda-gaf/stable/v" + (version-major+minor version) "/" + version "/geda-gaf-" version ".tar.gz")) + (sha256 + (base32 + "08dpa506xk4gjbbi8vnxcb640wq4ihlgmhzlssl52nhvxwx7gx5v")))) + (build-system gnu-build-system) + (arguments + '(#:phases + ;; tests require a writable HOME + (alist-cons-before + 'check 'set-home + (lambda _ + (setenv "HOME" (getenv "TMPDIR"))) + %standard-phases))) + (inputs + `(("glib" ,glib) + ("gtk" ,gtk+-2) + ("guile" ,guile-2.0) + ("desktop-file-utils" ,desktop-file-utils) + ("shared-mime-info" ,shared-mime-info))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("perl" ,perl))) ; for tests + (home-page "http://geda-project.org/") + (synopsis "Schematic capture, netlister, symbols, symbol checker, and utils") + (description + "gaf stands for “gschem and friends”. It is a subset of the entire tool suite +grouped together under the gEDA name. gEDA/gaf is a collection of tools which +currently includes: + +gschem: A schematic capture program; + +gnetlist: A netlist generation program; + +gsymcheck: A syntax checker for schematic symbols; + +gattrib: A spreadsheet programm that manipulates the properties of symbols of +a schematic; + +libgeda: Libraries for gschem gnetlist and gsymcheck; + +gsch2pcb: A tool to forward annotation from your schematic to layout using PCB; + +some minor utilities.") + (license license:gpl2+))) + -- 2.1.0