From: "Raghav Gururajan" <raghavgururajan@disroot.org>
To: 40712@debbugs.gnu.org
Subject: [bug#40712] gnu: Add midori.
Date: Sun, 19 Apr 2020 10:04:48 +0000 [thread overview]
Message-ID: <6793693e5da6eb936de9494680bbc2ee@disroot.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 2 bytes --]
[-- Attachment #2: 0001-gnu-Add-midori.patch --]
[-- Type: application/octet-stream, Size: 3792 bytes --]
From 5f771bfce9842f232954cc2b7335c2de449accde Mon Sep 17 00:00:00 2001
From: Raghav Gururajan <raghavgururajan@disroot.org>
Date: Sun, 19 Apr 2020 06:02:42 -0400
Subject: [PATCH] gnu: Add midori.
* gnu/packages/web-browsers.scm (midori): New variable.
---
gnu/packages/web-browsers.scm | 57 +++++++++++++++++++++++++++++++++++
1 file changed, 57 insertions(+)
diff --git a/gnu/packages/web-browsers.scm b/gnu/packages/web-browsers.scm
index 8a6ffaeef1..7f7b898f88 100644
--- a/gnu/packages/web-browsers.scm
+++ b/gnu/packages/web-browsers.scm
@@ -30,10 +30,13 @@
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (gnu packages)
+ #:use-module (gnu packages backup)
#:use-module (gnu packages compression)
#:use-module (gnu packages documentation)
#:use-module (gnu packages fltk)
#:use-module (gnu packages fontutils)
+ #:use-module (gnu packages freedesktop)
+ #:use-module (gnu packages glib)
#:use-module (gnu packages gtk)
#:use-module (gnu packages gnupg)
#:use-module (gnu packages libevent)
@@ -42,6 +45,7 @@
#:use-module (gnu packages lisp-xyz)
#:use-module (gnu packages lua)
#:use-module (gnu packages gnome)
+ #:use-module (gnu packages gnome-xyz)
#:use-module (gnu packages ncurses)
#:use-module (gnu packages perl)
#:use-module (gnu packages pkg-config)
@@ -57,11 +61,64 @@
#:use-module (gnu packages gcc)
#:use-module (guix download)
#:use-module (guix git-download)
+ #:use-module (guix build-system cmake)
#:use-module (guix build-system gnu)
#:use-module (guix build-system glib-or-gtk)
#:use-module (guix build-system python)
#:use-module (guix build-system asdf))
+(define-public midori
+ (package
+ (name "midori")
+ (version "9.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri
+ (string-append "https://github.com/midori-browser/core/releases/"
+ "download/v" version "/" name "-v" version ".tar.gz"))
+ (sha256
+ (base32
+ "05i04qa83dnarmgkx4xsk6fga5lw1lmslh4rb3vhyyy4ala562jy"))))
+ (build-system cmake-build-system)
+ (arguments
+ `(#:imported-modules (,@%cmake-build-system-modules
+ (guix build glib-or-gtk-build-system))
+ #:modules ((guix build cmake-build-system)
+ ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
+ (guix build utils))
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'install 'glib-or-gtk-compile-schemas
+ (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
+ (add-after 'install 'glib-or-gtk-wrap
+ (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
+ (native-inputs
+ `(("glib:bin" ,glib "bin")
+ ("gtk+:bin" ,gtk+ "bin")
+ ("intltool" ,intltool)
+ ("pkg-config" ,pkg-config)))
+ (inputs
+ `(("adwaita-icon-theme" ,adwaita-icon-theme)
+ ("gcr" ,gcr)
+ ("glib" ,glib)
+ ("gtk+" ,gtk+)
+ ("json-glib" ,json-glib)
+ ("libarchive" ,libarchive)
+ ("libpeas" ,libpeas)
+ ("libsoup" ,libsoup)
+ ("sqlite" ,sqlite)
+ ("vala" ,vala)
+ ("webkitgtk" ,webkitgtk)))
+ (synopsis "Lightweight and Fast Web Browser")
+ (description "Midori is a lightweight yet powerful web browser which runs
+just as well on little embedded computers named for delicious pastries as it
+does on beefy machines with a core temperature exceeding that of planet
+earth. And it looks good doing that, too. Oh, and of course it's free
+software.")
+ (home-page "https://www.midori-browser.org")
+ (license license:lgpl2.1+)))
+
(define-public dillo
(package
(name "dillo")
--
2.26.1
next reply other threads:[~2020-04-19 10:05 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-19 10:04 Raghav Gururajan [this message]
2020-04-19 10:34 ` [bug#40712] gnu: Add midori Mathieu Othacehe
2020-04-19 17:26 ` Rene via Guix-patches via
2020-04-19 10:40 ` Raghav Gururajan
2020-04-19 10:49 ` Raghav Gururajan
2020-04-19 11:12 ` [bug#40712] gnu: Add midori. (v2) Raghav Gururajan
2020-04-19 13:42 ` [bug#40712] gnu: Add midori. (v3) Raghav Gururajan
2020-04-20 17:00 ` bug#40712: " Mathieu Othacehe
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=6793693e5da6eb936de9494680bbc2ee@disroot.org \
--to=raghavgururajan@disroot.org \
--cc=40712@debbugs.gnu.org \
/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).