From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: Re: Package: workrave Date: Mon, 13 Jun 2016 16:37:25 -0400 Message-ID: <20160613203725.GB11960@jasmine> References: <20160611073232.43395329@riseup.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45055) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bCYc7-0001Ft-HU for guix-devel@gnu.org; Mon, 13 Jun 2016 16:37:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bCYc3-0001zG-8t for guix-devel@gnu.org; Mon, 13 Jun 2016 16:37:38 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:46407) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bCYc2-0001uV-1J for guix-devel@gnu.org; Mon, 13 Jun 2016 16:37:35 -0400 Content-Disposition: inline In-Reply-To: <20160611073232.43395329@riseup.net> 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" To: "Jovany Leandro G.C" Cc: guix-devel@gnu.org On Sat, Jun 11, 2016 at 07:32:32AM -0500, Jovany Leandro G.C wrote: > Hi Guix, > > i just working packaging **workrave** > now it's works. see attachments.:) Thank you for the code! > let me know how can help Can you send your changes as patches, created with `git format-patch`? That would make it easier to test them. > -- > Jovany Leandro G.C > Desarrollador de Software > github: http://github.com/bit4bit > Se libre usa GNU Linux-libre (http://www.gnu.org) > ;;;Author Jovany Leandro G.C > ;;;LICENSE FREE AS GUIX > > (define-module (contrib autotools) > #:use-module (guix licenses) > #:use-module (gnu packages) > #:use-module (gnu packages perl) > #:use-module (gnu packages m4) > #:use-module (gnu packages bash) > #:use-module (guix utils) > #:use-module (guix packages) > #:use-module (guix download) > #:use-module (guix build-system gnu) > #:use-module (guix build-system trivial) > #:use-module (ice-9 match) > #:export (autoconf-wrapper)) > > ;;this copy from guix-master > (define-public autoconf-archive > (package > (name "autoconf-archive") > (version "2016.03.20") > (source > (origin > (method url-fetch) > (uri (string-append "mirror://gnu/autoconf-archive/autoconf-archive-" > version ".tar.xz")) > (sha256 > (base32 > "0dz4fnc723jqn3by22ds5fys7g31apzm1r9allldvva0yvzjxyw8")))) > (build-system gnu-build-system) > (home-page "https://www.gnu.org/software/autoconf-archive") > (synopsis "Collection of freely reusable Autoconf macros") > (description > "Autoconf Archive is a collection of over 450 new macros for Autoconf, > greatly expanding the domain of its functionality. These macros have been > contributed as free software by the community.") > (license gpl3+))) > > ;;;Author Jovany Leandro G.C > ;;;LICENSE FREE AS GUIX > > (define-module (contrib python) > #:use-module ((guix licenses) > #:select (gpl3+ lgpl2.0+ lgpl3+ bsd-3 public-domain)) > #:use-module (gnu packages) > #:use-module (gnu packages python) > #:use-module (guix utils) > #:use-module (guix packages) > #:use-module (guix download) > #:use-module (guix git-download) > #:use-module (guix build-system python)) > > (define-public python-markdown > (package > (name "python-markdown") > (version "2.6.6") > (source (origin > (method url-fetch) > (uri (pypi-uri "Markdown" version)) > (sha256 > (base32 > "0165cqv2k3kdimp1yvqxvhr7m78mq77pp214h2nanabd1ns2nacs")))) > (build-system python-build-system) > (native-inputs `(("python-setuptools" ,python-setuptools))) > (arguments `(#:tests? #f)) > (home-page "https://pythonhosted.org/Markdown/") > (synopsis "Python implementation of Markdown.") > (description "This is a Python implementation of John Gruber???s Markdown. It is almost completely compliant with the reference implementation, though there are a few known issues. See Features for information on what exactly is supported and what is not. Additional features are supported by the Available Extensions.") > (license bsd-3))) > > (define-public python2-markdown > (package-with-python2 python-markdown)) > > (define-public python2-cheetah > (package > (name "python2-cheetah") > (version "2.4.4") > (source (origin > (method url-fetch) > (uri (pypi-uri "Cheetah" version)) > (sha256 > (base32 > "0l5mm4lnysjkzpjr95q5ydm9xc8bv43fxmr79ypybrf1y0lq4c5y")))) > (build-system python-build-system) > (arguments `(#:python ,python-2)) > (inputs `(("python-markdown" ,python2-markdown))) > (native-inputs `(("python2-setuptools" ,python2-setuptools))) > (home-page "http://www.cheetahtemplate.org/") > (synopsis > "Cheetah is an open source template engine and code generation tool, written in Python") > (description > "Cheetah is an open source template engine and code-generation tool written in Python. Cheetah can be used unto itself, or incorporated with other technologies and stacks regardless of whether they???re written in Python or not.") > (license bsd-3))) > ;;;Author Jovany Leandro G.C > ;;;LICENSE FREE AS GUIX > > (define-module (contrib workrave) > #:use-module ((guix licenses) #:select (gpl3+)) > > #:use-module (gnu packages gtk) > #:use-module (gnu packages xorg) > #:use-module (gnu packages glib) > #:use-module (gnu packages pkg-config) > #:use-module (gnu packages gettext) > #:use-module (gnu packages autotools) > #:use-module (gnu packages freedesktop) > #:use-module (gnu packages python) > #:use-module (gnu packages file) > > #:use-module (guix utils) > #:use-module (guix packages) > #:use-module (guix download) > #:use-module (guix git-download) > #:use-module (guix build-system glib-or-gtk) > #:use-module (guix build-system gnu) > #:use-module (guix build-system python) > #:use-module (guix build-system trivial) > > #:use-module (contrib python) > #:use-module (contrib autotools)) > > > (define-public workrave > (let ((commit "4c5c122c7145d2b680ed7171503f3c4f914e68a9")) > (package > (name "workrave") > (version "1.10.15") > (source (origin > (method git-fetch) > (uri (git-reference > (url "https://github.com/rcaelers/workrave.git") > (commit commit))) > (file-name (string-append name "-" version "-checkout")) > (sha256 > (base32 > "0l7b8lj77767sk4d5d4dv57z3x741xx1b9yjxcka4gk2756s3h79")))) > > (build-system gnu-build-system) > (arguments > '(#:phases (modify-phases %standard-phases > (add-before 'configure 'pre-configure > (lambda _ > (zero? (system* "sh" "autogen.sh")) > ))))) > (propagated-inputs `(("glib" ,glib) > ("gtk+" ,gtk+) > ("gdk-pixbuf" ,gdk-pixbuf) > ("gtkmm" ,gtkmm) > ("glibmm" ,glibmm) > ("libx11" ,libx11) > ("libxtst" ,libxtst) > ("libice" ,libice))) > (inputs `(("file" ,file) > ("libsm", libsm) > ("python-cheetah" ,python2-cheetah))) > (native-inputs `(("glib" ,glib "bin") > ("pkg-config" ,pkg-config) > ("python2-setuptools" ,python2-setuptools) > ("gettext" ,gnu-gettext) > ("autoconf" ,autoconf) > ("autoconf-archive" , autoconf-archive) ;;fix syntax error near unexpected token `noext' > ("automake" ,automake) > ("libtool" ,libtool) > ("intltool" ,intltool) > ("libxscrnsaver" ,libxscrnsaver) > ("gobject-introspection" ,gobject-introspection) > ("python2" ,python-2))) > > (synopsis "Workrave") > (description "Workrave") > (home-page "http://www.workrave.org") > (license gpl3+) ))) > > > > > >