guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Package: workrave


From: Leo Famulari
Subject: Re: Package: workrave
Date: Mon, 13 Jun 2016 16:37:25 -0400
User-agent: Mutt/1.6.0 (2016-04-01)

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 <address@hidden>
> ;;;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 <address@hidden>
> ;;;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 <address@hidden>
> ;;;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+) )))
> 
>             
> 
> 
> 
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]