From: Leo Famulari <leo@famulari.name>
To: "Jovany Leandro G.C" <bit4bit@riseup.net>
Cc: guix-devel@gnu.org
Subject: Re: Package: workrave
Date: Mon, 13 Jun 2016 16:37:25 -0400 [thread overview]
Message-ID: <20160613203725.GB11960@jasmine> (raw)
In-Reply-To: <20160611073232.43395329@riseup.net>
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 <bit4bit@riseup.net>
> ;;;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 <bit4bit@riseup.net>
> ;;;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 <bit4bit@riseup.net>
> ;;;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+) )))
>
>
>
>
>
>
next prev parent reply other threads:[~2016-06-13 20:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-11 12:32 Package: workrave Jovany Leandro G.C
2016-06-13 20:37 ` Leo Famulari [this message]
2016-08-27 13:25 ` ng0
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160613203725.GB11960@jasmine \
--to=leo@famulari.name \
--cc=bit4bit@riseup.net \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).