From mboxrd@z Thu Jan 1 00:00:00 1970 From: Oleg Pykhalov Subject: Re: Right way: define, build and install Date: Wed, 02 May 2018 21:02:01 +0300 Message-ID: <87o9hyhr6u.fsf@gmail.com> References: <87tvrphp9s.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55439) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fDw4y-0005yJ-Dk for help-guix@gnu.org; Wed, 02 May 2018 14:02:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fDw4v-0000o8-As for help-guix@gnu.org; Wed, 02 May 2018 14:02:12 -0400 Received: from mail-wm0-x229.google.com ([2a00:1450:400c:c09::229]:36335) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fDw4v-0000nu-2R for help-guix@gnu.org; Wed, 02 May 2018 14:02:09 -0400 Received: by mail-wm0-x229.google.com with SMTP id n10so25885086wmc.1 for ; Wed, 02 May 2018 11:02:08 -0700 (PDT) In-Reply-To: <87tvrphp9s.fsf@gmail.com> (Jone's message of "Wed, 02 May 2018 18:43:27 +0000") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Jone Cc: help-guix@gnu.org --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello Jone, It was hard to get started for me, too. But after several package recipes with a help of Guix community in the mailing list it's easy. Jone writes: > But I am ashamed! :) > > 1. xfce4-cpugraph-plugin.scm [=E2=80=A6] First of all in =E2=80=98(use-modules =E2=80=A6)=E2=80=99 you could only sp= ecify Guile modules. After we fix parentheses, then there will an error about no existing =E2=80=98(guix build)=E2=80=99 Guile module. So let's remove it. Here is a correct version, but it requires to add more modules to =E2=80=98(use-modules =E2=80=A6)=E2=80=99 because of =E2=80=98native-inputs= =E2=80=99 and =E2=80=98inputs=E2=80=99 in: =2D-8<---------------cut here---------------start------------->8--- (define-public xfce4-cpugraph-plugin (package (native-inputs =E2=80=A6) (inputs =E2=80=A6))) =2D-8<---------------cut here---------------end--------------->8--- --=-=-= Content-Type: text/x-scheme Content-Disposition: attachment Content-Description: Fixed xfce4-cpugraph-plugin (requires to search for Guile modules) (use-modules (ice-9 match) (srfi srfi-1) (guix gexp) (guix packages) (guix utils) (guix licenses) (guix download) (guix build-system gnu)) (define-public xfce4-cpugraph-plugin (package (name "xfce4-cpugraph-plugin") (version "1.0.5") (source (origin (method url-fetch) (uri (string-append "http://archive.xfce.org/src/panel-plugins/" name "/" (version-major+minor version) "/" name "-" version ".tar.bz2")) (sha256 (base32 "1izl53q95m5xm2fiq7385vb1i9nwgjizxkmgpgh33zdckb40xnl5")))) (build-system gnu-build-system) (native-inputs `(("pkg-config" ,pkg-config) ("intltool" ,intltool))) (inputs `(("glib" ,glib) ("gtk+" ,gtk+-2) ("libxfce4util" ,libxfce4util) ("libxfce4ui" ,libxfce4ui) ("xfce4-panel" ,xfce4-panel))) (home-page "https://goodies.xfce.org/projects/panel-plugins/") (synopsis "cpugraph") (description "TEST") (license (list gpl2+ lgpl2.0+)))) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 DQpb4oCmXQ0KDQpPbGVnLg0K --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEc+OyAXw1EaDPCmAPckbhHGm3lWkFAlrp/RkACgkQckbhHGm3 lWlelg/9FHEIy2ycO1XEbW477NVjX3fRxJmKumZ+aQVgQJ+XyJZJS/A/COPdCS2Z aLYNU0fg/DkeF48sIzBh+hXNcGveOIJYKzL/oWrU4i3wfJMXXuds23kI7UFTXLoj 6jUMe7AHjKRUpCJL94j6bJbvTBcTYx16FXo+SS/LxYyA75VebL6d+bdb1JET0Yvj GS2+IV5jzjIJNnnMEBu88P554YzVnmGSPwC4tNEInG8vWepTivt6qTjv4bOnfpKV jFhOazb0C5+/5lLhJhdWVjYWDOx9JeHOj58JYko3eMafpWZLUI0JCTye6Z3C40SR VjUlj3eCeSwOIvphwTPzlYqlbWWq8u3H8vW1X4ft/idqJy49PQeYk8c+p3ekZH90 BAfwMg5SkK9DQARAPs8XXU3aQSl2gHwhoTz5nx/Gv5lDT2U7m88K+CtZAzTgcl+Z M+ant6IqQNGBapc8T+eWb4OaarN8vHnW5Ego6d2Ty1pWTP+ct9ZD2xAE/nrZVmLf Ik+3Psysvv70o8sJF6xir+Ph1ztT+1vqCPqCLmoFtLgGhEHv/fEPhE2QqMo2yAWT ZWBuYPergJ3WIW2lZC4E9UauTGsSFi25n1f1k4x101lHOEvMvaVZeXD1qifCGf4R 7laGxkjuQxqgYM8GoC729j4GV4YlDUipe7M+iUEr91919/cB/zA= =bn8D -----END PGP SIGNATURE----- --==-=-=--