GNU bug report logs - #42177
[PATCH 0/3] Add GNOME Builder

Previous Next

Package: guix-patches;

Reported by: Leo Prikler <leo.prikler <at> student.tugraz.at>

Date: Fri, 3 Jul 2020 10:35:01 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

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 42177 in the body.
You can then email your comments to 42177 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#42177; Package guix-patches. (Fri, 03 Jul 2020 10:35:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Leo Prikler <leo.prikler <at> student.tugraz.at>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Fri, 03 Jul 2020 10:35:02 GMT) Full text and rfc822 format available.

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

From: Leo Prikler <leo.prikler <at> student.tugraz.at>
To: guix-patches <at> gnu.org
Subject: [PATCH 0/3] Add GNOME Builder
Date: Fri, 03 Jul 2020 12:34:25 +0200
Hi Guix,

seeing how this has been long on the Guix wishlist, I've decided to
package GNOME Builder.  I don't yet have the complete package; support
for clang, flatpak and glade is currently missing, but the basics
should work to some extent.  Bear in mind, that I only did some light
usage testing, so there may be bugs I'm missing.

Regards, Leo





Information forwarded to guix-patches <at> gnu.org:
bug#42177; Package guix-patches. (Fri, 03 Jul 2020 10:39:02 GMT) Full text and rfc822 format available.

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

From: Leo Prikler <leo.prikler <at> student.tugraz.at>
To: 42177 <at> debbugs.gnu.org
Subject: [PATCH 1/3] gnu: Add sysprof.
Date: Fri,  3 Jul 2020 12:37:12 +0200
* gnu/packages/gnome.scm (sysprof): New variable.
---
 gnu/packages/gnome.scm | 46 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 46 insertions(+)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index d2e452d8f2..520129618c 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -10465,3 +10465,49 @@ GObject introspection bindings.")
      (home-page "https://source.puri.sm/Librem5/feedbackd")
      (license (list license:lgpl2.1+   ; libfeedbackd
                     license:lgpl3+)))) ; the rest
+
+(define-public sysprof
+  (package
+    (name "sysprof")
+    (version "3.34.1")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://gnome/sources/" name "/"
+                                  (version-major+minor version) "/"
+                                  name "-" version ".tar.xz"))
+              (sha256
+               (base32
+                "1l4kr1av7933vb4zql9c5lgzivlw64hyky4nr8xin1v5if6vnjw4"))))
+    (build-system meson-build-system)
+    (arguments
+     `(#:configure-flags
+       (list (string-append "-Dsystemdunitdir="
+                            %output
+                            "/share/systemd"))
+       #:tests? #f ; 3/4 test-model-filter barfs some dbus nonsense
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'patch-install-script
+           (lambda _
+             (substitute* "build-aux/meson/post_install.sh"
+               (("gtk-update-icon-cache") "true")
+               (("update-desktop-database") "true"))
+             #t)))))
+    (inputs
+     `(("glib" ,glib)
+       ("gtk+" ,gtk+)
+       ("libdazzle" ,libdazzle)
+       ("polkit" ,polkit)))
+    (native-inputs
+     `(("gettext" ,gettext-minimal)
+       ("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
+       ("itstool" ,itstool)
+       ("pkg-config" ,pkg-config)
+       ("xmllint" ,libxml2)))
+    (home-page "http://www.sysprof.com/")
+    (synopsis "System-wide Performance Profiler")
+    (description "Sysprof is a sampling profiler that uses a kernel module
+to generate stacktraces which are then interpreted by the userspace program
+``sysprof''.")
+    (license (list license:gpl2+
+                   license:gpl3+))))
-- 
2.27.0





Information forwarded to guix-patches <at> gnu.org:
bug#42177; Package guix-patches. (Fri, 03 Jul 2020 10:39:02 GMT) Full text and rfc822 format available.

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

From: Leo Prikler <leo.prikler <at> student.tugraz.at>
To: 42177 <at> debbugs.gnu.org
Subject: [PATCH 2/3] gnu: Add template-glib.
Date: Fri,  3 Jul 2020 12:37:13 +0200
* gnu/packages/gnome.scm (template-glib): New variable.
---
 gnu/packages/gnome.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 520129618c..c0517a5421 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -10511,3 +10511,32 @@ to generate stacktraces which are then interpreted by the userspace program
 ``sysprof''.")
     (license (list license:gpl2+
                    license:gpl3+))))
+
+(define-public template-glib
+  (package
+    (name "template-glib")
+    (version "3.34.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://gnome/sources/" name "/"
+                                  (version-major+minor version) "/"
+                                  name "-" version ".tar.xz"))
+              (sha256
+               (base32
+                "1z9xkin5fyfh071ma9y045jcw83hgx33dfbjraw6cxk0qdmfysr1"))))
+    (build-system meson-build-system)
+    (inputs
+     `(("bison" ,bison)
+       ("flex" ,flex)
+       ("glib" ,glib)
+       ("gobject-introspection" ,gobject-introspection)))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)
+       ("glib:bin" ,glib "bin")
+       ("vala" ,vala)))
+    (home-page "https://gitlab.gnome.org/GNOME/template-glib")
+    (synopsis "Library for template expansion")
+    (description "Template-GLib is a library to help you generate text based
+on a template and user defined state.  Template-GLib does not use a language
+runtime, so it is safe to use from any GObject-Introspectable language.")
+    (license license:lgpl2.1+)))
-- 
2.27.0





Information forwarded to guix-patches <at> gnu.org:
bug#42177; Package guix-patches. (Fri, 03 Jul 2020 10:39:02 GMT) Full text and rfc822 format available.

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

From: Leo Prikler <leo.prikler <at> student.tugraz.at>
To: 42177 <at> debbugs.gnu.org
Subject: [PATCH 3/3] gnu: Add gnome-builder.
Date: Fri,  3 Jul 2020 12:37:14 +0200
* gnu/packages/gnome.scm (gnome-builder): New variable.
---
 gnu/packages/gnome.scm | 66 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 66 insertions(+)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index c0517a5421..2ea608d9bb 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -10540,3 +10540,69 @@ to generate stacktraces which are then interpreted by the userspace program
 on a template and user defined state.  Template-GLib does not use a language
 runtime, so it is safe to use from any GObject-Introspectable language.")
     (license license:lgpl2.1+)))
+
+(define-public gnome-builder
+  (package
+    (name "gnome-builder")
+    (version "3.36.1")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://gnome/sources/" name "/"
+                                  (version-major+minor version) "/"
+                                  name "-" version ".tar.xz"))
+              (sha256
+               (base32
+                "17pvmd5jypar8dkr6w56hvf7jnq4l1wih2wwgkrv7sblr7rkkar2"))))
+    (build-system meson-build-system)
+    (arguments
+     `(#:configure-flags (list "-Dnetwork_tests=false"
+                               ;; TODO: Enable all plugins...
+                               "-Dplugin_clang=false"
+                               "-Dplugin_flatpak=false"
+                               "-Dplugin_glade=false"
+                               ;; ... except this one.
+                               "-Dplugin_update_manager=false")
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'patch-meson
+           (lambda* (#:key inputs #:allow-other-keys)
+             (substitute* "build-aux/meson/post_install.py"
+               (("gtk-update-icon-cache") "true")
+               (("update-desktop-database") "true"))
+             (substitute* "src/libide/meson.build"
+               (("/usr/lib")
+                (string-append (assoc-ref inputs "python-pygobject")
+                               "/lib")))
+             #t))
+         (add-before 'check 'pre-check
+           (lambda _
+             (system "Xvfb :1 &")
+             (setenv "DISPLAY" ":1")
+             #t)))))
+    (inputs
+     `(("devhelp" ,devhelp)
+       ("gspell" ,gspell)
+       ("gtk+" ,gtk+)
+       ("json-glib" ,json-glib)
+       ("jsonrpc-glib" ,jsonrpc-glib)
+       ("libdazzle" ,libdazzle)
+       ("libgit2-glib" ,libgit2-glib)
+       ("libpeas" ,libpeas)
+       ("python-pygobject" ,python-pygobject)
+       ("sysprof" ,sysprof)
+       ("template-glib" ,template-glib)
+       ("vte" ,vte)
+       ("webkitgtk" ,webkitgtk)))
+    (propagated-inputs
+     `(("gtksourceview" ,gtksourceview))) ; needed for settings
+    (native-inputs
+     `(("desktop-file-utils" ,desktop-file-utils) ;for desktop-file-validate
+       ("glib:bin" ,glib "bin")
+       ("gettext" ,gettext-minimal)
+       ("pkg-config" ,pkg-config)
+       ("vala" ,vala)
+       ("xorg-server" ,xorg-server-for-tests)))
+    (home-page "https://wiki.gnome.org/Apps/Builder")
+    (synopsis "Toolsmith for GNOME-based applications")
+    (description "Builder aims to be an IDE for writing GNOME-based software.")
+    (license license:gpl3+)))
-- 
2.27.0





Information forwarded to guix-patches <at> gnu.org:
bug#42177; Package guix-patches. (Fri, 10 Jul 2020 21:15:02 GMT) Full text and rfc822 format available.

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

From: Ludovic Courtès <ludo <at> gnu.org>
To: Leo Prikler <leo.prikler <at> student.tugraz.at>
Cc: 42177 <at> debbugs.gnu.org
Subject: Re: [bug#42177] [PATCH 1/3] gnu: Add sysprof.
Date: Fri, 10 Jul 2020 23:14:34 +0200
[Message part 1 (text/plain, inline)]
Hi,

Leo Prikler <leo.prikler <at> student.tugraz.at> skribis:

> * gnu/packages/gnome.scm (sysprof): New variable.

Applied with the changes below:

[Message part 2 (text/x-patch, inline)]
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 2d3270782c..3c9596cc1d 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -10486,9 +10486,8 @@ GObject introspection bindings.")
        ("pkg-config" ,pkg-config)
        ("xmllint" ,libxml2)))
     (home-page "http://www.sysprof.com/")
-    (synopsis "System-wide Performance Profiler")
+    (synopsis "System-wide performance profiler")
     (description "Sysprof is a sampling profiler that uses a kernel module
 to generate stacktraces which are then interpreted by the userspace program
-``sysprof''.")
-    (license (list license:gpl2+
-                   license:gpl3+))))
+@command{sysprof}.")
+    (license license:gpl3+)))

Information forwarded to guix-patches <at> gnu.org:
bug#42177; Package guix-patches. (Fri, 10 Jul 2020 21:23:02 GMT) Full text and rfc822 format available.

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

From: Ludovic Courtès <ludo <at> gnu.org>
To: Leo Prikler <leo.prikler <at> student.tugraz.at>
Cc: 42177 <at> debbugs.gnu.org
Subject: Re: [bug#42177] [PATCH 2/3] gnu: Add template-glib.
Date: Fri, 10 Jul 2020 23:21:50 +0200
Leo Prikler <leo.prikler <at> student.tugraz.at> skribis:

> * gnu/packages/gnome.scm (template-glib): New variable.

This one was unnecessary: we already have it.  :-)




Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Fri, 10 Jul 2020 21:23:02 GMT) Full text and rfc822 format available.

Notification sent to Leo Prikler <leo.prikler <at> student.tugraz.at>:
bug acknowledged by developer. (Fri, 10 Jul 2020 21:23:02 GMT) Full text and rfc822 format available.

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

From: Ludovic Courtès <ludo <at> gnu.org>
To: Leo Prikler <leo.prikler <at> student.tugraz.at>
Cc: 42177-done <at> debbugs.gnu.org
Subject: Re: [bug#42177] [PATCH 3/3] gnu: Add gnome-builder.
Date: Fri, 10 Jul 2020 23:22:23 +0200
Leo Prikler <leo.prikler <at> student.tugraz.at> skribis:

> * gnu/packages/gnome.scm (gnome-builder): New variable.

Applied, thanks!

Ludo’.




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

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

Previous Next


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