GNU bug report logs - #51967
[PATCH] package: calendar: Add gsimplecal to Guix

Previous Next

Package: guix-patches;

Reported by: Jaft <jaft.r <at> outlook.com>

Date: Fri, 19 Nov 2021 09:17:02 UTC

Severity: normal

Tags: patch

Done: Liliana Marie Prikler <liliana.prikler <at> gmail.com>

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 51967 in the body.
You can then email your comments to 51967 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#51967; Package guix-patches. (Fri, 19 Nov 2021 09:17:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jaft <jaft.r <at> outlook.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Fri, 19 Nov 2021 09:17:02 GMT) Full text and rfc822 format available.

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

From: Jaft <jaft.r <at> outlook.com>
To: "guix-patches <at> gnu.org" <guix-patches <at> gnu.org>
Subject: [PATCH] package: calendar: Add gsimplecal to Guix
Date: Fri, 19 Nov 2021 08:48:03 +0000 (UTC)
[Message part 1 (text/plain, inline)]
Hello; this is my first patch so, if I've missed or forgotten anything, just let me know and I'm happy to get it fixed.
As per the subject, this patch merely adds gsimplecal as a package; calendar seemed like the most sensible category to slot it under as it's, in fact, a calendar, I figured.
Thanks!


* gnu/packages/calendar.scm (gsimplecal): Add gsimplecal to Guix for the first time, sourced from git.---gnu/packages/calendar.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)

diff --git a/gnu/packages/calendar.scm b/gnu/packages/calendar.scmindex 8ec36d4fa2..4c54ac0549 100644--- a/gnu/packages/calendar.scm+++ b/gnu/packages/calendar.scm@@ -10,6 +10,7 @@ ;;; Copyright © 2020 Brendan Tildesley <mail <at> brendan.scot> ;;; Copyright © 2020 Tanguy Le Carrour <tanguy <at> bioneland.org> ;;; Copyright © 2020 Peng Mei Yu <pengmeiyu <at> riseup.net>+;;; Copyright © 2021 Wamm K. D. <jaft.r <at> outlook.com> ;;; ;;; This file is part of GNU Guix. ;;;@@ -36,6 +37,7 @@ (define-module (gnu packages calendar)   #:use-module (guix build-system cmake)   #:use-module (guix build-system python)   #:use-module (gnu packages admin)+  #:use-module (gnu packages autotools)   #:use-module (gnu packages base)   #:use-module (gnu packages check)   #:use-module (gnu packages dav)@@ -405,3 +407,31 @@ (define-public ccal     ;; COPYING.LESSER specifies LGPL 3.0, but all source files say     ;; 'Lesser GPL version 2 or later'.     (license (list license:gpl2+ license:lgpl2.1+))))++(define-public gsimplecal+  (let ([commit   "f00b80d86300397b52c3cf7d8dfc8de5cdee921d"]+        [revision                                        "1"])+    (package+      (name          "gsimplecal")+      (version       (git-version "2.2" revision commit))+      (source        (origin+                       (method    git-fetch)+                       (uri       (git-reference+                                   (url    "https://github.com/dmedvinsky/gsimplecal/")+                                   (commit                                      commit)))+                       (file-name (git-file-name name version))+                       (sha256    (base32 (string-append/shared+                                           "1qyf65l088dqsz25hm6s1cv18j"+                                           "52yaias0llqvpqwjfnvssa5cxg")))+                       (modules   '((guix build utils)))))+      (build-system  gnu-build-system)+      (native-inputs `(("autoconf"     ,autoconf)+                       ("automake"     ,automake)+                       ("pkg-config" ,pkg-config)+                       ("gtk+"             ,gtk+)))+      (home-page     "https://dmedvinsky.github.io/gsimplecal/")+      (synopsis      "Lightweight calendar applet written in C++ using GTK")+      (description   "Gsimplecal was intentionally made for use with tint2 panel+in the openbox environment to be launched upon clock click but, of course, it+will work without it.")+      (license       license:bsd-3))))
[Message part 2 (text/html, inline)]
[gsimplecal.patch (text/x-patch, attachment)]

Information forwarded to guix-patches <at> gnu.org:
bug#51967; Package guix-patches. (Fri, 19 Nov 2021 19:56:01 GMT) Full text and rfc822 format available.

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

From: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
To: Jaft <jaft.r <at> outlook.com>, 51967 <at> debbugs.gnu.org
Subject: Re: [PATCH] package: calendar: Add gsimplecal to Guix
Date: Fri, 19 Nov 2021 20:55:39 +0100
Hi,

Am Freitag, den 19.11.2021, 08:48 +0000 schrieb Jaft:
> Hello; this is my first patch so, if I've missed or forgotten
> anything, just let me know and I'm happy to get it fixed.
First things first: transmit plain text, not HTML.

Second, only the topmost directory (gnu:, guix:, doc:) is usually
important.  Package additions follow the rule "gnu: Add PACKAGE".

> * gnu/packages/calendar.scm (gsimplecal): Add gsimplecal to Guix for
> the first time, sourced from git.
Simply say "New variable".

> ---
This line marks where you can add comments when you transmit the patch
as-is.  You might want to use it in lieu of a pre-statement.

> gnu/packages/calendar.scm | 30 ++++++++++++++++++++++++++++++
> 1 file changed, 30 insertions(+)
> 
> diff --git a/gnu/packages/calendar.scm b/gnu/packages/calendar.scm
> index 8ec36d4fa2..4c54ac0549 100644
> --- a/gnu/packages/calendar.scm
> +++ b/gnu/packages/calendar.scm
> @@ -10,6 +10,7 @@
>  ;;; Copyright © 2020 Brendan Tildesley <mail <at> brendan.scot>
>  ;;; Copyright © 2020 Tanguy Le Carrour <tanguy <at> bioneland.org>
>  ;;; Copyright © 2020 Peng Mei Yu <pengmeiyu <at> riseup.net>
> +;;; Copyright © 2021 Wamm K. D. <jaft.r <at> outlook.com>
>  ;;;
>  ;;; This file is part of GNU Guix.
>  ;;;
> @@ -36,6 +37,7 @@ (define-module (gnu packages calendar)
>    #:use-module (guix build-system cmake)
>    #:use-module (guix build-system python)
>    #:use-module (gnu packages admin)
> +  #:use-module (gnu packages autotools)
>    #:use-module (gnu packages base)
>    #:use-module (gnu packages check)
>    #:use-module (gnu packages dav)
> @@ -405,3 +407,31 @@ (define-public ccal
>      ;; COPYING.LESSER specifies LGPL 3.0, but all source files say
>      ;; 'Lesser GPL version 2 or later'.
>      (license (list license:gpl2+ license:lgpl2.1+))))
> +
> +(define-public gsimplecal
> +  (let ([commit   "f00b80d86300397b52c3cf7d8dfc8de5cdee921d"]
> +        [revision                                        "1"])
Guile is not racket, it's round brackets everywhere.
We also don't do right alignment.  A simple space between
variable/field and value is enough.
> +    (package
> +      (name          "gsimplecal")
As above, pp.
> +      (version       (git-version "2.2" revision commit))
> +      (source        (origin
> +                       (method    git-fetch)
> +                       (uri       (git-reference
> +                                   (url    "
> https://github.com/dmedvinsky/gsimplecal/")
> +                                   (commit                         
>             commit)))
> +                       (file-name (git-file-name name version))
> +                       (sha256    (base32 (string-append/shared
> +                                         
>  "1qyf65l088dqsz25hm6s1cv18j"
> +                                         
>  "52yaias0llqvpqwjfnvssa5cxg")))
Use a single string rather than a function call.
> +                       (modules   '((guix build utils)))))
> +      (build-system  gnu-build-system)
> +      (native-inputs `(("autoconf"     ,autoconf)
> +                       ("automake"     ,automake)
> +                       ("pkg-config" ,pkg-config)
> +                       ("gtk+"             ,gtk+)))
GTK+ is probably not a native-input.  Also use a newline here.
> +      (home-page     "https://dmedvinsky.github.io/gsimplecal/")
> +      (synopsis      "Lightweight calendar applet written in C++
> using GTK")
> +      (description   "Gsimplecal was intentionally made for use with
> tint2 panel
> +in the openbox environment to be launched upon clock click but, of
> course, it
> +will work without it.")
That's... not very descriptive, is it?
> +      (license       license:bsd-3))))

Thanks for the submission and happy hacking :)





Information forwarded to guix-patches <at> gnu.org:
bug#51967; Package guix-patches. (Sat, 20 Nov 2021 01:45:03 GMT) Full text and rfc822 format available.

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

From: Jaft <jaft.r <at> outlook.com>
To: "51967 <at> debbugs.gnu.org" <51967 <at> debbugs.gnu.org>, 
 Liliana Marie Prikler <liliana.prikler <at> gmail.com>
Subject: Re: [PATCH] gnu: Add gsimplecal
Date: Sat, 20 Nov 2021 00:46:31 +0000 (UTC)
> On Friday, November 19, 2021, 01:55:44 PM CST, Liliana Marie Prikler <liliana.prikler <at> gmail.com> wrote:
>
>
>
>
>
> Hi,
>
> Am Freitag, den 19.11.2021, 08:48 +0000 schrieb Jaft:
> > Hello; this is my first patch so, if I've missed or forgotten
> > anything, just let me know and I'm happy to get it fixed.
> First things first: transmit plain text, not HTML.
>
> Second, only the topmost directory (gnu:, guix:, doc:) is usually
> important.  Package additions follow the rule "gnu: Add PACKAGE".
>
> > * gnu/packages/calendar.scm (gsimplecal): Add gsimplecal to Guix for
> > the first time, sourced from git.
> Simply say "New variable".
>
> > ---
> This line marks where you can add comments when you transmit the patch
> as-is.  You might want to use it in lieu of a pre-statement.
>
> > gnu/packages/calendar.scm | 30 ++++++++++++++++++++++++++++++
> > 1 file changed, 30 insertions(+)
> >
> > diff --git a/gnu/packages/calendar.scm b/gnu/packages/calendar.scm
> > index 8ec36d4fa2..4c54ac0549 100644
> > --- a/gnu/packages/calendar.scm
> > +++ b/gnu/packages/calendar.scm
> > @@ -10,6 +10,7 @@
> >  ;;; Copyright © 2020 Brendan Tildesley <mail <at> brendan.scot>
> >  ;;; Copyright © 2020 Tanguy Le Carrour <tanguy <at> bioneland.org>
> >  ;;; Copyright © 2020 Peng Mei Yu <pengmeiyu <at> riseup.net>
> > +;;; Copyright © 2021 Wamm K. D. <jaft.r <at> outlook.com>
> >  ;;;
> >  ;;; This file is part of GNU Guix.
> >  ;;;
> > @@ -36,6 +37,7 @@ (define-module (gnu packages calendar)
> >    #:use-module (guix build-system cmake)
> >    #:use-module (guix build-system python)
> >    #:use-module (gnu packages admin)
> > +  #:use-module (gnu packages autotools)
> >    #:use-module (gnu packages base)
> >    #:use-module (gnu packages check)
> >    #:use-module (gnu packages dav)
> > @@ -405,3 +407,31 @@ (define-public ccal
> >      ;; COPYING.LESSER specifies LGPL 3.0, but all source files say
> >      ;; 'Lesser GPL version 2 or later'.
> >      (license (list license:gpl2+ license:lgpl2.1+))))
> > +
> > +(define-public gsimplecal
> > +  (let ([commit  "f00b80d86300397b52c3cf7d8dfc8de5cdee921d"]
> > +        [revision                                        "1"])
> Guile is not racket, it's round brackets everywhere.

Guile doesn't allow square brackets, like Racket does? I don't think I've ever found that to be the case. I know at least some of the RnRS standards don't allow it but I didn't think Guile was a strict adherent. Not that I'm pushing back since, clearly, it falls outside the style guide for Guix but it's the first I've heard that Guile requires parentheses everywhere.

> We also don't do right alignment.  A simple space between
> variable/field and value is enough.
> > +    (package
> > +      (name          "gsimplecal")
> As above, pp.
> > +      (version      (git-version "2.2" revision commit))
> > +      (source        (origin
> > +                      (method    git-fetch)
> > +                      (uri      (git-reference
> > +                                  (url    "
> > https://github.com/dmedvinsky/gsimplecal/")
> > +                                  (commit                       
> >            commit)))
> > +                      (file-name (git-file-name name version))
> > +                      (sha256    (base32 (string-append/shared
> > +                                       
> >  "1qyf65l088dqsz25hm6s1cv18j"
> > +                                       
> >  "52yaias0llqvpqwjfnvssa5cxg")))
> Use a single string rather than a function call.
> > +                      (modules  '((guix build utils)))))
> > +      (build-system  gnu-build-system)
> > +      (native-inputs `(("autoconf"    ,autoconf)
> > +                      ("automake"    ,automake)
> > +                      ("pkg-config" ,pkg-config)
> > +                      ("gtk+"            ,gtk+)))
> GTK+ is probably not a native-input.  Also use a newline here.

Ah, whoops; 'thought I'd put that as just an input, before…

> > +      (home-page    "https://dmedvinsky.github.io/gsimplecal/")
> > +      (synopsis      "Lightweight calendar applet written in C++
> > using GTK")
> > +      (description  "Gsimplecal was intentionally made for use with
> > tint2 panel
> > +in the openbox environment to be launched upon clock click but, of
> > course, it
> > +will work without it.")
> That's... not very descriptive, is it?

I was using the description provided by the author on their GitHub site; should I come up with my own description, in my own words, instead? The synopsis already pretty much covers what it is (a calendar applet so a calendar pops up when activated; a GTK simple calendar) so I figured that, combined, they gave a good snapshot of what it is and what it's aiming for.

But I can definitely alter it to something else if that isn't sufficient; just double checking so let me know and I shall do that.

>
> > +      (license      license:bsd-3))))
>
>
> Thanks for the submission and happy hacking :)

Sure thing! I've attached what I have, so far, for the updated patch, below, and I'll update it again if the description needs tweaking.



* gnu/packages/calendar.scm (gsimplecal): New variable
---
gnu/packages/calendar.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)


diff --git a/gnu/packages/calendar.scm b/gnu/packages/calendar.scm
index 8ec36d4fa2..3c61a109a3 100644
--- a/gnu/packages/calendar.scm
+++ b/gnu/packages/calendar.scm
@@ -10,6 +10,7 @@
 ;;; Copyright © 2020 Brendan Tildesley <mail <at> brendan.scot>
 ;;; Copyright © 2020 Tanguy Le Carrour <tanguy <at> bioneland.org>
 ;;; Copyright © 2020 Peng Mei Yu <pengmeiyu <at> riseup.net>
+;;; Copyright © 2021 Wamm K. D. <jaft.r <at> outlook.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -36,6 +37,7 @@ (define-module (gnu packages calendar)
   #:use-module (guix build-system cmake)
   #:use-module (guix build-system python)
   #:use-module (gnu packages admin)
+  #:use-module (gnu packages autotools)
   #:use-module (gnu packages base)
   #:use-module (gnu packages check)
   #:use-module (gnu packages dav)
@@ -405,3 +407,32 @@ (define-public ccal
     ;; COPYING.LESSER specifies LGPL 3.0, but all source files say
     ;; 'Lesser GPL version 2 or later'.
     (license (list license:gpl2+ license:lgpl2.1+))))
+
+(define-public gsimplecal
+  (let ((commit "f00b80d86300397b52c3cf7d8dfc8de5cdee921d")
+        (revision "1"))
+    (package
+      (name "gsimplecal")
+      (version (git-version "2.2" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                       (url "https://github.com/dmedvinsky/gsimplecal/")
+                       (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256 (base32 (string-append/shared
+                                  "1qyf65l088dqsz25hm6s1cv18j"
+                                  "52yaias0llqvpqwjfnvssa5cxg")))
+                (modules '((guix build utils)))))
+      (build-system gnu-build-system)
+      (native-inputs
+        `(("autoconf" ,autoconf)
+          ("automake" ,automake)
+          ("pkg-config" ,pkg-config)))
+      (inputs `(("gtk+" ,gtk+)))
+      (home-page "https://dmedvinsky.github.io/gsimplecal/")
+      (synopsis "Lightweight calendar applet written in C++ using GTK")
+      (description "Gsimplecal was intentionally made for use with tint2 panel
+in the openbox environment to be launched upon clock click but, of course, it
+will work without it.")
+      (license license:bsd-3))))




Information forwarded to guix-patches <at> gnu.org:
bug#51967; Package guix-patches. (Sat, 20 Nov 2021 08:27:02 GMT) Full text and rfc822 format available.

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

From: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
To: Jaft <jaft.r <at> outlook.com>, "51967 <at> debbugs.gnu.org" <51967 <at> debbugs.gnu.org>
Subject: Re: [PATCH] gnu: Add gsimplecal
Date: Sat, 20 Nov 2021 09:26:48 +0100
Hi,

Am Samstag, den 20.11.2021, 00:46 +0000 schrieb Jaft:
> > On Friday, November 19, 2021, 01:55:44 PM CST, Liliana Marie
> > Prikler <liliana.prikler <at> gmail.com> wrote:
> > [...]
> > Guile is not racket, it's round brackets everywhere.
> 
> Guile doesn't allow square brackets, like Racket does? I don't think
> I've ever found that to be the case. I know at least some of the RnRS
> standards don't allow it but I didn't think Guile was a strict
> adherent. Not that I'm pushing back since, clearly, it falls outside
> the style guide for Guix but it's the first I've heard that Guile
> requires parentheses everywhere.
Guile does allow you to write in that style and accepts it in the wild,
but it's not a typical Guile coding style.  Round brackets are much
preferred.

> [...]
> 
> > > +      (home-page    "https://dmedvinsky.github.io/gsimplecal/")
> > > +      (synopsis      "Lightweight calendar applet written in C++
> > > using GTK")
> > > +      (description  "Gsimplecal was intentionally made for use
> > > with
> > > tint2 panel
> > > +in the openbox environment to be launched upon clock click but,
> > > of
> > > course, it
> > > +will work without it.")
> > That's... not very descriptive, is it?
> 
> I was using the description provided by the author on their GitHub
> site; should I come up with my own description, in my own words,
> instead? The synopsis already pretty much covers what it is (a
> calendar applet so a calendar pops up when activated; a GTK simple
> calendar) so I figured that, combined, they gave a good snapshot of
> what it is and what it's aiming for.
> 
> But I can definitely alter it to something else if that isn't
> sufficient; just double checking so let me know and I shall do that.
The description should not rely on the synopsis to do the explanation. 
You can filter Guix' output so that only one or the other appears, so
both ought to make sense on their own.   On that note, mentioning C++
and GTK in the synopsis might be a little overkill for a package with a
description that is about as large, but fair enough.

What about the following: "gsimplecal is a lightweight calendar
application written in C++ using GTK.  Launched once, it pops up a
small calendar applet, launched again it closes the running instance. 
It can additionally be configured to show the current time in different
timezones."?

> Sure thing! I've attached what I have, so far, for the updated patch,
> below, and I'll update it again if the description needs tweaking.
> 
> 
> 
> * gnu/packages/calendar.scm (gsimplecal): New variable
> ---
Again a reminder to put comments after this little dashed line if you
want to do inline comments.  We have to filter the large verbage from
the commit message otherwise.

> gnu/packages/calendar.scm | 31 +++++++++++++++++++++++++++++++
> 1 file changed, 31 insertions(+)
> 
> 
> diff --git a/gnu/packages/calendar.scm b/gnu/packages/calendar.scm
> index 8ec36d4fa2..3c61a109a3 100644
> --- a/gnu/packages/calendar.scm
> +++ b/gnu/packages/calendar.scm
> @@ -10,6 +10,7 @@
>  ;;; Copyright © 2020 Brendan Tildesley <mail <at> brendan.scot>
>  ;;; Copyright © 2020 Tanguy Le Carrour <tanguy <at> bioneland.org>
>  ;;; Copyright © 2020 Peng Mei Yu <pengmeiyu <at> riseup.net>
> +;;; Copyright © 2021 Wamm K. D. <jaft.r <at> outlook.com>
>  ;;;
>  ;;; This file is part of GNU Guix.
>  ;;;
> @@ -36,6 +37,7 @@ (define-module (gnu packages calendar)
>    #:use-module (guix build-system cmake)
>    #:use-module (guix build-system python)
>    #:use-module (gnu packages admin)
> +  #:use-module (gnu packages autotools)
>    #:use-module (gnu packages base)
>    #:use-module (gnu packages check)
>    #:use-module (gnu packages dav)
> @@ -405,3 +407,32 @@ (define-public ccal
>      ;; COPYING.LESSER specifies LGPL 3.0, but all source files say
>      ;; 'Lesser GPL version 2 or later'.
>      (license (list license:gpl2+ license:lgpl2.1+))))
> +
> +(define-public gsimplecal
> +  (let ((commit "f00b80d86300397b52c3cf7d8dfc8de5cdee921d")
> +        (revision "1"))
Revision counting typically starts at 0.  On that note, this seems to
be the release commit, so you can use (commit (string-append "v"
version)) below with version simply being "2.2".
> +    (package
> +      (name "gsimplecal")
> +      (version (git-version "2.2" revision commit))
> +      (source (origin
> +                (method git-fetch)
> +                (uri (git-reference
> +                       (url "
> https://github.com/dmedvinsky/gsimplecal/")
> +                       (commit commit)))
> +                (file-name (git-file-name name version))
> +                (sha256 (base32 (string-append/shared
> +                                  "1qyf65l088dqsz25hm6s1cv18j"
> +                                  "52yaias0llqvpqwjfnvssa5cxg")))
> +                (modules '((guix build utils)))))
> +      (build-system gnu-build-system)
> +      (native-inputs
> +        `(("autoconf" ,autoconf)
> +          ("automake" ,automake)
> +          ("pkg-config" ,pkg-config)))
> +      (inputs `(("gtk+" ,gtk+)))
Inputs are typically ordered before native-inputs.
> +      (home-page "https://dmedvinsky.github.io/gsimplecal/")
> +      (synopsis "Lightweight calendar applet written in C++ using
> GTK")
> +      (description "Gsimplecal was intentionally made for use with
> tint2 panel
> +in the openbox environment to be launched upon clock click but, of
> course, it
> +will work without it.")
> +      (license license:bsd-3))))

Cheers





Information forwarded to guix-patches <at> gnu.org:
bug#51967; Package guix-patches. (Sat, 20 Nov 2021 23:40:01 GMT) Full text and rfc822 format available.

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

From: Jaft <jaft.r <at> outlook.com>
To: "51967 <at> debbugs.gnu.org" <51967 <at> debbugs.gnu.org>, 
 Liliana Marie Prikler <liliana.prikler <at> gmail.com>
Subject: Re: [PATCH] gnu: Add gsimplecal
Date: Sat, 20 Nov 2021 23:38:55 +0000 (UTC)
* gnu/packages/calendar.scm (gsimplecal): New variable
---
gnu/packages/calendar.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)

 diff --git a/gnu/packages/calendar.scm b/gnu/packages/calendar.scm
index 8ec36d4fa2..9ffdbaa85e 100644
--- a/gnu/packages/calendar.scm
+++ b/gnu/packages/calendar.scm
@@ -10,6 +10,7 @@
 ;;; Copyright © 2020 Brendan Tildesley <mail <at> brendan.scot>
 ;;; Copyright © 2020 Tanguy Le Carrour <tanguy <at> bioneland.org>
 ;;; Copyright © 2020 Peng Mei Yu <pengmeiyu <at> riseup.net>
+;;; Copyright © 2021 Wamm K. D. <jaft.r <at> outlook.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -36,6 +37,7 @@ (define-module (gnu packages calendar)
   #:use-module (guix build-system cmake)
   #:use-module (guix build-system python)
   #:use-module (gnu packages admin)
+  #:use-module (gnu packages autotools)
   #:use-module (gnu packages base)
   #:use-module (gnu packages check)
   #:use-module (gnu packages dav)
@@ -405,3 +407,31 @@ (define-public ccal
     ;; COPYING.LESSER specifies LGPL 3.0, but all source files say
     ;; 'Lesser GPL version 2 or later'.
     (license (list license:gpl2+ license:lgpl2.1+))))
+
+(define-public gsimplecal
+  (let ((version "2.2"))
+    (package
+      (name "gsimplecal")
+      (version version)
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/dmedvinsky/gsimplecal/")
+                      (commit (string-append "v" version))))
+                (file-name (git-file-name name version))
+                (sha256 (base32
+                         "1qyf65l088dqsz25hm6s1cv18j52yaias0llqvpqwjfnvssa5cxg"))
+                (modules '((guix build utils)))))
+      (build-system gnu-build-system)
+      (inputs `(("gtk+" ,gtk+)))
+      (native-inputs
+       `(("autoconf" ,autoconf)
+         ("automake" ,automake)
+         ("pkg-config" ,pkg-config)))
+      (home-page "https://dmedvinsky.github.io/gsimplecal/")
+      (synopsis "Lightweight calendar applet written in C++ using GTK")
+      (description "Gsimplecal is a lightweight calendar application written in
+C++ using GTK.  Launched once, it pops up a small calendar applet, launched
+again it closes the running instance.  It can additionally be configured to show
+the current time in different timezones.")
+      (license license:bsd-3))))




Information forwarded to guix-patches <at> gnu.org:
bug#51967; Package guix-patches. (Sun, 21 Nov 2021 08:47:01 GMT) Full text and rfc822 format available.

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

From: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
To: Jaft <jaft.r <at> outlook.com>, "51967 <at> debbugs.gnu.org" <51967 <at> debbugs.gnu.org>
Subject: Re: [PATCH] gnu: Add gsimplecal
Date: Sun, 21 Nov 2021 09:46:35 +0100
I've applied the patch with some minor adjustments and pushed it.
Note that Outlook messes up the mail quite a lot, inserting non-
breakable spaces instead of clean ones wherever it wants to.  You might
want to configure it so as to not do that.

Cheers

Am Samstag, den 20.11.2021, 23:38 +0000 schrieb Jaft:
> * gnu/packages/calendar.scm (gsimplecal): New variable
> ---
> gnu/packages/calendar.scm | 30 ++++++++++++++++++++++++++++++
> 1 file changed, 30 insertions(+)
> 
>  diff --git a/gnu/packages/calendar.scm b/gnu/packages/calendar.scm
> index 8ec36d4fa2..9ffdbaa85e 100644
> --- a/gnu/packages/calendar.scm
> +++ b/gnu/packages/calendar.scm
> @@ -10,6 +10,7 @@
>  ;;; Copyright © 2020 Brendan Tildesley <mail <at> brendan.scot>
>  ;;; Copyright © 2020 Tanguy Le Carrour <tanguy <at> bioneland.org>
>  ;;; Copyright © 2020 Peng Mei Yu <pengmeiyu <at> riseup.net>
> +;;; Copyright © 2021 Wamm K. D. <jaft.r <at> outlook.com>
>  ;;;
>  ;;; This file is part of GNU Guix.
>  ;;;
> @@ -36,6 +37,7 @@ (define-module (gnu packages calendar)
>    #:use-module (guix build-system cmake)
>    #:use-module (guix build-system python)
>    #:use-module (gnu packages admin)
> +  #:use-module (gnu packages autotools)
>    #:use-module (gnu packages base)
>    #:use-module (gnu packages check)
>    #:use-module (gnu packages dav)
> @@ -405,3 +407,31 @@ (define-public ccal
>      ;; COPYING.LESSER specifies LGPL 3.0, but all source files say
>      ;; 'Lesser GPL version 2 or later'.
>      (license (list license:gpl2+ license:lgpl2.1+))))
> +
> +(define-public gsimplecal
> +  (let ((version "2.2"))
> +    (package
> +      (name "gsimplecal")
> +      (version version)
> +      (source (origin
> +                (method git-fetch)
> +                (uri (git-reference
> +                      (url "
> https://github.com/dmedvinsky/gsimplecal/")
> +                      (commit (string-append "v" version))))
> +                (file-name (git-file-name name version))
> +                (sha256 (base32
> +                       
>  "1qyf65l088dqsz25hm6s1cv18j52yaias0llqvpqwjfnvssa5cxg"))
> +                (modules '((guix build utils)))))
> +      (build-system gnu-build-system)
> +      (inputs `(("gtk+" ,gtk+)))
> +      (native-inputs
> +       `(("autoconf" ,autoconf)
> +         ("automake" ,automake)
> +         ("pkg-config" ,pkg-config)))
> +      (home-page "https://dmedvinsky.github.io/gsimplecal/")
> +      (synopsis "Lightweight calendar applet written in C++ using
> GTK")
> +      (description "Gsimplecal is a lightweight calendar application
> written in
> +C++ using GTK.  Launched once, it pops up a small calendar applet,
> launched
> +again it closes the running instance.  It can additionally be
> configured to show
> +the current time in different timezones.")
> +      (license license:bsd-3))))





Reply sent to Liliana Marie Prikler <liliana.prikler <at> gmail.com>:
You have taken responsibility. (Sun, 21 Nov 2021 08:56:02 GMT) Full text and rfc822 format available.

Notification sent to Jaft <jaft.r <at> outlook.com>:
bug acknowledged by developer. (Sun, 21 Nov 2021 08:56:02 GMT) Full text and rfc822 format available.

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

From: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
To: 51967-done <at> debbugs.gnu.org
Subject: Re: [PATCH] gnu: Add gsimplecal
Date: Sun, 21 Nov 2021 09:55:40 +0100
Forgot to mark as done.





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 19 Dec 2021 12:24:09 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 90 days ago.

Previous Next


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