GNU bug report logs - #73890
[PATCH] gnu: Add wike.

Previous Next

Package: guix-patches;

Reported by: Jaft <jaft.r <at> outlook.com>

Date: Sat, 19 Oct 2024 18:15:01 UTC

Severity: normal

Tags: patch

To reply to this bug, email your comments to 73890 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#73890; Package guix-patches. (Sat, 19 Oct 2024 18:15:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jaft <jaft.r <at> outlook.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sat, 19 Oct 2024 18:15:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Jaft <jaft.r <at> outlook.com>
To: "guix-patches <at> gnu.org" <guix-patches <at> gnu.org>
Subject: [PATCH] gnu: Add wike.
Date: Sat, 19 Oct 2024 18:09:11 +0000 (UTC)
* 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 <at> proton.me>
 ;;; Copyright © 2022 Denis 'GNUtoo' Carikli <GNUtoo <at> cyberdimension.org>
 ;;; Copyright © 2023 Eidvilas Markevičius <markeviciuseidvilas <at> gmail.com>
+;;; Copyright © 2024 Wamm K. D. <jaft.r <at> 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




Information forwarded to guix-patches <at> gnu.org:
bug#73890; Package guix-patches. (Sat, 19 Oct 2024 18:55:02 GMT) Full text and rfc822 format available.

Message #8 received at 73890 <at> debbugs.gnu.org (full text, mbox):

From: "Ashish SHUKLA" <ashish.is <at> lostca.se>
To: "Jaft" <jaft.r <at> outlook.com>
Cc: 73890 <at> debbugs.gnu.org
Subject: Re: [PATCH] gnu: Add wike.
Date: Sat, 19 Oct 2024 18:53:25 +0000
[Message part 1 (text/plain, inline)]
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)
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#73890; Package guix-patches. (Sun, 20 Oct 2024 03:49:01 GMT) Full text and rfc822 format available.

Message #11 received at 73890 <at> debbugs.gnu.org (full text, mbox):

From: Jaft <jaft.r <at> outlook.com>
To: Ashish SHUKLA <ashish.is <at> lostca.se>
Cc: "73890 <at> debbugs.gnu.org" <73890 <at> debbugs.gnu.org>
Subject: Re: [PATCH] gnu: Add wike.
Date: Sun, 20 Oct 2024 03:47:25 +0000 (UTC)
[Message part 1 (text/plain, inline)]
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?
[wike.patch (text/x-patch, attachment)]

Information forwarded to guix-patches <at> gnu.org:
bug#73890; Package guix-patches. (Sun, 20 Oct 2024 09:23:01 GMT) Full text and rfc822 format available.

Message #14 received at 73890 <at> debbugs.gnu.org (full text, mbox):

From: "Ashish SHUKLA" <ashish.is <at> lostca.se>
To: "Jaft" <jaft.r <at> outlook.com>
Cc: "73890 <at> debbugs.gnu.org" <73890 <at> debbugs.gnu.org>
Subject: Re: [PATCH] gnu: Add wike.
Date: Sun, 20 Oct 2024 09:21:56 +0000
[Message part 1 (text/plain, inline)]
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)

[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#73890; Package guix-patches. (Tue, 04 Feb 2025 16:32:01 GMT) Full text and rfc822 format available.

Message #17 received at 73890 <at> debbugs.gnu.org (full text, mbox):

From: Andrew Wong <brosasaki <at> gmail.com>
To: control <at> debbugs.gnu.org, 73890 <at> debbugs.gnu.org
Subject: QA review for 73890
Date: Tue, 4 Feb 2025 11:30:54 -0500
user guix
usertag 73890 + reviewed-looks-good
thanks

Guix QA review form submission:


Items marked as checked: Lint warnings, Package builds, Commit messages, New package licenses, New package tests, New package synopsis and descriptions





This bug report was last modified 130 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.