unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#39106] gnu: Add libnma.
@ 2020-01-12 20:34 Raghav Gururajan
  2020-01-15 21:27 ` bug#39106: " Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Raghav Gururajan @ 2020-01-12 20:34 UTC (permalink / raw)
  To: 39106

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

Hello Guix!

Please find the attached patch to add libnma.

Regards,
RG.

[-- Attachment #2: libnma.patch --]
[-- Type: application/octet-stream, Size: 2078 bytes --]

From 3004fc993c220043a99439933e97ea91c650162d Mon Sep 17 00:00:00 2001
From: Raghav Gururajan <raghavgururajan@disroot.org>
Date: Sun, 12 Jan 2020 15:23:19 -0500
Subject: [PATCH] gnu: Add libnma.

* gnu/packages/gnome.scm (libnma): New variable.
---
 gnu/packages/gnome.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 26b5e77e0a..8f0967a513 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -246,6 +246,41 @@ Desktop.  It is designed to be as simple as possible and has some unique
 features to enable users to create their discs easily and quickly.")
     (license license:gpl2+)))
 
+(define-public libnma
+  (package
+   (name "libnma")
+   (version "1.8.26")
+   (source (origin
+            (method url-fetch)
+            (uri (string-append "mirror://gnome/sources/" name "/"
+                                (version-major+minor version) "/"
+                                name "-" version ".tar.xz"))
+            (sha256
+             (base32
+              "1w9lld38risnk1krknfwln24kabdxnj274pyz4jhndphwigrshaf"))))
+   (build-system meson-build-system)
+   (arguments
+    `(#:glib-or-gtk? #t))
+   (native-inputs
+    `(("gettext" ,gettext-minimal)
+      ("glib:bin" ,glib "bin")
+      ("pkg-config" ,pkg-config)))
+   (inputs
+    `(("adwaita-icon-theme" ,adwaita-icon-theme)
+      ("gcr" ,gcr)
+      ("gobject-introspection" ,gobject-introspection)
+      ("gtk+" ,gtk+)
+      ("gtk-doc" ,gtk-doc)
+      ("iso-codes" ,iso-codes)
+      ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)
+      ("network-manager" ,network-manager)))
+   (synopsis "Network Manager's Applet Library")
+   (description "Libnma provides applet library for network-manager
+application.  It was initially part of network-manager-applet and
+now has become a separate project.")
+   (home-page "https://gitlab.gnome.org/GNOME/libnma")
+   (license license:gpl2)))
+
 (define-public gnome-menus
   (package
     (name "gnome-menus")
-- 
2.24.1


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

* bug#39106: gnu: Add libnma.
  2020-01-12 20:34 [bug#39106] gnu: Add libnma Raghav Gururajan
@ 2020-01-15 21:27 ` Ludovic Courtès
  2020-01-15 23:13   ` [bug#39106] " Raghav Gururajan
  0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2020-01-15 21:27 UTC (permalink / raw)
  To: Raghav Gururajan; +Cc: 39106-done

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

Hi,

"Raghav Gururajan" <raghavgururajan@disroot.org> skribis:

> From 3004fc993c220043a99439933e97ea91c650162d Mon Sep 17 00:00:00 2001
> From: Raghav Gururajan <raghavgururajan@disroot.org>
> Date: Sun, 12 Jan 2020 15:23:19 -0500
> Subject: [PATCH] gnu: Add libnma.
>
> * gnu/packages/gnome.scm (libnma): New variable.

Applied with the changes below.

BTW, several packages have a dependency on ‘network-manager-applet’ with
“for libnma” comment.  Could you take a look at whether these need to be
migrated?

Thanks,
Ludo’.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 1433 bytes --]

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 35a0730bea..06aafa7037 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -600,22 +600,25 @@ sharing to the masses.")
    (native-inputs
     `(("gettext" ,gettext-minimal)
       ("glib:bin" ,glib "bin")
+      ("gtk-doc" ,gtk-doc)
+      ("gobject-introspection" ,gobject-introspection)
       ("pkg-config" ,pkg-config)))
    (inputs
     `(("adwaita-icon-theme" ,adwaita-icon-theme)
       ("gcr" ,gcr)
-      ("gobject-introspection" ,gobject-introspection)
       ("gtk+" ,gtk+)
-      ("gtk-doc" ,gtk-doc)
       ("iso-codes" ,iso-codes)
       ("mobile-broadband-provider-info" ,mobile-broadband-provider-info)
       ("network-manager" ,network-manager)))
-   (synopsis "Network Manager's Applet Library")
-   (description "Libnma provides applet library for network-manager
-application.  It was initially part of network-manager-applet and
-now has become a separate project.")
+   (synopsis "Network Manager's applet library")
+   (description "Libnma is an applet library for Network Manager.  It was
+initially part of network-manager-applet and has now become a separate
+project.")
    (home-page "https://gitlab.gnome.org/GNOME/libnma")
-   (license license:gpl2)))
+
+   ;; Some files carry the "GPL-2.0+" SPDX identifier while others say
+   ;; "LGPL-2.1+".
+   (license license:gpl2+)))
 
 (define-public gnome-menus
   (package

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

* [bug#39106] gnu: Add libnma.
  2020-01-15 21:27 ` bug#39106: " Ludovic Courtès
@ 2020-01-15 23:13   ` Raghav Gururajan
  0 siblings, 0 replies; 3+ messages in thread
From: Raghav Gururajan @ 2020-01-15 23:13 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 39106-done

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

Hello Ludo!

> Applied with the changes below.

Thanks!

> BTW, several packages have a dependency on ‘network-manager-applet’
> with
> “for libnma” comment.  Could you take a look at whether these need to
> be
> migrated?

Yes, they need to be replaced with libnma. I planned to do that very
soon. :-)

Regards,
RG.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

end of thread, other threads:[~2020-01-15 23:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-12 20:34 [bug#39106] gnu: Add libnma Raghav Gururajan
2020-01-15 21:27 ` bug#39106: " Ludovic Courtès
2020-01-15 23:13   ` [bug#39106] " Raghav Gururajan

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