unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#72654] [PATCH] gnu: Drop gobject-introspection 1.73.1.
@ 2024-08-16  7:54 Liliana Marie Prikler
  2024-08-16 18:01 ` pelzflorian (Florian Pelz)
  0 siblings, 1 reply; 6+ messages in thread
From: Liliana Marie Prikler @ 2024-08-16  7:54 UTC (permalink / raw)
  To: 72654; +Cc: liliana.prikler, maxim.cournoyer, vivien

The actual gobject-introspection has been newer than its "next" variant for
some while.

* gnu/packages/glib.scm (gobject-introspection-next): Remove variable.
* gnu/packages/gtk.scm (gtksourceview)[native-inputs]: Replace
gobject-introspection-next with gobject-introspection.
* gnu/packages/guile-xyz.scm (guile-g-golf)[native-inputs]: Likewise.
---
 gnu/packages/glib.scm      | 17 -----------------
 gnu/packages/gtk.scm       |  2 +-
 gnu/packages/guile-xyz.scm |  2 +-
 3 files changed, 2 insertions(+), 19 deletions(-)

diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm
index b11046f05d..f490005b2d 100644
--- a/gnu/packages/glib.scm
+++ b/gnu/packages/glib.scm
@@ -688,23 +688,6 @@ (define gobject-introspection
       ;; For tools.
       license:gpl2+))))
 
-(define-public gobject-introspection-next
-  (package
-    (inherit gobject-introspection)
-    (name "gobject-introspection")
-    (version "1.73.1")
-    (source (origin
-              (method url-fetch)
-              (uri (string-append "mirror://gnome/sources/"
-                                  "gobject-introspection/" (version-major+minor version)
-                                  "/gobject-introspection-" version ".tar.xz"))
-              (sha256
-               (base32 "1gkbx32as3v2286w7k3j24fwhkxj6brr49881m2zavxamfwxdm34"))
-              (patches (search-patches
-                        "gobject-introspection-cc-1.72.patch"
-                        "gobject-introspection-girepository.patch"
-                        "gobject-introspection-absolute-shlib-path-1.72.patch"))))))
-
 (define intltool
   (package
     (name "intltool")
diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 04183fa806..01cb5cf4fc 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -652,7 +652,7 @@ (define-public gtksourceview
      (list `(,glib "bin")               ; for glib-genmarshal, etc.
            gettext-minimal
            gi-docgen
-           gobject-introspection-next
+           gobject-introspection
            pkg-config
            vala
            ;; For testing.
diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index 0759c399c3..86f0982ca8 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -2538,7 +2538,7 @@ (define-public guile-g-golf
            clutter
            xorg-server-for-tests))
     (propagated-inputs
-     (list gobject-introspection-next))
+     (list gobject-introspection))
     (home-page "https://www.gnu.org/software/g-golf/")
     (synopsis "Guile bindings for GObject Introspection")
     (description

base-commit: 888fdfd1b1c4e4b3913b7b229f1ebc9f4596be20
-- 
2.45.2





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

* [bug#72654] [PATCH] gnu: Drop gobject-introspection 1.73.1.
  2024-08-16  7:54 [bug#72654] [PATCH] gnu: Drop gobject-introspection 1.73.1 Liliana Marie Prikler
@ 2024-08-16 18:01 ` pelzflorian (Florian Pelz)
  2024-08-16 18:22   ` pelzflorian (Florian Pelz)
  2024-08-16 18:27   ` Liliana Marie Prikler
  0 siblings, 2 replies; 6+ messages in thread
From: pelzflorian (Florian Pelz) @ 2024-08-16 18:01 UTC (permalink / raw)
  To: Liliana Marie Prikler; +Cc: vivien, maxim.cournoyer, 72654

Liliana Marie Prikler <liliana.prikler@gmail.com> writes:
> * gnu/packages/guile-xyz.scm (guile-g-golf)[native-inputs]: Likewise.

Yes, please. :)  That guile-g-golf is partially broken (*) is *not* a
regression and it’s still good to have your updated introspection tools.
gedit and gnome-builder work fine.

That’s on x86_64.  I cannot test ARM anymore and never had graphics on
riscv.

Regards,
Florian

(*) Running
$(guix build --source guile-g-golf)/examples/gtk-4/hello-world.scm
fails [1] when not using --no-grafts because gtk simultaneously uses
two gdk-pixbuf store items with different outputs, but this is not
permitted.
$(guix build --source guile-g-golf)/examples/gtk-4/drawing-widget.scm
fails because
instead of the vfunc, on Guix it runs random bogus code [2] on Guix and
crashes, but again, this is no regression.


[1] https://lists.gnu.org/archive/html/guile-user/2024-04/msg00069.html
[2] https://lists.gnu.org/archive/html/guile-user/2024-05/msg00013.html




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

* [bug#72654] [PATCH] gnu: Drop gobject-introspection 1.73.1.
  2024-08-16 18:01 ` pelzflorian (Florian Pelz)
@ 2024-08-16 18:22   ` pelzflorian (Florian Pelz)
  2024-08-16 18:27   ` Liliana Marie Prikler
  1 sibling, 0 replies; 6+ messages in thread
From: pelzflorian (Florian Pelz) @ 2024-08-16 18:22 UTC (permalink / raw)
  To: Liliana Marie Prikler; +Cc: vivien, maxim.cournoyer, 72654

"pelzflorian (Florian Pelz)" <pelzflorian@pelzflorian.de> writes:
> $(guix build --source guile-g-golf)/examples/gtk-4/drawing-widget.scm
> fails

This was with a guile-g-golf at --with-commit=guile-g-golf=v0.8.0-rc.5
g-golf at guix master does not have drawing-widget.scm or vfunc support.
But the rest holds.




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

* [bug#72654] [PATCH] gnu: Drop gobject-introspection 1.73.1.
  2024-08-16 18:01 ` pelzflorian (Florian Pelz)
  2024-08-16 18:22   ` pelzflorian (Florian Pelz)
@ 2024-08-16 18:27   ` Liliana Marie Prikler
  2024-08-16 19:08     ` pelzflorian (Florian Pelz)
  1 sibling, 1 reply; 6+ messages in thread
From: Liliana Marie Prikler @ 2024-08-16 18:27 UTC (permalink / raw)
  To: pelzflorian (Florian Pelz); +Cc: vivien, maxim.cournoyer, 72654

Am Freitag, dem 16.08.2024 um 20:01 +0200 schrieb pelzflorian (Florian
Pelz):
> Yes, please. :)  That guile-g-golf is partially broken (*) is *not* a
> regression and it’s still good to have your updated introspection
> tools.
Thanks for the heads-up.

> (*) Running
> $(guix build --source guile-g-golf)/examples/gtk-4/hello-world.scm
> fails [1] when not using --no-grafts because gtk simultaneously uses
> two gdk-pixbuf store items with different outputs, but this is not
> permitted. 
> $(guix build --source guile-g-golf)/examples/gtk-4/drawing-widget.scm
> fails because instead of the vfunc, on Guix it runs random bogus code
> [2] on Guix and crashes, but again, this is no regression.
> 
> [1]
> https://lists.gnu.org/archive/html/guile-user/2024-04/msg00069.html
> [2]
> https://lists.gnu.org/archive/html/guile-user/2024-05/msg00013.html
Is there a report on this?  Maybe someone who works with g-golf ought
to look at it – despite being a member of gnome-team, I'm not
particularly knowledgable here.

Cheers




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

* [bug#72654] [PATCH] gnu: Drop gobject-introspection 1.73.1.
  2024-08-16 18:27   ` Liliana Marie Prikler
@ 2024-08-16 19:08     ` pelzflorian (Florian Pelz)
  2024-09-02 15:24       ` bug#72654: " pelzflorian (Florian Pelz)
  0 siblings, 1 reply; 6+ messages in thread
From: pelzflorian (Florian Pelz) @ 2024-08-16 19:08 UTC (permalink / raw)
  To: Liliana Marie Prikler; +Cc: vivien, maxim.cournoyer, 72654

Liliana Marie Prikler <liliana.prikler@gmail.com> writes:
>> [1]
>> https://lists.gnu.org/archive/html/guile-user/2024-04/msg00069.html
>> [2]
>> https://lists.gnu.org/archive/html/guile-user/2024-05/msg00013.html
> Is there a report on this?  Maybe someone who works with g-golf ought
> to look at it – despite being a member of gnome-team, I'm not
> particularly knowledgable here.
>
> Cheers

The grafts bug in my assumption is Guix bug
<https://issues.guix.gnu.org/48907> as I wrote at the guile-user mail
[1].  There, Maxim thinks <https://issues.guix.gnu.org/64836> has the
same cause.

The vfunc issue is not in the g-golf version from Guix master yet, which
has no support for vfuncs.

In discussion with g-golf author David Pirotte, I failed to find the
cause so far and have not investigated further recently, except that
David’s other recent g-golf closure marshal fixes in new g-golf releases
do not fix this Guix-specific vfunc issue.

Regards,
Florian




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

* bug#72654: [PATCH] gnu: Drop gobject-introspection 1.73.1.
  2024-08-16 19:08     ` pelzflorian (Florian Pelz)
@ 2024-09-02 15:24       ` pelzflorian (Florian Pelz)
  0 siblings, 0 replies; 6+ messages in thread
From: pelzflorian (Florian Pelz) @ 2024-09-02 15:24 UTC (permalink / raw)
  To: Liliana Marie Prikler; +Cc: 72654-done, vivien, maxim.cournoyer

Thank you for pushing.  Closing.

On guile-user, Matija Osid progressively debugs the remaining g-golf
issues for Nix.  In particular, using

((package-input-rewriting
  `((,libffi . ,libffi-sans-static-trampolines)))
 guile-3.0)

makes every g-golf demo work.

Regards,
Florian




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

end of thread, other threads:[~2024-09-02 15:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-16  7:54 [bug#72654] [PATCH] gnu: Drop gobject-introspection 1.73.1 Liliana Marie Prikler
2024-08-16 18:01 ` pelzflorian (Florian Pelz)
2024-08-16 18:22   ` pelzflorian (Florian Pelz)
2024-08-16 18:27   ` Liliana Marie Prikler
2024-08-16 19:08     ` pelzflorian (Florian Pelz)
2024-09-02 15:24       ` bug#72654: " pelzflorian (Florian Pelz)

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