[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/48: gnu: gobject-introspection: Update to 1.58.1.
From: |
guix-commits |
Subject: |
02/48: gnu: gobject-introspection: Update to 1.58.1. |
Date: |
Fri, 3 May 2019 12:12:11 -0400 (EDT) |
rekado pushed a commit to branch wip-gnome3.30
in repository guix.
commit d7c12144b5bdc61dfd9d3ed321cc996dc1a36f8d
Author: Ricardo Wurmus <address@hidden>
Date: Mon Dec 3 16:21:35 2018 +0100
gnu: gobject-introspection: Update to 1.58.1.
* gnu/packages/glib.scm (gobject-introspection): Update to 1.58.1.
[source]: Remove snippet.
[arguments]: Add phase "do-not-use-/usr/bin/env".
[inputs]: Replace python-2 with python-wrapper; add zlib.
[native-inputs]: Add autoconf and automake to be able to keep using the
gnu-build-system.
* gnu/packages/patches/gobject-introspection-cc.patch: Update patch to apply
to latest version.
---
gnu/packages/glib.scm | 40 +++++++++++++---------
.../patches/gobject-introspection-cc.patch | 11 +++---
2 files changed, 30 insertions(+), 21 deletions(-)
diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm
index e83bed2..bbf7b15 100644
--- a/gnu/packages/glib.scm
+++ b/gnu/packages/glib.scm
@@ -27,6 +27,7 @@
(define-module (gnu packages glib)
#:use-module (gnu packages)
+ #:use-module (gnu packages autotools)
#:use-module (gnu packages backup)
#:use-module (gnu packages base)
#:use-module (gnu packages bash)
@@ -325,32 +326,44 @@ dynamic loading, and an object system.")
(define gobject-introspection
(package
(name "gobject-introspection")
- (version "1.56.1")
+ (version "1.58.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 "0jx2kryjd7l0vl5gb3qp1qjfy3cjiizvcd1snsm7pzwrzz67aa2v"))
- (modules '((guix build utils)))
- (snippet
- '(begin
- (substitute* "tools/g-ir-tool-template.in"
- (("#!/usr/bin/env @PYTHON@") "address@hidden@"))
- #t))
+ (base32 "12fzs3044047icdfs7cb2lsmnfi6w6fyhkci3m2rbvf5llgnhm29"))
(patches (search-patches
"gobject-introspection-cc.patch"
"gobject-introspection-girepository.patch"
"gobject-introspection-absolute-shlib-path.patch"))))
(build-system gnu-build-system)
+ (arguments
+ `(;; The build system has at least one race condition involving
Gio-2.0.gir
+ ;; which causes intermittent failures, as of 1.56.0.
+ #:parallel-build? #f
+ ;; The patch 'gobject-introspection-absolute-shlib-path.patch' causes
+ ;; some tests to fail.
+ #:tests? #f
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'do-not-use-/usr/bin/env
+ (lambda _
+ (substitute* "tools/g-ir-tool-template.in"
+ (("address@hidden@")
+ (string-append "#!" (which "python3"))))
+ #t)))))
(inputs
`(("bison" ,bison)
("flex" ,flex)
("glib" ,glib)
- ("python-2" ,python-2)))
+ ("python" ,python-wrapper)
+ ("zlib" ,zlib)))
(native-inputs
- `(("glib" ,glib "bin")
+ `(("autoconf" ,autoconf)
+ ("automake" ,automake)
+ ("glib" ,glib "bin")
("pkg-config" ,pkg-config)))
(propagated-inputs
`(;; In practice, GIR users will need libffi when using
@@ -361,13 +374,6 @@ dynamic loading, and an object system.")
(variable "GI_TYPELIB_PATH")
(files '("lib/girepository-1.0")))))
(search-paths native-search-paths)
- (arguments
- `(;; The build system has at least one race condition involving
Gio-2.0.gir
- ;; which causes intermittent failures, as of 1.56.0.
- #:parallel-build? #f
- ;; The patch 'gobject-introspection-absolute-shlib-path.patch' causes
- ;; some tests to fail.
- #:tests? #f))
(home-page "https://wiki.gnome.org/GObjectIntrospection")
(synopsis "Generate interface introspection data for GObject libraries")
(description
diff --git a/gnu/packages/patches/gobject-introspection-cc.patch
b/gnu/packages/patches/gobject-introspection-cc.patch
index d9cacf4..6a86b56 100644
--- a/gnu/packages/patches/gobject-introspection-cc.patch
+++ b/gnu/packages/patches/gobject-introspection-cc.patch
@@ -1,11 +1,14 @@
Use gcc as the default C compiler if CC is not set.
-
---- gobject-introspection-1.44.0.orig/giscanner/__init__.py 2014-08-04
22:37:07.000000000 +0800
-+++ gobject-introspection-1.44.0/giscanner/__init__.py 2015-04-20
17:30:26.507697234 +0800
-@@ -22,3 +22,5 @@
+diff -ru gobject-introspection-1.58.1.orig/giscanner/__init__.py
gobject-introspection-1.58.1/giscanner/__init__.py
+--- gobject-introspection-1.58.1.orig/giscanner/__init__.py 1970-01-01
01:00:00.000000000 +0100
++++ gobject-introspection-1.58.1/giscanner/__init__.py 2018-12-03
13:33:28.788971299 +0100
+@@ -22,6 +22,8 @@
builddir = os.environ.get('UNINSTALLED_INTROSPECTION_BUILDDIR')
if builddir is not None:
__path__.append(os.path.join(builddir, 'giscanner'))
+if not 'CC' in os.environ:
+ os.environ['CC'] = 'gcc'
+ try:
+ from ._version import __version__
+ except ImportError:
- branch wip-gnome3.30 created (now 514cac6), guix-commits, 2019/05/03
- 03/48: gnu: gmime: Update to 3.2.3., guix-commits, 2019/05/03
- 01/48: gnu: glib: Update to 2.58.1., guix-commits, 2019/05/03
- 04/48: gnu: glibmm: Update to 2.58.0., guix-commits, 2019/05/03
- 05/48: gnu: gnome-desktop: Update to 3.30.2., guix-commits, 2019/05/03
- 08/48: gnu: gsettings-desktop-schemas: Update to 3.28.1., guix-commits, 2019/05/03
- 09/48: gnu: adwaita-icon-theme: Update to 3.30.1., guix-commits, 2019/05/03
- 10/48: gnu: libgnomeprint: Update to 2.18.8., guix-commits, 2019/05/03
- 11/48: gnu: libgnomeprintui: Update to 2.18.6., guix-commits, 2019/05/03
- 06/48: gnu: gnome-disk-utility: Update to 3.30.2., guix-commits, 2019/05/03
- 02/48: gnu: gobject-introspection: Update to 1.58.1.,
guix-commits <=
- 07/48: gnu: evince: Update to 3.30.2., guix-commits, 2019/05/03
- 12/48: gnu: libwnck: Update to 3.30.0., guix-commits, 2019/05/03
- 19/48: gnu: gnome-terminal: Update to 3.30.2., guix-commits, 2019/05/03
- 22/48: gnu: atkmm: Update to 2.28.0., guix-commits, 2019/05/03
- 23/48: gnu: pangomm: Update to 2.42.0., guix-commits, 2019/05/03
- 24/48: gnu: gnome-system-monitor: Update to 3.30.0., guix-commits, 2019/05/03
- 29/48: gnu: gnome-settings-daemon: Update to 3.30.1.2., guix-commits, 2019/05/03
- 14/48: gnu: vala: Update to 0.42.3., guix-commits, 2019/05/03
- 15/48: gnu: vte: Update to 0.54.2., guix-commits, 2019/05/03
- 16/48: gnu: five-or-more: Update to 3.30.0., guix-commits, 2019/05/03