* [bug#73890] [PATCH] gnu: Add wike. [not found] <721154847.121738.1729361351445.ref@mail.yahoo.com> @ 2024-10-19 18:09 ` Jaft 2024-10-19 18:53 ` Ashish SHUKLA via Guix-patches via 0 siblings, 1 reply; 4+ messages in thread From: Jaft @ 2024-10-19 18:09 UTC (permalink / raw) To: 73890 * gnu/packages/gnome-xyz.scm (wike): New variable. --- gnu/packages/gnome-xyz.scm | 53 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/gnu/packages/gnome-xyz.scm b/gnu/packages/gnome-xyz.scm index a09c0befb0..1aa0926383 100644 --- a/gnu/packages/gnome-xyz.scm +++ b/gnu/packages/gnome-xyz.scm @@ -20,6 +20,7 @@ ;;; Copyright © 2022 Sughosha <sughosha@proton.me> ;;; Copyright © 2022 Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> ;;; Copyright © 2023 Eidvilas Markevičius <markeviciuseidvilas@gmail.com> +;;; Copyright © 2024 Wamm K. D. <jaft.r@outlook.com> ;;; ;;; This file is part of GNU Guix. ;;; @@ -56,6 +57,7 @@ (define-module (gnu packages gnome-xyz) #:use-module (gnu packages bash) #:use-module (gnu packages build-tools) #:use-module (gnu packages check) + #:use-module (gnu packages cmake) #:use-module (gnu packages freedesktop) #:use-module (gnu packages gettext) #:use-module (gnu packages glib) @@ -72,6 +74,7 @@ (define-module (gnu packages gnome-xyz) #:use-module (gnu packages tls) #:use-module (gnu packages ruby) #:use-module (gnu packages web) + #:use-module (gnu packages webkit) #:use-module (gnu packages xml) #:use-module (gnu packages xorg)) @@ -1759,3 +1762,53 @@ (define-public tiramisu notifications to STDOUT in order to allow the user to process notifications any way they prefer.") (license license:expat))) + +(define-public wike + (package + (name "wike") + (version "3.1.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url (string-append "https://github.com/hugolabe/" name "/")) + (commit version))) + (sha256 (base32 + "1m8d9v06y4hg9dww5blg5wpg7lv6nkphfd45rjvavn2sxwq267av")))) + (build-system meson-build-system) + (native-inputs (list pkg-config + desktop-file-utils ; for 'desktop-file-validate' + `(,glib "bin") ; for 'glib-compile-resources' + gettext-minimal ; for 'msgfmt' + `(,gtk "bin") ; for gtk4-update-icon-cache + cmake)) + (inputs (list glib ; for gio-2.0 + libadwaita + python + python-pygobject + webkitgtk)) + (arguments + (list #:glib-or-gtk? #t + #:phases #~(modify-phases %standard-phases + (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap + (lambda* (#:key inputs #:allow-other-keys) + (wrap-program (string-append #$output "/bin/wike") + `("GUIX_PYTHONPATH" = + ,(search-path-as-list + `(,(string-append "/lib/python" + #$(version-major+minor + (package-version python)) + "/site-packages")) + (map cdr + (filter (lambda (input) + (string-prefix? "python" + (car input))) + inputs)))) + `("GI_TYPELIB_PATH" = + (,(getenv "GI_TYPELIB_PATH"))))))))) + (synopsis "Native application to browse Wikipedia") + (description "Wike is a GTK application that displays Wikipedia pages. + +Features include bookmarking with multiple lists, article table of contents, +browsing history, and text searches.") + (home-page "https://hugolabe.github.io/Wike/") + (license license:gpl3+))) -- 2.46.0 ^ permalink raw reply related [flat|nested] 4+ messages in thread
* [bug#73890] [PATCH] gnu: Add wike. 2024-10-19 18:09 ` [bug#73890] [PATCH] gnu: Add wike Jaft @ 2024-10-19 18:53 ` Ashish SHUKLA via Guix-patches via 2024-10-20 3:47 ` Jaft 0 siblings, 1 reply; 4+ messages in thread From: Ashish SHUKLA via Guix-patches via @ 2024-10-19 18:53 UTC (permalink / raw) To: Jaft; +Cc: 73890 [-- Attachment #1: Type: text/plain, Size: 338 bytes --] Hi, The patch seems corrupted. Applying: gnu: Add wike. error: corrupt patch at line 10 Patch failed at 0001 gnu: Add wike. Please send it again. Thanks! -- Ashish SHUKLA | GPG: F682 CDCC 39DC 0FEA E116 20B6 C746 CFA9 E74F A4B0 "If I destroy you, what business is it of yours ?" (Dark Forest, Liu Cixin) [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 992 bytes --] ^ permalink raw reply [flat|nested] 4+ messages in thread
* [bug#73890] [PATCH] gnu: Add wike. 2024-10-19 18:53 ` Ashish SHUKLA via Guix-patches via @ 2024-10-20 3:47 ` Jaft [not found] ` < <PH0PR84MB136081B201355CD3DC8A44E299422@PH0PR84MB1360.NAMPRD84.PROD.OUTLOOK.COM> 0 siblings, 1 reply; 4+ messages in thread From: Jaft @ 2024-10-20 3:47 UTC (permalink / raw) To: Ashish SHUKLA; +Cc: 73890@debbugs.gnu.org [-- Attachment #1: Type: text/plain, Size: 293 bytes --] I'm not sure what's corrupted about it. Unfortunately, Outlook recently revoked basic auth. so I can't (easily) use "git send-email", like I normally would. I've attached the patch as a file; it seems to work, without error, when I use it with "git apply". Perhaps that may be more fruitful? [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: wike.patch --] [-- Type: text/x-patch, Size: 3943 bytes --] * gnu/packages/gnome-xyz.scm (wike): New variable. --- gnu/packages/gnome-xyz.scm | 53 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/gnu/packages/gnome-xyz.scm b/gnu/packages/gnome-xyz.scm index a09c0befb0..1aa0926383 100644 --- a/gnu/packages/gnome-xyz.scm +++ b/gnu/packages/gnome-xyz.scm @@ -20,6 +20,7 @@ ;;; Copyright © 2022 Sughosha <sughosha@proton.me> ;;; Copyright © 2022 Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> ;;; Copyright © 2023 Eidvilas Markevičius <markeviciuseidvilas@gmail.com> +;;; Copyright © 2024 Wamm K. D. <jaft.r@outlook.com> ;;; ;;; This file is part of GNU Guix. ;;; @@ -56,6 +57,7 @@ (define-module (gnu packages gnome-xyz) #:use-module (gnu packages bash) #:use-module (gnu packages build-tools) #:use-module (gnu packages check) + #:use-module (gnu packages cmake) #:use-module (gnu packages freedesktop) #:use-module (gnu packages gettext) #:use-module (gnu packages glib) @@ -72,6 +74,7 @@ (define-module (gnu packages gnome-xyz) #:use-module (gnu packages tls) #:use-module (gnu packages ruby) #:use-module (gnu packages web) + #:use-module (gnu packages webkit) #:use-module (gnu packages xml) #:use-module (gnu packages xorg)) @@ -1759,3 +1762,53 @@ (define-public tiramisu notifications to STDOUT in order to allow the user to process notifications any way they prefer.") (license license:expat))) + +(define-public wike + (package + (name "wike") + (version "3.1.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url (string-append "https://github.com/hugolabe/" name "/")) + (commit version))) + (sha256 (base32 + "1m8d9v06y4hg9dww5blg5wpg7lv6nkphfd45rjvavn2sxwq267av")))) + (build-system meson-build-system) + (native-inputs (list pkg-config + desktop-file-utils ; for 'desktop-file-validate' + `(,glib "bin") ; for 'glib-compile-resources' + gettext-minimal ; for 'msgfmt' + `(,gtk "bin") ; for gtk4-update-icon-cache + cmake)) + (inputs (list glib ; for gio-2.0 + libadwaita + python + python-pygobject + webkitgtk)) + (arguments + (list #:glib-or-gtk? #t + #:phases #~(modify-phases %standard-phases + (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap + (lambda* (#:key inputs #:allow-other-keys) + (wrap-program (string-append #$output "/bin/wike") + `("GUIX_PYTHONPATH" = + ,(search-path-as-list + `(,(string-append "/lib/python" + #$(version-major+minor + (package-version python)) + "/site-packages")) + (map cdr + (filter (lambda (input) + (string-prefix? "python" + (car input))) + inputs)))) + `("GI_TYPELIB_PATH" = + (,(getenv "GI_TYPELIB_PATH"))))))))) + (synopsis "Native application to browse Wikipedia") + (description "Wike is a GTK application that displays Wikipedia pages. + +Features include bookmarking with multiple lists, article table of contents, +browsing history, and text searches.") + (home-page "https://hugolabe.github.io/Wike/") + (license license:gpl3+))) -- 2.46.0 ^ permalink raw reply related [flat|nested] 4+ messages in thread
[parent not found: < <PH0PR84MB136081B201355CD3DC8A44E299422@PH0PR84MB1360.NAMPRD84.PROD.OUTLOOK.COM>]
* [bug#73890] [PATCH] gnu: Add wike. [not found] ` < <PH0PR84MB136081B201355CD3DC8A44E299422@PH0PR84MB1360.NAMPRD84.PROD.OUTLOOK.COM> @ 2024-10-20 9:21 ` Ashish SHUKLA via Guix-patches via 0 siblings, 0 replies; 4+ messages in thread From: Ashish SHUKLA via Guix-patches via @ 2024-10-20 9:21 UTC (permalink / raw) To: Jaft; +Cc: 73890@debbugs.gnu.org [-- Attachment #1: Type: text/plain, Size: 543 bytes --] On Sun Oct 20, 2024 at 5:47 AM CEST, Jaft wrote: > I'm not sure what's corrupted about it. > > Unfortunately, Outlook recently revoked basic auth. so I can't (easily) use "git send-email", like I normally would. > > I've attached the patch as a file; it seems to work, without error, when I use it with "git apply". Perhaps that may be more fruitful? That worked. Thanks! -- Ashish SHUKLA | GPG: F682 CDCC 39DC 0FEA E116 20B6 C746 CFA9 E74F A4B0 "If I destroy you, what business is it of yours ?" (Dark Forest, Liu Cixin) [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 992 bytes --] ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-10-20 9:22 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <721154847.121738.1729361351445.ref@mail.yahoo.com> 2024-10-19 18:09 ` [bug#73890] [PATCH] gnu: Add wike Jaft 2024-10-19 18:53 ` Ashish SHUKLA via Guix-patches via 2024-10-20 3:47 ` Jaft [not found] ` < <PH0PR84MB136081B201355CD3DC8A44E299422@PH0PR84MB1360.NAMPRD84.PROD.OUTLOOK.COM> 2024-10-20 9:21 ` Ashish SHUKLA via Guix-patches via
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).