unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Package: workrave
@ 2016-06-11 12:32 Jovany Leandro G.C
  2016-06-13 20:37 ` Leo Famulari
  0 siblings, 1 reply; 3+ messages in thread
From: Jovany Leandro G.C @ 2016-06-11 12:32 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 245 bytes --]

Hi Guix, 

i just working packaging **workrave**
now it's works. see attachments.:)



let me know how can help

-- 
Jovany Leandro G.C
Desarrollador de Software
github: http://github.com/bit4bit
Se libre usa GNU Linux-libre (http://www.gnu.org)

[-- Attachment #2: autotools.scm --]
[-- Type: text/x-scheme, Size: 1308 bytes --]

;;;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+)))


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #3: python.scm --]
[-- Type: text/x-scheme, Size: 2325 bytes --]

;;;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)))

[-- Attachment #4: workrave.scm --]
[-- Type: text/x-scheme, Size: 2557 bytes --]

;;;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+) )))

	      





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-08-27 13:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-11 12:32 Package: workrave Jovany Leandro G.C
2016-06-13 20:37 ` Leo Famulari
2016-08-27 13:25   ` ng0

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).