[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
36/48: gnu: gnome-tweak-tool: Update to 3.30.1.
From: |
guix-commits |
Subject: |
36/48: gnu: gnome-tweak-tool: Update to 3.30.1. |
Date: |
Sat, 4 May 2019 04:13:27 -0400 (EDT) |
rekado pushed a commit to branch wip-gnome3.30
in repository guix.
commit 54f78c456bf8d2b9d8e941c4a03b42c5c4e5fad7
Author: Ricardo Wurmus <address@hidden>
Date: Thu Dec 6 12:22:34 2018 +0100
gnu: gnome-tweak-tool: Update to 3.30.1.
* gnu/packages/gnome.scm (gnome-tweak-tool): Deprecate and rename...
(gnome-tweaks): ...to this. Update to 3.30.1.
[build-system]: Use meson-build-system.
[arguments]: Adjust configure flags; pass glib-or-gtk? flag; remove custom
phases that are now provided by the meson-build-system; add phases "wrap"
and
"wrap-gi-typelib".
[native-inputs]: Remove meson-for-build and ninja.
[home-page]: Update.
[description]: Use "Tweaks" instead of "Tweak Tool".
* gnu/packages/patches/gnome-tweak-tool-search-paths.patch: Rename file...
* gnu/packages/patches/gnome-tweaks-search-paths.patch: ...to this.
* gnu/local.mk (dist_patch_DATA): Update patch file name.
---
gnu/local.mk | 2 +-
gnu/packages/gnome.scm | 66 ++++++++++------------
...paths.patch => gnome-tweaks-search-paths.patch} | 4 +-
3 files changed, 33 insertions(+), 39 deletions(-)
diff --git a/gnu/local.mk b/gnu/local.mk
index 21d939c..dd9fbfd 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -857,7 +857,7 @@ dist_patch_DATA =
\
%D%/packages/patches/gmp-arm-asm-nothumb.patch \
%D%/packages/patches/gmp-faulty-test.patch \
%D%/packages/patches/gnome-shell-theme.patch \
- %D%/packages/patches/gnome-tweak-tool-search-paths.patch \
+ %D%/packages/patches/gnome-tweaks-search-paths.patch \
%D%/packages/patches/gnucash-fix-test-transaction-failure.patch \
%D%/packages/patches/gnutls-skip-trust-store-test.patch \
%D%/packages/patches/gobject-introspection-absolute-shlib-path.patch \
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 0703b01..f073f0c 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -6779,51 +6779,41 @@ fit the GNOME desktop.")
existing databases over the internet.")
(license license:gpl3+)))
-(define-public gnome-tweak-tool
+(define-public gnome-tweaks
(package
- (name "gnome-tweak-tool")
- (version "3.26.4")
+ (name "gnome-tweaks")
+ (version "3.30.1")
(source (origin
(method url-fetch)
- (uri (string-append "mirror://gnome/sources/gnome-tweak-tool/"
+ (uri (string-append "mirror://gnome/sources/gnome-tweaks/"
(version-major+minor version) "/"
- "gnome-tweak-tool-" version ".tar.xz"))
- (patches (list
- (search-patch "gnome-tweak-tool-search-paths.patch")))
+ "gnome-tweaks-" version ".tar.xz"))
+ (patches
+ (list (search-patch "gnome-tweaks-search-paths.patch")))
(sha256
(base32
- "1pq5a0kzh1sz7s7ax5c7p6212k9d51nk5bfvjfyqn99cs928187x"))))
- (build-system glib-or-gtk-build-system)
+ "0pj6k0106dy92lnb646dd656qdvljqwbaya95xp369a016pzngpa"))))
+ (build-system meson-build-system)
(arguments
- `(#:configure-flags '("--localstatedir=/tmp"
- "--sysconfdir=/tmp")
+ `(#:glib-or-gtk? #t
+ #:configure-flags '("-Dlocalstatedir=/tmp"
+ "-Dsysconfdir=/tmp")
#:imported-modules ((guix build python-build-system)
- ,@%glib-or-gtk-build-system-modules)
- #:phases (modify-phases %standard-phases
- (delete 'configure)
- (replace 'build
- (lambda* (#:key outputs #:allow-other-keys)
- (invoke "meson" "build"
- "--prefix" (assoc-ref outputs "out"))))
- (replace 'check
- (lambda _ (invoke "ninja" "-C" "build" "test")))
- (replace 'install
- (lambda* (#:key outputs #:allow-other-keys)
- (invoke "ninja" "-C" "build" "install")))
- (add-after 'install 'wrap-program
- (lambda* (#:key outputs #:allow-other-keys)
- (let ((out (assoc-ref outputs "out"))
- (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
- (wrap-program (string-append out
"/bin/gnome-tweak-tool")
- `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
- #t))
- (add-after 'install 'wrap
- (@@ (guix build python-build-system) wrap)))))
+ ,@%meson-build-system-modules)
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'install 'wrap
+ (@@ (guix build python-build-system) wrap))
+ (add-after 'wrap 'wrap-gi-typelib
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out"))
+ (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
+ (wrap-program (string-append out "/bin/gnome-tweaks")
+ `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
+ #t)))))
(native-inputs
`(("gtk+:bin" ,gtk+ "bin") ; For gtk-update-icon-cache
("intltool" ,intltool)
- ("meson" ,meson-for-build)
- ("ninja" ,ninja)
("pkg-config" ,pkg-config)))
(inputs
`(("gnome-desktop" ,gnome-desktop)
@@ -6836,14 +6826,18 @@ existing databases over the internet.")
("python" ,python)
("python-pygobject" ,python-pygobject)))
(synopsis "Customize advanced GNOME 3 options")
- (home-page "https://wiki.gnome.org/action/show/Apps/GnomeTweakTool")
+ (home-page "https://wiki.gnome.org/Apps/Tweaks")
(description
- "GNOME Tweak Tool allows adjusting advanced configuration settings in
+ "GNOME Tweaks allows adjusting advanced configuration settings in
GNOME 3. This includes things like the fonts used in user interface elements,
alternative user interface themes, changes in window management behavior,
GNOME Shell appearance and extension, etc.")
(license license:gpl3+)))
+;; This package has been renamed by upstream.
+(define-public gnome-tweak-tool
+ (deprecated-package "gnome-tweak-tool" gnome-tweaks))
+
(define-public gnome-shell-extensions
(package
(name "gnome-shell-extensions")
diff --git a/gnu/packages/patches/gnome-tweak-tool-search-paths.patch
b/gnu/packages/patches/gnome-tweaks-search-paths.patch
similarity index 91%
rename from gnu/packages/patches/gnome-tweak-tool-search-paths.patch
rename to gnu/packages/patches/gnome-tweaks-search-paths.patch
index 027c61b..e7524fa 100644
--- a/gnu/packages/patches/gnome-tweak-tool-search-paths.patch
+++ b/gnu/packages/patches/gnome-tweaks-search-paths.patch
@@ -1,4 +1,4 @@
-Gnome-tweak-tool does not look at GSETTINGS_SCHEMA_PATH or XDG_DATA_DIRS, it
+Gnome-tweaks does not look at GSETTINGS_SCHEMA_PATH or XDG_DATA_DIRS, it
assumes that schemas are installed in one global directory
(GSETTINGS_SCHEMA_DIR/gsettingsschemadir).
@@ -8,7 +8,7 @@ packages pick-up files using XDG_DATA_DIRS.
Upstream ticket: https://bugzilla.gnome.org/show_bug.cgi?id=764537
address@hidden
---- gnome-tweak-tool-3.18.1.orig/gtweak/gsettings.py 2015-04-08
15:21:32.000000000 +0200
+--- gnome-tweak-3.18.1.orig/gtweak/gsettings.py 2015-04-08
15:21:32.000000000 +0200
+++ gnome-tweak-tool-3.18.1/gtweak/gsettings.py 2016-04-03
11:26:38.658482704 +0200
@@ -16,7 +16,8 @@
# along with gnome-tweak-tool. If not, see <http://www.gnu.org/licenses/>.
- 23/48: gnu: pangomm: Update to 2.42.0., (continued)
- 23/48: gnu: pangomm: Update to 2.42.0., guix-commits, 2019/05/04
- 25/48: gnu: gnome-calculator: Update to 3.30.1., guix-commits, 2019/05/04
- 31/48: gnu: network-manager-applet: Use meson build system., guix-commits, 2019/05/04
- 21/48: gnu: gtkmm: Update to 3.24.0., guix-commits, 2019/05/04
- 28/48: gnu: gnome-keyring: Add missing input., guix-commits, 2019/05/04
- 14/48: gnu: vala: Update to 0.42.3., guix-commits, 2019/05/04
- 47/48: gnu: mutter: Update to 3.30.2., guix-commits, 2019/05/04
- 46/48: gnu: gtksourceview: Update to 4.0.3., guix-commits, 2019/05/04
- 44/48: gnu: gnome-online-accounts: Update to 3.30.0., guix-commits, 2019/05/04
- 35/48: gnu: nautilus: Update to 3.30.4., guix-commits, 2019/05/04
- 36/48: gnu: gnome-tweak-tool: Update to 3.30.1.,
guix-commits <=
- 48/48: gnu: gnome-shell: Update to 3.30.2., guix-commits, 2019/05/04
- 38/48: gnu: eog: Update to 3.28.4., guix-commits, 2019/05/04
- 39/48: gnu: epiphany: Update to 3.30.2., guix-commits, 2019/05/04
- 27/48: gnu: gdm: Update to 3.30.2., guix-commits, 2019/05/04
- 37/48: gnu: colord: Update to 1.4.3., guix-commits, 2019/05/04
- 42/48: gnu: libgnome-games-support: Update to 1.4.2., guix-commits, 2019/05/04
- 30/48: gnu: network-manager: Update to 1.14.4., guix-commits, 2019/05/04
- 45/48: gnu: gnome-maps: Update to 3.30.2.1., guix-commits, 2019/05/04
- 41/48: gnu: yelp-xsl: Update to 3.30.1., guix-commits, 2019/05/04
- 34/48: gnu: gvfs: Update to 1.38.1., guix-commits, 2019/05/04