GNU bug report logs - #34634
[PATCH 1/1] gnu: tryton: Add tryton 5.0.6.

Previous Next

Package: guix-patches;

Reported by: "Jovany Leandro G.C" <bit4bit <at> riseup.net>

Date: Sat, 23 Feb 2019 19:11:01 UTC

Severity: normal

Tags: patch

Done: Andreas Enge <andreas <at> enge.fr>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 34634 in the body.
You can then email your comments to 34634 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#34634; Package guix-patches. (Sat, 23 Feb 2019 19:11:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Jovany Leandro G.C" <bit4bit <at> riseup.net>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sat, 23 Feb 2019 19:11:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "Jovany Leandro G.C" <bit4bit <at> riseup.net>
To: guix-patches <at> gnu.org
Subject: [PATCH 1/1] gnu: tryton: Add tryton 5.0.6.
Date: Sat, 23 Feb 2019 14:09:39 -0500
From 693d00d1df68ada3bb43cbaecdd2823976e87bd4 Mon Sep 17 00:00:00 2001
From: "Jovany Leandro G.C" <bit4bit <at> riseup.net>
Date: Sat, 23 Feb 2019 14:08:01 -0500
Subject: [PATCH 1/1] gnu: tryton: Add tryton 5.0.6.

* gnu/packages/tryton.scm (tryton-5): New variable.
---
 gnu/packages/tryton.scm | 42 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

diff --git a/gnu/packages/tryton.scm b/gnu/packages/tryton.scm
index 31a2d481e..871537745 100644
--- a/gnu/packages/tryton.scm
+++ b/gnu/packages/tryton.scm
@@ -1,5 +1,6 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2017 Adriano Peluso <catonano <at> gmail.com>
+;;; Copyright © 2019 Jovany Leandro G.C <bit4bit <at> riseup.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -96,6 +97,47 @@ and security.")
     (description "This package is the client component of Tryton.")
     (license license:gpl3+)))
 
+(define-public tryton-5
+  (package
+    (name "tryton")
+    (version "5.0.6")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "tryton" version))
+       (sha256
+        (base32
+         "1lgkyyin5ydfl7qz692cvgswwyhnbc51r9krfz5k9rhq06ayaq4v"))))
+    (build-system python-build-system)
+    (arguments
+     `(;;_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix
will not be created.
+       #:tests? #f
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'install 'wrap
+           (lambda* (#:key inputs outputs #:allow-other-keys)
+             (let ((out (assoc-ref outputs "out"))
+                   (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
+               (wrap-program (string-append out "/bin/tryton")
+                 `("GI_TYPELIB_PATH" ":" prefix (, gi-typelib-path))))
+             #t))
+         (add-after 'unpack 'set-home-directory
+           ;; [Errno 13] Permission denied: '/homeless-shelter'
+           (lambda _ (setenv "HOME" "/tmp")
+                   #t))
+         )))
+    (native-inputs
+     `(("gtk+" ,gtk+)
+       ("librsvg" ,librsvg)))
+    (inputs
+     `(("python-pycairo" ,python-pycairo)
+       ("python-pygobject" ,python-pygobject)
+       ("python-dateutil" ,python-dateutil)))
+    (home-page "http://www.tryton.org/")
+    (synopsis "Client component of Tryton 5")
+    (description "This package is the client component of Tryton 5.")
+    (license license:gpl3)))
+
 (define-public python-trytond-country
   (package
   (name "python-trytond-country")
-- 
2.19.0





Information forwarded to guix-patches <at> gnu.org:
bug#34634; Package guix-patches. (Mon, 11 Mar 2019 22:16:01 GMT) Full text and rfc822 format available.

Message #8 received at 34634 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: "Jovany Leandro G.C" <bit4bit <at> riseup.net>
Cc: 34634 <at> debbugs.gnu.org
Subject: Re: [bug#34634] [PATCH 1/1] gnu: tryton: Add tryton 5.0.6.
Date: Mon, 11 Mar 2019 23:15:39 +0100
Hi Jovany,

Your email client mangled the patch.  In the future could you send
patches as attachments or use ‘git send-email’?

"Jovany Leandro G.C" <bit4bit <at> riseup.net> skribis:

> From 693d00d1df68ada3bb43cbaecdd2823976e87bd4 Mon Sep 17 00:00:00 2001
> From: "Jovany Leandro G.C" <bit4bit <at> riseup.net>
> Date: Sat, 23 Feb 2019 14:08:01 -0500
> Subject: [PATCH 1/1] gnu: tryton: Add tryton 5.0.6.
>
> * gnu/packages/tryton.scm (tryton-5): New variable.

Do you think we should keep both version 4 and version 5?  Is it
generally useful today to have these two versions available?

> +(define-public tryton-5
> +  (package
> +    (name "tryton")
> +    (version "5.0.6")

Should it inherit from ‘tryton’?

> +    (arguments
> +     `(;;_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix
> will not be created.
> +       #:tests? #f

Could you try adding a phase before ‘check’ that spawns Xvfb?  There are
several examples of this.

> +    (license license:gpl3)))

Version 3 only, or version 3 “or any later version”?

Could you send an updated patch?

Thank you,
Ludo’.




Information forwarded to guix-patches <at> gnu.org:
bug#34634; Package guix-patches. (Wed, 13 Mar 2019 10:18:01 GMT) Full text and rfc822 format available.

Message #11 received at 34634 <at> debbugs.gnu.org (full text, mbox):

From: "Jovany Leandro G.C" <bit4bit <at> riseup.net>
To: Ludovic Courtès <ludo <at> gnu.org>
Subject: Re: [bug#34634] [PATCH 1/1] gnu: tryton: Add tryton 5.0.6.
Date: Tue, 12 Mar 2019 16:58:42 -0500
El Mon, 11 Mar 2019 23:15:39 +0100
Ludovic Courtès <ludo <at> gnu.org> escribió:
> Hi Jovany,
> 
> Your email client mangled the patch.  In the future could you send
> patches as attachments or use ‘git send-email’?
ok sorry, i will be more alert with this
> 
> "Jovany Leandro G.C" <bit4bit <at> riseup.net> skribis:
> 
> > From 693d00d1df68ada3bb43cbaecdd2823976e87bd4 Mon Sep 17 00:00:00
> > 2001 From: "Jovany Leandro G.C" <bit4bit <at> riseup.net>
> > Date: Sat, 23 Feb 2019 14:08:01 -0500
> > Subject: [PATCH 1/1] gnu: tryton: Add tryton 5.0.6.
> >
> > * gnu/packages/tryton.scm (tryton-5): New variable.  
> 
> Do you think we should keep both version 4 and version 5?  Is it
> generally useful today to have these two versions available?
> 
yeah it's very useful, tryton 4 and 5 both have updates, now 5 will be
LTS
> > +(define-public tryton-5
> > +  (package
> > +    (name "tryton")
> > +    (version "5.0.6")  
> 
> Should it inherit from ‘tryton’?
what it's the best path for this?
a guide please
> > +    (arguments
> > +     `(;;_XSERVTransmkdir: ERROR: euid !=
> > 0,directory /tmp/.X11-unix will not be created.
> > +       #:tests? #f  
> 
> Could you try adding a phase before ‘check’ that spawns Xvfb?  There
ok, i try before send the patch, and not work but will try again
> are several examples of this.
> 
> > +    (license license:gpl3)))  
> 
> Version 3 only, or version 3 “or any later version”?
> 
http://hg.tryton.org/tryton/file/5.0/LICENSE
yeah GPL-3+

> Could you send an updated patch?
> 
> Thank you,
> Ludo’.

yeah i will work on it.


thanks for you time and work




Information forwarded to guix-patches <at> gnu.org:
bug#34634; Package guix-patches. (Wed, 13 Mar 2019 10:32:02 GMT) Full text and rfc822 format available.

Message #14 received at 34634 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: "Jovany Leandro G.C" <bit4bit <at> riseup.net>
Cc: 34634 <at> debbugs.gnu.org
Subject: Re: [bug#34634] [PATCH 1/1] gnu: tryton: Add tryton 5.0.6.
Date: Wed, 13 Mar 2019 11:31:19 +0100
Hello Jovany,

"Jovany Leandro G.C" <bit4bit <at> riseup.net> skribis:

> El Mon, 11 Mar 2019 23:15:39 +0100
> Ludovic Courtès <ludo <at> gnu.org> escribió:

[...]

>> "Jovany Leandro G.C" <bit4bit <at> riseup.net> skribis:
>> 
>> > From 693d00d1df68ada3bb43cbaecdd2823976e87bd4 Mon Sep 17 00:00:00
>> > 2001 From: "Jovany Leandro G.C" <bit4bit <at> riseup.net>
>> > Date: Sat, 23 Feb 2019 14:08:01 -0500
>> > Subject: [PATCH 1/1] gnu: tryton: Add tryton 5.0.6.
>> >
>> > * gnu/packages/tryton.scm (tryton-5): New variable.  
>> 
>> Do you think we should keep both version 4 and version 5?  Is it
>> generally useful today to have these two versions available?
>> 
> yeah it's very useful, tryton 4 and 5 both have updates, now 5 will be
> LTS

OK, sounds good.

>> > +(define-public tryton-5
>> > +  (package
>> > +    (name "tryton")
>> > +    (version "5.0.6")  
>> 
>> Should it inherit from ‘tryton’?
> what it's the best path for this?
> a guide please

You would write something like:

  (define-public tryton-5
    (package
      (inherit tryton)
      (version "5.0.6")
      ;; …
      ))

and you only need to specify fields that differ from those of ‘tryton’.
See for example ‘guile-2.0.13’ in (gnu packages guile).

>> > +    (license license:gpl3)))  
>> 
>> Version 3 only, or version 3 “or any later version”?
>> 
> http://hg.tryton.org/tryton/file/5.0/LICENSE
> yeah GPL-3+

Right, and specifically there are no source file headers that say
“version 3 only”, so ‘gpl3+’ indeed!

Thanks,
Ludo’.

PS: Please keep 34634 <at> debbugs.gnu.org Cc’d.




Reply sent to Andreas Enge <andreas <at> enge.fr>:
You have taken responsibility. (Sat, 05 Sep 2020 20:53:01 GMT) Full text and rfc822 format available.

Notification sent to "Jovany Leandro G.C" <bit4bit <at> riseup.net>:
bug acknowledged by developer. (Sat, 05 Sep 2020 20:53:02 GMT) Full text and rfc822 format available.

Message #19 received at 34634-done <at> debbugs.gnu.org (full text, mbox):

From: Andreas Enge <andreas <at> enge.fr>
To: 34634-done <at> debbugs.gnu.org
Subject: Closing
Date: Sat, 5 Sep 2020 22:52:11 +0200
We have tryton-5.6.0 now, so the problem is solved. Closing.

Andreas





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 04 Oct 2020 11:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 198 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.