From: Jaft <jaft.r@outlook.com>
To: Ashish SHUKLA <ashish.is@lostca.se>
Cc: "73890@debbugs.gnu.org" <73890@debbugs.gnu.org>
Subject: [bug#73890] [PATCH] gnu: Add wike.
Date: Sun, 20 Oct 2024 03:47:25 +0000 (UTC) [thread overview]
Message-ID: <PH0PR84MB136081B201355CD3DC8A44E299422@PH0PR84MB1360.NAMPRD84.PROD.OUTLOOK.COM> (raw)
In-Reply-To: <D500DKDM7U2J.TG13YKN9D72Y@lostca.se>
[-- 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
next prev parent reply other threads:[~2024-10-20 3:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[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 [this message]
[not found] ` < <PH0PR84MB136081B201355CD3DC8A44E299422@PH0PR84MB1360.NAMPRD84.PROD.OUTLOOK.COM>
2024-10-20 9:21 ` Ashish SHUKLA via Guix-patches via
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=PH0PR84MB136081B201355CD3DC8A44E299422@PH0PR84MB1360.NAMPRD84.PROD.OUTLOOK.COM \
--to=jaft.r@outlook.com \
--cc=73890@debbugs.gnu.org \
--cc=ashish.is@lostca.se \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).