[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
242/277: gnu: file-roller: Update package definition.
From: |
guix-commits |
Subject: |
242/277: gnu: file-roller: Update package definition. |
Date: |
Thu, 6 Aug 2020 17:03:50 -0400 (EDT) |
dannym pushed a commit to branch wip-desktop
in repository guix.
commit 3490e4af4be7482596c7e87291562bfcebb68282
Author: Raghav Gururajan <raghavgururajan@disroot.org>
AuthorDate: Mon Aug 3 12:42:58 2020 -0400
gnu: file-roller: Update package definition.
* gnu/packages/gnome.scm (file-roller) [version]: Update to 3.36.2.
[source]<origin>[sha256]: Modify base32.
[outputs]: New output "help".
[arguments]<#:glib-or-gtk?>: New argument.
<#:phases>['patch-nautilus-extension]: New phase.
['skip-gtk-update-icon-cache]: New phase.
['move-help]: New phase.
[native-inputs]: Add gobject-introspection and vala.
[inputs]: Add cpio, glib, gtk+ and nautilus. Change gdk-pixbuf to
gdk-pixbuf+svg.
[synopsis]: Modify.
[description]: Modify.
[home-page]: Modify.
Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
---
gnu/packages/gnome.scm | 80 ++++++++++++++++++++++++++++++++++++--------------
1 file changed, 58 insertions(+), 22 deletions(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 913a751..4200094 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -89,6 +89,7 @@
#:use-module (gnu packages cmake)
#:use-module (gnu packages code)
#:use-module (gnu packages compression)
+ #:use-module (gnu packages cpio)
#:use-module (gnu packages crates-io)
#:use-module (gnu packages cups)
#:use-module (gnu packages curl)
@@ -7859,37 +7860,72 @@ share them with others via social networking and more.")
(define-public file-roller
(package
(name "file-roller")
- (version "3.32.3")
- (source (origin
- (method url-fetch)
- (uri (string-append "mirror://gnome/sources/file-roller/"
- (version-major+minor version) "/"
- "file-roller-" version ".tar.xz"))
- (sha256
- (base32
- "0ap2hxvjljh4p6wsd9ikh2my3vsxp9r2nvjxxj3v87nwfyw1y4dy"))))
+ (version "3.36.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri
+ (string-append "mirror://gnome/sources/file-roller/"
+ (version-major+minor version) "/"
+ "file-roller-" version ".tar.xz"))
+ (sha256
+ (base32 "1lkb0m8ys13sy3b6c1kj3cqrqf5d1dqvhbp8spz8v9yjv3d7z3r6"))))
(build-system meson-build-system)
+ (outputs '("out" "help"))
+ (arguments
+ `(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'patch-nautilus-extension
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (substitute* "nautilus/meson.build"
+
(("libnautilus_extension_dep\\.get_pkgconfig_variable\\('extensiondir'\\)")
+ (string-append "'"
+ (assoc-ref outputs "out")
+ "/lib/nautilus/extensions-"
+ ,(version-major (package-version nautilus))
+ ".0" "'")))
+ #t))
+ (add-before 'configure 'skip-gtk-update-icon-cache
+ (lambda _
+ (substitute* "postinstall.py"
+ (("gtk-update-icon-cache")
+ "true"))
+ #t))
+ (add-after 'install 'move-help
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (help (assoc-ref outputs "help")))
+ (mkdir-p (string-append help "/share"))
+ (rename-file
+ (string-append out "/share/help")
+ (string-append help "/share/help"))
+ #t))))))
(native-inputs
- `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
+ `(("desktop-file-utils" ,desktop-file-utils)
+ ("glib:bin" ,glib "bin")
+ ("gobject-introspection" ,gobject-introspection)
("intltool" ,intltool)
("itstool" ,itstool)
("pkg-config" ,pkg-config)
- ("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
- ("glib:bin" ,glib "bin")))
- ;; TODO: Add libnautilus.
+ ("vala" ,vala)
+ ("xmllint" ,libxml2)))
(inputs
- `(("gtk+" ,gtk+)
- ("gdk-pixbuf" ,gdk-pixbuf)
+ `(("cpio" ,cpio)
+ ("gdk-pixbuf" ,gdk-pixbuf+svg)
+ ("glib" ,glib)
+ ("gtk+" ,gtk+)
("json-glib" ,json-glib)
("libarchive" ,libarchive)
+ ("libnautilus-extension" ,nautilus)
("libnotify" ,libnotify)
- ("nettle" ,nettle)
- ("libxml2" ,libxml2)))
- (synopsis "Graphical archive manager for GNOME")
- (description "File Roller is an archive manager for the GNOME desktop
-environment that allows users to view, unpack, and create compressed archives
-such as gzip tarballs.")
- (home-page "http://fileroller.sourceforge.net/")
+ ("nettle" ,nettle)))
+ (synopsis "Archive management utility")
+ (description "File Roller is an archive manager for the GNOME environment.
+This means that you can create and modify archives; view the content of an
+archive; view and modify a file contained in the archive; extract files from
+the archive.")
+ (home-page "https://wiki.gnome.org/Apps/FileRoller")
(license license:gpl2+)))
(define-public gnome-session
- 181/277: gnu: gobject-introspection: Add patches back., (continued)
- 181/277: gnu: gobject-introspection: Add patches back., guix-commits, 2020/08/06
- 228/277: gnu: tepl: Update package definition., guix-commits, 2020/08/06
- 227/277: gnu: vte: Update package definition., guix-commits, 2020/08/06
- 236/277: gnu: opencv: Disable structured_light test., guix-commits, 2020/08/06
- 265/277: gnu: rust-cssparser-macros@0.6.0: Fix reference to rust-quote., guix-commits, 2020/08/06
- 266/277: gnu: rust-pin-project-internal@0.4.22: Fix reference to rust-quote., guix-commits, 2020/08/06
- 270/277: gnu: rust-serial-test: Remove duplicate definition., guix-commits, 2020/08/06
- 271/277: gnu: rust-servo-arc: Remove duplicate definition., guix-commits, 2020/08/06
- 204/277: gnu: glade: Update package definition., guix-commits, 2020/08/06
- 237/277: gnu: cheese: Update package definition., guix-commits, 2020/08/06
- 242/277: gnu: file-roller: Update package definition.,
guix-commits <=
- 244/277: gnu: gnome-backgrounds: Update package definition., guix-commits, 2020/08/06
- 185/277: gnu: Add pedansee., guix-commits, 2020/08/06
- 195/277: gnu: Add gnome-js-common., guix-commits, 2020/08/06
- 187/277: gnu: gssdp: Update package definition., guix-commits, 2020/08/06
- 199/277: gnu: libdazzle: Update package definition., guix-commits, 2020/08/06
- 206/277: gnu: libgxps: Update package definition., guix-commits, 2020/08/06
- 207/277: gnu: libhandy: Update package definition., guix-commits, 2020/08/06
- 213/277: gnu: libdmapsharing: Update home-page., guix-commits, 2020/08/06
- 216/277: gnu: mobile-broadband-provider-info: Update package definition., guix-commits, 2020/08/06
- 218/277: gnu: libappindicator: Propagate gtk+ and libdbusmenu., guix-commits, 2020/08/06