[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/19: gnu: file-roller: Update package definition.
From: |
guix-commits |
Subject: |
08/19: gnu: file-roller: Update package definition. |
Date: |
Wed, 5 Aug 2020 11:14:08 -0400 (EDT) |
dannym pushed a commit to branch wip-desktop
in repository guix.
commit 3c952b58558d89f305279ce26a67aa33488d14fd
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 7acc0d7..002274b 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)
@@ -7977,37 +7978,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
- 01/19: gnu: baobab: Update package definition., (continued)
- 01/19: gnu: baobab: Update package definition., guix-commits, 2020/08/05
- 03/19: gnu: cheese: Update package definition., guix-commits, 2020/08/05
- 05/19: gnu: epiphany: Update package definition., guix-commits, 2020/08/05
- 10/19: gnu: gnome-backgrounds: Update package definition., guix-commits, 2020/08/05
- 11/19: gnu: gnome-bluetooth: Update package definition., guix-commits, 2020/08/05
- 13/19: gnu: gnome-calculator: Update package definition., guix-commits, 2020/08/05
- 14/19: gnu: gnome-calendar: Update package definition., guix-commits, 2020/08/05
- 07/19: gnu: evince: Update package definition., guix-commits, 2020/08/05
- 06/19: gnu: texlive-bin: Recompile with -fPIC., guix-commits, 2020/08/05
- 15/19: gnu: gnome-characters: Update package definition., guix-commits, 2020/08/05
- 08/19: gnu: file-roller: Update package definition.,
guix-commits <=
- 02/19: gnu: opencv: Disable structured_light test., guix-commits, 2020/08/05
- 04/19: gnu: eog: Update package definition., guix-commits, 2020/08/05
- 12/19: gnu: gnome-boxes: Update package definition., guix-commits, 2020/08/05
- 09/19: gnu: gedit: Update package definition., guix-commits, 2020/08/05
- 17/19: gnu: gnome-color-manager: Update package definition., guix-commits, 2020/08/05
- 16/19: gnu: gnome-clocks: Update package definition., guix-commits, 2020/08/05
- 18/19: gnu: gnome-contacts: Update package definition., guix-commits, 2020/08/05
- 19/19: gnu: gnome-control-center: Update package definition., guix-commits, 2020/08/05